From edfa3d838d9a779abf8e665df2fec971af176ab9 Mon Sep 17 00:00:00 2001 From: sebhoss Date: Fri, 31 May 2024 10:27:26 +0000 Subject: [PATCH 1/2] Update upstream specifications to their latest version --- .../v1beta1/postgresclusters.yaml | 48 + .../datadoghq.com/v1alpha1/datadogagents.yaml | 10 + .../v1beta2/scheduledsparkapplications.yaml | 37 + .../v1beta2/sparkapplications.yaml | 37 + .../v1alpha1/limitadors.yaml | 3 + .../v1beta5/bitwarden-secrets.yaml | 5 +- .../v1beta5/bitwarden-templates.yaml | 5 +- .../v1beta5/registry-credentials.yaml | 5 +- .../v1beta6/bitwarden-secrets.yaml | 56 + .../v1beta6/bitwarden-templates.yaml | 43 + .../v1beta6/registry-credentials.yaml | 49 + .../v1/aerospikeclusters.yaml | 12 +- .../v1beta1/aerospikeclusters.yaml | 2 +- .../awx.ansible.com/v1beta1/awxrestores.yaml | 4 + .../awx.ansible.com/v1beta1/awxs.yaml | 22 + .../camel-k/camel.apache.org/v1/builds.yaml | 25 + .../camel.apache.org/v1/integrationkits.yaml | 2 +- .../v1/integrationplatforms.yaml | 32 +- .../v1/integrationprofiles.yaml | 32 +- .../camel.apache.org/v1/integrations.yaml | 16 +- .../camel-k/camel.apache.org/v1/pipes.yaml | 16 +- .../v1alpha1/kameletbindings.yaml | 16 +- .../v1alpha1/clusterdefinitions.yaml | 7 +- .../v1alpha1/clusterversions.yaml | 2 +- .../v1alpha1/componentdefinitions.yaml | 50 +- .../v1alpha1/configconstraints.yaml | 4 +- .../v1alpha1/configurations.yaml | 2 +- .../v1alpha1/servicedescriptors.yaml | 78 +- .../argoproj.io/v1alpha1/applications.yaml | 46 + .../argoproj.io/v1alpha1/applicationsets.yaml | 96 + .../argoproj.io/v1alpha1/argocds.yaml | 9 + .../argoproj.io/v1beta1/argocds.yaml | 9 + .../v1alpha1/loggroups.yaml | 17 + .../v1alpha1/clusters.yaml | 10 +- .../v1beta1/ec2nodeclasses.yaml | 3 + .../karpenter.sh/v1beta1/nodeclaims.yaml | 2 +- .../bitnami.com/v1alpha1/sealedsecrets.yaml | 22 +- .../acme.cert-manager.io/v1/challenges.yaml | 11 +- .../cert-manager.io/v1/clusterissuers.yaml | 11 +- .../cert-manager.io/v1/issuers.yaml | 11 +- .../v2/ciliumclusterwidenetworkpolicies.yaml | 64 +- .../cilium.io/v2/ciliumnetworkpolicies.yaml | 64 +- .../v1alpha1/tenantcontrolplanes.yaml | 59 +- .../v1beta1/managedclusters.yaml | 8 + .../v1/compositeresourcedefinitions.yaml | 17 + .../v1/compositionrevisions.yaml | 6 + .../v1/compositions.yaml | 3 + .../v1beta1/compositionrevisions.yaml | 6 + .../v1/configurationrevisions.yaml | 5 + .../v1/providerrevisions.yaml | 5 + .../v1alpha1/controllerconfigs.yaml | 106 +- .../org.eclipse.che/v2/checlusters.yaml | 4 +- .../agent.k8s.elastic.co/v1alpha1/agents.yaml | 224 +- .../apm.k8s.elastic.co/v1/apmservers.yaml | 76 +- .../v1beta1/apmservers.yaml | 76 +- .../beat.k8s.elastic.co/v1beta1/beats.yaml | 148 +- .../v1/elasticsearches.yaml | 78 +- .../v1beta1/elasticsearches.yaml | 76 +- .../v1/enterprisesearches.yaml | 76 +- .../v1beta1/enterprisesearches.yaml | 76 +- .../kibana.k8s.elastic.co/v1/kibanas.yaml | 76 +- .../v1beta1/kibanas.yaml | 76 +- .../v1alpha1/elasticmapsservers.yaml | 76 +- .../apps.emqx.io/v2beta1/emqxes.yaml | 6 - .../v1alpha1/externalsecrets.yaml | 3 +- .../v1beta1/externalsecrets.yaml | 3 +- .../v1/topologies.yaml | 2 + .../v1alpha1/clusteroutputs.yaml | 48 + .../fluentd.fluent.io/v1alpha1/outputs.yaml | 48 + .../v1beta2/buckets.yaml | 9 + .../v1beta1/grafanadashboards.yaml | 5 + .../v1beta1/grafanadatasources.yaml | 2 + .../v1beta1/grafanas.yaml | 30 + .../v1alpha1/tempomonolithics.yaml | 3 + .../v2/teleportsamlconnectors.yaml | 11 + .../v3/teleportgithubconnectors.yaml | 11 + .../v3/teleportoidcconnectors.yaml | 11 + .../hazelcast.com/v1alpha1/hazelcasts.yaml | 2 +- .../v1alpha1/sopssecrets.yaml | 2 +- .../v1alpha2/sopssecrets.yaml | 2 +- .../v1alpha3/sopssecrets.yaml | 2 +- .../v1alpha1/wasmplugins.yaml | 6 + .../v1/destinationrules.yaml | 6 + .../v1alpha3/destinationrules.yaml | 6 + .../v1beta1/destinationrules.yaml | 6 + .../v1beta1/proxyconfigs.yaml | 6 + .../v1/authorizationpolicies.yaml | 6 + .../v1/peerauthentications.yaml | 6 + .../v1/requestauthentications.yaml | 6 + .../v1beta1/authorizationpolicies.yaml | 6 + .../v1beta1/peerauthentications.yaml | 6 + .../v1beta1/requestauthentications.yaml | 6 + .../telemetry.istio.io/v1/telemetries.yaml | 6 + .../v1alpha1/telemetries.yaml | 6 + .../v1beta1/cassandradatacenters.yaml | 5 +- .../kiali.io/v1alpha1/kialis.yaml | 4 + .../v1alpha1/clustercolocationprofiles.yaml | 38 +- .../v1alpha1/devices.yaml | 6 +- .../v1alpha1/podmigrationjobs.yaml | 116 +- .../v1alpha1/reservations.yaml | 70 +- .../v1alpha1/elasticquotas.yaml | 17 +- .../v1alpha1/podgroups.yaml | 25 +- .../v1alpha1/nodemetrics.yaml | 8 +- .../slo.koordinator.sh/v1alpha1/nodeslos.yaml | 194 +- .../v1alpha1/eventtailers.yaml | 130 ++ .../v1alpha1/hosttailers.yaml | 145 ++ .../v1alpha1/clusterflows.yaml | 14 + .../v1alpha1/clusteroutputs.yaml | 198 ++ .../v1alpha1/flows.yaml | 14 + .../v1alpha1/outputs.yaml | 180 ++ .../v1beta1/clusterflows.yaml | 14 + .../v1beta1/clusteroutputs.yaml | 198 ++ .../logging.banzaicloud.io/v1beta1/flows.yaml | 14 + .../v1beta1/fluentbitagents.yaml | 91 + .../v1beta1/loggings.yaml | 956 ++++++++ .../v1beta1/nodeagents.yaml | 241 ++ .../v1beta1/outputs.yaml | 198 ++ .../v1beta1/syslogngclusteroutputs.yaml | 98 + .../v1beta1/syslogngoutputs.yaml | 98 + .../v1beta1/ingressclassparams.yaml | 2 + .../v1beta1/targetgroupbindings.yaml | 2 + .../v1beta2/ibmpowervsclusters.yaml | 249 ++- .../v1beta2/ibmpowervsclustertemplates.yaml | 230 +- .../v1alpha1/kubevirtclusters.yaml | 62 +- .../v1alpha1/kubevirtclustertemplates.yaml | 57 +- .../v1alpha1/kubevirtmachines.yaml | 918 ++++---- .../v1alpha1/kubevirtmachinetemplates.yaml | 902 ++++---- .../cluster.x-k8s.io/v1beta1/clusters.yaml | 23 + .../v1alpha1/dnsendpoints.yaml | 3 +- .../jobset.x-k8s.io/v1alpha2/jobsets.yaml | 36 + .../kueue.x-k8s.io/v1beta1/clusterqueues.yaml | 12 + .../kueue.x-k8s.io/v1beta1/localqueues.yaml | 1 + .../kueue.x-k8s.io/v1beta1/workloads.yaml | 323 ++- .../v1alpha1/serviceexports.yaml | 20 +- .../v1alpha1/serviceimports.yaml | 22 +- .../multicluster.x-k8s.io/v1alpha1/works.yaml | 4 +- .../executor.testkube.io/v1/executors.yaml | 19 +- .../executor.testkube.io/v1/webhooks.yaml | 15 +- .../tests.testkube.io/v1/scripts.yaml | 12 +- .../tests.testkube.io/v1/testexecutions.yaml | 67 +- .../tests.testkube.io/v1/tests.yaml | 12 +- .../tests.testkube.io/v1/testsources.yaml | 12 +- .../v1/testsuiteexecutions.yaml | 74 +- .../tests.testkube.io/v1/testsuites.yaml | 24 +- .../tests.testkube.io/v1/testtriggers.yaml | 30 +- .../tests.testkube.io/v2/scripts.yaml | 12 +- .../tests.testkube.io/v2/tests.yaml | 24 +- .../tests.testkube.io/v2/testsuites.yaml | 24 +- .../tests.testkube.io/v3/tests.yaml | 48 +- .../tests.testkube.io/v3/testsuites.yaml | 66 +- .../v1alpha1/configurations.yaml | 41 +- .../chainsaw.kyverno.io/v1alpha1/tests.yaml | 1087 ++++++--- .../v1alpha2/configurations.yaml | 1119 +++++----- .../kyverno.io/v1/clusterpolicies.yaml | 2 +- .../kyverno/kyverno.io/v1/policies.yaml | 2 +- .../kyverno.io/v1alpha2/admissionreports.yaml | 2 +- .../v1alpha2/backgroundscanreports.yaml | 2 +- .../v1alpha2/clusteradmissionreports.yaml | 2 +- .../clusterbackgroundscanreports.yaml | 2 +- .../kyverno.io/v1beta1/updaterequests.yaml | 2 +- .../kyverno.io/v2/admissionreports.yaml | 2 +- .../kyverno.io/v2/backgroundscanreports.yaml | 2 +- .../kyverno.io/v2/cleanuppolicies.yaml | 2 +- .../v2/clusteradmissionreports.yaml | 2 +- .../v2/clusterbackgroundscanreports.yaml | 2 +- .../kyverno.io/v2/clustercleanuppolicies.yaml | 2 +- .../kyverno.io/v2/policyexceptions.yaml | 2 +- .../kyverno/kyverno.io/v2/updaterequests.yaml | 2 +- .../kyverno.io/v2alpha1/cleanuppolicies.yaml | 2 +- .../v2alpha1/clustercleanuppolicies.yaml | 2 +- .../v2alpha1/globalcontextentries.yaml | 2 +- .../kyverno.io/v2alpha1/policyexceptions.yaml | 2 +- .../kyverno.io/v2beta1/cleanuppolicies.yaml | 2 +- .../v2beta1/clustercleanuppolicies.yaml | 2 +- .../kyverno.io/v2beta1/clusterpolicies.yaml | 2 +- .../kyverno/kyverno.io/v2beta1/policies.yaml | 2 +- .../kyverno.io/v2beta1/policyexceptions.yaml | 2 +- .../v1/clusterephemeralreports.yaml | 2 +- .../v1/ephemeralreports.yaml | 2 +- .../stunner.l7mp.io/v1/dataplanes.yaml | 438 +++- .../stunner.l7mp.io/v1/gatewayconfigs.yaml | 18 +- .../stunner.l7mp.io/v1/staticservices.yaml | 8 +- .../stunner/stunner.l7mp.io/v1/udproutes.yaml | 68 +- .../stunner.l7mp.io/v1alpha1/dataplanes.yaml | 264 ++- .../v1alpha1/gatewayconfigs.yaml | 24 +- .../v1alpha1/staticservices.yaml | 18 +- .../k8s.mariadb.com/v1alpha1/mariadbs.yaml | 15 +- .../metal3.io/v1alpha1/baremetalhosts.yaml | 5 - .../v1beta1/flowcollectors.yaml | 96 +- .../v1beta2/flowcollectors.yaml | 106 +- .../k8s.nginx.org/v1/policies.yaml | 2 + .../v1alpha1/clientsettingspolicies.yaml | 10 +- .../v1alpha1/observabilitypolicies.yaml | 61 +- .../v1alpha2/featureflagconfigurations.yaml | 2 +- .../v1beta1/opentelemetrycollectors.yaml | 4 + .../pgv2.percona.com/v2/perconapgbackups.yaml | 2 + .../v2/perconapgclusters.yaml | 156 +- .../v1beta2/appwrappers.yaml | 77 +- .../v1alpha1/contourdeployments.yaml | 33 +- .../v1/alertmanagers.yaml | 332 ++- .../monitoring.coreos.com/v1/podmonitors.yaml | 38 +- .../monitoring.coreos.com/v1/probes.yaml | 38 +- .../v1/prometheuses.yaml | 546 ++++- .../v1/servicemonitors.yaml | 38 +- .../v1/thanosrulers.yaml | 305 ++- .../v1alpha1/alertmanagerconfigs.yaml | 498 +++-- .../v1alpha1/prometheusagents.yaml | 447 +++- .../v1alpha1/scrapeconfigs.yaml | 373 ++-- .../v1beta1/alertmanagerconfigs.yaml | 426 ++-- .../rook/ceph.rook.io/v1/cephclusters.yaml | 30 + .../bmc.tinkerbell.org/v1alpha1/jobs.yaml | 26 +- .../bmc.tinkerbell.org/v1alpha1/machines.yaml | 31 +- .../bmc.tinkerbell.org/v1alpha1/tasks.yaml | 39 +- .../traefik.io/v1alpha1/ingressroutes.yaml | 34 + .../traefik.io/v1alpha1/middlewares.yaml | 34 + .../traefik.io/v1alpha1/traefikservices.yaml | 102 + .../wildfly.org/v1alpha1/wildflyservers.yaml | 10 +- .../v1/operatorconfigurations.yaml | 2 +- .../acid.zalan.do/v1/postgresqls.yaml | 4 + .../v1alpha1/clusterproperties.rs | 2 +- .../src/acid_zalan_do/v1/postgresteams.rs | 2 +- .../src/acme_cert_manager_io/v1/challenges.rs | 23 +- .../src/acme_cert_manager_io/v1/orders.rs | 2 +- .../v1alpha1/certificateauthorities.rs | 2 +- .../certificateauthorityactivations.rs | 2 +- .../v1alpha1/certificates.rs | 2 +- .../v1alpha1/autoscalinglisteners.rs | 2 +- .../v1alpha1/autoscalingrunnersets.rs | 2 +- .../v1alpha1/ephemeralrunnersets.rs | 2 +- .../v1alpha1/horizontalrunnerautoscalers.rs | 2 +- .../v1alpha1/runnerdeployments.rs | 2 +- .../v1alpha1/runnerreplicasets.rs | 2 +- .../v1alpha1/runners.rs | 2 +- .../v1alpha1/runnersets.rs | 2 +- .../v1alpha3/clusterresourcesetbindings.rs | 2 +- .../v1alpha3/clusterresourcesets.rs | 2 +- .../v1alpha4/clusterresourcesetbindings.rs | 2 +- .../v1alpha4/clusterresourcesets.rs | 2 +- .../v1beta1/clusterresourcesetbindings.rs | 2 +- .../v1beta1/clusterresourcesets.rs | 2 +- .../agent_k8s_elastic_co/v1alpha1/agents.rs | 444 +++- .../v1alpha1/awsdatacenterconfigs.rs | 2 +- .../v1alpha1/awsiamconfigs.rs | 2 +- .../v1alpha1/bundles.rs | 2 +- .../v1alpha1/cloudstackdatacenterconfigs.rs | 2 +- .../v1alpha1/cloudstackmachineconfigs.rs | 2 +- .../v1alpha1/clusters.rs | 10 +- .../v1alpha1/controlplaneupgrades.rs | 2 +- .../v1alpha1/dockerdatacenterconfigs.rs | 2 +- .../v1alpha1/eksareleases.rs | 2 +- .../v1alpha1/fluxconfigs.rs | 2 +- .../v1alpha1/gitopsconfigs.rs | 2 +- .../v1alpha1/machinedeploymentupgrades.rs | 2 +- .../v1alpha1/nodeupgrades.rs | 2 +- .../v1alpha1/nutanixdatacenterconfigs.rs | 2 +- .../v1alpha1/nutanixmachineconfigs.rs | 2 +- .../v1alpha1/oidcconfigs.rs | 2 +- .../v1alpha1/snowdatacenterconfigs.rs | 2 +- .../v1alpha1/snowippools.rs | 2 +- .../v1alpha1/snowmachineconfigs.rs | 2 +- .../v1alpha1/tinkerbelldatacenterconfigs.rs | 2 +- .../v1alpha1/tinkerbellmachineconfigs.rs | 2 +- .../v1alpha1/tinkerbelltemplateconfigs.rs | 2 +- .../v1alpha1/vspheredatacenterconfigs.rs | 2 +- .../v1alpha1/vspheremachineconfigs.rs | 2 +- .../v1alpha1/apachewebs.rs | 2 +- .../v1/configproviders.rs | 2 +- .../v1/elasticsearches.rs | 2 +- .../src/api_clever_cloud_com/v1/mongodbs.rs | 2 +- .../src/api_clever_cloud_com/v1/mysqls.rs | 2 +- .../api_clever_cloud_com/v1/postgresqls.rs | 2 +- .../src/api_clever_cloud_com/v1/redis.rs | 2 +- .../api_clever_cloud_com/v1beta1/pulsars.rs | 2 +- .../src/api_kubemod_io/v1beta1/modrules.rs | 2 +- .../v1beta1/apimatics.rs | 2 +- .../v1/compositeresourcedefinitions.rs | 2 +- .../v1alpha1/apis.rs | 2 +- .../v1alpha1/authorizers.rs | 2 +- .../v1alpha1/deployments.rs | 2 +- .../v1alpha1/routes.rs | 2 +- .../v1alpha1/stages.rs | 2 +- .../v1alpha1/vpclinks.rs | 2 +- .../v2/apisixclusterconfigs.rs | 2 +- .../apisix_apache_org/v2/apisixconsumers.rs | 2 +- .../apisix_apache_org/v2/apisixglobalrules.rs | 2 +- .../v2/apisixpluginconfigs.rs | 2 +- .../src/apisix_apache_org/v2/apisixroutes.rs | 2 +- .../src/apisix_apache_org/v2/apisixtlses.rs | 2 +- .../apisix_apache_org/v2/apisixupstreams.rs | 2 +- .../src/apm_k8s_elastic_co/v1/apmservers.rs | 150 +- .../apm_k8s_elastic_co/v1beta1/apmservers.rs | 150 +- .../app_kiegroup_org/v1beta1/kogitobuilds.rs | 2 +- .../app_kiegroup_org/v1beta1/kogitoinfras.rs | 2 +- .../v1beta1/kogitoruntimes.rs | 2 +- .../v1beta1/kogitosupportingservices.rs | 2 +- .../v1alpha1/akkaclusters.rs | 2 +- .../v1/redisenterpriseclusters.rs | 2 +- .../redisenterpriseactiveactivedatabases.rs | 2 +- .../v1alpha1/redisenterpriseclusters.rs | 2 +- .../v1alpha1/redisenterprisedatabases.rs | 2 +- .../v1alpha1/redisenterpriseremoteclusters.rs | 2 +- .../app_terraform_io/v1alpha2/agentpools.rs | 2 +- .../src/app_terraform_io/v1alpha2/modules.rs | 2 +- .../app_terraform_io/v1alpha2/workspaces.rs | 2 +- .../v1alpha1/accesslogpolicies.rs | 2 +- .../v1alpha1/iamauthpolicies.rs | 2 +- .../v1alpha1/serviceexports.rs | 2 +- .../v1alpha1/serviceimports.rs | 2 +- .../v1alpha1/targetgrouppolicies.rs | 2 +- .../v1alpha1/vpcassociationpolicies.rs | 2 +- .../v1alpha1/scalabletargets.rs | 2 +- .../v1alpha1/scalingpolicies.rs | 2 +- .../appmesh_k8s_aws/v1beta2/backendgroups.rs | 2 +- .../appmesh_k8s_aws/v1beta2/gatewayroutes.rs | 2 +- .../src/appmesh_k8s_aws/v1beta2/meshes.rs | 2 +- .../v1beta2/virtualgateways.rs | 2 +- .../appmesh_k8s_aws/v1beta2/virtualnodes.rs | 2 +- .../appmesh_k8s_aws/v1beta2/virtualrouters.rs | 2 +- .../v1beta2/virtualservices.rs | 2 +- .../appprotect_f5_com/v1beta1/aplogconfs.rs | 2 +- .../appprotect_f5_com/v1beta1/apusersigs.rs | 2 +- .../v1beta1/apdoslogconfs.rs | 2 +- .../v1beta1/apdospolicies.rs | 2 +- .../v1beta1/dosprotectedresources.rs | 2 +- .../src/apps_3scale_net/v1alpha1/apicasts.rs | 2 +- .../v1alpha1/apimanagerbackups.rs | 2 +- .../v1alpha1/apimanagerrestores.rs | 2 +- .../apps_3scale_net/v1alpha1/apimanagers.rs | 2 +- .../src/apps_clusternet_io/v1alpha1/bases.rs | 2 +- .../v1alpha1/descriptions.rs | 2 +- .../v1alpha1/feedinventories.rs | 2 +- .../v1alpha1/globalizations.rs | 2 +- .../apps_clusternet_io/v1alpha1/helmcharts.rs | 2 +- .../v1alpha1/helmreleases.rs | 2 +- .../v1alpha1/localizations.rs | 2 +- .../apps_clusternet_io/v1alpha1/manifests.rs | 2 +- .../v1alpha1/subscriptions.rs | 2 +- .../src/apps_emqx_io/v1beta3/emqxbrokers.rs | 2 +- .../apps_emqx_io/v1beta3/emqxenterprises.rs | 2 +- .../src/apps_emqx_io/v1beta3/emqxplugins.rs | 2 +- .../src/apps_emqx_io/v1beta4/emqxbrokers.rs | 2 +- .../apps_emqx_io/v1beta4/emqxenterprises.rs | 2 +- .../src/apps_emqx_io/v1beta4/emqxplugins.rs | 2 +- .../src/apps_emqx_io/v1beta4/rebalances.rs | 2 +- .../src/apps_emqx_io/v2alpha1/emqxes.rs | 2 +- .../src/apps_emqx_io/v2beta1/emqxes.rs | 6 +- .../src/apps_emqx_io/v2beta1/rebalances.rs | 2 +- .../src/apps_gitlab_com/v1beta1/gitlabs.rs | 2 +- .../src/apps_gitlab_com/v1beta2/runners.rs | 2 +- .../v1alpha1/backuppolicytemplates.rs | 2 +- .../v1alpha1/clusterdefinitions.rs | 18 +- .../apps_kubeblocks_io/v1alpha1/clusters.rs | 2 +- .../v1alpha1/clusterversions.rs | 8 +- .../v1alpha1/componentclassdefinitions.rs | 2 +- .../v1alpha1/componentdefinitions.rs | 73 +- .../apps_kubeblocks_io/v1alpha1/components.rs | 2 +- .../v1alpha1/componentversions.rs | 2 +- .../v1alpha1/configconstraints.rs | 8 +- .../v1alpha1/configurations.rs | 8 +- .../v1alpha1/opsdefinitions.rs | 2 +- .../v1alpha1/opsrequests.rs | 2 +- .../v1alpha1/servicedescriptors.rs | 94 +- .../v1beta1/configconstraints.rs | 2 +- .../src/apps_kubedl_io/v1alpha1/crons.rs | 2 +- .../apps_kubeedge_io/v1alpha1/nodegroups.rs | 2 +- .../src/apps_m88i_io/v1alpha1/nexus.rs | 2 +- .../v1alpha1/clusterimpairments.rs | 2 +- .../v1alpha1/aquastarboards.rs | 2 +- .../v1alpha1/clusterconfigauditreports.rs | 2 +- .../v1alpha1/configauditreports.rs | 2 +- .../src/argoproj_io/v1alpha1/applications.rs | 52 +- .../src/argoproj_io/v1alpha1/appprojects.rs | 2 +- .../src/argoproj_io/v1alpha1/argocdexports.rs | 2 +- .../src/argoproj_io/v1alpha1/argocds.rs | 11 +- .../src/argoproj_io/v1beta1/argocds.rs | 11 +- .../v1/aerospikeclusters.rs | 11 +- .../v1beta1/aerospikeclusters.rs | 2 +- .../src/atlasmap_io/v1alpha1/atlasmaps.rs | 2 +- .../v1alpha1/awsauthsyncconfigs.rs | 2 +- .../authzed_com/v1alpha1/spicedbclusters.rs | 2 +- .../v1alpha1/managedresources.rs | 2 +- .../v1/verticalpodautoscalercheckpoints.rs | 2 +- .../v1/verticalpodautoscalers.rs | 2 +- .../verticalpodautoscalercheckpoints.rs | 2 +- .../v1beta2/verticalpodautoscalers.rs | 2 +- .../v1alpha1/cronfederatedhpas.rs | 2 +- .../v1alpha1/federatedhpas.rs | 2 +- .../src/awx_ansible_com/v1beta1/awxbackups.rs | 2 +- .../awx_ansible_com/v1beta1/awxrestores.rs | 6 +- .../src/awx_ansible_com/v1beta1/awxs.rs | 30 +- .../v1alpha1/apimgmtapis.rs | 2 +- .../v1alpha1/apimservices.rs | 2 +- .../v1alpha1/appinsights.rs | 2 +- .../v1alpha1/appinsightsapikeys.rs | 2 +- .../v1alpha1/azureloadbalancers.rs | 2 +- .../v1alpha1/azurenetworkinterfaces.rs | 2 +- .../v1alpha1/azurepublicipaddresses.rs | 2 +- .../v1alpha1/azuresqlactions.rs | 2 +- .../v1alpha1/azuresqldatabases.rs | 2 +- .../v1alpha1/azuresqlfailovergroups.rs | 2 +- .../v1alpha1/azuresqlfirewallrules.rs | 2 +- .../v1alpha1/azuresqlmanagedusers.rs | 2 +- .../v1alpha1/azuresqlservers.rs | 2 +- .../v1alpha1/azuresqlusers.rs | 2 +- .../v1alpha1/azuresqlvnetrules.rs | 2 +- .../v1alpha1/azurevirtualmachineextensions.rs | 2 +- .../v1alpha1/azurevirtualmachines.rs | 2 +- .../v1alpha1/azurevmscalesets.rs | 2 +- .../v1alpha1/blobcontainers.rs | 2 +- .../v1alpha1/consumergroups.rs | 2 +- .../azure_microsoft_com/v1alpha1/cosmosdbs.rs | 2 +- .../v1alpha1/eventhubnamespaces.rs | 2 +- .../azure_microsoft_com/v1alpha1/eventhubs.rs | 2 +- .../v1alpha1/keyvaultkeys.rs | 2 +- .../azure_microsoft_com/v1alpha1/keyvaults.rs | 2 +- .../v1alpha1/mysqlaadusers.rs | 2 +- .../v1alpha1/mysqldatabases.rs | 2 +- .../v1alpha1/mysqlfirewallrules.rs | 2 +- .../v1alpha1/mysqlserveradministrators.rs | 2 +- .../v1alpha1/mysqlservers.rs | 2 +- .../v1alpha1/mysqlusers.rs | 2 +- .../v1alpha1/mysqlvnetrules.rs | 2 +- .../v1alpha1/postgresqldatabases.rs | 2 +- .../v1alpha1/postgresqlfirewallrules.rs | 2 +- .../v1alpha1/postgresqlservers.rs | 2 +- .../v1alpha1/postgresqlusers.rs | 2 +- .../v1alpha1/postgresqlvnetrules.rs | 2 +- .../v1alpha1/rediscacheactions.rs | 2 +- .../v1alpha1/rediscachefirewallrules.rs | 2 +- .../v1alpha1/resourcegroups.rs | 2 +- .../v1alpha1/storageaccounts.rs | 2 +- .../v1alpha1/virtualnetworks.rs | 2 +- .../v1alpha2/blobcontainers.rs | 2 +- .../v1alpha2/mysqlaadusers.rs | 2 +- .../v1alpha2/mysqlservers.rs | 2 +- .../v1alpha2/mysqlusers.rs | 2 +- .../v1alpha2/postgresqlservers.rs | 2 +- .../v1beta1/azuresqldatabases.rs | 2 +- .../v1beta1/azuresqlfailovergroups.rs | 2 +- .../v1beta1/azuresqlfirewallrules.rs | 2 +- .../v1beta1/azuresqlservers.rs | 2 +- .../src/b3scale_infra_run/v1/bbbfrontends.rs | 2 +- .../src/b3scale_io/v1/bbbfrontends.rs | 2 +- .../src/batch_volcano_sh/v1alpha1/jobs.rs | 2 +- .../src/beat_k8s_elastic_co/v1beta1/beats.rs | 296 ++- .../beegfs_csi_netapp_com/v1/beegfsdrivers.rs | 2 +- .../v1alpha1/bindablekinds.rs | 2 +- .../v1alpha1/servicebindings.rs | 2 +- .../src/bitnami_com/v1alpha1/sealedsecrets.rs | 23 +- .../src/bmc_tinkerbell_org/v1alpha1/jobs.rs | 33 +- .../bmc_tinkerbell_org/v1alpha1/machines.rs | 35 +- .../src/bmc_tinkerbell_org/v1alpha1/tasks.rs | 47 +- .../v1/dynamicresourcelifecycles.rs | 2 +- .../src/boskos_k8s_io/v1/resources.rs | 2 +- .../src/bpfman_io/v1alpha1/bpfprograms.rs | 2 +- .../src/bpfman_io/v1alpha1/fentryprograms.rs | 2 +- .../src/bpfman_io/v1alpha1/fexitprograms.rs | 2 +- .../src/bpfman_io/v1alpha1/kprobeprograms.rs | 2 +- .../src/bpfman_io/v1alpha1/tcprograms.rs | 2 +- .../bpfman_io/v1alpha1/tracepointprograms.rs | 2 +- .../src/bpfman_io/v1alpha1/uprobeprograms.rs | 2 +- .../src/bpfman_io/v1alpha1/xdpprograms.rs | 2 +- .../src/bus_volcano_sh/v1alpha1/commands.rs | 2 +- .../cache_kubedl_io/v1alpha1/cachebackends.rs | 2 +- .../v1alpha1/varnishclusters.rs | 2 +- .../src/camel_apache_org/v1/builds.rs | 31 +- .../src/camel_apache_org/v1/camelcatalogs.rs | 2 +- .../src/camel_apache_org/v1/kamelets.rs | 2 +- .../src/camel_apache_org/v1alpha1/kamelets.rs | 2 +- .../v1alpha1/tenants.rs | 2 +- .../v1beta1/activedocs.rs | 2 +- .../v1beta1/applications.rs | 2 +- .../v1beta1/backends.rs | 2 +- .../v1beta1/custompolicydefinitions.rs | 2 +- .../v1beta1/developeraccounts.rs | 2 +- .../v1beta1/developerusers.rs | 2 +- .../v1beta1/openapis.rs | 2 +- .../v1beta1/products.rs | 2 +- .../v1beta1/proxyconfigpromotes.rs | 2 +- .../v1alpha1/capsuleconfigurations.rs | 2 +- .../capsule_clastix_io/v1alpha1/tenants.rs | 2 +- .../src/capsule_clastix_io/v1beta1/tenants.rs | 2 +- .../v1beta2/capsuleconfigurations.rs | 2 +- .../src/capsule_clastix_io/v1beta2/tenants.rs | 2 +- .../v1beta1/cassandradatacenters.rs | 6 +- .../v1/cephblockpoolradosnamespaces.rs | 2 +- .../src/ceph_rook_io/v1/cephblockpools.rs | 2 +- .../v1/cephbucketnotifications.rs | 2 +- .../src/ceph_rook_io/v1/cephbuckettopics.rs | 2 +- .../src/ceph_rook_io/v1/cephclients.rs | 2 +- .../src/ceph_rook_io/v1/cephcosidrivers.rs | 2 +- .../ceph_rook_io/v1/cephfilesystemmirrors.rs | 2 +- .../src/ceph_rook_io/v1/cephfilesystems.rs | 2 +- .../v1/cephfilesystemsubvolumegroups.rs | 2 +- .../src/ceph_rook_io/v1/cephnfses.rs | 2 +- .../src/ceph_rook_io/v1/cephobjectrealms.rs | 2 +- .../src/ceph_rook_io/v1/cephobjectstores.rs | 2 +- .../ceph_rook_io/v1/cephobjectstoreusers.rs | 2 +- .../ceph_rook_io/v1/cephobjectzonegroups.rs | 2 +- .../src/ceph_rook_io/v1/cephobjectzones.rs | 2 +- .../src/ceph_rook_io/v1/cephrbdmirrors.rs | 2 +- .../cert_manager_io/v1/certificaterequests.rs | 2 +- .../src/cert_manager_io/v1/certificates.rs | 2 +- .../src/cert_manager_io/v1/clusterissuers.rs | 23 +- .../src/cert_manager_io/v1/issuers.rs | 23 +- .../v1alpha1/configurations.rs | 70 +- .../src/chainsaw_kyverno_io/v1alpha1/tests.rs | 1079 +++++++-- .../v1alpha2/configurations.rs | 294 +-- .../src/chaos_mesh_org/v1alpha1/awschaos.rs | 2 +- .../src/chaos_mesh_org/v1alpha1/azurechaos.rs | 2 +- .../src/chaos_mesh_org/v1alpha1/blockchaos.rs | 2 +- .../src/chaos_mesh_org/v1alpha1/dnschaos.rs | 2 +- .../src/chaos_mesh_org/v1alpha1/gcpchaos.rs | 2 +- .../src/chaos_mesh_org/v1alpha1/httpchaos.rs | 2 +- .../src/chaos_mesh_org/v1alpha1/iochaos.rs | 2 +- .../src/chaos_mesh_org/v1alpha1/jvmchaos.rs | 2 +- .../chaos_mesh_org/v1alpha1/kernelchaos.rs | 2 +- .../chaos_mesh_org/v1alpha1/networkchaos.rs | 2 +- .../v1alpha1/physicalmachinechaos.rs | 2 +- .../v1alpha1/physicalmachines.rs | 2 +- .../src/chaos_mesh_org/v1alpha1/podchaos.rs | 2 +- .../chaos_mesh_org/v1alpha1/podhttpchaos.rs | 2 +- .../src/chaos_mesh_org/v1alpha1/podiochaos.rs | 2 +- .../v1alpha1/podnetworkchaos.rs | 2 +- .../chaos_mesh_org/v1alpha1/remoteclusters.rs | 2 +- .../src/chaos_mesh_org/v1alpha1/schedules.rs | 2 +- .../chaos_mesh_org/v1alpha1/statuschecks.rs | 2 +- .../chaos_mesh_org/v1alpha1/stresschaos.rs | 2 +- .../src/chaos_mesh_org/v1alpha1/timechaos.rs | 2 +- .../chaos_mesh_org/v1alpha1/workflownodes.rs | 2 +- .../src/chaos_mesh_org/v1alpha1/workflows.rs | 2 +- .../src/chaosblade_io/v1alpha1/chaosblades.rs | 2 +- .../src/charts_amd_com/v1alpha1/amdgpus.rs | 2 +- .../v1alpha1/flagsmiths.rs | 2 +- .../v1alpha1/snykmonitors.rs | 2 +- .../src/charts_opdev_io/v1alpha1/synapses.rs | 2 +- .../v1alpha1/cockroachdbs.rs | 2 +- .../v1alpha1/kubernetesimagepullers.rs | 2 +- .../v1/exitnodeprovisioners.rs | 2 +- .../src/chisel_operator_io/v1/exitnodes.rs | 2 +- .../v2/ciliumclusterwidenetworkpolicies.rs | 42 +- .../v2/ciliumegressgatewaypolicies.rs | 2 +- .../src/cilium_io/v2/ciliumendpoints.rs | 2 +- .../cilium_io/v2/ciliumexternalworkloads.rs | 2 +- .../src/cilium_io/v2/ciliumidentities.rs | 2 +- .../v2/ciliumlocalredirectpolicies.rs | 2 +- .../src/cilium_io/v2/ciliumnetworkpolicies.rs | 42 +- .../src/cilium_io/v2/ciliumnodes.rs | 2 +- .../v2alpha1/ciliumbgppeeringpolicies.rs | 2 +- .../cilium_io/v2alpha1/ciliumcidrgroups.rs | 2 +- .../v2alpha1/ciliumendpointslices.rs | 2 +- .../v2alpha1/ciliuml2announcementpolicies.rs | 2 +- .../v2alpha1/ciliumloadbalancerippools.rs | 2 +- .../cilium_io/v2alpha1/ciliumnodeconfigs.rs | 2 +- .../cilium_io/v2alpha1/ciliumpodippools.rs | 2 +- .../src/claudie_io/v1beta1/inputmanifests.rs | 2 +- .../v1alpha1/stacks.rs | 2 +- .../v1alpha1/cachepolicies.rs | 2 +- .../v1alpha1/distributions.rs | 2 +- .../v1alpha1/functions.rs | 2 +- .../v1alpha1/originrequestpolicies.rs | 2 +- .../v1alpha1/responseheaderspolicies.rs | 2 +- .../v1alpha1/eventdatastores.rs | 2 +- .../v1alpha1/trails.rs | 2 +- .../v1alpha1/amazoncloudwatchagents.rs | 2 +- .../v1alpha1/instrumentations.rs | 2 +- .../v1alpha1/metricalarms.rs | 2 +- .../v1alpha1/loggroups.rs | 24 +- .../v1alpha2/clustersyncresources.rs | 2 +- .../v1alpha2/pediaclusters.rs | 2 +- .../cluster_ipfs_io/v1alpha1/circuitrelays.rs | 2 +- .../cluster_ipfs_io/v1alpha1/ipfsclusters.rs | 2 +- .../src/cluster_x_k8s_io/v1alpha3/clusters.rs | 2 +- .../v1alpha3/machinedeployments.rs | 2 +- .../v1alpha3/machinehealthchecks.rs | 2 +- .../cluster_x_k8s_io/v1alpha3/machinepools.rs | 2 +- .../src/cluster_x_k8s_io/v1alpha3/machines.rs | 2 +- .../cluster_x_k8s_io/v1alpha3/machinesets.rs | 2 +- .../v1alpha4/clusterclasses.rs | 2 +- .../src/cluster_x_k8s_io/v1alpha4/clusters.rs | 2 +- .../v1alpha4/machinedeployments.rs | 2 +- .../v1alpha4/machinehealthchecks.rs | 2 +- .../cluster_x_k8s_io/v1alpha4/machinepools.rs | 2 +- .../src/cluster_x_k8s_io/v1alpha4/machines.rs | 2 +- .../cluster_x_k8s_io/v1alpha4/machinesets.rs | 2 +- .../v1beta1/clusterclasses.rs | 2 +- .../src/cluster_x_k8s_io/v1beta1/clusters.rs | 35 +- .../v1beta1/machinedeployments.rs | 2 +- .../v1beta1/machinehealthchecks.rs | 2 +- .../cluster_x_k8s_io/v1beta1/machinepools.rs | 2 +- .../src/cluster_x_k8s_io/v1beta1/machines.rs | 2 +- .../cluster_x_k8s_io/v1beta1/machinesets.rs | 2 +- .../v1beta1/clusterregistrationrequests.rs | 2 +- .../v1beta1/managedclusters.rs | 5 +- .../v1alpha1/clustertemplateinstances.rs | 2 +- .../v1alpha1/clustertemplatequotas.rs | 2 +- .../v1alpha1/clustertemplates.rs | 2 +- .../v1alpha1/clustertemplatesetup.rs | 2 +- .../v1alpha1/config.rs | 2 +- .../v1beta1/ccruntimes.rs | 2 +- .../config_gatekeeper_sh/v1alpha1/configs.rs | 2 +- .../config_grafana_com/v1/projectconfigs.rs | 2 +- .../resourceinterpretercustomizations.rs | 2 +- ...esourceinterpreterwebhookconfigurations.rs | 2 +- .../v1alpha1/clustercolocationprofiles.rs | 70 +- .../v1/operatorconfigs.rs | 2 +- .../v1alpha1/cassandratasks.rs | 2 +- .../v1alpha1/clustercollectedstatuses.rs | 2 +- .../v1alpha1/clusterfederatedobjects.rs | 2 +- .../v1alpha1/clusteroverridepolicies.rs | 2 +- .../v1alpha1/clusterpropagatedversions.rs | 2 +- .../v1alpha1/clusterpropagationpolicies.rs | 2 +- .../v1alpha1/collectedstatuses.rs | 2 +- .../v1alpha1/federatedclusters.rs | 2 +- .../v1alpha1/federatedobjects.rs | 2 +- .../v1alpha1/federatedtypeconfigs.rs | 2 +- .../v1alpha1/overridepolicies.rs | 2 +- .../v1alpha1/propagatedversions.rs | 2 +- .../v1alpha1/propagationpolicies.rs | 2 +- .../schedulerpluginwebhookconfigurations.rs | 2 +- .../v1alpha1/schedulingprofiles.rs | 2 +- .../v1alpha1/atests.rs | 2 +- .../v1alpha1/featureflagconfigurations.rs | 2 +- .../v1alpha2/featureflagconfigurations.rs | 4 +- .../couchbase_com/v2/couchbaseautoscalers.rs | 2 +- .../v2/couchbasebackuprestores.rs | 2 +- .../src/couchbase_com/v2/couchbasebackups.rs | 2 +- .../src/couchbase_com/v2/couchbasebuckets.rs | 2 +- .../src/couchbase_com/v2/couchbaseclusters.rs | 2 +- .../v2/couchbasecollectiongroups.rs | 2 +- .../couchbase_com/v2/couchbasecollections.rs | 2 +- .../v2/couchbaseephemeralbuckets.rs | 2 +- .../src/couchbase_com/v2/couchbasegroups.rs | 2 +- .../v2/couchbasememcachedbuckets.rs | 2 +- .../v2/couchbasemigrationreplications.rs | 2 +- .../couchbase_com/v2/couchbasereplications.rs | 2 +- .../couchbase_com/v2/couchbaserolebindings.rs | 2 +- .../couchbase_com/v2/couchbasescopegroups.rs | 2 +- .../src/couchbase_com/v2/couchbasescopes.rs | 2 +- .../src/couchbase_com/v2/couchbaseusers.rs | 2 +- .../v1alpha1/sopssecrets.rs | 2 +- .../v1alpha1/operatorconfigs.rs | 2 +- .../v1/bgpconfigurations.rs | 2 +- .../crd_projectcalico_org/v1/bgpfilters.rs | 2 +- .../src/crd_projectcalico_org/v1/bgppeers.rs | 2 +- .../v1/blockaffinities.rs | 2 +- .../v1/caliconodestatuses.rs | 2 +- .../v1/clusterinformations.rs | 2 +- .../v1/globalnetworksets.rs | 2 +- .../crd_projectcalico_org/v1/hostendpoints.rs | 2 +- .../crd_projectcalico_org/v1/ipamblocks.rs | 2 +- .../crd_projectcalico_org/v1/ipamconfigs.rs | 2 +- .../crd_projectcalico_org/v1/ipamhandles.rs | 2 +- .../src/crd_projectcalico_org/v1/ippools.rs | 2 +- .../v1/ipreservations.rs | 2 +- .../v1/kubecontrollersconfigurations.rs | 2 +- .../crd_projectcalico_org/v1/networksets.rs | 2 +- .../data_fluid_io/v1alpha1/alluxioruntimes.rs | 2 +- .../src/data_fluid_io/v1alpha1/databackups.rs | 2 +- .../src/data_fluid_io/v1alpha1/dataloads.rs | 2 +- .../src/data_fluid_io/v1alpha1/datasets.rs | 2 +- .../data_fluid_io/v1alpha1/goosefsruntimes.rs | 2 +- .../data_fluid_io/v1alpha1/jindoruntimes.rs | 2 +- .../data_fluid_io/v1alpha1/juicefsruntimes.rs | 2 +- .../v1alpha1/thinruntimeprofiles.rs | 2 +- .../data_fluid_io/v1alpha1/thinruntimes.rs | 2 +- .../v1alpha4/databases.rs | 2 +- .../v1/redisfailovers.rs | 2 +- .../datadoghq_com/v1alpha1/datadogagents.rs | 16 +- .../datadoghq_com/v1alpha1/datadogmetrics.rs | 2 +- .../datadoghq_com/v1alpha1/datadogmonitors.rs | 2 +- .../src/datadoghq_com/v1alpha1/datadogslos.rs | 2 +- .../datadoghq_com/v2alpha1/datadogagents.rs | 2 +- .../v1alpha1/actionsets.rs | 2 +- .../v1alpha1/backuppolicies.rs | 2 +- .../v1alpha1/backuprepos.rs | 2 +- .../v1alpha1/backups.rs | 2 +- .../v1alpha1/backupschedules.rs | 2 +- .../v1alpha1/restores.rs | 2 +- .../src/designer_kaoto_io/v1alpha1/kaotoes.rs | 2 +- .../v1alpha2/devicemodels.rs | 2 +- .../devices_kubeedge_io/v1alpha2/devices.rs | 2 +- .../v1beta1/devicemodels.rs | 2 +- .../devices_kubeedge_io/v1beta1/devices.rs | 2 +- .../v1alpha1/releasercontrollers.rs | 2 +- .../v1alpha1/releasers.rs | 2 +- .../src/dex_coreos_com/v1/authcodes.rs | 2 +- .../src/dex_coreos_com/v1/authrequests.rs | 2 +- .../src/dex_coreos_com/v1/connectors.rs | 2 +- .../src/dex_coreos_com/v1/devicerequests.rs | 2 +- .../src/dex_coreos_com/v1/devicetokens.rs | 2 +- .../src/dex_coreos_com/v1/oauth2clients.rs | 2 +- .../dex_coreos_com/v1/offlinesessionses.rs | 2 +- .../src/dex_coreos_com/v1/passwords.rs | 2 +- .../src/dex_coreos_com/v1/refreshtokens.rs | 2 +- .../src/dex_coreos_com/v1/signingkeies.rs | 2 +- .../v1alpha1/dexidentityproviders.rs | 2 +- .../v1alpha1/dexoauth2clients.rs | 2 +- .../dex_gpu_ninja_com/v1alpha1/dexusers.rs | 2 +- .../src/digitalis_io/v1/valssecrets.rs | 2 +- .../src/digitalis_io/v1beta1/dbsecrets.rs | 2 +- .../v1alpha1/dbclusters.rs | 2 +- .../v1alpha1/dbinstances.rs | 2 +- .../v1alpha1/dbsubnetgroups.rs | 2 +- .../src/druid_apache_org/v1alpha1/druids.rs | 2 +- .../v1alpha1/backups.rs | 2 +- .../v1alpha1/globaltables.rs | 2 +- .../v1alpha1/tables.rs | 2 +- .../v1alpha1/dhcpoptions.rs | 2 +- .../v1alpha1/elasticipaddresses.rs | 2 +- .../v1alpha1/instances.rs | 2 +- .../v1alpha1/internetgateways.rs | 2 +- .../v1alpha1/natgateways.rs | 2 +- .../v1alpha1/routetables.rs | 2 +- .../v1alpha1/securitygroups.rs | 2 +- .../ec2_services_k8s_aws/v1alpha1/subnets.rs | 2 +- .../v1alpha1/transitgateways.rs | 2 +- .../v1alpha1/vpcendpoints.rs | 2 +- .../src/ec2_services_k8s_aws/v1alpha1/vpcs.rs | 2 +- .../v1alpha1/pullthroughcacherules.rs | 2 +- .../v1alpha1/repositories.rs | 2 +- .../v1alpha1/accesspoints.rs | 2 +- .../v1alpha1/filesystems.rs | 2 +- .../v1alpha1/mounttargets.rs | 2 +- .../eks_services_k8s_aws/v1alpha1/addons.rs | 2 +- .../eks_services_k8s_aws/v1alpha1/clusters.rs | 2 +- .../v1alpha1/fargateprofiles.rs | 2 +- .../v1alpha1/nodegroups.rs | 2 +- .../v1alpha1/cacheparametergroups.rs | 2 +- .../v1alpha1/cachesubnetgroups.rs | 2 +- .../v1alpha1/replicationgroups.rs | 2 +- .../v1alpha1/snapshots.rs | 2 +- .../v1alpha1/usergroups.rs | 2 +- .../v1alpha1/users.rs | 2 +- .../v1/elasticsearches.rs | 151 +- .../v1beta1/elasticsearches.rs | 150 +- .../v1alpha1/targetgroupbindings.rs | 2 +- .../v1beta1/ingressclassparams.rs | 2 +- .../v1beta1/targetgroupbindings.rs | 2 +- .../v1alpha1/jobruns.rs | 2 +- .../v1alpha1/virtualclusters.rs | 2 +- .../src/ensembleoss_io/v1/clusters.rs | 2 +- .../src/ensembleoss_io/v1/resources.rs | 2 +- .../v1/enterprisesearches.rs | 150 +- .../v1beta1/enterprisesearches.rs | 150 +- .../v1alpha1/backupstorages.rs | 2 +- .../v1alpha1/databaseclusterbackups.rs | 2 +- .../v1alpha1/databaseclusterrestores.rs | 2 +- .../v1alpha1/databaseclusters.rs | 2 +- .../v1alpha1/monitoringconfigs.rs | 2 +- .../v1alpha1/jobconfigs.rs | 2 +- .../src/execution_furiko_io/v1alpha1/jobs.rs | 2 +- .../src/executor_testkube_io/v1/executors.rs | 12 +- .../src/executor_testkube_io/v1/webhooks.rs | 5 +- .../v1alpha1/expansiontemplate.rs | 2 +- .../v1beta1/expansiontemplate.rs | 2 +- .../v1alpha1/wasmplugins.rs | 2 +- .../v1alpha1/addons.rs | 2 +- .../v1alpha1/clustersecretstores.rs | 2 +- .../v1alpha1/externalsecrets.rs | 8 +- .../v1alpha1/secretstores.rs | 2 +- .../v1beta1/clusterexternalsecrets.rs | 2 +- .../v1beta1/clustersecretstores.rs | 2 +- .../v1beta1/externalsecrets.rs | 8 +- .../v1beta1/secretstores.rs | 2 +- .../v1alpha1/providers.rs | 2 +- .../v1beta1/providers.rs | 2 +- .../v1alpha1/dnsendpoints.rs | 2 +- .../externaldns_nginx_org/v1/dnsendpoints.rs | 2 +- .../src/flagger_app/v1beta1/alertproviders.rs | 2 +- .../src/flagger_app/v1beta1/canaries.rs | 2 +- .../flagger_app/v1beta1/metrictemplates.rs | 2 +- .../v1beta1/flinkdeployments.rs | 2 +- .../v1beta1/flinksessionjobs.rs | 2 +- .../src/flow_volcano_sh/v1alpha1/jobflows.rs | 2 +- .../flow_volcano_sh/v1alpha1/jobtemplates.rs | 2 +- .../v1alpha1/flowcollectors.rs | 2 +- .../v1beta1/flowcollectors.rs | 146 +- .../v1beta2/flowcollectors.rs | 146 +- .../v1alpha2/clusterfilters.rs | 2 +- .../v1alpha2/clusterfluentbitconfigs.rs | 2 +- .../v1alpha2/clusterinputs.rs | 2 +- .../v1alpha2/clusteroutputs.rs | 2 +- .../v1alpha2/clusterparsers.rs | 2 +- .../v1alpha2/collectors.rs | 2 +- .../fluentbit_fluent_io/v1alpha2/filters.rs | 2 +- .../v1alpha2/fluentbitconfigs.rs | 2 +- .../v1alpha2/fluentbits.rs | 2 +- .../fluentbit_fluent_io/v1alpha2/outputs.rs | 2 +- .../fluentbit_fluent_io/v1alpha2/parsers.rs | 2 +- .../v1alpha1/clusterfilters.rs | 2 +- .../v1alpha1/clusterfluentdconfigs.rs | 2 +- .../v1alpha1/clusterinputs.rs | 2 +- .../v1alpha1/clusteroutputs.rs | 66 +- .../src/fluentd_fluent_io/v1alpha1/filters.rs | 2 +- .../v1alpha1/fluentdconfigs.rs | 2 +- .../fluentd_fluent_io/v1alpha1/fluentds.rs | 2 +- .../src/fluentd_fluent_io/v1alpha1/inputs.rs | 2 +- .../src/fluentd_fluent_io/v1alpha1/outputs.rs | 66 +- .../v1alpha1/miniclusters.rs | 2 +- .../v1alpha2/miniclusters.rs | 2 +- .../v1beta1/forkliftcontrollers.rs | 2 +- .../src/forklift_konveyor_io/v1beta1/hooks.rs | 2 +- .../src/forklift_konveyor_io/v1beta1/hosts.rs | 2 +- .../v1beta1/migrations.rs | 2 +- .../v1beta1/networkmaps.rs | 2 +- .../v1beta1/openstackvolumepopulators.rs | 2 +- .../v1beta1/ovirtvolumepopulators.rs | 2 +- .../src/forklift_konveyor_io/v1beta1/plans.rs | 2 +- .../forklift_konveyor_io/v1beta1/providers.rs | 2 +- .../v1beta1/storagemaps.rs | 2 +- .../src/fossul_io/v1/backupconfigs.rs | 2 +- .../src/fossul_io/v1/backups.rs | 2 +- .../src/fossul_io/v1/backupschedules.rs | 2 +- .../src/fossul_io/v1/fossuls.rs | 2 +- .../src/fossul_io/v1/restores.rs | 2 +- .../v1/gatewayclasses.rs | 2 +- .../gateway_networking_k8s_io/v1/gateways.rs | 2 +- .../v1/grpcroutes.rs | 2 +- .../v1/httproutes.rs | 2 +- .../v1alpha2/grpcroutes.rs | 2 +- .../v1alpha2/referencegrants.rs | 2 +- .../v1alpha2/tcproutes.rs | 2 +- .../v1alpha2/tlsroutes.rs | 2 +- .../v1alpha2/udproutes.rs | 2 +- .../v1beta1/gatewayclasses.rs | 2 +- .../v1beta1/gateways.rs | 2 +- .../v1beta1/httproutes.rs | 2 +- .../v1beta1/referencegrants.rs | 2 +- .../v1alpha1/clientsettingspolicies.rs | 10 +- .../v1alpha1/nginxgateways.rs | 2 +- .../v1alpha1/nginxproxies.rs | 2 +- .../v1alpha1/observabilitypolicies.rs | 25 +- .../getambassador_io/v3alpha1/authservices.rs | 2 +- .../v3alpha1/consulresolvers.rs | 2 +- .../getambassador_io/v3alpha1/devportals.rs | 2 +- .../src/getambassador_io/v3alpha1/hosts.rs | 2 +- .../v3alpha1/kubernetesendpointresolvers.rs | 2 +- .../v3alpha1/kubernetesserviceresolvers.rs | 2 +- .../getambassador_io/v3alpha1/listeners.rs | 2 +- .../getambassador_io/v3alpha1/logservices.rs | 2 +- .../src/getambassador_io/v3alpha1/modules.rs | 2 +- .../v3alpha1/ratelimitservices.rs | 2 +- .../getambassador_io/v3alpha1/tcpmappings.rs | 2 +- .../getambassador_io/v3alpha1/tlscontexts.rs | 2 +- .../v3alpha1/tracingservices.rs | 2 +- .../v1alpha1/patterns.rs | 2 +- .../v1beta1/grafanadashboards.rs | 2 +- .../v1beta1/grafanadatasources.rs | 2 +- .../v1beta1/grafanafolders.rs | 2 +- .../v1alpha1/volumegroupsnapshotclasses.rs | 2 +- .../v1alpha1/volumegroupsnapshotcontents.rs | 2 +- .../v1alpha1/volumegroupsnapshots.rs | 2 +- .../hazelcast_com/v1alpha1/cronhotbackups.rs | 2 +- .../src/hazelcast_com/v1alpha1/hazelcasts.rs | 2 +- .../src/hazelcast_com/v1alpha1/hotbackups.rs | 2 +- .../v1alpha1/managementcenters.rs | 2 +- .../src/hazelcast_com/v1alpha1/maps.rs | 2 +- .../hazelcast_com/v1alpha1/wanreplications.rs | 2 +- .../src/helm_sigstore_dev/v1alpha1/rekors.rs | 2 +- .../helm_toolkit_fluxcd_io/v2/helmreleases.rs | 2 +- .../v2beta1/helmreleases.rs | 2 +- .../v2beta2/helmreleases.rs | 2 +- .../src/hive_openshift_io/v1/checkpoints.rs | 2 +- .../src/hive_openshift_io/v1/clusterclaims.rs | 2 +- .../v1/clusterdeploymentcustomizations.rs | 2 +- .../v1/clusterdeployments.rs | 2 +- .../v1/clusterdeprovisions.rs | 2 +- .../hive_openshift_io/v1/clusterimagesets.rs | 2 +- .../src/hive_openshift_io/v1/clusterpools.rs | 2 +- .../hive_openshift_io/v1/clusterprovisions.rs | 2 +- .../hive_openshift_io/v1/clusterrelocates.rs | 2 +- .../src/hive_openshift_io/v1/clusterstates.rs | 2 +- .../src/hive_openshift_io/v1/dnszones.rs | 2 +- .../src/hive_openshift_io/v1/hiveconfigs.rs | 2 +- .../v1/machinepoolnameleases.rs | 2 +- .../src/hive_openshift_io/v1/machinepools.rs | 2 +- .../v1/selectorsyncidentityproviders.rs | 2 +- .../v1/syncidentityproviders.rs | 2 +- .../v1alpha1/clustersyncleases.rs | 2 +- .../v1alpha1/clustersyncs.rs | 2 +- .../v1alpha1/fakeclusterinstalls.rs | 2 +- .../v1alpha2/hierarchicalresourcequotas.rs | 2 +- .../v1alpha2/hierarchyconfigurations.rs | 2 +- .../v1alpha2/hncconfigurations.rs | 2 +- .../v1alpha2/subnamespaceanchors.rs | 2 +- .../src/hyperfoil_io/v1alpha1/horreums.rs | 2 +- .../src/hyperfoil_io/v1alpha2/hyperfoils.rs | 2 +- .../iam_services_k8s_aws/v1alpha1/groups.rs | 2 +- .../v1alpha1/instanceprofiles.rs | 2 +- .../v1alpha1/openidconnectproviders.rs | 2 +- .../iam_services_k8s_aws/v1alpha1/policies.rs | 2 +- .../iam_services_k8s_aws/v1alpha1/roles.rs | 2 +- .../iam_services_k8s_aws/v1alpha1/users.rs | 2 +- .../ibmcloud_ibm_com/v1alpha1/composables.rs | 2 +- .../v1beta1/imagepolicies.rs | 2 +- .../v1beta1/imagerepositories.rs | 2 +- .../v1beta1/imageupdateautomations.rs | 2 +- .../v1beta2/imagepolicies.rs | 2 +- .../v1beta2/imagerepositories.rs | 2 +- .../v1beta2/imageupdateautomations.rs | 2 +- .../v1alpha1/dicomeventbridges.rs | 2 +- .../v1alpha1/dicomeventdriveningestions.rs | 2 +- .../v1alpha1/dicominstancebindings.rs | 2 +- .../v1alpha1/dicomstudybindings.rs | 2 +- .../v1alpha1/dicomwebingestionservices.rs | 2 +- .../v1alpha1/dimseingestionservices.rs | 2 +- .../v1alpha1/dimseproxies.rs | 2 +- .../v1alpha1/elasticbatchjobs.rs | 2 +- .../src/infinispan_org/v1/infinispans.rs | 2 +- .../src/infinispan_org/v2alpha1/backups.rs | 2 +- .../src/infinispan_org/v2alpha1/batches.rs | 2 +- .../src/infinispan_org/v2alpha1/caches.rs | 2 +- .../src/infinispan_org/v2alpha1/restores.rs | 2 +- .../v1alpha1/terraforms.rs | 2 +- .../v1alpha2/terraforms.rs | 2 +- .../v1alpha1/kubevirtclusters.rs | 90 +- .../v1alpha1/kubevirtclustertemplates.rs | 154 +- .../v1alpha1/kubevirtmachines.rs | 1935 +++++++++++++---- .../v1alpha1/kubevirtmachinetemplates.rs | 1890 ++++++++++++---- .../v1alpha3/vsphereclusteridentities.rs | 2 +- .../v1alpha3/vsphereclusters.rs | 2 +- .../v1alpha3/vspheredeploymentzones.rs | 2 +- .../v1alpha3/vspherefailuredomains.rs | 2 +- .../v1alpha3/vspheremachines.rs | 2 +- .../v1alpha3/vspheremachinetemplates.rs | 2 +- .../v1alpha3/vspherevms.rs | 2 +- .../v1alpha4/vsphereclusteridentities.rs | 2 +- .../v1alpha4/vsphereclusters.rs | 2 +- .../v1alpha4/vsphereclustertemplates.rs | 2 +- .../v1alpha4/vspheredeploymentzones.rs | 2 +- .../v1alpha4/vspherefailuredomains.rs | 2 +- .../v1alpha4/vspheremachines.rs | 2 +- .../v1alpha4/vspheremachinetemplates.rs | 2 +- .../v1alpha4/vspherevms.rs | 2 +- .../v1beta1/ibmpowervsclusters.rs | 2 +- .../v1beta1/ibmpowervsclustertemplates.rs | 2 +- .../v1beta1/ibmpowervsimages.rs | 2 +- .../v1beta1/ibmpowervsmachines.rs | 2 +- .../v1beta1/ibmpowervsmachinetemplates.rs | 2 +- .../v1beta1/ibmvpcclusters.rs | 2 +- .../v1beta1/ibmvpcmachines.rs | 2 +- .../v1beta1/ibmvpcmachinetemplates.rs | 2 +- .../v1beta1/tinkerbellclusters.rs | 2 +- .../v1beta1/tinkerbellmachines.rs | 2 +- .../v1beta1/tinkerbellmachinetemplates.rs | 2 +- .../v1beta1/vsphereclusteridentities.rs | 2 +- .../v1beta1/vsphereclusters.rs | 2 +- .../v1beta1/vsphereclustertemplates.rs | 2 +- .../v1beta1/vspheredeploymentzones.rs | 2 +- .../v1beta1/vspherefailuredomains.rs | 2 +- .../v1beta1/vspheremachines.rs | 2 +- .../v1beta1/vspheremachinetemplates.rs | 2 +- .../v1beta1/vspherevms.rs | 2 +- .../v1beta2/ibmpowervsclusters.rs | 252 ++- .../v1beta2/ibmpowervsclustertemplates.rs | 235 +- .../v1beta2/ibmpowervsimages.rs | 2 +- .../v1beta2/ibmpowervsmachines.rs | 2 +- .../v1beta2/ibmpowervsmachinetemplates.rs | 2 +- .../v1beta2/ibmvpcclusters.rs | 2 +- .../v1beta2/ibmvpcmachines.rs | 2 +- .../v1beta2/ibmvpcmachinetemplates.rs | 2 +- .../v1alpha1/istiooperators.rs | 2 +- .../v1beta1/mattermosts.rs | 2 +- .../src/instana_io/v1/agents.rs | 2 +- .../v1beta1/deferredresources.rs | 2 +- .../integration_rock8s_com/v1beta1/plugs.rs | 2 +- .../integration_rock8s_com/v1beta1/sockets.rs | 2 +- .../src/iot_eclipse_org/v1alpha1/dittos.rs | 2 +- .../src/iot_eclipse_org/v1alpha1/hawkbits.rs | 2 +- .../v1alpha1/ipaddressclaims.rs | 2 +- .../v1alpha1/ipaddresses.rs | 2 +- .../v1beta1/ipaddressclaims.rs | 2 +- .../v1beta1/ipaddresses.rs | 2 +- .../v1alpha1/sopssecrets.rs | 2 +- .../v1alpha2/sopssecrets.rs | 2 +- .../v1alpha3/sopssecrets.rs | 2 +- .../src/jaegertracing_io/v1/jaegers.rs | 2 +- .../src/jobset_x_k8s_io/v1alpha2/jobsets.rs | 43 +- .../v1beta1/managedjobs.rs | 2 +- .../src/k6_io/v1alpha1/k6s.rs | 2 +- .../src/k6_io/v1alpha1/privateloadzones.rs | 2 +- .../src/k6_io/v1alpha1/testruns.rs | 2 +- .../src/k8gb_absa_oss/v1beta1/gslbs.rs | 2 +- .../v2alpha1/keycloakrealmimports.rs | 2 +- .../k8s_keycloak_org/v2alpha1/keycloaks.rs | 2 +- .../src/k8s_mariadb_com/v1alpha1/backups.rs | 2 +- .../k8s_mariadb_com/v1alpha1/connections.rs | 2 +- .../src/k8s_mariadb_com/v1alpha1/databases.rs | 2 +- .../src/k8s_mariadb_com/v1alpha1/grants.rs | 2 +- .../src/k8s_mariadb_com/v1alpha1/mariadbs.rs | 32 +- .../src/k8s_mariadb_com/v1alpha1/maxscales.rs | 2 +- .../src/k8s_mariadb_com/v1alpha1/restores.rs | 2 +- .../src/k8s_mariadb_com/v1alpha1/sqljobs.rs | 2 +- .../src/k8s_mariadb_com/v1alpha1/users.rs | 2 +- .../k8s_nginx_org/v1/globalconfigurations.rs | 2 +- .../src/k8s_nginx_org/v1/policies.rs | 4 +- .../src/k8s_nginx_org/v1/transportservers.rs | 2 +- .../k8s_nginx_org/v1/virtualserverroutes.rs | 2 +- .../src/k8s_nginx_org/v1/virtualservers.rs | 2 +- .../v1alpha1/globalconfigurations.rs | 2 +- .../src/k8s_nginx_org/v1alpha1/policies.rs | 2 +- .../v1alpha1/transportservers.rs | 2 +- .../v1alpha2/clientintents.rs | 2 +- .../v1alpha2/kafkaserverconfigs.rs | 2 +- .../v1alpha2/protectedservices.rs | 2 +- .../v1alpha3/clientintents.rs | 2 +- .../v1alpha3/kafkaserverconfigs.rs | 2 +- .../v1alpha3/protectedservices.rs | 2 +- .../src/k8up_io/v1/archives.rs | 2 +- .../src/k8up_io/v1/backups.rs | 2 +- .../src/k8up_io/v1/checks.rs | 2 +- .../src/k8up_io/v1/prebackuppods.rs | 2 +- .../src/k8up_io/v1/prunes.rs | 2 +- .../src/k8up_io/v1/restores.rs | 2 +- .../src/k8up_io/v1/schedules.rs | 2 +- .../src/k8up_io/v1/snapshots.rs | 2 +- .../v1alpha1/cruisecontroloperations.rs | 2 +- .../v1alpha1/kafkatopics.rs | 2 +- .../v1alpha1/kafkausers.rs | 2 +- .../v1beta1/kafkaclusters.rs | 2 +- .../v1alpha1/clusters.rs | 2 +- .../kafka_strimzi_io/v1alpha1/kafkatopics.rs | 2 +- .../kafka_strimzi_io/v1alpha1/kafkausers.rs | 2 +- .../kafka_strimzi_io/v1beta1/kafkatopics.rs | 2 +- .../kafka_strimzi_io/v1beta1/kafkausers.rs | 2 +- .../kafka_strimzi_io/v1beta2/kafkabridges.rs | 2 +- .../v1beta2/kafkaconnectors.rs | 2 +- .../kafka_strimzi_io/v1beta2/kafkaconnects.rs | 2 +- .../v1beta2/kafkamirrormakers.rs | 2 +- .../v1beta2/kafkarebalances.rs | 2 +- .../src/kafka_strimzi_io/v1beta2/kafkas.rs | 2 +- .../kafka_strimzi_io/v1beta2/kafkatopics.rs | 2 +- .../kafka_strimzi_io/v1beta2/kafkausers.rs | 2 +- .../kamaji_clastix_io/v1alpha1/datastores.rs | 2 +- .../v1alpha1/tenantcontrolplanes.rs | 116 +- .../v1beta1/ec2nodeclasses.rs | 5 +- .../src/karpenter_sh/v1beta1/nodeclaims.rs | 2 +- .../src/karpenter_sh/v1beta1/nodepools.rs | 2 +- .../v1alpha1/clustertriggerauthentications.rs | 2 +- .../src/keda_sh/v1alpha1/scaledjobs.rs | 2 +- .../src/keda_sh/v1alpha1/scaledobjects.rs | 2 +- .../v1alpha1/triggerauthentications.rs | 2 +- .../v1alpha1/keycloakclients.rs | 2 +- .../keycloak_org/v1alpha1/keycloakbackups.rs | 2 +- .../keycloak_org/v1alpha1/keycloakclients.rs | 2 +- .../keycloak_org/v1alpha1/keycloakrealms.rs | 2 +- .../src/keycloak_org/v1alpha1/keycloaks.rs | 2 +- .../keycloak_org/v1alpha1/keycloakusers.rs | 2 +- .../v1alpha1/keyspaces.rs | 2 +- .../v1alpha1/tables.rs | 2 +- .../src/kibana_k8s_elastic_co/v1/kibanas.rs | 150 +- .../kibana_k8s_elastic_co/v1beta1/kibanas.rs | 150 +- .../v1alpha1/streams.rs | 2 +- .../src/kmm_sigs_x_k8s_io/v1beta1/modules.rs | 2 +- .../v1beta1/nodemodulesconfigs.rs | 2 +- .../v1beta1/preflightvalidations.rs | 2 +- .../v1beta2/preflightvalidations.rs | 2 +- .../kms_services_k8s_aws/v1alpha1/aliases.rs | 2 +- .../kms_services_k8s_aws/v1alpha1/grants.rs | 2 +- .../src/kms_services_k8s_aws/v1alpha1/keys.rs | 2 +- .../src/kuadrant_io/v1alpha1/dnsrecords.rs | 2 +- .../src/kuadrant_io/v1alpha1/managedzones.rs | 2 +- .../src/kuadrant_io/v1beta1/kuadrants.rs | 2 +- .../kuadrant_io/v1beta2/ratelimitpolicies.rs | 2 +- .../src/kube_green_com/v1alpha1/sleepinfos.rs | 2 +- .../kubean_io/v1alpha1/clusteroperations.rs | 2 +- .../src/kubean_io/v1alpha1/clusters.rs | 2 +- .../kubean_io/v1alpha1/localartifactsets.rs | 2 +- .../src/kubean_io/v1alpha1/manifests.rs | 2 +- .../v1alpha1/turndownschedules.rs | 2 +- .../kubevious_io/v1alpha1/workloadprofiles.rs | 2 +- .../src/kubevious_io/v1alpha1/workloads.rs | 2 +- .../kueue_x_k8s_io/v1beta1/admissionchecks.rs | 2 +- .../kueue_x_k8s_io/v1beta1/clusterqueues.rs | 18 +- .../src/kueue_x_k8s_io/v1beta1/localqueues.rs | 2 +- .../kueue_x_k8s_io/v1beta1/resourceflavors.rs | 2 +- .../src/kueue_x_k8s_io/v1beta1/workloads.rs | 391 +++- .../src/kuma_io/v1alpha1/circuitbreakers.rs | 2 +- .../src/kuma_io/v1alpha1/containerpatches.rs | 2 +- .../src/kuma_io/v1alpha1/dataplaneinsights.rs | 2 +- .../src/kuma_io/v1alpha1/dataplanes.rs | 2 +- .../src/kuma_io/v1alpha1/externalservices.rs | 2 +- .../src/kuma_io/v1alpha1/faultinjections.rs | 2 +- .../src/kuma_io/v1alpha1/healthchecks.rs | 2 +- .../src/kuma_io/v1alpha1/meshaccesslogs.rs | 2 +- .../kuma_io/v1alpha1/meshcircuitbreakers.rs | 2 +- .../src/kuma_io/v1alpha1/meshes.rs | 2 +- .../kuma_io/v1alpha1/meshfaultinjections.rs | 2 +- .../kuma_io/v1alpha1/meshgatewayconfigs.rs | 2 +- .../kuma_io/v1alpha1/meshgatewayinstances.rs | 2 +- .../src/kuma_io/v1alpha1/meshgatewayroutes.rs | 2 +- .../src/kuma_io/v1alpha1/meshgateways.rs | 2 +- .../src/kuma_io/v1alpha1/meshhealthchecks.rs | 2 +- .../src/kuma_io/v1alpha1/meshhttproutes.rs | 2 +- .../src/kuma_io/v1alpha1/meshinsights.rs | 2 +- .../v1alpha1/meshloadbalancingstrategies.rs | 2 +- .../src/kuma_io/v1alpha1/meshproxypatches.rs | 2 +- .../src/kuma_io/v1alpha1/meshratelimits.rs | 2 +- .../src/kuma_io/v1alpha1/meshretries.rs | 2 +- .../src/kuma_io/v1alpha1/meshtcproutes.rs | 2 +- .../src/kuma_io/v1alpha1/meshtimeouts.rs | 2 +- .../src/kuma_io/v1alpha1/meshtraces.rs | 2 +- .../v1alpha1/meshtrafficpermissions.rs | 2 +- .../src/kuma_io/v1alpha1/proxytemplates.rs | 2 +- .../src/kuma_io/v1alpha1/ratelimits.rs | 2 +- .../src/kuma_io/v1alpha1/retries.rs | 2 +- .../src/kuma_io/v1alpha1/serviceinsights.rs | 2 +- .../src/kuma_io/v1alpha1/timeouts.rs | 2 +- .../src/kuma_io/v1alpha1/trafficlogs.rs | 2 +- .../kuma_io/v1alpha1/trafficpermissions.rs | 2 +- .../src/kuma_io/v1alpha1/trafficroutes.rs | 2 +- .../src/kuma_io/v1alpha1/traffictraces.rs | 2 +- .../src/kuma_io/v1alpha1/virtualoutbounds.rs | 2 +- .../src/kuma_io/v1alpha1/zoneegresses.rs | 2 +- .../kuma_io/v1alpha1/zoneegressinsights.rs | 2 +- .../src/kuma_io/v1alpha1/zoneingresses.rs | 2 +- .../kuma_io/v1alpha1/zoneingressinsights.rs | 2 +- .../src/kuma_io/v1alpha1/zoneinsights.rs | 2 +- .../src/kuma_io/v1alpha1/zones.rs | 2 +- .../v1/kustomizations.rs | 2 +- .../v1beta1/kustomizations.rs | 2 +- .../v1beta2/kustomizations.rs | 2 +- .../src/kyverno_io/v1/clusterpolicies.rs | 2 +- .../src/kyverno_io/v1/policies.rs | 2 +- .../kyverno_io/v1alpha2/admissionreports.rs | 2 +- .../v1alpha2/backgroundscanreports.rs | 2 +- .../v1alpha2/clusteradmissionreports.rs | 2 +- .../v1alpha2/clusterbackgroundscanreports.rs | 2 +- .../src/kyverno_io/v1beta1/updaterequests.rs | 2 +- .../src/kyverno_io/v2/admissionreports.rs | 2 +- .../kyverno_io/v2/backgroundscanreports.rs | 2 +- .../src/kyverno_io/v2/cleanuppolicies.rs | 2 +- .../kyverno_io/v2/clusteradmissionreports.rs | 2 +- .../v2/clusterbackgroundscanreports.rs | 2 +- .../kyverno_io/v2/clustercleanuppolicies.rs | 2 +- .../src/kyverno_io/v2/policyexceptions.rs | 2 +- .../src/kyverno_io/v2/updaterequests.rs | 2 +- .../kyverno_io/v2alpha1/cleanuppolicies.rs | 2 +- .../v2alpha1/clustercleanuppolicies.rs | 2 +- .../v2alpha1/globalcontextentries.rs | 2 +- .../kyverno_io/v2alpha1/policyexceptions.rs | 2 +- .../src/kyverno_io/v2beta1/cleanuppolicies.rs | 2 +- .../v2beta1/clustercleanuppolicies.rs | 2 +- .../src/kyverno_io/v2beta1/clusterpolicies.rs | 2 +- .../src/kyverno_io/v2beta1/policies.rs | 2 +- .../kyverno_io/v2beta1/policyexceptions.rs | 2 +- .../v1alpha1/codesigningconfigs.rs | 2 +- .../v1alpha1/eventsourcemappings.rs | 2 +- .../v1alpha1/functions.rs | 2 +- .../v1alpha1/functionurlconfigs.rs | 2 +- .../v1alpha1/layerversions.rs | 2 +- .../v1alpha1/versions.rs | 2 +- .../v1/cluster_leaksignal_istios.rs | 2 +- .../leaksignal_com/v1/leaksignal_istios.rs | 2 +- .../src/lerentis_uploadfilter24_eu/mod.rs | 1 + .../v1beta4/bitwarden_secrets.rs | 2 +- .../v1beta4/bitwarden_templates.rs | 2 +- .../v1beta4/registry_credentials.rs | 2 +- .../v1beta5/bitwarden_secrets.rs | 2 +- .../v1beta5/bitwarden_templates.rs | 2 +- .../v1beta5/registry_credentials.rs | 2 +- .../v1beta6/bitwarden_secrets.rs | 46 + .../v1beta6/bitwarden_templates.rs | 29 + .../lerentis_uploadfilter24_eu/v1beta6/mod.rs | 3 + .../v1beta6/registry_credentials.rs | 33 + kube-custom-resources-rs/src/lib.rs | 5 + .../v1alpha1/limitadors.rs | 5 +- .../litmuschaos_io/v1alpha1/chaosengines.rs | 2 +- .../v1alpha1/chaosexperiments.rs | 2 +- .../litmuschaos_io/v1alpha1/chaosresults.rs | 2 +- .../v1alpha1/clusterflows.rs | 2 +- .../v1alpha1/clusteroutputs.rs | 4 +- .../logging_banzaicloud_io/v1alpha1/flows.rs | 2 +- .../v1alpha1/loggings.rs | 2 +- .../v1alpha1/outputs.rs | 4 +- .../v1beta1/clusterflows.rs | 2 +- .../v1beta1/clusteroutputs.rs | 4 +- .../logging_banzaicloud_io/v1beta1/flows.rs | 2 +- .../logging_banzaicloud_io/v1beta1/outputs.rs | 4 +- .../v1beta1/syslogngclusterflows.rs | 2 +- .../v1beta1/syslogngclusteroutputs.rs | 2 +- .../v1beta1/syslogngflows.rs | 2 +- .../v1beta1/syslogngoutputs.rs | 2 +- .../v1alpha1/hosttailers.rs | 60 +- .../src/loki_grafana_com/v1/alertingrules.rs | 2 +- .../src/loki_grafana_com/v1/lokistacks.rs | 2 +- .../src/loki_grafana_com/v1/recordingrules.rs | 2 +- .../src/loki_grafana_com/v1/rulerconfigs.rs | 2 +- .../loki_grafana_com/v1beta1/alertingrules.rs | 2 +- .../loki_grafana_com/v1beta1/lokistacks.rs | 2 +- .../v1beta1/recordingrules.rs | 2 +- .../loki_grafana_com/v1beta1/rulerconfigs.rs | 2 +- .../v1beta1/backingimagedatasources.rs | 2 +- .../v1beta1/backingimagemanagers.rs | 2 +- .../src/longhorn_io/v1beta1/backingimages.rs | 2 +- .../src/longhorn_io/v1beta1/backups.rs | 2 +- .../src/longhorn_io/v1beta1/backuptargets.rs | 2 +- .../src/longhorn_io/v1beta1/backupvolumes.rs | 2 +- .../src/longhorn_io/v1beta1/engineimages.rs | 2 +- .../src/longhorn_io/v1beta1/engines.rs | 2 +- .../longhorn_io/v1beta1/instancemanagers.rs | 2 +- .../src/longhorn_io/v1beta1/nodes.rs | 2 +- .../src/longhorn_io/v1beta1/recurringjobs.rs | 2 +- .../src/longhorn_io/v1beta1/replicas.rs | 2 +- .../src/longhorn_io/v1beta1/settings.rs | 2 +- .../src/longhorn_io/v1beta1/sharemanagers.rs | 2 +- .../src/longhorn_io/v1beta1/volumes.rs | 2 +- .../v1beta2/backingimagedatasources.rs | 2 +- .../v1beta2/backingimagemanagers.rs | 2 +- .../src/longhorn_io/v1beta2/backingimages.rs | 2 +- .../v1beta2/backupbackingimages.rs | 2 +- .../src/longhorn_io/v1beta2/backups.rs | 2 +- .../src/longhorn_io/v1beta2/backuptargets.rs | 2 +- .../src/longhorn_io/v1beta2/backupvolumes.rs | 2 +- .../src/longhorn_io/v1beta2/engineimages.rs | 2 +- .../src/longhorn_io/v1beta2/engines.rs | 2 +- .../longhorn_io/v1beta2/instancemanagers.rs | 2 +- .../src/longhorn_io/v1beta2/nodes.rs | 2 +- .../src/longhorn_io/v1beta2/orphans.rs | 2 +- .../src/longhorn_io/v1beta2/recurringjobs.rs | 2 +- .../src/longhorn_io/v1beta2/replicas.rs | 2 +- .../src/longhorn_io/v1beta2/settings.rs | 2 +- .../src/longhorn_io/v1beta2/sharemanagers.rs | 2 +- .../src/longhorn_io/v1beta2/snapshots.rs | 2 +- .../src/longhorn_io/v1beta2/supportbundles.rs | 2 +- .../src/longhorn_io/v1beta2/systembackups.rs | 2 +- .../src/longhorn_io/v1beta2/systemrestores.rs | 2 +- .../longhorn_io/v1beta2/volumeattachments.rs | 2 +- .../src/longhorn_io/v1beta2/volumes.rs | 2 +- .../src/m4e_krestomat_io/v1alpha1/moodles.rs | 2 +- .../src/m4e_krestomat_io/v1alpha1/nginxes.rs | 2 +- .../src/m4e_krestomat_io/v1alpha1/phpfpms.rs | 2 +- .../src/m4e_krestomat_io/v1alpha1/routines.rs | 2 +- .../v1alpha1/machinedeletionremediations.rs | 2 +- .../machinedeletionremediationtemplates.rs | 2 +- .../v1alpha1/elasticmapsservers.rs | 150 +- .../mariadb_mmontes_io/v1alpha1/backups.rs | 2 +- .../v1alpha1/connections.rs | 2 +- .../mariadb_mmontes_io/v1alpha1/databases.rs | 2 +- .../src/mariadb_mmontes_io/v1alpha1/grants.rs | 2 +- .../mariadb_mmontes_io/v1alpha1/mariadbs.rs | 2 +- .../mariadb_mmontes_io/v1alpha1/restores.rs | 2 +- .../mariadb_mmontes_io/v1alpha1/sqljobs.rs | 2 +- .../src/mariadb_mmontes_io/v1alpha1/users.rs | 2 +- .../v1alpha1/envoyconfigrevisions.rs | 2 +- .../v1alpha1/envoyconfigs.rs | 2 +- .../v1alpha1/clusterinstallations.rs | 2 +- .../v1alpha1/mattermostrestoredbs.rs | 2 +- .../v1alpha1/acls.rs | 2 +- .../v1alpha1/clusters.rs | 2 +- .../v1alpha1/parametergroups.rs | 2 +- .../v1alpha1/snapshots.rs | 2 +- .../v1alpha1/subnetgroups.rs | 2 +- .../v1alpha1/users.rs | 2 +- .../v1alpha1/compositecontrollers.rs | 2 +- .../v1alpha1/controllerrevisions.rs | 2 +- .../v1alpha1/decoratorcontrollers.rs | 2 +- .../v1alpha1/bmceventsubscriptions.rs | 2 +- .../src/metal3_io/v1alpha1/dataimages.rs | 2 +- .../src/metal3_io/v1alpha1/firmwareschemas.rs | 2 +- .../src/metal3_io/v1alpha1/hardwaredata.rs | 2 +- .../v1alpha1/hostfirmwarecomponents.rs | 2 +- .../v1alpha1/hostfirmwaresettings.rs | 2 +- .../v1alpha1/preprovisioningimages.rs | 2 +- .../v1alpha1/microcksinstalls.rs | 2 +- .../src/minio_min_io/v2/tenants.rs | 2 +- .../v1alpha1/secretmirrors.rs | 2 +- .../v1alpha2/secretmirrors.rs | 2 +- .../src/model_kubedl_io/v1alpha1/models.rs | 2 +- .../model_kubedl_io/v1alpha1/modelversions.rs | 2 +- .../monitoring_coreos_com/v1/alertmanagers.rs | 478 +++- .../monitoring_coreos_com/v1/podmonitors.rs | 74 +- .../src/monitoring_coreos_com/v1/probes.rs | 74 +- .../monitoring_coreos_com/v1/prometheuses.rs | 885 ++++++-- .../v1/prometheusrules.rs | 2 +- .../v1/servicemonitors.rs | 74 +- .../monitoring_coreos_com/v1/thanosrulers.rs | 424 +++- .../v1alpha1/alertmanagerconfigs.rs | 995 +++++++-- .../v1alpha1/prometheusagents.rs | 681 +++++- .../v1alpha1/scrapeconfigs.rs | 748 +++++-- .../v1beta1/alertmanagerconfigs.rs | 851 ++++++-- .../v1alpha1/monocles.rs | 2 +- .../mq_services_k8s_aws/v1alpha1/brokers.rs | 2 +- .../v1alpha1/clusterinfoimports.rs | 2 +- .../v1alpha1/clustersets.rs | 2 +- .../v1alpha1/gateways.rs | 2 +- .../v1alpha1/labelidentities.rs | 2 +- .../v1alpha1/memberclusterannounces.rs | 2 +- .../v1alpha1/multiclusterconfigs.rs | 2 +- .../v1alpha1/resourceexports.rs | 2 +- .../v1alpha1/resourceimports.rs | 2 +- .../v1alpha2/clusterclaims.rs | 2 +- .../v1alpha2/clustersets.rs | 2 +- .../v1alpha1/appliedworks.rs | 2 +- .../v1alpha1/serviceexports.rs | 7 +- .../v1alpha1/serviceimports.rs | 52 +- .../src/mutations_gatekeeper_sh/v1/assign.rs | 2 +- .../v1/assignmetadata.rs | 2 +- .../mutations_gatekeeper_sh/v1/modifyset.rs | 2 +- .../v1alpha1/assign.rs | 2 +- .../v1alpha1/assignimage.rs | 2 +- .../v1alpha1/assignmetadata.rs | 2 +- .../v1alpha1/modifyset.rs | 2 +- .../mutations_gatekeeper_sh/v1beta1/assign.rs | 2 +- .../v1beta1/assignmetadata.rs | 2 +- .../v1beta1/modifyset.rs | 2 +- .../src/nativestor_alauda_io/v1/rawdevices.rs | 2 +- .../src/netchecks_io/v1/networkassertions.rs | 2 +- .../v1alpha1/firewallpolicies.rs | 2 +- .../v1alpha1/firewalls.rs | 2 +- .../v1alpha1/rulegroups.rs | 2 +- .../v1/managedcertificates.rs | 2 +- .../v1/destinationrules.rs | 2 +- .../src/networking_istio_io/v1/gateways.rs | 2 +- .../networking_istio_io/v1/serviceentries.rs | 2 +- .../src/networking_istio_io/v1/sidecars.rs | 2 +- .../networking_istio_io/v1/virtualservices.rs | 2 +- .../networking_istio_io/v1/workloadentries.rs | 2 +- .../networking_istio_io/v1/workloadgroups.rs | 2 +- .../v1alpha3/destinationrules.rs | 2 +- .../v1alpha3/envoyfilters.rs | 2 +- .../networking_istio_io/v1alpha3/gateways.rs | 2 +- .../v1alpha3/serviceentries.rs | 2 +- .../networking_istio_io/v1alpha3/sidecars.rs | 2 +- .../v1alpha3/virtualservices.rs | 2 +- .../v1alpha3/workloadentries.rs | 2 +- .../v1alpha3/workloadgroups.rs | 2 +- .../v1beta1/destinationrules.rs | 2 +- .../networking_istio_io/v1beta1/gateways.rs | 2 +- .../v1beta1/proxyconfigs.rs | 2 +- .../v1beta1/serviceentries.rs | 2 +- .../networking_istio_io/v1beta1/sidecars.rs | 2 +- .../v1beta1/virtualservices.rs | 2 +- .../v1beta1/workloadentries.rs | 2 +- .../v1beta1/workloadgroups.rs | 2 +- .../v1alpha1/policyendpoints.rs | 2 +- .../v1alpha1/multiclusteringresses.rs | 2 +- .../v1alpha1/multiclusterservices.rs | 2 +- .../v1alpha1/nodefeaturerules.rs | 2 +- .../v1/nodefeaturediscoveries.rs | 2 +- .../v1alpha1/nodefeaturerules.rs | 2 +- .../v1alpha1/numatopologies.rs | 2 +- .../notebook_kubedl_io/v1alpha1/notebooks.rs | 2 +- .../v1/receivers.rs | 2 +- .../v1beta1/alerts.rs | 2 +- .../v1beta1/providers.rs | 2 +- .../v1beta1/receivers.rs | 2 +- .../v1beta2/alerts.rs | 2 +- .../v1beta2/providers.rs | 2 +- .../v1beta2/receivers.rs | 2 +- .../v1beta3/alerts.rs | 2 +- .../v1beta3/providers.rs | 2 +- .../v1alpha1/objectbucketclaims.rs | 2 +- .../objectbucket_io/v1alpha1/objectbuckets.rs | 2 +- .../onepassword_com/v1/onepassworditems.rs | 2 +- .../v1alpha1/domains.rs | 2 +- .../v1alpha1/instrumentations.rs | 2 +- .../opentelemetry_io/v1alpha1/opampbridges.rs | 2 +- .../v1alpha1/opentelemetrycollectors.rs | 2 +- .../v1beta1/opentelemetrycollectors.rs | 4 +- .../v1alpha1/nodeupgradejobs.rs | 2 +- .../operator_aquasec_com/v1alpha1/aquacsps.rs | 2 +- .../v1alpha1/aquadatabases.rs | 2 +- .../v1alpha1/aquaenforcers.rs | 2 +- .../v1alpha1/aquagateways.rs | 2 +- .../v1alpha1/aquakubeenforcers.rs | 2 +- .../v1alpha1/aquascanners.rs | 2 +- .../v1alpha1/aquaservers.rs | 2 +- .../v1beta1/authorinos.rs | 2 +- .../v1alpha1/bootstrapproviders.rs | 2 +- .../v1alpha1/controlplaneproviders.rs | 2 +- .../v1alpha1/coreproviders.rs | 2 +- .../v1alpha1/infrastructureproviders.rs | 2 +- .../v1alpha2/addonproviders.rs | 2 +- .../v1alpha2/bootstrapproviders.rs | 2 +- .../v1alpha2/controlplaneproviders.rs | 2 +- .../v1alpha2/coreproviders.rs | 2 +- .../v1alpha2/infrastructureproviders.rs | 2 +- .../operator_cryostat_io/v1beta1/cryostats.rs | 2 +- .../v1alpha1/discoveryservicecertificates.rs | 2 +- .../v1alpha1/discoveryservices.rs | 2 +- .../v1alpha1/envoydeployments.rs | 2 +- .../v1/clustermanagers.rs | 2 +- .../v1/klusterlets.rs | 2 +- .../v1alpha1/shipwrightbuilds.rs | 2 +- .../v1alpha1/tektonchains.rs | 2 +- .../v1alpha1/tektonconfigs.rs | 2 +- .../v1alpha1/tektonhubs.rs | 2 +- .../v1alpha1/tektoninstallersets.rs | 2 +- .../v1alpha1/tektonpipelines.rs | 2 +- .../v1alpha1/tektontriggers.rs | 2 +- .../v1/amazoncloudintegrations.rs | 2 +- .../src/operator_tigera_io/v1/apiservers.rs | 2 +- .../v1/applicationlayers.rs | 2 +- .../operator_tigera_io/v1/authentications.rs | 2 +- .../src/operator_tigera_io/v1/compliances.rs | 2 +- .../operator_tigera_io/v1/egressgateways.rs | 2 +- .../src/operator_tigera_io/v1/imagesets.rs | 2 +- .../operator_tigera_io/v1/installations.rs | 2 +- .../v1/intrusiondetections.rs | 2 +- .../operator_tigera_io/v1/logcollectors.rs | 2 +- .../src/operator_tigera_io/v1/logstorages.rs | 2 +- .../v1/managementclusterconnections.rs | 2 +- .../v1/managementclusters.rs | 2 +- .../src/operator_tigera_io/v1/managers.rs | 2 +- .../src/operator_tigera_io/v1/monitors.rs | 2 +- .../operator_tigera_io/v1/packetcaptures.rs | 2 +- .../v1/policyrecommendations.rs | 2 +- .../src/operator_tigera_io/v1/tenants.rs | 2 +- .../operator_tigera_io/v1/tigerastatuses.rs | 2 +- .../v1/tlspassthroughroutes.rs | 2 +- .../v1/tlsterminatedroutes.rs | 2 +- .../v1beta1/amazoncloudintegrations.rs | 2 +- .../v1beta1/vmalertmanagerconfigs.rs | 2 +- .../v1beta1/vmnodescrapes.rs | 2 +- .../v1beta1/vmpodscrapes.rs | 2 +- .../v1beta1/vmprobes.rs | 2 +- .../v1beta1/vmrules.rs | 2 +- .../v1beta1/vmservicescrapes.rs | 2 +- .../v1beta1/vmstaticscrapes.rs | 2 +- .../v1beta1/vmusers.rs | 2 +- .../v1alpha1/backups.rs | 2 +- .../v1alpha1/backupschedules.rs | 2 +- .../v1alpha1/configs.rs | 2 +- .../v1alpha1/cronanythings.rs | 2 +- .../v1alpha1/databases.rs | 2 +- .../v1alpha1/exports.rs | 2 +- .../v1alpha1/imports.rs | 2 +- .../v1alpha1/pitrs.rs | 2 +- .../v1alpha1/releases.rs | 2 +- .../src/org_eclipse_che/v1/checlusters.rs | 2 +- .../src/org_eclipse_che/v2/checlusters.rs | 6 +- .../v1alpha1/organizationalunits.rs | 2 +- .../pgv2_percona_com/v2/perconapgbackups.rs | 4 +- .../pgv2_percona_com/v2/perconapgclusters.rs | 282 ++- .../pgv2_percona_com/v2/perconapgrestores.rs | 2 +- .../pipes_services_k8s_aws/v1alpha1/pipes.rs | 2 +- .../v1/configurationrevisions.rs | 2 +- .../pkg_crossplane_io/v1/configurations.rs | 2 +- .../pkg_crossplane_io/v1/providerrevisions.rs | 2 +- .../src/pkg_crossplane_io/v1/providers.rs | 2 +- .../v1alpha1/controllerconfigs.rs | 132 +- .../src/pkg_crossplane_io/v1beta1/locks.rs | 2 +- .../v1alpha1/clusterimportpolicies.rs | 2 +- .../v1alpha1/pediaclusterlifecycles.rs | 2 +- .../v1alpha1/clusteroverridepolicies.rs | 2 +- .../v1alpha1/clusterpropagationpolicies.rs | 2 +- .../v1alpha1/federatedresourcequotas.rs | 2 +- .../v1alpha1/overridepolicies.rs | 2 +- .../v1alpha1/propagationpolicies.rs | 2 +- .../v1alpha1/serviceaccountaccesses.rs | 2 +- .../v1alpha1/adminnetworkpolicies.rs | 2 +- .../v1alpha1/baselineadminnetworkpolicies.rs | 2 +- .../v1beta1/pgadmins.rs | 2 +- .../v1beta1/pgupgrades.rs | 2 +- .../v1beta1/postgresclusters.rs | 82 +- .../src/postgresql_cnpg_io/v1/backups.rs | 2 +- .../src/postgresql_cnpg_io/v1/poolers.rs | 2 +- .../postgresql_cnpg_io/v1/scheduledbackups.rs | 2 +- .../src/projectcontour_io/v1/httpproxies.rs | 2 +- .../v1/tlscertificatedelegations.rs | 2 +- .../v1alpha1/contourconfigurations.rs | 2 +- .../v1alpha1/contourdeployments.rs | 68 +- .../v1alpha1/extensionservices.rs | 2 +- .../v1alpha1/alertmanagerdefinitions.rs | 2 +- .../v1alpha1/loggingconfigurations.rs | 2 +- .../v1alpha1/rulegroupsnamespaces.rs | 2 +- .../v1alpha1/workspaces.rs | 2 +- .../v1alpha1/perconaservermysqlbackups.rs | 2 +- .../v1alpha1/perconaservermysqlrestores.rs | 2 +- .../v1alpha1/perconaservermysqls.rs | 2 +- .../v1/perconaservermongodbbackups.rs | 2 +- .../v1/perconaservermongodbrestores.rs | 2 +- .../src/ptp_openshift_io/v1/nodeptpdevices.rs | 2 +- .../v1/perconaxtradbclusterbackups.rs | 2 +- .../v1/perconaxtradbclusterrestores.rs | 2 +- .../v1/perconaxtradbclusters.rs | 2 +- .../src/quay_redhat_com/v1/quayregistries.rs | 2 +- .../v1alpha1/quotasubtrees.rs | 2 +- .../src/ray_io/v1/rayclusters.rs | 2 +- .../src/ray_io/v1/rayjobs.rs | 2 +- .../src/ray_io/v1/rayservices.rs | 2 +- .../src/ray_io/v1alpha1/rayclusters.rs | 2 +- .../src/ray_io/v1alpha1/rayjobs.rs | 2 +- .../src/ray_io/v1alpha1/rayservices.rs | 2 +- .../v1beta1/rbacdefinitions.rs | 2 +- .../src/rc_app_stacks/v1/runtimecomponents.rs | 2 +- .../src/rc_app_stacks/v1/runtimeoperations.rs | 2 +- .../v1beta2/runtimecomponents.rs | 2 +- .../v1beta2/runtimeoperations.rs | 2 +- .../v1alpha1/dbclusterparametergroups.rs | 2 +- .../v1alpha1/dbclusters.rs | 2 +- .../v1alpha1/dbinstances.rs | 2 +- .../v1alpha1/dbparametergroups.rs | 2 +- .../v1alpha1/dbproxies.rs | 2 +- .../v1alpha1/dbsubnetgroups.rs | 2 +- .../v1alpha1/globalclusters.rs | 2 +- .../v1alpha1/keepalivedgroups.rs | 2 +- .../v1/apicurioregistries.rs | 2 +- .../v1alpha1/clusterdevfileregistrieslists.rs | 2 +- .../v1alpha1/devfileregistries.rs | 2 +- .../v1alpha1/devfileregistrieslists.rs | 2 +- .../v1alpha1/clusterobjectsyncs.rs | 2 +- .../v1alpha1/objectsyncs.rs | 2 +- .../v1alpha1/nodehealthchecks.rs | 2 +- .../v1beta2/pulpbackups.rs | 2 +- .../v1beta2/pulprestores.rs | 2 +- .../v1beta2/pulps.rs | 2 +- .../v1/clusterephemeralreports.rs | 2 +- .../reports_kyverno_io/v1/ephemeralreports.rs | 2 +- .../v1/teleportloginrules.rs | 2 +- .../v1/teleportoktaimportrules.rs | 2 +- .../v2/teleportsamlconnectors.rs | 13 +- .../v2/teleportusers.rs | 2 +- .../v3/teleportgithubconnectors.rs | 13 +- .../v3/teleportoidcconnectors.rs | 13 +- .../rocketmq_apache_org/v1alpha1/brokers.rs | 2 +- .../rocketmq_apache_org/v1alpha1/consoles.rs | 2 +- .../v1alpha1/nameservices.rs | 2 +- .../v1alpha1/topictransfers.rs | 2 +- .../v1alpha1/hostedzones.rs | 2 +- .../v1alpha1/recordsets.rs | 2 +- .../v1alpha1/resolverendpoints.rs | 2 +- .../v1alpha1/resolverrules.rs | 2 +- .../src/rules_kubeedge_io/v1/ruleendpoints.rs | 2 +- .../src/rules_kubeedge_io/v1/rules.rs | 2 +- .../v1alpha1/extensionconfigs.rs | 2 +- .../s3_services_k8s_aws/v1alpha1/buckets.rs | 2 +- .../s3_snappcloud_io/v1alpha1/s3buckets.rs | 2 +- .../s3_snappcloud_io/v1alpha1/s3userclaims.rs | 2 +- .../src/s3_snappcloud_io/v1alpha1/s3users.rs | 2 +- .../v1alpha1/apps.rs | 2 +- .../v1alpha1/dataqualityjobdefinitions.rs | 2 +- .../v1alpha1/domains.rs | 2 +- .../v1alpha1/endpointconfigs.rs | 2 +- .../v1alpha1/endpoints.rs | 2 +- .../v1alpha1/featuregroups.rs | 2 +- .../v1alpha1/hyperparametertuningjobs.rs | 2 +- .../v1alpha1/modelbiasjobdefinitions.rs | 2 +- .../modelexplainabilityjobdefinitions.rs | 2 +- .../v1alpha1/modelpackagegroups.rs | 2 +- .../v1alpha1/modelpackages.rs | 2 +- .../v1alpha1/modelqualityjobdefinitions.rs | 2 +- .../v1alpha1/models.rs | 2 +- .../v1alpha1/monitoringschedules.rs | 2 +- .../notebookinstancelifecycleconfigs.rs | 2 +- .../v1alpha1/notebookinstances.rs | 2 +- .../v1alpha1/processingjobs.rs | 2 +- .../v1alpha1/trainingjobs.rs | 2 +- .../v1alpha1/transformjobs.rs | 2 +- .../v1alpha1/userprofiles.rs | 2 +- .../v1alpha1/devices.rs | 2 +- .../v1alpha1/podmigrationjobs.rs | 252 ++- .../v1alpha1/reservations.rs | 136 +- .../v1alpha1/elasticquotas.rs | 5 +- .../v1alpha1/podgroups.rs | 16 +- .../v1beta1/podgroups.rs | 2 +- .../scheduling_volcano_sh/v1beta1/queues.rs | 2 +- .../v1alpha4/datatypes.rs | 2 +- .../v1alpha4/migrations.rs | 2 +- .../schemas_schemahero_io/v1alpha4/tables.rs | 2 +- .../scylla_scylladb_com/v1/scyllaclusters.rs | 2 +- .../v1alpha1/nodeconfigs.rs | 2 +- .../v1alpha1/scyllaoperatorconfigs.rs | 2 +- .../v1alpha1/basicauths.rs | 2 +- .../v1alpha1/sshkeypairs.rs | 2 +- .../v1alpha1/stringsecrets.rs | 2 +- .../v1alpha1/storeconfigs.rs | 2 +- .../v1alpha1/dopplersecrets.rs | 2 +- .../secrets_hashicorp_com/v1beta1/hcpauths.rs | 2 +- .../v1beta1/hcpvaultsecretsapps.rs | 2 +- .../v1beta1/vaultauths.rs | 2 +- .../v1beta1/vaultconnections.rs | 2 +- .../v1beta1/vaultdynamicsecrets.rs | 2 +- .../v1beta1/vaultpkisecrets.rs | 2 +- .../v1beta1/vaultstaticsecrets.rs | 2 +- .../v1/secretproviderclasses.rs | 2 +- .../v1/secretproviderclasspodstatuses.rs | 2 +- .../v1alpha1/secretproviderclasses.rs | 2 +- .../secretproviderclasspodstatuses.rs | 2 +- .../v1alpha1/secrets.rs | 2 +- .../v1alpha1/imagemanifestvulns.rs | 2 +- .../v1/authorizationpolicies.rs | 2 +- .../v1/peerauthentications.rs | 2 +- .../v1/requestauthentications.rs | 2 +- .../v1beta1/authorizationpolicies.rs | 2 +- .../v1beta1/peerauthentications.rs | 2 +- .../v1beta1/requestauthentications.rs | 2 +- .../v1alpha1/apparmorprofiles.rs | 2 +- .../v1alpha1/profilebindings.rs | 2 +- .../v1alpha1/profilerecordings.rs | 2 +- .../v1alpha1/securityprofilenodestatuses.rs | 2 +- .../securityprofilesoperatordaemons.rs | 2 +- .../v1alpha2/rawselinuxprofiles.rs | 2 +- .../v1beta1/seccompprofiles.rs | 2 +- .../v1alpha1/selfnoderemediationconfigs.rs | 2 +- .../v1alpha1/selfnoderemediations.rs | 2 +- .../v1alpha1/selfnoderemediationtemplates.rs | 2 +- .../src/sematext_com/v1/sematextagents.rs | 2 +- .../clusterworkloadresourcemappings.rs | 2 +- .../v1alpha3/servicebindings.rs | 2 +- .../clusterworkloadresourcemappings.rs | 2 +- .../v1beta1/servicebindings.rs | 2 +- .../v1alpha1/istiocontrolplanes.rs | 2 +- .../v1alpha1/istiomeshes.rs | 2 +- .../v1alpha1/istiomeshgateways.rs | 2 +- .../v1alpha1/peeristiocontrolplanes.rs | 2 +- .../v1alpha1/adoptedresources.rs | 2 +- .../services_k8s_aws/v1alpha1/fieldexports.rs | 2 +- .../serving_kubedl_io/v1alpha1/inferences.rs | 2 +- .../v1alpha1/activities.rs | 2 +- .../v1alpha1/statemachines.rs | 2 +- .../site_superedge_io/v1alpha1/nodegroups.rs | 2 +- .../site_superedge_io/v1alpha1/nodeunits.rs | 2 +- .../v1alpha1/nodemetrics.rs | 5 +- .../slo_koordinator_sh/v1alpha1/nodeslos.rs | 480 +++- .../v1/prometheusservicelevels.rs | 2 +- .../v1/snapshotschedules.rs | 2 +- .../v1/volumesnapshotclasses.rs | 2 +- .../v1/volumesnapshotcontents.rs | 2 +- .../v1/volumesnapshots.rs | 2 +- .../v1beta1/volumesnapshotclasses.rs | 2 +- .../v1beta1/volumesnapshotcontents.rs | 2 +- .../v1beta1/volumesnapshots.rs | 2 +- .../v1alpha1/platformapplications.rs | 2 +- .../v1alpha1/platformendpoints.rs | 2 +- .../v1alpha1/subscriptions.rs | 2 +- .../sns_services_k8s_aws/v1alpha1/topics.rs | 2 +- .../v1alpha08/sonataflowbuilds.rs | 2 +- .../v1alpha08/sonataflowplatforms.rs | 2 +- .../v1/gitrepositories.rs | 2 +- .../source_toolkit_fluxcd_io/v1/helmcharts.rs | 2 +- .../v1/helmrepositories.rs | 2 +- .../v1beta1/buckets.rs | 2 +- .../v1beta1/gitrepositories.rs | 2 +- .../v1beta1/helmcharts.rs | 2 +- .../v1beta1/helmrepositories.rs | 2 +- .../v1beta2/buckets.rs | 44 +- .../v1beta2/gitrepositories.rs | 2 +- .../v1beta2/helmcharts.rs | 2 +- .../v1beta2/helmrepositories.rs | 2 +- .../v1beta2/ocirepositories.rs | 2 +- .../v1beta2/scheduledsparkapplications.rs | 32 +- .../v1beta2/sparkapplications.rs | 32 +- .../src/spv_no/v1/azurekeyvaultsecrets.rs | 2 +- .../v1alpha1/azurekeyvaultidentities.rs | 2 +- .../spv_no/v1alpha1/azurekeyvaultsecrets.rs | 2 +- .../spv_no/v1alpha1/azuremanagedidentities.rs | 2 +- .../spv_no/v2alpha1/azurekeyvaultsecrets.rs | 2 +- .../spv_no/v2beta1/azurekeyvaultsecrets.rs | 2 +- .../sqs_services_k8s_aws/v1alpha1/queues.rs | 2 +- .../v1beta1/constraintpodstatuses.rs | 2 +- .../v1beta1/constrainttemplatepodstatuses.rs | 2 +- .../v1beta1/expansiontemplatepodstatuses.rs | 2 +- .../v1beta1/mutatorpodstatuses.rs | 2 +- .../v1alpha1/storageproviders.rs | 2 +- .../src/storageos_com/v1/storageosclusters.rs | 2 +- .../src/sts_min_io/v1alpha1/policybindings.rs | 2 +- .../src/sts_min_io/v1beta1/policybindings.rs | 2 +- .../src/stunner_l7mp_io/v1/dataplanes.rs | 998 ++++++++- .../src/stunner_l7mp_io/v1/gatewayconfigs.rs | 55 +- .../src/stunner_l7mp_io/v1/staticservices.rs | 2 +- .../src/stunner_l7mp_io/v1/udproutes.rs | 487 ++++- .../stunner_l7mp_io/v1alpha1/dataplanes.rs | 639 +++++- .../v1alpha1/gatewayconfigs.rs | 68 +- .../v1alpha1/staticservices.rs | 52 +- .../src/submariner_io/v1alpha1/brokers.rs | 2 +- .../v1alpha1/servicediscoveries.rs | 2 +- .../src/submariner_io/v1alpha1/submariners.rs | 2 +- .../src/telemetry_istio_io/v1/telemetries.rs | 2 +- .../v1alpha1/telemetries.rs | 2 +- .../v1/constrainttemplates.rs | 2 +- .../v1alpha1/constrainttemplates.rs | 2 +- .../v1beta1/constrainttemplates.rs | 2 +- .../v1alpha1/tempomonolithics.rs | 5 +- .../tempo_grafana_com/v1alpha1/tempostacks.rs | 2 +- .../v1beta1/temporalclusterclients.rs | 2 +- .../temporal_io/v1beta1/temporalnamespaces.rs | 2 +- .../v1beta1/temporalworkerprocesses.rs | 2 +- .../src/tests_testkube_io/v1/scripts.rs | 2 +- .../tests_testkube_io/v1/testexecutions.rs | 97 +- .../src/tests_testkube_io/v1/tests.rs | 2 +- .../src/tests_testkube_io/v1/testsources.rs | 2 +- .../v1/testsuiteexecutions.rs | 106 +- .../src/tests_testkube_io/v1/testsuites.rs | 22 +- .../src/tests_testkube_io/v1/testtriggers.rs | 32 +- .../src/tests_testkube_io/v2/scripts.rs | 2 +- .../src/tests_testkube_io/v2/tests.rs | 22 +- .../src/tests_testkube_io/v2/testsuites.rs | 22 +- .../src/tests_testkube_io/v3/tests.rs | 62 +- .../src/tests_testkube_io/v3/testsuites.rs | 127 +- .../src/tf_tungsten_io/v1alpha1/analytics.rs | 2 +- .../tf_tungsten_io/v1alpha1/analyticsalarm.rs | 2 +- .../tf_tungsten_io/v1alpha1/analyticssnmp.rs | 2 +- .../src/tf_tungsten_io/v1alpha1/cassandras.rs | 2 +- .../src/tf_tungsten_io/v1alpha1/configs.rs | 2 +- .../src/tf_tungsten_io/v1alpha1/controls.rs | 2 +- .../tf_tungsten_io/v1alpha1/kubemanagers.rs | 2 +- .../src/tf_tungsten_io/v1alpha1/managers.rs | 2 +- .../tf_tungsten_io/v1alpha1/queryengine.rs | 2 +- .../src/tf_tungsten_io/v1alpha1/rabbitmqs.rs | 2 +- .../src/tf_tungsten_io/v1alpha1/redis.rs | 2 +- .../src/tf_tungsten_io/v1alpha1/vrouters.rs | 2 +- .../src/tf_tungsten_io/v1alpha1/zookeepers.rs | 2 +- .../src/theketch_io/v1beta1/apps.rs | 2 +- .../src/theketch_io/v1beta1/jobs.rs | 2 +- .../src/tinkerbell_org/v1alpha1/hardware.rs | 2 +- .../src/tinkerbell_org/v1alpha1/osies.rs | 2 +- .../src/tinkerbell_org/v1alpha1/stack.rs | 2 +- .../src/tinkerbell_org/v1alpha1/templates.rs | 2 +- .../src/tinkerbell_org/v1alpha1/workflows.rs | 2 +- .../src/tinkerbell_org/v1alpha2/hardware.rs | 2 +- .../src/tinkerbell_org/v1alpha2/osies.rs | 2 +- .../src/tinkerbell_org/v1alpha2/templates.rs | 2 +- .../src/tinkerbell_org/v1alpha2/workflows.rs | 2 +- .../v1alpha1/noderesourcetopologies.rs | 2 +- .../topolvm_cybozu_com/v1/logicalvolumes.rs | 2 +- .../topolvm_cybozu_com/v2/topolvmclusters.rs | 2 +- .../src/traefik_io/v1alpha1/ingressroutes.rs | 39 +- .../traefik_io/v1alpha1/ingressroutetcps.rs | 2 +- .../traefik_io/v1alpha1/ingressrouteudps.rs | 2 +- .../src/traefik_io/v1alpha1/middlewaretcps.rs | 2 +- .../traefik_io/v1alpha1/serverstransports.rs | 2 +- .../v1alpha1/serverstransporttcps.rs | 2 +- .../src/traefik_io/v1alpha1/tlsoptions.rs | 2 +- .../src/traefik_io/v1alpha1/tlsstores.rs | 2 +- .../traefik_io/v1alpha1/traefikservices.rs | 111 +- .../v1alpha1/elasticdljobs.rs | 2 +- .../training_kubedl_io/v1alpha1/marsjobs.rs | 2 +- .../training_kubedl_io/v1alpha1/mpijobs.rs | 2 +- .../v1alpha1/pytorchjobs.rs | 2 +- .../src/training_kubedl_io/v1alpha1/tfjobs.rs | 2 +- .../training_kubedl_io/v1alpha1/xdljobs.rs | 2 +- .../v1alpha1/xgboostjobs.rs | 2 +- .../v1/tridentorchestrators.rs | 2 +- .../trust_cert_manager_io/v1alpha1/bundles.rs | 2 +- .../src/upgrade_cattle_io/v1/plans.rs | 2 +- .../v1alpha1/upgradeconfigs.rs | 2 +- .../src/velero_io/v1/backuprepositories.rs | 2 +- .../src/velero_io/v1/backups.rs | 2 +- .../velero_io/v1/backupstoragelocations.rs | 2 +- .../src/velero_io/v1/deletebackuprequests.rs | 2 +- .../src/velero_io/v1/downloadrequests.rs | 2 +- .../src/velero_io/v1/podvolumebackups.rs | 2 +- .../src/velero_io/v1/podvolumerestores.rs | 2 +- .../src/velero_io/v1/schedules.rs | 2 +- .../src/velero_io/v1/serverstatusrequests.rs | 2 +- .../velero_io/v1/volumesnapshotlocations.rs | 2 +- .../src/velero_io/v2alpha1/datadownloads.rs | 2 +- .../src/velero_io/v2alpha1/datauploads.rs | 2 +- .../v1alpha1/virtualmachinemigrations.rs | 2 +- .../v1alpha1/virtualmachines.rs | 2 +- .../v1alpha1/replicationdestinations.rs | 2 +- .../v1alpha1/replicationsources.rs | 2 +- .../vpcresources_k8s_aws/v1alpha1/cninodes.rs | 2 +- .../v1beta1/securitygrouppolicies.rs | 2 +- .../v1alpha1/clusterpolicyreports.rs | 2 +- .../wgpolicyk8s_io/v1alpha1/policyreports.rs | 2 +- .../v1alpha2/clusterpolicyreports.rs | 2 +- .../wgpolicyk8s_io/v1alpha2/policyreports.rs | 2 +- .../v1beta1/clusterpolicyreports.rs | 2 +- .../wgpolicyk8s_io/v1beta1/policyreports.rs | 2 +- .../wildfly_org/v1alpha1/wildflyservers.rs | 14 +- .../v1alpha1/clusterresourcebindings.rs | 2 +- .../v1alpha1/resourcebindings.rs | 2 +- .../v1alpha2/clusterresourcebindings.rs | 2 +- .../v1alpha2/resourcebindings.rs | 2 +- .../v1beta1/appwrappers.rs | 2 +- .../v1beta1/schedulingspecs.rs | 2 +- .../v1beta2/appwrappers.rs | 26 +- .../v1alpha1/instancesets.rs | 2 +- .../v1alpha1/replicatedstatemachines.rs | 2 +- .../v1/zoneawareupdates.rs | 2 +- .../v1/zonedisruptionbudgets.rs | 2 +- .../v1beta1/zookeeperclusters.rs | 2 +- 1776 files changed, 30024 insertions(+), 8979 deletions(-) create mode 100644 crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta6/bitwarden-secrets.yaml create mode 100644 crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta6/bitwarden-templates.yaml create mode 100644 crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta6/registry-credentials.yaml create mode 100644 kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/bitwarden_secrets.rs create mode 100644 kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/bitwarden_templates.rs create mode 100644 kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/mod.rs create mode 100644 kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/registry_credentials.rs diff --git a/crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/postgresclusters.yaml b/crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/postgresclusters.yaml index ed0eacd3b..2a70cb4c2 100644 --- a/crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/postgresclusters.yaml +++ b/crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/postgresclusters.yaml @@ -7294,6 +7294,18 @@ spec: service: description: "Specification of the service that exposes PgBouncer." properties: + externalTrafficPolicy: + description: "More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies" + enum: + - "Cluster" + - "Local" + type: "string" + internalTrafficPolicy: + description: "More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies" + enum: + - "Cluster" + - "Local" + type: "string" metadata: description: "Metadata contains metadata for custom resources" properties: @@ -7434,6 +7446,18 @@ spec: replicaService: description: "Specification of the service that exposes PostgreSQL replica instances" properties: + externalTrafficPolicy: + description: "More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies" + enum: + - "Cluster" + - "Local" + type: "string" + internalTrafficPolicy: + description: "More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies" + enum: + - "Cluster" + - "Local" + type: "string" metadata: description: "Metadata contains metadata for custom resources" properties: @@ -7462,6 +7486,18 @@ spec: service: description: "Specification of the service that exposes the PostgreSQL primary instance." properties: + externalTrafficPolicy: + description: "More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies" + enum: + - "Cluster" + - "Local" + type: "string" + internalTrafficPolicy: + description: "More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies" + enum: + - "Cluster" + - "Local" + type: "string" metadata: description: "Metadata contains metadata for custom resources" properties: @@ -8294,6 +8330,18 @@ spec: service: description: "Specification of the service that exposes pgAdmin." properties: + externalTrafficPolicy: + description: "More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies" + enum: + - "Cluster" + - "Local" + type: "string" + internalTrafficPolicy: + description: "More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies" + enum: + - "Cluster" + - "Local" + type: "string" metadata: description: "Metadata contains metadata for custom resources" properties: diff --git a/crd-catalog/DataDog/datadog-operator/datadoghq.com/v1alpha1/datadogagents.yaml b/crd-catalog/DataDog/datadog-operator/datadoghq.com/v1alpha1/datadogagents.yaml index 54b16d6ba..6083bdf94 100644 --- a/crd-catalog/DataDog/datadog-operator/datadoghq.com/v1alpha1/datadogagents.yaml +++ b/crd-catalog/DataDog/datadog-operator/datadoghq.com/v1alpha1/datadogagents.yaml @@ -4020,6 +4020,16 @@ spec: agentCommunicationMode: description: "agentCommunicationMode corresponds to the mode used by the Datadog application libraries to communicate with the Agent. It can be \"hostip\", \"service\", or \"socket\"." type: "string" + cwsInstrumentation: + description: "CWSInstrumentation holds the CWS Instrumentation endpoint configuration" + properties: + enabled: + description: "Enable the CWS Instrumentation admission controller endpoint" + type: "boolean" + mode: + description: "Mode defines how the CWS Instrumentation endpoint should behave. It can be \"init_container\" or \"remote_copy\"." + type: "string" + type: "object" enabled: description: "Enable the admission controller to be able to inject APM/Dogstatsd config and standard tags (env, service, version) automatically into your pods." type: "boolean" diff --git a/crd-catalog/GoogleCloudPlatform/spark-on-k8s-operator/sparkoperator.k8s.io/v1beta2/scheduledsparkapplications.yaml b/crd-catalog/GoogleCloudPlatform/spark-on-k8s-operator/sparkoperator.k8s.io/v1beta2/scheduledsparkapplications.yaml index 54feba94f..b40796836 100644 --- a/crd-catalog/GoogleCloudPlatform/spark-on-k8s-operator/sparkoperator.k8s.io/v1beta2/scheduledsparkapplications.yaml +++ b/crd-catalog/GoogleCloudPlatform/spark-on-k8s-operator/sparkoperator.k8s.io/v1beta2/scheduledsparkapplications.yaml @@ -1918,6 +1918,43 @@ spec: type: "object" type: "array" type: "object" + driverIngressOptions: + items: + properties: + ingressAnnotations: + additionalProperties: + type: "string" + type: "object" + ingressTLS: + items: + properties: + hosts: + items: + type: "string" + type: "array" + secretName: + type: "string" + type: "object" + type: "array" + ingressURLFormat: + type: "string" + serviceAnnotations: + additionalProperties: + type: "string" + type: "object" + serviceLabels: + additionalProperties: + type: "string" + type: "object" + servicePort: + format: "int32" + type: "integer" + servicePortName: + type: "string" + serviceType: + type: "string" + type: "object" + type: "array" dynamicAllocation: properties: enabled: diff --git a/crd-catalog/GoogleCloudPlatform/spark-on-k8s-operator/sparkoperator.k8s.io/v1beta2/sparkapplications.yaml b/crd-catalog/GoogleCloudPlatform/spark-on-k8s-operator/sparkoperator.k8s.io/v1beta2/sparkapplications.yaml index b5ee293e9..711ea714e 100644 --- a/crd-catalog/GoogleCloudPlatform/spark-on-k8s-operator/sparkoperator.k8s.io/v1beta2/sparkapplications.yaml +++ b/crd-catalog/GoogleCloudPlatform/spark-on-k8s-operator/sparkoperator.k8s.io/v1beta2/sparkapplications.yaml @@ -1904,6 +1904,43 @@ spec: type: "object" type: "array" type: "object" + driverIngressOptions: + items: + properties: + ingressAnnotations: + additionalProperties: + type: "string" + type: "object" + ingressTLS: + items: + properties: + hosts: + items: + type: "string" + type: "array" + secretName: + type: "string" + type: "object" + type: "array" + ingressURLFormat: + type: "string" + serviceAnnotations: + additionalProperties: + type: "string" + type: "object" + serviceLabels: + additionalProperties: + type: "string" + type: "object" + servicePort: + format: "int32" + type: "integer" + servicePortName: + type: "string" + serviceType: + type: "string" + type: "object" + type: "array" dynamicAllocation: properties: enabled: diff --git a/crd-catalog/Kuadrant/limitador-operator/limitador.kuadrant.io/v1alpha1/limitadors.yaml b/crd-catalog/Kuadrant/limitador-operator/limitador.kuadrant.io/v1alpha1/limitadors.yaml index d01ae635d..2a11c3916 100644 --- a/crd-catalog/Kuadrant/limitador-operator/limitador.kuadrant.io/v1alpha1/limitadors.yaml +++ b/crd-catalog/Kuadrant/limitador-operator/limitador.kuadrant.io/v1alpha1/limitadors.yaml @@ -662,6 +662,9 @@ spec: x-kubernetes-map-type: "atomic" options: properties: + batch-size: + description: "BatchSize defines the size of entries to flush in as single flush [default: 100]" + type: "integer" flush-period: description: "FlushPeriod for counters in milliseconds [default: 1000]" type: "integer" diff --git a/crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta5/bitwarden-secrets.yaml b/crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta5/bitwarden-secrets.yaml index cc66c37aa..ebeb4c77c 100644 --- a/crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta5/bitwarden-secrets.yaml +++ b/crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta5/bitwarden-secrets.yaml @@ -12,7 +12,8 @@ spec: singular: "bitwarden-secret" scope: "Namespaced" versions: - - name: "v1beta5" + - deprecated: true + name: "v1beta5" schema: openAPIV3Schema: properties: @@ -50,4 +51,4 @@ spec: type: "object" type: "object" served: true - storage: true + storage: false diff --git a/crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta5/bitwarden-templates.yaml b/crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta5/bitwarden-templates.yaml index 7b776433c..e763e827b 100644 --- a/crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta5/bitwarden-templates.yaml +++ b/crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta5/bitwarden-templates.yaml @@ -12,7 +12,8 @@ spec: singular: "bitwarden-template" scope: "Namespaced" versions: - - name: "v1beta5" + - deprecated: true + name: "v1beta5" schema: openAPIV3Schema: properties: @@ -37,4 +38,4 @@ spec: type: "object" type: "object" served: true - storage: true + storage: false diff --git a/crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta5/registry-credentials.yaml b/crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta5/registry-credentials.yaml index 1aece473c..f3c271b7c 100644 --- a/crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta5/registry-credentials.yaml +++ b/crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta5/registry-credentials.yaml @@ -12,7 +12,8 @@ spec: singular: "registry-credential" scope: "Namespaced" versions: - - name: "v1beta5" + - deprecated: true + name: "v1beta5" schema: openAPIV3Schema: properties: @@ -43,4 +44,4 @@ spec: type: "object" type: "object" served: true - storage: true + storage: false diff --git a/crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta6/bitwarden-secrets.yaml b/crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta6/bitwarden-secrets.yaml new file mode 100644 index 000000000..83ee278c7 --- /dev/null +++ b/crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta6/bitwarden-secrets.yaml @@ -0,0 +1,56 @@ +apiVersion: "apiextensions.k8s.io/v1" +kind: "CustomResourceDefinition" +metadata: + name: "bitwarden-secrets.lerentis.uploadfilter24.eu" +spec: + group: "lerentis.uploadfilter24.eu" + names: + kind: "BitwardenSecret" + plural: "bitwarden-secrets" + shortNames: + - "bws" + singular: "bitwarden-secret" + scope: "Namespaced" + versions: + - name: "v1beta6" + schema: + openAPIV3Schema: + properties: + spec: + properties: + annotations: + type: "object" + x-kubernetes-preserve-unknown-fields: true + content: + items: + properties: + element: + properties: + secretName: + type: "string" + secretRef: + type: "string" + secretScope: + type: "string" + required: + - "secretName" + type: "object" + type: "object" + type: "array" + id: + type: "string" + labels: + type: "object" + x-kubernetes-preserve-unknown-fields: true + name: + type: "string" + namespace: + type: "string" + required: + - "id" + - "namespace" + - "name" + type: "object" + type: "object" + served: true + storage: true diff --git a/crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta6/bitwarden-templates.yaml b/crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta6/bitwarden-templates.yaml new file mode 100644 index 000000000..585413935 --- /dev/null +++ b/crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta6/bitwarden-templates.yaml @@ -0,0 +1,43 @@ +apiVersion: "apiextensions.k8s.io/v1" +kind: "CustomResourceDefinition" +metadata: + name: "bitwarden-templates.lerentis.uploadfilter24.eu" +spec: + group: "lerentis.uploadfilter24.eu" + names: + kind: "BitwardenTemplate" + plural: "bitwarden-templates" + shortNames: + - "bwt" + singular: "bitwarden-template" + scope: "Namespaced" + versions: + - name: "v1beta6" + schema: + openAPIV3Schema: + properties: + spec: + properties: + annotations: + type: "object" + x-kubernetes-preserve-unknown-fields: true + filename: + type: "string" + labels: + type: "object" + x-kubernetes-preserve-unknown-fields: true + name: + type: "string" + namespace: + type: "string" + template: + type: "string" + required: + - "filename" + - "template" + - "namespace" + - "name" + type: "object" + type: "object" + served: true + storage: true diff --git a/crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta6/registry-credentials.yaml b/crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta6/registry-credentials.yaml new file mode 100644 index 000000000..b39d4b670 --- /dev/null +++ b/crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta6/registry-credentials.yaml @@ -0,0 +1,49 @@ +apiVersion: "apiextensions.k8s.io/v1" +kind: "CustomResourceDefinition" +metadata: + name: "registry-credentials.lerentis.uploadfilter24.eu" +spec: + group: "lerentis.uploadfilter24.eu" + names: + kind: "RegistryCredential" + plural: "registry-credentials" + shortNames: + - "rgc" + singular: "registry-credential" + scope: "Namespaced" + versions: + - name: "v1beta6" + schema: + openAPIV3Schema: + properties: + spec: + properties: + annotations: + type: "object" + x-kubernetes-preserve-unknown-fields: true + id: + type: "string" + labels: + type: "object" + x-kubernetes-preserve-unknown-fields: true + name: + type: "string" + namespace: + type: "string" + passwordRef: + type: "string" + registry: + type: "string" + usernameRef: + type: "string" + required: + - "id" + - "namespace" + - "name" + - "usernameRef" + - "passwordRef" + - "registry" + type: "object" + type: "object" + served: true + storage: true diff --git a/crd-catalog/aerospike/aerospike-kubernetes-operator/asdb.aerospike.com/v1/aerospikeclusters.yaml b/crd-catalog/aerospike/aerospike-kubernetes-operator/asdb.aerospike.com/v1/aerospikeclusters.yaml index 76ef3e63f..5c9a3c57f 100644 --- a/crd-catalog/aerospike/aerospike-kubernetes-operator/asdb.aerospike.com/v1/aerospikeclusters.yaml +++ b/crd-catalog/aerospike/aerospike-kubernetes-operator/asdb.aerospike.com/v1/aerospikeclusters.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - aerospike-kubernetes-operator/version: "3.2.2" + aerospike-kubernetes-operator/version: "3.3.0" controller-gen.kubebuilder.io/version: "v0.12.1" name: "aerospikeclusters.asdb.aerospike.com" spec: @@ -5504,6 +5504,9 @@ spec: image: description: "Aerospike server image" type: "string" + isReadinessProbeEnabled: + description: "IsReadinessProbeEnabled tells whether the readiness probe is present in all pods or not. Moreover, PodDisruptionBudget should be created for the Aerospike cluster only when this field is enabled." + type: "boolean" k8sNodeBlockList: description: "K8sNodeBlockList is a list of Kubernetes nodes which are not used for Aerospike pods." items: @@ -8277,14 +8280,14 @@ spec: image: description: "Image is the Aerospike image this pod is running." type: "string" + initImage: + description: "InitImage is the Aerospike init image this pod's init container is running." + type: "string" initializedVolumes: description: "InitializedVolumes is the list of volume names that have already been initialized." items: type: "string" type: "array" - isSecurityEnabled: - description: "IsSecurityEnabled is true if security is enabled in the pod" - type: "boolean" networkPolicyHash: description: "NetworkPolicyHash is ripemd160 hash of NetworkPolicy used by this pod" type: "string" @@ -8304,7 +8307,6 @@ spec: required: - "aerospikeConfigHash" - "image" - - "isSecurityEnabled" - "networkPolicyHash" - "podIP" - "podPort" diff --git a/crd-catalog/aerospike/aerospike-kubernetes-operator/asdb.aerospike.com/v1beta1/aerospikeclusters.yaml b/crd-catalog/aerospike/aerospike-kubernetes-operator/asdb.aerospike.com/v1beta1/aerospikeclusters.yaml index 7dda47bfd..c0010c176 100644 --- a/crd-catalog/aerospike/aerospike-kubernetes-operator/asdb.aerospike.com/v1beta1/aerospikeclusters.yaml +++ b/crd-catalog/aerospike/aerospike-kubernetes-operator/asdb.aerospike.com/v1beta1/aerospikeclusters.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - aerospike-kubernetes-operator/version: "3.2.2" + aerospike-kubernetes-operator/version: "3.3.0" controller-gen.kubebuilder.io/version: "v0.12.1" name: "aerospikeclusters.asdb.aerospike.com" spec: diff --git a/crd-catalog/ansible/awx-operator/awx.ansible.com/v1beta1/awxrestores.yaml b/crd-catalog/ansible/awx-operator/awx.ansible.com/v1beta1/awxrestores.yaml index 5b120ce64..99de7c9f0 100644 --- a/crd-catalog/ansible/awx-operator/awx.ansible.com/v1beta1/awxrestores.yaml +++ b/crd-catalog/ansible/awx-operator/awx.ansible.com/v1beta1/awxrestores.yaml @@ -108,6 +108,10 @@ spec: default: true description: "Maintain some of the recommended `app.kubernetes.io/*` labels on the resource (self)" type: "boolean" + spec_overrides: + description: "Overrides for the AWX spec" + type: "object" + x-kubernetes-preserve-unknown-fields: true required: - "deployment_name" type: "object" diff --git a/crd-catalog/ansible/awx-operator/awx.ansible.com/v1beta1/awxs.yaml b/crd-catalog/ansible/awx-operator/awx.ansible.com/v1beta1/awxs.yaml index d5761b051..0a2764e79 100644 --- a/crd-catalog/ansible/awx-operator/awx.ansible.com/v1beta1/awxs.yaml +++ b/crd-catalog/ansible/awx-operator/awx.ansible.com/v1beta1/awxs.yaml @@ -506,6 +506,28 @@ spec: x-kubernetes-preserve-unknown-fields: true type: "object" type: "array" + extra_settings_files: + description: "Extra ConfigMaps or Secrets of settings files to specify for AWX" + properties: + configmaps: + items: + properties: + key: + type: "string" + name: + type: "string" + type: "object" + type: "array" + secrets: + items: + properties: + key: + type: "string" + name: + type: "string" + type: "object" + type: "array" + type: "object" extra_volumes: description: "Specify extra volumes to add to the application pod" type: "string" diff --git a/crd-catalog/apache/camel-k/camel.apache.org/v1/builds.yaml b/crd-catalog/apache/camel-k/camel.apache.org/v1/builds.yaml index 9df494e03..894e2e9ef 100644 --- a/crd-catalog/apache/camel-k/camel.apache.org/v1/builds.yaml +++ b/crd-catalog/apache/camel-k/camel.apache.org/v1/builds.yaml @@ -1417,6 +1417,9 @@ spec: s2i: description: "a S2iTask, for S2I strategy" properties: + baseImage: + description: "base image layer" + type: "string" configuration: description: "The configuration that should be used to perform the Build." properties: @@ -1470,9 +1473,31 @@ spec: contextDir: description: "can be useful to share info with other tasks" type: "string" + image: + description: "final image name" + type: "string" name: description: "name of the task" type: "string" + registry: + description: "where to publish the final image" + properties: + address: + description: "the URI to access" + type: "string" + ca: + description: "the configmap which stores the Certificate Authority" + type: "string" + insecure: + description: "if the container registry is insecure (ie, http only)" + type: "boolean" + organization: + description: "the registry organization" + type: "string" + secret: + description: "the secret where credentials are stored" + type: "string" + type: "object" tag: description: "used by the ImageStream" type: "string" diff --git a/crd-catalog/apache/camel-k/camel.apache.org/v1/integrationkits.yaml b/crd-catalog/apache/camel-k/camel.apache.org/v1/integrationkits.yaml index 5339b7b4e..6d31d2bd2 100644 --- a/crd-catalog/apache/camel-k/camel.apache.org/v1/integrationkits.yaml +++ b/crd-catalog/apache/camel-k/camel.apache.org/v1/integrationkits.yaml @@ -171,7 +171,7 @@ spec: description: "When using `pod` strategy, annotation to use for the builder pod." type: "object" baseImage: - description: "Specify a base image" + description: "Specify a base image. In order to have the application working properly it must be a container image which has a Java JDK installed and ready to use on path (ie `/usr/bin/java`)." type: "string" configuration: description: "Legacy trait configuration parameters. Deprecated: for backward compatibility." diff --git a/crd-catalog/apache/camel-k/camel.apache.org/v1/integrationplatforms.yaml b/crd-catalog/apache/camel-k/camel.apache.org/v1/integrationplatforms.yaml index 0bb63f455..9eb088281 100644 --- a/crd-catalog/apache/camel-k/camel.apache.org/v1/integrationplatforms.yaml +++ b/crd-catalog/apache/camel-k/camel.apache.org/v1/integrationplatforms.yaml @@ -419,7 +419,7 @@ spec: description: "When using `pod` strategy, annotation to use for the builder pod." type: "object" baseImage: - description: "Specify a base image" + description: "Specify a base image. In order to have the application working properly it must be a container image which has a Java JDK installed and ready to use on path (ie `/usr/bin/java`)." type: "string" configuration: description: "Legacy trait configuration parameters. Deprecated: for backward compatibility." @@ -792,6 +792,9 @@ spec: description: "How often to perform the liveness probe." format: "int32" type: "integer" + livenessProbe: + description: "The liveness probe path to use (default provided by the Catalog runtime used)." + type: "string" livenessProbeEnabled: description: "Configures the liveness probe for the integration container (default `false`)." type: "boolean" @@ -818,6 +821,9 @@ spec: description: "How often to perform the readiness probe." format: "int32" type: "integer" + readinessProbe: + description: "The readiness probe path to use (default provided by the Catalog runtime used)." + type: "string" readinessProbeEnabled: description: "Configures the readiness probe for the integration container (default `true`)." type: "boolean" @@ -844,6 +850,9 @@ spec: description: "How often to perform the startup probe." format: "int32" type: "integer" + startupProbe: + description: "The startup probe path to use (default provided by the Catalog runtime used)." + type: "string" startupProbeEnabled: description: "Configures the startup probe for the integration container (default `false`)." type: "boolean" @@ -978,13 +987,16 @@ spec: enabled: description: "Can be used to enable or disable a trait. All traits share this common property." type: "boolean" + jar: + description: "The Jar dependency which will run the application. Leave it empty for managed Integrations." + type: "string" options: description: "A list of JVM options" items: type: "string" type: "array" printCommand: - description: "Prints the command used the start the JVM in the container logs (default `true`)" + description: "Prints the command used the start the JVM in the container logs (default `true`) Deprecated: no longer in use." type: "boolean" type: "object" kamelets: @@ -1928,7 +1940,7 @@ spec: description: "When using `pod` strategy, annotation to use for the builder pod." type: "object" baseImage: - description: "Specify a base image" + description: "Specify a base image. In order to have the application working properly it must be a container image which has a Java JDK installed and ready to use on path (ie `/usr/bin/java`)." type: "string" configuration: description: "Legacy trait configuration parameters. Deprecated: for backward compatibility." @@ -2301,6 +2313,9 @@ spec: description: "How often to perform the liveness probe." format: "int32" type: "integer" + livenessProbe: + description: "The liveness probe path to use (default provided by the Catalog runtime used)." + type: "string" livenessProbeEnabled: description: "Configures the liveness probe for the integration container (default `false`)." type: "boolean" @@ -2327,6 +2342,9 @@ spec: description: "How often to perform the readiness probe." format: "int32" type: "integer" + readinessProbe: + description: "The readiness probe path to use (default provided by the Catalog runtime used)." + type: "string" readinessProbeEnabled: description: "Configures the readiness probe for the integration container (default `true`)." type: "boolean" @@ -2353,6 +2371,9 @@ spec: description: "How often to perform the startup probe." format: "int32" type: "integer" + startupProbe: + description: "The startup probe path to use (default provided by the Catalog runtime used)." + type: "string" startupProbeEnabled: description: "Configures the startup probe for the integration container (default `false`)." type: "boolean" @@ -2487,13 +2508,16 @@ spec: enabled: description: "Can be used to enable or disable a trait. All traits share this common property." type: "boolean" + jar: + description: "The Jar dependency which will run the application. Leave it empty for managed Integrations." + type: "string" options: description: "A list of JVM options" items: type: "string" type: "array" printCommand: - description: "Prints the command used the start the JVM in the container logs (default `true`)" + description: "Prints the command used the start the JVM in the container logs (default `true`) Deprecated: no longer in use." type: "boolean" type: "object" kamelets: diff --git a/crd-catalog/apache/camel-k/camel.apache.org/v1/integrationprofiles.yaml b/crd-catalog/apache/camel-k/camel.apache.org/v1/integrationprofiles.yaml index b834aab38..a4950458c 100644 --- a/crd-catalog/apache/camel-k/camel.apache.org/v1/integrationprofiles.yaml +++ b/crd-catalog/apache/camel-k/camel.apache.org/v1/integrationprofiles.yaml @@ -320,7 +320,7 @@ spec: description: "When using `pod` strategy, annotation to use for the builder pod." type: "object" baseImage: - description: "Specify a base image" + description: "Specify a base image. In order to have the application working properly it must be a container image which has a Java JDK installed and ready to use on path (ie `/usr/bin/java`)." type: "string" configuration: description: "Legacy trait configuration parameters. Deprecated: for backward compatibility." @@ -693,6 +693,9 @@ spec: description: "How often to perform the liveness probe." format: "int32" type: "integer" + livenessProbe: + description: "The liveness probe path to use (default provided by the Catalog runtime used)." + type: "string" livenessProbeEnabled: description: "Configures the liveness probe for the integration container (default `false`)." type: "boolean" @@ -719,6 +722,9 @@ spec: description: "How often to perform the readiness probe." format: "int32" type: "integer" + readinessProbe: + description: "The readiness probe path to use (default provided by the Catalog runtime used)." + type: "string" readinessProbeEnabled: description: "Configures the readiness probe for the integration container (default `true`)." type: "boolean" @@ -745,6 +751,9 @@ spec: description: "How often to perform the startup probe." format: "int32" type: "integer" + startupProbe: + description: "The startup probe path to use (default provided by the Catalog runtime used)." + type: "string" startupProbeEnabled: description: "Configures the startup probe for the integration container (default `false`)." type: "boolean" @@ -879,13 +888,16 @@ spec: enabled: description: "Can be used to enable or disable a trait. All traits share this common property." type: "boolean" + jar: + description: "The Jar dependency which will run the application. Leave it empty for managed Integrations." + type: "string" options: description: "A list of JVM options" items: type: "string" type: "array" printCommand: - description: "Prints the command used the start the JVM in the container logs (default `true`)" + description: "Prints the command used the start the JVM in the container logs (default `true`) Deprecated: no longer in use." type: "boolean" type: "object" kamelets: @@ -1737,7 +1749,7 @@ spec: description: "When using `pod` strategy, annotation to use for the builder pod." type: "object" baseImage: - description: "Specify a base image" + description: "Specify a base image. In order to have the application working properly it must be a container image which has a Java JDK installed and ready to use on path (ie `/usr/bin/java`)." type: "string" configuration: description: "Legacy trait configuration parameters. Deprecated: for backward compatibility." @@ -2110,6 +2122,9 @@ spec: description: "How often to perform the liveness probe." format: "int32" type: "integer" + livenessProbe: + description: "The liveness probe path to use (default provided by the Catalog runtime used)." + type: "string" livenessProbeEnabled: description: "Configures the liveness probe for the integration container (default `false`)." type: "boolean" @@ -2136,6 +2151,9 @@ spec: description: "How often to perform the readiness probe." format: "int32" type: "integer" + readinessProbe: + description: "The readiness probe path to use (default provided by the Catalog runtime used)." + type: "string" readinessProbeEnabled: description: "Configures the readiness probe for the integration container (default `true`)." type: "boolean" @@ -2162,6 +2180,9 @@ spec: description: "How often to perform the startup probe." format: "int32" type: "integer" + startupProbe: + description: "The startup probe path to use (default provided by the Catalog runtime used)." + type: "string" startupProbeEnabled: description: "Configures the startup probe for the integration container (default `false`)." type: "boolean" @@ -2296,13 +2317,16 @@ spec: enabled: description: "Can be used to enable or disable a trait. All traits share this common property." type: "boolean" + jar: + description: "The Jar dependency which will run the application. Leave it empty for managed Integrations." + type: "string" options: description: "A list of JVM options" items: type: "string" type: "array" printCommand: - description: "Prints the command used the start the JVM in the container logs (default `true`)" + description: "Prints the command used the start the JVM in the container logs (default `true`) Deprecated: no longer in use." type: "boolean" type: "object" kamelets: diff --git a/crd-catalog/apache/camel-k/camel.apache.org/v1/integrations.yaml b/crd-catalog/apache/camel-k/camel.apache.org/v1/integrations.yaml index 18905f2d8..688964b7f 100644 --- a/crd-catalog/apache/camel-k/camel.apache.org/v1/integrations.yaml +++ b/crd-catalog/apache/camel-k/camel.apache.org/v1/integrations.yaml @@ -3810,7 +3810,7 @@ spec: description: "When using `pod` strategy, annotation to use for the builder pod." type: "object" baseImage: - description: "Specify a base image" + description: "Specify a base image. In order to have the application working properly it must be a container image which has a Java JDK installed and ready to use on path (ie `/usr/bin/java`)." type: "string" configuration: description: "Legacy trait configuration parameters. Deprecated: for backward compatibility." @@ -4183,6 +4183,9 @@ spec: description: "How often to perform the liveness probe." format: "int32" type: "integer" + livenessProbe: + description: "The liveness probe path to use (default provided by the Catalog runtime used)." + type: "string" livenessProbeEnabled: description: "Configures the liveness probe for the integration container (default `false`)." type: "boolean" @@ -4209,6 +4212,9 @@ spec: description: "How often to perform the readiness probe." format: "int32" type: "integer" + readinessProbe: + description: "The readiness probe path to use (default provided by the Catalog runtime used)." + type: "string" readinessProbeEnabled: description: "Configures the readiness probe for the integration container (default `true`)." type: "boolean" @@ -4235,6 +4241,9 @@ spec: description: "How often to perform the startup probe." format: "int32" type: "integer" + startupProbe: + description: "The startup probe path to use (default provided by the Catalog runtime used)." + type: "string" startupProbeEnabled: description: "Configures the startup probe for the integration container (default `false`)." type: "boolean" @@ -4369,13 +4378,16 @@ spec: enabled: description: "Can be used to enable or disable a trait. All traits share this common property." type: "boolean" + jar: + description: "The Jar dependency which will run the application. Leave it empty for managed Integrations." + type: "string" options: description: "A list of JVM options" items: type: "string" type: "array" printCommand: - description: "Prints the command used the start the JVM in the container logs (default `true`)" + description: "Prints the command used the start the JVM in the container logs (default `true`) Deprecated: no longer in use." type: "boolean" type: "object" kamelets: diff --git a/crd-catalog/apache/camel-k/camel.apache.org/v1/pipes.yaml b/crd-catalog/apache/camel-k/camel.apache.org/v1/pipes.yaml index b9659d1f0..635ab8a47 100644 --- a/crd-catalog/apache/camel-k/camel.apache.org/v1/pipes.yaml +++ b/crd-catalog/apache/camel-k/camel.apache.org/v1/pipes.yaml @@ -3801,7 +3801,7 @@ spec: description: "When using `pod` strategy, annotation to use for the builder pod." type: "object" baseImage: - description: "Specify a base image" + description: "Specify a base image. In order to have the application working properly it must be a container image which has a Java JDK installed and ready to use on path (ie `/usr/bin/java`)." type: "string" configuration: description: "Legacy trait configuration parameters. Deprecated: for backward compatibility." @@ -4174,6 +4174,9 @@ spec: description: "How often to perform the liveness probe." format: "int32" type: "integer" + livenessProbe: + description: "The liveness probe path to use (default provided by the Catalog runtime used)." + type: "string" livenessProbeEnabled: description: "Configures the liveness probe for the integration container (default `false`)." type: "boolean" @@ -4200,6 +4203,9 @@ spec: description: "How often to perform the readiness probe." format: "int32" type: "integer" + readinessProbe: + description: "The readiness probe path to use (default provided by the Catalog runtime used)." + type: "string" readinessProbeEnabled: description: "Configures the readiness probe for the integration container (default `true`)." type: "boolean" @@ -4226,6 +4232,9 @@ spec: description: "How often to perform the startup probe." format: "int32" type: "integer" + startupProbe: + description: "The startup probe path to use (default provided by the Catalog runtime used)." + type: "string" startupProbeEnabled: description: "Configures the startup probe for the integration container (default `false`)." type: "boolean" @@ -4360,13 +4369,16 @@ spec: enabled: description: "Can be used to enable or disable a trait. All traits share this common property." type: "boolean" + jar: + description: "The Jar dependency which will run the application. Leave it empty for managed Integrations." + type: "string" options: description: "A list of JVM options" items: type: "string" type: "array" printCommand: - description: "Prints the command used the start the JVM in the container logs (default `true`)" + description: "Prints the command used the start the JVM in the container logs (default `true`) Deprecated: no longer in use." type: "boolean" type: "object" kamelets: diff --git a/crd-catalog/apache/camel-k/camel.apache.org/v1alpha1/kameletbindings.yaml b/crd-catalog/apache/camel-k/camel.apache.org/v1alpha1/kameletbindings.yaml index be7aa969e..5c159d675 100644 --- a/crd-catalog/apache/camel-k/camel.apache.org/v1alpha1/kameletbindings.yaml +++ b/crd-catalog/apache/camel-k/camel.apache.org/v1alpha1/kameletbindings.yaml @@ -3803,7 +3803,7 @@ spec: description: "When using `pod` strategy, annotation to use for the builder pod." type: "object" baseImage: - description: "Specify a base image" + description: "Specify a base image. In order to have the application working properly it must be a container image which has a Java JDK installed and ready to use on path (ie `/usr/bin/java`)." type: "string" configuration: description: "Legacy trait configuration parameters. Deprecated: for backward compatibility." @@ -4176,6 +4176,9 @@ spec: description: "How often to perform the liveness probe." format: "int32" type: "integer" + livenessProbe: + description: "The liveness probe path to use (default provided by the Catalog runtime used)." + type: "string" livenessProbeEnabled: description: "Configures the liveness probe for the integration container (default `false`)." type: "boolean" @@ -4202,6 +4205,9 @@ spec: description: "How often to perform the readiness probe." format: "int32" type: "integer" + readinessProbe: + description: "The readiness probe path to use (default provided by the Catalog runtime used)." + type: "string" readinessProbeEnabled: description: "Configures the readiness probe for the integration container (default `true`)." type: "boolean" @@ -4228,6 +4234,9 @@ spec: description: "How often to perform the startup probe." format: "int32" type: "integer" + startupProbe: + description: "The startup probe path to use (default provided by the Catalog runtime used)." + type: "string" startupProbeEnabled: description: "Configures the startup probe for the integration container (default `false`)." type: "boolean" @@ -4362,13 +4371,16 @@ spec: enabled: description: "Can be used to enable or disable a trait. All traits share this common property." type: "boolean" + jar: + description: "The Jar dependency which will run the application. Leave it empty for managed Integrations." + type: "string" options: description: "A list of JVM options" items: type: "string" type: "array" printCommand: - description: "Prints the command used the start the JVM in the container logs (default `true`)" + description: "Prints the command used the start the JVM in the container logs (default `true`) Deprecated: no longer in use." type: "boolean" type: "object" kamelets: diff --git a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusterdefinitions.yaml b/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusterdefinitions.yaml index 555d135e8..1b5e4e751 100644 --- a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusterdefinitions.yaml +++ b/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusterdefinitions.yaml @@ -148,7 +148,7 @@ spec: pattern: "^[a-z0-9]([a-z0-9\\.\\-]*[a-z0-9])?$" type: "string" defaultMode: - description: "Deprecated: DefaultMode is deprecated since 0.9.0 and will be removed in 0.10.0 for scripts, auto set 0555 for configs, auto set 0444 Refers to the mode bits used to set permissions on created files by default. \n Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. \n Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + description: "The operator attempts to set default file permissions for scripts (0555) and configurations (0444). However, certain database engines may require different file permissions. You can specify the desired file permissions here. \n Must be specified as an octal value between 0000 and 0777 (inclusive), or as a decimal value between 0 and 511 (inclusive). YAML supports both octal and decimal values for file permissions. \n Please note that this setting only affects the permissions of the files themselves. Directories within the specified path are not impacted by this setting. It's important to be aware that this setting might conflict with other options that influence the file mode, such as fsGroup. In such cases, the resulting file mode may have additional bits set. Refers to documents of k8s.ConfigMapVolumeSource.defaultMode for more information." format: "int32" type: "integer" injectEnvTo: @@ -5250,7 +5250,7 @@ spec: items: properties: defaultMode: - description: "Deprecated: DefaultMode is deprecated since 0.9.0 and will be removed in 0.10.0 for scripts, auto set 0555 for configs, auto set 0444 Refers to the mode bits used to set permissions on created files by default. \n Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. \n Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + description: "The operator attempts to set default file permissions for scripts (0555) and configurations (0444). However, certain database engines may require different file permissions. You can specify the desired file permissions here. \n Must be specified as an octal value between 0000 and 0777 (inclusive), or as a decimal value between 0 and 511 (inclusive). YAML supports both octal and decimal values for file permissions. \n Please note that this setting only affects the permissions of the files themselves. Directories within the specified path are not impacted by this setting. It's important to be aware that this setting might conflict with other options that influence the file mode, such as fsGroup. In such cases, the resulting file mode may have additional bits set. Refers to documents of k8s.ConfigMapVolumeSource.defaultMode for more information." format: "int32" type: "integer" name: @@ -5331,6 +5331,9 @@ spec: name: description: "Specifies the name of the ServiceRefDeclaration." type: "string" + optional: + description: "Specifies whether the service reference can be optional. \n For an optional service-ref, the component can still be created even if the service-ref is not provided." + type: "boolean" serviceRefDeclarationSpecs: description: "Defines a list of constraints and requirements for services that can be bound to this ServiceRefDeclaration upon Cluster creation. Each ServiceRefDeclarationSpec defines a ServiceKind and ServiceVersion, outlining the acceptable service types and versions that are compatible. \n This flexibility allows a ServiceRefDeclaration to be fulfilled by any one of the provided specs. For example, if it requires an OLTP database, specs for both MySQL and PostgreSQL are listed, either MySQL or PostgreSQL services can be used when binding." items: diff --git a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusterversions.yaml b/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusterversions.yaml index 475798772..bffa106ba 100644 --- a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusterversions.yaml +++ b/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusterversions.yaml @@ -79,7 +79,7 @@ spec: pattern: "^[a-z0-9]([a-z0-9\\.\\-]*[a-z0-9])?$" type: "string" defaultMode: - description: "Deprecated: DefaultMode is deprecated since 0.9.0 and will be removed in 0.10.0 for scripts, auto set 0555 for configs, auto set 0444 Refers to the mode bits used to set permissions on created files by default. \n Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. \n Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + description: "The operator attempts to set default file permissions for scripts (0555) and configurations (0444). However, certain database engines may require different file permissions. You can specify the desired file permissions here. \n Must be specified as an octal value between 0000 and 0777 (inclusive), or as a decimal value between 0 and 511 (inclusive). YAML supports both octal and decimal values for file permissions. \n Please note that this setting only affects the permissions of the files themselves. Directories within the specified path are not impacted by this setting. It's important to be aware that this setting might conflict with other options that influence the file mode, such as fsGroup. In such cases, the resulting file mode may have additional bits set. Refers to documents of k8s.ConfigMapVolumeSource.defaultMode for more information." format: "int32" type: "integer" injectEnvTo: diff --git a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/componentdefinitions.yaml b/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/componentdefinitions.yaml index c740f9ee3..369bc817b 100644 --- a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/componentdefinitions.yaml +++ b/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/componentdefinitions.yaml @@ -71,7 +71,7 @@ spec: pattern: "^[a-z0-9]([a-z0-9\\.\\-]*[a-z0-9])?$" type: "string" defaultMode: - description: "Deprecated: DefaultMode is deprecated since 0.9.0 and will be removed in 0.10.0 for scripts, auto set 0555 for configs, auto set 0444 Refers to the mode bits used to set permissions on created files by default. \n Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. \n Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + description: "The operator attempts to set default file permissions for scripts (0555) and configurations (0444). However, certain database engines may require different file permissions. You can specify the desired file permissions here. \n Must be specified as an octal value between 0000 and 0777 (inclusive), or as a decimal value between 0 and 511 (inclusive). YAML supports both octal and decimal values for file permissions. \n Please note that this setting only affects the permissions of the files themselves. Directories within the specified path are not impacted by this setting. It's important to be aware that this setting might conflict with other options that influence the file mode, such as fsGroup. In such cases, the resulting file mode may have additional bits set. Refers to documents of k8s.ConfigMapVolumeSource.defaultMode for more information." format: "int32" type: "integer" injectEnvTo: @@ -361,7 +361,7 @@ spec: description: "Used in conjunction with the `targetPodSelector` field to refine the selection of target pod(s) for Action execution. The impact of this field depends on the `targetPodSelector` value: \n - When `targetPodSelector` is set to `Any` or `All`, this field will be ignored. - When `targetPodSelector` is set to `Role`, only those replicas whose role matches the `matchingKey` will be selected for the Action. \n This field cannot be updated. \n Note: This field is reserved for future use and is not currently active." type: "string" preCondition: - description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." + description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." type: "string" retryPolicy: description: "Defines the strategy to be taken when retrying the Action after a failure. \n It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. \n This field cannot be updated." @@ -548,7 +548,7 @@ spec: description: "Used in conjunction with the `targetPodSelector` field to refine the selection of target pod(s) for Action execution. The impact of this field depends on the `targetPodSelector` value: \n - When `targetPodSelector` is set to `Any` or `All`, this field will be ignored. - When `targetPodSelector` is set to `Role`, only those replicas whose role matches the `matchingKey` will be selected for the Action. \n This field cannot be updated. \n Note: This field is reserved for future use and is not currently active." type: "string" preCondition: - description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." + description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." type: "string" retryPolicy: description: "Defines the strategy to be taken when retrying the Action after a failure. \n It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. \n This field cannot be updated." @@ -735,7 +735,7 @@ spec: description: "Used in conjunction with the `targetPodSelector` field to refine the selection of target pod(s) for Action execution. The impact of this field depends on the `targetPodSelector` value: \n - When `targetPodSelector` is set to `Any` or `All`, this field will be ignored. - When `targetPodSelector` is set to `Role`, only those replicas whose role matches the `matchingKey` will be selected for the Action. \n This field cannot be updated. \n Note: This field is reserved for future use and is not currently active." type: "string" preCondition: - description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." + description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." type: "string" retryPolicy: description: "Defines the strategy to be taken when retrying the Action after a failure. \n It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. \n This field cannot be updated." @@ -922,7 +922,7 @@ spec: description: "Used in conjunction with the `targetPodSelector` field to refine the selection of target pod(s) for Action execution. The impact of this field depends on the `targetPodSelector` value: \n - When `targetPodSelector` is set to `Any` or `All`, this field will be ignored. - When `targetPodSelector` is set to `Role`, only those replicas whose role matches the `matchingKey` will be selected for the Action. \n This field cannot be updated. \n Note: This field is reserved for future use and is not currently active." type: "string" preCondition: - description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." + description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." type: "string" retryPolicy: description: "Defines the strategy to be taken when retrying the Action after a failure. \n It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. \n This field cannot be updated." @@ -1109,7 +1109,7 @@ spec: description: "Used in conjunction with the `targetPodSelector` field to refine the selection of target pod(s) for Action execution. The impact of this field depends on the `targetPodSelector` value: \n - When `targetPodSelector` is set to `Any` or `All`, this field will be ignored. - When `targetPodSelector` is set to `Role`, only those replicas whose role matches the `matchingKey` will be selected for the Action. \n This field cannot be updated. \n Note: This field is reserved for future use and is not currently active." type: "string" preCondition: - description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." + description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." type: "string" retryPolicy: description: "Defines the strategy to be taken when retrying the Action after a failure. \n It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. \n This field cannot be updated." @@ -1296,7 +1296,7 @@ spec: description: "Used in conjunction with the `targetPodSelector` field to refine the selection of target pod(s) for Action execution. The impact of this field depends on the `targetPodSelector` value: \n - When `targetPodSelector` is set to `Any` or `All`, this field will be ignored. - When `targetPodSelector` is set to `Role`, only those replicas whose role matches the `matchingKey` will be selected for the Action. \n This field cannot be updated. \n Note: This field is reserved for future use and is not currently active." type: "string" preCondition: - description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." + description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." type: "string" retryPolicy: description: "Defines the strategy to be taken when retrying the Action after a failure. \n It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. \n This field cannot be updated." @@ -1483,7 +1483,7 @@ spec: description: "Used in conjunction with the `targetPodSelector` field to refine the selection of target pod(s) for Action execution. The impact of this field depends on the `targetPodSelector` value: \n - When `targetPodSelector` is set to `Any` or `All`, this field will be ignored. - When `targetPodSelector` is set to `Role`, only those replicas whose role matches the `matchingKey` will be selected for the Action. \n This field cannot be updated. \n Note: This field is reserved for future use and is not currently active." type: "string" preCondition: - description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." + description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." type: "string" retryPolicy: description: "Defines the strategy to be taken when retrying the Action after a failure. \n It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. \n This field cannot be updated." @@ -1670,7 +1670,7 @@ spec: description: "Used in conjunction with the `targetPodSelector` field to refine the selection of target pod(s) for Action execution. The impact of this field depends on the `targetPodSelector` value: \n - When `targetPodSelector` is set to `Any` or `All`, this field will be ignored. - When `targetPodSelector` is set to `Role`, only those replicas whose role matches the `matchingKey` will be selected for the Action. \n This field cannot be updated. \n Note: This field is reserved for future use and is not currently active." type: "string" preCondition: - description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." + description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." type: "string" retryPolicy: description: "Defines the strategy to be taken when retrying the Action after a failure. \n It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. \n This field cannot be updated." @@ -1857,7 +1857,7 @@ spec: description: "Used in conjunction with the `targetPodSelector` field to refine the selection of target pod(s) for Action execution. The impact of this field depends on the `targetPodSelector` value: \n - When `targetPodSelector` is set to `Any` or `All`, this field will be ignored. - When `targetPodSelector` is set to `Role`, only those replicas whose role matches the `matchingKey` will be selected for the Action. \n This field cannot be updated. \n Note: This field is reserved for future use and is not currently active." type: "string" preCondition: - description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." + description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." type: "string" retryPolicy: description: "Defines the strategy to be taken when retrying the Action after a failure. \n It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. \n This field cannot be updated." @@ -2044,7 +2044,7 @@ spec: description: "Used in conjunction with the `targetPodSelector` field to refine the selection of target pod(s) for Action execution. The impact of this field depends on the `targetPodSelector` value: \n - When `targetPodSelector` is set to `Any` or `All`, this field will be ignored. - When `targetPodSelector` is set to `Role`, only those replicas whose role matches the `matchingKey` will be selected for the Action. \n This field cannot be updated. \n Note: This field is reserved for future use and is not currently active." type: "string" preCondition: - description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." + description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." type: "string" retryPolicy: description: "Defines the strategy to be taken when retrying the Action after a failure. \n It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. \n This field cannot be updated." @@ -2231,7 +2231,7 @@ spec: description: "Used in conjunction with the `targetPodSelector` field to refine the selection of target pod(s) for Action execution. The impact of this field depends on the `targetPodSelector` value: \n - When `targetPodSelector` is set to `Any` or `All`, this field will be ignored. - When `targetPodSelector` is set to `Role`, only those replicas whose role matches the `matchingKey` will be selected for the Action. \n This field cannot be updated. \n Note: This field is reserved for future use and is not currently active." type: "string" preCondition: - description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." + description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." type: "string" retryPolicy: description: "Defines the strategy to be taken when retrying the Action after a failure. \n It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. \n This field cannot be updated." @@ -2440,7 +2440,7 @@ spec: description: "Used in conjunction with the `targetPodSelector` field to refine the selection of target pod(s) for Action execution. The impact of this field depends on the `targetPodSelector` value: \n - When `targetPodSelector` is set to `Any` or `All`, this field will be ignored. - When `targetPodSelector` is set to `Role`, only those replicas whose role matches the `matchingKey` will be selected for the Action. \n This field cannot be updated. \n Note: This field is reserved for future use and is not currently active." type: "string" preCondition: - description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." + description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." type: "string" retryPolicy: description: "Defines the strategy to be taken when retrying the Action after a failure. \n It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. \n This field cannot be updated." @@ -2620,7 +2620,7 @@ spec: description: "Used in conjunction with the `targetPodSelector` field to refine the selection of target pod(s) for Action execution. The impact of this field depends on the `targetPodSelector` value: \n - When `targetPodSelector` is set to `Any` or `All`, this field will be ignored. - When `targetPodSelector` is set to `Role`, only those replicas whose role matches the `matchingKey` will be selected for the Action. \n This field cannot be updated. \n Note: This field is reserved for future use and is not currently active." type: "string" preCondition: - description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." + description: "Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. \n The conditions are as follows: \n - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. \n This field cannot be updated." type: "string" retryPolicy: description: "Defines the strategy to be taken when retrying the Action after a failure. \n It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. \n This field cannot be updated." @@ -7084,7 +7084,7 @@ spec: items: properties: defaultMode: - description: "Deprecated: DefaultMode is deprecated since 0.9.0 and will be removed in 0.10.0 for scripts, auto set 0555 for configs, auto set 0444 Refers to the mode bits used to set permissions on created files by default. \n Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. \n Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + description: "The operator attempts to set default file permissions for scripts (0555) and configurations (0444). However, certain database engines may require different file permissions. You can specify the desired file permissions here. \n Must be specified as an octal value between 0000 and 0777 (inclusive), or as a decimal value between 0 and 511 (inclusive). YAML supports both octal and decimal values for file permissions. \n Please note that this setting only affects the permissions of the files themselves. Directories within the specified path are not impacted by this setting. It's important to be aware that this setting might conflict with other options that influence the file mode, such as fsGroup. In such cases, the resulting file mode may have additional bits set. Refers to documents of k8s.ConfigMapVolumeSource.defaultMode for more information." format: "int32" type: "integer" name: @@ -7128,6 +7128,9 @@ spec: name: description: "Specifies the name of the ServiceRefDeclaration." type: "string" + optional: + description: "Specifies whether the service reference can be optional. \n For an optional service-ref, the component can still be created even if the service-ref is not provided." + type: "boolean" serviceRefDeclarationSpecs: description: "Defines a list of constraints and requirements for services that can be bound to this ServiceRefDeclaration upon Cluster creation. Each ServiceRefDeclarationSpec defines a ServiceKind and ServiceVersion, outlining the acceptable service types and versions that are compatible. \n This flexibility allows a ServiceRefDeclaration to be fulfilled by any one of the provided specs. For example, if it requires an OLTP database, specs for both MySQL and PostgreSQL are listed, either MySQL or PostgreSQL services can be used when binding." items: @@ -7384,6 +7387,9 @@ spec: items: description: "EnvVar represents a variable present in the env of Pod/Action or the template of config/script." properties: + expression: + description: "A Go template expression that will be applied to the resolved value of the var. \n The expression will only be evaluated if the var is successfully resolved to a non-credential value. \n The resolved value can be accessed by its name within the expression, system vars and other user-defined non-credential vars can be used within the expression in the same way. Notice that, when accessing vars by its name, you should replace all the \"-\" in the name with \"_\", because of that \"-\" is not a valid identifier in Go. \n All expressions are evaluated in the order the vars are defined. If a var depends on any vars that also have expressions defined, be careful about the evaluation order as it may use intermediate values. \n The result of evaluation will be used as the final value of the var. If the expression fails to evaluate, the resolving of var will also be considered failed." + type: "string" name: description: "Name of the variable. Must be a C_IDENTIFIER." type: "string" @@ -7406,7 +7412,7 @@ spec: - "Optional" type: "string" instanceNames: - description: "Reference to the instanceName list of the component. and the value will be presented in the following format: instanceName1,instanceName2..." + description: "Reference to the instanceName list of the component. and the value will be presented in the following format: instanceName1,instanceName2,..." enum: - "Required" - "Optional" @@ -7455,6 +7461,12 @@ spec: optional: description: "Specify whether the object must be defined." type: "boolean" + podFQDNs: + description: "Reference to the pod FQDN list of the component. The value will be presented in the following format: FQDN1,FQDN2,..." + enum: + - "Required" + - "Optional" + type: "string" replicas: description: "Reference to the replicas of the component." enum: @@ -7641,6 +7653,12 @@ spec: - "Required" - "Optional" type: "string" + host: + description: "VarOption defines whether a variable is required or optional." + enum: + - "Required" + - "Optional" + type: "string" multipleClusterObjectOption: description: "This option defines the behavior when multiple component objects match the specified @CompDef. If not provided, an error will be raised when handling multiple matches." properties: diff --git a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/configconstraints.yaml b/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/configconstraints.yaml index f8b358338..a1f1673da 100644 --- a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/configconstraints.yaml +++ b/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/configconstraints.yaml @@ -188,7 +188,7 @@ spec: type: "array" x-kubernetes-list-type: "set" reloadOptions: - description: "Specifies the dynamic reload action supported by the engine. When set, the controller executes the method defined here to execute hot parameter updates. \n Dynamic reloading is triggered only if both of the following conditions are met: \n 1. The modified parameters are listed in the `dynamicParameters` field. If `dynamicParameterSelectedPolicy` is set to \"all\", modifications to `staticParameters` can also trigger a reload. 2. `reloadOptions` is set. \n If `reloadOptions` is not set or the modified parameters are not listed in `dynamicParameters`, dynamic reloading will not be triggered. \n Example: ```yaml reloadOptions: tplScriptTrigger: namespace: kb-system scriptConfigMapRef: mysql-reload-script sync: true ```" + description: "Specifies the dynamic reload action supported by the engine. When set, the controller executes the method defined here to execute hot parameter updates. \n Dynamic reloading is triggered only if both of the following conditions are met: \n 1. The modified parameters are listed in the `dynamicParameters` field. If `reloadStaticParamsBeforeRestart` is set to true, modifications to `staticParameters` can also trigger a reload. 2. `reloadOptions` is set. \n If `reloadOptions` is not set or the modified parameters are not listed in `dynamicParameters`, dynamic reloading will not be triggered. \n Example: ```yaml reloadOptions: tplScriptTrigger: namespace: kb-system scriptConfigMapRef: mysql-reload-script sync: true ```" properties: autoTrigger: description: "Automatically perform the reload when specified conditions are met." @@ -330,7 +330,7 @@ spec: type: "object" type: "object" reloadStaticParamsBeforeRestart: - description: "Configures whether the dynamic reload specified in `reloadOptions` applies only to dynamic parameters or to all parameters (including static parameters). \n - false (default): Only modifications to the dynamic parameters listed in `dynamicParameters` will trigger a dynamic reload. - true: Modifications to both dynamic parameters listed in `dynamicParameters` and static parameters listed in `staticParameters` will trigger a dynamic reload. The \"all\" option is for certain engines that require static parameters to be set via SQL statements before they can take effect on restart." + description: "Configures whether the dynamic reload specified in `reloadOptions` applies only to dynamic parameters or to all parameters (including static parameters). \n - false (default): Only modifications to the dynamic parameters listed in `dynamicParameters` will trigger a dynamic reload. - true: Modifications to both dynamic parameters listed in `dynamicParameters` and static parameters listed in `staticParameters` will trigger a dynamic reload. The \"true\" option is for certain engines that require static parameters to be set via SQL statements before they can take effect on restart." type: "boolean" scriptConfigs: description: "A list of ScriptConfig Object. \n Each ScriptConfig object specifies a ConfigMap that contains script files that should be mounted inside the pod. The scripts are mounted as volumes and can be referenced and executed by the dynamic reload and DownwardAction to perform specific tasks or configurations." diff --git a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/configurations.yaml b/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/configurations.yaml index 0a75e33fc..c392cba38 100644 --- a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/configurations.yaml +++ b/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/configurations.yaml @@ -77,7 +77,7 @@ spec: pattern: "^[a-z0-9]([a-z0-9\\.\\-]*[a-z0-9])?$" type: "string" defaultMode: - description: "Deprecated: DefaultMode is deprecated since 0.9.0 and will be removed in 0.10.0 for scripts, auto set 0555 for configs, auto set 0444 Refers to the mode bits used to set permissions on created files by default. \n Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. \n Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + description: "The operator attempts to set default file permissions for scripts (0555) and configurations (0444). However, certain database engines may require different file permissions. You can specify the desired file permissions here. \n Must be specified as an octal value between 0000 and 0777 (inclusive), or as a decimal value between 0 and 511 (inclusive). YAML supports both octal and decimal values for file permissions. \n Please note that this setting only affects the permissions of the files themselves. Directories within the specified path are not impacted by this setting. It's important to be aware that this setting might conflict with other options that influence the file mode, such as fsGroup. In such cases, the resulting file mode may have additional bits set. Refers to documents of k8s.ConfigMapVolumeSource.defaultMode for more information." format: "int32" type: "integer" injectEnvTo: diff --git a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/servicedescriptors.yaml b/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/servicedescriptors.yaml index 447128902..5c532148c 100644 --- a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/servicedescriptors.yaml +++ b/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/servicedescriptors.yaml @@ -209,7 +209,83 @@ spec: type: "object" type: "object" endpoint: - description: "Specifies the URL or IP address of the external service." + description: "Specifies the endpoint of the external service. \n If the service is exposed via a cluster, the endpoint will be provided in the format of `host:port`." + properties: + value: + description: "Holds a direct string or an expression that can be evaluated to a string. \n It can include variables denoted by $(VAR_NAME). These variables are expanded to the value of the environment variables defined in the container. If a variable cannot be resolved, it remains unchanged in the output. \n To escape variable expansion and retain the literal value, use double $ characters. \n For example: \n - \"$(VAR_NAME)\" will be expanded to the value of the environment variable VAR_NAME. - \"$$(VAR_NAME)\" will result in \"$(VAR_NAME)\" in the output, without any variable expansion. \n Default value is an empty string." + type: "string" + valueFrom: + description: "Specifies the source for the variable's value." + properties: + configMapKeyRef: + description: "Selects a key of a ConfigMap." + properties: + key: + description: "The key to select." + type: "string" + name: + description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + type: "string" + optional: + description: "Specify whether the ConfigMap or its key must be defined" + type: "boolean" + required: + - "key" + type: "object" + x-kubernetes-map-type: "atomic" + fieldRef: + description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." + properties: + apiVersion: + description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." + type: "string" + fieldPath: + description: "Path of the field to select in the specified API version." + type: "string" + required: + - "fieldPath" + type: "object" + x-kubernetes-map-type: "atomic" + resourceFieldRef: + description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." + properties: + containerName: + description: "Container name: required for volumes, optional for env vars" + type: "string" + divisor: + anyOf: + - type: "integer" + - type: "string" + description: "Specifies the output format of the exposed resources, defaults to \"1\"" + pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" + x-kubernetes-int-or-string: true + resource: + description: "Required: resource to select" + type: "string" + required: + - "resource" + type: "object" + x-kubernetes-map-type: "atomic" + secretKeyRef: + description: "Selects a key of a secret in the pod's namespace" + properties: + key: + description: "The key of the secret to select from. Must be a valid secret key." + type: "string" + name: + description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + type: "string" + optional: + description: "Specify whether the Secret or its key must be defined" + type: "boolean" + required: + - "key" + type: "object" + x-kubernetes-map-type: "atomic" + type: "object" + type: "object" + host: + description: "Specifies the service or IP address of the external service." properties: value: description: "Holds a direct string or an expression that can be evaluated to a string. \n It can include variables denoted by $(VAR_NAME). These variables are expanded to the value of the environment variables defined in the container. If a variable cannot be resolved, it remains unchanged in the output. \n To escape variable expansion and retain the literal value, use double $ characters. \n For example: \n - \"$(VAR_NAME)\" will be expanded to the value of the environment variable VAR_NAME. - \"$$(VAR_NAME)\" will result in \"$(VAR_NAME)\" in the output, without any variable expansion. \n Default value is an empty string." diff --git a/crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1alpha1/applications.yaml b/crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1alpha1/applications.yaml index 552bef5b2..c5a4d24f4 100644 --- a/crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1alpha1/applications.yaml +++ b/crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1alpha1/applications.yaml @@ -282,6 +282,9 @@ spec: description: "KustomizeImage represents a Kustomize image definition in the format [old_image_name=]:" type: "string" type: "array" + labelWithoutSelector: + description: "LabelWithoutSelector specifies whether to apply common labels to resource selectors or not" + type: "boolean" namePrefix: description: "NamePrefix is a prefix appended to resources for Kustomize apps" type: "string" @@ -557,6 +560,9 @@ spec: description: "KustomizeImage represents a Kustomize image definition in the format [old_image_name=]:" type: "string" type: "array" + labelWithoutSelector: + description: "LabelWithoutSelector specifies whether to apply common labels to resource selectors or not" + type: "boolean" namePrefix: description: "NamePrefix is a prefix appended to resources for Kustomize apps" type: "string" @@ -922,6 +928,9 @@ spec: description: "KustomizeImage represents a Kustomize image definition in the format [old_image_name=]:" type: "string" type: "array" + labelWithoutSelector: + description: "LabelWithoutSelector specifies whether to apply common labels to resource selectors or not" + type: "boolean" namePrefix: description: "NamePrefix is a prefix appended to resources for Kustomize apps" type: "string" @@ -1197,6 +1206,9 @@ spec: description: "KustomizeImage represents a Kustomize image definition in the format [old_image_name=]:" type: "string" type: "array" + labelWithoutSelector: + description: "LabelWithoutSelector specifies whether to apply common labels to resource selectors or not" + type: "boolean" namePrefix: description: "NamePrefix is a prefix appended to resources for Kustomize apps" type: "string" @@ -1431,6 +1443,16 @@ spec: description: "ID is an auto incrementing identifier of the RevisionHistory" format: "int64" type: "integer" + initiatedBy: + description: "InitiatedBy contains information about who initiated the operations" + properties: + automated: + description: "Automated is set to true if operation was initiated automatically by the application controller." + type: "boolean" + username: + description: "Username contains the name of a user who started operation" + type: "string" + type: "object" revision: description: "Revision holds the revision the sync was performed against" type: "string" @@ -1592,6 +1614,9 @@ spec: description: "KustomizeImage represents a Kustomize image definition in the format [old_image_name=]:" type: "string" type: "array" + labelWithoutSelector: + description: "LabelWithoutSelector specifies whether to apply common labels to resource selectors or not" + type: "boolean" namePrefix: description: "NamePrefix is a prefix appended to resources for Kustomize apps" type: "string" @@ -1867,6 +1892,9 @@ spec: description: "KustomizeImage represents a Kustomize image definition in the format [old_image_name=]:" type: "string" type: "array" + labelWithoutSelector: + description: "LabelWithoutSelector specifies whether to apply common labels to resource selectors or not" + type: "boolean" namePrefix: description: "NamePrefix is a prefix appended to resources for Kustomize apps" type: "string" @@ -2248,6 +2276,9 @@ spec: description: "KustomizeImage represents a Kustomize image definition in the format [old_image_name=]:" type: "string" type: "array" + labelWithoutSelector: + description: "LabelWithoutSelector specifies whether to apply common labels to resource selectors or not" + type: "boolean" namePrefix: description: "NamePrefix is a prefix appended to resources for Kustomize apps" type: "string" @@ -2523,6 +2554,9 @@ spec: description: "KustomizeImage represents a Kustomize image definition in the format [old_image_name=]:" type: "string" type: "array" + labelWithoutSelector: + description: "LabelWithoutSelector specifies whether to apply common labels to resource selectors or not" + type: "boolean" namePrefix: description: "NamePrefix is a prefix appended to resources for Kustomize apps" type: "string" @@ -2899,6 +2933,9 @@ spec: description: "KustomizeImage represents a Kustomize image definition in the format [old_image_name=]:" type: "string" type: "array" + labelWithoutSelector: + description: "LabelWithoutSelector specifies whether to apply common labels to resource selectors or not" + type: "boolean" namePrefix: description: "NamePrefix is a prefix appended to resources for Kustomize apps" type: "string" @@ -3174,6 +3211,9 @@ spec: description: "KustomizeImage represents a Kustomize image definition in the format [old_image_name=]:" type: "string" type: "array" + labelWithoutSelector: + description: "LabelWithoutSelector specifies whether to apply common labels to resource selectors or not" + type: "boolean" namePrefix: description: "NamePrefix is a prefix appended to resources for Kustomize apps" type: "string" @@ -3572,6 +3612,9 @@ spec: description: "KustomizeImage represents a Kustomize image definition in the format [old_image_name=]:" type: "string" type: "array" + labelWithoutSelector: + description: "LabelWithoutSelector specifies whether to apply common labels to resource selectors or not" + type: "boolean" namePrefix: description: "NamePrefix is a prefix appended to resources for Kustomize apps" type: "string" @@ -3847,6 +3890,9 @@ spec: description: "KustomizeImage represents a Kustomize image definition in the format [old_image_name=]:" type: "string" type: "array" + labelWithoutSelector: + description: "LabelWithoutSelector specifies whether to apply common labels to resource selectors or not" + type: "boolean" namePrefix: description: "NamePrefix is a prefix appended to resources for Kustomize apps" type: "string" diff --git a/crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1alpha1/applicationsets.yaml b/crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1alpha1/applicationsets.yaml index b94c4a66d..e07d1e00c 100644 --- a/crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1alpha1/applicationsets.yaml +++ b/crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1alpha1/applicationsets.yaml @@ -256,6 +256,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -470,6 +472,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -843,6 +847,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -1057,6 +1063,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -1434,6 +1442,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -1648,6 +1658,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -2005,6 +2017,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -2219,6 +2233,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -2598,6 +2614,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -2812,6 +2830,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -3185,6 +3205,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -3399,6 +3421,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -3776,6 +3800,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -3990,6 +4016,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -4347,6 +4375,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -4561,6 +4591,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -4926,6 +4958,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -5140,6 +5174,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -5687,6 +5723,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -5901,6 +5939,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -6443,6 +6483,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -6657,6 +6699,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -7028,6 +7072,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -7242,6 +7288,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -7623,6 +7671,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -7837,6 +7887,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -8210,6 +8262,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -8424,6 +8478,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -8801,6 +8857,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -9015,6 +9073,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -9372,6 +9432,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -9586,6 +9648,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -9951,6 +10015,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -10165,6 +10231,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -10712,6 +10780,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -10926,6 +10996,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -11468,6 +11540,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -11682,6 +11756,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -12057,6 +12133,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -12271,6 +12349,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -12635,6 +12715,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -12849,6 +12931,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -13396,6 +13480,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -13610,6 +13696,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -14152,6 +14240,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -14366,6 +14456,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -14812,6 +14904,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: @@ -15026,6 +15120,8 @@ spec: items: type: "string" type: "array" + labelWithoutSelector: + type: "boolean" namePrefix: type: "string" nameSuffix: diff --git a/crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1alpha1/argocds.yaml b/crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1alpha1/argocds.yaml index 8f26ad975..c6a22f3ab 100644 --- a/crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1alpha1/argocds.yaml +++ b/crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1alpha1/argocds.yaml @@ -450,6 +450,9 @@ spec: type: "integer" type: "object" type: "object" + defaultClusterScopedRoleDisabled: + description: "DefaultClusterScopedRoleDisabled will disable creation of default ClusterRoles for a cluster scoped instance." + type: "boolean" dex: description: "Deprecated field. Support dropped in v1beta1 version. Dex defines the Dex server options for ArgoCD." properties: @@ -771,6 +774,9 @@ spec: monitoring: description: "Monitoring defines whether workload status monitoring configuration for this instance." properties: + disableMetrics: + description: "DisableMetrics field can be used to enable or disable the collection of Metrics on Openshift" + type: "boolean" enabled: description: "Enabled defines whether workload status monitoring is enabled for this instance or not" type: "boolean" @@ -4350,6 +4356,9 @@ spec: keycloak: description: "Keycloak contains the configuration for Argo CD keycloak authentication" properties: + host: + description: "Host is the hostname to use for Ingress/Route resources." + type: "string" image: description: "Image is the Keycloak container image." type: "string" diff --git a/crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1beta1/argocds.yaml b/crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1beta1/argocds.yaml index 28dff2ccb..73dd0add0 100644 --- a/crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1beta1/argocds.yaml +++ b/crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1beta1/argocds.yaml @@ -467,6 +467,9 @@ spec: type: "integer" type: "object" type: "object" + defaultClusterScopedRoleDisabled: + description: "DefaultClusterScopedRoleDisabled will disable creation of default ClusterRoles for a cluster scoped instance." + type: "boolean" disableAdmin: description: "DisableAdmin will disable the admin user." type: "boolean" @@ -730,6 +733,9 @@ spec: monitoring: description: "Monitoring defines whether workload status monitoring configuration for this instance." properties: + disableMetrics: + description: "DisableMetrics field can be used to enable or disable the collection of Metrics on Openshift" + type: "boolean" enabled: description: "Enabled defines whether workload status monitoring is enabled for this instance or not" type: "boolean" @@ -4398,6 +4404,9 @@ spec: keycloak: description: "Keycloak contains the configuration for Argo CD keycloak authentication" properties: + host: + description: "Host is the hostname to use for Ingress/Route resources." + type: "string" image: description: "Image is the Keycloak container image." type: "string" diff --git a/crd-catalog/aws-controllers-k8s/cloudwatchlogs-controller/cloudwatchlogs.services.k8s.aws/v1alpha1/loggroups.yaml b/crd-catalog/aws-controllers-k8s/cloudwatchlogs-controller/cloudwatchlogs.services.k8s.aws/v1alpha1/loggroups.yaml index 5cb7b4118..366e0f740 100644 --- a/crd-catalog/aws-controllers-k8s/cloudwatchlogs-controller/cloudwatchlogs.services.k8s.aws/v1alpha1/loggroups.yaml +++ b/crd-catalog/aws-controllers-k8s/cloudwatchlogs-controller/cloudwatchlogs.services.k8s.aws/v1alpha1/loggroups.yaml @@ -47,6 +47,23 @@ spec: retentionDays: format: "int64" type: "integer" + subscriptionFilters: + items: + properties: + destinationARN: + type: "string" + distribution: + description: "The method used to distribute log data to the destination, which can be either\nrandom or grouped by log stream." + type: "string" + filterName: + type: "string" + filterPattern: + description: "A symbolic description of how CloudWatch Logs should interpret the data in\neach log event. For example, a log event can contain timestamps, IP addresses,\nstrings, and so on. You use the filter pattern to specify what to look for\nin the log event message." + type: "string" + roleARN: + type: "string" + type: "object" + type: "array" tags: additionalProperties: type: "string" diff --git a/crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/clusters.yaml b/crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/clusters.yaml index 964e682c8..20302a593 100644 --- a/crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/clusters.yaml +++ b/crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/clusters.yaml @@ -136,6 +136,10 @@ spec: required: - "host" type: "object" + kubeletConfiguration: + description: "KubeletConfiguration is a struct that exposes the Kubelet settings for the user to set on control plane nodes." + type: "object" + x-kubernetes-preserve-unknown-fields: true labels: additionalProperties: type: "string" @@ -449,8 +453,12 @@ spec: count: description: "Count defines the number of desired worker nodes. Defaults to 1." type: "integer" + kubeletConfiguration: + description: "KubeletConfiguration is a struct that exposes the Kubelet settings for the user to set on worker nodes." + type: "object" + x-kubernetes-preserve-unknown-fields: true kubernetesVersion: - description: "KuberenetesVersion defines the version for worker nodes. If not set, the top level spec kubernetesVersion will be used." + description: "KubernetesVersion defines the version for worker nodes. If not set, the top level spec kubernetesVersion will be used." type: "string" labels: additionalProperties: diff --git a/crd-catalog/aws/karpenter-provider-aws/karpenter.k8s.aws/v1beta1/ec2nodeclasses.yaml b/crd-catalog/aws/karpenter-provider-aws/karpenter.k8s.aws/v1beta1/ec2nodeclasses.yaml index 662d644cd..fc701a9ea 100644 --- a/crd-catalog/aws/karpenter-provider-aws/karpenter.k8s.aws/v1beta1/ec2nodeclasses.yaml +++ b/crd-catalog/aws/karpenter-provider-aws/karpenter.k8s.aws/v1beta1/ec2nodeclasses.yaml @@ -408,6 +408,9 @@ spec: zone: description: "The associated availability zone" type: "string" + zoneID: + description: "The associated availability zone ID" + type: "string" required: - "id" - "zone" diff --git a/crd-catalog/aws/karpenter-provider-aws/karpenter.sh/v1beta1/nodeclaims.yaml b/crd-catalog/aws/karpenter-provider-aws/karpenter.sh/v1beta1/nodeclaims.yaml index ab9bc96a1..ef6bb1d33 100644 --- a/crd-catalog/aws/karpenter-provider-aws/karpenter.sh/v1beta1/nodeclaims.yaml +++ b/crd-catalog/aws/karpenter-provider-aws/karpenter.sh/v1beta1/nodeclaims.yaml @@ -343,7 +343,7 @@ spec: reason: description: "reason contains a programmatic identifier indicating the reason for the condition's last transition.\nProducers of specific condition types may define expected values and meanings for this field,\nand whether the values are considered a guaranteed API.\nThe value should be a CamelCase string.\nThis field may not be empty." maxLength: 1024 - pattern: "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$" + pattern: "(^([A-Za-z][A-Za-z0-9_,:]*[A-Za-z0-9_])?$)" type: "string" status: description: "status of the condition, one of True, False, Unknown." diff --git a/crd-catalog/bitnami-labs/sealed-secrets/bitnami.com/v1alpha1/sealedsecrets.yaml b/crd-catalog/bitnami-labs/sealed-secrets/bitnami.com/v1alpha1/sealedsecrets.yaml index 56d1be3ba..02131a595 100644 --- a/crd-catalog/bitnami-labs/sealed-secrets/bitnami.com/v1alpha1/sealedsecrets.yaml +++ b/crd-catalog/bitnami-labs/sealed-secrets/bitnami.com/v1alpha1/sealedsecrets.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.12.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "sealedsecrets.bitnami.com" spec: group: "bitnami.com" @@ -26,18 +26,18 @@ spec: name: "v1alpha1" schema: openAPIV3Schema: - description: "SealedSecret is the K8s representation of a \"sealed Secret\" - a regular k8s Secret that has been sealed (encrypted) using the controller's key." + description: "SealedSecret is the K8s representation of a \"sealed Secret\" - a\nregular k8s Secret that has been sealed (encrypted) using the\ncontroller's key." properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" spec: - description: "SealedSecretSpec is the specification of a SealedSecret" + description: "SealedSecretSpec is the specification of a SealedSecret." properties: data: description: "Data is deprecated and will be removed eventually. Use per-value EncryptedData instead." @@ -49,19 +49,19 @@ spec: type: "object" x-kubernetes-preserve-unknown-fields: true template: - description: "Template defines the structure of the Secret that will be created from this sealed secret." + description: "Template defines the structure of the Secret that will be\ncreated from this sealed secret." properties: data: additionalProperties: type: "string" - description: "Keys that should be templated using decrypted data" + description: "Keys that should be templated using decrypted data." nullable: true type: "object" immutable: - description: "Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil." + description: "Immutable, if set to true, ensures that data stored in the Secret cannot\nbe updated (only object metadata can be modified).\nIf not set to true, the field can be modified at any time.\nDefaulted to nil." type: "boolean" metadata: - description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" + description: "Standard object's metadata.\nMore info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" nullable: true properties: annotations: @@ -112,10 +112,10 @@ spec: description: "The reason for the condition's last transition." type: "string" status: - description: "Status of the condition for a sealed secret. Valid values for \"Synced\": \"True\", \"False\", or \"Unknown\"." + description: "Status of the condition for a sealed secret.\nValid values for \"Synced\": \"True\", \"False\", or \"Unknown\"." type: "string" type: - description: "Type of condition for a sealed secret. Valid value: \"Synced\"" + description: "Type of condition for a sealed secret.\nValid value: \"Synced\"" type: "string" required: - "status" diff --git a/crd-catalog/cert-manager/cert-manager/acme.cert-manager.io/v1/challenges.yaml b/crd-catalog/cert-manager/cert-manager/acme.cert-manager.io/v1/challenges.yaml index 9bcddb1de..162dcc2b0 100644 --- a/crd-catalog/cert-manager/cert-manager/acme.cert-manager.io/v1/challenges.yaml +++ b/crd-catalog/cert-manager/cert-manager/acme.cert-manager.io/v1/challenges.yaml @@ -404,7 +404,7 @@ spec: parentRefs: description: "When solving an HTTP-01 challenge, cert-manager creates an HTTPRoute.\ncert-manager needs to know which parentRefs should be used when creating\nthe HTTPRoute. Usually, the parentRef references a Gateway. See:\nhttps://gateway-api.sigs.k8s.io/api-types/httproute/#attaching-to-gateways" items: - description: "ParentReference identifies an API object (usually a Gateway) that can be considered\na parent of this resource (usually a route). There are two kinds of parent resources\nwith \"Core\" support:\n\n\n* Gateway (Gateway conformance profile)\n* Service (Mesh conformance profile, experimental, ClusterIP Services only)\n\n\nThis API may be extended in the future to support additional kinds of parent\nresources.\n\n\nThe API object must be valid in the cluster; the Group and Kind must\nbe registered in the cluster for this reference to be valid." + description: "ParentReference identifies an API object (usually a Gateway) that can be considered\na parent of this resource (usually a route). There are two kinds of parent resources\nwith \"Core\" support:\n\n\n* Gateway (Gateway conformance profile)\n* Service (Mesh conformance profile, ClusterIP Services only)\n\n\nThis API may be extended in the future to support additional kinds of parent\nresources.\n\n\nThe API object must be valid in the cluster; the Group and Kind must\nbe registered in the cluster for this reference to be valid." properties: group: default: "gateway.networking.k8s.io" @@ -414,7 +414,7 @@ spec: type: "string" kind: default: "Gateway" - description: "Kind is kind of the referent.\n\n\nThere are two kinds of parent resources with \"Core\" support:\n\n\n* Gateway (Gateway conformance profile)\n* Service (Mesh conformance profile, experimental, ClusterIP Services only)\n\n\nSupport for other resources is Implementation-Specific." + description: "Kind is kind of the referent.\n\n\nThere are two kinds of parent resources with \"Core\" support:\n\n\n* Gateway (Gateway conformance profile)\n* Service (Mesh conformance profile, ClusterIP Services only)\n\n\nSupport for other resources is Implementation-Specific." maxLength: 63 minLength: 1 pattern: "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$" @@ -431,13 +431,13 @@ spec: pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" type: "string" port: - description: "Port is the network port this Route targets. It can be interpreted\ndifferently based on the type of parent resource.\n\n\nWhen the parent resource is a Gateway, this targets all listeners\nlistening on the specified port that also support this kind of Route(and\nselect this Route). It's not recommended to set `Port` unless the\nnetworking behaviors specified in a Route must apply to a specific port\nas opposed to a listener(s) whose port(s) may be changed. When both Port\nand SectionName are specified, the name and port of the selected listener\nmust match both specified values.\n\n\n\nWhen the parent resource is a Service, this targets a specific port in the\nService spec. When both Port (experimental) and SectionName are specified,\nthe name and port of the selected port must match both specified values.\n\n\n\nImplementations MAY choose to support other parent resources.\nImplementations supporting other types of parent resources MUST clearly\ndocument how/if Port is interpreted.\n\n\nFor the purpose of status, an attachment is considered successful as\nlong as the parent resource accepts it partially. For example, Gateway\nlisteners can restrict which Routes can attach to them by Route kind,\nnamespace, or hostname. If 1 of 2 Gateway listeners accept attachment\nfrom the referencing Route, the Route MUST be considered successfully\nattached. If no Gateway listeners accept attachment from this Route,\nthe Route MUST be considered detached from the Gateway.\n\n\nSupport: Extended\n\n\n" + description: "Port is the network port this Route targets. It can be interpreted\ndifferently based on the type of parent resource.\n\n\nWhen the parent resource is a Gateway, this targets all listeners\nlistening on the specified port that also support this kind of Route(and\nselect this Route). It's not recommended to set `Port` unless the\nnetworking behaviors specified in a Route must apply to a specific port\nas opposed to a listener(s) whose port(s) may be changed. When both Port\nand SectionName are specified, the name and port of the selected listener\nmust match both specified values.\n\n\n\nWhen the parent resource is a Service, this targets a specific port in the\nService spec. When both Port (experimental) and SectionName are specified,\nthe name and port of the selected port must match both specified values.\n\n\n\nImplementations MAY choose to support other parent resources.\nImplementations supporting other types of parent resources MUST clearly\ndocument how/if Port is interpreted.\n\n\nFor the purpose of status, an attachment is considered successful as\nlong as the parent resource accepts it partially. For example, Gateway\nlisteners can restrict which Routes can attach to them by Route kind,\nnamespace, or hostname. If 1 of 2 Gateway listeners accept attachment\nfrom the referencing Route, the Route MUST be considered successfully\nattached. If no Gateway listeners accept attachment from this Route,\nthe Route MUST be considered detached from the Gateway.\n\n\nSupport: Extended" format: "int32" maximum: 65535.0 minimum: 1.0 type: "integer" sectionName: - description: "SectionName is the name of a section within the target resource. In the\nfollowing resources, SectionName is interpreted as the following:\n\n\n* Gateway: Listener Name. When both Port (experimental) and SectionName\nare specified, the name and port of the selected listener must match\nboth specified values.\n* Service: Port Name. When both Port (experimental) and SectionName\nare specified, the name and port of the selected listener must match\nboth specified values. Note that attaching Routes to Services as Parents\nis part of experimental Mesh support and is not supported for any other\npurpose.\n\n\nImplementations MAY choose to support attaching Routes to other resources.\nIf that is the case, they MUST clearly document how SectionName is\ninterpreted.\n\n\nWhen unspecified (empty string), this will reference the entire resource.\nFor the purpose of status, an attachment is considered successful if at\nleast one section in the parent resource accepts it. For example, Gateway\nlisteners can restrict which Routes can attach to them by Route kind,\nnamespace, or hostname. If 1 of 2 Gateway listeners accept attachment from\nthe referencing Route, the Route MUST be considered successfully\nattached. If no Gateway listeners accept attachment from this Route, the\nRoute MUST be considered detached from the Gateway.\n\n\nSupport: Core" + description: "SectionName is the name of a section within the target resource. In the\nfollowing resources, SectionName is interpreted as the following:\n\n\n* Gateway: Listener name. When both Port (experimental) and SectionName\nare specified, the name and port of the selected listener must match\nboth specified values.\n* Service: Port name. When both Port (experimental) and SectionName\nare specified, the name and port of the selected listener must match\nboth specified values.\n\n\nImplementations MAY choose to support attaching Routes to other resources.\nIf that is the case, they MUST clearly document how SectionName is\ninterpreted.\n\n\nWhen unspecified (empty string), this will reference the entire resource.\nFor the purpose of status, an attachment is considered successful if at\nleast one section in the parent resource accepts it. For example, Gateway\nlisteners can restrict which Routes can attach to them by Route kind,\nnamespace, or hostname. If 1 of 2 Gateway listeners accept attachment from\nthe referencing Route, the Route MUST be considered successfully\nattached. If no Gateway listeners accept attachment from this Route, the\nRoute MUST be considered detached from the Gateway.\n\n\nSupport: Core" maxLength: 253 minLength: 1 pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" @@ -1060,7 +1060,8 @@ spec: description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" diff --git a/crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/clusterissuers.yaml b/crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/clusterissuers.yaml index 7093b03ae..8a4e11029 100644 --- a/crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/clusterissuers.yaml +++ b/crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/clusterissuers.yaml @@ -446,7 +446,7 @@ spec: parentRefs: description: "When solving an HTTP-01 challenge, cert-manager creates an HTTPRoute.\ncert-manager needs to know which parentRefs should be used when creating\nthe HTTPRoute. Usually, the parentRef references a Gateway. See:\nhttps://gateway-api.sigs.k8s.io/api-types/httproute/#attaching-to-gateways" items: - description: "ParentReference identifies an API object (usually a Gateway) that can be considered\na parent of this resource (usually a route). There are two kinds of parent resources\nwith \"Core\" support:\n\n\n* Gateway (Gateway conformance profile)\n* Service (Mesh conformance profile, experimental, ClusterIP Services only)\n\n\nThis API may be extended in the future to support additional kinds of parent\nresources.\n\n\nThe API object must be valid in the cluster; the Group and Kind must\nbe registered in the cluster for this reference to be valid." + description: "ParentReference identifies an API object (usually a Gateway) that can be considered\na parent of this resource (usually a route). There are two kinds of parent resources\nwith \"Core\" support:\n\n\n* Gateway (Gateway conformance profile)\n* Service (Mesh conformance profile, ClusterIP Services only)\n\n\nThis API may be extended in the future to support additional kinds of parent\nresources.\n\n\nThe API object must be valid in the cluster; the Group and Kind must\nbe registered in the cluster for this reference to be valid." properties: group: default: "gateway.networking.k8s.io" @@ -456,7 +456,7 @@ spec: type: "string" kind: default: "Gateway" - description: "Kind is kind of the referent.\n\n\nThere are two kinds of parent resources with \"Core\" support:\n\n\n* Gateway (Gateway conformance profile)\n* Service (Mesh conformance profile, experimental, ClusterIP Services only)\n\n\nSupport for other resources is Implementation-Specific." + description: "Kind is kind of the referent.\n\n\nThere are two kinds of parent resources with \"Core\" support:\n\n\n* Gateway (Gateway conformance profile)\n* Service (Mesh conformance profile, ClusterIP Services only)\n\n\nSupport for other resources is Implementation-Specific." maxLength: 63 minLength: 1 pattern: "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$" @@ -473,13 +473,13 @@ spec: pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" type: "string" port: - description: "Port is the network port this Route targets. It can be interpreted\ndifferently based on the type of parent resource.\n\n\nWhen the parent resource is a Gateway, this targets all listeners\nlistening on the specified port that also support this kind of Route(and\nselect this Route). It's not recommended to set `Port` unless the\nnetworking behaviors specified in a Route must apply to a specific port\nas opposed to a listener(s) whose port(s) may be changed. When both Port\nand SectionName are specified, the name and port of the selected listener\nmust match both specified values.\n\n\n\nWhen the parent resource is a Service, this targets a specific port in the\nService spec. When both Port (experimental) and SectionName are specified,\nthe name and port of the selected port must match both specified values.\n\n\n\nImplementations MAY choose to support other parent resources.\nImplementations supporting other types of parent resources MUST clearly\ndocument how/if Port is interpreted.\n\n\nFor the purpose of status, an attachment is considered successful as\nlong as the parent resource accepts it partially. For example, Gateway\nlisteners can restrict which Routes can attach to them by Route kind,\nnamespace, or hostname. If 1 of 2 Gateway listeners accept attachment\nfrom the referencing Route, the Route MUST be considered successfully\nattached. If no Gateway listeners accept attachment from this Route,\nthe Route MUST be considered detached from the Gateway.\n\n\nSupport: Extended\n\n\n" + description: "Port is the network port this Route targets. It can be interpreted\ndifferently based on the type of parent resource.\n\n\nWhen the parent resource is a Gateway, this targets all listeners\nlistening on the specified port that also support this kind of Route(and\nselect this Route). It's not recommended to set `Port` unless the\nnetworking behaviors specified in a Route must apply to a specific port\nas opposed to a listener(s) whose port(s) may be changed. When both Port\nand SectionName are specified, the name and port of the selected listener\nmust match both specified values.\n\n\n\nWhen the parent resource is a Service, this targets a specific port in the\nService spec. When both Port (experimental) and SectionName are specified,\nthe name and port of the selected port must match both specified values.\n\n\n\nImplementations MAY choose to support other parent resources.\nImplementations supporting other types of parent resources MUST clearly\ndocument how/if Port is interpreted.\n\n\nFor the purpose of status, an attachment is considered successful as\nlong as the parent resource accepts it partially. For example, Gateway\nlisteners can restrict which Routes can attach to them by Route kind,\nnamespace, or hostname. If 1 of 2 Gateway listeners accept attachment\nfrom the referencing Route, the Route MUST be considered successfully\nattached. If no Gateway listeners accept attachment from this Route,\nthe Route MUST be considered detached from the Gateway.\n\n\nSupport: Extended" format: "int32" maximum: 65535.0 minimum: 1.0 type: "integer" sectionName: - description: "SectionName is the name of a section within the target resource. In the\nfollowing resources, SectionName is interpreted as the following:\n\n\n* Gateway: Listener Name. When both Port (experimental) and SectionName\nare specified, the name and port of the selected listener must match\nboth specified values.\n* Service: Port Name. When both Port (experimental) and SectionName\nare specified, the name and port of the selected listener must match\nboth specified values. Note that attaching Routes to Services as Parents\nis part of experimental Mesh support and is not supported for any other\npurpose.\n\n\nImplementations MAY choose to support attaching Routes to other resources.\nIf that is the case, they MUST clearly document how SectionName is\ninterpreted.\n\n\nWhen unspecified (empty string), this will reference the entire resource.\nFor the purpose of status, an attachment is considered successful if at\nleast one section in the parent resource accepts it. For example, Gateway\nlisteners can restrict which Routes can attach to them by Route kind,\nnamespace, or hostname. If 1 of 2 Gateway listeners accept attachment from\nthe referencing Route, the Route MUST be considered successfully\nattached. If no Gateway listeners accept attachment from this Route, the\nRoute MUST be considered detached from the Gateway.\n\n\nSupport: Core" + description: "SectionName is the name of a section within the target resource. In the\nfollowing resources, SectionName is interpreted as the following:\n\n\n* Gateway: Listener name. When both Port (experimental) and SectionName\nare specified, the name and port of the selected listener must match\nboth specified values.\n* Service: Port name. When both Port (experimental) and SectionName\nare specified, the name and port of the selected listener must match\nboth specified values.\n\n\nImplementations MAY choose to support attaching Routes to other resources.\nIf that is the case, they MUST clearly document how SectionName is\ninterpreted.\n\n\nWhen unspecified (empty string), this will reference the entire resource.\nFor the purpose of status, an attachment is considered successful if at\nleast one section in the parent resource accepts it. For example, Gateway\nlisteners can restrict which Routes can attach to them by Route kind,\nnamespace, or hostname. If 1 of 2 Gateway listeners accept attachment from\nthe referencing Route, the Route MUST be considered successfully\nattached. If no Gateway listeners accept attachment from this Route, the\nRoute MUST be considered detached from the Gateway.\n\n\nSupport: Core" maxLength: 253 minLength: 1 pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" @@ -1102,7 +1102,8 @@ spec: description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" diff --git a/crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/issuers.yaml b/crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/issuers.yaml index b0612a555..4377cad5c 100644 --- a/crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/issuers.yaml +++ b/crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/issuers.yaml @@ -447,7 +447,7 @@ spec: parentRefs: description: "When solving an HTTP-01 challenge, cert-manager creates an HTTPRoute.\ncert-manager needs to know which parentRefs should be used when creating\nthe HTTPRoute. Usually, the parentRef references a Gateway. See:\nhttps://gateway-api.sigs.k8s.io/api-types/httproute/#attaching-to-gateways" items: - description: "ParentReference identifies an API object (usually a Gateway) that can be considered\na parent of this resource (usually a route). There are two kinds of parent resources\nwith \"Core\" support:\n\n\n* Gateway (Gateway conformance profile)\n* Service (Mesh conformance profile, experimental, ClusterIP Services only)\n\n\nThis API may be extended in the future to support additional kinds of parent\nresources.\n\n\nThe API object must be valid in the cluster; the Group and Kind must\nbe registered in the cluster for this reference to be valid." + description: "ParentReference identifies an API object (usually a Gateway) that can be considered\na parent of this resource (usually a route). There are two kinds of parent resources\nwith \"Core\" support:\n\n\n* Gateway (Gateway conformance profile)\n* Service (Mesh conformance profile, ClusterIP Services only)\n\n\nThis API may be extended in the future to support additional kinds of parent\nresources.\n\n\nThe API object must be valid in the cluster; the Group and Kind must\nbe registered in the cluster for this reference to be valid." properties: group: default: "gateway.networking.k8s.io" @@ -457,7 +457,7 @@ spec: type: "string" kind: default: "Gateway" - description: "Kind is kind of the referent.\n\n\nThere are two kinds of parent resources with \"Core\" support:\n\n\n* Gateway (Gateway conformance profile)\n* Service (Mesh conformance profile, experimental, ClusterIP Services only)\n\n\nSupport for other resources is Implementation-Specific." + description: "Kind is kind of the referent.\n\n\nThere are two kinds of parent resources with \"Core\" support:\n\n\n* Gateway (Gateway conformance profile)\n* Service (Mesh conformance profile, ClusterIP Services only)\n\n\nSupport for other resources is Implementation-Specific." maxLength: 63 minLength: 1 pattern: "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$" @@ -474,13 +474,13 @@ spec: pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" type: "string" port: - description: "Port is the network port this Route targets. It can be interpreted\ndifferently based on the type of parent resource.\n\n\nWhen the parent resource is a Gateway, this targets all listeners\nlistening on the specified port that also support this kind of Route(and\nselect this Route). It's not recommended to set `Port` unless the\nnetworking behaviors specified in a Route must apply to a specific port\nas opposed to a listener(s) whose port(s) may be changed. When both Port\nand SectionName are specified, the name and port of the selected listener\nmust match both specified values.\n\n\n\nWhen the parent resource is a Service, this targets a specific port in the\nService spec. When both Port (experimental) and SectionName are specified,\nthe name and port of the selected port must match both specified values.\n\n\n\nImplementations MAY choose to support other parent resources.\nImplementations supporting other types of parent resources MUST clearly\ndocument how/if Port is interpreted.\n\n\nFor the purpose of status, an attachment is considered successful as\nlong as the parent resource accepts it partially. For example, Gateway\nlisteners can restrict which Routes can attach to them by Route kind,\nnamespace, or hostname. If 1 of 2 Gateway listeners accept attachment\nfrom the referencing Route, the Route MUST be considered successfully\nattached. If no Gateway listeners accept attachment from this Route,\nthe Route MUST be considered detached from the Gateway.\n\n\nSupport: Extended\n\n\n" + description: "Port is the network port this Route targets. It can be interpreted\ndifferently based on the type of parent resource.\n\n\nWhen the parent resource is a Gateway, this targets all listeners\nlistening on the specified port that also support this kind of Route(and\nselect this Route). It's not recommended to set `Port` unless the\nnetworking behaviors specified in a Route must apply to a specific port\nas opposed to a listener(s) whose port(s) may be changed. When both Port\nand SectionName are specified, the name and port of the selected listener\nmust match both specified values.\n\n\n\nWhen the parent resource is a Service, this targets a specific port in the\nService spec. When both Port (experimental) and SectionName are specified,\nthe name and port of the selected port must match both specified values.\n\n\n\nImplementations MAY choose to support other parent resources.\nImplementations supporting other types of parent resources MUST clearly\ndocument how/if Port is interpreted.\n\n\nFor the purpose of status, an attachment is considered successful as\nlong as the parent resource accepts it partially. For example, Gateway\nlisteners can restrict which Routes can attach to them by Route kind,\nnamespace, or hostname. If 1 of 2 Gateway listeners accept attachment\nfrom the referencing Route, the Route MUST be considered successfully\nattached. If no Gateway listeners accept attachment from this Route,\nthe Route MUST be considered detached from the Gateway.\n\n\nSupport: Extended" format: "int32" maximum: 65535.0 minimum: 1.0 type: "integer" sectionName: - description: "SectionName is the name of a section within the target resource. In the\nfollowing resources, SectionName is interpreted as the following:\n\n\n* Gateway: Listener Name. When both Port (experimental) and SectionName\nare specified, the name and port of the selected listener must match\nboth specified values.\n* Service: Port Name. When both Port (experimental) and SectionName\nare specified, the name and port of the selected listener must match\nboth specified values. Note that attaching Routes to Services as Parents\nis part of experimental Mesh support and is not supported for any other\npurpose.\n\n\nImplementations MAY choose to support attaching Routes to other resources.\nIf that is the case, they MUST clearly document how SectionName is\ninterpreted.\n\n\nWhen unspecified (empty string), this will reference the entire resource.\nFor the purpose of status, an attachment is considered successful if at\nleast one section in the parent resource accepts it. For example, Gateway\nlisteners can restrict which Routes can attach to them by Route kind,\nnamespace, or hostname. If 1 of 2 Gateway listeners accept attachment from\nthe referencing Route, the Route MUST be considered successfully\nattached. If no Gateway listeners accept attachment from this Route, the\nRoute MUST be considered detached from the Gateway.\n\n\nSupport: Core" + description: "SectionName is the name of a section within the target resource. In the\nfollowing resources, SectionName is interpreted as the following:\n\n\n* Gateway: Listener name. When both Port (experimental) and SectionName\nare specified, the name and port of the selected listener must match\nboth specified values.\n* Service: Port name. When both Port (experimental) and SectionName\nare specified, the name and port of the selected listener must match\nboth specified values.\n\n\nImplementations MAY choose to support attaching Routes to other resources.\nIf that is the case, they MUST clearly document how SectionName is\ninterpreted.\n\n\nWhen unspecified (empty string), this will reference the entire resource.\nFor the purpose of status, an attachment is considered successful if at\nleast one section in the parent resource accepts it. For example, Gateway\nlisteners can restrict which Routes can attach to them by Route kind,\nnamespace, or hostname. If 1 of 2 Gateway listeners accept attachment from\nthe referencing Route, the Route MUST be considered successfully\nattached. If no Gateway listeners accept attachment from this Route, the\nRoute MUST be considered detached from the Gateway.\n\n\nSupport: Core" maxLength: 253 minLength: 1 pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" @@ -1103,7 +1103,8 @@ spec: description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" diff --git a/crd-catalog/cilium/cilium/cilium.io/v2/ciliumclusterwidenetworkpolicies.yaml b/crd-catalog/cilium/cilium/cilium.io/v2/ciliumclusterwidenetworkpolicies.yaml index 44431be43..add3747ba 100644 --- a/crd-catalog/cilium/cilium/cilium.io/v2/ciliumclusterwidenetworkpolicies.yaml +++ b/crd-catalog/cilium/cilium/cilium.io/v2/ciliumclusterwidenetworkpolicies.yaml @@ -345,8 +345,14 @@ spec: items: description: "PortProtocol specifies an L4 port with an optional transport protocol" properties: + endPort: + description: "EndPort can only be an L4 port number." + format: "int32" + maximum: 65535.0 + minimum: 0.0 + type: "integer" port: - description: "Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form \"1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end." + description: "Port can be an L4 port number, or a name in the form of \"http\" or \"http-8080\"." pattern: "^(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[0-9]{1,4})|([a-zA-Z0-9]-?)*[a-zA-Z](-?[a-zA-Z0-9])*$" type: "string" protocol: @@ -829,8 +835,14 @@ spec: items: description: "PortProtocol specifies an L4 port with an optional transport protocol" properties: + endPort: + description: "EndPort can only be an L4 port number." + format: "int32" + maximum: 65535.0 + minimum: 0.0 + type: "integer" port: - description: "Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form \"1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end." + description: "Port can be an L4 port number, or a name in the form of \"http\" or \"http-8080\"." pattern: "^(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[0-9]{1,4})|([a-zA-Z0-9]-?)*[a-zA-Z](-?[a-zA-Z0-9])*$" type: "string" protocol: @@ -1333,8 +1345,14 @@ spec: items: description: "PortProtocol specifies an L4 port with an optional transport protocol" properties: + endPort: + description: "EndPort can only be an L4 port number." + format: "int32" + maximum: 65535.0 + minimum: 0.0 + type: "integer" port: - description: "Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form \"1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end." + description: "Port can be an L4 port number, or a name in the form of \"http\" or \"http-8080\"." pattern: "^(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[0-9]{1,4})|([a-zA-Z0-9]-?)*[a-zA-Z](-?[a-zA-Z0-9])*$" type: "string" protocol: @@ -1754,8 +1772,14 @@ spec: items: description: "PortProtocol specifies an L4 port with an optional transport protocol" properties: + endPort: + description: "EndPort can only be an L4 port number." + format: "int32" + maximum: 65535.0 + minimum: 0.0 + type: "integer" port: - description: "Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form \"1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end." + description: "Port can be an L4 port number, or a name in the form of \"http\" or \"http-8080\"." pattern: "^(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[0-9]{1,4})|([a-zA-Z0-9]-?)*[a-zA-Z](-?[a-zA-Z0-9])*$" type: "string" protocol: @@ -2147,8 +2171,14 @@ spec: items: description: "PortProtocol specifies an L4 port with an optional transport protocol" properties: + endPort: + description: "EndPort can only be an L4 port number." + format: "int32" + maximum: 65535.0 + minimum: 0.0 + type: "integer" port: - description: "Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form \"1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end." + description: "Port can be an L4 port number, or a name in the form of \"http\" or \"http-8080\"." pattern: "^(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[0-9]{1,4})|([a-zA-Z0-9]-?)*[a-zA-Z](-?[a-zA-Z0-9])*$" type: "string" protocol: @@ -2631,8 +2661,14 @@ spec: items: description: "PortProtocol specifies an L4 port with an optional transport protocol" properties: + endPort: + description: "EndPort can only be an L4 port number." + format: "int32" + maximum: 65535.0 + minimum: 0.0 + type: "integer" port: - description: "Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form \"1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end." + description: "Port can be an L4 port number, or a name in the form of \"http\" or \"http-8080\"." pattern: "^(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[0-9]{1,4})|([a-zA-Z0-9]-?)*[a-zA-Z](-?[a-zA-Z0-9])*$" type: "string" protocol: @@ -3135,8 +3171,14 @@ spec: items: description: "PortProtocol specifies an L4 port with an optional transport protocol" properties: + endPort: + description: "EndPort can only be an L4 port number." + format: "int32" + maximum: 65535.0 + minimum: 0.0 + type: "integer" port: - description: "Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form \"1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end." + description: "Port can be an L4 port number, or a name in the form of \"http\" or \"http-8080\"." pattern: "^(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[0-9]{1,4})|([a-zA-Z0-9]-?)*[a-zA-Z](-?[a-zA-Z0-9])*$" type: "string" protocol: @@ -3556,8 +3598,14 @@ spec: items: description: "PortProtocol specifies an L4 port with an optional transport protocol" properties: + endPort: + description: "EndPort can only be an L4 port number." + format: "int32" + maximum: 65535.0 + minimum: 0.0 + type: "integer" port: - description: "Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form \"1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end." + description: "Port can be an L4 port number, or a name in the form of \"http\" or \"http-8080\"." pattern: "^(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[0-9]{1,4})|([a-zA-Z0-9]-?)*[a-zA-Z](-?[a-zA-Z0-9])*$" type: "string" protocol: diff --git a/crd-catalog/cilium/cilium/cilium.io/v2/ciliumnetworkpolicies.yaml b/crd-catalog/cilium/cilium/cilium.io/v2/ciliumnetworkpolicies.yaml index f7ab8211e..29785fa56 100644 --- a/crd-catalog/cilium/cilium/cilium.io/v2/ciliumnetworkpolicies.yaml +++ b/crd-catalog/cilium/cilium/cilium.io/v2/ciliumnetworkpolicies.yaml @@ -350,8 +350,14 @@ spec: items: description: "PortProtocol specifies an L4 port with an optional transport protocol" properties: + endPort: + description: "EndPort can only be an L4 port number." + format: "int32" + maximum: 65535.0 + minimum: 0.0 + type: "integer" port: - description: "Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form \"1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end." + description: "Port can be an L4 port number, or a name in the form of \"http\" or \"http-8080\"." pattern: "^(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[0-9]{1,4})|([a-zA-Z0-9]-?)*[a-zA-Z](-?[a-zA-Z0-9])*$" type: "string" protocol: @@ -834,8 +840,14 @@ spec: items: description: "PortProtocol specifies an L4 port with an optional transport protocol" properties: + endPort: + description: "EndPort can only be an L4 port number." + format: "int32" + maximum: 65535.0 + minimum: 0.0 + type: "integer" port: - description: "Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form \"1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end." + description: "Port can be an L4 port number, or a name in the form of \"http\" or \"http-8080\"." pattern: "^(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[0-9]{1,4})|([a-zA-Z0-9]-?)*[a-zA-Z](-?[a-zA-Z0-9])*$" type: "string" protocol: @@ -1338,8 +1350,14 @@ spec: items: description: "PortProtocol specifies an L4 port with an optional transport protocol" properties: + endPort: + description: "EndPort can only be an L4 port number." + format: "int32" + maximum: 65535.0 + minimum: 0.0 + type: "integer" port: - description: "Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form \"1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end." + description: "Port can be an L4 port number, or a name in the form of \"http\" or \"http-8080\"." pattern: "^(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[0-9]{1,4})|([a-zA-Z0-9]-?)*[a-zA-Z](-?[a-zA-Z0-9])*$" type: "string" protocol: @@ -1759,8 +1777,14 @@ spec: items: description: "PortProtocol specifies an L4 port with an optional transport protocol" properties: + endPort: + description: "EndPort can only be an L4 port number." + format: "int32" + maximum: 65535.0 + minimum: 0.0 + type: "integer" port: - description: "Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form \"1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end." + description: "Port can be an L4 port number, or a name in the form of \"http\" or \"http-8080\"." pattern: "^(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[0-9]{1,4})|([a-zA-Z0-9]-?)*[a-zA-Z](-?[a-zA-Z0-9])*$" type: "string" protocol: @@ -2152,8 +2176,14 @@ spec: items: description: "PortProtocol specifies an L4 port with an optional transport protocol" properties: + endPort: + description: "EndPort can only be an L4 port number." + format: "int32" + maximum: 65535.0 + minimum: 0.0 + type: "integer" port: - description: "Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form \"1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end." + description: "Port can be an L4 port number, or a name in the form of \"http\" or \"http-8080\"." pattern: "^(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[0-9]{1,4})|([a-zA-Z0-9]-?)*[a-zA-Z](-?[a-zA-Z0-9])*$" type: "string" protocol: @@ -2636,8 +2666,14 @@ spec: items: description: "PortProtocol specifies an L4 port with an optional transport protocol" properties: + endPort: + description: "EndPort can only be an L4 port number." + format: "int32" + maximum: 65535.0 + minimum: 0.0 + type: "integer" port: - description: "Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form \"1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end." + description: "Port can be an L4 port number, or a name in the form of \"http\" or \"http-8080\"." pattern: "^(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[0-9]{1,4})|([a-zA-Z0-9]-?)*[a-zA-Z](-?[a-zA-Z0-9])*$" type: "string" protocol: @@ -3140,8 +3176,14 @@ spec: items: description: "PortProtocol specifies an L4 port with an optional transport protocol" properties: + endPort: + description: "EndPort can only be an L4 port number." + format: "int32" + maximum: 65535.0 + minimum: 0.0 + type: "integer" port: - description: "Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form \"1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end." + description: "Port can be an L4 port number, or a name in the form of \"http\" or \"http-8080\"." pattern: "^(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[0-9]{1,4})|([a-zA-Z0-9]-?)*[a-zA-Z](-?[a-zA-Z0-9])*$" type: "string" protocol: @@ -3561,8 +3603,14 @@ spec: items: description: "PortProtocol specifies an L4 port with an optional transport protocol" properties: + endPort: + description: "EndPort can only be an L4 port number." + format: "int32" + maximum: 65535.0 + minimum: 0.0 + type: "integer" port: - description: "Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form \"1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end." + description: "Port can be an L4 port number, or a name in the form of \"http\" or \"http-8080\"." pattern: "^(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[0-9]{1,4})|([a-zA-Z0-9]-?)*[a-zA-Z](-?[a-zA-Z0-9])*$" type: "string" protocol: diff --git a/crd-catalog/clastix/kamaji/kamaji.clastix.io/v1alpha1/tenantcontrolplanes.yaml b/crd-catalog/clastix/kamaji/kamaji.clastix.io/v1alpha1/tenantcontrolplanes.yaml index 1fff011dc..78dd6537d 100644 --- a/crd-catalog/clastix/kamaji/kamaji.clastix.io/v1alpha1/tenantcontrolplanes.yaml +++ b/crd-catalog/clastix/kamaji/kamaji.clastix.io/v1alpha1/tenantcontrolplanes.yaml @@ -7,6 +7,8 @@ metadata: spec: group: "kamaji.clastix.io" names: + categories: + - "kamaji" kind: "TenantControlPlane" listKind: "TenantControlPlaneList" plural: "tenantcontrolplanes" @@ -236,7 +238,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -285,7 +288,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -311,7 +315,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -325,7 +330,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -1116,7 +1122,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1165,7 +1172,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1191,7 +1199,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -1205,7 +1214,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -2151,7 +2161,8 @@ spec: description: "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2174,7 +2185,8 @@ spec: description: "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2213,7 +2225,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -2233,7 +2246,8 @@ spec: description: "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2493,7 +2507,8 @@ spec: description: "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2610,7 +2625,8 @@ spec: description: "secretRef is the CHAP Secret for iSCSI target and initiator authentication" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2768,7 +2784,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -2854,7 +2871,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional field specify whether the Secret or its key must be defined" @@ -2934,7 +2952,8 @@ spec: description: "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2964,7 +2983,8 @@ spec: description: "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3036,7 +3056,8 @@ spec: description: "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" diff --git a/crd-catalog/clusternet/clusternet/clusters.clusternet.io/v1beta1/managedclusters.yaml b/crd-catalog/clusternet/clusternet/clusters.clusternet.io/v1beta1/managedclusters.yaml index 7286def33..e269423fc 100644 --- a/crd-catalog/clusternet/clusternet/clusters.clusternet.io/v1beta1/managedclusters.yaml +++ b/crd-catalog/clusternet/clusternet/clusters.clusternet.io/v1beta1/managedclusters.yaml @@ -40,6 +40,11 @@ spec: - jsonPath: ".metadata.creationTimestamp" name: "AGE" type: "date" + - description: "The version of the clusternet agent" + jsonPath: ".status.agentVersion" + name: "AGENT VERSION" + priority: 100 + type: "string" name: "v1beta1" schema: openAPIV3Schema: @@ -110,6 +115,9 @@ spec: status: description: "ManagedClusterStatus defines the observed state of ManagedCluster" properties: + agentVersion: + description: "agentVersion is the clusternet agent version of the sub cluster" + type: "string" allocatable: additionalProperties: anyOf: diff --git a/crd-catalog/crossplane/crossplane/apiextensions.crossplane.io/v1/compositeresourcedefinitions.yaml b/crd-catalog/crossplane/crossplane/apiextensions.crossplane.io/v1/compositeresourcedefinitions.yaml index 233e07f6f..c76a1c588 100644 --- a/crd-catalog/crossplane/crossplane/apiextensions.crossplane.io/v1/compositeresourcedefinitions.yaml +++ b/crd-catalog/crossplane/crossplane/apiextensions.crossplane.io/v1/compositeresourcedefinitions.yaml @@ -52,6 +52,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" kind: description: "kind is the serialized kind of the resource. It is normally CamelCase and singular.\nCustom resource instances will use this value as the `kind` attribute in API calls." type: "string" @@ -66,6 +67,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" singular: description: "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`." type: "string" @@ -73,6 +75,9 @@ spec: - "kind" - "plural" type: "object" + x-kubernetes-validations: + - message: "Value is immutable" + rule: "self == oldSelf" connectionSecretKeys: description: "ConnectionSecretKeys is the list of keys that will be exposed to the end\nuser of the defined kind.\nIf the list is empty, all keys will be published." items: @@ -123,6 +128,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "conversionReviewVersions" type: "object" @@ -161,9 +167,15 @@ spec: required: - "name" type: "object" + x-kubernetes-validations: + - message: "Value is immutable" + rule: "self == oldSelf" group: description: "Group specifies the API group of the defined composite resource.\nComposite resources are served under `/apis//...`. Must match the\nname of the XRD (in the form `.`)." type: "string" + x-kubernetes-validations: + - message: "Value is immutable" + rule: "self == oldSelf" metadata: description: "Metadata specifies the desired metadata for the defined composite resource and claim CRD's." properties: @@ -186,6 +198,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" kind: description: "kind is the serialized kind of the resource. It is normally CamelCase and singular.\nCustom resource instances will use this value as the `kind` attribute in API calls." type: "string" @@ -200,6 +213,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" singular: description: "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`." type: "string" @@ -207,6 +221,9 @@ spec: - "kind" - "plural" type: "object" + x-kubernetes-validations: + - message: "Value is immutable" + rule: "self == oldSelf" versions: description: "Versions is the list of all API versions of the defined composite\nresource. Version names are used to compute the order in which served\nversions are listed in API discovery. If the version string is\n\"kube-like\", it will sort above non \"kube-like\" version strings, which\nare ordered lexicographically. \"Kube-like\" versions start with a \"v\",\nthen are followed by a number (the major version), then optionally the\nstring \"alpha\" or \"beta\" and another number (the minor version). These\nare sorted first by GA > beta > alpha (where GA is a version with no\nsuffix such as beta or alpha), and then by comparing major version, then\nminor version. An example sorted list of versions: v10, v2, v1, v11beta2,\nv10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10." items: diff --git a/crd-catalog/crossplane/crossplane/apiextensions.crossplane.io/v1/compositionrevisions.yaml b/crd-catalog/crossplane/crossplane/apiextensions.crossplane.io/v1/compositionrevisions.yaml index 3720a5aae..d2cf2ae10 100644 --- a/crd-catalog/crossplane/crossplane/apiextensions.crossplane.io/v1/compositionrevisions.yaml +++ b/crd-catalog/crossplane/crossplane/apiextensions.crossplane.io/v1/compositionrevisions.yaml @@ -59,6 +59,9 @@ spec: - "apiVersion" - "kind" type: "object" + x-kubernetes-validations: + - message: "Value is immutable" + rule: "self == oldSelf" environment: description: "Environment configures the environment in which resources are rendered.\n\n\nTHIS IS AN ALPHA FIELD. Do not use it in production. It is not honored\nunless the relevant Crossplane feature flag is enabled, and may be\nchanged or removed without notice." properties: @@ -1095,6 +1098,9 @@ spec: description: "Revision number. Newer revisions have larger numbers." format: "int64" type: "integer" + x-kubernetes-validations: + - message: "Value is immutable" + rule: "self == oldSelf" writeConnectionSecretsToNamespace: description: "WriteConnectionSecretsToNamespace specifies the namespace in which the\nconnection secrets of composite resource dynamically provisioned using\nthis composition will be created.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsWithStoreConfigRef. Currently, both could be\nset independently and connection details would be published to both\nwithout affecting each other as long as related fields at MR level\nspecified." type: "string" diff --git a/crd-catalog/crossplane/crossplane/apiextensions.crossplane.io/v1/compositions.yaml b/crd-catalog/crossplane/crossplane/apiextensions.crossplane.io/v1/compositions.yaml index 87d7f9b6f..97d723d0c 100644 --- a/crd-catalog/crossplane/crossplane/apiextensions.crossplane.io/v1/compositions.yaml +++ b/crd-catalog/crossplane/crossplane/apiextensions.crossplane.io/v1/compositions.yaml @@ -56,6 +56,9 @@ spec: - "apiVersion" - "kind" type: "object" + x-kubernetes-validations: + - message: "Value is immutable" + rule: "self == oldSelf" environment: description: "Environment configures the environment in which resources are rendered.\n\n\nTHIS IS AN ALPHA FIELD. Do not use it in production. It is not honored\nunless the relevant Crossplane feature flag is enabled, and may be\nchanged or removed without notice." properties: diff --git a/crd-catalog/crossplane/crossplane/apiextensions.crossplane.io/v1beta1/compositionrevisions.yaml b/crd-catalog/crossplane/crossplane/apiextensions.crossplane.io/v1beta1/compositionrevisions.yaml index 35efb4603..6e42ae1d5 100644 --- a/crd-catalog/crossplane/crossplane/apiextensions.crossplane.io/v1beta1/compositionrevisions.yaml +++ b/crd-catalog/crossplane/crossplane/apiextensions.crossplane.io/v1beta1/compositionrevisions.yaml @@ -59,6 +59,9 @@ spec: - "apiVersion" - "kind" type: "object" + x-kubernetes-validations: + - message: "Value is immutable" + rule: "self == oldSelf" environment: description: "Environment configures the environment in which resources are rendered.\n\n\nTHIS IS AN ALPHA FIELD. Do not use it in production. It is not honored\nunless the relevant Crossplane feature flag is enabled, and may be\nchanged or removed without notice." properties: @@ -1095,6 +1098,9 @@ spec: description: "Revision number. Newer revisions have larger numbers." format: "int64" type: "integer" + x-kubernetes-validations: + - message: "Value is immutable" + rule: "self == oldSelf" writeConnectionSecretsToNamespace: description: "WriteConnectionSecretsToNamespace specifies the namespace in which the\nconnection secrets of composite resource dynamically provisioned using\nthis composition will be created.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsWithStoreConfigRef. Currently, both could be\nset independently and connection details would be published to both\nwithout affecting each other as long as related fields at MR level\nspecified." type: "string" diff --git a/crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1/configurationrevisions.yaml b/crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1/configurationrevisions.yaml index e0b582c8f..ce352d3bf 100644 --- a/crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1/configurationrevisions.yaml +++ b/crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1/configurationrevisions.yaml @@ -178,26 +178,31 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" nonResourceURLs: description: "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path\nSince non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.\nRules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" resourceNames: description: "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" resources: description: "Resources is a list of resources this rule applies to. '*' represents all resources." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" verbs: description: "Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "verbs" type: "object" diff --git a/crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1/providerrevisions.yaml b/crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1/providerrevisions.yaml index 0a9c8bfc2..b4cf5c0c9 100644 --- a/crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1/providerrevisions.yaml +++ b/crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1/providerrevisions.yaml @@ -212,26 +212,31 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" nonResourceURLs: description: "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path\nSince non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.\nRules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" resourceNames: description: "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" resources: description: "Resources is a list of resources this rule applies to. '*' represents all resources." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" verbs: description: "Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "verbs" type: "object" diff --git a/crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1alpha1/controllerconfigs.yaml b/crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1alpha1/controllerconfigs.yaml index 645a36595..335f64318 100644 --- a/crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1alpha1/controllerconfigs.yaml +++ b/crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1alpha1/controllerconfigs.yaml @@ -65,11 +65,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: description: "A list of node selector requirements by node's fields." items: @@ -86,11 +88,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" weight: @@ -102,6 +106,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: description: "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node." properties: @@ -126,11 +131,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: description: "A list of node selector requirements by node's fields." items: @@ -147,14 +154,17 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" type: "array" + x-kubernetes-list-type: "atomic" required: - "nodeSelectorTerms" type: "object" @@ -190,11 +200,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -203,13 +215,13 @@ spec: type: "object" x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" mismatchLabelKeys: - description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" @@ -233,11 +245,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -250,6 +264,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" @@ -265,6 +280,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: description: "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied." items: @@ -289,11 +305,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -302,13 +320,13 @@ spec: type: "object" x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" mismatchLabelKeys: - description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" @@ -332,11 +350,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -349,6 +369,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" @@ -356,6 +377,7 @@ spec: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" podAntiAffinity: description: "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))." @@ -387,11 +409,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -400,13 +424,13 @@ spec: type: "object" x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" mismatchLabelKeys: - description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" @@ -430,11 +454,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -447,6 +473,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" @@ -462,6 +489,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: description: "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied." items: @@ -486,11 +514,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -499,13 +529,13 @@ spec: type: "object" x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" mismatchLabelKeys: - description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" @@ -529,11 +559,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -546,6 +578,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" @@ -553,6 +586,7 @@ spec: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" type: "object" args: @@ -718,6 +752,18 @@ spec: podSecurityContext: description: "PodSecurityContext holds pod-level security attributes and common container settings.\nOptional: Defaults to empty. See type description for default values of each field." properties: + appArmorProfile: + description: "appArmorProfile is the AppArmor options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows." + properties: + localhostProfile: + description: "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\"." + type: "string" + type: + description: "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement." + type: "string" + required: + - "type" + type: "object" fsGroup: description: "A special supplemental group that applies to all containers in a pod.\nSome volume types allow the Kubelet to change the ownership of that volume\nto be owned by the pod:\n\n\n1. The owning GID will be the FSGroup\n2. The setgid bit is set (new files created in the volume will be owned by FSGroup)\n3. The permission bits are OR'd with rw-rw----\n\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.\nNote that this field cannot be set when spec.os.name is windows." format: "int64" @@ -770,6 +816,7 @@ spec: format: "int64" type: "integer" type: "array" + x-kubernetes-list-type: "atomic" sysctls: description: "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported\nsysctls (by the container runtime) might fail to launch.\nNote that this field cannot be set when spec.os.name is windows." items: @@ -786,6 +833,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" windowsOptions: description: "The Windows specific settings applied to all containers.\nIf unspecified, the options within a container's SecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux." properties: @@ -883,6 +931,18 @@ spec: allowPrivilegeEscalation: description: "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows." type: "boolean" + appArmorProfile: + description: "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows." + properties: + localhostProfile: + description: "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\"." + type: "string" + type: + description: "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement." + type: "string" + required: + - "type" + type: "object" capabilities: description: "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows." properties: @@ -892,12 +952,14 @@ spec: description: "Capability represent POSIX capabilities type" type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: description: "Removed capabilities" items: description: "Capability represent POSIX capabilities type" type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: description: "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows." @@ -999,7 +1061,7 @@ spec: description: "Path within the container at which the volume should be mounted. Must\nnot contain ':'." type: "string" mountPropagation: - description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10." + description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None)." type: "string" name: description: "This must match the Name of a Volume." @@ -1007,6 +1069,9 @@ spec: readOnly: description: "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false." type: "boolean" + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\n\nIf this field is not specified, it is treated as an equivalent of Disabled." + type: "string" subPath: description: "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root)." type: "string" @@ -1091,6 +1156,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" path: description: "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /" type: "string" @@ -1164,6 +1230,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" @@ -1213,7 +1280,7 @@ spec: description: "DownwardAPIVolumeFile represents information to create the file containing the pod field" properties: fieldRef: - description: "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported." + description: "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -1256,6 +1323,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" emptyDir: description: "emptyDir represents a temporary directory that shares a pod's lifetime.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir" @@ -1305,6 +1373,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: description: "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource." properties: @@ -1382,11 +1451,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -1398,7 +1469,7 @@ spec: description: "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" type: "string" volumeAttributesClassName: - description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." + description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." type: "string" volumeMode: description: "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec." @@ -1429,11 +1500,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" wwids: description: "wwids Optional: FC volume world wide identifiers (wwids)\nEither wwids or combination of targetWWNs and lun must be set, but not both simultaneously." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" flexVolume: description: "flexVolume represents a generic volume resource that is\nprovisioned/attached using an exec based plugin." @@ -1565,6 +1638,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" readOnly: description: "readOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false." type: "boolean" @@ -1676,11 +1750,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -1726,6 +1802,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" @@ -1743,7 +1820,7 @@ spec: description: "DownwardAPIVolumeFile represents information to create the file containing the pod field" properties: fieldRef: - description: "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported." + description: "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -1786,6 +1863,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" secret: description: "secret information about the secret data to project" @@ -1810,6 +1888,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" @@ -1836,6 +1915,7 @@ spec: type: "object" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" quobyte: description: "quobyte represents a Quobyte mount on the host that shares a pod's lifetime" @@ -1879,6 +1959,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" pool: description: "pool is the rados pool name.\nDefault is rbd.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" type: "string" @@ -1970,6 +2051,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: description: "optional field specify whether the Secret or its keys must be defined" type: "boolean" diff --git a/crd-catalog/eclipse-che/che-operator/org.eclipse.che/v2/checlusters.yaml b/crd-catalog/eclipse-che/che-operator/org.eclipse.che/v2/checlusters.yaml index 1068322a6..412e3eb0a 100644 --- a/crd-catalog/eclipse-che/che-operator/org.eclipse.che/v2/checlusters.yaml +++ b/crd-catalog/eclipse-che/che-operator/org.eclipse.che/v2/checlusters.yaml @@ -1789,7 +1789,7 @@ spec: type: "object" type: "array" defaultEditor: - description: "The default editor to workspace create with. It could be a plugin ID or a URI. The plugin ID must have `publisher/plugin/version` format. The URI must start from `http://` or `https://`." + description: "The default editor to workspace create with. It could be a plugin ID or a URI. The plugin ID must have `publisher/name/version` format. The URI must start from `http://` or `https://`." type: "string" defaultNamespace: default: @@ -1812,7 +1812,7 @@ spec: items: properties: editor: - description: "The editor ID to specify default plug-ins for." + description: "The editor ID to specify default plug-ins for. The plugin ID must have `publisher/name/version` format." type: "string" plugins: description: "Default plug-in URIs for the specified editor." diff --git a/crd-catalog/elastic/cloud-on-k8s/agent.k8s.elastic.co/v1alpha1/agents.yaml b/crd-catalog/elastic/cloud-on-k8s/agent.k8s.elastic.co/v1alpha1/agents.yaml index a336e23c6..489498ce7 100644 --- a/crd-catalog/elastic/cloud-on-k8s/agent.k8s.elastic.co/v1alpha1/agents.yaml +++ b/crd-catalog/elastic/cloud-on-k8s/agent.k8s.elastic.co/v1alpha1/agents.yaml @@ -691,7 +691,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -740,7 +741,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -766,7 +768,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -780,7 +783,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -1609,7 +1613,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1658,7 +1663,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1684,7 +1690,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -1698,7 +1705,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -2471,6 +2479,8 @@ spec: ip: description: "IP address of the host file entry." type: "string" + required: + - "ip" type: "object" type: "array" x-kubernetes-list-map-keys: @@ -2497,7 +2507,8 @@ spec: description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2543,7 +2554,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2592,7 +2604,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2618,7 +2631,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -2632,7 +2646,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -3793,7 +3808,8 @@ spec: description: "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3816,7 +3832,8 @@ spec: description: "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3855,7 +3872,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -3875,7 +3893,8 @@ spec: description: "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4152,7 +4171,8 @@ spec: description: "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4269,7 +4289,8 @@ spec: description: "secretRef is the CHAP Secret for iSCSI target and initiator authentication" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4427,7 +4448,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -4513,7 +4535,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional field specify whether the Secret or its key must be defined" @@ -4593,7 +4616,8 @@ spec: description: "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4623,7 +4647,8 @@ spec: description: "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4695,7 +4720,8 @@ spec: description: "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -5388,7 +5414,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -5437,7 +5464,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -5463,7 +5491,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -5477,7 +5506,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -6306,7 +6336,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -6355,7 +6386,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -6381,7 +6413,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -6395,7 +6428,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -7168,6 +7202,8 @@ spec: ip: description: "IP address of the host file entry." type: "string" + required: + - "ip" type: "object" type: "array" x-kubernetes-list-map-keys: @@ -7194,7 +7230,8 @@ spec: description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -7240,7 +7277,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -7289,7 +7327,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -7315,7 +7354,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -7329,7 +7369,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -8490,7 +8531,8 @@ spec: description: "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -8513,7 +8555,8 @@ spec: description: "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -8552,7 +8595,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -8572,7 +8616,8 @@ spec: description: "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -8849,7 +8894,8 @@ spec: description: "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -8966,7 +9012,8 @@ spec: description: "secretRef is the CHAP Secret for iSCSI target and initiator authentication" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -9124,7 +9171,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -9210,7 +9258,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional field specify whether the Secret or its key must be defined" @@ -9290,7 +9339,8 @@ spec: description: "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -9320,7 +9370,8 @@ spec: description: "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -9392,7 +9443,8 @@ spec: description: "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -9643,7 +9695,7 @@ spec: type: "object" type: "object" trafficDistribution: - description: "TrafficDistribution offers a way to express preferences for how traffic is\ndistributed to Service endpoints. Implementations can use this field as a\nhint, but are not required to guarantee strict adherence. If the field is\nnot set, the implementation will apply its default routing strategy. If set\nto \"PreferClose\", implementations should prioritize endpoints that are\ntopologically close (e.g., same zone)." + description: "TrafficDistribution offers a way to express preferences for how traffic is\ndistributed to Service endpoints. Implementations can use this field as a\nhint, but are not required to guarantee strict adherence. If the field is\nnot set, the implementation will apply its default routing strategy. If set\nto \"PreferClose\", implementations should prioritize endpoints that are\ntopologically close (e.g., same zone).\nThis is an alpha field and requires enabling ServiceTrafficDistribution feature." type: "string" type: description: "type determines how the Service is exposed. Defaults to ClusterIP. Valid\noptions are ExternalName, ClusterIP, NodePort, and LoadBalancer.\n\"ClusterIP\" allocates a cluster-internal IP address for load-balancing\nto endpoints. Endpoints are determined by the selector or if that is not\nspecified, by manual construction of an Endpoints object or\nEndpointSlice objects. If clusterIP is \"None\", no virtual IP is\nallocated and the endpoints are published as a set of endpoints rather\nthan a virtual IP.\n\"NodePort\" builds on ClusterIP and allocates a port on every node which\nroutes to the same endpoints as the clusterIP.\n\"LoadBalancer\" builds on NodePort and creates an external load-balancer\n(if supported in the current cloud) which routes to the same endpoints\nas the clusterIP.\n\"ExternalName\" aliases this service to the specified externalName.\nSeveral other fields do not apply to ExternalName services.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types" @@ -10379,7 +10431,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -10428,7 +10481,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -10454,7 +10508,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -10468,7 +10523,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -11297,7 +11353,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -11346,7 +11403,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -11372,7 +11430,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -11386,7 +11445,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -12159,6 +12219,8 @@ spec: ip: description: "IP address of the host file entry." type: "string" + required: + - "ip" type: "object" type: "array" x-kubernetes-list-map-keys: @@ -12185,7 +12247,8 @@ spec: description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -12231,7 +12294,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -12280,7 +12344,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -12306,7 +12371,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -12320,7 +12386,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -13481,7 +13548,8 @@ spec: description: "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -13504,7 +13572,8 @@ spec: description: "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -13543,7 +13612,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -13563,7 +13633,8 @@ spec: description: "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -13840,7 +13911,8 @@ spec: description: "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -13957,7 +14029,8 @@ spec: description: "secretRef is the CHAP Secret for iSCSI target and initiator authentication" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -14115,7 +14188,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -14201,7 +14275,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional field specify whether the Secret or its key must be defined" @@ -14281,7 +14356,8 @@ spec: description: "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -14311,7 +14387,8 @@ spec: description: "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -14383,7 +14460,8 @@ spec: description: "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" diff --git a/crd-catalog/elastic/cloud-on-k8s/apm.k8s.elastic.co/v1/apmservers.yaml b/crd-catalog/elastic/cloud-on-k8s/apm.k8s.elastic.co/v1/apmservers.yaml index b1b077465..b4556dce6 100644 --- a/crd-catalog/elastic/cloud-on-k8s/apm.k8s.elastic.co/v1/apmservers.yaml +++ b/crd-catalog/elastic/cloud-on-k8s/apm.k8s.elastic.co/v1/apmservers.yaml @@ -216,7 +216,7 @@ spec: type: "object" type: "object" trafficDistribution: - description: "TrafficDistribution offers a way to express preferences for how traffic is\ndistributed to Service endpoints. Implementations can use this field as a\nhint, but are not required to guarantee strict adherence. If the field is\nnot set, the implementation will apply its default routing strategy. If set\nto \"PreferClose\", implementations should prioritize endpoints that are\ntopologically close (e.g., same zone)." + description: "TrafficDistribution offers a way to express preferences for how traffic is\ndistributed to Service endpoints. Implementations can use this field as a\nhint, but are not required to guarantee strict adherence. If the field is\nnot set, the implementation will apply its default routing strategy. If set\nto \"PreferClose\", implementations should prioritize endpoints that are\ntopologically close (e.g., same zone).\nThis is an alpha field and requires enabling ServiceTrafficDistribution feature." type: "string" type: description: "type determines how the Service is exposed. Defaults to ClusterIP. Valid\noptions are ExternalName, ClusterIP, NodePort, and LoadBalancer.\n\"ClusterIP\" allocates a cluster-internal IP address for load-balancing\nto endpoints. Endpoints are determined by the selector or if that is not\nspecified, by manual construction of an Endpoints object or\nEndpointSlice objects. If clusterIP is \"None\", no virtual IP is\nallocated and the endpoints are published as a set of endpoints rather\nthan a virtual IP.\n\"NodePort\" builds on ClusterIP and allocates a port on every node which\nroutes to the same endpoints as the clusterIP.\n\"LoadBalancer\" builds on NodePort and creates an external load-balancer\n(if supported in the current cloud) which routes to the same endpoints\nas the clusterIP.\n\"ExternalName\" aliases this service to the specified externalName.\nSeveral other fields do not apply to ExternalName services.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types" @@ -899,7 +899,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -948,7 +949,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -974,7 +976,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -988,7 +991,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -1817,7 +1821,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1866,7 +1871,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1892,7 +1898,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -1906,7 +1913,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -2679,6 +2687,8 @@ spec: ip: description: "IP address of the host file entry." type: "string" + required: + - "ip" type: "object" type: "array" x-kubernetes-list-map-keys: @@ -2705,7 +2715,8 @@ spec: description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2751,7 +2762,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2800,7 +2812,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2826,7 +2839,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -2840,7 +2854,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -4001,7 +4016,8 @@ spec: description: "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4024,7 +4040,8 @@ spec: description: "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4063,7 +4080,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -4083,7 +4101,8 @@ spec: description: "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4360,7 +4379,8 @@ spec: description: "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4477,7 +4497,8 @@ spec: description: "secretRef is the CHAP Secret for iSCSI target and initiator authentication" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4635,7 +4656,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -4721,7 +4743,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional field specify whether the Secret or its key must be defined" @@ -4801,7 +4824,8 @@ spec: description: "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4831,7 +4855,8 @@ spec: description: "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4903,7 +4928,8 @@ spec: description: "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" diff --git a/crd-catalog/elastic/cloud-on-k8s/apm.k8s.elastic.co/v1beta1/apmservers.yaml b/crd-catalog/elastic/cloud-on-k8s/apm.k8s.elastic.co/v1beta1/apmservers.yaml index 521eadd90..7f5677aec 100644 --- a/crd-catalog/elastic/cloud-on-k8s/apm.k8s.elastic.co/v1beta1/apmservers.yaml +++ b/crd-catalog/elastic/cloud-on-k8s/apm.k8s.elastic.co/v1beta1/apmservers.yaml @@ -212,7 +212,7 @@ spec: type: "object" type: "object" trafficDistribution: - description: "TrafficDistribution offers a way to express preferences for how traffic is\ndistributed to Service endpoints. Implementations can use this field as a\nhint, but are not required to guarantee strict adherence. If the field is\nnot set, the implementation will apply its default routing strategy. If set\nto \"PreferClose\", implementations should prioritize endpoints that are\ntopologically close (e.g., same zone)." + description: "TrafficDistribution offers a way to express preferences for how traffic is\ndistributed to Service endpoints. Implementations can use this field as a\nhint, but are not required to guarantee strict adherence. If the field is\nnot set, the implementation will apply its default routing strategy. If set\nto \"PreferClose\", implementations should prioritize endpoints that are\ntopologically close (e.g., same zone).\nThis is an alpha field and requires enabling ServiceTrafficDistribution feature." type: "string" type: description: "type determines how the Service is exposed. Defaults to ClusterIP. Valid\noptions are ExternalName, ClusterIP, NodePort, and LoadBalancer.\n\"ClusterIP\" allocates a cluster-internal IP address for load-balancing\nto endpoints. Endpoints are determined by the selector or if that is not\nspecified, by manual construction of an Endpoints object or\nEndpointSlice objects. If clusterIP is \"None\", no virtual IP is\nallocated and the endpoints are published as a set of endpoints rather\nthan a virtual IP.\n\"NodePort\" builds on ClusterIP and allocates a port on every node which\nroutes to the same endpoints as the clusterIP.\n\"LoadBalancer\" builds on NodePort and creates an external load-balancer\n(if supported in the current cloud) which routes to the same endpoints\nas the clusterIP.\n\"ExternalName\" aliases this service to the specified externalName.\nSeveral other fields do not apply to ExternalName services.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types" @@ -879,7 +879,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -928,7 +929,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -954,7 +956,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -968,7 +971,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -1797,7 +1801,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1846,7 +1851,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1872,7 +1878,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -1886,7 +1893,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -2659,6 +2667,8 @@ spec: ip: description: "IP address of the host file entry." type: "string" + required: + - "ip" type: "object" type: "array" x-kubernetes-list-map-keys: @@ -2685,7 +2695,8 @@ spec: description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2731,7 +2742,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2780,7 +2792,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2806,7 +2819,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -2820,7 +2834,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -3981,7 +3996,8 @@ spec: description: "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4004,7 +4020,8 @@ spec: description: "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4043,7 +4060,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -4063,7 +4081,8 @@ spec: description: "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4340,7 +4359,8 @@ spec: description: "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4457,7 +4477,8 @@ spec: description: "secretRef is the CHAP Secret for iSCSI target and initiator authentication" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4615,7 +4636,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -4701,7 +4723,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional field specify whether the Secret or its key must be defined" @@ -4781,7 +4804,8 @@ spec: description: "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4811,7 +4835,8 @@ spec: description: "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4883,7 +4908,8 @@ spec: description: "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" diff --git a/crd-catalog/elastic/cloud-on-k8s/beat.k8s.elastic.co/v1beta1/beats.yaml b/crd-catalog/elastic/cloud-on-k8s/beat.k8s.elastic.co/v1beta1/beats.yaml index 036265fe6..ad7b25ab7 100644 --- a/crd-catalog/elastic/cloud-on-k8s/beat.k8s.elastic.co/v1beta1/beats.yaml +++ b/crd-catalog/elastic/cloud-on-k8s/beat.k8s.elastic.co/v1beta1/beats.yaml @@ -695,7 +695,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -744,7 +745,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -770,7 +772,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -784,7 +787,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -1613,7 +1617,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1662,7 +1667,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1688,7 +1694,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -1702,7 +1709,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -2475,6 +2483,8 @@ spec: ip: description: "IP address of the host file entry." type: "string" + required: + - "ip" type: "object" type: "array" x-kubernetes-list-map-keys: @@ -2501,7 +2511,8 @@ spec: description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2547,7 +2558,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2596,7 +2608,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2622,7 +2635,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -2636,7 +2650,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -3797,7 +3812,8 @@ spec: description: "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3820,7 +3836,8 @@ spec: description: "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3859,7 +3876,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -3879,7 +3897,8 @@ spec: description: "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4156,7 +4175,8 @@ spec: description: "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4273,7 +4293,8 @@ spec: description: "secretRef is the CHAP Secret for iSCSI target and initiator authentication" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4431,7 +4452,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -4517,7 +4539,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional field specify whether the Secret or its key must be defined" @@ -4597,7 +4620,8 @@ spec: description: "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4627,7 +4651,8 @@ spec: description: "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4699,7 +4724,8 @@ spec: description: "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -5392,7 +5418,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -5441,7 +5468,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -5467,7 +5495,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -5481,7 +5510,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -6310,7 +6340,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -6359,7 +6390,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -6385,7 +6417,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -6399,7 +6432,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -7172,6 +7206,8 @@ spec: ip: description: "IP address of the host file entry." type: "string" + required: + - "ip" type: "object" type: "array" x-kubernetes-list-map-keys: @@ -7198,7 +7234,8 @@ spec: description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -7244,7 +7281,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -7293,7 +7331,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -7319,7 +7358,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -7333,7 +7373,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -8494,7 +8535,8 @@ spec: description: "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -8517,7 +8559,8 @@ spec: description: "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -8556,7 +8599,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -8576,7 +8620,8 @@ spec: description: "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -8853,7 +8898,8 @@ spec: description: "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -8970,7 +9016,8 @@ spec: description: "secretRef is the CHAP Secret for iSCSI target and initiator authentication" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -9128,7 +9175,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -9214,7 +9262,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional field specify whether the Secret or its key must be defined" @@ -9294,7 +9343,8 @@ spec: description: "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -9324,7 +9374,8 @@ spec: description: "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -9396,7 +9447,8 @@ spec: description: "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" diff --git a/crd-catalog/elastic/cloud-on-k8s/elasticsearch.k8s.elastic.co/v1/elasticsearches.yaml b/crd-catalog/elastic/cloud-on-k8s/elasticsearch.k8s.elastic.co/v1/elasticsearches.yaml index 9e84d87f2..a52101b7e 100644 --- a/crd-catalog/elastic/cloud-on-k8s/elasticsearch.k8s.elastic.co/v1/elasticsearches.yaml +++ b/crd-catalog/elastic/cloud-on-k8s/elasticsearch.k8s.elastic.co/v1/elasticsearches.yaml @@ -222,7 +222,7 @@ spec: type: "object" type: "object" trafficDistribution: - description: "TrafficDistribution offers a way to express preferences for how traffic is\ndistributed to Service endpoints. Implementations can use this field as a\nhint, but are not required to guarantee strict adherence. If the field is\nnot set, the implementation will apply its default routing strategy. If set\nto \"PreferClose\", implementations should prioritize endpoints that are\ntopologically close (e.g., same zone)." + description: "TrafficDistribution offers a way to express preferences for how traffic is\ndistributed to Service endpoints. Implementations can use this field as a\nhint, but are not required to guarantee strict adherence. If the field is\nnot set, the implementation will apply its default routing strategy. If set\nto \"PreferClose\", implementations should prioritize endpoints that are\ntopologically close (e.g., same zone).\nThis is an alpha field and requires enabling ServiceTrafficDistribution feature." type: "string" type: description: "type determines how the Service is exposed. Defaults to ClusterIP. Valid\noptions are ExternalName, ClusterIP, NodePort, and LoadBalancer.\n\"ClusterIP\" allocates a cluster-internal IP address for load-balancing\nto endpoints. Endpoints are determined by the selector or if that is not\nspecified, by manual construction of an Endpoints object or\nEndpointSlice objects. If clusterIP is \"None\", no virtual IP is\nallocated and the endpoints are published as a set of endpoints rather\nthan a virtual IP.\n\"NodePort\" builds on ClusterIP and allocates a port on every node which\nroutes to the same endpoints as the clusterIP.\n\"LoadBalancer\" builds on NodePort and creates an external load-balancer\n(if supported in the current cloud) which routes to the same endpoints\nas the clusterIP.\n\"ExternalName\" aliases this service to the specified externalName.\nSeveral other fields do not apply to ExternalName services.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types" @@ -957,7 +957,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1006,7 +1007,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1032,7 +1034,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -1046,7 +1049,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -1875,7 +1879,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1924,7 +1929,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1950,7 +1956,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -1964,7 +1971,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -2737,6 +2745,8 @@ spec: ip: description: "IP address of the host file entry." type: "string" + required: + - "ip" type: "object" type: "array" x-kubernetes-list-map-keys: @@ -2763,7 +2773,8 @@ spec: description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2809,7 +2820,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2858,7 +2870,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2884,7 +2897,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -2898,7 +2912,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -4059,7 +4074,8 @@ spec: description: "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4082,7 +4098,8 @@ spec: description: "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4121,7 +4138,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -4141,7 +4159,8 @@ spec: description: "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4418,7 +4437,8 @@ spec: description: "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4535,7 +4555,8 @@ spec: description: "secretRef is the CHAP Secret for iSCSI target and initiator authentication" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4693,7 +4714,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -4779,7 +4801,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional field specify whether the Secret or its key must be defined" @@ -4859,7 +4882,8 @@ spec: description: "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4889,7 +4913,8 @@ spec: description: "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4961,7 +4986,8 @@ spec: description: "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -5518,7 +5544,7 @@ spec: type: "object" type: "object" trafficDistribution: - description: "TrafficDistribution offers a way to express preferences for how traffic is\ndistributed to Service endpoints. Implementations can use this field as a\nhint, but are not required to guarantee strict adherence. If the field is\nnot set, the implementation will apply its default routing strategy. If set\nto \"PreferClose\", implementations should prioritize endpoints that are\ntopologically close (e.g., same zone)." + description: "TrafficDistribution offers a way to express preferences for how traffic is\ndistributed to Service endpoints. Implementations can use this field as a\nhint, but are not required to guarantee strict adherence. If the field is\nnot set, the implementation will apply its default routing strategy. If set\nto \"PreferClose\", implementations should prioritize endpoints that are\ntopologically close (e.g., same zone).\nThis is an alpha field and requires enabling ServiceTrafficDistribution feature." type: "string" type: description: "type determines how the Service is exposed. Defaults to ClusterIP. Valid\noptions are ExternalName, ClusterIP, NodePort, and LoadBalancer.\n\"ClusterIP\" allocates a cluster-internal IP address for load-balancing\nto endpoints. Endpoints are determined by the selector or if that is not\nspecified, by manual construction of an Endpoints object or\nEndpointSlice objects. If clusterIP is \"None\", no virtual IP is\nallocated and the endpoints are published as a set of endpoints rather\nthan a virtual IP.\n\"NodePort\" builds on ClusterIP and allocates a port on every node which\nroutes to the same endpoints as the clusterIP.\n\"LoadBalancer\" builds on NodePort and creates an external load-balancer\n(if supported in the current cloud) which routes to the same endpoints\nas the clusterIP.\n\"ExternalName\" aliases this service to the specified externalName.\nSeveral other fields do not apply to ExternalName services.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types" diff --git a/crd-catalog/elastic/cloud-on-k8s/elasticsearch.k8s.elastic.co/v1beta1/elasticsearches.yaml b/crd-catalog/elastic/cloud-on-k8s/elasticsearch.k8s.elastic.co/v1beta1/elasticsearches.yaml index d62ef6f31..aed2f6953 100644 --- a/crd-catalog/elastic/cloud-on-k8s/elasticsearch.k8s.elastic.co/v1beta1/elasticsearches.yaml +++ b/crd-catalog/elastic/cloud-on-k8s/elasticsearch.k8s.elastic.co/v1beta1/elasticsearches.yaml @@ -195,7 +195,7 @@ spec: type: "object" type: "object" trafficDistribution: - description: "TrafficDistribution offers a way to express preferences for how traffic is\ndistributed to Service endpoints. Implementations can use this field as a\nhint, but are not required to guarantee strict adherence. If the field is\nnot set, the implementation will apply its default routing strategy. If set\nto \"PreferClose\", implementations should prioritize endpoints that are\ntopologically close (e.g., same zone)." + description: "TrafficDistribution offers a way to express preferences for how traffic is\ndistributed to Service endpoints. Implementations can use this field as a\nhint, but are not required to guarantee strict adherence. If the field is\nnot set, the implementation will apply its default routing strategy. If set\nto \"PreferClose\", implementations should prioritize endpoints that are\ntopologically close (e.g., same zone).\nThis is an alpha field and requires enabling ServiceTrafficDistribution feature." type: "string" type: description: "type determines how the Service is exposed. Defaults to ClusterIP. Valid\noptions are ExternalName, ClusterIP, NodePort, and LoadBalancer.\n\"ClusterIP\" allocates a cluster-internal IP address for load-balancing\nto endpoints. Endpoints are determined by the selector or if that is not\nspecified, by manual construction of an Endpoints object or\nEndpointSlice objects. If clusterIP is \"None\", no virtual IP is\nallocated and the endpoints are published as a set of endpoints rather\nthan a virtual IP.\n\"NodePort\" builds on ClusterIP and allocates a port on every node which\nroutes to the same endpoints as the clusterIP.\n\"LoadBalancer\" builds on NodePort and creates an external load-balancer\n(if supported in the current cloud) which routes to the same endpoints\nas the clusterIP.\n\"ExternalName\" aliases this service to the specified externalName.\nSeveral other fields do not apply to ExternalName services.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types" @@ -880,7 +880,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -929,7 +930,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -955,7 +957,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -969,7 +972,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -1798,7 +1802,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1847,7 +1852,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1873,7 +1879,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -1887,7 +1894,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -2660,6 +2668,8 @@ spec: ip: description: "IP address of the host file entry." type: "string" + required: + - "ip" type: "object" type: "array" x-kubernetes-list-map-keys: @@ -2686,7 +2696,8 @@ spec: description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2732,7 +2743,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2781,7 +2793,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2807,7 +2820,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -2821,7 +2835,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -3982,7 +3997,8 @@ spec: description: "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4005,7 +4021,8 @@ spec: description: "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4044,7 +4061,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -4064,7 +4082,8 @@ spec: description: "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4341,7 +4360,8 @@ spec: description: "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4458,7 +4478,8 @@ spec: description: "secretRef is the CHAP Secret for iSCSI target and initiator authentication" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4616,7 +4637,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -4702,7 +4724,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional field specify whether the Secret or its key must be defined" @@ -4782,7 +4805,8 @@ spec: description: "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4812,7 +4836,8 @@ spec: description: "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4884,7 +4909,8 @@ spec: description: "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" diff --git a/crd-catalog/elastic/cloud-on-k8s/enterprisesearch.k8s.elastic.co/v1/enterprisesearches.yaml b/crd-catalog/elastic/cloud-on-k8s/enterprisesearch.k8s.elastic.co/v1/enterprisesearches.yaml index 392c423e5..e8a810eaf 100644 --- a/crd-catalog/elastic/cloud-on-k8s/enterprisesearch.k8s.elastic.co/v1/enterprisesearches.yaml +++ b/crd-catalog/elastic/cloud-on-k8s/enterprisesearch.k8s.elastic.co/v1/enterprisesearches.yaml @@ -223,7 +223,7 @@ spec: type: "object" type: "object" trafficDistribution: - description: "TrafficDistribution offers a way to express preferences for how traffic is\ndistributed to Service endpoints. Implementations can use this field as a\nhint, but are not required to guarantee strict adherence. If the field is\nnot set, the implementation will apply its default routing strategy. If set\nto \"PreferClose\", implementations should prioritize endpoints that are\ntopologically close (e.g., same zone)." + description: "TrafficDistribution offers a way to express preferences for how traffic is\ndistributed to Service endpoints. Implementations can use this field as a\nhint, but are not required to guarantee strict adherence. If the field is\nnot set, the implementation will apply its default routing strategy. If set\nto \"PreferClose\", implementations should prioritize endpoints that are\ntopologically close (e.g., same zone).\nThis is an alpha field and requires enabling ServiceTrafficDistribution feature." type: "string" type: description: "type determines how the Service is exposed. Defaults to ClusterIP. Valid\noptions are ExternalName, ClusterIP, NodePort, and LoadBalancer.\n\"ClusterIP\" allocates a cluster-internal IP address for load-balancing\nto endpoints. Endpoints are determined by the selector or if that is not\nspecified, by manual construction of an Endpoints object or\nEndpointSlice objects. If clusterIP is \"None\", no virtual IP is\nallocated and the endpoints are published as a set of endpoints rather\nthan a virtual IP.\n\"NodePort\" builds on ClusterIP and allocates a port on every node which\nroutes to the same endpoints as the clusterIP.\n\"LoadBalancer\" builds on NodePort and creates an external load-balancer\n(if supported in the current cloud) which routes to the same endpoints\nas the clusterIP.\n\"ExternalName\" aliases this service to the specified externalName.\nSeveral other fields do not apply to ExternalName services.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types" @@ -890,7 +890,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -939,7 +940,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -965,7 +967,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -979,7 +982,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -1808,7 +1812,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1857,7 +1862,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1883,7 +1889,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -1897,7 +1904,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -2670,6 +2678,8 @@ spec: ip: description: "IP address of the host file entry." type: "string" + required: + - "ip" type: "object" type: "array" x-kubernetes-list-map-keys: @@ -2696,7 +2706,8 @@ spec: description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2742,7 +2753,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2791,7 +2803,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2817,7 +2830,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -2831,7 +2845,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -3992,7 +4007,8 @@ spec: description: "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4015,7 +4031,8 @@ spec: description: "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4054,7 +4071,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -4074,7 +4092,8 @@ spec: description: "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4351,7 +4370,8 @@ spec: description: "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4468,7 +4488,8 @@ spec: description: "secretRef is the CHAP Secret for iSCSI target and initiator authentication" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4626,7 +4647,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -4712,7 +4734,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional field specify whether the Secret or its key must be defined" @@ -4792,7 +4815,8 @@ spec: description: "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4822,7 +4846,8 @@ spec: description: "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4894,7 +4919,8 @@ spec: description: "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" diff --git a/crd-catalog/elastic/cloud-on-k8s/enterprisesearch.k8s.elastic.co/v1beta1/enterprisesearches.yaml b/crd-catalog/elastic/cloud-on-k8s/enterprisesearch.k8s.elastic.co/v1beta1/enterprisesearches.yaml index 9c82f7975..9de6ff5fb 100644 --- a/crd-catalog/elastic/cloud-on-k8s/enterprisesearch.k8s.elastic.co/v1beta1/enterprisesearches.yaml +++ b/crd-catalog/elastic/cloud-on-k8s/enterprisesearch.k8s.elastic.co/v1beta1/enterprisesearches.yaml @@ -223,7 +223,7 @@ spec: type: "object" type: "object" trafficDistribution: - description: "TrafficDistribution offers a way to express preferences for how traffic is\ndistributed to Service endpoints. Implementations can use this field as a\nhint, but are not required to guarantee strict adherence. If the field is\nnot set, the implementation will apply its default routing strategy. If set\nto \"PreferClose\", implementations should prioritize endpoints that are\ntopologically close (e.g., same zone)." + description: "TrafficDistribution offers a way to express preferences for how traffic is\ndistributed to Service endpoints. Implementations can use this field as a\nhint, but are not required to guarantee strict adherence. If the field is\nnot set, the implementation will apply its default routing strategy. If set\nto \"PreferClose\", implementations should prioritize endpoints that are\ntopologically close (e.g., same zone).\nThis is an alpha field and requires enabling ServiceTrafficDistribution feature." type: "string" type: description: "type determines how the Service is exposed. Defaults to ClusterIP. Valid\noptions are ExternalName, ClusterIP, NodePort, and LoadBalancer.\n\"ClusterIP\" allocates a cluster-internal IP address for load-balancing\nto endpoints. Endpoints are determined by the selector or if that is not\nspecified, by manual construction of an Endpoints object or\nEndpointSlice objects. If clusterIP is \"None\", no virtual IP is\nallocated and the endpoints are published as a set of endpoints rather\nthan a virtual IP.\n\"NodePort\" builds on ClusterIP and allocates a port on every node which\nroutes to the same endpoints as the clusterIP.\n\"LoadBalancer\" builds on NodePort and creates an external load-balancer\n(if supported in the current cloud) which routes to the same endpoints\nas the clusterIP.\n\"ExternalName\" aliases this service to the specified externalName.\nSeveral other fields do not apply to ExternalName services.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types" @@ -890,7 +890,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -939,7 +940,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -965,7 +967,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -979,7 +982,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -1808,7 +1812,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1857,7 +1862,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1883,7 +1889,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -1897,7 +1904,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -2670,6 +2678,8 @@ spec: ip: description: "IP address of the host file entry." type: "string" + required: + - "ip" type: "object" type: "array" x-kubernetes-list-map-keys: @@ -2696,7 +2706,8 @@ spec: description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2742,7 +2753,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2791,7 +2803,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2817,7 +2830,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -2831,7 +2845,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -3992,7 +4007,8 @@ spec: description: "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4015,7 +4031,8 @@ spec: description: "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4054,7 +4071,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -4074,7 +4092,8 @@ spec: description: "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4351,7 +4370,8 @@ spec: description: "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4468,7 +4488,8 @@ spec: description: "secretRef is the CHAP Secret for iSCSI target and initiator authentication" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4626,7 +4647,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -4712,7 +4734,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional field specify whether the Secret or its key must be defined" @@ -4792,7 +4815,8 @@ spec: description: "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4822,7 +4846,8 @@ spec: description: "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4894,7 +4919,8 @@ spec: description: "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" diff --git a/crd-catalog/elastic/cloud-on-k8s/kibana.k8s.elastic.co/v1/kibanas.yaml b/crd-catalog/elastic/cloud-on-k8s/kibana.k8s.elastic.co/v1/kibanas.yaml index 2e8401c3f..a3ed85489 100644 --- a/crd-catalog/elastic/cloud-on-k8s/kibana.k8s.elastic.co/v1/kibanas.yaml +++ b/crd-catalog/elastic/cloud-on-k8s/kibana.k8s.elastic.co/v1/kibanas.yaml @@ -232,7 +232,7 @@ spec: type: "object" type: "object" trafficDistribution: - description: "TrafficDistribution offers a way to express preferences for how traffic is\ndistributed to Service endpoints. Implementations can use this field as a\nhint, but are not required to guarantee strict adherence. If the field is\nnot set, the implementation will apply its default routing strategy. If set\nto \"PreferClose\", implementations should prioritize endpoints that are\ntopologically close (e.g., same zone)." + description: "TrafficDistribution offers a way to express preferences for how traffic is\ndistributed to Service endpoints. Implementations can use this field as a\nhint, but are not required to guarantee strict adherence. If the field is\nnot set, the implementation will apply its default routing strategy. If set\nto \"PreferClose\", implementations should prioritize endpoints that are\ntopologically close (e.g., same zone).\nThis is an alpha field and requires enabling ServiceTrafficDistribution feature." type: "string" type: description: "type determines how the Service is exposed. Defaults to ClusterIP. Valid\noptions are ExternalName, ClusterIP, NodePort, and LoadBalancer.\n\"ClusterIP\" allocates a cluster-internal IP address for load-balancing\nto endpoints. Endpoints are determined by the selector or if that is not\nspecified, by manual construction of an Endpoints object or\nEndpointSlice objects. If clusterIP is \"None\", no virtual IP is\nallocated and the endpoints are published as a set of endpoints rather\nthan a virtual IP.\n\"NodePort\" builds on ClusterIP and allocates a port on every node which\nroutes to the same endpoints as the clusterIP.\n\"LoadBalancer\" builds on NodePort and creates an external load-balancer\n(if supported in the current cloud) which routes to the same endpoints\nas the clusterIP.\n\"ExternalName\" aliases this service to the specified externalName.\nSeveral other fields do not apply to ExternalName services.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types" @@ -949,7 +949,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -998,7 +999,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1024,7 +1026,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -1038,7 +1041,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -1867,7 +1871,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1916,7 +1921,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1942,7 +1948,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -1956,7 +1963,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -2729,6 +2737,8 @@ spec: ip: description: "IP address of the host file entry." type: "string" + required: + - "ip" type: "object" type: "array" x-kubernetes-list-map-keys: @@ -2755,7 +2765,8 @@ spec: description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2801,7 +2812,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2850,7 +2862,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2876,7 +2889,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -2890,7 +2904,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -4051,7 +4066,8 @@ spec: description: "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4074,7 +4090,8 @@ spec: description: "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4113,7 +4130,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -4133,7 +4151,8 @@ spec: description: "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4410,7 +4429,8 @@ spec: description: "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4527,7 +4547,8 @@ spec: description: "secretRef is the CHAP Secret for iSCSI target and initiator authentication" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4685,7 +4706,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -4771,7 +4793,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional field specify whether the Secret or its key must be defined" @@ -4851,7 +4874,8 @@ spec: description: "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4881,7 +4905,8 @@ spec: description: "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4953,7 +4978,8 @@ spec: description: "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" diff --git a/crd-catalog/elastic/cloud-on-k8s/kibana.k8s.elastic.co/v1beta1/kibanas.yaml b/crd-catalog/elastic/cloud-on-k8s/kibana.k8s.elastic.co/v1beta1/kibanas.yaml index a02af2361..476f33da9 100644 --- a/crd-catalog/elastic/cloud-on-k8s/kibana.k8s.elastic.co/v1beta1/kibanas.yaml +++ b/crd-catalog/elastic/cloud-on-k8s/kibana.k8s.elastic.co/v1beta1/kibanas.yaml @@ -212,7 +212,7 @@ spec: type: "object" type: "object" trafficDistribution: - description: "TrafficDistribution offers a way to express preferences for how traffic is\ndistributed to Service endpoints. Implementations can use this field as a\nhint, but are not required to guarantee strict adherence. If the field is\nnot set, the implementation will apply its default routing strategy. If set\nto \"PreferClose\", implementations should prioritize endpoints that are\ntopologically close (e.g., same zone)." + description: "TrafficDistribution offers a way to express preferences for how traffic is\ndistributed to Service endpoints. Implementations can use this field as a\nhint, but are not required to guarantee strict adherence. If the field is\nnot set, the implementation will apply its default routing strategy. If set\nto \"PreferClose\", implementations should prioritize endpoints that are\ntopologically close (e.g., same zone).\nThis is an alpha field and requires enabling ServiceTrafficDistribution feature." type: "string" type: description: "type determines how the Service is exposed. Defaults to ClusterIP. Valid\noptions are ExternalName, ClusterIP, NodePort, and LoadBalancer.\n\"ClusterIP\" allocates a cluster-internal IP address for load-balancing\nto endpoints. Endpoints are determined by the selector or if that is not\nspecified, by manual construction of an Endpoints object or\nEndpointSlice objects. If clusterIP is \"None\", no virtual IP is\nallocated and the endpoints are published as a set of endpoints rather\nthan a virtual IP.\n\"NodePort\" builds on ClusterIP and allocates a port on every node which\nroutes to the same endpoints as the clusterIP.\n\"LoadBalancer\" builds on NodePort and creates an external load-balancer\n(if supported in the current cloud) which routes to the same endpoints\nas the clusterIP.\n\"ExternalName\" aliases this service to the specified externalName.\nSeveral other fields do not apply to ExternalName services.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types" @@ -879,7 +879,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -928,7 +929,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -954,7 +956,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -968,7 +971,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -1797,7 +1801,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1846,7 +1851,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1872,7 +1878,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -1886,7 +1893,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -2659,6 +2667,8 @@ spec: ip: description: "IP address of the host file entry." type: "string" + required: + - "ip" type: "object" type: "array" x-kubernetes-list-map-keys: @@ -2685,7 +2695,8 @@ spec: description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2731,7 +2742,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2780,7 +2792,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2806,7 +2819,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -2820,7 +2834,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -3981,7 +3996,8 @@ spec: description: "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4004,7 +4020,8 @@ spec: description: "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4043,7 +4060,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -4063,7 +4081,8 @@ spec: description: "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4340,7 +4359,8 @@ spec: description: "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4457,7 +4477,8 @@ spec: description: "secretRef is the CHAP Secret for iSCSI target and initiator authentication" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4615,7 +4636,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -4701,7 +4723,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional field specify whether the Secret or its key must be defined" @@ -4781,7 +4804,8 @@ spec: description: "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4811,7 +4835,8 @@ spec: description: "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4883,7 +4908,8 @@ spec: description: "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" diff --git a/crd-catalog/elastic/cloud-on-k8s/maps.k8s.elastic.co/v1alpha1/elasticmapsservers.yaml b/crd-catalog/elastic/cloud-on-k8s/maps.k8s.elastic.co/v1alpha1/elasticmapsservers.yaml index cca305126..3108c7fa4 100644 --- a/crd-catalog/elastic/cloud-on-k8s/maps.k8s.elastic.co/v1alpha1/elasticmapsservers.yaml +++ b/crd-catalog/elastic/cloud-on-k8s/maps.k8s.elastic.co/v1alpha1/elasticmapsservers.yaml @@ -223,7 +223,7 @@ spec: type: "object" type: "object" trafficDistribution: - description: "TrafficDistribution offers a way to express preferences for how traffic is\ndistributed to Service endpoints. Implementations can use this field as a\nhint, but are not required to guarantee strict adherence. If the field is\nnot set, the implementation will apply its default routing strategy. If set\nto \"PreferClose\", implementations should prioritize endpoints that are\ntopologically close (e.g., same zone)." + description: "TrafficDistribution offers a way to express preferences for how traffic is\ndistributed to Service endpoints. Implementations can use this field as a\nhint, but are not required to guarantee strict adherence. If the field is\nnot set, the implementation will apply its default routing strategy. If set\nto \"PreferClose\", implementations should prioritize endpoints that are\ntopologically close (e.g., same zone).\nThis is an alpha field and requires enabling ServiceTrafficDistribution feature." type: "string" type: description: "type determines how the Service is exposed. Defaults to ClusterIP. Valid\noptions are ExternalName, ClusterIP, NodePort, and LoadBalancer.\n\"ClusterIP\" allocates a cluster-internal IP address for load-balancing\nto endpoints. Endpoints are determined by the selector or if that is not\nspecified, by manual construction of an Endpoints object or\nEndpointSlice objects. If clusterIP is \"None\", no virtual IP is\nallocated and the endpoints are published as a set of endpoints rather\nthan a virtual IP.\n\"NodePort\" builds on ClusterIP and allocates a port on every node which\nroutes to the same endpoints as the clusterIP.\n\"LoadBalancer\" builds on NodePort and creates an external load-balancer\n(if supported in the current cloud) which routes to the same endpoints\nas the clusterIP.\n\"ExternalName\" aliases this service to the specified externalName.\nSeveral other fields do not apply to ExternalName services.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types" @@ -890,7 +890,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -939,7 +940,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -965,7 +967,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -979,7 +982,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -1808,7 +1812,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1857,7 +1862,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1883,7 +1889,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -1897,7 +1904,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -2670,6 +2678,8 @@ spec: ip: description: "IP address of the host file entry." type: "string" + required: + - "ip" type: "object" type: "array" x-kubernetes-list-map-keys: @@ -2696,7 +2706,8 @@ spec: description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2742,7 +2753,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2791,7 +2803,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2817,7 +2830,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -2831,7 +2845,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -3992,7 +4007,8 @@ spec: description: "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4015,7 +4031,8 @@ spec: description: "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4054,7 +4071,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -4074,7 +4092,8 @@ spec: description: "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4351,7 +4370,8 @@ spec: description: "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4468,7 +4488,8 @@ spec: description: "secretRef is the CHAP Secret for iSCSI target and initiator authentication" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4626,7 +4647,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -4712,7 +4734,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional field specify whether the Secret or its key must be defined" @@ -4792,7 +4815,8 @@ spec: description: "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4822,7 +4846,8 @@ spec: description: "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4894,7 +4919,8 @@ spec: description: "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" diff --git a/crd-catalog/emqx/emqx-operator/apps.emqx.io/v2beta1/emqxes.yaml b/crd-catalog/emqx/emqx-operator/apps.emqx.io/v2beta1/emqxes.yaml index 29c4c6e68..75ac9f052 100644 --- a/crd-catalog/emqx/emqx-operator/apps.emqx.io/v2beta1/emqxes.yaml +++ b/crd-catalog/emqx/emqx-operator/apps.emqx.io/v2beta1/emqxes.yaml @@ -6961,9 +6961,6 @@ spec: type: "string" role: type: "string" - uptime: - format: "int64" - type: "integer" version: type: "string" type: "object" @@ -7053,9 +7050,6 @@ spec: type: "string" role: type: "string" - uptime: - format: "int64" - type: "integer" version: type: "string" type: "object" diff --git a/crd-catalog/external-secrets/external-secrets/external-secrets.io/v1alpha1/externalsecrets.yaml b/crd-catalog/external-secrets/external-secrets/external-secrets.io/v1alpha1/externalsecrets.yaml index c14ed4dbc..e2de44069 100644 --- a/crd-catalog/external-secrets/external-secrets/external-secrets.io/v1alpha1/externalsecrets.yaml +++ b/crd-catalog/external-secrets/external-secrets/external-secrets.io/v1alpha1/externalsecrets.yaml @@ -217,7 +217,8 @@ spec: description: "Binding represents a servicebinding.io Provisioned Service reference to the secret" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" diff --git a/crd-catalog/external-secrets/external-secrets/external-secrets.io/v1beta1/externalsecrets.yaml b/crd-catalog/external-secrets/external-secrets/external-secrets.io/v1beta1/externalsecrets.yaml index f5745867a..f038096f1 100644 --- a/crd-catalog/external-secrets/external-secrets/external-secrets.io/v1beta1/externalsecrets.yaml +++ b/crd-catalog/external-secrets/external-secrets/external-secrets.io/v1beta1/externalsecrets.yaml @@ -420,7 +420,8 @@ spec: description: "Binding represents a servicebinding.io Provisioned Service reference to the secret" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" diff --git a/crd-catalog/flanksource/canary-checker/canaries.flanksource.com/v1/topologies.yaml b/crd-catalog/flanksource/canary-checker/canaries.flanksource.com/v1/topologies.yaml index 4608b9161..0f1dfbd4a 100644 --- a/crd-catalog/flanksource/canary-checker/canaries.flanksource.com/v1/topologies.yaml +++ b/crd-catalog/flanksource/canary-checker/canaries.flanksource.com/v1/topologies.yaml @@ -448,6 +448,8 @@ spec: type: "array" type: "object" type: "array" + groupByTag: + type: "string" icon: type: "string" id: diff --git a/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusteroutputs.yaml b/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusteroutputs.yaml index 1adc88ae0..77e22adf7 100644 --- a/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusteroutputs.yaml +++ b/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusteroutputs.yaml @@ -487,6 +487,54 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "object" + cloudAuth: + description: "Authenticate towards Elastic Cloud using cloudAuth." + properties: + valueFrom: + description: "ValueSource defines how to find a value's key." + properties: + secretKeyRef: + description: "Selects a key of a secret in the pod's namespace" + properties: + key: + description: "The key of the secret to select from. Must be a valid secret key." + type: "string" + name: + description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + type: "string" + optional: + description: "Specify whether the Secret or its key must be defined" + type: "boolean" + required: + - "key" + type: "object" + x-kubernetes-map-type: "atomic" + type: "object" + type: "object" + cloudId: + description: "Authenticate towards Elastic Cloud using CloudId. If set, cloudAuth must be set as well and host, port, user and password are ignored." + properties: + valueFrom: + description: "ValueSource defines how to find a value's key." + properties: + secretKeyRef: + description: "Selects a key of a secret in the pod's namespace" + properties: + key: + description: "The key of the secret to select from. Must be a valid secret key." + type: "string" + name: + description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + type: "string" + optional: + description: "Specify whether the Secret or its key must be defined" + type: "boolean" + required: + - "key" + type: "object" + x-kubernetes-map-type: "atomic" + type: "object" + type: "object" host: description: "The hostname of your Elasticsearch node (default: localhost)." type: "string" diff --git a/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/outputs.yaml b/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/outputs.yaml index c7ba83270..61465f35b 100644 --- a/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/outputs.yaml +++ b/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/outputs.yaml @@ -487,6 +487,54 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "object" + cloudAuth: + description: "Authenticate towards Elastic Cloud using cloudAuth." + properties: + valueFrom: + description: "ValueSource defines how to find a value's key." + properties: + secretKeyRef: + description: "Selects a key of a secret in the pod's namespace" + properties: + key: + description: "The key of the secret to select from. Must be a valid secret key." + type: "string" + name: + description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + type: "string" + optional: + description: "Specify whether the Secret or its key must be defined" + type: "boolean" + required: + - "key" + type: "object" + x-kubernetes-map-type: "atomic" + type: "object" + type: "object" + cloudId: + description: "Authenticate towards Elastic Cloud using CloudId. If set, cloudAuth must be set as well and host, port, user and password are ignored." + properties: + valueFrom: + description: "ValueSource defines how to find a value's key." + properties: + secretKeyRef: + description: "Selects a key of a secret in the pod's namespace" + properties: + key: + description: "The key of the secret to select from. Must be a valid secret key." + type: "string" + name: + description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + type: "string" + optional: + description: "Specify whether the Secret or its key must be defined" + type: "boolean" + required: + - "key" + type: "object" + x-kubernetes-map-type: "atomic" + type: "object" + type: "object" host: description: "The hostname of your Elasticsearch node (default: localhost)." type: "string" diff --git a/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/buckets.yaml b/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/buckets.yaml index 5a6f55006..7c60bdb21 100644 --- a/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/buckets.yaml +++ b/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/buckets.yaml @@ -63,6 +63,15 @@ spec: bucketName: description: "BucketName is the name of the object storage bucket." type: "string" + certSecretRef: + description: "CertSecretRef can be given the name of a Secret containing\neither or both of\n\n\n- a PEM-encoded client certificate (`tls.crt`) and private\nkey (`tls.key`);\n- a PEM-encoded CA certificate (`ca.crt`)\n\n\nand whichever are supplied, will be used for connecting to the\nbucket. The client cert and key are useful if you are\nauthenticating with a certificate; the CA cert is useful if\nyou are using a self-signed server certificate. The Secret must\nbe of type `Opaque` or `kubernetes.io/tls`.\n\n\nThis field is only supported for the `generic` provider." + properties: + name: + description: "Name of the referent." + type: "string" + required: + - "name" + type: "object" endpoint: description: "Endpoint is the object storage address the BucketName is located at." type: "string" diff --git a/crd-catalog/grafana-operator/grafana-operator/grafana.integreatly.org/v1beta1/grafanadashboards.yaml b/crd-catalog/grafana-operator/grafana-operator/grafana.integreatly.org/v1beta1/grafanadashboards.yaml index 45e0b7c8f..47d371bbf 100644 --- a/crd-catalog/grafana-operator/grafana-operator/grafana.integreatly.org/v1beta1/grafanadashboards.yaml +++ b/crd-catalog/grafana-operator/grafana-operator/grafana.integreatly.org/v1beta1/grafanadashboards.yaml @@ -43,6 +43,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -72,6 +73,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -84,6 +86,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -107,6 +110,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -119,6 +123,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" diff --git a/crd-catalog/grafana-operator/grafana-operator/grafana.integreatly.org/v1beta1/grafanadatasources.yaml b/crd-catalog/grafana-operator/grafana-operator/grafana.integreatly.org/v1beta1/grafanadatasources.yaml index 675e7abe9..f34d68c2f 100644 --- a/crd-catalog/grafana-operator/grafana-operator/grafana.integreatly.org/v1beta1/grafanadatasources.yaml +++ b/crd-catalog/grafana-operator/grafana-operator/grafana.integreatly.org/v1beta1/grafanadatasources.yaml @@ -130,6 +130,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -142,6 +143,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" diff --git a/crd-catalog/grafana-operator/grafana-operator/grafana.integreatly.org/v1beta1/grafanas.yaml b/crd-catalog/grafana-operator/grafana-operator/grafana.integreatly.org/v1beta1/grafanas.yaml index 9f2ac65aa..e8b1d49e7 100644 --- a/crd-catalog/grafana-operator/grafana-operator/grafana.integreatly.org/v1beta1/grafanas.yaml +++ b/crd-catalog/grafana-operator/grafana-operator/grafana.integreatly.org/v1beta1/grafanas.yaml @@ -613,6 +613,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -651,6 +652,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -672,6 +674,7 @@ spec: configMapRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -682,6 +685,7 @@ spec: secretRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -1311,6 +1315,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1349,6 +1354,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1370,6 +1376,7 @@ spec: configMapRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -1380,6 +1387,7 @@ spec: secretRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -1967,6 +1975,8 @@ spec: x-kubernetes-list-type: "atomic" ip: type: "string" + required: + - "ip" type: "object" type: "array" hostIPC: @@ -1983,6 +1993,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2014,6 +2025,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2052,6 +2064,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2073,6 +2086,7 @@ spec: configMapRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -2083,6 +2097,7 @@ spec: secretRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -2927,6 +2942,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2944,6 +2960,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2974,6 +2991,7 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: + default: "" type: "string" optional: type: "boolean" @@ -2988,6 +3006,7 @@ spec: nodePublishSecretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3189,6 +3208,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3275,6 +3295,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3394,6 +3415,7 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: + default: "" type: "string" optional: type: "boolean" @@ -3460,6 +3482,7 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: + default: "" type: "string" optional: type: "boolean" @@ -3519,6 +3542,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3541,6 +3565,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3594,6 +3619,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3630,6 +3656,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3642,6 +3669,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3654,6 +3682,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4125,6 +4154,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" diff --git a/crd-catalog/grafana/tempo-operator/tempo.grafana.com/v1alpha1/tempomonolithics.yaml b/crd-catalog/grafana/tempo-operator/tempo.grafana.com/v1alpha1/tempomonolithics.yaml index 378c2269b..145d9d752 100644 --- a/crd-catalog/grafana/tempo-operator/tempo.grafana.com/v1alpha1/tempomonolithics.yaml +++ b/crd-catalog/grafana/tempo-operator/tempo.grafana.com/v1alpha1/tempomonolithics.yaml @@ -759,6 +759,9 @@ spec: required: - "enabled" type: "object" + servicesQueryDuration: + description: "ServicesQueryDuration defines how long the services will be available in the services list" + type: "string" required: - "enabled" type: "object" diff --git a/crd-catalog/gravitational/teleport/resources.teleport.dev/v2/teleportsamlconnectors.yaml b/crd-catalog/gravitational/teleport/resources.teleport.dev/v2/teleportsamlconnectors.yaml index 16cac5796..3652de35d 100644 --- a/crd-catalog/gravitational/teleport/resources.teleport.dev/v2/teleportsamlconnectors.yaml +++ b/crd-catalog/gravitational/teleport/resources.teleport.dev/v2/teleportsamlconnectors.yaml @@ -71,6 +71,17 @@ spec: cert: description: "Cert is the identity provider certificate PEM. IDP signs responses using this certificate." type: "string" + client_redirect_settings: + description: "ClientRedirectSettings defines which client redirect URLs are allowed for non-browser SSO logins other than the standard localhost ones." + nullable: true + properties: + allowed_https_hostnames: + description: "a list of hostnames allowed for https client redirect URLs" + items: + type: "string" + nullable: true + type: "array" + type: "object" display: description: "Display controls how this connector is displayed." type: "string" diff --git a/crd-catalog/gravitational/teleport/resources.teleport.dev/v3/teleportgithubconnectors.yaml b/crd-catalog/gravitational/teleport/resources.teleport.dev/v3/teleportgithubconnectors.yaml index 636c41d26..e1780978a 100644 --- a/crd-catalog/gravitational/teleport/resources.teleport.dev/v3/teleportgithubconnectors.yaml +++ b/crd-catalog/gravitational/teleport/resources.teleport.dev/v3/teleportgithubconnectors.yaml @@ -36,6 +36,17 @@ spec: client_id: description: "ClientID is the Github OAuth app client ID." type: "string" + client_redirect_settings: + description: "ClientRedirectSettings defines which client redirect URLs are allowed for non-browser SSO logins other than the standard localhost ones." + nullable: true + properties: + allowed_https_hostnames: + description: "a list of hostnames allowed for https client redirect URLs" + items: + type: "string" + nullable: true + type: "array" + type: "object" client_secret: description: "ClientSecret is the Github OAuth app client secret." type: "string" diff --git a/crd-catalog/gravitational/teleport/resources.teleport.dev/v3/teleportoidcconnectors.yaml b/crd-catalog/gravitational/teleport/resources.teleport.dev/v3/teleportoidcconnectors.yaml index 15563648c..08606e0cc 100644 --- a/crd-catalog/gravitational/teleport/resources.teleport.dev/v3/teleportoidcconnectors.yaml +++ b/crd-catalog/gravitational/teleport/resources.teleport.dev/v3/teleportoidcconnectors.yaml @@ -57,6 +57,17 @@ spec: client_id: description: "ClientID is the id of the authentication client (Teleport Auth server)." type: "string" + client_redirect_settings: + description: "ClientRedirectSettings defines which client redirect URLs are allowed for non-browser SSO logins other than the standard localhost ones." + nullable: true + properties: + allowed_https_hostnames: + description: "a list of hostnames allowed for https client redirect URLs" + items: + type: "string" + nullable: true + type: "array" + type: "object" client_secret: description: "ClientSecret is used to authenticate the client." type: "string" diff --git a/crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/hazelcasts.yaml b/crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/hazelcasts.yaml index bfe62acdd..222cdfd6a 100644 --- a/crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/hazelcasts.yaml +++ b/crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/hazelcasts.yaml @@ -1528,7 +1528,7 @@ spec: type: "object" type: "object" version: - default: "5.4.0" + default: "5.5.0-SNAPSHOT" description: "Version of Hazelcast Platform." type: "string" type: "object" diff --git a/crd-catalog/isindir/sops-secrets-operator/isindir.github.com/v1alpha1/sopssecrets.yaml b/crd-catalog/isindir/sops-secrets-operator/isindir.github.com/v1alpha1/sopssecrets.yaml index 5c425fc9c..c862e6e92 100644 --- a/crd-catalog/isindir/sops-secrets-operator/isindir.github.com/v1alpha1/sopssecrets.yaml +++ b/crd-catalog/isindir/sops-secrets-operator/isindir.github.com/v1alpha1/sopssecrets.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "sopssecrets.isindir.github.com" spec: group: "isindir.github.com" diff --git a/crd-catalog/isindir/sops-secrets-operator/isindir.github.com/v1alpha2/sopssecrets.yaml b/crd-catalog/isindir/sops-secrets-operator/isindir.github.com/v1alpha2/sopssecrets.yaml index d5893a267..16871cf02 100644 --- a/crd-catalog/isindir/sops-secrets-operator/isindir.github.com/v1alpha2/sopssecrets.yaml +++ b/crd-catalog/isindir/sops-secrets-operator/isindir.github.com/v1alpha2/sopssecrets.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "sopssecrets.isindir.github.com" spec: group: "isindir.github.com" diff --git a/crd-catalog/isindir/sops-secrets-operator/isindir.github.com/v1alpha3/sopssecrets.yaml b/crd-catalog/isindir/sops-secrets-operator/isindir.github.com/v1alpha3/sopssecrets.yaml index 1a4d8aa23..0db98623b 100644 --- a/crd-catalog/isindir/sops-secrets-operator/isindir.github.com/v1alpha3/sopssecrets.yaml +++ b/crd-catalog/isindir/sops-secrets-operator/isindir.github.com/v1alpha3/sopssecrets.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "sopssecrets.isindir.github.com" spec: group: "isindir.github.com" diff --git a/crd-catalog/istio/istio/extensions.istio.io/v1alpha1/wasmplugins.yaml b/crd-catalog/istio/istio/extensions.istio.io/v1alpha1/wasmplugins.yaml index f469ba72c..6d9ddf69c 100644 --- a/crd-catalog/istio/istio/extensions.istio.io/v1alpha1/wasmplugins.yaml +++ b/crd-catalog/istio/istio/extensions.istio.io/v1alpha1/wasmplugins.yaml @@ -109,7 +109,13 @@ spec: additionalProperties: type: "string" description: "One or more labels that indicate a specific set of pods/VMs on which a policy should be applied." + maxProperties: 4096 type: "object" + x-kubernetes-validations: + - message: "wildcard not allowed in label key match" + rule: "self.all(key, !key.contains('*'))" + - message: "wildcard not allowed in label value match" + rule: "self.map(key, self[key]).all(v, !v.contains('*'))" type: "object" sha256: description: "SHA256 checksum that will be used to verify Wasm module or OCI container." diff --git a/crd-catalog/istio/istio/networking.istio.io/v1/destinationrules.yaml b/crd-catalog/istio/istio/networking.istio.io/v1/destinationrules.yaml index 08ce33650..f8216f4c1 100644 --- a/crd-catalog/istio/istio/networking.istio.io/v1/destinationrules.yaml +++ b/crd-catalog/istio/istio/networking.istio.io/v1/destinationrules.yaml @@ -1354,7 +1354,13 @@ spec: additionalProperties: type: "string" description: "One or more labels that indicate a specific set of pods/VMs on which a policy should be applied." + maxProperties: 4096 type: "object" + x-kubernetes-validations: + - message: "wildcard not allowed in label key match" + rule: "self.all(key, !key.contains('*'))" + - message: "wildcard not allowed in label value match" + rule: "self.map(key, self[key]).all(v, !v.contains('*'))" type: "object" required: - "host" diff --git a/crd-catalog/istio/istio/networking.istio.io/v1alpha3/destinationrules.yaml b/crd-catalog/istio/istio/networking.istio.io/v1alpha3/destinationrules.yaml index 7109ed2ae..b9de69bb4 100644 --- a/crd-catalog/istio/istio/networking.istio.io/v1alpha3/destinationrules.yaml +++ b/crd-catalog/istio/istio/networking.istio.io/v1alpha3/destinationrules.yaml @@ -1354,7 +1354,13 @@ spec: additionalProperties: type: "string" description: "One or more labels that indicate a specific set of pods/VMs on which a policy should be applied." + maxProperties: 4096 type: "object" + x-kubernetes-validations: + - message: "wildcard not allowed in label key match" + rule: "self.all(key, !key.contains('*'))" + - message: "wildcard not allowed in label value match" + rule: "self.map(key, self[key]).all(v, !v.contains('*'))" type: "object" required: - "host" diff --git a/crd-catalog/istio/istio/networking.istio.io/v1beta1/destinationrules.yaml b/crd-catalog/istio/istio/networking.istio.io/v1beta1/destinationrules.yaml index d2fd69771..8c3e899e3 100644 --- a/crd-catalog/istio/istio/networking.istio.io/v1beta1/destinationrules.yaml +++ b/crd-catalog/istio/istio/networking.istio.io/v1beta1/destinationrules.yaml @@ -1354,7 +1354,13 @@ spec: additionalProperties: type: "string" description: "One or more labels that indicate a specific set of pods/VMs on which a policy should be applied." + maxProperties: 4096 type: "object" + x-kubernetes-validations: + - message: "wildcard not allowed in label key match" + rule: "self.all(key, !key.contains('*'))" + - message: "wildcard not allowed in label value match" + rule: "self.map(key, self[key]).all(v, !v.contains('*'))" type: "object" required: - "host" diff --git a/crd-catalog/istio/istio/networking.istio.io/v1beta1/proxyconfigs.yaml b/crd-catalog/istio/istio/networking.istio.io/v1beta1/proxyconfigs.yaml index 5c43fa73b..06563a0a3 100644 --- a/crd-catalog/istio/istio/networking.istio.io/v1beta1/proxyconfigs.yaml +++ b/crd-catalog/istio/istio/networking.istio.io/v1beta1/proxyconfigs.yaml @@ -52,7 +52,13 @@ spec: additionalProperties: type: "string" description: "One or more labels that indicate a specific set of pods/VMs on which a policy should be applied." + maxProperties: 4096 type: "object" + x-kubernetes-validations: + - message: "wildcard not allowed in label key match" + rule: "self.all(key, !key.contains('*'))" + - message: "wildcard not allowed in label value match" + rule: "self.map(key, self[key]).all(v, !v.contains('*'))" type: "object" type: "object" status: diff --git a/crd-catalog/istio/istio/security.istio.io/v1/authorizationpolicies.yaml b/crd-catalog/istio/istio/security.istio.io/v1/authorizationpolicies.yaml index e7f2ef57b..cc639d6c1 100644 --- a/crd-catalog/istio/istio/security.istio.io/v1/authorizationpolicies.yaml +++ b/crd-catalog/istio/istio/security.istio.io/v1/authorizationpolicies.yaml @@ -206,7 +206,13 @@ spec: additionalProperties: type: "string" description: "One or more labels that indicate a specific set of pods/VMs on which a policy should be applied." + maxProperties: 4096 type: "object" + x-kubernetes-validations: + - message: "wildcard not allowed in label key match" + rule: "self.all(key, !key.contains('*'))" + - message: "wildcard not allowed in label value match" + rule: "self.map(key, self[key]).all(v, !v.contains('*'))" type: "object" targetRef: properties: diff --git a/crd-catalog/istio/istio/security.istio.io/v1/peerauthentications.yaml b/crd-catalog/istio/istio/security.istio.io/v1/peerauthentications.yaml index 15936384c..2ab526caa 100644 --- a/crd-catalog/istio/istio/security.istio.io/v1/peerauthentications.yaml +++ b/crd-catalog/istio/istio/security.istio.io/v1/peerauthentications.yaml @@ -73,7 +73,13 @@ spec: additionalProperties: type: "string" description: "One or more labels that indicate a specific set of pods/VMs on which a policy should be applied." + maxProperties: 4096 type: "object" + x-kubernetes-validations: + - message: "wildcard not allowed in label key match" + rule: "self.all(key, !key.contains('*'))" + - message: "wildcard not allowed in label value match" + rule: "self.map(key, self[key]).all(v, !v.contains('*'))" type: "object" type: "object" status: diff --git a/crd-catalog/istio/istio/security.istio.io/v1/requestauthentications.yaml b/crd-catalog/istio/istio/security.istio.io/v1/requestauthentications.yaml index 6693fc695..9f26c5ee0 100644 --- a/crd-catalog/istio/istio/security.istio.io/v1/requestauthentications.yaml +++ b/crd-catalog/istio/istio/security.istio.io/v1/requestauthentications.yaml @@ -108,7 +108,13 @@ spec: additionalProperties: type: "string" description: "One or more labels that indicate a specific set of pods/VMs on which a policy should be applied." + maxProperties: 4096 type: "object" + x-kubernetes-validations: + - message: "wildcard not allowed in label key match" + rule: "self.all(key, !key.contains('*'))" + - message: "wildcard not allowed in label value match" + rule: "self.map(key, self[key]).all(v, !v.contains('*'))" type: "object" targetRef: properties: diff --git a/crd-catalog/istio/istio/security.istio.io/v1beta1/authorizationpolicies.yaml b/crd-catalog/istio/istio/security.istio.io/v1beta1/authorizationpolicies.yaml index ef33d7d1b..c45a3ffca 100644 --- a/crd-catalog/istio/istio/security.istio.io/v1beta1/authorizationpolicies.yaml +++ b/crd-catalog/istio/istio/security.istio.io/v1beta1/authorizationpolicies.yaml @@ -206,7 +206,13 @@ spec: additionalProperties: type: "string" description: "One or more labels that indicate a specific set of pods/VMs on which a policy should be applied." + maxProperties: 4096 type: "object" + x-kubernetes-validations: + - message: "wildcard not allowed in label key match" + rule: "self.all(key, !key.contains('*'))" + - message: "wildcard not allowed in label value match" + rule: "self.map(key, self[key]).all(v, !v.contains('*'))" type: "object" targetRef: properties: diff --git a/crd-catalog/istio/istio/security.istio.io/v1beta1/peerauthentications.yaml b/crd-catalog/istio/istio/security.istio.io/v1beta1/peerauthentications.yaml index 4c44e8f16..342bdc4d2 100644 --- a/crd-catalog/istio/istio/security.istio.io/v1beta1/peerauthentications.yaml +++ b/crd-catalog/istio/istio/security.istio.io/v1beta1/peerauthentications.yaml @@ -73,7 +73,13 @@ spec: additionalProperties: type: "string" description: "One or more labels that indicate a specific set of pods/VMs on which a policy should be applied." + maxProperties: 4096 type: "object" + x-kubernetes-validations: + - message: "wildcard not allowed in label key match" + rule: "self.all(key, !key.contains('*'))" + - message: "wildcard not allowed in label value match" + rule: "self.map(key, self[key]).all(v, !v.contains('*'))" type: "object" type: "object" status: diff --git a/crd-catalog/istio/istio/security.istio.io/v1beta1/requestauthentications.yaml b/crd-catalog/istio/istio/security.istio.io/v1beta1/requestauthentications.yaml index 823fc8234..75bf80bbc 100644 --- a/crd-catalog/istio/istio/security.istio.io/v1beta1/requestauthentications.yaml +++ b/crd-catalog/istio/istio/security.istio.io/v1beta1/requestauthentications.yaml @@ -108,7 +108,13 @@ spec: additionalProperties: type: "string" description: "One or more labels that indicate a specific set of pods/VMs on which a policy should be applied." + maxProperties: 4096 type: "object" + x-kubernetes-validations: + - message: "wildcard not allowed in label key match" + rule: "self.all(key, !key.contains('*'))" + - message: "wildcard not allowed in label value match" + rule: "self.map(key, self[key]).all(v, !v.contains('*'))" type: "object" targetRef: properties: diff --git a/crd-catalog/istio/istio/telemetry.istio.io/v1/telemetries.yaml b/crd-catalog/istio/istio/telemetry.istio.io/v1/telemetries.yaml index 15b49d879..b3c06cd2c 100644 --- a/crd-catalog/istio/istio/telemetry.istio.io/v1/telemetries.yaml +++ b/crd-catalog/istio/istio/telemetry.istio.io/v1/telemetries.yaml @@ -175,7 +175,13 @@ spec: additionalProperties: type: "string" description: "One or more labels that indicate a specific set of pods/VMs on which a policy should be applied." + maxProperties: 4096 type: "object" + x-kubernetes-validations: + - message: "wildcard not allowed in label key match" + rule: "self.all(key, !key.contains('*'))" + - message: "wildcard not allowed in label value match" + rule: "self.map(key, self[key]).all(v, !v.contains('*'))" type: "object" targetRef: properties: diff --git a/crd-catalog/istio/istio/telemetry.istio.io/v1alpha1/telemetries.yaml b/crd-catalog/istio/istio/telemetry.istio.io/v1alpha1/telemetries.yaml index 9a022d9aa..d8df9371e 100644 --- a/crd-catalog/istio/istio/telemetry.istio.io/v1alpha1/telemetries.yaml +++ b/crd-catalog/istio/istio/telemetry.istio.io/v1alpha1/telemetries.yaml @@ -175,7 +175,13 @@ spec: additionalProperties: type: "string" description: "One or more labels that indicate a specific set of pods/VMs on which a policy should be applied." + maxProperties: 4096 type: "object" + x-kubernetes-validations: + - message: "wildcard not allowed in label key match" + rule: "self.all(key, !key.contains('*'))" + - message: "wildcard not allowed in label value match" + rule: "self.map(key, self[key]).all(v, !v.contains('*'))" type: "object" targetRef: properties: diff --git a/crd-catalog/k8ssandra/cass-operator/cassandra.datastax.com/v1beta1/cassandradatacenters.yaml b/crd-catalog/k8ssandra/cass-operator/cassandra.datastax.com/v1beta1/cassandradatacenters.yaml index 609dfae55..aadfc7771 100644 --- a/crd-catalog/k8ssandra/cass-operator/cassandra.datastax.com/v1beta1/cassandradatacenters.yaml +++ b/crd-catalog/k8ssandra/cass-operator/cassandra.datastax.com/v1beta1/cassandradatacenters.yaml @@ -5341,14 +5341,15 @@ spec: description: "Cassandra server image name. Use of ImageConfig to match ServerVersion is recommended instead of this value.\nThis value will override anything set in the ImageConfig matching the ServerVersion\nMore info: https://kubernetes.io/docs/concepts/containers/images" type: "string" serverType: - description: "Server type: \"cassandra\" or \"dse\"" + description: "Server type: \"cassandra\", \"dse\" or \"hcd\"" enum: - "cassandra" - "dse" + - "hcd" type: "string" serverVersion: description: "Version string for config builder,\nused to generate Cassandra server configuration" - pattern: "(6\\.8\\.\\d+)|(3\\.11\\.\\d+)|(4\\.\\d+\\.\\d+)|(5\\.\\d+\\.\\d+)|(7\\.\\d+\\.\\d+)" + pattern: "(6\\.[89]\\.\\d+)|(3\\.11\\.\\d+)|(4\\.\\d+\\.\\d+)|(5\\.\\d+\\.\\d+)|(1\\.\\d+\\.\\d+)" type: "string" serviceAccount: description: "Deprecated DeprecatedServiceAccount Use ServiceAccountName instead, which takes precedence. The k8s service account to use for the server pods" diff --git a/crd-catalog/kiali/kiali-operator/kiali.io/v1alpha1/kialis.yaml b/crd-catalog/kiali/kiali-operator/kiali.io/v1alpha1/kialis.yaml index 8d5912d48..52f0eb6f3 100644 --- a/crd-catalog/kiali/kiali-operator/kiali.io/v1alpha1/kialis.yaml +++ b/crd-catalog/kiali/kiali-operator/kiali.io/v1alpha1/kialis.yaml @@ -722,6 +722,10 @@ spec: description: "Username to be used when making requests to the Tracing server with `basic` authentication." type: "string" type: "object" + custom_headers: + description: "A set of name/value settings that will be passed as headers when requests are sent to the Tracing backend." + type: "object" + x-kubernetes-preserve-unknown-fields: true enabled: description: "When true, connections to the Tracing server are enabled. `in_cluster_url` and/or `url` need to be provided." type: "boolean" diff --git a/crd-catalog/koordinator-sh/koordinator/config.koordinator.sh/v1alpha1/clustercolocationprofiles.yaml b/crd-catalog/koordinator-sh/koordinator/config.koordinator.sh/v1alpha1/clustercolocationprofiles.yaml index 871cdad98..3b3992047 100644 --- a/crd-catalog/koordinator-sh/koordinator/config.koordinator.sh/v1alpha1/clustercolocationprofiles.yaml +++ b/crd-catalog/koordinator-sh/koordinator/config.koordinator.sh/v1alpha1/clustercolocationprofiles.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.9.0" + controller-gen.kubebuilder.io/version: "v0.14.0" name: "clustercolocationprofiles.config.koordinator.sh" spec: group: "config.koordinator.sh" @@ -19,10 +19,10 @@ spec: description: "ClusterColocationProfile is the Schema for the ClusterColocationProfile API" properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -32,7 +32,7 @@ spec: annotationKeysMapping: additionalProperties: type: "string" - description: "AnnotationKeysMapping describes the annotations that needs to inject into Pod.Annotations with the same values. It sets the Pod.Annotations[AnnotationsToAnnotations[k]] = Pod.Annotations[k] for each key k." + description: "AnnotationKeysMapping describes the annotations that needs to inject into Pod.Annotations with the same values.\nIt sets the Pod.Annotations[AnnotationsToAnnotations[k]] = Pod.Annotations[k] for each key k." type: "object" annotations: additionalProperties: @@ -40,13 +40,13 @@ spec: description: "Annotations describes the k/v pair that needs to inject into Pod.Annotations" type: "object" koordinatorPriority: - description: "KoordinatorPriority defines the Pod sub-priority in Koordinator. The priority value will be injected into Pod as label koordinator.sh/priority. Various Koordinator components determine the priority of the Pod in the Koordinator through KoordinatorPriority and the priority value in PriorityClassName. The higher the value, the higher the priority." + description: "KoordinatorPriority defines the Pod sub-priority in Koordinator.\nThe priority value will be injected into Pod as label koordinator.sh/priority.\nVarious Koordinator components determine the priority of the Pod\nin the Koordinator through KoordinatorPriority and the priority value in PriorityClassName.\nThe higher the value, the higher the priority." format: "int32" type: "integer" labelKeysMapping: additionalProperties: type: "string" - description: "LabelKeysMapping describes the labels that needs to inject into Pod.Labels with the same values. It sets the Pod.Labels[LabelsToLabels[k]] = Pod.Labels[k] for each key k." + description: "LabelKeysMapping describes the labels that needs to inject into Pod.Labels with the same values.\nIt sets the Pod.Labels[LabelsToLabels[k]] = Pod.Labels[k] for each key k." type: "object" labels: additionalProperties: @@ -54,21 +54,21 @@ spec: description: "Labels describes the k/v pair that needs to inject into Pod.Labels" type: "object" namespaceSelector: - description: "NamespaceSelector decides whether to mutate/validate Pods if the namespace matches the selector. Default to the empty LabelSelector, which matches everything." + description: "NamespaceSelector decides whether to mutate/validate Pods if the\nnamespace matches the selector.\nDefault to the empty LabelSelector, which matches everything." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" @@ -80,14 +80,15 @@ spec: matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" patch: description: "Patch indicates patching podTemplate that will be injected to the Pod." x-kubernetes-preserve-unknown-fields: true priorityClassName: - description: "If specified, the priorityClassName and the priority value defined in PriorityClass will be injected into the Pod. The PriorityClassName, priority value in PriorityClassName and KoordinatorPriority will affect the scheduling, preemption and other behaviors of Koordinator system." + description: "If specified, the priorityClassName and the priority value defined in PriorityClass\nwill be injected into the Pod.\nThe PriorityClassName, priority value in PriorityClassName and\nKoordinatorPriority will affect the scheduling, preemption and\nother behaviors of Koordinator system." type: "string" probability: anyOf: @@ -96,7 +97,7 @@ spec: description: "Probability indicates profile will make effect with a probability." x-kubernetes-int-or-string: true qosClass: - description: "QoSClass describes the type of Koordinator QoS that the Pod is running. The value will be injected into Pod as label koordinator.sh/qosClass. Options are LSE/LSR/LS/BE/SYSTEM." + description: "QoSClass describes the type of Koordinator QoS that the Pod is running.\nThe value will be injected into Pod as label koordinator.sh/qosClass.\nOptions are LSE/LSR/LS/BE/SYSTEM." enum: - "LSE" - "LSR" @@ -108,21 +109,21 @@ spec: description: "If specified, the pod will be dispatched by specified scheduler." type: "string" selector: - description: "Selector decides whether to mutate/validate Pods if the Pod matches the selector. Default to the empty LabelSelector, which matches everything." + description: "Selector decides whether to mutate/validate Pods if the\nPod matches the selector.\nDefault to the empty LabelSelector, which matches everything." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" @@ -134,9 +135,10 @@ spec: matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" type: "object" status: description: "ClusterColocationProfileStatus represents information about the status of a ClusterColocationProfile." diff --git a/crd-catalog/koordinator-sh/koordinator/scheduling.koordinator.sh/v1alpha1/devices.yaml b/crd-catalog/koordinator-sh/koordinator/scheduling.koordinator.sh/v1alpha1/devices.yaml index 63c136c9d..55e305e93 100644 --- a/crd-catalog/koordinator-sh/koordinator/scheduling.koordinator.sh/v1alpha1/devices.yaml +++ b/crd-catalog/koordinator-sh/koordinator/scheduling.koordinator.sh/v1alpha1/devices.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.9.0" + controller-gen.kubebuilder.io/version: "v0.14.0" name: "devices.scheduling.koordinator.sh" spec: group: "scheduling.koordinator.sh" @@ -18,10 +18,10 @@ spec: openAPIV3Schema: properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" diff --git a/crd-catalog/koordinator-sh/koordinator/scheduling.koordinator.sh/v1alpha1/podmigrationjobs.yaml b/crd-catalog/koordinator-sh/koordinator/scheduling.koordinator.sh/v1alpha1/podmigrationjobs.yaml index 67604a482..33b0ddf09 100644 --- a/crd-catalog/koordinator-sh/koordinator/scheduling.koordinator.sh/v1alpha1/podmigrationjobs.yaml +++ b/crd-catalog/koordinator-sh/koordinator/scheduling.koordinator.sh/v1alpha1/podmigrationjobs.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.9.0" + controller-gen.kubebuilder.io/version: "v0.14.0" name: "podmigrationjobs.scheduling.koordinator.sh" spec: group: "scheduling.koordinator.sh" @@ -50,10 +50,10 @@ spec: openAPIV3Schema: properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -63,25 +63,25 @@ spec: description: "DeleteOptions defines the deleting options for the migrated Pod and preempted Pods" properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" dryRun: - description: "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed" + description: "When present, indicates that modifications should not be\npersisted. An invalid or unrecognized dryRun directive will\nresult in an error response and no further processing of the\nrequest. Valid values are:\n- All: all dry run stages will be processed" items: type: "string" type: "array" gracePeriodSeconds: - description: "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately." + description: "The duration in seconds before the object should be deleted. Value must be non-negative integer.\nThe value zero indicates delete immediately. If this value is nil, the default grace period for the\nspecified type will be used.\nDefaults to a per object value if not specified. zero means delete immediately." format: "int64" type: "integer" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" orphanDependents: - description: "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both." + description: "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.\nShould the dependent objects be orphaned. If true/false, the \"orphan\"\nfinalizer will be added to/removed from the object's finalizers list.\nEither this field or PropagationPolicy may be set, but not both." type: "boolean" preconditions: - description: "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned." + description: "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be\nreturned." properties: resourceVersion: description: "Specifies the target ResourceVersion" @@ -91,14 +91,14 @@ spec: type: "string" type: "object" propagationPolicy: - description: "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground." + description: "Whether and how garbage collection will be performed.\nEither this field or OrphanDependents may be set, but not both.\nThe default policy is decided by the existing finalizer set in the\nmetadata.finalizers and the resource-specific default policy.\nAcceptable values are: 'Orphan' - orphan the dependents; 'Background' -\nallow the garbage collector to delete the dependents in the background;\n'Foreground' - a cascading policy that deletes all dependents in the\nforeground." type: "string" type: "object" mode: - description: "Mode represents the operating mode of the Job Default is PodMigrationJobModeReservationFirst" + description: "Mode represents the operating mode of the Job\nDefault is PodMigrationJobModeReservationFirst" type: "string" paused: - description: "Paused indicates whether the PodMigrationJob should to work or not. Default is false" + description: "Paused indicates whether the PodMigrationJob should to work or not.\nDefault is false" type: "boolean" podRef: description: "PodRef represents the Pod that be migrated" @@ -107,55 +107,57 @@ spec: description: "API version of the referent." type: "string" fieldPath: - description: "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future." + description: "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.\nTODO: this design is not final and this field is subject to change in the future." type: "string" kind: - description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" type: "string" namespace: - description: "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" resourceVersion: - description: "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + description: "Specific resourceVersion to which this reference is made, if any.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" type: "string" uid: - description: "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + description: "UID of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" type: "string" type: "object" + x-kubernetes-map-type: "atomic" reservationOptions: description: "ReservationOptions defines the Reservation options for migrated Pod" properties: preemptionOptions: - description: "PreemptionOption decides whether to preempt other Pods. The preemption is safe and reserves resources for preempted Pods." + description: "PreemptionOption decides whether to preempt other Pods.\nThe preemption is safe and reserves resources for preempted Pods." type: "object" reservationRef: - description: "ReservationRef if specified, PodMigrationJob will check if the status of Reservation is available. ReservationRef if not specified, PodMigrationJob controller will create Reservation by Template, and update the ReservationRef to reference the Reservation" + description: "ReservationRef if specified, PodMigrationJob will check if the status of Reservation is available.\nReservationRef if not specified, PodMigrationJob controller will create Reservation by Template,\nand update the ReservationRef to reference the Reservation" properties: apiVersion: description: "API version of the referent." type: "string" fieldPath: - description: "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future." + description: "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.\nTODO: this design is not final and this field is subject to change in the future." type: "string" kind: - description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" type: "string" namespace: - description: "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" resourceVersion: - description: "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + description: "Specific resourceVersion to which this reference is made, if any.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" type: "string" uid: - description: "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + description: "UID of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" type: "string" type: "object" + x-kubernetes-map-type: "atomic" template: description: "Template is the object that describes the Reservation that will be created if not specified ReservationRef" x-kubernetes-preserve-unknown-fields: true @@ -189,7 +191,7 @@ spec: description: "Unique, one-word, CamelCase reason for the condition's last transition." type: "string" status: - description: "Status is the status of the condition. Can be True, False, Unknown." + description: "Status is the status of the condition.\nCan be True, False, Unknown." type: "string" type: description: "Type is the type of the condition." @@ -206,7 +208,7 @@ spec: description: "NodeName represents the node's name of migrated Pod" type: "string" phase: - description: "PodMigrationJobPhase represents the phase of a PodMigrationJob is a simple, high-level summary of where the PodMigrationJob is in its lifecycle. e.g. Pending/Running/Failed" + description: "PodMigrationJobPhase represents the phase of a PodMigrationJob is a simple, high-level summary of where the PodMigrationJob is in its lifecycle.\ne.g. Pending/Running/Failed" type: "string" podRef: description: "PodRef represents the newly created Pod after being migrated" @@ -215,51 +217,53 @@ spec: description: "API version of the referent." type: "string" fieldPath: - description: "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future." + description: "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.\nTODO: this design is not final and this field is subject to change in the future." type: "string" kind: - description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" type: "string" namespace: - description: "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" resourceVersion: - description: "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + description: "Specific resourceVersion to which this reference is made, if any.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" type: "string" uid: - description: "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + description: "UID of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" type: "string" type: "object" + x-kubernetes-map-type: "atomic" preemptedPodsRef: description: "PreemptedPodsRef represents the Pods that be preempted" items: - description: "ObjectReference contains enough information to let you inspect or modify the referred object. --- New uses of this type are discouraged because of difficulty describing its usage when embedded in APIs. 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage. 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular restrictions like, \"must refer only to types A and B\" or \"UID not honored\" or \"name must be restricted\". Those cannot be well described when embedded. 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen. 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple and the version of the actual struct is irrelevant. 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control. \n Instead of using this type, create a locally provided and used type that is well-focused on your reference. For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 ." + description: "ObjectReference contains enough information to let you inspect or modify the referred object.\n---\nNew uses of this type are discouraged because of difficulty describing its usage when embedded in APIs.\n 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage.\n 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular\n restrictions like, \"must refer only to types A and B\" or \"UID not honored\" or \"name must be restricted\".\n Those cannot be well described when embedded.\n 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen.\n 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity\n during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple\n and the version of the actual struct is irrelevant.\n 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type\n will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control.\n\n\nInstead of using this type, create a locally provided and used type that is well-focused on your reference.\nFor example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 ." properties: apiVersion: description: "API version of the referent." type: "string" fieldPath: - description: "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future." + description: "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.\nTODO: this design is not final and this field is subject to change in the future." type: "string" kind: - description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" type: "string" namespace: - description: "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" resourceVersion: - description: "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + description: "Specific resourceVersion to which this reference is made, if any.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" type: "string" uid: - description: "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + description: "UID of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" type: "string" type: "object" + x-kubernetes-map-type: "atomic" type: "array" preemptedPodsReservation: description: "PreemptedPodsReservations records information about Reservations created due to preemption" @@ -280,30 +284,31 @@ spec: podsRef: description: "PodsRef represents the newly created Pods after being preempted" items: - description: "ObjectReference contains enough information to let you inspect or modify the referred object. --- New uses of this type are discouraged because of difficulty describing its usage when embedded in APIs. 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage. 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular restrictions like, \"must refer only to types A and B\" or \"UID not honored\" or \"name must be restricted\". Those cannot be well described when embedded. 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen. 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple and the version of the actual struct is irrelevant. 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control. \n Instead of using this type, create a locally provided and used type that is well-focused on your reference. For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 ." + description: "ObjectReference contains enough information to let you inspect or modify the referred object.\n---\nNew uses of this type are discouraged because of difficulty describing its usage when embedded in APIs.\n 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage.\n 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular\n restrictions like, \"must refer only to types A and B\" or \"UID not honored\" or \"name must be restricted\".\n Those cannot be well described when embedded.\n 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen.\n 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity\n during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple\n and the version of the actual struct is irrelevant.\n 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type\n will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control.\n\n\nInstead of using this type, create a locally provided and used type that is well-focused on your reference.\nFor example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 ." properties: apiVersion: description: "API version of the referent." type: "string" fieldPath: - description: "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future." + description: "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.\nTODO: this design is not final and this field is subject to change in the future." type: "string" kind: - description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" type: "string" namespace: - description: "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" resourceVersion: - description: "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + description: "Specific resourceVersion to which this reference is made, if any.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" type: "string" uid: - description: "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + description: "UID of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" type: "string" type: "object" + x-kubernetes-map-type: "atomic" type: "array" preemptedPodRef: description: "PreemptedPodRef represents the Pod that be preempted" @@ -312,31 +317,32 @@ spec: description: "API version of the referent." type: "string" fieldPath: - description: "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future." + description: "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.\nTODO: this design is not final and this field is subject to change in the future." type: "string" kind: - description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" type: "string" namespace: - description: "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" resourceVersion: - description: "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + description: "Specific resourceVersion to which this reference is made, if any.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" type: "string" uid: - description: "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + description: "UID of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" type: "string" type: "object" + x-kubernetes-map-type: "atomic" type: "object" type: "array" reason: description: "Reason represents a brief CamelCase message indicating details about why the PodMigrationJob is in this state." type: "string" status: - description: "Status represents the current status of PodMigrationJob e.g. ReservationCreated" + description: "Status represents the current status of PodMigrationJob\ne.g. ReservationCreated" type: "string" type: "object" type: "object" diff --git a/crd-catalog/koordinator-sh/koordinator/scheduling.koordinator.sh/v1alpha1/reservations.yaml b/crd-catalog/koordinator-sh/koordinator/scheduling.koordinator.sh/v1alpha1/reservations.yaml index 9a2904791..068c7e272 100644 --- a/crd-catalog/koordinator-sh/koordinator/scheduling.koordinator.sh/v1alpha1/reservations.yaml +++ b/crd-catalog/koordinator-sh/koordinator/scheduling.koordinator.sh/v1alpha1/reservations.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.9.0" + controller-gen.kubebuilder.io/version: "v0.14.0" name: "reservations.scheduling.koordinator.sh" spec: group: "scheduling.koordinator.sh" @@ -33,13 +33,13 @@ spec: name: "v1alpha1" schema: openAPIV3Schema: - description: "Reservation is the Schema for the reservation API. A Reservation object is non-namespaced. Any namespaced affinity/anti-affinity of reservation scheduling can be specified in the spec.template." + description: "Reservation is the Schema for the reservation API.\nA Reservation object is non-namespaced.\nAny namespaced affinity/anti-affinity of reservation scheduling can be specified in the spec.template." properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -47,7 +47,7 @@ spec: properties: allocateOnce: default: true - description: "When `AllocateOnce` is set, the reserved resources are only available for the first owner who allocates successfully and are not allocatable to other owners anymore. Defaults to true." + description: "When `AllocateOnce` is set, the reserved resources are only available for the first owner who allocates successfully\nand are not allocatable to other owners anymore. Defaults to true." type: "boolean" allocatePolicy: description: "AllocatePolicy represents the allocation policy of reserved resources that Reservation expects." @@ -56,11 +56,11 @@ spec: - "Restricted" type: "string" expires: - description: "Expired timestamp when the reservation is expected to expire. If both `expires` and `ttl` are set, `expires` is checked first. `expires` and `ttl` are mutually exclusive. Defaults to being set dynamically at runtime based on the `ttl`." + description: "Expired timestamp when the reservation is expected to expire.\nIf both `expires` and `ttl` are set, `expires` is checked first.\n`expires` and `ttl` are mutually exclusive. Defaults to being set dynamically at runtime based on the `ttl`." format: "date-time" type: "string" owners: - description: "Specify the owners who can allocate the reserved resources. Multiple owner selectors and ORed." + description: "Specify the owners who can allocate the reserved resources.\nMultiple owner selectors and ORed." items: description: "ReservationOwner indicates the owner specification which can allocate reserved resources." minProperties: 1 @@ -71,21 +71,21 @@ spec: description: "API version of the referent." type: "string" blockOwnerDeletion: - description: "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned." + description: "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then\nthe owner cannot be deleted from the key-value store until this\nreference is removed.\nSee https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion\nfor how the garbage collector interacts with this field and enforces the foreground deletion.\nDefaults to false.\nTo set this field, a user needs \"delete\" permission of the owner,\notherwise 422 (Unprocessable Entity) will be returned." type: "boolean" controller: description: "If true, this reference points to the managing controller." type: "boolean" kind: - description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" name: - description: "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names" type: "string" namespace: type: "string" uid: - description: "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids" + description: "UID of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids" type: "string" required: - "apiVersion" @@ -93,22 +93,23 @@ spec: - "name" - "uid" type: "object" + x-kubernetes-map-type: "atomic" labelSelector: - description: "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + description: "A label selector is a label query over a set of resources. The result of matchLabels and\nmatchExpressions are ANDed. An empty label selector matches all objects. A null\nlabel selector matches no objects." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" @@ -120,9 +121,10 @@ spec: matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" object: description: "Multiple field selectors are ANDed." properties: @@ -130,36 +132,37 @@ spec: description: "API version of the referent." type: "string" fieldPath: - description: "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future." + description: "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.\nTODO: this design is not final and this field is subject to change in the future." type: "string" kind: - description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" type: "string" namespace: - description: "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" resourceVersion: - description: "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + description: "Specific resourceVersion to which this reference is made, if any.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" type: "string" uid: - description: "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + description: "UID of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" type: "string" type: "object" + x-kubernetes-map-type: "atomic" type: "object" minItems: 1 type: "array" preAllocation: - description: "By default, the resources requirements of reservation (specified in `template.spec`) is filtered by whether the node has sufficient free resources (i.e. Reservation Request < Node Free). When `preAllocation` is set, the scheduler will skip this validation and allow overcommitment. The scheduled reservation would be waiting to be available until free resources are sufficient." + description: "By default, the resources requirements of reservation (specified in `template.spec`) is filtered by whether the\nnode has sufficient free resources (i.e. Reservation Request < Node Free).\nWhen `preAllocation` is set, the scheduler will skip this validation and allow overcommitment. The scheduled\nreservation would be waiting to be available until free resources are sufficient." type: "boolean" template: - description: "Template defines the scheduling requirements (resources, affinities, images, ...) processed by the scheduler just like a normal pod. If the `template.spec.nodeName` is specified, the scheduler will not choose another node but reserve resources on the specified node." + description: "Template defines the scheduling requirements (resources, affinities, images, ...) processed by the scheduler just\nlike a normal pod.\nIf the `template.spec.nodeName` is specified, the scheduler will not choose another node but reserve resources on\nthe specified node." x-kubernetes-preserve-unknown-fields: true ttl: default: "24h" - description: "Time-to-Live period for the reservation. `expires` and `ttl` are mutually exclusive. Defaults to 24h. Set 0 to disable expiration." + description: "Time-to-Live period for the reservation.\n`expires` and `ttl` are mutually exclusive. Defaults to 24h. Set 0 to disable expiration." type: "string" unschedulable: description: "Unschedulable controls reservation schedulability of new pods. By default, reservation is schedulable." @@ -211,36 +214,37 @@ spec: currentOwners: description: "Current resource owners which allocated the reservation resources." items: - description: "ObjectReference contains enough information to let you inspect or modify the referred object. --- New uses of this type are discouraged because of difficulty describing its usage when embedded in APIs. 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage. 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular restrictions like, \"must refer only to types A and B\" or \"UID not honored\" or \"name must be restricted\". Those cannot be well described when embedded. 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen. 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple and the version of the actual struct is irrelevant. 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control. \n Instead of using this type, create a locally provided and used type that is well-focused on your reference. For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 ." + description: "ObjectReference contains enough information to let you inspect or modify the referred object.\n---\nNew uses of this type are discouraged because of difficulty describing its usage when embedded in APIs.\n 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage.\n 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular\n restrictions like, \"must refer only to types A and B\" or \"UID not honored\" or \"name must be restricted\".\n Those cannot be well described when embedded.\n 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen.\n 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity\n during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple\n and the version of the actual struct is irrelevant.\n 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type\n will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control.\n\n\nInstead of using this type, create a locally provided and used type that is well-focused on your reference.\nFor example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 ." properties: apiVersion: description: "API version of the referent." type: "string" fieldPath: - description: "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future." + description: "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.\nTODO: this design is not final and this field is subject to change in the future." type: "string" kind: - description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" type: "string" namespace: - description: "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" resourceVersion: - description: "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + description: "Specific resourceVersion to which this reference is made, if any.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" type: "string" uid: - description: "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + description: "UID of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" type: "string" type: "object" + x-kubernetes-map-type: "atomic" type: "array" nodeName: description: "Name of node the reservation is scheduled on." type: "string" phase: - description: "The `phase` indicates whether is reservation is waiting for process, available to allocate or failed/expired to get cleanup." + description: "The `phase` indicates whether is reservation is waiting for process, available to allocate or failed/expired to\nget cleanup." type: "string" type: "object" type: "object" diff --git a/crd-catalog/koordinator-sh/koordinator/scheduling.sigs.k8s.io/v1alpha1/elasticquotas.yaml b/crd-catalog/koordinator-sh/koordinator/scheduling.sigs.k8s.io/v1alpha1/elasticquotas.yaml index 6fee46561..15e5684a9 100644 --- a/crd-catalog/koordinator-sh/koordinator/scheduling.sigs.k8s.io/v1alpha1/elasticquotas.yaml +++ b/crd-catalog/koordinator-sh/koordinator/scheduling.sigs.k8s.io/v1alpha1/elasticquotas.yaml @@ -3,7 +3,7 @@ kind: "CustomResourceDefinition" metadata: annotations: api-approved.kubernetes.io: "https://github.com/kubernetes-sigs/scheduler-plugins/pull/52" - controller-gen.kubebuilder.io/version: "v0.6.2" + controller-gen.kubebuilder.io/version: "v0.14.0" name: "elasticquotas.scheduling.sigs.k8s.io" spec: group: "scheduling.sigs.k8s.io" @@ -11,9 +11,6 @@ spec: kind: "ElasticQuota" listKind: "ElasticQuotaList" plural: "elasticquotas" - shortNames: - - "eq" - - "eqs" singular: "elasticquota" scope: "Namespaced" versions: @@ -23,10 +20,10 @@ spec: description: "ElasticQuota sets elastic quota restrictions per namespace" properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -40,7 +37,7 @@ spec: - type: "string" pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" x-kubernetes-int-or-string: true - description: "Max is the set of desired max limits for each named resource. The usage of max is based on the resource configurations of successfully scheduled pods." + description: "Max is the set of desired max limits for each named resource. The usage of max is based on the resource configurations of\nsuccessfully scheduled pods." type: "object" min: additionalProperties: @@ -68,9 +65,3 @@ spec: type: "object" served: true storage: true -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/crd-catalog/koordinator-sh/koordinator/scheduling.sigs.k8s.io/v1alpha1/podgroups.yaml b/crd-catalog/koordinator-sh/koordinator/scheduling.sigs.k8s.io/v1alpha1/podgroups.yaml index 83192035b..f4cd56fe5 100644 --- a/crd-catalog/koordinator-sh/koordinator/scheduling.sigs.k8s.io/v1alpha1/podgroups.yaml +++ b/crd-catalog/koordinator-sh/koordinator/scheduling.sigs.k8s.io/v1alpha1/podgroups.yaml @@ -2,8 +2,8 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - api-approved.kubernetes.io: "https://github.com/kubernetes-sigs/scheduler-plugins/pull/50" - controller-gen.kubebuilder.io/version: "v0.6.2" + api-approved.kubernetes.io: "https://github.com/kubernetes-sigs/scheduler-plugins/pull/52" + controller-gen.kubebuilder.io/version: "v0.14.0" name: "podgroups.scheduling.sigs.k8s.io" spec: group: "scheduling.sigs.k8s.io" @@ -11,9 +11,6 @@ spec: kind: "PodGroup" listKind: "PodGroupList" plural: "podgroups" - shortNames: - - "pg" - - "pgs" singular: "podgroup" scope: "Namespaced" versions: @@ -23,10 +20,10 @@ spec: description: "PodGroup is a collection of Pod; used for batch workload." properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -34,7 +31,7 @@ spec: description: "Specification of the desired behavior of the pod group." properties: minMember: - description: "MinMember defines the minimal number of members/tasks to run the pod group; if there's not enough resources to start all tasks, the scheduler will not start anyone." + description: "MinMember defines the minimal number of members/tasks to run the pod group;\nif there's not enough resources to start all tasks, the scheduler\nwill not start anyone." format: "int32" type: "integer" minResources: @@ -44,7 +41,7 @@ spec: - type: "string" pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" x-kubernetes-int-or-string: true - description: "MinResources defines the minimal resource of members/tasks to run the pod group; if there's not enough resources to start all tasks, the scheduler will not start anyone." + description: "MinResources defines the minimal resource of members/tasks to run the pod group;\nif there's not enough resources to start all tasks, the scheduler\nwill not start anyone." type: "object" scheduleTimeoutSeconds: description: "ScheduleTimeoutSeconds defines the maximal time of members/tasks to wait before run the pod group;" @@ -52,14 +49,14 @@ spec: type: "integer" type: "object" status: - description: "Status represents the current information about a pod group. This data may not be up to date." + description: "Status represents the current information about a pod group.\nThis data may not be up to date." properties: failed: description: "The number of pods which reached phase Failed." format: "int32" type: "integer" occupiedBy: - description: "OccupiedBy marks the workload (e.g., deployment, statefulset) UID that occupy the podgroup. It is empty if not initialized." + description: "OccupiedBy marks the workload (e.g., deployment, statefulset) UID that occupy the podgroup.\nIt is empty if not initialized." type: "string" phase: description: "Current phase of PodGroup." @@ -84,9 +81,3 @@ spec: type: "object" served: true storage: true -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/crd-catalog/koordinator-sh/koordinator/slo.koordinator.sh/v1alpha1/nodemetrics.yaml b/crd-catalog/koordinator-sh/koordinator/slo.koordinator.sh/v1alpha1/nodemetrics.yaml index 9e7c5b9ef..a1e4ed2a6 100644 --- a/crd-catalog/koordinator-sh/koordinator/slo.koordinator.sh/v1alpha1/nodemetrics.yaml +++ b/crd-catalog/koordinator-sh/koordinator/slo.koordinator.sh/v1alpha1/nodemetrics.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.9.0" + controller-gen.kubebuilder.io/version: "v0.14.0" name: "nodemetrics.slo.koordinator.sh" spec: group: "slo.koordinator.sh" @@ -19,10 +19,10 @@ spec: description: "NodeMetric is the Schema for the nodemetrics API" properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -288,7 +288,7 @@ spec: type: "object" type: "array" aggregatedSystemUsages: - description: "AggregatedSystemUsages will report only if there are enough samples Deleted pods will be excluded during aggregation" + description: "AggregatedSystemUsages will report only if there are enough samples\nDeleted pods will be excluded during aggregation" items: properties: duration: diff --git a/crd-catalog/koordinator-sh/koordinator/slo.koordinator.sh/v1alpha1/nodeslos.yaml b/crd-catalog/koordinator-sh/koordinator/slo.koordinator.sh/v1alpha1/nodeslos.yaml index 8138bfff7..2830fdf02 100644 --- a/crd-catalog/koordinator-sh/koordinator/slo.koordinator.sh/v1alpha1/nodeslos.yaml +++ b/crd-catalog/koordinator-sh/koordinator/slo.koordinator.sh/v1alpha1/nodeslos.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.9.0" + controller-gen.kubebuilder.io/version: "v0.14.0" name: "nodeslos.slo.koordinator.sh" spec: group: "slo.koordinator.sh" @@ -19,10 +19,10 @@ spec: description: "NodeSLO is the Schema for the nodeslos API" properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -102,7 +102,7 @@ spec: ioCfg: properties: enableUserModel: - description: "configure the cost model of blkio-cost manually whether the user model is enabled. Default value: false" + description: "configure the cost model of blkio-cost manually\nwhether the user model is enabled. Default value: false" type: "boolean" ioWeightPercent: description: "This field is used to set the weight of a sub-group. Default value: 100. Valid values: 1 to 100." @@ -141,17 +141,17 @@ spec: minimum: 1.0 type: "integer" readBPS: - description: "Throttling of throughput The value is set to 0, which indicates that the feature is disabled." + description: "Throttling of throughput\nThe value is set to 0, which indicates that the feature is disabled." format: "int64" minimum: 0.0 type: "integer" readIOPS: - description: "Throttling of IOPS The value is set to 0, which indicates that the feature is disabled." + description: "Throttling of IOPS\nThe value is set to 0, which indicates that the feature is disabled." format: "int64" minimum: 0.0 type: "integer" readLatency: - description: "Configure the weight-based throttling feature of blk-iocost Only used for RootClass After blk-iocost is enabled, the kernel calculates the proportion of requests that exceed the read or write latency threshold out of all requests. When the proportion is greater than the read or write latency percentile (95%), the kernel considers the disk to be saturated and reduces the rate at which requests are sent to the disk. the read latency threshold. Unit: microseconds." + description: "Configure the weight-based throttling feature of blk-iocost\nOnly used for RootClass\nAfter blk-iocost is enabled, the kernel calculates the proportion of requests that exceed the read or write latency threshold out of all requests. When the proportion is greater than the read or write latency percentile (95%), the kernel considers the disk to be saturated and reduces the rate at which requests are sent to the disk.\nthe read latency threshold. Unit: microseconds." format: "int64" type: "integer" readLatencyPercent: @@ -192,17 +192,17 @@ spec: description: "CPUQOSCfg stores node-level config of cpu qos" properties: coreExpeller: - description: "whether pods of the QoS class can expel the cgroup idle pods at the SMT-level. default = false If set to true, pods of this QoS will use a dedicated core sched group for noise clean with the SchedIdle pods. NOTE: It takes effect if cpuPolicy = \"coreSched\"." + description: "whether pods of the QoS class can expel the cgroup idle pods at the SMT-level. default = false\nIf set to true, pods of this QoS will use a dedicated core sched group for noise clean with the SchedIdle pods.\nNOTE: It takes effect if cpuPolicy = \"coreSched\"." type: "boolean" enable: description: "Enable indicates whether the cpu qos is enabled." type: "boolean" groupIdentity: - description: "group identity value for pods, default = 0 NOTE: It takes effect if cpuPolicy = \"groupIdentity\"." + description: "group identity value for pods, default = 0\nNOTE: It takes effect if cpuPolicy = \"groupIdentity\"." format: "int64" type: "integer" schedIdle: - description: "cpu.idle value for pods, default = 0. `1` means using SCHED_IDLE. CGroup Idle (introduced since mainline Linux 5.15): https://lore.kernel.org/lkml/162971078674.25758.15464079371945307825.tip-bot2@tip-bot2/#r NOTE: It takes effect if cpuPolicy = \"coreSched\"." + description: "cpu.idle value for pods, default = 0.\n`1` means using SCHED_IDLE.\nCGroup Idle (introduced since mainline Linux 5.15): https://lore.kernel.org/lkml/162971078674.25758.15464079371945307825.tip-bot2@tip-bot2/#r\nNOTE: It takes effect if cpuPolicy = \"coreSched\"." format: "int64" type: "integer" type: "object" @@ -210,15 +210,15 @@ spec: description: "MemoryQOSCfg stores node-level config of memory qos" properties: enable: - description: "Enable indicates whether the memory qos is enabled (default: false). This field is used for node-level control, while pod-level configuration is done with MemoryQOS and `Policy` instead of an `Enable` option. Please view the differences between MemoryQOSCfg and PodMemoryQOSConfig structs." + description: "Enable indicates whether the memory qos is enabled (default: false).\nThis field is used for node-level control, while pod-level configuration is done with MemoryQOS and `Policy`\ninstead of an `Enable` option. Please view the differences between MemoryQOSCfg and PodMemoryQOSConfig structs." type: "boolean" lowLimitPercent: - description: "LowLimitPercent specifies the lowLimitFactor percentage to calculate `memory.low`, which TRIES BEST protecting memory from global reclamation when memory usage does not exceed the low limit unless no unprotected memcg can be reclaimed. NOTE: `memory.low` should be larger than `memory.min`. If spec.requests.memory == spec.limits.memory, pod `memory.low` and `memory.high` become invalid, while `memory.wmark_ratio` is still in effect. Close: 0." + description: "LowLimitPercent specifies the lowLimitFactor percentage to calculate `memory.low`, which TRIES BEST\nprotecting memory from global reclamation when memory usage does not exceed the low limit unless no unprotected\nmemcg can be reclaimed.\nNOTE: `memory.low` should be larger than `memory.min`. If spec.requests.memory == spec.limits.memory,\npod `memory.low` and `memory.high` become invalid, while `memory.wmark_ratio` is still in effect.\nClose: 0." format: "int64" minimum: 0.0 type: "integer" minLimitPercent: - description: "memcg qos If enabled, memcg qos will be set by the agent, where some fields are implicitly calculated from pod spec. 1. `memory.min` := spec.requests.memory * minLimitFactor / 100 (use 0 if requests.memory is not set) 2. `memory.low` := spec.requests.memory * lowLimitFactor / 100 (use 0 if requests.memory is not set) 3. `memory.limit_in_bytes` := spec.limits.memory (set $node.allocatable.memory if limits.memory is not set) 4. `memory.high` := floor[(spec.requests.memory + throttlingFactor / 100 * (memory.limit_in_bytes or node allocatable memory - spec.requests.memory))/pageSize] * pageSize MinLimitPercent specifies the minLimitFactor percentage to calculate `memory.min`, which protects memory from global reclamation when memory usage does not exceed the min limit. Close: 0." + description: "memcg qos\nIf enabled, memcg qos will be set by the agent, where some fields are implicitly calculated from pod spec.\n1. `memory.min` := spec.requests.memory * minLimitFactor / 100 (use 0 if requests.memory is not set)\n2. `memory.low` := spec.requests.memory * lowLimitFactor / 100 (use 0 if requests.memory is not set)\n3. `memory.limit_in_bytes` := spec.limits.memory (set $node.allocatable.memory if limits.memory is not set)\n4. `memory.high` := floor[(spec.requests.memory + throttlingFactor / 100 * (memory.limit_in_bytes or node allocatable memory - spec.requests.memory))/pageSize] * pageSize\nMinLimitPercent specifies the minLimitFactor percentage to calculate `memory.min`, which protects memory\nfrom global reclamation when memory usage does not exceed the min limit.\nClose: 0." format: "int64" minimum: 0.0 type: "integer" @@ -233,24 +233,24 @@ spec: format: "int64" type: "integer" throttlingPercent: - description: "ThrottlingPercent specifies the throttlingFactor percentage to calculate `memory.high` with pod memory.limits or node allocatable memory, which triggers memcg direct reclamation when memory usage exceeds. Lower the factor brings more heavier reclaim pressure. Close: 0." + description: "ThrottlingPercent specifies the throttlingFactor percentage to calculate `memory.high` with pod\nmemory.limits or node allocatable memory, which triggers memcg direct reclamation when memory usage exceeds.\nLower the factor brings more heavier reclaim pressure.\nClose: 0." format: "int64" minimum: 0.0 type: "integer" wmarkMinAdj: - description: "wmark_min_adj (Anolis OS required) WmarkMinAdj specifies `memory.wmark_min_adj` which adjusts per-memcg threshold for global memory reclamation. Lower the factor brings later reclamation. The adjustment uses different formula for different value range. [-25, 0):global_wmark_min' = global_wmark_min + (global_wmark_min - 0) * wmarkMinAdj (0, 50]:global_wmark_min' = global_wmark_min + (global_wmark_low - global_wmark_min) * wmarkMinAdj Close: [LSR:0, LS:0, BE:0]. Recommended: [LSR:-25, LS:-25, BE:50]." + description: "wmark_min_adj (Anolis OS required)\nWmarkMinAdj specifies `memory.wmark_min_adj` which adjusts per-memcg threshold for global memory\nreclamation. Lower the factor brings later reclamation.\nThe adjustment uses different formula for different value range.\n[-25, 0):global_wmark_min' = global_wmark_min + (global_wmark_min - 0) * wmarkMinAdj\n(0, 50]:global_wmark_min' = global_wmark_min + (global_wmark_low - global_wmark_min) * wmarkMinAdj\nClose: [LSR:0, LS:0, BE:0]. Recommended: [LSR:-25, LS:-25, BE:50]." format: "int64" maximum: 50.0 minimum: -25.0 type: "integer" wmarkRatio: - description: "wmark_ratio (Anolis OS required) Async memory reclamation is triggered when cgroup memory usage exceeds `memory.wmark_high` and the reclamation stops when usage is below `memory.wmark_low`. Basically, `memory.wmark_high` := min(memory.high, memory.limit_in_bytes) * memory.memory.wmark_ratio `memory.wmark_low` := min(memory.high, memory.limit_in_bytes) * (memory.wmark_ratio - memory.wmark_scale_factor) WmarkRatio specifies `memory.wmark_ratio` that help calculate `memory.wmark_high`, which triggers async memory reclamation when memory usage exceeds. Close: 0. Recommended: 95." + description: "wmark_ratio (Anolis OS required)\nAsync memory reclamation is triggered when cgroup memory usage exceeds `memory.wmark_high` and the reclamation\nstops when usage is below `memory.wmark_low`. Basically,\n`memory.wmark_high` := min(memory.high, memory.limit_in_bytes) * memory.memory.wmark_ratio\n`memory.wmark_low` := min(memory.high, memory.limit_in_bytes) * (memory.wmark_ratio - memory.wmark_scale_factor)\nWmarkRatio specifies `memory.wmark_ratio` that help calculate `memory.wmark_high`, which triggers async\nmemory reclamation when memory usage exceeds.\nClose: 0. Recommended: 95." format: "int64" maximum: 100.0 minimum: 0.0 type: "integer" wmarkScalePermill: - description: "WmarkScalePermill specifies `memory.wmark_scale_factor` that helps calculate `memory.wmark_low`, which stops async memory reclamation when memory usage belows. Close: 50. Recommended: 20." + description: "WmarkScalePermill specifies `memory.wmark_scale_factor` that helps calculate `memory.wmark_low`, which\nstops async memory reclamation when memory usage belows.\nClose: 50. Recommended: 20." format: "int64" maximum: 1000.0 minimum: 1.0 @@ -263,14 +263,14 @@ spec: - type: "integer" - type: "string" default: 100 - description: "EgressLimit describes the maximum network bandwidth can be used in the egress direction, unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M." + description: "EgressLimit describes the maximum network bandwidth can be used in the egress direction,\nunit: bps(bytes per second), two expressions are supported,int and string,\nint: percentage based on total bandwidth,valid in 0-100\nstring: a specific network bandwidth value, eg: 50M." x-kubernetes-int-or-string: true egressRequest: anyOf: - type: "integer" - type: "string" default: 0 - description: "EgressRequest describes the minimum network bandwidth guaranteed in the egress direction. unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M." + description: "EgressRequest describes the minimum network bandwidth guaranteed in the egress direction.\nunit: bps(bytes per second), two expressions are supported,int and string,\nint: percentage based on total bandwidth,valid in 0-100\nstring: a specific network bandwidth value, eg: 50M." x-kubernetes-int-or-string: true enable: type: "boolean" @@ -279,14 +279,14 @@ spec: - type: "integer" - type: "string" default: 100 - description: "IngressLimit describes the maximum network bandwidth can be used in the ingress direction, unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M." + description: "IngressLimit describes the maximum network bandwidth can be used in the ingress direction,\nunit: bps(bytes per second), two expressions are supported,int and string,\nint: percentage based on total bandwidth,valid in 0-100\nstring: a specific network bandwidth value, eg: 50M." x-kubernetes-int-or-string: true ingressRequest: anyOf: - type: "integer" - type: "string" default: 0 - description: "IngressRequest describes the minimum network bandwidth guaranteed in the ingress direction. unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M." + description: "IngressRequest describes the minimum network bandwidth guaranteed in the ingress direction.\nunit: bps(bytes per second), two expressions are supported,int and string,\nint: percentage based on total bandwidth,valid in 0-100\nstring: a specific network bandwidth value, eg: 50M." x-kubernetes-int-or-string: true type: "object" resctrlQOS: @@ -326,7 +326,7 @@ spec: ioCfg: properties: enableUserModel: - description: "configure the cost model of blkio-cost manually whether the user model is enabled. Default value: false" + description: "configure the cost model of blkio-cost manually\nwhether the user model is enabled. Default value: false" type: "boolean" ioWeightPercent: description: "This field is used to set the weight of a sub-group. Default value: 100. Valid values: 1 to 100." @@ -365,17 +365,17 @@ spec: minimum: 1.0 type: "integer" readBPS: - description: "Throttling of throughput The value is set to 0, which indicates that the feature is disabled." + description: "Throttling of throughput\nThe value is set to 0, which indicates that the feature is disabled." format: "int64" minimum: 0.0 type: "integer" readIOPS: - description: "Throttling of IOPS The value is set to 0, which indicates that the feature is disabled." + description: "Throttling of IOPS\nThe value is set to 0, which indicates that the feature is disabled." format: "int64" minimum: 0.0 type: "integer" readLatency: - description: "Configure the weight-based throttling feature of blk-iocost Only used for RootClass After blk-iocost is enabled, the kernel calculates the proportion of requests that exceed the read or write latency threshold out of all requests. When the proportion is greater than the read or write latency percentile (95%), the kernel considers the disk to be saturated and reduces the rate at which requests are sent to the disk. the read latency threshold. Unit: microseconds." + description: "Configure the weight-based throttling feature of blk-iocost\nOnly used for RootClass\nAfter blk-iocost is enabled, the kernel calculates the proportion of requests that exceed the read or write latency threshold out of all requests. When the proportion is greater than the read or write latency percentile (95%), the kernel considers the disk to be saturated and reduces the rate at which requests are sent to the disk.\nthe read latency threshold. Unit: microseconds." format: "int64" type: "integer" readLatencyPercent: @@ -416,17 +416,17 @@ spec: description: "CPUQOSCfg stores node-level config of cpu qos" properties: coreExpeller: - description: "whether pods of the QoS class can expel the cgroup idle pods at the SMT-level. default = false If set to true, pods of this QoS will use a dedicated core sched group for noise clean with the SchedIdle pods. NOTE: It takes effect if cpuPolicy = \"coreSched\"." + description: "whether pods of the QoS class can expel the cgroup idle pods at the SMT-level. default = false\nIf set to true, pods of this QoS will use a dedicated core sched group for noise clean with the SchedIdle pods.\nNOTE: It takes effect if cpuPolicy = \"coreSched\"." type: "boolean" enable: description: "Enable indicates whether the cpu qos is enabled." type: "boolean" groupIdentity: - description: "group identity value for pods, default = 0 NOTE: It takes effect if cpuPolicy = \"groupIdentity\"." + description: "group identity value for pods, default = 0\nNOTE: It takes effect if cpuPolicy = \"groupIdentity\"." format: "int64" type: "integer" schedIdle: - description: "cpu.idle value for pods, default = 0. `1` means using SCHED_IDLE. CGroup Idle (introduced since mainline Linux 5.15): https://lore.kernel.org/lkml/162971078674.25758.15464079371945307825.tip-bot2@tip-bot2/#r NOTE: It takes effect if cpuPolicy = \"coreSched\"." + description: "cpu.idle value for pods, default = 0.\n`1` means using SCHED_IDLE.\nCGroup Idle (introduced since mainline Linux 5.15): https://lore.kernel.org/lkml/162971078674.25758.15464079371945307825.tip-bot2@tip-bot2/#r\nNOTE: It takes effect if cpuPolicy = \"coreSched\"." format: "int64" type: "integer" type: "object" @@ -434,15 +434,15 @@ spec: description: "MemoryQOSCfg stores node-level config of memory qos" properties: enable: - description: "Enable indicates whether the memory qos is enabled (default: false). This field is used for node-level control, while pod-level configuration is done with MemoryQOS and `Policy` instead of an `Enable` option. Please view the differences between MemoryQOSCfg and PodMemoryQOSConfig structs." + description: "Enable indicates whether the memory qos is enabled (default: false).\nThis field is used for node-level control, while pod-level configuration is done with MemoryQOS and `Policy`\ninstead of an `Enable` option. Please view the differences between MemoryQOSCfg and PodMemoryQOSConfig structs." type: "boolean" lowLimitPercent: - description: "LowLimitPercent specifies the lowLimitFactor percentage to calculate `memory.low`, which TRIES BEST protecting memory from global reclamation when memory usage does not exceed the low limit unless no unprotected memcg can be reclaimed. NOTE: `memory.low` should be larger than `memory.min`. If spec.requests.memory == spec.limits.memory, pod `memory.low` and `memory.high` become invalid, while `memory.wmark_ratio` is still in effect. Close: 0." + description: "LowLimitPercent specifies the lowLimitFactor percentage to calculate `memory.low`, which TRIES BEST\nprotecting memory from global reclamation when memory usage does not exceed the low limit unless no unprotected\nmemcg can be reclaimed.\nNOTE: `memory.low` should be larger than `memory.min`. If spec.requests.memory == spec.limits.memory,\npod `memory.low` and `memory.high` become invalid, while `memory.wmark_ratio` is still in effect.\nClose: 0." format: "int64" minimum: 0.0 type: "integer" minLimitPercent: - description: "memcg qos If enabled, memcg qos will be set by the agent, where some fields are implicitly calculated from pod spec. 1. `memory.min` := spec.requests.memory * minLimitFactor / 100 (use 0 if requests.memory is not set) 2. `memory.low` := spec.requests.memory * lowLimitFactor / 100 (use 0 if requests.memory is not set) 3. `memory.limit_in_bytes` := spec.limits.memory (set $node.allocatable.memory if limits.memory is not set) 4. `memory.high` := floor[(spec.requests.memory + throttlingFactor / 100 * (memory.limit_in_bytes or node allocatable memory - spec.requests.memory))/pageSize] * pageSize MinLimitPercent specifies the minLimitFactor percentage to calculate `memory.min`, which protects memory from global reclamation when memory usage does not exceed the min limit. Close: 0." + description: "memcg qos\nIf enabled, memcg qos will be set by the agent, where some fields are implicitly calculated from pod spec.\n1. `memory.min` := spec.requests.memory * minLimitFactor / 100 (use 0 if requests.memory is not set)\n2. `memory.low` := spec.requests.memory * lowLimitFactor / 100 (use 0 if requests.memory is not set)\n3. `memory.limit_in_bytes` := spec.limits.memory (set $node.allocatable.memory if limits.memory is not set)\n4. `memory.high` := floor[(spec.requests.memory + throttlingFactor / 100 * (memory.limit_in_bytes or node allocatable memory - spec.requests.memory))/pageSize] * pageSize\nMinLimitPercent specifies the minLimitFactor percentage to calculate `memory.min`, which protects memory\nfrom global reclamation when memory usage does not exceed the min limit.\nClose: 0." format: "int64" minimum: 0.0 type: "integer" @@ -457,24 +457,24 @@ spec: format: "int64" type: "integer" throttlingPercent: - description: "ThrottlingPercent specifies the throttlingFactor percentage to calculate `memory.high` with pod memory.limits or node allocatable memory, which triggers memcg direct reclamation when memory usage exceeds. Lower the factor brings more heavier reclaim pressure. Close: 0." + description: "ThrottlingPercent specifies the throttlingFactor percentage to calculate `memory.high` with pod\nmemory.limits or node allocatable memory, which triggers memcg direct reclamation when memory usage exceeds.\nLower the factor brings more heavier reclaim pressure.\nClose: 0." format: "int64" minimum: 0.0 type: "integer" wmarkMinAdj: - description: "wmark_min_adj (Anolis OS required) WmarkMinAdj specifies `memory.wmark_min_adj` which adjusts per-memcg threshold for global memory reclamation. Lower the factor brings later reclamation. The adjustment uses different formula for different value range. [-25, 0):global_wmark_min' = global_wmark_min + (global_wmark_min - 0) * wmarkMinAdj (0, 50]:global_wmark_min' = global_wmark_min + (global_wmark_low - global_wmark_min) * wmarkMinAdj Close: [LSR:0, LS:0, BE:0]. Recommended: [LSR:-25, LS:-25, BE:50]." + description: "wmark_min_adj (Anolis OS required)\nWmarkMinAdj specifies `memory.wmark_min_adj` which adjusts per-memcg threshold for global memory\nreclamation. Lower the factor brings later reclamation.\nThe adjustment uses different formula for different value range.\n[-25, 0):global_wmark_min' = global_wmark_min + (global_wmark_min - 0) * wmarkMinAdj\n(0, 50]:global_wmark_min' = global_wmark_min + (global_wmark_low - global_wmark_min) * wmarkMinAdj\nClose: [LSR:0, LS:0, BE:0]. Recommended: [LSR:-25, LS:-25, BE:50]." format: "int64" maximum: 50.0 minimum: -25.0 type: "integer" wmarkRatio: - description: "wmark_ratio (Anolis OS required) Async memory reclamation is triggered when cgroup memory usage exceeds `memory.wmark_high` and the reclamation stops when usage is below `memory.wmark_low`. Basically, `memory.wmark_high` := min(memory.high, memory.limit_in_bytes) * memory.memory.wmark_ratio `memory.wmark_low` := min(memory.high, memory.limit_in_bytes) * (memory.wmark_ratio - memory.wmark_scale_factor) WmarkRatio specifies `memory.wmark_ratio` that help calculate `memory.wmark_high`, which triggers async memory reclamation when memory usage exceeds. Close: 0. Recommended: 95." + description: "wmark_ratio (Anolis OS required)\nAsync memory reclamation is triggered when cgroup memory usage exceeds `memory.wmark_high` and the reclamation\nstops when usage is below `memory.wmark_low`. Basically,\n`memory.wmark_high` := min(memory.high, memory.limit_in_bytes) * memory.memory.wmark_ratio\n`memory.wmark_low` := min(memory.high, memory.limit_in_bytes) * (memory.wmark_ratio - memory.wmark_scale_factor)\nWmarkRatio specifies `memory.wmark_ratio` that help calculate `memory.wmark_high`, which triggers async\nmemory reclamation when memory usage exceeds.\nClose: 0. Recommended: 95." format: "int64" maximum: 100.0 minimum: 0.0 type: "integer" wmarkScalePermill: - description: "WmarkScalePermill specifies `memory.wmark_scale_factor` that helps calculate `memory.wmark_low`, which stops async memory reclamation when memory usage belows. Close: 50. Recommended: 20." + description: "WmarkScalePermill specifies `memory.wmark_scale_factor` that helps calculate `memory.wmark_low`, which\nstops async memory reclamation when memory usage belows.\nClose: 50. Recommended: 20." format: "int64" maximum: 1000.0 minimum: 1.0 @@ -487,14 +487,14 @@ spec: - type: "integer" - type: "string" default: 100 - description: "EgressLimit describes the maximum network bandwidth can be used in the egress direction, unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M." + description: "EgressLimit describes the maximum network bandwidth can be used in the egress direction,\nunit: bps(bytes per second), two expressions are supported,int and string,\nint: percentage based on total bandwidth,valid in 0-100\nstring: a specific network bandwidth value, eg: 50M." x-kubernetes-int-or-string: true egressRequest: anyOf: - type: "integer" - type: "string" default: 0 - description: "EgressRequest describes the minimum network bandwidth guaranteed in the egress direction. unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M." + description: "EgressRequest describes the minimum network bandwidth guaranteed in the egress direction.\nunit: bps(bytes per second), two expressions are supported,int and string,\nint: percentage based on total bandwidth,valid in 0-100\nstring: a specific network bandwidth value, eg: 50M." x-kubernetes-int-or-string: true enable: type: "boolean" @@ -503,14 +503,14 @@ spec: - type: "integer" - type: "string" default: 100 - description: "IngressLimit describes the maximum network bandwidth can be used in the ingress direction, unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M." + description: "IngressLimit describes the maximum network bandwidth can be used in the ingress direction,\nunit: bps(bytes per second), two expressions are supported,int and string,\nint: percentage based on total bandwidth,valid in 0-100\nstring: a specific network bandwidth value, eg: 50M." x-kubernetes-int-or-string: true ingressRequest: anyOf: - type: "integer" - type: "string" default: 0 - description: "IngressRequest describes the minimum network bandwidth guaranteed in the ingress direction. unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M." + description: "IngressRequest describes the minimum network bandwidth guaranteed in the ingress direction.\nunit: bps(bytes per second), two expressions are supported,int and string,\nint: percentage based on total bandwidth,valid in 0-100\nstring: a specific network bandwidth value, eg: 50M." x-kubernetes-int-or-string: true type: "object" resctrlQOS: @@ -550,7 +550,7 @@ spec: ioCfg: properties: enableUserModel: - description: "configure the cost model of blkio-cost manually whether the user model is enabled. Default value: false" + description: "configure the cost model of blkio-cost manually\nwhether the user model is enabled. Default value: false" type: "boolean" ioWeightPercent: description: "This field is used to set the weight of a sub-group. Default value: 100. Valid values: 1 to 100." @@ -589,17 +589,17 @@ spec: minimum: 1.0 type: "integer" readBPS: - description: "Throttling of throughput The value is set to 0, which indicates that the feature is disabled." + description: "Throttling of throughput\nThe value is set to 0, which indicates that the feature is disabled." format: "int64" minimum: 0.0 type: "integer" readIOPS: - description: "Throttling of IOPS The value is set to 0, which indicates that the feature is disabled." + description: "Throttling of IOPS\nThe value is set to 0, which indicates that the feature is disabled." format: "int64" minimum: 0.0 type: "integer" readLatency: - description: "Configure the weight-based throttling feature of blk-iocost Only used for RootClass After blk-iocost is enabled, the kernel calculates the proportion of requests that exceed the read or write latency threshold out of all requests. When the proportion is greater than the read or write latency percentile (95%), the kernel considers the disk to be saturated and reduces the rate at which requests are sent to the disk. the read latency threshold. Unit: microseconds." + description: "Configure the weight-based throttling feature of blk-iocost\nOnly used for RootClass\nAfter blk-iocost is enabled, the kernel calculates the proportion of requests that exceed the read or write latency threshold out of all requests. When the proportion is greater than the read or write latency percentile (95%), the kernel considers the disk to be saturated and reduces the rate at which requests are sent to the disk.\nthe read latency threshold. Unit: microseconds." format: "int64" type: "integer" readLatencyPercent: @@ -640,17 +640,17 @@ spec: description: "CPUQOSCfg stores node-level config of cpu qos" properties: coreExpeller: - description: "whether pods of the QoS class can expel the cgroup idle pods at the SMT-level. default = false If set to true, pods of this QoS will use a dedicated core sched group for noise clean with the SchedIdle pods. NOTE: It takes effect if cpuPolicy = \"coreSched\"." + description: "whether pods of the QoS class can expel the cgroup idle pods at the SMT-level. default = false\nIf set to true, pods of this QoS will use a dedicated core sched group for noise clean with the SchedIdle pods.\nNOTE: It takes effect if cpuPolicy = \"coreSched\"." type: "boolean" enable: description: "Enable indicates whether the cpu qos is enabled." type: "boolean" groupIdentity: - description: "group identity value for pods, default = 0 NOTE: It takes effect if cpuPolicy = \"groupIdentity\"." + description: "group identity value for pods, default = 0\nNOTE: It takes effect if cpuPolicy = \"groupIdentity\"." format: "int64" type: "integer" schedIdle: - description: "cpu.idle value for pods, default = 0. `1` means using SCHED_IDLE. CGroup Idle (introduced since mainline Linux 5.15): https://lore.kernel.org/lkml/162971078674.25758.15464079371945307825.tip-bot2@tip-bot2/#r NOTE: It takes effect if cpuPolicy = \"coreSched\"." + description: "cpu.idle value for pods, default = 0.\n`1` means using SCHED_IDLE.\nCGroup Idle (introduced since mainline Linux 5.15): https://lore.kernel.org/lkml/162971078674.25758.15464079371945307825.tip-bot2@tip-bot2/#r\nNOTE: It takes effect if cpuPolicy = \"coreSched\"." format: "int64" type: "integer" type: "object" @@ -658,15 +658,15 @@ spec: description: "MemoryQOSCfg stores node-level config of memory qos" properties: enable: - description: "Enable indicates whether the memory qos is enabled (default: false). This field is used for node-level control, while pod-level configuration is done with MemoryQOS and `Policy` instead of an `Enable` option. Please view the differences between MemoryQOSCfg and PodMemoryQOSConfig structs." + description: "Enable indicates whether the memory qos is enabled (default: false).\nThis field is used for node-level control, while pod-level configuration is done with MemoryQOS and `Policy`\ninstead of an `Enable` option. Please view the differences between MemoryQOSCfg and PodMemoryQOSConfig structs." type: "boolean" lowLimitPercent: - description: "LowLimitPercent specifies the lowLimitFactor percentage to calculate `memory.low`, which TRIES BEST protecting memory from global reclamation when memory usage does not exceed the low limit unless no unprotected memcg can be reclaimed. NOTE: `memory.low` should be larger than `memory.min`. If spec.requests.memory == spec.limits.memory, pod `memory.low` and `memory.high` become invalid, while `memory.wmark_ratio` is still in effect. Close: 0." + description: "LowLimitPercent specifies the lowLimitFactor percentage to calculate `memory.low`, which TRIES BEST\nprotecting memory from global reclamation when memory usage does not exceed the low limit unless no unprotected\nmemcg can be reclaimed.\nNOTE: `memory.low` should be larger than `memory.min`. If spec.requests.memory == spec.limits.memory,\npod `memory.low` and `memory.high` become invalid, while `memory.wmark_ratio` is still in effect.\nClose: 0." format: "int64" minimum: 0.0 type: "integer" minLimitPercent: - description: "memcg qos If enabled, memcg qos will be set by the agent, where some fields are implicitly calculated from pod spec. 1. `memory.min` := spec.requests.memory * minLimitFactor / 100 (use 0 if requests.memory is not set) 2. `memory.low` := spec.requests.memory * lowLimitFactor / 100 (use 0 if requests.memory is not set) 3. `memory.limit_in_bytes` := spec.limits.memory (set $node.allocatable.memory if limits.memory is not set) 4. `memory.high` := floor[(spec.requests.memory + throttlingFactor / 100 * (memory.limit_in_bytes or node allocatable memory - spec.requests.memory))/pageSize] * pageSize MinLimitPercent specifies the minLimitFactor percentage to calculate `memory.min`, which protects memory from global reclamation when memory usage does not exceed the min limit. Close: 0." + description: "memcg qos\nIf enabled, memcg qos will be set by the agent, where some fields are implicitly calculated from pod spec.\n1. `memory.min` := spec.requests.memory * minLimitFactor / 100 (use 0 if requests.memory is not set)\n2. `memory.low` := spec.requests.memory * lowLimitFactor / 100 (use 0 if requests.memory is not set)\n3. `memory.limit_in_bytes` := spec.limits.memory (set $node.allocatable.memory if limits.memory is not set)\n4. `memory.high` := floor[(spec.requests.memory + throttlingFactor / 100 * (memory.limit_in_bytes or node allocatable memory - spec.requests.memory))/pageSize] * pageSize\nMinLimitPercent specifies the minLimitFactor percentage to calculate `memory.min`, which protects memory\nfrom global reclamation when memory usage does not exceed the min limit.\nClose: 0." format: "int64" minimum: 0.0 type: "integer" @@ -681,24 +681,24 @@ spec: format: "int64" type: "integer" throttlingPercent: - description: "ThrottlingPercent specifies the throttlingFactor percentage to calculate `memory.high` with pod memory.limits or node allocatable memory, which triggers memcg direct reclamation when memory usage exceeds. Lower the factor brings more heavier reclaim pressure. Close: 0." + description: "ThrottlingPercent specifies the throttlingFactor percentage to calculate `memory.high` with pod\nmemory.limits or node allocatable memory, which triggers memcg direct reclamation when memory usage exceeds.\nLower the factor brings more heavier reclaim pressure.\nClose: 0." format: "int64" minimum: 0.0 type: "integer" wmarkMinAdj: - description: "wmark_min_adj (Anolis OS required) WmarkMinAdj specifies `memory.wmark_min_adj` which adjusts per-memcg threshold for global memory reclamation. Lower the factor brings later reclamation. The adjustment uses different formula for different value range. [-25, 0):global_wmark_min' = global_wmark_min + (global_wmark_min - 0) * wmarkMinAdj (0, 50]:global_wmark_min' = global_wmark_min + (global_wmark_low - global_wmark_min) * wmarkMinAdj Close: [LSR:0, LS:0, BE:0]. Recommended: [LSR:-25, LS:-25, BE:50]." + description: "wmark_min_adj (Anolis OS required)\nWmarkMinAdj specifies `memory.wmark_min_adj` which adjusts per-memcg threshold for global memory\nreclamation. Lower the factor brings later reclamation.\nThe adjustment uses different formula for different value range.\n[-25, 0):global_wmark_min' = global_wmark_min + (global_wmark_min - 0) * wmarkMinAdj\n(0, 50]:global_wmark_min' = global_wmark_min + (global_wmark_low - global_wmark_min) * wmarkMinAdj\nClose: [LSR:0, LS:0, BE:0]. Recommended: [LSR:-25, LS:-25, BE:50]." format: "int64" maximum: 50.0 minimum: -25.0 type: "integer" wmarkRatio: - description: "wmark_ratio (Anolis OS required) Async memory reclamation is triggered when cgroup memory usage exceeds `memory.wmark_high` and the reclamation stops when usage is below `memory.wmark_low`. Basically, `memory.wmark_high` := min(memory.high, memory.limit_in_bytes) * memory.memory.wmark_ratio `memory.wmark_low` := min(memory.high, memory.limit_in_bytes) * (memory.wmark_ratio - memory.wmark_scale_factor) WmarkRatio specifies `memory.wmark_ratio` that help calculate `memory.wmark_high`, which triggers async memory reclamation when memory usage exceeds. Close: 0. Recommended: 95." + description: "wmark_ratio (Anolis OS required)\nAsync memory reclamation is triggered when cgroup memory usage exceeds `memory.wmark_high` and the reclamation\nstops when usage is below `memory.wmark_low`. Basically,\n`memory.wmark_high` := min(memory.high, memory.limit_in_bytes) * memory.memory.wmark_ratio\n`memory.wmark_low` := min(memory.high, memory.limit_in_bytes) * (memory.wmark_ratio - memory.wmark_scale_factor)\nWmarkRatio specifies `memory.wmark_ratio` that help calculate `memory.wmark_high`, which triggers async\nmemory reclamation when memory usage exceeds.\nClose: 0. Recommended: 95." format: "int64" maximum: 100.0 minimum: 0.0 type: "integer" wmarkScalePermill: - description: "WmarkScalePermill specifies `memory.wmark_scale_factor` that helps calculate `memory.wmark_low`, which stops async memory reclamation when memory usage belows. Close: 50. Recommended: 20." + description: "WmarkScalePermill specifies `memory.wmark_scale_factor` that helps calculate `memory.wmark_low`, which\nstops async memory reclamation when memory usage belows.\nClose: 50. Recommended: 20." format: "int64" maximum: 1000.0 minimum: 1.0 @@ -711,14 +711,14 @@ spec: - type: "integer" - type: "string" default: 100 - description: "EgressLimit describes the maximum network bandwidth can be used in the egress direction, unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M." + description: "EgressLimit describes the maximum network bandwidth can be used in the egress direction,\nunit: bps(bytes per second), two expressions are supported,int and string,\nint: percentage based on total bandwidth,valid in 0-100\nstring: a specific network bandwidth value, eg: 50M." x-kubernetes-int-or-string: true egressRequest: anyOf: - type: "integer" - type: "string" default: 0 - description: "EgressRequest describes the minimum network bandwidth guaranteed in the egress direction. unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M." + description: "EgressRequest describes the minimum network bandwidth guaranteed in the egress direction.\nunit: bps(bytes per second), two expressions are supported,int and string,\nint: percentage based on total bandwidth,valid in 0-100\nstring: a specific network bandwidth value, eg: 50M." x-kubernetes-int-or-string: true enable: type: "boolean" @@ -727,14 +727,14 @@ spec: - type: "integer" - type: "string" default: 100 - description: "IngressLimit describes the maximum network bandwidth can be used in the ingress direction, unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M." + description: "IngressLimit describes the maximum network bandwidth can be used in the ingress direction,\nunit: bps(bytes per second), two expressions are supported,int and string,\nint: percentage based on total bandwidth,valid in 0-100\nstring: a specific network bandwidth value, eg: 50M." x-kubernetes-int-or-string: true ingressRequest: anyOf: - type: "integer" - type: "string" default: 0 - description: "IngressRequest describes the minimum network bandwidth guaranteed in the ingress direction. unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M." + description: "IngressRequest describes the minimum network bandwidth guaranteed in the ingress direction.\nunit: bps(bytes per second), two expressions are supported,int and string,\nint: percentage based on total bandwidth,valid in 0-100\nstring: a specific network bandwidth value, eg: 50M." x-kubernetes-int-or-string: true type: "object" resctrlQOS: @@ -774,7 +774,7 @@ spec: ioCfg: properties: enableUserModel: - description: "configure the cost model of blkio-cost manually whether the user model is enabled. Default value: false" + description: "configure the cost model of blkio-cost manually\nwhether the user model is enabled. Default value: false" type: "boolean" ioWeightPercent: description: "This field is used to set the weight of a sub-group. Default value: 100. Valid values: 1 to 100." @@ -813,17 +813,17 @@ spec: minimum: 1.0 type: "integer" readBPS: - description: "Throttling of throughput The value is set to 0, which indicates that the feature is disabled." + description: "Throttling of throughput\nThe value is set to 0, which indicates that the feature is disabled." format: "int64" minimum: 0.0 type: "integer" readIOPS: - description: "Throttling of IOPS The value is set to 0, which indicates that the feature is disabled." + description: "Throttling of IOPS\nThe value is set to 0, which indicates that the feature is disabled." format: "int64" minimum: 0.0 type: "integer" readLatency: - description: "Configure the weight-based throttling feature of blk-iocost Only used for RootClass After blk-iocost is enabled, the kernel calculates the proportion of requests that exceed the read or write latency threshold out of all requests. When the proportion is greater than the read or write latency percentile (95%), the kernel considers the disk to be saturated and reduces the rate at which requests are sent to the disk. the read latency threshold. Unit: microseconds." + description: "Configure the weight-based throttling feature of blk-iocost\nOnly used for RootClass\nAfter blk-iocost is enabled, the kernel calculates the proportion of requests that exceed the read or write latency threshold out of all requests. When the proportion is greater than the read or write latency percentile (95%), the kernel considers the disk to be saturated and reduces the rate at which requests are sent to the disk.\nthe read latency threshold. Unit: microseconds." format: "int64" type: "integer" readLatencyPercent: @@ -864,17 +864,17 @@ spec: description: "CPUQOSCfg stores node-level config of cpu qos" properties: coreExpeller: - description: "whether pods of the QoS class can expel the cgroup idle pods at the SMT-level. default = false If set to true, pods of this QoS will use a dedicated core sched group for noise clean with the SchedIdle pods. NOTE: It takes effect if cpuPolicy = \"coreSched\"." + description: "whether pods of the QoS class can expel the cgroup idle pods at the SMT-level. default = false\nIf set to true, pods of this QoS will use a dedicated core sched group for noise clean with the SchedIdle pods.\nNOTE: It takes effect if cpuPolicy = \"coreSched\"." type: "boolean" enable: description: "Enable indicates whether the cpu qos is enabled." type: "boolean" groupIdentity: - description: "group identity value for pods, default = 0 NOTE: It takes effect if cpuPolicy = \"groupIdentity\"." + description: "group identity value for pods, default = 0\nNOTE: It takes effect if cpuPolicy = \"groupIdentity\"." format: "int64" type: "integer" schedIdle: - description: "cpu.idle value for pods, default = 0. `1` means using SCHED_IDLE. CGroup Idle (introduced since mainline Linux 5.15): https://lore.kernel.org/lkml/162971078674.25758.15464079371945307825.tip-bot2@tip-bot2/#r NOTE: It takes effect if cpuPolicy = \"coreSched\"." + description: "cpu.idle value for pods, default = 0.\n`1` means using SCHED_IDLE.\nCGroup Idle (introduced since mainline Linux 5.15): https://lore.kernel.org/lkml/162971078674.25758.15464079371945307825.tip-bot2@tip-bot2/#r\nNOTE: It takes effect if cpuPolicy = \"coreSched\"." format: "int64" type: "integer" type: "object" @@ -882,15 +882,15 @@ spec: description: "MemoryQOSCfg stores node-level config of memory qos" properties: enable: - description: "Enable indicates whether the memory qos is enabled (default: false). This field is used for node-level control, while pod-level configuration is done with MemoryQOS and `Policy` instead of an `Enable` option. Please view the differences between MemoryQOSCfg and PodMemoryQOSConfig structs." + description: "Enable indicates whether the memory qos is enabled (default: false).\nThis field is used for node-level control, while pod-level configuration is done with MemoryQOS and `Policy`\ninstead of an `Enable` option. Please view the differences between MemoryQOSCfg and PodMemoryQOSConfig structs." type: "boolean" lowLimitPercent: - description: "LowLimitPercent specifies the lowLimitFactor percentage to calculate `memory.low`, which TRIES BEST protecting memory from global reclamation when memory usage does not exceed the low limit unless no unprotected memcg can be reclaimed. NOTE: `memory.low` should be larger than `memory.min`. If spec.requests.memory == spec.limits.memory, pod `memory.low` and `memory.high` become invalid, while `memory.wmark_ratio` is still in effect. Close: 0." + description: "LowLimitPercent specifies the lowLimitFactor percentage to calculate `memory.low`, which TRIES BEST\nprotecting memory from global reclamation when memory usage does not exceed the low limit unless no unprotected\nmemcg can be reclaimed.\nNOTE: `memory.low` should be larger than `memory.min`. If spec.requests.memory == spec.limits.memory,\npod `memory.low` and `memory.high` become invalid, while `memory.wmark_ratio` is still in effect.\nClose: 0." format: "int64" minimum: 0.0 type: "integer" minLimitPercent: - description: "memcg qos If enabled, memcg qos will be set by the agent, where some fields are implicitly calculated from pod spec. 1. `memory.min` := spec.requests.memory * minLimitFactor / 100 (use 0 if requests.memory is not set) 2. `memory.low` := spec.requests.memory * lowLimitFactor / 100 (use 0 if requests.memory is not set) 3. `memory.limit_in_bytes` := spec.limits.memory (set $node.allocatable.memory if limits.memory is not set) 4. `memory.high` := floor[(spec.requests.memory + throttlingFactor / 100 * (memory.limit_in_bytes or node allocatable memory - spec.requests.memory))/pageSize] * pageSize MinLimitPercent specifies the minLimitFactor percentage to calculate `memory.min`, which protects memory from global reclamation when memory usage does not exceed the min limit. Close: 0." + description: "memcg qos\nIf enabled, memcg qos will be set by the agent, where some fields are implicitly calculated from pod spec.\n1. `memory.min` := spec.requests.memory * minLimitFactor / 100 (use 0 if requests.memory is not set)\n2. `memory.low` := spec.requests.memory * lowLimitFactor / 100 (use 0 if requests.memory is not set)\n3. `memory.limit_in_bytes` := spec.limits.memory (set $node.allocatable.memory if limits.memory is not set)\n4. `memory.high` := floor[(spec.requests.memory + throttlingFactor / 100 * (memory.limit_in_bytes or node allocatable memory - spec.requests.memory))/pageSize] * pageSize\nMinLimitPercent specifies the minLimitFactor percentage to calculate `memory.min`, which protects memory\nfrom global reclamation when memory usage does not exceed the min limit.\nClose: 0." format: "int64" minimum: 0.0 type: "integer" @@ -905,24 +905,24 @@ spec: format: "int64" type: "integer" throttlingPercent: - description: "ThrottlingPercent specifies the throttlingFactor percentage to calculate `memory.high` with pod memory.limits or node allocatable memory, which triggers memcg direct reclamation when memory usage exceeds. Lower the factor brings more heavier reclaim pressure. Close: 0." + description: "ThrottlingPercent specifies the throttlingFactor percentage to calculate `memory.high` with pod\nmemory.limits or node allocatable memory, which triggers memcg direct reclamation when memory usage exceeds.\nLower the factor brings more heavier reclaim pressure.\nClose: 0." format: "int64" minimum: 0.0 type: "integer" wmarkMinAdj: - description: "wmark_min_adj (Anolis OS required) WmarkMinAdj specifies `memory.wmark_min_adj` which adjusts per-memcg threshold for global memory reclamation. Lower the factor brings later reclamation. The adjustment uses different formula for different value range. [-25, 0):global_wmark_min' = global_wmark_min + (global_wmark_min - 0) * wmarkMinAdj (0, 50]:global_wmark_min' = global_wmark_min + (global_wmark_low - global_wmark_min) * wmarkMinAdj Close: [LSR:0, LS:0, BE:0]. Recommended: [LSR:-25, LS:-25, BE:50]." + description: "wmark_min_adj (Anolis OS required)\nWmarkMinAdj specifies `memory.wmark_min_adj` which adjusts per-memcg threshold for global memory\nreclamation. Lower the factor brings later reclamation.\nThe adjustment uses different formula for different value range.\n[-25, 0):global_wmark_min' = global_wmark_min + (global_wmark_min - 0) * wmarkMinAdj\n(0, 50]:global_wmark_min' = global_wmark_min + (global_wmark_low - global_wmark_min) * wmarkMinAdj\nClose: [LSR:0, LS:0, BE:0]. Recommended: [LSR:-25, LS:-25, BE:50]." format: "int64" maximum: 50.0 minimum: -25.0 type: "integer" wmarkRatio: - description: "wmark_ratio (Anolis OS required) Async memory reclamation is triggered when cgroup memory usage exceeds `memory.wmark_high` and the reclamation stops when usage is below `memory.wmark_low`. Basically, `memory.wmark_high` := min(memory.high, memory.limit_in_bytes) * memory.memory.wmark_ratio `memory.wmark_low` := min(memory.high, memory.limit_in_bytes) * (memory.wmark_ratio - memory.wmark_scale_factor) WmarkRatio specifies `memory.wmark_ratio` that help calculate `memory.wmark_high`, which triggers async memory reclamation when memory usage exceeds. Close: 0. Recommended: 95." + description: "wmark_ratio (Anolis OS required)\nAsync memory reclamation is triggered when cgroup memory usage exceeds `memory.wmark_high` and the reclamation\nstops when usage is below `memory.wmark_low`. Basically,\n`memory.wmark_high` := min(memory.high, memory.limit_in_bytes) * memory.memory.wmark_ratio\n`memory.wmark_low` := min(memory.high, memory.limit_in_bytes) * (memory.wmark_ratio - memory.wmark_scale_factor)\nWmarkRatio specifies `memory.wmark_ratio` that help calculate `memory.wmark_high`, which triggers async\nmemory reclamation when memory usage exceeds.\nClose: 0. Recommended: 95." format: "int64" maximum: 100.0 minimum: 0.0 type: "integer" wmarkScalePermill: - description: "WmarkScalePermill specifies `memory.wmark_scale_factor` that helps calculate `memory.wmark_low`, which stops async memory reclamation when memory usage belows. Close: 50. Recommended: 20." + description: "WmarkScalePermill specifies `memory.wmark_scale_factor` that helps calculate `memory.wmark_low`, which\nstops async memory reclamation when memory usage belows.\nClose: 50. Recommended: 20." format: "int64" maximum: 1000.0 minimum: 1.0 @@ -935,14 +935,14 @@ spec: - type: "integer" - type: "string" default: 100 - description: "EgressLimit describes the maximum network bandwidth can be used in the egress direction, unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M." + description: "EgressLimit describes the maximum network bandwidth can be used in the egress direction,\nunit: bps(bytes per second), two expressions are supported,int and string,\nint: percentage based on total bandwidth,valid in 0-100\nstring: a specific network bandwidth value, eg: 50M." x-kubernetes-int-or-string: true egressRequest: anyOf: - type: "integer" - type: "string" default: 0 - description: "EgressRequest describes the minimum network bandwidth guaranteed in the egress direction. unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M." + description: "EgressRequest describes the minimum network bandwidth guaranteed in the egress direction.\nunit: bps(bytes per second), two expressions are supported,int and string,\nint: percentage based on total bandwidth,valid in 0-100\nstring: a specific network bandwidth value, eg: 50M." x-kubernetes-int-or-string: true enable: type: "boolean" @@ -951,14 +951,14 @@ spec: - type: "integer" - type: "string" default: 100 - description: "IngressLimit describes the maximum network bandwidth can be used in the ingress direction, unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M." + description: "IngressLimit describes the maximum network bandwidth can be used in the ingress direction,\nunit: bps(bytes per second), two expressions are supported,int and string,\nint: percentage based on total bandwidth,valid in 0-100\nstring: a specific network bandwidth value, eg: 50M." x-kubernetes-int-or-string: true ingressRequest: anyOf: - type: "integer" - type: "string" default: 0 - description: "IngressRequest describes the minimum network bandwidth guaranteed in the ingress direction. unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M." + description: "IngressRequest describes the minimum network bandwidth guaranteed in the ingress direction.\nunit: bps(bytes per second), two expressions are supported,int and string,\nint: percentage based on total bandwidth,valid in 0-100\nstring: a specific network bandwidth value, eg: 50M." x-kubernetes-int-or-string: true type: "object" resctrlQOS: @@ -1008,7 +1008,7 @@ spec: ioCfg: properties: enableUserModel: - description: "configure the cost model of blkio-cost manually whether the user model is enabled. Default value: false" + description: "configure the cost model of blkio-cost manually\nwhether the user model is enabled. Default value: false" type: "boolean" ioWeightPercent: description: "This field is used to set the weight of a sub-group. Default value: 100. Valid values: 1 to 100." @@ -1047,17 +1047,17 @@ spec: minimum: 1.0 type: "integer" readBPS: - description: "Throttling of throughput The value is set to 0, which indicates that the feature is disabled." + description: "Throttling of throughput\nThe value is set to 0, which indicates that the feature is disabled." format: "int64" minimum: 0.0 type: "integer" readIOPS: - description: "Throttling of IOPS The value is set to 0, which indicates that the feature is disabled." + description: "Throttling of IOPS\nThe value is set to 0, which indicates that the feature is disabled." format: "int64" minimum: 0.0 type: "integer" readLatency: - description: "Configure the weight-based throttling feature of blk-iocost Only used for RootClass After blk-iocost is enabled, the kernel calculates the proportion of requests that exceed the read or write latency threshold out of all requests. When the proportion is greater than the read or write latency percentile (95%), the kernel considers the disk to be saturated and reduces the rate at which requests are sent to the disk. the read latency threshold. Unit: microseconds." + description: "Configure the weight-based throttling feature of blk-iocost\nOnly used for RootClass\nAfter blk-iocost is enabled, the kernel calculates the proportion of requests that exceed the read or write latency threshold out of all requests. When the proportion is greater than the read or write latency percentile (95%), the kernel considers the disk to be saturated and reduces the rate at which requests are sent to the disk.\nthe read latency threshold. Unit: microseconds." format: "int64" type: "integer" readLatencyPercent: @@ -1098,17 +1098,17 @@ spec: description: "CPUQOSCfg stores node-level config of cpu qos" properties: coreExpeller: - description: "whether pods of the QoS class can expel the cgroup idle pods at the SMT-level. default = false If set to true, pods of this QoS will use a dedicated core sched group for noise clean with the SchedIdle pods. NOTE: It takes effect if cpuPolicy = \"coreSched\"." + description: "whether pods of the QoS class can expel the cgroup idle pods at the SMT-level. default = false\nIf set to true, pods of this QoS will use a dedicated core sched group for noise clean with the SchedIdle pods.\nNOTE: It takes effect if cpuPolicy = \"coreSched\"." type: "boolean" enable: description: "Enable indicates whether the cpu qos is enabled." type: "boolean" groupIdentity: - description: "group identity value for pods, default = 0 NOTE: It takes effect if cpuPolicy = \"groupIdentity\"." + description: "group identity value for pods, default = 0\nNOTE: It takes effect if cpuPolicy = \"groupIdentity\"." format: "int64" type: "integer" schedIdle: - description: "cpu.idle value for pods, default = 0. `1` means using SCHED_IDLE. CGroup Idle (introduced since mainline Linux 5.15): https://lore.kernel.org/lkml/162971078674.25758.15464079371945307825.tip-bot2@tip-bot2/#r NOTE: It takes effect if cpuPolicy = \"coreSched\"." + description: "cpu.idle value for pods, default = 0.\n`1` means using SCHED_IDLE.\nCGroup Idle (introduced since mainline Linux 5.15): https://lore.kernel.org/lkml/162971078674.25758.15464079371945307825.tip-bot2@tip-bot2/#r\nNOTE: It takes effect if cpuPolicy = \"coreSched\"." format: "int64" type: "integer" type: "object" @@ -1116,15 +1116,15 @@ spec: description: "MemoryQOSCfg stores node-level config of memory qos" properties: enable: - description: "Enable indicates whether the memory qos is enabled (default: false). This field is used for node-level control, while pod-level configuration is done with MemoryQOS and `Policy` instead of an `Enable` option. Please view the differences between MemoryQOSCfg and PodMemoryQOSConfig structs." + description: "Enable indicates whether the memory qos is enabled (default: false).\nThis field is used for node-level control, while pod-level configuration is done with MemoryQOS and `Policy`\ninstead of an `Enable` option. Please view the differences between MemoryQOSCfg and PodMemoryQOSConfig structs." type: "boolean" lowLimitPercent: - description: "LowLimitPercent specifies the lowLimitFactor percentage to calculate `memory.low`, which TRIES BEST protecting memory from global reclamation when memory usage does not exceed the low limit unless no unprotected memcg can be reclaimed. NOTE: `memory.low` should be larger than `memory.min`. If spec.requests.memory == spec.limits.memory, pod `memory.low` and `memory.high` become invalid, while `memory.wmark_ratio` is still in effect. Close: 0." + description: "LowLimitPercent specifies the lowLimitFactor percentage to calculate `memory.low`, which TRIES BEST\nprotecting memory from global reclamation when memory usage does not exceed the low limit unless no unprotected\nmemcg can be reclaimed.\nNOTE: `memory.low` should be larger than `memory.min`. If spec.requests.memory == spec.limits.memory,\npod `memory.low` and `memory.high` become invalid, while `memory.wmark_ratio` is still in effect.\nClose: 0." format: "int64" minimum: 0.0 type: "integer" minLimitPercent: - description: "memcg qos If enabled, memcg qos will be set by the agent, where some fields are implicitly calculated from pod spec. 1. `memory.min` := spec.requests.memory * minLimitFactor / 100 (use 0 if requests.memory is not set) 2. `memory.low` := spec.requests.memory * lowLimitFactor / 100 (use 0 if requests.memory is not set) 3. `memory.limit_in_bytes` := spec.limits.memory (set $node.allocatable.memory if limits.memory is not set) 4. `memory.high` := floor[(spec.requests.memory + throttlingFactor / 100 * (memory.limit_in_bytes or node allocatable memory - spec.requests.memory))/pageSize] * pageSize MinLimitPercent specifies the minLimitFactor percentage to calculate `memory.min`, which protects memory from global reclamation when memory usage does not exceed the min limit. Close: 0." + description: "memcg qos\nIf enabled, memcg qos will be set by the agent, where some fields are implicitly calculated from pod spec.\n1. `memory.min` := spec.requests.memory * minLimitFactor / 100 (use 0 if requests.memory is not set)\n2. `memory.low` := spec.requests.memory * lowLimitFactor / 100 (use 0 if requests.memory is not set)\n3. `memory.limit_in_bytes` := spec.limits.memory (set $node.allocatable.memory if limits.memory is not set)\n4. `memory.high` := floor[(spec.requests.memory + throttlingFactor / 100 * (memory.limit_in_bytes or node allocatable memory - spec.requests.memory))/pageSize] * pageSize\nMinLimitPercent specifies the minLimitFactor percentage to calculate `memory.min`, which protects memory\nfrom global reclamation when memory usage does not exceed the min limit.\nClose: 0." format: "int64" minimum: 0.0 type: "integer" @@ -1139,24 +1139,24 @@ spec: format: "int64" type: "integer" throttlingPercent: - description: "ThrottlingPercent specifies the throttlingFactor percentage to calculate `memory.high` with pod memory.limits or node allocatable memory, which triggers memcg direct reclamation when memory usage exceeds. Lower the factor brings more heavier reclaim pressure. Close: 0." + description: "ThrottlingPercent specifies the throttlingFactor percentage to calculate `memory.high` with pod\nmemory.limits or node allocatable memory, which triggers memcg direct reclamation when memory usage exceeds.\nLower the factor brings more heavier reclaim pressure.\nClose: 0." format: "int64" minimum: 0.0 type: "integer" wmarkMinAdj: - description: "wmark_min_adj (Anolis OS required) WmarkMinAdj specifies `memory.wmark_min_adj` which adjusts per-memcg threshold for global memory reclamation. Lower the factor brings later reclamation. The adjustment uses different formula for different value range. [-25, 0):global_wmark_min' = global_wmark_min + (global_wmark_min - 0) * wmarkMinAdj (0, 50]:global_wmark_min' = global_wmark_min + (global_wmark_low - global_wmark_min) * wmarkMinAdj Close: [LSR:0, LS:0, BE:0]. Recommended: [LSR:-25, LS:-25, BE:50]." + description: "wmark_min_adj (Anolis OS required)\nWmarkMinAdj specifies `memory.wmark_min_adj` which adjusts per-memcg threshold for global memory\nreclamation. Lower the factor brings later reclamation.\nThe adjustment uses different formula for different value range.\n[-25, 0):global_wmark_min' = global_wmark_min + (global_wmark_min - 0) * wmarkMinAdj\n(0, 50]:global_wmark_min' = global_wmark_min + (global_wmark_low - global_wmark_min) * wmarkMinAdj\nClose: [LSR:0, LS:0, BE:0]. Recommended: [LSR:-25, LS:-25, BE:50]." format: "int64" maximum: 50.0 minimum: -25.0 type: "integer" wmarkRatio: - description: "wmark_ratio (Anolis OS required) Async memory reclamation is triggered when cgroup memory usage exceeds `memory.wmark_high` and the reclamation stops when usage is below `memory.wmark_low`. Basically, `memory.wmark_high` := min(memory.high, memory.limit_in_bytes) * memory.memory.wmark_ratio `memory.wmark_low` := min(memory.high, memory.limit_in_bytes) * (memory.wmark_ratio - memory.wmark_scale_factor) WmarkRatio specifies `memory.wmark_ratio` that help calculate `memory.wmark_high`, which triggers async memory reclamation when memory usage exceeds. Close: 0. Recommended: 95." + description: "wmark_ratio (Anolis OS required)\nAsync memory reclamation is triggered when cgroup memory usage exceeds `memory.wmark_high` and the reclamation\nstops when usage is below `memory.wmark_low`. Basically,\n`memory.wmark_high` := min(memory.high, memory.limit_in_bytes) * memory.memory.wmark_ratio\n`memory.wmark_low` := min(memory.high, memory.limit_in_bytes) * (memory.wmark_ratio - memory.wmark_scale_factor)\nWmarkRatio specifies `memory.wmark_ratio` that help calculate `memory.wmark_high`, which triggers async\nmemory reclamation when memory usage exceeds.\nClose: 0. Recommended: 95." format: "int64" maximum: 100.0 minimum: 0.0 type: "integer" wmarkScalePermill: - description: "WmarkScalePermill specifies `memory.wmark_scale_factor` that helps calculate `memory.wmark_low`, which stops async memory reclamation when memory usage belows. Close: 50. Recommended: 20." + description: "WmarkScalePermill specifies `memory.wmark_scale_factor` that helps calculate `memory.wmark_low`, which\nstops async memory reclamation when memory usage belows.\nClose: 50. Recommended: 20." format: "int64" maximum: 1000.0 minimum: 1.0 @@ -1169,14 +1169,14 @@ spec: - type: "integer" - type: "string" default: 100 - description: "EgressLimit describes the maximum network bandwidth can be used in the egress direction, unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M." + description: "EgressLimit describes the maximum network bandwidth can be used in the egress direction,\nunit: bps(bytes per second), two expressions are supported,int and string,\nint: percentage based on total bandwidth,valid in 0-100\nstring: a specific network bandwidth value, eg: 50M." x-kubernetes-int-or-string: true egressRequest: anyOf: - type: "integer" - type: "string" default: 0 - description: "EgressRequest describes the minimum network bandwidth guaranteed in the egress direction. unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M." + description: "EgressRequest describes the minimum network bandwidth guaranteed in the egress direction.\nunit: bps(bytes per second), two expressions are supported,int and string,\nint: percentage based on total bandwidth,valid in 0-100\nstring: a specific network bandwidth value, eg: 50M." x-kubernetes-int-or-string: true enable: type: "boolean" @@ -1185,14 +1185,14 @@ spec: - type: "integer" - type: "string" default: 100 - description: "IngressLimit describes the maximum network bandwidth can be used in the ingress direction, unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M." + description: "IngressLimit describes the maximum network bandwidth can be used in the ingress direction,\nunit: bps(bytes per second), two expressions are supported,int and string,\nint: percentage based on total bandwidth,valid in 0-100\nstring: a specific network bandwidth value, eg: 50M." x-kubernetes-int-or-string: true ingressRequest: anyOf: - type: "integer" - type: "string" default: 0 - description: "IngressRequest describes the minimum network bandwidth guaranteed in the ingress direction. unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M." + description: "IngressRequest describes the minimum network bandwidth guaranteed in the ingress direction.\nunit: bps(bytes per second), two expressions are supported,int and string,\nint: percentage based on total bandwidth,valid in 0-100\nstring: a specific network bandwidth value, eg: 50M." x-kubernetes-int-or-string: true type: "object" resctrlQOS: @@ -1226,11 +1226,11 @@ spec: description: "BE pods will be limited if node resource usage overload" properties: cpuEvictBESatisfactionLowerPercent: - description: "be.satisfactionRate = be.CPURealLimit/be.CPURequest; be.cpuUsage = be.CPUUsed/be.CPURealLimit if be.satisfactionRate < CPUEvictBESatisfactionLowerPercent/100 && be.usage >= CPUEvictBEUsageThresholdPercent/100, then start to evict pod, and will evict to ${CPUEvictBESatisfactionUpperPercent}" + description: "be.satisfactionRate = be.CPURealLimit/be.CPURequest; be.cpuUsage = be.CPUUsed/be.CPURealLimit\nif be.satisfactionRate < CPUEvictBESatisfactionLowerPercent/100 && be.usage >= CPUEvictBEUsageThresholdPercent/100,\nthen start to evict pod, and will evict to ${CPUEvictBESatisfactionUpperPercent}" format: "int64" type: "integer" cpuEvictBESatisfactionUpperPercent: - description: "be.satisfactionRate = be.CPURealLimit/be.CPURequest if be.satisfactionRate > CPUEvictBESatisfactionUpperPercent/100, then stop to evict." + description: "be.satisfactionRate = be.CPURealLimit/be.CPURequest\nif be.satisfactionRate > CPUEvictBESatisfactionUpperPercent/100, then stop to evict." format: "int64" type: "integer" cpuEvictBEUsageThresholdPercent: @@ -1238,10 +1238,10 @@ spec: format: "int64" type: "integer" cpuEvictPolicy: - description: "CPUEvictPolicy defines the policy for the BECPUEvict feature. Default: `evictByRealLimit`." + description: "CPUEvictPolicy defines the policy for the BECPUEvict feature.\nDefault: `evictByRealLimit`." type: "string" cpuEvictTimeWindowSeconds: - description: "when avg(cpuusage) > CPUEvictThresholdPercent, will start to evict pod by cpu, and avg(cpuusage) is calculated based on the most recent CPUEvictTimeWindowSeconds data" + description: "when avg(cpuusage) > CPUEvictThresholdPercent, will start to evict pod by cpu,\nand avg(cpuusage) is calculated based on the most recent CPUEvictTimeWindowSeconds data" format: "int64" type: "integer" cpuSuppressPolicy: diff --git a/crd-catalog/kube-logging/logging-operator/logging-extensions.banzaicloud.io/v1alpha1/eventtailers.yaml b/crd-catalog/kube-logging/logging-operator/logging-extensions.banzaicloud.io/v1alpha1/eventtailers.yaml index 9ed4e4d5e..1fbcb4513 100644 --- a/crd-catalog/kube-logging/logging-operator/logging-extensions.banzaicloud.io/v1alpha1/eventtailers.yaml +++ b/crd-catalog/kube-logging/logging-operator/logging-extensions.banzaicloud.io/v1alpha1/eventtailers.yaml @@ -41,6 +41,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -71,6 +72,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -123,6 +125,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -153,6 +156,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -228,16 +232,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -296,6 +311,8 @@ spec: type: "string" readOnly: type: "boolean" + recursiveReadOnly: + type: "string" subPath: type: "string" subPathExpr: @@ -314,6 +331,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -373,6 +391,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: properties: apiGroup: @@ -432,11 +451,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -473,6 +494,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: type: "boolean" secretName: @@ -512,11 +534,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: items: properties: @@ -528,11 +552,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" weight: @@ -543,6 +569,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: properties: nodeSelectorTerms: @@ -559,11 +586,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: items: properties: @@ -575,14 +604,17 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" type: "array" + x-kubernetes-list-type: "atomic" required: - "nodeSelectorTerms" type: "object" @@ -608,11 +640,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -642,11 +676,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -657,6 +693,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: @@ -670,6 +707,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: items: properties: @@ -686,11 +724,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -720,11 +760,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -735,12 +777,14 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" podAntiAffinity: properties: @@ -762,11 +806,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -796,11 +842,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -811,6 +859,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: @@ -824,6 +873,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: items: properties: @@ -840,11 +890,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -874,11 +926,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -889,12 +943,14 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" type: "object" containers: @@ -914,6 +970,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -944,6 +1001,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -996,6 +1054,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -1026,6 +1085,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -1101,16 +1161,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -1169,6 +1240,8 @@ spec: type: "string" readOnly: type: "boolean" + recursiveReadOnly: + type: "string" subPath: type: "string" subPathExpr: @@ -1184,6 +1257,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -1205,6 +1279,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -1235,6 +1310,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -1287,6 +1363,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -1317,6 +1394,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -1392,16 +1470,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -1460,6 +1549,8 @@ spec: type: "string" readOnly: type: "boolean" + recursiveReadOnly: + type: "string" subPath: type: "string" subPathExpr: @@ -1479,6 +1570,15 @@ spec: type: "string" securityContext: properties: + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" fsGroup: format: "int64" type: "integer" @@ -1517,6 +1617,7 @@ spec: format: "int64" type: "integer" type: "array" + x-kubernetes-list-type: "atomic" sysctls: items: properties: @@ -1529,6 +1630,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" windowsOptions: properties: gmsaCredentialSpec: @@ -1612,6 +1714,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" readOnly: @@ -1621,6 +1724,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -1638,6 +1742,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -1666,7 +1771,9 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: + default: "" type: "string" optional: type: "boolean" @@ -1681,6 +1788,7 @@ spec: nodePublishSecretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -1736,6 +1844,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" emptyDir: properties: @@ -1760,6 +1869,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: properties: apiGroup: @@ -1819,11 +1929,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -1856,10 +1968,12 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" wwids: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" flexVolume: properties: @@ -1876,6 +1990,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -1956,11 +2071,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" readOnly: type: "boolean" secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2037,11 +2154,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -2076,7 +2195,9 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: + default: "" type: "string" optional: type: "boolean" @@ -2122,6 +2243,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" secret: properties: @@ -2140,7 +2262,9 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: + default: "" type: "string" optional: type: "boolean" @@ -2160,6 +2284,7 @@ spec: type: "object" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" quobyte: properties: @@ -2191,6 +2316,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" pool: type: "string" readOnly: @@ -2198,6 +2324,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2220,6 +2347,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2258,6 +2386,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: type: "boolean" secretName: @@ -2272,6 +2401,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" diff --git a/crd-catalog/kube-logging/logging-operator/logging-extensions.banzaicloud.io/v1alpha1/hosttailers.yaml b/crd-catalog/kube-logging/logging-operator/logging-extensions.banzaicloud.io/v1alpha1/hosttailers.yaml index e63c7e4ad..422e9caf8 100644 --- a/crd-catalog/kube-logging/logging-operator/logging-extensions.banzaicloud.io/v1alpha1/hosttailers.yaml +++ b/crd-catalog/kube-logging/logging-operator/logging-extensions.banzaicloud.io/v1alpha1/hosttailers.yaml @@ -50,6 +50,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -80,6 +81,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -132,6 +134,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -162,6 +165,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -237,16 +241,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -305,6 +320,8 @@ spec: type: "string" readOnly: type: "boolean" + recursiveReadOnly: + type: "string" subPath: type: "string" subPathExpr: @@ -323,6 +340,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -352,6 +370,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -382,6 +401,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -412,6 +432,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -464,6 +485,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -494,6 +516,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -569,16 +592,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -637,6 +671,8 @@ spec: type: "string" readOnly: type: "boolean" + recursiveReadOnly: + type: "string" subPath: type: "string" subPathExpr: @@ -655,6 +691,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -711,11 +748,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: items: properties: @@ -727,11 +766,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" weight: @@ -742,6 +783,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: properties: nodeSelectorTerms: @@ -758,11 +800,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: items: properties: @@ -774,14 +818,17 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" type: "array" + x-kubernetes-list-type: "atomic" required: - "nodeSelectorTerms" type: "object" @@ -807,11 +854,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -841,11 +890,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -856,6 +907,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: @@ -869,6 +921,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: items: properties: @@ -885,11 +938,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -919,11 +974,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -934,12 +991,14 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" podAntiAffinity: properties: @@ -961,11 +1020,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -995,11 +1056,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -1010,6 +1073,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: @@ -1023,6 +1087,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: items: properties: @@ -1039,11 +1104,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -1073,11 +1140,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -1088,12 +1157,14 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" type: "object" containers: @@ -1113,6 +1184,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -1143,6 +1215,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -1195,6 +1268,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -1225,6 +1299,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -1300,16 +1375,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -1368,6 +1454,8 @@ spec: type: "string" readOnly: type: "boolean" + recursiveReadOnly: + type: "string" subPath: type: "string" subPathExpr: @@ -1383,6 +1471,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -1404,6 +1493,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -1434,6 +1524,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -1486,6 +1577,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -1516,6 +1608,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -1591,16 +1684,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -1659,6 +1763,8 @@ spec: type: "string" readOnly: type: "boolean" + recursiveReadOnly: + type: "string" subPath: type: "string" subPathExpr: @@ -1678,6 +1784,15 @@ spec: type: "string" securityContext: properties: + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" fsGroup: format: "int64" type: "integer" @@ -1716,6 +1831,7 @@ spec: format: "int64" type: "integer" type: "array" + x-kubernetes-list-type: "atomic" sysctls: items: properties: @@ -1728,6 +1844,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" windowsOptions: properties: gmsaCredentialSpec: @@ -1811,6 +1928,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" readOnly: @@ -1820,6 +1938,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -1837,6 +1956,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -1865,7 +1985,9 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: + default: "" type: "string" optional: type: "boolean" @@ -1880,6 +2002,7 @@ spec: nodePublishSecretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -1935,6 +2058,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" emptyDir: properties: @@ -1959,6 +2083,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: properties: apiGroup: @@ -2018,11 +2143,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -2055,10 +2182,12 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" wwids: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" flexVolume: properties: @@ -2075,6 +2204,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2155,11 +2285,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" readOnly: type: "boolean" secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2236,11 +2368,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -2275,7 +2409,9 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: + default: "" type: "string" optional: type: "boolean" @@ -2321,6 +2457,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" secret: properties: @@ -2339,7 +2476,9 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: + default: "" type: "string" optional: type: "boolean" @@ -2359,6 +2498,7 @@ spec: type: "object" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" quobyte: properties: @@ -2390,6 +2530,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" pool: type: "string" readOnly: @@ -2397,6 +2538,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2419,6 +2561,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2457,6 +2600,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: type: "boolean" secretName: @@ -2471,6 +2615,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" diff --git a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/clusterflows.yaml b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/clusterflows.yaml index 2d9d7f9d7..bf9f1f37b 100644 --- a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/clusterflows.yaml +++ b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/clusterflows.yaml @@ -146,6 +146,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -163,6 +164,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -189,6 +191,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -206,6 +209,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -224,6 +228,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -241,6 +246,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -407,6 +413,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -424,6 +431,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -500,6 +508,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -517,6 +526,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -610,6 +620,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -627,6 +638,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -703,6 +715,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -720,6 +733,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" diff --git a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/clusteroutputs.yaml b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/clusteroutputs.yaml index a5cd5220a..4acf19174 100644 --- a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/clusteroutputs.yaml +++ b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/clusteroutputs.yaml @@ -47,6 +47,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -64,6 +65,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -155,6 +157,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -172,6 +175,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -190,6 +194,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -207,6 +212,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -225,6 +231,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -242,6 +249,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -260,6 +268,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -277,6 +286,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -323,6 +333,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -340,6 +351,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -358,6 +370,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -375,6 +388,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -393,6 +407,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -410,6 +425,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -428,6 +444,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -445,6 +462,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -463,6 +481,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -480,6 +499,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -500,6 +520,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -517,6 +538,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -535,6 +557,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -552,6 +575,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -644,6 +668,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -661,6 +686,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -735,6 +761,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -752,6 +779,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -815,6 +843,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -832,6 +861,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -850,6 +880,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -867,6 +898,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -885,6 +917,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -902,6 +935,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1005,6 +1039,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1022,6 +1057,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1040,6 +1076,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1057,6 +1094,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1230,6 +1268,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1247,6 +1286,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1379,6 +1419,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1396,6 +1437,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1487,6 +1529,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1504,6 +1547,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1522,6 +1566,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1539,6 +1584,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1557,6 +1603,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1574,6 +1621,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1592,6 +1640,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1609,6 +1658,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1705,6 +1755,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1722,6 +1773,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1796,6 +1848,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1813,6 +1866,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2097,6 +2151,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2114,6 +2169,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2134,6 +2190,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2151,6 +2208,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2171,6 +2229,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2188,6 +2247,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2205,6 +2265,8 @@ spec: type: "array" slow_flush_log_threshold: type: "string" + time_as_integer: + type: "boolean" tls_allow_self_signed_cert: type: "boolean" tls_cert_logical_store_name: @@ -2218,6 +2280,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2235,6 +2298,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2259,6 +2323,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2276,6 +2341,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2294,6 +2360,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2311,6 +2378,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2329,6 +2397,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2346,6 +2415,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2458,6 +2528,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2475,6 +2546,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2639,6 +2711,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2656,6 +2729,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2674,6 +2748,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2691,6 +2766,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2827,6 +2903,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2844,6 +2921,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2864,6 +2942,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2881,6 +2960,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2899,6 +2979,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2916,6 +2997,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2934,6 +3016,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2951,6 +3034,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3100,6 +3184,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3117,6 +3202,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3143,6 +3229,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3160,6 +3247,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3188,6 +3276,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3205,6 +3294,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3225,6 +3315,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3242,6 +3333,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3260,6 +3352,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3277,6 +3370,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3295,6 +3389,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3312,6 +3407,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3336,6 +3432,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3353,6 +3450,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3397,6 +3495,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3414,6 +3513,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3432,6 +3532,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3449,6 +3550,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3467,6 +3569,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3484,6 +3587,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3632,6 +3736,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3649,6 +3754,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3667,6 +3773,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3684,6 +3791,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3702,6 +3810,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3719,6 +3828,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4021,6 +4131,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4038,6 +4149,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4147,6 +4259,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4164,6 +4277,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4182,6 +4296,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4199,6 +4314,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4231,6 +4347,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4248,6 +4365,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4272,6 +4390,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4289,6 +4408,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4317,6 +4437,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4334,6 +4455,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4355,6 +4477,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4372,6 +4495,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4400,6 +4524,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4417,6 +4542,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4440,6 +4566,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4457,6 +4584,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4563,6 +4691,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4580,6 +4709,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4676,6 +4806,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4693,6 +4824,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4713,6 +4845,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4730,6 +4863,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4748,6 +4882,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4765,6 +4900,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4783,6 +4919,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4800,6 +4937,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4838,6 +4976,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4855,6 +4994,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4873,6 +5013,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4890,6 +5031,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4908,6 +5050,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4925,6 +5068,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4943,6 +5087,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4960,6 +5105,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4978,6 +5124,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4995,6 +5142,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5015,6 +5163,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5032,6 +5181,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5050,6 +5200,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5067,6 +5218,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5140,6 +5292,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5157,6 +5310,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5225,6 +5379,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5242,6 +5397,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5299,6 +5455,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5316,6 +5473,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5334,6 +5492,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5351,6 +5510,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5595,6 +5755,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5612,6 +5773,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5670,6 +5832,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5687,6 +5850,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5705,6 +5869,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5722,6 +5887,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6003,6 +6169,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6020,6 +6187,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6038,6 +6206,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6055,6 +6224,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6073,6 +6243,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6090,6 +6261,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6108,6 +6280,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6125,6 +6298,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6172,6 +6346,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6189,6 +6364,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6253,6 +6429,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6270,6 +6447,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6288,6 +6466,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6305,6 +6484,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6500,6 +6680,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6517,6 +6698,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6638,6 +6820,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6655,6 +6838,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6710,6 +6894,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6727,6 +6912,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6745,6 +6931,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6762,6 +6949,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6784,6 +6972,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6801,6 +6990,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6904,6 +7094,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6921,6 +7112,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6961,6 +7153,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6978,6 +7171,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -7023,6 +7217,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -7040,6 +7235,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -7151,6 +7347,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -7168,6 +7365,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" diff --git a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/flows.yaml b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/flows.yaml index ecda959e8..44267a406 100644 --- a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/flows.yaml +++ b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/flows.yaml @@ -146,6 +146,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -163,6 +164,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -189,6 +191,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -206,6 +209,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -224,6 +228,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -241,6 +246,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -407,6 +413,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -424,6 +431,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -500,6 +508,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -517,6 +526,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -610,6 +620,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -627,6 +638,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -703,6 +715,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -720,6 +733,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" diff --git a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/outputs.yaml b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/outputs.yaml index 2af364c00..f5302b182 100644 --- a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/outputs.yaml +++ b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/outputs.yaml @@ -47,6 +47,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -64,6 +65,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -155,6 +157,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -172,6 +175,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -190,6 +194,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -207,6 +212,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -225,6 +231,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -242,6 +249,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -260,6 +268,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -277,6 +286,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -323,6 +333,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -340,6 +351,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -358,6 +370,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -375,6 +388,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -393,6 +407,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -410,6 +425,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -428,6 +444,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -445,6 +462,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -463,6 +481,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -480,6 +499,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -500,6 +520,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -517,6 +538,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -535,6 +557,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -552,6 +575,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -644,6 +668,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -661,6 +686,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -735,6 +761,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -752,6 +779,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -815,6 +843,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -832,6 +861,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -850,6 +880,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -867,6 +898,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -885,6 +917,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -902,6 +935,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1005,6 +1039,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1022,6 +1057,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1040,6 +1076,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1057,6 +1094,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1230,6 +1268,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1247,6 +1286,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1379,6 +1419,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1396,6 +1437,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1487,6 +1529,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1504,6 +1547,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1522,6 +1566,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1539,6 +1584,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1557,6 +1603,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1574,6 +1621,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1592,6 +1640,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1609,6 +1658,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1705,6 +1755,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1722,6 +1773,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1796,6 +1848,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1813,6 +1866,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2093,6 +2147,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2110,6 +2165,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2130,6 +2186,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2147,6 +2204,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2167,6 +2225,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2184,6 +2243,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2201,6 +2261,8 @@ spec: type: "array" slow_flush_log_threshold: type: "string" + time_as_integer: + type: "boolean" tls_allow_self_signed_cert: type: "boolean" tls_cert_logical_store_name: @@ -2214,6 +2276,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2231,6 +2294,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2255,6 +2319,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2272,6 +2337,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2290,6 +2356,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2307,6 +2374,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2325,6 +2393,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2342,6 +2411,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2454,6 +2524,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2471,6 +2542,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2635,6 +2707,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2652,6 +2725,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2670,6 +2744,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2687,6 +2762,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2823,6 +2899,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2840,6 +2917,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2860,6 +2938,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2877,6 +2956,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2895,6 +2975,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2912,6 +2993,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2930,6 +3012,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2947,6 +3030,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3096,6 +3180,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3113,6 +3198,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3139,6 +3225,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3156,6 +3243,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3184,6 +3272,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3201,6 +3290,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3221,6 +3311,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3238,6 +3329,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3256,6 +3348,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3273,6 +3366,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3291,6 +3385,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3308,6 +3403,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3332,6 +3428,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3349,6 +3446,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3391,6 +3489,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3408,6 +3507,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3426,6 +3526,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3443,6 +3544,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3461,6 +3563,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3478,6 +3581,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3780,6 +3884,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3797,6 +3902,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3906,6 +4012,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3923,6 +4030,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3941,6 +4049,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3958,6 +4067,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3990,6 +4100,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4007,6 +4118,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4031,6 +4143,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4048,6 +4161,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4076,6 +4190,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4093,6 +4208,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4114,6 +4230,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4131,6 +4248,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4237,6 +4355,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4254,6 +4373,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4350,6 +4470,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4367,6 +4488,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4387,6 +4509,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4404,6 +4527,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4422,6 +4546,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4439,6 +4564,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4457,6 +4583,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4474,6 +4601,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4512,6 +4640,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4529,6 +4658,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4547,6 +4677,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4564,6 +4695,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4582,6 +4714,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4599,6 +4732,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4617,6 +4751,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4634,6 +4769,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4652,6 +4788,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4669,6 +4806,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4689,6 +4827,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4706,6 +4845,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4724,6 +4864,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4741,6 +4882,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4814,6 +4956,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4831,6 +4974,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4899,6 +5043,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4916,6 +5061,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4973,6 +5119,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4990,6 +5137,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5008,6 +5156,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5025,6 +5174,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5267,6 +5417,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5284,6 +5435,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5342,6 +5494,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5359,6 +5512,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5377,6 +5531,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5394,6 +5549,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5675,6 +5831,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5692,6 +5849,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5710,6 +5868,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5727,6 +5886,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5745,6 +5905,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5762,6 +5923,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5780,6 +5942,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5797,6 +5960,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5844,6 +6008,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5861,6 +6026,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5925,6 +6091,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5942,6 +6109,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5960,6 +6128,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5977,6 +6146,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6172,6 +6342,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6189,6 +6360,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6310,6 +6482,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6327,6 +6500,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6382,6 +6556,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6399,6 +6574,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6417,6 +6593,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6434,6 +6611,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6456,6 +6634,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6473,6 +6652,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" diff --git a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/clusterflows.yaml b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/clusterflows.yaml index 5eece77e7..61f0cf031 100644 --- a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/clusterflows.yaml +++ b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/clusterflows.yaml @@ -146,6 +146,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -163,6 +164,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -189,6 +191,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -206,6 +209,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -224,6 +228,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -241,6 +246,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -407,6 +413,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -424,6 +431,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -500,6 +508,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -517,6 +526,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -610,6 +620,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -627,6 +638,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -703,6 +715,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -720,6 +733,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" diff --git a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/clusteroutputs.yaml b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/clusteroutputs.yaml index 69a15dfd5..a90f763ff 100644 --- a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/clusteroutputs.yaml +++ b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/clusteroutputs.yaml @@ -47,6 +47,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -64,6 +65,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -155,6 +157,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -172,6 +175,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -190,6 +194,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -207,6 +212,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -225,6 +231,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -242,6 +249,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -260,6 +268,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -277,6 +286,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -323,6 +333,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -340,6 +351,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -358,6 +370,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -375,6 +388,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -393,6 +407,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -410,6 +425,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -428,6 +444,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -445,6 +462,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -463,6 +481,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -480,6 +499,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -500,6 +520,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -517,6 +538,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -535,6 +557,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -552,6 +575,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -644,6 +668,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -661,6 +686,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -735,6 +761,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -752,6 +779,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -815,6 +843,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -832,6 +861,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -850,6 +880,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -867,6 +898,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -885,6 +917,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -902,6 +935,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1005,6 +1039,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1022,6 +1057,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1040,6 +1076,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1057,6 +1094,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1230,6 +1268,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1247,6 +1286,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1379,6 +1419,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1396,6 +1437,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1487,6 +1529,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1504,6 +1547,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1522,6 +1566,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1539,6 +1584,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1557,6 +1603,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1574,6 +1621,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1592,6 +1640,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1609,6 +1658,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1705,6 +1755,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1722,6 +1773,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1796,6 +1848,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1813,6 +1866,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2097,6 +2151,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2114,6 +2169,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2134,6 +2190,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2151,6 +2208,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2171,6 +2229,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2188,6 +2247,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2205,6 +2265,8 @@ spec: type: "array" slow_flush_log_threshold: type: "string" + time_as_integer: + type: "boolean" tls_allow_self_signed_cert: type: "boolean" tls_cert_logical_store_name: @@ -2218,6 +2280,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2235,6 +2298,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2259,6 +2323,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2276,6 +2341,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2294,6 +2360,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2311,6 +2378,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2329,6 +2397,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2346,6 +2415,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2458,6 +2528,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2475,6 +2546,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2639,6 +2711,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2656,6 +2729,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2674,6 +2748,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2691,6 +2766,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2827,6 +2903,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2844,6 +2921,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2864,6 +2942,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2881,6 +2960,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2899,6 +2979,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2916,6 +2997,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2934,6 +3016,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2951,6 +3034,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3100,6 +3184,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3117,6 +3202,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3143,6 +3229,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3160,6 +3247,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3188,6 +3276,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3205,6 +3294,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3225,6 +3315,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3242,6 +3333,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3260,6 +3352,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3277,6 +3370,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3295,6 +3389,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3312,6 +3407,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3336,6 +3432,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3353,6 +3450,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3397,6 +3495,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3414,6 +3513,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3432,6 +3532,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3449,6 +3550,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3467,6 +3569,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3484,6 +3587,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3632,6 +3736,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3649,6 +3754,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3667,6 +3773,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3684,6 +3791,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3702,6 +3810,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3719,6 +3828,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4021,6 +4131,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4038,6 +4149,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4147,6 +4259,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4164,6 +4277,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4182,6 +4296,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4199,6 +4314,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4231,6 +4347,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4248,6 +4365,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4272,6 +4390,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4289,6 +4408,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4317,6 +4437,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4334,6 +4455,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4355,6 +4477,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4372,6 +4495,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4400,6 +4524,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4417,6 +4542,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4440,6 +4566,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4457,6 +4584,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4563,6 +4691,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4580,6 +4709,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4676,6 +4806,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4693,6 +4824,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4713,6 +4845,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4730,6 +4863,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4748,6 +4882,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4765,6 +4900,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4783,6 +4919,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4800,6 +4937,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4838,6 +4976,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4855,6 +4994,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4873,6 +5013,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4890,6 +5031,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4908,6 +5050,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4925,6 +5068,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4943,6 +5087,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4960,6 +5105,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4978,6 +5124,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4995,6 +5142,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5015,6 +5163,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5032,6 +5181,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5050,6 +5200,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5067,6 +5218,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5140,6 +5292,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5157,6 +5310,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5225,6 +5379,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5242,6 +5397,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5299,6 +5455,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5316,6 +5473,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5334,6 +5492,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5351,6 +5510,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5595,6 +5755,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5612,6 +5773,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5670,6 +5832,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5687,6 +5850,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5705,6 +5869,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5722,6 +5887,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6003,6 +6169,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6020,6 +6187,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6038,6 +6206,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6055,6 +6224,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6073,6 +6243,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6090,6 +6261,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6108,6 +6280,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6125,6 +6298,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6172,6 +6346,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6189,6 +6364,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6253,6 +6429,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6270,6 +6447,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6288,6 +6466,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6305,6 +6484,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6500,6 +6680,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6517,6 +6698,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6638,6 +6820,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6655,6 +6838,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6710,6 +6894,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6727,6 +6912,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6745,6 +6931,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6762,6 +6949,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6784,6 +6972,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6801,6 +6990,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6904,6 +7094,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6921,6 +7112,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6961,6 +7153,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6978,6 +7171,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -7023,6 +7217,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -7040,6 +7235,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -7151,6 +7347,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -7168,6 +7365,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" diff --git a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/flows.yaml b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/flows.yaml index 54c5186b4..47437cc2b 100644 --- a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/flows.yaml +++ b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/flows.yaml @@ -146,6 +146,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -163,6 +164,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -189,6 +191,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -206,6 +209,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -224,6 +228,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -241,6 +246,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -407,6 +413,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -424,6 +431,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -500,6 +508,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -517,6 +526,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -610,6 +620,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -627,6 +638,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -703,6 +715,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -720,6 +733,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" diff --git a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/fluentbitagents.yaml b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/fluentbitagents.yaml index cd8bd2405..c86333a45 100644 --- a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/fluentbitagents.yaml +++ b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/fluentbitagents.yaml @@ -49,11 +49,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: items: properties: @@ -65,11 +67,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" weight: @@ -80,6 +84,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: properties: nodeSelectorTerms: @@ -96,11 +101,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: items: properties: @@ -112,14 +119,17 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" type: "array" + x-kubernetes-list-type: "atomic" required: - "nodeSelectorTerms" type: "object" @@ -145,11 +155,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -179,11 +191,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -194,6 +208,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: @@ -207,6 +222,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: items: properties: @@ -223,11 +239,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -257,11 +275,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -272,12 +292,14 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" podAntiAffinity: properties: @@ -299,11 +321,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -333,11 +357,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -348,6 +374,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: @@ -361,6 +388,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: items: properties: @@ -377,11 +405,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -411,11 +441,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -426,12 +458,14 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" type: "object" annotations: @@ -501,6 +535,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: properties: apiGroup: @@ -560,11 +595,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -601,6 +638,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: type: "boolean" secretName: @@ -617,6 +655,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -756,6 +795,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -768,6 +808,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -785,6 +826,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -797,6 +839,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -816,6 +859,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -869,6 +913,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -931,6 +976,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" options: items: properties: @@ -940,10 +986,12 @@ spec: type: "string" type: "object" type: "array" + x-kubernetes-list-type: "atomic" searches: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" dnsPolicy: type: "string" @@ -963,6 +1011,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1001,6 +1050,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1293,6 +1343,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -1381,6 +1432,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -1411,6 +1463,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -1583,6 +1636,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1595,6 +1649,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1612,6 +1667,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1624,6 +1680,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1643,6 +1700,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1739,6 +1797,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: properties: apiGroup: @@ -1798,11 +1857,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -1839,6 +1900,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: type: "boolean" secretName: @@ -1893,6 +1955,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: properties: apiGroup: @@ -1952,11 +2015,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -1993,6 +2058,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: type: "boolean" secretName: @@ -2007,6 +2073,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -2037,6 +2104,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -2112,6 +2180,15 @@ spec: properties: podSecurityContext: properties: + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" fsGroup: format: "int64" type: "integer" @@ -2150,6 +2227,7 @@ spec: format: "int64" type: "integer" type: "array" + x-kubernetes-list-type: "atomic" sysctls: items: properties: @@ -2162,6 +2240,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" windowsOptions: properties: gmsaCredentialSpec: @@ -2182,16 +2261,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -2250,6 +2340,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" diff --git a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/loggings.yaml b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/loggings.yaml index b94f72733..eb749b83c 100644 --- a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/loggings.yaml +++ b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/loggings.yaml @@ -173,6 +173,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -190,6 +191,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -216,6 +218,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -233,6 +236,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -251,6 +255,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -268,6 +273,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -434,6 +440,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -451,6 +458,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -527,6 +535,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -544,6 +553,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -637,6 +647,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -654,6 +665,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -730,6 +742,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -747,6 +760,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1061,11 +1075,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: items: properties: @@ -1077,11 +1093,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" weight: @@ -1092,6 +1110,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: properties: nodeSelectorTerms: @@ -1108,11 +1127,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: items: properties: @@ -1124,14 +1145,17 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" type: "array" + x-kubernetes-list-type: "atomic" required: - "nodeSelectorTerms" type: "object" @@ -1157,11 +1181,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -1191,11 +1217,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -1206,6 +1234,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: @@ -1219,6 +1248,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: items: properties: @@ -1235,11 +1265,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -1269,11 +1301,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -1284,12 +1318,14 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" podAntiAffinity: properties: @@ -1311,11 +1347,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -1345,11 +1383,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -1360,6 +1400,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: @@ -1373,6 +1414,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: items: properties: @@ -1389,11 +1431,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -1423,11 +1467,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -1438,12 +1484,14 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" type: "object" annotations: @@ -1513,6 +1561,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: properties: apiGroup: @@ -1572,11 +1621,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -1613,6 +1664,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: type: "boolean" secretName: @@ -1629,6 +1681,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -1768,6 +1821,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1780,6 +1834,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1797,6 +1852,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1809,6 +1865,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1828,6 +1885,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1881,6 +1939,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -1943,6 +2002,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" options: items: properties: @@ -1952,10 +2012,12 @@ spec: type: "string" type: "object" type: "array" + x-kubernetes-list-type: "atomic" searches: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" dnsPolicy: type: "string" @@ -1975,6 +2037,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2013,6 +2076,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2305,6 +2369,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2393,6 +2458,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -2423,6 +2489,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -2595,6 +2662,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2607,6 +2675,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2624,6 +2693,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2636,6 +2706,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2655,6 +2726,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2751,6 +2823,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: properties: apiGroup: @@ -2810,11 +2883,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -2851,6 +2926,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: type: "boolean" secretName: @@ -2905,6 +2981,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: properties: apiGroup: @@ -2964,11 +3041,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3005,6 +3084,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: type: "boolean" secretName: @@ -3019,6 +3099,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -3049,6 +3130,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -3124,6 +3206,15 @@ spec: properties: podSecurityContext: properties: + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" fsGroup: format: "int64" type: "integer" @@ -3162,6 +3253,7 @@ spec: format: "int64" type: "integer" type: "array" + x-kubernetes-list-type: "atomic" sysctls: items: properties: @@ -3174,6 +3266,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" windowsOptions: properties: gmsaCredentialSpec: @@ -3194,16 +3287,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -3262,6 +3366,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3380,11 +3485,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: items: properties: @@ -3396,11 +3503,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" weight: @@ -3411,6 +3520,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: properties: nodeSelectorTerms: @@ -3427,11 +3537,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: items: properties: @@ -3443,14 +3555,17 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" type: "array" + x-kubernetes-list-type: "atomic" required: - "nodeSelectorTerms" type: "object" @@ -3476,11 +3591,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3510,11 +3627,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3525,6 +3644,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: @@ -3538,6 +3658,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: items: properties: @@ -3554,11 +3675,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3588,11 +3711,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3603,12 +3728,14 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" podAntiAffinity: properties: @@ -3630,11 +3757,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3664,11 +3793,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3679,6 +3810,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: @@ -3692,6 +3824,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: items: properties: @@ -3708,11 +3841,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3742,11 +3877,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3757,12 +3894,14 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" type: "object" annotations: @@ -3817,6 +3956,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: properties: apiGroup: @@ -3876,11 +4016,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3917,6 +4059,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: type: "boolean" secretName: @@ -3933,6 +4076,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4072,6 +4216,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4084,6 +4229,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4101,6 +4247,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4113,6 +4260,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4132,6 +4280,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4179,6 +4328,17 @@ spec: type: "object" compressConfigFile: type: "boolean" + configCheck: + properties: + labels: + additionalProperties: + type: "string" + type: "object" + strategy: + type: "string" + timeoutSeconds: + type: "integer" + type: "object" configCheckAnnotations: additionalProperties: type: "string" @@ -4220,6 +4380,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4270,6 +4431,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" options: items: properties: @@ -4279,10 +4441,12 @@ spec: type: "string" type: "object" type: "array" + x-kubernetes-list-type: "atomic" searches: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" dnsPolicy: type: "string" @@ -4302,6 +4466,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4340,6 +4505,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4411,6 +4577,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: properties: apiGroup: @@ -4470,11 +4637,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -4511,6 +4680,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: type: "boolean" secretName: @@ -4584,6 +4754,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: properties: apiGroup: @@ -4643,11 +4814,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -4684,6 +4857,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: type: "boolean" secretName: @@ -4770,6 +4944,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4795,6 +4970,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -4825,6 +5001,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -4997,6 +5174,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5009,6 +5187,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5026,6 +5205,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5038,6 +5218,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5057,6 +5238,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5131,6 +5313,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -5161,6 +5344,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -5252,6 +5436,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -5273,6 +5458,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -5319,16 +5505,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -5386,6 +5583,15 @@ spec: properties: podSecurityContext: properties: + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" fsGroup: format: "int64" type: "integer" @@ -5424,6 +5630,7 @@ spec: format: "int64" type: "integer" type: "array" + x-kubernetes-list-type: "atomic" sysctls: items: properties: @@ -5436,6 +5643,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" windowsOptions: properties: gmsaCredentialSpec: @@ -5456,16 +5664,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -5524,6 +5743,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -5567,10 +5787,12 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" command: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" env: items: properties: @@ -5585,6 +5807,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5623,6 +5846,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5635,12 +5859,16 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" envFrom: items: properties: configMapRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -5651,6 +5879,7 @@ spec: secretRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -5658,6 +5887,7 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "array" + x-kubernetes-list-type: "atomic" image: type: "string" imagePullPolicy: @@ -5672,6 +5902,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -5689,6 +5920,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -5730,6 +5962,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -5747,6 +5980,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -5789,6 +6023,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -5819,6 +6054,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -5893,6 +6129,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -5923,6 +6160,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -6013,16 +6251,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -6078,6 +6327,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -6108,6 +6358,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -6170,6 +6421,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "devicePath" + x-kubernetes-list-type: "map" volumeMounts: items: properties: @@ -6181,6 +6435,8 @@ spec: type: "string" readOnly: type: "boolean" + recursiveReadOnly: + type: "string" subPath: type: "string" subPathExpr: @@ -6190,6 +6446,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "mountPath" + x-kubernetes-list-type: "map" workingDir: type: "string" required: @@ -6243,11 +6502,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -6285,6 +6546,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -6412,6 +6674,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6429,6 +6692,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6455,6 +6719,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6472,6 +6737,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6490,6 +6756,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6507,6 +6774,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6673,6 +6941,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6690,6 +6959,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6766,6 +7036,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6783,6 +7054,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6876,6 +7148,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6893,6 +7166,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6969,6 +7243,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6986,6 +7261,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -7338,6 +7614,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: properties: apiGroup: @@ -7397,11 +7674,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -7438,6 +7717,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: type: "boolean" secretName: @@ -7485,11 +7765,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -7534,11 +7816,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: items: properties: @@ -7550,11 +7834,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" weight: @@ -7565,6 +7851,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: properties: nodeSelectorTerms: @@ -7581,11 +7868,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: items: properties: @@ -7597,14 +7886,17 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" type: "array" + x-kubernetes-list-type: "atomic" required: - "nodeSelectorTerms" type: "object" @@ -7630,11 +7922,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -7664,11 +7958,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -7679,6 +7975,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: @@ -7692,6 +7989,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: items: properties: @@ -7708,11 +8006,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -7742,11 +8042,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -7757,12 +8059,14 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" podAntiAffinity: properties: @@ -7784,11 +8088,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -7818,11 +8124,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -7833,6 +8141,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: @@ -7846,6 +8155,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: items: properties: @@ -7862,11 +8172,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -7896,11 +8208,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -7911,12 +8225,14 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" type: "object" automountServiceAccountToken: @@ -7928,10 +8244,12 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" command: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" env: items: properties: @@ -7946,6 +8264,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -7984,6 +8303,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -7996,12 +8316,16 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" envFrom: items: properties: configMapRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -8012,6 +8336,7 @@ spec: secretRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -8019,6 +8344,7 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "array" + x-kubernetes-list-type: "atomic" image: type: "string" imagePullPolicy: @@ -8033,6 +8359,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -8050,6 +8377,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -8091,6 +8419,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -8108,6 +8437,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -8150,6 +8480,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -8180,6 +8511,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -8254,6 +8586,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -8284,6 +8617,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -8374,16 +8708,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -8439,6 +8784,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -8469,6 +8815,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -8531,6 +8878,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "devicePath" + x-kubernetes-list-type: "map" volumeMounts: items: properties: @@ -8542,6 +8892,8 @@ spec: type: "string" readOnly: type: "boolean" + recursiveReadOnly: + type: "string" subPath: type: "string" subPathExpr: @@ -8551,6 +8903,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "mountPath" + x-kubernetes-list-type: "map" workingDir: type: "string" required: @@ -8563,6 +8918,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" options: items: properties: @@ -8572,10 +8928,12 @@ spec: type: "string" type: "object" type: "array" + x-kubernetes-list-type: "atomic" searches: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" dnsPolicy: type: "string" @@ -8588,10 +8946,12 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" command: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" env: items: properties: @@ -8606,6 +8966,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -8644,6 +9005,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -8656,12 +9018,16 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" envFrom: items: properties: configMapRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -8672,6 +9038,7 @@ spec: secretRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -8679,6 +9046,7 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "array" + x-kubernetes-list-type: "atomic" image: type: "string" imagePullPolicy: @@ -8693,6 +9061,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -8710,6 +9079,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -8751,6 +9121,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -8768,6 +9139,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -8810,6 +9182,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -8840,6 +9213,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -8914,6 +9288,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -8944,6 +9319,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -9034,16 +9410,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -9099,6 +9486,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -9129,6 +9517,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -9193,6 +9582,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "devicePath" + x-kubernetes-list-type: "map" volumeMounts: items: properties: @@ -9204,6 +9596,8 @@ spec: type: "string" readOnly: type: "boolean" + recursiveReadOnly: + type: "string" subPath: type: "string" subPathExpr: @@ -9213,6 +9607,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "mountPath" + x-kubernetes-list-type: "map" workingDir: type: "string" required: @@ -9226,8 +9623,11 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" ip: type: "string" + required: + - "ip" type: "object" type: "array" hostIPC: @@ -9242,6 +9642,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -9253,10 +9654,12 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" command: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" env: items: properties: @@ -9271,6 +9674,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -9309,6 +9713,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -9321,12 +9726,16 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" envFrom: items: properties: configMapRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -9337,6 +9746,7 @@ spec: secretRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -9344,6 +9754,7 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "array" + x-kubernetes-list-type: "atomic" image: type: "string" imagePullPolicy: @@ -9358,6 +9769,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -9375,6 +9787,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -9416,6 +9829,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -9433,6 +9847,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -9475,6 +9890,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -9505,6 +9921,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -9579,6 +9996,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -9609,6 +10027,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -9699,16 +10118,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -9764,6 +10194,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -9794,6 +10225,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -9856,6 +10288,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "devicePath" + x-kubernetes-list-type: "map" volumeMounts: items: properties: @@ -9867,6 +10302,8 @@ spec: type: "string" readOnly: type: "boolean" + recursiveReadOnly: + type: "string" subPath: type: "string" subPathExpr: @@ -9876,6 +10313,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "mountPath" + x-kubernetes-list-type: "map" workingDir: type: "string" required: @@ -9920,6 +10360,15 @@ spec: type: "string" securityContext: properties: + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" fsGroup: format: "int64" type: "integer" @@ -9958,6 +10407,7 @@ spec: format: "int64" type: "integer" type: "array" + x-kubernetes-list-type: "atomic" sysctls: items: properties: @@ -9970,6 +10420,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" windowsOptions: properties: gmsaCredentialSpec: @@ -10025,11 +10476,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -10118,6 +10571,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" readOnly: @@ -10127,6 +10581,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -10144,6 +10599,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -10172,7 +10628,9 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: + default: "" type: "string" optional: type: "boolean" @@ -10187,6 +10645,7 @@ spec: nodePublishSecretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -10242,6 +10701,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" emptyDir: properties: @@ -10266,6 +10726,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: properties: apiGroup: @@ -10325,11 +10786,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -10362,10 +10825,12 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" wwids: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" flexVolume: properties: @@ -10382,6 +10847,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -10462,11 +10928,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" readOnly: type: "boolean" secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -10543,11 +11011,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -10582,7 +11052,9 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: + default: "" type: "string" optional: type: "boolean" @@ -10628,6 +11100,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" secret: properties: @@ -10646,7 +11119,9 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: + default: "" type: "string" optional: type: "boolean" @@ -10666,6 +11141,7 @@ spec: type: "object" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" quobyte: properties: @@ -10697,6 +11173,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" pool: type: "string" readOnly: @@ -10704,6 +11181,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -10726,6 +11204,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -10764,6 +11243,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: type: "boolean" secretName: @@ -10778,6 +11258,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -11155,6 +11636,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -11167,6 +11649,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -11184,6 +11667,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -11196,6 +11680,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -11215,6 +11700,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -11257,6 +11743,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" externalName: type: "string" externalTrafficPolicy: @@ -11281,6 +11768,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" ports: items: properties: @@ -11328,6 +11816,8 @@ spec: type: "integer" type: "object" type: "object" + trafficDistribution: + type: "string" type: type: "string" type: "object" @@ -11406,6 +11896,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: properties: apiGroup: @@ -11465,11 +11956,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -11506,6 +11999,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: type: "boolean" secretName: @@ -11516,6 +12010,15 @@ spec: properties: podSecurityContext: properties: + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" fsGroup: format: "int64" type: "integer" @@ -11554,6 +12057,7 @@ spec: format: "int64" type: "integer" type: "array" + x-kubernetes-list-type: "atomic" sysctls: items: properties: @@ -11566,6 +12070,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" windowsOptions: properties: gmsaCredentialSpec: @@ -11586,16 +12091,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -11654,6 +12170,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -11847,6 +12364,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -11859,6 +12377,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -11876,6 +12395,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -11888,6 +12408,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -11907,6 +12428,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -11949,6 +12471,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" externalName: type: "string" externalTrafficPolicy: @@ -11973,6 +12496,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" ports: items: properties: @@ -12020,10 +12544,23 @@ spec: type: "integer" type: "object" type: "object" + trafficDistribution: + type: "string" type: type: "string" type: "object" type: "object" + configCheck: + properties: + labels: + additionalProperties: + type: "string" + type: "object" + strategy: + type: "string" + timeoutSeconds: + type: "integer" + type: "object" configCheckPod: properties: activeDeadlineSeconds: @@ -12049,11 +12586,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: items: properties: @@ -12065,11 +12604,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" weight: @@ -12080,6 +12621,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: properties: nodeSelectorTerms: @@ -12096,11 +12638,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: items: properties: @@ -12112,14 +12656,17 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" type: "array" + x-kubernetes-list-type: "atomic" required: - "nodeSelectorTerms" type: "object" @@ -12145,11 +12692,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -12179,11 +12728,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -12194,6 +12745,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: @@ -12207,6 +12759,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: items: properties: @@ -12223,11 +12776,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -12257,11 +12812,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -12272,12 +12829,14 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" podAntiAffinity: properties: @@ -12299,11 +12858,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -12333,11 +12894,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -12348,6 +12911,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: @@ -12361,6 +12925,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: items: properties: @@ -12377,11 +12942,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -12411,11 +12978,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -12426,12 +12995,14 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" type: "object" automountServiceAccountToken: @@ -12443,10 +13014,12 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" command: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" env: items: properties: @@ -12461,6 +13034,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -12499,6 +13073,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -12511,12 +13086,16 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" envFrom: items: properties: configMapRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -12527,6 +13106,7 @@ spec: secretRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -12534,6 +13114,7 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "array" + x-kubernetes-list-type: "atomic" image: type: "string" imagePullPolicy: @@ -12548,6 +13129,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -12565,6 +13147,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -12606,6 +13189,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -12623,6 +13207,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -12665,6 +13250,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -12695,6 +13281,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -12769,6 +13356,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -12799,6 +13387,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -12889,16 +13478,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -12954,6 +13554,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -12984,6 +13585,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -13046,6 +13648,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "devicePath" + x-kubernetes-list-type: "map" volumeMounts: items: properties: @@ -13057,6 +13662,8 @@ spec: type: "string" readOnly: type: "boolean" + recursiveReadOnly: + type: "string" subPath: type: "string" subPathExpr: @@ -13066,6 +13673,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "mountPath" + x-kubernetes-list-type: "map" workingDir: type: "string" required: @@ -13078,6 +13688,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" options: items: properties: @@ -13087,10 +13698,12 @@ spec: type: "string" type: "object" type: "array" + x-kubernetes-list-type: "atomic" searches: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" dnsPolicy: type: "string" @@ -13103,10 +13716,12 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" command: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" env: items: properties: @@ -13121,6 +13736,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -13159,6 +13775,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -13171,12 +13788,16 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" envFrom: items: properties: configMapRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -13187,6 +13808,7 @@ spec: secretRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -13194,6 +13816,7 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "array" + x-kubernetes-list-type: "atomic" image: type: "string" imagePullPolicy: @@ -13208,6 +13831,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -13225,6 +13849,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -13266,6 +13891,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -13283,6 +13909,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -13325,6 +13952,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -13355,6 +13983,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -13429,6 +14058,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -13459,6 +14089,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -13549,16 +14180,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -13614,6 +14256,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -13644,6 +14287,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -13708,6 +14352,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "devicePath" + x-kubernetes-list-type: "map" volumeMounts: items: properties: @@ -13719,6 +14366,8 @@ spec: type: "string" readOnly: type: "boolean" + recursiveReadOnly: + type: "string" subPath: type: "string" subPathExpr: @@ -13728,6 +14377,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "mountPath" + x-kubernetes-list-type: "map" workingDir: type: "string" required: @@ -13741,8 +14393,11 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" ip: type: "string" + required: + - "ip" type: "object" type: "array" hostIPC: @@ -13757,6 +14412,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -13768,10 +14424,12 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" command: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" env: items: properties: @@ -13786,6 +14444,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -13824,6 +14483,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -13836,12 +14496,16 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" envFrom: items: properties: configMapRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -13852,6 +14516,7 @@ spec: secretRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -13859,6 +14524,7 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "array" + x-kubernetes-list-type: "atomic" image: type: "string" imagePullPolicy: @@ -13873,6 +14539,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -13890,6 +14557,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -13931,6 +14599,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -13948,6 +14617,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -13990,6 +14660,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -14020,6 +14691,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -14094,6 +14766,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -14124,6 +14797,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -14214,16 +14888,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -14279,6 +14964,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -14309,6 +14995,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -14371,6 +15058,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "devicePath" + x-kubernetes-list-type: "map" volumeMounts: items: properties: @@ -14382,6 +15072,8 @@ spec: type: "string" readOnly: type: "boolean" + recursiveReadOnly: + type: "string" subPath: type: "string" subPathExpr: @@ -14391,6 +15083,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "mountPath" + x-kubernetes-list-type: "map" workingDir: type: "string" required: @@ -14435,6 +15130,15 @@ spec: type: "string" securityContext: properties: + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" fsGroup: format: "int64" type: "integer" @@ -14473,6 +15177,7 @@ spec: format: "int64" type: "integer" type: "array" + x-kubernetes-list-type: "atomic" sysctls: items: properties: @@ -14485,6 +15190,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" windowsOptions: properties: gmsaCredentialSpec: @@ -14540,11 +15246,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -14633,6 +15341,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" readOnly: @@ -14642,6 +15351,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -14659,6 +15369,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -14687,7 +15398,9 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: + default: "" type: "string" optional: type: "boolean" @@ -14702,6 +15415,7 @@ spec: nodePublishSecretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -14757,6 +15471,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" emptyDir: properties: @@ -14781,6 +15496,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: properties: apiGroup: @@ -14840,11 +15556,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -14877,10 +15595,12 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" wwids: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" flexVolume: properties: @@ -14897,6 +15617,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -14977,11 +15698,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" readOnly: type: "boolean" secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -15058,11 +15781,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -15097,7 +15822,9 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: + default: "" type: "string" optional: type: "boolean" @@ -15143,6 +15870,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" secret: properties: @@ -15161,7 +15889,9 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: + default: "" type: "string" optional: type: "boolean" @@ -15181,6 +15911,7 @@ spec: type: "object" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" quobyte: properties: @@ -15212,6 +15943,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" pool: type: "string" readOnly: @@ -15219,6 +15951,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -15241,6 +15974,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -15279,6 +16013,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: type: "boolean" secretName: @@ -15293,6 +16028,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -15471,6 +16207,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -15483,6 +16220,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -15500,6 +16238,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -15512,6 +16251,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -15531,6 +16271,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -15573,6 +16314,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" externalName: type: "string" externalTrafficPolicy: @@ -15597,6 +16339,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" ports: items: properties: @@ -15644,6 +16387,8 @@ spec: type: "integer" type: "object" type: "object" + trafficDistribution: + type: "string" type: type: "string" type: "object" @@ -15704,6 +16449,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" externalName: type: "string" externalTrafficPolicy: @@ -15728,6 +16474,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" ports: items: properties: @@ -15775,6 +16522,8 @@ spec: type: "integer" type: "object" type: "object" + trafficDistribution: + type: "string" type: type: "string" type: "object" @@ -15787,6 +16536,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -15881,11 +16631,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -15932,11 +16684,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: items: properties: @@ -15948,11 +16702,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" weight: @@ -15963,6 +16719,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: properties: nodeSelectorTerms: @@ -15979,11 +16736,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: items: properties: @@ -15995,14 +16754,17 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" type: "array" + x-kubernetes-list-type: "atomic" required: - "nodeSelectorTerms" type: "object" @@ -16028,11 +16790,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -16062,11 +16826,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -16077,6 +16843,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: @@ -16090,6 +16857,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: items: properties: @@ -16106,11 +16874,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -16140,11 +16910,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -16155,12 +16927,14 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" podAntiAffinity: properties: @@ -16182,11 +16956,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -16216,11 +16992,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -16231,6 +17009,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: @@ -16244,6 +17023,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: items: properties: @@ -16260,11 +17040,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -16294,11 +17076,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -16309,12 +17093,14 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" type: "object" automountServiceAccountToken: @@ -16326,10 +17112,12 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" command: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" env: items: properties: @@ -16344,6 +17132,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -16382,6 +17171,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -16394,12 +17184,16 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" envFrom: items: properties: configMapRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -16410,6 +17204,7 @@ spec: secretRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -16417,6 +17212,7 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "array" + x-kubernetes-list-type: "atomic" image: type: "string" imagePullPolicy: @@ -16431,6 +17227,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -16448,6 +17245,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -16489,6 +17287,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -16506,6 +17305,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -16548,6 +17348,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -16578,6 +17379,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -16652,6 +17454,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -16682,6 +17485,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -16772,16 +17576,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -16837,6 +17652,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -16867,6 +17683,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -16929,6 +17746,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "devicePath" + x-kubernetes-list-type: "map" volumeMounts: items: properties: @@ -16940,6 +17760,8 @@ spec: type: "string" readOnly: type: "boolean" + recursiveReadOnly: + type: "string" subPath: type: "string" subPathExpr: @@ -16949,6 +17771,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "mountPath" + x-kubernetes-list-type: "map" workingDir: type: "string" required: @@ -16961,6 +17786,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" options: items: properties: @@ -16970,10 +17796,12 @@ spec: type: "string" type: "object" type: "array" + x-kubernetes-list-type: "atomic" searches: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" dnsPolicy: type: "string" @@ -16986,10 +17814,12 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" command: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" env: items: properties: @@ -17004,6 +17834,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -17042,6 +17873,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -17054,12 +17886,16 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" envFrom: items: properties: configMapRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -17070,6 +17906,7 @@ spec: secretRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -17077,6 +17914,7 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "array" + x-kubernetes-list-type: "atomic" image: type: "string" imagePullPolicy: @@ -17091,6 +17929,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -17108,6 +17947,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -17149,6 +17989,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -17166,6 +18007,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -17208,6 +18050,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -17238,6 +18081,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -17312,6 +18156,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -17342,6 +18187,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -17432,16 +18278,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -17497,6 +18354,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -17527,6 +18385,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -17591,6 +18450,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "devicePath" + x-kubernetes-list-type: "map" volumeMounts: items: properties: @@ -17602,6 +18464,8 @@ spec: type: "string" readOnly: type: "boolean" + recursiveReadOnly: + type: "string" subPath: type: "string" subPathExpr: @@ -17611,6 +18475,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "mountPath" + x-kubernetes-list-type: "map" workingDir: type: "string" required: @@ -17624,8 +18491,11 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" ip: type: "string" + required: + - "ip" type: "object" type: "array" hostIPC: @@ -17640,6 +18510,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -17651,10 +18522,12 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" command: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" env: items: properties: @@ -17669,6 +18542,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -17707,6 +18581,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -17719,12 +18594,16 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" envFrom: items: properties: configMapRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -17735,6 +18614,7 @@ spec: secretRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -17742,6 +18622,7 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "array" + x-kubernetes-list-type: "atomic" image: type: "string" imagePullPolicy: @@ -17756,6 +18637,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -17773,6 +18655,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -17814,6 +18697,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -17831,6 +18715,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -17873,6 +18758,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -17903,6 +18789,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -17977,6 +18864,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -18007,6 +18895,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -18097,16 +18986,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -18162,6 +19062,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -18192,6 +19093,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -18254,6 +19156,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "devicePath" + x-kubernetes-list-type: "map" volumeMounts: items: properties: @@ -18265,6 +19170,8 @@ spec: type: "string" readOnly: type: "boolean" + recursiveReadOnly: + type: "string" subPath: type: "string" subPathExpr: @@ -18274,6 +19181,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "mountPath" + x-kubernetes-list-type: "map" workingDir: type: "string" required: @@ -18318,6 +19228,15 @@ spec: type: "string" securityContext: properties: + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" fsGroup: format: "int64" type: "integer" @@ -18356,6 +19275,7 @@ spec: format: "int64" type: "integer" type: "array" + x-kubernetes-list-type: "atomic" sysctls: items: properties: @@ -18368,6 +19288,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" windowsOptions: properties: gmsaCredentialSpec: @@ -18423,11 +19344,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -18516,6 +19439,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" readOnly: @@ -18525,6 +19449,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -18542,6 +19467,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -18570,7 +19496,9 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: + default: "" type: "string" optional: type: "boolean" @@ -18585,6 +19513,7 @@ spec: nodePublishSecretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -18640,6 +19569,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" emptyDir: properties: @@ -18664,6 +19594,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: properties: apiGroup: @@ -18723,11 +19654,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -18760,10 +19693,12 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" wwids: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" flexVolume: properties: @@ -18780,6 +19715,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -18860,11 +19796,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" readOnly: type: "boolean" secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -18941,11 +19879,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -18980,7 +19920,9 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: + default: "" type: "string" optional: type: "boolean" @@ -19026,6 +19968,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" secret: properties: @@ -19044,7 +19987,9 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: + default: "" type: "string" optional: type: "boolean" @@ -19064,6 +20009,7 @@ spec: type: "object" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" quobyte: properties: @@ -19095,6 +20041,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" pool: type: "string" readOnly: @@ -19102,6 +20049,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -19124,6 +20072,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -19162,6 +20111,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: type: "boolean" secretName: @@ -19176,6 +20126,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -19241,6 +20192,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: properties: apiGroup: @@ -19300,11 +20252,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -19349,11 +20303,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" diff --git a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/nodeagents.yaml b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/nodeagents.yaml index ebffdcff1..2c03e2de9 100644 --- a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/nodeagents.yaml +++ b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/nodeagents.yaml @@ -105,6 +105,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: properties: apiGroup: @@ -164,11 +165,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -205,6 +208,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: type: "boolean" secretName: @@ -252,11 +256,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -301,11 +307,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: items: properties: @@ -317,11 +325,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" weight: @@ -332,6 +342,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: properties: nodeSelectorTerms: @@ -348,11 +359,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: items: properties: @@ -364,14 +377,17 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" type: "array" + x-kubernetes-list-type: "atomic" required: - "nodeSelectorTerms" type: "object" @@ -397,11 +413,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -431,11 +449,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -446,6 +466,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: @@ -459,6 +480,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: items: properties: @@ -475,11 +497,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -509,11 +533,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -524,12 +550,14 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" podAntiAffinity: properties: @@ -551,11 +579,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -585,11 +615,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -600,6 +632,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: @@ -613,6 +646,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: items: properties: @@ -629,11 +663,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -663,11 +699,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -678,12 +716,14 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: type: "string" required: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" type: "object" automountServiceAccountToken: @@ -695,10 +735,12 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" command: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" env: items: properties: @@ -713,6 +755,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -751,6 +794,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -763,12 +807,16 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" envFrom: items: properties: configMapRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -779,6 +827,7 @@ spec: secretRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -786,6 +835,7 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "array" + x-kubernetes-list-type: "atomic" image: type: "string" imagePullPolicy: @@ -800,6 +850,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -817,6 +868,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -858,6 +910,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -875,6 +928,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -917,6 +971,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -947,6 +1002,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -1021,6 +1077,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -1051,6 +1108,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -1141,16 +1199,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -1206,6 +1275,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -1236,6 +1306,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -1298,6 +1369,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "devicePath" + x-kubernetes-list-type: "map" volumeMounts: items: properties: @@ -1309,6 +1383,8 @@ spec: type: "string" readOnly: type: "boolean" + recursiveReadOnly: + type: "string" subPath: type: "string" subPathExpr: @@ -1318,6 +1394,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "mountPath" + x-kubernetes-list-type: "map" workingDir: type: "string" required: @@ -1330,6 +1409,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" options: items: properties: @@ -1339,10 +1419,12 @@ spec: type: "string" type: "object" type: "array" + x-kubernetes-list-type: "atomic" searches: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" dnsPolicy: type: "string" @@ -1355,10 +1437,12 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" command: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" env: items: properties: @@ -1373,6 +1457,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1411,6 +1496,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1423,12 +1509,16 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" envFrom: items: properties: configMapRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -1439,6 +1529,7 @@ spec: secretRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -1446,6 +1537,7 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "array" + x-kubernetes-list-type: "atomic" image: type: "string" imagePullPolicy: @@ -1460,6 +1552,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -1477,6 +1570,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -1518,6 +1612,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -1535,6 +1630,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -1577,6 +1673,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -1607,6 +1704,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -1681,6 +1779,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -1711,6 +1810,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -1801,16 +1901,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -1866,6 +1977,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -1896,6 +2008,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -1960,6 +2073,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "devicePath" + x-kubernetes-list-type: "map" volumeMounts: items: properties: @@ -1971,6 +2087,8 @@ spec: type: "string" readOnly: type: "boolean" + recursiveReadOnly: + type: "string" subPath: type: "string" subPathExpr: @@ -1980,6 +2098,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "mountPath" + x-kubernetes-list-type: "map" workingDir: type: "string" required: @@ -1993,8 +2114,11 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" ip: type: "string" + required: + - "ip" type: "object" type: "array" hostIPC: @@ -2009,6 +2133,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2020,10 +2145,12 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" command: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" env: items: properties: @@ -2038,6 +2165,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2076,6 +2204,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2088,12 +2217,16 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" envFrom: items: properties: configMapRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -2104,6 +2237,7 @@ spec: secretRef: properties: name: + default: "" type: "string" optional: type: "boolean" @@ -2111,6 +2245,7 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "array" + x-kubernetes-list-type: "atomic" image: type: "string" imagePullPolicy: @@ -2125,6 +2260,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -2142,6 +2278,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -2183,6 +2320,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: properties: @@ -2200,6 +2338,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -2242,6 +2381,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -2272,6 +2412,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -2346,6 +2487,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -2376,6 +2518,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -2466,16 +2609,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -2531,6 +2685,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: format: "int32" @@ -2561,6 +2716,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" port: @@ -2623,6 +2779,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "devicePath" + x-kubernetes-list-type: "map" volumeMounts: items: properties: @@ -2634,6 +2793,8 @@ spec: type: "string" readOnly: type: "boolean" + recursiveReadOnly: + type: "string" subPath: type: "string" subPathExpr: @@ -2643,6 +2804,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "mountPath" + x-kubernetes-list-type: "map" workingDir: type: "string" required: @@ -2687,6 +2851,15 @@ spec: type: "string" securityContext: properties: + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" fsGroup: format: "int64" type: "integer" @@ -2725,6 +2898,7 @@ spec: format: "int64" type: "integer" type: "array" + x-kubernetes-list-type: "atomic" sysctls: items: properties: @@ -2737,6 +2911,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" windowsOptions: properties: gmsaCredentialSpec: @@ -2792,11 +2967,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -2885,6 +3062,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" path: type: "string" readOnly: @@ -2894,6 +3072,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2911,6 +3090,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2939,7 +3119,9 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: + default: "" type: "string" optional: type: "boolean" @@ -2954,6 +3136,7 @@ spec: nodePublishSecretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3009,6 +3192,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" emptyDir: properties: @@ -3033,6 +3217,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: properties: apiGroup: @@ -3092,11 +3277,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3129,10 +3316,12 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" wwids: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" flexVolume: properties: @@ -3149,6 +3338,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3229,11 +3419,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" readOnly: type: "boolean" secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3310,11 +3502,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3349,7 +3543,9 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: + default: "" type: "string" optional: type: "boolean" @@ -3395,6 +3591,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" secret: properties: @@ -3413,7 +3610,9 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: + default: "" type: "string" optional: type: "boolean" @@ -3433,6 +3632,7 @@ spec: type: "object" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" quobyte: properties: @@ -3464,6 +3664,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" pool: type: "string" readOnly: @@ -3471,6 +3672,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3493,6 +3695,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3531,6 +3734,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: type: "boolean" secretName: @@ -3545,6 +3749,7 @@ spec: secretRef: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3922,6 +4127,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3934,6 +4140,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3951,6 +4158,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3963,6 +4171,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3982,6 +4191,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4024,6 +4234,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" externalName: type: "string" externalTrafficPolicy: @@ -4048,6 +4259,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" ports: items: properties: @@ -4095,6 +4307,8 @@ spec: type: "integer" type: "object" type: "object" + trafficDistribution: + type: "string" type: type: "string" type: "object" @@ -4173,6 +4387,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: properties: apiGroup: @@ -4232,11 +4447,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -4273,6 +4490,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: type: "boolean" secretName: @@ -4283,6 +4501,15 @@ spec: properties: podSecurityContext: properties: + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" fsGroup: format: "int64" type: "integer" @@ -4321,6 +4548,7 @@ spec: format: "int64" type: "integer" type: "array" + x-kubernetes-list-type: "atomic" sysctls: items: properties: @@ -4333,6 +4561,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" windowsOptions: properties: gmsaCredentialSpec: @@ -4353,16 +4582,27 @@ spec: properties: allowPrivilegeEscalation: type: "boolean" + appArmorProfile: + properties: + localhostProfile: + type: "string" + type: + type: "string" + required: + - "type" + type: "object" capabilities: properties: add: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: type: "boolean" @@ -4421,6 +4661,7 @@ spec: items: properties: name: + default: "" type: "string" type: "object" x-kubernetes-map-type: "atomic" diff --git a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/outputs.yaml b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/outputs.yaml index d78cdcd34..b6c6af0db 100644 --- a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/outputs.yaml +++ b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/outputs.yaml @@ -47,6 +47,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -64,6 +65,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -155,6 +157,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -172,6 +175,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -190,6 +194,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -207,6 +212,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -225,6 +231,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -242,6 +249,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -260,6 +268,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -277,6 +286,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -323,6 +333,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -340,6 +351,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -358,6 +370,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -375,6 +388,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -393,6 +407,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -410,6 +425,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -428,6 +444,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -445,6 +462,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -463,6 +481,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -480,6 +499,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -500,6 +520,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -517,6 +538,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -535,6 +557,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -552,6 +575,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -644,6 +668,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -661,6 +686,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -735,6 +761,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -752,6 +779,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -815,6 +843,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -832,6 +861,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -850,6 +880,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -867,6 +898,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -885,6 +917,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -902,6 +935,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1005,6 +1039,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1022,6 +1057,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1040,6 +1076,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1057,6 +1094,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1230,6 +1268,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1247,6 +1286,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1379,6 +1419,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1396,6 +1437,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1487,6 +1529,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1504,6 +1547,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1522,6 +1566,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1539,6 +1584,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1557,6 +1603,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1574,6 +1621,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1592,6 +1640,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1609,6 +1658,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1705,6 +1755,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1722,6 +1773,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1796,6 +1848,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1813,6 +1866,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2093,6 +2147,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2110,6 +2165,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2130,6 +2186,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2147,6 +2204,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2167,6 +2225,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2184,6 +2243,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2201,6 +2261,8 @@ spec: type: "array" slow_flush_log_threshold: type: "string" + time_as_integer: + type: "boolean" tls_allow_self_signed_cert: type: "boolean" tls_cert_logical_store_name: @@ -2214,6 +2276,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2231,6 +2294,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2255,6 +2319,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2272,6 +2337,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2290,6 +2356,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2307,6 +2374,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2325,6 +2393,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2342,6 +2411,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2454,6 +2524,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2471,6 +2542,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2635,6 +2707,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2652,6 +2725,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2670,6 +2744,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2687,6 +2762,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2823,6 +2899,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2840,6 +2917,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2860,6 +2938,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2877,6 +2956,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2895,6 +2975,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2912,6 +2993,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2930,6 +3012,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2947,6 +3030,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3096,6 +3180,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3113,6 +3198,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3139,6 +3225,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3156,6 +3243,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3184,6 +3272,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3201,6 +3290,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3221,6 +3311,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3238,6 +3329,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3256,6 +3348,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3273,6 +3366,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3291,6 +3385,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3308,6 +3403,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3332,6 +3428,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3349,6 +3446,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3393,6 +3491,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3410,6 +3509,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3428,6 +3528,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3445,6 +3546,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3463,6 +3565,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3480,6 +3583,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3628,6 +3732,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3645,6 +3750,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3663,6 +3769,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3680,6 +3787,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3698,6 +3806,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -3715,6 +3824,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4017,6 +4127,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4034,6 +4145,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4143,6 +4255,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4160,6 +4273,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4178,6 +4292,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4195,6 +4310,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4227,6 +4343,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4244,6 +4361,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4268,6 +4386,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4285,6 +4404,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4313,6 +4433,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4330,6 +4451,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4351,6 +4473,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4368,6 +4491,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4396,6 +4520,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4413,6 +4538,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4436,6 +4562,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4453,6 +4580,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4559,6 +4687,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4576,6 +4705,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4672,6 +4802,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4689,6 +4820,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4709,6 +4841,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4726,6 +4859,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4744,6 +4878,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4761,6 +4896,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4779,6 +4915,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4796,6 +4933,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4834,6 +4972,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4851,6 +4990,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4869,6 +5009,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4886,6 +5027,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4904,6 +5046,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4921,6 +5064,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4939,6 +5083,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4956,6 +5101,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4974,6 +5120,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -4991,6 +5138,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5011,6 +5159,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5028,6 +5177,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5046,6 +5196,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5063,6 +5214,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5136,6 +5288,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5153,6 +5306,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5221,6 +5375,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5238,6 +5393,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5295,6 +5451,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5312,6 +5469,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5330,6 +5488,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5347,6 +5506,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5589,6 +5749,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5606,6 +5767,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5664,6 +5826,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5681,6 +5844,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5699,6 +5863,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5716,6 +5881,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -5997,6 +6163,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6014,6 +6181,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6032,6 +6200,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6049,6 +6218,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6067,6 +6237,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6084,6 +6255,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6102,6 +6274,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6119,6 +6292,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6166,6 +6340,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6183,6 +6358,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6247,6 +6423,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6264,6 +6441,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6282,6 +6460,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6299,6 +6478,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6494,6 +6674,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6511,6 +6692,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6632,6 +6814,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6649,6 +6832,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6704,6 +6888,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6721,6 +6906,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6739,6 +6925,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6756,6 +6943,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6778,6 +6966,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6795,6 +6984,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6898,6 +7088,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6915,6 +7106,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6955,6 +7147,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -6972,6 +7165,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -7017,6 +7211,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -7034,6 +7229,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -7145,6 +7341,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -7162,6 +7359,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" diff --git a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/syslogngclusteroutputs.yaml b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/syslogngclusteroutputs.yaml index f16d8cfda..9c0e4e851 100644 --- a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/syslogngclusteroutputs.yaml +++ b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/syslogngclusteroutputs.yaml @@ -103,6 +103,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -120,6 +121,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -154,6 +156,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -171,6 +174,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -189,6 +193,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -206,6 +211,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -224,6 +230,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -241,6 +248,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -261,6 +269,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -278,6 +287,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -416,6 +426,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -433,6 +444,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -465,6 +477,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -482,6 +495,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -500,6 +514,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -517,6 +532,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -535,6 +551,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -552,6 +569,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -572,6 +590,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -589,6 +608,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -684,6 +704,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -701,6 +722,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -719,6 +741,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -736,6 +759,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -754,6 +778,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -771,6 +796,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -791,6 +817,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -808,6 +835,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -840,6 +868,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -857,6 +886,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -928,6 +958,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -945,6 +976,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -963,6 +995,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -980,6 +1013,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1016,6 +1050,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1033,6 +1068,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1051,6 +1087,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1068,6 +1105,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1086,6 +1124,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1103,6 +1142,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1226,6 +1266,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1243,6 +1284,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1344,6 +1386,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1361,6 +1404,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1399,6 +1443,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1416,6 +1461,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1434,6 +1480,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1451,6 +1498,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1469,6 +1517,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1486,6 +1535,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1506,6 +1556,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1523,6 +1574,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1566,6 +1618,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1583,6 +1636,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1661,6 +1715,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1678,6 +1733,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1748,6 +1804,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1765,6 +1822,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1866,6 +1924,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1883,6 +1942,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1921,6 +1981,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1938,6 +1999,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1956,6 +2018,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1973,6 +2036,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1991,6 +2055,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2008,6 +2073,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2028,6 +2094,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2045,6 +2112,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2077,6 +2145,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2094,6 +2163,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2131,6 +2201,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2148,6 +2219,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2202,6 +2274,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2219,6 +2292,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2237,6 +2311,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2254,6 +2329,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2272,6 +2348,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2289,6 +2366,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2309,6 +2387,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2326,6 +2405,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2358,6 +2438,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2375,6 +2456,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2430,6 +2512,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2447,6 +2530,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2465,6 +2549,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2482,6 +2567,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2500,6 +2586,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2517,6 +2604,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2537,6 +2625,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2554,6 +2643,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2639,6 +2729,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2656,6 +2747,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2674,6 +2766,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2691,6 +2784,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2709,6 +2803,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2726,6 +2821,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2746,6 +2842,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2763,6 +2860,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" diff --git a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/syslogngoutputs.yaml b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/syslogngoutputs.yaml index ebd3c55df..93ca08122 100644 --- a/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/syslogngoutputs.yaml +++ b/crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/syslogngoutputs.yaml @@ -103,6 +103,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -120,6 +121,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -154,6 +156,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -171,6 +174,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -189,6 +193,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -206,6 +211,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -224,6 +230,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -241,6 +248,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -261,6 +269,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -278,6 +287,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -412,6 +422,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -429,6 +440,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -461,6 +473,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -478,6 +491,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -496,6 +510,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -513,6 +528,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -531,6 +547,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -548,6 +565,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -568,6 +586,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -585,6 +604,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -680,6 +700,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -697,6 +718,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -715,6 +737,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -732,6 +755,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -750,6 +774,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -767,6 +792,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -787,6 +813,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -804,6 +831,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -836,6 +864,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -853,6 +882,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -924,6 +954,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -941,6 +972,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -959,6 +991,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -976,6 +1009,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1012,6 +1046,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1029,6 +1064,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1047,6 +1083,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1064,6 +1101,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1082,6 +1120,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1099,6 +1138,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1222,6 +1262,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1239,6 +1280,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1340,6 +1382,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1357,6 +1400,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1395,6 +1439,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1412,6 +1457,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1430,6 +1476,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1447,6 +1494,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1465,6 +1513,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1482,6 +1531,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1502,6 +1552,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1519,6 +1570,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1562,6 +1614,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1579,6 +1632,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1657,6 +1711,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1674,6 +1729,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1744,6 +1800,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1761,6 +1818,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1862,6 +1920,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1879,6 +1938,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1917,6 +1977,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1934,6 +1995,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1952,6 +2014,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1969,6 +2032,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -1987,6 +2051,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2004,6 +2069,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2024,6 +2090,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2041,6 +2108,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2073,6 +2141,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2090,6 +2159,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2127,6 +2197,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2144,6 +2215,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2198,6 +2270,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2215,6 +2288,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2233,6 +2307,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2250,6 +2325,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2268,6 +2344,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2285,6 +2362,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2305,6 +2383,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2322,6 +2401,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2354,6 +2434,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2371,6 +2452,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2426,6 +2508,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2443,6 +2526,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2461,6 +2545,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2478,6 +2563,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2496,6 +2582,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2513,6 +2600,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2533,6 +2621,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2550,6 +2639,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2635,6 +2725,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2652,6 +2743,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2670,6 +2762,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2687,6 +2780,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2705,6 +2799,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2722,6 +2817,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2742,6 +2838,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" @@ -2759,6 +2856,7 @@ spec: key: type: "string" name: + default: "" type: "string" optional: type: "boolean" diff --git a/crd-catalog/kubernetes-sigs/aws-load-balancer-controller/elbv2.k8s.aws/v1beta1/ingressclassparams.yaml b/crd-catalog/kubernetes-sigs/aws-load-balancer-controller/elbv2.k8s.aws/v1beta1/ingressclassparams.yaml index 7e20eac68..d8de6288e 100644 --- a/crd-catalog/kubernetes-sigs/aws-load-balancer-controller/elbv2.k8s.aws/v1beta1/ingressclassparams.yaml +++ b/crd-catalog/kubernetes-sigs/aws-load-balancer-controller/elbv2.k8s.aws/v1beta1/ingressclassparams.yaml @@ -106,11 +106,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" diff --git a/crd-catalog/kubernetes-sigs/aws-load-balancer-controller/elbv2.k8s.aws/v1beta1/targetgroupbindings.yaml b/crd-catalog/kubernetes-sigs/aws-load-balancer-controller/elbv2.k8s.aws/v1beta1/targetgroupbindings.yaml index a595d7b85..f53502be2 100644 --- a/crd-catalog/kubernetes-sigs/aws-load-balancer-controller/elbv2.k8s.aws/v1beta1/targetgroupbindings.yaml +++ b/crd-catalog/kubernetes-sigs/aws-load-balancer-controller/elbv2.k8s.aws/v1beta1/targetgroupbindings.yaml @@ -133,11 +133,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" diff --git a/crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmpowervsclusters.yaml b/crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmpowervsclusters.yaml index fc4c9986c..05a6989e0 100644 --- a/crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmpowervsclusters.yaml +++ b/crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmpowervsclusters.yaml @@ -177,7 +177,7 @@ spec: type: "string" type: "object" resourceGroup: - description: "resourceGroup name under which the resources will be created.\nwhen powervs.cluster.x-k8s.io/create-infra=true annotation is set on IBMPowerVSCluster resource,\n1. it is expected to set the ResourceGroup.Name, not setting will result in webhook error.\nServiceInstance.ID and ServiceInstance.Regex is not yet supported and system will ignore the value." + description: "resourceGroup name under which the resources will be created.\nwhen powervs.cluster.x-k8s.io/create-infra=true annotation is set on IBMPowerVSCluster resource,\n1. it is expected to set the ResourceGroup.Name, not setting will result in webhook error.\nResourceGroup.ID and ResourceGroup.Regex is not yet supported and system will ignore the value." properties: id: description: "ID of resource" @@ -214,6 +214,9 @@ spec: transitGateway: description: "transitGateway contains information about IBM Cloud TransitGateway\nIBM Cloud TransitGateway helps in establishing network connectivity between IBM Cloud Power VS and VPC infrastructure\nmore information about TransitGateway can be found here https://www.ibm.com/products/transit-gateway.\nwhen TransitGateway.ID is set, its expected that there exist a TransitGateway with ID or else system will give error.\nwhen TransitGateway.Name is set, system will first check for TransitGateway with Name, if not exist system will create new TransitGateway." properties: + globalRouting: + description: "globalRouting indicates whether to set global routing true or not while creating the transit gateway.\nset this field to true only when PowerVS and VPC are from different regions, if they are same it's suggested to use local routing by setting the field to false.\nwhen the field is omitted, based on PowerVS region (region associated with IBMPowerVSCluster.Spec.Zone) and VPC region(IBMPowerVSCluster.Spec.VPC.Region) system will decide whether to enable globalRouting or not." + type: "boolean" id: description: "id of resource." type: "string" @@ -243,6 +246,231 @@ spec: description: "region of IBM Cloud VPC.\nwhen powervs.cluster.x-k8s.io/create-infra=true annotation is set on IBMPowerVSCluster resource,\nit is expected to set the region, not setting will result in webhook error." type: "string" type: "object" + vpcSecurityGroups: + description: "VPCSecurityGroups to attach it to the VPC resource" + items: + description: "VPCSecurityGroup defines a VPC Security Group that should exist or be created within the specified VPC, with the specified Security Group Rules." + properties: + id: + description: "id of the Security Group." + type: "string" + name: + description: "name of the Security Group." + type: "string" + rules: + description: "rules are the Security Group Rules for the Security Group." + items: + description: "VPCSecurityGroupRule defines a VPC Security Group Rule for a specified Security Group." + properties: + action: + description: "action defines whether to allow or deny traffic defined by the Security Group Rule." + enum: + - "allow" + - "deny" + type: "string" + destination: + description: "destination is a VPCSecurityGroupRulePrototype which defines the destination of outbound traffic for the Security Group Rule.\nOnly used when direction is VPCSecurityGroupRuleDirectionOutbound." + properties: + icmpCode: + description: "icmpCode is the ICMP code for the Rule.\nOnly used when Protocol is VPCSecurityGroupRuleProtocolIcmp." + format: "int64" + type: "integer" + icmpType: + description: "icmpType is the ICMP type for the Rule.\nOnly used when Protocol is VPCSecurityGroupRuleProtocolIcmp." + format: "int64" + type: "integer" + portRange: + description: "portRange is a range of ports allowed for the Rule's remote." + properties: + maximumPort: + description: "maximumPort is the inclusive upper range of ports." + format: "int64" + maximum: 65535.0 + minimum: 1.0 + type: "integer" + minimumPort: + description: "minimumPort is the inclusive lower range of ports." + format: "int64" + maximum: 65535.0 + minimum: 1.0 + type: "integer" + type: "object" + x-kubernetes-validations: + - message: "maximum port must be greater than or equal to minimum port" + rule: "self.maximumPort >= self.minimumPort" + protocol: + description: "protocol defines the traffic protocol used for the Security Group Rule." + enum: + - "all" + - "icmp" + - "tcp" + - "udp" + type: "string" + remotes: + description: "remotes is a set of VPCSecurityGroupRuleRemote's that define the traffic allowed by the Rule's remote.\nSpecifying multiple VPCSecurityGroupRuleRemote's creates a unique Security Group Rule with the shared Protocol, PortRange, etc.\nThis allows for easier management of Security Group Rule's for sets of CIDR's, IP's, etc." + items: + description: "VPCSecurityGroupRuleRemote defines a VPC Security Group Rule's remote details.\nThe type of remote defines the additional remote details where are used for defining the remote." + properties: + address: + description: " address is the address to use for the remote's destination/source.\nOnly used when remoteType is VPCSecurityGroupRuleRemoteTypeAddress." + type: "string" + cidrSubnetName: + description: "cidrSubnetName is the name of the VPC Subnet to retrieve the CIDR from, to use for the remote's destination/source.\nOnly used when remoteType is VPCSecurityGroupRuleRemoteTypeCIDR." + type: "string" + remoteType: + description: "remoteType defines the type of filter to define for the remote's destination/source." + enum: + - "any" + - "cidr" + - "address" + - "sg" + type: "string" + securityGroupName: + description: "securityGroupName is the name of the VPC Security Group to use for the remote's destination/source.\nOnly used when remoteType is VPCSecurityGroupRuleRemoteTypeSG" + type: "string" + required: + - "remoteType" + type: "object" + x-kubernetes-validations: + - message: "cidrSubnetName, addresss, and securityGroupName are not valid for VPCSecurityGroupRuleRemoteTypeAny remoteType" + rule: "self.remoteType == 'any' ? (!has(self.cidrSubnetName) && !has(self.address) && !has(self.securityGroupName)) : true" + - message: "only cidrSubnetName is valid for VPCSecurityGroupRuleRemoteTypeCIDR remoteType" + rule: "self.remoteType == 'cidr' ? (has(self.cidrSubnetName) && !has(self.address) && !has(self.securityGroupName)) : true" + - message: "only address is valid for VPCSecurityGroupRuleRemoteTypeIP remoteType" + rule: "self.remoteType == 'address' ? (has(self.address) && !has(self.cidrSubnetName) && !has(self.securityGroupName)) : true" + - message: "only securityGroupName is valid for VPCSecurityGroupRuleRemoteTypeSG remoteType" + rule: "self.remoteType == 'sg' ? (has(self.securityGroupName) && !has(self.cidrSubnetName) && !has(self.address)) : true" + type: "array" + required: + - "protocol" + - "remotes" + type: "object" + x-kubernetes-validations: + - message: "icmpCode and icmpType are only supported for VPCSecurityGroupRuleProtocolIcmp protocol" + rule: "self.protocol != 'icmp' ? (!has(self.icmpCode) && !has(self.icmpType)) : true" + - message: "portRange is not valid for VPCSecurityGroupRuleProtocolAll protocol" + rule: "self.protocol == 'all' ? !has(self.portRange) : true" + - message: "portRange is not valid for VPCSecurityGroupRuleProtocolIcmp protocol" + rule: "self.protocol == 'icmp' ? !has(self.portRange) : true" + direction: + description: "direction defines whether the traffic is inbound or outbound for the Security Group Rule." + enum: + - "inbound" + - "outbound" + type: "string" + securityGroupID: + description: "securityGroupID is the ID of the Security Group for the Security Group Rule." + type: "string" + source: + description: "source is a VPCSecurityGroupRulePrototype which defines the source of inbound traffic for the Security Group Rule.\nOnly used when direction is VPCSecurityGroupRuleDirectionInbound." + properties: + icmpCode: + description: "icmpCode is the ICMP code for the Rule.\nOnly used when Protocol is VPCSecurityGroupRuleProtocolIcmp." + format: "int64" + type: "integer" + icmpType: + description: "icmpType is the ICMP type for the Rule.\nOnly used when Protocol is VPCSecurityGroupRuleProtocolIcmp." + format: "int64" + type: "integer" + portRange: + description: "portRange is a range of ports allowed for the Rule's remote." + properties: + maximumPort: + description: "maximumPort is the inclusive upper range of ports." + format: "int64" + maximum: 65535.0 + minimum: 1.0 + type: "integer" + minimumPort: + description: "minimumPort is the inclusive lower range of ports." + format: "int64" + maximum: 65535.0 + minimum: 1.0 + type: "integer" + type: "object" + x-kubernetes-validations: + - message: "maximum port must be greater than or equal to minimum port" + rule: "self.maximumPort >= self.minimumPort" + protocol: + description: "protocol defines the traffic protocol used for the Security Group Rule." + enum: + - "all" + - "icmp" + - "tcp" + - "udp" + type: "string" + remotes: + description: "remotes is a set of VPCSecurityGroupRuleRemote's that define the traffic allowed by the Rule's remote.\nSpecifying multiple VPCSecurityGroupRuleRemote's creates a unique Security Group Rule with the shared Protocol, PortRange, etc.\nThis allows for easier management of Security Group Rule's for sets of CIDR's, IP's, etc." + items: + description: "VPCSecurityGroupRuleRemote defines a VPC Security Group Rule's remote details.\nThe type of remote defines the additional remote details where are used for defining the remote." + properties: + address: + description: " address is the address to use for the remote's destination/source.\nOnly used when remoteType is VPCSecurityGroupRuleRemoteTypeAddress." + type: "string" + cidrSubnetName: + description: "cidrSubnetName is the name of the VPC Subnet to retrieve the CIDR from, to use for the remote's destination/source.\nOnly used when remoteType is VPCSecurityGroupRuleRemoteTypeCIDR." + type: "string" + remoteType: + description: "remoteType defines the type of filter to define for the remote's destination/source." + enum: + - "any" + - "cidr" + - "address" + - "sg" + type: "string" + securityGroupName: + description: "securityGroupName is the name of the VPC Security Group to use for the remote's destination/source.\nOnly used when remoteType is VPCSecurityGroupRuleRemoteTypeSG" + type: "string" + required: + - "remoteType" + type: "object" + x-kubernetes-validations: + - message: "cidrSubnetName, addresss, and securityGroupName are not valid for VPCSecurityGroupRuleRemoteTypeAny remoteType" + rule: "self.remoteType == 'any' ? (!has(self.cidrSubnetName) && !has(self.address) && !has(self.securityGroupName)) : true" + - message: "only cidrSubnetName is valid for VPCSecurityGroupRuleRemoteTypeCIDR remoteType" + rule: "self.remoteType == 'cidr' ? (has(self.cidrSubnetName) && !has(self.address) && !has(self.securityGroupName)) : true" + - message: "only address is valid for VPCSecurityGroupRuleRemoteTypeIP remoteType" + rule: "self.remoteType == 'address' ? (has(self.address) && !has(self.cidrSubnetName) && !has(self.securityGroupName)) : true" + - message: "only securityGroupName is valid for VPCSecurityGroupRuleRemoteTypeSG remoteType" + rule: "self.remoteType == 'sg' ? (has(self.securityGroupName) && !has(self.cidrSubnetName) && !has(self.address)) : true" + type: "array" + required: + - "protocol" + - "remotes" + type: "object" + x-kubernetes-validations: + - message: "icmpCode and icmpType are only supported for VPCSecurityGroupRuleProtocolIcmp protocol" + rule: "self.protocol != 'icmp' ? (!has(self.icmpCode) && !has(self.icmpType)) : true" + - message: "portRange is not valid for VPCSecurityGroupRuleProtocolAll protocol" + rule: "self.protocol == 'all' ? !has(self.portRange) : true" + - message: "portRange is not valid for VPCSecurityGroupRuleProtocolIcmp protocol" + rule: "self.protocol == 'icmp' ? !has(self.portRange) : true" + required: + - "action" + - "direction" + type: "object" + x-kubernetes-validations: + - message: "both destination and source cannot be provided" + rule: "(has(self.destination) && !has(self.source)) || (!has(self.destination) && has(self.source))" + - message: "source must be set for VPCSecurityGroupRuleDirectionInbound direction" + rule: "self.direction == 'inbound' ? has(self.source) : true" + - message: "destination is not valid for VPCSecurityGroupRuleDirectionInbound direction" + rule: "self.direction == 'inbound' ? !has(self.destination) : true" + - message: "destination must be set for VPCSecurityGroupRuleDirectionOutbound direction" + rule: "self.direction == 'outbound' ? has(self.destination) : true" + - message: "source is not valid for VPCSecurityGroupRuleDirectionOutbound direction" + rule: "self.direction == 'outbound' ? !has(self.source) : true" + type: "array" + tags: + description: "tags are tags to add to the Security Group." + items: + type: "string" + type: "array" + type: "object" + x-kubernetes-validations: + - message: "either an id or name must be specified" + rule: "has(self.id) || has(self.name)" + type: "array" vpcSubnets: description: "vpcSubnets contains information about IBM Cloud VPC Subnet resources.\nwhen omitted system will create the subnets in all the zone corresponding to VPC.Region, with name CLUSTER_NAME-vpcsubnet-ZONE_NAME.\npossible values can be found here https://cloud.ibm.com/docs/power-iaas?topic=power-iaas-creating-power-virtual-server.\nwhen VPCSubnets[].ID is set, its expected that there exist a subnet with ID or else system will give error.\nwhen VPCSubnets[].Zone is not set, a random zone is picked from available zones of VPC.Region.\nwhen VPCSubnets[].Name is not set, system will set name as CLUSTER_NAME-vpcsubnet-INDEX.\nif subnet with name VPCSubnets[].Name not found, system will create new subnet in VPCSubnets[].Zone." items: @@ -405,6 +633,25 @@ spec: description: "id represents the id of the resource." type: "string" type: "object" + vpcSecurityGroups: + additionalProperties: + description: "VPCSecurityGroupStatus defines a vpc security group resource status with its id and respective rule's ids." + properties: + controllerCreated: + default: false + description: "controllerCreated indicates whether the resource is created by the controller." + type: "boolean" + id: + description: "id represents the id of the resource." + type: "string" + ruleIDs: + description: "rules contains the id of rules created under the security group" + items: + type: "string" + type: "array" + type: "object" + description: "vpcSecurityGroups is reference to IBM Cloud VPC security group." + type: "object" vpcSubnet: additionalProperties: description: "ResourceReference identifies a resource with id." diff --git a/crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmpowervsclustertemplates.yaml b/crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmpowervsclustertemplates.yaml index ebe7793fb..ff98a10bf 100644 --- a/crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmpowervsclustertemplates.yaml +++ b/crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmpowervsclustertemplates.yaml @@ -183,7 +183,7 @@ spec: type: "string" type: "object" resourceGroup: - description: "resourceGroup name under which the resources will be created.\nwhen powervs.cluster.x-k8s.io/create-infra=true annotation is set on IBMPowerVSCluster resource,\n1. it is expected to set the ResourceGroup.Name, not setting will result in webhook error.\nServiceInstance.ID and ServiceInstance.Regex is not yet supported and system will ignore the value." + description: "resourceGroup name under which the resources will be created.\nwhen powervs.cluster.x-k8s.io/create-infra=true annotation is set on IBMPowerVSCluster resource,\n1. it is expected to set the ResourceGroup.Name, not setting will result in webhook error.\nResourceGroup.ID and ResourceGroup.Regex is not yet supported and system will ignore the value." properties: id: description: "ID of resource" @@ -220,6 +220,9 @@ spec: transitGateway: description: "transitGateway contains information about IBM Cloud TransitGateway\nIBM Cloud TransitGateway helps in establishing network connectivity between IBM Cloud Power VS and VPC infrastructure\nmore information about TransitGateway can be found here https://www.ibm.com/products/transit-gateway.\nwhen TransitGateway.ID is set, its expected that there exist a TransitGateway with ID or else system will give error.\nwhen TransitGateway.Name is set, system will first check for TransitGateway with Name, if not exist system will create new TransitGateway." properties: + globalRouting: + description: "globalRouting indicates whether to set global routing true or not while creating the transit gateway.\nset this field to true only when PowerVS and VPC are from different regions, if they are same it's suggested to use local routing by setting the field to false.\nwhen the field is omitted, based on PowerVS region (region associated with IBMPowerVSCluster.Spec.Zone) and VPC region(IBMPowerVSCluster.Spec.VPC.Region) system will decide whether to enable globalRouting or not." + type: "boolean" id: description: "id of resource." type: "string" @@ -249,6 +252,231 @@ spec: description: "region of IBM Cloud VPC.\nwhen powervs.cluster.x-k8s.io/create-infra=true annotation is set on IBMPowerVSCluster resource,\nit is expected to set the region, not setting will result in webhook error." type: "string" type: "object" + vpcSecurityGroups: + description: "VPCSecurityGroups to attach it to the VPC resource" + items: + description: "VPCSecurityGroup defines a VPC Security Group that should exist or be created within the specified VPC, with the specified Security Group Rules." + properties: + id: + description: "id of the Security Group." + type: "string" + name: + description: "name of the Security Group." + type: "string" + rules: + description: "rules are the Security Group Rules for the Security Group." + items: + description: "VPCSecurityGroupRule defines a VPC Security Group Rule for a specified Security Group." + properties: + action: + description: "action defines whether to allow or deny traffic defined by the Security Group Rule." + enum: + - "allow" + - "deny" + type: "string" + destination: + description: "destination is a VPCSecurityGroupRulePrototype which defines the destination of outbound traffic for the Security Group Rule.\nOnly used when direction is VPCSecurityGroupRuleDirectionOutbound." + properties: + icmpCode: + description: "icmpCode is the ICMP code for the Rule.\nOnly used when Protocol is VPCSecurityGroupRuleProtocolIcmp." + format: "int64" + type: "integer" + icmpType: + description: "icmpType is the ICMP type for the Rule.\nOnly used when Protocol is VPCSecurityGroupRuleProtocolIcmp." + format: "int64" + type: "integer" + portRange: + description: "portRange is a range of ports allowed for the Rule's remote." + properties: + maximumPort: + description: "maximumPort is the inclusive upper range of ports." + format: "int64" + maximum: 65535.0 + minimum: 1.0 + type: "integer" + minimumPort: + description: "minimumPort is the inclusive lower range of ports." + format: "int64" + maximum: 65535.0 + minimum: 1.0 + type: "integer" + type: "object" + x-kubernetes-validations: + - message: "maximum port must be greater than or equal to minimum port" + rule: "self.maximumPort >= self.minimumPort" + protocol: + description: "protocol defines the traffic protocol used for the Security Group Rule." + enum: + - "all" + - "icmp" + - "tcp" + - "udp" + type: "string" + remotes: + description: "remotes is a set of VPCSecurityGroupRuleRemote's that define the traffic allowed by the Rule's remote.\nSpecifying multiple VPCSecurityGroupRuleRemote's creates a unique Security Group Rule with the shared Protocol, PortRange, etc.\nThis allows for easier management of Security Group Rule's for sets of CIDR's, IP's, etc." + items: + description: "VPCSecurityGroupRuleRemote defines a VPC Security Group Rule's remote details.\nThe type of remote defines the additional remote details where are used for defining the remote." + properties: + address: + description: " address is the address to use for the remote's destination/source.\nOnly used when remoteType is VPCSecurityGroupRuleRemoteTypeAddress." + type: "string" + cidrSubnetName: + description: "cidrSubnetName is the name of the VPC Subnet to retrieve the CIDR from, to use for the remote's destination/source.\nOnly used when remoteType is VPCSecurityGroupRuleRemoteTypeCIDR." + type: "string" + remoteType: + description: "remoteType defines the type of filter to define for the remote's destination/source." + enum: + - "any" + - "cidr" + - "address" + - "sg" + type: "string" + securityGroupName: + description: "securityGroupName is the name of the VPC Security Group to use for the remote's destination/source.\nOnly used when remoteType is VPCSecurityGroupRuleRemoteTypeSG" + type: "string" + required: + - "remoteType" + type: "object" + x-kubernetes-validations: + - message: "cidrSubnetName, addresss, and securityGroupName are not valid for VPCSecurityGroupRuleRemoteTypeAny remoteType" + rule: "self.remoteType == 'any' ? (!has(self.cidrSubnetName) && !has(self.address) && !has(self.securityGroupName)) : true" + - message: "only cidrSubnetName is valid for VPCSecurityGroupRuleRemoteTypeCIDR remoteType" + rule: "self.remoteType == 'cidr' ? (has(self.cidrSubnetName) && !has(self.address) && !has(self.securityGroupName)) : true" + - message: "only address is valid for VPCSecurityGroupRuleRemoteTypeIP remoteType" + rule: "self.remoteType == 'address' ? (has(self.address) && !has(self.cidrSubnetName) && !has(self.securityGroupName)) : true" + - message: "only securityGroupName is valid for VPCSecurityGroupRuleRemoteTypeSG remoteType" + rule: "self.remoteType == 'sg' ? (has(self.securityGroupName) && !has(self.cidrSubnetName) && !has(self.address)) : true" + type: "array" + required: + - "protocol" + - "remotes" + type: "object" + x-kubernetes-validations: + - message: "icmpCode and icmpType are only supported for VPCSecurityGroupRuleProtocolIcmp protocol" + rule: "self.protocol != 'icmp' ? (!has(self.icmpCode) && !has(self.icmpType)) : true" + - message: "portRange is not valid for VPCSecurityGroupRuleProtocolAll protocol" + rule: "self.protocol == 'all' ? !has(self.portRange) : true" + - message: "portRange is not valid for VPCSecurityGroupRuleProtocolIcmp protocol" + rule: "self.protocol == 'icmp' ? !has(self.portRange) : true" + direction: + description: "direction defines whether the traffic is inbound or outbound for the Security Group Rule." + enum: + - "inbound" + - "outbound" + type: "string" + securityGroupID: + description: "securityGroupID is the ID of the Security Group for the Security Group Rule." + type: "string" + source: + description: "source is a VPCSecurityGroupRulePrototype which defines the source of inbound traffic for the Security Group Rule.\nOnly used when direction is VPCSecurityGroupRuleDirectionInbound." + properties: + icmpCode: + description: "icmpCode is the ICMP code for the Rule.\nOnly used when Protocol is VPCSecurityGroupRuleProtocolIcmp." + format: "int64" + type: "integer" + icmpType: + description: "icmpType is the ICMP type for the Rule.\nOnly used when Protocol is VPCSecurityGroupRuleProtocolIcmp." + format: "int64" + type: "integer" + portRange: + description: "portRange is a range of ports allowed for the Rule's remote." + properties: + maximumPort: + description: "maximumPort is the inclusive upper range of ports." + format: "int64" + maximum: 65535.0 + minimum: 1.0 + type: "integer" + minimumPort: + description: "minimumPort is the inclusive lower range of ports." + format: "int64" + maximum: 65535.0 + minimum: 1.0 + type: "integer" + type: "object" + x-kubernetes-validations: + - message: "maximum port must be greater than or equal to minimum port" + rule: "self.maximumPort >= self.minimumPort" + protocol: + description: "protocol defines the traffic protocol used for the Security Group Rule." + enum: + - "all" + - "icmp" + - "tcp" + - "udp" + type: "string" + remotes: + description: "remotes is a set of VPCSecurityGroupRuleRemote's that define the traffic allowed by the Rule's remote.\nSpecifying multiple VPCSecurityGroupRuleRemote's creates a unique Security Group Rule with the shared Protocol, PortRange, etc.\nThis allows for easier management of Security Group Rule's for sets of CIDR's, IP's, etc." + items: + description: "VPCSecurityGroupRuleRemote defines a VPC Security Group Rule's remote details.\nThe type of remote defines the additional remote details where are used for defining the remote." + properties: + address: + description: " address is the address to use for the remote's destination/source.\nOnly used when remoteType is VPCSecurityGroupRuleRemoteTypeAddress." + type: "string" + cidrSubnetName: + description: "cidrSubnetName is the name of the VPC Subnet to retrieve the CIDR from, to use for the remote's destination/source.\nOnly used when remoteType is VPCSecurityGroupRuleRemoteTypeCIDR." + type: "string" + remoteType: + description: "remoteType defines the type of filter to define for the remote's destination/source." + enum: + - "any" + - "cidr" + - "address" + - "sg" + type: "string" + securityGroupName: + description: "securityGroupName is the name of the VPC Security Group to use for the remote's destination/source.\nOnly used when remoteType is VPCSecurityGroupRuleRemoteTypeSG" + type: "string" + required: + - "remoteType" + type: "object" + x-kubernetes-validations: + - message: "cidrSubnetName, addresss, and securityGroupName are not valid for VPCSecurityGroupRuleRemoteTypeAny remoteType" + rule: "self.remoteType == 'any' ? (!has(self.cidrSubnetName) && !has(self.address) && !has(self.securityGroupName)) : true" + - message: "only cidrSubnetName is valid for VPCSecurityGroupRuleRemoteTypeCIDR remoteType" + rule: "self.remoteType == 'cidr' ? (has(self.cidrSubnetName) && !has(self.address) && !has(self.securityGroupName)) : true" + - message: "only address is valid for VPCSecurityGroupRuleRemoteTypeIP remoteType" + rule: "self.remoteType == 'address' ? (has(self.address) && !has(self.cidrSubnetName) && !has(self.securityGroupName)) : true" + - message: "only securityGroupName is valid for VPCSecurityGroupRuleRemoteTypeSG remoteType" + rule: "self.remoteType == 'sg' ? (has(self.securityGroupName) && !has(self.cidrSubnetName) && !has(self.address)) : true" + type: "array" + required: + - "protocol" + - "remotes" + type: "object" + x-kubernetes-validations: + - message: "icmpCode and icmpType are only supported for VPCSecurityGroupRuleProtocolIcmp protocol" + rule: "self.protocol != 'icmp' ? (!has(self.icmpCode) && !has(self.icmpType)) : true" + - message: "portRange is not valid for VPCSecurityGroupRuleProtocolAll protocol" + rule: "self.protocol == 'all' ? !has(self.portRange) : true" + - message: "portRange is not valid for VPCSecurityGroupRuleProtocolIcmp protocol" + rule: "self.protocol == 'icmp' ? !has(self.portRange) : true" + required: + - "action" + - "direction" + type: "object" + x-kubernetes-validations: + - message: "both destination and source cannot be provided" + rule: "(has(self.destination) && !has(self.source)) || (!has(self.destination) && has(self.source))" + - message: "source must be set for VPCSecurityGroupRuleDirectionInbound direction" + rule: "self.direction == 'inbound' ? has(self.source) : true" + - message: "destination is not valid for VPCSecurityGroupRuleDirectionInbound direction" + rule: "self.direction == 'inbound' ? !has(self.destination) : true" + - message: "destination must be set for VPCSecurityGroupRuleDirectionOutbound direction" + rule: "self.direction == 'outbound' ? has(self.destination) : true" + - message: "source is not valid for VPCSecurityGroupRuleDirectionOutbound direction" + rule: "self.direction == 'outbound' ? !has(self.source) : true" + type: "array" + tags: + description: "tags are tags to add to the Security Group." + items: + type: "string" + type: "array" + type: "object" + x-kubernetes-validations: + - message: "either an id or name must be specified" + rule: "has(self.id) || has(self.name)" + type: "array" vpcSubnets: description: "vpcSubnets contains information about IBM Cloud VPC Subnet resources.\nwhen omitted system will create the subnets in all the zone corresponding to VPC.Region, with name CLUSTER_NAME-vpcsubnet-ZONE_NAME.\npossible values can be found here https://cloud.ibm.com/docs/power-iaas?topic=power-iaas-creating-power-virtual-server.\nwhen VPCSubnets[].ID is set, its expected that there exist a subnet with ID or else system will give error.\nwhen VPCSubnets[].Zone is not set, a random zone is picked from available zones of VPC.Region.\nwhen VPCSubnets[].Name is not set, system will set name as CLUSTER_NAME-vpcsubnet-INDEX.\nif subnet with name VPCSubnets[].Name not found, system will create new subnet in VPCSubnets[].Zone." items: diff --git a/crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtclusters.yaml b/crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtclusters.yaml index dd165b214..d4ce2bd2d 100644 --- a/crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtclusters.yaml +++ b/crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtclusters.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.5.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "kubevirtclusters.infrastructure.cluster.x-k8s.io" spec: group: "infrastructure.cluster.x-k8s.io" @@ -21,10 +21,10 @@ spec: description: "KubevirtCluster is the Schema for the kubevirtclusters API." properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -45,18 +45,18 @@ spec: - "port" type: "object" controlPlaneServiceTemplate: - description: "ControlPlaneServiceTemplate can be used to modify service that fronts the control plane nodes to handle the api-server traffic (port 6443). This field is optional, by default control plane nodes will use a service of type ClusterIP, which will make workload cluster only accessible within the same cluster. Note, this does not aim to expose the entire Service spec to users, but only provides capability to modify the service metadata and the service type." + description: "ControlPlaneServiceTemplate can be used to modify service that fronts the control plane nodes to handle the\napi-server traffic (port 6443). This field is optional, by default control plane nodes will use a service\nof type ClusterIP, which will make workload cluster only accessible within the same cluster. Note, this does\nnot aim to expose the entire Service spec to users, but only provides capability to modify the service metadata\nand the service type." properties: metadata: - description: "Service metadata allows to set labels, annotations and namespace for the service. When infraClusterSecretRef is used, ControlPlaneService take the kubeconfig namespace by default if metadata.namespace is not specified. This field is optional." + description: "Service metadata allows to set labels, annotations and namespace for the service.\nWhen infraClusterSecretRef is used, ControlPlaneService take the kubeconfig namespace by default if metadata.namespace is not specified.\nThis field is optional." nullable: true type: "object" x-kubernetes-preserve-unknown-fields: true spec: - description: "Service specification allows to override some fields in the service spec. Note, it does not aim cover all fields of the service spec." + description: "Service specification allows to override some fields in the service spec.\nNote, it does not aim cover all fields of the service spec." properties: type: - description: "Type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types" + description: "Type determines how the Service is exposed. Defaults to ClusterIP. Valid\noptions are ExternalName, ClusterIP, NodePort, and LoadBalancer.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types" type: "string" type: "object" type: "object" @@ -67,52 +67,54 @@ spec: description: "API version of the referent." type: "string" fieldPath: - description: "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future." + description: "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.\nTODO: this design is not final and this field is subject to change in the future." type: "string" kind: - description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" type: "string" namespace: - description: "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" resourceVersion: - description: "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + description: "Specific resourceVersion to which this reference is made, if any.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" type: "string" uid: - description: "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + description: "UID of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" type: "string" type: "object" + x-kubernetes-map-type: "atomic" sshKeys: description: "SSHKeys is a reference to a local struct for SSH keys persistence." properties: configRef: - description: "ConfigRef is a reference to a resource containing the keys. The reference is optional to allow users/operators to specify Bootstrap.DataSecretName without the need of a controller." + description: "ConfigRef is a reference to a resource containing the keys.\nThe reference is optional to allow users/operators to specify\nBootstrap.DataSecretName without the need of a controller." properties: apiVersion: description: "API version of the referent." type: "string" fieldPath: - description: "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future." + description: "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.\nTODO: this design is not final and this field is subject to change in the future." type: "string" kind: - description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" type: "string" namespace: - description: "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" resourceVersion: - description: "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + description: "Specific resourceVersion to which this reference is made, if any.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" type: "string" uid: - description: "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + description: "UID of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" type: "string" type: "object" + x-kubernetes-map-type: "atomic" dataSecretName: description: "DataSecretName is the name of the secret that stores ssh keys." type: "string" @@ -127,23 +129,23 @@ spec: description: "Condition defines an observation of a Cluster API resource operational state." properties: lastTransitionTime: - description: "Last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable." + description: "Last time the condition transitioned from one status to another.\nThis should be when the underlying condition changed. If that is not known, then using the time when\nthe API field changed is acceptable." format: "date-time" type: "string" message: - description: "A human readable message indicating details about the transition. This field may be empty." + description: "A human readable message indicating details about the transition.\nThis field may be empty." type: "string" reason: - description: "The reason for the condition's last transition in CamelCase. The specific API may choose whether or not this field is considered a guaranteed API. This field may not be empty." + description: "The reason for the condition's last transition in CamelCase.\nThe specific API may choose whether or not this field is considered a guaranteed API.\nThis field may not be empty." type: "string" severity: - description: "Severity provides an explicit classification of Reason code, so the users or machines can immediately understand the current situation and act accordingly. The Severity field MUST be set only when Status=False." + description: "Severity provides an explicit classification of Reason code, so the users or machines can immediately\nunderstand the current situation and act accordingly.\nThe Severity field MUST be set only when Status=False." type: "string" status: description: "Status of the condition, one of True, False, Unknown." type: "string" type: - description: "Type of condition in CamelCase or in foo.example.com/CamelCase. Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important." + description: "Type of condition in CamelCase or in foo.example.com/CamelCase.\nMany .condition.type values are consistent across resources like Available, but because arbitrary conditions\ncan be useful (see .node.status.conditions), the ability to deconflict is important." type: "string" required: - "lastTransitionTime" @@ -153,7 +155,7 @@ spec: type: "array" failureDomains: additionalProperties: - description: "FailureDomainSpec is the Schema for Cluster API failure domains. It allows controllers to understand how many failure domains a cluster can optionally span across." + description: "FailureDomainSpec is the Schema for Cluster API failure domains.\nIt allows controllers to understand how many failure domains a cluster can optionally span across." properties: attributes: additionalProperties: @@ -164,7 +166,7 @@ spec: description: "ControlPlane determines if this failure domain is suitable for use by control plane machines." type: "boolean" type: "object" - description: "FailureDomains don't mean much in CAPD since it's all local, but we can see how the rest of cluster API will use this if we populate it." + description: "FailureDomains don't mean much in CAPD since it's all local, but we can see how the rest of cluster API\nwill use this if we populate it." type: "object" ready: default: false @@ -178,9 +180,3 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtclustertemplates.yaml b/crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtclustertemplates.yaml index 5919d8092..6fad17f7c 100644 --- a/crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtclustertemplates.yaml +++ b/crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtclustertemplates.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.5.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "kubevirtclustertemplates.infrastructure.cluster.x-k8s.io" spec: group: "infrastructure.cluster.x-k8s.io" @@ -23,10 +23,10 @@ spec: description: "KubevirtClusterTemplate is the Schema for the kubevirtclustertemplates API." properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -37,17 +37,17 @@ spec: description: "KubevirtClusterTemplateResource describes the data needed to create a KubevirtCluster from a template." properties: metadata: - description: "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. This is a copy of customizable fields from metav1.ObjectMeta. \n ObjectMeta is embedded in `Machine.Spec`, `MachineDeployment.Template` and `MachineSet.Template`, which are not top-level Kubernetes objects. Given that metav1.ObjectMeta has lots of special cases and read-only fields which end up in the generated CRD validation, having it as a subset simplifies the API and some issues that can impact user experience. \n During the [upgrade to controller-tools@v2](https://github.com/kubernetes-sigs/cluster-api/pull/1054) for v1alpha2, we noticed a failure would occur running Cluster API test suite against the new CRDs, specifically `spec.metadata.creationTimestamp in body must be of type string: \"null\"`. The investigation showed that `controller-tools@v2` behaves differently than its previous version when handling types from [metav1](k8s.io/apimachinery/pkg/apis/meta/v1) package. \n In more details, we found that embedded (non-top level) types that embedded `metav1.ObjectMeta` had validation properties, including for `creationTimestamp` (metav1.Time). The `metav1.Time` type specifies a custom json marshaller that, when IsZero() is true, returns `null` which breaks validation because the field isn't marked as nullable. \n In future versions, controller-tools@v2 might allow overriding the type and validation for embedded types. When that happens, this hack should be revisited." + description: "ObjectMeta is metadata that all persisted resources must have, which includes all objects\nusers must create. This is a copy of customizable fields from metav1.ObjectMeta.\n\n\nObjectMeta is embedded in `Machine.Spec`, `MachineDeployment.Template` and `MachineSet.Template`,\nwhich are not top-level Kubernetes objects. Given that metav1.ObjectMeta has lots of special cases\nand read-only fields which end up in the generated CRD validation, having it as a subset simplifies\nthe API and some issues that can impact user experience.\n\n\nDuring the [upgrade to controller-tools@v2](https://github.com/kubernetes-sigs/cluster-api/pull/1054)\nfor v1alpha2, we noticed a failure would occur running Cluster API test suite against the new CRDs,\nspecifically `spec.metadata.creationTimestamp in body must be of type string: \"null\"`.\nThe investigation showed that `controller-tools@v2` behaves differently than its previous version\nwhen handling types from [metav1](k8s.io/apimachinery/pkg/apis/meta/v1) package.\n\n\nIn more details, we found that embedded (non-top level) types that embedded `metav1.ObjectMeta`\nhad validation properties, including for `creationTimestamp` (metav1.Time).\nThe `metav1.Time` type specifies a custom json marshaller that, when IsZero() is true, returns `null`\nwhich breaks validation because the field isn't marked as nullable.\n\n\nIn future versions, controller-tools@v2 might allow overriding the type and validation for embedded\ntypes. When that happens, this hack should be revisited." properties: annotations: additionalProperties: type: "string" - description: "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations" + description: "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: http://kubernetes.io/docs/user-guide/annotations" type: "object" labels: additionalProperties: type: "string" - description: "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels" + description: "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: http://kubernetes.io/docs/user-guide/labels" type: "object" type: "object" spec: @@ -67,18 +67,18 @@ spec: - "port" type: "object" controlPlaneServiceTemplate: - description: "ControlPlaneServiceTemplate can be used to modify service that fronts the control plane nodes to handle the api-server traffic (port 6443). This field is optional, by default control plane nodes will use a service of type ClusterIP, which will make workload cluster only accessible within the same cluster. Note, this does not aim to expose the entire Service spec to users, but only provides capability to modify the service metadata and the service type." + description: "ControlPlaneServiceTemplate can be used to modify service that fronts the control plane nodes to handle the\napi-server traffic (port 6443). This field is optional, by default control plane nodes will use a service\nof type ClusterIP, which will make workload cluster only accessible within the same cluster. Note, this does\nnot aim to expose the entire Service spec to users, but only provides capability to modify the service metadata\nand the service type." properties: metadata: - description: "Service metadata allows to set labels, annotations and namespace for the service. When infraClusterSecretRef is used, ControlPlaneService take the kubeconfig namespace by default if metadata.namespace is not specified. This field is optional." + description: "Service metadata allows to set labels, annotations and namespace for the service.\nWhen infraClusterSecretRef is used, ControlPlaneService take the kubeconfig namespace by default if metadata.namespace is not specified.\nThis field is optional." nullable: true type: "object" x-kubernetes-preserve-unknown-fields: true spec: - description: "Service specification allows to override some fields in the service spec. Note, it does not aim cover all fields of the service spec." + description: "Service specification allows to override some fields in the service spec.\nNote, it does not aim cover all fields of the service spec." properties: type: - description: "Type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types" + description: "Type determines how the Service is exposed. Defaults to ClusterIP. Valid\noptions are ExternalName, ClusterIP, NodePort, and LoadBalancer.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types" type: "string" type: "object" type: "object" @@ -89,52 +89,54 @@ spec: description: "API version of the referent." type: "string" fieldPath: - description: "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future." + description: "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.\nTODO: this design is not final and this field is subject to change in the future." type: "string" kind: - description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" type: "string" namespace: - description: "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" resourceVersion: - description: "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + description: "Specific resourceVersion to which this reference is made, if any.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" type: "string" uid: - description: "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + description: "UID of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" type: "string" type: "object" + x-kubernetes-map-type: "atomic" sshKeys: description: "SSHKeys is a reference to a local struct for SSH keys persistence." properties: configRef: - description: "ConfigRef is a reference to a resource containing the keys. The reference is optional to allow users/operators to specify Bootstrap.DataSecretName without the need of a controller." + description: "ConfigRef is a reference to a resource containing the keys.\nThe reference is optional to allow users/operators to specify\nBootstrap.DataSecretName without the need of a controller." properties: apiVersion: description: "API version of the referent." type: "string" fieldPath: - description: "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future." + description: "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.\nTODO: this design is not final and this field is subject to change in the future." type: "string" kind: - description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" type: "string" namespace: - description: "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" resourceVersion: - description: "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + description: "Specific resourceVersion to which this reference is made, if any.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" type: "string" uid: - description: "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + description: "UID of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" type: "string" type: "object" + x-kubernetes-map-type: "atomic" dataSecretName: description: "DataSecretName is the name of the secret that stores ssh keys." type: "string" @@ -147,11 +149,8 @@ spec: - "template" type: "object" type: "object" + x-kubernetes-validations: + - message: "KubevirtClusterTemplate is immutable" + rule: "self == oldSelf" served: true storage: true -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtmachines.yaml b/crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtmachines.yaml index 6da23ccf6..939de1f3d 100644 --- a/crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtmachines.yaml +++ b/crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtmachines.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.5.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "kubevirtmachines.infrastructure.cluster.x-k8s.io" spec: group: "infrastructure.cluster.x-k8s.io" @@ -29,10 +29,10 @@ spec: description: "KubevirtMachine is the Schema for the kubevirtmachines API." properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -40,30 +40,31 @@ spec: description: "KubevirtMachineSpec defines the desired state of KubevirtMachine." properties: infraClusterSecretRef: - description: "InfraClusterSecretRef is a reference to a secret with a kubeconfig for external cluster used for infra. When nil, this defaults to the value present in the KubevirtCluster object's spec associated with this machine." + description: "InfraClusterSecretRef is a reference to a secret with a kubeconfig for external cluster used for infra.\nWhen nil, this defaults to the value present in the KubevirtCluster object's spec associated with this machine." properties: apiVersion: description: "API version of the referent." type: "string" fieldPath: - description: "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future." + description: "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.\nTODO: this design is not final and this field is subject to change in the future." type: "string" kind: - description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" type: "string" namespace: - description: "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" resourceVersion: - description: "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + description: "Specific resourceVersion to which this reference is made, if any.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" type: "string" uid: - description: "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + description: "UID of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" type: "string" type: "object" + x-kubernetes-map-type: "atomic" providerID: description: "ProviderID TBD what to use for Kubevirt" type: "string" @@ -72,7 +73,7 @@ spec: properties: checkStrategy: default: "ssh" - description: "CheckStrategy describes how CAPK controller will validate a successful CAPI bootstrap. Following specified method, CAPK will try to retrieve the state of the CAPI Sentinel file from the VM. Possible values are: \"none\" or \"ssh\" (default is \"ssh\") and this value is validated by apiserver." + description: "CheckStrategy describes how CAPK controller will validate a successful CAPI bootstrap.\nFollowing specified method, CAPK will try to retrieve the state of the CAPI Sentinel file from the VM.\nPossible values are: \"none\" or \"ssh\" (default is \"ssh\") and this value is validated by apiserver." enum: - "none" - "ssh" @@ -89,15 +90,15 @@ spec: description: "VirtualMachineSpec contains the VirtualMachine specification." properties: dataVolumeTemplates: - description: "dataVolumeTemplates is a list of dataVolumes that the VirtualMachineInstance template can reference. DataVolumes in this list are dynamically created for the VirtualMachine and are tied to the VirtualMachine's life-cycle." + description: "dataVolumeTemplates is a list of dataVolumes that the VirtualMachineInstance template can reference.\nDataVolumes in this list are dynamically created for the VirtualMachine and are tied to the VirtualMachine's life-cycle." items: nullable: true properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: nullable: true @@ -141,15 +142,16 @@ spec: description: "PVC is the PVC specification" properties: accessModes: - description: "accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1" + description: "accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1" items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" 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. 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:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource." properties: apiGroup: - description: "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + description: "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required." type: "string" kind: description: "Kind is the type of resource being referenced" @@ -161,11 +163,12 @@ spec: - "kind" - "name" type: "object" + x-kubernetes-map-type: "atomic" dataSourceRef: - 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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\nvolume is desired. This may be any object from a non-empty API group (non\ncore object) or a PersistentVolumeClaim object.\nWhen this field is specified, volume binding will only succeed if the type of\nthe specified object matches some installed volume populator or dynamic\nprovisioner.\nThis field will replace the functionality of the dataSource field and as such\nif both fields are non-empty, they must have the same value. For backwards\ncompatibility, when namespace isn't specified in dataSourceRef,\nboth fields (dataSource and dataSourceRef) will be set to the same\nvalue automatically if one of them is empty and the other is non-empty.\nWhen namespace is specified in dataSourceRef,\ndataSource isn't set to the same value and must be empty.\nThere are three important differences between dataSource and dataSourceRef:\n* 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.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled." properties: apiGroup: - description: "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + description: "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required." type: "string" kind: description: "Kind is the type of resource being referenced" @@ -174,30 +177,15 @@ spec: description: "Name is the name of resource being referenced" type: "string" namespace: - description: "Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled." + description: "Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled." type: "string" required: - "kind" - "name" type: "object" resources: - description: "resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources" + description: "resources represents the minimum resources the volume should have.\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\nthat are lower than previous value but must still be higher than capacity recorded in the\nstatus field of the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources" properties: - claims: - description: "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. \n This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. \n This field is immutable. It can only be set for containers." - items: - description: "ResourceClaim references one entry in PodSpec.ResourceClaims." - properties: - name: - description: "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container." - type: "string" - required: - - "name" - type: "object" - type: "array" - x-kubernetes-list-map-keys: - - "name" - x-kubernetes-list-type: "map" limits: additionalProperties: anyOf: @@ -205,7 +193,7 @@ spec: - type: "string" pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" x-kubernetes-int-or-string: true - description: "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" + description: "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" type: "object" requests: additionalProperties: @@ -214,7 +202,7 @@ spec: - type: "string" pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" x-kubernetes-int-or-string: true - description: "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" + description: "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" type: "object" type: "object" selector: @@ -223,35 +211,41 @@ spec: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" storageClassName: - description: "storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" + description: "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" + type: "string" + volumeAttributesClassName: + description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." type: "string" volumeMode: - description: "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec." + description: "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec." type: "string" volumeName: description: "volumeName is the binding reference to the PersistentVolume backing this claim." @@ -425,15 +419,15 @@ spec: description: "Storage is the requested storage specification" properties: accessModes: - description: "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1" + description: "AccessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1" items: type: "string" type: "array" dataSource: - description: "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) * An existing custom resource that implements data population (Alpha) In order to use custom resource types that implement data population, the AnyVolumeDataSource feature gate must be enabled. 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. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field." + description: "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) * An existing custom resource that implements data population (Alpha) In order to use custom resource types that implement data population, the AnyVolumeDataSource feature gate must be enabled. 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.\nIf the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field." properties: apiGroup: - description: "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + description: "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required." type: "string" kind: description: "Kind is the type of resource being referenced" @@ -445,11 +439,12 @@ spec: - "kind" - "name" type: "object" + x-kubernetes-map-type: "atomic" dataSourceRef: - description: "Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local 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, 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. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled." + description: "Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local 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.\nThis 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, 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.\nThere are two important differences between DataSource and DataSourceRef:\n* While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects.\n* While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled." properties: apiGroup: - description: "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + description: "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required." type: "string" kind: description: "Kind is the type of resource being referenced" @@ -458,22 +453,22 @@ spec: description: "Name is the name of resource being referenced" type: "string" namespace: - description: "Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled." + description: "Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled." type: "string" required: - "kind" - "name" type: "object" resources: - description: "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources" + description: "Resources represents the minimum resources the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources" properties: claims: - description: "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. \n This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. \n This field is immutable. It can only be set for containers." + description: "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\n\nThis field is immutable. It can only be set for containers." items: description: "ResourceClaim references one entry in PodSpec.ResourceClaims." properties: name: - description: "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container." + description: "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container." type: "string" required: - "name" @@ -489,7 +484,7 @@ spec: - type: "string" pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" x-kubernetes-int-or-string: true - description: "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" + description: "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" type: "object" requests: additionalProperties: @@ -498,7 +493,7 @@ spec: - type: "string" pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" x-kubernetes-int-or-string: true - description: "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" + description: "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" type: "object" type: "object" selector: @@ -507,35 +502,38 @@ spec: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" storageClassName: - description: "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" + description: "Name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" type: "string" volumeMode: - description: "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec." + description: "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec." type: "string" volumeName: description: "VolumeName is the binding reference to the PersistentVolume backing this claim." @@ -543,7 +541,7 @@ spec: type: "object" type: "object" status: - description: "DataVolumeTemplateDummyStatus is here simply for backwards compatibility with a previous API." + description: "DataVolumeTemplateDummyStatus is here simply for backwards compatibility with\na previous API." nullable: true type: "object" required: @@ -554,51 +552,45 @@ spec: description: "InstancetypeMatcher references a instancetype that is used to fill fields in Template" properties: inferFromVolume: - description: "InferFromVolume lists the name of a volume that should be used to infer or discover the instancetype to be used through known annotations on the underlying resource. Once applied to the InstancetypeMatcher this field is removed." + description: "InferFromVolume lists the name of a volume that should be used to infer or discover the instancetype\nto be used through known annotations on the underlying resource. Once applied to the InstancetypeMatcher\nthis field is removed." + type: "string" + inferFromVolumeFailurePolicy: + description: "InferFromVolumeFailurePolicy controls what should happen on failure when inferring the instancetype.\nAllowed values are: \"RejectInferFromVolumeFailure\" and \"IgnoreInferFromVolumeFailure\".\nIf not specified, \"RejectInferFromVolumeFailure\" is used by default." type: "string" kind: - description: "Kind specifies which instancetype resource is referenced. Allowed values are: \"VirtualMachineInstancetype\" and \"VirtualMachineClusterInstancetype\". If not specified, \"VirtualMachineClusterInstancetype\" is used by default." + description: "Kind specifies which instancetype resource is referenced.\nAllowed values are: \"VirtualMachineInstancetype\" and \"VirtualMachineClusterInstancetype\".\nIf not specified, \"VirtualMachineClusterInstancetype\" is used by default." type: "string" name: description: "Name is the name of the VirtualMachineInstancetype or VirtualMachineClusterInstancetype" type: "string" revisionName: - description: "RevisionName specifies a ControllerRevision containing a specific copy of the VirtualMachineInstancetype or VirtualMachineClusterInstancetype to be used. This is initially captured the first time the instancetype is applied to the VirtualMachineInstance." + description: "RevisionName specifies a ControllerRevision containing a specific copy of the\nVirtualMachineInstancetype or VirtualMachineClusterInstancetype to be used. This is initially\ncaptured the first time the instancetype is applied to the VirtualMachineInstance." type: "string" type: "object" - liveUpdateFeatures: - description: "LiveUpdateFeatures references a configuration of hotpluggable resources" - properties: - cpu: - description: "LiveUpdateCPU holds hotplug configuration for the CPU resource. Empty struct indicates that default will be used for maxSockets. Default is specified on cluster level. Absence of the struct means opt-out from CPU hotplug functionality." - properties: - maxSockets: - description: "The maximum amount of sockets that can be hot-plugged to the Virtual Machine" - format: "int32" - type: "integer" - type: "object" - type: "object" preference: description: "PreferenceMatcher references a set of preference that is used to fill fields in Template" properties: inferFromVolume: - description: "InferFromVolume lists the name of a volume that should be used to infer or discover the preference to be used through known annotations on the underlying resource. Once applied to the PreferenceMatcher this field is removed." + description: "InferFromVolume lists the name of a volume that should be used to infer or discover the preference\nto be used through known annotations on the underlying resource. Once applied to the PreferenceMatcher\nthis field is removed." + type: "string" + inferFromVolumeFailurePolicy: + description: "InferFromVolumeFailurePolicy controls what should happen on failure when preference the instancetype.\nAllowed values are: \"RejectInferFromVolumeFailure\" and \"IgnoreInferFromVolumeFailure\".\nIf not specified, \"RejectInferFromVolumeFailure\" is used by default." type: "string" kind: - description: "Kind specifies which preference resource is referenced. Allowed values are: \"VirtualMachinePreference\" and \"VirtualMachineClusterPreference\". If not specified, \"VirtualMachineClusterPreference\" is used by default." + description: "Kind specifies which preference resource is referenced.\nAllowed values are: \"VirtualMachinePreference\" and \"VirtualMachineClusterPreference\".\nIf not specified, \"VirtualMachineClusterPreference\" is used by default." type: "string" name: description: "Name is the name of the VirtualMachinePreference or VirtualMachineClusterPreference" type: "string" revisionName: - description: "RevisionName specifies a ControllerRevision containing a specific copy of the VirtualMachinePreference or VirtualMachineClusterPreference to be used. This is initially captured the first time the instancetype is applied to the VirtualMachineInstance." + description: "RevisionName specifies a ControllerRevision containing a specific copy of the\nVirtualMachinePreference or VirtualMachineClusterPreference to be used. This is\ninitially captured the first time the instancetype is applied to the VirtualMachineInstance." type: "string" type: "object" runStrategy: - description: "Running state indicates the requested running state of the VirtualMachineInstance mutually exclusive with Running" + description: "Running state indicates the requested running state of the VirtualMachineInstance\nmutually exclusive with Running" type: "string" running: - description: "Running controls whether the associatied VirtualMachineInstance is created or not Mutually exclusive with RunStrategy" + description: "Running controls whether the associatied VirtualMachineInstance is created or not\nMutually exclusive with RunStrategy" type: "boolean" template: description: "Template is the direct specification of VirtualMachineInstance" @@ -613,22 +605,25 @@ spec: accessCredentials: description: "Specifies a set of public keys to inject into the vm guest" items: - description: "AccessCredential represents a credential source that can be used to authorize remote access to the vm guest Only one of its members may be specified." + description: "AccessCredential represents a credential source that can be used to\nauthorize remote access to the vm guest\nOnly one of its members may be specified." properties: sshPublicKey: - description: "SSHPublicKey represents the source and method of applying a ssh public key into a guest virtual machine." + description: "SSHPublicKey represents the source and method of applying a ssh public\nkey into a guest virtual machine." properties: propagationMethod: description: "PropagationMethod represents how the public key is injected into the vm guest." properties: configDrive: - description: "ConfigDrivePropagation means that the ssh public keys are injected into the VM using metadata using the configDrive cloud-init provider" + description: "ConfigDrivePropagation means that the ssh public keys are injected\ninto the VM using metadata using the configDrive cloud-init provider" + type: "object" + noCloud: + description: "NoCloudPropagation means that the ssh public keys are injected\ninto the VM using metadata using the noCloud cloud-init provider" type: "object" qemuGuestAgent: - description: "QemuGuestAgentAccessCredentailPropagation means ssh public keys are dynamically injected into the vm at runtime via the qemu guest agent. This feature requires the qemu guest agent to be running within the guest." + description: "QemuGuestAgentAccessCredentailPropagation means ssh public keys are\ndynamically injected into the vm at runtime via the qemu guest agent.\nThis feature requires the qemu guest agent to be running within the guest." properties: users: - description: "Users represents a list of guest users that should have the ssh public keys added to their authorized_keys file." + description: "Users represents a list of guest users that should have the ssh public keys\nadded to their authorized_keys file." items: type: "string" type: "array" @@ -655,13 +650,13 @@ spec: - "source" type: "object" userPassword: - description: "UserPassword represents the source and method for applying a guest user's password" + description: "UserPassword represents the source and method for applying a guest user's\npassword" properties: propagationMethod: description: "propagationMethod represents how the user passwords are injected into the vm guest." properties: qemuGuestAgent: - description: "QemuGuestAgentAccessCredentailPropagation means passwords are dynamically injected into the vm at runtime via the qemu guest agent. This feature requires the qemu guest agent to be running within the guest." + description: "QemuGuestAgentAccessCredentailPropagation means passwords are\ndynamically injected into the vm at runtime via the qemu guest agent.\nThis feature requires the qemu guest agent to be running within the guest." type: "object" type: "object" source: @@ -691,9 +686,9 @@ spec: description: "Describes node affinity scheduling rules for the pod." properties: preferredDuringSchedulingIgnoredDuringExecution: - description: "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred." + description: "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node matches the corresponding matchExpressions; the\nnode(s) with the highest sum are the most preferred." items: - description: "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op)." + description: "An empty preferred scheduling term matches all objects with implicit weight 0\n(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op)." properties: preference: description: "A node selector term, associated with the corresponding weight." @@ -701,46 +696,51 @@ spec: matchExpressions: description: "A list of node selector requirements by node's labels." items: - description: "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values." properties: key: description: "The label key that the selector applies to." type: "string" operator: - description: "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + description: "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." type: "string" values: - description: "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + description: "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: description: "A list of node selector requirements by node's fields." items: - description: "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values." properties: key: description: "The label key that the selector applies to." type: "string" operator: - description: "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + description: "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." type: "string" values: - description: "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + description: "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" + x-kubernetes-map-type: "atomic" weight: description: "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100." format: "int32" @@ -750,67 +750,75 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: - description: "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node." + description: "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node." properties: nodeSelectorTerms: description: "Required. A list of node selector terms. The terms are ORed." items: - description: "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm." + description: "A null or empty node selector term matches no objects. The requirements of\nthem are ANDed.\nThe TopologySelectorTerm type implements a subset of the NodeSelectorTerm." properties: matchExpressions: description: "A list of node selector requirements by node's labels." items: - description: "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values." properties: key: description: "The label key that the selector applies to." type: "string" operator: - description: "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + description: "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." type: "string" values: - description: "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + description: "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: description: "A list of node selector requirements by node's fields." items: - description: "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values." properties: key: description: "The label key that the selector applies to." type: "string" operator: - description: "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + description: "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." type: "string" values: - description: "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + description: "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" + x-kubernetes-map-type: "atomic" type: "array" + x-kubernetes-list-type: "atomic" required: - "nodeSelectorTerms" type: "object" + x-kubernetes-map-type: "atomic" type: "object" podAffinity: description: "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))." properties: preferredDuringSchedulingIgnoredDuringExecution: - description: "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred." + description: "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred." items: description: "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)" properties: @@ -818,78 +826,97 @@ spec: description: "Required. A pod affinity term, associated with the corresponding weight." properties: labelSelector: - description: "A label query over a set of resources, in this case pods." + description: "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" + matchLabelKeys: + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" + mismatchLabelKeys: + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" namespaceSelector: - description: "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces." + description: "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" namespaces: - description: "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." + description: "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: - description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed." + description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" required: - "topologyKey" type: "object" weight: - description: "weight associated with matching the corresponding podAffinityTerm, in the range 1-100." + description: "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100." format: "int32" type: "integer" required: @@ -897,89 +924,110 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: - description: "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied." + description: "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied." items: - description: "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running" + description: "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running" properties: labelSelector: - description: "A label query over a set of resources, in this case pods." + description: "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" + matchLabelKeys: + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" + mismatchLabelKeys: + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" namespaceSelector: - description: "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces." + description: "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" namespaces: - description: "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." + description: "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: - description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed." + description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" required: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" podAntiAffinity: description: "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))." properties: preferredDuringSchedulingIgnoredDuringExecution: - description: "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred." + description: "The scheduler will prefer to schedule pods to nodes that satisfy\nthe anti-affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling anti-affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred." items: description: "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)" properties: @@ -987,78 +1035,97 @@ spec: description: "Required. A pod affinity term, associated with the corresponding weight." properties: labelSelector: - description: "A label query over a set of resources, in this case pods." + description: "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" + matchLabelKeys: + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" + mismatchLabelKeys: + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" namespaceSelector: - description: "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces." + description: "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" namespaces: - description: "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." + description: "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: - description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed." + description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" required: - "topologyKey" type: "object" weight: - description: "weight associated with matching the corresponding podAffinityTerm, in the range 1-100." + description: "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100." format: "int32" type: "integer" required: @@ -1066,98 +1133,120 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: - description: "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied." + description: "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied." items: - description: "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running" + description: "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running" properties: labelSelector: - description: "A label query over a set of resources, in this case pods." + description: "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" + matchLabelKeys: + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" + mismatchLabelKeys: + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" namespaceSelector: - description: "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces." + description: "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" namespaces: - description: "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." + description: "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: - description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed." + description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" required: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" type: "object" architecture: description: "Specifies the architecture of the vm guest you are attempting to run. Defaults to the compiled architecture of the KubeVirt components" type: "string" dnsConfig: - description: "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy." + description: "Specifies the DNS parameters of a pod.\nParameters specified here will be merged to the generated DNS\nconfiguration based on DNSPolicy." properties: nameservers: - description: "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed." + description: "A list of DNS name server IP addresses.\nThis will be appended to the base nameservers generated from DNSPolicy.\nDuplicated nameservers will be removed." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" options: - description: "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy." + description: "A list of DNS resolver options.\nThis will be merged with the base options generated from DNSPolicy.\nDuplicated entries will be removed. Resolution options given in Options\nwill override those that appear in the base DNSPolicy." items: description: "PodDNSConfigOption defines DNS resolver options of a pod." properties: @@ -1168,14 +1257,16 @@ spec: type: "string" type: "object" type: "array" + x-kubernetes-list-type: "atomic" searches: - description: "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed." + description: "A list of DNS search domains for host-name lookup.\nThis will be appended to the base search paths generated from DNSPolicy.\nDuplicated search paths will be removed." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" dnsPolicy: - description: "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'." + description: "Set DNS policy for the pod.\nDefaults to \"ClusterFirst\".\nValid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'.\nDNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy.\nTo have DNS options set along with hostNetwork, you have to specify DNS policy\nexplicitly to 'ClusterFirstWithHostNet'." type: "string" domain: description: "Specification of the desired behavior of the VirtualMachineInstance on the host." @@ -1204,44 +1295,44 @@ spec: description: "HPET (High Precision Event Timer) - multiple timers with periodic interrupts." properties: present: - description: "Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true." + description: "Enabled set to false makes sure that the machine type or a preset can't add the timer.\nDefaults to true." type: "boolean" tickPolicy: - description: "TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest. One of \"delay\", \"catchup\", \"merge\", \"discard\"." + description: "TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest.\nOne of \"delay\", \"catchup\", \"merge\", \"discard\"." type: "string" type: "object" hyperv: description: "Hyperv (Hypervclock) - lets guests read the host’s wall clock time (paravirtualized). For windows guests." properties: present: - description: "Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true." + description: "Enabled set to false makes sure that the machine type or a preset can't add the timer.\nDefaults to true." type: "boolean" type: "object" kvm: description: "KVM \t(KVM clock) - lets guests read the host’s wall clock time (paravirtualized). For linux guests." properties: present: - description: "Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true." + description: "Enabled set to false makes sure that the machine type or a preset can't add the timer.\nDefaults to true." type: "boolean" type: "object" pit: description: "PIT (Programmable Interval Timer) - a timer with periodic interrupts." properties: present: - description: "Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true." + description: "Enabled set to false makes sure that the machine type or a preset can't add the timer.\nDefaults to true." type: "boolean" tickPolicy: - description: "TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest. One of \"delay\", \"catchup\", \"discard\"." + description: "TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest.\nOne of \"delay\", \"catchup\", \"discard\"." type: "string" type: "object" rtc: description: "RTC (Real Time Clock) - a continuously running timer with periodic interrupts." properties: present: - description: "Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true." + description: "Enabled set to false makes sure that the machine type or a preset can't add the timer.\nDefaults to true." type: "boolean" tickPolicy: - description: "TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest. One of \"delay\", \"catchup\"." + description: "TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest.\nOne of \"delay\", \"catchup\"." type: "string" track: description: "Track the guest or the wall clock." @@ -1249,13 +1340,13 @@ spec: type: "object" type: "object" timezone: - description: "Timezone sets the guest clock to the specified timezone. Zone name follows the TZ environment variable format (e.g. 'America/New_York')." + description: "Timezone sets the guest clock to the specified timezone.\nZone name follows the TZ environment variable format (e.g. 'America/New_York')." type: "string" utc: - description: "UTC sets the guest clock to UTC on each boot. If an offset is specified, guest changes to the clock will be kept during reboots and are not reset." + description: "UTC sets the guest clock to UTC on each boot. If an offset is specified,\nguest changes to the clock will be kept during reboots and are not reset." properties: offsetSeconds: - description: "OffsetSeconds specifies an offset in seconds, relative to UTC. If set, guest changes to the clock will be kept during reboots and not reset." + description: "OffsetSeconds specifies an offset in seconds, relative to UTC. If set,\nguest changes to the clock will be kept during reboots and not reset." type: "integer" type: "object" type: "object" @@ -1264,11 +1355,11 @@ spec: description: "CPU allow specified the detailed CPU topology inside the vmi." properties: cores: - description: "Cores specifies the number of cores inside the vmi. Must be a value greater or equal 1." + description: "Cores specifies the number of cores inside the vmi.\nMust be a value greater or equal 1." format: "int32" type: "integer" dedicatedCpuPlacement: - description: "DedicatedCPUPlacement requests the scheduler to place the VirtualMachineInstance on a node with enough dedicated pCPUs and pin the vCPUs to it." + description: "DedicatedCPUPlacement requests the scheduler to place the VirtualMachineInstance on a node\nwith enough dedicated pCPUs and pin the vCPUs to it." type: "boolean" features: description: "Features specifies the CPU features list inside the VMI." @@ -1279,42 +1370,42 @@ spec: description: "Name of the CPU feature" type: "string" policy: - description: "Policy is the CPU feature attribute which can have the following attributes: force - The virtual CPU will claim the feature is supported regardless of it being supported by host CPU. require - Guest creation will fail unless the feature is supported by the host CPU or the hypervisor is able to emulate it. optional - The feature will be supported by virtual CPU if and only if it is supported by host CPU. disable - The feature will not be supported by virtual CPU. forbid - Guest creation will fail if the feature is supported by host CPU. Defaults to require" + description: "Policy is the CPU feature attribute which can have the following attributes:\nforce - The virtual CPU will claim the feature is supported regardless of it being supported by host CPU.\nrequire - Guest creation will fail unless the feature is supported by the host CPU or the hypervisor is able to emulate it.\noptional - The feature will be supported by virtual CPU if and only if it is supported by host CPU.\ndisable - The feature will not be supported by virtual CPU.\nforbid - Guest creation will fail if the feature is supported by host CPU.\nDefaults to require" type: "string" required: - "name" type: "object" type: "array" isolateEmulatorThread: - description: "IsolateEmulatorThread requests one more dedicated pCPU to be allocated for the VMI to place the emulator thread on it." + description: "IsolateEmulatorThread requests one more dedicated pCPU to be allocated for the VMI to place\nthe emulator thread on it." type: "boolean" maxSockets: - description: "MaxSockets specifies the maximum amount of sockets that can be hotplugged" + description: "MaxSockets specifies the maximum amount of sockets that can\nbe hotplugged" format: "int32" type: "integer" model: - description: "Model specifies the CPU model inside the VMI. List of available models https://github.com/libvirt/libvirt/tree/master/src/cpu_map. It is possible to specify special cases like \"host-passthrough\" to get the same CPU as the node and \"host-model\" to get CPU closest to the node one. Defaults to host-model." + description: "Model specifies the CPU model inside the VMI.\nList of available models https://github.com/libvirt/libvirt/tree/master/src/cpu_map.\nIt is possible to specify special cases like \"host-passthrough\" to get the same CPU as the node\nand \"host-model\" to get CPU closest to the node one.\nDefaults to host-model." type: "string" numa: description: "NUMA allows specifying settings for the guest NUMA topology" properties: guestMappingPassthrough: - description: "GuestMappingPassthrough will create an efficient guest topology based on host CPUs exclusively assigned to a pod. The created topology ensures that memory and CPUs on the virtual numa nodes never cross boundaries of host numa nodes." + description: "GuestMappingPassthrough will create an efficient guest topology based on host CPUs exclusively assigned to a pod.\nThe created topology ensures that memory and CPUs on the virtual numa nodes never cross boundaries of host numa nodes." type: "object" type: "object" realtime: description: "Realtime instructs the virt-launcher to tune the VMI for lower latency, optional for real time workloads" properties: mask: - description: "Mask defines the vcpu mask expression that defines which vcpus are used for realtime. Format matches libvirt's expressions. Example: \"0-3,^1\",\"0,2,3\",\"2-3\"" + description: "Mask defines the vcpu mask expression that defines which vcpus are used for realtime. Format matches libvirt's expressions.\nExample: \"0-3,^1\",\"0,2,3\",\"2-3\"" type: "string" type: "object" sockets: - description: "Sockets specifies the number of sockets inside the vmi. Must be a value greater or equal 1." + description: "Sockets specifies the number of sockets inside the vmi.\nMust be a value greater or equal 1." format: "int32" type: "integer" threads: - description: "Threads specifies the number of threads inside the vmi. Must be a value greater or equal 1." + description: "Threads specifies the number of threads inside the vmi.\nMust be a value greater or equal 1." format: "int32" type: "integer" type: "object" @@ -1322,25 +1413,25 @@ spec: description: "Devices allows adding disks, network interfaces, and others" properties: autoattachGraphicsDevice: - description: "Whether to attach the default graphics device or not. VNC will not be available if set to false. Defaults to true." + description: "Whether to attach the default graphics device or not.\nVNC will not be available if set to false. Defaults to true." type: "boolean" autoattachInputDevice: - description: "Whether to attach an Input Device. Defaults to false." + description: "Whether to attach an Input Device.\nDefaults to false." type: "boolean" autoattachMemBalloon: - description: "Whether to attach the Memory balloon device with default period. Period can be adjusted in virt-config. Defaults to true." + description: "Whether to attach the Memory balloon device with default period.\nPeriod can be adjusted in virt-config.\nDefaults to true." type: "boolean" autoattachPodInterface: description: "Whether to attach a pod network interface. Defaults to true." type: "boolean" autoattachSerialConsole: - description: "Whether to attach the default serial console or not. Serial console access will not be available if set to false. Defaults to true." + description: "Whether to attach the default virtio-serial console or not.\nSerial console access will not be available if set to false. Defaults to true." type: "boolean" autoattachVSOCK: - description: "Whether to attach the VSOCK CID to the VM or not. VSOCK access will be available if set to true. Defaults to false." + description: "Whether to attach the VSOCK CID to the VM or not.\nVSOCK access will be available if set to true. Defaults to false." type: "boolean" blockMultiQueue: - description: "Whether or not to enable virtio multi-queue for block devices. Defaults to false." + description: "Whether or not to enable virtio multi-queue for block devices.\nDefaults to false." type: "boolean" clientPassthrough: description: "To configure and access client devices such as redirecting USB" @@ -1370,56 +1461,59 @@ spec: description: "Represents if a feature is enabled or disabled." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" type: "object" bootOrder: - description: "BootOrder is an integer value > 0, used to determine ordering of boot devices. Lower values take precedence. Each disk or interface that has a boot order must have a unique value. Disks without a boot order are not tried if a disk with a boot order exists." + description: "BootOrder is an integer value > 0, used to determine ordering of boot devices.\nLower values take precedence.\nEach disk or interface that has a boot order must have a unique value.\nDisks without a boot order are not tried if a disk with a boot order exists." type: "integer" cache: - description: "Cache specifies which kvm disk cache mode should be used. Supported values are: CacheNone, CacheWriteThrough." + description: "Cache specifies which kvm disk cache mode should be used.\nSupported values are: CacheNone, CacheWriteThrough." type: "string" cdrom: description: "Attach a volume as a cdrom to the vmi." properties: bus: - description: "Bus indicates the type of disk device to emulate. supported values: virtio, sata, scsi." + description: "Bus indicates the type of disk device to emulate.\nsupported values: virtio, sata, scsi." type: "string" readonly: - description: "ReadOnly. Defaults to true." + description: "ReadOnly.\nDefaults to true." type: "boolean" tray: - description: "Tray indicates if the tray of the device is open or closed. Allowed values are \"open\" and \"closed\". Defaults to closed." + description: "Tray indicates if the tray of the device is open or closed.\nAllowed values are \"open\" and \"closed\".\nDefaults to closed." type: "string" type: "object" dedicatedIOThread: - description: "dedicatedIOThread indicates this disk should have an exclusive IO Thread. Enabling this implies useIOThreads = true. Defaults to false." + description: "dedicatedIOThread indicates this disk should have an exclusive IO Thread.\nEnabling this implies useIOThreads = true.\nDefaults to false." type: "boolean" disk: description: "Attach a volume as a disk to the vmi." properties: bus: - description: "Bus indicates the type of disk device to emulate. supported values: virtio, sata, scsi, usb." + description: "Bus indicates the type of disk device to emulate.\nsupported values: virtio, sata, scsi, usb." type: "string" pciAddress: description: "If specified, the virtual disk will be placed on the guests pci address with the specified PCI address. For example: 0000:81:01.10" type: "string" readonly: - description: "ReadOnly. Defaults to false." + description: "ReadOnly.\nDefaults to false." type: "boolean" type: "object" + errorPolicy: + description: "If specified, it can change the default error policy (stop) for the disk" + type: "string" io: - description: "IO specifies which QEMU disk IO mode should be used. Supported values are: native, default, threads." + description: "IO specifies which QEMU disk IO mode should be used.\nSupported values are: native, default, threads." type: "string" lun: description: "Attach a volume as a LUN to the vmi." properties: bus: - description: "Bus indicates the type of disk device to emulate. supported values: virtio, sata, scsi." + description: "Bus indicates the type of disk device to emulate.\nsupported values: virtio, sata, scsi." type: "string" readonly: - description: "ReadOnly. Defaults to false." + description: "ReadOnly.\nDefaults to false." type: "boolean" reservation: description: "Reservation indicates if the disk needs to support the persistent reservation for the SCSI disk" @@ -1441,6 +1535,9 @@ spec: - "name" type: "object" type: "array" + downwardMetrics: + description: "DownwardMetrics creates a virtio serials for exposing the downward metrics to the vmi." + type: "object" filesystems: description: "Filesystems describes filesystem which is connected to the vmi." items: @@ -1474,13 +1571,13 @@ spec: display: properties: enabled: - description: "Enabled determines if a display addapter backed by a vGPU should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if a display addapter backed by a vGPU should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" ramFB: - description: "Enables a boot framebuffer, until the guest OS loads a real GPU driver Defaults to true." + description: "Enables a boot framebuffer, until the guest OS loads a real GPU driver\nDefaults to true." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" type: "object" @@ -1514,13 +1611,13 @@ spec: items: properties: bus: - description: "Bus indicates the bus of input device to emulate. Supported values: virtio, usb." + description: "Bus indicates the bus of input device to emulate.\nSupported values: virtio, usb." type: "string" name: description: "Name is the device name" type: "string" type: - description: "Type indicated the type of input device. Supported values: tablet." + description: "Type indicated the type of input device.\nSupported values: tablet." type: "string" required: - "name" @@ -1532,10 +1629,19 @@ spec: items: properties: acpiIndex: - description: "If specified, the ACPI index is used to provide network interface device naming, that is stable across changes in PCI addresses assigned to the device. This value is required to be unique across all devices and be between 1 and (16*1024-1)." + description: "If specified, the ACPI index is used to provide network interface device naming, that is stable across changes\nin PCI addresses assigned to the device.\nThis value is required to be unique across all devices and be between 1 and (16*1024-1)." type: "integer" + binding: + description: "Binding specifies the binding plugin that will be used to connect the interface to the guest.\nIt provides an alternative to InterfaceBindingMethod.\nversion: 1alphav1" + properties: + name: + description: "Name references to the binding name as denined in the kubevirt CR.\nversion: 1alphav1" + type: "string" + required: + - "name" + type: "object" bootOrder: - description: "BootOrder is an integer value > 0, used to determine ordering of boot devices. Lower values take precedence. Each interface or disk that has a boot order must have a unique value. Interfaces without a boot order are not tried." + description: "BootOrder is an integer value > 0, used to determine ordering of boot devices.\nLower values take precedence.\nEach interface or disk that has a boot order must have a unique value.\nInterfaces without a boot order are not tried." type: "integer" bridge: description: "InterfaceBridge connects to a given network via a linux bridge." @@ -1557,10 +1663,10 @@ spec: description: "DHCPExtraOptions defines Extra DHCP options for a VM." properties: option: - description: "Option is an Integer value from 224-254 Required." + description: "Option is an Integer value from 224-254\nRequired." type: "integer" value: - description: "Value is a String value for the Option provided Required." + description: "Value is a String value for the Option provided\nRequired." type: "string" required: - "option" @@ -1575,19 +1681,19 @@ spec: description: "Interface MAC address. For example: de:ad:00:00:be:af or DE-AD-00-00-BE-AF." type: "string" macvtap: - description: "InterfaceMacvtap connects to a given network by extending the Kubernetes node's L2 networks via a macvtap interface." + description: "Deprecated, please refer to Kubevirt user guide for alternatives." type: "object" masquerade: description: "InterfaceMasquerade connects to a given network using netfilter rules to nat the traffic." type: "object" model: - description: "Interface model. One of: e1000, e1000e, ne2k_pci, pcnet, rtl8139, virtio. Defaults to virtio. TODO:(ihar) switch to enums once opengen-api supports them. See: https://github.com/kubernetes/kube-openapi/issues/51" + description: "Interface model.\nOne of: e1000, e1000e, ne2k_pci, pcnet, rtl8139, virtio.\nDefaults to virtio.\nTODO:(ihar) switch to enums once opengen-api supports them. See: https://github.com/kubernetes/kube-openapi/issues/51" type: "string" name: - description: "Logical name of the interface as well as a reference to the associated networks. Must match the Name of a Network." + description: "Logical name of the interface as well as a reference to the associated networks.\nMust match the Name of a Network." type: "string" passt: - description: "InterfacePasst connects to a given network." + description: "Deprecated, please refer to Kubevirt user guide for alternatives." type: "object" pciAddress: description: "If specified, the virtual network interface will be placed on the guests pci address with the specified PCI address. For example: 0000:81:01.10" @@ -1595,17 +1701,17 @@ spec: ports: description: "List of ports to be forwarded to the virtual machine." items: - description: "Port represents a port to expose from the virtual machine. Default protocol TCP. The port field is mandatory" + description: "Port represents a port to expose from the virtual machine.\nDefault protocol TCP.\nThe port field is mandatory" properties: name: - description: "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services." + description: "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each\nnamed port in a pod must have a unique name. Name for the port that can be\nreferred to by services." type: "string" port: - description: "Number of port to expose for the virtual machine. This must be a valid port number, 0 < x < 65536." + description: "Number of port to expose for the virtual machine.\nThis must be a valid port number, 0 < x < 65536." format: "int32" type: "integer" protocol: - description: "Protocol for port. Must be UDP or TCP. Defaults to \"TCP\"." + description: "Protocol for port. Must be UDP or TCP.\nDefaults to \"TCP\"." type: "string" required: - "port" @@ -1618,7 +1724,7 @@ spec: description: "InterfaceSRIOV connects to a given network by passing-through an SR-IOV PCI device via vfio." type: "object" state: - description: "State represents the requested operational state of the interface. The (only) value supported is `absent`, expressing a request to remove the interface." + description: "State represents the requested operational state of the interface.\nThe (only) value supported is `absent`, expressing a request to remove the interface." type: "string" tag: description: "If specified, the virtual network interface address and its tag will be provided to the guest via config drive" @@ -1627,6 +1733,9 @@ spec: - "name" type: "object" type: "array" + logSerialConsole: + description: "Whether to log the auto-attached default serial console or not.\nSerial console logs will be collect to a file and then streamed from a named `guest-console-log`.\nNot relevant if autoattachSerialConsole is disabled.\nDefaults to cluster wide setting on VirtualMachineOptions." + type: "boolean" networkInterfaceMultiqueue: description: "If specified, virtual network interfaces configured with a virtio bus will also enable the vhost multiqueue feature for network devices. The number of queues created depends on additional factors of the VirtualMachineInstance, like the number of guest CPUs." type: "boolean" @@ -1637,7 +1746,7 @@ spec: description: "Whether to emulate a sound device." properties: model: - description: "We only support ich9 or ac97. If SoundDevice is not set: No sound card is emulated. If SoundDevice is set but Model is not: ich9" + description: "We only support ich9 or ac97.\nIf SoundDevice is not set: No sound card is emulated.\nIf SoundDevice is set but Model is not: ich9" type: "string" name: description: "User's defined name for this sound device" @@ -1649,11 +1758,11 @@ spec: description: "Whether to emulate a TPM device." properties: persistent: - description: "Persistent indicates the state of the TPM device should be kept accross reboots Defaults to false" + description: "Persistent indicates the state of the TPM device should be kept accross reboots\nDefaults to false" type: "boolean" type: "object" useVirtioTransitional: - description: "Fall back to legacy virtio 0.9 support if virtio bus is selected on devices. This is helpful for old machines like CentOS6 or RHEL6 which do not understand virtio_non_transitional (virtio 1.0)." + description: "Fall back to legacy virtio 0.9 support if virtio bus is selected on devices.\nThis is helpful for old machines like CentOS6 or RHEL6 which\ndo not understand virtio_non_transitional (virtio 1.0)." type: "boolean" watchdog: description: "Watchdog describes a watchdog device which can be added to the vmi." @@ -1662,7 +1771,7 @@ spec: description: "i6300esb watchdog device." properties: action: - description: "The action to take. Valid values are poweroff, reset, shutdown. Defaults to reset." + description: "The action to take. Valid values are poweroff, reset, shutdown.\nDefaults to reset." type: "string" type: "object" name: @@ -1676,134 +1785,134 @@ spec: description: "Features like acpi, apic, hyperv, smm." properties: acpi: - description: "ACPI enables/disables ACPI inside the guest. Defaults to enabled." + description: "ACPI enables/disables ACPI inside the guest.\nDefaults to enabled." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" apic: description: "Defaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" endOfInterrupt: - description: "EndOfInterrupt enables the end of interrupt notification in the guest. Defaults to false." + description: "EndOfInterrupt enables the end of interrupt notification in the guest.\nDefaults to false." type: "boolean" type: "object" hyperv: description: "Defaults to the machine type setting." properties: evmcs: - description: "EVMCS Speeds up L2 vmexits, but disables other virtualization features. Requires vapic. Defaults to the machine type setting." + description: "EVMCS Speeds up L2 vmexits, but disables other virtualization features. Requires vapic.\nDefaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" frequencies: - description: "Frequencies improves the TSC clock source handling for Hyper-V on KVM. Defaults to the machine type setting." + description: "Frequencies improves the TSC clock source handling for Hyper-V on KVM.\nDefaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" ipi: - description: "IPI improves performances in overcommited environments. Requires vpindex. Defaults to the machine type setting." + description: "IPI improves performances in overcommited environments. Requires vpindex.\nDefaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" reenlightenment: - description: "Reenlightenment enables the notifications on TSC frequency changes. Defaults to the machine type setting." + description: "Reenlightenment enables the notifications on TSC frequency changes.\nDefaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" relaxed: - description: "Relaxed instructs the guest OS to disable watchdog timeouts. Defaults to the machine type setting." + description: "Relaxed instructs the guest OS to disable watchdog timeouts.\nDefaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" reset: - description: "Reset enables Hyperv reboot/reset for the vmi. Requires synic. Defaults to the machine type setting." + description: "Reset enables Hyperv reboot/reset for the vmi. Requires synic.\nDefaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" runtime: - description: "Runtime improves the time accounting to improve scheduling in the guest. Defaults to the machine type setting." + description: "Runtime improves the time accounting to improve scheduling in the guest.\nDefaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" spinlocks: description: "Spinlocks allows to configure the spinlock retry attempts." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" spinlocks: - description: "Retries indicates the number of retries. Must be a value greater or equal 4096. Defaults to 4096." + description: "Retries indicates the number of retries.\nMust be a value greater or equal 4096.\nDefaults to 4096." format: "int32" type: "integer" type: "object" synic: - description: "SyNIC enables the Synthetic Interrupt Controller. Defaults to the machine type setting." + description: "SyNIC enables the Synthetic Interrupt Controller.\nDefaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" synictimer: - description: "SyNICTimer enables Synthetic Interrupt Controller Timers, reducing CPU load. Defaults to the machine type setting." + description: "SyNICTimer enables Synthetic Interrupt Controller Timers, reducing CPU load.\nDefaults to the machine type setting." properties: direct: description: "Represents if a feature is enabled or disabled." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" enabled: type: "boolean" type: "object" tlbflush: - description: "TLBFlush improves performances in overcommited environments. Requires vpindex. Defaults to the machine type setting." + description: "TLBFlush improves performances in overcommited environments. Requires vpindex.\nDefaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" vapic: - description: "VAPIC improves the paravirtualized handling of interrupts. Defaults to the machine type setting." + description: "VAPIC improves the paravirtualized handling of interrupts.\nDefaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" vendorid: - description: "VendorID allows setting the hypervisor vendor id. Defaults to the machine type setting." + description: "VendorID allows setting the hypervisor vendor id.\nDefaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" vendorid: - description: "VendorID sets the hypervisor vendor id, visible to the vmi. String up to twelve characters." + description: "VendorID sets the hypervisor vendor id, visible to the vmi.\nString up to twelve characters." type: "string" type: "object" vpindex: - description: "VPIndex enables the Virtual Processor Index to help windows identifying virtual processors. Defaults to the machine type setting." + description: "VPIndex enables the Virtual Processor Index to help windows identifying virtual processors.\nDefaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" type: "object" @@ -1811,27 +1920,34 @@ spec: description: "Configure how KVM presence is exposed to the guest." properties: hidden: - description: "Hide the KVM hypervisor from standard MSR based discovery. Defaults to false" + description: "Hide the KVM hypervisor from standard MSR based discovery.\nDefaults to false" type: "boolean" type: "object" pvspinlock: - description: "Notify the guest that the host supports paravirtual spinlocks. For older kernels this feature should be explicitly disabled." + description: "Notify the guest that the host supports paravirtual spinlocks.\nFor older kernels this feature should be explicitly disabled." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" smm: - description: "SMM enables/disables System Management Mode. TSEG not yet implemented." + description: "SMM enables/disables System Management Mode.\nTSEG not yet implemented." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" type: "object" firmware: description: "Firmware." properties: + acpi: + description: "Information that can be set in the ACPI table" + properties: + slicNameRef: + description: "SlicNameRef should match the volume name of a secret object. The data in the secret should\nbe a binary blob that follows the ACPI SLIC standard, see:\nhttps://learn.microsoft.com/en-us/previous-versions/windows/hardware/design/dn653305(v=vs.85)" + type: "string" + type: "object" bootloader: description: "Settings to control the bootloader that is used." properties: @@ -1845,8 +1961,11 @@ spec: efi: description: "If set, EFI will be used instead of BIOS." properties: + persistent: + description: "If set to true, Persistent will persist the EFI NVRAM across reboots.\nDefaults to false" + type: "boolean" secureBoot: - description: "If set, SecureBoot will be enabled and the OVMF roms will be swapped for SecureBoot-enabled ones. Requires SMM to be enabled. Defaults to true" + description: "If set, SecureBoot will be enabled and the OVMF roms will be swapped for\nSecureBoot-enabled ones.\nRequires SMM to be enabled.\nDefaults to true" type: "boolean" type: "object" type: "object" @@ -1860,7 +1979,7 @@ spec: description: "Image that contains initrd / kernel files." type: "string" imagePullPolicy: - description: "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images" + description: "Image pull policy.\nOne of Always, Never, IfNotPresent.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/containers/images#updating-images" type: "string" imagePullSecret: description: "ImagePullSecret is the name of the Docker registry secret required to pull the image. The secret must already exist." @@ -1882,11 +2001,11 @@ spec: description: "The system-serial-number in SMBIOS" type: "string" uuid: - description: "UUID reported by the vmi bios. Defaults to a random generated uid." + description: "UUID reported by the vmi bios.\nDefaults to a random generated uid." type: "string" type: "object" ioThreadsPolicy: - description: "Controls whether or not disks will share IOThreads. Omitting IOThreadsPolicy disables use of IOThreads. One of: shared, auto" + description: "Controls whether or not disks will share IOThreads.\nOmitting IOThreadsPolicy disables use of IOThreads.\nOne of: shared, auto" type: "string" launchSecurity: description: "Launch Security setting of the vmi." @@ -1894,13 +2013,22 @@ spec: sev: description: "AMD Secure Encrypted Virtualization (SEV)." properties: + attestation: + description: "If specified, run the attestation process for a vmi." + type: "object" + dhCert: + description: "Base64 encoded guest owner's Diffie-Hellman key." + type: "string" policy: - description: "Guest policy flags as defined in AMD SEV API specification. Note: due to security reasons it is not allowed to enable guest debugging. Therefore NoDebug flag is not exposed to users and is always true." + description: "Guest policy flags as defined in AMD SEV API specification.\nNote: due to security reasons it is not allowed to enable guest debugging. Therefore NoDebug flag is not exposed to users and is always true." properties: encryptedState: - description: "SEV-ES is required. Defaults to false." + description: "SEV-ES is required.\nDefaults to false." type: "boolean" type: "object" + session: + description: "Base64 encoded session blob." + type: "string" type: "object" type: "object" machine: @@ -1917,7 +2045,7 @@ spec: anyOf: - type: "integer" - type: "string" - description: "Guest allows to specifying the amount of memory which is visible inside the Guest OS. The Guest must lie between Requests and Limits from the resources section. Defaults to the requested memory in the resources section if not specified." + description: "Guest allows to specifying the amount of memory which is visible inside the Guest OS.\nThe Guest must lie between Requests and Limits from the resources section.\nDefaults to the requested memory in the resources section if not specified." pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" x-kubernetes-int-or-string: true hugepages: @@ -1927,6 +2055,13 @@ spec: description: "PageSize specifies the hugepage size, for x86_64 architecture valid values are 1Gi and 2Mi." type: "string" type: "object" + maxGuest: + anyOf: + - type: "integer" + - type: "string" + description: "MaxGuest allows to specify the maximum amount of memory which is visible inside the Guest OS.\nThe delta between MaxGuest and Guest is the amount of memory that can be hot(un)plugged." + pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" + x-kubernetes-int-or-string: true type: "object" resources: description: "Resources describes the Compute Resources required by this vmi." @@ -1938,10 +2073,10 @@ spec: - type: "string" pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" x-kubernetes-int-or-string: true - description: "Limits describes the maximum amount of compute resources allowed. Valid resource keys are \"memory\" and \"cpu\"." + description: "Limits describes the maximum amount of compute resources allowed.\nValid resource keys are \"memory\" and \"cpu\"." type: "object" overcommitGuestOverhead: - description: "Don't ask the scheduler to take the guest-management overhead into account. Instead put the overhead only into the container's memory limit. This can lead to crashes if all memory is in use on a node. Defaults to false." + description: "Don't ask the scheduler to take the guest-management overhead into account. Instead\nput the overhead only into the container's memory limit. This can lead to crashes if\nall memory is in use on a node. Defaults to false." type: "boolean" requests: additionalProperties: @@ -1950,32 +2085,33 @@ spec: - type: "string" pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" x-kubernetes-int-or-string: true - description: "Requests is a description of the initial vmi resources. Valid resource keys are \"memory\" and \"cpu\"." + description: "Requests is a description of the initial vmi resources.\nValid resource keys are \"memory\" and \"cpu\"." type: "object" type: "object" required: - "devices" type: "object" evictionStrategy: - description: "EvictionStrategy can be set to \"LiveMigrate\" if the VirtualMachineInstance should be migrated instead of shut-off in case of a node drain." + description: "EvictionStrategy describes the strategy to follow when a node drain occurs.\nThe possible options are:\n- \"None\": No action will be taken, according to the specified 'RunStrategy' the VirtualMachine will be restarted or shutdown.\n- \"LiveMigrate\": the VirtualMachineInstance will be migrated instead of being shutdown.\n- \"LiveMigrateIfPossible\": the same as \"LiveMigrate\" but only if the VirtualMachine is Live-Migratable, otherwise it will behave as \"None\".\n- \"External\": the VirtualMachineInstance will be protected by a PDB and `vmi.Status.EvacuationNodeName` will be set on eviction. This is mainly useful for cluster-api-provider-kubevirt (capk) which needs a way for VMI's to be blocked from eviction, yet signal capk that eviction has been called on the VMI so the capk controller can handle tearing the VMI down. Details can be found in the commit description https://github.com/kubevirt/kubevirt/commit/c1d77face705c8b126696bac9a3ee3825f27f1fa." type: "string" hostname: - description: "Specifies the hostname of the vmi If not specified, the hostname will be set to the name of the vmi, if dhcp or cloud-init is configured properly." + description: "Specifies the hostname of the vmi\nIf not specified, the hostname will be set to the name of the vmi, if dhcp or cloud-init is configured properly." type: "string" livenessProbe: - description: "Periodic probe of VirtualMachineInstance liveness. VirtualmachineInstances will be stopped if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + description: "Periodic probe of VirtualMachineInstance liveness.\nVirtualmachineInstances will be stopped if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" properties: exec: - description: "One and only one of the following should be specified. Exec specifies the action to take, it will be executed on the guest through the qemu-guest-agent. If the guest agent is not available, this probe will fail." + description: "One and only one of the following should be specified.\nExec specifies the action to take, it will be executed on the guest through the qemu-guest-agent.\nIf the guest agent is not available, this probe will fail." properties: command: - description: "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy." + description: "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: - description: "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." + description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." format: "int32" type: "integer" guestAgentPing: @@ -1985,7 +2121,7 @@ spec: description: "HTTPGet specifies the http request to perform." properties: host: - description: "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead." + description: "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead." type: "string" httpHeaders: description: "Custom headers to set in the request. HTTP allows repeated headers." @@ -1993,7 +2129,7 @@ spec: description: "HTTPHeader describes a custom header to be used in HTTP probes" properties: name: - description: "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header." + description: "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header." type: "string" value: description: "The header field value" @@ -2003,6 +2139,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2010,28 +2147,28 @@ spec: anyOf: - type: "integer" - type: "string" - description: "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME." + description: "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME." x-kubernetes-int-or-string: true scheme: - description: "Scheme to use for connecting to the host. Defaults to HTTP." + description: "Scheme to use for connecting to the host.\nDefaults to HTTP." type: "string" required: - "port" type: "object" initialDelaySeconds: - description: "Number of seconds after the VirtualMachineInstance has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + description: "Number of seconds after the VirtualMachineInstance has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" format: "int32" type: "integer" periodSeconds: - description: "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." + description: "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1." format: "int32" type: "integer" successThreshold: - description: "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." + description: "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness. Minimum value is 1." format: "int32" type: "integer" tcpSocket: - description: "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported TODO: implement a realistic TCP lifecycle hook" + description: "TCPSocket specifies an action involving a TCP port.\nTCP hooks not yet supported\nTODO: implement a realistic TCP lifecycle hook" properties: host: description: "Optional: Host name to connect to, defaults to the pod IP." @@ -2040,13 +2177,13 @@ spec: anyOf: - type: "integer" - type: "string" - description: "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME." + description: "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME." x-kubernetes-int-or-string: true required: - "port" type: "object" timeoutSeconds: - description: "Number of seconds after which the probe times out. For exec probes the timeout fails the probe but does not terminate the command running on the guest. This means a blocking command can result in an increasing load on the guest. A small buffer will be added to the resulting workload exec probe to compensate for delays caused by the qemu guest exec mechanism. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + description: "Number of seconds after which the probe times out.\nFor exec probes the timeout fails the probe but does not terminate the command running on the guest.\nThis means a blocking command can result in an increasing load on the guest.\nA small buffer will be added to the resulting workload exec probe to compensate for delays\ncaused by the qemu guest exec mechanism.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" format: "int32" type: "integer" type: "object" @@ -2059,25 +2196,25 @@ spec: description: "Represents the multus cni network." properties: default: - description: "Select the default network and add it to the multus-cni.io/default-network annotation." + description: "Select the default network and add it to the\nmultus-cni.io/default-network annotation." type: "boolean" networkName: - description: "References to a NetworkAttachmentDefinition CRD object. Format: , /. If namespace is not specified, VMI namespace is assumed." + description: "References to a NetworkAttachmentDefinition CRD object. Format:\n, /. If namespace is not\nspecified, VMI namespace is assumed." type: "string" required: - "networkName" type: "object" name: - description: "Network name. Must be a DNS_LABEL and unique within the vm. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + description: "Network name.\nMust be a DNS_LABEL and unique within the vm.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" type: "string" pod: description: "Represents the stock pod network interface." properties: vmIPv6NetworkCIDR: - description: "IPv6 CIDR for the vm network. Defaults to fd10:0:2::/120 if not specified." + description: "IPv6 CIDR for the vm network.\nDefaults to fd10:0:2::/120 if not specified." type: "string" vmNetworkCIDR: - description: "CIDR for vm network. Default 10.0.2.0/24 if not specified." + description: "CIDR for vm network.\nDefault 10.0.2.0/24 if not specified." type: "string" type: "object" required: @@ -2087,25 +2224,26 @@ spec: nodeSelector: additionalProperties: type: "string" - description: "NodeSelector is a selector which must be true for the vmi to fit on a node. Selector which must match a node's labels for the vmi to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/" + description: "NodeSelector is a selector which must be true for the vmi to fit on a node.\nSelector which must match a node's labels for the vmi to be scheduled on that node.\nMore info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/" type: "object" priorityClassName: - description: "If specified, indicates the pod's priority. If not specified, the pod priority will be default or zero if there is no default." + description: "If specified, indicates the pod's priority.\nIf not specified, the pod priority will be default or zero if there is no\ndefault." type: "string" readinessProbe: - description: "Periodic probe of VirtualMachineInstance service readiness. VirtualmachineInstances will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + description: "Periodic probe of VirtualMachineInstance service readiness.\nVirtualmachineInstances will be removed from service endpoints if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" properties: exec: - description: "One and only one of the following should be specified. Exec specifies the action to take, it will be executed on the guest through the qemu-guest-agent. If the guest agent is not available, this probe will fail." + description: "One and only one of the following should be specified.\nExec specifies the action to take, it will be executed on the guest through the qemu-guest-agent.\nIf the guest agent is not available, this probe will fail." properties: command: - description: "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy." + description: "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: - description: "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." + description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." format: "int32" type: "integer" guestAgentPing: @@ -2115,7 +2253,7 @@ spec: description: "HTTPGet specifies the http request to perform." properties: host: - description: "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead." + description: "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead." type: "string" httpHeaders: description: "Custom headers to set in the request. HTTP allows repeated headers." @@ -2123,7 +2261,7 @@ spec: description: "HTTPHeader describes a custom header to be used in HTTP probes" properties: name: - description: "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header." + description: "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header." type: "string" value: description: "The header field value" @@ -2133,6 +2271,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2140,28 +2279,28 @@ spec: anyOf: - type: "integer" - type: "string" - description: "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME." + description: "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME." x-kubernetes-int-or-string: true scheme: - description: "Scheme to use for connecting to the host. Defaults to HTTP." + description: "Scheme to use for connecting to the host.\nDefaults to HTTP." type: "string" required: - "port" type: "object" initialDelaySeconds: - description: "Number of seconds after the VirtualMachineInstance has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + description: "Number of seconds after the VirtualMachineInstance has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" format: "int32" type: "integer" periodSeconds: - description: "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." + description: "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1." format: "int32" type: "integer" successThreshold: - description: "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." + description: "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness. Minimum value is 1." format: "int32" type: "integer" tcpSocket: - description: "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported TODO: implement a realistic TCP lifecycle hook" + description: "TCPSocket specifies an action involving a TCP port.\nTCP hooks not yet supported\nTODO: implement a realistic TCP lifecycle hook" properties: host: description: "Optional: Host name to connect to, defaults to the pod IP." @@ -2170,24 +2309,24 @@ spec: anyOf: - type: "integer" - type: "string" - description: "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME." + description: "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME." x-kubernetes-int-or-string: true required: - "port" type: "object" timeoutSeconds: - description: "Number of seconds after which the probe times out. For exec probes the timeout fails the probe but does not terminate the command running on the guest. This means a blocking command can result in an increasing load on the guest. A small buffer will be added to the resulting workload exec probe to compensate for delays caused by the qemu guest exec mechanism. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + description: "Number of seconds after which the probe times out.\nFor exec probes the timeout fails the probe but does not terminate the command running on the guest.\nThis means a blocking command can result in an increasing load on the guest.\nA small buffer will be added to the resulting workload exec probe to compensate for delays\ncaused by the qemu guest exec mechanism.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" format: "int32" type: "integer" type: "object" schedulerName: - description: "If specified, the VMI will be dispatched by specified scheduler. If not specified, the VMI will be dispatched by default scheduler." + description: "If specified, the VMI will be dispatched by specified scheduler.\nIf not specified, the VMI will be dispatched by default scheduler." type: "string" startStrategy: description: "StartStrategy can be set to \"Paused\" if Virtual Machine should be started in paused state." type: "string" subdomain: - description: "If specified, the fully qualified vmi hostname will be \"...svc.\". If not specified, the vmi will not have a domainname at all. The DNS entry will resolve to the vmi, no matter if the vmi itself can pick up a hostname." + description: "If specified, the fully qualified vmi hostname will be \"...svc.\".\nIf not specified, the vmi will not have a domainname at all. The DNS entry will resolve to the vmi,\nno matter if the vmi itself can pick up a hostname." type: "string" terminationGracePeriodSeconds: description: "Grace period observed after signalling a VirtualMachineInstance to stop after which the VirtualMachineInstance is force terminated." @@ -2196,86 +2335,89 @@ spec: tolerations: description: "If toleration is specified, obey all the toleration rules." items: - description: "The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator ." + description: "The pod this Toleration is attached to tolerates any taint that matches\nthe triple using the matching operator ." properties: effect: - description: "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute." + description: "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute." type: "string" key: - description: "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys." + description: "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys." type: "string" operator: - description: "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category." + description: "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category." type: "string" tolerationSeconds: - description: "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system." + description: "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system." format: "int64" type: "integer" value: - description: "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string." + description: "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string." type: "string" type: "object" type: "array" topologySpreadConstraints: - description: "TopologySpreadConstraints describes how a group of VMIs will be spread across a given topology domains. K8s scheduler will schedule VMI pods in a way which abides by the constraints." + description: "TopologySpreadConstraints describes how a group of VMIs will be spread across a given topology\ndomains. K8s scheduler will schedule VMI pods in a way which abides by the constraints." items: description: "TopologySpreadConstraint specifies how to spread matching pods among the given topology." properties: labelSelector: - description: "LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain." + description: "LabelSelector is used to find matching pods.\nPods that match this label selector are counted to determine the number of pods\nin their corresponding topology domain." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn't set. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector. \n This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default)." + description: "MatchLabelKeys is a set of pod label keys to select the pods over which\nspreading will be calculated. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are ANDed with labelSelector\nto select the group of existing pods over which spreading will be calculated\nfor the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nMatchLabelKeys cannot be set when LabelSelector isn't set.\nKeys that don't exist in the incoming pod labels will\nbe ignored. A null or empty list means only match against labelSelector.\n\n\nThis is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default)." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" maxSkew: - description: "MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | | P P | P P | P | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed." + description: "MaxSkew describes the degree to which pods may be unevenly distributed.\nWhen `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference\nbetween the number of matching pods in the target topology and the global minimum.\nThe global minimum is the minimum number of matching pods in an eligible domain\nor zero if the number of eligible domains is less than MinDomains.\nFor example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same\nlabelSelector spread as 2/2/1:\nIn this case, the global minimum is 1.\n| zone1 | zone2 | zone3 |\n| P P | P P | P |\n- if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2;\nscheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2)\nviolate MaxSkew(1).\n- if MaxSkew is 2, incoming pod can be scheduled onto any zone.\nWhen `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence\nto topologies that satisfy it.\nIt's a required field. Default value is 1 and 0 is not allowed." format: "int32" type: "integer" minDomains: - description: "MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won't schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule. \n For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: | zone1 | zone2 | zone3 | | P P | P P | P P | The number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0. In this situation, new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate MaxSkew. \n This is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default)." + description: "MinDomains indicates a minimum number of eligible domains.\nWhen the number of eligible domains with matching topology keys is less than minDomains,\nPod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed.\nAnd when the number of eligible domains with matching topology keys equals or greater than minDomains,\nthis value has no effect on scheduling.\nAs a result, when the number of eligible domains is less than minDomains,\nscheduler won't schedule more than maxSkew Pods to those domains.\nIf value is nil, the constraint behaves as if MinDomains is equal to 1.\nValid values are integers greater than 0.\nWhen value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same\nlabelSelector spread as 2/2/2:\n| zone1 | zone2 | zone3 |\n| P P | P P | P P |\nThe number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0.\nIn this situation, new pod with the same labelSelector cannot be scheduled,\nbecause computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,\nit will violate MaxSkew." format: "int32" type: "integer" nodeAffinityPolicy: - description: "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations. \n If this value is nil, the behavior is equivalent to the Honor policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag." + description: "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector\nwhen calculating pod topology spread skew. Options are:\n- Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations.\n- Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\n\nIf this value is nil, the behavior is equivalent to the Honor policy.\nThis is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag." type: "string" nodeTaintsPolicy: - description: "NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included. \n If this value is nil, the behavior is equivalent to the Ignore policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag." + description: "NodeTaintsPolicy indicates how we will treat node taints when calculating\npod topology spread skew. Options are:\n- Honor: nodes without taints, along with tainted nodes for which the incoming pod\nhas a toleration, are included.\n- Ignore: node taints are ignored. All nodes are included.\n\n\nIf this value is nil, the behavior is equivalent to the Ignore policy.\nThis is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag." type: "string" topologyKey: - description: "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes meet the requirements of nodeAffinityPolicy and nodeTaintsPolicy. e.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology. And, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology. It's a required field." + description: "TopologyKey is the key of node labels. Nodes that have a label with this key\nand identical values are considered to be in the same topology.\nWe consider each as a \"bucket\", and try to put balanced number\nof pods into each bucket.\nWe define a domain as a particular instance of a topology.\nAlso, we define an eligible domain as a domain whose nodes meet the requirements of\nnodeAffinityPolicy and nodeTaintsPolicy.\ne.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology.\nAnd, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology.\nIt's a required field." type: "string" whenUnsatisfiable: - description: "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location, but giving higher precedence to topologies that would help reduce the skew. A constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assignment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field." + description: "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy\nthe spread constraint.\n- DoNotSchedule (default) tells the scheduler not to schedule it.\n- ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod\nif and only if every possible node assignment for that pod would violate\n\"MaxSkew\" on some topology.\nFor example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same\nlabelSelector spread as 3/1/1:\n| zone1 | zone2 | zone3 |\n| P P P | P | P |\nIf WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled\nto zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies\nMaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler\nwon't make it *more* imbalanced.\nIt's a required field." type: "string" required: - "maxSkew" @@ -2293,7 +2435,7 @@ spec: description: "Volume represents a named volume in a vmi." properties: cloudInitConfigDrive: - description: "CloudInitConfigDrive represents a cloud-init Config Drive user-data source. The Config Drive data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. More info: https://cloudinit.readthedocs.io/en/latest/topics/datasources/configdrive.html" + description: "CloudInitConfigDrive represents a cloud-init Config Drive user-data source.\nThe Config Drive data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest.\nMore info: https://cloudinit.readthedocs.io/en/latest/topics/datasources/configdrive.html" properties: networkData: description: "NetworkData contains config drive inline cloud-init networkdata." @@ -2305,16 +2447,20 @@ spec: description: "NetworkDataSecretRef references a k8s secret that contains config drive networkdata." properties: name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" + x-kubernetes-map-type: "atomic" secretRef: description: "UserDataSecretRef references a k8s secret that contains config drive userdata." properties: name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" + x-kubernetes-map-type: "atomic" userData: description: "UserData contains config drive inline cloud-init userdata." type: "string" @@ -2323,7 +2469,7 @@ spec: type: "string" type: "object" cloudInitNoCloud: - description: "CloudInitNoCloud represents a cloud-init NoCloud user-data source. The NoCloud data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. More info: http://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html" + description: "CloudInitNoCloud represents a cloud-init NoCloud user-data source.\nThe NoCloud data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest.\nMore info: http://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html" properties: networkData: description: "NetworkData contains NoCloud inline cloud-init networkdata." @@ -2335,16 +2481,20 @@ spec: description: "NetworkDataSecretRef references a k8s secret that contains NoCloud networkdata." properties: name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" + x-kubernetes-map-type: "atomic" secretRef: description: "UserDataSecretRef references a k8s secret that contains NoCloud userdata." properties: name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" + x-kubernetes-map-type: "atomic" userData: description: "UserData contains NoCloud inline cloud-init userdata." type: "string" @@ -2353,26 +2503,28 @@ spec: type: "string" type: "object" configMap: - description: "ConfigMapSource represents a reference to a ConfigMap in the same namespace. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/" + description: "ConfigMapSource represents a reference to a ConfigMap in the same namespace.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/" properties: name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or it's keys must be defined" type: "boolean" volumeLabel: - description: "The volume label of the resulting disk inside the VMI. Different bootstrapping mechanisms require different values. Typical values are \"cidata\" (cloud-init), \"config-2\" (cloud-init) or \"OEMDRV\" (kickstart)." + description: "The volume label of the resulting disk inside the VMI.\nDifferent bootstrapping mechanisms require different values.\nTypical values are \"cidata\" (cloud-init), \"config-2\" (cloud-init) or \"OEMDRV\" (kickstart)." type: "string" type: "object" + x-kubernetes-map-type: "atomic" containerDisk: - description: "ContainerDisk references a docker image, embedding a qcow or raw disk. More info: https://kubevirt.gitbooks.io/user-guide/registry-disk.html" + description: "ContainerDisk references a docker image, embedding a qcow or raw disk.\nMore info: https://kubevirt.gitbooks.io/user-guide/registry-disk.html" properties: image: description: "Image is the name of the image with the embedded disk." type: "string" imagePullPolicy: - description: "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images" + description: "Image pull policy.\nOne of Always, Never, IfNotPresent.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/containers/images#updating-images" type: "string" imagePullSecret: description: "ImagePullSecret is the name of the Docker registry secret required to pull the image. The secret must already exist." @@ -2384,13 +2536,13 @@ spec: - "image" type: "object" dataVolume: - description: "DataVolume represents the dynamic creation a PVC for this volume as well as the process of populating that PVC with a disk image." + description: "DataVolume represents the dynamic creation a PVC for this volume as well as\nthe process of populating that PVC with a disk image." properties: hotpluggable: description: "Hotpluggable indicates whether the volume can be hotplugged and hotunplugged." type: "boolean" name: - description: "Name of both the DataVolume and the PVC in the same namespace. After PVC population the DataVolume is garbage collected by default." + description: "Name of both the DataVolume and the PVC in the same namespace.\nAfter PVC population the DataVolume is garbage collected by default." type: "string" required: - "name" @@ -2404,7 +2556,7 @@ spec: description: "DownwardAPIVolumeFile represents information to create the file containing the pod field" properties: fieldRef: - description: "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported." + description: "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -2415,15 +2567,16 @@ spec: required: - "fieldPath" type: "object" + x-kubernetes-map-type: "atomic" mode: - description: "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + description: "Optional: mode bits used to set permissions on this file, must be an octal value\nbetween 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set." format: "int32" type: "integer" path: description: "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'" type: "string" resourceFieldRef: - description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported." + description: "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported." properties: containerName: description: "Container name: required for volumes, optional for env vars" @@ -2441,19 +2594,20 @@ spec: required: - "resource" type: "object" + x-kubernetes-map-type: "atomic" required: - "path" type: "object" type: "array" volumeLabel: - description: "The volume label of the resulting disk inside the VMI. Different bootstrapping mechanisms require different values. Typical values are \"cidata\" (cloud-init), \"config-2\" (cloud-init) or \"OEMDRV\" (kickstart)." + description: "The volume label of the resulting disk inside the VMI.\nDifferent bootstrapping mechanisms require different values.\nTypical values are \"cidata\" (cloud-init), \"config-2\" (cloud-init) or \"OEMDRV\" (kickstart)." type: "string" type: "object" downwardMetrics: - description: "DownwardMetrics adds a very small disk to VMIs which contains a limited view of host and guest metrics. The disk content is compatible with vhostmd (https://github.com/vhostmd/vhostmd) and vm-dump-metrics." + description: "DownwardMetrics adds a very small disk to VMIs which contains a limited view of host and guest\nmetrics. The disk content is compatible with vhostmd (https://github.com/vhostmd/vhostmd) and vm-dump-metrics." type: "object" emptyDisk: - description: "EmptyDisk represents a temporary disk which shares the vmis lifecycle. More info: https://kubevirt.gitbooks.io/user-guide/disks-and-volumes.html" + description: "EmptyDisk represents a temporary disk which shares the vmis lifecycle.\nMore info: https://kubevirt.gitbooks.io/user-guide/disks-and-volumes.html" properties: capacity: anyOf: @@ -2469,13 +2623,13 @@ spec: description: "Ephemeral is a special volume source that \"wraps\" specified source and provides copy-on-write image on top of it." properties: persistentVolumeClaim: - description: "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Directly attached to the vmi via qemu. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" + description: "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.\nDirectly attached to the vmi via qemu.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" properties: claimName: - description: "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" + description: "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" type: "string" readOnly: - description: "readOnly Will force the ReadOnly setting in VolumeMounts. Default false." + description: "readOnly Will force the ReadOnly setting in VolumeMounts.\nDefault false." type: "boolean" required: - "claimName" @@ -2498,7 +2652,7 @@ spec: description: "Shared indicate whether the path is shared between nodes" type: "boolean" type: - description: "Contains information if disk.img exists or should be created allowed options are 'Disk' and 'DiskOrCreate'" + description: "Contains information if disk.img exists or should be created\nallowed options are 'Disk' and 'DiskOrCreate'" type: "string" required: - "path" @@ -2508,53 +2662,53 @@ spec: description: "MemoryDump is attached to the virt launcher and is populated with a memory dump of the vmi" properties: claimName: - description: "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" + description: "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" type: "string" hotpluggable: description: "Hotpluggable indicates whether the volume can be hotplugged and hotunplugged." type: "boolean" readOnly: - description: "readOnly Will force the ReadOnly setting in VolumeMounts. Default false." + description: "readOnly Will force the ReadOnly setting in VolumeMounts.\nDefault false." type: "boolean" required: - "claimName" type: "object" name: - description: "Volume's name. Must be a DNS_LABEL and unique within the vmi. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + description: "Volume's name.\nMust be a DNS_LABEL and unique within the vmi.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" type: "string" persistentVolumeClaim: - description: "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Directly attached to the vmi via qemu. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" + description: "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.\nDirectly attached to the vmi via qemu.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" properties: claimName: - description: "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" + description: "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" type: "string" hotpluggable: description: "Hotpluggable indicates whether the volume can be hotplugged and hotunplugged." type: "boolean" readOnly: - description: "readOnly Will force the ReadOnly setting in VolumeMounts. Default false." + description: "readOnly Will force the ReadOnly setting in VolumeMounts.\nDefault false." type: "boolean" required: - "claimName" type: "object" secret: - description: "SecretVolumeSource represents a reference to a secret data in the same namespace. More info: https://kubernetes.io/docs/concepts/configuration/secret/" + description: "SecretVolumeSource represents a reference to a secret data in the same namespace.\nMore info: https://kubernetes.io/docs/concepts/configuration/secret/" properties: optional: description: "Specify whether the Secret or it's keys must be defined" type: "boolean" secretName: - description: "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret" + description: "Name of the secret in the pod's namespace to use.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret" type: "string" volumeLabel: - description: "The volume label of the resulting disk inside the VMI. Different bootstrapping mechanisms require different values. Typical values are \"cidata\" (cloud-init), \"config-2\" (cloud-init) or \"OEMDRV\" (kickstart)." + description: "The volume label of the resulting disk inside the VMI.\nDifferent bootstrapping mechanisms require different values.\nTypical values are \"cidata\" (cloud-init), \"config-2\" (cloud-init) or \"OEMDRV\" (kickstart)." type: "string" type: "object" serviceAccount: - description: "ServiceAccountVolumeSource represents a reference to a service account. There can only be one volume of this type! More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/" + description: "ServiceAccountVolumeSource represents a reference to a service account.\nThere can only be one volume of this type!\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/" properties: serviceAccountName: - description: "Name of the service account in the pod's namespace to use. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/" + description: "Name of the service account in the pod's namespace to use.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/" type: "string" type: "object" sysprep: @@ -2564,16 +2718,20 @@ spec: description: "ConfigMap references a ConfigMap that contains Sysprep answer file named autounattend.xml that should be attached as disk of CDROM type." properties: name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" + x-kubernetes-map-type: "atomic" secret: description: "Secret references a k8s Secret that contains Sysprep answer file named autounattend.xml that should be attached as disk of CDROM type." properties: name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" + x-kubernetes-map-type: "atomic" type: "object" required: - "name" @@ -2613,23 +2771,23 @@ spec: description: "Condition defines an observation of a Cluster API resource operational state." properties: lastTransitionTime: - description: "Last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable." + description: "Last time the condition transitioned from one status to another.\nThis should be when the underlying condition changed. If that is not known, then using the time when\nthe API field changed is acceptable." format: "date-time" type: "string" message: - description: "A human readable message indicating details about the transition. This field may be empty." + description: "A human readable message indicating details about the transition.\nThis field may be empty." type: "string" reason: - description: "The reason for the condition's last transition in CamelCase. The specific API may choose whether or not this field is considered a guaranteed API. This field may not be empty." + description: "The reason for the condition's last transition in CamelCase.\nThe specific API may choose whether or not this field is considered a guaranteed API.\nThis field may not be empty." type: "string" severity: - description: "Severity provides an explicit classification of Reason code, so the users or machines can immediately understand the current situation and act accordingly. The Severity field MUST be set only when Status=False." + description: "Severity provides an explicit classification of Reason code, so the users or machines can immediately\nunderstand the current situation and act accordingly.\nThe Severity field MUST be set only when Status=False." type: "string" status: description: "Status of the condition, one of True, False, Unknown." type: "string" type: - description: "Type of condition in CamelCase or in foo.example.com/CamelCase. Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important." + description: "Type of condition in CamelCase or in foo.example.com/CamelCase.\nMany .condition.type values are consistent across resources like Available, but because arbitrary conditions\ncan be useful (see .node.status.conditions), the ability to deconflict is important." type: "string" required: - "lastTransitionTime" @@ -2638,13 +2796,13 @@ spec: type: "object" type: "array" failureMessage: - description: "FailureMessage will be set in the event that there is a terminal problem reconciling the Machine and will contain a more verbose string suitable for logging and human consumption. \n This field should not be set for transitive errors that a controller faces that are expected to be fixed automatically over time (like service outages), but instead indicate that something is fundamentally wrong with the Machine's spec or the configuration of the controller, and that manual intervention is required. Examples of terminal errors would be invalid combinations of settings in the spec, values that are unsupported by the controller, or the responsible controller itself being critically misconfigured. \n Any transient errors that occur during the reconciliation of Machines can be added as events to the Machine object and/or logged in the controller's output." + description: "FailureMessage will be set in the event that there is a terminal problem\nreconciling the Machine and will contain a more verbose string suitable\nfor logging and human consumption.\n\n\nThis field should not be set for transitive errors that a controller\nfaces that are expected to be fixed automatically over\ntime (like service outages), but instead indicate that something is\nfundamentally wrong with the Machine's spec or the configuration of\nthe controller, and that manual intervention is required. Examples\nof terminal errors would be invalid combinations of settings in the\nspec, values that are unsupported by the controller, or the\nresponsible controller itself being critically misconfigured.\n\n\nAny transient errors that occur during the reconciliation of Machines\ncan be added as events to the Machine object and/or logged in the\ncontroller's output." type: "string" failureReason: - description: "FailureReason will be set in the event that there is a terminal problem reconciling the Machine and will contain a succinct value suitable for machine interpretation. \n This field should not be set for transitive errors that a controller faces that are expected to be fixed automatically over time (like service outages), but instead indicate that something is fundamentally wrong with the Machine's spec or the configuration of the controller, and that manual intervention is required. Examples of terminal errors would be invalid combinations of settings in the spec, values that are unsupported by the controller, or the responsible controller itself being critically misconfigured. \n Any transient errors that occur during the reconciliation of Machines can be added as events to the Machine object and/or logged in the controller's output." + description: "FailureReason will be set in the event that there is a terminal problem\nreconciling the Machine and will contain a succinct value suitable\nfor machine interpretation.\n\n\nThis field should not be set for transitive errors that a controller\nfaces that are expected to be fixed automatically over\ntime (like service outages), but instead indicate that something is\nfundamentally wrong with the Machine's spec or the configuration of\nthe controller, and that manual intervention is required. Examples\nof terminal errors would be invalid combinations of settings in the\nspec, values that are unsupported by the controller, or the\nresponsible controller itself being critically misconfigured.\n\n\nAny transient errors that occur during the reconciliation of Machines\ncan be added as events to the Machine object and/or logged in the\ncontroller's output." type: "string" loadBalancerConfigured: - description: "LoadBalancerConfigured denotes that the machine has been added to the load balancer" + description: "LoadBalancerConfigured denotes that the machine has been\nadded to the load balancer" type: "boolean" nodeupdated: description: "NodeUpdated denotes that the ProviderID is updated on Node of this KubevirtMachine" @@ -2661,9 +2819,3 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtmachinetemplates.yaml b/crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtmachinetemplates.yaml index 2dea24128..1e786d756 100644 --- a/crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtmachinetemplates.yaml +++ b/crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtmachinetemplates.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.5.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "kubevirtmachinetemplates.infrastructure.cluster.x-k8s.io" spec: group: "infrastructure.cluster.x-k8s.io" @@ -21,10 +21,10 @@ spec: description: "KubevirtMachineTemplate is the Schema for the kubevirtmachinetemplates API." properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -38,30 +38,31 @@ spec: description: "Spec is the specification of the desired behavior of the machine." properties: infraClusterSecretRef: - description: "InfraClusterSecretRef is a reference to a secret with a kubeconfig for external cluster used for infra. When nil, this defaults to the value present in the KubevirtCluster object's spec associated with this machine." + description: "InfraClusterSecretRef is a reference to a secret with a kubeconfig for external cluster used for infra.\nWhen nil, this defaults to the value present in the KubevirtCluster object's spec associated with this machine." properties: apiVersion: description: "API version of the referent." type: "string" fieldPath: - description: "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future." + description: "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.\nTODO: this design is not final and this field is subject to change in the future." type: "string" kind: - description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" type: "string" namespace: - description: "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" resourceVersion: - description: "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + description: "Specific resourceVersion to which this reference is made, if any.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" type: "string" uid: - description: "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + description: "UID of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" type: "string" type: "object" + x-kubernetes-map-type: "atomic" providerID: description: "ProviderID TBD what to use for Kubevirt" type: "string" @@ -70,7 +71,7 @@ spec: properties: checkStrategy: default: "ssh" - description: "CheckStrategy describes how CAPK controller will validate a successful CAPI bootstrap. Following specified method, CAPK will try to retrieve the state of the CAPI Sentinel file from the VM. Possible values are: \"none\" or \"ssh\" (default is \"ssh\") and this value is validated by apiserver." + description: "CheckStrategy describes how CAPK controller will validate a successful CAPI bootstrap.\nFollowing specified method, CAPK will try to retrieve the state of the CAPI Sentinel file from the VM.\nPossible values are: \"none\" or \"ssh\" (default is \"ssh\") and this value is validated by apiserver." enum: - "none" - "ssh" @@ -87,15 +88,15 @@ spec: description: "VirtualMachineSpec contains the VirtualMachine specification." properties: dataVolumeTemplates: - description: "dataVolumeTemplates is a list of dataVolumes that the VirtualMachineInstance template can reference. DataVolumes in this list are dynamically created for the VirtualMachine and are tied to the VirtualMachine's life-cycle." + description: "dataVolumeTemplates is a list of dataVolumes that the VirtualMachineInstance template can reference.\nDataVolumes in this list are dynamically created for the VirtualMachine and are tied to the VirtualMachine's life-cycle." items: nullable: true properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: nullable: true @@ -139,15 +140,16 @@ spec: description: "PVC is the PVC specification" properties: accessModes: - description: "accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1" + description: "accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1" items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" 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. 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:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource." properties: apiGroup: - description: "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + description: "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required." type: "string" kind: description: "Kind is the type of resource being referenced" @@ -159,11 +161,12 @@ spec: - "kind" - "name" type: "object" + x-kubernetes-map-type: "atomic" dataSourceRef: - 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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\nvolume is desired. This may be any object from a non-empty API group (non\ncore object) or a PersistentVolumeClaim object.\nWhen this field is specified, volume binding will only succeed if the type of\nthe specified object matches some installed volume populator or dynamic\nprovisioner.\nThis field will replace the functionality of the dataSource field and as such\nif both fields are non-empty, they must have the same value. For backwards\ncompatibility, when namespace isn't specified in dataSourceRef,\nboth fields (dataSource and dataSourceRef) will be set to the same\nvalue automatically if one of them is empty and the other is non-empty.\nWhen namespace is specified in dataSourceRef,\ndataSource isn't set to the same value and must be empty.\nThere are three important differences between dataSource and dataSourceRef:\n* 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.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled." properties: apiGroup: - description: "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + description: "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required." type: "string" kind: description: "Kind is the type of resource being referenced" @@ -172,30 +175,15 @@ spec: description: "Name is the name of resource being referenced" type: "string" namespace: - description: "Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled." + description: "Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled." type: "string" required: - "kind" - "name" type: "object" resources: - description: "resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources" + description: "resources represents the minimum resources the volume should have.\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\nthat are lower than previous value but must still be higher than capacity recorded in the\nstatus field of the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources" properties: - claims: - description: "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. \n This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. \n This field is immutable. It can only be set for containers." - items: - description: "ResourceClaim references one entry in PodSpec.ResourceClaims." - properties: - name: - description: "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container." - type: "string" - required: - - "name" - type: "object" - type: "array" - x-kubernetes-list-map-keys: - - "name" - x-kubernetes-list-type: "map" limits: additionalProperties: anyOf: @@ -203,7 +191,7 @@ spec: - type: "string" pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" x-kubernetes-int-or-string: true - description: "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" + description: "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" type: "object" requests: additionalProperties: @@ -212,7 +200,7 @@ spec: - type: "string" pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" x-kubernetes-int-or-string: true - description: "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" + description: "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" type: "object" type: "object" selector: @@ -221,35 +209,41 @@ spec: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" storageClassName: - description: "storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" + description: "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" + type: "string" + volumeAttributesClassName: + description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." type: "string" volumeMode: - description: "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec." + description: "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec." type: "string" volumeName: description: "volumeName is the binding reference to the PersistentVolume backing this claim." @@ -423,15 +417,15 @@ spec: description: "Storage is the requested storage specification" properties: accessModes: - description: "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1" + description: "AccessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1" items: type: "string" type: "array" dataSource: - description: "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) * An existing custom resource that implements data population (Alpha) In order to use custom resource types that implement data population, the AnyVolumeDataSource feature gate must be enabled. 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. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field." + description: "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) * An existing custom resource that implements data population (Alpha) In order to use custom resource types that implement data population, the AnyVolumeDataSource feature gate must be enabled. 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.\nIf the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field." properties: apiGroup: - description: "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + description: "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required." type: "string" kind: description: "Kind is the type of resource being referenced" @@ -443,11 +437,12 @@ spec: - "kind" - "name" type: "object" + x-kubernetes-map-type: "atomic" dataSourceRef: - description: "Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local 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, 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. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled." + description: "Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local 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.\nThis 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, 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.\nThere are two important differences between DataSource and DataSourceRef:\n* While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects.\n* While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled." properties: apiGroup: - description: "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + description: "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required." type: "string" kind: description: "Kind is the type of resource being referenced" @@ -456,22 +451,22 @@ spec: description: "Name is the name of resource being referenced" type: "string" namespace: - description: "Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled." + description: "Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled." type: "string" required: - "kind" - "name" type: "object" resources: - description: "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources" + description: "Resources represents the minimum resources the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources" properties: claims: - description: "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. \n This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. \n This field is immutable. It can only be set for containers." + description: "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\n\nThis field is immutable. It can only be set for containers." items: description: "ResourceClaim references one entry in PodSpec.ResourceClaims." properties: name: - description: "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container." + description: "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container." type: "string" required: - "name" @@ -487,7 +482,7 @@ spec: - type: "string" pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" x-kubernetes-int-or-string: true - description: "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" + description: "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" type: "object" requests: additionalProperties: @@ -496,7 +491,7 @@ spec: - type: "string" pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" x-kubernetes-int-or-string: true - description: "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" + description: "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" type: "object" type: "object" selector: @@ -505,35 +500,38 @@ spec: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" storageClassName: - description: "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" + description: "Name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" type: "string" volumeMode: - description: "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec." + description: "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec." type: "string" volumeName: description: "VolumeName is the binding reference to the PersistentVolume backing this claim." @@ -541,7 +539,7 @@ spec: type: "object" type: "object" status: - description: "DataVolumeTemplateDummyStatus is here simply for backwards compatibility with a previous API." + description: "DataVolumeTemplateDummyStatus is here simply for backwards compatibility with\na previous API." nullable: true type: "object" required: @@ -552,51 +550,45 @@ spec: description: "InstancetypeMatcher references a instancetype that is used to fill fields in Template" properties: inferFromVolume: - description: "InferFromVolume lists the name of a volume that should be used to infer or discover the instancetype to be used through known annotations on the underlying resource. Once applied to the InstancetypeMatcher this field is removed." + description: "InferFromVolume lists the name of a volume that should be used to infer or discover the instancetype\nto be used through known annotations on the underlying resource. Once applied to the InstancetypeMatcher\nthis field is removed." + type: "string" + inferFromVolumeFailurePolicy: + description: "InferFromVolumeFailurePolicy controls what should happen on failure when inferring the instancetype.\nAllowed values are: \"RejectInferFromVolumeFailure\" and \"IgnoreInferFromVolumeFailure\".\nIf not specified, \"RejectInferFromVolumeFailure\" is used by default." type: "string" kind: - description: "Kind specifies which instancetype resource is referenced. Allowed values are: \"VirtualMachineInstancetype\" and \"VirtualMachineClusterInstancetype\". If not specified, \"VirtualMachineClusterInstancetype\" is used by default." + description: "Kind specifies which instancetype resource is referenced.\nAllowed values are: \"VirtualMachineInstancetype\" and \"VirtualMachineClusterInstancetype\".\nIf not specified, \"VirtualMachineClusterInstancetype\" is used by default." type: "string" name: description: "Name is the name of the VirtualMachineInstancetype or VirtualMachineClusterInstancetype" type: "string" revisionName: - description: "RevisionName specifies a ControllerRevision containing a specific copy of the VirtualMachineInstancetype or VirtualMachineClusterInstancetype to be used. This is initially captured the first time the instancetype is applied to the VirtualMachineInstance." + description: "RevisionName specifies a ControllerRevision containing a specific copy of the\nVirtualMachineInstancetype or VirtualMachineClusterInstancetype to be used. This is initially\ncaptured the first time the instancetype is applied to the VirtualMachineInstance." type: "string" type: "object" - liveUpdateFeatures: - description: "LiveUpdateFeatures references a configuration of hotpluggable resources" - properties: - cpu: - description: "LiveUpdateCPU holds hotplug configuration for the CPU resource. Empty struct indicates that default will be used for maxSockets. Default is specified on cluster level. Absence of the struct means opt-out from CPU hotplug functionality." - properties: - maxSockets: - description: "The maximum amount of sockets that can be hot-plugged to the Virtual Machine" - format: "int32" - type: "integer" - type: "object" - type: "object" preference: description: "PreferenceMatcher references a set of preference that is used to fill fields in Template" properties: inferFromVolume: - description: "InferFromVolume lists the name of a volume that should be used to infer or discover the preference to be used through known annotations on the underlying resource. Once applied to the PreferenceMatcher this field is removed." + description: "InferFromVolume lists the name of a volume that should be used to infer or discover the preference\nto be used through known annotations on the underlying resource. Once applied to the PreferenceMatcher\nthis field is removed." + type: "string" + inferFromVolumeFailurePolicy: + description: "InferFromVolumeFailurePolicy controls what should happen on failure when preference the instancetype.\nAllowed values are: \"RejectInferFromVolumeFailure\" and \"IgnoreInferFromVolumeFailure\".\nIf not specified, \"RejectInferFromVolumeFailure\" is used by default." type: "string" kind: - description: "Kind specifies which preference resource is referenced. Allowed values are: \"VirtualMachinePreference\" and \"VirtualMachineClusterPreference\". If not specified, \"VirtualMachineClusterPreference\" is used by default." + description: "Kind specifies which preference resource is referenced.\nAllowed values are: \"VirtualMachinePreference\" and \"VirtualMachineClusterPreference\".\nIf not specified, \"VirtualMachineClusterPreference\" is used by default." type: "string" name: description: "Name is the name of the VirtualMachinePreference or VirtualMachineClusterPreference" type: "string" revisionName: - description: "RevisionName specifies a ControllerRevision containing a specific copy of the VirtualMachinePreference or VirtualMachineClusterPreference to be used. This is initially captured the first time the instancetype is applied to the VirtualMachineInstance." + description: "RevisionName specifies a ControllerRevision containing a specific copy of the\nVirtualMachinePreference or VirtualMachineClusterPreference to be used. This is\ninitially captured the first time the instancetype is applied to the VirtualMachineInstance." type: "string" type: "object" runStrategy: - description: "Running state indicates the requested running state of the VirtualMachineInstance mutually exclusive with Running" + description: "Running state indicates the requested running state of the VirtualMachineInstance\nmutually exclusive with Running" type: "string" running: - description: "Running controls whether the associatied VirtualMachineInstance is created or not Mutually exclusive with RunStrategy" + description: "Running controls whether the associatied VirtualMachineInstance is created or not\nMutually exclusive with RunStrategy" type: "boolean" template: description: "Template is the direct specification of VirtualMachineInstance" @@ -611,22 +603,25 @@ spec: accessCredentials: description: "Specifies a set of public keys to inject into the vm guest" items: - description: "AccessCredential represents a credential source that can be used to authorize remote access to the vm guest Only one of its members may be specified." + description: "AccessCredential represents a credential source that can be used to\nauthorize remote access to the vm guest\nOnly one of its members may be specified." properties: sshPublicKey: - description: "SSHPublicKey represents the source and method of applying a ssh public key into a guest virtual machine." + description: "SSHPublicKey represents the source and method of applying a ssh public\nkey into a guest virtual machine." properties: propagationMethod: description: "PropagationMethod represents how the public key is injected into the vm guest." properties: configDrive: - description: "ConfigDrivePropagation means that the ssh public keys are injected into the VM using metadata using the configDrive cloud-init provider" + description: "ConfigDrivePropagation means that the ssh public keys are injected\ninto the VM using metadata using the configDrive cloud-init provider" + type: "object" + noCloud: + description: "NoCloudPropagation means that the ssh public keys are injected\ninto the VM using metadata using the noCloud cloud-init provider" type: "object" qemuGuestAgent: - description: "QemuGuestAgentAccessCredentailPropagation means ssh public keys are dynamically injected into the vm at runtime via the qemu guest agent. This feature requires the qemu guest agent to be running within the guest." + description: "QemuGuestAgentAccessCredentailPropagation means ssh public keys are\ndynamically injected into the vm at runtime via the qemu guest agent.\nThis feature requires the qemu guest agent to be running within the guest." properties: users: - description: "Users represents a list of guest users that should have the ssh public keys added to their authorized_keys file." + description: "Users represents a list of guest users that should have the ssh public keys\nadded to their authorized_keys file." items: type: "string" type: "array" @@ -653,13 +648,13 @@ spec: - "source" type: "object" userPassword: - description: "UserPassword represents the source and method for applying a guest user's password" + description: "UserPassword represents the source and method for applying a guest user's\npassword" properties: propagationMethod: description: "propagationMethod represents how the user passwords are injected into the vm guest." properties: qemuGuestAgent: - description: "QemuGuestAgentAccessCredentailPropagation means passwords are dynamically injected into the vm at runtime via the qemu guest agent. This feature requires the qemu guest agent to be running within the guest." + description: "QemuGuestAgentAccessCredentailPropagation means passwords are\ndynamically injected into the vm at runtime via the qemu guest agent.\nThis feature requires the qemu guest agent to be running within the guest." type: "object" type: "object" source: @@ -689,9 +684,9 @@ spec: description: "Describes node affinity scheduling rules for the pod." properties: preferredDuringSchedulingIgnoredDuringExecution: - description: "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred." + description: "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node matches the corresponding matchExpressions; the\nnode(s) with the highest sum are the most preferred." items: - description: "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op)." + description: "An empty preferred scheduling term matches all objects with implicit weight 0\n(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op)." properties: preference: description: "A node selector term, associated with the corresponding weight." @@ -699,46 +694,51 @@ spec: matchExpressions: description: "A list of node selector requirements by node's labels." items: - description: "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values." properties: key: description: "The label key that the selector applies to." type: "string" operator: - description: "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + description: "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." type: "string" values: - description: "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + description: "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: description: "A list of node selector requirements by node's fields." items: - description: "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values." properties: key: description: "The label key that the selector applies to." type: "string" operator: - description: "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + description: "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." type: "string" values: - description: "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + description: "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" + x-kubernetes-map-type: "atomic" weight: description: "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100." format: "int32" @@ -748,67 +748,75 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: - description: "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node." + description: "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node." properties: nodeSelectorTerms: description: "Required. A list of node selector terms. The terms are ORed." items: - description: "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm." + description: "A null or empty node selector term matches no objects. The requirements of\nthem are ANDed.\nThe TopologySelectorTerm type implements a subset of the NodeSelectorTerm." properties: matchExpressions: description: "A list of node selector requirements by node's labels." items: - description: "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values." properties: key: description: "The label key that the selector applies to." type: "string" operator: - description: "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + description: "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." type: "string" values: - description: "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + description: "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: description: "A list of node selector requirements by node's fields." items: - description: "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values." properties: key: description: "The label key that the selector applies to." type: "string" operator: - description: "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + description: "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." type: "string" values: - description: "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + description: "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" + x-kubernetes-map-type: "atomic" type: "array" + x-kubernetes-list-type: "atomic" required: - "nodeSelectorTerms" type: "object" + x-kubernetes-map-type: "atomic" type: "object" podAffinity: description: "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))." properties: preferredDuringSchedulingIgnoredDuringExecution: - description: "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred." + description: "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred." items: description: "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)" properties: @@ -816,78 +824,97 @@ spec: description: "Required. A pod affinity term, associated with the corresponding weight." properties: labelSelector: - description: "A label query over a set of resources, in this case pods." + description: "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" + matchLabelKeys: + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" + mismatchLabelKeys: + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" namespaceSelector: - description: "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces." + description: "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" namespaces: - description: "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." + description: "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: - description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed." + description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" required: - "topologyKey" type: "object" weight: - description: "weight associated with matching the corresponding podAffinityTerm, in the range 1-100." + description: "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100." format: "int32" type: "integer" required: @@ -895,89 +922,110 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: - description: "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied." + description: "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied." items: - description: "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running" + description: "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running" properties: labelSelector: - description: "A label query over a set of resources, in this case pods." + description: "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" + matchLabelKeys: + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" + mismatchLabelKeys: + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" namespaceSelector: - description: "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces." + description: "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" namespaces: - description: "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." + description: "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: - description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed." + description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" required: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" podAntiAffinity: description: "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))." properties: preferredDuringSchedulingIgnoredDuringExecution: - description: "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred." + description: "The scheduler will prefer to schedule pods to nodes that satisfy\nthe anti-affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling anti-affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred." items: description: "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)" properties: @@ -985,78 +1033,97 @@ spec: description: "Required. A pod affinity term, associated with the corresponding weight." properties: labelSelector: - description: "A label query over a set of resources, in this case pods." + description: "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" + matchLabelKeys: + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" + mismatchLabelKeys: + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" namespaceSelector: - description: "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces." + description: "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" namespaces: - description: "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." + description: "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: - description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed." + description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" required: - "topologyKey" type: "object" weight: - description: "weight associated with matching the corresponding podAffinityTerm, in the range 1-100." + description: "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100." format: "int32" type: "integer" required: @@ -1064,98 +1131,120 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: - description: "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied." + description: "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied." items: - description: "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running" + description: "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running" properties: labelSelector: - description: "A label query over a set of resources, in this case pods." + description: "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" + matchLabelKeys: + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" + mismatchLabelKeys: + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" namespaceSelector: - description: "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces." + description: "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" namespaces: - description: "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." + description: "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: - description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed." + description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" required: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" type: "object" architecture: description: "Specifies the architecture of the vm guest you are attempting to run. Defaults to the compiled architecture of the KubeVirt components" type: "string" dnsConfig: - description: "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy." + description: "Specifies the DNS parameters of a pod.\nParameters specified here will be merged to the generated DNS\nconfiguration based on DNSPolicy." properties: nameservers: - description: "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed." + description: "A list of DNS name server IP addresses.\nThis will be appended to the base nameservers generated from DNSPolicy.\nDuplicated nameservers will be removed." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" options: - description: "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy." + description: "A list of DNS resolver options.\nThis will be merged with the base options generated from DNSPolicy.\nDuplicated entries will be removed. Resolution options given in Options\nwill override those that appear in the base DNSPolicy." items: description: "PodDNSConfigOption defines DNS resolver options of a pod." properties: @@ -1166,14 +1255,16 @@ spec: type: "string" type: "object" type: "array" + x-kubernetes-list-type: "atomic" searches: - description: "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed." + description: "A list of DNS search domains for host-name lookup.\nThis will be appended to the base search paths generated from DNSPolicy.\nDuplicated search paths will be removed." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" dnsPolicy: - description: "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'." + description: "Set DNS policy for the pod.\nDefaults to \"ClusterFirst\".\nValid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'.\nDNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy.\nTo have DNS options set along with hostNetwork, you have to specify DNS policy\nexplicitly to 'ClusterFirstWithHostNet'." type: "string" domain: description: "Specification of the desired behavior of the VirtualMachineInstance on the host." @@ -1202,44 +1293,44 @@ spec: description: "HPET (High Precision Event Timer) - multiple timers with periodic interrupts." properties: present: - description: "Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true." + description: "Enabled set to false makes sure that the machine type or a preset can't add the timer.\nDefaults to true." type: "boolean" tickPolicy: - description: "TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest. One of \"delay\", \"catchup\", \"merge\", \"discard\"." + description: "TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest.\nOne of \"delay\", \"catchup\", \"merge\", \"discard\"." type: "string" type: "object" hyperv: description: "Hyperv (Hypervclock) - lets guests read the host’s wall clock time (paravirtualized). For windows guests." properties: present: - description: "Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true." + description: "Enabled set to false makes sure that the machine type or a preset can't add the timer.\nDefaults to true." type: "boolean" type: "object" kvm: description: "KVM \t(KVM clock) - lets guests read the host’s wall clock time (paravirtualized). For linux guests." properties: present: - description: "Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true." + description: "Enabled set to false makes sure that the machine type or a preset can't add the timer.\nDefaults to true." type: "boolean" type: "object" pit: description: "PIT (Programmable Interval Timer) - a timer with periodic interrupts." properties: present: - description: "Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true." + description: "Enabled set to false makes sure that the machine type or a preset can't add the timer.\nDefaults to true." type: "boolean" tickPolicy: - description: "TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest. One of \"delay\", \"catchup\", \"discard\"." + description: "TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest.\nOne of \"delay\", \"catchup\", \"discard\"." type: "string" type: "object" rtc: description: "RTC (Real Time Clock) - a continuously running timer with periodic interrupts." properties: present: - description: "Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true." + description: "Enabled set to false makes sure that the machine type or a preset can't add the timer.\nDefaults to true." type: "boolean" tickPolicy: - description: "TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest. One of \"delay\", \"catchup\"." + description: "TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest.\nOne of \"delay\", \"catchup\"." type: "string" track: description: "Track the guest or the wall clock." @@ -1247,13 +1338,13 @@ spec: type: "object" type: "object" timezone: - description: "Timezone sets the guest clock to the specified timezone. Zone name follows the TZ environment variable format (e.g. 'America/New_York')." + description: "Timezone sets the guest clock to the specified timezone.\nZone name follows the TZ environment variable format (e.g. 'America/New_York')." type: "string" utc: - description: "UTC sets the guest clock to UTC on each boot. If an offset is specified, guest changes to the clock will be kept during reboots and are not reset." + description: "UTC sets the guest clock to UTC on each boot. If an offset is specified,\nguest changes to the clock will be kept during reboots and are not reset." properties: offsetSeconds: - description: "OffsetSeconds specifies an offset in seconds, relative to UTC. If set, guest changes to the clock will be kept during reboots and not reset." + description: "OffsetSeconds specifies an offset in seconds, relative to UTC. If set,\nguest changes to the clock will be kept during reboots and not reset." type: "integer" type: "object" type: "object" @@ -1262,11 +1353,11 @@ spec: description: "CPU allow specified the detailed CPU topology inside the vmi." properties: cores: - description: "Cores specifies the number of cores inside the vmi. Must be a value greater or equal 1." + description: "Cores specifies the number of cores inside the vmi.\nMust be a value greater or equal 1." format: "int32" type: "integer" dedicatedCpuPlacement: - description: "DedicatedCPUPlacement requests the scheduler to place the VirtualMachineInstance on a node with enough dedicated pCPUs and pin the vCPUs to it." + description: "DedicatedCPUPlacement requests the scheduler to place the VirtualMachineInstance on a node\nwith enough dedicated pCPUs and pin the vCPUs to it." type: "boolean" features: description: "Features specifies the CPU features list inside the VMI." @@ -1277,42 +1368,42 @@ spec: description: "Name of the CPU feature" type: "string" policy: - description: "Policy is the CPU feature attribute which can have the following attributes: force - The virtual CPU will claim the feature is supported regardless of it being supported by host CPU. require - Guest creation will fail unless the feature is supported by the host CPU or the hypervisor is able to emulate it. optional - The feature will be supported by virtual CPU if and only if it is supported by host CPU. disable - The feature will not be supported by virtual CPU. forbid - Guest creation will fail if the feature is supported by host CPU. Defaults to require" + description: "Policy is the CPU feature attribute which can have the following attributes:\nforce - The virtual CPU will claim the feature is supported regardless of it being supported by host CPU.\nrequire - Guest creation will fail unless the feature is supported by the host CPU or the hypervisor is able to emulate it.\noptional - The feature will be supported by virtual CPU if and only if it is supported by host CPU.\ndisable - The feature will not be supported by virtual CPU.\nforbid - Guest creation will fail if the feature is supported by host CPU.\nDefaults to require" type: "string" required: - "name" type: "object" type: "array" isolateEmulatorThread: - description: "IsolateEmulatorThread requests one more dedicated pCPU to be allocated for the VMI to place the emulator thread on it." + description: "IsolateEmulatorThread requests one more dedicated pCPU to be allocated for the VMI to place\nthe emulator thread on it." type: "boolean" maxSockets: - description: "MaxSockets specifies the maximum amount of sockets that can be hotplugged" + description: "MaxSockets specifies the maximum amount of sockets that can\nbe hotplugged" format: "int32" type: "integer" model: - description: "Model specifies the CPU model inside the VMI. List of available models https://github.com/libvirt/libvirt/tree/master/src/cpu_map. It is possible to specify special cases like \"host-passthrough\" to get the same CPU as the node and \"host-model\" to get CPU closest to the node one. Defaults to host-model." + description: "Model specifies the CPU model inside the VMI.\nList of available models https://github.com/libvirt/libvirt/tree/master/src/cpu_map.\nIt is possible to specify special cases like \"host-passthrough\" to get the same CPU as the node\nand \"host-model\" to get CPU closest to the node one.\nDefaults to host-model." type: "string" numa: description: "NUMA allows specifying settings for the guest NUMA topology" properties: guestMappingPassthrough: - description: "GuestMappingPassthrough will create an efficient guest topology based on host CPUs exclusively assigned to a pod. The created topology ensures that memory and CPUs on the virtual numa nodes never cross boundaries of host numa nodes." + description: "GuestMappingPassthrough will create an efficient guest topology based on host CPUs exclusively assigned to a pod.\nThe created topology ensures that memory and CPUs on the virtual numa nodes never cross boundaries of host numa nodes." type: "object" type: "object" realtime: description: "Realtime instructs the virt-launcher to tune the VMI for lower latency, optional for real time workloads" properties: mask: - description: "Mask defines the vcpu mask expression that defines which vcpus are used for realtime. Format matches libvirt's expressions. Example: \"0-3,^1\",\"0,2,3\",\"2-3\"" + description: "Mask defines the vcpu mask expression that defines which vcpus are used for realtime. Format matches libvirt's expressions.\nExample: \"0-3,^1\",\"0,2,3\",\"2-3\"" type: "string" type: "object" sockets: - description: "Sockets specifies the number of sockets inside the vmi. Must be a value greater or equal 1." + description: "Sockets specifies the number of sockets inside the vmi.\nMust be a value greater or equal 1." format: "int32" type: "integer" threads: - description: "Threads specifies the number of threads inside the vmi. Must be a value greater or equal 1." + description: "Threads specifies the number of threads inside the vmi.\nMust be a value greater or equal 1." format: "int32" type: "integer" type: "object" @@ -1320,25 +1411,25 @@ spec: description: "Devices allows adding disks, network interfaces, and others" properties: autoattachGraphicsDevice: - description: "Whether to attach the default graphics device or not. VNC will not be available if set to false. Defaults to true." + description: "Whether to attach the default graphics device or not.\nVNC will not be available if set to false. Defaults to true." type: "boolean" autoattachInputDevice: - description: "Whether to attach an Input Device. Defaults to false." + description: "Whether to attach an Input Device.\nDefaults to false." type: "boolean" autoattachMemBalloon: - description: "Whether to attach the Memory balloon device with default period. Period can be adjusted in virt-config. Defaults to true." + description: "Whether to attach the Memory balloon device with default period.\nPeriod can be adjusted in virt-config.\nDefaults to true." type: "boolean" autoattachPodInterface: description: "Whether to attach a pod network interface. Defaults to true." type: "boolean" autoattachSerialConsole: - description: "Whether to attach the default serial console or not. Serial console access will not be available if set to false. Defaults to true." + description: "Whether to attach the default virtio-serial console or not.\nSerial console access will not be available if set to false. Defaults to true." type: "boolean" autoattachVSOCK: - description: "Whether to attach the VSOCK CID to the VM or not. VSOCK access will be available if set to true. Defaults to false." + description: "Whether to attach the VSOCK CID to the VM or not.\nVSOCK access will be available if set to true. Defaults to false." type: "boolean" blockMultiQueue: - description: "Whether or not to enable virtio multi-queue for block devices. Defaults to false." + description: "Whether or not to enable virtio multi-queue for block devices.\nDefaults to false." type: "boolean" clientPassthrough: description: "To configure and access client devices such as redirecting USB" @@ -1368,56 +1459,59 @@ spec: description: "Represents if a feature is enabled or disabled." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" type: "object" bootOrder: - description: "BootOrder is an integer value > 0, used to determine ordering of boot devices. Lower values take precedence. Each disk or interface that has a boot order must have a unique value. Disks without a boot order are not tried if a disk with a boot order exists." + description: "BootOrder is an integer value > 0, used to determine ordering of boot devices.\nLower values take precedence.\nEach disk or interface that has a boot order must have a unique value.\nDisks without a boot order are not tried if a disk with a boot order exists." type: "integer" cache: - description: "Cache specifies which kvm disk cache mode should be used. Supported values are: CacheNone, CacheWriteThrough." + description: "Cache specifies which kvm disk cache mode should be used.\nSupported values are: CacheNone, CacheWriteThrough." type: "string" cdrom: description: "Attach a volume as a cdrom to the vmi." properties: bus: - description: "Bus indicates the type of disk device to emulate. supported values: virtio, sata, scsi." + description: "Bus indicates the type of disk device to emulate.\nsupported values: virtio, sata, scsi." type: "string" readonly: - description: "ReadOnly. Defaults to true." + description: "ReadOnly.\nDefaults to true." type: "boolean" tray: - description: "Tray indicates if the tray of the device is open or closed. Allowed values are \"open\" and \"closed\". Defaults to closed." + description: "Tray indicates if the tray of the device is open or closed.\nAllowed values are \"open\" and \"closed\".\nDefaults to closed." type: "string" type: "object" dedicatedIOThread: - description: "dedicatedIOThread indicates this disk should have an exclusive IO Thread. Enabling this implies useIOThreads = true. Defaults to false." + description: "dedicatedIOThread indicates this disk should have an exclusive IO Thread.\nEnabling this implies useIOThreads = true.\nDefaults to false." type: "boolean" disk: description: "Attach a volume as a disk to the vmi." properties: bus: - description: "Bus indicates the type of disk device to emulate. supported values: virtio, sata, scsi, usb." + description: "Bus indicates the type of disk device to emulate.\nsupported values: virtio, sata, scsi, usb." type: "string" pciAddress: description: "If specified, the virtual disk will be placed on the guests pci address with the specified PCI address. For example: 0000:81:01.10" type: "string" readonly: - description: "ReadOnly. Defaults to false." + description: "ReadOnly.\nDefaults to false." type: "boolean" type: "object" + errorPolicy: + description: "If specified, it can change the default error policy (stop) for the disk" + type: "string" io: - description: "IO specifies which QEMU disk IO mode should be used. Supported values are: native, default, threads." + description: "IO specifies which QEMU disk IO mode should be used.\nSupported values are: native, default, threads." type: "string" lun: description: "Attach a volume as a LUN to the vmi." properties: bus: - description: "Bus indicates the type of disk device to emulate. supported values: virtio, sata, scsi." + description: "Bus indicates the type of disk device to emulate.\nsupported values: virtio, sata, scsi." type: "string" readonly: - description: "ReadOnly. Defaults to false." + description: "ReadOnly.\nDefaults to false." type: "boolean" reservation: description: "Reservation indicates if the disk needs to support the persistent reservation for the SCSI disk" @@ -1439,6 +1533,9 @@ spec: - "name" type: "object" type: "array" + downwardMetrics: + description: "DownwardMetrics creates a virtio serials for exposing the downward metrics to the vmi." + type: "object" filesystems: description: "Filesystems describes filesystem which is connected to the vmi." items: @@ -1472,13 +1569,13 @@ spec: display: properties: enabled: - description: "Enabled determines if a display addapter backed by a vGPU should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if a display addapter backed by a vGPU should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" ramFB: - description: "Enables a boot framebuffer, until the guest OS loads a real GPU driver Defaults to true." + description: "Enables a boot framebuffer, until the guest OS loads a real GPU driver\nDefaults to true." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" type: "object" @@ -1512,13 +1609,13 @@ spec: items: properties: bus: - description: "Bus indicates the bus of input device to emulate. Supported values: virtio, usb." + description: "Bus indicates the bus of input device to emulate.\nSupported values: virtio, usb." type: "string" name: description: "Name is the device name" type: "string" type: - description: "Type indicated the type of input device. Supported values: tablet." + description: "Type indicated the type of input device.\nSupported values: tablet." type: "string" required: - "name" @@ -1530,10 +1627,19 @@ spec: items: properties: acpiIndex: - description: "If specified, the ACPI index is used to provide network interface device naming, that is stable across changes in PCI addresses assigned to the device. This value is required to be unique across all devices and be between 1 and (16*1024-1)." + description: "If specified, the ACPI index is used to provide network interface device naming, that is stable across changes\nin PCI addresses assigned to the device.\nThis value is required to be unique across all devices and be between 1 and (16*1024-1)." type: "integer" + binding: + description: "Binding specifies the binding plugin that will be used to connect the interface to the guest.\nIt provides an alternative to InterfaceBindingMethod.\nversion: 1alphav1" + properties: + name: + description: "Name references to the binding name as denined in the kubevirt CR.\nversion: 1alphav1" + type: "string" + required: + - "name" + type: "object" bootOrder: - description: "BootOrder is an integer value > 0, used to determine ordering of boot devices. Lower values take precedence. Each interface or disk that has a boot order must have a unique value. Interfaces without a boot order are not tried." + description: "BootOrder is an integer value > 0, used to determine ordering of boot devices.\nLower values take precedence.\nEach interface or disk that has a boot order must have a unique value.\nInterfaces without a boot order are not tried." type: "integer" bridge: description: "InterfaceBridge connects to a given network via a linux bridge." @@ -1555,10 +1661,10 @@ spec: description: "DHCPExtraOptions defines Extra DHCP options for a VM." properties: option: - description: "Option is an Integer value from 224-254 Required." + description: "Option is an Integer value from 224-254\nRequired." type: "integer" value: - description: "Value is a String value for the Option provided Required." + description: "Value is a String value for the Option provided\nRequired." type: "string" required: - "option" @@ -1573,19 +1679,19 @@ spec: description: "Interface MAC address. For example: de:ad:00:00:be:af or DE-AD-00-00-BE-AF." type: "string" macvtap: - description: "InterfaceMacvtap connects to a given network by extending the Kubernetes node's L2 networks via a macvtap interface." + description: "Deprecated, please refer to Kubevirt user guide for alternatives." type: "object" masquerade: description: "InterfaceMasquerade connects to a given network using netfilter rules to nat the traffic." type: "object" model: - description: "Interface model. One of: e1000, e1000e, ne2k_pci, pcnet, rtl8139, virtio. Defaults to virtio. TODO:(ihar) switch to enums once opengen-api supports them. See: https://github.com/kubernetes/kube-openapi/issues/51" + description: "Interface model.\nOne of: e1000, e1000e, ne2k_pci, pcnet, rtl8139, virtio.\nDefaults to virtio.\nTODO:(ihar) switch to enums once opengen-api supports them. See: https://github.com/kubernetes/kube-openapi/issues/51" type: "string" name: - description: "Logical name of the interface as well as a reference to the associated networks. Must match the Name of a Network." + description: "Logical name of the interface as well as a reference to the associated networks.\nMust match the Name of a Network." type: "string" passt: - description: "InterfacePasst connects to a given network." + description: "Deprecated, please refer to Kubevirt user guide for alternatives." type: "object" pciAddress: description: "If specified, the virtual network interface will be placed on the guests pci address with the specified PCI address. For example: 0000:81:01.10" @@ -1593,17 +1699,17 @@ spec: ports: description: "List of ports to be forwarded to the virtual machine." items: - description: "Port represents a port to expose from the virtual machine. Default protocol TCP. The port field is mandatory" + description: "Port represents a port to expose from the virtual machine.\nDefault protocol TCP.\nThe port field is mandatory" properties: name: - description: "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services." + description: "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each\nnamed port in a pod must have a unique name. Name for the port that can be\nreferred to by services." type: "string" port: - description: "Number of port to expose for the virtual machine. This must be a valid port number, 0 < x < 65536." + description: "Number of port to expose for the virtual machine.\nThis must be a valid port number, 0 < x < 65536." format: "int32" type: "integer" protocol: - description: "Protocol for port. Must be UDP or TCP. Defaults to \"TCP\"." + description: "Protocol for port. Must be UDP or TCP.\nDefaults to \"TCP\"." type: "string" required: - "port" @@ -1616,7 +1722,7 @@ spec: description: "InterfaceSRIOV connects to a given network by passing-through an SR-IOV PCI device via vfio." type: "object" state: - description: "State represents the requested operational state of the interface. The (only) value supported is `absent`, expressing a request to remove the interface." + description: "State represents the requested operational state of the interface.\nThe (only) value supported is `absent`, expressing a request to remove the interface." type: "string" tag: description: "If specified, the virtual network interface address and its tag will be provided to the guest via config drive" @@ -1625,6 +1731,9 @@ spec: - "name" type: "object" type: "array" + logSerialConsole: + description: "Whether to log the auto-attached default serial console or not.\nSerial console logs will be collect to a file and then streamed from a named `guest-console-log`.\nNot relevant if autoattachSerialConsole is disabled.\nDefaults to cluster wide setting on VirtualMachineOptions." + type: "boolean" networkInterfaceMultiqueue: description: "If specified, virtual network interfaces configured with a virtio bus will also enable the vhost multiqueue feature for network devices. The number of queues created depends on additional factors of the VirtualMachineInstance, like the number of guest CPUs." type: "boolean" @@ -1635,7 +1744,7 @@ spec: description: "Whether to emulate a sound device." properties: model: - description: "We only support ich9 or ac97. If SoundDevice is not set: No sound card is emulated. If SoundDevice is set but Model is not: ich9" + description: "We only support ich9 or ac97.\nIf SoundDevice is not set: No sound card is emulated.\nIf SoundDevice is set but Model is not: ich9" type: "string" name: description: "User's defined name for this sound device" @@ -1647,11 +1756,11 @@ spec: description: "Whether to emulate a TPM device." properties: persistent: - description: "Persistent indicates the state of the TPM device should be kept accross reboots Defaults to false" + description: "Persistent indicates the state of the TPM device should be kept accross reboots\nDefaults to false" type: "boolean" type: "object" useVirtioTransitional: - description: "Fall back to legacy virtio 0.9 support if virtio bus is selected on devices. This is helpful for old machines like CentOS6 or RHEL6 which do not understand virtio_non_transitional (virtio 1.0)." + description: "Fall back to legacy virtio 0.9 support if virtio bus is selected on devices.\nThis is helpful for old machines like CentOS6 or RHEL6 which\ndo not understand virtio_non_transitional (virtio 1.0)." type: "boolean" watchdog: description: "Watchdog describes a watchdog device which can be added to the vmi." @@ -1660,7 +1769,7 @@ spec: description: "i6300esb watchdog device." properties: action: - description: "The action to take. Valid values are poweroff, reset, shutdown. Defaults to reset." + description: "The action to take. Valid values are poweroff, reset, shutdown.\nDefaults to reset." type: "string" type: "object" name: @@ -1674,134 +1783,134 @@ spec: description: "Features like acpi, apic, hyperv, smm." properties: acpi: - description: "ACPI enables/disables ACPI inside the guest. Defaults to enabled." + description: "ACPI enables/disables ACPI inside the guest.\nDefaults to enabled." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" apic: description: "Defaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" endOfInterrupt: - description: "EndOfInterrupt enables the end of interrupt notification in the guest. Defaults to false." + description: "EndOfInterrupt enables the end of interrupt notification in the guest.\nDefaults to false." type: "boolean" type: "object" hyperv: description: "Defaults to the machine type setting." properties: evmcs: - description: "EVMCS Speeds up L2 vmexits, but disables other virtualization features. Requires vapic. Defaults to the machine type setting." + description: "EVMCS Speeds up L2 vmexits, but disables other virtualization features. Requires vapic.\nDefaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" frequencies: - description: "Frequencies improves the TSC clock source handling for Hyper-V on KVM. Defaults to the machine type setting." + description: "Frequencies improves the TSC clock source handling for Hyper-V on KVM.\nDefaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" ipi: - description: "IPI improves performances in overcommited environments. Requires vpindex. Defaults to the machine type setting." + description: "IPI improves performances in overcommited environments. Requires vpindex.\nDefaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" reenlightenment: - description: "Reenlightenment enables the notifications on TSC frequency changes. Defaults to the machine type setting." + description: "Reenlightenment enables the notifications on TSC frequency changes.\nDefaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" relaxed: - description: "Relaxed instructs the guest OS to disable watchdog timeouts. Defaults to the machine type setting." + description: "Relaxed instructs the guest OS to disable watchdog timeouts.\nDefaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" reset: - description: "Reset enables Hyperv reboot/reset for the vmi. Requires synic. Defaults to the machine type setting." + description: "Reset enables Hyperv reboot/reset for the vmi. Requires synic.\nDefaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" runtime: - description: "Runtime improves the time accounting to improve scheduling in the guest. Defaults to the machine type setting." + description: "Runtime improves the time accounting to improve scheduling in the guest.\nDefaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" spinlocks: description: "Spinlocks allows to configure the spinlock retry attempts." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" spinlocks: - description: "Retries indicates the number of retries. Must be a value greater or equal 4096. Defaults to 4096." + description: "Retries indicates the number of retries.\nMust be a value greater or equal 4096.\nDefaults to 4096." format: "int32" type: "integer" type: "object" synic: - description: "SyNIC enables the Synthetic Interrupt Controller. Defaults to the machine type setting." + description: "SyNIC enables the Synthetic Interrupt Controller.\nDefaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" synictimer: - description: "SyNICTimer enables Synthetic Interrupt Controller Timers, reducing CPU load. Defaults to the machine type setting." + description: "SyNICTimer enables Synthetic Interrupt Controller Timers, reducing CPU load.\nDefaults to the machine type setting." properties: direct: description: "Represents if a feature is enabled or disabled." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" enabled: type: "boolean" type: "object" tlbflush: - description: "TLBFlush improves performances in overcommited environments. Requires vpindex. Defaults to the machine type setting." + description: "TLBFlush improves performances in overcommited environments. Requires vpindex.\nDefaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" vapic: - description: "VAPIC improves the paravirtualized handling of interrupts. Defaults to the machine type setting." + description: "VAPIC improves the paravirtualized handling of interrupts.\nDefaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" vendorid: - description: "VendorID allows setting the hypervisor vendor id. Defaults to the machine type setting." + description: "VendorID allows setting the hypervisor vendor id.\nDefaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" vendorid: - description: "VendorID sets the hypervisor vendor id, visible to the vmi. String up to twelve characters." + description: "VendorID sets the hypervisor vendor id, visible to the vmi.\nString up to twelve characters." type: "string" type: "object" vpindex: - description: "VPIndex enables the Virtual Processor Index to help windows identifying virtual processors. Defaults to the machine type setting." + description: "VPIndex enables the Virtual Processor Index to help windows identifying virtual processors.\nDefaults to the machine type setting." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" type: "object" @@ -1809,27 +1918,34 @@ spec: description: "Configure how KVM presence is exposed to the guest." properties: hidden: - description: "Hide the KVM hypervisor from standard MSR based discovery. Defaults to false" + description: "Hide the KVM hypervisor from standard MSR based discovery.\nDefaults to false" type: "boolean" type: "object" pvspinlock: - description: "Notify the guest that the host supports paravirtual spinlocks. For older kernels this feature should be explicitly disabled." + description: "Notify the guest that the host supports paravirtual spinlocks.\nFor older kernels this feature should be explicitly disabled." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" smm: - description: "SMM enables/disables System Management Mode. TSEG not yet implemented." + description: "SMM enables/disables System Management Mode.\nTSEG not yet implemented." properties: enabled: - description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true." + description: "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true." type: "boolean" type: "object" type: "object" firmware: description: "Firmware." properties: + acpi: + description: "Information that can be set in the ACPI table" + properties: + slicNameRef: + description: "SlicNameRef should match the volume name of a secret object. The data in the secret should\nbe a binary blob that follows the ACPI SLIC standard, see:\nhttps://learn.microsoft.com/en-us/previous-versions/windows/hardware/design/dn653305(v=vs.85)" + type: "string" + type: "object" bootloader: description: "Settings to control the bootloader that is used." properties: @@ -1843,8 +1959,11 @@ spec: efi: description: "If set, EFI will be used instead of BIOS." properties: + persistent: + description: "If set to true, Persistent will persist the EFI NVRAM across reboots.\nDefaults to false" + type: "boolean" secureBoot: - description: "If set, SecureBoot will be enabled and the OVMF roms will be swapped for SecureBoot-enabled ones. Requires SMM to be enabled. Defaults to true" + description: "If set, SecureBoot will be enabled and the OVMF roms will be swapped for\nSecureBoot-enabled ones.\nRequires SMM to be enabled.\nDefaults to true" type: "boolean" type: "object" type: "object" @@ -1858,7 +1977,7 @@ spec: description: "Image that contains initrd / kernel files." type: "string" imagePullPolicy: - description: "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images" + description: "Image pull policy.\nOne of Always, Never, IfNotPresent.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/containers/images#updating-images" type: "string" imagePullSecret: description: "ImagePullSecret is the name of the Docker registry secret required to pull the image. The secret must already exist." @@ -1880,11 +1999,11 @@ spec: description: "The system-serial-number in SMBIOS" type: "string" uuid: - description: "UUID reported by the vmi bios. Defaults to a random generated uid." + description: "UUID reported by the vmi bios.\nDefaults to a random generated uid." type: "string" type: "object" ioThreadsPolicy: - description: "Controls whether or not disks will share IOThreads. Omitting IOThreadsPolicy disables use of IOThreads. One of: shared, auto" + description: "Controls whether or not disks will share IOThreads.\nOmitting IOThreadsPolicy disables use of IOThreads.\nOne of: shared, auto" type: "string" launchSecurity: description: "Launch Security setting of the vmi." @@ -1892,13 +2011,22 @@ spec: sev: description: "AMD Secure Encrypted Virtualization (SEV)." properties: + attestation: + description: "If specified, run the attestation process for a vmi." + type: "object" + dhCert: + description: "Base64 encoded guest owner's Diffie-Hellman key." + type: "string" policy: - description: "Guest policy flags as defined in AMD SEV API specification. Note: due to security reasons it is not allowed to enable guest debugging. Therefore NoDebug flag is not exposed to users and is always true." + description: "Guest policy flags as defined in AMD SEV API specification.\nNote: due to security reasons it is not allowed to enable guest debugging. Therefore NoDebug flag is not exposed to users and is always true." properties: encryptedState: - description: "SEV-ES is required. Defaults to false." + description: "SEV-ES is required.\nDefaults to false." type: "boolean" type: "object" + session: + description: "Base64 encoded session blob." + type: "string" type: "object" type: "object" machine: @@ -1915,7 +2043,7 @@ spec: anyOf: - type: "integer" - type: "string" - description: "Guest allows to specifying the amount of memory which is visible inside the Guest OS. The Guest must lie between Requests and Limits from the resources section. Defaults to the requested memory in the resources section if not specified." + description: "Guest allows to specifying the amount of memory which is visible inside the Guest OS.\nThe Guest must lie between Requests and Limits from the resources section.\nDefaults to the requested memory in the resources section if not specified." pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" x-kubernetes-int-or-string: true hugepages: @@ -1925,6 +2053,13 @@ spec: description: "PageSize specifies the hugepage size, for x86_64 architecture valid values are 1Gi and 2Mi." type: "string" type: "object" + maxGuest: + anyOf: + - type: "integer" + - type: "string" + description: "MaxGuest allows to specify the maximum amount of memory which is visible inside the Guest OS.\nThe delta between MaxGuest and Guest is the amount of memory that can be hot(un)plugged." + pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" + x-kubernetes-int-or-string: true type: "object" resources: description: "Resources describes the Compute Resources required by this vmi." @@ -1936,10 +2071,10 @@ spec: - type: "string" pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" x-kubernetes-int-or-string: true - description: "Limits describes the maximum amount of compute resources allowed. Valid resource keys are \"memory\" and \"cpu\"." + description: "Limits describes the maximum amount of compute resources allowed.\nValid resource keys are \"memory\" and \"cpu\"." type: "object" overcommitGuestOverhead: - description: "Don't ask the scheduler to take the guest-management overhead into account. Instead put the overhead only into the container's memory limit. This can lead to crashes if all memory is in use on a node. Defaults to false." + description: "Don't ask the scheduler to take the guest-management overhead into account. Instead\nput the overhead only into the container's memory limit. This can lead to crashes if\nall memory is in use on a node. Defaults to false." type: "boolean" requests: additionalProperties: @@ -1948,32 +2083,33 @@ spec: - type: "string" pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" x-kubernetes-int-or-string: true - description: "Requests is a description of the initial vmi resources. Valid resource keys are \"memory\" and \"cpu\"." + description: "Requests is a description of the initial vmi resources.\nValid resource keys are \"memory\" and \"cpu\"." type: "object" type: "object" required: - "devices" type: "object" evictionStrategy: - description: "EvictionStrategy can be set to \"LiveMigrate\" if the VirtualMachineInstance should be migrated instead of shut-off in case of a node drain." + description: "EvictionStrategy describes the strategy to follow when a node drain occurs.\nThe possible options are:\n- \"None\": No action will be taken, according to the specified 'RunStrategy' the VirtualMachine will be restarted or shutdown.\n- \"LiveMigrate\": the VirtualMachineInstance will be migrated instead of being shutdown.\n- \"LiveMigrateIfPossible\": the same as \"LiveMigrate\" but only if the VirtualMachine is Live-Migratable, otherwise it will behave as \"None\".\n- \"External\": the VirtualMachineInstance will be protected by a PDB and `vmi.Status.EvacuationNodeName` will be set on eviction. This is mainly useful for cluster-api-provider-kubevirt (capk) which needs a way for VMI's to be blocked from eviction, yet signal capk that eviction has been called on the VMI so the capk controller can handle tearing the VMI down. Details can be found in the commit description https://github.com/kubevirt/kubevirt/commit/c1d77face705c8b126696bac9a3ee3825f27f1fa." type: "string" hostname: - description: "Specifies the hostname of the vmi If not specified, the hostname will be set to the name of the vmi, if dhcp or cloud-init is configured properly." + description: "Specifies the hostname of the vmi\nIf not specified, the hostname will be set to the name of the vmi, if dhcp or cloud-init is configured properly." type: "string" livenessProbe: - description: "Periodic probe of VirtualMachineInstance liveness. VirtualmachineInstances will be stopped if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + description: "Periodic probe of VirtualMachineInstance liveness.\nVirtualmachineInstances will be stopped if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" properties: exec: - description: "One and only one of the following should be specified. Exec specifies the action to take, it will be executed on the guest through the qemu-guest-agent. If the guest agent is not available, this probe will fail." + description: "One and only one of the following should be specified.\nExec specifies the action to take, it will be executed on the guest through the qemu-guest-agent.\nIf the guest agent is not available, this probe will fail." properties: command: - description: "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy." + description: "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: - description: "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." + description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." format: "int32" type: "integer" guestAgentPing: @@ -1983,7 +2119,7 @@ spec: description: "HTTPGet specifies the http request to perform." properties: host: - description: "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead." + description: "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead." type: "string" httpHeaders: description: "Custom headers to set in the request. HTTP allows repeated headers." @@ -1991,7 +2127,7 @@ spec: description: "HTTPHeader describes a custom header to be used in HTTP probes" properties: name: - description: "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header." + description: "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header." type: "string" value: description: "The header field value" @@ -2001,6 +2137,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2008,28 +2145,28 @@ spec: anyOf: - type: "integer" - type: "string" - description: "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME." + description: "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME." x-kubernetes-int-or-string: true scheme: - description: "Scheme to use for connecting to the host. Defaults to HTTP." + description: "Scheme to use for connecting to the host.\nDefaults to HTTP." type: "string" required: - "port" type: "object" initialDelaySeconds: - description: "Number of seconds after the VirtualMachineInstance has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + description: "Number of seconds after the VirtualMachineInstance has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" format: "int32" type: "integer" periodSeconds: - description: "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." + description: "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1." format: "int32" type: "integer" successThreshold: - description: "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." + description: "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness. Minimum value is 1." format: "int32" type: "integer" tcpSocket: - description: "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported TODO: implement a realistic TCP lifecycle hook" + description: "TCPSocket specifies an action involving a TCP port.\nTCP hooks not yet supported\nTODO: implement a realistic TCP lifecycle hook" properties: host: description: "Optional: Host name to connect to, defaults to the pod IP." @@ -2038,13 +2175,13 @@ spec: anyOf: - type: "integer" - type: "string" - description: "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME." + description: "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME." x-kubernetes-int-or-string: true required: - "port" type: "object" timeoutSeconds: - description: "Number of seconds after which the probe times out. For exec probes the timeout fails the probe but does not terminate the command running on the guest. This means a blocking command can result in an increasing load on the guest. A small buffer will be added to the resulting workload exec probe to compensate for delays caused by the qemu guest exec mechanism. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + description: "Number of seconds after which the probe times out.\nFor exec probes the timeout fails the probe but does not terminate the command running on the guest.\nThis means a blocking command can result in an increasing load on the guest.\nA small buffer will be added to the resulting workload exec probe to compensate for delays\ncaused by the qemu guest exec mechanism.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" format: "int32" type: "integer" type: "object" @@ -2057,25 +2194,25 @@ spec: description: "Represents the multus cni network." properties: default: - description: "Select the default network and add it to the multus-cni.io/default-network annotation." + description: "Select the default network and add it to the\nmultus-cni.io/default-network annotation." type: "boolean" networkName: - description: "References to a NetworkAttachmentDefinition CRD object. Format: , /. If namespace is not specified, VMI namespace is assumed." + description: "References to a NetworkAttachmentDefinition CRD object. Format:\n, /. If namespace is not\nspecified, VMI namespace is assumed." type: "string" required: - "networkName" type: "object" name: - description: "Network name. Must be a DNS_LABEL and unique within the vm. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + description: "Network name.\nMust be a DNS_LABEL and unique within the vm.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" type: "string" pod: description: "Represents the stock pod network interface." properties: vmIPv6NetworkCIDR: - description: "IPv6 CIDR for the vm network. Defaults to fd10:0:2::/120 if not specified." + description: "IPv6 CIDR for the vm network.\nDefaults to fd10:0:2::/120 if not specified." type: "string" vmNetworkCIDR: - description: "CIDR for vm network. Default 10.0.2.0/24 if not specified." + description: "CIDR for vm network.\nDefault 10.0.2.0/24 if not specified." type: "string" type: "object" required: @@ -2085,25 +2222,26 @@ spec: nodeSelector: additionalProperties: type: "string" - description: "NodeSelector is a selector which must be true for the vmi to fit on a node. Selector which must match a node's labels for the vmi to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/" + description: "NodeSelector is a selector which must be true for the vmi to fit on a node.\nSelector which must match a node's labels for the vmi to be scheduled on that node.\nMore info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/" type: "object" priorityClassName: - description: "If specified, indicates the pod's priority. If not specified, the pod priority will be default or zero if there is no default." + description: "If specified, indicates the pod's priority.\nIf not specified, the pod priority will be default or zero if there is no\ndefault." type: "string" readinessProbe: - description: "Periodic probe of VirtualMachineInstance service readiness. VirtualmachineInstances will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + description: "Periodic probe of VirtualMachineInstance service readiness.\nVirtualmachineInstances will be removed from service endpoints if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" properties: exec: - description: "One and only one of the following should be specified. Exec specifies the action to take, it will be executed on the guest through the qemu-guest-agent. If the guest agent is not available, this probe will fail." + description: "One and only one of the following should be specified.\nExec specifies the action to take, it will be executed on the guest through the qemu-guest-agent.\nIf the guest agent is not available, this probe will fail." properties: command: - description: "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy." + description: "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: - description: "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." + description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." format: "int32" type: "integer" guestAgentPing: @@ -2113,7 +2251,7 @@ spec: description: "HTTPGet specifies the http request to perform." properties: host: - description: "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead." + description: "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead." type: "string" httpHeaders: description: "Custom headers to set in the request. HTTP allows repeated headers." @@ -2121,7 +2259,7 @@ spec: description: "HTTPHeader describes a custom header to be used in HTTP probes" properties: name: - description: "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header." + description: "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header." type: "string" value: description: "The header field value" @@ -2131,6 +2269,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2138,28 +2277,28 @@ spec: anyOf: - type: "integer" - type: "string" - description: "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME." + description: "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME." x-kubernetes-int-or-string: true scheme: - description: "Scheme to use for connecting to the host. Defaults to HTTP." + description: "Scheme to use for connecting to the host.\nDefaults to HTTP." type: "string" required: - "port" type: "object" initialDelaySeconds: - description: "Number of seconds after the VirtualMachineInstance has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + description: "Number of seconds after the VirtualMachineInstance has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" format: "int32" type: "integer" periodSeconds: - description: "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." + description: "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1." format: "int32" type: "integer" successThreshold: - description: "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." + description: "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness. Minimum value is 1." format: "int32" type: "integer" tcpSocket: - description: "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported TODO: implement a realistic TCP lifecycle hook" + description: "TCPSocket specifies an action involving a TCP port.\nTCP hooks not yet supported\nTODO: implement a realistic TCP lifecycle hook" properties: host: description: "Optional: Host name to connect to, defaults to the pod IP." @@ -2168,24 +2307,24 @@ spec: anyOf: - type: "integer" - type: "string" - description: "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME." + description: "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME." x-kubernetes-int-or-string: true required: - "port" type: "object" timeoutSeconds: - description: "Number of seconds after which the probe times out. For exec probes the timeout fails the probe but does not terminate the command running on the guest. This means a blocking command can result in an increasing load on the guest. A small buffer will be added to the resulting workload exec probe to compensate for delays caused by the qemu guest exec mechanism. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + description: "Number of seconds after which the probe times out.\nFor exec probes the timeout fails the probe but does not terminate the command running on the guest.\nThis means a blocking command can result in an increasing load on the guest.\nA small buffer will be added to the resulting workload exec probe to compensate for delays\ncaused by the qemu guest exec mechanism.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" format: "int32" type: "integer" type: "object" schedulerName: - description: "If specified, the VMI will be dispatched by specified scheduler. If not specified, the VMI will be dispatched by default scheduler." + description: "If specified, the VMI will be dispatched by specified scheduler.\nIf not specified, the VMI will be dispatched by default scheduler." type: "string" startStrategy: description: "StartStrategy can be set to \"Paused\" if Virtual Machine should be started in paused state." type: "string" subdomain: - description: "If specified, the fully qualified vmi hostname will be \"...svc.\". If not specified, the vmi will not have a domainname at all. The DNS entry will resolve to the vmi, no matter if the vmi itself can pick up a hostname." + description: "If specified, the fully qualified vmi hostname will be \"...svc.\".\nIf not specified, the vmi will not have a domainname at all. The DNS entry will resolve to the vmi,\nno matter if the vmi itself can pick up a hostname." type: "string" terminationGracePeriodSeconds: description: "Grace period observed after signalling a VirtualMachineInstance to stop after which the VirtualMachineInstance is force terminated." @@ -2194,86 +2333,89 @@ spec: tolerations: description: "If toleration is specified, obey all the toleration rules." items: - description: "The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator ." + description: "The pod this Toleration is attached to tolerates any taint that matches\nthe triple using the matching operator ." properties: effect: - description: "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute." + description: "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute." type: "string" key: - description: "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys." + description: "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys." type: "string" operator: - description: "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category." + description: "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category." type: "string" tolerationSeconds: - description: "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system." + description: "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system." format: "int64" type: "integer" value: - description: "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string." + description: "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string." type: "string" type: "object" type: "array" topologySpreadConstraints: - description: "TopologySpreadConstraints describes how a group of VMIs will be spread across a given topology domains. K8s scheduler will schedule VMI pods in a way which abides by the constraints." + description: "TopologySpreadConstraints describes how a group of VMIs will be spread across a given topology\ndomains. K8s scheduler will schedule VMI pods in a way which abides by the constraints." items: description: "TopologySpreadConstraint specifies how to spread matching pods among the given topology." properties: labelSelector: - description: "LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain." + description: "LabelSelector is used to find matching pods.\nPods that match this label selector are counted to determine the number of pods\nin their corresponding topology domain." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn't set. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector. \n This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default)." + description: "MatchLabelKeys is a set of pod label keys to select the pods over which\nspreading will be calculated. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are ANDed with labelSelector\nto select the group of existing pods over which spreading will be calculated\nfor the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nMatchLabelKeys cannot be set when LabelSelector isn't set.\nKeys that don't exist in the incoming pod labels will\nbe ignored. A null or empty list means only match against labelSelector.\n\n\nThis is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default)." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" maxSkew: - description: "MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | | P P | P P | P | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed." + description: "MaxSkew describes the degree to which pods may be unevenly distributed.\nWhen `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference\nbetween the number of matching pods in the target topology and the global minimum.\nThe global minimum is the minimum number of matching pods in an eligible domain\nor zero if the number of eligible domains is less than MinDomains.\nFor example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same\nlabelSelector spread as 2/2/1:\nIn this case, the global minimum is 1.\n| zone1 | zone2 | zone3 |\n| P P | P P | P |\n- if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2;\nscheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2)\nviolate MaxSkew(1).\n- if MaxSkew is 2, incoming pod can be scheduled onto any zone.\nWhen `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence\nto topologies that satisfy it.\nIt's a required field. Default value is 1 and 0 is not allowed." format: "int32" type: "integer" minDomains: - description: "MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won't schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule. \n For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: | zone1 | zone2 | zone3 | | P P | P P | P P | The number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0. In this situation, new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate MaxSkew. \n This is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default)." + description: "MinDomains indicates a minimum number of eligible domains.\nWhen the number of eligible domains with matching topology keys is less than minDomains,\nPod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed.\nAnd when the number of eligible domains with matching topology keys equals or greater than minDomains,\nthis value has no effect on scheduling.\nAs a result, when the number of eligible domains is less than minDomains,\nscheduler won't schedule more than maxSkew Pods to those domains.\nIf value is nil, the constraint behaves as if MinDomains is equal to 1.\nValid values are integers greater than 0.\nWhen value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same\nlabelSelector spread as 2/2/2:\n| zone1 | zone2 | zone3 |\n| P P | P P | P P |\nThe number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0.\nIn this situation, new pod with the same labelSelector cannot be scheduled,\nbecause computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,\nit will violate MaxSkew." format: "int32" type: "integer" nodeAffinityPolicy: - description: "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations. \n If this value is nil, the behavior is equivalent to the Honor policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag." + description: "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector\nwhen calculating pod topology spread skew. Options are:\n- Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations.\n- Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\n\nIf this value is nil, the behavior is equivalent to the Honor policy.\nThis is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag." type: "string" nodeTaintsPolicy: - description: "NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included. \n If this value is nil, the behavior is equivalent to the Ignore policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag." + description: "NodeTaintsPolicy indicates how we will treat node taints when calculating\npod topology spread skew. Options are:\n- Honor: nodes without taints, along with tainted nodes for which the incoming pod\nhas a toleration, are included.\n- Ignore: node taints are ignored. All nodes are included.\n\n\nIf this value is nil, the behavior is equivalent to the Ignore policy.\nThis is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag." type: "string" topologyKey: - description: "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes meet the requirements of nodeAffinityPolicy and nodeTaintsPolicy. e.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology. And, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology. It's a required field." + description: "TopologyKey is the key of node labels. Nodes that have a label with this key\nand identical values are considered to be in the same topology.\nWe consider each as a \"bucket\", and try to put balanced number\nof pods into each bucket.\nWe define a domain as a particular instance of a topology.\nAlso, we define an eligible domain as a domain whose nodes meet the requirements of\nnodeAffinityPolicy and nodeTaintsPolicy.\ne.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology.\nAnd, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology.\nIt's a required field." type: "string" whenUnsatisfiable: - description: "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location, but giving higher precedence to topologies that would help reduce the skew. A constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assignment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field." + description: "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy\nthe spread constraint.\n- DoNotSchedule (default) tells the scheduler not to schedule it.\n- ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod\nif and only if every possible node assignment for that pod would violate\n\"MaxSkew\" on some topology.\nFor example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same\nlabelSelector spread as 3/1/1:\n| zone1 | zone2 | zone3 |\n| P P P | P | P |\nIf WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled\nto zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies\nMaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler\nwon't make it *more* imbalanced.\nIt's a required field." type: "string" required: - "maxSkew" @@ -2291,7 +2433,7 @@ spec: description: "Volume represents a named volume in a vmi." properties: cloudInitConfigDrive: - description: "CloudInitConfigDrive represents a cloud-init Config Drive user-data source. The Config Drive data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. More info: https://cloudinit.readthedocs.io/en/latest/topics/datasources/configdrive.html" + description: "CloudInitConfigDrive represents a cloud-init Config Drive user-data source.\nThe Config Drive data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest.\nMore info: https://cloudinit.readthedocs.io/en/latest/topics/datasources/configdrive.html" properties: networkData: description: "NetworkData contains config drive inline cloud-init networkdata." @@ -2303,16 +2445,20 @@ spec: description: "NetworkDataSecretRef references a k8s secret that contains config drive networkdata." properties: name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" + x-kubernetes-map-type: "atomic" secretRef: description: "UserDataSecretRef references a k8s secret that contains config drive userdata." properties: name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" + x-kubernetes-map-type: "atomic" userData: description: "UserData contains config drive inline cloud-init userdata." type: "string" @@ -2321,7 +2467,7 @@ spec: type: "string" type: "object" cloudInitNoCloud: - description: "CloudInitNoCloud represents a cloud-init NoCloud user-data source. The NoCloud data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. More info: http://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html" + description: "CloudInitNoCloud represents a cloud-init NoCloud user-data source.\nThe NoCloud data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest.\nMore info: http://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html" properties: networkData: description: "NetworkData contains NoCloud inline cloud-init networkdata." @@ -2333,16 +2479,20 @@ spec: description: "NetworkDataSecretRef references a k8s secret that contains NoCloud networkdata." properties: name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" + x-kubernetes-map-type: "atomic" secretRef: description: "UserDataSecretRef references a k8s secret that contains NoCloud userdata." properties: name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" + x-kubernetes-map-type: "atomic" userData: description: "UserData contains NoCloud inline cloud-init userdata." type: "string" @@ -2351,26 +2501,28 @@ spec: type: "string" type: "object" configMap: - description: "ConfigMapSource represents a reference to a ConfigMap in the same namespace. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/" + description: "ConfigMapSource represents a reference to a ConfigMap in the same namespace.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/" properties: name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or it's keys must be defined" type: "boolean" volumeLabel: - description: "The volume label of the resulting disk inside the VMI. Different bootstrapping mechanisms require different values. Typical values are \"cidata\" (cloud-init), \"config-2\" (cloud-init) or \"OEMDRV\" (kickstart)." + description: "The volume label of the resulting disk inside the VMI.\nDifferent bootstrapping mechanisms require different values.\nTypical values are \"cidata\" (cloud-init), \"config-2\" (cloud-init) or \"OEMDRV\" (kickstart)." type: "string" type: "object" + x-kubernetes-map-type: "atomic" containerDisk: - description: "ContainerDisk references a docker image, embedding a qcow or raw disk. More info: https://kubevirt.gitbooks.io/user-guide/registry-disk.html" + description: "ContainerDisk references a docker image, embedding a qcow or raw disk.\nMore info: https://kubevirt.gitbooks.io/user-guide/registry-disk.html" properties: image: description: "Image is the name of the image with the embedded disk." type: "string" imagePullPolicy: - description: "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images" + description: "Image pull policy.\nOne of Always, Never, IfNotPresent.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/containers/images#updating-images" type: "string" imagePullSecret: description: "ImagePullSecret is the name of the Docker registry secret required to pull the image. The secret must already exist." @@ -2382,13 +2534,13 @@ spec: - "image" type: "object" dataVolume: - description: "DataVolume represents the dynamic creation a PVC for this volume as well as the process of populating that PVC with a disk image." + description: "DataVolume represents the dynamic creation a PVC for this volume as well as\nthe process of populating that PVC with a disk image." properties: hotpluggable: description: "Hotpluggable indicates whether the volume can be hotplugged and hotunplugged." type: "boolean" name: - description: "Name of both the DataVolume and the PVC in the same namespace. After PVC population the DataVolume is garbage collected by default." + description: "Name of both the DataVolume and the PVC in the same namespace.\nAfter PVC population the DataVolume is garbage collected by default." type: "string" required: - "name" @@ -2402,7 +2554,7 @@ spec: description: "DownwardAPIVolumeFile represents information to create the file containing the pod field" properties: fieldRef: - description: "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported." + description: "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -2413,15 +2565,16 @@ spec: required: - "fieldPath" type: "object" + x-kubernetes-map-type: "atomic" mode: - description: "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + description: "Optional: mode bits used to set permissions on this file, must be an octal value\nbetween 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set." format: "int32" type: "integer" path: description: "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'" type: "string" resourceFieldRef: - description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported." + description: "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported." properties: containerName: description: "Container name: required for volumes, optional for env vars" @@ -2439,19 +2592,20 @@ spec: required: - "resource" type: "object" + x-kubernetes-map-type: "atomic" required: - "path" type: "object" type: "array" volumeLabel: - description: "The volume label of the resulting disk inside the VMI. Different bootstrapping mechanisms require different values. Typical values are \"cidata\" (cloud-init), \"config-2\" (cloud-init) or \"OEMDRV\" (kickstart)." + description: "The volume label of the resulting disk inside the VMI.\nDifferent bootstrapping mechanisms require different values.\nTypical values are \"cidata\" (cloud-init), \"config-2\" (cloud-init) or \"OEMDRV\" (kickstart)." type: "string" type: "object" downwardMetrics: - description: "DownwardMetrics adds a very small disk to VMIs which contains a limited view of host and guest metrics. The disk content is compatible with vhostmd (https://github.com/vhostmd/vhostmd) and vm-dump-metrics." + description: "DownwardMetrics adds a very small disk to VMIs which contains a limited view of host and guest\nmetrics. The disk content is compatible with vhostmd (https://github.com/vhostmd/vhostmd) and vm-dump-metrics." type: "object" emptyDisk: - description: "EmptyDisk represents a temporary disk which shares the vmis lifecycle. More info: https://kubevirt.gitbooks.io/user-guide/disks-and-volumes.html" + description: "EmptyDisk represents a temporary disk which shares the vmis lifecycle.\nMore info: https://kubevirt.gitbooks.io/user-guide/disks-and-volumes.html" properties: capacity: anyOf: @@ -2467,13 +2621,13 @@ spec: description: "Ephemeral is a special volume source that \"wraps\" specified source and provides copy-on-write image on top of it." properties: persistentVolumeClaim: - description: "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Directly attached to the vmi via qemu. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" + description: "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.\nDirectly attached to the vmi via qemu.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" properties: claimName: - description: "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" + description: "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" type: "string" readOnly: - description: "readOnly Will force the ReadOnly setting in VolumeMounts. Default false." + description: "readOnly Will force the ReadOnly setting in VolumeMounts.\nDefault false." type: "boolean" required: - "claimName" @@ -2496,7 +2650,7 @@ spec: description: "Shared indicate whether the path is shared between nodes" type: "boolean" type: - description: "Contains information if disk.img exists or should be created allowed options are 'Disk' and 'DiskOrCreate'" + description: "Contains information if disk.img exists or should be created\nallowed options are 'Disk' and 'DiskOrCreate'" type: "string" required: - "path" @@ -2506,53 +2660,53 @@ spec: description: "MemoryDump is attached to the virt launcher and is populated with a memory dump of the vmi" properties: claimName: - description: "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" + description: "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" type: "string" hotpluggable: description: "Hotpluggable indicates whether the volume can be hotplugged and hotunplugged." type: "boolean" readOnly: - description: "readOnly Will force the ReadOnly setting in VolumeMounts. Default false." + description: "readOnly Will force the ReadOnly setting in VolumeMounts.\nDefault false." type: "boolean" required: - "claimName" type: "object" name: - description: "Volume's name. Must be a DNS_LABEL and unique within the vmi. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + description: "Volume's name.\nMust be a DNS_LABEL and unique within the vmi.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" type: "string" persistentVolumeClaim: - description: "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Directly attached to the vmi via qemu. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" + description: "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.\nDirectly attached to the vmi via qemu.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" properties: claimName: - description: "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" + description: "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" type: "string" hotpluggable: description: "Hotpluggable indicates whether the volume can be hotplugged and hotunplugged." type: "boolean" readOnly: - description: "readOnly Will force the ReadOnly setting in VolumeMounts. Default false." + description: "readOnly Will force the ReadOnly setting in VolumeMounts.\nDefault false." type: "boolean" required: - "claimName" type: "object" secret: - description: "SecretVolumeSource represents a reference to a secret data in the same namespace. More info: https://kubernetes.io/docs/concepts/configuration/secret/" + description: "SecretVolumeSource represents a reference to a secret data in the same namespace.\nMore info: https://kubernetes.io/docs/concepts/configuration/secret/" properties: optional: description: "Specify whether the Secret or it's keys must be defined" type: "boolean" secretName: - description: "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret" + description: "Name of the secret in the pod's namespace to use.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret" type: "string" volumeLabel: - description: "The volume label of the resulting disk inside the VMI. Different bootstrapping mechanisms require different values. Typical values are \"cidata\" (cloud-init), \"config-2\" (cloud-init) or \"OEMDRV\" (kickstart)." + description: "The volume label of the resulting disk inside the VMI.\nDifferent bootstrapping mechanisms require different values.\nTypical values are \"cidata\" (cloud-init), \"config-2\" (cloud-init) or \"OEMDRV\" (kickstart)." type: "string" type: "object" serviceAccount: - description: "ServiceAccountVolumeSource represents a reference to a service account. There can only be one volume of this type! More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/" + description: "ServiceAccountVolumeSource represents a reference to a service account.\nThere can only be one volume of this type!\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/" properties: serviceAccountName: - description: "Name of the service account in the pod's namespace to use. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/" + description: "Name of the service account in the pod's namespace to use.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/" type: "string" type: "object" sysprep: @@ -2562,16 +2716,20 @@ spec: description: "ConfigMap references a ConfigMap that contains Sysprep answer file named autounattend.xml that should be attached as disk of CDROM type." properties: name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" + x-kubernetes-map-type: "atomic" secret: description: "Secret references a k8s Secret that contains Sysprep answer file named autounattend.xml that should be attached as disk of CDROM type." properties: name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" + x-kubernetes-map-type: "atomic" type: "object" required: - "name" @@ -2595,9 +2753,3 @@ spec: type: "object" served: true storage: true -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/clusters.yaml b/crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/clusters.yaml index ef3d65c80..4feba99ce 100644 --- a/crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/clusters.yaml +++ b/crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/clusters.yaml @@ -251,6 +251,29 @@ spec: description: "Replicas is the number of control plane nodes.\nIf the value is nil, the ControlPlane object is created without the number of Replicas\nand it's assumed that the control plane controller does not implement support for this field.\nWhen specified against a control plane provider that lacks support for this field, this value will be ignored." format: "int32" type: "integer" + variables: + description: "Variables can be used to customize the ControlPlane through patches." + properties: + overrides: + description: "Overrides can be used to override Cluster level variables." + items: + description: "ClusterVariable can be used to customize the Cluster through patches. Each ClusterVariable is associated with a\nVariable definition in the ClusterClass `status` variables." + properties: + definitionFrom: + description: "DefinitionFrom specifies where the definition of this Variable is from. DefinitionFrom is `inline` when the\ndefinition is from the ClusterClass `.spec.variables` or the name of a patch defined in the ClusterClass\n`.spec.patches` where the patch is external and provides external variables.\nThis field is mandatory if the variable has `DefinitionsConflict: true` in ClusterClass `status.variables[]`" + type: "string" + name: + description: "Name of the variable." + type: "string" + value: + description: "Value of the variable.\nNote: the value will be validated against the schema of the corresponding ClusterClassVariable\nfrom the ClusterClass.\nNote: We have to use apiextensionsv1.JSON instead of a custom JSON type, because controller-tools has a\nhard-coded schema for apiextensionsv1.JSON which cannot be produced by another type via controller-tools,\ni.e. it is not possible to have no type field.\nRef: https://github.com/kubernetes-sigs/controller-tools/blob/d0e03a142d0ecdd5491593e941ee1d6b5d91dba6/pkg/crd/known_types.go#L106-L111" + x-kubernetes-preserve-unknown-fields: true + required: + - "name" + - "value" + type: "object" + type: "array" + type: "object" type: "object" rolloutAfter: description: "RolloutAfter performs a rollout of the entire cluster one component at a time,\ncontrol plane first and then machine deployments.\n\n\nDeprecated: This field has no function and is going to be removed in the next apiVersion." diff --git a/crd-catalog/kubernetes-sigs/external-dns/externaldns.k8s.io/v1alpha1/dnsendpoints.yaml b/crd-catalog/kubernetes-sigs/external-dns/externaldns.k8s.io/v1alpha1/dnsendpoints.yaml index 268eace5e..a9df5a2eb 100644 --- a/crd-catalog/kubernetes-sigs/external-dns/externaldns.k8s.io/v1alpha1/dnsendpoints.yaml +++ b/crd-catalog/kubernetes-sigs/external-dns/externaldns.k8s.io/v1alpha1/dnsendpoints.yaml @@ -2,7 +2,8 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + api-approved.kubernetes.io: "https://github.com/kubernetes-sigs/external-dns/pull/2007" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "dnsendpoints.externaldns.k8s.io" spec: group: "externaldns.k8s.io" diff --git a/crd-catalog/kubernetes-sigs/jobset/jobset.x-k8s.io/v1alpha2/jobsets.yaml b/crd-catalog/kubernetes-sigs/jobset/jobset.x-k8s.io/v1alpha2/jobsets.yaml index b7f9b4a6e..bed5b4688 100644 --- a/crd-catalog/kubernetes-sigs/jobset/jobset.x-k8s.io/v1alpha2/jobsets.yaml +++ b/crd-catalog/kubernetes-sigs/jobset/jobset.x-k8s.io/v1alpha2/jobsets.yaml @@ -52,6 +52,38 @@ spec: description: "MaxRestarts defines the limit on the number of JobSet restarts.\nA restart is achieved by recreating all active child jobs." format: "int32" type: "integer" + rules: + description: "List of failure policy rules for this JobSet.\nFor a given Job failure, the rules will be evaluated in order,\nand only the first matching rule will be executed.\nIf no matching rule is found, the RestartJobSet action is applied." + items: + description: "FailurePolicyRule defines a FailurePolicyAction to be executed if a child job\nfails due to a reason listed in OnJobFailureReasons." + properties: + action: + description: "The action to take if the rule is matched." + enum: + - "FailJobSet" + - "RestartJobSet" + - "RestartJobSetAndIgnoreMaxRestarts" + type: "string" + name: + description: "The name of the failure policy rule.\nThe name is defaulted to 'failurePolicyRuleN' where N is the index of the failure policy rule.\nThe name must match the regular expression \"^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$\"." + type: "string" + onJobFailureReasons: + description: "The requirement on the job failure reasons. The requirement\nis satisfied if at least one reason matches the list.\nThe rules are evaluated in order, and the first matching\nrule is executed.\nAn empty list applies the rule to any job failure reason." + items: + type: "string" + type: "array" + targetReplicatedJobs: + description: "TargetReplicatedJobs are the names of the replicated jobs the operator applies to.\nAn empty list will apply to all replicatedJobs." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" + required: + - "action" + - "name" + - "onJobFailureReasons" + type: "object" + type: "array" type: "object" x-kubernetes-validations: - message: "Value is immutable" @@ -4851,6 +4883,10 @@ spec: description: "Restarts tracks the number of times the JobSet has restarted (i.e. recreated in case of RecreateAll policy)." format: "int32" type: "integer" + restartsCountTowardsMax: + description: "RestartsCountTowardsMax tracks the number of times the JobSet has restarted that counts towards the maximum allowed number of restarts." + format: "int32" + type: "integer" type: "object" type: "object" served: true diff --git a/crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/clusterqueues.yaml b/crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/clusterqueues.yaml index 432f84c8e..06a3f3cde 100644 --- a/crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/clusterqueues.yaml +++ b/crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/clusterqueues.yaml @@ -10,6 +10,8 @@ spec: kind: "ClusterQueue" listKind: "ClusterQueueList" plural: "clusterqueues" + shortNames: + - "cq" singular: "clusterqueue" scope: "Cluster" versions: @@ -132,11 +134,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -336,6 +340,14 @@ spec: x-kubernetes-list-map-keys: - "type" x-kubernetes-list-type: "map" + fairSharing: + description: "FairSharing contains the information about the current status of fair sharing." + properties: + weightedShare: + description: "WeightedShare represent the maximum of the ratios of usage above nominal\nquota to the lendable resources in the cohort, among all the resources\nprovided by the ClusterQueue, and divided by the weight.\nIf zero, it means that the usage of the ClusterQueue is below the nominal quota.\nIf the ClusterQueue has a weight of zero, this will return 9223372036854775807,\nthe maximum possible share value." + format: "int64" + type: "integer" + type: "object" flavorsReservation: description: "flavorsReservation are the reserved quotas, by flavor, currently in use by the\nworkloads assigned to this ClusterQueue." items: diff --git a/crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/localqueues.yaml b/crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/localqueues.yaml index 216cbbf1a..ac8a7d6e0 100644 --- a/crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/localqueues.yaml +++ b/crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/localqueues.yaml @@ -13,6 +13,7 @@ spec: shortNames: - "queue" - "queues" + - "lq" singular: "localqueue" scope: "Namespaced" versions: diff --git a/crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/workloads.yaml b/crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/workloads.yaml index 7bc1cc816..f6c35b92d 100644 --- a/crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/workloads.yaml +++ b/crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/workloads.yaml @@ -57,9 +57,10 @@ spec: items: properties: count: + default: 1 description: "count is the number of pods for the spec." format: "int32" - minimum: 1.0 + minimum: 0.0 type: "integer" minCount: description: "minCount is the minimum number of pods for the spec acceptable\nif the workload supports partial admission.\n\n\nIf not provided, partial admission for the current PodSet is not\nenabled.\n\n\nOnly one podSet within the workload can use this.\n\n\nThis is an alpha field and requires enabling PartialAdmission feature gate." @@ -132,11 +133,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: description: "A list of node selector requirements by node's fields." items: @@ -153,11 +156,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" weight: @@ -169,6 +174,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: description: "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node." properties: @@ -193,11 +199,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: description: "A list of node selector requirements by node's fields." items: @@ -214,14 +222,17 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" type: "array" + x-kubernetes-list-type: "atomic" required: - "nodeSelectorTerms" type: "object" @@ -257,11 +268,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -270,13 +283,13 @@ spec: type: "object" x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" mismatchLabelKeys: - description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" @@ -300,11 +313,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -317,6 +332,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" @@ -332,6 +348,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: description: "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied." items: @@ -356,11 +373,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -369,13 +388,13 @@ spec: type: "object" x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" mismatchLabelKeys: - description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" @@ -399,11 +418,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -416,6 +437,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" @@ -423,6 +445,7 @@ spec: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" podAntiAffinity: description: "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))." @@ -454,11 +477,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -467,13 +492,13 @@ spec: type: "object" x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" mismatchLabelKeys: - description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" @@ -497,11 +522,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -514,6 +541,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" @@ -529,6 +557,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: description: "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied." items: @@ -553,11 +582,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -566,13 +597,13 @@ spec: type: "object" x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" mismatchLabelKeys: - description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" @@ -596,11 +627,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -613,6 +646,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" @@ -620,6 +654,7 @@ spec: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" type: "object" automountServiceAccountToken: @@ -635,11 +670,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" command: description: "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" env: description: "List of environment variables to set in the container.\nCannot be updated." items: @@ -661,7 +698,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -710,7 +748,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -724,6 +763,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" envFrom: description: "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated." items: @@ -733,7 +775,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -747,7 +790,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -756,6 +800,7 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "array" + x-kubernetes-list-type: "atomic" image: description: "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets." type: "string" @@ -776,6 +821,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: description: "HTTPGet specifies the http request to perform." @@ -799,6 +845,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -851,6 +898,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: description: "HTTPGet specifies the http request to perform." @@ -874,6 +922,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -927,6 +976,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -967,6 +1017,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1063,6 +1114,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -1103,6 +1155,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1217,6 +1270,18 @@ spec: allowPrivilegeEscalation: description: "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows." type: "boolean" + appArmorProfile: + description: "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows." + properties: + localhostProfile: + description: "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\"." + type: "string" + type: + description: "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement." + type: "string" + required: + - "type" + type: "object" capabilities: description: "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows." properties: @@ -1226,12 +1291,14 @@ spec: description: "Capability represent POSIX capabilities type" type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: description: "Removed capabilities" items: description: "Capability represent POSIX capabilities type" type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: description: "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows." @@ -1309,6 +1376,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -1349,6 +1417,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1431,6 +1500,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "devicePath" + x-kubernetes-list-type: "map" volumeMounts: description: "Pod volumes to mount into the container's filesystem.\nCannot be updated." items: @@ -1440,7 +1512,7 @@ spec: description: "Path within the container at which the volume should be mounted. Must\nnot contain ':'." type: "string" mountPropagation: - description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10." + description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None)." type: "string" name: description: "This must match the Name of a Volume." @@ -1448,6 +1520,9 @@ spec: readOnly: description: "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false." type: "boolean" + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\n\nIf this field is not specified, it is treated as an equivalent of Disabled." + type: "string" subPath: description: "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root)." type: "string" @@ -1459,6 +1534,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "mountPath" + x-kubernetes-list-type: "map" workingDir: description: "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated." type: "string" @@ -1466,6 +1544,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" dnsConfig: description: "Specifies the DNS parameters of a pod.\nParameters specified here will be merged to the generated DNS\nconfiguration based on DNSPolicy." properties: @@ -1474,6 +1555,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" options: description: "A list of DNS resolver options.\nThis will be merged with the base options generated from DNSPolicy.\nDuplicated entries will be removed. Resolution options given in Options\nwill override those that appear in the base DNSPolicy." items: @@ -1486,11 +1568,13 @@ spec: type: "string" type: "object" type: "array" + x-kubernetes-list-type: "atomic" searches: description: "A list of DNS search domains for host-name lookup.\nThis will be appended to the base search paths generated from DNSPolicy.\nDuplicated search paths will be removed." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" dnsPolicy: description: "Set DNS policy for the pod.\nDefaults to \"ClusterFirst\".\nValid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'.\nDNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy.\nTo have DNS options set along with hostNetwork, you have to specify DNS policy\nexplicitly to 'ClusterFirstWithHostNet'." @@ -1508,11 +1592,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" command: description: "Entrypoint array. Not executed within a shell.\nThe image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" env: description: "List of environment variables to set in the container.\nCannot be updated." items: @@ -1534,7 +1620,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1583,7 +1670,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1597,6 +1685,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" envFrom: description: "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated." items: @@ -1606,7 +1697,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -1620,7 +1712,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -1629,6 +1722,7 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "array" + x-kubernetes-list-type: "atomic" image: description: "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images" type: "string" @@ -1649,6 +1743,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: description: "HTTPGet specifies the http request to perform." @@ -1672,6 +1767,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1724,6 +1820,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: description: "HTTPGet specifies the http request to perform." @@ -1747,6 +1844,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1800,6 +1898,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -1840,6 +1939,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1936,6 +2036,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -1976,6 +2077,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2090,6 +2192,18 @@ spec: allowPrivilegeEscalation: description: "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows." type: "boolean" + appArmorProfile: + description: "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows." + properties: + localhostProfile: + description: "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\"." + type: "string" + type: + description: "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement." + type: "string" + required: + - "type" + type: "object" capabilities: description: "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows." properties: @@ -2099,12 +2213,14 @@ spec: description: "Capability represent POSIX capabilities type" type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: description: "Removed capabilities" items: description: "Capability represent POSIX capabilities type" type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: description: "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows." @@ -2182,6 +2298,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -2222,6 +2339,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2307,6 +2425,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "devicePath" + x-kubernetes-list-type: "map" volumeMounts: description: "Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers.\nCannot be updated." items: @@ -2316,7 +2437,7 @@ spec: description: "Path within the container at which the volume should be mounted. Must\nnot contain ':'." type: "string" mountPropagation: - description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10." + description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None)." type: "string" name: description: "This must match the Name of a Volume." @@ -2324,6 +2445,9 @@ spec: readOnly: description: "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false." type: "boolean" + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\n\nIf this field is not specified, it is treated as an equivalent of Disabled." + type: "string" subPath: description: "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root)." type: "string" @@ -2335,6 +2459,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "mountPath" + x-kubernetes-list-type: "map" workingDir: description: "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated." type: "string" @@ -2342,8 +2469,11 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" hostAliases: - description: "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts\nfile if specified. This is only valid for non-hostNetwork pods." + description: "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts\nfile if specified." items: description: "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the\npod's hosts file." properties: @@ -2352,11 +2482,17 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" ip: description: "IP address of the host file entry." type: "string" + required: + - "ip" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "ip" + x-kubernetes-list-type: "map" hostIPC: description: "Use the host's ipc namespace.\nOptional: Default to false." type: "boolean" @@ -2378,11 +2514,15 @@ spec: description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" initContainers: description: "List of initialization containers belonging to the pod.\nInit containers are executed in order prior to containers being started. If any\ninit container fails, the pod is considered to have failed and is handled according\nto its restartPolicy. The name for an init container or normal container must be\nunique among all containers.\nInit containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.\nThe resourceRequirements of an init container are taken into account during scheduling\nby finding the highest request/limit for each resource type, and then using the max of\nof that value or the sum of the normal containers. Limits are applied to init containers\nin a similar fashion.\nInit containers cannot currently be added or removed.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/" items: @@ -2393,11 +2533,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" command: description: "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" env: description: "List of environment variables to set in the container.\nCannot be updated." items: @@ -2419,7 +2561,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2468,7 +2611,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2482,6 +2626,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" envFrom: description: "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated." items: @@ -2491,7 +2638,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -2505,7 +2653,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -2514,6 +2663,7 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "array" + x-kubernetes-list-type: "atomic" image: description: "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets." type: "string" @@ -2534,6 +2684,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: description: "HTTPGet specifies the http request to perform." @@ -2557,6 +2708,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2609,6 +2761,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: description: "HTTPGet specifies the http request to perform." @@ -2632,6 +2785,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2685,6 +2839,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -2725,6 +2880,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2821,6 +2977,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -2861,6 +3018,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2975,6 +3133,18 @@ spec: allowPrivilegeEscalation: description: "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows." type: "boolean" + appArmorProfile: + description: "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows." + properties: + localhostProfile: + description: "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\"." + type: "string" + type: + description: "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement." + type: "string" + required: + - "type" + type: "object" capabilities: description: "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows." properties: @@ -2984,12 +3154,14 @@ spec: description: "Capability represent POSIX capabilities type" type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: description: "Removed capabilities" items: description: "Capability represent POSIX capabilities type" type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: description: "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows." @@ -3067,6 +3239,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -3107,6 +3280,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -3189,6 +3363,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "devicePath" + x-kubernetes-list-type: "map" volumeMounts: description: "Pod volumes to mount into the container's filesystem.\nCannot be updated." items: @@ -3198,7 +3375,7 @@ spec: description: "Path within the container at which the volume should be mounted. Must\nnot contain ':'." type: "string" mountPropagation: - description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10." + description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None)." type: "string" name: description: "This must match the Name of a Volume." @@ -3206,6 +3383,9 @@ spec: readOnly: description: "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false." type: "boolean" + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\n\nIf this field is not specified, it is treated as an equivalent of Disabled." + type: "string" subPath: description: "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root)." type: "string" @@ -3217,6 +3397,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "mountPath" + x-kubernetes-list-type: "map" workingDir: description: "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated." type: "string" @@ -3224,6 +3407,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" nodeName: description: "NodeName is a request to schedule this pod onto a specific node. If it is non-empty,\nthe scheduler simply schedules this pod onto that node, assuming that it fits resource\nrequirements." type: "string" @@ -3234,7 +3420,7 @@ spec: type: "object" x-kubernetes-map-type: "atomic" os: - description: "Specifies the OS of the containers in the pod.\nSome pod and container fields are restricted if this is set.\n\n\nIf the OS field is set to linux, the following fields must be unset:\n-securityContext.windowsOptions\n\n\nIf the OS field is set to windows, following fields must be unset:\n- spec.hostPID\n- spec.hostIPC\n- spec.hostUsers\n- spec.securityContext.seLinuxOptions\n- spec.securityContext.seccompProfile\n- spec.securityContext.fsGroup\n- spec.securityContext.fsGroupChangePolicy\n- spec.securityContext.sysctls\n- spec.shareProcessNamespace\n- spec.securityContext.runAsUser\n- spec.securityContext.runAsGroup\n- spec.securityContext.supplementalGroups\n- spec.containers[*].securityContext.seLinuxOptions\n- spec.containers[*].securityContext.seccompProfile\n- spec.containers[*].securityContext.capabilities\n- spec.containers[*].securityContext.readOnlyRootFilesystem\n- spec.containers[*].securityContext.privileged\n- spec.containers[*].securityContext.allowPrivilegeEscalation\n- spec.containers[*].securityContext.procMount\n- spec.containers[*].securityContext.runAsUser\n- spec.containers[*].securityContext.runAsGroup" + description: "Specifies the OS of the containers in the pod.\nSome pod and container fields are restricted if this is set.\n\n\nIf the OS field is set to linux, the following fields must be unset:\n-securityContext.windowsOptions\n\n\nIf the OS field is set to windows, following fields must be unset:\n- spec.hostPID\n- spec.hostIPC\n- spec.hostUsers\n- spec.securityContext.appArmorProfile\n- spec.securityContext.seLinuxOptions\n- spec.securityContext.seccompProfile\n- spec.securityContext.fsGroup\n- spec.securityContext.fsGroupChangePolicy\n- spec.securityContext.sysctls\n- spec.shareProcessNamespace\n- spec.securityContext.runAsUser\n- spec.securityContext.runAsGroup\n- spec.securityContext.supplementalGroups\n- spec.containers[*].securityContext.appArmorProfile\n- spec.containers[*].securityContext.seLinuxOptions\n- spec.containers[*].securityContext.seccompProfile\n- spec.containers[*].securityContext.capabilities\n- spec.containers[*].securityContext.readOnlyRootFilesystem\n- spec.containers[*].securityContext.privileged\n- spec.containers[*].securityContext.allowPrivilegeEscalation\n- spec.containers[*].securityContext.procMount\n- spec.containers[*].securityContext.runAsUser\n- spec.containers[*].securityContext.runAsGroup" properties: name: description: "Name is the name of the operating system. The currently supported values are linux and windows.\nAdditional value may be defined in future and can be one of:\nhttps://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration\nClients should expect to handle additional values and treat unrecognized values in this field as os: null" @@ -3273,6 +3459,7 @@ spec: - "conditionType" type: "object" type: "array" + x-kubernetes-list-type: "atomic" resourceClaims: description: "ResourceClaims defines which ResourceClaims must be allocated\nand reserved before the Pod is allowed to start. The resources\nwill be made available to those containers which consume them\nby name.\n\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\n\nThis field is immutable." items: @@ -3308,7 +3495,7 @@ spec: description: "If specified, the pod will be dispatched by specified scheduler.\nIf not specified, the pod will be dispatched by default scheduler." type: "string" schedulingGates: - description: "SchedulingGates is an opaque list of values that if specified will block scheduling the pod.\nIf schedulingGates is not empty, the pod will stay in the SchedulingGated state and the\nscheduler will not attempt to schedule the pod.\n\n\nSchedulingGates can only be set at pod creation time, and be removed only afterwards.\n\n\nThis is a beta feature enabled by the PodSchedulingReadiness feature gate." + description: "SchedulingGates is an opaque list of values that if specified will block scheduling the pod.\nIf schedulingGates is not empty, the pod will stay in the SchedulingGated state and the\nscheduler will not attempt to schedule the pod.\n\n\nSchedulingGates can only be set at pod creation time, and be removed only afterwards." items: description: "PodSchedulingGate is associated to a Pod to guard its scheduling." properties: @@ -3325,6 +3512,18 @@ spec: securityContext: description: "SecurityContext holds pod-level security attributes and common container settings.\nOptional: Defaults to empty. See type description for default values of each field." properties: + appArmorProfile: + description: "appArmorProfile is the AppArmor options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows." + properties: + localhostProfile: + description: "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\"." + type: "string" + type: + description: "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement." + type: "string" + required: + - "type" + type: "object" fsGroup: description: "A special supplemental group that applies to all containers in a pod.\nSome volume types allow the Kubelet to change the ownership of that volume\nto be owned by the pod:\n\n\n1. The owning GID will be the FSGroup\n2. The setgid bit is set (new files created in the volume will be owned by FSGroup)\n3. The permission bits are OR'd with rw-rw----\n\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.\nNote that this field cannot be set when spec.os.name is windows." format: "int64" @@ -3377,6 +3576,7 @@ spec: format: "int64" type: "integer" type: "array" + x-kubernetes-list-type: "atomic" sysctls: description: "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported\nsysctls (by the container runtime) might fail to launch.\nNote that this field cannot be set when spec.os.name is windows." items: @@ -3393,6 +3593,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" windowsOptions: description: "The Windows specific settings applied to all containers.\nIf unspecified, the options within a container's SecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux." properties: @@ -3411,7 +3612,7 @@ spec: type: "object" type: "object" serviceAccount: - description: "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName.\nDeprecated: Use serviceAccountName instead." + description: "DeprecatedServiceAccount is a deprecated alias for ServiceAccountName.\nDeprecated: Use serviceAccountName instead." type: "string" serviceAccountName: description: "ServiceAccountName is the name of the ServiceAccount to use to run this pod.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/" @@ -3452,6 +3653,7 @@ spec: type: "string" type: "object" type: "array" + x-kubernetes-list-type: "atomic" topologySpreadConstraints: description: "TopologySpreadConstraints describes how a group of pods ought to spread across topology\ndomains. Scheduler will schedule pods in a way which abides by the constraints.\nAll topologySpreadConstraints are ANDed." items: @@ -3476,11 +3678,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3499,7 +3703,7 @@ spec: format: "int32" type: "integer" minDomains: - description: "MinDomains indicates a minimum number of eligible domains.\nWhen the number of eligible domains with matching topology keys is less than minDomains,\nPod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed.\nAnd when the number of eligible domains with matching topology keys equals or greater than minDomains,\nthis value has no effect on scheduling.\nAs a result, when the number of eligible domains is less than minDomains,\nscheduler won't schedule more than maxSkew Pods to those domains.\nIf value is nil, the constraint behaves as if MinDomains is equal to 1.\nValid values are integers greater than 0.\nWhen value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same\nlabelSelector spread as 2/2/2:\n| zone1 | zone2 | zone3 |\n| P P | P P | P P |\nThe number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0.\nIn this situation, new pod with the same labelSelector cannot be scheduled,\nbecause computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,\nit will violate MaxSkew.\n\n\nThis is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default)." + description: "MinDomains indicates a minimum number of eligible domains.\nWhen the number of eligible domains with matching topology keys is less than minDomains,\nPod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed.\nAnd when the number of eligible domains with matching topology keys equals or greater than minDomains,\nthis value has no effect on scheduling.\nAs a result, when the number of eligible domains is less than minDomains,\nscheduler won't schedule more than maxSkew Pods to those domains.\nIf value is nil, the constraint behaves as if MinDomains is equal to 1.\nValid values are integers greater than 0.\nWhen value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same\nlabelSelector spread as 2/2/2:\n| zone1 | zone2 | zone3 |\n| P P | P P | P P |\nThe number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0.\nIn this situation, new pod with the same labelSelector cannot be scheduled,\nbecause computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,\nit will violate MaxSkew." format: "int32" type: "integer" nodeAffinityPolicy: @@ -3597,6 +3801,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" path: description: "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /" type: "string" @@ -3610,7 +3815,8 @@ spec: description: "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3633,7 +3839,8 @@ spec: description: "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3670,8 +3877,10 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -3691,7 +3900,8 @@ spec: description: "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3719,7 +3929,7 @@ spec: description: "DownwardAPIVolumeFile represents information to create the file containing the pod field" properties: fieldRef: - description: "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported." + description: "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -3762,6 +3972,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" emptyDir: description: "emptyDir represents a temporary directory that shares a pod's lifetime.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir" @@ -3811,6 +4022,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: description: "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource." properties: @@ -3888,11 +4100,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3904,7 +4118,7 @@ spec: description: "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" type: "string" volumeAttributesClassName: - description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." + description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." type: "string" volumeMode: description: "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec." @@ -3935,11 +4149,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" wwids: description: "wwids Optional: FC volume world wide identifiers (wwids)\nEither wwids or combination of targetWWNs and lun must be set, but not both simultaneously." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" flexVolume: description: "flexVolume represents a generic volume resource that is\nprovisioned/attached using an exec based plugin." @@ -3962,7 +4178,8 @@ spec: description: "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4071,6 +4288,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" readOnly: description: "readOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false." type: "boolean" @@ -4078,7 +4296,8 @@ spec: description: "secretRef is the CHAP Secret for iSCSI target and initiator authentication" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4182,11 +4401,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -4232,8 +4453,10 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -4249,7 +4472,7 @@ spec: description: "DownwardAPIVolumeFile represents information to create the file containing the pod field" properties: fieldRef: - description: "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported." + description: "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -4292,6 +4515,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" secret: description: "secret information about the secret data to project" @@ -4316,8 +4540,10 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional field specify whether the Secret or its key must be defined" @@ -4342,6 +4568,7 @@ spec: type: "object" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" quobyte: description: "quobyte represents a Quobyte mount on the host that shares a pod's lifetime" @@ -4385,6 +4612,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" pool: description: "pool is the rados pool name.\nDefault is rbd.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" type: "string" @@ -4395,7 +4623,8 @@ spec: description: "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4425,7 +4654,8 @@ spec: description: "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4476,6 +4706,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: description: "optional field specify whether the Secret or its keys must be defined" type: "boolean" @@ -4496,7 +4727,8 @@ spec: description: "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4529,6 +4761,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" required: - "containers" type: "object" diff --git a/crd-catalog/kubernetes-sigs/mcs-api/multicluster.x-k8s.io/v1alpha1/serviceexports.yaml b/crd-catalog/kubernetes-sigs/mcs-api/multicluster.x-k8s.io/v1alpha1/serviceexports.yaml index 46df6c97b..b3e25618c 100644 --- a/crd-catalog/kubernetes-sigs/mcs-api/multicluster.x-k8s.io/v1alpha1/serviceexports.yaml +++ b/crd-catalog/kubernetes-sigs/mcs-api/multicluster.x-k8s.io/v1alpha1/serviceexports.yaml @@ -19,38 +19,38 @@ spec: name: "v1alpha1" schema: openAPIV3Schema: - description: "ServiceExport declares that the Service with the same name and namespace as this export should be consumable from other clusters." + description: "ServiceExport declares that the Service with the same name and namespace\nas this export should be consumable from other clusters." properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" status: - description: "status describes the current state of an exported service. Service configuration comes from the Service that had the same name and namespace as this ServiceExport. Populated by the multi-cluster service implementation's controller." + description: "status describes the current state of an exported service.\nService configuration comes from the Service that had the same\nname and namespace as this ServiceExport.\nPopulated by the multi-cluster service implementation's controller." properties: conditions: items: - description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, \n type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }" + description: "Condition contains details for one aspect of the current state of this API Resource.\n---\nThis struct is intended for direct use as an array at the field path .status.conditions. For example,\n\n\n\ttype FooStatus struct{\n\t // Represents the observations of a foo's current state.\n\t // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\"\n\t // +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t // other fields\n\t}" properties: lastTransitionTime: - description: "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable." + description: "lastTransitionTime is the last time the condition transitioned from one status to another.\nThis should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable." format: "date-time" type: "string" message: - description: "message is a human readable message indicating details about the transition. This may be an empty string." + description: "message is a human readable message indicating details about the transition.\nThis may be an empty string." maxLength: 32768 type: "string" observedGeneration: - description: "observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance." + description: "observedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance." format: "int64" minimum: 0.0 type: "integer" reason: - description: "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty." + description: "reason contains a programmatic identifier indicating the reason for the condition's last transition.\nProducers of specific condition types may define expected values and meanings for this field,\nand whether the values are considered a guaranteed API.\nThe value should be a CamelCase string.\nThis field may not be empty." maxLength: 1024 minLength: 1 pattern: "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$" @@ -63,7 +63,7 @@ spec: - "Unknown" type: "string" type: - description: "type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)" + description: "type of condition in CamelCase or in foo.example.com/CamelCase.\n---\nMany .condition.type values are consistent across resources like Available, but because arbitrary conditions can be\nuseful (see .node.status.conditions), the ability to deconflict is important.\nThe regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)" maxLength: 316 pattern: "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$" type: "string" diff --git a/crd-catalog/kubernetes-sigs/mcs-api/multicluster.x-k8s.io/v1alpha1/serviceimports.yaml b/crd-catalog/kubernetes-sigs/mcs-api/multicluster.x-k8s.io/v1alpha1/serviceimports.yaml index 81a39eccf..cb89d314e 100644 --- a/crd-catalog/kubernetes-sigs/mcs-api/multicluster.x-k8s.io/v1alpha1/serviceimports.yaml +++ b/crd-catalog/kubernetes-sigs/mcs-api/multicluster.x-k8s.io/v1alpha1/serviceimports.yaml @@ -30,10 +30,10 @@ spec: description: "ServiceImport describes a service imported from clusters in a ClusterSet." properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -51,10 +51,10 @@ spec: description: "ServicePort represents the port on which the service is exposed" properties: appProtocol: - description: "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. Field can be enabled with ServiceAppProtocol feature gate." + description: "The application protocol for this port.\nThis is used as a hint for implementations to offer richer behavior for protocols that they understand.\nThis field follows standard Kubernetes label syntax.\nValid values are either:\n\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per\nRFC-6335 and https://www.iana.org/assignments/service-names).\n\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540\n\n\n* Other protocols should use implementation-defined prefixed names such as\nmycompany.com/my-custom-protocol.\nField can be enabled with ServiceAppProtocol feature gate." type: "string" name: - description: "The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service." + description: "The name of this port within the service. This must be a DNS_LABEL.\nAll ports within a ServiceSpec must have unique names. When considering\nthe endpoints for a Service, this must match the 'name' field in the\nEndpointPort.\nOptional if only one ServicePort is defined on this service." type: "string" port: description: "The port that will be exposed by this service." @@ -62,7 +62,7 @@ spec: type: "integer" protocol: default: "TCP" - description: "The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP." + description: "The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\".\nDefault is TCP." type: "string" required: - "port" @@ -70,7 +70,7 @@ spec: type: "array" x-kubernetes-list-type: "atomic" sessionAffinity: - description: "Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. Ignored when type is Headless More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies" + description: "Supports \"ClientIP\" and \"None\". Used to maintain session affinity.\nEnable client IP based session affinity.\nMust be ClientIP or None.\nDefaults to None.\nIgnored when type is Headless\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies" type: "string" sessionAffinityConfig: description: "sessionAffinityConfig contains session affinity configuration." @@ -79,13 +79,13 @@ spec: description: "clientIP contains the configurations of Client IP based session affinity." properties: timeoutSeconds: - description: "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours)." + description: "timeoutSeconds specifies the seconds of ClientIP type session sticky time.\nThe value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\".\nDefault value is 10800(for 3 hours)." format: "int32" type: "integer" type: "object" type: "object" type: - description: "type defines the type of this service. Must be ClusterSetIP or Headless." + description: "type defines the type of this service.\nMust be ClusterSetIP or Headless." enum: - "ClusterSetIP" - "Headless" @@ -95,15 +95,15 @@ spec: - "type" type: "object" status: - description: "status contains information about the exported services that form the multi-cluster service referenced by this ServiceImport." + description: "status contains information about the exported services that form\nthe multi-cluster service referenced by this ServiceImport." properties: clusters: - description: "clusters is the list of exporting clusters from which this service was derived." + description: "clusters is the list of exporting clusters from which this service\nwas derived." items: description: "ClusterStatus contains service configuration mapped to a specific source cluster" properties: cluster: - description: "cluster is the name of the exporting cluster. Must be a valid RFC-1123 DNS label." + description: "cluster is the name of the exporting cluster. Must be a valid RFC-1123 DNS\nlabel." type: "string" required: - "cluster" diff --git a/crd-catalog/kubernetes-sigs/work-api/multicluster.x-k8s.io/v1alpha1/works.yaml b/crd-catalog/kubernetes-sigs/work-api/multicluster.x-k8s.io/v1alpha1/works.yaml index b7bf7a661..5124c1064 100644 --- a/crd-catalog/kubernetes-sigs/work-api/multicluster.x-k8s.io/v1alpha1/works.yaml +++ b/crd-catalog/kubernetes-sigs/work-api/multicluster.x-k8s.io/v1alpha1/works.yaml @@ -45,7 +45,7 @@ spec: conditions: description: "Conditions contains the different condition statuses for this work. Valid condition types are: 1. Applied represents workload in Work is applied successfully on the spoke cluster. 2. Progressing represents workload in Work in the trasitioning from one state to another the on the spoke cluster. 3. Available represents workload in Work exists on the spoke cluster. 4. Degraded represents the current state of workload does not match the desired state for a certain period." items: - description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }" + description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, \n type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }" properties: lastTransitionTime: description: "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable." @@ -94,7 +94,7 @@ spec: conditions: description: "Conditions represents the conditions of this resource on spoke cluster" items: - description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }" + description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, \n type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }" properties: lastTransitionTime: description: "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable." diff --git a/crd-catalog/kubeshop/testkube-operator/executor.testkube.io/v1/executors.yaml b/crd-catalog/kubeshop/testkube-operator/executor.testkube.io/v1/executors.yaml index 870cddd59..982e890d8 100644 --- a/crd-catalog/kubeshop/testkube-operator/executor.testkube.io/v1/executors.yaml +++ b/crd-catalog/kubeshop/testkube-operator/executor.testkube.io/v1/executors.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.8.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "executors.executor.testkube.io" spec: group: "executor.testkube.io" @@ -19,10 +19,10 @@ spec: description: "Executor is the Schema for the executors API" properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -51,7 +51,7 @@ spec: type: "string" type: "array" executor_type: - description: "ExecutorType one of \"rest\" for rest openapi based executors or \"job\" which will be default runners for testkube or \"container\" for container executors" + description: "ExecutorType one of \"rest\" for rest openapi based executors or \"job\" which will be default runners for testkube\nor \"container\" for container executors" enum: - "job" - "container" @@ -70,12 +70,13 @@ spec: imagePullSecrets: description: "container executor default image pull secrets" items: - description: "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" type: "object" + x-kubernetes-map-type: "atomic" type: "array" jobTemplateReference: description: "name of the template resource" @@ -126,9 +127,3 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/crd-catalog/kubeshop/testkube-operator/executor.testkube.io/v1/webhooks.yaml b/crd-catalog/kubeshop/testkube-operator/executor.testkube.io/v1/webhooks.yaml index 1ff6b49e8..02d2143c6 100644 --- a/crd-catalog/kubeshop/testkube-operator/executor.testkube.io/v1/webhooks.yaml +++ b/crd-catalog/kubeshop/testkube-operator/executor.testkube.io/v1/webhooks.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.8.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "webhooks.executor.testkube.io" spec: group: "executor.testkube.io" @@ -19,16 +19,19 @@ spec: description: "Webhook is the Schema for the webhooks API" properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" spec: description: "WebhookSpec defines the desired state of Webhook" properties: + disabled: + description: "Disabled will disable the webhook" + type: "boolean" events: description: "Events declare list if events on which webhook should be called" items: @@ -79,9 +82,3 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/scripts.yaml b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/scripts.yaml index d73f86cdd..349d5f52a 100644 --- a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/scripts.yaml +++ b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/scripts.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.8.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "scripts.tests.testkube.io" spec: group: "tests.testkube.io" @@ -19,10 +19,10 @@ spec: description: "Script is the Schema for the scripts API" properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -91,9 +91,3 @@ spec: storage: false subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testexecutions.yaml b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testexecutions.yaml index 1ba47d86a..317285b52 100644 --- a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testexecutions.yaml +++ b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testexecutions.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.8.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "testexecutions.tests.testkube.io" spec: group: "tests.testkube.io" @@ -19,10 +19,10 @@ spec: description: "TestExecution is the Schema for the testexecutions API" properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -33,7 +33,7 @@ spec: description: "test execution request body" properties: activeDeadlineSeconds: - description: "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer." + description: "Optional duration in seconds the pod may be active on the node relative to\nStartTime before the system will actively try to mark it failed and kill associated containers.\nValue must be a positive integer." format: "int64" type: "integer" args: @@ -67,6 +67,9 @@ spec: sharedBetweenPods: description: "whether to share volume between pods" type: "boolean" + sidecarScraper: + description: "run scraper as pod sidecar container" + type: "boolean" storageBucket: description: "artifact bucket storage" type: "string" @@ -103,12 +106,13 @@ spec: description: "where we shoud mount resource" type: "string" reference: - description: "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" type: "object" + x-kubernetes-map-type: "atomic" required: - "reference" type: "object" @@ -128,12 +132,13 @@ spec: description: "where we shoud mount resource" type: "string" reference: - description: "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" type: "object" + x-kubernetes-map-type: "atomic" required: - "reference" type: "object" @@ -141,7 +146,7 @@ spec: envs: additionalProperties: type: "string" - description: "Environment variables passed to executor. Deprecated: use Basic Variables instead" + description: "Environment variables passed to executor.\nDeprecated: use Basic Variables instead" type: "object" executePostRunScriptBeforeScraping: description: "execute post run script before scraping (prebuilt executor only)" @@ -166,12 +171,13 @@ spec: imagePullSecrets: description: "container executor image pull secrets" items: - description: "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" type: "object" + x-kubernetes-map-type: "atomic" type: "array" isVariablesFileUploaded: type: "boolean" @@ -223,7 +229,7 @@ spec: secretEnvs: additionalProperties: type: "string" - description: "Execution variables passed to executor from secrets. Deprecated: use Secret Variables instead" + description: "Execution variables passed to executor from secrets.\nDeprecated: use Secret Variables instead" type: "object" slavePodRequest: description: "pod request body" @@ -296,7 +302,7 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -304,8 +310,9 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" fieldRef: - description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." + description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -316,8 +323,9 @@ spec: required: - "fieldPath" type: "object" + x-kubernetes-map-type: "atomic" resourceFieldRef: - description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." + description: "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." properties: containerName: description: "Container name: required for volumes, optional for env vars" @@ -335,6 +343,7 @@ spec: required: - "resource" type: "object" + x-kubernetes-map-type: "atomic" secretKeyRef: description: "Selects a key of a secret in the pod's namespace" properties: @@ -342,7 +351,7 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -350,6 +359,7 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" type: "object" type: "object" type: "object" @@ -379,7 +389,7 @@ spec: format: "int64" type: "integer" latestExecution: - description: "INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run \"make\" to regenerate code after modifying this file" + description: "INSERT ADDITIONAL STATUS FIELD - define observed state of cluster\nImportant: Run \"make\" to regenerate code after modifying this file" properties: args: description: "additional arguments/flags passed to executor binary" @@ -412,6 +422,9 @@ spec: sharedBetweenPods: description: "whether to share volume between pods" type: "boolean" + sidecarScraper: + description: "run scraper as pod sidecar container" + type: "boolean" storageBucket: description: "artifact bucket storage" type: "string" @@ -532,7 +545,7 @@ spec: envs: additionalProperties: type: "string" - description: "Environment variables passed to executor. Deprecated: use Basic Variables instead" + description: "Environment variables passed to executor.\nDeprecated: use Basic Variables instead" type: "object" executePostRunScriptBeforeScraping: description: "execute post run script before scraping (prebuilt executor only)" @@ -723,7 +736,7 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -731,8 +744,9 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" fieldRef: - description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." + description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -743,8 +757,9 @@ spec: required: - "fieldPath" type: "object" + x-kubernetes-map-type: "atomic" resourceFieldRef: - description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." + description: "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." properties: containerName: description: "Container name: required for volumes, optional for env vars" @@ -762,6 +777,7 @@ spec: required: - "resource" type: "object" + x-kubernetes-map-type: "atomic" secretKeyRef: description: "Selects a key of a secret in the pod's namespace" properties: @@ -769,7 +785,7 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -777,6 +793,7 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" type: "object" type: "object" type: "object" @@ -790,9 +807,3 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/tests.yaml b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/tests.yaml index 889abd194..597a5ec3d 100644 --- a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/tests.yaml +++ b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/tests.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.8.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "tests.tests.testkube.io" spec: group: "tests.testkube.io" @@ -19,10 +19,10 @@ spec: description: "Test is the Schema for the tests API" properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -121,9 +121,3 @@ spec: storage: false subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsources.yaml b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsources.yaml index bb42835ad..c21a2041e 100644 --- a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsources.yaml +++ b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsources.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.8.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "testsources.tests.testkube.io" spec: group: "tests.testkube.io" @@ -19,10 +19,10 @@ spec: description: "TestSource is the Schema for the testsources API" properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -112,9 +112,3 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsuiteexecutions.yaml b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsuiteexecutions.yaml index 002217158..9e052406d 100644 --- a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsuiteexecutions.yaml +++ b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsuiteexecutions.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.8.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "testsuiteexecutions.tests.testkube.io" spec: group: "tests.testkube.io" @@ -19,10 +19,10 @@ spec: description: "TestSuiteExecution is the Schema for the testsuiteexecutions API" properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -140,7 +140,7 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -148,8 +148,9 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" fieldRef: - description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." + description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -160,8 +161,9 @@ spec: required: - "fieldPath" type: "object" + x-kubernetes-map-type: "atomic" resourceFieldRef: - description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." + description: "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." properties: containerName: description: "Container name: required for volumes, optional for env vars" @@ -179,6 +181,7 @@ spec: required: - "resource" type: "object" + x-kubernetes-map-type: "atomic" secretKeyRef: description: "Selects a key of a secret in the pod's namespace" properties: @@ -186,7 +189,7 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -194,6 +197,7 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" type: "object" type: "object" type: "object" @@ -220,7 +224,7 @@ spec: format: "int64" type: "integer" latestExecution: - description: "INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run \"make\" to regenerate code after modifying this file" + description: "INSERT ADDITIONAL STATUS FIELD - define observed state of cluster\nImportant: Run \"make\" to regenerate code after modifying this file" properties: duration: description: "test duration" @@ -236,7 +240,7 @@ spec: envs: additionalProperties: type: "string" - description: "Environment variables passed to executor. Deprecated: use Basic Variables instead" + description: "Environment variables passed to executor.\nDeprecated: use Basic Variables instead" type: "object" executeStepResults: description: "batch steps execution results" @@ -288,6 +292,9 @@ spec: sharedBetweenPods: description: "whether to share volume between pods" type: "boolean" + sidecarScraper: + description: "run scraper as pod sidecar container" + type: "boolean" storageBucket: description: "artifact bucket storage" type: "string" @@ -408,7 +415,7 @@ spec: envs: additionalProperties: type: "string" - description: "Environment variables passed to executor. Deprecated: use Basic Variables instead" + description: "Environment variables passed to executor.\nDeprecated: use Basic Variables instead" type: "object" executePostRunScriptBeforeScraping: description: "execute post run script before scraping (prebuilt executor only)" @@ -602,7 +609,7 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -610,8 +617,9 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" fieldRef: - description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." + description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -622,8 +630,9 @@ spec: required: - "fieldPath" type: "object" + x-kubernetes-map-type: "atomic" resourceFieldRef: - description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." + description: "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." properties: containerName: description: "Container name: required for volumes, optional for env vars" @@ -641,6 +650,7 @@ spec: required: - "resource" type: "object" + x-kubernetes-map-type: "atomic" secretKeyRef: description: "Selects a key of a secret in the pod's namespace" properties: @@ -648,7 +658,7 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -656,6 +666,7 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" type: "object" type: "object" type: "object" @@ -797,6 +808,9 @@ spec: sharedBetweenPods: description: "whether to share volume between pods" type: "boolean" + sidecarScraper: + description: "run scraper as pod sidecar container" + type: "boolean" storageBucket: description: "artifact bucket storage" type: "string" @@ -917,7 +931,7 @@ spec: envs: additionalProperties: type: "string" - description: "Environment variables passed to executor. Deprecated: use Basic Variables instead" + description: "Environment variables passed to executor.\nDeprecated: use Basic Variables instead" type: "object" executePostRunScriptBeforeScraping: description: "execute post run script before scraping (prebuilt executor only)" @@ -1111,7 +1125,7 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1119,8 +1133,9 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" fieldRef: - description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." + description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -1131,8 +1146,9 @@ spec: required: - "fieldPath" type: "object" + x-kubernetes-map-type: "atomic" resourceFieldRef: - description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." + description: "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." properties: containerName: description: "Container name: required for volumes, optional for env vars" @@ -1150,6 +1166,7 @@ spec: required: - "resource" type: "object" + x-kubernetes-map-type: "atomic" secretKeyRef: description: "Selects a key of a secret in the pod's namespace" properties: @@ -1157,7 +1174,7 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1165,6 +1182,7 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" type: "object" type: "object" type: "object" @@ -1248,7 +1266,7 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1256,8 +1274,9 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" fieldRef: - description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." + description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -1268,8 +1287,9 @@ spec: required: - "fieldPath" type: "object" + x-kubernetes-map-type: "atomic" resourceFieldRef: - description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." + description: "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." properties: containerName: description: "Container name: required for volumes, optional for env vars" @@ -1287,6 +1307,7 @@ spec: required: - "resource" type: "object" + x-kubernetes-map-type: "atomic" secretKeyRef: description: "Selects a key of a secret in the pod's namespace" properties: @@ -1294,7 +1315,7 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1302,6 +1323,7 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" type: "object" type: "object" type: "object" @@ -1316,9 +1338,3 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsuites.yaml b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsuites.yaml index d5888f720..da5f01029 100644 --- a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsuites.yaml +++ b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsuites.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.8.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "testsuites.tests.testkube.io" spec: group: "tests.testkube.io" @@ -19,10 +19,10 @@ spec: description: "TestSuite is the Schema for the testsuites API" properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -144,7 +144,7 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -152,8 +152,9 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" fieldRef: - description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." + description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -164,8 +165,9 @@ spec: required: - "fieldPath" type: "object" + x-kubernetes-map-type: "atomic" resourceFieldRef: - description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." + description: "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." properties: containerName: description: "Container name: required for volumes, optional for env vars" @@ -183,6 +185,7 @@ spec: required: - "resource" type: "object" + x-kubernetes-map-type: "atomic" secretKeyRef: description: "Selects a key of a secret in the pod's namespace" properties: @@ -190,7 +193,7 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -198,6 +201,7 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" type: "object" type: "object" description: "Variables are new params with secrets attached" @@ -211,9 +215,3 @@ spec: storage: false subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testtriggers.yaml b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testtriggers.yaml index eb95b17be..95740c2eb 100644 --- a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testtriggers.yaml +++ b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testtriggers.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.8.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "testtriggers.tests.testkube.io" spec: group: "tests.testkube.io" @@ -32,10 +32,10 @@ spec: description: "TestTrigger is the Schema for the testtriggers API" properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -191,16 +191,16 @@ spec: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" @@ -212,9 +212,10 @@ spec: matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" name: description: "Name selector is used to identify a Kubernetes Object based on the metadata name" type: "string" @@ -234,16 +235,16 @@ spec: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" @@ -255,9 +256,10 @@ spec: matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" + x-kubernetes-map-type: "atomic" name: description: "Name selector is used to identify a Kubernetes Object based on the metadata name" type: "string" @@ -284,9 +286,3 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v2/scripts.yaml b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v2/scripts.yaml index 2b80a7e18..bebed1b92 100644 --- a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v2/scripts.yaml +++ b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v2/scripts.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.8.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "scripts.tests.testkube.io" spec: group: "tests.testkube.io" @@ -19,10 +19,10 @@ spec: description: "Script is the Schema for the scripts API" properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -99,9 +99,3 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v2/tests.yaml b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v2/tests.yaml index b19d50afe..4172aa4c7 100644 --- a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v2/tests.yaml +++ b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v2/tests.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.8.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "tests.tests.testkube.io" spec: group: "tests.testkube.io" @@ -19,10 +19,10 @@ spec: description: "Test is the Schema for the tests API" properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -111,7 +111,7 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -119,8 +119,9 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" fieldRef: - description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." + description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -131,8 +132,9 @@ spec: required: - "fieldPath" type: "object" + x-kubernetes-map-type: "atomic" resourceFieldRef: - description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." + description: "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." properties: containerName: description: "Container name: required for volumes, optional for env vars" @@ -150,6 +152,7 @@ spec: required: - "resource" type: "object" + x-kubernetes-map-type: "atomic" secretKeyRef: description: "Selects a key of a secret in the pod's namespace" properties: @@ -157,7 +160,7 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -165,6 +168,7 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" type: "object" type: "object" description: "Variables are new params with secrets attached" @@ -184,9 +188,3 @@ spec: storage: false subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v2/testsuites.yaml b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v2/testsuites.yaml index bf191b8a4..76e07f20a 100644 --- a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v2/testsuites.yaml +++ b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v2/testsuites.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.8.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "testsuites.tests.testkube.io" spec: group: "tests.testkube.io" @@ -19,10 +19,10 @@ spec: description: "TestSuite is the Schema for the testsuites API" properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -153,7 +153,7 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -161,8 +161,9 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" fieldRef: - description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." + description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -173,8 +174,9 @@ spec: required: - "fieldPath" type: "object" + x-kubernetes-map-type: "atomic" resourceFieldRef: - description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." + description: "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." properties: containerName: description: "Container name: required for volumes, optional for env vars" @@ -192,6 +194,7 @@ spec: required: - "resource" type: "object" + x-kubernetes-map-type: "atomic" secretKeyRef: description: "Selects a key of a secret in the pod's namespace" properties: @@ -199,7 +202,7 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -207,6 +210,7 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" type: "object" type: "object" type: "object" @@ -282,9 +286,3 @@ spec: storage: false subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v3/tests.yaml b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v3/tests.yaml index 79fa00c91..520ccd631 100644 --- a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v3/tests.yaml +++ b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v3/tests.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.8.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "tests.tests.testkube.io" spec: group: "tests.testkube.io" @@ -26,10 +26,10 @@ spec: description: "Test is the Schema for the tests API" properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -119,7 +119,7 @@ spec: description: "test execution request body" properties: activeDeadlineSeconds: - description: "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer." + description: "Optional duration in seconds the pod may be active on the node relative to\nStartTime before the system will actively try to mark it failed and kill associated containers.\nValue must be a positive integer." format: "int64" type: "integer" args: @@ -153,6 +153,9 @@ spec: sharedBetweenPods: description: "whether to share volume between pods" type: "boolean" + sidecarScraper: + description: "run scraper as pod sidecar container" + type: "boolean" storageBucket: description: "artifact bucket storage" type: "string" @@ -192,12 +195,13 @@ spec: description: "where we shoud mount resource" type: "string" reference: - description: "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" type: "object" + x-kubernetes-map-type: "atomic" required: - "reference" type: "object" @@ -217,12 +221,13 @@ spec: description: "where we shoud mount resource" type: "string" reference: - description: "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" type: "object" + x-kubernetes-map-type: "atomic" required: - "reference" type: "object" @@ -230,7 +235,7 @@ spec: envs: additionalProperties: type: "string" - description: "Environment variables passed to executor. Deprecated: use Basic Variables instead" + description: "Environment variables passed to executor.\nDeprecated: use Basic Variables instead" type: "object" executePostRunScriptBeforeScraping: description: "execute post run script before scraping (prebuilt executor only)" @@ -255,12 +260,13 @@ spec: imagePullSecrets: description: "container executor image pull secrets" items: - description: "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" type: "object" + x-kubernetes-map-type: "atomic" type: "array" isVariablesFileUploaded: type: "boolean" @@ -304,7 +310,7 @@ spec: secretEnvs: additionalProperties: type: "string" - description: "Execution variables passed to executor from secrets. Deprecated: use Secret Variables instead" + description: "Execution variables passed to executor from secrets.\nDeprecated: use Secret Variables instead" type: "object" slavePodRequest: description: "pod request body" @@ -377,7 +383,7 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -385,8 +391,9 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" fieldRef: - description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." + description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -397,8 +404,9 @@ spec: required: - "fieldPath" type: "object" + x-kubernetes-map-type: "atomic" resourceFieldRef: - description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." + description: "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." properties: containerName: description: "Container name: required for volumes, optional for env vars" @@ -416,6 +424,7 @@ spec: required: - "resource" type: "object" + x-kubernetes-map-type: "atomic" secretKeyRef: description: "Selects a key of a secret in the pod's namespace" properties: @@ -423,7 +432,7 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -431,6 +440,7 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" type: "object" type: "object" type: "object" @@ -493,9 +503,3 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v3/testsuites.yaml b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v3/testsuites.yaml index d671fe219..2f53c1d4d 100644 --- a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v3/testsuites.yaml +++ b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v3/testsuites.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.8.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "testsuites.tests.testkube.io" spec: group: "tests.testkube.io" @@ -19,10 +19,10 @@ spec: description: "TestSuite is the Schema for the testsuites API" properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -60,7 +60,7 @@ spec: format: "duration" type: "string" executionRequest: - description: "TestSuiteStepExecutionRequest contains parameters to be used by the executions. These fields will be passed to the execution when a Test Suite is queued for execution. TestSuiteStepExecutionRequest parameters have the highest priority. They override the values coming from Test Suites, Tests, and Test Executions." + description: "TestSuiteStepExecutionRequest contains parameters to be used by the executions.\nThese fields will be passed to the execution when a Test Suite is queued for execution.\nTestSuiteStepExecutionRequest parameters have the highest priority. They override the\nvalues coming from Test Suites, Tests, and Test Executions." properties: args: description: "additional executor binary arguments" @@ -154,7 +154,7 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -162,8 +162,9 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" fieldRef: - description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." + description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -174,8 +175,9 @@ spec: required: - "fieldPath" type: "object" + x-kubernetes-map-type: "atomic" resourceFieldRef: - description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." + description: "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." properties: containerName: description: "Container name: required for volumes, optional for env vars" @@ -193,6 +195,7 @@ spec: required: - "resource" type: "object" + x-kubernetes-map-type: "atomic" secretKeyRef: description: "Selects a key of a secret in the pod's namespace" properties: @@ -200,7 +203,7 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -208,6 +211,7 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" type: "object" type: "object" type: "object" @@ -254,7 +258,7 @@ spec: format: "duration" type: "string" executionRequest: - description: "TestSuiteStepExecutionRequest contains parameters to be used by the executions. These fields will be passed to the execution when a Test Suite is queued for execution. TestSuiteStepExecutionRequest parameters have the highest priority. They override the values coming from Test Suites, Tests, and Test Executions." + description: "TestSuiteStepExecutionRequest contains parameters to be used by the executions.\nThese fields will be passed to the execution when a Test Suite is queued for execution.\nTestSuiteStepExecutionRequest parameters have the highest priority. They override the\nvalues coming from Test Suites, Tests, and Test Executions." properties: args: description: "additional executor binary arguments" @@ -348,7 +352,7 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -356,8 +360,9 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" fieldRef: - description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." + description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -368,8 +373,9 @@ spec: required: - "fieldPath" type: "object" + x-kubernetes-map-type: "atomic" resourceFieldRef: - description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." + description: "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." properties: containerName: description: "Container name: required for volumes, optional for env vars" @@ -387,6 +393,7 @@ spec: required: - "resource" type: "object" + x-kubernetes-map-type: "atomic" secretKeyRef: description: "Selects a key of a secret in the pod's namespace" properties: @@ -394,7 +401,7 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -402,6 +409,7 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" type: "object" type: "object" type: "object" @@ -500,7 +508,7 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -508,8 +516,9 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" fieldRef: - description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." + description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -520,8 +529,9 @@ spec: required: - "fieldPath" type: "object" + x-kubernetes-map-type: "atomic" resourceFieldRef: - description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." + description: "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." properties: containerName: description: "Container name: required for volumes, optional for env vars" @@ -539,6 +549,7 @@ spec: required: - "resource" type: "object" + x-kubernetes-map-type: "atomic" secretKeyRef: description: "Selects a key of a secret in the pod's namespace" properties: @@ -546,7 +557,7 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -554,6 +565,7 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" type: "object" type: "object" type: "object" @@ -594,7 +606,7 @@ spec: format: "duration" type: "string" executionRequest: - description: "TestSuiteStepExecutionRequest contains parameters to be used by the executions. These fields will be passed to the execution when a Test Suite is queued for execution. TestSuiteStepExecutionRequest parameters have the highest priority. They override the values coming from Test Suites, Tests, and Test Executions." + description: "TestSuiteStepExecutionRequest contains parameters to be used by the executions.\nThese fields will be passed to the execution when a Test Suite is queued for execution.\nTestSuiteStepExecutionRequest parameters have the highest priority. They override the\nvalues coming from Test Suites, Tests, and Test Executions." properties: args: description: "additional executor binary arguments" @@ -688,7 +700,7 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -696,8 +708,9 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" fieldRef: - description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." + description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -708,8 +721,9 @@ spec: required: - "fieldPath" type: "object" + x-kubernetes-map-type: "atomic" resourceFieldRef: - description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." + description: "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." properties: containerName: description: "Container name: required for volumes, optional for env vars" @@ -727,6 +741,7 @@ spec: required: - "resource" type: "object" + x-kubernetes-map-type: "atomic" secretKeyRef: description: "Selects a key of a secret in the pod's namespace" properties: @@ -734,7 +749,7 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -742,6 +757,7 @@ spec: required: - "key" type: "object" + x-kubernetes-map-type: "atomic" type: "object" type: "object" type: "object" @@ -784,9 +800,3 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/crd-catalog/kyverno/chainsaw/chainsaw.kyverno.io/v1alpha1/configurations.yaml b/crd-catalog/kyverno/chainsaw/chainsaw.kyverno.io/v1alpha1/configurations.yaml index c53553f9c..99d1e33ce 100644 --- a/crd-catalog/kyverno/chainsaw/chainsaw.kyverno.io/v1alpha1/configurations.yaml +++ b/crd-catalog/kyverno/chainsaw/chainsaw.kyverno.io/v1alpha1/configurations.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "configurations.chainsaw.kyverno.io" spec: group: "chainsaw.kyverno.io" @@ -169,6 +169,13 @@ spec: type: "object" description: "Clusters holds a registry to clusters to support multi-cluster tests." type: "object" + deletionPropagationPolicy: + description: "DeletionPropagationPolicy decides if a deletion will propagate to the dependents of\nthe object, and how the garbage collector will handle the propagation.\nOverrides the deletion propagation policy set in the Configuration, the Test and the TestStep." + enum: + - "Orphan" + - "Background" + - "Foreground" + type: "string" expect: description: "Expect defines a list of matched checks to validate the operation outcome." items: @@ -186,8 +193,11 @@ spec: - "check" type: "object" type: "array" + file: + description: "File is the path to the referenced file. This can be a direct path to a file\nor an expression that matches multiple files, such as \"manifest/*.yaml\" for all YAML\nfiles within the \"manifest\" directory." + type: "string" ref: - description: "ObjectReference determines objects to be deleted." + description: "Ref determines objects to be deleted." properties: apiVersion: description: "API version of the referent." @@ -216,8 +226,6 @@ spec: timeout: description: "Timeout for the operation. Overrides the global timeout set in the Configuration." type: "string" - required: - - "ref" type: "object" describe: description: "Describe determines the resource describe collector to execute." @@ -252,9 +260,6 @@ spec: namespace: description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" - resource: - description: "Resource name of the referent." - type: "string" selector: description: "Selector defines labels selector." type: "string" @@ -264,6 +269,9 @@ spec: timeout: description: "Timeout for the operation. Overrides the global timeout set in the Configuration." type: "string" + required: + - "apiVersion" + - "kind" type: "object" description: description: "Description contains a description of the operation." @@ -343,15 +351,15 @@ spec: namespace: description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" - resource: - description: "Resource name of the referent." - type: "string" selector: description: "Selector defines labels selector." type: "string" timeout: description: "Timeout for the operation. Overrides the global timeout set in the Configuration." type: "string" + required: + - "apiVersion" + - "kind" type: "object" podLogs: description: "PodLogs determines the pod logs collector to execute." @@ -561,9 +569,6 @@ spec: namespace: description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" - resource: - description: "Resource name of the referent." - type: "string" selector: description: "Selector defines labels selector." type: "string" @@ -571,7 +576,9 @@ spec: description: "Timeout for the operation. Specifies how long to wait for the condition to be met before timing out." type: "string" required: + - "apiVersion" - "for" + - "kind" type: "object" type: "object" type: "array" @@ -593,6 +600,14 @@ spec: delayBeforeCleanup: description: "DelayBeforeCleanup adds a delay between the time a test ends and the time cleanup starts." type: "string" + deletionPropagationPolicy: + default: "Background" + description: "DeletionPropagationPolicy decides if a deletion will propagate to the dependents of\nthe object, and how the garbage collector will handle the propagation." + enum: + - "Orphan" + - "Background" + - "Foreground" + type: "string" excludeTestRegex: description: "ExcludeTestRegex is used to exclude tests based on a regular expression." type: "string" diff --git a/crd-catalog/kyverno/chainsaw/chainsaw.kyverno.io/v1alpha1/tests.yaml b/crd-catalog/kyverno/chainsaw/chainsaw.kyverno.io/v1alpha1/tests.yaml index a443dc04b..34e5e7f2e 100644 --- a/crd-catalog/kyverno/chainsaw/chainsaw.kyverno.io/v1alpha1/tests.yaml +++ b/crd-catalog/kyverno/chainsaw/chainsaw.kyverno.io/v1alpha1/tests.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "tests.chainsaw.kyverno.io" spec: group: "chainsaw.kyverno.io" @@ -186,6 +186,13 @@ spec: type: "object" description: "Clusters holds a registry to clusters to support multi-cluster tests." type: "object" + deletionPropagationPolicy: + description: "DeletionPropagationPolicy decides if a deletion will propagate to the dependents of\nthe object, and how the garbage collector will handle the propagation.\nOverrides the deletion propagation policy set in the Configuration, the Test and the TestStep." + enum: + - "Orphan" + - "Background" + - "Foreground" + type: "string" expect: description: "Expect defines a list of matched checks to validate the operation outcome." items: @@ -203,8 +210,11 @@ spec: - "check" type: "object" type: "array" + file: + description: "File is the path to the referenced file. This can be a direct path to a file\nor an expression that matches multiple files, such as \"manifest/*.yaml\" for all YAML\nfiles within the \"manifest\" directory." + type: "string" ref: - description: "ObjectReference determines objects to be deleted." + description: "Ref determines objects to be deleted." properties: apiVersion: description: "API version of the referent." @@ -233,8 +243,6 @@ spec: timeout: description: "Timeout for the operation. Overrides the global timeout set in the Configuration." type: "string" - required: - - "ref" type: "object" describe: description: "Describe determines the resource describe collector to execute." @@ -269,9 +277,6 @@ spec: namespace: description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" - resource: - description: "Resource name of the referent." - type: "string" selector: description: "Selector defines labels selector." type: "string" @@ -281,6 +286,9 @@ spec: timeout: description: "Timeout for the operation. Overrides the global timeout set in the Configuration." type: "string" + required: + - "apiVersion" + - "kind" type: "object" description: description: "Description contains a description of the operation." @@ -360,15 +368,15 @@ spec: namespace: description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" - resource: - description: "Resource name of the referent." - type: "string" selector: description: "Selector defines labels selector." type: "string" timeout: description: "Timeout for the operation. Overrides the global timeout set in the Configuration." type: "string" + required: + - "apiVersion" + - "kind" type: "object" podLogs: description: "PodLogs determines the pod logs collector to execute." @@ -444,223 +452,782 @@ spec: context: description: "Context is the name of the context to use." type: "string" - kubeconfig: - description: "Kubeconfig is the path to the referenced file." + kubeconfig: + description: "Kubeconfig is the path to the referenced file." + type: "string" + required: + - "kubeconfig" + type: "object" + description: "Clusters holds a registry to clusters to support multi-cluster tests." + type: "object" + content: + description: "Content defines a shell script (run with \"sh -c ...\")." + type: "string" + env: + description: "Env defines additional environment variables." + items: + description: "Binding represents a key/value set as a binding in an executing test." + properties: + name: + description: "Name the name of the binding." + pattern: "^(?:\\w+|\\(.+\\))$" + type: "string" + value: + description: "Value value of the binding." + x-kubernetes-preserve-unknown-fields: true + required: + - "name" + - "value" + type: "object" + type: "array" + outputs: + description: "Outputs defines output bindings." + items: + description: "Output represents an output binding with a match to determine if the binding must be considered or not." + properties: + match: + description: "Match defines the matching statement." + type: "object" + x-kubernetes-preserve-unknown-fields: true + name: + description: "Name the name of the binding." + pattern: "^(?:\\w+|\\(.+\\))$" + type: "string" + value: + description: "Value value of the binding." + x-kubernetes-preserve-unknown-fields: true + required: + - "name" + - "value" + type: "object" + type: "array" + skipLogOutput: + description: "SkipLogOutput removes the output from the command. Useful for sensitive logs or to reduce noise." + type: "boolean" + timeout: + description: "Timeout for the operation. Overrides the global timeout set in the Configuration." + type: "string" + type: "object" + sleep: + description: "Sleep defines zzzz." + properties: + duration: + description: "Duration is the delay used for sleeping." + type: "string" + required: + - "duration" + type: "object" + wait: + description: "Wait determines the resource wait collector to execute." + properties: + apiVersion: + description: "API version of the referent." + type: "string" + cluster: + description: "Cluster defines the target cluster where the wait operation will be performed (default cluster will be used if not specified)." + type: "string" + clusters: + additionalProperties: + description: "Cluster defines cluster config and context." + properties: + context: + description: "Context is the name of the context to use." + type: "string" + kubeconfig: + description: "Kubeconfig is the path to the referenced file." + type: "string" + required: + - "kubeconfig" + type: "object" + description: "Clusters holds a registry to clusters to support multi-cluster tests." + type: "object" + for: + description: "For specifies the condition to wait for." + properties: + condition: + description: "Condition specifies the condition to wait for." + properties: + name: + description: "Name defines the specific condition to wait for, e.g., \"Available\", \"Ready\"." + type: "string" + value: + description: "Value defines the specific condition status to wait for, e.g., \"True\", \"False\"." + type: "string" + required: + - "name" + type: "object" + deletion: + description: "Deletion specifies parameters for waiting on a resource's deletion." + type: "object" + jsonPath: + description: "JsonPath specifies the json path condition to wait for." + properties: + path: + description: "Path defines the json path to wait for, e.g. '{.status.phase}'." + type: "string" + value: + description: "Value defines the expected value to wait for, e.g., \"Running\"." + type: "string" + required: + - "path" + - "value" + type: "object" + type: "object" + format: + description: "Format determines the output format (json or yaml)." + pattern: "^(?:json|yaml|\\(.+\\))$" + type: "string" + kind: + description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + type: "string" + name: + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + type: "string" + namespace: + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + type: "string" + selector: + description: "Selector defines labels selector." + type: "string" + timeout: + description: "Timeout for the operation. Specifies how long to wait for the condition to be met before timing out." + type: "string" + required: + - "apiVersion" + - "for" + - "kind" + type: "object" + type: "object" + type: "array" + cluster: + description: "Cluster defines the target cluster (default cluster will be used if not specified and/or overridden)." + type: "string" + clusters: + additionalProperties: + description: "Cluster defines cluster config and context." + properties: + context: + description: "Context is the name of the context to use." + type: "string" + kubeconfig: + description: "Kubeconfig is the path to the referenced file." + type: "string" + required: + - "kubeconfig" + type: "object" + description: "Clusters holds a registry to clusters to support multi-cluster tests." + type: "object" + concurrent: + description: "Concurrent determines whether the test should run concurrently with other tests." + type: "boolean" + delayBeforeCleanup: + description: "DelayBeforeCleanup adds a delay between the time a test ends and the time cleanup starts." + type: "string" + deletionPropagationPolicy: + description: "DeletionPropagationPolicy decides if a deletion will propagate to the dependents of\nthe object, and how the garbage collector will handle the propagation.\nOverrides the deletion propagation policy set in the Configuration." + enum: + - "Orphan" + - "Background" + - "Foreground" + type: "string" + description: + description: "Description contains a description of the test." + type: "string" + forceTerminationGracePeriod: + description: "ForceTerminationGracePeriod forces the termination grace period on pods, statefulsets, daemonsets and deployments." + type: "string" + namespace: + description: "Namespace determines whether the test should run in a random ephemeral namespace or not." + type: "string" + namespaceTemplate: + description: "NamespaceTemplate defines a template to create the test namespace." + type: "object" + x-kubernetes-preserve-unknown-fields: true + skip: + description: "Skip determines whether the test should skipped." + type: "boolean" + skipDelete: + description: "SkipDelete determines whether the resources created by the test should be deleted after the test is executed." + type: "boolean" + steps: + description: "Steps defining the test." + items: + description: "TestStep contains the test step definition used in a test spec." + properties: + bindings: + description: "Bindings defines additional binding key/values." + items: + description: "Binding represents a key/value set as a binding in an executing test." + properties: + name: + description: "Name the name of the binding." + pattern: "^(?:\\w+|\\(.+\\))$" + type: "string" + value: + description: "Value value of the binding." + x-kubernetes-preserve-unknown-fields: true + required: + - "name" + - "value" + type: "object" + type: "array" + catch: + description: "Catch defines what the step will execute when an error happens." + items: + description: "Catch defines actions to be executed on failure." + properties: + command: + description: "Command defines a command to run." + properties: + args: + description: "Args is the command arguments." + items: + type: "string" + type: "array" + bindings: + description: "Bindings defines additional binding key/values." + items: + description: "Binding represents a key/value set as a binding in an executing test." + properties: + name: + description: "Name the name of the binding." + pattern: "^(?:\\w+|\\(.+\\))$" + type: "string" + value: + description: "Value value of the binding." + x-kubernetes-preserve-unknown-fields: true + required: + - "name" + - "value" + type: "object" + type: "array" + check: + description: "Check is an assertion tree to validate the operation outcome." + type: "object" + x-kubernetes-preserve-unknown-fields: true + cluster: + description: "Cluster defines the target cluster (default cluster will be used if not specified and/or overridden)." + type: "string" + clusters: + additionalProperties: + description: "Cluster defines cluster config and context." + properties: + context: + description: "Context is the name of the context to use." + type: "string" + kubeconfig: + description: "Kubeconfig is the path to the referenced file." + type: "string" + required: + - "kubeconfig" + type: "object" + description: "Clusters holds a registry to clusters to support multi-cluster tests." + type: "object" + entrypoint: + description: "Entrypoint is the command entry point to run." + type: "string" + env: + description: "Env defines additional environment variables." + items: + description: "Binding represents a key/value set as a binding in an executing test." + properties: + name: + description: "Name the name of the binding." + pattern: "^(?:\\w+|\\(.+\\))$" + type: "string" + value: + description: "Value value of the binding." + x-kubernetes-preserve-unknown-fields: true + required: + - "name" + - "value" + type: "object" + type: "array" + outputs: + description: "Outputs defines output bindings." + items: + description: "Output represents an output binding with a match to determine if the binding must be considered or not." + properties: + match: + description: "Match defines the matching statement." + type: "object" + x-kubernetes-preserve-unknown-fields: true + name: + description: "Name the name of the binding." + pattern: "^(?:\\w+|\\(.+\\))$" + type: "string" + value: + description: "Value value of the binding." + x-kubernetes-preserve-unknown-fields: true + required: + - "name" + - "value" + type: "object" + type: "array" + skipLogOutput: + description: "SkipLogOutput removes the output from the command. Useful for sensitive logs or to reduce noise." + type: "boolean" + timeout: + description: "Timeout for the operation. Overrides the global timeout set in the Configuration." + type: "string" + required: + - "entrypoint" + type: "object" + delete: + description: "Delete represents a deletion operation." + properties: + bindings: + description: "Bindings defines additional binding key/values." + items: + description: "Binding represents a key/value set as a binding in an executing test." + properties: + name: + description: "Name the name of the binding." + pattern: "^(?:\\w+|\\(.+\\))$" + type: "string" + value: + description: "Value value of the binding." + x-kubernetes-preserve-unknown-fields: true + required: + - "name" + - "value" + type: "object" + type: "array" + cluster: + description: "Cluster defines the target cluster (default cluster will be used if not specified and/or overridden)." + type: "string" + clusters: + additionalProperties: + description: "Cluster defines cluster config and context." + properties: + context: + description: "Context is the name of the context to use." + type: "string" + kubeconfig: + description: "Kubeconfig is the path to the referenced file." + type: "string" + required: + - "kubeconfig" + type: "object" + description: "Clusters holds a registry to clusters to support multi-cluster tests." + type: "object" + deletionPropagationPolicy: + description: "DeletionPropagationPolicy decides if a deletion will propagate to the dependents of\nthe object, and how the garbage collector will handle the propagation.\nOverrides the deletion propagation policy set in the Configuration, the Test and the TestStep." + enum: + - "Orphan" + - "Background" + - "Foreground" + type: "string" + expect: + description: "Expect defines a list of matched checks to validate the operation outcome." + items: + description: "Expectation represents a check to be applied on the result of an operation\nwith a match filter to determine if the verification should be considered." + properties: + check: + description: "Check defines the verification statement." + type: "object" + x-kubernetes-preserve-unknown-fields: true + match: + description: "Match defines the matching statement." + type: "object" + x-kubernetes-preserve-unknown-fields: true + required: + - "check" + type: "object" + type: "array" + file: + description: "File is the path to the referenced file. This can be a direct path to a file\nor an expression that matches multiple files, such as \"manifest/*.yaml\" for all YAML\nfiles within the \"manifest\" directory." + type: "string" + ref: + description: "Ref determines objects to be deleted." + properties: + apiVersion: + description: "API version of the referent." + type: "string" + kind: + description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + type: "string" + labels: + additionalProperties: + type: "string" + description: "Label selector to match objects to delete" + type: "object" + name: + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + type: "string" + namespace: + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + type: "string" + required: + - "apiVersion" + - "kind" + type: "object" + template: + description: "Template determines whether resources should be considered for templating." + type: "boolean" + timeout: + description: "Timeout for the operation. Overrides the global timeout set in the Configuration." + type: "string" + type: "object" + describe: + description: "Describe determines the resource describe collector to execute." + properties: + apiVersion: + description: "API version of the referent." + type: "string" + cluster: + description: "Cluster defines the target cluster (default cluster will be used if not specified and/or overridden)." + type: "string" + clusters: + additionalProperties: + description: "Cluster defines cluster config and context." + properties: + context: + description: "Context is the name of the context to use." + type: "string" + kubeconfig: + description: "Kubeconfig is the path to the referenced file." + type: "string" + required: + - "kubeconfig" + type: "object" + description: "Clusters holds a registry to clusters to support multi-cluster tests." + type: "object" + kind: + description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + type: "string" + name: + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + type: "string" + namespace: + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + type: "string" + selector: + description: "Selector defines labels selector." + type: "string" + showEvents: + description: "Show Events indicates whether to include related events." + type: "boolean" + timeout: + description: "Timeout for the operation. Overrides the global timeout set in the Configuration." + type: "string" + required: + - "apiVersion" + - "kind" + type: "object" + description: + description: "Description contains a description of the operation." + type: "string" + events: + description: "Events determines the events collector to execute." + properties: + cluster: + description: "Cluster defines the target cluster (default cluster will be used if not specified and/or overridden)." + type: "string" + clusters: + additionalProperties: + description: "Cluster defines cluster config and context." + properties: + context: + description: "Context is the name of the context to use." + type: "string" + kubeconfig: + description: "Kubeconfig is the path to the referenced file." + type: "string" + required: + - "kubeconfig" + type: "object" + description: "Clusters holds a registry to clusters to support multi-cluster tests." + type: "object" + format: + description: "Format determines the output format (json or yaml)." + pattern: "^(?:json|yaml|\\(.+\\))$" + type: "string" + name: + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + type: "string" + namespace: + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + type: "string" + selector: + description: "Selector defines labels selector." + type: "string" + timeout: + description: "Timeout for the operation. Overrides the global timeout set in the Configuration." + type: "string" + type: "object" + get: + description: "Get determines the resource get collector to execute." + properties: + apiVersion: + description: "API version of the referent." + type: "string" + cluster: + description: "Cluster defines the target cluster (default cluster will be used if not specified and/or overridden)." + type: "string" + clusters: + additionalProperties: + description: "Cluster defines cluster config and context." + properties: + context: + description: "Context is the name of the context to use." + type: "string" + kubeconfig: + description: "Kubeconfig is the path to the referenced file." + type: "string" + required: + - "kubeconfig" + type: "object" + description: "Clusters holds a registry to clusters to support multi-cluster tests." + type: "object" + format: + description: "Format determines the output format (json or yaml)." + pattern: "^(?:json|yaml|\\(.+\\))$" + type: "string" + kind: + description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + type: "string" + name: + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + type: "string" + namespace: + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + type: "string" + selector: + description: "Selector defines labels selector." + type: "string" + timeout: + description: "Timeout for the operation. Overrides the global timeout set in the Configuration." + type: "string" + required: + - "apiVersion" + - "kind" + type: "object" + podLogs: + description: "PodLogs determines the pod logs collector to execute." + properties: + cluster: + description: "Cluster defines the target cluster (default cluster will be used if not specified and/or overridden)." + type: "string" + clusters: + additionalProperties: + description: "Cluster defines cluster config and context." + properties: + context: + description: "Context is the name of the context to use." + type: "string" + kubeconfig: + description: "Kubeconfig is the path to the referenced file." + type: "string" + required: + - "kubeconfig" + type: "object" + description: "Clusters holds a registry to clusters to support multi-cluster tests." + type: "object" + container: + description: "Container in pod to get logs from else --all-containers is used." + type: "string" + name: + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + type: "string" + namespace: + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + type: "string" + selector: + description: "Selector defines labels selector." + type: "string" + tail: + description: "Tail is the number of last lines to collect from pods. If omitted or zero,\nthen the default is 10 if you use a selector, or -1 (all) if you use a pod name.\nThis matches default behavior of `kubectl logs`." + type: "integer" + timeout: + description: "Timeout for the operation. Overrides the global timeout set in the Configuration." + type: "string" + type: "object" + script: + description: "Script defines a script to run." + properties: + bindings: + description: "Bindings defines additional binding key/values." + items: + description: "Binding represents a key/value set as a binding in an executing test." + properties: + name: + description: "Name the name of the binding." + pattern: "^(?:\\w+|\\(.+\\))$" + type: "string" + value: + description: "Value value of the binding." + x-kubernetes-preserve-unknown-fields: true + required: + - "name" + - "value" + type: "object" + type: "array" + check: + description: "Check is an assertion tree to validate the operation outcome." + type: "object" + x-kubernetes-preserve-unknown-fields: true + cluster: + description: "Cluster defines the target cluster (default cluster will be used if not specified and/or overridden)." + type: "string" + clusters: + additionalProperties: + description: "Cluster defines cluster config and context." + properties: + context: + description: "Context is the name of the context to use." + type: "string" + kubeconfig: + description: "Kubeconfig is the path to the referenced file." + type: "string" + required: + - "kubeconfig" + type: "object" + description: "Clusters holds a registry to clusters to support multi-cluster tests." + type: "object" + content: + description: "Content defines a shell script (run with \"sh -c ...\")." + type: "string" + env: + description: "Env defines additional environment variables." + items: + description: "Binding represents a key/value set as a binding in an executing test." + properties: + name: + description: "Name the name of the binding." + pattern: "^(?:\\w+|\\(.+\\))$" + type: "string" + value: + description: "Value value of the binding." + x-kubernetes-preserve-unknown-fields: true + required: + - "name" + - "value" + type: "object" + type: "array" + outputs: + description: "Outputs defines output bindings." + items: + description: "Output represents an output binding with a match to determine if the binding must be considered or not." + properties: + match: + description: "Match defines the matching statement." + type: "object" + x-kubernetes-preserve-unknown-fields: true + name: + description: "Name the name of the binding." + pattern: "^(?:\\w+|\\(.+\\))$" + type: "string" + value: + description: "Value value of the binding." + x-kubernetes-preserve-unknown-fields: true + required: + - "name" + - "value" + type: "object" + type: "array" + skipLogOutput: + description: "SkipLogOutput removes the output from the command. Useful for sensitive logs or to reduce noise." + type: "boolean" + timeout: + description: "Timeout for the operation. Overrides the global timeout set in the Configuration." + type: "string" + type: "object" + sleep: + description: "Sleep defines zzzz." + properties: + duration: + description: "Duration is the delay used for sleeping." + type: "string" + required: + - "duration" + type: "object" + wait: + description: "Wait determines the resource wait collector to execute." + properties: + apiVersion: + description: "API version of the referent." + type: "string" + cluster: + description: "Cluster defines the target cluster where the wait operation will be performed (default cluster will be used if not specified)." + type: "string" + clusters: + additionalProperties: + description: "Cluster defines cluster config and context." + properties: + context: + description: "Context is the name of the context to use." + type: "string" + kubeconfig: + description: "Kubeconfig is the path to the referenced file." + type: "string" + required: + - "kubeconfig" + type: "object" + description: "Clusters holds a registry to clusters to support multi-cluster tests." + type: "object" + for: + description: "For specifies the condition to wait for." + properties: + condition: + description: "Condition specifies the condition to wait for." + properties: + name: + description: "Name defines the specific condition to wait for, e.g., \"Available\", \"Ready\"." + type: "string" + value: + description: "Value defines the specific condition status to wait for, e.g., \"True\", \"False\"." + type: "string" + required: + - "name" + type: "object" + deletion: + description: "Deletion specifies parameters for waiting on a resource's deletion." + type: "object" + jsonPath: + description: "JsonPath specifies the json path condition to wait for." + properties: + path: + description: "Path defines the json path to wait for, e.g. '{.status.phase}'." + type: "string" + value: + description: "Value defines the expected value to wait for, e.g., \"Running\"." + type: "string" + required: + - "path" + - "value" + type: "object" + type: "object" + format: + description: "Format determines the output format (json or yaml)." + pattern: "^(?:json|yaml|\\(.+\\))$" + type: "string" + kind: + description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" - required: - - "kubeconfig" - type: "object" - description: "Clusters holds a registry to clusters to support multi-cluster tests." - type: "object" - content: - description: "Content defines a shell script (run with \"sh -c ...\")." - type: "string" - env: - description: "Env defines additional environment variables." - items: - description: "Binding represents a key/value set as a binding in an executing test." - properties: name: - description: "Name the name of the binding." - pattern: "^(?:\\w+|\\(.+\\))$" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" type: "string" - value: - description: "Value value of the binding." - x-kubernetes-preserve-unknown-fields: true - required: - - "name" - - "value" - type: "object" - type: "array" - outputs: - description: "Outputs defines output bindings." - items: - description: "Output represents an output binding with a match to determine if the binding must be considered or not." - properties: - match: - description: "Match defines the matching statement." - type: "object" - x-kubernetes-preserve-unknown-fields: true - name: - description: "Name the name of the binding." - pattern: "^(?:\\w+|\\(.+\\))$" + namespace: + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" - value: - description: "Value value of the binding." - x-kubernetes-preserve-unknown-fields: true - required: - - "name" - - "value" - type: "object" - type: "array" - skipLogOutput: - description: "SkipLogOutput removes the output from the command. Useful for sensitive logs or to reduce noise." - type: "boolean" - timeout: - description: "Timeout for the operation. Overrides the global timeout set in the Configuration." - type: "string" - type: "object" - sleep: - description: "Sleep defines zzzz." - properties: - duration: - description: "Duration is the delay used for sleeping." - type: "string" - required: - - "duration" - type: "object" - wait: - description: "Wait determines the resource wait collector to execute." - properties: - apiVersion: - description: "API version of the referent." - type: "string" - cluster: - description: "Cluster defines the target cluster where the wait operation will be performed (default cluster will be used if not specified)." - type: "string" - clusters: - additionalProperties: - description: "Cluster defines cluster config and context." - properties: - context: - description: "Context is the name of the context to use." + selector: + description: "Selector defines labels selector." type: "string" - kubeconfig: - description: "Kubeconfig is the path to the referenced file." + timeout: + description: "Timeout for the operation. Specifies how long to wait for the condition to be met before timing out." type: "string" required: - - "kubeconfig" + - "apiVersion" + - "for" + - "kind" type: "object" - description: "Clusters holds a registry to clusters to support multi-cluster tests." - type: "object" - for: - description: "For specifies the condition to wait for." - properties: - condition: - description: "Condition specifies the condition to wait for." - properties: - name: - description: "Name defines the specific condition to wait for, e.g., \"Available\", \"Ready\"." - type: "string" - value: - description: "Value defines the specific condition status to wait for, e.g., \"True\", \"False\"." - type: "string" - required: - - "name" - type: "object" - deletion: - description: "Deletion specifies parameters for waiting on a resource's deletion." - type: "object" - jsonPath: - description: "JsonPath specifies the json path condition to wait for." - properties: - path: - description: "Path defines the json path to wait for, e.g. '{.status.phase}'." - type: "string" - value: - description: "Value defines the expected value to wait for, e.g., \"Running\"." - type: "string" - required: - - "path" - - "value" - type: "object" - type: "object" - format: - description: "Format determines the output format (json or yaml)." - pattern: "^(?:json|yaml|\\(.+\\))$" - type: "string" - kind: - description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - type: "string" - name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" - type: "string" - namespace: - description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" - type: "string" - resource: - description: "Resource name of the referent." - type: "string" - selector: - description: "Selector defines labels selector." - type: "string" - timeout: - description: "Timeout for the operation. Specifies how long to wait for the condition to be met before timing out." - type: "string" - required: - - "for" - type: "object" - type: "object" - type: "array" - cluster: - description: "Cluster defines the target cluster (default cluster will be used if not specified and/or overridden)." - type: "string" - clusters: - additionalProperties: - description: "Cluster defines cluster config and context." - properties: - context: - description: "Context is the name of the context to use." - type: "string" - kubeconfig: - description: "Kubeconfig is the path to the referenced file." - type: "string" - required: - - "kubeconfig" - type: "object" - description: "Clusters holds a registry to clusters to support multi-cluster tests." - type: "object" - concurrent: - description: "Concurrent determines whether the test should run concurrently with other tests." - type: "boolean" - delayBeforeCleanup: - description: "DelayBeforeCleanup adds a delay between the time a test ends and the time cleanup starts." - type: "string" - description: - description: "Description contains a description of the test." - type: "string" - forceTerminationGracePeriod: - description: "ForceTerminationGracePeriod forces the termination grace period on pods, statefulsets, daemonsets and deployments." - type: "string" - namespace: - description: "Namespace determines whether the test should run in a random ephemeral namespace or not." - type: "string" - namespaceTemplate: - description: "NamespaceTemplate defines a template to create the test namespace." - type: "object" - x-kubernetes-preserve-unknown-fields: true - skip: - description: "Skip determines whether the test should skipped." - type: "boolean" - skipDelete: - description: "SkipDelete determines whether the resources created by the test should be deleted after the test is executed." - type: "boolean" - steps: - description: "Steps defining the test." - items: - description: "TestStep contains the test step definition used in a test spec." - properties: - bindings: - description: "Bindings defines additional binding key/values." - items: - description: "Binding represents a key/value set as a binding in an executing test." - properties: - name: - description: "Name the name of the binding." - pattern: "^(?:\\w+|\\(.+\\))$" - type: "string" - value: - description: "Value value of the binding." - x-kubernetes-preserve-unknown-fields: true - required: - - "name" - - "value" type: "object" type: "array" - catch: - description: "Catch defines what the step will execute when an error happens." + cleanup: + description: "Cleanup defines what will be executed after the test is terminated." items: - description: "Catch defines actions to be executed on failure." + description: "Finally defines actions to be executed at the end of a test." properties: command: description: "Command defines a command to run." @@ -797,6 +1364,13 @@ spec: type: "object" description: "Clusters holds a registry to clusters to support multi-cluster tests." type: "object" + deletionPropagationPolicy: + description: "DeletionPropagationPolicy decides if a deletion will propagate to the dependents of\nthe object, and how the garbage collector will handle the propagation.\nOverrides the deletion propagation policy set in the Configuration, the Test and the TestStep." + enum: + - "Orphan" + - "Background" + - "Foreground" + type: "string" expect: description: "Expect defines a list of matched checks to validate the operation outcome." items: @@ -814,8 +1388,11 @@ spec: - "check" type: "object" type: "array" + file: + description: "File is the path to the referenced file. This can be a direct path to a file\nor an expression that matches multiple files, such as \"manifest/*.yaml\" for all YAML\nfiles within the \"manifest\" directory." + type: "string" ref: - description: "ObjectReference determines objects to be deleted." + description: "Ref determines objects to be deleted." properties: apiVersion: description: "API version of the referent." @@ -844,8 +1421,6 @@ spec: timeout: description: "Timeout for the operation. Overrides the global timeout set in the Configuration." type: "string" - required: - - "ref" type: "object" describe: description: "Describe determines the resource describe collector to execute." @@ -880,9 +1455,6 @@ spec: namespace: description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" - resource: - description: "Resource name of the referent." - type: "string" selector: description: "Selector defines labels selector." type: "string" @@ -892,6 +1464,9 @@ spec: timeout: description: "Timeout for the operation. Overrides the global timeout set in the Configuration." type: "string" + required: + - "apiVersion" + - "kind" type: "object" description: description: "Description contains a description of the operation." @@ -971,15 +1546,15 @@ spec: namespace: description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" - resource: - description: "Resource name of the referent." - type: "string" selector: description: "Selector defines labels selector." type: "string" timeout: description: "Timeout for the operation. Overrides the global timeout set in the Configuration." type: "string" + required: + - "apiVersion" + - "kind" type: "object" podLogs: description: "PodLogs determines the pod logs collector to execute." @@ -1189,9 +1764,6 @@ spec: namespace: description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" - resource: - description: "Resource name of the referent." - type: "string" selector: description: "Selector defines labels selector." type: "string" @@ -1199,7 +1771,9 @@ spec: description: "Timeout for the operation. Specifies how long to wait for the condition to be met before timing out." type: "string" required: + - "apiVersion" - "for" + - "kind" type: "object" type: "object" type: "array" @@ -1221,6 +1795,13 @@ spec: type: "object" description: "Clusters holds a registry to clusters to support multi-cluster tests." type: "object" + deletionPropagationPolicy: + description: "DeletionPropagationPolicy decides if a deletion will propagate to the dependents of\nthe object, and how the garbage collector will handle the propagation.\nOverrides the deletion propagation policy set in both the Configuration and the Test." + enum: + - "Orphan" + - "Background" + - "Foreground" + type: "string" description: description: "Description contains a description of the test step." type: "string" @@ -1364,6 +1945,13 @@ spec: type: "object" description: "Clusters holds a registry to clusters to support multi-cluster tests." type: "object" + deletionPropagationPolicy: + description: "DeletionPropagationPolicy decides if a deletion will propagate to the dependents of\nthe object, and how the garbage collector will handle the propagation.\nOverrides the deletion propagation policy set in the Configuration, the Test and the TestStep." + enum: + - "Orphan" + - "Background" + - "Foreground" + type: "string" expect: description: "Expect defines a list of matched checks to validate the operation outcome." items: @@ -1381,8 +1969,11 @@ spec: - "check" type: "object" type: "array" + file: + description: "File is the path to the referenced file. This can be a direct path to a file\nor an expression that matches multiple files, such as \"manifest/*.yaml\" for all YAML\nfiles within the \"manifest\" directory." + type: "string" ref: - description: "ObjectReference determines objects to be deleted." + description: "Ref determines objects to be deleted." properties: apiVersion: description: "API version of the referent." @@ -1411,8 +2002,6 @@ spec: timeout: description: "Timeout for the operation. Overrides the global timeout set in the Configuration." type: "string" - required: - - "ref" type: "object" describe: description: "Describe determines the resource describe collector to execute." @@ -1447,9 +2036,6 @@ spec: namespace: description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" - resource: - description: "Resource name of the referent." - type: "string" selector: description: "Selector defines labels selector." type: "string" @@ -1459,6 +2045,9 @@ spec: timeout: description: "Timeout for the operation. Overrides the global timeout set in the Configuration." type: "string" + required: + - "apiVersion" + - "kind" type: "object" description: description: "Description contains a description of the operation." @@ -1538,15 +2127,15 @@ spec: namespace: description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" - resource: - description: "Resource name of the referent." - type: "string" selector: description: "Selector defines labels selector." type: "string" timeout: description: "Timeout for the operation. Overrides the global timeout set in the Configuration." type: "string" + required: + - "apiVersion" + - "kind" type: "object" podLogs: description: "PodLogs determines the pod logs collector to execute." @@ -1756,9 +2345,6 @@ spec: namespace: description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" - resource: - description: "Resource name of the referent." - type: "string" selector: description: "Selector defines labels selector." type: "string" @@ -1766,7 +2352,9 @@ spec: description: "Timeout for the operation. Specifies how long to wait for the condition to be met before timing out." type: "string" required: + - "apiVersion" - "for" + - "kind" type: "object" type: "object" type: "array" @@ -2184,6 +2772,13 @@ spec: type: "object" description: "Clusters holds a registry to clusters to support multi-cluster tests." type: "object" + deletionPropagationPolicy: + description: "DeletionPropagationPolicy decides if a deletion will propagate to the dependents of\nthe object, and how the garbage collector will handle the propagation.\nOverrides the deletion propagation policy set in the Configuration, the Test and the TestStep." + enum: + - "Orphan" + - "Background" + - "Foreground" + type: "string" expect: description: "Expect defines a list of matched checks to validate the operation outcome." items: @@ -2201,8 +2796,11 @@ spec: - "check" type: "object" type: "array" + file: + description: "File is the path to the referenced file. This can be a direct path to a file\nor an expression that matches multiple files, such as \"manifest/*.yaml\" for all YAML\nfiles within the \"manifest\" directory." + type: "string" ref: - description: "ObjectReference determines objects to be deleted." + description: "Ref determines objects to be deleted." properties: apiVersion: description: "API version of the referent." @@ -2231,8 +2829,6 @@ spec: timeout: description: "Timeout for the operation. Overrides the global timeout set in the Configuration." type: "string" - required: - - "ref" type: "object" description: description: "Description contains a description of the operation." @@ -2645,9 +3241,6 @@ spec: namespace: description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" type: "string" - resource: - description: "Resource name of the referent." - type: "string" selector: description: "Selector defines labels selector." type: "string" @@ -2655,7 +3248,9 @@ spec: description: "Timeout for the operation. Specifies how long to wait for the condition to be met before timing out." type: "string" required: + - "apiVersion" - "for" + - "kind" type: "object" type: "object" minItems: 1 diff --git a/crd-catalog/kyverno/chainsaw/chainsaw.kyverno.io/v1alpha2/configurations.yaml b/crd-catalog/kyverno/chainsaw/chainsaw.kyverno.io/v1alpha2/configurations.yaml index 417bfccf4..91dde7913 100644 --- a/crd-catalog/kyverno/chainsaw/chainsaw.kyverno.io/v1alpha2/configurations.yaml +++ b/crd-catalog/kyverno/chainsaw/chainsaw.kyverno.io/v1alpha2/configurations.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "configurations.chainsaw.kyverno.io" spec: group: "chainsaw.kyverno.io" @@ -29,552 +29,6 @@ spec: spec: description: "Configuration spec." properties: - catch: - description: "Catch defines what the tests steps will execute when an error happens.\nThis will be combined with catch handlers defined at the test and step levels." - items: - description: "Catch defines actions to be executed on failure." - properties: - command: - description: "Command defines a command to run." - properties: - args: - description: "Args is the command arguments." - items: - type: "string" - type: "array" - bindings: - description: "Bindings defines additional binding key/values." - items: - description: "Binding represents a key/value set as a binding in an executing test." - properties: - name: - description: "Name the name of the binding." - pattern: "^(?:\\w+|\\(.+\\))$" - type: "string" - value: - description: "Value value of the binding." - x-kubernetes-preserve-unknown-fields: true - required: - - "name" - - "value" - type: "object" - type: "array" - check: - description: "Check is an assertion tree to validate the operation outcome." - type: "object" - x-kubernetes-preserve-unknown-fields: true - cluster: - description: "Cluster defines the target cluster (default cluster will be used if not specified and/or overridden)." - type: "string" - clusters: - additionalProperties: - description: "Cluster defines cluster config and context." - properties: - context: - description: "Context is the name of the context to use." - type: "string" - kubeconfig: - description: "Kubeconfig is the path to the referenced file." - type: "string" - required: - - "kubeconfig" - type: "object" - description: "Clusters holds a registry to clusters to support multi-cluster tests." - type: "object" - entrypoint: - description: "Entrypoint is the command entry point to run." - type: "string" - env: - description: "Env defines additional environment variables." - items: - description: "Binding represents a key/value set as a binding in an executing test." - properties: - name: - description: "Name the name of the binding." - pattern: "^(?:\\w+|\\(.+\\))$" - type: "string" - value: - description: "Value value of the binding." - x-kubernetes-preserve-unknown-fields: true - required: - - "name" - - "value" - type: "object" - type: "array" - outputs: - description: "Outputs defines output bindings." - items: - description: "Output represents an output binding with a match to determine if the binding must be considered or not." - properties: - match: - description: "Match defines the matching statement." - type: "object" - x-kubernetes-preserve-unknown-fields: true - name: - description: "Name the name of the binding." - pattern: "^(?:\\w+|\\(.+\\))$" - type: "string" - value: - description: "Value value of the binding." - x-kubernetes-preserve-unknown-fields: true - required: - - "name" - - "value" - type: "object" - type: "array" - skipLogOutput: - description: "SkipLogOutput removes the output from the command. Useful for sensitive logs or to reduce noise." - type: "boolean" - timeout: - description: "Timeout for the operation. Overrides the global timeout set in the Configuration." - type: "string" - required: - - "entrypoint" - type: "object" - delete: - description: "Delete represents a deletion operation." - properties: - bindings: - description: "Bindings defines additional binding key/values." - items: - description: "Binding represents a key/value set as a binding in an executing test." - properties: - name: - description: "Name the name of the binding." - pattern: "^(?:\\w+|\\(.+\\))$" - type: "string" - value: - description: "Value value of the binding." - x-kubernetes-preserve-unknown-fields: true - required: - - "name" - - "value" - type: "object" - type: "array" - cluster: - description: "Cluster defines the target cluster (default cluster will be used if not specified and/or overridden)." - type: "string" - clusters: - additionalProperties: - description: "Cluster defines cluster config and context." - properties: - context: - description: "Context is the name of the context to use." - type: "string" - kubeconfig: - description: "Kubeconfig is the path to the referenced file." - type: "string" - required: - - "kubeconfig" - type: "object" - description: "Clusters holds a registry to clusters to support multi-cluster tests." - type: "object" - expect: - description: "Expect defines a list of matched checks to validate the operation outcome." - items: - description: "Expectation represents a check to be applied on the result of an operation\nwith a match filter to determine if the verification should be considered." - properties: - check: - description: "Check defines the verification statement." - type: "object" - x-kubernetes-preserve-unknown-fields: true - match: - description: "Match defines the matching statement." - type: "object" - x-kubernetes-preserve-unknown-fields: true - required: - - "check" - type: "object" - type: "array" - ref: - description: "ObjectReference determines objects to be deleted." - properties: - apiVersion: - description: "API version of the referent." - type: "string" - kind: - description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - type: "string" - labels: - additionalProperties: - type: "string" - description: "Label selector to match objects to delete" - type: "object" - name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" - type: "string" - namespace: - description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" - type: "string" - required: - - "apiVersion" - - "kind" - type: "object" - template: - description: "Template determines whether resources should be considered for templating." - type: "boolean" - timeout: - description: "Timeout for the operation. Overrides the global timeout set in the Configuration." - type: "string" - required: - - "ref" - type: "object" - describe: - description: "Describe determines the resource describe collector to execute." - properties: - apiVersion: - description: "API version of the referent." - type: "string" - cluster: - description: "Cluster defines the target cluster (default cluster will be used if not specified and/or overridden)." - type: "string" - clusters: - additionalProperties: - description: "Cluster defines cluster config and context." - properties: - context: - description: "Context is the name of the context to use." - type: "string" - kubeconfig: - description: "Kubeconfig is the path to the referenced file." - type: "string" - required: - - "kubeconfig" - type: "object" - description: "Clusters holds a registry to clusters to support multi-cluster tests." - type: "object" - kind: - description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - type: "string" - name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" - type: "string" - namespace: - description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" - type: "string" - resource: - description: "Resource name of the referent." - type: "string" - selector: - description: "Selector defines labels selector." - type: "string" - showEvents: - description: "Show Events indicates whether to include related events." - type: "boolean" - timeout: - description: "Timeout for the operation. Overrides the global timeout set in the Configuration." - type: "string" - type: "object" - description: - description: "Description contains a description of the operation." - type: "string" - events: - description: "Events determines the events collector to execute." - properties: - cluster: - description: "Cluster defines the target cluster (default cluster will be used if not specified and/or overridden)." - type: "string" - clusters: - additionalProperties: - description: "Cluster defines cluster config and context." - properties: - context: - description: "Context is the name of the context to use." - type: "string" - kubeconfig: - description: "Kubeconfig is the path to the referenced file." - type: "string" - required: - - "kubeconfig" - type: "object" - description: "Clusters holds a registry to clusters to support multi-cluster tests." - type: "object" - format: - description: "Format determines the output format (json or yaml)." - pattern: "^(?:json|yaml|\\(.+\\))$" - type: "string" - name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" - type: "string" - namespace: - description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" - type: "string" - selector: - description: "Selector defines labels selector." - type: "string" - timeout: - description: "Timeout for the operation. Overrides the global timeout set in the Configuration." - type: "string" - type: "object" - get: - description: "Get determines the resource get collector to execute." - properties: - apiVersion: - description: "API version of the referent." - type: "string" - cluster: - description: "Cluster defines the target cluster (default cluster will be used if not specified and/or overridden)." - type: "string" - clusters: - additionalProperties: - description: "Cluster defines cluster config and context." - properties: - context: - description: "Context is the name of the context to use." - type: "string" - kubeconfig: - description: "Kubeconfig is the path to the referenced file." - type: "string" - required: - - "kubeconfig" - type: "object" - description: "Clusters holds a registry to clusters to support multi-cluster tests." - type: "object" - format: - description: "Format determines the output format (json or yaml)." - pattern: "^(?:json|yaml|\\(.+\\))$" - type: "string" - kind: - description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - type: "string" - name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" - type: "string" - namespace: - description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" - type: "string" - resource: - description: "Resource name of the referent." - type: "string" - selector: - description: "Selector defines labels selector." - type: "string" - timeout: - description: "Timeout for the operation. Overrides the global timeout set in the Configuration." - type: "string" - type: "object" - podLogs: - description: "PodLogs determines the pod logs collector to execute." - properties: - cluster: - description: "Cluster defines the target cluster (default cluster will be used if not specified and/or overridden)." - type: "string" - clusters: - additionalProperties: - description: "Cluster defines cluster config and context." - properties: - context: - description: "Context is the name of the context to use." - type: "string" - kubeconfig: - description: "Kubeconfig is the path to the referenced file." - type: "string" - required: - - "kubeconfig" - type: "object" - description: "Clusters holds a registry to clusters to support multi-cluster tests." - type: "object" - container: - description: "Container in pod to get logs from else --all-containers is used." - type: "string" - name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" - type: "string" - namespace: - description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" - type: "string" - selector: - description: "Selector defines labels selector." - type: "string" - tail: - description: "Tail is the number of last lines to collect from pods. If omitted or zero,\nthen the default is 10 if you use a selector, or -1 (all) if you use a pod name.\nThis matches default behavior of `kubectl logs`." - type: "integer" - timeout: - description: "Timeout for the operation. Overrides the global timeout set in the Configuration." - type: "string" - type: "object" - script: - description: "Script defines a script to run." - properties: - bindings: - description: "Bindings defines additional binding key/values." - items: - description: "Binding represents a key/value set as a binding in an executing test." - properties: - name: - description: "Name the name of the binding." - pattern: "^(?:\\w+|\\(.+\\))$" - type: "string" - value: - description: "Value value of the binding." - x-kubernetes-preserve-unknown-fields: true - required: - - "name" - - "value" - type: "object" - type: "array" - check: - description: "Check is an assertion tree to validate the operation outcome." - type: "object" - x-kubernetes-preserve-unknown-fields: true - cluster: - description: "Cluster defines the target cluster (default cluster will be used if not specified and/or overridden)." - type: "string" - clusters: - additionalProperties: - description: "Cluster defines cluster config and context." - properties: - context: - description: "Context is the name of the context to use." - type: "string" - kubeconfig: - description: "Kubeconfig is the path to the referenced file." - type: "string" - required: - - "kubeconfig" - type: "object" - description: "Clusters holds a registry to clusters to support multi-cluster tests." - type: "object" - content: - description: "Content defines a shell script (run with \"sh -c ...\")." - type: "string" - env: - description: "Env defines additional environment variables." - items: - description: "Binding represents a key/value set as a binding in an executing test." - properties: - name: - description: "Name the name of the binding." - pattern: "^(?:\\w+|\\(.+\\))$" - type: "string" - value: - description: "Value value of the binding." - x-kubernetes-preserve-unknown-fields: true - required: - - "name" - - "value" - type: "object" - type: "array" - outputs: - description: "Outputs defines output bindings." - items: - description: "Output represents an output binding with a match to determine if the binding must be considered or not." - properties: - match: - description: "Match defines the matching statement." - type: "object" - x-kubernetes-preserve-unknown-fields: true - name: - description: "Name the name of the binding." - pattern: "^(?:\\w+|\\(.+\\))$" - type: "string" - value: - description: "Value value of the binding." - x-kubernetes-preserve-unknown-fields: true - required: - - "name" - - "value" - type: "object" - type: "array" - skipLogOutput: - description: "SkipLogOutput removes the output from the command. Useful for sensitive logs or to reduce noise." - type: "boolean" - timeout: - description: "Timeout for the operation. Overrides the global timeout set in the Configuration." - type: "string" - type: "object" - sleep: - description: "Sleep defines zzzz." - properties: - duration: - description: "Duration is the delay used for sleeping." - type: "string" - required: - - "duration" - type: "object" - wait: - description: "Wait determines the resource wait collector to execute." - properties: - apiVersion: - description: "API version of the referent." - type: "string" - cluster: - description: "Cluster defines the target cluster where the wait operation will be performed (default cluster will be used if not specified)." - type: "string" - clusters: - additionalProperties: - description: "Cluster defines cluster config and context." - properties: - context: - description: "Context is the name of the context to use." - type: "string" - kubeconfig: - description: "Kubeconfig is the path to the referenced file." - type: "string" - required: - - "kubeconfig" - type: "object" - description: "Clusters holds a registry to clusters to support multi-cluster tests." - type: "object" - for: - description: "For specifies the condition to wait for." - properties: - condition: - description: "Condition specifies the condition to wait for." - properties: - name: - description: "Name defines the specific condition to wait for, e.g., \"Available\", \"Ready\"." - type: "string" - value: - description: "Value defines the specific condition status to wait for, e.g., \"True\", \"False\"." - type: "string" - required: - - "name" - type: "object" - deletion: - description: "Deletion specifies parameters for waiting on a resource's deletion." - type: "object" - jsonPath: - description: "JsonPath specifies the json path condition to wait for." - properties: - path: - description: "Path defines the json path to wait for, e.g. '{.status.phase}'." - type: "string" - value: - description: "Value defines the expected value to wait for, e.g., \"Running\"." - type: "string" - required: - - "path" - - "value" - type: "object" - type: "object" - format: - description: "Format determines the output format (json or yaml)." - pattern: "^(?:json|yaml|\\(.+\\))$" - type: "string" - kind: - description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - type: "string" - name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" - type: "string" - namespace: - description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" - type: "string" - resource: - description: "Resource name of the referent." - type: "string" - selector: - description: "Selector defines labels selector." - type: "string" - timeout: - description: "Timeout for the operation. Specifies how long to wait for the condition to be met before timing out." - type: "string" - required: - - "for" - type: "object" - type: "object" - type: "array" cleanup: description: "Cleanup contains cleanup configuration." properties: @@ -600,7 +54,21 @@ spec: type: "object" description: "Clusters holds a registry to clusters to support multi-cluster tests." type: "object" + deletion: + default: {} + description: "Deletion contains the global deletion configuration." + properties: + propagation: + default: "Background" + description: "Propagation decides if a deletion will propagate to the dependents of\nthe object, and how the garbage collector will handle the propagation." + enum: + - "Orphan" + - "Background" + - "Foreground" + type: "string" + type: "object" discovery: + default: {} description: "Discovery contains tests discovery configuration." properties: excludeTestRegex: @@ -617,6 +85,563 @@ spec: description: "TestFile is the name of the file containing the test to run.\nIf no extension is provided, chainsaw will try with .yaml first and .yml if needed." type: "string" type: "object" + error: + description: "Error contains the global error configuration." + properties: + catch: + description: "Catch defines what the tests steps will execute when an error happens.\nThis will be combined with catch handlers defined at the test and step levels." + items: + description: "Catch defines actions to be executed on failure." + properties: + command: + description: "Command defines a command to run." + properties: + args: + description: "Args is the command arguments." + items: + type: "string" + type: "array" + bindings: + description: "Bindings defines additional binding key/values." + items: + description: "Binding represents a key/value set as a binding in an executing test." + properties: + name: + description: "Name the name of the binding." + pattern: "^(?:\\w+|\\(.+\\))$" + type: "string" + value: + description: "Value value of the binding." + x-kubernetes-preserve-unknown-fields: true + required: + - "name" + - "value" + type: "object" + type: "array" + check: + description: "Check is an assertion tree to validate the operation outcome." + type: "object" + x-kubernetes-preserve-unknown-fields: true + cluster: + description: "Cluster defines the target cluster (default cluster will be used if not specified and/or overridden)." + type: "string" + clusters: + additionalProperties: + description: "Cluster defines cluster config and context." + properties: + context: + description: "Context is the name of the context to use." + type: "string" + kubeconfig: + description: "Kubeconfig is the path to the referenced file." + type: "string" + required: + - "kubeconfig" + type: "object" + description: "Clusters holds a registry to clusters to support multi-cluster tests." + type: "object" + entrypoint: + description: "Entrypoint is the command entry point to run." + type: "string" + env: + description: "Env defines additional environment variables." + items: + description: "Binding represents a key/value set as a binding in an executing test." + properties: + name: + description: "Name the name of the binding." + pattern: "^(?:\\w+|\\(.+\\))$" + type: "string" + value: + description: "Value value of the binding." + x-kubernetes-preserve-unknown-fields: true + required: + - "name" + - "value" + type: "object" + type: "array" + outputs: + description: "Outputs defines output bindings." + items: + description: "Output represents an output binding with a match to determine if the binding must be considered or not." + properties: + match: + description: "Match defines the matching statement." + type: "object" + x-kubernetes-preserve-unknown-fields: true + name: + description: "Name the name of the binding." + pattern: "^(?:\\w+|\\(.+\\))$" + type: "string" + value: + description: "Value value of the binding." + x-kubernetes-preserve-unknown-fields: true + required: + - "name" + - "value" + type: "object" + type: "array" + skipLogOutput: + description: "SkipLogOutput removes the output from the command. Useful for sensitive logs or to reduce noise." + type: "boolean" + timeout: + description: "Timeout for the operation. Overrides the global timeout set in the Configuration." + type: "string" + required: + - "entrypoint" + type: "object" + delete: + description: "Delete represents a deletion operation." + properties: + bindings: + description: "Bindings defines additional binding key/values." + items: + description: "Binding represents a key/value set as a binding in an executing test." + properties: + name: + description: "Name the name of the binding." + pattern: "^(?:\\w+|\\(.+\\))$" + type: "string" + value: + description: "Value value of the binding." + x-kubernetes-preserve-unknown-fields: true + required: + - "name" + - "value" + type: "object" + type: "array" + cluster: + description: "Cluster defines the target cluster (default cluster will be used if not specified and/or overridden)." + type: "string" + clusters: + additionalProperties: + description: "Cluster defines cluster config and context." + properties: + context: + description: "Context is the name of the context to use." + type: "string" + kubeconfig: + description: "Kubeconfig is the path to the referenced file." + type: "string" + required: + - "kubeconfig" + type: "object" + description: "Clusters holds a registry to clusters to support multi-cluster tests." + type: "object" + deletionPropagationPolicy: + description: "DeletionPropagationPolicy decides if a deletion will propagate to the dependents of\nthe object, and how the garbage collector will handle the propagation.\nOverrides the deletion propagation policy set in the Configuration, the Test and the TestStep." + enum: + - "Orphan" + - "Background" + - "Foreground" + type: "string" + expect: + description: "Expect defines a list of matched checks to validate the operation outcome." + items: + description: "Expectation represents a check to be applied on the result of an operation\nwith a match filter to determine if the verification should be considered." + properties: + check: + description: "Check defines the verification statement." + type: "object" + x-kubernetes-preserve-unknown-fields: true + match: + description: "Match defines the matching statement." + type: "object" + x-kubernetes-preserve-unknown-fields: true + required: + - "check" + type: "object" + type: "array" + file: + description: "File is the path to the referenced file. This can be a direct path to a file\nor an expression that matches multiple files, such as \"manifest/*.yaml\" for all YAML\nfiles within the \"manifest\" directory." + type: "string" + ref: + description: "Ref determines objects to be deleted." + properties: + apiVersion: + description: "API version of the referent." + type: "string" + kind: + description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + type: "string" + labels: + additionalProperties: + type: "string" + description: "Label selector to match objects to delete" + type: "object" + name: + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + type: "string" + namespace: + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + type: "string" + required: + - "apiVersion" + - "kind" + type: "object" + template: + description: "Template determines whether resources should be considered for templating." + type: "boolean" + timeout: + description: "Timeout for the operation. Overrides the global timeout set in the Configuration." + type: "string" + type: "object" + describe: + description: "Describe determines the resource describe collector to execute." + properties: + apiVersion: + description: "API version of the referent." + type: "string" + cluster: + description: "Cluster defines the target cluster (default cluster will be used if not specified and/or overridden)." + type: "string" + clusters: + additionalProperties: + description: "Cluster defines cluster config and context." + properties: + context: + description: "Context is the name of the context to use." + type: "string" + kubeconfig: + description: "Kubeconfig is the path to the referenced file." + type: "string" + required: + - "kubeconfig" + type: "object" + description: "Clusters holds a registry to clusters to support multi-cluster tests." + type: "object" + kind: + description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + type: "string" + name: + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + type: "string" + namespace: + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + type: "string" + selector: + description: "Selector defines labels selector." + type: "string" + showEvents: + description: "Show Events indicates whether to include related events." + type: "boolean" + timeout: + description: "Timeout for the operation. Overrides the global timeout set in the Configuration." + type: "string" + required: + - "apiVersion" + - "kind" + type: "object" + description: + description: "Description contains a description of the operation." + type: "string" + events: + description: "Events determines the events collector to execute." + properties: + cluster: + description: "Cluster defines the target cluster (default cluster will be used if not specified and/or overridden)." + type: "string" + clusters: + additionalProperties: + description: "Cluster defines cluster config and context." + properties: + context: + description: "Context is the name of the context to use." + type: "string" + kubeconfig: + description: "Kubeconfig is the path to the referenced file." + type: "string" + required: + - "kubeconfig" + type: "object" + description: "Clusters holds a registry to clusters to support multi-cluster tests." + type: "object" + format: + description: "Format determines the output format (json or yaml)." + pattern: "^(?:json|yaml|\\(.+\\))$" + type: "string" + name: + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + type: "string" + namespace: + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + type: "string" + selector: + description: "Selector defines labels selector." + type: "string" + timeout: + description: "Timeout for the operation. Overrides the global timeout set in the Configuration." + type: "string" + type: "object" + get: + description: "Get determines the resource get collector to execute." + properties: + apiVersion: + description: "API version of the referent." + type: "string" + cluster: + description: "Cluster defines the target cluster (default cluster will be used if not specified and/or overridden)." + type: "string" + clusters: + additionalProperties: + description: "Cluster defines cluster config and context." + properties: + context: + description: "Context is the name of the context to use." + type: "string" + kubeconfig: + description: "Kubeconfig is the path to the referenced file." + type: "string" + required: + - "kubeconfig" + type: "object" + description: "Clusters holds a registry to clusters to support multi-cluster tests." + type: "object" + format: + description: "Format determines the output format (json or yaml)." + pattern: "^(?:json|yaml|\\(.+\\))$" + type: "string" + kind: + description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + type: "string" + name: + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + type: "string" + namespace: + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + type: "string" + selector: + description: "Selector defines labels selector." + type: "string" + timeout: + description: "Timeout for the operation. Overrides the global timeout set in the Configuration." + type: "string" + required: + - "apiVersion" + - "kind" + type: "object" + podLogs: + description: "PodLogs determines the pod logs collector to execute." + properties: + cluster: + description: "Cluster defines the target cluster (default cluster will be used if not specified and/or overridden)." + type: "string" + clusters: + additionalProperties: + description: "Cluster defines cluster config and context." + properties: + context: + description: "Context is the name of the context to use." + type: "string" + kubeconfig: + description: "Kubeconfig is the path to the referenced file." + type: "string" + required: + - "kubeconfig" + type: "object" + description: "Clusters holds a registry to clusters to support multi-cluster tests." + type: "object" + container: + description: "Container in pod to get logs from else --all-containers is used." + type: "string" + name: + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + type: "string" + namespace: + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + type: "string" + selector: + description: "Selector defines labels selector." + type: "string" + tail: + description: "Tail is the number of last lines to collect from pods. If omitted or zero,\nthen the default is 10 if you use a selector, or -1 (all) if you use a pod name.\nThis matches default behavior of `kubectl logs`." + type: "integer" + timeout: + description: "Timeout for the operation. Overrides the global timeout set in the Configuration." + type: "string" + type: "object" + script: + description: "Script defines a script to run." + properties: + bindings: + description: "Bindings defines additional binding key/values." + items: + description: "Binding represents a key/value set as a binding in an executing test." + properties: + name: + description: "Name the name of the binding." + pattern: "^(?:\\w+|\\(.+\\))$" + type: "string" + value: + description: "Value value of the binding." + x-kubernetes-preserve-unknown-fields: true + required: + - "name" + - "value" + type: "object" + type: "array" + check: + description: "Check is an assertion tree to validate the operation outcome." + type: "object" + x-kubernetes-preserve-unknown-fields: true + cluster: + description: "Cluster defines the target cluster (default cluster will be used if not specified and/or overridden)." + type: "string" + clusters: + additionalProperties: + description: "Cluster defines cluster config and context." + properties: + context: + description: "Context is the name of the context to use." + type: "string" + kubeconfig: + description: "Kubeconfig is the path to the referenced file." + type: "string" + required: + - "kubeconfig" + type: "object" + description: "Clusters holds a registry to clusters to support multi-cluster tests." + type: "object" + content: + description: "Content defines a shell script (run with \"sh -c ...\")." + type: "string" + env: + description: "Env defines additional environment variables." + items: + description: "Binding represents a key/value set as a binding in an executing test." + properties: + name: + description: "Name the name of the binding." + pattern: "^(?:\\w+|\\(.+\\))$" + type: "string" + value: + description: "Value value of the binding." + x-kubernetes-preserve-unknown-fields: true + required: + - "name" + - "value" + type: "object" + type: "array" + outputs: + description: "Outputs defines output bindings." + items: + description: "Output represents an output binding with a match to determine if the binding must be considered or not." + properties: + match: + description: "Match defines the matching statement." + type: "object" + x-kubernetes-preserve-unknown-fields: true + name: + description: "Name the name of the binding." + pattern: "^(?:\\w+|\\(.+\\))$" + type: "string" + value: + description: "Value value of the binding." + x-kubernetes-preserve-unknown-fields: true + required: + - "name" + - "value" + type: "object" + type: "array" + skipLogOutput: + description: "SkipLogOutput removes the output from the command. Useful for sensitive logs or to reduce noise." + type: "boolean" + timeout: + description: "Timeout for the operation. Overrides the global timeout set in the Configuration." + type: "string" + type: "object" + sleep: + description: "Sleep defines zzzz." + properties: + duration: + description: "Duration is the delay used for sleeping." + type: "string" + required: + - "duration" + type: "object" + wait: + description: "Wait determines the resource wait collector to execute." + properties: + apiVersion: + description: "API version of the referent." + type: "string" + cluster: + description: "Cluster defines the target cluster where the wait operation will be performed (default cluster will be used if not specified)." + type: "string" + clusters: + additionalProperties: + description: "Cluster defines cluster config and context." + properties: + context: + description: "Context is the name of the context to use." + type: "string" + kubeconfig: + description: "Kubeconfig is the path to the referenced file." + type: "string" + required: + - "kubeconfig" + type: "object" + description: "Clusters holds a registry to clusters to support multi-cluster tests." + type: "object" + for: + description: "For specifies the condition to wait for." + properties: + condition: + description: "Condition specifies the condition to wait for." + properties: + name: + description: "Name defines the specific condition to wait for, e.g., \"Available\", \"Ready\"." + type: "string" + value: + description: "Value defines the specific condition status to wait for, e.g., \"True\", \"False\"." + type: "string" + required: + - "name" + type: "object" + deletion: + description: "Deletion specifies parameters for waiting on a resource's deletion." + type: "object" + jsonPath: + description: "JsonPath specifies the json path condition to wait for." + properties: + path: + description: "Path defines the json path to wait for, e.g. '{.status.phase}'." + type: "string" + value: + description: "Value defines the expected value to wait for, e.g., \"Running\"." + type: "string" + required: + - "path" + - "value" + type: "object" + type: "object" + format: + description: "Format determines the output format (json or yaml)." + pattern: "^(?:json|yaml|\\(.+\\))$" + type: "string" + kind: + description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + type: "string" + name: + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + type: "string" + namespace: + description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + type: "string" + selector: + description: "Selector defines labels selector." + type: "string" + timeout: + description: "Timeout for the operation. Specifies how long to wait for the condition to be met before timing out." + type: "string" + required: + - "apiVersion" + - "for" + - "kind" + type: "object" + type: "object" + type: "array" + type: "object" execution: description: "Execution contains tests execution configuration." properties: diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v1/clusterpolicies.yaml b/crd-catalog/kyverno/kyverno/kyverno.io/v1/clusterpolicies.yaml index a049d5cbd..21ad1ec1e 100644 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v1/clusterpolicies.yaml +++ b/crd-catalog/kyverno/kyverno/kyverno.io/v1/clusterpolicies.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "clusterpolicies.kyverno.io" spec: group: "kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v1/policies.yaml b/crd-catalog/kyverno/kyverno/kyverno.io/v1/policies.yaml index c30d2d170..8a104e069 100644 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v1/policies.yaml +++ b/crd-catalog/kyverno/kyverno/kyverno.io/v1/policies.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "policies.kyverno.io" spec: group: "kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/admissionreports.yaml b/crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/admissionreports.yaml index 57c0a4cac..a9109dbb2 100644 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/admissionreports.yaml +++ b/crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/admissionreports.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "admissionreports.kyverno.io" spec: group: "kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/backgroundscanreports.yaml b/crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/backgroundscanreports.yaml index d50cc2e4c..745da246d 100644 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/backgroundscanreports.yaml +++ b/crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/backgroundscanreports.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "backgroundscanreports.kyverno.io" spec: group: "kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/clusteradmissionreports.yaml b/crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/clusteradmissionreports.yaml index d1f69cae2..7d5fc957d 100644 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/clusteradmissionreports.yaml +++ b/crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/clusteradmissionreports.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "clusteradmissionreports.kyverno.io" spec: group: "kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/clusterbackgroundscanreports.yaml b/crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/clusterbackgroundscanreports.yaml index 90e395739..b1d7f93ec 100644 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/clusterbackgroundscanreports.yaml +++ b/crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/clusterbackgroundscanreports.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "clusterbackgroundscanreports.kyverno.io" spec: group: "kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v1beta1/updaterequests.yaml b/crd-catalog/kyverno/kyverno/kyverno.io/v1beta1/updaterequests.yaml index ce641d3d8..06774324d 100644 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v1beta1/updaterequests.yaml +++ b/crd-catalog/kyverno/kyverno/kyverno.io/v1beta1/updaterequests.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "updaterequests.kyverno.io" spec: group: "kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2/admissionreports.yaml b/crd-catalog/kyverno/kyverno/kyverno.io/v2/admissionreports.yaml index fbee9fe6b..57f5b928a 100644 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2/admissionreports.yaml +++ b/crd-catalog/kyverno/kyverno/kyverno.io/v2/admissionreports.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "admissionreports.kyverno.io" spec: group: "kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2/backgroundscanreports.yaml b/crd-catalog/kyverno/kyverno/kyverno.io/v2/backgroundscanreports.yaml index 2fa31382f..87d91b844 100644 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2/backgroundscanreports.yaml +++ b/crd-catalog/kyverno/kyverno/kyverno.io/v2/backgroundscanreports.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "backgroundscanreports.kyverno.io" spec: group: "kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2/cleanuppolicies.yaml b/crd-catalog/kyverno/kyverno/kyverno.io/v2/cleanuppolicies.yaml index 12b5e3ec7..0d15ea53b 100644 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2/cleanuppolicies.yaml +++ b/crd-catalog/kyverno/kyverno/kyverno.io/v2/cleanuppolicies.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "cleanuppolicies.kyverno.io" spec: group: "kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2/clusteradmissionreports.yaml b/crd-catalog/kyverno/kyverno/kyverno.io/v2/clusteradmissionreports.yaml index 9a987f33f..a5bcd78d8 100644 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2/clusteradmissionreports.yaml +++ b/crd-catalog/kyverno/kyverno/kyverno.io/v2/clusteradmissionreports.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "clusteradmissionreports.kyverno.io" spec: group: "kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2/clusterbackgroundscanreports.yaml b/crd-catalog/kyverno/kyverno/kyverno.io/v2/clusterbackgroundscanreports.yaml index a838b7ed1..300593dd0 100644 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2/clusterbackgroundscanreports.yaml +++ b/crd-catalog/kyverno/kyverno/kyverno.io/v2/clusterbackgroundscanreports.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "clusterbackgroundscanreports.kyverno.io" spec: group: "kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2/clustercleanuppolicies.yaml b/crd-catalog/kyverno/kyverno/kyverno.io/v2/clustercleanuppolicies.yaml index 67f5a39fe..2d693fd49 100644 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2/clustercleanuppolicies.yaml +++ b/crd-catalog/kyverno/kyverno/kyverno.io/v2/clustercleanuppolicies.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "clustercleanuppolicies.kyverno.io" spec: group: "kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2/policyexceptions.yaml b/crd-catalog/kyverno/kyverno/kyverno.io/v2/policyexceptions.yaml index 6a703e7c6..a1491ab5e 100644 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2/policyexceptions.yaml +++ b/crd-catalog/kyverno/kyverno/kyverno.io/v2/policyexceptions.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "policyexceptions.kyverno.io" spec: group: "kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2/updaterequests.yaml b/crd-catalog/kyverno/kyverno/kyverno.io/v2/updaterequests.yaml index cd605719f..670c46660 100644 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2/updaterequests.yaml +++ b/crd-catalog/kyverno/kyverno/kyverno.io/v2/updaterequests.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "updaterequests.kyverno.io" spec: group: "kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/cleanuppolicies.yaml b/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/cleanuppolicies.yaml index 7951cf858..6f09ff522 100644 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/cleanuppolicies.yaml +++ b/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/cleanuppolicies.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "cleanuppolicies.kyverno.io" spec: group: "kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/clustercleanuppolicies.yaml b/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/clustercleanuppolicies.yaml index 82395f8f9..d8dd53d35 100644 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/clustercleanuppolicies.yaml +++ b/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/clustercleanuppolicies.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "clustercleanuppolicies.kyverno.io" spec: group: "kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/globalcontextentries.yaml b/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/globalcontextentries.yaml index c759c98ba..3effb19d1 100644 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/globalcontextentries.yaml +++ b/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/globalcontextentries.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "globalcontextentries.kyverno.io" spec: group: "kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/policyexceptions.yaml b/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/policyexceptions.yaml index 94f578fc1..bb72026ba 100644 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/policyexceptions.yaml +++ b/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/policyexceptions.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "policyexceptions.kyverno.io" spec: group: "kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/cleanuppolicies.yaml b/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/cleanuppolicies.yaml index 9aee63849..6be8564be 100644 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/cleanuppolicies.yaml +++ b/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/cleanuppolicies.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "cleanuppolicies.kyverno.io" spec: group: "kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/clustercleanuppolicies.yaml b/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/clustercleanuppolicies.yaml index affe09397..c3547908d 100644 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/clustercleanuppolicies.yaml +++ b/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/clustercleanuppolicies.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "clustercleanuppolicies.kyverno.io" spec: group: "kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/clusterpolicies.yaml b/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/clusterpolicies.yaml index 60cd893f8..d7c964bb8 100644 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/clusterpolicies.yaml +++ b/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/clusterpolicies.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "clusterpolicies.kyverno.io" spec: group: "kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/policies.yaml b/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/policies.yaml index 74b53cfd6..3f82d0032 100644 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/policies.yaml +++ b/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/policies.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "policies.kyverno.io" spec: group: "kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/policyexceptions.yaml b/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/policyexceptions.yaml index 5372cd968..0f0fecbe3 100644 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/policyexceptions.yaml +++ b/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/policyexceptions.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "policyexceptions.kyverno.io" spec: group: "kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/reports.kyverno.io/v1/clusterephemeralreports.yaml b/crd-catalog/kyverno/kyverno/reports.kyverno.io/v1/clusterephemeralreports.yaml index 549a2732f..931dd50c2 100644 --- a/crd-catalog/kyverno/kyverno/reports.kyverno.io/v1/clusterephemeralreports.yaml +++ b/crd-catalog/kyverno/kyverno/reports.kyverno.io/v1/clusterephemeralreports.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "clusterephemeralreports.reports.kyverno.io" spec: group: "reports.kyverno.io" diff --git a/crd-catalog/kyverno/kyverno/reports.kyverno.io/v1/ephemeralreports.yaml b/crd-catalog/kyverno/kyverno/reports.kyverno.io/v1/ephemeralreports.yaml index 63ef80d99..7cbfae2e8 100644 --- a/crd-catalog/kyverno/kyverno/reports.kyverno.io/v1/ephemeralreports.yaml +++ b/crd-catalog/kyverno/kyverno/reports.kyverno.io/v1/ephemeralreports.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.14.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "ephemeralreports.reports.kyverno.io" spec: group: "reports.kyverno.io" diff --git a/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/dataplanes.yaml b/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/dataplanes.yaml index ab1ea00bf..09790e0e0 100644 --- a/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/dataplanes.yaml +++ b/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/dataplanes.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.13.0" + controller-gen.kubebuilder.io/version: "v0.14.0" name: "dataplanes.stunner.l7mp.io" spec: group: "stunner.l7mp.io" @@ -20,13 +20,13 @@ spec: - name: "v1" schema: openAPIV3Schema: - description: "Dataplane is a collection of configuration parameters that can be used for spawning a `stunnerd` instance for a Gateway. Labels and annotations on the Dataplane object will be copied verbatim into the target Deployment." + description: "Dataplane is a collection of configuration parameters that can be used for spawning a `stunnerd`\ninstance for a Gateway. Labels and annotations on the Dataplane object will be copied verbatim\ninto the target Deployment." properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -40,9 +40,9 @@ spec: description: "Describes node affinity scheduling rules for the pod." properties: preferredDuringSchedulingIgnoredDuringExecution: - description: "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred." + description: "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node matches the corresponding matchExpressions; the\nnode(s) with the highest sum are the most preferred." items: - description: "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op)." + description: "An empty preferred scheduling term matches all objects with implicit weight 0\n(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op)." properties: preference: description: "A node selector term, associated with the corresponding weight." @@ -50,16 +50,16 @@ spec: matchExpressions: description: "A list of node selector requirements by node's labels." items: - description: "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values." properties: key: description: "The label key that the selector applies to." type: "string" operator: - description: "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + description: "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." type: "string" values: - description: "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + description: "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch." items: type: "string" type: "array" @@ -71,16 +71,16 @@ spec: matchFields: description: "A list of node selector requirements by node's fields." items: - description: "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values." properties: key: description: "The label key that the selector applies to." type: "string" operator: - description: "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + description: "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." type: "string" values: - description: "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + description: "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch." items: type: "string" type: "array" @@ -101,26 +101,26 @@ spec: type: "object" type: "array" requiredDuringSchedulingIgnoredDuringExecution: - description: "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node." + description: "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node." properties: nodeSelectorTerms: description: "Required. A list of node selector terms. The terms are ORed." items: - description: "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm." + description: "A null or empty node selector term matches no objects. The requirements of\nthem are ANDed.\nThe TopologySelectorTerm type implements a subset of the NodeSelectorTerm." properties: matchExpressions: description: "A list of node selector requirements by node's labels." items: - description: "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values." properties: key: description: "The label key that the selector applies to." type: "string" operator: - description: "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + description: "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." type: "string" values: - description: "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + description: "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch." items: type: "string" type: "array" @@ -132,16 +132,16 @@ spec: matchFields: description: "A list of node selector requirements by node's fields." items: - description: "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values." properties: key: description: "The label key that the selector applies to." type: "string" operator: - description: "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + description: "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." type: "string" values: - description: "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + description: "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch." items: type: "string" type: "array" @@ -162,7 +162,7 @@ spec: description: "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))." properties: preferredDuringSchedulingIgnoredDuringExecution: - description: "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred." + description: "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred." items: description: "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)" properties: @@ -170,21 +170,21 @@ spec: description: "Required. A pod affinity term, associated with the corresponding weight." properties: labelSelector: - description: "A label query over a set of resources, in this case pods." + description: "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" @@ -196,26 +196,38 @@ spec: matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" x-kubernetes-map-type: "atomic" + matchLabelKeys: + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" + mismatchLabelKeys: + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" namespaceSelector: - description: "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces." + description: "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" @@ -227,23 +239,23 @@ spec: matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" x-kubernetes-map-type: "atomic" namespaces: - description: "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." + description: "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." items: type: "string" type: "array" topologyKey: - description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed." + description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" required: - "topologyKey" type: "object" weight: - description: "weight associated with matching the corresponding podAffinityTerm, in the range 1-100." + description: "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100." format: "int32" type: "integer" required: @@ -252,26 +264,26 @@ spec: type: "object" type: "array" requiredDuringSchedulingIgnoredDuringExecution: - description: "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied." + description: "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied." items: - description: "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running" + description: "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running" properties: labelSelector: - description: "A label query over a set of resources, in this case pods." + description: "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" @@ -283,26 +295,38 @@ spec: matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" x-kubernetes-map-type: "atomic" + matchLabelKeys: + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" + mismatchLabelKeys: + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" namespaceSelector: - description: "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces." + description: "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" @@ -314,17 +338,17 @@ spec: matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" x-kubernetes-map-type: "atomic" namespaces: - description: "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." + description: "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." items: type: "string" type: "array" topologyKey: - description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed." + description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" required: - "topologyKey" @@ -335,7 +359,7 @@ spec: description: "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))." properties: preferredDuringSchedulingIgnoredDuringExecution: - description: "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred." + description: "The scheduler will prefer to schedule pods to nodes that satisfy\nthe anti-affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling anti-affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred." items: description: "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)" properties: @@ -343,21 +367,21 @@ spec: description: "Required. A pod affinity term, associated with the corresponding weight." properties: labelSelector: - description: "A label query over a set of resources, in this case pods." + description: "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" @@ -369,26 +393,38 @@ spec: matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" x-kubernetes-map-type: "atomic" + matchLabelKeys: + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" + mismatchLabelKeys: + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" namespaceSelector: - description: "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces." + description: "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" @@ -400,23 +436,23 @@ spec: matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" x-kubernetes-map-type: "atomic" namespaces: - description: "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." + description: "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." items: type: "string" type: "array" topologyKey: - description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed." + description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" required: - "topologyKey" type: "object" weight: - description: "weight associated with matching the corresponding podAffinityTerm, in the range 1-100." + description: "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100." format: "int32" type: "integer" required: @@ -425,26 +461,26 @@ spec: type: "object" type: "array" requiredDuringSchedulingIgnoredDuringExecution: - description: "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied." + description: "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied." items: - description: "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running" + description: "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running" properties: labelSelector: - description: "A label query over a set of resources, in this case pods." + description: "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" @@ -456,26 +492,38 @@ spec: matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" x-kubernetes-map-type: "atomic" + matchLabelKeys: + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" + mismatchLabelKeys: + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" namespaceSelector: - description: "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces." + description: "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" @@ -487,17 +535,17 @@ spec: matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" x-kubernetes-map-type: "atomic" namespaces: - description: "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." + description: "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." items: type: "string" type: "array" topologyKey: - description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed." + description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" required: - "topologyKey" @@ -515,11 +563,98 @@ spec: items: type: "string" type: "array" + containerSecurityContext: + description: "ContainerSecurityContext holds container-level security attributes specifically for the\nstunnerd container." + properties: + allowPrivilegeEscalation: + description: "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows." + type: "boolean" + capabilities: + description: "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows." + properties: + add: + description: "Added capabilities" + items: + description: "Capability represent POSIX capabilities type" + type: "string" + type: "array" + drop: + description: "Removed capabilities" + items: + description: "Capability represent POSIX capabilities type" + type: "string" + type: "array" + type: "object" + privileged: + description: "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows." + type: "boolean" + procMount: + description: "procMount denotes the type of proc mount to use for the containers.\nThe default is DefaultProcMount which uses the container runtime defaults for\nreadonly paths and masked paths.\nThis requires the ProcMountType feature flag to be enabled.\nNote that this field cannot be set when spec.os.name is windows." + type: "string" + readOnlyRootFilesystem: + description: "Whether this container has a read-only root filesystem.\nDefault is false.\nNote that this field cannot be set when spec.os.name is windows." + type: "boolean" + runAsGroup: + description: "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows." + format: "int64" + type: "integer" + runAsNonRoot: + description: "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence." + type: "boolean" + runAsUser: + description: "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows." + format: "int64" + type: "integer" + seLinuxOptions: + description: "The SELinux context to be applied to the container.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows." + properties: + level: + description: "Level is SELinux level label that applies to the container." + type: "string" + role: + description: "Role is a SELinux role label that applies to the container." + type: "string" + type: + description: "Type is a SELinux type label that applies to the container." + type: "string" + user: + description: "User is a SELinux user label that applies to the container." + type: "string" + type: "object" + seccompProfile: + description: "The seccomp options to use by this container. If seccomp options are\nprovided at both the pod & container level, the container options\noverride the pod options.\nNote that this field cannot be set when spec.os.name is windows." + properties: + localhostProfile: + description: "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type." + type: "string" + type: + description: "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied." + type: "string" + required: + - "type" + type: "object" + windowsOptions: + description: "The Windows specific settings applied to all containers.\nIf unspecified, the options from the PodSecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux." + properties: + gmsaCredentialSpec: + description: "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field." + type: "string" + gmsaCredentialSpecName: + description: "GMSACredentialSpecName is the name of the GMSA credential spec to use." + type: "string" + hostProcess: + description: "HostProcess determines if a container should be run as a 'Host Process' container.\nAll of a Pod's containers must have the same effective HostProcess value\n(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).\nIn addition, if HostProcess is true then HostNetwork must also be set to true." + type: "boolean" + runAsUserName: + description: "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence." + type: "string" + type: "object" + type: "object" disableHealthCheck: - description: "Disable health-checking. Default is to enable HTTP health-checks on port 8086: a liveness probe responder will be exposed on path `/live` and readiness probe on path `/ready`." + description: "Disable health-checking. Default is to enable HTTP health-checks on port 8086: a\nliveness probe responder will be exposed on path `/live` and readiness probe on path\n`/ready`." type: "boolean" enableMetricsEndpoint: - description: "EnableMetricsEnpoint can be used to enable metrics scraping (Prometheus). If enabled, a metrics endpoint will available at http://0.0.0.0:8080 at all dataplane pods. Default is no metrics collection." + description: "EnableMetricsEnpoint can be used to enable metrics scraping (Prometheus). If enabled, a\nmetrics endpoint will be available at http://0.0.0.0:8080 at all dataplane pods. Default\nis no metrics collection." type: "boolean" env: description: "List of environment variables to set in the stunnerd container." @@ -530,7 +665,7 @@ spec: description: "Name of the environment variable. Must be a C_IDENTIFIER." type: "string" value: - description: "Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\"." + description: "Variable references $(VAR_NAME) are expanded\nusing the previously defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\n\"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\".\nEscaped references will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\"." type: "string" valueFrom: description: "Source for the environment variable's value. Cannot be used if value is not empty." @@ -542,7 +677,7 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -552,7 +687,7 @@ spec: type: "object" x-kubernetes-map-type: "atomic" fieldRef: - description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." + description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -565,7 +700,7 @@ spec: type: "object" x-kubernetes-map-type: "atomic" resourceFieldRef: - description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." + description: "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." properties: containerName: description: "Container name: required for volumes, optional for env vars" @@ -591,7 +726,7 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -614,7 +749,7 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -628,7 +763,7 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the Secret must be defined" @@ -638,7 +773,7 @@ spec: type: "object" type: "array" hostNetwork: - description: "Host networking requested for the stunnerd pod to use the host's network namespace. Can be used to implement public TURN servers with Kubernetes. Defaults to false." + description: "Host networking requested for the stunnerd pod to use the host's network namespace.\nCan be used to implement public TURN servers with Kubernetes. Defaults to false." type: "boolean" image: description: "Container image name." @@ -646,20 +781,31 @@ spec: imagePullPolicy: description: "Image pull policy. One of Always, Never, IfNotPresent." type: "string" + imagePullSecrets: + description: "ImagePullSecrets is an optional list of references to secrets to use for pulling the\nstunnerd image. Note that the referenced secrets are not watched by the operator, so\nmodifications will in effect only for newly created pods. Also note that the Secret is\nalways searched in the same namespace as the Gateway, which allows to use separate pull\nsecrets per each namespace." + items: + description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." + properties: + name: + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + type: "string" + type: "object" + x-kubernetes-map-type: "atomic" + type: "array" replicas: - description: "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1." + description: "Number of desired pods. If empty or set to 1, use whatever is in the target Deployment.\nOtherwise, enforce this setting, overwiting whatever is set in the Deployment (this may\nblock autoscaling the dataplane though). Defaults to 1." format: "int32" type: "integer" resources: description: "Resources required by stunnerd." properties: claims: - description: "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. \n This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. \n This field is immutable. It can only be set for containers." + description: "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\n\nThis field is immutable. It can only be set for containers." items: description: "ResourceClaim references one entry in PodSpec.ResourceClaims." properties: name: - description: "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container." + description: "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container." type: "string" required: - "name" @@ -675,7 +821,7 @@ spec: - type: "string" pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" x-kubernetes-int-or-string: true - description: "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" + description: "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" type: "object" requests: additionalProperties: @@ -684,32 +830,32 @@ spec: - type: "string" pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" x-kubernetes-int-or-string: true - description: "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" + description: "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" type: "object" type: "object" securityContext: description: "SecurityContext holds pod-level security attributes and common container settings." properties: fsGroup: - description: "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: \n 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- \n If unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows." + description: "A special supplemental group that applies to all containers in a pod.\nSome volume types allow the Kubelet to change the ownership of that volume\nto be owned by the pod:\n\n\n1. The owning GID will be the FSGroup\n2. The setgid bit is set (new files created in the volume will be owned by FSGroup)\n3. The permission bits are OR'd with rw-rw----\n\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.\nNote that this field cannot be set when spec.os.name is windows." format: "int64" type: "integer" fsGroupChangePolicy: - description: "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used. Note that this field cannot be set when spec.os.name is windows." + description: "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume\nbefore being exposed inside Pod. This field will only apply to\nvolume types which support fsGroup based ownership(and permissions).\nIt will have no effect on ephemeral volume types such as: secret, configmaps\nand emptydir.\nValid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used.\nNote that this field cannot be set when spec.os.name is windows." type: "string" runAsGroup: - description: "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows." + description: "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows." format: "int64" type: "integer" runAsNonRoot: - description: "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + description: "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence." type: "boolean" runAsUser: - description: "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows." + description: "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows." format: "int64" type: "integer" seLinuxOptions: - description: "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows." + description: "The SELinux context to be applied to all containers.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in SecurityContext. If set in\nboth SecurityContext and PodSecurityContext, the value specified in SecurityContext\ntakes precedence for that container.\nNote that this field cannot be set when spec.os.name is windows." properties: level: description: "Level is SELinux level label that applies to the container." @@ -725,25 +871,25 @@ spec: type: "string" type: "object" seccompProfile: - description: "The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows." + description: "The seccomp options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows." properties: localhostProfile: - description: "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is \"Localhost\". Must NOT be set for any other type." + description: "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type." type: "string" type: - description: "type indicates which kind of seccomp profile will be applied. Valid options are: \n Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied." + description: "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied." type: "string" required: - "type" type: "object" supplementalGroups: - description: "A list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. If unspecified, no additional groups are added to any container. Note that group memberships defined in the container image for the uid of the container process are still effective, even if they are not included in this list. Note that this field cannot be set when spec.os.name is windows." + description: "A list of groups applied to the first process run in each container, in addition\nto the container's primary GID, the fsGroup (if specified), and group memberships\ndefined in the container image for the uid of the container process. If unspecified,\nno additional groups are added to any container. Note that group memberships\ndefined in the container image for the uid of the container process are still effective,\neven if they are not included in this list.\nNote that this field cannot be set when spec.os.name is windows." items: format: "int64" type: "integer" type: "array" sysctls: - description: "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows." + description: "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported\nsysctls (by the container runtime) might fail to launch.\nNote that this field cannot be set when spec.os.name is windows." items: description: "Sysctl defines a kernel parameter to be set" properties: @@ -759,19 +905,19 @@ spec: type: "object" type: "array" windowsOptions: - description: "The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux." + description: "The Windows specific settings applied to all containers.\nIf unspecified, the options within a container's SecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux." properties: gmsaCredentialSpec: - description: "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field." + description: "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field." type: "string" gmsaCredentialSpecName: description: "GMSACredentialSpecName is the name of the GMSA credential spec to use." type: "string" hostProcess: - description: "HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true." + description: "HostProcess determines if a container should be run as a 'Host Process' container.\nAll of a Pod's containers must have the same effective HostProcess value\n(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).\nIn addition, if HostProcess is true then HostNetwork must also be set to true." type: "boolean" runAsUserName: - description: "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + description: "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence." type: "string" type: "object" type: "object" @@ -782,24 +928,92 @@ spec: tolerations: description: "If specified, the pod's tolerations." items: - description: "The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator ." + description: "The pod this Toleration is attached to tolerates any taint that matches\nthe triple using the matching operator ." properties: effect: - description: "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute." + description: "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute." type: "string" key: - description: "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys." + description: "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys." type: "string" operator: - description: "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category." + description: "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category." type: "string" tolerationSeconds: - description: "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system." + description: "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system." format: "int64" type: "integer" value: - description: "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string." + description: "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string." + type: "string" + type: "object" + type: "array" + topologySpreadConstraints: + description: "TopologySpreadConstraints describes how stunnerd pods ought to spread across topology\ndomains." + items: + description: "TopologySpreadConstraint specifies how to spread matching pods among the given topology." + properties: + labelSelector: + description: "LabelSelector is used to find matching pods.\nPods that match this label selector are counted to determine the number of pods\nin their corresponding topology domain." + properties: + matchExpressions: + description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." + items: + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." + properties: + key: + description: "key is the label key that the selector applies to." + type: "string" + operator: + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." + type: "string" + values: + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." + items: + type: "string" + type: "array" + required: + - "key" + - "operator" + type: "object" + type: "array" + matchLabels: + additionalProperties: + type: "string" + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + type: "object" + type: "object" + x-kubernetes-map-type: "atomic" + matchLabelKeys: + description: "MatchLabelKeys is a set of pod label keys to select the pods over which\nspreading will be calculated. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are ANDed with labelSelector\nto select the group of existing pods over which spreading will be calculated\nfor the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nMatchLabelKeys cannot be set when LabelSelector isn't set.\nKeys that don't exist in the incoming pod labels will\nbe ignored. A null or empty list means only match against labelSelector.\n\n\nThis is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default)." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" + maxSkew: + description: "MaxSkew describes the degree to which pods may be unevenly distributed.\nWhen `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference\nbetween the number of matching pods in the target topology and the global minimum.\nThe global minimum is the minimum number of matching pods in an eligible domain\nor zero if the number of eligible domains is less than MinDomains.\nFor example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same\nlabelSelector spread as 2/2/1:\nIn this case, the global minimum is 1.\n| zone1 | zone2 | zone3 |\n| P P | P P | P |\n- if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2;\nscheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2)\nviolate MaxSkew(1).\n- if MaxSkew is 2, incoming pod can be scheduled onto any zone.\nWhen `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence\nto topologies that satisfy it.\nIt's a required field. Default value is 1 and 0 is not allowed." + format: "int32" + type: "integer" + minDomains: + description: "MinDomains indicates a minimum number of eligible domains.\nWhen the number of eligible domains with matching topology keys is less than minDomains,\nPod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed.\nAnd when the number of eligible domains with matching topology keys equals or greater than minDomains,\nthis value has no effect on scheduling.\nAs a result, when the number of eligible domains is less than minDomains,\nscheduler won't schedule more than maxSkew Pods to those domains.\nIf value is nil, the constraint behaves as if MinDomains is equal to 1.\nValid values are integers greater than 0.\nWhen value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same\nlabelSelector spread as 2/2/2:\n| zone1 | zone2 | zone3 |\n| P P | P P | P P |\nThe number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0.\nIn this situation, new pod with the same labelSelector cannot be scheduled,\nbecause computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,\nit will violate MaxSkew.\n\n\nThis is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default)." + format: "int32" + type: "integer" + nodeAffinityPolicy: + description: "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector\nwhen calculating pod topology spread skew. Options are:\n- Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations.\n- Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\n\nIf this value is nil, the behavior is equivalent to the Honor policy.\nThis is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag." + type: "string" + nodeTaintsPolicy: + description: "NodeTaintsPolicy indicates how we will treat node taints when calculating\npod topology spread skew. Options are:\n- Honor: nodes without taints, along with tainted nodes for which the incoming pod\nhas a toleration, are included.\n- Ignore: node taints are ignored. All nodes are included.\n\n\nIf this value is nil, the behavior is equivalent to the Ignore policy.\nThis is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag." type: "string" + topologyKey: + description: "TopologyKey is the key of node labels. Nodes that have a label with this key\nand identical values are considered to be in the same topology.\nWe consider each as a \"bucket\", and try to put balanced number\nof pods into each bucket.\nWe define a domain as a particular instance of a topology.\nAlso, we define an eligible domain as a domain whose nodes meet the requirements of\nnodeAffinityPolicy and nodeTaintsPolicy.\ne.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology.\nAnd, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology.\nIt's a required field." + type: "string" + whenUnsatisfiable: + description: "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy\nthe spread constraint.\n- DoNotSchedule (default) tells the scheduler not to schedule it.\n- ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod\nif and only if every possible node assignment for that pod would violate\n\"MaxSkew\" on some topology.\nFor example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same\nlabelSelector spread as 3/1/1:\n| zone1 | zone2 | zone3 |\n| P P P | P | P |\nIf WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled\nto zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies\nMaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler\nwon't make it *more* imbalanced.\nIt's a required field." + type: "string" + required: + - "maxSkew" + - "topologyKey" + - "whenUnsatisfiable" type: "object" type: "array" type: "object" diff --git a/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/gatewayconfigs.yaml b/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/gatewayconfigs.yaml index 76360eb52..4fc78db20 100644 --- a/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/gatewayconfigs.yaml +++ b/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/gatewayconfigs.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.13.0" + controller-gen.kubebuilder.io/version: "v0.14.0" name: "gatewayconfigs.stunner.l7mp.io" spec: group: "stunner.l7mp.io" @@ -33,10 +33,10 @@ spec: description: "GatewayConfig is the Schema for the gatewayconfigs API" properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -48,11 +48,11 @@ spec: format: "int32" type: "integer" authRef: - description: "Note that externally set credentials override any inline auth credentials (AuthType, AuthUsername, etc.): if AuthRef is nonempty then it is expected that the referenced Secret exists and *all* authentication credentials are correctly set in the referenced Secret (username/password or shared secret). Mixing of credential sources (inline/external) is not supported." + description: "Note that externally set credentials override any inline auth credentials (AuthType,\nAuthUsername, etc.): if AuthRef is nonempty then it is expected that the referenced\nSecret exists and *all* authentication credentials are correctly set in the referenced\nSecret (username/password or shared secret). Mixing of credential sources\n(inline/external) is not supported." properties: group: default: "" - description: "Group is the group of the referent. For example, \"gateway.networking.k8s.io\". When unspecified or empty string, core API group is inferred." + description: "Group is the group of the referent. For example, \"gateway.networking.k8s.io\".\nWhen unspecified or empty string, core API group is inferred." maxLength: 253 pattern: "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" type: "string" @@ -69,7 +69,7 @@ spec: minLength: 1 type: "string" namespace: - description: "Namespace is the namespace of the referenced object. When unspecified, the local namespace is inferred. \n Note that when a namespace different than the local namespace is specified, a ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. \n Support: Core" + description: "Namespace is the namespace of the referenced object. When unspecified, the local\nnamespace is inferred.\n\n\nNote that when a namespace different than the local namespace is specified,\na ReferenceGrant object is required in the referent namespace to allow that\nnamespace's owner to accept the reference. See the ReferenceGrant\ndocumentation for details.\n\n\nSupport: Core" maxLength: 63 minLength: 1 pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" @@ -84,12 +84,12 @@ spec: type: "string" dataplane: default: "default" - description: "Dataplane defines the dataplane (stunnerd image, version, etc) for STUNner gateways using this GatewayConfig." + description: "Dataplane defines the dataplane (stunnerd image, version, etc) for STUNner gateways\nusing this GatewayConfig." type: "string" loadBalancerServiceAnnotations: additionalProperties: type: "string" - description: "LoadBalancerServiceAnnotations is a list of annotations that will go into the LoadBalancer services created automatically by the operator to wrap Gateways. \n NOTE: removing annotations from a GatewayConfig will not result in the removal of the corresponding annotations from the LoadBalancer service, in order to prevent the accidental removal of an annotation installed there by Kubernetes or the cloud provider. If you really want to remove an annotation, do this manually or simply remove all Gateways (which will remove the corresponding LoadBalancer services), update the GatewayConfig and then recreate the Gateways, so that the newly created LoadBalancer services will contain the required annotations." + description: "LoadBalancerServiceAnnotations is a list of annotations that will go into the\nLoadBalancer services created automatically by the operator to wrap Gateways.\n\n\nNOTE: removing annotations from a GatewayConfig will not result in the removal of the\ncorresponding annotations from the LoadBalancer service, in order to prevent the\naccidental removal of an annotation installed there by Kubernetes or the cloud\nprovider. If you really want to remove an annotation, do this manually or simply remove\nall Gateways (which will remove the corresponding LoadBalancer services), update the\nGatewayConfig and then recreate the Gateways, so that the newly created LoadBalancer\nservices will contain the required annotations." type: "object" logLevel: description: "LogLevel specifies the default loglevel for the STUNner daemon." @@ -100,7 +100,7 @@ spec: type: "string" realm: default: "stunner.l7mp.io" - description: "Realm defines the STUN/TURN authentication realm to be used for clients toauthenticate with STUNner. \n The realm must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character. No other punctuation is allowed." + description: "Realm defines the STUN/TURN authentication realm to be used for clients toauthenticate\nwith STUNner.\n\n\nThe realm must consist of lower case alphanumeric characters or '-', and must start and\nend with an alphanumeric character. No other punctuation is allowed." pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" type: "string" sharedSecret: diff --git a/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/staticservices.yaml b/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/staticservices.yaml index b30493d0a..49fde5f7f 100644 --- a/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/staticservices.yaml +++ b/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/staticservices.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.13.0" + controller-gen.kubebuilder.io/version: "v0.14.0" name: "staticservices.stunner.l7mp.io" spec: group: "stunner.l7mp.io" @@ -20,13 +20,13 @@ spec: - name: "v1" schema: openAPIV3Schema: - description: "StaticService is a set of static IP address prefixes STUNner allows access to via a UDPRoute (or TCPRoute in the future). In contrast to Kubernetes Services, StaticServices expose all ports on the given IPs. See also https://github.com/kubernetes/enhancements/pull/2611." + description: "StaticService is a set of static IP address prefixes STUNner allows access to via a UDPRoute (or\nTCPRoute in the future). In contrast to Kubernetes Services, StaticServices expose all ports on\nthe given IPs. See also https://github.com/kubernetes/enhancements/pull/2611." properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" diff --git a/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/udproutes.yaml b/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/udproutes.yaml index d8a759354..1a3de594c 100644 --- a/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/udproutes.yaml +++ b/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/udproutes.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.13.0" + controller-gen.kubebuilder.io/version: "v0.14.0" name: "udproutes.stunner.l7mp.io" spec: group: "stunner.l7mp.io" @@ -22,13 +22,13 @@ spec: name: "v1" schema: openAPIV3Schema: - description: "UDPRoute provides a way to route UDP traffic. When combined with a Gateway listener, it can be used to forward traffic on the port specified by the listener to a set of backends specified by the UDPRoute. \n Differences from Gateway API UDPRoutes - port-ranges are correctly handled ([port, endPort]) - port is not mandatory - backend weight is not supported" + description: "UDPRoute provides a way to route UDP traffic. When combined with a Gateway listener, it can be\nused to forward traffic on the port specified by the listener to a set of backends specified by\nthe UDPRoute.\n\n\nDifferences from Gateway API UDPRoutes\n - port-ranges are correctly handled ([port, endPort])\n - port is not mandatory\n - backend weight is not supported" properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -36,42 +36,42 @@ spec: description: "Spec defines the desired state of UDPRoute." properties: parentRefs: - description: "ParentRefs references the resources (usually Gateways) that a Route wants to be attached to. Note that the referenced parent resource needs to allow this for the attachment to be complete. For Gateways, that means the Gateway needs to allow attachment from Routes of this kind and namespace. For Services, that means the Service must either be in the same namespace for a \"producer\" route, or the mesh implementation must support and allow \"consumer\" routes for the referenced Service. ReferenceGrant is not applicable for governing ParentRefs to Services - it is not possible to create a \"producer\" route for a Service in a different namespace from the Route. \n There are two kinds of parent resources with \"Core\" support: \n * Gateway (Gateway conformance profile) * Service (Mesh conformance profile, experimental, ClusterIP Services only) This API may be extended in the future to support additional kinds of parent resources. \n ParentRefs must be _distinct_. This means either that: \n * They select different objects. If this is the case, then parentRef entries are distinct. In terms of fields, this means that the multi-part key defined by `group`, `kind`, `namespace`, and `name` must be unique across all parentRef entries in the Route. * They do not select different objects, but for each optional field used, each ParentRef that selects the same object must set the same set of optional fields to different values. If one ParentRef sets a combination of optional fields, all must set the same combination. \n Some examples: \n * If one ParentRef sets `sectionName`, all ParentRefs referencing the same object must also set `sectionName`. * If one ParentRef sets `port`, all ParentRefs referencing the same object must also set `port`. * If one ParentRef sets `sectionName` and `port`, all ParentRefs referencing the same object must also set `sectionName` and `port`. \n It is possible to separately reference multiple distinct objects that may be collapsed by an implementation. For example, some implementations may choose to merge compatible Gateway Listeners together. If that is the case, the list of routes attached to those resources should also be merged. \n Note that for ParentRefs that cross namespace boundaries, there are specific rules. Cross-namespace references are only valid if they are explicitly allowed by something in the namespace they are referring to. For example, Gateway has the AllowedRoutes field, and ReferenceGrant provides a generic way to enable other kinds of cross-namespace reference. \n ParentRefs from a Route to a Service in the same namespace are \"producer\" routes, which apply default routing rules to inbound connections from any namespace to the Service. \n ParentRefs from a Route to a Service in a different namespace are \"consumer\" routes, and these routing rules are only applied to outbound connections originating from the same namespace as the Route, for which the intended destination of the connections are a Service targeted as a ParentRef of the Route. \n " + description: "ParentRefs references the resources (usually Gateways) that a Route wants\nto be attached to. Note that the referenced parent resource needs to\nallow this for the attachment to be complete. For Gateways, that means\nthe Gateway needs to allow attachment from Routes of this kind and\nnamespace. For Services, that means the Service must either be in the same\nnamespace for a \"producer\" route, or the mesh implementation must support\nand allow \"consumer\" routes for the referenced Service. ReferenceGrant is\nnot applicable for governing ParentRefs to Services - it is not possible to\ncreate a \"producer\" route for a Service in a different namespace from the\nRoute.\n\n\nThere are two kinds of parent resources with \"Core\" support:\n\n\n* Gateway (Gateway conformance profile)\n\n* Service (Mesh conformance profile, experimental, ClusterIP Services only)\n\nThis API may be extended in the future to support additional kinds of parent\nresources.\n\n\nParentRefs must be _distinct_. This means either that:\n\n\n* They select different objects. If this is the case, then parentRef\n entries are distinct. In terms of fields, this means that the\n multi-part key defined by `group`, `kind`, `namespace`, and `name` must\n be unique across all parentRef entries in the Route.\n* They do not select different objects, but for each optional field used,\n each ParentRef that selects the same object must set the same set of\n optional fields to different values. If one ParentRef sets a\n combination of optional fields, all must set the same combination.\n\n\nSome examples:\n\n\n* If one ParentRef sets `sectionName`, all ParentRefs referencing the\n same object must also set `sectionName`.\n* If one ParentRef sets `port`, all ParentRefs referencing the same\n object must also set `port`.\n* If one ParentRef sets `sectionName` and `port`, all ParentRefs\n referencing the same object must also set `sectionName` and `port`.\n\n\nIt is possible to separately reference multiple distinct objects that may\nbe collapsed by an implementation. For example, some implementations may\nchoose to merge compatible Gateway Listeners together. If that is the\ncase, the list of routes attached to those resources should also be\nmerged.\n\n\nNote that for ParentRefs that cross namespace boundaries, there are specific\nrules. Cross-namespace references are only valid if they are explicitly\nallowed by something in the namespace they are referring to. For example,\nGateway has the AllowedRoutes field, and ReferenceGrant provides a\ngeneric way to enable other kinds of cross-namespace reference.\n\n\n\nParentRefs from a Route to a Service in the same namespace are \"producer\"\nroutes, which apply default routing rules to inbound connections from\nany namespace to the Service.\n\n\nParentRefs from a Route to a Service in a different namespace are\n\"consumer\" routes, and these routing rules are only applied to outbound\nconnections originating from the same namespace as the Route, for which\nthe intended destination of the connections are a Service targeted as a\nParentRef of the Route.\n\n\n\n\n\n\n" items: - description: "ParentReference identifies an API object (usually a Gateway) that can be considered a parent of this resource (usually a route). There are two kinds of parent resources with \"Core\" support: \n * Gateway (Gateway conformance profile) * Service (Mesh conformance profile, experimental, ClusterIP Services only) \n This API may be extended in the future to support additional kinds of parent resources. \n The API object must be valid in the cluster; the Group and Kind must be registered in the cluster for this reference to be valid." + description: "ParentReference identifies an API object (usually a Gateway) that can be considered\na parent of this resource (usually a route). There are two kinds of parent resources\nwith \"Core\" support:\n\n\n* Gateway (Gateway conformance profile)\n* Service (Mesh conformance profile, experimental, ClusterIP Services only)\n\n\nThis API may be extended in the future to support additional kinds of parent\nresources.\n\n\nThe API object must be valid in the cluster; the Group and Kind must\nbe registered in the cluster for this reference to be valid." properties: group: default: "gateway.networking.k8s.io" - description: "Group is the group of the referent. When unspecified, \"gateway.networking.k8s.io\" is inferred. To set the core API group (such as for a \"Service\" kind referent), Group must be explicitly set to \"\" (empty string). \n Support: Core" + description: "Group is the group of the referent.\nWhen unspecified, \"gateway.networking.k8s.io\" is inferred.\nTo set the core API group (such as for a \"Service\" kind referent),\nGroup must be explicitly set to \"\" (empty string).\n\n\nSupport: Core" maxLength: 253 pattern: "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" type: "string" kind: default: "Gateway" - description: "Kind is kind of the referent. \n There are two kinds of parent resources with \"Core\" support: \n * Gateway (Gateway conformance profile) * Service (Mesh conformance profile, experimental, ClusterIP Services only) \n Support for other resources is Implementation-Specific." + description: "Kind is kind of the referent.\n\n\nThere are two kinds of parent resources with \"Core\" support:\n\n\n* Gateway (Gateway conformance profile)\n* Service (Mesh conformance profile, experimental, ClusterIP Services only)\n\n\nSupport for other resources is Implementation-Specific." maxLength: 63 minLength: 1 pattern: "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$" type: "string" name: - description: "Name is the name of the referent. \n Support: Core" + description: "Name is the name of the referent.\n\n\nSupport: Core" maxLength: 253 minLength: 1 type: "string" namespace: - description: "Namespace is the namespace of the referent. When unspecified, this refers to the local namespace of the Route. \n Note that there are specific rules for ParentRefs which cross namespace boundaries. Cross-namespace references are only valid if they are explicitly allowed by something in the namespace they are referring to. For example: Gateway has the AllowedRoutes field, and ReferenceGrant provides a generic way to enable any other kind of cross-namespace reference. \n ParentRefs from a Route to a Service in the same namespace are \"producer\" routes, which apply default routing rules to inbound connections from any namespace to the Service. \n ParentRefs from a Route to a Service in a different namespace are \"consumer\" routes, and these routing rules are only applied to outbound connections originating from the same namespace as the Route, for which the intended destination of the connections are a Service targeted as a ParentRef of the Route. \n Support: Core" + description: "Namespace is the namespace of the referent. When unspecified, this refers\nto the local namespace of the Route.\n\n\nNote that there are specific rules for ParentRefs which cross namespace\nboundaries. Cross-namespace references are only valid if they are explicitly\nallowed by something in the namespace they are referring to. For example:\nGateway has the AllowedRoutes field, and ReferenceGrant provides a\ngeneric way to enable any other kind of cross-namespace reference.\n\n\n\nParentRefs from a Route to a Service in the same namespace are \"producer\"\nroutes, which apply default routing rules to inbound connections from\nany namespace to the Service.\n\n\nParentRefs from a Route to a Service in a different namespace are\n\"consumer\" routes, and these routing rules are only applied to outbound\nconnections originating from the same namespace as the Route, for which\nthe intended destination of the connections are a Service targeted as a\nParentRef of the Route.\n\n\n\nSupport: Core" maxLength: 63 minLength: 1 pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" type: "string" port: - description: "Port is the network port this Route targets. It can be interpreted differently based on the type of parent resource. \n When the parent resource is a Gateway, this targets all listeners listening on the specified port that also support this kind of Route(and select this Route). It's not recommended to set `Port` unless the networking behaviors specified in a Route must apply to a specific port as opposed to a listener(s) whose port(s) may be changed. When both Port and SectionName are specified, the name and port of the selected listener must match both specified values. \n When the parent resource is a Service, this targets a specific port in the Service spec. When both Port (experimental) and SectionName are specified, the name and port of the selected port must match both specified values. \n Implementations MAY choose to support other parent resources. Implementations supporting other types of parent resources MUST clearly document how/if Port is interpreted. \n For the purpose of status, an attachment is considered successful as long as the parent resource accepts it partially. For example, Gateway listeners can restrict which Routes can attach to them by Route kind, namespace, or hostname. If 1 of 2 Gateway listeners accept attachment from the referencing Route, the Route MUST be considered successfully attached. If no Gateway listeners accept attachment from this Route, the Route MUST be considered detached from the Gateway. \n Support: Extended \n " + description: "Port is the network port this Route targets. It can be interpreted\ndifferently based on the type of parent resource.\n\n\nWhen the parent resource is a Gateway, this targets all listeners\nlistening on the specified port that also support this kind of Route(and\nselect this Route). It's not recommended to set `Port` unless the\nnetworking behaviors specified in a Route must apply to a specific port\nas opposed to a listener(s) whose port(s) may be changed. When both Port\nand SectionName are specified, the name and port of the selected listener\nmust match both specified values.\n\n\n\nWhen the parent resource is a Service, this targets a specific port in the\nService spec. When both Port (experimental) and SectionName are specified,\nthe name and port of the selected port must match both specified values.\n\n\n\nImplementations MAY choose to support other parent resources.\nImplementations supporting other types of parent resources MUST clearly\ndocument how/if Port is interpreted.\n\n\nFor the purpose of status, an attachment is considered successful as\nlong as the parent resource accepts it partially. For example, Gateway\nlisteners can restrict which Routes can attach to them by Route kind,\nnamespace, or hostname. If 1 of 2 Gateway listeners accept attachment\nfrom the referencing Route, the Route MUST be considered successfully\nattached. If no Gateway listeners accept attachment from this Route,\nthe Route MUST be considered detached from the Gateway.\n\n\nSupport: Extended\n\n\n" format: "int32" maximum: 65535.0 minimum: 1.0 type: "integer" sectionName: - description: "SectionName is the name of a section within the target resource. In the following resources, SectionName is interpreted as the following: \n * Gateway: Listener Name. When both Port (experimental) and SectionName are specified, the name and port of the selected listener must match both specified values. * Service: Port Name. When both Port (experimental) and SectionName are specified, the name and port of the selected listener must match both specified values. Note that attaching Routes to Services as Parents is part of experimental Mesh support and is not supported for any other purpose. \n Implementations MAY choose to support attaching Routes to other resources. If that is the case, they MUST clearly document how SectionName is interpreted. \n When unspecified (empty string), this will reference the entire resource. For the purpose of status, an attachment is considered successful if at least one section in the parent resource accepts it. For example, Gateway listeners can restrict which Routes can attach to them by Route kind, namespace, or hostname. If 1 of 2 Gateway listeners accept attachment from the referencing Route, the Route MUST be considered successfully attached. If no Gateway listeners accept attachment from this Route, the Route MUST be considered detached from the Gateway. \n Support: Core" + description: "SectionName is the name of a section within the target resource. In the\nfollowing resources, SectionName is interpreted as the following:\n\n\n* Gateway: Listener Name. When both Port (experimental) and SectionName\nare specified, the name and port of the selected listener must match\nboth specified values.\n* Service: Port Name. When both Port (experimental) and SectionName\nare specified, the name and port of the selected listener must match\nboth specified values. Note that attaching Routes to Services as Parents\nis part of experimental Mesh support and is not supported for any other\npurpose.\n\n\nImplementations MAY choose to support attaching Routes to other resources.\nIf that is the case, they MUST clearly document how SectionName is\ninterpreted.\n\n\nWhen unspecified (empty string), this will reference the entire resource.\nFor the purpose of status, an attachment is considered successful if at\nleast one section in the parent resource accepts it. For example, Gateway\nlisteners can restrict which Routes can attach to them by Route kind,\nnamespace, or hostname. If 1 of 2 Gateway listeners accept attachment from\nthe referencing Route, the Route MUST be considered successfully\nattached. If no Gateway listeners accept attachment from this Route, the\nRoute MUST be considered detached from the Gateway.\n\n\nSupport: Core" maxLength: 253 minLength: 1 pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" @@ -87,7 +87,7 @@ spec: description: "UDPRouteRule is the configuration for a given rule." properties: backendRefs: - description: "BackendRefs defines the backend(s) where matching requests should be sent. UDPRouteRules correctly handle port ranges." + description: "BackendRefs defines the backend(s) where matching requests should be\nsent. UDPRouteRules correctly handle port ranges." items: description: "BackendRef defines how a Route should forward a request to a Kubernetes resource." properties: @@ -99,13 +99,13 @@ spec: type: "integer" group: default: "" - description: "Group is the group of the referent. For example, \"gateway.networking.k8s.io\". When unspecified or empty string, core API group is inferred." + description: "Group is the group of the referent. For example, \"gateway.networking.k8s.io\".\nWhen unspecified or empty string, core API group is inferred." maxLength: 253 pattern: "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" type: "string" kind: default: "Service" - description: "Kind is the Kubernetes resource kind of the referent. For example \"Service\"." + description: "Kind is the Kubernetes resource kind of the referent. For example\n\"Service\"." maxLength: 63 minLength: 1 pattern: "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$" @@ -116,13 +116,13 @@ spec: minLength: 1 type: "string" namespace: - description: "Namespace is the namespace of the backend. When unspecified, the local namespace is inferred." + description: "Namespace is the namespace of the backend. When unspecified, the local\nnamespace is inferred." maxLength: 63 minLength: 1 pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" type: "string" port: - description: "Port specifies the destination port number to use for this resource. If port is not specified, all ports are allowed. If port is defined but endPort is not, allow only access to the given port. If both are specified, allows access in the port-range [port, endPort] inclusive." + description: "Port specifies the destination port number to use for this resource. If port is not\nspecified, all ports are allowed. If port is defined but endPort is not, allow only\naccess to the given port. If both are specified, allows access in the port-range [port,\nendPort] inclusive." format: "int32" maximum: 65535.0 minimum: 1.0 @@ -144,30 +144,30 @@ spec: description: "Status defines the current state of UDPRoute." properties: parents: - description: "Parents is a list of parent resources (usually Gateways) that are associated with the route, and the status of the route with respect to each parent. When this route attaches to a parent, the controller that manages the parent must add an entry to this list when the controller first sees the route and should update the entry as appropriate when the route or gateway is modified. \n Note that parent references that cannot be resolved by an implementation of this API will not be added to this list. Implementations of this API can only populate Route status for the Gateways/parent resources they are responsible for. \n A maximum of 32 Gateways will be represented in this list. An empty list means the route has not been attached to any Gateway." + description: "Parents is a list of parent resources (usually Gateways) that are\nassociated with the route, and the status of the route with respect to\neach parent. When this route attaches to a parent, the controller that\nmanages the parent must add an entry to this list when the controller\nfirst sees the route and should update the entry as appropriate when the\nroute or gateway is modified.\n\n\nNote that parent references that cannot be resolved by an implementation\nof this API will not be added to this list. Implementations of this API\ncan only populate Route status for the Gateways/parent resources they are\nresponsible for.\n\n\nA maximum of 32 Gateways will be represented in this list. An empty list\nmeans the route has not been attached to any Gateway." items: - description: "RouteParentStatus describes the status of a route with respect to an associated Parent." + description: "RouteParentStatus describes the status of a route with respect to an\nassociated Parent." properties: conditions: - description: "Conditions describes the status of the route with respect to the Gateway. Note that the route's availability is also subject to the Gateway's own status conditions and listener status. \n If the Route's ParentRef specifies an existing Gateway that supports Routes of this kind AND that Gateway's controller has sufficient access, then that Gateway's controller MUST set the \"Accepted\" condition on the Route, to indicate whether the route has been accepted or rejected by the Gateway, and why. \n A Route MUST be considered \"Accepted\" if at least one of the Route's rules is implemented by the Gateway. \n There are a number of cases where the \"Accepted\" condition may not be set due to lack of controller visibility, that includes when: \n * The Route refers to a non-existent parent. * The Route is of a type that the controller does not support. * The Route is in a namespace the controller does not have access to." + description: "Conditions describes the status of the route with respect to the Gateway.\nNote that the route's availability is also subject to the Gateway's own\nstatus conditions and listener status.\n\n\nIf the Route's ParentRef specifies an existing Gateway that supports\nRoutes of this kind AND that Gateway's controller has sufficient access,\nthen that Gateway's controller MUST set the \"Accepted\" condition on the\nRoute, to indicate whether the route has been accepted or rejected by the\nGateway, and why.\n\n\nA Route MUST be considered \"Accepted\" if at least one of the Route's\nrules is implemented by the Gateway.\n\n\nThere are a number of cases where the \"Accepted\" condition may not be set\ndue to lack of controller visibility, that includes when:\n\n\n* The Route refers to a non-existent parent.\n* The Route is of a type that the controller does not support.\n* The Route is in a namespace the controller does not have access to." items: - description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, \n type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }" + description: "Condition contains details for one aspect of the current state of this API Resource.\n---\nThis struct is intended for direct use as an array at the field path .status.conditions. For example,\n\n\n\ttype FooStatus struct{\n\t // Represents the observations of a foo's current state.\n\t // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\"\n\t // +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t // other fields\n\t}" properties: lastTransitionTime: - description: "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable." + description: "lastTransitionTime is the last time the condition transitioned from one status to another.\nThis should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable." format: "date-time" type: "string" message: - description: "message is a human readable message indicating details about the transition. This may be an empty string." + description: "message is a human readable message indicating details about the transition.\nThis may be an empty string." maxLength: 32768 type: "string" observedGeneration: - description: "observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance." + description: "observedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance." format: "int64" minimum: 0.0 type: "integer" reason: - description: "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty." + description: "reason contains a programmatic identifier indicating the reason for the condition's last transition.\nProducers of specific condition types may define expected values and meanings for this field,\nand whether the values are considered a guaranteed API.\nThe value should be a CamelCase string.\nThis field may not be empty." maxLength: 1024 minLength: 1 pattern: "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$" @@ -180,7 +180,7 @@ spec: - "Unknown" type: "string" type: - description: "type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)" + description: "type of condition in CamelCase or in foo.example.com/CamelCase.\n---\nMany .condition.type values are consistent across resources like Available, but because arbitrary conditions can be\nuseful (see .node.status.conditions), the ability to deconflict is important.\nThe regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)" maxLength: 316 pattern: "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$" type: "string" @@ -198,46 +198,46 @@ spec: - "type" x-kubernetes-list-type: "map" controllerName: - description: "ControllerName is a domain/path string that indicates the name of the controller that wrote this status. This corresponds with the controllerName field on GatewayClass. \n Example: \"example.net/gateway-controller\". \n The format of this field is DOMAIN \"/\" PATH, where DOMAIN and PATH are valid Kubernetes names (https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names). \n Controllers MUST populate this field when writing status. Controllers should ensure that entries to status populated with their ControllerName are cleaned up when they are no longer necessary." + description: "ControllerName is a domain/path string that indicates the name of the\ncontroller that wrote this status. This corresponds with the\ncontrollerName field on GatewayClass.\n\n\nExample: \"example.net/gateway-controller\".\n\n\nThe format of this field is DOMAIN \"/\" PATH, where DOMAIN and PATH are\nvalid Kubernetes names\n(https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names).\n\n\nControllers MUST populate this field when writing status. Controllers should ensure that\nentries to status populated with their ControllerName are cleaned up when they are no\nlonger necessary." maxLength: 253 minLength: 1 pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\\/[A-Za-z0-9\\/\\-._~%!$&'()*+,;=:]+$" type: "string" parentRef: - description: "ParentRef corresponds with a ParentRef in the spec that this RouteParentStatus struct describes the status of." + description: "ParentRef corresponds with a ParentRef in the spec that this\nRouteParentStatus struct describes the status of." properties: group: default: "gateway.networking.k8s.io" - description: "Group is the group of the referent. When unspecified, \"gateway.networking.k8s.io\" is inferred. To set the core API group (such as for a \"Service\" kind referent), Group must be explicitly set to \"\" (empty string). \n Support: Core" + description: "Group is the group of the referent.\nWhen unspecified, \"gateway.networking.k8s.io\" is inferred.\nTo set the core API group (such as for a \"Service\" kind referent),\nGroup must be explicitly set to \"\" (empty string).\n\n\nSupport: Core" maxLength: 253 pattern: "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" type: "string" kind: default: "Gateway" - description: "Kind is kind of the referent. \n There are two kinds of parent resources with \"Core\" support: \n * Gateway (Gateway conformance profile) * Service (Mesh conformance profile, experimental, ClusterIP Services only) \n Support for other resources is Implementation-Specific." + description: "Kind is kind of the referent.\n\n\nThere are two kinds of parent resources with \"Core\" support:\n\n\n* Gateway (Gateway conformance profile)\n* Service (Mesh conformance profile, experimental, ClusterIP Services only)\n\n\nSupport for other resources is Implementation-Specific." maxLength: 63 minLength: 1 pattern: "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$" type: "string" name: - description: "Name is the name of the referent. \n Support: Core" + description: "Name is the name of the referent.\n\n\nSupport: Core" maxLength: 253 minLength: 1 type: "string" namespace: - description: "Namespace is the namespace of the referent. When unspecified, this refers to the local namespace of the Route. \n Note that there are specific rules for ParentRefs which cross namespace boundaries. Cross-namespace references are only valid if they are explicitly allowed by something in the namespace they are referring to. For example: Gateway has the AllowedRoutes field, and ReferenceGrant provides a generic way to enable any other kind of cross-namespace reference. \n ParentRefs from a Route to a Service in the same namespace are \"producer\" routes, which apply default routing rules to inbound connections from any namespace to the Service. \n ParentRefs from a Route to a Service in a different namespace are \"consumer\" routes, and these routing rules are only applied to outbound connections originating from the same namespace as the Route, for which the intended destination of the connections are a Service targeted as a ParentRef of the Route. \n Support: Core" + description: "Namespace is the namespace of the referent. When unspecified, this refers\nto the local namespace of the Route.\n\n\nNote that there are specific rules for ParentRefs which cross namespace\nboundaries. Cross-namespace references are only valid if they are explicitly\nallowed by something in the namespace they are referring to. For example:\nGateway has the AllowedRoutes field, and ReferenceGrant provides a\ngeneric way to enable any other kind of cross-namespace reference.\n\n\n\nParentRefs from a Route to a Service in the same namespace are \"producer\"\nroutes, which apply default routing rules to inbound connections from\nany namespace to the Service.\n\n\nParentRefs from a Route to a Service in a different namespace are\n\"consumer\" routes, and these routing rules are only applied to outbound\nconnections originating from the same namespace as the Route, for which\nthe intended destination of the connections are a Service targeted as a\nParentRef of the Route.\n\n\n\nSupport: Core" maxLength: 63 minLength: 1 pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" type: "string" port: - description: "Port is the network port this Route targets. It can be interpreted differently based on the type of parent resource. \n When the parent resource is a Gateway, this targets all listeners listening on the specified port that also support this kind of Route(and select this Route). It's not recommended to set `Port` unless the networking behaviors specified in a Route must apply to a specific port as opposed to a listener(s) whose port(s) may be changed. When both Port and SectionName are specified, the name and port of the selected listener must match both specified values. \n When the parent resource is a Service, this targets a specific port in the Service spec. When both Port (experimental) and SectionName are specified, the name and port of the selected port must match both specified values. \n Implementations MAY choose to support other parent resources. Implementations supporting other types of parent resources MUST clearly document how/if Port is interpreted. \n For the purpose of status, an attachment is considered successful as long as the parent resource accepts it partially. For example, Gateway listeners can restrict which Routes can attach to them by Route kind, namespace, or hostname. If 1 of 2 Gateway listeners accept attachment from the referencing Route, the Route MUST be considered successfully attached. If no Gateway listeners accept attachment from this Route, the Route MUST be considered detached from the Gateway. \n Support: Extended \n " + description: "Port is the network port this Route targets. It can be interpreted\ndifferently based on the type of parent resource.\n\n\nWhen the parent resource is a Gateway, this targets all listeners\nlistening on the specified port that also support this kind of Route(and\nselect this Route). It's not recommended to set `Port` unless the\nnetworking behaviors specified in a Route must apply to a specific port\nas opposed to a listener(s) whose port(s) may be changed. When both Port\nand SectionName are specified, the name and port of the selected listener\nmust match both specified values.\n\n\n\nWhen the parent resource is a Service, this targets a specific port in the\nService spec. When both Port (experimental) and SectionName are specified,\nthe name and port of the selected port must match both specified values.\n\n\n\nImplementations MAY choose to support other parent resources.\nImplementations supporting other types of parent resources MUST clearly\ndocument how/if Port is interpreted.\n\n\nFor the purpose of status, an attachment is considered successful as\nlong as the parent resource accepts it partially. For example, Gateway\nlisteners can restrict which Routes can attach to them by Route kind,\nnamespace, or hostname. If 1 of 2 Gateway listeners accept attachment\nfrom the referencing Route, the Route MUST be considered successfully\nattached. If no Gateway listeners accept attachment from this Route,\nthe Route MUST be considered detached from the Gateway.\n\n\nSupport: Extended\n\n\n" format: "int32" maximum: 65535.0 minimum: 1.0 type: "integer" sectionName: - description: "SectionName is the name of a section within the target resource. In the following resources, SectionName is interpreted as the following: \n * Gateway: Listener Name. When both Port (experimental) and SectionName are specified, the name and port of the selected listener must match both specified values. * Service: Port Name. When both Port (experimental) and SectionName are specified, the name and port of the selected listener must match both specified values. Note that attaching Routes to Services as Parents is part of experimental Mesh support and is not supported for any other purpose. \n Implementations MAY choose to support attaching Routes to other resources. If that is the case, they MUST clearly document how SectionName is interpreted. \n When unspecified (empty string), this will reference the entire resource. For the purpose of status, an attachment is considered successful if at least one section in the parent resource accepts it. For example, Gateway listeners can restrict which Routes can attach to them by Route kind, namespace, or hostname. If 1 of 2 Gateway listeners accept attachment from the referencing Route, the Route MUST be considered successfully attached. If no Gateway listeners accept attachment from this Route, the Route MUST be considered detached from the Gateway. \n Support: Core" + description: "SectionName is the name of a section within the target resource. In the\nfollowing resources, SectionName is interpreted as the following:\n\n\n* Gateway: Listener Name. When both Port (experimental) and SectionName\nare specified, the name and port of the selected listener must match\nboth specified values.\n* Service: Port Name. When both Port (experimental) and SectionName\nare specified, the name and port of the selected listener must match\nboth specified values. Note that attaching Routes to Services as Parents\nis part of experimental Mesh support and is not supported for any other\npurpose.\n\n\nImplementations MAY choose to support attaching Routes to other resources.\nIf that is the case, they MUST clearly document how SectionName is\ninterpreted.\n\n\nWhen unspecified (empty string), this will reference the entire resource.\nFor the purpose of status, an attachment is considered successful if at\nleast one section in the parent resource accepts it. For example, Gateway\nlisteners can restrict which Routes can attach to them by Route kind,\nnamespace, or hostname. If 1 of 2 Gateway listeners accept attachment from\nthe referencing Route, the Route MUST be considered successfully\nattached. If no Gateway listeners accept attachment from this Route, the\nRoute MUST be considered detached from the Gateway.\n\n\nSupport: Core" maxLength: 253 minLength: 1 pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" diff --git a/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1alpha1/dataplanes.yaml b/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1alpha1/dataplanes.yaml index 748e54a62..8986bddf5 100644 --- a/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1alpha1/dataplanes.yaml +++ b/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1alpha1/dataplanes.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.13.0" + controller-gen.kubebuilder.io/version: "v0.14.0" name: "dataplanes.stunner.l7mp.io" spec: group: "stunner.l7mp.io" @@ -20,13 +20,13 @@ spec: - name: "v1alpha1" schema: openAPIV3Schema: - description: "Dataplane is a collection of configuration parameters that can be used for spawning a `stunnerd` instance for a Gateway. Labels and annotations on the Dataplane object will be copied verbatim into the target Deployment." + description: "Dataplane is a collection of configuration parameters that can be used for spawning a `stunnerd`\ninstance for a Gateway. Labels and annotations on the Dataplane object will be copied verbatim\ninto the target Deployment." properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -40,9 +40,9 @@ spec: description: "Describes node affinity scheduling rules for the pod." properties: preferredDuringSchedulingIgnoredDuringExecution: - description: "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred." + description: "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node matches the corresponding matchExpressions; the\nnode(s) with the highest sum are the most preferred." items: - description: "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op)." + description: "An empty preferred scheduling term matches all objects with implicit weight 0\n(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op)." properties: preference: description: "A node selector term, associated with the corresponding weight." @@ -50,16 +50,16 @@ spec: matchExpressions: description: "A list of node selector requirements by node's labels." items: - description: "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values." properties: key: description: "The label key that the selector applies to." type: "string" operator: - description: "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + description: "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." type: "string" values: - description: "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + description: "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch." items: type: "string" type: "array" @@ -71,16 +71,16 @@ spec: matchFields: description: "A list of node selector requirements by node's fields." items: - description: "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values." properties: key: description: "The label key that the selector applies to." type: "string" operator: - description: "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + description: "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." type: "string" values: - description: "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + description: "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch." items: type: "string" type: "array" @@ -101,26 +101,26 @@ spec: type: "object" type: "array" requiredDuringSchedulingIgnoredDuringExecution: - description: "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node." + description: "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node." properties: nodeSelectorTerms: description: "Required. A list of node selector terms. The terms are ORed." items: - description: "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm." + description: "A null or empty node selector term matches no objects. The requirements of\nthem are ANDed.\nThe TopologySelectorTerm type implements a subset of the NodeSelectorTerm." properties: matchExpressions: description: "A list of node selector requirements by node's labels." items: - description: "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values." properties: key: description: "The label key that the selector applies to." type: "string" operator: - description: "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + description: "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." type: "string" values: - description: "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + description: "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch." items: type: "string" type: "array" @@ -132,16 +132,16 @@ spec: matchFields: description: "A list of node selector requirements by node's fields." items: - description: "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values." properties: key: description: "The label key that the selector applies to." type: "string" operator: - description: "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + description: "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." type: "string" values: - description: "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + description: "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch." items: type: "string" type: "array" @@ -162,7 +162,7 @@ spec: description: "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))." properties: preferredDuringSchedulingIgnoredDuringExecution: - description: "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred." + description: "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred." items: description: "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)" properties: @@ -170,21 +170,21 @@ spec: description: "Required. A pod affinity term, associated with the corresponding weight." properties: labelSelector: - description: "A label query over a set of resources, in this case pods." + description: "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" @@ -196,26 +196,38 @@ spec: matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" x-kubernetes-map-type: "atomic" + matchLabelKeys: + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" + mismatchLabelKeys: + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" namespaceSelector: - description: "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces." + description: "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" @@ -227,23 +239,23 @@ spec: matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" x-kubernetes-map-type: "atomic" namespaces: - description: "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." + description: "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." items: type: "string" type: "array" topologyKey: - description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed." + description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" required: - "topologyKey" type: "object" weight: - description: "weight associated with matching the corresponding podAffinityTerm, in the range 1-100." + description: "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100." format: "int32" type: "integer" required: @@ -252,26 +264,26 @@ spec: type: "object" type: "array" requiredDuringSchedulingIgnoredDuringExecution: - description: "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied." + description: "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied." items: - description: "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running" + description: "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running" properties: labelSelector: - description: "A label query over a set of resources, in this case pods." + description: "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" @@ -283,26 +295,38 @@ spec: matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" x-kubernetes-map-type: "atomic" + matchLabelKeys: + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" + mismatchLabelKeys: + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" namespaceSelector: - description: "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces." + description: "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" @@ -314,17 +338,17 @@ spec: matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" x-kubernetes-map-type: "atomic" namespaces: - description: "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." + description: "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." items: type: "string" type: "array" topologyKey: - description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed." + description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" required: - "topologyKey" @@ -335,7 +359,7 @@ spec: description: "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))." properties: preferredDuringSchedulingIgnoredDuringExecution: - description: "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred." + description: "The scheduler will prefer to schedule pods to nodes that satisfy\nthe anti-affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling anti-affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred." items: description: "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)" properties: @@ -343,21 +367,21 @@ spec: description: "Required. A pod affinity term, associated with the corresponding weight." properties: labelSelector: - description: "A label query over a set of resources, in this case pods." + description: "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" @@ -369,26 +393,38 @@ spec: matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" x-kubernetes-map-type: "atomic" + matchLabelKeys: + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" + mismatchLabelKeys: + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" namespaceSelector: - description: "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces." + description: "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" @@ -400,23 +436,23 @@ spec: matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" x-kubernetes-map-type: "atomic" namespaces: - description: "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." + description: "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." items: type: "string" type: "array" topologyKey: - description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed." + description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" required: - "topologyKey" type: "object" weight: - description: "weight associated with matching the corresponding podAffinityTerm, in the range 1-100." + description: "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100." format: "int32" type: "integer" required: @@ -425,26 +461,26 @@ spec: type: "object" type: "array" requiredDuringSchedulingIgnoredDuringExecution: - description: "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied." + description: "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied." items: - description: "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running" + description: "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running" properties: labelSelector: - description: "A label query over a set of resources, in this case pods." + description: "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" @@ -456,26 +492,38 @@ spec: matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" x-kubernetes-map-type: "atomic" + matchLabelKeys: + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" + mismatchLabelKeys: + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + items: + type: "string" + type: "array" + x-kubernetes-list-type: "atomic" namespaceSelector: - description: "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces." + description: "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" @@ -487,17 +535,17 @@ spec: matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" x-kubernetes-map-type: "atomic" namespaces: - description: "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." + description: "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." items: type: "string" type: "array" topologyKey: - description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed." + description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" required: - "topologyKey" @@ -524,7 +572,7 @@ spec: description: "Name of the environment variable. Must be a C_IDENTIFIER." type: "string" value: - description: "Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\"." + description: "Variable references $(VAR_NAME) are expanded\nusing the previously defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\n\"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\".\nEscaped references will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\"." type: "string" valueFrom: description: "Source for the environment variable's value. Cannot be used if value is not empty." @@ -536,7 +584,7 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -546,7 +594,7 @@ spec: type: "object" x-kubernetes-map-type: "atomic" fieldRef: - description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." + description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -559,7 +607,7 @@ spec: type: "object" x-kubernetes-map-type: "atomic" resourceFieldRef: - description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." + description: "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." properties: containerName: description: "Container name: required for volumes, optional for env vars" @@ -585,7 +633,7 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?" + description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -603,7 +651,7 @@ spec: description: "If specified, the health-check port." type: "integer" hostNetwork: - description: "Host networking requested for the stunnerd pod to use the host's network namespace. Can be used to implement public TURN servers with Kubernetes. Defaults to false." + description: "Host networking requested for the stunnerd pod to use the host's network namespace.\nCan be used to implement public TURN servers with Kubernetes. Defaults to false." type: "boolean" image: description: "Container image name." @@ -612,19 +660,19 @@ spec: description: "Image pull policy. One of Always, Never, IfNotPresent." type: "string" replicas: - description: "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1." + description: "Number of desired pods. This is a pointer to distinguish between explicit zero and not\nspecified. Defaults to 1." format: "int32" type: "integer" resources: description: "Resources required by stunnerd." properties: claims: - description: "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. \n This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. \n This field is immutable. It can only be set for containers." + description: "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\n\nThis field is immutable. It can only be set for containers." items: description: "ResourceClaim references one entry in PodSpec.ResourceClaims." properties: name: - description: "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container." + description: "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container." type: "string" required: - "name" @@ -640,7 +688,7 @@ spec: - type: "string" pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" x-kubernetes-int-or-string: true - description: "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" + description: "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" type: "object" requests: additionalProperties: @@ -649,32 +697,32 @@ spec: - type: "string" pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" x-kubernetes-int-or-string: true - description: "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" + description: "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" type: "object" type: "object" securityContext: description: "SecurityContext holds pod-level security attributes and common container settings." properties: fsGroup: - description: "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: \n 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- \n If unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows." + description: "A special supplemental group that applies to all containers in a pod.\nSome volume types allow the Kubelet to change the ownership of that volume\nto be owned by the pod:\n\n\n1. The owning GID will be the FSGroup\n2. The setgid bit is set (new files created in the volume will be owned by FSGroup)\n3. The permission bits are OR'd with rw-rw----\n\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.\nNote that this field cannot be set when spec.os.name is windows." format: "int64" type: "integer" fsGroupChangePolicy: - description: "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used. Note that this field cannot be set when spec.os.name is windows." + description: "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume\nbefore being exposed inside Pod. This field will only apply to\nvolume types which support fsGroup based ownership(and permissions).\nIt will have no effect on ephemeral volume types such as: secret, configmaps\nand emptydir.\nValid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used.\nNote that this field cannot be set when spec.os.name is windows." type: "string" runAsGroup: - description: "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows." + description: "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows." format: "int64" type: "integer" runAsNonRoot: - description: "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + description: "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence." type: "boolean" runAsUser: - description: "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows." + description: "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows." format: "int64" type: "integer" seLinuxOptions: - description: "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows." + description: "The SELinux context to be applied to all containers.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in SecurityContext. If set in\nboth SecurityContext and PodSecurityContext, the value specified in SecurityContext\ntakes precedence for that container.\nNote that this field cannot be set when spec.os.name is windows." properties: level: description: "Level is SELinux level label that applies to the container." @@ -690,25 +738,25 @@ spec: type: "string" type: "object" seccompProfile: - description: "The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows." + description: "The seccomp options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows." properties: localhostProfile: - description: "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is \"Localhost\". Must NOT be set for any other type." + description: "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type." type: "string" type: - description: "type indicates which kind of seccomp profile will be applied. Valid options are: \n Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied." + description: "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied." type: "string" required: - "type" type: "object" supplementalGroups: - description: "A list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. If unspecified, no additional groups are added to any container. Note that group memberships defined in the container image for the uid of the container process are still effective, even if they are not included in this list. Note that this field cannot be set when spec.os.name is windows." + description: "A list of groups applied to the first process run in each container, in addition\nto the container's primary GID, the fsGroup (if specified), and group memberships\ndefined in the container image for the uid of the container process. If unspecified,\nno additional groups are added to any container. Note that group memberships\ndefined in the container image for the uid of the container process are still effective,\neven if they are not included in this list.\nNote that this field cannot be set when spec.os.name is windows." items: format: "int64" type: "integer" type: "array" sysctls: - description: "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows." + description: "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported\nsysctls (by the container runtime) might fail to launch.\nNote that this field cannot be set when spec.os.name is windows." items: description: "Sysctl defines a kernel parameter to be set" properties: @@ -724,19 +772,19 @@ spec: type: "object" type: "array" windowsOptions: - description: "The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux." + description: "The Windows specific settings applied to all containers.\nIf unspecified, the options within a container's SecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux." properties: gmsaCredentialSpec: - description: "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field." + description: "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field." type: "string" gmsaCredentialSpecName: description: "GMSACredentialSpecName is the name of the GMSA credential spec to use." type: "string" hostProcess: - description: "HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true." + description: "HostProcess determines if a container should be run as a 'Host Process' container.\nAll of a Pod's containers must have the same effective HostProcess value\n(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).\nIn addition, if HostProcess is true then HostNetwork must also be set to true." type: "boolean" runAsUserName: - description: "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + description: "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence." type: "string" type: "object" type: "object" @@ -747,23 +795,23 @@ spec: tolerations: description: "If specified, the pod's tolerations." items: - description: "The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator ." + description: "The pod this Toleration is attached to tolerates any taint that matches\nthe triple using the matching operator ." properties: effect: - description: "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute." + description: "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute." type: "string" key: - description: "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys." + description: "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys." type: "string" operator: - description: "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category." + description: "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category." type: "string" tolerationSeconds: - description: "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system." + description: "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system." format: "int64" type: "integer" value: - description: "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string." + description: "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string." type: "string" type: "object" type: "array" diff --git a/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1alpha1/gatewayconfigs.yaml b/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1alpha1/gatewayconfigs.yaml index b9490b66d..0a9855e8f 100644 --- a/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1alpha1/gatewayconfigs.yaml +++ b/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1alpha1/gatewayconfigs.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.13.0" + controller-gen.kubebuilder.io/version: "v0.14.0" name: "gatewayconfigs.stunner.l7mp.io" spec: group: "stunner.l7mp.io" @@ -33,10 +33,10 @@ spec: description: "GatewayConfig is the Schema for the gatewayconfigs API" properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -48,11 +48,11 @@ spec: format: "int32" type: "integer" authRef: - description: "Note that externally set credentials override any inline auth credentials (AuthType, AuthUsername, etc.): if AuthRef is nonempty then it is expected that the referenced Secret exists and *all* authentication credentials are correctly set in the referenced Secret (username/password or shared secret). Mixing of credential sources (inline/external) is not supported." + description: "Note that externally set credentials override any inline auth credentials (AuthType,\nAuthUsername, etc.): if AuthRef is nonempty then it is expected that the referenced\nSecret exists and *all* authentication credentials are correctly set in the referenced\nSecret (username/password or shared secret). Mixing of credential sources\n(inline/external) is not supported." properties: group: default: "" - description: "Group is the group of the referent. For example, \"gateway.networking.k8s.io\". When unspecified or empty string, core API group is inferred." + description: "Group is the group of the referent. For example, \"gateway.networking.k8s.io\".\nWhen unspecified or empty string, core API group is inferred." maxLength: 253 pattern: "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" type: "string" @@ -69,7 +69,7 @@ spec: minLength: 1 type: "string" namespace: - description: "Namespace is the namespace of the referenced object. When unspecified, the local namespace is inferred. \n Note that when a namespace different than the local namespace is specified, a ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. \n Support: Core" + description: "Namespace is the namespace of the referenced object. When unspecified, the local\nnamespace is inferred.\n\n\nNote that when a namespace different than the local namespace is specified,\na ReferenceGrant object is required in the referent namespace to allow that\nnamespace's owner to accept the reference. See the ReferenceGrant\ndocumentation for details.\n\n\nSupport: Core" maxLength: 63 minLength: 1 pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" @@ -84,15 +84,15 @@ spec: type: "string" dataplane: default: "default" - description: "Dataplane defines the TURN server to set up for the STUNner Gateways using this GatewayConfig. Can be used to select the stunnerd image repo and version or deploy into the host-network namespace." + description: "Dataplane defines the TURN server to set up for the STUNner Gateways using this\nGatewayConfig. Can be used to select the stunnerd image repo and version or deploy into\nthe host-network namespace." type: "string" healthCheckEndpoint: - description: "HealthCheckEndpoint is the URI of the form `http://address:port` exposed for external HTTP health-checking. A liveness probe responder will be exposed on path `/live` and readiness probe on path `/ready`. The scheme (`http://`) is mandatory, default is to enable health-checking at \"http://0.0.0.0:8086\"." + description: "HealthCheckEndpoint is the URI of the form `http://address:port` exposed for external\nHTTP health-checking. A liveness probe responder will be exposed on path `/live` and\nreadiness probe on path `/ready`. The scheme (`http://`) is mandatory, default is to\nenable health-checking at \"http://0.0.0.0:8086\"." type: "string" loadBalancerServiceAnnotations: additionalProperties: type: "string" - description: "LoadBalancerServiceAnnotations is a list of annotations that will go into the LoadBalancer services created automatically by the operator to wrap Gateways. \n NOTE: removing annotations from a GatewayConfig will not result in the removal of the corresponding annotations from the LoadBalancer service, in order to prevent the accidental removal of an annotation installed there by Kubernetes or the cloud provider. If you really want to remove an annotation, do this manually or simply remove all Gateways (which will remove the corresponding LoadBalancer services), update the GatewayConfig and then recreate the Gateways, so that the newly created LoadBalancer services will contain the required annotations." + description: "LoadBalancerServiceAnnotations is a list of annotations that will go into the\nLoadBalancer services created automatically by the operator to wrap Gateways.\n\n\nNOTE: removing annotations from a GatewayConfig will not result in the removal of the\ncorresponding annotations from the LoadBalancer service, in order to prevent the\naccidental removal of an annotation installed there by Kubernetes or the cloud\nprovider. If you really want to remove an annotation, do this manually or simply remove\nall Gateways (which will remove the corresponding LoadBalancer services), update the\nGatewayConfig and then recreate the Gateways, so that the newly created LoadBalancer\nservices will contain the required annotations." type: "object" logLevel: description: "LogLevel specifies the default loglevel for the STUNner daemon." @@ -102,7 +102,7 @@ spec: format: "int32" type: "integer" metricsEndpoint: - description: "MetricsEndpoint is the URI in the form `http://address:port/path` exposed for metric scraping (Prometheus). The scheme (`http://`) is mandatory. Default is to expose no metric endpoint." + description: "MetricsEndpoint is the URI in the form `http://address:port/path` exposed for metric\nscraping (Prometheus). The scheme (`http://`) is mandatory. Default is to expose no\nmetric endpoint." type: "string" minPort: description: "MinRelayPort is the smallest relay port assigned for STUNner relay connections." @@ -114,7 +114,7 @@ spec: type: "string" realm: default: "stunner.l7mp.io" - description: "Realm defines the STUN/TURN authentication realm to be used for clients toauthenticate with STUNner. \n The realm must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character. No other punctuation is allowed." + description: "Realm defines the STUN/TURN authentication realm to be used for clients toauthenticate\nwith STUNner.\n\n\nThe realm must consist of lower case alphanumeric characters or '-', and must start and\nend with an alphanumeric character. No other punctuation is allowed." pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" type: "string" sharedSecret: @@ -122,7 +122,7 @@ spec: type: "string" stunnerConfig: default: "stunnerd-config" - description: "StunnerConfig specifies the name of the ConfigMap into which the operator renders the stunnerd configfile." + description: "StunnerConfig specifies the name of the ConfigMap into which the operator renders the\nstunnerd configfile." maxLength: 64 pattern: "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$" type: "string" diff --git a/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1alpha1/staticservices.yaml b/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1alpha1/staticservices.yaml index 434ac82fc..b6ff0fd7a 100644 --- a/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1alpha1/staticservices.yaml +++ b/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1alpha1/staticservices.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.13.0" + controller-gen.kubebuilder.io/version: "v0.14.0" name: "staticservices.stunner.l7mp.io" spec: group: "stunner.l7mp.io" @@ -20,13 +20,13 @@ spec: - name: "v1alpha1" schema: openAPIV3Schema: - description: "StaticService is a set of static IP address prefixes STUNner allows access to via a Route. The purpose is to allow a Service-like CRD containing a set of static IP address prefixes to be set as the backend of a UDPRoute (or TCPRoute)." + description: "StaticService is a set of static IP address prefixes STUNner allows access to via a Route. The\npurpose is to allow a Service-like CRD containing a set of static IP address prefixes to be set\nas the backend of a UDPRoute (or TCPRoute)." properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -39,13 +39,13 @@ spec: description: "ServicePort contains information on service's port." properties: appProtocol: - description: "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either: \n * Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). \n * Kubernetes-defined prefixed names: * 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540 * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455 * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455 \n * Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol." + description: "The application protocol for this port.\nThis is used as a hint for implementations to offer richer behavior for protocols that they understand.\nThis field follows standard Kubernetes label syntax.\nValid values are either:\n\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per\nRFC-6335 and https://www.iana.org/assignments/service-names).\n\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n\n* Other protocols should use implementation-defined prefixed names such as\nmycompany.com/my-custom-protocol." type: "string" name: - description: "The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service." + description: "The name of this port within the service. This must be a DNS_LABEL.\nAll ports within a ServiceSpec must have unique names. When considering\nthe endpoints for a Service, this must match the 'name' field in the\nEndpointPort.\nOptional if only one ServicePort is defined on this service." type: "string" nodePort: - description: "The port on each node on which this service is exposed when type is NodePort or LoadBalancer. Usually assigned by the system. If a value is specified, in-range, and not in use it will be used, otherwise the operation will fail. If not specified, a port will be allocated if this Service requires one. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type from NodePort to ClusterIP). More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport" + description: "The port on each node on which this service is exposed when type is\nNodePort or LoadBalancer. Usually assigned by the system. If a value is\nspecified, in-range, and not in use it will be used, otherwise the\noperation will fail. If not specified, a port will be allocated if this\nService requires one. If this field is specified when creating a\nService which does not need it, creation will fail. This field will be\nwiped when updating a Service to no longer need it (e.g. changing type\nfrom NodePort to ClusterIP).\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport" format: "int32" type: "integer" port: @@ -54,13 +54,13 @@ spec: type: "integer" protocol: default: "TCP" - description: "The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP." + description: "The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\".\nDefault is TCP." type: "string" targetPort: anyOf: - type: "integer" - type: "string" - description: "Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service" + description: "Number or name of the port to access on the pods targeted by the service.\nNumber must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.\nIf this is a string, it will be looked up as a named port in the\ntarget Pod's container ports. If this is not specified, the value\nof the 'port' field is used (an identity map).\nThis field is ignored for services with clusterIP=None, and should be\nomitted or set equal to the 'port' field.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service" x-kubernetes-int-or-string: true required: - "port" diff --git a/crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/mariadbs.yaml b/crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/mariadbs.yaml index 25ec7bde2..a2a8de557 100644 --- a/crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/mariadbs.yaml +++ b/crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/mariadbs.yaml @@ -12029,10 +12029,10 @@ spec: type: "string" type: "object" myCnf: - description: "MyCnf allows to specify the my.cnf file mounted by Mariadb." + description: "MyCnf allows to specify the my.cnf file mounted by Mariadb.\nUpdating this field will trigger an update to the Mariadb resource." type: "string" myCnfConfigMapKeyRef: - description: "MyCnfConfigMapKeyRef is a reference to the my.cnf config file provided via a ConfigMap.\nIf not provided, it will be defaulted with reference to a ConfigMap with the contents of the MyCnf field." + description: "MyCnfConfigMapKeyRef is a reference to the my.cnf config file provided via a ConfigMap.\nIf not provided, it will be defaulted with a reference to a ConfigMap containing the MyCnf field.\nIf the referred ConfigMap is labeled with \"k8s.mariadb.com/watch\",\nan update to the Mariadb resource will be triggered when the ConfigMap is updated." properties: key: description: "The key to select." @@ -13528,10 +13528,10 @@ spec: type: "object" type: "array" updateStrategy: - description: "PodDisruptionBudget defines the update strategy for the StatefulSet object." + description: "UpdateStrategy defines how a MariaDB resource is updated." properties: rollingUpdate: - description: "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType." + description: "RollingUpdate defines parameters for the RollingUpdate type." properties: maxUnavailable: anyOf: @@ -13545,7 +13545,12 @@ spec: type: "integer" type: "object" type: - description: "Type indicates the type of the StatefulSetUpdateStrategy.\nDefault is RollingUpdate." + default: "ReplicasFirstPrimaryLast" + description: "Type defines the type of updates. One of `ReplicasFirstPrimaryLast`, `RollingUpdate` or `OnDelete`. If not defined, it defaults to `ReplicasFirstPrimaryLast`." + enum: + - "ReplicasFirstPrimaryLast" + - "RollingUpdate" + - "OnDelete" type: "string" type: "object" username: diff --git a/crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/baremetalhosts.yaml b/crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/baremetalhosts.yaml index 2c74f2833..87bee6afe 100644 --- a/crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/baremetalhosts.yaml +++ b/crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/baremetalhosts.yaml @@ -35,11 +35,6 @@ spec: name: "BMC" priority: 1 type: "string" - - description: "The type of hardware detected" - jsonPath: ".status.hardwareProfile" - name: "Hardware_Profile" - priority: 1 - type: "string" - description: "Whether the host is online or not" jsonPath: ".spec.online" name: "Online" diff --git a/crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1beta1/flowcollectors.yaml b/crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1beta1/flowcollectors.yaml index c14a992aa..f3e47af07 100644 --- a/crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1beta1/flowcollectors.yaml +++ b/crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1beta1/flowcollectors.yaml @@ -185,7 +185,7 @@ spec: type: "string" type: "array" enable: - description: "Set `enable` to `true` to enable eBPF agent metrics collection." + description: "Set `enable` to `false` to disable eBPF agent metrics collection, by default it's `true`." type: "boolean" server: description: "Metrics server endpoint configuration for Prometheus scraper" @@ -1105,7 +1105,7 @@ spec: type: "string" enable: default: true - description: "Set `enable` to `true` to store flows in Loki. It is required for the OpenShift Console plugin installation." + description: "Set `enable` to `true` to store flows in Loki.\nThe Console plugin can use either Loki or Prometheus as a data source for metrics (see also `spec.prometheus.querier`), or both.\nNot all queries are transposable from Loki to Prometheus. Hence, if Loki is disabled, some features of the plugin are disabled as well,\nsuch as getting per-pod information or viewing raw flows.\nIf both Prometheus and Loki are enabled, Prometheus takes precedence and Loki is used as a fallback for queries that Prometheus cannot handle.\nIf they are both disabled, the Console plugin is not deployed." type: "boolean" maxBackoff: default: "5s" @@ -1854,6 +1854,98 @@ spec: type: "boolean" type: "object" type: "object" + prometheus: + description: "`prometheus` defines Prometheus settings, such as querier configuration used to fetch metrics from the Console plugin." + properties: + querier: + description: "Prometheus querying configuration, such as client settings, used in the Console plugin." + properties: + enable: + default: true + description: "Set `enable` to `true` to make the Console plugin querying flow metrics from Prometheus instead of Loki whenever possible.\nThe Console plugin can use either Loki or Prometheus as a data source for metrics (see also `spec.loki`), or both.\nNot all queries are transposable from Loki to Prometheus. Hence, if Loki is disabled, some features of the plugin are disabled as well,\nsuch as getting per-pod information or viewing raw flows.\nIf both Prometheus and Loki are enabled, Prometheus takes precedence and Loki is used as a fallback for queries that Prometheus cannot handle.\nIf they are both disabled, the Console plugin is not deployed." + type: "boolean" + manual: + description: "Prometheus configuration for `Manual` mode." + properties: + forwardUserToken: + description: "Set `true` to forward logged in user token in queries to Prometheus" + type: "boolean" + tls: + description: "TLS client configuration for Prometheus URL." + properties: + caCert: + description: "`caCert` defines the reference of the certificate for the Certificate Authority" + properties: + certFile: + description: "`certFile` defines the path to the certificate file name within the config map or secret" + type: "string" + certKey: + description: "`certKey` defines the path to the certificate private key file name within the config map or secret. Omit when the key is not necessary." + type: "string" + name: + description: "Name of the config map or secret containing certificates" + type: "string" + namespace: + default: "" + description: "Namespace of the config map or secret containing certificates. If omitted, the default is to use the same namespace as where NetObserv is deployed.\nIf the namespace is different, the config map or the secret is copied so that it can be mounted as required." + type: "string" + type: + description: "Type for the certificate reference: `configmap` or `secret`" + enum: + - "configmap" + - "secret" + type: "string" + type: "object" + enable: + default: false + description: "Enable TLS" + type: "boolean" + insecureSkipVerify: + default: false + description: "`insecureSkipVerify` allows skipping client-side verification of the server certificate.\nIf set to `true`, the `caCert` field is ignored." + type: "boolean" + userCert: + description: "`userCert` defines the user certificate reference and is used for mTLS (you can ignore it when using one-way TLS)" + properties: + certFile: + description: "`certFile` defines the path to the certificate file name within the config map or secret" + type: "string" + certKey: + description: "`certKey` defines the path to the certificate private key file name within the config map or secret. Omit when the key is not necessary." + type: "string" + name: + description: "Name of the config map or secret containing certificates" + type: "string" + namespace: + default: "" + description: "Namespace of the config map or secret containing certificates. If omitted, the default is to use the same namespace as where NetObserv is deployed.\nIf the namespace is different, the config map or the secret is copied so that it can be mounted as required." + type: "string" + type: + description: "Type for the certificate reference: `configmap` or `secret`" + enum: + - "configmap" + - "secret" + type: "string" + type: "object" + type: "object" + url: + default: "http://prometheus:9090" + description: "`url` is the address of an existing Prometheus service to use for querying metrics." + type: "string" + type: "object" + mode: + default: "Auto" + description: "`mode` must be set according to the type of Prometheus installation that stores NetObserv metrics:
\n- Use `Auto` to try configuring automatically. In OpenShift, it uses the Thanos querier from OpenShift Cluster Monitoring
\n- Use `Manual` for a manual setup
" + enum: + - "Manual" + - "Auto" + type: "string" + timeout: + default: "30s" + description: "`timeout` is the read timeout for console plugin queries to Prometheus.\nA timeout of zero means no timeout." + type: "string" + type: "object" + type: "object" type: "object" status: description: "`FlowCollectorStatus` defines the observed state of FlowCollector" diff --git a/crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1beta2/flowcollectors.yaml b/crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1beta2/flowcollectors.yaml index 821069e52..313d49a5d 100644 --- a/crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1beta2/flowcollectors.yaml +++ b/crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1beta2/flowcollectors.yaml @@ -740,7 +740,7 @@ spec: type: "string" type: "array" enable: - description: "Set `enable` to `true` to enable eBPF agent metrics collection." + description: "Set `enable` to `false` to disable eBPF agent metrics collection, by default it's `true`." type: "boolean" server: description: "Metrics server endpoint configuration for Prometheus scraper" @@ -1832,18 +1832,18 @@ spec: default: - default: true filter: - flow_layer: "app" + flow_layer: "\"app\"" name: "Applications" - filter: - flow_layer: "infra" + flow_layer: "\"infra\"" name: "Infrastructure" - default: true filter: - dst_kind: "Pod" - src_kind: "Pod" + dst_kind: "\"Pod\"" + src_kind: "\"Pod\"" name: "Pods network" - filter: - dst_kind: "Service" + dst_kind: "\"Service\"" name: "Services network" description: "`quickFilters` configures quick filter presets for the Console plugin" items: @@ -2237,7 +2237,7 @@ spec: type: "object" enable: default: true - description: "Set `enable` to `true` to store flows in Loki. It is required for the OpenShift Console plugin installation." + description: "Set `enable` to `true` to store flows in Loki.\nThe Console plugin can use either Loki or Prometheus as a data source for metrics (see also `spec.prometheus.querier`), or both.\nNot all queries are transposable from Loki to Prometheus. Hence, if Loki is disabled, some features of the plugin are disabled as well,\nsuch as getting per-pod information or viewing raw flows.\nIf both Prometheus and Loki are enabled, Prometheus takes precedence and Loki is used as a fallback for queries that Prometheus cannot handle.\nIf they are both disabled, the Console plugin is not deployed." type: "boolean" lokiStack: description: "Loki configuration for `LokiStack` mode. This is useful for an easy loki-operator configuration.\nIt is ignored for other modes." @@ -3697,6 +3697,98 @@ spec: type: "boolean" type: "object" type: "object" + prometheus: + description: "`prometheus` defines Prometheus settings, such as querier configuration used to fetch metrics from the Console plugin." + properties: + querier: + description: "Prometheus querying configuration, such as client settings, used in the Console plugin." + properties: + enable: + default: true + description: "Set `enable` to `true` to make the Console plugin querying flow metrics from Prometheus instead of Loki whenever possible.\nThe Console plugin can use either Loki or Prometheus as a data source for metrics (see also `spec.loki`), or both.\nNot all queries are transposable from Loki to Prometheus. Hence, if Loki is disabled, some features of the plugin are disabled as well,\nsuch as getting per-pod information or viewing raw flows.\nIf both Prometheus and Loki are enabled, Prometheus takes precedence and Loki is used as a fallback for queries that Prometheus cannot handle.\nIf they are both disabled, the Console plugin is not deployed." + type: "boolean" + manual: + description: "Prometheus configuration for `Manual` mode." + properties: + forwardUserToken: + description: "Set `true` to forward logged in user token in queries to Prometheus" + type: "boolean" + tls: + description: "TLS client configuration for Prometheus URL." + properties: + caCert: + description: "`caCert` defines the reference of the certificate for the Certificate Authority" + properties: + certFile: + description: "`certFile` defines the path to the certificate file name within the config map or secret" + type: "string" + certKey: + description: "`certKey` defines the path to the certificate private key file name within the config map or secret. Omit when the key is not necessary." + type: "string" + name: + description: "Name of the config map or secret containing certificates" + type: "string" + namespace: + default: "" + description: "Namespace of the config map or secret containing certificates. If omitted, the default is to use the same namespace as where NetObserv is deployed.\nIf the namespace is different, the config map or the secret is copied so that it can be mounted as required." + type: "string" + type: + description: "Type for the certificate reference: `configmap` or `secret`" + enum: + - "configmap" + - "secret" + type: "string" + type: "object" + enable: + default: false + description: "Enable TLS" + type: "boolean" + insecureSkipVerify: + default: false + description: "`insecureSkipVerify` allows skipping client-side verification of the server certificate.\nIf set to `true`, the `caCert` field is ignored." + type: "boolean" + userCert: + description: "`userCert` defines the user certificate reference and is used for mTLS (you can ignore it when using one-way TLS)" + properties: + certFile: + description: "`certFile` defines the path to the certificate file name within the config map or secret" + type: "string" + certKey: + description: "`certKey` defines the path to the certificate private key file name within the config map or secret. Omit when the key is not necessary." + type: "string" + name: + description: "Name of the config map or secret containing certificates" + type: "string" + namespace: + default: "" + description: "Namespace of the config map or secret containing certificates. If omitted, the default is to use the same namespace as where NetObserv is deployed.\nIf the namespace is different, the config map or the secret is copied so that it can be mounted as required." + type: "string" + type: + description: "Type for the certificate reference: `configmap` or `secret`" + enum: + - "configmap" + - "secret" + type: "string" + type: "object" + type: "object" + url: + default: "http://prometheus:9090" + description: "`url` is the address of an existing Prometheus service to use for querying metrics." + type: "string" + type: "object" + mode: + default: "Auto" + description: "`mode` must be set according to the type of Prometheus installation that stores NetObserv metrics:
\n- Use `Auto` to try configuring automatically. In OpenShift, it uses the Thanos querier from OpenShift Cluster Monitoring
\n- Use `Manual` for a manual setup
" + enum: + - "Manual" + - "Auto" + type: "string" + timeout: + default: "30s" + description: "`timeout` is the read timeout for console plugin queries to Prometheus.\nA timeout of zero means no timeout." + type: "string" + type: "object" + type: "object" type: "object" status: description: "`FlowCollectorStatus` defines the observed state of FlowCollector" diff --git a/crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1/policies.yaml b/crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1/policies.yaml index 87029de38..d43e14895 100644 --- a/crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1/policies.yaml +++ b/crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1/policies.yaml @@ -154,6 +154,8 @@ spec: type: "string" rejectCode: type: "integer" + scale: + type: "boolean" zoneSize: type: "string" type: "object" diff --git a/crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/clientsettingspolicies.yaml b/crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/clientsettingspolicies.yaml index b3ed28965..824aadad7 100644 --- a/crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/clientsettingspolicies.yaml +++ b/crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/clientsettingspolicies.yaml @@ -75,9 +75,12 @@ spec: pattern: "^\\d{1,4}(ms|s)?$" type: "string" type: "object" + x-kubernetes-validations: + - message: "header can only be specified if server is specified" + rule: "!(has(self.header) && !has(self.server))" type: "object" targetRef: - description: "TargetRef identifies an API object to apply the policy to.\nObject must be in the same namespace as the policy.\n\n\nSupport: Gateway, HTTPRoute" + description: "TargetRef identifies an API object to apply the policy to.\nObject must be in the same namespace as the policy.\nSupport: Gateway, HTTPRoute, GRPCRoute." properties: group: description: "Group is the group of the target resource." @@ -100,6 +103,11 @@ spec: - "kind" - "name" type: "object" + x-kubernetes-validations: + - message: "TargetRef Kind must be one of: Gateway, HTTPRoute, or GRPCRoute" + rule: "(self.kind=='Gateway' || self.kind=='HTTPRoute' || self.kind=='GRPCRoute')" + - message: "TargetRef Group must be gateway.networking.k8s.io." + rule: "(self.group=='gateway.networking.k8s.io')" required: - "targetRef" type: "object" diff --git a/crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/observabilitypolicies.yaml b/crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/observabilitypolicies.yaml index 8a7328195..f4e88208f 100644 --- a/crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/observabilitypolicies.yaml +++ b/crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/observabilitypolicies.yaml @@ -37,30 +37,39 @@ spec: spec: description: "Spec defines the desired state of the ObservabilityPolicy." properties: - targetRef: - description: "TargetRef identifies an API object to apply the policy to.\nObject must be in the same namespace as the policy.\n\n\nSupport: HTTPRoute" - properties: - group: - description: "Group is the group of the target resource." - maxLength: 253 - pattern: "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" - type: "string" - kind: - description: "Kind is kind of the target resource." - maxLength: 63 - minLength: 1 - pattern: "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$" - type: "string" - name: - description: "Name is the name of the target resource." - maxLength: 253 - minLength: 1 - type: "string" - required: - - "group" - - "kind" - - "name" - type: "object" + targetRefs: + description: "TargetRefs identifies the API object(s) to apply the policy to.\nObjects must be in the same namespace as the policy.\nSupport: HTTPRoute" + items: + description: "LocalPolicyTargetReference identifies an API object to apply a direct or\ninherited policy to. This should be used as part of Policy resources\nthat can target Gateway API resources. For more information on how this\npolicy attachment model works, and a sample Policy resource, refer to\nthe policy attachment documentation for Gateway API." + properties: + group: + description: "Group is the group of the target resource." + maxLength: 253 + pattern: "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" + type: "string" + kind: + description: "Kind is kind of the target resource." + maxLength: 63 + minLength: 1 + pattern: "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$" + type: "string" + name: + description: "Name is the name of the target resource." + maxLength: 253 + minLength: 1 + type: "string" + required: + - "group" + - "kind" + - "name" + type: "object" + maxItems: 16 + type: "array" + x-kubernetes-validations: + - message: "TargetRef Kind must be: HTTPRoute or GRPCRoute" + rule: "(self.exists(t, t.kind=='HTTPRoute') || self.exists(t, t.kind=='GRPCRoute'))" + - message: "TargetRef Group must be gateway.networking.k8s.io." + rule: "self.all(t, t.group=='gateway.networking.k8s.io')" tracing: description: "Tracing allows for enabling and configuring tracing." properties: @@ -73,7 +82,7 @@ spec: - "ignore" type: "string" ratio: - description: "Ratio is the percentage of traffic that should be sampled. Integer from 0 to 100.\nBy default, 100% of http requests are traced. Not applicable for parent-based tracing." + description: "Ratio is the percentage of traffic that should be sampled. Integer from 0 to 100.\nBy default, 100% of http requests are traced. Not applicable for parent-based tracing.\nIf ratio is set to 0, tracing is disabled." format: "int32" maximum: 100.0 minimum: 0.0 @@ -123,7 +132,7 @@ spec: - message: "ratio can only be specified if strategy is of type ratio" rule: "!(has(self.ratio) && self.strategy != 'ratio')" required: - - "targetRef" + - "targetRefs" type: "object" status: description: "Status defines the state of the ObservabilityPolicy." diff --git a/crd-catalog/open-feature/open-feature-operator/core.openfeature.dev/v1alpha2/featureflagconfigurations.yaml b/crd-catalog/open-feature/open-feature-operator/core.openfeature.dev/v1alpha2/featureflagconfigurations.yaml index b7a0f3ddf..39a82958b 100644 --- a/crd-catalog/open-feature/open-feature-operator/core.openfeature.dev/v1alpha2/featureflagconfigurations.yaml +++ b/crd-catalog/open-feature/open-feature-operator/core.openfeature.dev/v1alpha2/featureflagconfigurations.yaml @@ -185,7 +185,7 @@ spec: - type: "string" pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" x-kubernetes-int-or-string: true - description: "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" + description: "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" type: "object" type: "object" serviceProvider: diff --git a/crd-catalog/open-telemetry/opentelemetry-operator/opentelemetry.io/v1beta1/opentelemetrycollectors.yaml b/crd-catalog/open-telemetry/opentelemetry-operator/opentelemetry.io/v1beta1/opentelemetrycollectors.yaml index e0f8a745c..f9661fe7a 100644 --- a/crd-catalog/open-telemetry/opentelemetry-operator/opentelemetry.io/v1beta1/opentelemetrycollectors.yaml +++ b/crd-catalog/open-telemetry/opentelemetry-operator/opentelemetry.io/v1beta1/opentelemetrycollectors.yaml @@ -1290,6 +1290,10 @@ spec: - "service" type: "object" x-kubernetes-preserve-unknown-fields: true + configVersions: + default: 3 + minimum: 1.0 + type: "integer" configmaps: items: properties: diff --git a/crd-catalog/percona/percona-postgresql-operator/pgv2.percona.com/v2/perconapgbackups.yaml b/crd-catalog/percona/percona-postgresql-operator/pgv2.percona.com/v2/perconapgbackups.yaml index abce7155d..b8d4ddd2c 100644 --- a/crd-catalog/percona/percona-postgresql-operator/pgv2.percona.com/v2/perconapgbackups.yaml +++ b/crd-catalog/percona/percona-postgresql-operator/pgv2.percona.com/v2/perconapgbackups.yaml @@ -76,6 +76,8 @@ spec: type: "object" status: properties: + backupName: + type: "string" backupType: type: "string" completed: diff --git a/crd-catalog/percona/percona-postgresql-operator/pgv2.percona.com/v2/perconapgclusters.yaml b/crd-catalog/percona/percona-postgresql-operator/pgv2.percona.com/v2/perconapgclusters.yaml index 75afd4f7a..246ae076e 100644 --- a/crd-catalog/percona/percona-postgresql-operator/pgv2.percona.com/v2/perconapgclusters.yaml +++ b/crd-catalog/percona/percona-postgresql-operator/pgv2.percona.com/v2/perconapgclusters.yaml @@ -4446,36 +4446,135 @@ spec: pgBackRestVolume: description: "Defines the existing pgBackRest repo volume and directory to use in the\ncurrent PostgresCluster." properties: + annotations: + additionalProperties: + type: "string" + description: "Annotations of the move dir Job." + type: "object" directory: description: "The existing directory. When not set, a move Job is not created for the\nassociated volume." type: "string" + labels: + additionalProperties: + type: "string" + description: "Labels of the move dir Job." + type: "object" pvcName: description: "The existing PVC name." type: "string" + tolerations: + description: "Tolerations of the move dir Job.\nMore info: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration" + items: + description: "The pod this Toleration is attached to tolerates any taint that matches\nthe triple using the matching operator ." + properties: + effect: + description: "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute." + type: "string" + key: + description: "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys." + type: "string" + operator: + description: "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category." + type: "string" + tolerationSeconds: + description: "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system." + format: "int64" + type: "integer" + value: + description: "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string." + type: "string" + type: "object" + type: "array" required: - "pvcName" type: "object" pgDataVolume: description: "Defines the existing pgData volume and directory to use in the current\nPostgresCluster." properties: + annotations: + additionalProperties: + type: "string" + description: "Annotations of the move dir Job." + type: "object" directory: description: "The existing directory. When not set, a move Job is not created for the\nassociated volume." type: "string" + labels: + additionalProperties: + type: "string" + description: "Labels of the move dir Job." + type: "object" pvcName: description: "The existing PVC name." type: "string" + tolerations: + description: "Tolerations of the move dir Job.\nMore info: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration" + items: + description: "The pod this Toleration is attached to tolerates any taint that matches\nthe triple using the matching operator ." + properties: + effect: + description: "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute." + type: "string" + key: + description: "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys." + type: "string" + operator: + description: "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category." + type: "string" + tolerationSeconds: + description: "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system." + format: "int64" + type: "integer" + value: + description: "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string." + type: "string" + type: "object" + type: "array" required: - "pvcName" type: "object" pgWALVolume: description: "Defines the existing pg_wal volume and directory to use in the current\nPostgresCluster. Note that a defined pg_wal volume MUST be accompanied by\na pgData volume." properties: + annotations: + additionalProperties: + type: "string" + description: "Annotations of the move dir Job." + type: "object" directory: description: "The existing directory. When not set, a move Job is not created for the\nassociated volume." type: "string" + labels: + additionalProperties: + type: "string" + description: "Labels of the move dir Job." + type: "object" pvcName: description: "The existing PVC name." type: "string" + tolerations: + description: "Tolerations of the move dir Job.\nMore info: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration" + items: + description: "The pod this Toleration is attached to tolerates any taint that matches\nthe triple using the matching operator ." + properties: + effect: + description: "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute." + type: "string" + key: + description: "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys." + type: "string" + operator: + description: "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category." + type: "string" + tolerationSeconds: + description: "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system." + format: "int64" + type: "integer" + value: + description: "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string." + type: "string" + type: "object" + type: "array" required: - "pvcName" type: "object" @@ -7248,22 +7347,23 @@ spec: type: "object" type: "array" tablespaceVolumes: - description: "The list of tablespaces volumes to mount for this postgrescluster This field requires enabling TablespaceVolumes feature gate" + description: "The list of tablespaces volumes to mount for this postgrescluster\nThis field requires enabling TablespaceVolumes feature gate" items: properties: dataVolumeClaimSpec: - description: "Defines a PersistentVolumeClaim for a tablespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes" + description: "Defines a PersistentVolumeClaim for a tablespace.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes" properties: accessModes: - description: "accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1" + description: "accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1" items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" 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. 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:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource." properties: apiGroup: - description: "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + description: "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required." type: "string" kind: description: "Kind is the type of resource being referenced" @@ -7277,10 +7377,10 @@ spec: type: "object" x-kubernetes-map-type: "atomic" dataSourceRef: - 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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\nvolume is desired. This may be any object from a non-empty API group (non\ncore object) or a PersistentVolumeClaim object.\nWhen this field is specified, volume binding will only succeed if the type of\nthe specified object matches some installed volume populator or dynamic\nprovisioner.\nThis field will replace the functionality of the dataSource field and as such\nif both fields are non-empty, they must have the same value. For backwards\ncompatibility, when namespace isn't specified in dataSourceRef,\nboth fields (dataSource and dataSourceRef) will be set to the same\nvalue automatically if one of them is empty and the other is non-empty.\nWhen namespace is specified in dataSourceRef,\ndataSource isn't set to the same value and must be empty.\nThere are three important differences between dataSource and dataSourceRef:\n* 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.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled." properties: apiGroup: - description: "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + description: "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required." type: "string" kind: description: "Kind is the type of resource being referenced" @@ -7289,30 +7389,15 @@ spec: description: "Name is the name of resource being referenced" type: "string" namespace: - description: "Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled." + description: "Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled." type: "string" required: - "kind" - "name" type: "object" resources: - description: "resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources" + description: "resources represents the minimum resources the volume should have.\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\nthat are lower than previous value but must still be higher than capacity recorded in the\nstatus field of the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources" properties: - claims: - description: "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. \n This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. \n This field is immutable. It can only be set for containers." - items: - description: "ResourceClaim references one entry in PodSpec.ResourceClaims." - properties: - name: - description: "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container." - type: "string" - required: - - "name" - type: "object" - type: "array" - x-kubernetes-list-map-keys: - - "name" - x-kubernetes-list-type: "map" limits: additionalProperties: anyOf: @@ -7320,7 +7405,7 @@ spec: - type: "string" pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" x-kubernetes-int-or-string: true - description: "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" + description: "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" type: "object" requests: additionalProperties: @@ -7329,7 +7414,7 @@ spec: - type: "string" pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$" x-kubernetes-int-or-string: true - description: "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" + description: "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" type: "object" type: "object" selector: @@ -7338,43 +7423,48 @@ spec: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." items: - description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values." + description: "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." properties: key: description: "key is the label key that the selector applies to." type: "string" operator: - description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + description: "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." type: "string" values: - description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + description: "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" - description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed." type: "object" type: "object" x-kubernetes-map-type: "atomic" storageClassName: - description: "storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" + description: "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" + type: "string" + volumeAttributesClassName: + description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." type: "string" volumeMode: - description: "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec." + description: "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec." type: "string" volumeName: description: "volumeName is the binding reference to the PersistentVolume backing this claim." type: "string" type: "object" name: - description: "The name for the tablespace, used as the path name for the volume. Must be unique in the instance set since they become the directory names." + description: "The name for the tablespace, used as the path name for the volume.\nMust be unique in the instance set since they become the directory names." minLength: 1 pattern: "^[a-z][a-z0-9]*$" type: "string" diff --git a/crd-catalog/project-codeflare/codeflare-operator/workload.codeflare.dev/v1beta2/appwrappers.yaml b/crd-catalog/project-codeflare/codeflare-operator/workload.codeflare.dev/v1beta2/appwrappers.yaml index f7168672f..450fcb672 100644 --- a/crd-catalog/project-codeflare/codeflare-operator/workload.codeflare.dev/v1beta2/appwrappers.yaml +++ b/crd-catalog/project-codeflare/codeflare-operator/workload.codeflare.dev/v1beta2/appwrappers.yaml @@ -5,16 +5,6 @@ metadata: controller-gen.kubebuilder.io/version: "v0.14.0" name: "appwrappers.workload.codeflare.dev" spec: - conversion: - strategy: "Webhook" - webhook: - clientConfig: - service: - name: "webhook-service" - namespace: "system" - path: "/convert" - conversionReviewVersions: - - "v1" group: "workload.codeflare.dev" names: kind: "AppWrapper" @@ -141,6 +131,73 @@ spec: status: description: "AppWrapperStatus defines the observed state of the appwrapper" properties: + componentStatus: + description: "ComponentStatus parallels the Components array in the Spec and tracks the actually deployed resources" + items: + description: "AppWrapperComponentStatus tracks the status of a single managed Component" + properties: + apiVersion: + description: "APIVersion is the APIVersion of the Component" + type: "string" + conditions: + description: "Conditions hold the latest available observations of the Component's current state.\n\n\nThe type of the condition could be:\n\n\n- ResourcesDeployed: The component is deployed on the cluster" + items: + description: "Condition contains details for one aspect of the current state of this API Resource.\n---\nThis struct is intended for direct use as an array at the field path .status.conditions. For example,\n\n\n\ttype FooStatus struct{\n\t // Represents the observations of a foo's current state.\n\t // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\"\n\t // +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t // other fields\n\t}" + properties: + lastTransitionTime: + description: "lastTransitionTime is the last time the condition transitioned from one status to another.\nThis should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable." + format: "date-time" + type: "string" + message: + description: "message is a human readable message indicating details about the transition.\nThis may be an empty string." + maxLength: 32768 + type: "string" + observedGeneration: + description: "observedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance." + format: "int64" + minimum: 0.0 + type: "integer" + reason: + description: "reason contains a programmatic identifier indicating the reason for the condition's last transition.\nProducers of specific condition types may define expected values and meanings for this field,\nand whether the values are considered a guaranteed API.\nThe value should be a CamelCase string.\nThis field may not be empty." + maxLength: 1024 + minLength: 1 + pattern: "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$" + type: "string" + status: + description: "status of the condition, one of True, False, Unknown." + enum: + - "True" + - "False" + - "Unknown" + type: "string" + type: + description: "type of condition in CamelCase or in foo.example.com/CamelCase.\n---\nMany .condition.type values are consistent across resources like Available, but because arbitrary conditions can be\nuseful (see .node.status.conditions), the ability to deconflict is important.\nThe regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)" + maxLength: 316 + pattern: "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$" + type: "string" + required: + - "lastTransitionTime" + - "message" + - "reason" + - "status" + - "type" + type: "object" + type: "array" + x-kubernetes-list-map-keys: + - "type" + x-kubernetes-list-type: "map" + kind: + description: "Kind is the Kind of the Component" + type: "string" + name: + description: "Name is the name of the Component" + type: "string" + required: + - "apiVersion" + - "kind" + - "name" + type: "object" + type: "array" conditions: description: "Conditions hold the latest available observations of the AppWrapper current state.\n\n\nThe type of the condition could be:\n\n\n- QuotaReserved: The AppWrapper was admitted by Kueue and has quota allocated to it\n- ResourcesDeployed: The contained resources are deployed (or being deployed) on the cluster\n- PodsReady: All pods of the contained resources are in the Ready or Succeeded state\n- Unhealthy: One or more of the contained resources is unhealthy\n- DeletingResources: The contained resources are in the process of being deleted from the cluster" items: diff --git a/crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/contourdeployments.yaml b/crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/contourdeployments.yaml index 5194192f9..eedc6e9bc 100644 --- a/crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/contourdeployments.yaml +++ b/crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/contourdeployments.yaml @@ -363,7 +363,8 @@ spec: description: "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -386,7 +387,8 @@ spec: description: "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -425,7 +427,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -445,7 +448,8 @@ spec: description: "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -705,7 +709,8 @@ spec: description: "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -822,7 +827,8 @@ spec: description: "secretRef is the CHAP Secret for iSCSI target and initiator authentication" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -980,7 +986,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -1066,7 +1073,8 @@ spec: type: "array" x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional field specify whether the Secret or its key must be defined" @@ -1146,7 +1154,8 @@ spec: description: "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -1176,7 +1185,8 @@ spec: description: "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -1248,7 +1258,8 @@ spec: description: "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" diff --git a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/alertmanagers.yaml b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/alertmanagers.yaml index bcbca0404..24e1c0b61 100644 --- a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/alertmanagers.yaml +++ b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/alertmanagers.yaml @@ -95,11 +95,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: description: "A list of node selector requirements by node's fields." items: @@ -116,11 +118,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" weight: @@ -132,6 +136,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: description: "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node." properties: @@ -156,11 +161,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: description: "A list of node selector requirements by node's fields." items: @@ -177,14 +184,17 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" type: "array" + x-kubernetes-list-type: "atomic" required: - "nodeSelectorTerms" type: "object" @@ -220,11 +230,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -233,13 +245,13 @@ spec: type: "object" x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" mismatchLabelKeys: - description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" @@ -263,11 +275,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -280,6 +294,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" @@ -295,6 +310,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: description: "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied." items: @@ -319,11 +335,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -332,13 +350,13 @@ spec: type: "object" x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" mismatchLabelKeys: - description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" @@ -362,11 +380,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -379,6 +399,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" @@ -386,6 +407,7 @@ spec: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" podAntiAffinity: description: "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))." @@ -417,11 +439,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -430,13 +454,13 @@ spec: type: "object" x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" mismatchLabelKeys: - description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" @@ -460,11 +484,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -477,6 +503,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" @@ -492,6 +519,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: description: "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied." items: @@ -516,11 +544,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -529,13 +559,13 @@ spec: type: "object" x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" mismatchLabelKeys: - description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" @@ -559,11 +589,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -576,6 +608,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" @@ -583,6 +616,7 @@ spec: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" type: "object" alertmanagerConfigMatcherStrategy: @@ -615,11 +649,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -646,11 +682,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -677,7 +715,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -700,7 +739,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -716,7 +756,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -733,7 +774,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -758,7 +800,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -774,7 +817,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -791,7 +835,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -835,7 +880,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -851,7 +897,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -871,7 +918,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -887,7 +935,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -907,7 +956,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -928,7 +978,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -944,7 +995,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -967,7 +1019,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -989,7 +1042,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1005,7 +1059,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1059,7 +1114,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1075,7 +1131,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1129,11 +1186,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" command: description: "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" env: description: "List of environment variables to set in the container.\nCannot be updated." items: @@ -1155,7 +1214,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1204,7 +1264,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1218,6 +1279,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" envFrom: description: "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated." items: @@ -1227,7 +1291,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -1241,7 +1306,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -1250,6 +1316,7 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "array" + x-kubernetes-list-type: "atomic" image: description: "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets." type: "string" @@ -1270,6 +1337,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: description: "HTTPGet specifies the http request to perform." @@ -1293,6 +1361,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1345,6 +1414,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: description: "HTTPGet specifies the http request to perform." @@ -1368,6 +1438,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1421,6 +1492,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -1461,6 +1533,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1557,6 +1630,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -1597,6 +1671,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1711,6 +1786,18 @@ spec: allowPrivilegeEscalation: description: "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows." type: "boolean" + appArmorProfile: + description: "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows." + properties: + localhostProfile: + description: "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\"." + type: "string" + type: + description: "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement." + type: "string" + required: + - "type" + type: "object" capabilities: description: "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows." properties: @@ -1720,12 +1807,14 @@ spec: description: "Capability represent POSIX capabilities type" type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: description: "Removed capabilities" items: description: "Capability represent POSIX capabilities type" type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: description: "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows." @@ -1803,6 +1892,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -1843,6 +1933,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1925,6 +2016,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "devicePath" + x-kubernetes-list-type: "map" volumeMounts: description: "Pod volumes to mount into the container's filesystem.\nCannot be updated." items: @@ -1934,7 +2028,7 @@ spec: description: "Path within the container at which the volume should be mounted. Must\nnot contain ':'." type: "string" mountPropagation: - description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10." + description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None)." type: "string" name: description: "This must match the Name of a Volume." @@ -1942,6 +2036,9 @@ spec: readOnly: description: "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false." type: "boolean" + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\n\nIf this field is not specified, it is treated as an equivalent of Disabled." + type: "string" subPath: description: "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root)." type: "string" @@ -1953,6 +2050,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "mountPath" + x-kubernetes-list-type: "map" workingDir: description: "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated." type: "string" @@ -2009,7 +2109,8 @@ spec: description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2024,11 +2125,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" command: description: "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" env: description: "List of environment variables to set in the container.\nCannot be updated." items: @@ -2050,7 +2153,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2099,7 +2203,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2113,6 +2218,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" envFrom: description: "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated." items: @@ -2122,7 +2230,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -2136,7 +2245,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -2145,6 +2255,7 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "array" + x-kubernetes-list-type: "atomic" image: description: "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets." type: "string" @@ -2165,6 +2276,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: description: "HTTPGet specifies the http request to perform." @@ -2188,6 +2300,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2240,6 +2353,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: description: "HTTPGet specifies the http request to perform." @@ -2263,6 +2377,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2316,6 +2431,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -2356,6 +2472,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2452,6 +2569,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -2492,6 +2610,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2606,6 +2725,18 @@ spec: allowPrivilegeEscalation: description: "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows." type: "boolean" + appArmorProfile: + description: "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows." + properties: + localhostProfile: + description: "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\"." + type: "string" + type: + description: "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement." + type: "string" + required: + - "type" + type: "object" capabilities: description: "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows." properties: @@ -2615,12 +2746,14 @@ spec: description: "Capability represent POSIX capabilities type" type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: description: "Removed capabilities" items: description: "Capability represent POSIX capabilities type" type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: description: "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows." @@ -2698,6 +2831,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -2738,6 +2872,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2820,6 +2955,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "devicePath" + x-kubernetes-list-type: "map" volumeMounts: description: "Pod volumes to mount into the container's filesystem.\nCannot be updated." items: @@ -2829,7 +2967,7 @@ spec: description: "Path within the container at which the volume should be mounted. Must\nnot contain ':'." type: "string" mountPropagation: - description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10." + description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None)." type: "string" name: description: "This must match the Name of a Volume." @@ -2837,6 +2975,9 @@ spec: readOnly: description: "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false." type: "boolean" + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\n\nIf this field is not specified, it is treated as an equivalent of Disabled." + type: "string" subPath: description: "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root)." type: "string" @@ -2848,6 +2989,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "mountPath" + x-kubernetes-list-type: "map" workingDir: description: "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated." type: "string" @@ -2967,6 +3111,18 @@ spec: securityContext: description: "SecurityContext holds pod-level security attributes and common container settings.\nThis defaults to the default PodSecurityContext." properties: + appArmorProfile: + description: "appArmorProfile is the AppArmor options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows." + properties: + localhostProfile: + description: "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\"." + type: "string" + type: + description: "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement." + type: "string" + required: + - "type" + type: "object" fsGroup: description: "A special supplemental group that applies to all containers in a pod.\nSome volume types allow the Kubelet to change the ownership of that volume\nto be owned by the pod:\n\n\n1. The owning GID will be the FSGroup\n2. The setgid bit is set (new files created in the volume will be owned by FSGroup)\n3. The permission bits are OR'd with rw-rw----\n\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.\nNote that this field cannot be set when spec.os.name is windows." format: "int64" @@ -3019,6 +3175,7 @@ spec: format: "int64" type: "integer" type: "array" + x-kubernetes-list-type: "atomic" sysctls: description: "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported\nsysctls (by the container runtime) might fail to launch.\nNote that this field cannot be set when spec.os.name is windows." items: @@ -3035,6 +3192,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" windowsOptions: description: "The Windows specific settings applied to all containers.\nIf unspecified, the options within a container's SecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux." properties: @@ -3095,6 +3253,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: description: "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource." properties: @@ -3172,11 +3331,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3188,7 +3349,7 @@ spec: description: "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" type: "string" volumeAttributesClassName: - description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." + description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." type: "string" volumeMode: description: "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec." @@ -3235,6 +3396,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: description: "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource." properties: @@ -3312,11 +3474,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3328,7 +3492,7 @@ spec: description: "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" type: "string" volumeAttributesClassName: - description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." + description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." type: "string" volumeMode: description: "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec." @@ -3345,6 +3509,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" allocatedResourceStatuses: additionalProperties: description: "When a controller receives persistentvolume claim update with ClaimResourceStatus for a resource\nthat it does not recognizes, then it should ignore that update and let other controllers\nhandle it." @@ -3371,7 +3536,7 @@ spec: description: "capacity represents the actual resources of the underlying volume." type: "object" conditions: - description: "conditions is the current Condition of persistent volume claim. If underlying persistent volume is being\nresized then the Condition will be set to 'ResizeStarted'." + description: "conditions is the current Condition of persistent volume claim. If underlying persistent volume is being\nresized then the Condition will be set to 'Resizing'." items: description: "PersistentVolumeClaimCondition contains details about state of pvc" properties: @@ -3387,7 +3552,7 @@ spec: description: "message is the human-readable message indicating details about last transition." type: "string" reason: - description: "reason is a unique, this should be a short, machine understandable string that gives the reason\nfor condition's last transition. If it reports \"ResizeStarted\" that means the underlying\npersistent volume is being resized." + description: "reason is a unique, this should be a short, machine understandable string that gives the reason\nfor condition's last transition. If it reports \"Resizing\" that means the underlying\npersistent volume is being resized." type: "string" status: type: "string" @@ -3399,6 +3564,9 @@ spec: - "type" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "type" + x-kubernetes-list-type: "map" currentVolumeAttributesClassName: description: "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using.\nWhen unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim\nThis is an alpha field and requires enabling VolumeAttributesClass feature." type: "string" @@ -3470,11 +3638,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3493,7 +3663,7 @@ spec: format: "int32" type: "integer" minDomains: - description: "MinDomains indicates a minimum number of eligible domains.\nWhen the number of eligible domains with matching topology keys is less than minDomains,\nPod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed.\nAnd when the number of eligible domains with matching topology keys equals or greater than minDomains,\nthis value has no effect on scheduling.\nAs a result, when the number of eligible domains is less than minDomains,\nscheduler won't schedule more than maxSkew Pods to those domains.\nIf value is nil, the constraint behaves as if MinDomains is equal to 1.\nValid values are integers greater than 0.\nWhen value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same\nlabelSelector spread as 2/2/2:\n| zone1 | zone2 | zone3 |\n| P P | P P | P P |\nThe number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0.\nIn this situation, new pod with the same labelSelector cannot be scheduled,\nbecause computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,\nit will violate MaxSkew.\n\n\nThis is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default)." + description: "MinDomains indicates a minimum number of eligible domains.\nWhen the number of eligible domains with matching topology keys is less than minDomains,\nPod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed.\nAnd when the number of eligible domains with matching topology keys equals or greater than minDomains,\nthis value has no effect on scheduling.\nAs a result, when the number of eligible domains is less than minDomains,\nscheduler won't schedule more than maxSkew Pods to those domains.\nIf value is nil, the constraint behaves as if MinDomains is equal to 1.\nValid values are integers greater than 0.\nWhen value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same\nlabelSelector spread as 2/2/2:\n| zone1 | zone2 | zone3 |\n| P P | P P | P P |\nThe number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0.\nIn this situation, new pod with the same labelSelector cannot be scheduled,\nbecause computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,\nit will violate MaxSkew." format: "int32" type: "integer" nodeAffinityPolicy: @@ -3526,7 +3696,7 @@ spec: description: "Path within the container at which the volume should be mounted. Must\nnot contain ':'." type: "string" mountPropagation: - description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10." + description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None)." type: "string" name: description: "This must match the Name of a Volume." @@ -3534,6 +3704,9 @@ spec: readOnly: description: "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false." type: "boolean" + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\n\nIf this field is not specified, it is treated as an equivalent of Disabled." + type: "string" subPath: description: "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root)." type: "string" @@ -3618,6 +3791,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" path: description: "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /" type: "string" @@ -3631,7 +3805,8 @@ spec: description: "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3654,7 +3829,8 @@ spec: description: "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3691,8 +3867,10 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -3712,7 +3890,8 @@ spec: description: "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3740,7 +3919,7 @@ spec: description: "DownwardAPIVolumeFile represents information to create the file containing the pod field" properties: fieldRef: - description: "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported." + description: "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -3783,6 +3962,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" emptyDir: description: "emptyDir represents a temporary directory that shares a pod's lifetime.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir" @@ -3815,6 +3995,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: description: "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource." properties: @@ -3892,11 +4073,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3908,7 +4091,7 @@ spec: description: "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" type: "string" volumeAttributesClassName: - description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." + description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." type: "string" volumeMode: description: "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec." @@ -3939,11 +4122,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" wwids: description: "wwids Optional: FC volume world wide identifiers (wwids)\nEither wwids or combination of targetWWNs and lun must be set, but not both simultaneously." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" flexVolume: description: "flexVolume represents a generic volume resource that is\nprovisioned/attached using an exec based plugin." @@ -3966,7 +4151,8 @@ spec: description: "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4075,6 +4261,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" readOnly: description: "readOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false." type: "boolean" @@ -4082,7 +4269,8 @@ spec: description: "secretRef is the CHAP Secret for iSCSI target and initiator authentication" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4186,11 +4374,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -4236,8 +4426,10 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -4253,7 +4445,7 @@ spec: description: "DownwardAPIVolumeFile represents information to create the file containing the pod field" properties: fieldRef: - description: "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported." + description: "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -4296,6 +4488,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" secret: description: "secret information about the secret data to project" @@ -4320,8 +4513,10 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional field specify whether the Secret or its key must be defined" @@ -4346,6 +4541,7 @@ spec: type: "object" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" quobyte: description: "quobyte represents a Quobyte mount on the host that shares a pod's lifetime" @@ -4389,6 +4585,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" pool: description: "pool is the rados pool name.\nDefault is rbd.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" type: "string" @@ -4399,7 +4596,8 @@ spec: description: "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4429,7 +4627,8 @@ spec: description: "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4480,6 +4679,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: description: "optional field specify whether the Secret or its keys must be defined" type: "boolean" @@ -4500,7 +4700,8 @@ spec: description: "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4590,7 +4791,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -4606,7 +4808,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -4634,7 +4837,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -4650,7 +4854,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -4672,7 +4877,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" diff --git a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/podmonitors.yaml b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/podmonitors.yaml index b2310d03c..4d9012d70 100644 --- a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/podmonitors.yaml +++ b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/podmonitors.yaml @@ -90,7 +90,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -113,7 +114,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -129,7 +131,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -146,7 +149,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -244,7 +248,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -260,7 +265,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -277,7 +283,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -407,7 +414,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -423,7 +431,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -443,7 +452,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -459,7 +469,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -479,7 +490,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -541,11 +553,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" diff --git a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/probes.yaml b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/probes.yaml index b67119cd3..cdb229e3b 100644 --- a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/probes.yaml +++ b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/probes.yaml @@ -43,7 +43,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -66,7 +67,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -82,7 +84,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -99,7 +102,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -204,7 +208,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -220,7 +225,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -237,7 +243,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -409,11 +416,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -507,7 +516,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -523,7 +533,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -543,7 +554,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -559,7 +571,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -579,7 +592,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" diff --git a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/prometheuses.yaml b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/prometheuses.yaml index 56e4c9a9d..24256d3dc 100644 --- a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/prometheuses.yaml +++ b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/prometheuses.yaml @@ -67,7 +67,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -83,7 +84,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -115,7 +117,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -154,11 +157,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: description: "A list of node selector requirements by node's fields." items: @@ -175,11 +180,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" weight: @@ -191,6 +198,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: description: "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node." properties: @@ -215,11 +223,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: description: "A list of node selector requirements by node's fields." items: @@ -236,14 +246,17 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" type: "array" + x-kubernetes-list-type: "atomic" required: - "nodeSelectorTerms" type: "object" @@ -279,11 +292,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -292,13 +307,13 @@ spec: type: "object" x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" mismatchLabelKeys: - description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" @@ -322,11 +337,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -339,6 +356,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" @@ -354,6 +372,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: description: "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied." items: @@ -378,11 +397,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -391,13 +412,13 @@ spec: type: "object" x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" mismatchLabelKeys: - description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" @@ -421,11 +442,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -438,6 +461,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" @@ -445,6 +469,7 @@ spec: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" podAntiAffinity: description: "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))." @@ -476,11 +501,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -489,13 +516,13 @@ spec: type: "object" x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" mismatchLabelKeys: - description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" @@ -519,11 +546,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -536,6 +565,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" @@ -551,6 +581,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: description: "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied." items: @@ -575,11 +606,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -588,13 +621,13 @@ spec: type: "object" x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" mismatchLabelKeys: - description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" @@ -618,11 +651,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -635,6 +670,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" @@ -642,6 +678,7 @@ spec: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" type: "object" alerting: @@ -722,7 +759,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -745,7 +783,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -761,7 +800,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -862,7 +902,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -887,7 +928,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -914,7 +956,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -930,7 +973,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -953,7 +997,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -969,7 +1014,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -995,7 +1041,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1033,7 +1080,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1059,7 +1107,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1075,7 +1124,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1107,7 +1157,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1123,7 +1174,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1146,7 +1198,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1162,7 +1215,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1188,7 +1242,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1235,11 +1290,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" command: description: "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" env: description: "List of environment variables to set in the container.\nCannot be updated." items: @@ -1261,7 +1318,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1310,7 +1368,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1324,6 +1383,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" envFrom: description: "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated." items: @@ -1333,7 +1395,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -1347,7 +1410,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -1356,6 +1420,7 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "array" + x-kubernetes-list-type: "atomic" image: description: "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets." type: "string" @@ -1376,6 +1441,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: description: "HTTPGet specifies the http request to perform." @@ -1399,6 +1465,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1451,6 +1518,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: description: "HTTPGet specifies the http request to perform." @@ -1474,6 +1542,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1527,6 +1596,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -1567,6 +1637,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1663,6 +1734,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -1703,6 +1775,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1817,6 +1890,18 @@ spec: allowPrivilegeEscalation: description: "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows." type: "boolean" + appArmorProfile: + description: "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows." + properties: + localhostProfile: + description: "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\"." + type: "string" + type: + description: "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement." + type: "string" + required: + - "type" + type: "object" capabilities: description: "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows." properties: @@ -1826,12 +1911,14 @@ spec: description: "Capability represent POSIX capabilities type" type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: description: "Removed capabilities" items: description: "Capability represent POSIX capabilities type" type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: description: "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows." @@ -1909,6 +1996,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -1949,6 +2037,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2031,6 +2120,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "devicePath" + x-kubernetes-list-type: "map" volumeMounts: description: "Pod volumes to mount into the container's filesystem.\nCannot be updated." items: @@ -2040,7 +2132,7 @@ spec: description: "Path within the container at which the volume should be mounted. Must\nnot contain ':'." type: "string" mountPropagation: - description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10." + description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None)." type: "string" name: description: "This must match the Name of a Volume." @@ -2048,6 +2140,9 @@ spec: readOnly: description: "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false." type: "boolean" + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\n\nIf this field is not specified, it is treated as an equivalent of Disabled." + type: "string" subPath: description: "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root)." type: "string" @@ -2059,6 +2154,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "mountPath" + x-kubernetes-list-type: "map" workingDir: description: "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated." type: "string" @@ -2210,7 +2308,8 @@ spec: description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -2225,11 +2324,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" command: description: "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" env: description: "List of environment variables to set in the container.\nCannot be updated." items: @@ -2251,7 +2352,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2300,7 +2402,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2314,6 +2417,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" envFrom: description: "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated." items: @@ -2323,7 +2429,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -2337,7 +2444,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -2346,6 +2454,7 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "array" + x-kubernetes-list-type: "atomic" image: description: "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets." type: "string" @@ -2366,6 +2475,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: description: "HTTPGet specifies the http request to perform." @@ -2389,6 +2499,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2441,6 +2552,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: description: "HTTPGet specifies the http request to perform." @@ -2464,6 +2576,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2517,6 +2630,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -2557,6 +2671,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2653,6 +2768,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -2693,6 +2809,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2807,6 +2924,18 @@ spec: allowPrivilegeEscalation: description: "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows." type: "boolean" + appArmorProfile: + description: "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows." + properties: + localhostProfile: + description: "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\"." + type: "string" + type: + description: "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement." + type: "string" + required: + - "type" + type: "object" capabilities: description: "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows." properties: @@ -2816,12 +2945,14 @@ spec: description: "Capability represent POSIX capabilities type" type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: description: "Removed capabilities" items: description: "Capability represent POSIX capabilities type" type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: description: "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows." @@ -2899,6 +3030,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -2939,6 +3071,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -3021,6 +3154,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "devicePath" + x-kubernetes-list-type: "map" volumeMounts: description: "Pod volumes to mount into the container's filesystem.\nCannot be updated." items: @@ -3030,7 +3166,7 @@ spec: description: "Path within the container at which the volume should be mounted. Must\nnot contain ':'." type: "string" mountPropagation: - description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10." + description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None)." type: "string" name: description: "This must match the Name of a Volume." @@ -3038,6 +3174,9 @@ spec: readOnly: description: "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false." type: "boolean" + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\n\nIf this field is not specified, it is treated as an equivalent of Disabled." + type: "string" subPath: description: "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root)." type: "string" @@ -3049,6 +3188,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "mountPath" + x-kubernetes-list-type: "map" workingDir: description: "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated." type: "string" @@ -3142,7 +3284,7 @@ spec: type: "string" type: "object" podMonitorNamespaceSelector: - description: "Namespaces to match for PodMonitors discovery. An empty label selector\nmatches all namespaces. A null label selector matches the current\nnamespace only." + description: "Namespaces to match for PodMonitors discovery. An empty label selector\nmatches all namespaces. A null label selector (default value) matches the current\nnamespace only." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." @@ -3160,11 +3302,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3191,11 +3335,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3234,11 +3380,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3265,11 +3413,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3340,7 +3490,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3366,7 +3517,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3382,7 +3534,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3425,7 +3578,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3441,7 +3595,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3458,7 +3613,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3514,7 +3670,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3530,7 +3687,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3553,7 +3711,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3569,7 +3728,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3595,7 +3755,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3630,7 +3791,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3679,7 +3841,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3717,7 +3880,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3733,7 +3897,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3784,7 +3949,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3800,7 +3966,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3817,7 +3984,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3906,7 +4074,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3931,7 +4100,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3954,7 +4124,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3970,7 +4141,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3993,7 +4165,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -4009,7 +4182,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -4035,7 +4209,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -4186,11 +4361,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -4217,11 +4394,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -4257,6 +4436,63 @@ spec: default: description: "Default indicates that the scrape applies to all scrape objects that\ndon't configure an explicit scrape class name.\n\n\nOnly one scrape class can be set as the default." type: "boolean" + metricRelabelings: + description: "MetricRelabelings configures the relabeling rules to apply to all samples before ingestion.\n\n\nThe Operator adds the scrape class metric relabelings defined here.\nThen the Operator adds the target-specific metric relabelings defined in ServiceMonitors, PodMonitors, Probes and ScrapeConfigs.\nThen the Operator adds namespace enforcement relabeling rule, specified in '.spec.enforcedNamespaceLabel'.\n\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs" + items: + description: "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config" + properties: + action: + default: "replace" + description: "Action to perform based on the regex matching.\n\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\n\nDefault: \"Replace\"" + enum: + - "replace" + - "Replace" + - "keep" + - "Keep" + - "drop" + - "Drop" + - "hashmod" + - "HashMod" + - "labelmap" + - "LabelMap" + - "labeldrop" + - "LabelDrop" + - "labelkeep" + - "LabelKeep" + - "lowercase" + - "Lowercase" + - "uppercase" + - "Uppercase" + - "keepequal" + - "KeepEqual" + - "dropequal" + - "DropEqual" + type: "string" + modulus: + description: "Modulus to take of the hash of the source label values.\n\n\nOnly applicable when the action is `HashMod`." + format: "int64" + type: "integer" + regex: + description: "Regular expression against which the extracted value is matched." + type: "string" + replacement: + description: "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\n\nRegex capture groups are available." + type: "string" + separator: + description: "Separator is the string between concatenated SourceLabels." + type: "string" + sourceLabels: + description: "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression." + items: + description: "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores." + pattern: "^[a-zA-Z_][a-zA-Z0-9_]*$" + type: "string" + type: "array" + targetLabel: + description: "Label to which the resulting string is written in a replacement.\n\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\n\nRegex capture groups are available." + type: "string" + type: "object" + type: "array" name: description: "Name of the scrape class." minLength: 1 @@ -4331,7 +4567,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -4347,7 +4584,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -4370,7 +4608,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -4386,7 +4625,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -4412,7 +4652,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -4451,11 +4692,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -4482,11 +4725,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -4523,6 +4768,18 @@ spec: securityContext: description: "SecurityContext holds pod-level security attributes and common container settings.\nThis defaults to the default PodSecurityContext." properties: + appArmorProfile: + description: "appArmorProfile is the AppArmor options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows." + properties: + localhostProfile: + description: "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\"." + type: "string" + type: + description: "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement." + type: "string" + required: + - "type" + type: "object" fsGroup: description: "A special supplemental group that applies to all containers in a pod.\nSome volume types allow the Kubelet to change the ownership of that volume\nto be owned by the pod:\n\n\n1. The owning GID will be the FSGroup\n2. The setgid bit is set (new files created in the volume will be owned by FSGroup)\n3. The permission bits are OR'd with rw-rw----\n\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.\nNote that this field cannot be set when spec.os.name is windows." format: "int64" @@ -4575,6 +4832,7 @@ spec: format: "int64" type: "integer" type: "array" + x-kubernetes-list-type: "atomic" sysctls: description: "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported\nsysctls (by the container runtime) might fail to launch.\nNote that this field cannot be set when spec.os.name is windows." items: @@ -4591,6 +4849,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" windowsOptions: description: "The Windows specific settings applied to all containers.\nIf unspecified, the options within a container's SecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux." properties: @@ -4612,7 +4871,7 @@ spec: description: "ServiceAccountName is the name of the ServiceAccount to use to run the\nPrometheus Pods." type: "string" serviceMonitorNamespaceSelector: - description: "Namespaces to match for ServicedMonitors discovery. An empty label selector\nmatches all namespaces. A null label selector matches the current\nnamespace only." + description: "Namespaces to match for ServicedMonitors discovery. An empty label selector\nmatches all namespaces. A null label selector (default value) matches the current\nnamespace only." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." @@ -4630,11 +4889,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -4661,11 +4922,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -4717,6 +4980,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: description: "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource." properties: @@ -4794,11 +5058,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -4810,7 +5076,7 @@ spec: description: "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" type: "string" volumeAttributesClassName: - description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." + description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." type: "string" volumeMode: description: "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec." @@ -4857,6 +5123,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: description: "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource." properties: @@ -4934,11 +5201,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -4950,7 +5219,7 @@ spec: description: "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" type: "string" volumeAttributesClassName: - description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." + description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." type: "string" volumeMode: description: "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec." @@ -4967,6 +5236,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" allocatedResourceStatuses: additionalProperties: description: "When a controller receives persistentvolume claim update with ClaimResourceStatus for a resource\nthat it does not recognizes, then it should ignore that update and let other controllers\nhandle it." @@ -4993,7 +5263,7 @@ spec: description: "capacity represents the actual resources of the underlying volume." type: "object" conditions: - description: "conditions is the current Condition of persistent volume claim. If underlying persistent volume is being\nresized then the Condition will be set to 'ResizeStarted'." + description: "conditions is the current Condition of persistent volume claim. If underlying persistent volume is being\nresized then the Condition will be set to 'Resizing'." items: description: "PersistentVolumeClaimCondition contains details about state of pvc" properties: @@ -5009,7 +5279,7 @@ spec: description: "message is the human-readable message indicating details about last transition." type: "string" reason: - description: "reason is a unique, this should be a short, machine understandable string that gives the reason\nfor condition's last transition. If it reports \"ResizeStarted\" that means the underlying\npersistent volume is being resized." + description: "reason is a unique, this should be a short, machine understandable string that gives the reason\nfor condition's last transition. If it reports \"Resizing\" that means the underlying\npersistent volume is being resized." type: "string" status: type: "string" @@ -5021,6 +5291,9 @@ spec: - "type" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "type" + x-kubernetes-list-type: "map" currentVolumeAttributesClassName: description: "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using.\nWhen unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim\nThis is an alpha field and requires enabling VolumeAttributesClass feature." type: "string" @@ -5100,7 +5373,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -5116,7 +5390,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -5139,7 +5414,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -5155,7 +5431,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -5181,7 +5458,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -5229,7 +5507,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -5295,7 +5574,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -5319,7 +5599,7 @@ spec: description: "Path within the container at which the volume should be mounted. Must\nnot contain ':'." type: "string" mountPropagation: - description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10." + description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None)." type: "string" name: description: "This must match the Name of a Volume." @@ -5327,6 +5607,9 @@ spec: readOnly: description: "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false." type: "boolean" + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\n\nIf this field is not specified, it is treated as an equivalent of Disabled." + type: "string" subPath: description: "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root)." type: "string" @@ -5391,11 +5674,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -5414,7 +5699,7 @@ spec: format: "int32" type: "integer" minDomains: - description: "MinDomains indicates a minimum number of eligible domains.\nWhen the number of eligible domains with matching topology keys is less than minDomains,\nPod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed.\nAnd when the number of eligible domains with matching topology keys equals or greater than minDomains,\nthis value has no effect on scheduling.\nAs a result, when the number of eligible domains is less than minDomains,\nscheduler won't schedule more than maxSkew Pods to those domains.\nIf value is nil, the constraint behaves as if MinDomains is equal to 1.\nValid values are integers greater than 0.\nWhen value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same\nlabelSelector spread as 2/2/2:\n| zone1 | zone2 | zone3 |\n| P P | P P | P P |\nThe number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0.\nIn this situation, new pod with the same labelSelector cannot be scheduled,\nbecause computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,\nit will violate MaxSkew.\n\n\nThis is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default)." + description: "MinDomains indicates a minimum number of eligible domains.\nWhen the number of eligible domains with matching topology keys is less than minDomains,\nPod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed.\nAnd when the number of eligible domains with matching topology keys equals or greater than minDomains,\nthis value has no effect on scheduling.\nAs a result, when the number of eligible domains is less than minDomains,\nscheduler won't schedule more than maxSkew Pods to those domains.\nIf value is nil, the constraint behaves as if MinDomains is equal to 1.\nValid values are integers greater than 0.\nWhen value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same\nlabelSelector spread as 2/2/2:\n| zone1 | zone2 | zone3 |\n| P P | P P | P P |\nThe number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0.\nIn this situation, new pod with the same labelSelector cannot be scheduled,\nbecause computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,\nit will violate MaxSkew." format: "int32" type: "integer" nodeAffinityPolicy: @@ -5485,7 +5770,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -5501,7 +5787,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -5524,7 +5811,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -5540,7 +5828,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -5566,7 +5855,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -5602,7 +5892,7 @@ spec: description: "Path within the container at which the volume should be mounted. Must\nnot contain ':'." type: "string" mountPropagation: - description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10." + description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None)." type: "string" name: description: "This must match the Name of a Volume." @@ -5610,6 +5900,9 @@ spec: readOnly: description: "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false." type: "boolean" + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\n\nIf this field is not specified, it is treated as an equivalent of Disabled." + type: "string" subPath: description: "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root)." type: "string" @@ -5694,6 +5987,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" path: description: "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /" type: "string" @@ -5707,7 +6001,8 @@ spec: description: "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -5730,7 +6025,8 @@ spec: description: "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -5767,8 +6063,10 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -5788,7 +6086,8 @@ spec: description: "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -5816,7 +6115,7 @@ spec: description: "DownwardAPIVolumeFile represents information to create the file containing the pod field" properties: fieldRef: - description: "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported." + description: "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -5859,6 +6158,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" emptyDir: description: "emptyDir represents a temporary directory that shares a pod's lifetime.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir" @@ -5891,6 +6191,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: description: "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource." properties: @@ -5968,11 +6269,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -5984,7 +6287,7 @@ spec: description: "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" type: "string" volumeAttributesClassName: - description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." + description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." type: "string" volumeMode: description: "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec." @@ -6015,11 +6318,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" wwids: description: "wwids Optional: FC volume world wide identifiers (wwids)\nEither wwids or combination of targetWWNs and lun must be set, but not both simultaneously." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" flexVolume: description: "flexVolume represents a generic volume resource that is\nprovisioned/attached using an exec based plugin." @@ -6042,7 +6347,8 @@ spec: description: "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -6151,6 +6457,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" readOnly: description: "readOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false." type: "boolean" @@ -6158,7 +6465,8 @@ spec: description: "secretRef is the CHAP Secret for iSCSI target and initiator authentication" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -6262,11 +6570,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -6312,8 +6622,10 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -6329,7 +6641,7 @@ spec: description: "DownwardAPIVolumeFile represents information to create the file containing the pod field" properties: fieldRef: - description: "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported." + description: "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -6372,6 +6684,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" secret: description: "secret information about the secret data to project" @@ -6396,8 +6709,10 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional field specify whether the Secret or its key must be defined" @@ -6422,6 +6737,7 @@ spec: type: "object" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" quobyte: description: "quobyte represents a Quobyte mount on the host that shares a pod's lifetime" @@ -6465,6 +6781,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" pool: description: "pool is the rados pool name.\nDefault is rbd.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" type: "string" @@ -6475,7 +6792,8 @@ spec: description: "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -6505,7 +6823,8 @@ spec: description: "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -6556,6 +6875,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: description: "optional field specify whether the Secret or its keys must be defined" type: "boolean" @@ -6576,7 +6896,8 @@ spec: description: "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -6669,7 +6990,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -6685,7 +7007,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -6713,7 +7036,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -6729,7 +7053,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -6751,7 +7076,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" diff --git a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/servicemonitors.yaml b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/servicemonitors.yaml index 96962355c..7e5ebab1d 100644 --- a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/servicemonitors.yaml +++ b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/servicemonitors.yaml @@ -59,7 +59,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -82,7 +83,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -98,7 +100,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -118,7 +121,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -216,7 +220,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -232,7 +237,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -249,7 +255,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -379,7 +386,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -395,7 +403,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -418,7 +427,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -434,7 +444,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -460,7 +471,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -553,11 +565,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" diff --git a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/thanosrulers.yaml b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/thanosrulers.yaml index 38a47d457..6f3aba6fd 100644 --- a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/thanosrulers.yaml +++ b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/thanosrulers.yaml @@ -106,11 +106,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: description: "A list of node selector requirements by node's fields." items: @@ -127,11 +129,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" weight: @@ -143,6 +147,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: description: "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node." properties: @@ -167,11 +172,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: description: "A list of node selector requirements by node's fields." items: @@ -188,14 +195,17 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" type: "array" + x-kubernetes-list-type: "atomic" required: - "nodeSelectorTerms" type: "object" @@ -231,11 +241,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -244,13 +256,13 @@ spec: type: "object" x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" mismatchLabelKeys: - description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" @@ -274,11 +286,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -291,6 +305,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" @@ -306,6 +321,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: description: "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied." items: @@ -330,11 +346,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -343,13 +361,13 @@ spec: type: "object" x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" mismatchLabelKeys: - description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" @@ -373,11 +391,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -390,6 +410,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" @@ -397,6 +418,7 @@ spec: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" podAntiAffinity: description: "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))." @@ -428,11 +450,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -441,13 +465,13 @@ spec: type: "object" x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" mismatchLabelKeys: - description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" @@ -471,11 +495,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -488,6 +514,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" @@ -503,6 +530,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: description: "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied." items: @@ -527,11 +555,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -540,13 +570,13 @@ spec: type: "object" x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" mismatchLabelKeys: - description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" @@ -570,11 +600,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -587,6 +619,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" @@ -594,6 +627,7 @@ spec: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" type: "object" alertDropLabels: @@ -614,7 +648,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -630,7 +665,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -654,11 +690,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" command: description: "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" env: description: "List of environment variables to set in the container.\nCannot be updated." items: @@ -680,7 +718,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -729,7 +768,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -743,6 +783,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" envFrom: description: "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated." items: @@ -752,7 +795,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -766,7 +810,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -775,6 +820,7 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "array" + x-kubernetes-list-type: "atomic" image: description: "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets." type: "string" @@ -795,6 +841,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: description: "HTTPGet specifies the http request to perform." @@ -818,6 +865,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -870,6 +918,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: description: "HTTPGet specifies the http request to perform." @@ -893,6 +942,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -946,6 +996,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -986,6 +1037,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1082,6 +1134,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -1122,6 +1175,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1236,6 +1290,18 @@ spec: allowPrivilegeEscalation: description: "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows." type: "boolean" + appArmorProfile: + description: "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows." + properties: + localhostProfile: + description: "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\"." + type: "string" + type: + description: "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement." + type: "string" + required: + - "type" + type: "object" capabilities: description: "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows." properties: @@ -1245,12 +1311,14 @@ spec: description: "Capability represent POSIX capabilities type" type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: description: "Removed capabilities" items: description: "Capability represent POSIX capabilities type" type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: description: "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows." @@ -1328,6 +1396,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -1368,6 +1437,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1450,6 +1520,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "devicePath" + x-kubernetes-list-type: "map" volumeMounts: description: "Pod volumes to mount into the container's filesystem.\nCannot be updated." items: @@ -1459,7 +1532,7 @@ spec: description: "Path within the container at which the volume should be mounted. Must\nnot contain ':'." type: "string" mountPropagation: - description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10." + description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None)." type: "string" name: description: "This must match the Name of a Volume." @@ -1467,6 +1540,9 @@ spec: readOnly: description: "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false." type: "boolean" + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\n\nIf this field is not specified, it is treated as an equivalent of Disabled." + type: "string" subPath: description: "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root)." type: "string" @@ -1478,6 +1554,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "mountPath" + x-kubernetes-list-type: "map" workingDir: description: "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated." type: "string" @@ -1541,7 +1620,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1557,7 +1637,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1580,7 +1661,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1596,7 +1678,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1622,7 +1705,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1673,7 +1757,8 @@ spec: description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -1688,11 +1773,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" command: description: "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" env: description: "List of environment variables to set in the container.\nCannot be updated." items: @@ -1714,7 +1801,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1763,7 +1851,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1777,6 +1866,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" envFrom: description: "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated." items: @@ -1786,7 +1878,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -1800,7 +1893,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -1809,6 +1903,7 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "array" + x-kubernetes-list-type: "atomic" image: description: "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets." type: "string" @@ -1829,6 +1924,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: description: "HTTPGet specifies the http request to perform." @@ -1852,6 +1948,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1904,6 +2001,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: description: "HTTPGet specifies the http request to perform." @@ -1927,6 +2025,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1980,6 +2079,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -2020,6 +2120,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2116,6 +2217,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -2156,6 +2258,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2270,6 +2373,18 @@ spec: allowPrivilegeEscalation: description: "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows." type: "boolean" + appArmorProfile: + description: "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows." + properties: + localhostProfile: + description: "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\"." + type: "string" + type: + description: "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement." + type: "string" + required: + - "type" + type: "object" capabilities: description: "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows." properties: @@ -2279,12 +2394,14 @@ spec: description: "Capability represent POSIX capabilities type" type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: description: "Removed capabilities" items: description: "Capability represent POSIX capabilities type" type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: description: "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows." @@ -2362,6 +2479,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -2402,6 +2520,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2484,6 +2603,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "devicePath" + x-kubernetes-list-type: "map" volumeMounts: description: "Pod volumes to mount into the container's filesystem.\nCannot be updated." items: @@ -2493,7 +2615,7 @@ spec: description: "Path within the container at which the volume should be mounted. Must\nnot contain ':'." type: "string" mountPropagation: - description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10." + description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None)." type: "string" name: description: "This must match the Name of a Volume." @@ -2501,6 +2623,9 @@ spec: readOnly: description: "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false." type: "boolean" + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\n\nIf this field is not specified, it is treated as an equivalent of Disabled." + type: "string" subPath: description: "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root)." type: "string" @@ -2512,6 +2637,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "mountPath" + x-kubernetes-list-type: "map" workingDir: description: "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated." type: "string" @@ -2559,7 +2687,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2621,7 +2750,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2703,11 +2833,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -2734,11 +2866,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -2749,6 +2883,18 @@ spec: securityContext: description: "SecurityContext holds pod-level security attributes and common container settings.\nThis defaults to the default PodSecurityContext." properties: + appArmorProfile: + description: "appArmorProfile is the AppArmor options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows." + properties: + localhostProfile: + description: "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\"." + type: "string" + type: + description: "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement." + type: "string" + required: + - "type" + type: "object" fsGroup: description: "A special supplemental group that applies to all containers in a pod.\nSome volume types allow the Kubelet to change the ownership of that volume\nto be owned by the pod:\n\n\n1. The owning GID will be the FSGroup\n2. The setgid bit is set (new files created in the volume will be owned by FSGroup)\n3. The permission bits are OR'd with rw-rw----\n\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.\nNote that this field cannot be set when spec.os.name is windows." format: "int64" @@ -2801,6 +2947,7 @@ spec: format: "int64" type: "integer" type: "array" + x-kubernetes-list-type: "atomic" sysctls: description: "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported\nsysctls (by the container runtime) might fail to launch.\nNote that this field cannot be set when spec.os.name is windows." items: @@ -2817,6 +2964,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" windowsOptions: description: "The Windows specific settings applied to all containers.\nIf unspecified, the options within a container's SecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux." properties: @@ -2874,6 +3022,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: description: "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource." properties: @@ -2951,11 +3100,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -2967,7 +3118,7 @@ spec: description: "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" type: "string" volumeAttributesClassName: - description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." + description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." type: "string" volumeMode: description: "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec." @@ -3014,6 +3165,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: description: "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource." properties: @@ -3091,11 +3243,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3107,7 +3261,7 @@ spec: description: "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" type: "string" volumeAttributesClassName: - description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." + description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." type: "string" volumeMode: description: "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec." @@ -3124,6 +3278,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" allocatedResourceStatuses: additionalProperties: description: "When a controller receives persistentvolume claim update with ClaimResourceStatus for a resource\nthat it does not recognizes, then it should ignore that update and let other controllers\nhandle it." @@ -3150,7 +3305,7 @@ spec: description: "capacity represents the actual resources of the underlying volume." type: "object" conditions: - description: "conditions is the current Condition of persistent volume claim. If underlying persistent volume is being\nresized then the Condition will be set to 'ResizeStarted'." + description: "conditions is the current Condition of persistent volume claim. If underlying persistent volume is being\nresized then the Condition will be set to 'Resizing'." items: description: "PersistentVolumeClaimCondition contains details about state of pvc" properties: @@ -3166,7 +3321,7 @@ spec: description: "message is the human-readable message indicating details about last transition." type: "string" reason: - description: "reason is a unique, this should be a short, machine understandable string that gives the reason\nfor condition's last transition. If it reports \"ResizeStarted\" that means the underlying\npersistent volume is being resized." + description: "reason is a unique, this should be a short, machine understandable string that gives the reason\nfor condition's last transition. If it reports \"Resizing\" that means the underlying\npersistent volume is being resized." type: "string" status: type: "string" @@ -3178,6 +3333,9 @@ spec: - "type" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "type" + x-kubernetes-list-type: "map" currentVolumeAttributesClassName: description: "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using.\nWhen unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim\nThis is an alpha field and requires enabling VolumeAttributesClass feature." type: "string" @@ -3246,11 +3404,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3269,7 +3429,7 @@ spec: format: "int32" type: "integer" minDomains: - description: "MinDomains indicates a minimum number of eligible domains.\nWhen the number of eligible domains with matching topology keys is less than minDomains,\nPod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed.\nAnd when the number of eligible domains with matching topology keys equals or greater than minDomains,\nthis value has no effect on scheduling.\nAs a result, when the number of eligible domains is less than minDomains,\nscheduler won't schedule more than maxSkew Pods to those domains.\nIf value is nil, the constraint behaves as if MinDomains is equal to 1.\nValid values are integers greater than 0.\nWhen value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same\nlabelSelector spread as 2/2/2:\n| zone1 | zone2 | zone3 |\n| P P | P P | P P |\nThe number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0.\nIn this situation, new pod with the same labelSelector cannot be scheduled,\nbecause computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,\nit will violate MaxSkew.\n\n\nThis is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default)." + description: "MinDomains indicates a minimum number of eligible domains.\nWhen the number of eligible domains with matching topology keys is less than minDomains,\nPod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed.\nAnd when the number of eligible domains with matching topology keys equals or greater than minDomains,\nthis value has no effect on scheduling.\nAs a result, when the number of eligible domains is less than minDomains,\nscheduler won't schedule more than maxSkew Pods to those domains.\nIf value is nil, the constraint behaves as if MinDomains is equal to 1.\nValid values are integers greater than 0.\nWhen value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same\nlabelSelector spread as 2/2/2:\n| zone1 | zone2 | zone3 |\n| P P | P P | P P |\nThe number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0.\nIn this situation, new pod with the same labelSelector cannot be scheduled,\nbecause computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,\nit will violate MaxSkew." format: "int32" type: "integer" nodeAffinityPolicy: @@ -3297,7 +3457,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3321,7 +3482,7 @@ spec: description: "Path within the container at which the volume should be mounted. Must\nnot contain ':'." type: "string" mountPropagation: - description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10." + description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None)." type: "string" name: description: "This must match the Name of a Volume." @@ -3329,6 +3490,9 @@ spec: readOnly: description: "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false." type: "boolean" + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\n\nIf this field is not specified, it is treated as an equivalent of Disabled." + type: "string" subPath: description: "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root)." type: "string" @@ -3413,6 +3577,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" path: description: "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /" type: "string" @@ -3426,7 +3591,8 @@ spec: description: "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3449,7 +3615,8 @@ spec: description: "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3486,8 +3653,10 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -3507,7 +3676,8 @@ spec: description: "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3535,7 +3705,7 @@ spec: description: "DownwardAPIVolumeFile represents information to create the file containing the pod field" properties: fieldRef: - description: "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported." + description: "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -3578,6 +3748,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" emptyDir: description: "emptyDir represents a temporary directory that shares a pod's lifetime.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir" @@ -3610,6 +3781,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: description: "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource." properties: @@ -3687,11 +3859,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3703,7 +3877,7 @@ spec: description: "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" type: "string" volumeAttributesClassName: - description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." + description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." type: "string" volumeMode: description: "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec." @@ -3734,11 +3908,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" wwids: description: "wwids Optional: FC volume world wide identifiers (wwids)\nEither wwids or combination of targetWWNs and lun must be set, but not both simultaneously." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" flexVolume: description: "flexVolume represents a generic volume resource that is\nprovisioned/attached using an exec based plugin." @@ -3761,7 +3937,8 @@ spec: description: "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3870,6 +4047,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" readOnly: description: "readOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false." type: "boolean" @@ -3877,7 +4055,8 @@ spec: description: "secretRef is the CHAP Secret for iSCSI target and initiator authentication" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -3981,11 +4160,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -4031,8 +4212,10 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -4048,7 +4231,7 @@ spec: description: "DownwardAPIVolumeFile represents information to create the file containing the pod field" properties: fieldRef: - description: "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported." + description: "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -4091,6 +4274,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" secret: description: "secret information about the secret data to project" @@ -4115,8 +4299,10 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional field specify whether the Secret or its key must be defined" @@ -4141,6 +4327,7 @@ spec: type: "object" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" quobyte: description: "quobyte represents a Quobyte mount on the host that shares a pod's lifetime" @@ -4184,6 +4371,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" pool: description: "pool is the rados pool name.\nDefault is rbd.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" type: "string" @@ -4194,7 +4382,8 @@ spec: description: "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4224,7 +4413,8 @@ spec: description: "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4275,6 +4465,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: description: "optional field specify whether the Secret or its keys must be defined" type: "boolean" @@ -4295,7 +4486,8 @@ spec: description: "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4377,7 +4569,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -4393,7 +4586,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -4421,7 +4615,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -4437,7 +4632,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -4459,7 +4655,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" diff --git a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/alertmanagerconfigs.yaml b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/alertmanagerconfigs.yaml index 0f9a34096..d097646df 100644 --- a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/alertmanagerconfigs.yaml +++ b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/alertmanagerconfigs.yaml @@ -186,7 +186,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -208,7 +209,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -231,7 +233,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -247,7 +250,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -264,7 +268,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -289,7 +294,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -305,7 +311,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -322,7 +329,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -366,7 +374,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -382,7 +391,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -402,7 +412,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -418,7 +429,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -438,7 +450,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -480,7 +493,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -496,7 +510,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -559,7 +574,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -575,7 +591,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -595,7 +612,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -611,7 +629,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -631,7 +650,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -667,7 +687,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -690,7 +711,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -706,7 +728,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -723,7 +746,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -748,7 +772,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -764,7 +789,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -781,7 +807,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -825,7 +852,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -841,7 +869,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -861,7 +890,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -877,7 +907,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -897,7 +928,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -930,7 +962,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -962,7 +995,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1010,7 +1044,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1033,7 +1068,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1049,7 +1085,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1066,7 +1103,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1091,7 +1129,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1107,7 +1146,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1124,7 +1164,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1168,7 +1209,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1184,7 +1226,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1204,7 +1247,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1220,7 +1264,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1240,7 +1285,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1352,7 +1398,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1375,7 +1422,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1391,7 +1439,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1408,7 +1457,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1433,7 +1483,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1449,7 +1500,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1466,7 +1518,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1510,7 +1563,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1526,7 +1580,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1546,7 +1601,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1562,7 +1618,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1582,7 +1639,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1632,7 +1690,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1651,7 +1710,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1663,6 +1723,9 @@ spec: severity: description: "Severity of the incident." type: "string" + source: + description: "Unique location of the affected system." + type: "string" url: description: "The URL to send requests to." type: "string" @@ -1696,7 +1759,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1719,7 +1783,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1735,7 +1800,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1752,7 +1818,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1777,7 +1844,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1793,7 +1861,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1810,7 +1879,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1854,7 +1924,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1870,7 +1941,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1890,7 +1962,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1906,7 +1979,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1926,7 +2000,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1966,7 +2041,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1991,7 +2067,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2056,7 +2133,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2107,7 +2185,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2130,7 +2209,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2146,7 +2226,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2163,7 +2244,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2188,7 +2270,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2204,7 +2287,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2221,7 +2305,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2265,7 +2350,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2281,7 +2367,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2301,7 +2388,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2317,7 +2405,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2337,7 +2426,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2408,7 +2498,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2431,7 +2522,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2447,7 +2539,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2464,7 +2557,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2489,7 +2583,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2505,7 +2600,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2522,7 +2618,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2566,7 +2663,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2582,7 +2680,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2602,7 +2701,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2618,7 +2718,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2638,7 +2739,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2671,7 +2773,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2696,7 +2799,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2732,7 +2836,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2764,7 +2869,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2787,7 +2893,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2803,7 +2910,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2820,7 +2928,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2845,7 +2954,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2861,7 +2971,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2878,7 +2989,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2922,7 +3034,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2938,7 +3051,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2958,7 +3072,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2974,7 +3089,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2994,7 +3110,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3035,7 +3152,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3080,7 +3198,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3103,7 +3222,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3119,7 +3239,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3136,7 +3257,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3161,7 +3283,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3177,7 +3300,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3194,7 +3318,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3238,7 +3363,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3254,7 +3380,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3274,7 +3401,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3290,7 +3418,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3310,7 +3439,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3363,7 +3493,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3386,7 +3517,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3402,7 +3534,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3419,7 +3552,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3444,7 +3578,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3460,7 +3595,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3477,7 +3613,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3521,7 +3658,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3537,7 +3675,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3557,7 +3696,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3573,7 +3713,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3593,7 +3734,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3639,7 +3781,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3662,7 +3805,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3678,7 +3822,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3695,7 +3840,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3720,7 +3866,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3736,7 +3883,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3753,7 +3901,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3797,7 +3946,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3813,7 +3963,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3833,7 +3984,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3849,7 +4001,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3869,7 +4022,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3901,7 +4055,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3926,7 +4081,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3954,7 +4110,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3977,7 +4134,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3993,7 +4151,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -4010,7 +4169,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -4035,7 +4195,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -4051,7 +4212,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -4068,7 +4230,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -4112,7 +4275,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -4128,7 +4292,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -4148,7 +4313,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -4164,7 +4330,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -4184,7 +4351,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" diff --git a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/prometheusagents.yaml b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/prometheusagents.yaml index 518402b8a..36624c651 100644 --- a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/prometheusagents.yaml +++ b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/prometheusagents.yaml @@ -83,7 +83,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -122,11 +123,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: description: "A list of node selector requirements by node's fields." items: @@ -143,11 +146,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" weight: @@ -159,6 +164,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: description: "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node." properties: @@ -183,11 +189,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchFields: description: "A list of node selector requirements by node's fields." items: @@ -204,14 +212,17 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" x-kubernetes-map-type: "atomic" type: "array" + x-kubernetes-list-type: "atomic" required: - "nodeSelectorTerms" type: "object" @@ -247,11 +258,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -260,13 +273,13 @@ spec: type: "object" x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" mismatchLabelKeys: - description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" @@ -290,11 +303,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -307,6 +322,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" @@ -322,6 +338,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: description: "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied." items: @@ -346,11 +363,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -359,13 +378,13 @@ spec: type: "object" x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" mismatchLabelKeys: - description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" @@ -389,11 +408,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -406,6 +427,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" @@ -413,6 +435,7 @@ spec: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" podAntiAffinity: description: "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))." @@ -444,11 +467,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -457,13 +482,13 @@ spec: type: "object" x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" mismatchLabelKeys: - description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" @@ -487,11 +512,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -504,6 +531,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" @@ -519,6 +547,7 @@ spec: - "weight" type: "object" type: "array" + x-kubernetes-list-type: "atomic" requiredDuringSchedulingIgnoredDuringExecution: description: "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied." items: @@ -543,11 +572,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -556,13 +587,13 @@ spec: type: "object" x-kubernetes-map-type: "atomic" matchLabelKeys: - description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nAlso, MatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" x-kubernetes-list-type: "atomic" mismatchLabelKeys: - description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.\nAlso, MismatchLabelKeys cannot be set when LabelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." + description: "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate." items: type: "string" type: "array" @@ -586,11 +617,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -603,6 +636,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" topologyKey: description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." type: "string" @@ -610,6 +644,7 @@ spec: - "topologyKey" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" type: "object" apiserverConfig: @@ -625,7 +660,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -651,7 +687,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -667,7 +704,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -699,7 +737,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -715,7 +754,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -738,7 +778,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -754,7 +795,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -780,7 +822,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -824,11 +867,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" command: description: "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" env: description: "List of environment variables to set in the container.\nCannot be updated." items: @@ -850,7 +895,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -899,7 +945,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -913,6 +960,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" envFrom: description: "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated." items: @@ -922,7 +972,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -936,7 +987,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -945,6 +997,7 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "array" + x-kubernetes-list-type: "atomic" image: description: "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets." type: "string" @@ -965,6 +1018,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: description: "HTTPGet specifies the http request to perform." @@ -988,6 +1042,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1040,6 +1095,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: description: "HTTPGet specifies the http request to perform." @@ -1063,6 +1119,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1116,6 +1173,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -1156,6 +1214,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1252,6 +1311,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -1292,6 +1352,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1406,6 +1467,18 @@ spec: allowPrivilegeEscalation: description: "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows." type: "boolean" + appArmorProfile: + description: "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows." + properties: + localhostProfile: + description: "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\"." + type: "string" + type: + description: "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement." + type: "string" + required: + - "type" + type: "object" capabilities: description: "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows." properties: @@ -1415,12 +1488,14 @@ spec: description: "Capability represent POSIX capabilities type" type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: description: "Removed capabilities" items: description: "Capability represent POSIX capabilities type" type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: description: "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows." @@ -1498,6 +1573,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -1538,6 +1614,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -1620,6 +1697,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "devicePath" + x-kubernetes-list-type: "map" volumeMounts: description: "Pod volumes to mount into the container's filesystem.\nCannot be updated." items: @@ -1629,7 +1709,7 @@ spec: description: "Path within the container at which the volume should be mounted. Must\nnot contain ':'." type: "string" mountPropagation: - description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10." + description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None)." type: "string" name: description: "This must match the Name of a Volume." @@ -1637,6 +1717,9 @@ spec: readOnly: description: "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false." type: "boolean" + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\n\nIf this field is not specified, it is treated as an equivalent of Disabled." + type: "string" subPath: description: "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root)." type: "string" @@ -1648,6 +1731,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "mountPath" + x-kubernetes-list-type: "map" workingDir: description: "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated." type: "string" @@ -1780,7 +1866,8 @@ spec: description: "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -1795,11 +1882,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" command: description: "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" env: description: "List of environment variables to set in the container.\nCannot be updated." items: @@ -1821,7 +1910,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1870,7 +1960,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1884,6 +1975,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "name" + x-kubernetes-list-type: "map" envFrom: description: "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated." items: @@ -1893,7 +1987,8 @@ spec: description: "The ConfigMap to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap must be defined" @@ -1907,7 +2002,8 @@ spec: description: "The Secret to select from" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret must be defined" @@ -1916,6 +2012,7 @@ spec: x-kubernetes-map-type: "atomic" type: "object" type: "array" + x-kubernetes-list-type: "atomic" image: description: "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets." type: "string" @@ -1936,6 +2033,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: description: "HTTPGet specifies the http request to perform." @@ -1959,6 +2057,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2011,6 +2110,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" httpGet: description: "HTTPGet specifies the http request to perform." @@ -2034,6 +2134,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2087,6 +2188,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -2127,6 +2229,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2223,6 +2326,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -2263,6 +2367,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2377,6 +2482,18 @@ spec: allowPrivilegeEscalation: description: "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows." type: "boolean" + appArmorProfile: + description: "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows." + properties: + localhostProfile: + description: "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\"." + type: "string" + type: + description: "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement." + type: "string" + required: + - "type" + type: "object" capabilities: description: "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows." properties: @@ -2386,12 +2503,14 @@ spec: description: "Capability represent POSIX capabilities type" type: "string" type: "array" + x-kubernetes-list-type: "atomic" drop: description: "Removed capabilities" items: description: "Capability represent POSIX capabilities type" type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" privileged: description: "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows." @@ -2469,6 +2588,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" failureThreshold: description: "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1." @@ -2509,6 +2629,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" path: description: "Path to access on the HTTP server." type: "string" @@ -2591,6 +2712,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "devicePath" + x-kubernetes-list-type: "map" volumeMounts: description: "Pod volumes to mount into the container's filesystem.\nCannot be updated." items: @@ -2600,7 +2724,7 @@ spec: description: "Path within the container at which the volume should be mounted. Must\nnot contain ':'." type: "string" mountPropagation: - description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10." + description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None)." type: "string" name: description: "This must match the Name of a Volume." @@ -2608,6 +2732,9 @@ spec: readOnly: description: "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false." type: "boolean" + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\n\nIf this field is not specified, it is treated as an equivalent of Disabled." + type: "string" subPath: description: "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root)." type: "string" @@ -2619,6 +2746,9 @@ spec: - "name" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "mountPath" + x-kubernetes-list-type: "map" workingDir: description: "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated." type: "string" @@ -2712,7 +2842,7 @@ spec: type: "string" type: "object" podMonitorNamespaceSelector: - description: "Namespaces to match for PodMonitors discovery. An empty label selector\nmatches all namespaces. A null label selector matches the current\nnamespace only." + description: "Namespaces to match for PodMonitors discovery. An empty label selector\nmatches all namespaces. A null label selector (default value) matches the current\nnamespace only." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." @@ -2730,11 +2860,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -2761,11 +2893,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -2804,11 +2938,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -2835,11 +2971,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -2871,7 +3009,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2920,7 +3059,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2958,7 +3098,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2974,7 +3115,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3025,7 +3167,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3041,7 +3184,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3058,7 +3202,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3147,7 +3292,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3172,7 +3318,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3195,7 +3342,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3211,7 +3359,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3234,7 +3383,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3250,7 +3400,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3276,7 +3427,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3411,6 +3563,63 @@ spec: default: description: "Default indicates that the scrape applies to all scrape objects that\ndon't configure an explicit scrape class name.\n\n\nOnly one scrape class can be set as the default." type: "boolean" + metricRelabelings: + description: "MetricRelabelings configures the relabeling rules to apply to all samples before ingestion.\n\n\nThe Operator adds the scrape class metric relabelings defined here.\nThen the Operator adds the target-specific metric relabelings defined in ServiceMonitors, PodMonitors, Probes and ScrapeConfigs.\nThen the Operator adds namespace enforcement relabeling rule, specified in '.spec.enforcedNamespaceLabel'.\n\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs" + items: + description: "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config" + properties: + action: + default: "replace" + description: "Action to perform based on the regex matching.\n\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\n\nDefault: \"Replace\"" + enum: + - "replace" + - "Replace" + - "keep" + - "Keep" + - "drop" + - "Drop" + - "hashmod" + - "HashMod" + - "labelmap" + - "LabelMap" + - "labeldrop" + - "LabelDrop" + - "labelkeep" + - "LabelKeep" + - "lowercase" + - "Lowercase" + - "uppercase" + - "Uppercase" + - "keepequal" + - "KeepEqual" + - "dropequal" + - "DropEqual" + type: "string" + modulus: + description: "Modulus to take of the hash of the source label values.\n\n\nOnly applicable when the action is `HashMod`." + format: "int64" + type: "integer" + regex: + description: "Regular expression against which the extracted value is matched." + type: "string" + replacement: + description: "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\n\nRegex capture groups are available." + type: "string" + separator: + description: "Separator is the string between concatenated SourceLabels." + type: "string" + sourceLabels: + description: "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression." + items: + description: "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores." + pattern: "^[a-zA-Z_][a-zA-Z0-9_]*$" + type: "string" + type: "array" + targetLabel: + description: "Label to which the resulting string is written in a replacement.\n\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\n\nRegex capture groups are available." + type: "string" + type: "object" + type: "array" name: description: "Name of the scrape class." minLength: 1 @@ -3485,7 +3694,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3501,7 +3711,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3524,7 +3735,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3540,7 +3752,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3566,7 +3779,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3605,11 +3819,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3636,11 +3852,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3677,6 +3895,18 @@ spec: securityContext: description: "SecurityContext holds pod-level security attributes and common container settings.\nThis defaults to the default PodSecurityContext." properties: + appArmorProfile: + description: "appArmorProfile is the AppArmor options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows." + properties: + localhostProfile: + description: "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\"." + type: "string" + type: + description: "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement." + type: "string" + required: + - "type" + type: "object" fsGroup: description: "A special supplemental group that applies to all containers in a pod.\nSome volume types allow the Kubelet to change the ownership of that volume\nto be owned by the pod:\n\n\n1. The owning GID will be the FSGroup\n2. The setgid bit is set (new files created in the volume will be owned by FSGroup)\n3. The permission bits are OR'd with rw-rw----\n\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.\nNote that this field cannot be set when spec.os.name is windows." format: "int64" @@ -3729,6 +3959,7 @@ spec: format: "int64" type: "integer" type: "array" + x-kubernetes-list-type: "atomic" sysctls: description: "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported\nsysctls (by the container runtime) might fail to launch.\nNote that this field cannot be set when spec.os.name is windows." items: @@ -3745,6 +3976,7 @@ spec: - "value" type: "object" type: "array" + x-kubernetes-list-type: "atomic" windowsOptions: description: "The Windows specific settings applied to all containers.\nIf unspecified, the options within a container's SecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux." properties: @@ -3766,7 +3998,7 @@ spec: description: "ServiceAccountName is the name of the ServiceAccount to use to run the\nPrometheus Pods." type: "string" serviceMonitorNamespaceSelector: - description: "Namespaces to match for ServicedMonitors discovery. An empty label selector\nmatches all namespaces. A null label selector matches the current\nnamespace only." + description: "Namespaces to match for ServicedMonitors discovery. An empty label selector\nmatches all namespaces. A null label selector (default value) matches the current\nnamespace only." properties: matchExpressions: description: "matchExpressions is a list of label selector requirements. The requirements are ANDed." @@ -3784,11 +4016,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3815,11 +4049,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3868,6 +4104,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: description: "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource." properties: @@ -3945,11 +4182,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -3961,7 +4200,7 @@ spec: description: "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" type: "string" volumeAttributesClassName: - description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." + description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." type: "string" volumeMode: description: "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec." @@ -4008,6 +4247,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: description: "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource." properties: @@ -4085,11 +4325,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -4101,7 +4343,7 @@ spec: description: "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" type: "string" volumeAttributesClassName: - description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." + description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." type: "string" volumeMode: description: "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec." @@ -4118,6 +4360,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" allocatedResourceStatuses: additionalProperties: description: "When a controller receives persistentvolume claim update with ClaimResourceStatus for a resource\nthat it does not recognizes, then it should ignore that update and let other controllers\nhandle it." @@ -4144,7 +4387,7 @@ spec: description: "capacity represents the actual resources of the underlying volume." type: "object" conditions: - description: "conditions is the current Condition of persistent volume claim. If underlying persistent volume is being\nresized then the Condition will be set to 'ResizeStarted'." + description: "conditions is the current Condition of persistent volume claim. If underlying persistent volume is being\nresized then the Condition will be set to 'Resizing'." items: description: "PersistentVolumeClaimCondition contains details about state of pvc" properties: @@ -4160,7 +4403,7 @@ spec: description: "message is the human-readable message indicating details about last transition." type: "string" reason: - description: "reason is a unique, this should be a short, machine understandable string that gives the reason\nfor condition's last transition. If it reports \"ResizeStarted\" that means the underlying\npersistent volume is being resized." + description: "reason is a unique, this should be a short, machine understandable string that gives the reason\nfor condition's last transition. If it reports \"Resizing\" that means the underlying\npersistent volume is being resized." type: "string" status: type: "string" @@ -4172,6 +4415,9 @@ spec: - "type" type: "object" type: "array" + x-kubernetes-list-map-keys: + - "type" + x-kubernetes-list-type: "map" currentVolumeAttributesClassName: description: "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using.\nWhen unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim\nThis is an alpha field and requires enabling VolumeAttributesClass feature." type: "string" @@ -4249,11 +4495,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -4272,7 +4520,7 @@ spec: format: "int32" type: "integer" minDomains: - description: "MinDomains indicates a minimum number of eligible domains.\nWhen the number of eligible domains with matching topology keys is less than minDomains,\nPod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed.\nAnd when the number of eligible domains with matching topology keys equals or greater than minDomains,\nthis value has no effect on scheduling.\nAs a result, when the number of eligible domains is less than minDomains,\nscheduler won't schedule more than maxSkew Pods to those domains.\nIf value is nil, the constraint behaves as if MinDomains is equal to 1.\nValid values are integers greater than 0.\nWhen value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same\nlabelSelector spread as 2/2/2:\n| zone1 | zone2 | zone3 |\n| P P | P P | P P |\nThe number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0.\nIn this situation, new pod with the same labelSelector cannot be scheduled,\nbecause computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,\nit will violate MaxSkew.\n\n\nThis is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default)." + description: "MinDomains indicates a minimum number of eligible domains.\nWhen the number of eligible domains with matching topology keys is less than minDomains,\nPod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed.\nAnd when the number of eligible domains with matching topology keys equals or greater than minDomains,\nthis value has no effect on scheduling.\nAs a result, when the number of eligible domains is less than minDomains,\nscheduler won't schedule more than maxSkew Pods to those domains.\nIf value is nil, the constraint behaves as if MinDomains is equal to 1.\nValid values are integers greater than 0.\nWhen value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same\nlabelSelector spread as 2/2/2:\n| zone1 | zone2 | zone3 |\n| P P | P P | P P |\nThe number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0.\nIn this situation, new pod with the same labelSelector cannot be scheduled,\nbecause computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,\nit will violate MaxSkew." format: "int32" type: "integer" nodeAffinityPolicy: @@ -4343,7 +4591,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -4359,7 +4608,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -4382,7 +4632,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -4398,7 +4649,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -4424,7 +4676,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -4452,7 +4705,7 @@ spec: description: "Path within the container at which the volume should be mounted. Must\nnot contain ':'." type: "string" mountPropagation: - description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10." + description: "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None)." type: "string" name: description: "This must match the Name of a Volume." @@ -4460,6 +4713,9 @@ spec: readOnly: description: "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false." type: "boolean" + recursiveReadOnly: + description: "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\n\nIf this field is not specified, it is treated as an equivalent of Disabled." + type: "string" subPath: description: "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root)." type: "string" @@ -4544,6 +4800,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" path: description: "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /" type: "string" @@ -4557,7 +4814,8 @@ spec: description: "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4580,7 +4838,8 @@ spec: description: "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4617,8 +4876,10 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -4638,7 +4899,8 @@ spec: description: "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -4666,7 +4928,7 @@ spec: description: "DownwardAPIVolumeFile represents information to create the file containing the pod field" properties: fieldRef: - description: "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported." + description: "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -4709,6 +4971,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" emptyDir: description: "emptyDir represents a temporary directory that shares a pod's lifetime.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir" @@ -4741,6 +5004,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" dataSource: description: "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource." properties: @@ -4818,11 +5082,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -4834,7 +5100,7 @@ spec: description: "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" type: "string" volumeAttributesClassName: - description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." + description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled." type: "string" volumeMode: description: "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec." @@ -4865,11 +5131,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" wwids: description: "wwids Optional: FC volume world wide identifiers (wwids)\nEither wwids or combination of targetWWNs and lun must be set, but not both simultaneously." items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" type: "object" flexVolume: description: "flexVolume represents a generic volume resource that is\nprovisioned/attached using an exec based plugin." @@ -4892,7 +5160,8 @@ spec: description: "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -5001,6 +5270,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" readOnly: description: "readOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false." type: "boolean" @@ -5008,7 +5278,8 @@ spec: description: "secretRef is the CHAP Secret for iSCSI target and initiator authentication" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -5112,11 +5383,13 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" required: - "key" - "operator" type: "object" type: "array" + x-kubernetes-list-type: "atomic" matchLabels: additionalProperties: type: "string" @@ -5162,8 +5435,10 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional specify whether the ConfigMap or its keys must be defined" @@ -5179,7 +5454,7 @@ spec: description: "DownwardAPIVolumeFile represents information to create the file containing the pod field" properties: fieldRef: - description: "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported." + description: "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported." properties: apiVersion: description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." @@ -5222,6 +5497,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" secret: description: "secret information about the secret data to project" @@ -5246,8 +5522,10 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "optional field specify whether the Secret or its key must be defined" @@ -5272,6 +5550,7 @@ spec: type: "object" type: "object" type: "array" + x-kubernetes-list-type: "atomic" type: "object" quobyte: description: "quobyte represents a Quobyte mount on the host that shares a pod's lifetime" @@ -5315,6 +5594,7 @@ spec: items: type: "string" type: "array" + x-kubernetes-list-type: "atomic" pool: description: "pool is the rados pool name.\nDefault is rbd.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" type: "string" @@ -5325,7 +5605,8 @@ spec: description: "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -5355,7 +5636,8 @@ spec: description: "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -5406,6 +5688,7 @@ spec: - "path" type: "object" type: "array" + x-kubernetes-list-type: "atomic" optional: description: "optional field specify whether the Secret or its keys must be defined" type: "boolean" @@ -5426,7 +5709,8 @@ spec: description: "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted." properties: name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" type: "object" x-kubernetes-map-type: "atomic" @@ -5519,7 +5803,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -5535,7 +5820,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -5563,7 +5849,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -5579,7 +5866,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -5601,7 +5889,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" diff --git a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/scrapeconfigs.yaml b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/scrapeconfigs.yaml index 32da03001..7dcb0d151 100644 --- a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/scrapeconfigs.yaml +++ b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/scrapeconfigs.yaml @@ -51,7 +51,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -74,7 +75,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -90,7 +92,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -124,7 +127,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -140,7 +144,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -157,7 +162,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -194,7 +200,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -238,7 +245,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -254,7 +262,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -274,7 +283,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -290,7 +300,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -310,7 +321,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -337,7 +349,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -372,7 +385,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -415,7 +429,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -431,7 +446,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -459,7 +475,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -482,7 +499,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -498,7 +516,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -542,7 +561,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -558,7 +578,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -575,7 +596,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -615,7 +637,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -677,7 +700,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -693,7 +717,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -713,7 +738,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -729,7 +755,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -749,7 +776,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -769,7 +797,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -797,7 +826,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -832,7 +862,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -848,7 +879,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -865,7 +897,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -905,7 +938,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -942,7 +976,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -958,7 +993,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -978,7 +1014,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -994,7 +1031,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1014,7 +1052,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1075,7 +1114,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1098,7 +1138,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1114,7 +1155,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1169,7 +1211,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1185,7 +1228,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1202,7 +1246,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1242,7 +1287,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1279,7 +1325,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1295,7 +1342,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1315,7 +1363,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1331,7 +1380,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1351,7 +1401,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1380,7 +1431,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1425,7 +1477,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1454,7 +1507,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1477,7 +1531,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1493,7 +1548,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1525,7 +1581,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1541,7 +1598,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1558,7 +1616,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1595,7 +1654,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1636,7 +1696,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1652,7 +1713,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1672,7 +1734,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1688,7 +1751,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1708,7 +1772,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1792,7 +1857,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1815,7 +1881,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1831,7 +1898,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1863,7 +1931,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1879,7 +1948,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1896,7 +1966,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1936,7 +2007,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1981,7 +2053,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1997,7 +2070,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2017,7 +2091,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2033,7 +2108,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2053,7 +2129,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2091,7 +2168,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2114,7 +2192,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2130,7 +2209,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2152,7 +2232,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2189,7 +2270,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2205,7 +2287,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2225,7 +2308,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2241,7 +2325,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2261,7 +2346,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2283,6 +2369,10 @@ spec: - "url" type: "object" type: "array" + jobName: + description: "The value of the `job` label assigned to the scraped metrics by default.\n\n\nThe `job_name` field in the rendered scrape configuration is always controlled by the\noperator to prevent duplicate job names, which Prometheus does not allow. Instead the\n`job` label is set by means of relabeling configs." + minLength: 1 + type: "string" keepDroppedTargets: description: "Per-scrape limit on the number of targets dropped by relabeling\nthat will be kept in memory. 0 means no limit.\n\n\nIt requires Prometheus >= v2.47.0." format: "int64" @@ -2312,7 +2402,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2335,7 +2426,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2351,7 +2443,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2395,7 +2488,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2411,7 +2505,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2428,7 +2523,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2465,7 +2561,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2546,7 +2643,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2562,7 +2660,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2582,7 +2681,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2598,7 +2698,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2618,7 +2719,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2650,7 +2752,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2673,7 +2776,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2689,7 +2793,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2728,7 +2833,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2744,7 +2850,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2761,7 +2868,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2798,7 +2906,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2839,7 +2948,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2855,7 +2965,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2875,7 +2986,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2891,7 +3003,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2911,7 +3024,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3024,7 +3138,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3059,7 +3174,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3106,7 +3222,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3122,7 +3239,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3142,7 +3260,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3158,7 +3277,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3178,7 +3298,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3219,7 +3340,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3366,7 +3488,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3382,7 +3505,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3402,7 +3526,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3418,7 +3543,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3438,7 +3564,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" diff --git a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1beta1/alertmanagerconfigs.yaml b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1beta1/alertmanagerconfigs.yaml index 3f2320b4a..8561786f1 100644 --- a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1beta1/alertmanagerconfigs.yaml +++ b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1beta1/alertmanagerconfigs.yaml @@ -110,7 +110,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -132,7 +133,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -155,7 +157,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -171,7 +174,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -212,7 +216,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -228,7 +233,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -245,7 +251,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -289,7 +296,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -305,7 +313,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -325,7 +334,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -341,7 +351,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -361,7 +372,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -478,7 +490,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -494,7 +507,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -514,7 +528,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -530,7 +545,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -550,7 +566,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -586,7 +603,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -609,7 +627,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -625,7 +644,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -666,7 +686,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -682,7 +703,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -699,7 +721,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -743,7 +766,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -759,7 +783,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -779,7 +804,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -795,7 +821,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -815,7 +842,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -848,7 +876,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -927,7 +956,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -950,7 +980,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -966,7 +997,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1007,7 +1039,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1023,7 +1056,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1040,7 +1074,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1084,7 +1119,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1100,7 +1136,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1120,7 +1157,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1136,7 +1174,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1156,7 +1195,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1271,7 +1311,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1294,7 +1335,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1310,7 +1352,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1351,7 +1394,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1367,7 +1411,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1384,7 +1429,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1428,7 +1474,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1444,7 +1491,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1464,7 +1512,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1480,7 +1529,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1500,7 +1550,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1579,6 +1630,9 @@ spec: severity: description: "Severity of the incident." type: "string" + source: + description: "Unique location of the affected system." + type: "string" url: description: "The URL to send requests to." type: "string" @@ -1612,7 +1666,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1635,7 +1690,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1651,7 +1707,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1692,7 +1749,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1708,7 +1766,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1725,7 +1784,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1769,7 +1829,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1785,7 +1846,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1805,7 +1867,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -1821,7 +1884,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -1841,7 +1905,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2019,7 +2084,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2042,7 +2108,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2058,7 +2125,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2099,7 +2167,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2115,7 +2184,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2132,7 +2202,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2176,7 +2247,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2192,7 +2264,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2212,7 +2285,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2228,7 +2302,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2248,7 +2323,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2319,7 +2395,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2342,7 +2419,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2358,7 +2436,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2399,7 +2478,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2415,7 +2495,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2432,7 +2513,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2476,7 +2558,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2492,7 +2575,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2512,7 +2596,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2528,7 +2613,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2548,7 +2634,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2581,7 +2668,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2606,7 +2694,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2673,7 +2762,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2696,7 +2786,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2712,7 +2803,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2753,7 +2845,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2769,7 +2862,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2786,7 +2880,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2830,7 +2925,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2846,7 +2942,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2866,7 +2963,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -2882,7 +2980,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2902,7 +3001,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -2987,7 +3087,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3010,7 +3111,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3026,7 +3128,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3067,7 +3170,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3083,7 +3187,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3100,7 +3205,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3144,7 +3250,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3160,7 +3267,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3180,7 +3288,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3196,7 +3305,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3216,7 +3326,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3269,7 +3380,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3292,7 +3404,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3308,7 +3421,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3349,7 +3463,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3365,7 +3480,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3382,7 +3498,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3426,7 +3543,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3442,7 +3560,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3462,7 +3581,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3478,7 +3598,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3498,7 +3619,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3544,7 +3666,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3567,7 +3690,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3583,7 +3707,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3624,7 +3749,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3640,7 +3766,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3657,7 +3784,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3701,7 +3829,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3717,7 +3846,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3737,7 +3867,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3753,7 +3884,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3773,7 +3905,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3856,7 +3989,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3879,7 +4013,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3895,7 +4030,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3936,7 +4072,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -3952,7 +4089,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -3969,7 +4107,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -4013,7 +4152,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -4029,7 +4169,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -4049,7 +4190,8 @@ spec: description: "The key to select." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the ConfigMap or its key must be defined" @@ -4065,7 +4207,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" @@ -4085,7 +4228,8 @@ spec: description: "The key of the secret to select from. Must be a valid secret key." type: "string" name: - description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?" + default: "" + description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896." type: "string" optional: description: "Specify whether the Secret or its key must be defined" diff --git a/crd-catalog/rook/rook/ceph.rook.io/v1/cephclusters.yaml b/crd-catalog/rook/rook/ceph.rook.io/v1/cephclusters.yaml index 054e13564..54337d815 100644 --- a/crd-catalog/rook/rook/ceph.rook.io/v1/cephclusters.yaml +++ b/crd-catalog/rook/rook/ceph.rook.io/v1/cephclusters.yaml @@ -556,6 +556,18 @@ spec: name: description: "Name is the name of the ceph manager module" type: "string" + settings: + description: "Settings to further configure the module" + properties: + balancerMode: + description: "BalancerMode sets the `balancer` module with different modes like `upmap`, `crush-compact` etc" + enum: + - "" + - "crush-compat" + - "upmap" + - "upmap-read" + type: "string" + type: "object" type: "object" nullable: true type: "array" @@ -1754,6 +1766,12 @@ spec: description: "A spec for available storage in the cluster and how it should be used" nullable: true properties: + backfillFullRatio: + description: "BackfillFullRatio is the ratio at which the cluster is too full for backfill. Backfill will be disabled if above this threshold. Default is 0.90." + maximum: 1.0 + minimum: 0.0 + nullable: true + type: "number" config: additionalProperties: type: "string" @@ -1788,6 +1806,18 @@ spec: flappingRestartIntervalHours: description: "FlappingRestartIntervalHours defines the time for which the OSD pods, that failed with zero exit code, will sleep before restarting.\nThis is needed for OSD flapping where OSD daemons are marked down more than 5 times in 600 seconds by Ceph.\nPreventing the OSD pods to restart immediately in such scenarios will prevent Rook from marking OSD as `up` and thus\npeering of the PGs mapped to the OSD.\nUser needs to manually restart the OSD pod if they manage to fix the underlying OSD flapping issue before the restart interval.\nThe sleep will be disabled if this interval is set to 0." type: "integer" + fullRatio: + description: "FullRatio is the ratio at which the cluster is considered full and ceph will stop accepting writes. Default is 0.95." + maximum: 1.0 + minimum: 0.0 + nullable: true + type: "number" + nearFullRatio: + description: "NearFullRatio is the ratio at which the cluster is considered nearly full and will raise a ceph health warning. Default is 0.85." + maximum: 1.0 + minimum: 0.0 + nullable: true + type: "number" nodes: items: description: "Node is a storage nodes" diff --git a/crd-catalog/tinkerbell/rufio/bmc.tinkerbell.org/v1alpha1/jobs.yaml b/crd-catalog/tinkerbell/rufio/bmc.tinkerbell.org/v1alpha1/jobs.yaml index dcc6f3456..cba124d5d 100644 --- a/crd-catalog/tinkerbell/rufio/bmc.tinkerbell.org/v1alpha1/jobs.yaml +++ b/crd-catalog/tinkerbell/rufio/bmc.tinkerbell.org/v1alpha1/jobs.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.8.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "jobs.bmc.tinkerbell.org" spec: group: "bmc.tinkerbell.org" @@ -23,10 +23,10 @@ spec: description: "Job is the Schema for the bmcjobs API." properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -34,7 +34,7 @@ spec: description: "JobSpec defines the desired state of Job." properties: machineRef: - description: "MachineRef represents the Machine resource to execute the job. All the tasks in the job are executed for the same Machine." + description: "MachineRef represents the Machine resource to execute the job.\nAll the tasks in the job are executed for the same Machine." properties: name: description: "Name of the Machine." @@ -47,16 +47,16 @@ spec: - "namespace" type: "object" tasks: - description: "Tasks represents a list of baseboard management actions to be executed. The tasks are executed sequentially. Controller waits for one task to complete before executing the next. If a single task fails, job execution stops and sets condition Failed. Condition Completed is set only if all the tasks were successful." + description: "Tasks represents a list of baseboard management actions to be executed.\nThe tasks are executed sequentially. Controller waits for one task to complete before executing the next.\nIf a single task fails, job execution stops and sets condition Failed.\nCondition Completed is set only if all the tasks were successful." items: - description: "Action represents the action to be performed. A single task can only perform one type of action. For example either PowerAction or OneTimeBootDeviceAction." + description: "Action represents the action to be performed.\nA single task can only perform one type of action.\nFor example either PowerAction or OneTimeBootDeviceAction." maxProperties: 1 properties: oneTimeBootDeviceAction: description: "OneTimeBootDeviceAction represents a baseboard management one time set boot device operation." properties: device: - description: "Devices represents the boot devices, in order for setting one time boot. Currently only the first device in the slice is used to set one time boot." + description: "Devices represents the boot devices, in order for setting one time boot.\nCurrently only the first device in the slice is used to set one time boot." items: description: "BootDevice represents boot device of the Machine." type: "string" @@ -83,7 +83,7 @@ spec: kind: type: "string" mediaURL: - description: "mediaURL represents the URL of the image to be inserted into the virtual media, or empty to eject media." + description: "mediaURL represents the URL of the image to be inserted into the virtual media, or empty to\neject media." type: "string" required: - "kind" @@ -99,7 +99,7 @@ spec: description: "JobStatus defines the observed state of Job." properties: completionTime: - description: "CompletionTime represents time when the job was completed. The completion time is only set when the job finishes successfully." + description: "CompletionTime represents time when the job was completed.\nThe completion time is only set when the job finishes successfully." format: "date-time" type: "string" conditions: @@ -110,7 +110,7 @@ spec: description: "Message represents human readable message indicating details about last transition." type: "string" status: - description: "Status is the status of the Job condition. Can be True or False." + description: "Status is the status of the Job condition.\nCan be True or False." type: "string" type: description: "Type of the Job condition." @@ -130,9 +130,3 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/crd-catalog/tinkerbell/rufio/bmc.tinkerbell.org/v1alpha1/machines.yaml b/crd-catalog/tinkerbell/rufio/bmc.tinkerbell.org/v1alpha1/machines.yaml index d16218f90..6be38f89b 100644 --- a/crd-catalog/tinkerbell/rufio/bmc.tinkerbell.org/v1alpha1/machines.yaml +++ b/crd-catalog/tinkerbell/rufio/bmc.tinkerbell.org/v1alpha1/machines.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.8.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "machines.bmc.tinkerbell.org" spec: group: "bmc.tinkerbell.org" @@ -21,10 +21,10 @@ spec: description: "Machine is the Schema for the machines API." properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -35,7 +35,7 @@ spec: description: "Connection contains connection data for a Baseboard Management Controller." properties: authSecretRef: - description: "AuthSecretRef is the SecretReference that contains authentication information of the Machine. The Secret must contain username and password keys. This is optional as it is not required when using the RPC provider." + description: "AuthSecretRef is the SecretReference that contains authentication information of the Machine.\nThe Secret must contain username and password keys. This is optional as it is not required when using\nthe RPC provider." properties: name: description: "name is unique within a namespace to reference a secret resource." @@ -44,6 +44,7 @@ spec: description: "namespace defines the space within which the secret name must be unique." type: "string" type: "object" + x-kubernetes-map-type: "atomic" host: description: "Host is the host IP address or hostname of the Machine." minLength: 1 @@ -61,6 +62,13 @@ spec: intelAMT: description: "IntelAMT contains the options to customize the IntelAMT provider." properties: + hostScheme: + default: "http" + description: "HostScheme determines whether to use http or https for intelAMT calls." + enum: + - "http" + - "https" + type: "string" port: description: "Port that intelAMT will use for calls." type: "integer" @@ -90,7 +98,7 @@ spec: description: "RPC contains the options to customize the RPC provider." properties: consumerURL: - description: "ConsumerURL is the URL where an rpc consumer/listener is running and to which we will send and receive all notifications." + description: "ConsumerURL is the URL where an rpc consumer/listener is running\nand to which we will send and receive all notifications." type: "string" experimental: description: "Experimental options." @@ -111,7 +119,7 @@ spec: secrets: additionalProperties: items: - description: "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + description: "SecretReference represents a Secret Reference. It has enough information to retrieve secret\nin any namespace" properties: name: description: "name is unique within a namespace to reference a secret resource." @@ -120,6 +128,7 @@ spec: description: "namespace defines the space within which the secret name must be unique." type: "string" type: "object" + x-kubernetes-map-type: "atomic" type: "array" description: "Secrets are a map of algorithms to secrets used for signing." type: "object" @@ -154,13 +163,13 @@ spec: description: "Signature is the options used for adding an HMAC signature to an HTTP request." properties: appendAlgoToHeaderDisabled: - description: "AppendAlgoToHeaderDisabled decides whether to append the algorithm to the signature header or not. Example: X-BMCLIB-Signature becomes X-BMCLIB-Signature-256 When set to true, a header will be added for each algorithm. Example: X-BMCLIB-Signature-256 and X-BMCLIB-Signature-512" + description: "AppendAlgoToHeaderDisabled decides whether to append the algorithm to the signature header or not.\nExample: X-BMCLIB-Signature becomes X-BMCLIB-Signature-256\nWhen set to true, a header will be added for each algorithm. Example: X-BMCLIB-Signature-256 and X-BMCLIB-Signature-512" type: "boolean" headerName: description: "HeaderName is the header name that should contain the signature(s). Example: X-BMCLIB-Signature" type: "string" includedPayloadHeaders: - description: "IncludedPayloadHeaders are headers whose values will be included in the signature payload. Example: X-BMCLIB-My-Custom-Header All headers will be deduplicated." + description: "IncludedPayloadHeaders are headers whose values will be included in the signature payload. Example: X-BMCLIB-My-Custom-Header\nAll headers will be deduplicated." items: type: "string" type: "array" @@ -215,9 +224,3 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/crd-catalog/tinkerbell/rufio/bmc.tinkerbell.org/v1alpha1/tasks.yaml b/crd-catalog/tinkerbell/rufio/bmc.tinkerbell.org/v1alpha1/tasks.yaml index b13de610f..ab705b774 100644 --- a/crd-catalog/tinkerbell/rufio/bmc.tinkerbell.org/v1alpha1/tasks.yaml +++ b/crd-catalog/tinkerbell/rufio/bmc.tinkerbell.org/v1alpha1/tasks.yaml @@ -2,7 +2,7 @@ apiVersion: "apiextensions.k8s.io/v1" kind: "CustomResourceDefinition" metadata: annotations: - controller-gen.kubebuilder.io/version: "v0.8.0" + controller-gen.kubebuilder.io/version: "v0.15.0" name: "tasks.bmc.tinkerbell.org" spec: group: "bmc.tinkerbell.org" @@ -23,10 +23,10 @@ spec: description: "Task is the Schema for the Task API." properties: apiVersion: - 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" + description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: "string" kind: - 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" + description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" type: "string" metadata: type: "object" @@ -37,7 +37,7 @@ spec: description: "Connection represents the Machine connectivity information." properties: authSecretRef: - description: "AuthSecretRef is the SecretReference that contains authentication information of the Machine. The Secret must contain username and password keys. This is optional as it is not required when using the RPC provider." + description: "AuthSecretRef is the SecretReference that contains authentication information of the Machine.\nThe Secret must contain username and password keys. This is optional as it is not required when using\nthe RPC provider." properties: name: description: "name is unique within a namespace to reference a secret resource." @@ -46,6 +46,7 @@ spec: description: "namespace defines the space within which the secret name must be unique." type: "string" type: "object" + x-kubernetes-map-type: "atomic" host: description: "Host is the host IP address or hostname of the Machine." minLength: 1 @@ -63,6 +64,13 @@ spec: intelAMT: description: "IntelAMT contains the options to customize the IntelAMT provider." properties: + hostScheme: + default: "http" + description: "HostScheme determines whether to use http or https for intelAMT calls." + enum: + - "http" + - "https" + type: "string" port: description: "Port that intelAMT will use for calls." type: "integer" @@ -92,7 +100,7 @@ spec: description: "RPC contains the options to customize the RPC provider." properties: consumerURL: - description: "ConsumerURL is the URL where an rpc consumer/listener is running and to which we will send and receive all notifications." + description: "ConsumerURL is the URL where an rpc consumer/listener is running\nand to which we will send and receive all notifications." type: "string" experimental: description: "Experimental options." @@ -113,7 +121,7 @@ spec: secrets: additionalProperties: items: - description: "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + description: "SecretReference represents a Secret Reference. It has enough information to retrieve secret\nin any namespace" properties: name: description: "name is unique within a namespace to reference a secret resource." @@ -122,6 +130,7 @@ spec: description: "namespace defines the space within which the secret name must be unique." type: "string" type: "object" + x-kubernetes-map-type: "atomic" type: "array" description: "Secrets are a map of algorithms to secrets used for signing." type: "object" @@ -156,13 +165,13 @@ spec: description: "Signature is the options used for adding an HMAC signature to an HTTP request." properties: appendAlgoToHeaderDisabled: - description: "AppendAlgoToHeaderDisabled decides whether to append the algorithm to the signature header or not. Example: X-BMCLIB-Signature becomes X-BMCLIB-Signature-256 When set to true, a header will be added for each algorithm. Example: X-BMCLIB-Signature-256 and X-BMCLIB-Signature-512" + description: "AppendAlgoToHeaderDisabled decides whether to append the algorithm to the signature header or not.\nExample: X-BMCLIB-Signature becomes X-BMCLIB-Signature-256\nWhen set to true, a header will be added for each algorithm. Example: X-BMCLIB-Signature-256 and X-BMCLIB-Signature-512" type: "boolean" headerName: description: "HeaderName is the header name that should contain the signature(s). Example: X-BMCLIB-Signature" type: "string" includedPayloadHeaders: - description: "IncludedPayloadHeaders are headers whose values will be included in the signature payload. Example: X-BMCLIB-My-Custom-Header All headers will be deduplicated." + description: "IncludedPayloadHeaders are headers whose values will be included in the signature payload. Example: X-BMCLIB-My-Custom-Header\nAll headers will be deduplicated." items: type: "string" type: "array" @@ -183,7 +192,7 @@ spec: description: "OneTimeBootDeviceAction represents a baseboard management one time set boot device operation." properties: device: - description: "Devices represents the boot devices, in order for setting one time boot. Currently only the first device in the slice is used to set one time boot." + description: "Devices represents the boot devices, in order for setting one time boot.\nCurrently only the first device in the slice is used to set one time boot." items: description: "BootDevice represents boot device of the Machine." type: "string" @@ -210,7 +219,7 @@ spec: kind: type: "string" mediaURL: - description: "mediaURL represents the URL of the image to be inserted into the virtual media, or empty to eject media." + description: "mediaURL represents the URL of the image to be inserted into the virtual media, or empty to\neject media." type: "string" required: - "kind" @@ -223,7 +232,7 @@ spec: description: "TaskStatus defines the observed state of Task." properties: completionTime: - description: "CompletionTime represents time when the task was completed. The completion time is only set when the task finishes successfully." + description: "CompletionTime represents time when the task was completed.\nThe completion time is only set when the task finishes successfully." format: "date-time" type: "string" conditions: @@ -234,7 +243,7 @@ spec: description: "Message represents human readable message indicating details about last transition." type: "string" status: - description: "Status is the status of the Task condition. Can be True or False." + description: "Status is the status of the Task condition.\nCan be True or False." type: "string" type: description: "Type of the Task condition." @@ -254,9 +263,3 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/crd-catalog/traefik/traefik/traefik.io/v1alpha1/ingressroutes.yaml b/crd-catalog/traefik/traefik/traefik.io/v1alpha1/ingressroutes.yaml index 8d1b1c398..daa8669d6 100644 --- a/crd-catalog/traefik/traefik/traefik.io/v1alpha1/ingressroutes.yaml +++ b/crd-catalog/traefik/traefik/traefik.io/v1alpha1/ingressroutes.yaml @@ -70,6 +70,40 @@ spec: items: description: "Service defines an upstream HTTP service to proxy traffic to." properties: + healthCheck: + description: "Healthcheck defines health checks for the service." + properties: + followRedirects: + type: "boolean" + headers: + additionalProperties: + type: "string" + type: "object" + hostname: + type: "string" + interval: + description: "Duration is a custom type suitable for parsing duration values.\nIt supports `time.ParseDuration`-compatible values and suffix-less digits; in\nthe latter case, seconds are assumed." + format: "int64" + type: "integer" + method: + type: "string" + mode: + type: "string" + path: + type: "string" + port: + type: "integer" + scheme: + type: "string" + status: + type: "integer" + timeout: + description: "Duration is a custom type suitable for parsing duration values.\nIt supports `time.ParseDuration`-compatible values and suffix-less digits; in\nthe latter case, seconds are assumed." + format: "int64" + type: "integer" + required: + - "followRedirects" + type: "object" kind: description: "Kind defines the kind of the Service." enum: diff --git a/crd-catalog/traefik/traefik/traefik.io/v1alpha1/middlewares.yaml b/crd-catalog/traefik/traefik/traefik.io/v1alpha1/middlewares.yaml index ebd5345b7..e3476c1f0 100644 --- a/crd-catalog/traefik/traefik/traefik.io/v1alpha1/middlewares.yaml +++ b/crd-catalog/traefik/traefik/traefik.io/v1alpha1/middlewares.yaml @@ -171,6 +171,40 @@ spec: service: description: "Service defines the reference to a Kubernetes Service that will serve the error page.\nMore info: https://doc.traefik.io/traefik/v3.0/middlewares/http/errorpages/#service" properties: + healthCheck: + description: "Healthcheck defines health checks for the service." + properties: + followRedirects: + type: "boolean" + headers: + additionalProperties: + type: "string" + type: "object" + hostname: + type: "string" + interval: + description: "Duration is a custom type suitable for parsing duration values.\nIt supports `time.ParseDuration`-compatible values and suffix-less digits; in\nthe latter case, seconds are assumed." + format: "int64" + type: "integer" + method: + type: "string" + mode: + type: "string" + path: + type: "string" + port: + type: "integer" + scheme: + type: "string" + status: + type: "integer" + timeout: + description: "Duration is a custom type suitable for parsing duration values.\nIt supports `time.ParseDuration`-compatible values and suffix-less digits; in\nthe latter case, seconds are assumed." + format: "int64" + type: "integer" + required: + - "followRedirects" + type: "object" kind: description: "Kind defines the kind of the Service." enum: diff --git a/crd-catalog/traefik/traefik/traefik.io/v1alpha1/traefikservices.yaml b/crd-catalog/traefik/traefik/traefik.io/v1alpha1/traefikservices.yaml index f31653870..33e3bbf3a 100644 --- a/crd-catalog/traefik/traefik/traefik.io/v1alpha1/traefikservices.yaml +++ b/crd-catalog/traefik/traefik/traefik.io/v1alpha1/traefikservices.yaml @@ -32,6 +32,40 @@ spec: mirroring: description: "Mirroring defines the Mirroring service configuration." properties: + healthCheck: + description: "Healthcheck defines health checks for the service." + properties: + followRedirects: + type: "boolean" + headers: + additionalProperties: + type: "string" + type: "object" + hostname: + type: "string" + interval: + description: "Duration is a custom type suitable for parsing duration values.\nIt supports `time.ParseDuration`-compatible values and suffix-less digits; in\nthe latter case, seconds are assumed." + format: "int64" + type: "integer" + method: + type: "string" + mode: + type: "string" + path: + type: "string" + port: + type: "integer" + scheme: + type: "string" + status: + type: "integer" + timeout: + description: "Duration is a custom type suitable for parsing duration values.\nIt supports `time.ParseDuration`-compatible values and suffix-less digits; in\nthe latter case, seconds are assumed." + format: "int64" + type: "integer" + required: + - "followRedirects" + type: "object" kind: description: "Kind defines the kind of the Service." enum: @@ -47,6 +81,40 @@ spec: items: description: "MirrorService holds the mirror configuration." properties: + healthCheck: + description: "Healthcheck defines health checks for the service." + properties: + followRedirects: + type: "boolean" + headers: + additionalProperties: + type: "string" + type: "object" + hostname: + type: "string" + interval: + description: "Duration is a custom type suitable for parsing duration values.\nIt supports `time.ParseDuration`-compatible values and suffix-less digits; in\nthe latter case, seconds are assumed." + format: "int64" + type: "integer" + method: + type: "string" + mode: + type: "string" + path: + type: "string" + port: + type: "integer" + scheme: + type: "string" + status: + type: "integer" + timeout: + description: "Duration is a custom type suitable for parsing duration values.\nIt supports `time.ParseDuration`-compatible values and suffix-less digits; in\nthe latter case, seconds are assumed." + format: "int64" + type: "integer" + required: + - "followRedirects" + type: "object" kind: description: "Kind defines the kind of the Service." enum: @@ -197,6 +265,40 @@ spec: items: description: "Service defines an upstream HTTP service to proxy traffic to." properties: + healthCheck: + description: "Healthcheck defines health checks for the service." + properties: + followRedirects: + type: "boolean" + headers: + additionalProperties: + type: "string" + type: "object" + hostname: + type: "string" + interval: + description: "Duration is a custom type suitable for parsing duration values.\nIt supports `time.ParseDuration`-compatible values and suffix-less digits; in\nthe latter case, seconds are assumed." + format: "int64" + type: "integer" + method: + type: "string" + mode: + type: "string" + path: + type: "string" + port: + type: "integer" + scheme: + type: "string" + status: + type: "integer" + timeout: + description: "Duration is a custom type suitable for parsing duration values.\nIt supports `time.ParseDuration`-compatible values and suffix-less digits; in\nthe latter case, seconds are assumed." + format: "int64" + type: "integer" + required: + - "followRedirects" + type: "object" kind: description: "Kind defines the kind of the Service." enum: diff --git a/crd-catalog/wildfly/wildfly-operator/wildfly.org/v1alpha1/wildflyservers.yaml b/crd-catalog/wildfly/wildfly-operator/wildfly.org/v1alpha1/wildflyservers.yaml index 227df7997..8cd7b6e86 100644 --- a/crd-catalog/wildfly/wildfly-operator/wildfly.org/v1alpha1/wildflyservers.yaml +++ b/crd-catalog/wildfly/wildfly-operator/wildfly.org/v1alpha1/wildflyservers.yaml @@ -51,6 +51,9 @@ spec: minItems: 1 type: "array" x-kubernetes-list-type: "set" + deactivateTransactionRecovery: + description: "DeactivateTransactionRecovery disables the process of recovering transactions (false if omitted)" + type: "boolean" disableHTTPRoute: description: "DisableHTTPRoute disables the creation a route to the HTTP port of the application service (false if omitted)" type: "boolean" @@ -754,12 +757,17 @@ spec: type: "string" podIP: type: "string" + recoveryCounter: + description: "Counts the recovery attempts when there are in-doubt/heuristic transactions" + format: "int32" + type: "integer" state: description: "Represent the state of the Pod, it is used especially during scale down." enum: - "ACTIVE" - "SCALING_DOWN_RECOVERY_INVESTIGATION" - - "SCALING_DOWN_RECOVERY_DIRTY" + - "SCALING_DOWN_RECOVERY_PROCESSING" + - "SCALING_DOWN_RECOVERY_HEURISTICS" - "SCALING_DOWN_CLEAN" type: "string" required: diff --git a/crd-catalog/zalando/postgres-operator/acid.zalan.do/v1/operatorconfigurations.yaml b/crd-catalog/zalando/postgres-operator/acid.zalan.do/v1/operatorconfigurations.yaml index cfe3a6508..29c7f0e96 100644 --- a/crd-catalog/zalando/postgres-operator/acid.zalan.do/v1/operatorconfigurations.yaml +++ b/crd-catalog/zalando/postgres-operator/acid.zalan.do/v1/operatorconfigurations.yaml @@ -426,7 +426,7 @@ spec: logical_backup_cronjob_environment_secret: type: "string" logical_backup_docker_image: - default: "registry.opensource.zalan.do/acid/logical-backup:v1.11.0" + default: "ghcr.io/zalando/postgres-operator/logical-backup:v1.11.0" type: "string" logical_backup_google_application_credentials: type: "string" diff --git a/crd-catalog/zalando/postgres-operator/acid.zalan.do/v1/postgresqls.yaml b/crd-catalog/zalando/postgres-operator/acid.zalan.do/v1/postgresqls.yaml index dff848d14..f67aa9370 100644 --- a/crd-catalog/zalando/postgres-operator/acid.zalan.do/v1/postgresqls.yaml +++ b/crd-catalog/zalando/postgres-operator/acid.zalan.do/v1/postgresqls.yaml @@ -66,6 +66,8 @@ spec: additionalVolumes: items: properties: + isSubPathExpr: + type: "boolean" mountPath: type: "string" name: @@ -595,6 +597,8 @@ spec: properties: iops: type: "integer" + isSubPathExpr: + type: "boolean" selector: properties: matchExpressions: diff --git a/kube-custom-resources-rs/src/about_k8s_io/v1alpha1/clusterproperties.rs b/kube-custom-resources-rs/src/about_k8s_io/v1alpha1/clusterproperties.rs index 883dfdddc..04e1cca81 100644 --- a/kube-custom-resources-rs/src/about_k8s_io/v1alpha1/clusterproperties.rs +++ b/kube-custom-resources-rs/src/about_k8s_io/v1alpha1/clusterproperties.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/about-api/about.k8s.io/v1alpha1/clusterproperties.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/acid_zalan_do/v1/postgresteams.rs b/kube-custom-resources-rs/src/acid_zalan_do/v1/postgresteams.rs index a05b6ba97..d07aadab7 100644 --- a/kube-custom-resources-rs/src/acid_zalan_do/v1/postgresteams.rs +++ b/kube-custom-resources-rs/src/acid_zalan_do/v1/postgresteams.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/zalando/postgres-operator/acid.zalan.do/v1/postgresteams.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/acme_cert_manager_io/v1/challenges.rs b/kube-custom-resources-rs/src/acme_cert_manager_io/v1/challenges.rs index db336a312..76c942594 100644 --- a/kube-custom-resources-rs/src/acme_cert_manager_io/v1/challenges.rs +++ b/kube-custom-resources-rs/src/acme_cert_manager_io/v1/challenges.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cert-manager/cert-manager/acme.cert-manager.io/v1/challenges.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -626,7 +626,7 @@ pub struct ChallengeSolverHttp01GatewayHttpRoute { /// /// /// * Gateway (Gateway conformance profile) -/// * Service (Mesh conformance profile, experimental, ClusterIP Services only) +/// * Service (Mesh conformance profile, ClusterIP Services only) /// /// /// This API may be extended in the future to support additional kinds of parent @@ -653,7 +653,7 @@ pub struct ChallengeSolverHttp01GatewayHttpRouteParentRefs { /// /// /// * Gateway (Gateway conformance profile) - /// * Service (Mesh conformance profile, experimental, ClusterIP Services only) + /// * Service (Mesh conformance profile, ClusterIP Services only) /// /// /// Support for other resources is Implementation-Specific. @@ -727,23 +727,18 @@ pub struct ChallengeSolverHttp01GatewayHttpRouteParentRefs { /// /// /// Support: Extended - /// - /// - /// #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, /// SectionName is the name of a section within the target resource. In the /// following resources, SectionName is interpreted as the following: /// /// - /// * Gateway: Listener Name. When both Port (experimental) and SectionName + /// * Gateway: Listener name. When both Port (experimental) and SectionName /// are specified, the name and port of the selected listener must match /// both specified values. - /// * Service: Port Name. When both Port (experimental) and SectionName + /// * Service: Port name. When both Port (experimental) and SectionName /// are specified, the name and port of the selected listener must match - /// both specified values. Note that attaching Routes to Services as Parents - /// is part of experimental Mesh support and is not supported for any other - /// purpose. + /// both specified values. /// /// /// Implementations MAY choose to support attaching Routes to other resources. @@ -1596,8 +1591,12 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinityReq #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecImagePullSecrets { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } diff --git a/kube-custom-resources-rs/src/acme_cert_manager_io/v1/orders.rs b/kube-custom-resources-rs/src/acme_cert_manager_io/v1/orders.rs index b80e074e9..8590540ca 100644 --- a/kube-custom-resources-rs/src/acme_cert_manager_io/v1/orders.rs +++ b/kube-custom-resources-rs/src/acme_cert_manager_io/v1/orders.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cert-manager/cert-manager/acme.cert-manager.io/v1/orders.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/acmpca_services_k8s_aws/v1alpha1/certificateauthorities.rs b/kube-custom-resources-rs/src/acmpca_services_k8s_aws/v1alpha1/certificateauthorities.rs index be144368f..72ef93720 100644 --- a/kube-custom-resources-rs/src/acmpca_services_k8s_aws/v1alpha1/certificateauthorities.rs +++ b/kube-custom-resources-rs/src/acmpca_services_k8s_aws/v1alpha1/certificateauthorities.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/acmpca-controller/acmpca.services.k8s.aws/v1alpha1/certificateauthorities.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/acmpca_services_k8s_aws/v1alpha1/certificateauthorityactivations.rs b/kube-custom-resources-rs/src/acmpca_services_k8s_aws/v1alpha1/certificateauthorityactivations.rs index e0ebd21c2..8de84c755 100644 --- a/kube-custom-resources-rs/src/acmpca_services_k8s_aws/v1alpha1/certificateauthorityactivations.rs +++ b/kube-custom-resources-rs/src/acmpca_services_k8s_aws/v1alpha1/certificateauthorityactivations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/acmpca-controller/acmpca.services.k8s.aws/v1alpha1/certificateauthorityactivations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/acmpca_services_k8s_aws/v1alpha1/certificates.rs b/kube-custom-resources-rs/src/acmpca_services_k8s_aws/v1alpha1/certificates.rs index 73f316045..2547e74dc 100644 --- a/kube-custom-resources-rs/src/acmpca_services_k8s_aws/v1alpha1/certificates.rs +++ b/kube-custom-resources-rs/src/acmpca_services_k8s_aws/v1alpha1/certificates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/acmpca-controller/acmpca.services.k8s.aws/v1alpha1/certificates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/actions_github_com/v1alpha1/autoscalinglisteners.rs b/kube-custom-resources-rs/src/actions_github_com/v1alpha1/autoscalinglisteners.rs index 2416f7dd7..b78f31089 100644 --- a/kube-custom-resources-rs/src/actions_github_com/v1alpha1/autoscalinglisteners.rs +++ b/kube-custom-resources-rs/src/actions_github_com/v1alpha1/autoscalinglisteners.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/actions/actions-runner-controller/actions.github.com/v1alpha1/autoscalinglisteners.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/actions_github_com/v1alpha1/autoscalingrunnersets.rs b/kube-custom-resources-rs/src/actions_github_com/v1alpha1/autoscalingrunnersets.rs index 334e6a5f8..260e35f3e 100644 --- a/kube-custom-resources-rs/src/actions_github_com/v1alpha1/autoscalingrunnersets.rs +++ b/kube-custom-resources-rs/src/actions_github_com/v1alpha1/autoscalingrunnersets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/actions/actions-runner-controller/actions.github.com/v1alpha1/autoscalingrunnersets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/actions_github_com/v1alpha1/ephemeralrunnersets.rs b/kube-custom-resources-rs/src/actions_github_com/v1alpha1/ephemeralrunnersets.rs index 13f00f2fa..b02ada6bc 100644 --- a/kube-custom-resources-rs/src/actions_github_com/v1alpha1/ephemeralrunnersets.rs +++ b/kube-custom-resources-rs/src/actions_github_com/v1alpha1/ephemeralrunnersets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/actions/actions-runner-controller/actions.github.com/v1alpha1/ephemeralrunnersets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/horizontalrunnerautoscalers.rs b/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/horizontalrunnerautoscalers.rs index 645882dea..0e003e608 100644 --- a/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/horizontalrunnerautoscalers.rs +++ b/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/horizontalrunnerautoscalers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/actions/actions-runner-controller/actions.summerwind.dev/v1alpha1/horizontalrunnerautoscalers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runnerdeployments.rs b/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runnerdeployments.rs index 9bfd05622..b5fd02b90 100644 --- a/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runnerdeployments.rs +++ b/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runnerdeployments.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/actions/actions-runner-controller/actions.summerwind.dev/v1alpha1/runnerdeployments.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runnerreplicasets.rs b/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runnerreplicasets.rs index a19264e95..300be64a5 100644 --- a/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runnerreplicasets.rs +++ b/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runnerreplicasets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/actions/actions-runner-controller/actions.summerwind.dev/v1alpha1/runnerreplicasets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runners.rs b/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runners.rs index 075e0e011..368dec29f 100644 --- a/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runners.rs +++ b/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runners.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/actions/actions-runner-controller/actions.summerwind.dev/v1alpha1/runners.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runnersets.rs b/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runnersets.rs index 4b6641f14..4824b607e 100644 --- a/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runnersets.rs +++ b/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runnersets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/actions/actions-runner-controller/actions.summerwind.dev/v1alpha1/runnersets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha3/clusterresourcesetbindings.rs b/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha3/clusterresourcesetbindings.rs index 8961bf237..975b5bb6e 100644 --- a/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha3/clusterresourcesetbindings.rs +++ b/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha3/clusterresourcesetbindings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha3/clusterresourcesetbindings.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha3/clusterresourcesets.rs b/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha3/clusterresourcesets.rs index b8e7b031e..ccf0fac94 100644 --- a/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha3/clusterresourcesets.rs +++ b/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha3/clusterresourcesets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha3/clusterresourcesets.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha4/clusterresourcesetbindings.rs b/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha4/clusterresourcesetbindings.rs index f4093fdb1..5f741fb75 100644 --- a/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha4/clusterresourcesetbindings.rs +++ b/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha4/clusterresourcesetbindings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha4/clusterresourcesetbindings.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha4/clusterresourcesets.rs b/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha4/clusterresourcesets.rs index ff42eddea..ff85a9aad 100644 --- a/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha4/clusterresourcesets.rs +++ b/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha4/clusterresourcesets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha4/clusterresourcesets.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1beta1/clusterresourcesetbindings.rs b/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1beta1/clusterresourcesetbindings.rs index 10cb9dc51..98c7668e8 100644 --- a/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1beta1/clusterresourcesetbindings.rs +++ b/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1beta1/clusterresourcesetbindings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1beta1/clusterresourcesetbindings.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1beta1/clusterresourcesets.rs b/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1beta1/clusterresourcesets.rs index 9c83f98c6..b54e32a29 100644 --- a/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1beta1/clusterresourcesets.rs +++ b/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1beta1/clusterresourcesets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1beta1/clusterresourcesets.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/agent_k8s_elastic_co/v1alpha1/agents.rs b/kube-custom-resources-rs/src/agent_k8s_elastic_co/v1alpha1/agents.rs index 70a3205f2..09c8574df 100644 --- a/kube-custom-resources-rs/src/agent_k8s_elastic_co/v1alpha1/agents.rs +++ b/kube-custom-resources-rs/src/agent_k8s_elastic_co/v1alpha1/agents.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/agent.k8s.elastic.co/v1alpha1/agents.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -1319,8 +1319,12 @@ pub struct AgentDaemonSetPodTemplateSpecContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1360,8 +1364,12 @@ pub struct AgentDaemonSetPodTemplateSpecContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1387,8 +1395,12 @@ pub struct AgentDaemonSetPodTemplateSpecContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDaemonSetPodTemplateSpecContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -1400,8 +1412,12 @@ pub struct AgentDaemonSetPodTemplateSpecContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDaemonSetPodTemplateSpecContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -2548,8 +2564,12 @@ pub struct AgentDaemonSetPodTemplateSpecEphemeralContainersEnvValueFromConfigMap /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2589,8 +2609,12 @@ pub struct AgentDaemonSetPodTemplateSpecEphemeralContainersEnvValueFromSecretKey /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2616,8 +2640,12 @@ pub struct AgentDaemonSetPodTemplateSpecEphemeralContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDaemonSetPodTemplateSpecEphemeralContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -2629,8 +2657,12 @@ pub struct AgentDaemonSetPodTemplateSpecEphemeralContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDaemonSetPodTemplateSpecEphemeralContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -3542,8 +3574,7 @@ pub struct AgentDaemonSetPodTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, /// IP address of the host file entry. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub ip: Option, + pub ip: String, } /// LocalObjectReference contains enough information to let you locate the @@ -3551,8 +3582,12 @@ pub struct AgentDaemonSetPodTemplateSpecHostAliases { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDaemonSetPodTemplateSpecImagePullSecrets { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -3770,8 +3805,12 @@ pub struct AgentDaemonSetPodTemplateSpecInitContainersEnvValueFromConfigMapKeyRe /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3811,8 +3850,12 @@ pub struct AgentDaemonSetPodTemplateSpecInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3838,8 +3881,12 @@ pub struct AgentDaemonSetPodTemplateSpecInitContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDaemonSetPodTemplateSpecInitContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -3851,8 +3898,12 @@ pub struct AgentDaemonSetPodTemplateSpecInitContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDaemonSetPodTemplateSpecInitContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -5483,8 +5534,12 @@ pub struct AgentDaemonSetPodTemplateSpecVolumesCephfs { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDaemonSetPodTemplateSpecVolumesCephfsSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5519,8 +5574,12 @@ pub struct AgentDaemonSetPodTemplateSpecVolumesCinder { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDaemonSetPodTemplateSpecVolumesCinderSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5547,8 +5606,12 @@ pub struct AgentDaemonSetPodTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -5612,8 +5675,12 @@ pub struct AgentDaemonSetPodTemplateSpecVolumesCsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDaemonSetPodTemplateSpecVolumesCsiNodePublishSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6069,8 +6136,12 @@ pub struct AgentDaemonSetPodTemplateSpecVolumesFlexVolume { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDaemonSetPodTemplateSpecVolumesFlexVolumeSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6226,8 +6297,12 @@ pub struct AgentDaemonSetPodTemplateSpecVolumesIscsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDaemonSetPodTemplateSpecVolumesIscsiSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6435,8 +6510,12 @@ pub struct AgentDaemonSetPodTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -6532,8 +6611,12 @@ pub struct AgentDaemonSetPodTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional field specify whether the Secret or its key must be defined @@ -6662,8 +6745,12 @@ pub struct AgentDaemonSetPodTemplateSpecVolumesRbd { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDaemonSetPodTemplateSpecVolumesRbdSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6713,8 +6800,12 @@ pub struct AgentDaemonSetPodTemplateSpecVolumesScaleIo { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDaemonSetPodTemplateSpecVolumesScaleIoSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6805,8 +6896,12 @@ pub struct AgentDaemonSetPodTemplateSpecVolumesStorageos { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDaemonSetPodTemplateSpecVolumesStorageosSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -8114,8 +8209,12 @@ pub struct AgentDeploymentPodTemplateSpecContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -8155,8 +8254,12 @@ pub struct AgentDeploymentPodTemplateSpecContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -8182,8 +8285,12 @@ pub struct AgentDeploymentPodTemplateSpecContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDeploymentPodTemplateSpecContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -8195,8 +8302,12 @@ pub struct AgentDeploymentPodTemplateSpecContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDeploymentPodTemplateSpecContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -9343,8 +9454,12 @@ pub struct AgentDeploymentPodTemplateSpecEphemeralContainersEnvValueFromConfigMa /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -9384,8 +9499,12 @@ pub struct AgentDeploymentPodTemplateSpecEphemeralContainersEnvValueFromSecretKe /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -9411,8 +9530,12 @@ pub struct AgentDeploymentPodTemplateSpecEphemeralContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDeploymentPodTemplateSpecEphemeralContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -9424,8 +9547,12 @@ pub struct AgentDeploymentPodTemplateSpecEphemeralContainersEnvFromConfigMapRef #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDeploymentPodTemplateSpecEphemeralContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -10337,8 +10464,7 @@ pub struct AgentDeploymentPodTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, /// IP address of the host file entry. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub ip: Option, + pub ip: String, } /// LocalObjectReference contains enough information to let you locate the @@ -10346,8 +10472,12 @@ pub struct AgentDeploymentPodTemplateSpecHostAliases { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDeploymentPodTemplateSpecImagePullSecrets { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -10565,8 +10695,12 @@ pub struct AgentDeploymentPodTemplateSpecInitContainersEnvValueFromConfigMapKeyR /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -10606,8 +10740,12 @@ pub struct AgentDeploymentPodTemplateSpecInitContainersEnvValueFromSecretKeyRef /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -10633,8 +10771,12 @@ pub struct AgentDeploymentPodTemplateSpecInitContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDeploymentPodTemplateSpecInitContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -10646,8 +10788,12 @@ pub struct AgentDeploymentPodTemplateSpecInitContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDeploymentPodTemplateSpecInitContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -12278,8 +12424,12 @@ pub struct AgentDeploymentPodTemplateSpecVolumesCephfs { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDeploymentPodTemplateSpecVolumesCephfsSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -12314,8 +12464,12 @@ pub struct AgentDeploymentPodTemplateSpecVolumesCinder { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDeploymentPodTemplateSpecVolumesCinderSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -12342,8 +12496,12 @@ pub struct AgentDeploymentPodTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -12407,8 +12565,12 @@ pub struct AgentDeploymentPodTemplateSpecVolumesCsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDeploymentPodTemplateSpecVolumesCsiNodePublishSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -12864,8 +13026,12 @@ pub struct AgentDeploymentPodTemplateSpecVolumesFlexVolume { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDeploymentPodTemplateSpecVolumesFlexVolumeSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -13021,8 +13187,12 @@ pub struct AgentDeploymentPodTemplateSpecVolumesIscsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDeploymentPodTemplateSpecVolumesIscsiSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -13230,8 +13400,12 @@ pub struct AgentDeploymentPodTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -13327,8 +13501,12 @@ pub struct AgentDeploymentPodTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional field specify whether the Secret or its key must be defined @@ -13457,8 +13635,12 @@ pub struct AgentDeploymentPodTemplateSpecVolumesRbd { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDeploymentPodTemplateSpecVolumesRbdSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -13508,8 +13690,12 @@ pub struct AgentDeploymentPodTemplateSpecVolumesScaleIo { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDeploymentPodTemplateSpecVolumesScaleIoSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -13600,8 +13786,12 @@ pub struct AgentDeploymentPodTemplateSpecVolumesStorageos { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentDeploymentPodTemplateSpecVolumesStorageosSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -13964,6 +14154,7 @@ pub struct AgentHttpServiceSpec { /// not set, the implementation will apply its default routing strategy. If set /// to "PreferClose", implementations should prioritize endpoints that are /// topologically close (e.g., same zone). + /// This is an alpha field and requires enabling ServiceTrafficDistribution feature. #[serde(default, skip_serializing_if = "Option::is_none", rename = "trafficDistribution")] pub traffic_distribution: Option, /// type determines how the Service is exposed. Defaults to ClusterIP. Valid @@ -15422,8 +15613,12 @@ pub struct AgentStatefulSetPodTemplateSpecContainersEnvValueFromConfigMapKeyRef /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -15463,8 +15658,12 @@ pub struct AgentStatefulSetPodTemplateSpecContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -15490,8 +15689,12 @@ pub struct AgentStatefulSetPodTemplateSpecContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentStatefulSetPodTemplateSpecContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -15503,8 +15706,12 @@ pub struct AgentStatefulSetPodTemplateSpecContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentStatefulSetPodTemplateSpecContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -16651,8 +16858,12 @@ pub struct AgentStatefulSetPodTemplateSpecEphemeralContainersEnvValueFromConfigM /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -16692,8 +16903,12 @@ pub struct AgentStatefulSetPodTemplateSpecEphemeralContainersEnvValueFromSecretK /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -16719,8 +16934,12 @@ pub struct AgentStatefulSetPodTemplateSpecEphemeralContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentStatefulSetPodTemplateSpecEphemeralContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -16732,8 +16951,12 @@ pub struct AgentStatefulSetPodTemplateSpecEphemeralContainersEnvFromConfigMapRef #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentStatefulSetPodTemplateSpecEphemeralContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -17645,8 +17868,7 @@ pub struct AgentStatefulSetPodTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, /// IP address of the host file entry. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub ip: Option, + pub ip: String, } /// LocalObjectReference contains enough information to let you locate the @@ -17654,8 +17876,12 @@ pub struct AgentStatefulSetPodTemplateSpecHostAliases { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentStatefulSetPodTemplateSpecImagePullSecrets { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -17873,8 +18099,12 @@ pub struct AgentStatefulSetPodTemplateSpecInitContainersEnvValueFromConfigMapKey /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -17914,8 +18144,12 @@ pub struct AgentStatefulSetPodTemplateSpecInitContainersEnvValueFromSecretKeyRef /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -17941,8 +18175,12 @@ pub struct AgentStatefulSetPodTemplateSpecInitContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentStatefulSetPodTemplateSpecInitContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -17954,8 +18192,12 @@ pub struct AgentStatefulSetPodTemplateSpecInitContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentStatefulSetPodTemplateSpecInitContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -19586,8 +19828,12 @@ pub struct AgentStatefulSetPodTemplateSpecVolumesCephfs { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentStatefulSetPodTemplateSpecVolumesCephfsSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -19622,8 +19868,12 @@ pub struct AgentStatefulSetPodTemplateSpecVolumesCinder { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentStatefulSetPodTemplateSpecVolumesCinderSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -19650,8 +19900,12 @@ pub struct AgentStatefulSetPodTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -19715,8 +19969,12 @@ pub struct AgentStatefulSetPodTemplateSpecVolumesCsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentStatefulSetPodTemplateSpecVolumesCsiNodePublishSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -20172,8 +20430,12 @@ pub struct AgentStatefulSetPodTemplateSpecVolumesFlexVolume { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentStatefulSetPodTemplateSpecVolumesFlexVolumeSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -20329,8 +20591,12 @@ pub struct AgentStatefulSetPodTemplateSpecVolumesIscsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentStatefulSetPodTemplateSpecVolumesIscsiSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -20538,8 +20804,12 @@ pub struct AgentStatefulSetPodTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -20635,8 +20905,12 @@ pub struct AgentStatefulSetPodTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional field specify whether the Secret or its key must be defined @@ -20765,8 +21039,12 @@ pub struct AgentStatefulSetPodTemplateSpecVolumesRbd { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentStatefulSetPodTemplateSpecVolumesRbdSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -20816,8 +21094,12 @@ pub struct AgentStatefulSetPodTemplateSpecVolumesScaleIo { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentStatefulSetPodTemplateSpecVolumesScaleIoSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -20908,8 +21190,12 @@ pub struct AgentStatefulSetPodTemplateSpecVolumesStorageos { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AgentStatefulSetPodTemplateSpecVolumesStorageosSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/awsdatacenterconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/awsdatacenterconfigs.rs index 33d09e3fa..01f11078d 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/awsdatacenterconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/awsdatacenterconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/awsdatacenterconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/awsiamconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/awsiamconfigs.rs index 1215bc079..6932ab0c8 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/awsiamconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/awsiamconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/awsiamconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/bundles.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/bundles.rs index cfc4b162f..2c970b7ad 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/bundles.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/bundles.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/bundles.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/cloudstackdatacenterconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/cloudstackdatacenterconfigs.rs index a6f821ac6..e1ae73410 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/cloudstackdatacenterconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/cloudstackdatacenterconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/cloudstackdatacenterconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/cloudstackmachineconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/cloudstackmachineconfigs.rs index 9b491e118..6903f7bba 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/cloudstackmachineconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/cloudstackmachineconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/cloudstackmachineconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/clusters.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/clusters.rs index be4bf794f..ed3d917c5 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/clusters.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/clusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/clusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -182,6 +182,9 @@ pub struct ClusterControlPlaneConfiguration { /// Endpoint defines the host ip and port to use for the control plane. #[serde(default, skip_serializing_if = "Option::is_none")] pub endpoint: Option, + /// KubeletConfiguration is a struct that exposes the Kubelet settings for the user to set on control plane nodes. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "kubeletConfiguration")] + pub kubelet_configuration: Option>, /// Labels define the labels to assign to the node #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option>, @@ -502,7 +505,10 @@ pub struct ClusterWorkerNodeGroupConfigurations { /// Count defines the number of desired worker nodes. Defaults to 1. #[serde(default, skip_serializing_if = "Option::is_none")] pub count: Option, - /// KuberenetesVersion defines the version for worker nodes. If not set, the top level spec kubernetesVersion will be used. + /// KubeletConfiguration is a struct that exposes the Kubelet settings for the user to set on worker nodes. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "kubeletConfiguration")] + pub kubelet_configuration: Option>, + /// KubernetesVersion defines the version for worker nodes. If not set, the top level spec kubernetesVersion will be used. #[serde(default, skip_serializing_if = "Option::is_none", rename = "kubernetesVersion")] pub kubernetes_version: Option, /// Labels define the labels to assign to the node diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/controlplaneupgrades.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/controlplaneupgrades.rs index 8ad64df5f..6a6efb6b3 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/controlplaneupgrades.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/controlplaneupgrades.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/controlplaneupgrades.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/dockerdatacenterconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/dockerdatacenterconfigs.rs index fcc14d9d2..1506849e9 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/dockerdatacenterconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/dockerdatacenterconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/dockerdatacenterconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/eksareleases.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/eksareleases.rs index ef496f677..a4aec23a2 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/eksareleases.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/eksareleases.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/eksareleases.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/fluxconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/fluxconfigs.rs index d091cf23d..ff2d96fab 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/fluxconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/fluxconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/fluxconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/gitopsconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/gitopsconfigs.rs index 664daf937..8bd9aba96 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/gitopsconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/gitopsconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/gitopsconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/machinedeploymentupgrades.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/machinedeploymentupgrades.rs index 01a4389b2..39ef4d9f8 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/machinedeploymentupgrades.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/machinedeploymentupgrades.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/machinedeploymentupgrades.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/nodeupgrades.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/nodeupgrades.rs index 3931dc8ab..3ace10e9b 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/nodeupgrades.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/nodeupgrades.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/nodeupgrades.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/nutanixdatacenterconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/nutanixdatacenterconfigs.rs index ab7a9233c..6803c1338 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/nutanixdatacenterconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/nutanixdatacenterconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/nutanixdatacenterconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/nutanixmachineconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/nutanixmachineconfigs.rs index 29288fea0..669540f67 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/nutanixmachineconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/nutanixmachineconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/nutanixmachineconfigs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/oidcconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/oidcconfigs.rs index 3816b572e..16e313158 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/oidcconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/oidcconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/oidcconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/snowdatacenterconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/snowdatacenterconfigs.rs index 3afb10683..68c189bdc 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/snowdatacenterconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/snowdatacenterconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/snowdatacenterconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/snowippools.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/snowippools.rs index cde5dddf7..8ceec727e 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/snowippools.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/snowippools.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/snowippools.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/snowmachineconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/snowmachineconfigs.rs index b16155121..2c5329367 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/snowmachineconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/snowmachineconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/snowmachineconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/tinkerbelldatacenterconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/tinkerbelldatacenterconfigs.rs index da9fc90bd..94afbae5a 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/tinkerbelldatacenterconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/tinkerbelldatacenterconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/tinkerbelldatacenterconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/tinkerbellmachineconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/tinkerbellmachineconfigs.rs index 1605c9c9f..eab7b5e97 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/tinkerbellmachineconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/tinkerbellmachineconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/tinkerbellmachineconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/tinkerbelltemplateconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/tinkerbelltemplateconfigs.rs index 659015d8b..06a75fec4 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/tinkerbelltemplateconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/tinkerbelltemplateconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/tinkerbelltemplateconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/vspheredatacenterconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/vspheredatacenterconfigs.rs index d6f6e64f3..8f5be1341 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/vspheredatacenterconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/vspheredatacenterconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/vspheredatacenterconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/vspheremachineconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/vspheremachineconfigs.rs index f1033ef1a..c109515e5 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/vspheremachineconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/vspheremachineconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/vspheremachineconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apacheweb_arsenal_dev/v1alpha1/apachewebs.rs b/kube-custom-resources-rs/src/apacheweb_arsenal_dev/v1alpha1/apachewebs.rs index 416fac5b2..3ca6a8df4 100644 --- a/kube-custom-resources-rs/src/apacheweb_arsenal_dev/v1alpha1/apachewebs.rs +++ b/kube-custom-resources-rs/src/apacheweb_arsenal_dev/v1alpha1/apachewebs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/arsenalzp/apch-operator/apacheweb.arsenal.dev/v1alpha1/apachewebs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/api_clever_cloud_com/v1/configproviders.rs b/kube-custom-resources-rs/src/api_clever_cloud_com/v1/configproviders.rs index c1591e522..d8be1929b 100644 --- a/kube-custom-resources-rs/src/api_clever_cloud_com/v1/configproviders.rs +++ b/kube-custom-resources-rs/src/api_clever_cloud_com/v1/configproviders.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/CleverCloud/clever-operator/api.clever-cloud.com/v1/configproviders.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/api_clever_cloud_com/v1/elasticsearches.rs b/kube-custom-resources-rs/src/api_clever_cloud_com/v1/elasticsearches.rs index de26f4527..1cb12911a 100644 --- a/kube-custom-resources-rs/src/api_clever_cloud_com/v1/elasticsearches.rs +++ b/kube-custom-resources-rs/src/api_clever_cloud_com/v1/elasticsearches.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/CleverCloud/clever-operator/api.clever-cloud.com/v1/elasticsearches.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/api_clever_cloud_com/v1/mongodbs.rs b/kube-custom-resources-rs/src/api_clever_cloud_com/v1/mongodbs.rs index 77a5c134c..9a0c8b324 100644 --- a/kube-custom-resources-rs/src/api_clever_cloud_com/v1/mongodbs.rs +++ b/kube-custom-resources-rs/src/api_clever_cloud_com/v1/mongodbs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/CleverCloud/clever-operator/api.clever-cloud.com/v1/mongodbs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/api_clever_cloud_com/v1/mysqls.rs b/kube-custom-resources-rs/src/api_clever_cloud_com/v1/mysqls.rs index 3c58b7dd6..355d9c452 100644 --- a/kube-custom-resources-rs/src/api_clever_cloud_com/v1/mysqls.rs +++ b/kube-custom-resources-rs/src/api_clever_cloud_com/v1/mysqls.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/CleverCloud/clever-operator/api.clever-cloud.com/v1/mysqls.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/api_clever_cloud_com/v1/postgresqls.rs b/kube-custom-resources-rs/src/api_clever_cloud_com/v1/postgresqls.rs index 97205b40d..741d8fdc7 100644 --- a/kube-custom-resources-rs/src/api_clever_cloud_com/v1/postgresqls.rs +++ b/kube-custom-resources-rs/src/api_clever_cloud_com/v1/postgresqls.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/CleverCloud/clever-operator/api.clever-cloud.com/v1/postgresqls.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/api_clever_cloud_com/v1/redis.rs b/kube-custom-resources-rs/src/api_clever_cloud_com/v1/redis.rs index 573f820e4..8c2cb6aa1 100644 --- a/kube-custom-resources-rs/src/api_clever_cloud_com/v1/redis.rs +++ b/kube-custom-resources-rs/src/api_clever_cloud_com/v1/redis.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/CleverCloud/clever-operator/api.clever-cloud.com/v1/redis.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/api_clever_cloud_com/v1beta1/pulsars.rs b/kube-custom-resources-rs/src/api_clever_cloud_com/v1beta1/pulsars.rs index 20f598289..510d526e2 100644 --- a/kube-custom-resources-rs/src/api_clever_cloud_com/v1beta1/pulsars.rs +++ b/kube-custom-resources-rs/src/api_clever_cloud_com/v1beta1/pulsars.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/CleverCloud/clever-operator/api.clever-cloud.com/v1beta1/pulsars.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/api_kubemod_io/v1beta1/modrules.rs b/kube-custom-resources-rs/src/api_kubemod_io/v1beta1/modrules.rs index 7698fac9b..073a6a5b8 100644 --- a/kube-custom-resources-rs/src/api_kubemod_io/v1beta1/modrules.rs +++ b/kube-custom-resources-rs/src/api_kubemod_io/v1beta1/modrules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubemod/kubemod/api.kubemod.io/v1beta1/modrules.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apicodegen_apimatic_io/v1beta1/apimatics.rs b/kube-custom-resources-rs/src/apicodegen_apimatic_io/v1beta1/apimatics.rs index 831408722..a94bc4ef8 100644 --- a/kube-custom-resources-rs/src/apicodegen_apimatic_io/v1beta1/apimatics.rs +++ b/kube-custom-resources-rs/src/apicodegen_apimatic_io/v1beta1/apimatics.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apimatic/apimatic-kubernetes-operator/apicodegen.apimatic.io/v1beta1/apimatics.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apiextensions_crossplane_io/v1/compositeresourcedefinitions.rs b/kube-custom-resources-rs/src/apiextensions_crossplane_io/v1/compositeresourcedefinitions.rs index e30f47a30..749323da0 100644 --- a/kube-custom-resources-rs/src/apiextensions_crossplane_io/v1/compositeresourcedefinitions.rs +++ b/kube-custom-resources-rs/src/apiextensions_crossplane_io/v1/compositeresourcedefinitions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/crossplane/crossplane/apiextensions.crossplane.io/v1/compositeresourcedefinitions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/apis.rs b/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/apis.rs index d5634fedb..bf69eb70d 100644 --- a/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/apis.rs +++ b/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/apis.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/apigatewayv2-controller/apigatewayv2.services.k8s.aws/v1alpha1/apis.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/authorizers.rs b/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/authorizers.rs index 6caf4de35..9247968ef 100644 --- a/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/authorizers.rs +++ b/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/authorizers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/apigatewayv2-controller/apigatewayv2.services.k8s.aws/v1alpha1/authorizers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/deployments.rs b/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/deployments.rs index d3db4d754..af515d430 100644 --- a/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/deployments.rs +++ b/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/deployments.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/apigatewayv2-controller/apigatewayv2.services.k8s.aws/v1alpha1/deployments.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/routes.rs b/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/routes.rs index d5474f4c5..ae050af3d 100644 --- a/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/routes.rs +++ b/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/routes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/apigatewayv2-controller/apigatewayv2.services.k8s.aws/v1alpha1/routes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/stages.rs b/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/stages.rs index 9e0e5a571..b9ab6b509 100644 --- a/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/stages.rs +++ b/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/stages.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/apigatewayv2-controller/apigatewayv2.services.k8s.aws/v1alpha1/stages.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/vpclinks.rs b/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/vpclinks.rs index 75c079bc0..5169f2690 100644 --- a/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/vpclinks.rs +++ b/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/vpclinks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/apigatewayv2-controller/apigatewayv2.services.k8s.aws/v1alpha1/vpclinks.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixclusterconfigs.rs b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixclusterconfigs.rs index aec6ff2b4..393bff453 100644 --- a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixclusterconfigs.rs +++ b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixclusterconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixclusterconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixconsumers.rs b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixconsumers.rs index 1c2b10616..0279247f6 100644 --- a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixconsumers.rs +++ b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixconsumers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixconsumers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixglobalrules.rs b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixglobalrules.rs index 4b0823960..2b18456fc 100644 --- a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixglobalrules.rs +++ b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixglobalrules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixglobalrules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixpluginconfigs.rs b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixpluginconfigs.rs index 0fd776a2f..1feb5c580 100644 --- a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixpluginconfigs.rs +++ b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixpluginconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixpluginconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixroutes.rs b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixroutes.rs index ba5baaaa1..4fa97428b 100644 --- a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixroutes.rs +++ b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixroutes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixroutes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixtlses.rs b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixtlses.rs index 85a2e75c5..1d278d00a 100644 --- a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixtlses.rs +++ b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixtlses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixtlses.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixupstreams.rs b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixupstreams.rs index f10a80ad6..c4f2ff48c 100644 --- a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixupstreams.rs +++ b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixupstreams.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixupstreams.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apm_k8s_elastic_co/v1/apmservers.rs b/kube-custom-resources-rs/src/apm_k8s_elastic_co/v1/apmservers.rs index 410dd3875..44c6feb04 100644 --- a/kube-custom-resources-rs/src/apm_k8s_elastic_co/v1/apmservers.rs +++ b/kube-custom-resources-rs/src/apm_k8s_elastic_co/v1/apmservers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/apm.k8s.elastic.co/v1/apmservers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -318,6 +318,7 @@ pub struct ApmServerHttpServiceSpec { /// not set, the implementation will apply its default routing strategy. If set /// to "PreferClose", implementations should prioritize endpoints that are /// topologically close (e.g., same zone). + /// This is an alpha field and requires enabling ServiceTrafficDistribution feature. #[serde(default, skip_serializing_if = "Option::is_none", rename = "trafficDistribution")] pub traffic_distribution: Option, /// type determines how the Service is exposed. Defaults to ClusterIP. Valid @@ -1707,8 +1708,12 @@ pub struct ApmServerPodTemplateSpecContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1748,8 +1753,12 @@ pub struct ApmServerPodTemplateSpecContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1775,8 +1784,12 @@ pub struct ApmServerPodTemplateSpecContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -1788,8 +1801,12 @@ pub struct ApmServerPodTemplateSpecContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -2936,8 +2953,12 @@ pub struct ApmServerPodTemplateSpecEphemeralContainersEnvValueFromConfigMapKeyRe /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2977,8 +2998,12 @@ pub struct ApmServerPodTemplateSpecEphemeralContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3004,8 +3029,12 @@ pub struct ApmServerPodTemplateSpecEphemeralContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecEphemeralContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -3017,8 +3046,12 @@ pub struct ApmServerPodTemplateSpecEphemeralContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecEphemeralContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -3930,8 +3963,7 @@ pub struct ApmServerPodTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, /// IP address of the host file entry. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub ip: Option, + pub ip: String, } /// LocalObjectReference contains enough information to let you locate the @@ -3939,8 +3971,12 @@ pub struct ApmServerPodTemplateSpecHostAliases { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecImagePullSecrets { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -4158,8 +4194,12 @@ pub struct ApmServerPodTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4199,8 +4239,12 @@ pub struct ApmServerPodTemplateSpecInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4226,8 +4270,12 @@ pub struct ApmServerPodTemplateSpecInitContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecInitContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -4239,8 +4287,12 @@ pub struct ApmServerPodTemplateSpecInitContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecInitContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -5871,8 +5923,12 @@ pub struct ApmServerPodTemplateSpecVolumesCephfs { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecVolumesCephfsSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5907,8 +5963,12 @@ pub struct ApmServerPodTemplateSpecVolumesCinder { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecVolumesCinderSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5935,8 +5995,12 @@ pub struct ApmServerPodTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -6000,8 +6064,12 @@ pub struct ApmServerPodTemplateSpecVolumesCsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecVolumesCsiNodePublishSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6457,8 +6525,12 @@ pub struct ApmServerPodTemplateSpecVolumesFlexVolume { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecVolumesFlexVolumeSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6614,8 +6686,12 @@ pub struct ApmServerPodTemplateSpecVolumesIscsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecVolumesIscsiSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6823,8 +6899,12 @@ pub struct ApmServerPodTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -6920,8 +7000,12 @@ pub struct ApmServerPodTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional field specify whether the Secret or its key must be defined @@ -7050,8 +7134,12 @@ pub struct ApmServerPodTemplateSpecVolumesRbd { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecVolumesRbdSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -7101,8 +7189,12 @@ pub struct ApmServerPodTemplateSpecVolumesScaleIo { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecVolumesScaleIoSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -7193,8 +7285,12 @@ pub struct ApmServerPodTemplateSpecVolumesStorageos { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecVolumesStorageosSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } diff --git a/kube-custom-resources-rs/src/apm_k8s_elastic_co/v1beta1/apmservers.rs b/kube-custom-resources-rs/src/apm_k8s_elastic_co/v1beta1/apmservers.rs index 9db5a92b9..19b3289b4 100644 --- a/kube-custom-resources-rs/src/apm_k8s_elastic_co/v1beta1/apmservers.rs +++ b/kube-custom-resources-rs/src/apm_k8s_elastic_co/v1beta1/apmservers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/apm.k8s.elastic.co/v1beta1/apmservers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -292,6 +292,7 @@ pub struct ApmServerHttpServiceSpec { /// not set, the implementation will apply its default routing strategy. If set /// to "PreferClose", implementations should prioritize endpoints that are /// topologically close (e.g., same zone). + /// This is an alpha field and requires enabling ServiceTrafficDistribution feature. #[serde(default, skip_serializing_if = "Option::is_none", rename = "trafficDistribution")] pub traffic_distribution: Option, /// type determines how the Service is exposed. Defaults to ClusterIP. Valid @@ -1654,8 +1655,12 @@ pub struct ApmServerPodTemplateSpecContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1695,8 +1700,12 @@ pub struct ApmServerPodTemplateSpecContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1722,8 +1731,12 @@ pub struct ApmServerPodTemplateSpecContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -1735,8 +1748,12 @@ pub struct ApmServerPodTemplateSpecContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -2883,8 +2900,12 @@ pub struct ApmServerPodTemplateSpecEphemeralContainersEnvValueFromConfigMapKeyRe /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2924,8 +2945,12 @@ pub struct ApmServerPodTemplateSpecEphemeralContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2951,8 +2976,12 @@ pub struct ApmServerPodTemplateSpecEphemeralContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecEphemeralContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -2964,8 +2993,12 @@ pub struct ApmServerPodTemplateSpecEphemeralContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecEphemeralContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -3877,8 +3910,7 @@ pub struct ApmServerPodTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, /// IP address of the host file entry. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub ip: Option, + pub ip: String, } /// LocalObjectReference contains enough information to let you locate the @@ -3886,8 +3918,12 @@ pub struct ApmServerPodTemplateSpecHostAliases { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecImagePullSecrets { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -4105,8 +4141,12 @@ pub struct ApmServerPodTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4146,8 +4186,12 @@ pub struct ApmServerPodTemplateSpecInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4173,8 +4217,12 @@ pub struct ApmServerPodTemplateSpecInitContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecInitContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -4186,8 +4234,12 @@ pub struct ApmServerPodTemplateSpecInitContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecInitContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -5818,8 +5870,12 @@ pub struct ApmServerPodTemplateSpecVolumesCephfs { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecVolumesCephfsSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5854,8 +5910,12 @@ pub struct ApmServerPodTemplateSpecVolumesCinder { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecVolumesCinderSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5882,8 +5942,12 @@ pub struct ApmServerPodTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -5947,8 +6011,12 @@ pub struct ApmServerPodTemplateSpecVolumesCsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecVolumesCsiNodePublishSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6404,8 +6472,12 @@ pub struct ApmServerPodTemplateSpecVolumesFlexVolume { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecVolumesFlexVolumeSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6561,8 +6633,12 @@ pub struct ApmServerPodTemplateSpecVolumesIscsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecVolumesIscsiSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6770,8 +6846,12 @@ pub struct ApmServerPodTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -6867,8 +6947,12 @@ pub struct ApmServerPodTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional field specify whether the Secret or its key must be defined @@ -6997,8 +7081,12 @@ pub struct ApmServerPodTemplateSpecVolumesRbd { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecVolumesRbdSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -7048,8 +7136,12 @@ pub struct ApmServerPodTemplateSpecVolumesScaleIo { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecVolumesScaleIoSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -7140,8 +7232,12 @@ pub struct ApmServerPodTemplateSpecVolumesStorageos { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApmServerPodTemplateSpecVolumesStorageosSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } diff --git a/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitobuilds.rs b/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitobuilds.rs index 07fffa9df..de73181f0 100644 --- a/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitobuilds.rs +++ b/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitobuilds.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitobuilds.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitoinfras.rs b/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitoinfras.rs index b56db6108..28272cabf 100644 --- a/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitoinfras.rs +++ b/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitoinfras.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitoinfras.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitoruntimes.rs b/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitoruntimes.rs index 356f5cfa2..7b7a938d1 100644 --- a/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitoruntimes.rs +++ b/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitoruntimes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitoruntimes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitosupportingservices.rs b/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitosupportingservices.rs index d20ce24c9..ac212faa8 100644 --- a/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitosupportingservices.rs +++ b/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitosupportingservices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitosupportingservices.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/app_lightbend_com/v1alpha1/akkaclusters.rs b/kube-custom-resources-rs/src/app_lightbend_com/v1alpha1/akkaclusters.rs index 201135c5f..44e3529b8 100644 --- a/kube-custom-resources-rs/src/app_lightbend_com/v1alpha1/akkaclusters.rs +++ b/kube-custom-resources-rs/src/app_lightbend_com/v1alpha1/akkaclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/lightbend/akka-cluster-operator/app.lightbend.com/v1alpha1/akkaclusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/app_redislabs_com/v1/redisenterpriseclusters.rs b/kube-custom-resources-rs/src/app_redislabs_com/v1/redisenterpriseclusters.rs index 1098900e7..387083f92 100644 --- a/kube-custom-resources-rs/src/app_redislabs_com/v1/redisenterpriseclusters.rs +++ b/kube-custom-resources-rs/src/app_redislabs_com/v1/redisenterpriseclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/RedisLabs/redis-enterprise-k8s-docs/app.redislabs.com/v1/redisenterpriseclusters.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterpriseactiveactivedatabases.rs b/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterpriseactiveactivedatabases.rs index e1f4938a9..d63ae0f8c 100644 --- a/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterpriseactiveactivedatabases.rs +++ b/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterpriseactiveactivedatabases.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/RedisLabs/redis-enterprise-k8s-docs/app.redislabs.com/v1alpha1/redisenterpriseactiveactivedatabases.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterpriseclusters.rs b/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterpriseclusters.rs index 328633ad3..12ce2ec8a 100644 --- a/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterpriseclusters.rs +++ b/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterpriseclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/RedisLabs/redis-enterprise-k8s-docs/app.redislabs.com/v1alpha1/redisenterpriseclusters.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterprisedatabases.rs b/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterprisedatabases.rs index 6b67e059b..00f84ce97 100644 --- a/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterprisedatabases.rs +++ b/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterprisedatabases.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/RedisLabs/redis-enterprise-k8s-docs/app.redislabs.com/v1alpha1/redisenterprisedatabases.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterpriseremoteclusters.rs b/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterpriseremoteclusters.rs index ecbf11d42..daaebc8bc 100644 --- a/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterpriseremoteclusters.rs +++ b/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterpriseremoteclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/RedisLabs/redis-enterprise-k8s-docs/app.redislabs.com/v1alpha1/redisenterpriseremoteclusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/app_terraform_io/v1alpha2/agentpools.rs b/kube-custom-resources-rs/src/app_terraform_io/v1alpha2/agentpools.rs index 5f50d8070..7f3022bb2 100644 --- a/kube-custom-resources-rs/src/app_terraform_io/v1alpha2/agentpools.rs +++ b/kube-custom-resources-rs/src/app_terraform_io/v1alpha2/agentpools.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/hashicorp/terraform-cloud-operator/app.terraform.io/v1alpha2/agentpools.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/app_terraform_io/v1alpha2/modules.rs b/kube-custom-resources-rs/src/app_terraform_io/v1alpha2/modules.rs index 9627fa268..88261a3c5 100644 --- a/kube-custom-resources-rs/src/app_terraform_io/v1alpha2/modules.rs +++ b/kube-custom-resources-rs/src/app_terraform_io/v1alpha2/modules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/hashicorp/terraform-cloud-operator/app.terraform.io/v1alpha2/modules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/app_terraform_io/v1alpha2/workspaces.rs b/kube-custom-resources-rs/src/app_terraform_io/v1alpha2/workspaces.rs index 78aa34938..8771fb7d7 100644 --- a/kube-custom-resources-rs/src/app_terraform_io/v1alpha2/workspaces.rs +++ b/kube-custom-resources-rs/src/app_terraform_io/v1alpha2/workspaces.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/hashicorp/terraform-cloud-operator/app.terraform.io/v1alpha2/workspaces.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/accesslogpolicies.rs b/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/accesslogpolicies.rs index 14b0574a7..bc1d7c271 100644 --- a/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/accesslogpolicies.rs +++ b/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/accesslogpolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/accesslogpolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/iamauthpolicies.rs b/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/iamauthpolicies.rs index a350fe215..a91ca6126 100644 --- a/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/iamauthpolicies.rs +++ b/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/iamauthpolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/iamauthpolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/serviceexports.rs b/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/serviceexports.rs index a4bddeb35..d4735e57f 100644 --- a/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/serviceexports.rs +++ b/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/serviceexports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/serviceexports.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/serviceimports.rs b/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/serviceimports.rs index 863592a5f..9cf18af06 100644 --- a/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/serviceimports.rs +++ b/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/serviceimports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/serviceimports.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/targetgrouppolicies.rs b/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/targetgrouppolicies.rs index 7e8f72cc1..5c79343dd 100644 --- a/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/targetgrouppolicies.rs +++ b/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/targetgrouppolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/targetgrouppolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/vpcassociationpolicies.rs b/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/vpcassociationpolicies.rs index 518d55639..343219163 100644 --- a/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/vpcassociationpolicies.rs +++ b/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/vpcassociationpolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/vpcassociationpolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/applicationautoscaling_services_k8s_aws/v1alpha1/scalabletargets.rs b/kube-custom-resources-rs/src/applicationautoscaling_services_k8s_aws/v1alpha1/scalabletargets.rs index 588a1e05c..9dcae450b 100644 --- a/kube-custom-resources-rs/src/applicationautoscaling_services_k8s_aws/v1alpha1/scalabletargets.rs +++ b/kube-custom-resources-rs/src/applicationautoscaling_services_k8s_aws/v1alpha1/scalabletargets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/applicationautoscaling-controller/applicationautoscaling.services.k8s.aws/v1alpha1/scalabletargets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/applicationautoscaling_services_k8s_aws/v1alpha1/scalingpolicies.rs b/kube-custom-resources-rs/src/applicationautoscaling_services_k8s_aws/v1alpha1/scalingpolicies.rs index 097377bf5..be07294c0 100644 --- a/kube-custom-resources-rs/src/applicationautoscaling_services_k8s_aws/v1alpha1/scalingpolicies.rs +++ b/kube-custom-resources-rs/src/applicationautoscaling_services_k8s_aws/v1alpha1/scalingpolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/applicationautoscaling-controller/applicationautoscaling.services.k8s.aws/v1alpha1/scalingpolicies.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/backendgroups.rs b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/backendgroups.rs index bf8f03519..c073098c4 100644 --- a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/backendgroups.rs +++ b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/backendgroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/aws-app-mesh-controller-for-k8/appmesh.k8s.aws/v1beta2/backendgroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/gatewayroutes.rs b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/gatewayroutes.rs index 83269c434..2a51dfb22 100644 --- a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/gatewayroutes.rs +++ b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/gatewayroutes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/aws-app-mesh-controller-for-k8/appmesh.k8s.aws/v1beta2/gatewayroutes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/meshes.rs b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/meshes.rs index db1df4444..eea3e94aa 100644 --- a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/meshes.rs +++ b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/meshes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/aws-app-mesh-controller-for-k8/appmesh.k8s.aws/v1beta2/meshes.yaml -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualgateways.rs b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualgateways.rs index 7f484890b..1f42638f4 100644 --- a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualgateways.rs +++ b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualgateways.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/aws-app-mesh-controller-for-k8/appmesh.k8s.aws/v1beta2/virtualgateways.yaml -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualnodes.rs b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualnodes.rs index ac4a57b29..c1f8b4e4a 100644 --- a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualnodes.rs +++ b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualnodes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/aws-app-mesh-controller-for-k8/appmesh.k8s.aws/v1beta2/virtualnodes.yaml -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualrouters.rs b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualrouters.rs index 03c1548d0..5bb0ea62c 100644 --- a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualrouters.rs +++ b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualrouters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/aws-app-mesh-controller-for-k8/appmesh.k8s.aws/v1beta2/virtualrouters.yaml -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualservices.rs b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualservices.rs index 75b4c58f6..18e5b050c 100644 --- a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualservices.rs +++ b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualservices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/aws-app-mesh-controller-for-k8/appmesh.k8s.aws/v1beta2/virtualservices.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/appprotect_f5_com/v1beta1/aplogconfs.rs b/kube-custom-resources-rs/src/appprotect_f5_com/v1beta1/aplogconfs.rs index b544545c3..9d0d832fa 100644 --- a/kube-custom-resources-rs/src/appprotect_f5_com/v1beta1/aplogconfs.rs +++ b/kube-custom-resources-rs/src/appprotect_f5_com/v1beta1/aplogconfs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/appprotect.f5.com/v1beta1/aplogconfs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/appprotect_f5_com/v1beta1/apusersigs.rs b/kube-custom-resources-rs/src/appprotect_f5_com/v1beta1/apusersigs.rs index 8e57d3f08..d4a568614 100644 --- a/kube-custom-resources-rs/src/appprotect_f5_com/v1beta1/apusersigs.rs +++ b/kube-custom-resources-rs/src/appprotect_f5_com/v1beta1/apusersigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/appprotect.f5.com/v1beta1/apusersigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/appprotectdos_f5_com/v1beta1/apdoslogconfs.rs b/kube-custom-resources-rs/src/appprotectdos_f5_com/v1beta1/apdoslogconfs.rs index c9257f2d5..8592ea47a 100644 --- a/kube-custom-resources-rs/src/appprotectdos_f5_com/v1beta1/apdoslogconfs.rs +++ b/kube-custom-resources-rs/src/appprotectdos_f5_com/v1beta1/apdoslogconfs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/appprotectdos.f5.com/v1beta1/apdoslogconfs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/appprotectdos_f5_com/v1beta1/apdospolicies.rs b/kube-custom-resources-rs/src/appprotectdos_f5_com/v1beta1/apdospolicies.rs index 8e7558260..bbe3eb532 100644 --- a/kube-custom-resources-rs/src/appprotectdos_f5_com/v1beta1/apdospolicies.rs +++ b/kube-custom-resources-rs/src/appprotectdos_f5_com/v1beta1/apdospolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/appprotectdos.f5.com/v1beta1/apdospolicies.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/appprotectdos_f5_com/v1beta1/dosprotectedresources.rs b/kube-custom-resources-rs/src/appprotectdos_f5_com/v1beta1/dosprotectedresources.rs index 048af3663..2490c26c1 100644 --- a/kube-custom-resources-rs/src/appprotectdos_f5_com/v1beta1/dosprotectedresources.rs +++ b/kube-custom-resources-rs/src/appprotectdos_f5_com/v1beta1/dosprotectedresources.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/appprotectdos.f5.com/v1beta1/dosprotectedresources.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apicasts.rs b/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apicasts.rs index 4a796cf12..baf343682 100644 --- a/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apicasts.rs +++ b/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apicasts.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/3scale/apicast-operator/apps.3scale.net/v1alpha1/apicasts.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apimanagerbackups.rs b/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apimanagerbackups.rs index 450ba8991..268399e36 100644 --- a/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apimanagerbackups.rs +++ b/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apimanagerbackups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/apps.3scale.net/v1alpha1/apimanagerbackups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apimanagerrestores.rs b/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apimanagerrestores.rs index 51aa3a8cc..0e13758dc 100644 --- a/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apimanagerrestores.rs +++ b/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apimanagerrestores.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/apps.3scale.net/v1alpha1/apimanagerrestores.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apimanagers.rs b/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apimanagers.rs index 0b3935795..9ceec9ea1 100644 --- a/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apimanagers.rs +++ b/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apimanagers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/apps.3scale.net/v1alpha1/apimanagers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/bases.rs b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/bases.rs index d48e52d35..ebcd47193 100644 --- a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/bases.rs +++ b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/bases.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/bases.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/descriptions.rs b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/descriptions.rs index e833ad0cf..69b05a00c 100644 --- a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/descriptions.rs +++ b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/descriptions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/descriptions.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/feedinventories.rs b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/feedinventories.rs index a91d563fe..f98aede77 100644 --- a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/feedinventories.rs +++ b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/feedinventories.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/feedinventories.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/globalizations.rs b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/globalizations.rs index ed63d1e41..5ff8a12b3 100644 --- a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/globalizations.rs +++ b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/globalizations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/globalizations.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/helmcharts.rs b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/helmcharts.rs index 91a7cc876..56e2916da 100644 --- a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/helmcharts.rs +++ b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/helmcharts.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/helmcharts.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/helmreleases.rs b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/helmreleases.rs index 7ea9b1f5a..9199256ea 100644 --- a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/helmreleases.rs +++ b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/helmreleases.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/helmreleases.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/localizations.rs b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/localizations.rs index a53373631..441347e46 100644 --- a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/localizations.rs +++ b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/localizations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/localizations.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/manifests.rs b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/manifests.rs index d263bc04a..9e3da1a96 100644 --- a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/manifests.rs +++ b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/manifests.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/manifests.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/subscriptions.rs b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/subscriptions.rs index 6c4a5a870..446d0cf89 100644 --- a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/subscriptions.rs +++ b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/subscriptions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/subscriptions.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_emqx_io/v1beta3/emqxbrokers.rs b/kube-custom-resources-rs/src/apps_emqx_io/v1beta3/emqxbrokers.rs index 670f49b9f..756275fbc 100644 --- a/kube-custom-resources-rs/src/apps_emqx_io/v1beta3/emqxbrokers.rs +++ b/kube-custom-resources-rs/src/apps_emqx_io/v1beta3/emqxbrokers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v1beta3/emqxbrokers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_emqx_io/v1beta3/emqxenterprises.rs b/kube-custom-resources-rs/src/apps_emqx_io/v1beta3/emqxenterprises.rs index 49d4d7b42..acc7306bc 100644 --- a/kube-custom-resources-rs/src/apps_emqx_io/v1beta3/emqxenterprises.rs +++ b/kube-custom-resources-rs/src/apps_emqx_io/v1beta3/emqxenterprises.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v1beta3/emqxenterprises.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_emqx_io/v1beta3/emqxplugins.rs b/kube-custom-resources-rs/src/apps_emqx_io/v1beta3/emqxplugins.rs index 320dd649d..f4e03a93e 100644 --- a/kube-custom-resources-rs/src/apps_emqx_io/v1beta3/emqxplugins.rs +++ b/kube-custom-resources-rs/src/apps_emqx_io/v1beta3/emqxplugins.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v1beta3/emqxplugins.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/emqxbrokers.rs b/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/emqxbrokers.rs index ae5ba05a8..77945581c 100644 --- a/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/emqxbrokers.rs +++ b/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/emqxbrokers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v1beta4/emqxbrokers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/emqxenterprises.rs b/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/emqxenterprises.rs index de9bc1957..2d6fbd777 100644 --- a/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/emqxenterprises.rs +++ b/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/emqxenterprises.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v1beta4/emqxenterprises.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/emqxplugins.rs b/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/emqxplugins.rs index 575857a3b..568085e08 100644 --- a/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/emqxplugins.rs +++ b/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/emqxplugins.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v1beta4/emqxplugins.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/rebalances.rs b/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/rebalances.rs index 81a18e516..df7b1ae3a 100644 --- a/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/rebalances.rs +++ b/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/rebalances.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v1beta4/rebalances.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_emqx_io/v2alpha1/emqxes.rs b/kube-custom-resources-rs/src/apps_emqx_io/v2alpha1/emqxes.rs index 6d2c8f10f..c4ebe1774 100644 --- a/kube-custom-resources-rs/src/apps_emqx_io/v2alpha1/emqxes.rs +++ b/kube-custom-resources-rs/src/apps_emqx_io/v2alpha1/emqxes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v2alpha1/emqxes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_emqx_io/v2beta1/emqxes.rs b/kube-custom-resources-rs/src/apps_emqx_io/v2beta1/emqxes.rs index 449314058..54bc7f0bc 100644 --- a/kube-custom-resources-rs/src/apps_emqx_io/v2beta1/emqxes.rs +++ b/kube-custom-resources-rs/src/apps_emqx_io/v2beta1/emqxes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v2beta1/emqxes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -6000,8 +6000,6 @@ pub struct EMQXStatusCoreNodes { #[serde(default, skip_serializing_if = "Option::is_none")] pub role: Option, #[serde(default, skip_serializing_if = "Option::is_none")] - pub uptime: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] pub version: Option, } @@ -6076,8 +6074,6 @@ pub struct EMQXStatusReplicantNodes { #[serde(default, skip_serializing_if = "Option::is_none")] pub role: Option, #[serde(default, skip_serializing_if = "Option::is_none")] - pub uptime: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] pub version: Option, } diff --git a/kube-custom-resources-rs/src/apps_emqx_io/v2beta1/rebalances.rs b/kube-custom-resources-rs/src/apps_emqx_io/v2beta1/rebalances.rs index 036458f33..23c6b1465 100644 --- a/kube-custom-resources-rs/src/apps_emqx_io/v2beta1/rebalances.rs +++ b/kube-custom-resources-rs/src/apps_emqx_io/v2beta1/rebalances.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v2beta1/rebalances.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_gitlab_com/v1beta1/gitlabs.rs b/kube-custom-resources-rs/src/apps_gitlab_com/v1beta1/gitlabs.rs index ae661cd10..5aef5df08 100644 --- a/kube-custom-resources-rs/src/apps_gitlab_com/v1beta1/gitlabs.rs +++ b/kube-custom-resources-rs/src/apps_gitlab_com/v1beta1/gitlabs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/gitlab-org/cloud-native/gitlab-operator/apps.gitlab.com/v1beta1/gitlabs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_gitlab_com/v1beta2/runners.rs b/kube-custom-resources-rs/src/apps_gitlab_com/v1beta2/runners.rs index f3ff5b95d..5e2541341 100644 --- a/kube-custom-resources-rs/src/apps_gitlab_com/v1beta2/runners.rs +++ b/kube-custom-resources-rs/src/apps_gitlab_com/v1beta2/runners.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/gitlab-org/gl-openshift/gitlab-runner-operator/apps.gitlab.com/v1beta2/runners.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/backuppolicytemplates.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/backuppolicytemplates.rs index 90b70e3be..00653c205 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/backuppolicytemplates.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/backuppolicytemplates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/backuppolicytemplates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/clusterdefinitions.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/clusterdefinitions.rs index 6ea0457e4..43a593031 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/clusterdefinitions.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/clusterdefinitions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusterdefinitions.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -183,9 +183,9 @@ pub struct ClusterDefinitionComponentDefsConfigSpecs { /// Specifies the name of the referenced configuration constraints object. #[serde(default, skip_serializing_if = "Option::is_none", rename = "constraintRef")] pub constraint_ref: Option, - /// Deprecated: DefaultMode is deprecated since 0.9.0 and will be removed in 0.10.0 for scripts, auto set 0555 for configs, auto set 0444 Refers to the mode bits used to set permissions on created files by default. - /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. - /// Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + /// The operator attempts to set default file permissions for scripts (0555) and configurations (0444). However, certain database engines may require different file permissions. You can specify the desired file permissions here. + /// Must be specified as an octal value between 0000 and 0777 (inclusive), or as a decimal value between 0 and 511 (inclusive). YAML supports both octal and decimal values for file permissions. + /// Please note that this setting only affects the permissions of the files themselves. Directories within the specified path are not impacted by this setting. It's important to be aware that this setting might conflict with other options that influence the file mode, such as fsGroup. In such cases, the resulting file mode may have additional bits set. Refers to documents of k8s.ConfigMapVolumeSource.defaultMode for more information. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, /// Specifies the containers to inject the ConfigMap parameters as environment variables. @@ -5041,9 +5041,9 @@ pub enum ClusterDefinitionComponentDefsRsmSpecRolesAccessMode { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ClusterDefinitionComponentDefsScriptSpecs { - /// Deprecated: DefaultMode is deprecated since 0.9.0 and will be removed in 0.10.0 for scripts, auto set 0555 for configs, auto set 0444 Refers to the mode bits used to set permissions on created files by default. - /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. - /// Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + /// The operator attempts to set default file permissions for scripts (0555) and configurations (0444). However, certain database engines may require different file permissions. You can specify the desired file permissions here. + /// Must be specified as an octal value between 0000 and 0777 (inclusive), or as a decimal value between 0 and 511 (inclusive). YAML supports both octal and decimal values for file permissions. + /// Please note that this setting only affects the permissions of the files themselves. Directories within the specified path are not impacted by this setting. It's important to be aware that this setting might conflict with other options that influence the file mode, such as fsGroup. In such cases, the resulting file mode may have additional bits set. Refers to documents of k8s.ConfigMapVolumeSource.defaultMode for more information. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, /// Specifies the name of the configuration template. @@ -5108,6 +5108,10 @@ pub enum ClusterDefinitionComponentDefsServicePortsProtocol { pub struct ClusterDefinitionComponentDefsServiceRefDeclarations { /// Specifies the name of the ServiceRefDeclaration. pub name: String, + /// Specifies whether the service reference can be optional. + /// For an optional service-ref, the component can still be created even if the service-ref is not provided. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub optional: Option, /// Defines a list of constraints and requirements for services that can be bound to this ServiceRefDeclaration upon Cluster creation. Each ServiceRefDeclarationSpec defines a ServiceKind and ServiceVersion, outlining the acceptable service types and versions that are compatible. /// This flexibility allows a ServiceRefDeclaration to be fulfilled by any one of the provided specs. For example, if it requires an OLTP database, specs for both MySQL and PostgreSQL are listed, either MySQL or PostgreSQL services can be used when binding. #[serde(rename = "serviceRefDeclarationSpecs")] diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/clusters.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/clusters.rs index 6fbee0363..c4099bf72 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/clusters.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/clusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusters.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/clusterversions.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/clusterversions.rs index eb44af86a..893612e64 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/clusterversions.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/clusterversions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusterversions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -60,9 +60,9 @@ pub struct ClusterVersionComponentVersionsConfigSpecs { /// Specifies the name of the referenced configuration constraints object. #[serde(default, skip_serializing_if = "Option::is_none", rename = "constraintRef")] pub constraint_ref: Option, - /// Deprecated: DefaultMode is deprecated since 0.9.0 and will be removed in 0.10.0 for scripts, auto set 0555 for configs, auto set 0444 Refers to the mode bits used to set permissions on created files by default. - /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. - /// Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + /// The operator attempts to set default file permissions for scripts (0555) and configurations (0444). However, certain database engines may require different file permissions. You can specify the desired file permissions here. + /// Must be specified as an octal value between 0000 and 0777 (inclusive), or as a decimal value between 0 and 511 (inclusive). YAML supports both octal and decimal values for file permissions. + /// Please note that this setting only affects the permissions of the files themselves. Directories within the specified path are not impacted by this setting. It's important to be aware that this setting might conflict with other options that influence the file mode, such as fsGroup. In such cases, the resulting file mode may have additional bits set. Refers to documents of k8s.ConfigMapVolumeSource.defaultMode for more information. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, /// Specifies the containers to inject the ConfigMap parameters as environment variables. diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/componentclassdefinitions.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/componentclassdefinitions.rs index 3cebd925b..2f2ba755e 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/componentclassdefinitions.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/componentclassdefinitions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/componentclassdefinitions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/componentdefinitions.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/componentdefinitions.rs index 7a793ff4a..f46490439 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/componentdefinitions.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/componentdefinitions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/componentdefinitions.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -173,9 +173,9 @@ pub struct ComponentDefinitionConfigs { /// Specifies the name of the referenced configuration constraints object. #[serde(default, skip_serializing_if = "Option::is_none", rename = "constraintRef")] pub constraint_ref: Option, - /// Deprecated: DefaultMode is deprecated since 0.9.0 and will be removed in 0.10.0 for scripts, auto set 0555 for configs, auto set 0444 Refers to the mode bits used to set permissions on created files by default. - /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. - /// Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + /// The operator attempts to set default file permissions for scripts (0555) and configurations (0444). However, certain database engines may require different file permissions. You can specify the desired file permissions here. + /// Must be specified as an octal value between 0000 and 0777 (inclusive), or as a decimal value between 0 and 511 (inclusive). YAML supports both octal and decimal values for file permissions. + /// Please note that this setting only affects the permissions of the files themselves. Directories within the specified path are not impacted by this setting. It's important to be aware that this setting might conflict with other options that influence the file mode, such as fsGroup. In such cases, the resulting file mode may have additional bits set. Refers to documents of k8s.ConfigMapVolumeSource.defaultMode for more information. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, /// Specifies the containers to inject the ConfigMap parameters as environment variables. @@ -453,7 +453,7 @@ pub struct ComponentDefinitionLifecycleActionsAccountProvisionCustomHandler { pub matching_key: Option, /// Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. /// The conditions are as follows: - /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. + /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. /// This field cannot be updated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preCondition")] pub pre_condition: Option, @@ -684,7 +684,7 @@ pub struct ComponentDefinitionLifecycleActionsDataDumpCustomHandler { pub matching_key: Option, /// Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. /// The conditions are as follows: - /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. + /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. /// This field cannot be updated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preCondition")] pub pre_condition: Option, @@ -915,7 +915,7 @@ pub struct ComponentDefinitionLifecycleActionsDataLoadCustomHandler { pub matching_key: Option, /// Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. /// The conditions are as follows: - /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. + /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. /// This field cannot be updated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preCondition")] pub pre_condition: Option, @@ -1150,7 +1150,7 @@ pub struct ComponentDefinitionLifecycleActionsMemberJoinCustomHandler { pub matching_key: Option, /// Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. /// The conditions are as follows: - /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. + /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. /// This field cannot be updated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preCondition")] pub pre_condition: Option, @@ -1385,7 +1385,7 @@ pub struct ComponentDefinitionLifecycleActionsMemberLeaveCustomHandler { pub matching_key: Option, /// Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. /// The conditions are as follows: - /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. + /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. /// This field cannot be updated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preCondition")] pub pre_condition: Option, @@ -1619,7 +1619,7 @@ pub struct ComponentDefinitionLifecycleActionsPostProvisionCustomHandler { pub matching_key: Option, /// Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. /// The conditions are as follows: - /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. + /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. /// This field cannot be updated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preCondition")] pub pre_condition: Option, @@ -1854,7 +1854,7 @@ pub struct ComponentDefinitionLifecycleActionsPreTerminateCustomHandler { pub matching_key: Option, /// Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. /// The conditions are as follows: - /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. + /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. /// This field cannot be updated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preCondition")] pub pre_condition: Option, @@ -2086,7 +2086,7 @@ pub struct ComponentDefinitionLifecycleActionsReadonlyCustomHandler { pub matching_key: Option, /// Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. /// The conditions are as follows: - /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. + /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. /// This field cannot be updated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preCondition")] pub pre_condition: Option, @@ -2318,7 +2318,7 @@ pub struct ComponentDefinitionLifecycleActionsReadwriteCustomHandler { pub matching_key: Option, /// Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. /// The conditions are as follows: - /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. + /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. /// This field cannot be updated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preCondition")] pub pre_condition: Option, @@ -2547,7 +2547,7 @@ pub struct ComponentDefinitionLifecycleActionsReconfigureCustomHandler { pub matching_key: Option, /// Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. /// The conditions are as follows: - /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. + /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. /// This field cannot be updated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preCondition")] pub pre_condition: Option, @@ -2789,7 +2789,7 @@ pub struct ComponentDefinitionLifecycleActionsRoleProbeCustomHandler { pub matching_key: Option, /// Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. /// The conditions are as follows: - /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. + /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. /// This field cannot be updated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preCondition")] pub pre_condition: Option, @@ -3021,7 +3021,7 @@ pub struct ComponentDefinitionLifecycleActionsSwitchoverWithCandidate { pub matching_key: Option, /// Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. /// The conditions are as follows: - /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. + /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. /// This field cannot be updated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preCondition")] pub pre_condition: Option, @@ -3225,7 +3225,7 @@ pub struct ComponentDefinitionLifecycleActionsSwitchoverWithoutCandidate { pub matching_key: Option, /// Specifies the state that the cluster must reach before the Action is executed. Currently, this is only applicable to the `postProvision` action. /// The conditions are as follows: - /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. The Component's state can not be marked as ready until the Action completes successfully. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. The Component's state can not be marked as ready until the Action completes successfully. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. + /// - `Immediately`: Executed right after the Component object is created. The readiness of the Component and its resources is not guaranteed at this stage. - `RuntimeReady`: The Action is triggered after the Component object has been created and all associated runtime resources (e.g. Pods) are in a ready state. - `ComponentReady`: The Action is triggered after the Component itself is in a ready state. This process does not affect the readiness state of the Component or the Cluster. - `ClusterReady`: The Action is executed after the Cluster is in a ready state. This execution does not alter the Component or the Cluster's state of readiness. /// This field cannot be updated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preCondition")] pub pre_condition: Option, @@ -7606,9 +7606,9 @@ pub struct ComponentDefinitionRuntimeVolumesVsphereVolume { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ComponentDefinitionScripts { - /// Deprecated: DefaultMode is deprecated since 0.9.0 and will be removed in 0.10.0 for scripts, auto set 0555 for configs, auto set 0444 Refers to the mode bits used to set permissions on created files by default. - /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. - /// Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + /// The operator attempts to set default file permissions for scripts (0555) and configurations (0444). However, certain database engines may require different file permissions. You can specify the desired file permissions here. + /// Must be specified as an octal value between 0000 and 0777 (inclusive), or as a decimal value between 0 and 511 (inclusive). YAML supports both octal and decimal values for file permissions. + /// Please note that this setting only affects the permissions of the files themselves. Directories within the specified path are not impacted by this setting. It's important to be aware that this setting might conflict with other options that influence the file mode, such as fsGroup. In such cases, the resulting file mode may have additional bits set. Refers to documents of k8s.ConfigMapVolumeSource.defaultMode for more information. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, /// Specifies the name of the configuration template. @@ -7631,6 +7631,10 @@ pub struct ComponentDefinitionScripts { pub struct ComponentDefinitionServiceRefDeclarations { /// Specifies the name of the ServiceRefDeclaration. pub name: String, + /// Specifies whether the service reference can be optional. + /// For an optional service-ref, the component can still be created even if the service-ref is not provided. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub optional: Option, /// Defines a list of constraints and requirements for services that can be bound to this ServiceRefDeclaration upon Cluster creation. Each ServiceRefDeclarationSpec defines a ServiceKind and ServiceVersion, outlining the acceptable service types and versions that are compatible. /// This flexibility allows a ServiceRefDeclaration to be fulfilled by any one of the provided specs. For example, if it requires an OLTP database, specs for both MySQL and PostgreSQL are listed, either MySQL or PostgreSQL services can be used when binding. #[serde(rename = "serviceRefDeclarationSpecs")] @@ -7863,6 +7867,13 @@ pub enum ComponentDefinitionUpdateStrategy { /// EnvVar represents a variable present in the env of Pod/Action or the template of config/script. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ComponentDefinitionVars { + /// A Go template expression that will be applied to the resolved value of the var. + /// The expression will only be evaluated if the var is successfully resolved to a non-credential value. + /// The resolved value can be accessed by its name within the expression, system vars and other user-defined non-credential vars can be used within the expression in the same way. Notice that, when accessing vars by its name, you should replace all the "-" in the name with "_", because of that "-" is not a valid identifier in Go. + /// All expressions are evaluated in the order the vars are defined. If a var depends on any vars that also have expressions defined, be careful about the evaluation order as it may use intermediate values. + /// The result of evaluation will be used as the final value of the var. If the expression fails to evaluate, the resolving of var will also be considered failed. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub expression: Option, /// Name of the variable. Must be a C_IDENTIFIER. pub name: String, /// Variable references `$(VAR_NAME)` are expanded using the previously defined variables in the current context. @@ -7911,7 +7922,7 @@ pub struct ComponentDefinitionVarsValueFromComponentVarRef { /// Reference to the name of the Component object. #[serde(default, skip_serializing_if = "Option::is_none", rename = "componentName")] pub component_name: Option, - /// Reference to the instanceName list of the component. and the value will be presented in the following format: instanceName1,instanceName2... + /// Reference to the instanceName list of the component. and the value will be presented in the following format: instanceName1,instanceName2,... #[serde(default, skip_serializing_if = "Option::is_none", rename = "instanceNames")] pub instance_names: Option, /// This option defines the behavior when multiple component objects match the specified @CompDef. If not provided, an error will be raised when handling multiple matches. @@ -7923,6 +7934,9 @@ pub struct ComponentDefinitionVarsValueFromComponentVarRef { /// Specify whether the object must be defined. #[serde(default, skip_serializing_if = "Option::is_none")] pub optional: Option, + /// Reference to the pod FQDN list of the component. The value will be presented in the following format: FQDN1,FQDN2,... + #[serde(default, skip_serializing_if = "Option::is_none", rename = "podFQDNs")] + pub pod_fqd_ns: Option, /// Reference to the replicas of the component. #[serde(default, skip_serializing_if = "Option::is_none")] pub replicas: Option, @@ -7985,6 +7999,13 @@ pub enum ComponentDefinitionVarsValueFromComponentVarRefMultipleClusterObjectOpt Combined, } +/// Selects a defined var of a Component. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum ComponentDefinitionVarsValueFromComponentVarRefPodFqdNs { + Required, + Optional, +} + /// Selects a defined var of a Component. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum ComponentDefinitionVarsValueFromComponentVarRefReplicas { @@ -8197,6 +8218,9 @@ pub struct ComponentDefinitionVarsValueFromServiceRefVarRef { /// VarOption defines whether a variable is required or optional. #[serde(default, skip_serializing_if = "Option::is_none")] pub endpoint: Option, + /// VarOption defines whether a variable is required or optional. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub host: Option, /// This option defines the behavior when multiple component objects match the specified @CompDef. If not provided, an error will be raised when handling multiple matches. #[serde(default, skip_serializing_if = "Option::is_none", rename = "multipleClusterObjectOption")] pub multiple_cluster_object_option: Option, @@ -8224,6 +8248,13 @@ pub enum ComponentDefinitionVarsValueFromServiceRefVarRefEndpoint { Optional, } +/// Selects a defined var of a ServiceRef. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum ComponentDefinitionVarsValueFromServiceRefVarRefHost { + Required, + Optional, +} + /// This option defines the behavior when multiple component objects match the specified @CompDef. If not provided, an error will be raised when handling multiple matches. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ComponentDefinitionVarsValueFromServiceRefVarRefMultipleClusterObjectOption { diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/components.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/components.rs index 38b8f9a57..49898361c 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/components.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/components.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/components.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/componentversions.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/componentversions.rs index 664510048..08254b119 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/componentversions.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/componentversions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/componentversions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/configconstraints.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/configconstraints.rs index 203defe91..4539dc146 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/configconstraints.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/configconstraints.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/configconstraints.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -48,13 +48,13 @@ pub struct ConfigConstraintSpec { pub immutable_parameters: Option>, /// Specifies the dynamic reload action supported by the engine. When set, the controller executes the method defined here to execute hot parameter updates. /// Dynamic reloading is triggered only if both of the following conditions are met: - /// 1. The modified parameters are listed in the `dynamicParameters` field. If `dynamicParameterSelectedPolicy` is set to "all", modifications to `staticParameters` can also trigger a reload. 2. `reloadOptions` is set. + /// 1. The modified parameters are listed in the `dynamicParameters` field. If `reloadStaticParamsBeforeRestart` is set to true, modifications to `staticParameters` can also trigger a reload. 2. `reloadOptions` is set. /// If `reloadOptions` is not set or the modified parameters are not listed in `dynamicParameters`, dynamic reloading will not be triggered. /// Example: ```yaml reloadOptions: tplScriptTrigger: namespace: kb-system scriptConfigMapRef: mysql-reload-script sync: true ``` #[serde(default, skip_serializing_if = "Option::is_none", rename = "reloadOptions")] pub reload_options: Option, /// Configures whether the dynamic reload specified in `reloadOptions` applies only to dynamic parameters or to all parameters (including static parameters). - /// - false (default): Only modifications to the dynamic parameters listed in `dynamicParameters` will trigger a dynamic reload. - true: Modifications to both dynamic parameters listed in `dynamicParameters` and static parameters listed in `staticParameters` will trigger a dynamic reload. The "all" option is for certain engines that require static parameters to be set via SQL statements before they can take effect on restart. + /// - false (default): Only modifications to the dynamic parameters listed in `dynamicParameters` will trigger a dynamic reload. - true: Modifications to both dynamic parameters listed in `dynamicParameters` and static parameters listed in `staticParameters` will trigger a dynamic reload. The "true" option is for certain engines that require static parameters to be set via SQL statements before they can take effect on restart. #[serde(default, skip_serializing_if = "Option::is_none", rename = "reloadStaticParamsBeforeRestart")] pub reload_static_params_before_restart: Option, /// A list of ScriptConfig Object. @@ -207,7 +207,7 @@ pub struct ConfigConstraintFormatterConfigIniConfig { /// Specifies the dynamic reload action supported by the engine. When set, the controller executes the method defined here to execute hot parameter updates. /// Dynamic reloading is triggered only if both of the following conditions are met: -/// 1. The modified parameters are listed in the `dynamicParameters` field. If `dynamicParameterSelectedPolicy` is set to "all", modifications to `staticParameters` can also trigger a reload. 2. `reloadOptions` is set. +/// 1. The modified parameters are listed in the `dynamicParameters` field. If `reloadStaticParamsBeforeRestart` is set to true, modifications to `staticParameters` can also trigger a reload. 2. `reloadOptions` is set. /// If `reloadOptions` is not set or the modified parameters are not listed in `dynamicParameters`, dynamic reloading will not be triggered. /// Example: ```yaml reloadOptions: tplScriptTrigger: namespace: kb-system scriptConfigMapRef: mysql-reload-script sync: true ``` #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/configurations.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/configurations.rs index 092d92d31..75f9dfe1b 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/configurations.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/configurations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/configurations.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -88,9 +88,9 @@ pub struct ConfigurationConfigItemDetailsConfigSpec { /// Specifies the name of the referenced configuration constraints object. #[serde(default, skip_serializing_if = "Option::is_none", rename = "constraintRef")] pub constraint_ref: Option, - /// Deprecated: DefaultMode is deprecated since 0.9.0 and will be removed in 0.10.0 for scripts, auto set 0555 for configs, auto set 0444 Refers to the mode bits used to set permissions on created files by default. - /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. - /// Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + /// The operator attempts to set default file permissions for scripts (0555) and configurations (0444). However, certain database engines may require different file permissions. You can specify the desired file permissions here. + /// Must be specified as an octal value between 0000 and 0777 (inclusive), or as a decimal value between 0 and 511 (inclusive). YAML supports both octal and decimal values for file permissions. + /// Please note that this setting only affects the permissions of the files themselves. Directories within the specified path are not impacted by this setting. It's important to be aware that this setting might conflict with other options that influence the file mode, such as fsGroup. In such cases, the resulting file mode may have additional bits set. Refers to documents of k8s.ConfigMapVolumeSource.defaultMode for more information. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, /// Specifies the containers to inject the ConfigMap parameters as environment variables. diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/opsdefinitions.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/opsdefinitions.rs index c7235b497..050e0eae0 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/opsdefinitions.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/opsdefinitions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/opsdefinitions.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/opsrequests.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/opsrequests.rs index cfa24d0aa..fe1ce04ab 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/opsrequests.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/opsrequests.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/opsrequests.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/servicedescriptors.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/servicedescriptors.rs index af583725d..2dfc13acf 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/servicedescriptors.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/servicedescriptors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/servicedescriptors.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -22,9 +22,13 @@ pub struct ServiceDescriptorSpec { /// Specifies the authentication credentials required for accessing an external service. #[serde(default, skip_serializing_if = "Option::is_none")] pub auth: Option, - /// Specifies the URL or IP address of the external service. + /// Specifies the endpoint of the external service. + /// If the service is exposed via a cluster, the endpoint will be provided in the format of `host:port`. #[serde(default, skip_serializing_if = "Option::is_none")] pub endpoint: Option, + /// Specifies the service or IP address of the external service. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub host: Option, /// Specifies the port of the external service. #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, @@ -215,7 +219,8 @@ pub struct ServiceDescriptorAuthUsernameValueFromSecretKeyRef { pub optional: Option, } -/// Specifies the URL or IP address of the external service. +/// Specifies the endpoint of the external service. +/// If the service is exposed via a cluster, the endpoint will be provided in the format of `host:port`. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceDescriptorEndpoint { /// Holds a direct string or an expression that can be evaluated to a string. @@ -298,6 +303,89 @@ pub struct ServiceDescriptorEndpointValueFromSecretKeyRef { pub optional: Option, } +/// Specifies the service or IP address of the external service. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct ServiceDescriptorHost { + /// Holds a direct string or an expression that can be evaluated to a string. + /// It can include variables denoted by $(VAR_NAME). These variables are expanded to the value of the environment variables defined in the container. If a variable cannot be resolved, it remains unchanged in the output. + /// To escape variable expansion and retain the literal value, use double $ characters. + /// For example: + /// - "$(VAR_NAME)" will be expanded to the value of the environment variable VAR_NAME. - "$$(VAR_NAME)" will result in "$(VAR_NAME)" in the output, without any variable expansion. + /// Default value is an empty string. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub value: Option, + /// Specifies the source for the variable's value. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] + pub value_from: Option, +} + +/// Specifies the source for the variable's value. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct ServiceDescriptorHostValueFrom { + /// Selects a key of a ConfigMap. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] + pub config_map_key_ref: Option, + /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] + pub field_ref: Option, + /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceFieldRef")] + pub resource_field_ref: Option, + /// Selects a key of a secret in the pod's namespace + #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] + pub secret_key_ref: Option, +} + +/// Selects a key of a ConfigMap. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct ServiceDescriptorHostValueFromConfigMapKeyRef { + /// The key to select. + pub key: String, + /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// Specify whether the ConfigMap or its key must be defined + #[serde(default, skip_serializing_if = "Option::is_none")] + pub optional: Option, +} + +/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct ServiceDescriptorHostValueFromFieldRef { + /// Version of the schema the FieldPath is written in terms of, defaults to "v1". + #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] + pub api_version: Option, + /// Path of the field to select in the specified API version. + #[serde(rename = "fieldPath")] + pub field_path: String, +} + +/// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct ServiceDescriptorHostValueFromResourceFieldRef { + /// Container name: required for volumes, optional for env vars + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] + pub container_name: Option, + /// Specifies the output format of the exposed resources, defaults to "1" + #[serde(default, skip_serializing_if = "Option::is_none")] + pub divisor: Option, + /// Required: resource to select + pub resource: String, +} + +/// Selects a key of a secret in the pod's namespace +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct ServiceDescriptorHostValueFromSecretKeyRef { + /// The key of the secret to select from. Must be a valid secret key. + pub key: String, + /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// Specify whether the Secret or its key must be defined + #[serde(default, skip_serializing_if = "Option::is_none")] + pub optional: Option, +} + /// Specifies the port of the external service. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceDescriptorPort { diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1beta1/configconstraints.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1beta1/configconstraints.rs index 5c35afc00..6d16bf9ef 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1beta1/configconstraints.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1beta1/configconstraints.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1beta1/configconstraints.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_kubedl_io/v1alpha1/crons.rs b/kube-custom-resources-rs/src/apps_kubedl_io/v1alpha1/crons.rs index 2b13d8dcd..6816dc2e6 100644 --- a/kube-custom-resources-rs/src/apps_kubedl_io/v1alpha1/crons.rs +++ b/kube-custom-resources-rs/src/apps_kubedl_io/v1alpha1/crons.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/apps.kubedl.io/v1alpha1/crons.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_kubeedge_io/v1alpha1/nodegroups.rs b/kube-custom-resources-rs/src/apps_kubeedge_io/v1alpha1/nodegroups.rs index 34eb43bdc..978d5e319 100644 --- a/kube-custom-resources-rs/src/apps_kubeedge_io/v1alpha1/nodegroups.rs +++ b/kube-custom-resources-rs/src/apps_kubeedge_io/v1alpha1/nodegroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/apps.kubeedge.io/v1alpha1/nodegroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_m88i_io/v1alpha1/nexus.rs b/kube-custom-resources-rs/src/apps_m88i_io/v1alpha1/nexus.rs index ee76f40f5..a5733d7b3 100644 --- a/kube-custom-resources-rs/src/apps_m88i_io/v1alpha1/nexus.rs +++ b/kube-custom-resources-rs/src/apps_m88i_io/v1alpha1/nexus.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/m88i/nexus-operator/apps.m88i.io/v1alpha1/nexus.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/apps_redhat_com/v1alpha1/clusterimpairments.rs b/kube-custom-resources-rs/src/apps_redhat_com/v1alpha1/clusterimpairments.rs index 08ceda4c2..fcf4aab98 100644 --- a/kube-custom-resources-rs/src/apps_redhat_com/v1alpha1/clusterimpairments.rs +++ b/kube-custom-resources-rs/src/apps_redhat_com/v1alpha1/clusterimpairments.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/redhat-performance/cluster-impairment-operator/apps.redhat.com/v1alpha1/clusterimpairments.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/aquasecurity_github_io/v1alpha1/aquastarboards.rs b/kube-custom-resources-rs/src/aquasecurity_github_io/v1alpha1/aquastarboards.rs index 502234ea2..4683037f1 100644 --- a/kube-custom-resources-rs/src/aquasecurity_github_io/v1alpha1/aquastarboards.rs +++ b/kube-custom-resources-rs/src/aquasecurity_github_io/v1alpha1/aquastarboards.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/aquasecurity.github.io/v1alpha1/aquastarboards.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/aquasecurity_github_io/v1alpha1/clusterconfigauditreports.rs b/kube-custom-resources-rs/src/aquasecurity_github_io/v1alpha1/clusterconfigauditreports.rs index 567500d63..a16d5adf3 100644 --- a/kube-custom-resources-rs/src/aquasecurity_github_io/v1alpha1/clusterconfigauditreports.rs +++ b/kube-custom-resources-rs/src/aquasecurity_github_io/v1alpha1/clusterconfigauditreports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/aquasecurity.github.io/v1alpha1/clusterconfigauditreports.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/aquasecurity_github_io/v1alpha1/configauditreports.rs b/kube-custom-resources-rs/src/aquasecurity_github_io/v1alpha1/configauditreports.rs index e4eb461dd..5449625b4 100644 --- a/kube-custom-resources-rs/src/aquasecurity_github_io/v1alpha1/configauditreports.rs +++ b/kube-custom-resources-rs/src/aquasecurity_github_io/v1alpha1/configauditreports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/aquasecurity.github.io/v1alpha1/configauditreports.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/argoproj_io/v1alpha1/applications.rs b/kube-custom-resources-rs/src/argoproj_io/v1alpha1/applications.rs index 3dc25b478..6de70cfee 100644 --- a/kube-custom-resources-rs/src/argoproj_io/v1alpha1/applications.rs +++ b/kube-custom-resources-rs/src/argoproj_io/v1alpha1/applications.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1alpha1/applications.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -281,6 +281,9 @@ pub struct ApplicationOperationSyncSourceKustomize { /// Images is a list of Kustomize image override specifications #[serde(default, skip_serializing_if = "Option::is_none")] pub images: Option>, + /// LabelWithoutSelector specifies whether to apply common labels to resource selectors or not + #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelWithoutSelector")] + pub label_without_selector: Option, /// NamePrefix is a prefix appended to resources for Kustomize apps #[serde(default, skip_serializing_if = "Option::is_none", rename = "namePrefix")] pub name_prefix: Option, @@ -541,6 +544,9 @@ pub struct ApplicationOperationSyncSourcesKustomize { /// Images is a list of Kustomize image override specifications #[serde(default, skip_serializing_if = "Option::is_none")] pub images: Option>, + /// LabelWithoutSelector specifies whether to apply common labels to resource selectors or not + #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelWithoutSelector")] + pub label_without_selector: Option, /// NamePrefix is a prefix appended to resources for Kustomize apps #[serde(default, skip_serializing_if = "Option::is_none", rename = "namePrefix")] pub name_prefix: Option, @@ -899,6 +905,9 @@ pub struct ApplicationSourceKustomize { /// Images is a list of Kustomize image override specifications #[serde(default, skip_serializing_if = "Option::is_none")] pub images: Option>, + /// LabelWithoutSelector specifies whether to apply common labels to resource selectors or not + #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelWithoutSelector")] + pub label_without_selector: Option, /// NamePrefix is a prefix appended to resources for Kustomize apps #[serde(default, skip_serializing_if = "Option::is_none", rename = "namePrefix")] pub name_prefix: Option, @@ -1159,6 +1168,9 @@ pub struct ApplicationSourcesKustomize { /// Images is a list of Kustomize image override specifications #[serde(default, skip_serializing_if = "Option::is_none")] pub images: Option>, + /// LabelWithoutSelector specifies whether to apply common labels to resource selectors or not + #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelWithoutSelector")] + pub label_without_selector: Option, /// NamePrefix is a prefix appended to resources for Kustomize apps #[serde(default, skip_serializing_if = "Option::is_none", rename = "namePrefix")] pub name_prefix: Option, @@ -1398,6 +1410,9 @@ pub struct ApplicationStatusHistory { pub deployed_at: String, /// ID is an auto incrementing identifier of the RevisionHistory pub id: i64, + /// InitiatedBy contains information about who initiated the operations + #[serde(default, skip_serializing_if = "Option::is_none", rename = "initiatedBy")] + pub initiated_by: Option, /// Revision holds the revision the sync was performed against #[serde(default, skip_serializing_if = "Option::is_none")] pub revision: Option, @@ -1412,6 +1427,17 @@ pub struct ApplicationStatusHistory { pub sources: Option>, } +/// InitiatedBy contains information about who initiated the operations +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct ApplicationStatusHistoryInitiatedBy { + /// Automated is set to true if operation was initiated automatically by the application controller. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub automated: Option, + /// Username contains the name of a user who started operation + #[serde(default, skip_serializing_if = "Option::is_none")] + pub username: Option, +} + /// Source is a reference to the application source used for the sync operation #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApplicationStatusHistorySource { @@ -1577,6 +1603,9 @@ pub struct ApplicationStatusHistorySourceKustomize { /// Images is a list of Kustomize image override specifications #[serde(default, skip_serializing_if = "Option::is_none")] pub images: Option>, + /// LabelWithoutSelector specifies whether to apply common labels to resource selectors or not + #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelWithoutSelector")] + pub label_without_selector: Option, /// NamePrefix is a prefix appended to resources for Kustomize apps #[serde(default, skip_serializing_if = "Option::is_none", rename = "namePrefix")] pub name_prefix: Option, @@ -1837,6 +1866,9 @@ pub struct ApplicationStatusHistorySourcesKustomize { /// Images is a list of Kustomize image override specifications #[serde(default, skip_serializing_if = "Option::is_none")] pub images: Option>, + /// LabelWithoutSelector specifies whether to apply common labels to resource selectors or not + #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelWithoutSelector")] + pub label_without_selector: Option, /// NamePrefix is a prefix appended to resources for Kustomize apps #[serde(default, skip_serializing_if = "Option::is_none", rename = "namePrefix")] pub name_prefix: Option, @@ -2226,6 +2258,9 @@ pub struct ApplicationStatusOperationStateOperationSyncSourceKustomize { /// Images is a list of Kustomize image override specifications #[serde(default, skip_serializing_if = "Option::is_none")] pub images: Option>, + /// LabelWithoutSelector specifies whether to apply common labels to resource selectors or not + #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelWithoutSelector")] + pub label_without_selector: Option, /// NamePrefix is a prefix appended to resources for Kustomize apps #[serde(default, skip_serializing_if = "Option::is_none", rename = "namePrefix")] pub name_prefix: Option, @@ -2486,6 +2521,9 @@ pub struct ApplicationStatusOperationStateOperationSyncSourcesKustomize { /// Images is a list of Kustomize image override specifications #[serde(default, skip_serializing_if = "Option::is_none")] pub images: Option>, + /// LabelWithoutSelector specifies whether to apply common labels to resource selectors or not + #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelWithoutSelector")] + pub label_without_selector: Option, /// NamePrefix is a prefix appended to resources for Kustomize apps #[serde(default, skip_serializing_if = "Option::is_none", rename = "namePrefix")] pub name_prefix: Option, @@ -2834,6 +2872,9 @@ pub struct ApplicationStatusOperationStateSyncResultSourceKustomize { /// Images is a list of Kustomize image override specifications #[serde(default, skip_serializing_if = "Option::is_none")] pub images: Option>, + /// LabelWithoutSelector specifies whether to apply common labels to resource selectors or not + #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelWithoutSelector")] + pub label_without_selector: Option, /// NamePrefix is a prefix appended to resources for Kustomize apps #[serde(default, skip_serializing_if = "Option::is_none", rename = "namePrefix")] pub name_prefix: Option, @@ -3094,6 +3135,9 @@ pub struct ApplicationStatusOperationStateSyncResultSourcesKustomize { /// Images is a list of Kustomize image override specifications #[serde(default, skip_serializing_if = "Option::is_none")] pub images: Option>, + /// LabelWithoutSelector specifies whether to apply common labels to resource selectors or not + #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelWithoutSelector")] + pub label_without_selector: Option, /// NamePrefix is a prefix appended to resources for Kustomize apps #[serde(default, skip_serializing_if = "Option::is_none", rename = "namePrefix")] pub name_prefix: Option, @@ -3468,6 +3512,9 @@ pub struct ApplicationStatusSyncComparedToSourceKustomize { /// Images is a list of Kustomize image override specifications #[serde(default, skip_serializing_if = "Option::is_none")] pub images: Option>, + /// LabelWithoutSelector specifies whether to apply common labels to resource selectors or not + #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelWithoutSelector")] + pub label_without_selector: Option, /// NamePrefix is a prefix appended to resources for Kustomize apps #[serde(default, skip_serializing_if = "Option::is_none", rename = "namePrefix")] pub name_prefix: Option, @@ -3728,6 +3775,9 @@ pub struct ApplicationStatusSyncComparedToSourcesKustomize { /// Images is a list of Kustomize image override specifications #[serde(default, skip_serializing_if = "Option::is_none")] pub images: Option>, + /// LabelWithoutSelector specifies whether to apply common labels to resource selectors or not + #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelWithoutSelector")] + pub label_without_selector: Option, /// NamePrefix is a prefix appended to resources for Kustomize apps #[serde(default, skip_serializing_if = "Option::is_none", rename = "namePrefix")] pub name_prefix: Option, diff --git a/kube-custom-resources-rs/src/argoproj_io/v1alpha1/appprojects.rs b/kube-custom-resources-rs/src/argoproj_io/v1alpha1/appprojects.rs index 603dbd0f8..e8f8b1e2b 100644 --- a/kube-custom-resources-rs/src/argoproj_io/v1alpha1/appprojects.rs +++ b/kube-custom-resources-rs/src/argoproj_io/v1alpha1/appprojects.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1alpha1/appprojects.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/argoproj_io/v1alpha1/argocdexports.rs b/kube-custom-resources-rs/src/argoproj_io/v1alpha1/argocdexports.rs index f60a013c2..ecc3d6934 100644 --- a/kube-custom-resources-rs/src/argoproj_io/v1alpha1/argocdexports.rs +++ b/kube-custom-resources-rs/src/argoproj_io/v1alpha1/argocdexports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1alpha1/argocdexports.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/argoproj_io/v1alpha1/argocds.rs b/kube-custom-resources-rs/src/argoproj_io/v1alpha1/argocds.rs index 3c33f5b34..8a0a4f5c1 100644 --- a/kube-custom-resources-rs/src/argoproj_io/v1alpha1/argocds.rs +++ b/kube-custom-resources-rs/src/argoproj_io/v1alpha1/argocds.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1alpha1/argocds.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -35,6 +35,9 @@ pub struct ArgoCDSpec { /// Controller defines the Application Controller options for ArgoCD. #[serde(default, skip_serializing_if = "Option::is_none")] pub controller: Option, + /// DefaultClusterScopedRoleDisabled will disable creation of default ClusterRoles for a cluster scoped instance. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultClusterScopedRoleDisabled")] + pub default_cluster_scoped_role_disabled: Option, /// Deprecated field. Support dropped in v1beta1 version. Dex defines the Dex server options for ArgoCD. #[serde(default, skip_serializing_if = "Option::is_none")] pub dex: Option, @@ -793,6 +796,9 @@ pub struct ArgoCDKustomizeVersions { /// Monitoring defines whether workload status monitoring configuration for this instance. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArgoCDMonitoring { + /// DisableMetrics field can be used to enable or disable the collection of Metrics on Openshift + #[serde(default, skip_serializing_if = "Option::is_none", rename = "disableMetrics")] + pub disable_metrics: Option, /// Enabled defines whether workload status monitoring is enabled for this instance or not pub enabled: bool, } @@ -4272,6 +4278,9 @@ pub struct ArgoCDSsoDexResourcesClaims { /// Keycloak contains the configuration for Argo CD keycloak authentication #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArgoCDSsoKeycloak { + /// Host is the hostname to use for Ingress/Route resources. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub host: Option, /// Image is the Keycloak container image. #[serde(default, skip_serializing_if = "Option::is_none")] pub image: Option, diff --git a/kube-custom-resources-rs/src/argoproj_io/v1beta1/argocds.rs b/kube-custom-resources-rs/src/argoproj_io/v1beta1/argocds.rs index 183702f33..692df398b 100644 --- a/kube-custom-resources-rs/src/argoproj_io/v1beta1/argocds.rs +++ b/kube-custom-resources-rs/src/argoproj_io/v1beta1/argocds.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1beta1/argocds.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -35,6 +35,9 @@ pub struct ArgoCDSpec { /// Controller defines the Application Controller options for ArgoCD. #[serde(default, skip_serializing_if = "Option::is_none")] pub controller: Option, + /// DefaultClusterScopedRoleDisabled will disable creation of default ClusterRoles for a cluster scoped instance. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultClusterScopedRoleDisabled")] + pub default_cluster_scoped_role_disabled: Option, /// DisableAdmin will disable the admin user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "disableAdmin")] pub disable_admin: Option, @@ -756,6 +759,9 @@ pub struct ArgoCDKustomizeVersions { /// Monitoring defines whether workload status monitoring configuration for this instance. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArgoCDMonitoring { + /// DisableMetrics field can be used to enable or disable the collection of Metrics on Openshift + #[serde(default, skip_serializing_if = "Option::is_none", rename = "disableMetrics")] + pub disable_metrics: Option, /// Enabled defines whether workload status monitoring is enabled for this instance or not pub enabled: bool, } @@ -4321,6 +4327,9 @@ pub struct ArgoCDSsoDexResourcesClaims { /// Keycloak contains the configuration for Argo CD keycloak authentication #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArgoCDSsoKeycloak { + /// Host is the hostname to use for Ingress/Route resources. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub host: Option, /// Image is the Keycloak container image. #[serde(default, skip_serializing_if = "Option::is_none")] pub image: Option, diff --git a/kube-custom-resources-rs/src/asdb_aerospike_com/v1/aerospikeclusters.rs b/kube-custom-resources-rs/src/asdb_aerospike_com/v1/aerospikeclusters.rs index e7f878ca9..0214062e6 100644 --- a/kube-custom-resources-rs/src/asdb_aerospike_com/v1/aerospikeclusters.rs +++ b/kube-custom-resources-rs/src/asdb_aerospike_com/v1/aerospikeclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aerospike/aerospike-kubernetes-operator/asdb.aerospike.com/v1/aerospikeclusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -5262,6 +5262,9 @@ pub struct AerospikeClusterStatus { /// Aerospike server image #[serde(default, skip_serializing_if = "Option::is_none")] pub image: Option, + /// IsReadinessProbeEnabled tells whether the readiness probe is present in all pods or not. Moreover, PodDisruptionBudget should be created for the Aerospike cluster only when this field is enabled. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "isReadinessProbeEnabled")] + pub is_readiness_probe_enabled: Option, /// K8sNodeBlockList is a list of Kubernetes nodes which are not used for Aerospike pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "k8sNodeBlockList")] pub k8s_node_block_list: Option>, @@ -8049,12 +8052,12 @@ pub struct AerospikeClusterStatusPods { /// Image is the Aerospike image this pod is running. #[serde(default, skip_serializing_if = "Option::is_none")] pub image: Option, + /// InitImage is the Aerospike init image this pod's init container is running. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "initImage")] + pub init_image: Option, /// InitializedVolumes is the list of volume names that have already been initialized. #[serde(default, skip_serializing_if = "Option::is_none", rename = "initializedVolumes")] pub initialized_volumes: Option>, - /// IsSecurityEnabled is true if security is enabled in the pod - #[serde(default, skip_serializing_if = "Option::is_none", rename = "isSecurityEnabled")] - pub is_security_enabled: Option, /// NetworkPolicyHash is ripemd160 hash of NetworkPolicy used by this pod #[serde(default, skip_serializing_if = "Option::is_none", rename = "networkPolicyHash")] pub network_policy_hash: Option, diff --git a/kube-custom-resources-rs/src/asdb_aerospike_com/v1beta1/aerospikeclusters.rs b/kube-custom-resources-rs/src/asdb_aerospike_com/v1beta1/aerospikeclusters.rs index a8fb3b8e6..7a0017e1d 100644 --- a/kube-custom-resources-rs/src/asdb_aerospike_com/v1beta1/aerospikeclusters.rs +++ b/kube-custom-resources-rs/src/asdb_aerospike_com/v1beta1/aerospikeclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aerospike/aerospike-kubernetes-operator/asdb.aerospike.com/v1beta1/aerospikeclusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/atlasmap_io/v1alpha1/atlasmaps.rs b/kube-custom-resources-rs/src/atlasmap_io/v1alpha1/atlasmaps.rs index 14f91ec6c..1d628455f 100644 --- a/kube-custom-resources-rs/src/atlasmap_io/v1alpha1/atlasmaps.rs +++ b/kube-custom-resources-rs/src/atlasmap_io/v1alpha1/atlasmaps.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/atlasmap/atlasmap-operator/atlasmap.io/v1alpha1/atlasmaps.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/auth_ops42_org/v1alpha1/awsauthsyncconfigs.rs b/kube-custom-resources-rs/src/auth_ops42_org/v1alpha1/awsauthsyncconfigs.rs index 14c8c59a7..50218380d 100644 --- a/kube-custom-resources-rs/src/auth_ops42_org/v1alpha1/awsauthsyncconfigs.rs +++ b/kube-custom-resources-rs/src/auth_ops42_org/v1alpha1/awsauthsyncconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/gp42/aws-auth-operator/auth.ops42.org/v1alpha1/awsauthsyncconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/authzed_com/v1alpha1/spicedbclusters.rs b/kube-custom-resources-rs/src/authzed_com/v1alpha1/spicedbclusters.rs index 61cbf077f..55e54a40d 100644 --- a/kube-custom-resources-rs/src/authzed_com/v1alpha1/spicedbclusters.rs +++ b/kube-custom-resources-rs/src/authzed_com/v1alpha1/spicedbclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/authzed/spicedb-operator/authzed.com/v1alpha1/spicedbclusters.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/automation_kubensync_com/v1alpha1/managedresources.rs b/kube-custom-resources-rs/src/automation_kubensync_com/v1alpha1/managedresources.rs index 40622cf86..50497cdd5 100644 --- a/kube-custom-resources-rs/src/automation_kubensync_com/v1alpha1/managedresources.rs +++ b/kube-custom-resources-rs/src/automation_kubensync_com/v1alpha1/managedresources.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/eryalito/kubensync-operator/automation.kubensync.com/v1alpha1/managedresources.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/autoscaling_k8s_io/v1/verticalpodautoscalercheckpoints.rs b/kube-custom-resources-rs/src/autoscaling_k8s_io/v1/verticalpodautoscalercheckpoints.rs index 6aaed4511..81179baa5 100644 --- a/kube-custom-resources-rs/src/autoscaling_k8s_io/v1/verticalpodautoscalercheckpoints.rs +++ b/kube-custom-resources-rs/src/autoscaling_k8s_io/v1/verticalpodautoscalercheckpoints.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes/autoscaler/autoscaling.k8s.io/v1/verticalpodautoscalercheckpoints.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/autoscaling_k8s_io/v1/verticalpodautoscalers.rs b/kube-custom-resources-rs/src/autoscaling_k8s_io/v1/verticalpodautoscalers.rs index 6b66722f2..d78346e08 100644 --- a/kube-custom-resources-rs/src/autoscaling_k8s_io/v1/verticalpodautoscalers.rs +++ b/kube-custom-resources-rs/src/autoscaling_k8s_io/v1/verticalpodautoscalers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes/autoscaler/autoscaling.k8s.io/v1/verticalpodautoscalers.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/autoscaling_k8s_io/v1beta2/verticalpodautoscalercheckpoints.rs b/kube-custom-resources-rs/src/autoscaling_k8s_io/v1beta2/verticalpodautoscalercheckpoints.rs index 28e0dc9a1..ac8743b86 100644 --- a/kube-custom-resources-rs/src/autoscaling_k8s_io/v1beta2/verticalpodautoscalercheckpoints.rs +++ b/kube-custom-resources-rs/src/autoscaling_k8s_io/v1beta2/verticalpodautoscalercheckpoints.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes/autoscaler/autoscaling.k8s.io/v1beta2/verticalpodautoscalercheckpoints.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/autoscaling_k8s_io/v1beta2/verticalpodautoscalers.rs b/kube-custom-resources-rs/src/autoscaling_k8s_io/v1beta2/verticalpodautoscalers.rs index 76d969b0f..7f0a065dc 100644 --- a/kube-custom-resources-rs/src/autoscaling_k8s_io/v1beta2/verticalpodautoscalers.rs +++ b/kube-custom-resources-rs/src/autoscaling_k8s_io/v1beta2/verticalpodautoscalers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes/autoscaler/autoscaling.k8s.io/v1beta2/verticalpodautoscalers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/autoscaling_karmada_io/v1alpha1/cronfederatedhpas.rs b/kube-custom-resources-rs/src/autoscaling_karmada_io/v1alpha1/cronfederatedhpas.rs index 14f3e2110..444b7e51b 100644 --- a/kube-custom-resources-rs/src/autoscaling_karmada_io/v1alpha1/cronfederatedhpas.rs +++ b/kube-custom-resources-rs/src/autoscaling_karmada_io/v1alpha1/cronfederatedhpas.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/autoscaling.karmada.io/v1alpha1/cronfederatedhpas.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/autoscaling_karmada_io/v1alpha1/federatedhpas.rs b/kube-custom-resources-rs/src/autoscaling_karmada_io/v1alpha1/federatedhpas.rs index d945273a4..f401231ac 100644 --- a/kube-custom-resources-rs/src/autoscaling_karmada_io/v1alpha1/federatedhpas.rs +++ b/kube-custom-resources-rs/src/autoscaling_karmada_io/v1alpha1/federatedhpas.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/autoscaling.karmada.io/v1alpha1/federatedhpas.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/awx_ansible_com/v1beta1/awxbackups.rs b/kube-custom-resources-rs/src/awx_ansible_com/v1beta1/awxbackups.rs index 369ee1e10..bda8b46cc 100644 --- a/kube-custom-resources-rs/src/awx_ansible_com/v1beta1/awxbackups.rs +++ b/kube-custom-resources-rs/src/awx_ansible_com/v1beta1/awxbackups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/ansible/awx-operator/awx.ansible.com/v1beta1/awxbackups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/awx_ansible_com/v1beta1/awxrestores.rs b/kube-custom-resources-rs/src/awx_ansible_com/v1beta1/awxrestores.rs index 169a0c84d..5de0a99f0 100644 --- a/kube-custom-resources-rs/src/awx_ansible_com/v1beta1/awxrestores.rs +++ b/kube-custom-resources-rs/src/awx_ansible_com/v1beta1/awxrestores.rs @@ -1,11 +1,12 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/ansible/awx-operator/awx.ansible.com/v1beta1/awxrestores.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { pub use kube::CustomResource; pub use serde::{Serialize, Deserialize}; + pub use std::collections::BTreeMap; } use self::prelude::*; @@ -67,6 +68,9 @@ pub struct AWXRestoreSpec { /// Maintain some of the recommended `app.kubernetes.io/*` labels on the resource (self) #[serde(default, skip_serializing_if = "Option::is_none")] pub set_self_labels: Option, + /// Overrides for the AWX spec + #[serde(default, skip_serializing_if = "Option::is_none")] + pub spec_overrides: Option>, } #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] diff --git a/kube-custom-resources-rs/src/awx_ansible_com/v1beta1/awxs.rs b/kube-custom-resources-rs/src/awx_ansible_com/v1beta1/awxs.rs index aa17726da..adbcd8ede 100644 --- a/kube-custom-resources-rs/src/awx_ansible_com/v1beta1/awxs.rs +++ b/kube-custom-resources-rs/src/awx_ansible_com/v1beta1/awxs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/ansible/awx-operator/awx.ansible.com/v1beta1/awxs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -89,6 +89,9 @@ pub struct AWXSpec { /// Extra settings to specify for AWX #[serde(default, skip_serializing_if = "Option::is_none")] pub extra_settings: Option>, + /// Extra ConfigMaps or Secrets of settings files to specify for AWX + #[serde(default, skip_serializing_if = "Option::is_none")] + pub extra_settings_files: Option, /// Specify extra volumes to add to the application pod #[serde(default, skip_serializing_if = "Option::is_none")] pub extra_volumes: Option, @@ -859,6 +862,31 @@ pub struct AWXExtraSettings { pub value: Option, } +/// Extra ConfigMaps or Secrets of settings files to specify for AWX +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct AWXExtraSettingsFiles { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub configmaps: Option>, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub secrets: Option>, +} + +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct AWXExtraSettingsFilesConfigmaps { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub key: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, +} + +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct AWXExtraSettingsFilesSecrets { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub key: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, +} + #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AWXHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/apimgmtapis.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/apimgmtapis.rs index 9472aa04b..5ed70f6b3 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/apimgmtapis.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/apimgmtapis.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/apimgmtapis.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/apimservices.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/apimservices.rs index bea664460..7994d2727 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/apimservices.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/apimservices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/apimservices.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/appinsights.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/appinsights.rs index d8a690ea9..fbc838320 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/appinsights.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/appinsights.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/appinsights.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/appinsightsapikeys.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/appinsightsapikeys.rs index 29ed987aa..ff1748a58 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/appinsightsapikeys.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/appinsightsapikeys.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/appinsightsapikeys.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azureloadbalancers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azureloadbalancers.rs index ae22ee36c..d07a6197a 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azureloadbalancers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azureloadbalancers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azureloadbalancers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurenetworkinterfaces.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurenetworkinterfaces.rs index bb44f843d..fd9b3ea27 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurenetworkinterfaces.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurenetworkinterfaces.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurenetworkinterfaces.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurepublicipaddresses.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurepublicipaddresses.rs index fcbca4d2e..f1136fb6e 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurepublicipaddresses.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurepublicipaddresses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurepublicipaddresses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlactions.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlactions.rs index 10cc2e7e4..4b0850af1 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlactions.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlactions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlactions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqldatabases.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqldatabases.rs index 271a802a6..8d06de1d6 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqldatabases.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqldatabases.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqldatabases.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlfailovergroups.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlfailovergroups.rs index ec79fd441..60c1d3773 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlfailovergroups.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlfailovergroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlfailovergroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlfirewallrules.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlfirewallrules.rs index 44ed182d6..aa2934e8d 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlfirewallrules.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlfirewallrules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlfirewallrules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlmanagedusers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlmanagedusers.rs index e07802547..315af63d6 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlmanagedusers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlmanagedusers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlmanagedusers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlservers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlservers.rs index 9298a828e..b44b995d9 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlservers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlservers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlservers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlusers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlusers.rs index 091a1202c..6f0141a71 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlusers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlusers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlusers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlvnetrules.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlvnetrules.rs index 3a9c70e9d..db6b8378d 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlvnetrules.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlvnetrules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlvnetrules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurevirtualmachineextensions.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurevirtualmachineextensions.rs index a914527d3..ed424f4cb 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurevirtualmachineextensions.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurevirtualmachineextensions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurevirtualmachineextensions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurevirtualmachines.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurevirtualmachines.rs index a77f8397f..51c1e7c3a 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurevirtualmachines.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurevirtualmachines.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurevirtualmachines.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurevmscalesets.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurevmscalesets.rs index e7727d933..e05da3f59 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurevmscalesets.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurevmscalesets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurevmscalesets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/blobcontainers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/blobcontainers.rs index 50fe49ba3..3c67fbee6 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/blobcontainers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/blobcontainers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/blobcontainers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/consumergroups.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/consumergroups.rs index 87cfa6f50..e0142e402 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/consumergroups.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/consumergroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/consumergroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/cosmosdbs.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/cosmosdbs.rs index e3223b1c9..1fbb67b71 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/cosmosdbs.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/cosmosdbs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/cosmosdbs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/eventhubnamespaces.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/eventhubnamespaces.rs index 62de97737..e76ac2f58 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/eventhubnamespaces.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/eventhubnamespaces.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/eventhubnamespaces.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/eventhubs.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/eventhubs.rs index 6d1ab1b92..1734dcc58 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/eventhubs.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/eventhubs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/eventhubs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/keyvaultkeys.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/keyvaultkeys.rs index 39fd56f01..b5ff237b2 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/keyvaultkeys.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/keyvaultkeys.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/keyvaultkeys.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/keyvaults.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/keyvaults.rs index 5324003b6..8db3561ad 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/keyvaults.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/keyvaults.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/keyvaults.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlaadusers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlaadusers.rs index b09c137ef..32a7e33fe 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlaadusers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlaadusers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlaadusers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqldatabases.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqldatabases.rs index b5c9d2754..02e9449ac 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqldatabases.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqldatabases.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqldatabases.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlfirewallrules.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlfirewallrules.rs index c269c8d64..a590fdc63 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlfirewallrules.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlfirewallrules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlfirewallrules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlserveradministrators.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlserveradministrators.rs index 43501edd0..91e4de4e7 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlserveradministrators.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlserveradministrators.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlserveradministrators.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlservers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlservers.rs index 682b513a1..179851a06 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlservers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlservers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlservers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlusers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlusers.rs index 72274ae6d..4e4f6159a 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlusers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlusers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlusers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlvnetrules.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlvnetrules.rs index d0b8bb6b8..924347e85 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlvnetrules.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlvnetrules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlvnetrules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqldatabases.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqldatabases.rs index 2c2168ed9..eac0d4db8 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqldatabases.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqldatabases.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqldatabases.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlfirewallrules.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlfirewallrules.rs index 619cddf35..85daab72f 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlfirewallrules.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlfirewallrules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlfirewallrules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlservers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlservers.rs index 078698d83..306cd3b84 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlservers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlservers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlservers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlusers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlusers.rs index 78d7fc33b..ada3fd76a 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlusers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlusers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlusers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlvnetrules.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlvnetrules.rs index a7cd7c8c9..302b5cfd5 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlvnetrules.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlvnetrules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlvnetrules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/rediscacheactions.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/rediscacheactions.rs index ddaf08d51..688a91d88 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/rediscacheactions.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/rediscacheactions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/rediscacheactions.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/rediscachefirewallrules.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/rediscachefirewallrules.rs index 8c36ed0a4..8f83404b6 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/rediscachefirewallrules.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/rediscachefirewallrules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/rediscachefirewallrules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/resourcegroups.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/resourcegroups.rs index 9c6641ea4..1d3108639 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/resourcegroups.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/resourcegroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/resourcegroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/storageaccounts.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/storageaccounts.rs index dc1dbc778..fd7b90188 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/storageaccounts.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/storageaccounts.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/storageaccounts.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/virtualnetworks.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/virtualnetworks.rs index 2e074a25e..e270841f7 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/virtualnetworks.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/virtualnetworks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/virtualnetworks.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/blobcontainers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/blobcontainers.rs index 0388bacde..caf80f19c 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/blobcontainers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/blobcontainers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/blobcontainers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/mysqlaadusers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/mysqlaadusers.rs index c0263836a..6107a51d7 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/mysqlaadusers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/mysqlaadusers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/mysqlaadusers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/mysqlservers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/mysqlservers.rs index feaea17e9..77db6314d 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/mysqlservers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/mysqlservers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/mysqlservers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/mysqlusers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/mysqlusers.rs index 83f1df211..796bfa86a 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/mysqlusers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/mysqlusers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/mysqlusers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/postgresqlservers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/postgresqlservers.rs index 2b529d571..3be759d45 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/postgresqlservers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/postgresqlservers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/postgresqlservers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqldatabases.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqldatabases.rs index c2a129887..46ebeec19 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqldatabases.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqldatabases.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqldatabases.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqlfailovergroups.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqlfailovergroups.rs index 16e19e3da..56b86f1e4 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqlfailovergroups.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqlfailovergroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlfailovergroups.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqlfirewallrules.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqlfirewallrules.rs index dc6e1f810..30f423b67 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqlfirewallrules.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqlfirewallrules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlfirewallrules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqlservers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqlservers.rs index c68c4f95c..f13a706bc 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqlservers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqlservers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlservers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/b3scale_infra_run/v1/bbbfrontends.rs b/kube-custom-resources-rs/src/b3scale_infra_run/v1/bbbfrontends.rs index 2bd77d0f8..125eed100 100644 --- a/kube-custom-resources-rs/src/b3scale_infra_run/v1/bbbfrontends.rs +++ b/kube-custom-resources-rs/src/b3scale_infra_run/v1/bbbfrontends.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/b3scale/b3scale-operator/b3scale.infra.run/v1/bbbfrontends.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/b3scale_io/v1/bbbfrontends.rs b/kube-custom-resources-rs/src/b3scale_io/v1/bbbfrontends.rs index bcc089c84..783b8358e 100644 --- a/kube-custom-resources-rs/src/b3scale_io/v1/bbbfrontends.rs +++ b/kube-custom-resources-rs/src/b3scale_io/v1/bbbfrontends.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/b3scale/b3scale-operator/b3scale.io/v1/bbbfrontends.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/batch_volcano_sh/v1alpha1/jobs.rs b/kube-custom-resources-rs/src/batch_volcano_sh/v1alpha1/jobs.rs index 9f7bfa57a..3ab90b8ab 100644 --- a/kube-custom-resources-rs/src/batch_volcano_sh/v1alpha1/jobs.rs +++ b/kube-custom-resources-rs/src/batch_volcano_sh/v1alpha1/jobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/volcano-sh/volcano/batch.volcano.sh/v1alpha1/jobs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/beat_k8s_elastic_co/v1beta1/beats.rs b/kube-custom-resources-rs/src/beat_k8s_elastic_co/v1beta1/beats.rs index d50cb2cb9..70a2a802b 100644 --- a/kube-custom-resources-rs/src/beat_k8s_elastic_co/v1beta1/beats.rs +++ b/kube-custom-resources-rs/src/beat_k8s_elastic_co/v1beta1/beats.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/beat.k8s.elastic.co/v1beta1/beats.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -1304,8 +1304,12 @@ pub struct BeatDaemonSetPodTemplateSpecContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1345,8 +1349,12 @@ pub struct BeatDaemonSetPodTemplateSpecContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1372,8 +1380,12 @@ pub struct BeatDaemonSetPodTemplateSpecContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDaemonSetPodTemplateSpecContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -1385,8 +1397,12 @@ pub struct BeatDaemonSetPodTemplateSpecContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDaemonSetPodTemplateSpecContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -2533,8 +2549,12 @@ pub struct BeatDaemonSetPodTemplateSpecEphemeralContainersEnvValueFromConfigMapK /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2574,8 +2594,12 @@ pub struct BeatDaemonSetPodTemplateSpecEphemeralContainersEnvValueFromSecretKeyR /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2601,8 +2625,12 @@ pub struct BeatDaemonSetPodTemplateSpecEphemeralContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDaemonSetPodTemplateSpecEphemeralContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -2614,8 +2642,12 @@ pub struct BeatDaemonSetPodTemplateSpecEphemeralContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDaemonSetPodTemplateSpecEphemeralContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -3527,8 +3559,7 @@ pub struct BeatDaemonSetPodTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, /// IP address of the host file entry. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub ip: Option, + pub ip: String, } /// LocalObjectReference contains enough information to let you locate the @@ -3536,8 +3567,12 @@ pub struct BeatDaemonSetPodTemplateSpecHostAliases { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDaemonSetPodTemplateSpecImagePullSecrets { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -3755,8 +3790,12 @@ pub struct BeatDaemonSetPodTemplateSpecInitContainersEnvValueFromConfigMapKeyRef /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3796,8 +3835,12 @@ pub struct BeatDaemonSetPodTemplateSpecInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3823,8 +3866,12 @@ pub struct BeatDaemonSetPodTemplateSpecInitContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDaemonSetPodTemplateSpecInitContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -3836,8 +3883,12 @@ pub struct BeatDaemonSetPodTemplateSpecInitContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDaemonSetPodTemplateSpecInitContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -5468,8 +5519,12 @@ pub struct BeatDaemonSetPodTemplateSpecVolumesCephfs { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDaemonSetPodTemplateSpecVolumesCephfsSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5504,8 +5559,12 @@ pub struct BeatDaemonSetPodTemplateSpecVolumesCinder { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDaemonSetPodTemplateSpecVolumesCinderSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5532,8 +5591,12 @@ pub struct BeatDaemonSetPodTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -5597,8 +5660,12 @@ pub struct BeatDaemonSetPodTemplateSpecVolumesCsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDaemonSetPodTemplateSpecVolumesCsiNodePublishSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6054,8 +6121,12 @@ pub struct BeatDaemonSetPodTemplateSpecVolumesFlexVolume { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDaemonSetPodTemplateSpecVolumesFlexVolumeSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6211,8 +6282,12 @@ pub struct BeatDaemonSetPodTemplateSpecVolumesIscsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDaemonSetPodTemplateSpecVolumesIscsiSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6420,8 +6495,12 @@ pub struct BeatDaemonSetPodTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -6517,8 +6596,12 @@ pub struct BeatDaemonSetPodTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional field specify whether the Secret or its key must be defined @@ -6647,8 +6730,12 @@ pub struct BeatDaemonSetPodTemplateSpecVolumesRbd { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDaemonSetPodTemplateSpecVolumesRbdSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6698,8 +6785,12 @@ pub struct BeatDaemonSetPodTemplateSpecVolumesScaleIo { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDaemonSetPodTemplateSpecVolumesScaleIoSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6790,8 +6881,12 @@ pub struct BeatDaemonSetPodTemplateSpecVolumesStorageos { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDaemonSetPodTemplateSpecVolumesStorageosSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -8099,8 +8194,12 @@ pub struct BeatDeploymentPodTemplateSpecContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -8140,8 +8239,12 @@ pub struct BeatDeploymentPodTemplateSpecContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -8167,8 +8270,12 @@ pub struct BeatDeploymentPodTemplateSpecContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDeploymentPodTemplateSpecContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -8180,8 +8287,12 @@ pub struct BeatDeploymentPodTemplateSpecContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDeploymentPodTemplateSpecContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -9328,8 +9439,12 @@ pub struct BeatDeploymentPodTemplateSpecEphemeralContainersEnvValueFromConfigMap /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -9369,8 +9484,12 @@ pub struct BeatDeploymentPodTemplateSpecEphemeralContainersEnvValueFromSecretKey /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -9396,8 +9515,12 @@ pub struct BeatDeploymentPodTemplateSpecEphemeralContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDeploymentPodTemplateSpecEphemeralContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -9409,8 +9532,12 @@ pub struct BeatDeploymentPodTemplateSpecEphemeralContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDeploymentPodTemplateSpecEphemeralContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -10322,8 +10449,7 @@ pub struct BeatDeploymentPodTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, /// IP address of the host file entry. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub ip: Option, + pub ip: String, } /// LocalObjectReference contains enough information to let you locate the @@ -10331,8 +10457,12 @@ pub struct BeatDeploymentPodTemplateSpecHostAliases { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDeploymentPodTemplateSpecImagePullSecrets { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -10550,8 +10680,12 @@ pub struct BeatDeploymentPodTemplateSpecInitContainersEnvValueFromConfigMapKeyRe /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -10591,8 +10725,12 @@ pub struct BeatDeploymentPodTemplateSpecInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -10618,8 +10756,12 @@ pub struct BeatDeploymentPodTemplateSpecInitContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDeploymentPodTemplateSpecInitContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -10631,8 +10773,12 @@ pub struct BeatDeploymentPodTemplateSpecInitContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDeploymentPodTemplateSpecInitContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -12263,8 +12409,12 @@ pub struct BeatDeploymentPodTemplateSpecVolumesCephfs { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDeploymentPodTemplateSpecVolumesCephfsSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -12299,8 +12449,12 @@ pub struct BeatDeploymentPodTemplateSpecVolumesCinder { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDeploymentPodTemplateSpecVolumesCinderSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -12327,8 +12481,12 @@ pub struct BeatDeploymentPodTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -12392,8 +12550,12 @@ pub struct BeatDeploymentPodTemplateSpecVolumesCsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDeploymentPodTemplateSpecVolumesCsiNodePublishSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -12849,8 +13011,12 @@ pub struct BeatDeploymentPodTemplateSpecVolumesFlexVolume { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDeploymentPodTemplateSpecVolumesFlexVolumeSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -13006,8 +13172,12 @@ pub struct BeatDeploymentPodTemplateSpecVolumesIscsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDeploymentPodTemplateSpecVolumesIscsiSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -13215,8 +13385,12 @@ pub struct BeatDeploymentPodTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -13312,8 +13486,12 @@ pub struct BeatDeploymentPodTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional field specify whether the Secret or its key must be defined @@ -13442,8 +13620,12 @@ pub struct BeatDeploymentPodTemplateSpecVolumesRbd { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDeploymentPodTemplateSpecVolumesRbdSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -13493,8 +13675,12 @@ pub struct BeatDeploymentPodTemplateSpecVolumesScaleIo { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDeploymentPodTemplateSpecVolumesScaleIoSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -13585,8 +13771,12 @@ pub struct BeatDeploymentPodTemplateSpecVolumesStorageos { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeatDeploymentPodTemplateSpecVolumesStorageosSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } diff --git a/kube-custom-resources-rs/src/beegfs_csi_netapp_com/v1/beegfsdrivers.rs b/kube-custom-resources-rs/src/beegfs_csi_netapp_com/v1/beegfsdrivers.rs index f8453273c..899ac4b4a 100644 --- a/kube-custom-resources-rs/src/beegfs_csi_netapp_com/v1/beegfsdrivers.rs +++ b/kube-custom-resources-rs/src/beegfs_csi_netapp_com/v1/beegfsdrivers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/ThinkParQ/beegfs-csi-driver/beegfs.csi.netapp.com/v1/beegfsdrivers.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/binding_operators_coreos_com/v1alpha1/bindablekinds.rs b/kube-custom-resources-rs/src/binding_operators_coreos_com/v1alpha1/bindablekinds.rs index 411203948..7a359bccd 100644 --- a/kube-custom-resources-rs/src/binding_operators_coreos_com/v1alpha1/bindablekinds.rs +++ b/kube-custom-resources-rs/src/binding_operators_coreos_com/v1alpha1/bindablekinds.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/redhat-developer/service-binding-operator/binding.operators.coreos.com/v1alpha1/bindablekinds.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/binding_operators_coreos_com/v1alpha1/servicebindings.rs b/kube-custom-resources-rs/src/binding_operators_coreos_com/v1alpha1/servicebindings.rs index 111b6ae27..8b0c254ab 100644 --- a/kube-custom-resources-rs/src/binding_operators_coreos_com/v1alpha1/servicebindings.rs +++ b/kube-custom-resources-rs/src/binding_operators_coreos_com/v1alpha1/servicebindings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/redhat-developer/service-binding-operator/binding.operators.coreos.com/v1alpha1/servicebindings.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/bitnami_com/v1alpha1/sealedsecrets.rs b/kube-custom-resources-rs/src/bitnami_com/v1alpha1/sealedsecrets.rs index 31e2fd0e1..392483086 100644 --- a/kube-custom-resources-rs/src/bitnami_com/v1alpha1/sealedsecrets.rs +++ b/kube-custom-resources-rs/src/bitnami_com/v1alpha1/sealedsecrets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/bitnami-labs/sealed-secrets/bitnami.com/v1alpha1/sealedsecrets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -11,7 +11,7 @@ mod prelude { } use self::prelude::*; -/// SealedSecretSpec is the specification of a SealedSecret +/// SealedSecretSpec is the specification of a SealedSecret. #[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "bitnami.com", version = "v1alpha1", kind = "SealedSecret", plural = "sealedsecrets")] #[kube(namespaced)] @@ -25,21 +25,27 @@ pub struct SealedSecretSpec { pub data: Option, #[serde(rename = "encryptedData")] pub encrypted_data: BTreeMap, - /// Template defines the structure of the Secret that will be created from this sealed secret. + /// Template defines the structure of the Secret that will be + /// created from this sealed secret. #[serde(default, skip_serializing_if = "Option::is_none")] pub template: Option, } -/// Template defines the structure of the Secret that will be created from this sealed secret. +/// Template defines the structure of the Secret that will be +/// created from this sealed secret. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SealedSecretTemplate { - /// Keys that should be templated using decrypted data + /// Keys that should be templated using decrypted data. #[serde(default, skip_serializing_if = "Option::is_none")] pub data: Option>, - /// Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. + /// Immutable, if set to true, ensures that data stored in the Secret cannot + /// be updated (only object metadata can be modified). + /// If not set to true, the field can be modified at any time. + /// Defaulted to nil. #[serde(default, skip_serializing_if = "Option::is_none")] pub immutable: Option, - /// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + /// Standard object's metadata. + /// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, /// Used to facilitate programmatic handling of secret data. @@ -47,7 +53,8 @@ pub struct SealedSecretTemplate { pub r#type: Option, } -/// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +/// Standard object's metadata. +/// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SealedSecretTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/bmc_tinkerbell_org/v1alpha1/jobs.rs b/kube-custom-resources-rs/src/bmc_tinkerbell_org/v1alpha1/jobs.rs index 465a3d29d..19d10c751 100644 --- a/kube-custom-resources-rs/src/bmc_tinkerbell_org/v1alpha1/jobs.rs +++ b/kube-custom-resources-rs/src/bmc_tinkerbell_org/v1alpha1/jobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/rufio/bmc.tinkerbell.org/v1alpha1/jobs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -18,14 +18,19 @@ use self::prelude::*; #[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct JobSpec { - /// MachineRef represents the Machine resource to execute the job. All the tasks in the job are executed for the same Machine. + /// MachineRef represents the Machine resource to execute the job. + /// All the tasks in the job are executed for the same Machine. #[serde(rename = "machineRef")] pub machine_ref: JobMachineRef, - /// Tasks represents a list of baseboard management actions to be executed. The tasks are executed sequentially. Controller waits for one task to complete before executing the next. If a single task fails, job execution stops and sets condition Failed. Condition Completed is set only if all the tasks were successful. + /// Tasks represents a list of baseboard management actions to be executed. + /// The tasks are executed sequentially. Controller waits for one task to complete before executing the next. + /// If a single task fails, job execution stops and sets condition Failed. + /// Condition Completed is set only if all the tasks were successful. pub tasks: Vec, } -/// MachineRef represents the Machine resource to execute the job. All the tasks in the job are executed for the same Machine. +/// MachineRef represents the Machine resource to execute the job. +/// All the tasks in the job are executed for the same Machine. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobMachineRef { /// Name of the Machine. @@ -34,7 +39,9 @@ pub struct JobMachineRef { pub namespace: String, } -/// Action represents the action to be performed. A single task can only perform one type of action. For example either PowerAction or OneTimeBootDeviceAction. +/// Action represents the action to be performed. +/// A single task can only perform one type of action. +/// For example either PowerAction or OneTimeBootDeviceAction. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobTasks { /// OneTimeBootDeviceAction represents a baseboard management one time set boot device operation. @@ -51,14 +58,17 @@ pub struct JobTasks { /// OneTimeBootDeviceAction represents a baseboard management one time set boot device operation. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobTasksOneTimeBootDeviceAction { - /// Devices represents the boot devices, in order for setting one time boot. Currently only the first device in the slice is used to set one time boot. + /// Devices represents the boot devices, in order for setting one time boot. + /// Currently only the first device in the slice is used to set one time boot. pub device: Vec, /// EFIBoot instructs the machine to use EFI boot. #[serde(default, skip_serializing_if = "Option::is_none", rename = "efiBoot")] pub efi_boot: Option, } -/// Action represents the action to be performed. A single task can only perform one type of action. For example either PowerAction or OneTimeBootDeviceAction. +/// Action represents the action to be performed. +/// A single task can only perform one type of action. +/// For example either PowerAction or OneTimeBootDeviceAction. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum JobTasksPowerAction { #[serde(rename = "on")] @@ -79,7 +89,8 @@ pub enum JobTasksPowerAction { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobTasksVirtualMediaAction { pub kind: String, - /// mediaURL represents the URL of the image to be inserted into the virtual media, or empty to eject media. + /// mediaURL represents the URL of the image to be inserted into the virtual media, or empty to + /// eject media. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mediaURL")] pub media_url: Option, } @@ -87,7 +98,8 @@ pub struct JobTasksVirtualMediaAction { /// JobStatus defines the observed state of Job. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobStatus { - /// CompletionTime represents time when the job was completed. The completion time is only set when the job finishes successfully. + /// CompletionTime represents time when the job was completed. + /// The completion time is only set when the job finishes successfully. #[serde(default, skip_serializing_if = "Option::is_none", rename = "completionTime")] pub completion_time: Option, /// Conditions represents the latest available observations of an object's current state. @@ -103,7 +115,8 @@ pub struct JobStatusConditions { /// Message represents human readable message indicating details about last transition. #[serde(default, skip_serializing_if = "Option::is_none")] pub message: Option, - /// Status is the status of the Job condition. Can be True or False. + /// Status is the status of the Job condition. + /// Can be True or False. pub status: String, /// Type of the Job condition. #[serde(rename = "type")] diff --git a/kube-custom-resources-rs/src/bmc_tinkerbell_org/v1alpha1/machines.rs b/kube-custom-resources-rs/src/bmc_tinkerbell_org/v1alpha1/machines.rs index c0aa06caa..10ee1234a 100644 --- a/kube-custom-resources-rs/src/bmc_tinkerbell_org/v1alpha1/machines.rs +++ b/kube-custom-resources-rs/src/bmc_tinkerbell_org/v1alpha1/machines.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/rufio/bmc.tinkerbell.org/v1alpha1/machines.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -26,7 +26,9 @@ pub struct MachineSpec { /// Connection contains connection data for a Baseboard Management Controller. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MachineConnection { - /// AuthSecretRef is the SecretReference that contains authentication information of the Machine. The Secret must contain username and password keys. This is optional as it is not required when using the RPC provider. + /// AuthSecretRef is the SecretReference that contains authentication information of the Machine. + /// The Secret must contain username and password keys. This is optional as it is not required when using + /// the RPC provider. #[serde(default, skip_serializing_if = "Option::is_none", rename = "authSecretRef")] pub auth_secret_ref: Option, /// Host is the host IP address or hostname of the Machine. @@ -42,7 +44,9 @@ pub struct MachineConnection { pub provider_options: Option, } -/// AuthSecretRef is the SecretReference that contains authentication information of the Machine. The Secret must contain username and password keys. This is optional as it is not required when using the RPC provider. +/// AuthSecretRef is the SecretReference that contains authentication information of the Machine. +/// The Secret must contain username and password keys. This is optional as it is not required when using +/// the RPC provider. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MachineConnectionAuthSecretRef { /// name is unique within a namespace to reference a secret resource. @@ -73,10 +77,22 @@ pub struct MachineConnectionProviderOptions { /// IntelAMT contains the options to customize the IntelAMT provider. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MachineConnectionProviderOptionsIntelAmt { + /// HostScheme determines whether to use http or https for intelAMT calls. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostScheme")] + pub host_scheme: Option, /// Port that intelAMT will use for calls. pub port: i64, } +/// IntelAMT contains the options to customize the IntelAMT provider. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum MachineConnectionProviderOptionsIntelAmtHostScheme { + #[serde(rename = "http")] + Http, + #[serde(rename = "https")] + Https, +} + /// IPMITOOL contains the options to customize the Ipmitool provider. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MachineConnectionProviderOptionsIpmitool { @@ -98,7 +114,8 @@ pub struct MachineConnectionProviderOptionsRedfish { /// RPC contains the options to customize the RPC provider. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MachineConnectionProviderOptionsRpc { - /// ConsumerURL is the URL where an rpc consumer/listener is running and to which we will send and receive all notifications. + /// ConsumerURL is the URL where an rpc consumer/listener is running + /// and to which we will send and receive all notifications. #[serde(rename = "consumerURL")] pub consumer_url: String, /// Experimental options. @@ -140,7 +157,8 @@ pub struct MachineConnectionProviderOptionsRpcHmac { pub secrets: Option>, } -/// SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace +/// SecretReference represents a Secret Reference. It has enough information to retrieve secret +/// in any namespace #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MachineConnectionProviderOptionsRpcHmacSecrets { /// name is unique within a namespace to reference a secret resource. @@ -174,13 +192,16 @@ pub struct MachineConnectionProviderOptionsRpcRequest { /// Signature is the options used for adding an HMAC signature to an HTTP request. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MachineConnectionProviderOptionsRpcSignature { - /// AppendAlgoToHeaderDisabled decides whether to append the algorithm to the signature header or not. Example: X-BMCLIB-Signature becomes X-BMCLIB-Signature-256 When set to true, a header will be added for each algorithm. Example: X-BMCLIB-Signature-256 and X-BMCLIB-Signature-512 + /// AppendAlgoToHeaderDisabled decides whether to append the algorithm to the signature header or not. + /// Example: X-BMCLIB-Signature becomes X-BMCLIB-Signature-256 + /// When set to true, a header will be added for each algorithm. Example: X-BMCLIB-Signature-256 and X-BMCLIB-Signature-512 #[serde(default, skip_serializing_if = "Option::is_none", rename = "appendAlgoToHeaderDisabled")] pub append_algo_to_header_disabled: Option, /// HeaderName is the header name that should contain the signature(s). Example: X-BMCLIB-Signature #[serde(default, skip_serializing_if = "Option::is_none", rename = "headerName")] pub header_name: Option, - /// IncludedPayloadHeaders are headers whose values will be included in the signature payload. Example: X-BMCLIB-My-Custom-Header All headers will be deduplicated. + /// IncludedPayloadHeaders are headers whose values will be included in the signature payload. Example: X-BMCLIB-My-Custom-Header + /// All headers will be deduplicated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "includedPayloadHeaders")] pub included_payload_headers: Option>, } diff --git a/kube-custom-resources-rs/src/bmc_tinkerbell_org/v1alpha1/tasks.rs b/kube-custom-resources-rs/src/bmc_tinkerbell_org/v1alpha1/tasks.rs index 5034943e1..cddd799f1 100644 --- a/kube-custom-resources-rs/src/bmc_tinkerbell_org/v1alpha1/tasks.rs +++ b/kube-custom-resources-rs/src/bmc_tinkerbell_org/v1alpha1/tasks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/rufio/bmc.tinkerbell.org/v1alpha1/tasks.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -29,7 +29,9 @@ pub struct TaskSpec { /// Connection represents the Machine connectivity information. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TaskConnection { - /// AuthSecretRef is the SecretReference that contains authentication information of the Machine. The Secret must contain username and password keys. This is optional as it is not required when using the RPC provider. + /// AuthSecretRef is the SecretReference that contains authentication information of the Machine. + /// The Secret must contain username and password keys. This is optional as it is not required when using + /// the RPC provider. #[serde(default, skip_serializing_if = "Option::is_none", rename = "authSecretRef")] pub auth_secret_ref: Option, /// Host is the host IP address or hostname of the Machine. @@ -45,7 +47,9 @@ pub struct TaskConnection { pub provider_options: Option, } -/// AuthSecretRef is the SecretReference that contains authentication information of the Machine. The Secret must contain username and password keys. This is optional as it is not required when using the RPC provider. +/// AuthSecretRef is the SecretReference that contains authentication information of the Machine. +/// The Secret must contain username and password keys. This is optional as it is not required when using +/// the RPC provider. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TaskConnectionAuthSecretRef { /// name is unique within a namespace to reference a secret resource. @@ -76,10 +80,22 @@ pub struct TaskConnectionProviderOptions { /// IntelAMT contains the options to customize the IntelAMT provider. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TaskConnectionProviderOptionsIntelAmt { + /// HostScheme determines whether to use http or https for intelAMT calls. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostScheme")] + pub host_scheme: Option, /// Port that intelAMT will use for calls. pub port: i64, } +/// IntelAMT contains the options to customize the IntelAMT provider. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum TaskConnectionProviderOptionsIntelAmtHostScheme { + #[serde(rename = "http")] + Http, + #[serde(rename = "https")] + Https, +} + /// IPMITOOL contains the options to customize the Ipmitool provider. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TaskConnectionProviderOptionsIpmitool { @@ -101,7 +117,8 @@ pub struct TaskConnectionProviderOptionsRedfish { /// RPC contains the options to customize the RPC provider. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TaskConnectionProviderOptionsRpc { - /// ConsumerURL is the URL where an rpc consumer/listener is running and to which we will send and receive all notifications. + /// ConsumerURL is the URL where an rpc consumer/listener is running + /// and to which we will send and receive all notifications. #[serde(rename = "consumerURL")] pub consumer_url: String, /// Experimental options. @@ -143,7 +160,8 @@ pub struct TaskConnectionProviderOptionsRpcHmac { pub secrets: Option>, } -/// SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace +/// SecretReference represents a Secret Reference. It has enough information to retrieve secret +/// in any namespace #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TaskConnectionProviderOptionsRpcHmacSecrets { /// name is unique within a namespace to reference a secret resource. @@ -177,13 +195,16 @@ pub struct TaskConnectionProviderOptionsRpcRequest { /// Signature is the options used for adding an HMAC signature to an HTTP request. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TaskConnectionProviderOptionsRpcSignature { - /// AppendAlgoToHeaderDisabled decides whether to append the algorithm to the signature header or not. Example: X-BMCLIB-Signature becomes X-BMCLIB-Signature-256 When set to true, a header will be added for each algorithm. Example: X-BMCLIB-Signature-256 and X-BMCLIB-Signature-512 + /// AppendAlgoToHeaderDisabled decides whether to append the algorithm to the signature header or not. + /// Example: X-BMCLIB-Signature becomes X-BMCLIB-Signature-256 + /// When set to true, a header will be added for each algorithm. Example: X-BMCLIB-Signature-256 and X-BMCLIB-Signature-512 #[serde(default, skip_serializing_if = "Option::is_none", rename = "appendAlgoToHeaderDisabled")] pub append_algo_to_header_disabled: Option, /// HeaderName is the header name that should contain the signature(s). Example: X-BMCLIB-Signature #[serde(default, skip_serializing_if = "Option::is_none", rename = "headerName")] pub header_name: Option, - /// IncludedPayloadHeaders are headers whose values will be included in the signature payload. Example: X-BMCLIB-My-Custom-Header All headers will be deduplicated. + /// IncludedPayloadHeaders are headers whose values will be included in the signature payload. Example: X-BMCLIB-My-Custom-Header + /// All headers will be deduplicated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "includedPayloadHeaders")] pub included_payload_headers: Option>, } @@ -205,7 +226,8 @@ pub struct TaskTask { /// OneTimeBootDeviceAction represents a baseboard management one time set boot device operation. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TaskTaskOneTimeBootDeviceAction { - /// Devices represents the boot devices, in order for setting one time boot. Currently only the first device in the slice is used to set one time boot. + /// Devices represents the boot devices, in order for setting one time boot. + /// Currently only the first device in the slice is used to set one time boot. pub device: Vec, /// EFIBoot instructs the machine to use EFI boot. #[serde(default, skip_serializing_if = "Option::is_none", rename = "efiBoot")] @@ -233,7 +255,8 @@ pub enum TaskTaskPowerAction { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TaskTaskVirtualMediaAction { pub kind: String, - /// mediaURL represents the URL of the image to be inserted into the virtual media, or empty to eject media. + /// mediaURL represents the URL of the image to be inserted into the virtual media, or empty to + /// eject media. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mediaURL")] pub media_url: Option, } @@ -241,7 +264,8 @@ pub struct TaskTaskVirtualMediaAction { /// TaskStatus defines the observed state of Task. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TaskStatus { - /// CompletionTime represents time when the task was completed. The completion time is only set when the task finishes successfully. + /// CompletionTime represents time when the task was completed. + /// The completion time is only set when the task finishes successfully. #[serde(default, skip_serializing_if = "Option::is_none", rename = "completionTime")] pub completion_time: Option, /// Conditions represents the latest available observations of an object's current state. @@ -257,7 +281,8 @@ pub struct TaskStatusConditions { /// Message represents human readable message indicating details about last transition. #[serde(default, skip_serializing_if = "Option::is_none")] pub message: Option, - /// Status is the status of the Task condition. Can be True or False. + /// Status is the status of the Task condition. + /// Can be True or False. pub status: String, /// Type of the Task condition. #[serde(rename = "type")] diff --git a/kube-custom-resources-rs/src/boskos_k8s_io/v1/dynamicresourcelifecycles.rs b/kube-custom-resources-rs/src/boskos_k8s_io/v1/dynamicresourcelifecycles.rs index f4c23f415..6ada4560d 100644 --- a/kube-custom-resources-rs/src/boskos_k8s_io/v1/dynamicresourcelifecycles.rs +++ b/kube-custom-resources-rs/src/boskos_k8s_io/v1/dynamicresourcelifecycles.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/boskos/boskos.k8s.io/v1/dynamicresourcelifecycles.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/boskos_k8s_io/v1/resources.rs b/kube-custom-resources-rs/src/boskos_k8s_io/v1/resources.rs index 18ceee00f..964560c74 100644 --- a/kube-custom-resources-rs/src/boskos_k8s_io/v1/resources.rs +++ b/kube-custom-resources-rs/src/boskos_k8s_io/v1/resources.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/boskos/boskos.k8s.io/v1/resources.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/bpfprograms.rs b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/bpfprograms.rs index 5d074a777..7c18f6dab 100644 --- a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/bpfprograms.rs +++ b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/bpfprograms.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/bpfprograms.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/fentryprograms.rs b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/fentryprograms.rs index 8c51b6557..d97f843c7 100644 --- a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/fentryprograms.rs +++ b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/fentryprograms.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/fentryprograms.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/fexitprograms.rs b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/fexitprograms.rs index 1f3edb0c9..8d75058fb 100644 --- a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/fexitprograms.rs +++ b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/fexitprograms.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/fexitprograms.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/kprobeprograms.rs b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/kprobeprograms.rs index fce3d0eff..880c853bf 100644 --- a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/kprobeprograms.rs +++ b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/kprobeprograms.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/kprobeprograms.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/tcprograms.rs b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/tcprograms.rs index 6097ff1b1..3ce0d9425 100644 --- a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/tcprograms.rs +++ b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/tcprograms.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/tcprograms.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/tracepointprograms.rs b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/tracepointprograms.rs index 9c5668b91..8a18dc1e8 100644 --- a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/tracepointprograms.rs +++ b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/tracepointprograms.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/tracepointprograms.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/uprobeprograms.rs b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/uprobeprograms.rs index aba9b8f10..2cd66c390 100644 --- a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/uprobeprograms.rs +++ b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/uprobeprograms.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/uprobeprograms.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/xdpprograms.rs b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/xdpprograms.rs index e443db69c..af4c76fa4 100644 --- a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/xdpprograms.rs +++ b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/xdpprograms.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/xdpprograms.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/bus_volcano_sh/v1alpha1/commands.rs b/kube-custom-resources-rs/src/bus_volcano_sh/v1alpha1/commands.rs index fc849b6ab..429edc063 100644 --- a/kube-custom-resources-rs/src/bus_volcano_sh/v1alpha1/commands.rs +++ b/kube-custom-resources-rs/src/bus_volcano_sh/v1alpha1/commands.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/volcano-sh/volcano/bus.volcano.sh/v1alpha1/commands.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cache_kubedl_io/v1alpha1/cachebackends.rs b/kube-custom-resources-rs/src/cache_kubedl_io/v1alpha1/cachebackends.rs index c612761be..341e4ce48 100644 --- a/kube-custom-resources-rs/src/cache_kubedl_io/v1alpha1/cachebackends.rs +++ b/kube-custom-resources-rs/src/cache_kubedl_io/v1alpha1/cachebackends.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/cache.kubedl.io/v1alpha1/cachebackends.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/caching_ibm_com/v1alpha1/varnishclusters.rs b/kube-custom-resources-rs/src/caching_ibm_com/v1alpha1/varnishclusters.rs index d54d0f12c..b16233c82 100644 --- a/kube-custom-resources-rs/src/caching_ibm_com/v1alpha1/varnishclusters.rs +++ b/kube-custom-resources-rs/src/caching_ibm_com/v1alpha1/varnishclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/IBM/varnish-operator/caching.ibm.com/v1alpha1/varnishclusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/camel_apache_org/v1/builds.rs b/kube-custom-resources-rs/src/camel_apache_org/v1/builds.rs index cac83d73e..6af196e21 100644 --- a/kube-custom-resources-rs/src/camel_apache_org/v1/builds.rs +++ b/kube-custom-resources-rs/src/camel_apache_org/v1/builds.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apache/camel-k/camel.apache.org/v1/builds.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -1480,15 +1480,24 @@ pub struct BuildTasksPackageSources { /// a S2iTask, for S2I strategy #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BuildTasksS2i { + /// base image layer + #[serde(default, skip_serializing_if = "Option::is_none", rename = "baseImage")] + pub base_image: Option, /// The configuration that should be used to perform the Build. #[serde(default, skip_serializing_if = "Option::is_none")] pub configuration: Option, /// can be useful to share info with other tasks #[serde(default, skip_serializing_if = "Option::is_none", rename = "contextDir")] pub context_dir: Option, + /// final image name + #[serde(default, skip_serializing_if = "Option::is_none")] + pub image: Option, /// name of the task #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, + /// where to publish the final image + #[serde(default, skip_serializing_if = "Option::is_none")] + pub registry: Option, /// used by the ImageStream #[serde(default, skip_serializing_if = "Option::is_none")] pub tag: Option, @@ -1552,6 +1561,26 @@ pub enum BuildTasksS2iConfigurationStrategy { Pod, } +/// where to publish the final image +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct BuildTasksS2iRegistry { + /// the URI to access + #[serde(default, skip_serializing_if = "Option::is_none")] + pub address: Option, + /// the configmap which stores the Certificate Authority + #[serde(default, skip_serializing_if = "Option::is_none")] + pub ca: Option, + /// if the container registry is insecure (ie, http only) + #[serde(default, skip_serializing_if = "Option::is_none")] + pub insecure: Option, + /// the registry organization + #[serde(default, skip_serializing_if = "Option::is_none")] + pub organization: Option, + /// the secret where credentials are stored + #[serde(default, skip_serializing_if = "Option::is_none")] + pub secret: Option, +} + /// a SpectrumTask, for Spectrum strategy Deprecated: use jib, s2i or a custom publishing strategy instead #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BuildTasksSpectrum { diff --git a/kube-custom-resources-rs/src/camel_apache_org/v1/camelcatalogs.rs b/kube-custom-resources-rs/src/camel_apache_org/v1/camelcatalogs.rs index 1ab364283..d4d7677fc 100644 --- a/kube-custom-resources-rs/src/camel_apache_org/v1/camelcatalogs.rs +++ b/kube-custom-resources-rs/src/camel_apache_org/v1/camelcatalogs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apache/camel-k/camel.apache.org/v1/camelcatalogs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/camel_apache_org/v1/kamelets.rs b/kube-custom-resources-rs/src/camel_apache_org/v1/kamelets.rs index fff8ee108..2bea51939 100644 --- a/kube-custom-resources-rs/src/camel_apache_org/v1/kamelets.rs +++ b/kube-custom-resources-rs/src/camel_apache_org/v1/kamelets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apache/camel-k/camel.apache.org/v1/kamelets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/camel_apache_org/v1alpha1/kamelets.rs b/kube-custom-resources-rs/src/camel_apache_org/v1alpha1/kamelets.rs index 941352a2c..f93a54dd3 100644 --- a/kube-custom-resources-rs/src/camel_apache_org/v1alpha1/kamelets.rs +++ b/kube-custom-resources-rs/src/camel_apache_org/v1alpha1/kamelets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apache/camel-k/camel.apache.org/v1alpha1/kamelets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/capabilities_3scale_net/v1alpha1/tenants.rs b/kube-custom-resources-rs/src/capabilities_3scale_net/v1alpha1/tenants.rs index 01baf9a18..75762f3ea 100644 --- a/kube-custom-resources-rs/src/capabilities_3scale_net/v1alpha1/tenants.rs +++ b/kube-custom-resources-rs/src/capabilities_3scale_net/v1alpha1/tenants.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1alpha1/tenants.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/activedocs.rs b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/activedocs.rs index 80a1611fc..d31ec5f4d 100644 --- a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/activedocs.rs +++ b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/activedocs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/activedocs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/applications.rs b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/applications.rs index 3ea0749f6..4dd55a351 100644 --- a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/applications.rs +++ b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/applications.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/applications.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/backends.rs b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/backends.rs index 92a061fda..c20acc207 100644 --- a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/backends.rs +++ b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/backends.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/backends.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/custompolicydefinitions.rs b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/custompolicydefinitions.rs index 656a9631d..eca46abc1 100644 --- a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/custompolicydefinitions.rs +++ b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/custompolicydefinitions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/custompolicydefinitions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/developeraccounts.rs b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/developeraccounts.rs index 618d55e7d..f40a05cd4 100644 --- a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/developeraccounts.rs +++ b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/developeraccounts.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/developeraccounts.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/developerusers.rs b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/developerusers.rs index 7c1df3793..0c36e17d9 100644 --- a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/developerusers.rs +++ b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/developerusers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/developerusers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/openapis.rs b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/openapis.rs index 0797dd0fc..1f9c0e670 100644 --- a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/openapis.rs +++ b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/openapis.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/openapis.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/products.rs b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/products.rs index 3e64a20fd..43265fbf1 100644 --- a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/products.rs +++ b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/products.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/products.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/proxyconfigpromotes.rs b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/proxyconfigpromotes.rs index 1f21c224f..240e4db79 100644 --- a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/proxyconfigpromotes.rs +++ b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/proxyconfigpromotes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/proxyconfigpromotes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/capsule_clastix_io/v1alpha1/capsuleconfigurations.rs b/kube-custom-resources-rs/src/capsule_clastix_io/v1alpha1/capsuleconfigurations.rs index 45793b637..6f97a63fb 100644 --- a/kube-custom-resources-rs/src/capsule_clastix_io/v1alpha1/capsuleconfigurations.rs +++ b/kube-custom-resources-rs/src/capsule_clastix_io/v1alpha1/capsuleconfigurations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/clastix/capsule/capsule.clastix.io/v1alpha1/capsuleconfigurations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/capsule_clastix_io/v1alpha1/tenants.rs b/kube-custom-resources-rs/src/capsule_clastix_io/v1alpha1/tenants.rs index 9506a2dfb..c9f8f1aa3 100644 --- a/kube-custom-resources-rs/src/capsule_clastix_io/v1alpha1/tenants.rs +++ b/kube-custom-resources-rs/src/capsule_clastix_io/v1alpha1/tenants.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/clastix/capsule/capsule.clastix.io/v1alpha1/tenants.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/capsule_clastix_io/v1beta1/tenants.rs b/kube-custom-resources-rs/src/capsule_clastix_io/v1beta1/tenants.rs index 733747db3..4b9823a08 100644 --- a/kube-custom-resources-rs/src/capsule_clastix_io/v1beta1/tenants.rs +++ b/kube-custom-resources-rs/src/capsule_clastix_io/v1beta1/tenants.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/clastix/capsule/capsule.clastix.io/v1beta1/tenants.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/capsule_clastix_io/v1beta2/capsuleconfigurations.rs b/kube-custom-resources-rs/src/capsule_clastix_io/v1beta2/capsuleconfigurations.rs index 4c4235697..6aceaf60d 100644 --- a/kube-custom-resources-rs/src/capsule_clastix_io/v1beta2/capsuleconfigurations.rs +++ b/kube-custom-resources-rs/src/capsule_clastix_io/v1beta2/capsuleconfigurations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/clastix/capsule/capsule.clastix.io/v1beta2/capsuleconfigurations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/capsule_clastix_io/v1beta2/tenants.rs b/kube-custom-resources-rs/src/capsule_clastix_io/v1beta2/tenants.rs index b24364a65..3a30cae82 100644 --- a/kube-custom-resources-rs/src/capsule_clastix_io/v1beta2/tenants.rs +++ b/kube-custom-resources-rs/src/capsule_clastix_io/v1beta2/tenants.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/clastix/capsule/capsule.clastix.io/v1beta2/tenants.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cassandra_datastax_com/v1beta1/cassandradatacenters.rs b/kube-custom-resources-rs/src/cassandra_datastax_com/v1beta1/cassandradatacenters.rs index 72c7ca4ec..372fe930c 100644 --- a/kube-custom-resources-rs/src/cassandra_datastax_com/v1beta1/cassandradatacenters.rs +++ b/kube-custom-resources-rs/src/cassandra_datastax_com/v1beta1/cassandradatacenters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/k8ssandra/cass-operator/cassandra.datastax.com/v1beta1/cassandradatacenters.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -138,7 +138,7 @@ pub struct CassandraDatacenterSpec { /// More info: https://kubernetes.io/docs/concepts/containers/images #[serde(default, skip_serializing_if = "Option::is_none", rename = "serverImage")] pub server_image: Option, - /// Server type: "cassandra" or "dse" + /// Server type: "cassandra", "dse" or "hcd" #[serde(rename = "serverType")] pub server_type: CassandraDatacenterServerType, /// Version string for config builder, @@ -7697,6 +7697,8 @@ pub enum CassandraDatacenterServerType { Cassandra, #[serde(rename = "dse")] Dse, + #[serde(rename = "hcd")] + Hcd, } /// StorageConfig describes the persistent storage request of each server node diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephblockpoolradosnamespaces.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephblockpoolradosnamespaces.rs index 1c6562bb4..6e0fcdcc4 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephblockpoolradosnamespaces.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephblockpoolradosnamespaces.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephblockpoolradosnamespaces.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephblockpools.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephblockpools.rs index 4b136cdbe..061f5cac1 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephblockpools.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephblockpools.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephblockpools.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephbucketnotifications.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephbucketnotifications.rs index 2240bcbee..4ce3ed9ae 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephbucketnotifications.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephbucketnotifications.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephbucketnotifications.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephbuckettopics.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephbuckettopics.rs index 49eb808bc..c4550ea75 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephbuckettopics.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephbuckettopics.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephbuckettopics.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephclients.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephclients.rs index 50bbe02bf..c85c72dbe 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephclients.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephclients.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephclients.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephcosidrivers.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephcosidrivers.rs index 5eef278ee..dfd71e61f 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephcosidrivers.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephcosidrivers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephcosidrivers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephfilesystemmirrors.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephfilesystemmirrors.rs index 7aee52e03..338621761 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephfilesystemmirrors.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephfilesystemmirrors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephfilesystemmirrors.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephfilesystems.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephfilesystems.rs index 5e05941b2..2eeb4665a 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephfilesystems.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephfilesystems.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephfilesystems.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephfilesystemsubvolumegroups.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephfilesystemsubvolumegroups.rs index 19e46ac7a..933e37d67 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephfilesystemsubvolumegroups.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephfilesystemsubvolumegroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephfilesystemsubvolumegroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephnfses.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephnfses.rs index 3639394dd..f3ccf1824 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephnfses.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephnfses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephnfses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectrealms.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectrealms.rs index 2105050e2..38f532db1 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectrealms.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectrealms.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephobjectrealms.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectstores.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectstores.rs index 7a94f1a39..c490d9d80 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectstores.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectstores.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephobjectstores.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectstoreusers.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectstoreusers.rs index 7fda20534..f3b9bc2bf 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectstoreusers.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectstoreusers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephobjectstoreusers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectzonegroups.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectzonegroups.rs index 17da4c0be..3f9da97f4 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectzonegroups.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectzonegroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephobjectzonegroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectzones.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectzones.rs index c027ab0ee..d9f684fac 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectzones.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectzones.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephobjectzones.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephrbdmirrors.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephrbdmirrors.rs index a2e25d9d3..a8762f378 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephrbdmirrors.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephrbdmirrors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephrbdmirrors.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cert_manager_io/v1/certificaterequests.rs b/kube-custom-resources-rs/src/cert_manager_io/v1/certificaterequests.rs index 9cf6b686c..91587e72c 100644 --- a/kube-custom-resources-rs/src/cert_manager_io/v1/certificaterequests.rs +++ b/kube-custom-resources-rs/src/cert_manager_io/v1/certificaterequests.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/certificaterequests.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cert_manager_io/v1/certificates.rs b/kube-custom-resources-rs/src/cert_manager_io/v1/certificates.rs index 2d1c3a0a9..5ab6d078e 100644 --- a/kube-custom-resources-rs/src/cert_manager_io/v1/certificates.rs +++ b/kube-custom-resources-rs/src/cert_manager_io/v1/certificates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/certificates.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cert_manager_io/v1/clusterissuers.rs b/kube-custom-resources-rs/src/cert_manager_io/v1/clusterissuers.rs index ca9e08977..f02e38574 100644 --- a/kube-custom-resources-rs/src/cert_manager_io/v1/clusterissuers.rs +++ b/kube-custom-resources-rs/src/cert_manager_io/v1/clusterissuers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/clusterissuers.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -748,7 +748,7 @@ pub struct ClusterIssuerAcmeSolversHttp01GatewayHttpRoute { /// /// /// * Gateway (Gateway conformance profile) -/// * Service (Mesh conformance profile, experimental, ClusterIP Services only) +/// * Service (Mesh conformance profile, ClusterIP Services only) /// /// /// This API may be extended in the future to support additional kinds of parent @@ -775,7 +775,7 @@ pub struct ClusterIssuerAcmeSolversHttp01GatewayHttpRouteParentRefs { /// /// /// * Gateway (Gateway conformance profile) - /// * Service (Mesh conformance profile, experimental, ClusterIP Services only) + /// * Service (Mesh conformance profile, ClusterIP Services only) /// /// /// Support for other resources is Implementation-Specific. @@ -849,23 +849,18 @@ pub struct ClusterIssuerAcmeSolversHttp01GatewayHttpRouteParentRefs { /// /// /// Support: Extended - /// - /// - /// #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, /// SectionName is the name of a section within the target resource. In the /// following resources, SectionName is interpreted as the following: /// /// - /// * Gateway: Listener Name. When both Port (experimental) and SectionName + /// * Gateway: Listener name. When both Port (experimental) and SectionName /// are specified, the name and port of the selected listener must match /// both specified values. - /// * Service: Port Name. When both Port (experimental) and SectionName + /// * Service: Port name. When both Port (experimental) and SectionName /// are specified, the name and port of the selected listener must match - /// both specified values. Note that attaching Routes to Services as Parents - /// is part of experimental Mesh support and is not supported for any other - /// purpose. + /// both specified values. /// /// /// Implementations MAY choose to support attaching Routes to other resources. @@ -1718,8 +1713,12 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAf #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecImagePullSecrets { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } diff --git a/kube-custom-resources-rs/src/cert_manager_io/v1/issuers.rs b/kube-custom-resources-rs/src/cert_manager_io/v1/issuers.rs index b46e6989a..c7c02c5d3 100644 --- a/kube-custom-resources-rs/src/cert_manager_io/v1/issuers.rs +++ b/kube-custom-resources-rs/src/cert_manager_io/v1/issuers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/issuers.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -749,7 +749,7 @@ pub struct IssuerAcmeSolversHttp01GatewayHttpRoute { /// /// /// * Gateway (Gateway conformance profile) -/// * Service (Mesh conformance profile, experimental, ClusterIP Services only) +/// * Service (Mesh conformance profile, ClusterIP Services only) /// /// /// This API may be extended in the future to support additional kinds of parent @@ -776,7 +776,7 @@ pub struct IssuerAcmeSolversHttp01GatewayHttpRouteParentRefs { /// /// /// * Gateway (Gateway conformance profile) - /// * Service (Mesh conformance profile, experimental, ClusterIP Services only) + /// * Service (Mesh conformance profile, ClusterIP Services only) /// /// /// Support for other resources is Implementation-Specific. @@ -850,23 +850,18 @@ pub struct IssuerAcmeSolversHttp01GatewayHttpRouteParentRefs { /// /// /// Support: Extended - /// - /// - /// #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, /// SectionName is the name of a section within the target resource. In the /// following resources, SectionName is interpreted as the following: /// /// - /// * Gateway: Listener Name. When both Port (experimental) and SectionName + /// * Gateway: Listener name. When both Port (experimental) and SectionName /// are specified, the name and port of the selected listener must match /// both specified values. - /// * Service: Port Name. When both Port (experimental) and SectionName + /// * Service: Port name. When both Port (experimental) and SectionName /// are specified, the name and port of the selected listener must match - /// both specified values. Note that attaching Routes to Services as Parents - /// is part of experimental Mesh support and is not supported for any other - /// purpose. + /// both specified values. /// /// /// Implementations MAY choose to support attaching Routes to other resources. @@ -1719,8 +1714,12 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityR #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecImagePullSecrets { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } diff --git a/kube-custom-resources-rs/src/chainsaw_kyverno_io/v1alpha1/configurations.rs b/kube-custom-resources-rs/src/chainsaw_kyverno_io/v1alpha1/configurations.rs index 438cdafaf..c438c93b9 100644 --- a/kube-custom-resources-rs/src/chainsaw_kyverno_io/v1alpha1/configurations.rs +++ b/kube-custom-resources-rs/src/chainsaw_kyverno_io/v1alpha1/configurations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/chainsaw/chainsaw.kyverno.io/v1alpha1/configurations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -27,6 +27,10 @@ pub struct ConfigurationSpec { /// DelayBeforeCleanup adds a delay between the time a test ends and the time cleanup starts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "delayBeforeCleanup")] pub delay_before_cleanup: Option, + /// DeletionPropagationPolicy decides if a deletion will propagate to the dependents of + /// the object, and how the garbage collector will handle the propagation. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "deletionPropagationPolicy")] + pub deletion_propagation_policy: Option, /// ExcludeTestRegex is used to exclude tests based on a regular expression. #[serde(default, skip_serializing_if = "Option::is_none", rename = "excludeTestRegex")] pub exclude_test_regex: Option, @@ -203,12 +207,22 @@ pub struct ConfigurationCatchDelete { /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] pub clusters: Option>, + /// DeletionPropagationPolicy decides if a deletion will propagate to the dependents of + /// the object, and how the garbage collector will handle the propagation. + /// Overrides the deletion propagation policy set in the Configuration, the Test and the TestStep. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "deletionPropagationPolicy")] + pub deletion_propagation_policy: Option, /// Expect defines a list of matched checks to validate the operation outcome. #[serde(default, skip_serializing_if = "Option::is_none")] pub expect: Option>, - /// ObjectReference determines objects to be deleted. - #[serde(rename = "ref")] - pub r#ref: ConfigurationCatchDeleteRef, + /// File is the path to the referenced file. This can be a direct path to a file + /// or an expression that matches multiple files, such as "manifest/*.yaml" for all YAML + /// files within the "manifest" directory. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub file: Option, + /// Ref determines objects to be deleted. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ref")] + pub r#ref: Option, /// Template determines whether resources should be considered for templating. #[serde(default, skip_serializing_if = "Option::is_none")] pub template: Option, @@ -237,6 +251,14 @@ pub struct ConfigurationCatchDeleteClusters { pub kubeconfig: Option, } +/// Delete represents a deletion operation. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum ConfigurationCatchDeleteDeletionPropagationPolicy { + Orphan, + Background, + Foreground, +} + /// Expectation represents a check to be applied on the result of an operation /// with a match filter to determine if the verification should be considered. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] @@ -248,7 +270,7 @@ pub struct ConfigurationCatchDeleteExpect { pub r#match: Option>, } -/// ObjectReference determines objects to be deleted. +/// Ref determines objects to be deleted. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigurationCatchDeleteRef { /// API version of the referent. @@ -274,8 +296,8 @@ pub struct ConfigurationCatchDeleteRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigurationCatchDescribe { /// API version of the referent. - #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] - pub api_version: Option, + #[serde(rename = "apiVersion")] + pub api_version: String, /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). #[serde(default, skip_serializing_if = "Option::is_none")] pub cluster: Option, @@ -284,8 +306,7 @@ pub struct ConfigurationCatchDescribe { pub clusters: Option>, /// Kind of the referent. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - #[serde(default, skip_serializing_if = "Option::is_none")] - pub kind: Option, + pub kind: String, /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] @@ -294,9 +315,6 @@ pub struct ConfigurationCatchDescribe { /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Resource name of the referent. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub resource: Option, /// Selector defines labels selector. #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, @@ -362,8 +380,8 @@ pub struct ConfigurationCatchEventsClusters { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigurationCatchGet { /// API version of the referent. - #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] - pub api_version: Option, + #[serde(rename = "apiVersion")] + pub api_version: String, /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). #[serde(default, skip_serializing_if = "Option::is_none")] pub cluster: Option, @@ -375,8 +393,7 @@ pub struct ConfigurationCatchGet { pub format: Option, /// Kind of the referent. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - #[serde(default, skip_serializing_if = "Option::is_none")] - pub kind: Option, + pub kind: String, /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] @@ -385,9 +402,6 @@ pub struct ConfigurationCatchGet { /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Resource name of the referent. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub resource: Option, /// Selector defines labels selector. #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, @@ -535,8 +549,8 @@ pub struct ConfigurationCatchSleep { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigurationCatchWait { /// API version of the referent. - #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] - pub api_version: Option, + #[serde(rename = "apiVersion")] + pub api_version: String, /// Cluster defines the target cluster where the wait operation will be performed (default cluster will be used if not specified). #[serde(default, skip_serializing_if = "Option::is_none")] pub cluster: Option, @@ -551,8 +565,7 @@ pub struct ConfigurationCatchWait { pub format: Option, /// Kind of the referent. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - #[serde(default, skip_serializing_if = "Option::is_none")] - pub kind: Option, + pub kind: String, /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] @@ -561,9 +574,6 @@ pub struct ConfigurationCatchWait { /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Resource name of the referent. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub resource: Option, /// Selector defines labels selector. #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, @@ -632,6 +642,14 @@ pub struct ConfigurationClusters { pub kubeconfig: Option, } +/// Configuration spec. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum ConfigurationDeletionPropagationPolicy { + Orphan, + Background, + Foreground, +} + /// Configuration spec. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum ConfigurationReportFormat { diff --git a/kube-custom-resources-rs/src/chainsaw_kyverno_io/v1alpha1/tests.rs b/kube-custom-resources-rs/src/chainsaw_kyverno_io/v1alpha1/tests.rs index d16da6f0a..4c7b3061d 100644 --- a/kube-custom-resources-rs/src/chainsaw_kyverno_io/v1alpha1/tests.rs +++ b/kube-custom-resources-rs/src/chainsaw_kyverno_io/v1alpha1/tests.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/chainsaw/chainsaw.kyverno.io/v1alpha1/tests.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -36,6 +36,11 @@ pub struct TestSpec { /// DelayBeforeCleanup adds a delay between the time a test ends and the time cleanup starts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "delayBeforeCleanup")] pub delay_before_cleanup: Option, + /// DeletionPropagationPolicy decides if a deletion will propagate to the dependents of + /// the object, and how the garbage collector will handle the propagation. + /// Overrides the deletion propagation policy set in the Configuration. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "deletionPropagationPolicy")] + pub deletion_propagation_policy: Option, /// Description contains a description of the test. #[serde(default, skip_serializing_if = "Option::is_none")] pub description: Option, @@ -195,12 +200,22 @@ pub struct TestCatchDelete { /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] pub clusters: Option>, + /// DeletionPropagationPolicy decides if a deletion will propagate to the dependents of + /// the object, and how the garbage collector will handle the propagation. + /// Overrides the deletion propagation policy set in the Configuration, the Test and the TestStep. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "deletionPropagationPolicy")] + pub deletion_propagation_policy: Option, /// Expect defines a list of matched checks to validate the operation outcome. #[serde(default, skip_serializing_if = "Option::is_none")] pub expect: Option>, - /// ObjectReference determines objects to be deleted. - #[serde(rename = "ref")] - pub r#ref: TestCatchDeleteRef, + /// File is the path to the referenced file. This can be a direct path to a file + /// or an expression that matches multiple files, such as "manifest/*.yaml" for all YAML + /// files within the "manifest" directory. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub file: Option, + /// Ref determines objects to be deleted. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ref")] + pub r#ref: Option, /// Template determines whether resources should be considered for templating. #[serde(default, skip_serializing_if = "Option::is_none")] pub template: Option, @@ -229,6 +244,14 @@ pub struct TestCatchDeleteClusters { pub kubeconfig: Option, } +/// Delete represents a deletion operation. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum TestCatchDeleteDeletionPropagationPolicy { + Orphan, + Background, + Foreground, +} + /// Expectation represents a check to be applied on the result of an operation /// with a match filter to determine if the verification should be considered. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] @@ -240,7 +263,7 @@ pub struct TestCatchDeleteExpect { pub r#match: Option>, } -/// ObjectReference determines objects to be deleted. +/// Ref determines objects to be deleted. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestCatchDeleteRef { /// API version of the referent. @@ -266,8 +289,8 @@ pub struct TestCatchDeleteRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestCatchDescribe { /// API version of the referent. - #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] - pub api_version: Option, + #[serde(rename = "apiVersion")] + pub api_version: String, /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). #[serde(default, skip_serializing_if = "Option::is_none")] pub cluster: Option, @@ -276,8 +299,627 @@ pub struct TestCatchDescribe { pub clusters: Option>, /// Kind of the referent. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + pub kind: String, + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// Namespace of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + #[serde(default, skip_serializing_if = "Option::is_none")] + pub namespace: Option, + /// Selector defines labels selector. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub selector: Option, + /// Show Events indicates whether to include related events. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "showEvents")] + pub show_events: Option, + /// Timeout for the operation. Overrides the global timeout set in the Configuration. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub timeout: Option, +} + +/// Clusters holds a registry to clusters to support multi-cluster tests. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestCatchDescribeClusters { + /// Context is the name of the context to use. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub context: Option, + /// Kubeconfig is the path to the referenced file. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub kubeconfig: Option, +} + +/// Events determines the events collector to execute. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestCatchEvents { + /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). + #[serde(default, skip_serializing_if = "Option::is_none")] + pub cluster: Option, + /// Clusters holds a registry to clusters to support multi-cluster tests. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub clusters: Option>, + /// Format determines the output format (json or yaml). + #[serde(default, skip_serializing_if = "Option::is_none")] + pub format: Option, + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// Namespace of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + #[serde(default, skip_serializing_if = "Option::is_none")] + pub namespace: Option, + /// Selector defines labels selector. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub selector: Option, + /// Timeout for the operation. Overrides the global timeout set in the Configuration. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub timeout: Option, +} + +/// Clusters holds a registry to clusters to support multi-cluster tests. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestCatchEventsClusters { + /// Context is the name of the context to use. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub context: Option, + /// Kubeconfig is the path to the referenced file. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub kubeconfig: Option, +} + +/// Get determines the resource get collector to execute. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestCatchGet { + /// API version of the referent. + #[serde(rename = "apiVersion")] + pub api_version: String, + /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). + #[serde(default, skip_serializing_if = "Option::is_none")] + pub cluster: Option, + /// Clusters holds a registry to clusters to support multi-cluster tests. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub clusters: Option>, + /// Format determines the output format (json or yaml). + #[serde(default, skip_serializing_if = "Option::is_none")] + pub format: Option, + /// Kind of the referent. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + pub kind: String, + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// Namespace of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + #[serde(default, skip_serializing_if = "Option::is_none")] + pub namespace: Option, + /// Selector defines labels selector. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub selector: Option, + /// Timeout for the operation. Overrides the global timeout set in the Configuration. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub timeout: Option, +} + +/// Clusters holds a registry to clusters to support multi-cluster tests. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestCatchGetClusters { + /// Context is the name of the context to use. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub context: Option, + /// Kubeconfig is the path to the referenced file. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub kubeconfig: Option, +} + +/// PodLogs determines the pod logs collector to execute. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestCatchPodLogs { + /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). + #[serde(default, skip_serializing_if = "Option::is_none")] + pub cluster: Option, + /// Clusters holds a registry to clusters to support multi-cluster tests. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub clusters: Option>, + /// Container in pod to get logs from else --all-containers is used. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub container: Option, + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// Namespace of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + #[serde(default, skip_serializing_if = "Option::is_none")] + pub namespace: Option, + /// Selector defines labels selector. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub selector: Option, + /// Tail is the number of last lines to collect from pods. If omitted or zero, + /// then the default is 10 if you use a selector, or -1 (all) if you use a pod name. + /// This matches default behavior of `kubectl logs`. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub tail: Option, + /// Timeout for the operation. Overrides the global timeout set in the Configuration. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub timeout: Option, +} + +/// Clusters holds a registry to clusters to support multi-cluster tests. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestCatchPodLogsClusters { + /// Context is the name of the context to use. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub context: Option, + /// Kubeconfig is the path to the referenced file. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub kubeconfig: Option, +} + +/// Script defines a script to run. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestCatchScript { + /// Bindings defines additional binding key/values. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub bindings: Option>, + /// Check is an assertion tree to validate the operation outcome. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub check: Option>, + /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). + #[serde(default, skip_serializing_if = "Option::is_none")] + pub cluster: Option, + /// Clusters holds a registry to clusters to support multi-cluster tests. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub clusters: Option>, + /// Content defines a shell script (run with "sh -c ..."). + #[serde(default, skip_serializing_if = "Option::is_none")] + pub content: Option, + /// Env defines additional environment variables. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub env: Option>, + /// Outputs defines output bindings. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub outputs: Option>, + /// SkipLogOutput removes the output from the command. Useful for sensitive logs or to reduce noise. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "skipLogOutput")] + pub skip_log_output: Option, + /// Timeout for the operation. Overrides the global timeout set in the Configuration. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub timeout: Option, +} + +/// Binding represents a key/value set as a binding in an executing test. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestCatchScriptBindings { + /// Name the name of the binding. + pub name: String, + /// Value value of the binding. + pub value: serde_json::Value, +} + +/// Clusters holds a registry to clusters to support multi-cluster tests. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestCatchScriptClusters { + /// Context is the name of the context to use. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub context: Option, + /// Kubeconfig is the path to the referenced file. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub kubeconfig: Option, +} + +/// Binding represents a key/value set as a binding in an executing test. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestCatchScriptEnv { + /// Name the name of the binding. + pub name: String, + /// Value value of the binding. + pub value: serde_json::Value, +} + +/// Output represents an output binding with a match to determine if the binding must be considered or not. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestCatchScriptOutputs { + /// Match defines the matching statement. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "match")] + pub r#match: Option>, + /// Name the name of the binding. + pub name: String, + /// Value value of the binding. + pub value: serde_json::Value, +} + +/// Sleep defines zzzz. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestCatchSleep { + /// Duration is the delay used for sleeping. + pub duration: String, +} + +/// Wait determines the resource wait collector to execute. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestCatchWait { + /// API version of the referent. + #[serde(rename = "apiVersion")] + pub api_version: String, + /// Cluster defines the target cluster where the wait operation will be performed (default cluster will be used if not specified). #[serde(default, skip_serializing_if = "Option::is_none")] - pub kind: Option, + pub cluster: Option, + /// Clusters holds a registry to clusters to support multi-cluster tests. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub clusters: Option>, + /// For specifies the condition to wait for. + #[serde(rename = "for")] + pub r#for: TestCatchWaitFor, + /// Format determines the output format (json or yaml). + #[serde(default, skip_serializing_if = "Option::is_none")] + pub format: Option, + /// Kind of the referent. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + pub kind: String, + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// Namespace of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + #[serde(default, skip_serializing_if = "Option::is_none")] + pub namespace: Option, + /// Selector defines labels selector. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub selector: Option, + /// Timeout for the operation. Specifies how long to wait for the condition to be met before timing out. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub timeout: Option, +} + +/// Clusters holds a registry to clusters to support multi-cluster tests. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestCatchWaitClusters { + /// Context is the name of the context to use. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub context: Option, + /// Kubeconfig is the path to the referenced file. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub kubeconfig: Option, +} + +/// For specifies the condition to wait for. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestCatchWaitFor { + /// Condition specifies the condition to wait for. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub condition: Option, + /// Deletion specifies parameters for waiting on a resource's deletion. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub deletion: Option, + /// JsonPath specifies the json path condition to wait for. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "jsonPath")] + pub json_path: Option, +} + +/// Condition specifies the condition to wait for. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestCatchWaitForCondition { + /// Name defines the specific condition to wait for, e.g., "Available", "Ready". + pub name: String, + /// Value defines the specific condition status to wait for, e.g., "True", "False". + #[serde(default, skip_serializing_if = "Option::is_none")] + pub value: Option, +} + +/// Deletion specifies parameters for waiting on a resource's deletion. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestCatchWaitForDeletion { +} + +/// JsonPath specifies the json path condition to wait for. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestCatchWaitForJsonPath { + /// Path defines the json path to wait for, e.g. '{.status.phase}'. + pub path: String, + /// Value defines the expected value to wait for, e.g., "Running". + pub value: String, +} + +/// Clusters holds a registry to clusters to support multi-cluster tests. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestClusters { + /// Context is the name of the context to use. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub context: Option, + /// Kubeconfig is the path to the referenced file. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub kubeconfig: Option, +} + +/// Test spec. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum TestDeletionPropagationPolicy { + Orphan, + Background, + Foreground, +} + +/// TestStep contains the test step definition used in a test spec. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestSteps { + /// Bindings defines additional binding key/values. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub bindings: Option>, + /// Catch defines what the step will execute when an error happens. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub catch: Option>, + /// Cleanup defines what will be executed after the test is terminated. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub cleanup: Option>, + /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). + #[serde(default, skip_serializing_if = "Option::is_none")] + pub cluster: Option, + /// Clusters holds a registry to clusters to support multi-cluster tests. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub clusters: Option>, + /// DeletionPropagationPolicy decides if a deletion will propagate to the dependents of + /// the object, and how the garbage collector will handle the propagation. + /// Overrides the deletion propagation policy set in both the Configuration and the Test. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "deletionPropagationPolicy")] + pub deletion_propagation_policy: Option, + /// Description contains a description of the test step. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + /// Finally defines what the step will execute after the step is terminated. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub finally: Option>, + /// Name of the step. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// SkipDelete determines whether the resources created by the step should be deleted after the test step is executed. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "skipDelete")] + pub skip_delete: Option, + /// Template determines whether resources should be considered for templating. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub template: Option, + /// Timeouts for the test step. Overrides the global timeouts set in the Configuration and the timeouts eventually set in the Test. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub timeouts: Option, + /// Try defines what the step will try to execute. + #[serde(rename = "try")] + pub r#try: Vec, +} + +/// Binding represents a key/value set as a binding in an executing test. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestStepsBindings { + /// Name the name of the binding. + pub name: String, + /// Value value of the binding. + pub value: serde_json::Value, +} + +/// Catch defines actions to be executed on failure. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestStepsCatch { + /// Command defines a command to run. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub command: Option, + /// Delete represents a deletion operation. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub delete: Option, + /// Describe determines the resource describe collector to execute. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub describe: Option, + /// Description contains a description of the operation. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + /// Events determines the events collector to execute. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub events: Option, + /// Get determines the resource get collector to execute. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub get: Option, + /// PodLogs determines the pod logs collector to execute. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "podLogs")] + pub pod_logs: Option, + /// Script defines a script to run. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub script: Option, + /// Sleep defines zzzz. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub sleep: Option, + /// Wait determines the resource wait collector to execute. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub wait: Option, +} + +/// Command defines a command to run. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestStepsCatchCommand { + /// Args is the command arguments. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub args: Option>, + /// Bindings defines additional binding key/values. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub bindings: Option>, + /// Check is an assertion tree to validate the operation outcome. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub check: Option>, + /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). + #[serde(default, skip_serializing_if = "Option::is_none")] + pub cluster: Option, + /// Clusters holds a registry to clusters to support multi-cluster tests. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub clusters: Option>, + /// Entrypoint is the command entry point to run. + pub entrypoint: String, + /// Env defines additional environment variables. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub env: Option>, + /// Outputs defines output bindings. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub outputs: Option>, + /// SkipLogOutput removes the output from the command. Useful for sensitive logs or to reduce noise. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "skipLogOutput")] + pub skip_log_output: Option, + /// Timeout for the operation. Overrides the global timeout set in the Configuration. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub timeout: Option, +} + +/// Binding represents a key/value set as a binding in an executing test. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestStepsCatchCommandBindings { + /// Name the name of the binding. + pub name: String, + /// Value value of the binding. + pub value: serde_json::Value, +} + +/// Clusters holds a registry to clusters to support multi-cluster tests. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestStepsCatchCommandClusters { + /// Context is the name of the context to use. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub context: Option, + /// Kubeconfig is the path to the referenced file. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub kubeconfig: Option, +} + +/// Binding represents a key/value set as a binding in an executing test. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestStepsCatchCommandEnv { + /// Name the name of the binding. + pub name: String, + /// Value value of the binding. + pub value: serde_json::Value, +} + +/// Output represents an output binding with a match to determine if the binding must be considered or not. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestStepsCatchCommandOutputs { + /// Match defines the matching statement. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "match")] + pub r#match: Option>, + /// Name the name of the binding. + pub name: String, + /// Value value of the binding. + pub value: serde_json::Value, +} + +/// Delete represents a deletion operation. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestStepsCatchDelete { + /// Bindings defines additional binding key/values. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub bindings: Option>, + /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). + #[serde(default, skip_serializing_if = "Option::is_none")] + pub cluster: Option, + /// Clusters holds a registry to clusters to support multi-cluster tests. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub clusters: Option>, + /// DeletionPropagationPolicy decides if a deletion will propagate to the dependents of + /// the object, and how the garbage collector will handle the propagation. + /// Overrides the deletion propagation policy set in the Configuration, the Test and the TestStep. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "deletionPropagationPolicy")] + pub deletion_propagation_policy: Option, + /// Expect defines a list of matched checks to validate the operation outcome. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub expect: Option>, + /// File is the path to the referenced file. This can be a direct path to a file + /// or an expression that matches multiple files, such as "manifest/*.yaml" for all YAML + /// files within the "manifest" directory. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub file: Option, + /// Ref determines objects to be deleted. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ref")] + pub r#ref: Option, + /// Template determines whether resources should be considered for templating. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub template: Option, + /// Timeout for the operation. Overrides the global timeout set in the Configuration. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub timeout: Option, +} + +/// Binding represents a key/value set as a binding in an executing test. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestStepsCatchDeleteBindings { + /// Name the name of the binding. + pub name: String, + /// Value value of the binding. + pub value: serde_json::Value, +} + +/// Clusters holds a registry to clusters to support multi-cluster tests. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestStepsCatchDeleteClusters { + /// Context is the name of the context to use. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub context: Option, + /// Kubeconfig is the path to the referenced file. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub kubeconfig: Option, +} + +/// Delete represents a deletion operation. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum TestStepsCatchDeleteDeletionPropagationPolicy { + Orphan, + Background, + Foreground, +} + +/// Expectation represents a check to be applied on the result of an operation +/// with a match filter to determine if the verification should be considered. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestStepsCatchDeleteExpect { + /// Check defines the verification statement. + pub check: BTreeMap, + /// Match defines the matching statement. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "match")] + pub r#match: Option>, +} + +/// Ref determines objects to be deleted. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestStepsCatchDeleteRef { + /// API version of the referent. + #[serde(rename = "apiVersion")] + pub api_version: String, + /// Kind of the referent. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + pub kind: String, + /// Label selector to match objects to delete + #[serde(default, skip_serializing_if = "Option::is_none")] + pub labels: Option>, + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// Namespace of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + #[serde(default, skip_serializing_if = "Option::is_none")] + pub namespace: Option, +} + +/// Describe determines the resource describe collector to execute. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TestStepsCatchDescribe { + /// API version of the referent. + #[serde(rename = "apiVersion")] + pub api_version: String, + /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). + #[serde(default, skip_serializing_if = "Option::is_none")] + pub cluster: Option, + /// Clusters holds a registry to clusters to support multi-cluster tests. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub clusters: Option>, + /// Kind of the referent. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + pub kind: String, /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] @@ -286,9 +928,6 @@ pub struct TestCatchDescribe { /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Resource name of the referent. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub resource: Option, /// Selector defines labels selector. #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, @@ -302,7 +941,7 @@ pub struct TestCatchDescribe { /// Clusters holds a registry to clusters to support multi-cluster tests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestCatchDescribeClusters { +pub struct TestStepsCatchDescribeClusters { /// Context is the name of the context to use. #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option, @@ -313,13 +952,13 @@ pub struct TestCatchDescribeClusters { /// Events determines the events collector to execute. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestCatchEvents { +pub struct TestStepsCatchEvents { /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). #[serde(default, skip_serializing_if = "Option::is_none")] pub cluster: Option, /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] - pub clusters: Option>, + pub clusters: Option>, /// Format determines the output format (json or yaml). #[serde(default, skip_serializing_if = "Option::is_none")] pub format: Option, @@ -341,7 +980,7 @@ pub struct TestCatchEvents { /// Clusters holds a registry to clusters to support multi-cluster tests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestCatchEventsClusters { +pub struct TestStepsCatchEventsClusters { /// Context is the name of the context to use. #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option, @@ -352,23 +991,22 @@ pub struct TestCatchEventsClusters { /// Get determines the resource get collector to execute. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestCatchGet { +pub struct TestStepsCatchGet { /// API version of the referent. - #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] - pub api_version: Option, + #[serde(rename = "apiVersion")] + pub api_version: String, /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). #[serde(default, skip_serializing_if = "Option::is_none")] pub cluster: Option, /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] - pub clusters: Option>, + pub clusters: Option>, /// Format determines the output format (json or yaml). #[serde(default, skip_serializing_if = "Option::is_none")] pub format: Option, /// Kind of the referent. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - #[serde(default, skip_serializing_if = "Option::is_none")] - pub kind: Option, + pub kind: String, /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] @@ -377,9 +1015,6 @@ pub struct TestCatchGet { /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Resource name of the referent. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub resource: Option, /// Selector defines labels selector. #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, @@ -390,7 +1025,7 @@ pub struct TestCatchGet { /// Clusters holds a registry to clusters to support multi-cluster tests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestCatchGetClusters { +pub struct TestStepsCatchGetClusters { /// Context is the name of the context to use. #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option, @@ -401,13 +1036,13 @@ pub struct TestCatchGetClusters { /// PodLogs determines the pod logs collector to execute. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestCatchPodLogs { +pub struct TestStepsCatchPodLogs { /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). #[serde(default, skip_serializing_if = "Option::is_none")] pub cluster: Option, /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] - pub clusters: Option>, + pub clusters: Option>, /// Container in pod to get logs from else --all-containers is used. #[serde(default, skip_serializing_if = "Option::is_none")] pub container: Option, @@ -434,7 +1069,7 @@ pub struct TestCatchPodLogs { /// Clusters holds a registry to clusters to support multi-cluster tests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestCatchPodLogsClusters { +pub struct TestStepsCatchPodLogsClusters { /// Context is the name of the context to use. #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option, @@ -445,10 +1080,10 @@ pub struct TestCatchPodLogsClusters { /// Script defines a script to run. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestCatchScript { +pub struct TestStepsCatchScript { /// Bindings defines additional binding key/values. #[serde(default, skip_serializing_if = "Option::is_none")] - pub bindings: Option>, + pub bindings: Option>, /// Check is an assertion tree to validate the operation outcome. #[serde(default, skip_serializing_if = "Option::is_none")] pub check: Option>, @@ -457,16 +1092,16 @@ pub struct TestCatchScript { pub cluster: Option, /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] - pub clusters: Option>, + pub clusters: Option>, /// Content defines a shell script (run with "sh -c ..."). #[serde(default, skip_serializing_if = "Option::is_none")] pub content: Option, /// Env defines additional environment variables. #[serde(default, skip_serializing_if = "Option::is_none")] - pub env: Option>, + pub env: Option>, /// Outputs defines output bindings. #[serde(default, skip_serializing_if = "Option::is_none")] - pub outputs: Option>, + pub outputs: Option>, /// SkipLogOutput removes the output from the command. Useful for sensitive logs or to reduce noise. #[serde(default, skip_serializing_if = "Option::is_none", rename = "skipLogOutput")] pub skip_log_output: Option, @@ -477,7 +1112,7 @@ pub struct TestCatchScript { /// Binding represents a key/value set as a binding in an executing test. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestCatchScriptBindings { +pub struct TestStepsCatchScriptBindings { /// Name the name of the binding. pub name: String, /// Value value of the binding. @@ -486,7 +1121,7 @@ pub struct TestCatchScriptBindings { /// Clusters holds a registry to clusters to support multi-cluster tests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestCatchScriptClusters { +pub struct TestStepsCatchScriptClusters { /// Context is the name of the context to use. #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option, @@ -497,7 +1132,7 @@ pub struct TestCatchScriptClusters { /// Binding represents a key/value set as a binding in an executing test. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestCatchScriptEnv { +pub struct TestStepsCatchScriptEnv { /// Name the name of the binding. pub name: String, /// Value value of the binding. @@ -506,7 +1141,7 @@ pub struct TestCatchScriptEnv { /// Output represents an output binding with a match to determine if the binding must be considered or not. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestCatchScriptOutputs { +pub struct TestStepsCatchScriptOutputs { /// Match defines the matching statement. #[serde(default, skip_serializing_if = "Option::is_none", rename = "match")] pub r#match: Option>, @@ -518,33 +1153,32 @@ pub struct TestCatchScriptOutputs { /// Sleep defines zzzz. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestCatchSleep { +pub struct TestStepsCatchSleep { /// Duration is the delay used for sleeping. pub duration: String, } /// Wait determines the resource wait collector to execute. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestCatchWait { +pub struct TestStepsCatchWait { /// API version of the referent. - #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] - pub api_version: Option, + #[serde(rename = "apiVersion")] + pub api_version: String, /// Cluster defines the target cluster where the wait operation will be performed (default cluster will be used if not specified). #[serde(default, skip_serializing_if = "Option::is_none")] pub cluster: Option, /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] - pub clusters: Option>, + pub clusters: Option>, /// For specifies the condition to wait for. #[serde(rename = "for")] - pub r#for: TestCatchWaitFor, + pub r#for: TestStepsCatchWaitFor, /// Format determines the output format (json or yaml). #[serde(default, skip_serializing_if = "Option::is_none")] pub format: Option, /// Kind of the referent. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - #[serde(default, skip_serializing_if = "Option::is_none")] - pub kind: Option, + pub kind: String, /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] @@ -553,9 +1187,6 @@ pub struct TestCatchWait { /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Resource name of the referent. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub resource: Option, /// Selector defines labels selector. #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, @@ -566,7 +1197,7 @@ pub struct TestCatchWait { /// Clusters holds a registry to clusters to support multi-cluster tests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestCatchWaitClusters { +pub struct TestStepsCatchWaitClusters { /// Context is the name of the context to use. #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option, @@ -577,21 +1208,21 @@ pub struct TestCatchWaitClusters { /// For specifies the condition to wait for. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestCatchWaitFor { +pub struct TestStepsCatchWaitFor { /// Condition specifies the condition to wait for. #[serde(default, skip_serializing_if = "Option::is_none")] - pub condition: Option, + pub condition: Option, /// Deletion specifies parameters for waiting on a resource's deletion. #[serde(default, skip_serializing_if = "Option::is_none")] - pub deletion: Option, + pub deletion: Option, /// JsonPath specifies the json path condition to wait for. #[serde(default, skip_serializing_if = "Option::is_none", rename = "jsonPath")] - pub json_path: Option, + pub json_path: Option, } /// Condition specifies the condition to wait for. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestCatchWaitForCondition { +pub struct TestStepsCatchWaitForCondition { /// Name defines the specific condition to wait for, e.g., "Available", "Ready". pub name: String, /// Value defines the specific condition status to wait for, e.g., "True", "False". @@ -601,120 +1232,62 @@ pub struct TestCatchWaitForCondition { /// Deletion specifies parameters for waiting on a resource's deletion. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestCatchWaitForDeletion { +pub struct TestStepsCatchWaitForDeletion { } /// JsonPath specifies the json path condition to wait for. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestCatchWaitForJsonPath { +pub struct TestStepsCatchWaitForJsonPath { /// Path defines the json path to wait for, e.g. '{.status.phase}'. pub path: String, /// Value defines the expected value to wait for, e.g., "Running". pub value: String, } -/// Clusters holds a registry to clusters to support multi-cluster tests. -#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestClusters { - /// Context is the name of the context to use. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub context: Option, - /// Kubeconfig is the path to the referenced file. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub kubeconfig: Option, -} - -/// TestStep contains the test step definition used in a test spec. -#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestSteps { - /// Bindings defines additional binding key/values. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub bindings: Option>, - /// Catch defines what the step will execute when an error happens. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub catch: Option>, - /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). - #[serde(default, skip_serializing_if = "Option::is_none")] - pub cluster: Option, - /// Clusters holds a registry to clusters to support multi-cluster tests. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub clusters: Option>, - /// Description contains a description of the test step. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub description: Option, - /// Finally defines what the step will execute after the step is terminated. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub finally: Option>, - /// Name of the step. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub name: Option, - /// SkipDelete determines whether the resources created by the step should be deleted after the test step is executed. - #[serde(default, skip_serializing_if = "Option::is_none", rename = "skipDelete")] - pub skip_delete: Option, - /// Template determines whether resources should be considered for templating. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub template: Option, - /// Timeouts for the test step. Overrides the global timeouts set in the Configuration and the timeouts eventually set in the Test. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub timeouts: Option, - /// Try defines what the step will try to execute. - #[serde(rename = "try")] - pub r#try: Vec, -} - -/// Binding represents a key/value set as a binding in an executing test. -#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsBindings { - /// Name the name of the binding. - pub name: String, - /// Value value of the binding. - pub value: serde_json::Value, -} - -/// Catch defines actions to be executed on failure. +/// Finally defines actions to be executed at the end of a test. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatch { +pub struct TestStepsCleanup { /// Command defines a command to run. #[serde(default, skip_serializing_if = "Option::is_none")] - pub command: Option, + pub command: Option, /// Delete represents a deletion operation. #[serde(default, skip_serializing_if = "Option::is_none")] - pub delete: Option, + pub delete: Option, /// Describe determines the resource describe collector to execute. #[serde(default, skip_serializing_if = "Option::is_none")] - pub describe: Option, + pub describe: Option, /// Description contains a description of the operation. #[serde(default, skip_serializing_if = "Option::is_none")] pub description: Option, /// Events determines the events collector to execute. #[serde(default, skip_serializing_if = "Option::is_none")] - pub events: Option, + pub events: Option, /// Get determines the resource get collector to execute. #[serde(default, skip_serializing_if = "Option::is_none")] - pub get: Option, + pub get: Option, /// PodLogs determines the pod logs collector to execute. #[serde(default, skip_serializing_if = "Option::is_none", rename = "podLogs")] - pub pod_logs: Option, + pub pod_logs: Option, /// Script defines a script to run. #[serde(default, skip_serializing_if = "Option::is_none")] - pub script: Option, + pub script: Option, /// Sleep defines zzzz. #[serde(default, skip_serializing_if = "Option::is_none")] - pub sleep: Option, + pub sleep: Option, /// Wait determines the resource wait collector to execute. #[serde(default, skip_serializing_if = "Option::is_none")] - pub wait: Option, + pub wait: Option, } /// Command defines a command to run. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchCommand { +pub struct TestStepsCleanupCommand { /// Args is the command arguments. #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, /// Bindings defines additional binding key/values. #[serde(default, skip_serializing_if = "Option::is_none")] - pub bindings: Option>, + pub bindings: Option>, /// Check is an assertion tree to validate the operation outcome. #[serde(default, skip_serializing_if = "Option::is_none")] pub check: Option>, @@ -723,15 +1296,15 @@ pub struct TestStepsCatchCommand { pub cluster: Option, /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] - pub clusters: Option>, + pub clusters: Option>, /// Entrypoint is the command entry point to run. pub entrypoint: String, /// Env defines additional environment variables. #[serde(default, skip_serializing_if = "Option::is_none")] - pub env: Option>, + pub env: Option>, /// Outputs defines output bindings. #[serde(default, skip_serializing_if = "Option::is_none")] - pub outputs: Option>, + pub outputs: Option>, /// SkipLogOutput removes the output from the command. Useful for sensitive logs or to reduce noise. #[serde(default, skip_serializing_if = "Option::is_none", rename = "skipLogOutput")] pub skip_log_output: Option, @@ -742,7 +1315,7 @@ pub struct TestStepsCatchCommand { /// Binding represents a key/value set as a binding in an executing test. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchCommandBindings { +pub struct TestStepsCleanupCommandBindings { /// Name the name of the binding. pub name: String, /// Value value of the binding. @@ -751,7 +1324,7 @@ pub struct TestStepsCatchCommandBindings { /// Clusters holds a registry to clusters to support multi-cluster tests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchCommandClusters { +pub struct TestStepsCleanupCommandClusters { /// Context is the name of the context to use. #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option, @@ -762,7 +1335,7 @@ pub struct TestStepsCatchCommandClusters { /// Binding represents a key/value set as a binding in an executing test. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchCommandEnv { +pub struct TestStepsCleanupCommandEnv { /// Name the name of the binding. pub name: String, /// Value value of the binding. @@ -771,7 +1344,7 @@ pub struct TestStepsCatchCommandEnv { /// Output represents an output binding with a match to determine if the binding must be considered or not. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchCommandOutputs { +pub struct TestStepsCleanupCommandOutputs { /// Match defines the matching statement. #[serde(default, skip_serializing_if = "Option::is_none", rename = "match")] pub r#match: Option>, @@ -783,22 +1356,32 @@ pub struct TestStepsCatchCommandOutputs { /// Delete represents a deletion operation. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchDelete { +pub struct TestStepsCleanupDelete { /// Bindings defines additional binding key/values. #[serde(default, skip_serializing_if = "Option::is_none")] - pub bindings: Option>, + pub bindings: Option>, /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). #[serde(default, skip_serializing_if = "Option::is_none")] pub cluster: Option, /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] - pub clusters: Option>, + pub clusters: Option>, + /// DeletionPropagationPolicy decides if a deletion will propagate to the dependents of + /// the object, and how the garbage collector will handle the propagation. + /// Overrides the deletion propagation policy set in the Configuration, the Test and the TestStep. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "deletionPropagationPolicy")] + pub deletion_propagation_policy: Option, /// Expect defines a list of matched checks to validate the operation outcome. #[serde(default, skip_serializing_if = "Option::is_none")] - pub expect: Option>, - /// ObjectReference determines objects to be deleted. - #[serde(rename = "ref")] - pub r#ref: TestStepsCatchDeleteRef, + pub expect: Option>, + /// File is the path to the referenced file. This can be a direct path to a file + /// or an expression that matches multiple files, such as "manifest/*.yaml" for all YAML + /// files within the "manifest" directory. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub file: Option, + /// Ref determines objects to be deleted. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ref")] + pub r#ref: Option, /// Template determines whether resources should be considered for templating. #[serde(default, skip_serializing_if = "Option::is_none")] pub template: Option, @@ -809,7 +1392,7 @@ pub struct TestStepsCatchDelete { /// Binding represents a key/value set as a binding in an executing test. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchDeleteBindings { +pub struct TestStepsCleanupDeleteBindings { /// Name the name of the binding. pub name: String, /// Value value of the binding. @@ -818,7 +1401,7 @@ pub struct TestStepsCatchDeleteBindings { /// Clusters holds a registry to clusters to support multi-cluster tests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchDeleteClusters { +pub struct TestStepsCleanupDeleteClusters { /// Context is the name of the context to use. #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option, @@ -827,10 +1410,18 @@ pub struct TestStepsCatchDeleteClusters { pub kubeconfig: Option, } +/// Delete represents a deletion operation. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum TestStepsCleanupDeleteDeletionPropagationPolicy { + Orphan, + Background, + Foreground, +} + /// Expectation represents a check to be applied on the result of an operation /// with a match filter to determine if the verification should be considered. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchDeleteExpect { +pub struct TestStepsCleanupDeleteExpect { /// Check defines the verification statement. pub check: BTreeMap, /// Match defines the matching statement. @@ -838,9 +1429,9 @@ pub struct TestStepsCatchDeleteExpect { pub r#match: Option>, } -/// ObjectReference determines objects to be deleted. +/// Ref determines objects to be deleted. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchDeleteRef { +pub struct TestStepsCleanupDeleteRef { /// API version of the referent. #[serde(rename = "apiVersion")] pub api_version: String, @@ -862,20 +1453,19 @@ pub struct TestStepsCatchDeleteRef { /// Describe determines the resource describe collector to execute. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchDescribe { +pub struct TestStepsCleanupDescribe { /// API version of the referent. - #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] - pub api_version: Option, + #[serde(rename = "apiVersion")] + pub api_version: String, /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). #[serde(default, skip_serializing_if = "Option::is_none")] pub cluster: Option, /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] - pub clusters: Option>, + pub clusters: Option>, /// Kind of the referent. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - #[serde(default, skip_serializing_if = "Option::is_none")] - pub kind: Option, + pub kind: String, /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] @@ -884,9 +1474,6 @@ pub struct TestStepsCatchDescribe { /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Resource name of the referent. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub resource: Option, /// Selector defines labels selector. #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, @@ -900,7 +1487,7 @@ pub struct TestStepsCatchDescribe { /// Clusters holds a registry to clusters to support multi-cluster tests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchDescribeClusters { +pub struct TestStepsCleanupDescribeClusters { /// Context is the name of the context to use. #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option, @@ -911,13 +1498,13 @@ pub struct TestStepsCatchDescribeClusters { /// Events determines the events collector to execute. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchEvents { +pub struct TestStepsCleanupEvents { /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). #[serde(default, skip_serializing_if = "Option::is_none")] pub cluster: Option, /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] - pub clusters: Option>, + pub clusters: Option>, /// Format determines the output format (json or yaml). #[serde(default, skip_serializing_if = "Option::is_none")] pub format: Option, @@ -939,7 +1526,7 @@ pub struct TestStepsCatchEvents { /// Clusters holds a registry to clusters to support multi-cluster tests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchEventsClusters { +pub struct TestStepsCleanupEventsClusters { /// Context is the name of the context to use. #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option, @@ -950,23 +1537,22 @@ pub struct TestStepsCatchEventsClusters { /// Get determines the resource get collector to execute. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchGet { +pub struct TestStepsCleanupGet { /// API version of the referent. - #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] - pub api_version: Option, + #[serde(rename = "apiVersion")] + pub api_version: String, /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). #[serde(default, skip_serializing_if = "Option::is_none")] pub cluster: Option, /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] - pub clusters: Option>, + pub clusters: Option>, /// Format determines the output format (json or yaml). #[serde(default, skip_serializing_if = "Option::is_none")] pub format: Option, /// Kind of the referent. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - #[serde(default, skip_serializing_if = "Option::is_none")] - pub kind: Option, + pub kind: String, /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] @@ -975,9 +1561,6 @@ pub struct TestStepsCatchGet { /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Resource name of the referent. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub resource: Option, /// Selector defines labels selector. #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, @@ -988,7 +1571,7 @@ pub struct TestStepsCatchGet { /// Clusters holds a registry to clusters to support multi-cluster tests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchGetClusters { +pub struct TestStepsCleanupGetClusters { /// Context is the name of the context to use. #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option, @@ -999,13 +1582,13 @@ pub struct TestStepsCatchGetClusters { /// PodLogs determines the pod logs collector to execute. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchPodLogs { +pub struct TestStepsCleanupPodLogs { /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). #[serde(default, skip_serializing_if = "Option::is_none")] pub cluster: Option, /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] - pub clusters: Option>, + pub clusters: Option>, /// Container in pod to get logs from else --all-containers is used. #[serde(default, skip_serializing_if = "Option::is_none")] pub container: Option, @@ -1032,7 +1615,7 @@ pub struct TestStepsCatchPodLogs { /// Clusters holds a registry to clusters to support multi-cluster tests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchPodLogsClusters { +pub struct TestStepsCleanupPodLogsClusters { /// Context is the name of the context to use. #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option, @@ -1043,10 +1626,10 @@ pub struct TestStepsCatchPodLogsClusters { /// Script defines a script to run. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchScript { +pub struct TestStepsCleanupScript { /// Bindings defines additional binding key/values. #[serde(default, skip_serializing_if = "Option::is_none")] - pub bindings: Option>, + pub bindings: Option>, /// Check is an assertion tree to validate the operation outcome. #[serde(default, skip_serializing_if = "Option::is_none")] pub check: Option>, @@ -1055,16 +1638,16 @@ pub struct TestStepsCatchScript { pub cluster: Option, /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] - pub clusters: Option>, + pub clusters: Option>, /// Content defines a shell script (run with "sh -c ..."). #[serde(default, skip_serializing_if = "Option::is_none")] pub content: Option, /// Env defines additional environment variables. #[serde(default, skip_serializing_if = "Option::is_none")] - pub env: Option>, + pub env: Option>, /// Outputs defines output bindings. #[serde(default, skip_serializing_if = "Option::is_none")] - pub outputs: Option>, + pub outputs: Option>, /// SkipLogOutput removes the output from the command. Useful for sensitive logs or to reduce noise. #[serde(default, skip_serializing_if = "Option::is_none", rename = "skipLogOutput")] pub skip_log_output: Option, @@ -1075,7 +1658,7 @@ pub struct TestStepsCatchScript { /// Binding represents a key/value set as a binding in an executing test. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchScriptBindings { +pub struct TestStepsCleanupScriptBindings { /// Name the name of the binding. pub name: String, /// Value value of the binding. @@ -1084,7 +1667,7 @@ pub struct TestStepsCatchScriptBindings { /// Clusters holds a registry to clusters to support multi-cluster tests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchScriptClusters { +pub struct TestStepsCleanupScriptClusters { /// Context is the name of the context to use. #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option, @@ -1095,7 +1678,7 @@ pub struct TestStepsCatchScriptClusters { /// Binding represents a key/value set as a binding in an executing test. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchScriptEnv { +pub struct TestStepsCleanupScriptEnv { /// Name the name of the binding. pub name: String, /// Value value of the binding. @@ -1104,7 +1687,7 @@ pub struct TestStepsCatchScriptEnv { /// Output represents an output binding with a match to determine if the binding must be considered or not. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchScriptOutputs { +pub struct TestStepsCleanupScriptOutputs { /// Match defines the matching statement. #[serde(default, skip_serializing_if = "Option::is_none", rename = "match")] pub r#match: Option>, @@ -1116,33 +1699,32 @@ pub struct TestStepsCatchScriptOutputs { /// Sleep defines zzzz. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchSleep { +pub struct TestStepsCleanupSleep { /// Duration is the delay used for sleeping. pub duration: String, } /// Wait determines the resource wait collector to execute. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchWait { +pub struct TestStepsCleanupWait { /// API version of the referent. - #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] - pub api_version: Option, + #[serde(rename = "apiVersion")] + pub api_version: String, /// Cluster defines the target cluster where the wait operation will be performed (default cluster will be used if not specified). #[serde(default, skip_serializing_if = "Option::is_none")] pub cluster: Option, /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] - pub clusters: Option>, + pub clusters: Option>, /// For specifies the condition to wait for. #[serde(rename = "for")] - pub r#for: TestStepsCatchWaitFor, + pub r#for: TestStepsCleanupWaitFor, /// Format determines the output format (json or yaml). #[serde(default, skip_serializing_if = "Option::is_none")] pub format: Option, /// Kind of the referent. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - #[serde(default, skip_serializing_if = "Option::is_none")] - pub kind: Option, + pub kind: String, /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1151,9 +1733,6 @@ pub struct TestStepsCatchWait { /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Resource name of the referent. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub resource: Option, /// Selector defines labels selector. #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, @@ -1164,7 +1743,7 @@ pub struct TestStepsCatchWait { /// Clusters holds a registry to clusters to support multi-cluster tests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchWaitClusters { +pub struct TestStepsCleanupWaitClusters { /// Context is the name of the context to use. #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option, @@ -1175,21 +1754,21 @@ pub struct TestStepsCatchWaitClusters { /// For specifies the condition to wait for. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchWaitFor { +pub struct TestStepsCleanupWaitFor { /// Condition specifies the condition to wait for. #[serde(default, skip_serializing_if = "Option::is_none")] - pub condition: Option, + pub condition: Option, /// Deletion specifies parameters for waiting on a resource's deletion. #[serde(default, skip_serializing_if = "Option::is_none")] - pub deletion: Option, + pub deletion: Option, /// JsonPath specifies the json path condition to wait for. #[serde(default, skip_serializing_if = "Option::is_none", rename = "jsonPath")] - pub json_path: Option, + pub json_path: Option, } /// Condition specifies the condition to wait for. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchWaitForCondition { +pub struct TestStepsCleanupWaitForCondition { /// Name defines the specific condition to wait for, e.g., "Available", "Ready". pub name: String, /// Value defines the specific condition status to wait for, e.g., "True", "False". @@ -1199,12 +1778,12 @@ pub struct TestStepsCatchWaitForCondition { /// Deletion specifies parameters for waiting on a resource's deletion. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchWaitForDeletion { +pub struct TestStepsCleanupWaitForDeletion { } /// JsonPath specifies the json path condition to wait for. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct TestStepsCatchWaitForJsonPath { +pub struct TestStepsCleanupWaitForJsonPath { /// Path defines the json path to wait for, e.g. '{.status.phase}'. pub path: String, /// Value defines the expected value to wait for, e.g., "Running". @@ -1222,6 +1801,14 @@ pub struct TestStepsClusters { pub kubeconfig: Option, } +/// TestStep contains the test step definition used in a test spec. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum TestStepsDeletionPropagationPolicy { + Orphan, + Background, + Foreground, +} + /// Finally defines actions to be executed at the end of a test. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestStepsFinally { @@ -1344,12 +1931,22 @@ pub struct TestStepsFinallyDelete { /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] pub clusters: Option>, + /// DeletionPropagationPolicy decides if a deletion will propagate to the dependents of + /// the object, and how the garbage collector will handle the propagation. + /// Overrides the deletion propagation policy set in the Configuration, the Test and the TestStep. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "deletionPropagationPolicy")] + pub deletion_propagation_policy: Option, /// Expect defines a list of matched checks to validate the operation outcome. #[serde(default, skip_serializing_if = "Option::is_none")] pub expect: Option>, - /// ObjectReference determines objects to be deleted. - #[serde(rename = "ref")] - pub r#ref: TestStepsFinallyDeleteRef, + /// File is the path to the referenced file. This can be a direct path to a file + /// or an expression that matches multiple files, such as "manifest/*.yaml" for all YAML + /// files within the "manifest" directory. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub file: Option, + /// Ref determines objects to be deleted. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ref")] + pub r#ref: Option, /// Template determines whether resources should be considered for templating. #[serde(default, skip_serializing_if = "Option::is_none")] pub template: Option, @@ -1378,6 +1975,14 @@ pub struct TestStepsFinallyDeleteClusters { pub kubeconfig: Option, } +/// Delete represents a deletion operation. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum TestStepsFinallyDeleteDeletionPropagationPolicy { + Orphan, + Background, + Foreground, +} + /// Expectation represents a check to be applied on the result of an operation /// with a match filter to determine if the verification should be considered. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] @@ -1389,7 +1994,7 @@ pub struct TestStepsFinallyDeleteExpect { pub r#match: Option>, } -/// ObjectReference determines objects to be deleted. +/// Ref determines objects to be deleted. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestStepsFinallyDeleteRef { /// API version of the referent. @@ -1415,8 +2020,8 @@ pub struct TestStepsFinallyDeleteRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestStepsFinallyDescribe { /// API version of the referent. - #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] - pub api_version: Option, + #[serde(rename = "apiVersion")] + pub api_version: String, /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). #[serde(default, skip_serializing_if = "Option::is_none")] pub cluster: Option, @@ -1425,8 +2030,7 @@ pub struct TestStepsFinallyDescribe { pub clusters: Option>, /// Kind of the referent. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - #[serde(default, skip_serializing_if = "Option::is_none")] - pub kind: Option, + pub kind: String, /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1435,9 +2039,6 @@ pub struct TestStepsFinallyDescribe { /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Resource name of the referent. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub resource: Option, /// Selector defines labels selector. #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, @@ -1503,8 +2104,8 @@ pub struct TestStepsFinallyEventsClusters { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestStepsFinallyGet { /// API version of the referent. - #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] - pub api_version: Option, + #[serde(rename = "apiVersion")] + pub api_version: String, /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). #[serde(default, skip_serializing_if = "Option::is_none")] pub cluster: Option, @@ -1516,8 +2117,7 @@ pub struct TestStepsFinallyGet { pub format: Option, /// Kind of the referent. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - #[serde(default, skip_serializing_if = "Option::is_none")] - pub kind: Option, + pub kind: String, /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1526,9 +2126,6 @@ pub struct TestStepsFinallyGet { /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Resource name of the referent. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub resource: Option, /// Selector defines labels selector. #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, @@ -1676,8 +2273,8 @@ pub struct TestStepsFinallySleep { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestStepsFinallyWait { /// API version of the referent. - #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] - pub api_version: Option, + #[serde(rename = "apiVersion")] + pub api_version: String, /// Cluster defines the target cluster where the wait operation will be performed (default cluster will be used if not specified). #[serde(default, skip_serializing_if = "Option::is_none")] pub cluster: Option, @@ -1692,8 +2289,7 @@ pub struct TestStepsFinallyWait { pub format: Option, /// Kind of the referent. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - #[serde(default, skip_serializing_if = "Option::is_none")] - pub kind: Option, + pub kind: String, /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1702,9 +2298,6 @@ pub struct TestStepsFinallyWait { /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Resource name of the referent. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub resource: Option, /// Selector defines labels selector. #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, @@ -2128,12 +2721,22 @@ pub struct TestStepsTryDelete { /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] pub clusters: Option>, + /// DeletionPropagationPolicy decides if a deletion will propagate to the dependents of + /// the object, and how the garbage collector will handle the propagation. + /// Overrides the deletion propagation policy set in the Configuration, the Test and the TestStep. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "deletionPropagationPolicy")] + pub deletion_propagation_policy: Option, /// Expect defines a list of matched checks to validate the operation outcome. #[serde(default, skip_serializing_if = "Option::is_none")] pub expect: Option>, - /// ObjectReference determines objects to be deleted. - #[serde(rename = "ref")] - pub r#ref: TestStepsTryDeleteRef, + /// File is the path to the referenced file. This can be a direct path to a file + /// or an expression that matches multiple files, such as "manifest/*.yaml" for all YAML + /// files within the "manifest" directory. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub file: Option, + /// Ref determines objects to be deleted. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ref")] + pub r#ref: Option, /// Template determines whether resources should be considered for templating. #[serde(default, skip_serializing_if = "Option::is_none")] pub template: Option, @@ -2162,6 +2765,14 @@ pub struct TestStepsTryDeleteClusters { pub kubeconfig: Option, } +/// Delete represents a deletion operation. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum TestStepsTryDeleteDeletionPropagationPolicy { + Orphan, + Background, + Foreground, +} + /// Expectation represents a check to be applied on the result of an operation /// with a match filter to determine if the verification should be considered. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] @@ -2173,7 +2784,7 @@ pub struct TestStepsTryDeleteExpect { pub r#match: Option>, } -/// ObjectReference determines objects to be deleted. +/// Ref determines objects to be deleted. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestStepsTryDeleteRef { /// API version of the referent. @@ -2488,8 +3099,8 @@ pub struct TestStepsTryUpdateOutputs { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestStepsTryWait { /// API version of the referent. - #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] - pub api_version: Option, + #[serde(rename = "apiVersion")] + pub api_version: String, /// Cluster defines the target cluster where the wait operation will be performed (default cluster will be used if not specified). #[serde(default, skip_serializing_if = "Option::is_none")] pub cluster: Option, @@ -2504,8 +3115,7 @@ pub struct TestStepsTryWait { pub format: Option, /// Kind of the referent. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - #[serde(default, skip_serializing_if = "Option::is_none")] - pub kind: Option, + pub kind: String, /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2514,9 +3124,6 @@ pub struct TestStepsTryWait { /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Resource name of the referent. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub resource: Option, /// Selector defines labels selector. #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, diff --git a/kube-custom-resources-rs/src/chainsaw_kyverno_io/v1alpha2/configurations.rs b/kube-custom-resources-rs/src/chainsaw_kyverno_io/v1alpha2/configurations.rs index dae19a2f7..d15a16b04 100644 --- a/kube-custom-resources-rs/src/chainsaw_kyverno_io/v1alpha2/configurations.rs +++ b/kube-custom-resources-rs/src/chainsaw_kyverno_io/v1alpha2/configurations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/chainsaw/chainsaw.kyverno.io/v1alpha2/configurations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -17,19 +17,21 @@ use self::prelude::*; #[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ConfigurationSpec { - /// Catch defines what the tests steps will execute when an error happens. - /// This will be combined with catch handlers defined at the test and step levels. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub catch: Option>, /// Cleanup contains cleanup configuration. #[serde(default, skip_serializing_if = "Option::is_none")] pub cleanup: Option, /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] pub clusters: Option>, + /// Deletion contains the global deletion configuration. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub deletion: Option, /// Discovery contains tests discovery configuration. #[serde(default, skip_serializing_if = "Option::is_none")] pub discovery: Option, + /// Error contains the global error configuration. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub error: Option, /// Execution contains tests execution configuration. #[serde(default, skip_serializing_if = "Option::is_none")] pub execution: Option, @@ -47,50 +49,116 @@ pub struct ConfigurationSpec { pub timeouts: Option, } +/// Cleanup contains cleanup configuration. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct ConfigurationCleanup { + /// DelayBeforeCleanup adds a delay between the time a test ends and the time cleanup starts. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "delayBeforeCleanup")] + pub delay_before_cleanup: Option, + /// If set, do not delete the resources after running a test. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "skipDelete")] + pub skip_delete: Option, +} + +/// Clusters holds a registry to clusters to support multi-cluster tests. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct ConfigurationClusters { + /// Context is the name of the context to use. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub context: Option, + /// Kubeconfig is the path to the referenced file. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub kubeconfig: Option, +} + +/// Deletion contains the global deletion configuration. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct ConfigurationDeletion { + /// Propagation decides if a deletion will propagate to the dependents of + /// the object, and how the garbage collector will handle the propagation. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub propagation: Option, +} + +/// Deletion contains the global deletion configuration. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum ConfigurationDeletionPropagation { + Orphan, + Background, + Foreground, +} + +/// Discovery contains tests discovery configuration. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct ConfigurationDiscovery { + /// ExcludeTestRegex is used to exclude tests based on a regular expression. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "excludeTestRegex")] + pub exclude_test_regex: Option, + /// FullName makes use of the full test case folder path instead of the folder name. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "fullName")] + pub full_name: Option, + /// IncludeTestRegex is used to include tests based on a regular expression. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "includeTestRegex")] + pub include_test_regex: Option, + /// TestFile is the name of the file containing the test to run. + /// If no extension is provided, chainsaw will try with .yaml first and .yml if needed. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "testFile")] + pub test_file: Option, +} + +/// Error contains the global error configuration. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct ConfigurationError { + /// Catch defines what the tests steps will execute when an error happens. + /// This will be combined with catch handlers defined at the test and step levels. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub catch: Option>, +} + /// Catch defines actions to be executed on failure. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatch { +pub struct ConfigurationErrorCatch { /// Command defines a command to run. #[serde(default, skip_serializing_if = "Option::is_none")] - pub command: Option, + pub command: Option, /// Delete represents a deletion operation. #[serde(default, skip_serializing_if = "Option::is_none")] - pub delete: Option, + pub delete: Option, /// Describe determines the resource describe collector to execute. #[serde(default, skip_serializing_if = "Option::is_none")] - pub describe: Option, + pub describe: Option, /// Description contains a description of the operation. #[serde(default, skip_serializing_if = "Option::is_none")] pub description: Option, /// Events determines the events collector to execute. #[serde(default, skip_serializing_if = "Option::is_none")] - pub events: Option, + pub events: Option, /// Get determines the resource get collector to execute. #[serde(default, skip_serializing_if = "Option::is_none")] - pub get: Option, + pub get: Option, /// PodLogs determines the pod logs collector to execute. #[serde(default, skip_serializing_if = "Option::is_none", rename = "podLogs")] - pub pod_logs: Option, + pub pod_logs: Option, /// Script defines a script to run. #[serde(default, skip_serializing_if = "Option::is_none")] - pub script: Option, + pub script: Option, /// Sleep defines zzzz. #[serde(default, skip_serializing_if = "Option::is_none")] - pub sleep: Option, + pub sleep: Option, /// Wait determines the resource wait collector to execute. #[serde(default, skip_serializing_if = "Option::is_none")] - pub wait: Option, + pub wait: Option, } /// Command defines a command to run. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchCommand { +pub struct ConfigurationErrorCatchCommand { /// Args is the command arguments. #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, /// Bindings defines additional binding key/values. #[serde(default, skip_serializing_if = "Option::is_none")] - pub bindings: Option>, + pub bindings: Option>, /// Check is an assertion tree to validate the operation outcome. #[serde(default, skip_serializing_if = "Option::is_none")] pub check: Option>, @@ -99,15 +167,15 @@ pub struct ConfigurationCatchCommand { pub cluster: Option, /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] - pub clusters: Option>, + pub clusters: Option>, /// Entrypoint is the command entry point to run. pub entrypoint: String, /// Env defines additional environment variables. #[serde(default, skip_serializing_if = "Option::is_none")] - pub env: Option>, + pub env: Option>, /// Outputs defines output bindings. #[serde(default, skip_serializing_if = "Option::is_none")] - pub outputs: Option>, + pub outputs: Option>, /// SkipLogOutput removes the output from the command. Useful for sensitive logs or to reduce noise. #[serde(default, skip_serializing_if = "Option::is_none", rename = "skipLogOutput")] pub skip_log_output: Option, @@ -118,7 +186,7 @@ pub struct ConfigurationCatchCommand { /// Binding represents a key/value set as a binding in an executing test. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchCommandBindings { +pub struct ConfigurationErrorCatchCommandBindings { /// Name the name of the binding. pub name: String, /// Value value of the binding. @@ -127,7 +195,7 @@ pub struct ConfigurationCatchCommandBindings { /// Clusters holds a registry to clusters to support multi-cluster tests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchCommandClusters { +pub struct ConfigurationErrorCatchCommandClusters { /// Context is the name of the context to use. #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option, @@ -138,7 +206,7 @@ pub struct ConfigurationCatchCommandClusters { /// Binding represents a key/value set as a binding in an executing test. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchCommandEnv { +pub struct ConfigurationErrorCatchCommandEnv { /// Name the name of the binding. pub name: String, /// Value value of the binding. @@ -147,7 +215,7 @@ pub struct ConfigurationCatchCommandEnv { /// Output represents an output binding with a match to determine if the binding must be considered or not. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchCommandOutputs { +pub struct ConfigurationErrorCatchCommandOutputs { /// Match defines the matching statement. #[serde(default, skip_serializing_if = "Option::is_none", rename = "match")] pub r#match: Option>, @@ -159,22 +227,32 @@ pub struct ConfigurationCatchCommandOutputs { /// Delete represents a deletion operation. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchDelete { +pub struct ConfigurationErrorCatchDelete { /// Bindings defines additional binding key/values. #[serde(default, skip_serializing_if = "Option::is_none")] - pub bindings: Option>, + pub bindings: Option>, /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). #[serde(default, skip_serializing_if = "Option::is_none")] pub cluster: Option, /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] - pub clusters: Option>, + pub clusters: Option>, + /// DeletionPropagationPolicy decides if a deletion will propagate to the dependents of + /// the object, and how the garbage collector will handle the propagation. + /// Overrides the deletion propagation policy set in the Configuration, the Test and the TestStep. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "deletionPropagationPolicy")] + pub deletion_propagation_policy: Option, /// Expect defines a list of matched checks to validate the operation outcome. #[serde(default, skip_serializing_if = "Option::is_none")] - pub expect: Option>, - /// ObjectReference determines objects to be deleted. - #[serde(rename = "ref")] - pub r#ref: ConfigurationCatchDeleteRef, + pub expect: Option>, + /// File is the path to the referenced file. This can be a direct path to a file + /// or an expression that matches multiple files, such as "manifest/*.yaml" for all YAML + /// files within the "manifest" directory. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub file: Option, + /// Ref determines objects to be deleted. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ref")] + pub r#ref: Option, /// Template determines whether resources should be considered for templating. #[serde(default, skip_serializing_if = "Option::is_none")] pub template: Option, @@ -185,7 +263,7 @@ pub struct ConfigurationCatchDelete { /// Binding represents a key/value set as a binding in an executing test. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchDeleteBindings { +pub struct ConfigurationErrorCatchDeleteBindings { /// Name the name of the binding. pub name: String, /// Value value of the binding. @@ -194,7 +272,7 @@ pub struct ConfigurationCatchDeleteBindings { /// Clusters holds a registry to clusters to support multi-cluster tests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchDeleteClusters { +pub struct ConfigurationErrorCatchDeleteClusters { /// Context is the name of the context to use. #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option, @@ -203,10 +281,18 @@ pub struct ConfigurationCatchDeleteClusters { pub kubeconfig: Option, } +/// Delete represents a deletion operation. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum ConfigurationErrorCatchDeleteDeletionPropagationPolicy { + Orphan, + Background, + Foreground, +} + /// Expectation represents a check to be applied on the result of an operation /// with a match filter to determine if the verification should be considered. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchDeleteExpect { +pub struct ConfigurationErrorCatchDeleteExpect { /// Check defines the verification statement. pub check: BTreeMap, /// Match defines the matching statement. @@ -214,9 +300,9 @@ pub struct ConfigurationCatchDeleteExpect { pub r#match: Option>, } -/// ObjectReference determines objects to be deleted. +/// Ref determines objects to be deleted. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchDeleteRef { +pub struct ConfigurationErrorCatchDeleteRef { /// API version of the referent. #[serde(rename = "apiVersion")] pub api_version: String, @@ -238,20 +324,19 @@ pub struct ConfigurationCatchDeleteRef { /// Describe determines the resource describe collector to execute. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchDescribe { +pub struct ConfigurationErrorCatchDescribe { /// API version of the referent. - #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] - pub api_version: Option, + #[serde(rename = "apiVersion")] + pub api_version: String, /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). #[serde(default, skip_serializing_if = "Option::is_none")] pub cluster: Option, /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] - pub clusters: Option>, + pub clusters: Option>, /// Kind of the referent. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - #[serde(default, skip_serializing_if = "Option::is_none")] - pub kind: Option, + pub kind: String, /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] @@ -260,9 +345,6 @@ pub struct ConfigurationCatchDescribe { /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Resource name of the referent. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub resource: Option, /// Selector defines labels selector. #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, @@ -276,7 +358,7 @@ pub struct ConfigurationCatchDescribe { /// Clusters holds a registry to clusters to support multi-cluster tests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchDescribeClusters { +pub struct ConfigurationErrorCatchDescribeClusters { /// Context is the name of the context to use. #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option, @@ -287,13 +369,13 @@ pub struct ConfigurationCatchDescribeClusters { /// Events determines the events collector to execute. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchEvents { +pub struct ConfigurationErrorCatchEvents { /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). #[serde(default, skip_serializing_if = "Option::is_none")] pub cluster: Option, /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] - pub clusters: Option>, + pub clusters: Option>, /// Format determines the output format (json or yaml). #[serde(default, skip_serializing_if = "Option::is_none")] pub format: Option, @@ -315,7 +397,7 @@ pub struct ConfigurationCatchEvents { /// Clusters holds a registry to clusters to support multi-cluster tests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchEventsClusters { +pub struct ConfigurationErrorCatchEventsClusters { /// Context is the name of the context to use. #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option, @@ -326,23 +408,22 @@ pub struct ConfigurationCatchEventsClusters { /// Get determines the resource get collector to execute. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchGet { +pub struct ConfigurationErrorCatchGet { /// API version of the referent. - #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] - pub api_version: Option, + #[serde(rename = "apiVersion")] + pub api_version: String, /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). #[serde(default, skip_serializing_if = "Option::is_none")] pub cluster: Option, /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] - pub clusters: Option>, + pub clusters: Option>, /// Format determines the output format (json or yaml). #[serde(default, skip_serializing_if = "Option::is_none")] pub format: Option, /// Kind of the referent. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - #[serde(default, skip_serializing_if = "Option::is_none")] - pub kind: Option, + pub kind: String, /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] @@ -351,9 +432,6 @@ pub struct ConfigurationCatchGet { /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Resource name of the referent. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub resource: Option, /// Selector defines labels selector. #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, @@ -364,7 +442,7 @@ pub struct ConfigurationCatchGet { /// Clusters holds a registry to clusters to support multi-cluster tests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchGetClusters { +pub struct ConfigurationErrorCatchGetClusters { /// Context is the name of the context to use. #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option, @@ -375,13 +453,13 @@ pub struct ConfigurationCatchGetClusters { /// PodLogs determines the pod logs collector to execute. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchPodLogs { +pub struct ConfigurationErrorCatchPodLogs { /// Cluster defines the target cluster (default cluster will be used if not specified and/or overridden). #[serde(default, skip_serializing_if = "Option::is_none")] pub cluster: Option, /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] - pub clusters: Option>, + pub clusters: Option>, /// Container in pod to get logs from else --all-containers is used. #[serde(default, skip_serializing_if = "Option::is_none")] pub container: Option, @@ -408,7 +486,7 @@ pub struct ConfigurationCatchPodLogs { /// Clusters holds a registry to clusters to support multi-cluster tests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchPodLogsClusters { +pub struct ConfigurationErrorCatchPodLogsClusters { /// Context is the name of the context to use. #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option, @@ -419,10 +497,10 @@ pub struct ConfigurationCatchPodLogsClusters { /// Script defines a script to run. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchScript { +pub struct ConfigurationErrorCatchScript { /// Bindings defines additional binding key/values. #[serde(default, skip_serializing_if = "Option::is_none")] - pub bindings: Option>, + pub bindings: Option>, /// Check is an assertion tree to validate the operation outcome. #[serde(default, skip_serializing_if = "Option::is_none")] pub check: Option>, @@ -431,16 +509,16 @@ pub struct ConfigurationCatchScript { pub cluster: Option, /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] - pub clusters: Option>, + pub clusters: Option>, /// Content defines a shell script (run with "sh -c ..."). #[serde(default, skip_serializing_if = "Option::is_none")] pub content: Option, /// Env defines additional environment variables. #[serde(default, skip_serializing_if = "Option::is_none")] - pub env: Option>, + pub env: Option>, /// Outputs defines output bindings. #[serde(default, skip_serializing_if = "Option::is_none")] - pub outputs: Option>, + pub outputs: Option>, /// SkipLogOutput removes the output from the command. Useful for sensitive logs or to reduce noise. #[serde(default, skip_serializing_if = "Option::is_none", rename = "skipLogOutput")] pub skip_log_output: Option, @@ -451,7 +529,7 @@ pub struct ConfigurationCatchScript { /// Binding represents a key/value set as a binding in an executing test. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchScriptBindings { +pub struct ConfigurationErrorCatchScriptBindings { /// Name the name of the binding. pub name: String, /// Value value of the binding. @@ -460,7 +538,7 @@ pub struct ConfigurationCatchScriptBindings { /// Clusters holds a registry to clusters to support multi-cluster tests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchScriptClusters { +pub struct ConfigurationErrorCatchScriptClusters { /// Context is the name of the context to use. #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option, @@ -471,7 +549,7 @@ pub struct ConfigurationCatchScriptClusters { /// Binding represents a key/value set as a binding in an executing test. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchScriptEnv { +pub struct ConfigurationErrorCatchScriptEnv { /// Name the name of the binding. pub name: String, /// Value value of the binding. @@ -480,7 +558,7 @@ pub struct ConfigurationCatchScriptEnv { /// Output represents an output binding with a match to determine if the binding must be considered or not. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchScriptOutputs { +pub struct ConfigurationErrorCatchScriptOutputs { /// Match defines the matching statement. #[serde(default, skip_serializing_if = "Option::is_none", rename = "match")] pub r#match: Option>, @@ -492,33 +570,32 @@ pub struct ConfigurationCatchScriptOutputs { /// Sleep defines zzzz. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchSleep { +pub struct ConfigurationErrorCatchSleep { /// Duration is the delay used for sleeping. pub duration: String, } /// Wait determines the resource wait collector to execute. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchWait { +pub struct ConfigurationErrorCatchWait { /// API version of the referent. - #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] - pub api_version: Option, + #[serde(rename = "apiVersion")] + pub api_version: String, /// Cluster defines the target cluster where the wait operation will be performed (default cluster will be used if not specified). #[serde(default, skip_serializing_if = "Option::is_none")] pub cluster: Option, /// Clusters holds a registry to clusters to support multi-cluster tests. #[serde(default, skip_serializing_if = "Option::is_none")] - pub clusters: Option>, + pub clusters: Option>, /// For specifies the condition to wait for. #[serde(rename = "for")] - pub r#for: ConfigurationCatchWaitFor, + pub r#for: ConfigurationErrorCatchWaitFor, /// Format determines the output format (json or yaml). #[serde(default, skip_serializing_if = "Option::is_none")] pub format: Option, /// Kind of the referent. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - #[serde(default, skip_serializing_if = "Option::is_none")] - pub kind: Option, + pub kind: String, /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] @@ -527,9 +604,6 @@ pub struct ConfigurationCatchWait { /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Resource name of the referent. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub resource: Option, /// Selector defines labels selector. #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, @@ -540,7 +614,7 @@ pub struct ConfigurationCatchWait { /// Clusters holds a registry to clusters to support multi-cluster tests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchWaitClusters { +pub struct ConfigurationErrorCatchWaitClusters { /// Context is the name of the context to use. #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option, @@ -551,21 +625,21 @@ pub struct ConfigurationCatchWaitClusters { /// For specifies the condition to wait for. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchWaitFor { +pub struct ConfigurationErrorCatchWaitFor { /// Condition specifies the condition to wait for. #[serde(default, skip_serializing_if = "Option::is_none")] - pub condition: Option, + pub condition: Option, /// Deletion specifies parameters for waiting on a resource's deletion. #[serde(default, skip_serializing_if = "Option::is_none")] - pub deletion: Option, + pub deletion: Option, /// JsonPath specifies the json path condition to wait for. #[serde(default, skip_serializing_if = "Option::is_none", rename = "jsonPath")] - pub json_path: Option, + pub json_path: Option, } /// Condition specifies the condition to wait for. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchWaitForCondition { +pub struct ConfigurationErrorCatchWaitForCondition { /// Name defines the specific condition to wait for, e.g., "Available", "Ready". pub name: String, /// Value defines the specific condition status to wait for, e.g., "True", "False". @@ -575,58 +649,18 @@ pub struct ConfigurationCatchWaitForCondition { /// Deletion specifies parameters for waiting on a resource's deletion. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchWaitForDeletion { +pub struct ConfigurationErrorCatchWaitForDeletion { } /// JsonPath specifies the json path condition to wait for. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCatchWaitForJsonPath { +pub struct ConfigurationErrorCatchWaitForJsonPath { /// Path defines the json path to wait for, e.g. '{.status.phase}'. pub path: String, /// Value defines the expected value to wait for, e.g., "Running". pub value: String, } -/// Cleanup contains cleanup configuration. -#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationCleanup { - /// DelayBeforeCleanup adds a delay between the time a test ends and the time cleanup starts. - #[serde(default, skip_serializing_if = "Option::is_none", rename = "delayBeforeCleanup")] - pub delay_before_cleanup: Option, - /// If set, do not delete the resources after running a test. - #[serde(default, skip_serializing_if = "Option::is_none", rename = "skipDelete")] - pub skip_delete: Option, -} - -/// Clusters holds a registry to clusters to support multi-cluster tests. -#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationClusters { - /// Context is the name of the context to use. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub context: Option, - /// Kubeconfig is the path to the referenced file. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub kubeconfig: Option, -} - -/// Discovery contains tests discovery configuration. -#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct ConfigurationDiscovery { - /// ExcludeTestRegex is used to exclude tests based on a regular expression. - #[serde(default, skip_serializing_if = "Option::is_none", rename = "excludeTestRegex")] - pub exclude_test_regex: Option, - /// FullName makes use of the full test case folder path instead of the folder name. - #[serde(default, skip_serializing_if = "Option::is_none", rename = "fullName")] - pub full_name: Option, - /// IncludeTestRegex is used to include tests based on a regular expression. - #[serde(default, skip_serializing_if = "Option::is_none", rename = "includeTestRegex")] - pub include_test_regex: Option, - /// TestFile is the name of the file containing the test to run. - /// If no extension is provided, chainsaw will try with .yaml first and .yml if needed. - #[serde(default, skip_serializing_if = "Option::is_none", rename = "testFile")] - pub test_file: Option, -} - /// Execution contains tests execution configuration. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigurationExecution { diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/awschaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/awschaos.rs index ea7b283c9..41484db2d 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/awschaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/awschaos.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/awschaos.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/azurechaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/azurechaos.rs index 9469f6f6f..181d8c181 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/azurechaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/azurechaos.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/azurechaos.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/blockchaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/blockchaos.rs index dead8b939..7f24059f5 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/blockchaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/blockchaos.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/blockchaos.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/dnschaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/dnschaos.rs index ffeeba7e9..bf5639eca 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/dnschaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/dnschaos.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/dnschaos.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/gcpchaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/gcpchaos.rs index 2e3f5b866..63a1a4797 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/gcpchaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/gcpchaos.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/gcpchaos.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/httpchaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/httpchaos.rs index 4fa174392..91d42b09c 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/httpchaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/httpchaos.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/httpchaos.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/iochaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/iochaos.rs index 7c84544cb..7bb80b073 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/iochaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/iochaos.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/iochaos.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/jvmchaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/jvmchaos.rs index 12679e4d4..57cd225a1 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/jvmchaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/jvmchaos.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/jvmchaos.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/kernelchaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/kernelchaos.rs index f30984129..5fc8a1773 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/kernelchaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/kernelchaos.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/kernelchaos.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/networkchaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/networkchaos.rs index af830101c..81e9ae638 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/networkchaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/networkchaos.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/networkchaos.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/physicalmachinechaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/physicalmachinechaos.rs index 03cd98f91..0c1fba595 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/physicalmachinechaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/physicalmachinechaos.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/physicalmachinechaos.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/physicalmachines.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/physicalmachines.rs index 9ed620815..58f2aa2c2 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/physicalmachines.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/physicalmachines.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/physicalmachines.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podchaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podchaos.rs index 0441ef69b..6d716cabf 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podchaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podchaos.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/podchaos.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podhttpchaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podhttpchaos.rs index 68b527cd8..170d2d866 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podhttpchaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podhttpchaos.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/podhttpchaos.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podiochaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podiochaos.rs index a5900e002..ef6dd3aca 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podiochaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podiochaos.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/podiochaos.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podnetworkchaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podnetworkchaos.rs index d8a410ce3..3b190a92b 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podnetworkchaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podnetworkchaos.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/podnetworkchaos.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/remoteclusters.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/remoteclusters.rs index c7253db0d..e118d7c2b 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/remoteclusters.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/remoteclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/remoteclusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/schedules.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/schedules.rs index ffdec2b4d..078523039 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/schedules.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/schedules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/schedules.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/statuschecks.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/statuschecks.rs index 83d1d047c..a6b88cdd3 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/statuschecks.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/statuschecks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/statuschecks.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/stresschaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/stresschaos.rs index 8116f05b7..12c073532 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/stresschaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/stresschaos.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/stresschaos.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/timechaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/timechaos.rs index 63a962b87..53b2786d0 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/timechaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/timechaos.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/timechaos.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/workflownodes.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/workflownodes.rs index a2d0c0d1d..625dc01b7 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/workflownodes.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/workflownodes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/workflownodes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/workflows.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/workflows.rs index 48870c259..50a3da05a 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/workflows.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/workflows.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/workflows.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chaosblade_io/v1alpha1/chaosblades.rs b/kube-custom-resources-rs/src/chaosblade_io/v1alpha1/chaosblades.rs index f2ab17c40..291140bb0 100644 --- a/kube-custom-resources-rs/src/chaosblade_io/v1alpha1/chaosblades.rs +++ b/kube-custom-resources-rs/src/chaosblade_io/v1alpha1/chaosblades.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/chaosblade-io/chaosblade-operator/chaosblade.io/v1alpha1/chaosblades.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/charts_amd_com/v1alpha1/amdgpus.rs b/kube-custom-resources-rs/src/charts_amd_com/v1alpha1/amdgpus.rs index ce587834a..867bb8185 100644 --- a/kube-custom-resources-rs/src/charts_amd_com/v1alpha1/amdgpus.rs +++ b/kube-custom-resources-rs/src/charts_amd_com/v1alpha1/amdgpus.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/ROCm/gpu-operator/charts.amd.com/v1alpha1/amdgpus.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/charts_flagsmith_com/v1alpha1/flagsmiths.rs b/kube-custom-resources-rs/src/charts_flagsmith_com/v1alpha1/flagsmiths.rs index 997deec66..ab055e5c1 100644 --- a/kube-custom-resources-rs/src/charts_flagsmith_com/v1alpha1/flagsmiths.rs +++ b/kube-custom-resources-rs/src/charts_flagsmith_com/v1alpha1/flagsmiths.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Flagsmith/flagsmith-operator/charts.flagsmith.com/v1alpha1/flagsmiths.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/charts_helm_k8s_io/v1alpha1/snykmonitors.rs b/kube-custom-resources-rs/src/charts_helm_k8s_io/v1alpha1/snykmonitors.rs index f1f0feeaa..587007892 100644 --- a/kube-custom-resources-rs/src/charts_helm_k8s_io/v1alpha1/snykmonitors.rs +++ b/kube-custom-resources-rs/src/charts_helm_k8s_io/v1alpha1/snykmonitors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/snyk/kubernetes-monitor/charts.helm.k8s.io/v1alpha1/snykmonitors.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/charts_opdev_io/v1alpha1/synapses.rs b/kube-custom-resources-rs/src/charts_opdev_io/v1alpha1/synapses.rs index 51b50c460..5636295de 100644 --- a/kube-custom-resources-rs/src/charts_opdev_io/v1alpha1/synapses.rs +++ b/kube-custom-resources-rs/src/charts_opdev_io/v1alpha1/synapses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/opdev/synapse-helm/charts.opdev.io/v1alpha1/synapses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/charts_operatorhub_io/v1alpha1/cockroachdbs.rs b/kube-custom-resources-rs/src/charts_operatorhub_io/v1alpha1/cockroachdbs.rs index a073ea61a..84b9fb50a 100644 --- a/kube-custom-resources-rs/src/charts_operatorhub_io/v1alpha1/cockroachdbs.rs +++ b/kube-custom-resources-rs/src/charts_operatorhub_io/v1alpha1/cockroachdbs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/dmesser/cockroachdb-operator/charts.operatorhub.io/v1alpha1/cockroachdbs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/che_eclipse_org/v1alpha1/kubernetesimagepullers.rs b/kube-custom-resources-rs/src/che_eclipse_org/v1alpha1/kubernetesimagepullers.rs index f5459f648..2df1f0a5c 100644 --- a/kube-custom-resources-rs/src/che_eclipse_org/v1alpha1/kubernetesimagepullers.rs +++ b/kube-custom-resources-rs/src/che_eclipse_org/v1alpha1/kubernetesimagepullers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/che-incubator/kubernetes-image-puller-operator/che.eclipse.org/v1alpha1/kubernetesimagepullers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chisel_operator_io/v1/exitnodeprovisioners.rs b/kube-custom-resources-rs/src/chisel_operator_io/v1/exitnodeprovisioners.rs index e1e1d9e24..51931189a 100644 --- a/kube-custom-resources-rs/src/chisel_operator_io/v1/exitnodeprovisioners.rs +++ b/kube-custom-resources-rs/src/chisel_operator_io/v1/exitnodeprovisioners.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/FyraLabs/chisel-operator/chisel-operator.io/v1/exitnodeprovisioners.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/chisel_operator_io/v1/exitnodes.rs b/kube-custom-resources-rs/src/chisel_operator_io/v1/exitnodes.rs index ccd9f5efe..af88b9655 100644 --- a/kube-custom-resources-rs/src/chisel_operator_io/v1/exitnodes.rs +++ b/kube-custom-resources-rs/src/chisel_operator_io/v1/exitnodes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/FyraLabs/chisel-operator/chisel-operator.io/v1/exitnodes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cilium_io/v2/ciliumclusterwidenetworkpolicies.rs b/kube-custom-resources-rs/src/cilium_io/v2/ciliumclusterwidenetworkpolicies.rs index 5fc788b31..9ac30da0b 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2/ciliumclusterwidenetworkpolicies.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2/ciliumclusterwidenetworkpolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2/ciliumclusterwidenetworkpolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -338,7 +338,10 @@ pub struct CiliumClusterwideNetworkPolicyEgressToPortsOriginatingTlsSecret { /// PortProtocol specifies an L4 port with an optional transport protocol #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToPortsPorts { - /// Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form "1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end. + /// EndPort can only be an L4 port number. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] + pub end_port: Option, + /// Port can be an L4 port number, or a name in the form of "http" or "http-8080". pub port: String, /// Protocol is the L4 protocol. If omitted or empty, any protocol matches. Accepted values: "TCP", "UDP", "SCTP", "ANY" /// Matching on ICMP is not supported. @@ -795,7 +798,10 @@ pub struct CiliumClusterwideNetworkPolicyEgressDenyToPorts { /// PortProtocol specifies an L4 port with an optional transport protocol #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressDenyToPortsPorts { - /// Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form "1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end. + /// EndPort can only be an L4 port number. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] + pub end_port: Option, + /// Port can be an L4 port number, or a name in the form of "http" or "http-8080". pub port: String, /// Protocol is the L4 protocol. If omitted or empty, any protocol matches. Accepted values: "TCP", "UDP", "SCTP", "ANY" /// Matching on ICMP is not supported. @@ -1258,7 +1264,10 @@ pub struct CiliumClusterwideNetworkPolicyIngressToPortsOriginatingTlsSecret { /// PortProtocol specifies an L4 port with an optional transport protocol #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressToPortsPorts { - /// Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form "1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end. + /// EndPort can only be an L4 port number. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] + pub end_port: Option, + /// Port can be an L4 port number, or a name in the form of "http" or "http-8080". pub port: String, /// Protocol is the L4 protocol. If omitted or empty, any protocol matches. Accepted values: "TCP", "UDP", "SCTP", "ANY" /// Matching on ICMP is not supported. @@ -1650,7 +1659,10 @@ pub struct CiliumClusterwideNetworkPolicyIngressDenyToPorts { /// PortProtocol specifies an L4 port with an optional transport protocol #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressDenyToPortsPorts { - /// Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form "1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end. + /// EndPort can only be an L4 port number. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] + pub end_port: Option, + /// Port can be an L4 port number, or a name in the form of "http" or "http-8080". pub port: String, /// Protocol is the L4 protocol. If omitted or empty, any protocol matches. Accepted values: "TCP", "UDP", "SCTP", "ANY" /// Matching on ICMP is not supported. @@ -2040,7 +2052,10 @@ pub struct CiliumClusterwideNetworkPolicysEgressToPortsOriginatingTlsSecret { /// PortProtocol specifies an L4 port with an optional transport protocol #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToPortsPorts { - /// Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form "1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end. + /// EndPort can only be an L4 port number. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] + pub end_port: Option, + /// Port can be an L4 port number, or a name in the form of "http" or "http-8080". pub port: String, /// Protocol is the L4 protocol. If omitted or empty, any protocol matches. Accepted values: "TCP", "UDP", "SCTP", "ANY" /// Matching on ICMP is not supported. @@ -2497,7 +2512,10 @@ pub struct CiliumClusterwideNetworkPolicysEgressDenyToPorts { /// PortProtocol specifies an L4 port with an optional transport protocol #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressDenyToPortsPorts { - /// Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form "1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end. + /// EndPort can only be an L4 port number. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] + pub end_port: Option, + /// Port can be an L4 port number, or a name in the form of "http" or "http-8080". pub port: String, /// Protocol is the L4 protocol. If omitted or empty, any protocol matches. Accepted values: "TCP", "UDP", "SCTP", "ANY" /// Matching on ICMP is not supported. @@ -2960,7 +2978,10 @@ pub struct CiliumClusterwideNetworkPolicysIngressToPortsOriginatingTlsSecret { /// PortProtocol specifies an L4 port with an optional transport protocol #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressToPortsPorts { - /// Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form "1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end. + /// EndPort can only be an L4 port number. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] + pub end_port: Option, + /// Port can be an L4 port number, or a name in the form of "http" or "http-8080". pub port: String, /// Protocol is the L4 protocol. If omitted or empty, any protocol matches. Accepted values: "TCP", "UDP", "SCTP", "ANY" /// Matching on ICMP is not supported. @@ -3352,7 +3373,10 @@ pub struct CiliumClusterwideNetworkPolicysIngressDenyToPorts { /// PortProtocol specifies an L4 port with an optional transport protocol #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressDenyToPortsPorts { - /// Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form "1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end. + /// EndPort can only be an L4 port number. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] + pub end_port: Option, + /// Port can be an L4 port number, or a name in the form of "http" or "http-8080". pub port: String, /// Protocol is the L4 protocol. If omitted or empty, any protocol matches. Accepted values: "TCP", "UDP", "SCTP", "ANY" /// Matching on ICMP is not supported. diff --git a/kube-custom-resources-rs/src/cilium_io/v2/ciliumegressgatewaypolicies.rs b/kube-custom-resources-rs/src/cilium_io/v2/ciliumegressgatewaypolicies.rs index 753220679..7d2381e3d 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2/ciliumegressgatewaypolicies.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2/ciliumegressgatewaypolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2/ciliumegressgatewaypolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cilium_io/v2/ciliumendpoints.rs b/kube-custom-resources-rs/src/cilium_io/v2/ciliumendpoints.rs index b6f105ce2..aa38d244f 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2/ciliumendpoints.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2/ciliumendpoints.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2/ciliumendpoints.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cilium_io/v2/ciliumexternalworkloads.rs b/kube-custom-resources-rs/src/cilium_io/v2/ciliumexternalworkloads.rs index bd1c35be6..0b83df01e 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2/ciliumexternalworkloads.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2/ciliumexternalworkloads.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2/ciliumexternalworkloads.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cilium_io/v2/ciliumidentities.rs b/kube-custom-resources-rs/src/cilium_io/v2/ciliumidentities.rs index e37f11609..b46567b3d 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2/ciliumidentities.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2/ciliumidentities.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2/ciliumidentities.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cilium_io/v2/ciliumlocalredirectpolicies.rs b/kube-custom-resources-rs/src/cilium_io/v2/ciliumlocalredirectpolicies.rs index 786fa6435..b3e4929e9 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2/ciliumlocalredirectpolicies.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2/ciliumlocalredirectpolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2/ciliumlocalredirectpolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cilium_io/v2/ciliumnetworkpolicies.rs b/kube-custom-resources-rs/src/cilium_io/v2/ciliumnetworkpolicies.rs index 6671cff6e..fccd15f41 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2/ciliumnetworkpolicies.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2/ciliumnetworkpolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2/ciliumnetworkpolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -339,7 +339,10 @@ pub struct CiliumNetworkPolicyEgressToPortsOriginatingTlsSecret { /// PortProtocol specifies an L4 port with an optional transport protocol #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct CiliumNetworkPolicyEgressToPortsPorts { - /// Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form "1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end. + /// EndPort can only be an L4 port number. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] + pub end_port: Option, + /// Port can be an L4 port number, or a name in the form of "http" or "http-8080". pub port: String, /// Protocol is the L4 protocol. If omitted or empty, any protocol matches. Accepted values: "TCP", "UDP", "SCTP", "ANY" /// Matching on ICMP is not supported. @@ -796,7 +799,10 @@ pub struct CiliumNetworkPolicyEgressDenyToPorts { /// PortProtocol specifies an L4 port with an optional transport protocol #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct CiliumNetworkPolicyEgressDenyToPortsPorts { - /// Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form "1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end. + /// EndPort can only be an L4 port number. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] + pub end_port: Option, + /// Port can be an L4 port number, or a name in the form of "http" or "http-8080". pub port: String, /// Protocol is the L4 protocol. If omitted or empty, any protocol matches. Accepted values: "TCP", "UDP", "SCTP", "ANY" /// Matching on ICMP is not supported. @@ -1259,7 +1265,10 @@ pub struct CiliumNetworkPolicyIngressToPortsOriginatingTlsSecret { /// PortProtocol specifies an L4 port with an optional transport protocol #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct CiliumNetworkPolicyIngressToPortsPorts { - /// Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form "1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end. + /// EndPort can only be an L4 port number. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] + pub end_port: Option, + /// Port can be an L4 port number, or a name in the form of "http" or "http-8080". pub port: String, /// Protocol is the L4 protocol. If omitted or empty, any protocol matches. Accepted values: "TCP", "UDP", "SCTP", "ANY" /// Matching on ICMP is not supported. @@ -1651,7 +1660,10 @@ pub struct CiliumNetworkPolicyIngressDenyToPorts { /// PortProtocol specifies an L4 port with an optional transport protocol #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct CiliumNetworkPolicyIngressDenyToPortsPorts { - /// Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form "1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end. + /// EndPort can only be an L4 port number. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] + pub end_port: Option, + /// Port can be an L4 port number, or a name in the form of "http" or "http-8080". pub port: String, /// Protocol is the L4 protocol. If omitted or empty, any protocol matches. Accepted values: "TCP", "UDP", "SCTP", "ANY" /// Matching on ICMP is not supported. @@ -2041,7 +2053,10 @@ pub struct CiliumNetworkPolicysEgressToPortsOriginatingTlsSecret { /// PortProtocol specifies an L4 port with an optional transport protocol #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct CiliumNetworkPolicysEgressToPortsPorts { - /// Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form "1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end. + /// EndPort can only be an L4 port number. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] + pub end_port: Option, + /// Port can be an L4 port number, or a name in the form of "http" or "http-8080". pub port: String, /// Protocol is the L4 protocol. If omitted or empty, any protocol matches. Accepted values: "TCP", "UDP", "SCTP", "ANY" /// Matching on ICMP is not supported. @@ -2498,7 +2513,10 @@ pub struct CiliumNetworkPolicysEgressDenyToPorts { /// PortProtocol specifies an L4 port with an optional transport protocol #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct CiliumNetworkPolicysEgressDenyToPortsPorts { - /// Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form "1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end. + /// EndPort can only be an L4 port number. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] + pub end_port: Option, + /// Port can be an L4 port number, or a name in the form of "http" or "http-8080". pub port: String, /// Protocol is the L4 protocol. If omitted or empty, any protocol matches. Accepted values: "TCP", "UDP", "SCTP", "ANY" /// Matching on ICMP is not supported. @@ -2961,7 +2979,10 @@ pub struct CiliumNetworkPolicysIngressToPortsOriginatingTlsSecret { /// PortProtocol specifies an L4 port with an optional transport protocol #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct CiliumNetworkPolicysIngressToPortsPorts { - /// Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form "1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end. + /// EndPort can only be an L4 port number. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] + pub end_port: Option, + /// Port can be an L4 port number, or a name in the form of "http" or "http-8080". pub port: String, /// Protocol is the L4 protocol. If omitted or empty, any protocol matches. Accepted values: "TCP", "UDP", "SCTP", "ANY" /// Matching on ICMP is not supported. @@ -3353,7 +3374,10 @@ pub struct CiliumNetworkPolicysIngressDenyToPorts { /// PortProtocol specifies an L4 port with an optional transport protocol #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct CiliumNetworkPolicysIngressDenyToPortsPorts { - /// Port is an L4 port number. For now the string will be strictly parsed as a single uint16. In the future, this field may support ranges in the form "1024-2048 Port can also be a port name, which must contain at least one [a-z], and may also contain [0-9] and '-' anywhere except adjacent to another '-' or in the beginning or the end. + /// EndPort can only be an L4 port number. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] + pub end_port: Option, + /// Port can be an L4 port number, or a name in the form of "http" or "http-8080". pub port: String, /// Protocol is the L4 protocol. If omitted or empty, any protocol matches. Accepted values: "TCP", "UDP", "SCTP", "ANY" /// Matching on ICMP is not supported. diff --git a/kube-custom-resources-rs/src/cilium_io/v2/ciliumnodes.rs b/kube-custom-resources-rs/src/cilium_io/v2/ciliumnodes.rs index aeefb76fc..c0f3c398b 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2/ciliumnodes.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2/ciliumnodes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2/ciliumnodes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumbgppeeringpolicies.rs b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumbgppeeringpolicies.rs index 051533071..d66fbdd99 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumbgppeeringpolicies.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumbgppeeringpolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumbgppeeringpolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumcidrgroups.rs b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumcidrgroups.rs index 7ba84b732..9633974f7 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumcidrgroups.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumcidrgroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumcidrgroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumendpointslices.rs b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumendpointslices.rs index 932a993c5..d8bde0552 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumendpointslices.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumendpointslices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumendpointslices.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliuml2announcementpolicies.rs b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliuml2announcementpolicies.rs index 2c93c858b..24eb21d6f 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliuml2announcementpolicies.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliuml2announcementpolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliuml2announcementpolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumloadbalancerippools.rs b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumloadbalancerippools.rs index 74d984c5e..f0c807565 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumloadbalancerippools.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumloadbalancerippools.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumloadbalancerippools.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumnodeconfigs.rs b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumnodeconfigs.rs index 7cf4109f7..1ee313a21 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumnodeconfigs.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumnodeconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumnodeconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumpodippools.rs b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumpodippools.rs index f7b282fb9..c7d99cc76 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumpodippools.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumpodippools.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumpodippools.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/claudie_io/v1beta1/inputmanifests.rs b/kube-custom-resources-rs/src/claudie_io/v1beta1/inputmanifests.rs index eb034c3b2..561283078 100644 --- a/kube-custom-resources-rs/src/claudie_io/v1beta1/inputmanifests.rs +++ b/kube-custom-resources-rs/src/claudie_io/v1beta1/inputmanifests.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/berops/claudie/claudie.io/v1beta1/inputmanifests.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cloudformation_linki_space/v1alpha1/stacks.rs b/kube-custom-resources-rs/src/cloudformation_linki_space/v1alpha1/stacks.rs index 9f9e83580..8d41091e4 100644 --- a/kube-custom-resources-rs/src/cloudformation_linki_space/v1alpha1/stacks.rs +++ b/kube-custom-resources-rs/src/cloudformation_linki_space/v1alpha1/stacks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/linki/cloudformation-operator/cloudformation.linki.space/v1alpha1/stacks.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/cachepolicies.rs b/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/cachepolicies.rs index cb2d544b4..250502e55 100644 --- a/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/cachepolicies.rs +++ b/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/cachepolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudfront-controller/cloudfront.services.k8s.aws/v1alpha1/cachepolicies.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/distributions.rs b/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/distributions.rs index ee363947c..09a34577f 100644 --- a/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/distributions.rs +++ b/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/distributions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudfront-controller/cloudfront.services.k8s.aws/v1alpha1/distributions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/functions.rs b/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/functions.rs index d74032e23..264cdbb7f 100644 --- a/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/functions.rs +++ b/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/functions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudfront-controller/cloudfront.services.k8s.aws/v1alpha1/functions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/originrequestpolicies.rs b/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/originrequestpolicies.rs index 89bdb37d5..855e92369 100644 --- a/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/originrequestpolicies.rs +++ b/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/originrequestpolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudfront-controller/cloudfront.services.k8s.aws/v1alpha1/originrequestpolicies.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/responseheaderspolicies.rs b/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/responseheaderspolicies.rs index 7cc7352d6..193d577b3 100644 --- a/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/responseheaderspolicies.rs +++ b/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/responseheaderspolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudfront-controller/cloudfront.services.k8s.aws/v1alpha1/responseheaderspolicies.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cloudtrail_services_k8s_aws/v1alpha1/eventdatastores.rs b/kube-custom-resources-rs/src/cloudtrail_services_k8s_aws/v1alpha1/eventdatastores.rs index dd43ef2f5..2426805b2 100644 --- a/kube-custom-resources-rs/src/cloudtrail_services_k8s_aws/v1alpha1/eventdatastores.rs +++ b/kube-custom-resources-rs/src/cloudtrail_services_k8s_aws/v1alpha1/eventdatastores.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudtrail-controller/cloudtrail.services.k8s.aws/v1alpha1/eventdatastores.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cloudtrail_services_k8s_aws/v1alpha1/trails.rs b/kube-custom-resources-rs/src/cloudtrail_services_k8s_aws/v1alpha1/trails.rs index bf3e989a7..1db7f1a86 100644 --- a/kube-custom-resources-rs/src/cloudtrail_services_k8s_aws/v1alpha1/trails.rs +++ b/kube-custom-resources-rs/src/cloudtrail_services_k8s_aws/v1alpha1/trails.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudtrail-controller/cloudtrail.services.k8s.aws/v1alpha1/trails.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cloudwatch_aws_amazon_com/v1alpha1/amazoncloudwatchagents.rs b/kube-custom-resources-rs/src/cloudwatch_aws_amazon_com/v1alpha1/amazoncloudwatchagents.rs index 6fb25b6f6..4da67e0d8 100644 --- a/kube-custom-resources-rs/src/cloudwatch_aws_amazon_com/v1alpha1/amazoncloudwatchagents.rs +++ b/kube-custom-resources-rs/src/cloudwatch_aws_amazon_com/v1alpha1/amazoncloudwatchagents.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/amazon-cloudwatch-agent-operator/cloudwatch.aws.amazon.com/v1alpha1/amazoncloudwatchagents.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cloudwatch_aws_amazon_com/v1alpha1/instrumentations.rs b/kube-custom-resources-rs/src/cloudwatch_aws_amazon_com/v1alpha1/instrumentations.rs index fc1c89da1..ae77be29f 100644 --- a/kube-custom-resources-rs/src/cloudwatch_aws_amazon_com/v1alpha1/instrumentations.rs +++ b/kube-custom-resources-rs/src/cloudwatch_aws_amazon_com/v1alpha1/instrumentations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/amazon-cloudwatch-agent-operator/cloudwatch.aws.amazon.com/v1alpha1/instrumentations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cloudwatch_services_k8s_aws/v1alpha1/metricalarms.rs b/kube-custom-resources-rs/src/cloudwatch_services_k8s_aws/v1alpha1/metricalarms.rs index 668ae7ebd..4165b6c02 100644 --- a/kube-custom-resources-rs/src/cloudwatch_services_k8s_aws/v1alpha1/metricalarms.rs +++ b/kube-custom-resources-rs/src/cloudwatch_services_k8s_aws/v1alpha1/metricalarms.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudwatch-controller/cloudwatch.services.k8s.aws/v1alpha1/metricalarms.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cloudwatchlogs_services_k8s_aws/v1alpha1/loggroups.rs b/kube-custom-resources-rs/src/cloudwatchlogs_services_k8s_aws/v1alpha1/loggroups.rs index ad4abddb6..9036c00b4 100644 --- a/kube-custom-resources-rs/src/cloudwatchlogs_services_k8s_aws/v1alpha1/loggroups.rs +++ b/kube-custom-resources-rs/src/cloudwatchlogs_services_k8s_aws/v1alpha1/loggroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudwatchlogs-controller/cloudwatchlogs.services.k8s.aws/v1alpha1/loggroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -40,6 +40,8 @@ pub struct LogGroupSpec { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "retentionDays")] pub retention_days: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "subscriptionFilters")] + pub subscription_filters: Option>, /// The key-value pairs to use for the tags. /// /// @@ -79,6 +81,26 @@ pub struct LogGroupKmsKeyRefFrom { pub name: Option, } +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct LogGroupSubscriptionFilters { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "destinationARN")] + pub destination_arn: Option, + /// The method used to distribute log data to the destination, which can be either + /// random or grouped by log stream. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub distribution: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "filterName")] + pub filter_name: Option, + /// A symbolic description of how CloudWatch Logs should interpret the data in + /// each log event. For example, a log event can contain timestamps, IP addresses, + /// strings, and so on. You use the filter pattern to specify what to look for + /// in the log event message. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "filterPattern")] + pub filter_pattern: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "roleARN")] + pub role_arn: Option, +} + /// LogGroupStatus defines the observed state of LogGroup #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogGroupStatus { diff --git a/kube-custom-resources-rs/src/cluster_clusterpedia_io/v1alpha2/clustersyncresources.rs b/kube-custom-resources-rs/src/cluster_clusterpedia_io/v1alpha2/clustersyncresources.rs index 122bf1adb..3adf194a5 100644 --- a/kube-custom-resources-rs/src/cluster_clusterpedia_io/v1alpha2/clustersyncresources.rs +++ b/kube-custom-resources-rs/src/cluster_clusterpedia_io/v1alpha2/clustersyncresources.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/clusterpedia-io/clusterpedia/cluster.clusterpedia.io/v1alpha2/clustersyncresources.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cluster_clusterpedia_io/v1alpha2/pediaclusters.rs b/kube-custom-resources-rs/src/cluster_clusterpedia_io/v1alpha2/pediaclusters.rs index d68380074..da28e0e53 100644 --- a/kube-custom-resources-rs/src/cluster_clusterpedia_io/v1alpha2/pediaclusters.rs +++ b/kube-custom-resources-rs/src/cluster_clusterpedia_io/v1alpha2/pediaclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/clusterpedia-io/clusterpedia/cluster.clusterpedia.io/v1alpha2/pediaclusters.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cluster_ipfs_io/v1alpha1/circuitrelays.rs b/kube-custom-resources-rs/src/cluster_ipfs_io/v1alpha1/circuitrelays.rs index aed1b9a10..a6439f7c3 100644 --- a/kube-custom-resources-rs/src/cluster_ipfs_io/v1alpha1/circuitrelays.rs +++ b/kube-custom-resources-rs/src/cluster_ipfs_io/v1alpha1/circuitrelays.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/ipfs-cluster/ipfs-operator/cluster.ipfs.io/v1alpha1/circuitrelays.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cluster_ipfs_io/v1alpha1/ipfsclusters.rs b/kube-custom-resources-rs/src/cluster_ipfs_io/v1alpha1/ipfsclusters.rs index fd0685834..a5a0c7833 100644 --- a/kube-custom-resources-rs/src/cluster_ipfs_io/v1alpha1/ipfsclusters.rs +++ b/kube-custom-resources-rs/src/cluster_ipfs_io/v1alpha1/ipfsclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/ipfs-cluster/ipfs-operator/cluster.ipfs.io/v1alpha1/ipfsclusters.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/clusters.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/clusters.rs index 41f1426ce..0aa957939 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/clusters.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/clusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha3/clusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinedeployments.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinedeployments.rs index c682bb4bc..d3c690737 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinedeployments.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinedeployments.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha3/machinedeployments.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinehealthchecks.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinehealthchecks.rs index 0307c1f27..c0f1a0291 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinehealthchecks.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinehealthchecks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha3/machinehealthchecks.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinepools.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinepools.rs index 5d75a0762..b33f9bb5a 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinepools.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinepools.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha3/machinepools.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machines.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machines.rs index acb69a988..ed7c78af5 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machines.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machines.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha3/machines.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinesets.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinesets.rs index 1a97ea04a..b47741a28 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinesets.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinesets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha3/machinesets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/clusterclasses.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/clusterclasses.rs index d6c85e139..58b19bfaf 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/clusterclasses.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/clusterclasses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha4/clusterclasses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/clusters.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/clusters.rs index 57980daf3..31db0bf49 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/clusters.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/clusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha4/clusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinedeployments.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinedeployments.rs index 19a66f61f..f75aca92c 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinedeployments.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinedeployments.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha4/machinedeployments.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinehealthchecks.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinehealthchecks.rs index c62c8c0ad..3a9d5aa23 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinehealthchecks.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinehealthchecks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha4/machinehealthchecks.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinepools.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinepools.rs index 0d8ddc7c7..8bb626d61 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinepools.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinepools.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha4/machinepools.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machines.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machines.rs index 02208165e..c67929095 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machines.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machines.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha4/machines.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinesets.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinesets.rs index 223ea2fbc..a1cec859d 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinesets.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinesets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha4/machinesets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/clusterclasses.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/clusterclasses.rs index 1f0139700..bc4a41da5 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/clusterclasses.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/clusterclasses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/clusterclasses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/clusters.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/clusters.rs index 0d47207a1..55b8aa5cf 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/clusters.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/clusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/clusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -229,6 +229,9 @@ pub struct ClusterTopologyControlPlane { /// When specified against a control plane provider that lacks support for this field, this value will be ignored. #[serde(default, skip_serializing_if = "Option::is_none")] pub replicas: Option, + /// Variables can be used to customize the ControlPlane through patches. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub variables: Option, } /// MachineHealthCheck allows to enable, disable and override @@ -356,6 +359,36 @@ pub struct ClusterTopologyControlPlaneMetadata { pub labels: Option>, } +/// Variables can be used to customize the ControlPlane through patches. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct ClusterTopologyControlPlaneVariables { + /// Overrides can be used to override Cluster level variables. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub overrides: Option>, +} + +/// ClusterVariable can be used to customize the Cluster through patches. Each ClusterVariable is associated with a +/// Variable definition in the ClusterClass `status` variables. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct ClusterTopologyControlPlaneVariablesOverrides { + /// DefinitionFrom specifies where the definition of this Variable is from. DefinitionFrom is `inline` when the + /// definition is from the ClusterClass `.spec.variables` or the name of a patch defined in the ClusterClass + /// `.spec.patches` where the patch is external and provides external variables. + /// This field is mandatory if the variable has `DefinitionsConflict: true` in ClusterClass `status.variables[]` + #[serde(default, skip_serializing_if = "Option::is_none", rename = "definitionFrom")] + pub definition_from: Option, + /// Name of the variable. + pub name: String, + /// Value of the variable. + /// Note: the value will be validated against the schema of the corresponding ClusterClassVariable + /// from the ClusterClass. + /// Note: We have to use apiextensionsv1.JSON instead of a custom JSON type, because controller-tools has a + /// hard-coded schema for apiextensionsv1.JSON which cannot be produced by another type via controller-tools, + /// i.e. it is not possible to have no type field. + /// Ref: https://github.com/kubernetes-sigs/controller-tools/blob/d0e03a142d0ecdd5491593e941ee1d6b5d91dba6/pkg/crd/known_types.go#L106-L111 + pub value: serde_json::Value, +} + /// ClusterVariable can be used to customize the Cluster through patches. Each ClusterVariable is associated with a /// Variable definition in the ClusterClass `status` variables. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinedeployments.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinedeployments.rs index 4002f039e..d04ff8faf 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinedeployments.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinedeployments.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/machinedeployments.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinehealthchecks.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinehealthchecks.rs index c3cf74cd2..634667ff3 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinehealthchecks.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinehealthchecks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/machinehealthchecks.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinepools.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinepools.rs index c5df7000c..e447b2840 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinepools.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinepools.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/machinepools.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machines.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machines.rs index 920a20250..f7993324c 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machines.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machines.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/machines.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinesets.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinesets.rs index a541c8643..98ec8a0c9 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinesets.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinesets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/machinesets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/clusters_clusternet_io/v1beta1/clusterregistrationrequests.rs b/kube-custom-resources-rs/src/clusters_clusternet_io/v1beta1/clusterregistrationrequests.rs index 9ac8e193d..a030a1bf3 100644 --- a/kube-custom-resources-rs/src/clusters_clusternet_io/v1beta1/clusterregistrationrequests.rs +++ b/kube-custom-resources-rs/src/clusters_clusternet_io/v1beta1/clusterregistrationrequests.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/clusters.clusternet.io/v1beta1/clusterregistrationrequests.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/clusters_clusternet_io/v1beta1/managedclusters.rs b/kube-custom-resources-rs/src/clusters_clusternet_io/v1beta1/managedclusters.rs index fce57ead7..5dcbe7da8 100644 --- a/kube-custom-resources-rs/src/clusters_clusternet_io/v1beta1/managedclusters.rs +++ b/kube-custom-resources-rs/src/clusters_clusternet_io/v1beta1/managedclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/clusters.clusternet.io/v1beta1/managedclusters.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -74,6 +74,9 @@ pub struct ManagedClusterTaints { /// ManagedClusterStatus defines the observed state of ManagedCluster #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ManagedClusterStatus { + /// agentVersion is the clusternet agent version of the sub cluster + #[serde(default, skip_serializing_if = "Option::is_none", rename = "agentVersion")] + pub agent_version: Option, /// Allocatable is the sum of allocatable resources for nodes in the cluster #[serde(default, skip_serializing_if = "Option::is_none")] pub allocatable: Option>, diff --git a/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplateinstances.rs b/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplateinstances.rs index c1cc75514..68a08aed8 100644 --- a/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplateinstances.rs +++ b/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplateinstances.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/stolostron/cluster-templates-operator/clustertemplate.openshift.io/v1alpha1/clustertemplateinstances.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplatequotas.rs b/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplatequotas.rs index 39a8cc1b1..fb91e1f0e 100644 --- a/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplatequotas.rs +++ b/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplatequotas.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/stolostron/cluster-templates-operator/clustertemplate.openshift.io/v1alpha1/clustertemplatequotas.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplates.rs b/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplates.rs index 402713e4c..2254b550a 100644 --- a/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplates.rs +++ b/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/stolostron/cluster-templates-operator/clustertemplate.openshift.io/v1alpha1/clustertemplates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplatesetup.rs b/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplatesetup.rs index 63e3316c1..bcfc01dec 100644 --- a/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplatesetup.rs +++ b/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplatesetup.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/stolostron/cluster-templates-operator/clustertemplate.openshift.io/v1alpha1/clustertemplatesetup.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/config.rs b/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/config.rs index ad1e497e9..95fe2e6c4 100644 --- a/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/config.rs +++ b/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/config.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/stolostron/cluster-templates-operator/clustertemplate.openshift.io/v1alpha1/config.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/confidentialcontainers_org/v1beta1/ccruntimes.rs b/kube-custom-resources-rs/src/confidentialcontainers_org/v1beta1/ccruntimes.rs index 2c232d514..d2f224e46 100644 --- a/kube-custom-resources-rs/src/confidentialcontainers_org/v1beta1/ccruntimes.rs +++ b/kube-custom-resources-rs/src/confidentialcontainers_org/v1beta1/ccruntimes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/confidential-containers/operator/confidentialcontainers.org/v1beta1/ccruntimes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/config_gatekeeper_sh/v1alpha1/configs.rs b/kube-custom-resources-rs/src/config_gatekeeper_sh/v1alpha1/configs.rs index 0596ea87e..f2a65df24 100644 --- a/kube-custom-resources-rs/src/config_gatekeeper_sh/v1alpha1/configs.rs +++ b/kube-custom-resources-rs/src/config_gatekeeper_sh/v1alpha1/configs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/config.gatekeeper.sh/v1alpha1/configs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/config_grafana_com/v1/projectconfigs.rs b/kube-custom-resources-rs/src/config_grafana_com/v1/projectconfigs.rs index f5a94e663..7d8f271e8 100644 --- a/kube-custom-resources-rs/src/config_grafana_com/v1/projectconfigs.rs +++ b/kube-custom-resources-rs/src/config_grafana_com/v1/projectconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/config.grafana.com/v1/projectconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/config_karmada_io/v1alpha1/resourceinterpretercustomizations.rs b/kube-custom-resources-rs/src/config_karmada_io/v1alpha1/resourceinterpretercustomizations.rs index 3ea584a4a..ba3774c7d 100644 --- a/kube-custom-resources-rs/src/config_karmada_io/v1alpha1/resourceinterpretercustomizations.rs +++ b/kube-custom-resources-rs/src/config_karmada_io/v1alpha1/resourceinterpretercustomizations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/config.karmada.io/v1alpha1/resourceinterpretercustomizations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/config_karmada_io/v1alpha1/resourceinterpreterwebhookconfigurations.rs b/kube-custom-resources-rs/src/config_karmada_io/v1alpha1/resourceinterpreterwebhookconfigurations.rs index b99904c31..18db53a39 100644 --- a/kube-custom-resources-rs/src/config_karmada_io/v1alpha1/resourceinterpreterwebhookconfigurations.rs +++ b/kube-custom-resources-rs/src/config_karmada_io/v1alpha1/resourceinterpreterwebhookconfigurations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/config.karmada.io/v1alpha1/resourceinterpreterwebhookconfigurations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/config_koordinator_sh/v1alpha1/clustercolocationprofiles.rs b/kube-custom-resources-rs/src/config_koordinator_sh/v1alpha1/clustercolocationprofiles.rs index c66ec50c8..321c0448c 100644 --- a/kube-custom-resources-rs/src/config_koordinator_sh/v1alpha1/clustercolocationprofiles.rs +++ b/kube-custom-resources-rs/src/config_koordinator_sh/v1alpha1/clustercolocationprofiles.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/koordinator-sh/koordinator/config.koordinator.sh/v1alpha1/clustercolocationprofiles.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -18,63 +18,88 @@ use self::prelude::*; #[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterColocationProfileSpec { - /// AnnotationKeysMapping describes the annotations that needs to inject into Pod.Annotations with the same values. It sets the Pod.Annotations[AnnotationsToAnnotations[k]] = Pod.Annotations[k] for each key k. + /// AnnotationKeysMapping describes the annotations that needs to inject into Pod.Annotations with the same values. + /// It sets the Pod.Annotations[AnnotationsToAnnotations[k]] = Pod.Annotations[k] for each key k. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationKeysMapping")] pub annotation_keys_mapping: Option>, /// Annotations describes the k/v pair that needs to inject into Pod.Annotations #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, - /// KoordinatorPriority defines the Pod sub-priority in Koordinator. The priority value will be injected into Pod as label koordinator.sh/priority. Various Koordinator components determine the priority of the Pod in the Koordinator through KoordinatorPriority and the priority value in PriorityClassName. The higher the value, the higher the priority. + /// KoordinatorPriority defines the Pod sub-priority in Koordinator. + /// The priority value will be injected into Pod as label koordinator.sh/priority. + /// Various Koordinator components determine the priority of the Pod + /// in the Koordinator through KoordinatorPriority and the priority value in PriorityClassName. + /// The higher the value, the higher the priority. #[serde(default, skip_serializing_if = "Option::is_none", rename = "koordinatorPriority")] pub koordinator_priority: Option, - /// LabelKeysMapping describes the labels that needs to inject into Pod.Labels with the same values. It sets the Pod.Labels[LabelsToLabels[k]] = Pod.Labels[k] for each key k. + /// LabelKeysMapping describes the labels that needs to inject into Pod.Labels with the same values. + /// It sets the Pod.Labels[LabelsToLabels[k]] = Pod.Labels[k] for each key k. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelKeysMapping")] pub label_keys_mapping: Option>, /// Labels describes the k/v pair that needs to inject into Pod.Labels #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option>, - /// NamespaceSelector decides whether to mutate/validate Pods if the namespace matches the selector. Default to the empty LabelSelector, which matches everything. + /// NamespaceSelector decides whether to mutate/validate Pods if the + /// namespace matches the selector. + /// Default to the empty LabelSelector, which matches everything. #[serde(default, skip_serializing_if = "Option::is_none", rename = "namespaceSelector")] pub namespace_selector: Option, /// Patch indicates patching podTemplate that will be injected to the Pod. #[serde(default, skip_serializing_if = "Option::is_none")] pub patch: Option, - /// If specified, the priorityClassName and the priority value defined in PriorityClass will be injected into the Pod. The PriorityClassName, priority value in PriorityClassName and KoordinatorPriority will affect the scheduling, preemption and other behaviors of Koordinator system. + /// If specified, the priorityClassName and the priority value defined in PriorityClass + /// will be injected into the Pod. + /// The PriorityClassName, priority value in PriorityClassName and + /// KoordinatorPriority will affect the scheduling, preemption and + /// other behaviors of Koordinator system. #[serde(default, skip_serializing_if = "Option::is_none", rename = "priorityClassName")] pub priority_class_name: Option, /// Probability indicates profile will make effect with a probability. #[serde(default, skip_serializing_if = "Option::is_none")] pub probability: Option, - /// QoSClass describes the type of Koordinator QoS that the Pod is running. The value will be injected into Pod as label koordinator.sh/qosClass. Options are LSE/LSR/LS/BE/SYSTEM. + /// QoSClass describes the type of Koordinator QoS that the Pod is running. + /// The value will be injected into Pod as label koordinator.sh/qosClass. + /// Options are LSE/LSR/LS/BE/SYSTEM. #[serde(default, skip_serializing_if = "Option::is_none", rename = "qosClass")] pub qos_class: Option, /// If specified, the pod will be dispatched by specified scheduler. #[serde(default, skip_serializing_if = "Option::is_none", rename = "schedulerName")] pub scheduler_name: Option, - /// Selector decides whether to mutate/validate Pods if the Pod matches the selector. Default to the empty LabelSelector, which matches everything. + /// Selector decides whether to mutate/validate Pods if the + /// Pod matches the selector. + /// Default to the empty LabelSelector, which matches everything. #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, } -/// NamespaceSelector decides whether to mutate/validate Pods if the namespace matches the selector. Default to the empty LabelSelector, which matches everything. +/// NamespaceSelector decides whether to mutate/validate Pods if the +/// namespace matches the selector. +/// Default to the empty LabelSelector, which matches everything. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterColocationProfileNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterColocationProfileNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } @@ -94,25 +119,34 @@ pub enum ClusterColocationProfileQosClass { System, } -/// Selector decides whether to mutate/validate Pods if the Pod matches the selector. Default to the empty LabelSelector, which matches everything. +/// Selector decides whether to mutate/validate Pods if the +/// Pod matches the selector. +/// Default to the empty LabelSelector, which matches everything. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterColocationProfileSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterColocationProfileSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } diff --git a/kube-custom-resources-rs/src/config_storageos_com/v1/operatorconfigs.rs b/kube-custom-resources-rs/src/config_storageos_com/v1/operatorconfigs.rs index 873695cfe..2c8aae9ea 100644 --- a/kube-custom-resources-rs/src/config_storageos_com/v1/operatorconfigs.rs +++ b/kube-custom-resources-rs/src/config_storageos_com/v1/operatorconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/storageos/operator/config.storageos.com/v1/operatorconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/control_k8ssandra_io/v1alpha1/cassandratasks.rs b/kube-custom-resources-rs/src/control_k8ssandra_io/v1alpha1/cassandratasks.rs index d9d677e06..44d7f38fc 100644 --- a/kube-custom-resources-rs/src/control_k8ssandra_io/v1alpha1/cassandratasks.rs +++ b/kube-custom-resources-rs/src/control_k8ssandra_io/v1alpha1/cassandratasks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/k8ssandra/cass-operator/control.k8ssandra.io/v1alpha1/cassandratasks.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clustercollectedstatuses.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clustercollectedstatuses.rs index 9528a0e45..d9a90cc67 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clustercollectedstatuses.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clustercollectedstatuses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/clustercollectedstatuses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusterfederatedobjects.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusterfederatedobjects.rs index d197fe425..b171075c9 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusterfederatedobjects.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusterfederatedobjects.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/clusterfederatedobjects.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusteroverridepolicies.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusteroverridepolicies.rs index cd2b0f7cd..35eba8da0 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusteroverridepolicies.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusteroverridepolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/clusteroverridepolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusterpropagatedversions.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusterpropagatedversions.rs index ef54d7d81..85d0e0164 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusterpropagatedversions.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusterpropagatedversions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/clusterpropagatedversions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusterpropagationpolicies.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusterpropagationpolicies.rs index 31bcc484f..76796e3d9 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusterpropagationpolicies.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusterpropagationpolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/clusterpropagationpolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/collectedstatuses.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/collectedstatuses.rs index 632619043..6fbcc98e8 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/collectedstatuses.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/collectedstatuses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/collectedstatuses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/federatedclusters.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/federatedclusters.rs index a19f5ac1f..a628aefad 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/federatedclusters.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/federatedclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/federatedclusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/federatedobjects.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/federatedobjects.rs index d8e47c195..4a1ab806f 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/federatedobjects.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/federatedobjects.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/federatedobjects.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/federatedtypeconfigs.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/federatedtypeconfigs.rs index 14ccab9de..783b4e436 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/federatedtypeconfigs.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/federatedtypeconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/federatedtypeconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/overridepolicies.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/overridepolicies.rs index 4625b1bb1..ff6a8737f 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/overridepolicies.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/overridepolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/overridepolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/propagatedversions.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/propagatedversions.rs index 926f75fd7..423bbfbbe 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/propagatedversions.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/propagatedversions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/propagatedversions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/propagationpolicies.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/propagationpolicies.rs index 9cc8254cd..6a719c04a 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/propagationpolicies.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/propagationpolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/propagationpolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/schedulerpluginwebhookconfigurations.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/schedulerpluginwebhookconfigurations.rs index d4701ea54..f08e6a3dc 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/schedulerpluginwebhookconfigurations.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/schedulerpluginwebhookconfigurations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/schedulerpluginwebhookconfigurations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/schedulingprofiles.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/schedulingprofiles.rs index 0b629b2c4..1d0d0bfb7 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/schedulingprofiles.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/schedulingprofiles.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/schedulingprofiles.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/core_linuxsuren_github_com/v1alpha1/atests.rs b/kube-custom-resources-rs/src/core_linuxsuren_github_com/v1alpha1/atests.rs index 9746b34c7..b403e925d 100644 --- a/kube-custom-resources-rs/src/core_linuxsuren_github_com/v1alpha1/atests.rs +++ b/kube-custom-resources-rs/src/core_linuxsuren_github_com/v1alpha1/atests.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/LinuxSuRen/api-testing/core.linuxsuren.github.com/v1alpha1/atests.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/core_openfeature_dev/v1alpha1/featureflagconfigurations.rs b/kube-custom-resources-rs/src/core_openfeature_dev/v1alpha1/featureflagconfigurations.rs index b0c3ebc94..edcdb7388 100644 --- a/kube-custom-resources-rs/src/core_openfeature_dev/v1alpha1/featureflagconfigurations.rs +++ b/kube-custom-resources-rs/src/core_openfeature_dev/v1alpha1/featureflagconfigurations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-feature/open-feature-operator/core.openfeature.dev/v1alpha1/featureflagconfigurations.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/core_openfeature_dev/v1alpha2/featureflagconfigurations.rs b/kube-custom-resources-rs/src/core_openfeature_dev/v1alpha2/featureflagconfigurations.rs index 977a078a6..4dc5087dc 100644 --- a/kube-custom-resources-rs/src/core_openfeature_dev/v1alpha2/featureflagconfigurations.rs +++ b/kube-custom-resources-rs/src/core_openfeature_dev/v1alpha2/featureflagconfigurations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-feature/open-feature-operator/core.openfeature.dev/v1alpha2/featureflagconfigurations.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -187,7 +187,7 @@ pub struct FeatureFlagConfigurationResources { pub limits: Option>, /// Requests describes the minimum amount of compute resources required. /// If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, - /// otherwise to an implementation-defined value. + /// otherwise to an implementation-defined value. Requests cannot exceed Limits. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] pub requests: Option>, diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseautoscalers.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseautoscalers.rs index a721a0abf..5746d5674 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseautoscalers.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseautoscalers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaseautoscalers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasebackuprestores.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasebackuprestores.rs index cb3ad229b..b605a9e6d 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasebackuprestores.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasebackuprestores.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasebackuprestores.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasebackups.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasebackups.rs index 6ced0bccf..6ea21e2db 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasebackups.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasebackups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasebackups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasebuckets.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasebuckets.rs index 8468918e8..119d5999b 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasebuckets.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasebuckets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasebuckets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseclusters.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseclusters.rs index ec6be736e..33a1e6fa7 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseclusters.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaseclusters.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasecollectiongroups.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasecollectiongroups.rs index 5d8ea83fb..4acf8f2d1 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasecollectiongroups.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasecollectiongroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasecollectiongroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasecollections.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasecollections.rs index 6c5027630..844d59468 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasecollections.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasecollections.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasecollections.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseephemeralbuckets.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseephemeralbuckets.rs index 0b14cef56..879704e11 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseephemeralbuckets.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseephemeralbuckets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaseephemeralbuckets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasegroups.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasegroups.rs index 5358bc61a..b439a908e 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasegroups.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasegroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasegroups.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasememcachedbuckets.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasememcachedbuckets.rs index 80b8af249..608e72350 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasememcachedbuckets.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasememcachedbuckets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasememcachedbuckets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasemigrationreplications.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasemigrationreplications.rs index 29e264873..4552f5307 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasemigrationreplications.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasemigrationreplications.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasemigrationreplications.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasereplications.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasereplications.rs index 685a1214f..304f63ba1 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasereplications.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasereplications.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasereplications.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbaserolebindings.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbaserolebindings.rs index c11022ced..ceaaaa66a 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbaserolebindings.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbaserolebindings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaserolebindings.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasescopegroups.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasescopegroups.rs index 727dffdd4..2161cb6de 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasescopegroups.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasescopegroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasescopegroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasescopes.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasescopes.rs index 3c1297846..1331eff14 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasescopes.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasescopes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasescopes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseusers.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseusers.rs index 2859ef1fe..ea353aa0d 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseusers.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseusers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaseusers.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/craftypath_github_io/v1alpha1/sopssecrets.rs b/kube-custom-resources-rs/src/craftypath_github_io/v1alpha1/sopssecrets.rs index e5623f76f..ca4ff5052 100644 --- a/kube-custom-resources-rs/src/craftypath_github_io/v1alpha1/sopssecrets.rs +++ b/kube-custom-resources-rs/src/craftypath_github_io/v1alpha1/sopssecrets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/craftypath/sops-operator/craftypath.github.io/v1alpha1/sopssecrets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/crane_konveyor_io/v1alpha1/operatorconfigs.rs b/kube-custom-resources-rs/src/crane_konveyor_io/v1alpha1/operatorconfigs.rs index c6692a034..28e6499f5 100644 --- a/kube-custom-resources-rs/src/crane_konveyor_io/v1alpha1/operatorconfigs.rs +++ b/kube-custom-resources-rs/src/crane_konveyor_io/v1alpha1/operatorconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/migtools/crane-operator/crane.konveyor.io/v1alpha1/operatorconfigs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/bgpconfigurations.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/bgpconfigurations.rs index 072ea9141..fb874bffe 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/bgpconfigurations.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/bgpconfigurations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/bgpconfigurations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/bgpfilters.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/bgpfilters.rs index 56df41e50..e52538c59 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/bgpfilters.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/bgpfilters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/bgpfilters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/bgppeers.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/bgppeers.rs index 7e44a1bb2..ba303603f 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/bgppeers.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/bgppeers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/bgppeers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/blockaffinities.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/blockaffinities.rs index e571fdac8..d3d9b0cd1 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/blockaffinities.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/blockaffinities.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/blockaffinities.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/caliconodestatuses.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/caliconodestatuses.rs index 0a90e2454..37fb10a6d 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/caliconodestatuses.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/caliconodestatuses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/caliconodestatuses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/clusterinformations.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/clusterinformations.rs index c266af691..d2cd064b3 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/clusterinformations.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/clusterinformations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/clusterinformations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/globalnetworksets.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/globalnetworksets.rs index dde623a77..599d8ade8 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/globalnetworksets.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/globalnetworksets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/globalnetworksets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/hostendpoints.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/hostendpoints.rs index 0fd38ea1e..ee482edde 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/hostendpoints.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/hostendpoints.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/hostendpoints.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipamblocks.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipamblocks.rs index 4022980c2..296e0f057 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipamblocks.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipamblocks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/ipamblocks.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipamconfigs.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipamconfigs.rs index 15a1eed91..6ccb95711 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipamconfigs.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipamconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/ipamconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipamhandles.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipamhandles.rs index 6eb5cb8be..8287dd9f0 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipamhandles.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipamhandles.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/ipamhandles.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ippools.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ippools.rs index c48ce41d5..cfb55ff2c 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ippools.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ippools.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/ippools.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipreservations.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipreservations.rs index 75be184af..f8597915f 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipreservations.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipreservations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/ipreservations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/kubecontrollersconfigurations.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/kubecontrollersconfigurations.rs index 76019828b..c5a8237dc 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/kubecontrollersconfigurations.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/kubecontrollersconfigurations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/kubecontrollersconfigurations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/networksets.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/networksets.rs index 95ae7cb86..ceec76db5 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/networksets.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/networksets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/networksets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/alluxioruntimes.rs b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/alluxioruntimes.rs index 6fa27ab4d..89543c459 100644 --- a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/alluxioruntimes.rs +++ b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/alluxioruntimes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/alluxioruntimes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/databackups.rs b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/databackups.rs index c359b6057..affab917a 100644 --- a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/databackups.rs +++ b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/databackups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/databackups.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/dataloads.rs b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/dataloads.rs index 55cf9631d..75e79e7ad 100644 --- a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/dataloads.rs +++ b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/dataloads.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/dataloads.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/datasets.rs b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/datasets.rs index e8b5f848c..6bcc42ebb 100644 --- a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/datasets.rs +++ b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/datasets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/datasets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/goosefsruntimes.rs b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/goosefsruntimes.rs index cbc26bb9e..1aaf2c5ac 100644 --- a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/goosefsruntimes.rs +++ b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/goosefsruntimes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/goosefsruntimes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/jindoruntimes.rs b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/jindoruntimes.rs index 22b0f448b..e584dab60 100644 --- a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/jindoruntimes.rs +++ b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/jindoruntimes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/jindoruntimes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/juicefsruntimes.rs b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/juicefsruntimes.rs index a80b370ba..cf0d8e383 100644 --- a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/juicefsruntimes.rs +++ b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/juicefsruntimes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/juicefsruntimes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/thinruntimeprofiles.rs b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/thinruntimeprofiles.rs index 772bf9782..1aeecbbaa 100644 --- a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/thinruntimeprofiles.rs +++ b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/thinruntimeprofiles.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/thinruntimeprofiles.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/thinruntimes.rs b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/thinruntimes.rs index 00eaf94ce..5c288ee7a 100644 --- a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/thinruntimes.rs +++ b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/thinruntimes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/thinruntimes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/databases_schemahero_io/v1alpha4/databases.rs b/kube-custom-resources-rs/src/databases_schemahero_io/v1alpha4/databases.rs index 3a2d5d8a3..75230af50 100644 --- a/kube-custom-resources-rs/src/databases_schemahero_io/v1alpha4/databases.rs +++ b/kube-custom-resources-rs/src/databases_schemahero_io/v1alpha4/databases.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/schemahero/schemahero/databases.schemahero.io/v1alpha4/databases.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/databases_spotahome_com/v1/redisfailovers.rs b/kube-custom-resources-rs/src/databases_spotahome_com/v1/redisfailovers.rs index b888ae293..0b93fe5f2 100644 --- a/kube-custom-resources-rs/src/databases_spotahome_com/v1/redisfailovers.rs +++ b/kube-custom-resources-rs/src/databases_spotahome_com/v1/redisfailovers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/spotahome/redis-operator/databases.spotahome.com/v1/redisfailovers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogagents.rs b/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogagents.rs index 025d8b272..8de69cc4d 100644 --- a/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogagents.rs +++ b/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogagents.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/DataDog/datadog-operator/datadoghq.com/v1alpha1/datadogagents.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -4004,6 +4004,9 @@ pub struct DatadogAgentClusterAgentConfigAdmissionController { /// agentCommunicationMode corresponds to the mode used by the Datadog application libraries to communicate with the Agent. It can be "hostip", "service", or "socket". #[serde(default, skip_serializing_if = "Option::is_none", rename = "agentCommunicationMode")] pub agent_communication_mode: Option, + /// CWSInstrumentation holds the CWS Instrumentation endpoint configuration + #[serde(default, skip_serializing_if = "Option::is_none", rename = "cwsInstrumentation")] + pub cws_instrumentation: Option, /// Enable the admission controller to be able to inject APM/Dogstatsd config and standard tags (env, service, version) automatically into your pods. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, @@ -4015,6 +4018,17 @@ pub struct DatadogAgentClusterAgentConfigAdmissionController { pub service_name: Option, } +/// CWSInstrumentation holds the CWS Instrumentation endpoint configuration +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct DatadogAgentClusterAgentConfigAdmissionControllerCwsInstrumentation { + /// Enable the CWS Instrumentation admission controller endpoint + #[serde(default, skip_serializing_if = "Option::is_none")] + pub enabled: Option, + /// Mode defines how the CWS Instrumentation endpoint should behave. It can be "init_container" or "remote_copy". + #[serde(default, skip_serializing_if = "Option::is_none")] + pub mode: Option, +} + /// Confd Provide additional cluster check configurations. Each key will become a file in /conf.d. see https://docs.datadoghq.com/agent/autodiscovery/ for more details. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentClusterAgentConfigConfd { diff --git a/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogmetrics.rs b/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogmetrics.rs index e7d5bdea5..3f23f2c7c 100644 --- a/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogmetrics.rs +++ b/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogmetrics.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/DataDog/datadog-operator/datadoghq.com/v1alpha1/datadogmetrics.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogmonitors.rs b/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogmonitors.rs index 7f386267f..19257b4cd 100644 --- a/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogmonitors.rs +++ b/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogmonitors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/DataDog/datadog-operator/datadoghq.com/v1alpha1/datadogmonitors.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogslos.rs b/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogslos.rs index 5c03af84e..7c46bcc98 100644 --- a/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogslos.rs +++ b/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogslos.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/DataDog/datadog-operator/datadoghq.com/v1alpha1/datadogslos.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/datadoghq_com/v2alpha1/datadogagents.rs b/kube-custom-resources-rs/src/datadoghq_com/v2alpha1/datadogagents.rs index 48b32cc8e..9776fe6d3 100644 --- a/kube-custom-resources-rs/src/datadoghq_com/v2alpha1/datadogagents.rs +++ b/kube-custom-resources-rs/src/datadoghq_com/v2alpha1/datadogagents.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/DataDog/datadog-operator/datadoghq.com/v2alpha1/datadogagents.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/actionsets.rs b/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/actionsets.rs index 68530c8ed..8d3245806 100644 --- a/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/actionsets.rs +++ b/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/actionsets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/actionsets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backuppolicies.rs b/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backuppolicies.rs index acbe951c0..dfd31cfa8 100644 --- a/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backuppolicies.rs +++ b/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backuppolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/backuppolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backuprepos.rs b/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backuprepos.rs index 00bf742c5..56d4d42eb 100644 --- a/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backuprepos.rs +++ b/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backuprepos.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/backuprepos.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backups.rs b/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backups.rs index 46557b747..b100f3d58 100644 --- a/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backups.rs +++ b/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/backups.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backupschedules.rs b/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backupschedules.rs index a8ed930c8..9813361ca 100644 --- a/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backupschedules.rs +++ b/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backupschedules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/backupschedules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/restores.rs b/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/restores.rs index a46dfcfb5..cd849c2d8 100644 --- a/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/restores.rs +++ b/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/restores.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/restores.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/designer_kaoto_io/v1alpha1/kaotoes.rs b/kube-custom-resources-rs/src/designer_kaoto_io/v1alpha1/kaotoes.rs index 9f1376013..ef9eeb9e4 100644 --- a/kube-custom-resources-rs/src/designer_kaoto_io/v1alpha1/kaotoes.rs +++ b/kube-custom-resources-rs/src/designer_kaoto_io/v1alpha1/kaotoes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/KaotoIO/kaoto-operator/designer.kaoto.io/v1alpha1/kaotoes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/devices_kubeedge_io/v1alpha2/devicemodels.rs b/kube-custom-resources-rs/src/devices_kubeedge_io/v1alpha2/devicemodels.rs index 3f3c357f3..e2d049e3b 100644 --- a/kube-custom-resources-rs/src/devices_kubeedge_io/v1alpha2/devicemodels.rs +++ b/kube-custom-resources-rs/src/devices_kubeedge_io/v1alpha2/devicemodels.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/devices.kubeedge.io/v1alpha2/devicemodels.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/devices_kubeedge_io/v1alpha2/devices.rs b/kube-custom-resources-rs/src/devices_kubeedge_io/v1alpha2/devices.rs index 0a57a9d7e..fc881ac53 100644 --- a/kube-custom-resources-rs/src/devices_kubeedge_io/v1alpha2/devices.rs +++ b/kube-custom-resources-rs/src/devices_kubeedge_io/v1alpha2/devices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/devices.kubeedge.io/v1alpha2/devices.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/devices_kubeedge_io/v1beta1/devicemodels.rs b/kube-custom-resources-rs/src/devices_kubeedge_io/v1beta1/devicemodels.rs index 111fe5b42..ebaa7be56 100644 --- a/kube-custom-resources-rs/src/devices_kubeedge_io/v1beta1/devicemodels.rs +++ b/kube-custom-resources-rs/src/devices_kubeedge_io/v1beta1/devicemodels.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/devices.kubeedge.io/v1beta1/devicemodels.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/devices_kubeedge_io/v1beta1/devices.rs b/kube-custom-resources-rs/src/devices_kubeedge_io/v1beta1/devices.rs index dab36ae0c..203a8ff37 100644 --- a/kube-custom-resources-rs/src/devices_kubeedge_io/v1beta1/devices.rs +++ b/kube-custom-resources-rs/src/devices_kubeedge_io/v1beta1/devices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/devices.kubeedge.io/v1beta1/devices.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/devops_kubesphere_io/v1alpha1/releasercontrollers.rs b/kube-custom-resources-rs/src/devops_kubesphere_io/v1alpha1/releasercontrollers.rs index 0798a8a46..cb593cd85 100644 --- a/kube-custom-resources-rs/src/devops_kubesphere_io/v1alpha1/releasercontrollers.rs +++ b/kube-custom-resources-rs/src/devops_kubesphere_io/v1alpha1/releasercontrollers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubesphere-sigs/ks-releaser-operator/devops.kubesphere.io/v1alpha1/releasercontrollers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/devops_kubesphere_io/v1alpha1/releasers.rs b/kube-custom-resources-rs/src/devops_kubesphere_io/v1alpha1/releasers.rs index d7f422511..577f42e9d 100644 --- a/kube-custom-resources-rs/src/devops_kubesphere_io/v1alpha1/releasers.rs +++ b/kube-custom-resources-rs/src/devops_kubesphere_io/v1alpha1/releasers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubesphere-sigs/ks-releaser-operator/devops.kubesphere.io/v1alpha1/releasers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/dex_coreos_com/v1/authcodes.rs b/kube-custom-resources-rs/src/dex_coreos_com/v1/authcodes.rs index 983995340..c8e943bbd 100644 --- a/kube-custom-resources-rs/src/dex_coreos_com/v1/authcodes.rs +++ b/kube-custom-resources-rs/src/dex_coreos_com/v1/authcodes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/authcodes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/dex_coreos_com/v1/authrequests.rs b/kube-custom-resources-rs/src/dex_coreos_com/v1/authrequests.rs index 1d691b70b..8dae9a6b6 100644 --- a/kube-custom-resources-rs/src/dex_coreos_com/v1/authrequests.rs +++ b/kube-custom-resources-rs/src/dex_coreos_com/v1/authrequests.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/authrequests.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/dex_coreos_com/v1/connectors.rs b/kube-custom-resources-rs/src/dex_coreos_com/v1/connectors.rs index b603374b6..c63a8ca73 100644 --- a/kube-custom-resources-rs/src/dex_coreos_com/v1/connectors.rs +++ b/kube-custom-resources-rs/src/dex_coreos_com/v1/connectors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/connectors.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/dex_coreos_com/v1/devicerequests.rs b/kube-custom-resources-rs/src/dex_coreos_com/v1/devicerequests.rs index 79d098e7a..2551e9746 100644 --- a/kube-custom-resources-rs/src/dex_coreos_com/v1/devicerequests.rs +++ b/kube-custom-resources-rs/src/dex_coreos_com/v1/devicerequests.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/devicerequests.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/dex_coreos_com/v1/devicetokens.rs b/kube-custom-resources-rs/src/dex_coreos_com/v1/devicetokens.rs index 641969e95..e3f5390cf 100644 --- a/kube-custom-resources-rs/src/dex_coreos_com/v1/devicetokens.rs +++ b/kube-custom-resources-rs/src/dex_coreos_com/v1/devicetokens.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/devicetokens.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/dex_coreos_com/v1/oauth2clients.rs b/kube-custom-resources-rs/src/dex_coreos_com/v1/oauth2clients.rs index 93ad6f4a9..2a8bfd134 100644 --- a/kube-custom-resources-rs/src/dex_coreos_com/v1/oauth2clients.rs +++ b/kube-custom-resources-rs/src/dex_coreos_com/v1/oauth2clients.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/oauth2clients.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/dex_coreos_com/v1/offlinesessionses.rs b/kube-custom-resources-rs/src/dex_coreos_com/v1/offlinesessionses.rs index 4ce8c4ed6..0a5588b99 100644 --- a/kube-custom-resources-rs/src/dex_coreos_com/v1/offlinesessionses.rs +++ b/kube-custom-resources-rs/src/dex_coreos_com/v1/offlinesessionses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/offlinesessionses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/dex_coreos_com/v1/passwords.rs b/kube-custom-resources-rs/src/dex_coreos_com/v1/passwords.rs index 97a772f69..c81e335c8 100644 --- a/kube-custom-resources-rs/src/dex_coreos_com/v1/passwords.rs +++ b/kube-custom-resources-rs/src/dex_coreos_com/v1/passwords.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/passwords.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/dex_coreos_com/v1/refreshtokens.rs b/kube-custom-resources-rs/src/dex_coreos_com/v1/refreshtokens.rs index 5ce3e206e..09af2bd24 100644 --- a/kube-custom-resources-rs/src/dex_coreos_com/v1/refreshtokens.rs +++ b/kube-custom-resources-rs/src/dex_coreos_com/v1/refreshtokens.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/refreshtokens.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/dex_coreos_com/v1/signingkeies.rs b/kube-custom-resources-rs/src/dex_coreos_com/v1/signingkeies.rs index 6128a55c3..df8f60e7e 100644 --- a/kube-custom-resources-rs/src/dex_coreos_com/v1/signingkeies.rs +++ b/kube-custom-resources-rs/src/dex_coreos_com/v1/signingkeies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/signingkeies.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/dex_gpu_ninja_com/v1alpha1/dexidentityproviders.rs b/kube-custom-resources-rs/src/dex_gpu_ninja_com/v1alpha1/dexidentityproviders.rs index 2a6ceee2b..c13058f14 100644 --- a/kube-custom-resources-rs/src/dex_gpu_ninja_com/v1alpha1/dexidentityproviders.rs +++ b/kube-custom-resources-rs/src/dex_gpu_ninja_com/v1alpha1/dexidentityproviders.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/gpu-ninja/dex-operator/dex.gpu-ninja.com/v1alpha1/dexidentityproviders.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/dex_gpu_ninja_com/v1alpha1/dexoauth2clients.rs b/kube-custom-resources-rs/src/dex_gpu_ninja_com/v1alpha1/dexoauth2clients.rs index 16ee7d9a3..a39b8419e 100644 --- a/kube-custom-resources-rs/src/dex_gpu_ninja_com/v1alpha1/dexoauth2clients.rs +++ b/kube-custom-resources-rs/src/dex_gpu_ninja_com/v1alpha1/dexoauth2clients.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/gpu-ninja/dex-operator/dex.gpu-ninja.com/v1alpha1/dexoauth2clients.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/dex_gpu_ninja_com/v1alpha1/dexusers.rs b/kube-custom-resources-rs/src/dex_gpu_ninja_com/v1alpha1/dexusers.rs index 9a02ab057..713ff2e25 100644 --- a/kube-custom-resources-rs/src/dex_gpu_ninja_com/v1alpha1/dexusers.rs +++ b/kube-custom-resources-rs/src/dex_gpu_ninja_com/v1alpha1/dexusers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/gpu-ninja/dex-operator/dex.gpu-ninja.com/v1alpha1/dexusers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/digitalis_io/v1/valssecrets.rs b/kube-custom-resources-rs/src/digitalis_io/v1/valssecrets.rs index 14af5300d..a498d3d56 100644 --- a/kube-custom-resources-rs/src/digitalis_io/v1/valssecrets.rs +++ b/kube-custom-resources-rs/src/digitalis_io/v1/valssecrets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/digitalis-io/vals-operator/digitalis.io/v1/valssecrets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/digitalis_io/v1beta1/dbsecrets.rs b/kube-custom-resources-rs/src/digitalis_io/v1beta1/dbsecrets.rs index 7d85bfc89..c6ae771cd 100644 --- a/kube-custom-resources-rs/src/digitalis_io/v1beta1/dbsecrets.rs +++ b/kube-custom-resources-rs/src/digitalis_io/v1beta1/dbsecrets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/digitalis-io/vals-operator/digitalis.io/v1beta1/dbsecrets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/documentdb_services_k8s_aws/v1alpha1/dbclusters.rs b/kube-custom-resources-rs/src/documentdb_services_k8s_aws/v1alpha1/dbclusters.rs index 6abdfa5da..5f63ccdd9 100644 --- a/kube-custom-resources-rs/src/documentdb_services_k8s_aws/v1alpha1/dbclusters.rs +++ b/kube-custom-resources-rs/src/documentdb_services_k8s_aws/v1alpha1/dbclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/documentdb-controller/documentdb.services.k8s.aws/v1alpha1/dbclusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/documentdb_services_k8s_aws/v1alpha1/dbinstances.rs b/kube-custom-resources-rs/src/documentdb_services_k8s_aws/v1alpha1/dbinstances.rs index 6d42a28e8..a42ac1ce7 100644 --- a/kube-custom-resources-rs/src/documentdb_services_k8s_aws/v1alpha1/dbinstances.rs +++ b/kube-custom-resources-rs/src/documentdb_services_k8s_aws/v1alpha1/dbinstances.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/documentdb-controller/documentdb.services.k8s.aws/v1alpha1/dbinstances.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/documentdb_services_k8s_aws/v1alpha1/dbsubnetgroups.rs b/kube-custom-resources-rs/src/documentdb_services_k8s_aws/v1alpha1/dbsubnetgroups.rs index b7f75b382..17cdc18f6 100644 --- a/kube-custom-resources-rs/src/documentdb_services_k8s_aws/v1alpha1/dbsubnetgroups.rs +++ b/kube-custom-resources-rs/src/documentdb_services_k8s_aws/v1alpha1/dbsubnetgroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/documentdb-controller/documentdb.services.k8s.aws/v1alpha1/dbsubnetgroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/druid_apache_org/v1alpha1/druids.rs b/kube-custom-resources-rs/src/druid_apache_org/v1alpha1/druids.rs index babc2b56b..7aef85a47 100644 --- a/kube-custom-resources-rs/src/druid_apache_org/v1alpha1/druids.rs +++ b/kube-custom-resources-rs/src/druid_apache_org/v1alpha1/druids.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/datainfrahq/druid-operator/druid.apache.org/v1alpha1/druids.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/dynamodb_services_k8s_aws/v1alpha1/backups.rs b/kube-custom-resources-rs/src/dynamodb_services_k8s_aws/v1alpha1/backups.rs index e5ce0b1f3..e23d722b4 100644 --- a/kube-custom-resources-rs/src/dynamodb_services_k8s_aws/v1alpha1/backups.rs +++ b/kube-custom-resources-rs/src/dynamodb_services_k8s_aws/v1alpha1/backups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/dynamodb-controller/dynamodb.services.k8s.aws/v1alpha1/backups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/dynamodb_services_k8s_aws/v1alpha1/globaltables.rs b/kube-custom-resources-rs/src/dynamodb_services_k8s_aws/v1alpha1/globaltables.rs index 5cd294a88..b4aa13b8f 100644 --- a/kube-custom-resources-rs/src/dynamodb_services_k8s_aws/v1alpha1/globaltables.rs +++ b/kube-custom-resources-rs/src/dynamodb_services_k8s_aws/v1alpha1/globaltables.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/dynamodb-controller/dynamodb.services.k8s.aws/v1alpha1/globaltables.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/dynamodb_services_k8s_aws/v1alpha1/tables.rs b/kube-custom-resources-rs/src/dynamodb_services_k8s_aws/v1alpha1/tables.rs index d0209c732..a896fff67 100644 --- a/kube-custom-resources-rs/src/dynamodb_services_k8s_aws/v1alpha1/tables.rs +++ b/kube-custom-resources-rs/src/dynamodb_services_k8s_aws/v1alpha1/tables.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/dynamodb-controller/dynamodb.services.k8s.aws/v1alpha1/tables.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/dhcpoptions.rs b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/dhcpoptions.rs index 937d4552e..7291194c7 100644 --- a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/dhcpoptions.rs +++ b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/dhcpoptions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/dhcpoptions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/elasticipaddresses.rs b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/elasticipaddresses.rs index 6fc714099..e92b5b18f 100644 --- a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/elasticipaddresses.rs +++ b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/elasticipaddresses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/elasticipaddresses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/instances.rs b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/instances.rs index 1b6538814..2169a504c 100644 --- a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/instances.rs +++ b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/instances.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/instances.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/internetgateways.rs b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/internetgateways.rs index c71878462..5527a1969 100644 --- a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/internetgateways.rs +++ b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/internetgateways.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/internetgateways.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/natgateways.rs b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/natgateways.rs index 6668a0951..47ae71708 100644 --- a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/natgateways.rs +++ b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/natgateways.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/natgateways.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/routetables.rs b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/routetables.rs index 0d99c1b17..4f1b4a7cd 100644 --- a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/routetables.rs +++ b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/routetables.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/routetables.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/securitygroups.rs b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/securitygroups.rs index 0b4927c58..b757483a6 100644 --- a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/securitygroups.rs +++ b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/securitygroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/securitygroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/subnets.rs b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/subnets.rs index 29da40115..cc01dbbaf 100644 --- a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/subnets.rs +++ b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/subnets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/subnets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/transitgateways.rs b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/transitgateways.rs index 62380eaea..3462fcb36 100644 --- a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/transitgateways.rs +++ b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/transitgateways.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/transitgateways.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/vpcendpoints.rs b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/vpcendpoints.rs index 13219aa1f..a275d87e1 100644 --- a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/vpcendpoints.rs +++ b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/vpcendpoints.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/vpcendpoints.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/vpcs.rs b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/vpcs.rs index f13516146..9c709230b 100644 --- a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/vpcs.rs +++ b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/vpcs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/vpcs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ecr_services_k8s_aws/v1alpha1/pullthroughcacherules.rs b/kube-custom-resources-rs/src/ecr_services_k8s_aws/v1alpha1/pullthroughcacherules.rs index b351a7adf..85c6eb933 100644 --- a/kube-custom-resources-rs/src/ecr_services_k8s_aws/v1alpha1/pullthroughcacherules.rs +++ b/kube-custom-resources-rs/src/ecr_services_k8s_aws/v1alpha1/pullthroughcacherules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ecr-controller/ecr.services.k8s.aws/v1alpha1/pullthroughcacherules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ecr_services_k8s_aws/v1alpha1/repositories.rs b/kube-custom-resources-rs/src/ecr_services_k8s_aws/v1alpha1/repositories.rs index a840e9488..33e7cd983 100644 --- a/kube-custom-resources-rs/src/ecr_services_k8s_aws/v1alpha1/repositories.rs +++ b/kube-custom-resources-rs/src/ecr_services_k8s_aws/v1alpha1/repositories.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ecr-controller/ecr.services.k8s.aws/v1alpha1/repositories.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/efs_services_k8s_aws/v1alpha1/accesspoints.rs b/kube-custom-resources-rs/src/efs_services_k8s_aws/v1alpha1/accesspoints.rs index 47099fb34..f5339ebbe 100644 --- a/kube-custom-resources-rs/src/efs_services_k8s_aws/v1alpha1/accesspoints.rs +++ b/kube-custom-resources-rs/src/efs_services_k8s_aws/v1alpha1/accesspoints.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/efs-controller/efs.services.k8s.aws/v1alpha1/accesspoints.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/efs_services_k8s_aws/v1alpha1/filesystems.rs b/kube-custom-resources-rs/src/efs_services_k8s_aws/v1alpha1/filesystems.rs index 9b43fb325..4b77c6315 100644 --- a/kube-custom-resources-rs/src/efs_services_k8s_aws/v1alpha1/filesystems.rs +++ b/kube-custom-resources-rs/src/efs_services_k8s_aws/v1alpha1/filesystems.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/efs-controller/efs.services.k8s.aws/v1alpha1/filesystems.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/efs_services_k8s_aws/v1alpha1/mounttargets.rs b/kube-custom-resources-rs/src/efs_services_k8s_aws/v1alpha1/mounttargets.rs index 185ed25f4..d9916d5cc 100644 --- a/kube-custom-resources-rs/src/efs_services_k8s_aws/v1alpha1/mounttargets.rs +++ b/kube-custom-resources-rs/src/efs_services_k8s_aws/v1alpha1/mounttargets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/efs-controller/efs.services.k8s.aws/v1alpha1/mounttargets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/addons.rs b/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/addons.rs index 6f3f2d7a6..1d08e2356 100644 --- a/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/addons.rs +++ b/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/addons.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/eks-controller/eks.services.k8s.aws/v1alpha1/addons.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/clusters.rs b/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/clusters.rs index f00d5c92d..349cb0bed 100644 --- a/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/clusters.rs +++ b/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/clusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/eks-controller/eks.services.k8s.aws/v1alpha1/clusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/fargateprofiles.rs b/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/fargateprofiles.rs index ab2ccf10b..c1fd74328 100644 --- a/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/fargateprofiles.rs +++ b/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/fargateprofiles.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/eks-controller/eks.services.k8s.aws/v1alpha1/fargateprofiles.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/nodegroups.rs b/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/nodegroups.rs index 3042e15d5..e71b98590 100644 --- a/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/nodegroups.rs +++ b/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/nodegroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/eks-controller/eks.services.k8s.aws/v1alpha1/nodegroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/cacheparametergroups.rs b/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/cacheparametergroups.rs index 337221467..28310f1e4 100644 --- a/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/cacheparametergroups.rs +++ b/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/cacheparametergroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/elasticache-controller/elasticache.services.k8s.aws/v1alpha1/cacheparametergroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/cachesubnetgroups.rs b/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/cachesubnetgroups.rs index a22f56839..05a9dc49f 100644 --- a/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/cachesubnetgroups.rs +++ b/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/cachesubnetgroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/elasticache-controller/elasticache.services.k8s.aws/v1alpha1/cachesubnetgroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/replicationgroups.rs b/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/replicationgroups.rs index 0a680a0bd..07d006a77 100644 --- a/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/replicationgroups.rs +++ b/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/replicationgroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/elasticache-controller/elasticache.services.k8s.aws/v1alpha1/replicationgroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/snapshots.rs b/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/snapshots.rs index 05b624067..31016f7f7 100644 --- a/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/snapshots.rs +++ b/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/snapshots.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/elasticache-controller/elasticache.services.k8s.aws/v1alpha1/snapshots.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/usergroups.rs b/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/usergroups.rs index 8c10c600b..4f4e26196 100644 --- a/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/usergroups.rs +++ b/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/usergroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/elasticache-controller/elasticache.services.k8s.aws/v1alpha1/usergroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/users.rs b/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/users.rs index f1a12b231..f545584f5 100644 --- a/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/users.rs +++ b/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/users.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/elasticache-controller/elasticache.services.k8s.aws/v1alpha1/users.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/elasticsearch_k8s_elastic_co/v1/elasticsearches.rs b/kube-custom-resources-rs/src/elasticsearch_k8s_elastic_co/v1/elasticsearches.rs index 8467397f4..3d0ac3d43 100644 --- a/kube-custom-resources-rs/src/elasticsearch_k8s_elastic_co/v1/elasticsearches.rs +++ b/kube-custom-resources-rs/src/elasticsearch_k8s_elastic_co/v1/elasticsearches.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/elasticsearch.k8s.elastic.co/v1/elasticsearches.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -338,6 +338,7 @@ pub struct ElasticsearchHttpServiceSpec { /// not set, the implementation will apply its default routing strategy. If set /// to "PreferClose", implementations should prioritize endpoints that are /// topologically close (e.g., same zone). + /// This is an alpha field and requires enabling ServiceTrafficDistribution feature. #[serde(default, skip_serializing_if = "Option::is_none", rename = "trafficDistribution")] pub traffic_distribution: Option, /// type determines how the Service is exposed. Defaults to ClusterIP. Valid @@ -1808,8 +1809,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecContainersEnvValueFromConfigMapKe /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1849,8 +1854,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecContainersEnvValueFromSecretKeyRe /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1876,8 +1885,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -1889,8 +1902,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -3037,8 +3054,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecEphemeralContainersEnvValueFromCo /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3078,8 +3099,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecEphemeralContainersEnvValueFromSe /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3105,8 +3130,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecEphemeralContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecEphemeralContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -3118,8 +3147,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecEphemeralContainersEnvFromConfigM #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecEphemeralContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -4031,8 +4064,7 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, /// IP address of the host file entry. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub ip: Option, + pub ip: String, } /// LocalObjectReference contains enough information to let you locate the @@ -4040,8 +4072,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecHostAliases { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecImagePullSecrets { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -4259,8 +4295,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecInitContainersEnvValueFromConfigM /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4300,8 +4340,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecInitContainersEnvValueFromSecretK /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4327,8 +4371,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecInitContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecInitContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -4340,8 +4388,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecInitContainersEnvFromConfigMapRef #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecInitContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -5972,8 +6024,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesCephfs { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesCephfsSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6008,8 +6064,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesCinder { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesCinderSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6036,8 +6096,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -6101,8 +6165,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesCsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesCsiNodePublishSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6558,8 +6626,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesFlexVolume { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesFlexVolumeSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6715,8 +6787,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesIscsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesIscsiSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6924,8 +7000,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesProjectedSourcesConfigMap #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -7021,8 +7101,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional field specify whether the Secret or its key must be defined @@ -7151,8 +7235,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesRbd { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesRbdSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -7202,8 +7290,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesScaleIo { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesScaleIoSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -7294,8 +7386,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesStorageos { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesStorageosSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -8082,6 +8178,7 @@ pub struct ElasticsearchTransportServiceSpec { /// not set, the implementation will apply its default routing strategy. If set /// to "PreferClose", implementations should prioritize endpoints that are /// topologically close (e.g., same zone). + /// This is an alpha field and requires enabling ServiceTrafficDistribution feature. #[serde(default, skip_serializing_if = "Option::is_none", rename = "trafficDistribution")] pub traffic_distribution: Option, /// type determines how the Service is exposed. Defaults to ClusterIP. Valid diff --git a/kube-custom-resources-rs/src/elasticsearch_k8s_elastic_co/v1beta1/elasticsearches.rs b/kube-custom-resources-rs/src/elasticsearch_k8s_elastic_co/v1beta1/elasticsearches.rs index 4c042ca5c..07ddfa708 100644 --- a/kube-custom-resources-rs/src/elasticsearch_k8s_elastic_co/v1beta1/elasticsearches.rs +++ b/kube-custom-resources-rs/src/elasticsearch_k8s_elastic_co/v1beta1/elasticsearches.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/elasticsearch.k8s.elastic.co/v1beta1/elasticsearches.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -282,6 +282,7 @@ pub struct ElasticsearchHttpServiceSpec { /// not set, the implementation will apply its default routing strategy. If set /// to "PreferClose", implementations should prioritize endpoints that are /// topologically close (e.g., same zone). + /// This is an alpha field and requires enabling ServiceTrafficDistribution feature. #[serde(default, skip_serializing_if = "Option::is_none", rename = "trafficDistribution")] pub traffic_distribution: Option, /// type determines how the Service is exposed. Defaults to ClusterIP. Valid @@ -1669,8 +1670,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecContainersEnvValueFromConfigMapKe /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1710,8 +1715,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecContainersEnvValueFromSecretKeyRe /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1737,8 +1746,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -1750,8 +1763,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -2898,8 +2915,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecEphemeralContainersEnvValueFromCo /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2939,8 +2960,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecEphemeralContainersEnvValueFromSe /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2966,8 +2991,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecEphemeralContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecEphemeralContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -2979,8 +3008,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecEphemeralContainersEnvFromConfigM #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecEphemeralContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -3892,8 +3925,7 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, /// IP address of the host file entry. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub ip: Option, + pub ip: String, } /// LocalObjectReference contains enough information to let you locate the @@ -3901,8 +3933,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecHostAliases { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecImagePullSecrets { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -4120,8 +4156,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecInitContainersEnvValueFromConfigM /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4161,8 +4201,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecInitContainersEnvValueFromSecretK /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4188,8 +4232,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecInitContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecInitContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -4201,8 +4249,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecInitContainersEnvFromConfigMapRef #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecInitContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -5833,8 +5885,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesCephfs { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesCephfsSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5869,8 +5925,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesCinder { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesCinderSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5897,8 +5957,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -5962,8 +6026,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesCsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesCsiNodePublishSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6419,8 +6487,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesFlexVolume { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesFlexVolumeSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6576,8 +6648,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesIscsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesIscsiSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6785,8 +6861,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesProjectedSourcesConfigMap #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -6882,8 +6962,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional field specify whether the Secret or its key must be defined @@ -7012,8 +7096,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesRbd { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesRbdSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -7063,8 +7151,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesScaleIo { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesScaleIoSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -7155,8 +7247,12 @@ pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesStorageos { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticsearchNodeSetsPodTemplateSpecVolumesStorageosSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } diff --git a/kube-custom-resources-rs/src/elbv2_k8s_aws/v1alpha1/targetgroupbindings.rs b/kube-custom-resources-rs/src/elbv2_k8s_aws/v1alpha1/targetgroupbindings.rs index fa650e548..82c3c1d6f 100644 --- a/kube-custom-resources-rs/src/elbv2_k8s_aws/v1alpha1/targetgroupbindings.rs +++ b/kube-custom-resources-rs/src/elbv2_k8s_aws/v1alpha1/targetgroupbindings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/aws-load-balancer-controller/elbv2.k8s.aws/v1alpha1/targetgroupbindings.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/elbv2_k8s_aws/v1beta1/ingressclassparams.rs b/kube-custom-resources-rs/src/elbv2_k8s_aws/v1beta1/ingressclassparams.rs index 0b67732e1..49c10d1df 100644 --- a/kube-custom-resources-rs/src/elbv2_k8s_aws/v1beta1/ingressclassparams.rs +++ b/kube-custom-resources-rs/src/elbv2_k8s_aws/v1beta1/ingressclassparams.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/aws-load-balancer-controller/elbv2.k8s.aws/v1beta1/ingressclassparams.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/elbv2_k8s_aws/v1beta1/targetgroupbindings.rs b/kube-custom-resources-rs/src/elbv2_k8s_aws/v1beta1/targetgroupbindings.rs index ed45ff69b..a6d65b86d 100644 --- a/kube-custom-resources-rs/src/elbv2_k8s_aws/v1beta1/targetgroupbindings.rs +++ b/kube-custom-resources-rs/src/elbv2_k8s_aws/v1beta1/targetgroupbindings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/aws-load-balancer-controller/elbv2.k8s.aws/v1beta1/targetgroupbindings.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/emrcontainers_services_k8s_aws/v1alpha1/jobruns.rs b/kube-custom-resources-rs/src/emrcontainers_services_k8s_aws/v1alpha1/jobruns.rs index 2380f1499..488cc4937 100644 --- a/kube-custom-resources-rs/src/emrcontainers_services_k8s_aws/v1alpha1/jobruns.rs +++ b/kube-custom-resources-rs/src/emrcontainers_services_k8s_aws/v1alpha1/jobruns.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/emrcontainers-controller/emrcontainers.services.k8s.aws/v1alpha1/jobruns.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/emrcontainers_services_k8s_aws/v1alpha1/virtualclusters.rs b/kube-custom-resources-rs/src/emrcontainers_services_k8s_aws/v1alpha1/virtualclusters.rs index 3411a0013..213b40dab 100644 --- a/kube-custom-resources-rs/src/emrcontainers_services_k8s_aws/v1alpha1/virtualclusters.rs +++ b/kube-custom-resources-rs/src/emrcontainers_services_k8s_aws/v1alpha1/virtualclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/emrcontainers-controller/emrcontainers.services.k8s.aws/v1alpha1/virtualclusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ensembleoss_io/v1/clusters.rs b/kube-custom-resources-rs/src/ensembleoss_io/v1/clusters.rs index 3000435c9..962c0d33b 100644 --- a/kube-custom-resources-rs/src/ensembleoss_io/v1/clusters.rs +++ b/kube-custom-resources-rs/src/ensembleoss_io/v1/clusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/teseraio/ensemble/ensembleoss.io/v1/clusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ensembleoss_io/v1/resources.rs b/kube-custom-resources-rs/src/ensembleoss_io/v1/resources.rs index 62514fd5e..da688b5df 100644 --- a/kube-custom-resources-rs/src/ensembleoss_io/v1/resources.rs +++ b/kube-custom-resources-rs/src/ensembleoss_io/v1/resources.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/teseraio/ensemble/ensembleoss.io/v1/resources.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/enterprisesearch_k8s_elastic_co/v1/enterprisesearches.rs b/kube-custom-resources-rs/src/enterprisesearch_k8s_elastic_co/v1/enterprisesearches.rs index caa11690e..f1e94529f 100644 --- a/kube-custom-resources-rs/src/enterprisesearch_k8s_elastic_co/v1/enterprisesearches.rs +++ b/kube-custom-resources-rs/src/enterprisesearch_k8s_elastic_co/v1/enterprisesearches.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/enterprisesearch.k8s.elastic.co/v1/enterprisesearches.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -326,6 +326,7 @@ pub struct EnterpriseSearchHttpServiceSpec { /// not set, the implementation will apply its default routing strategy. If set /// to "PreferClose", implementations should prioritize endpoints that are /// topologically close (e.g., same zone). + /// This is an alpha field and requires enabling ServiceTrafficDistribution feature. #[serde(default, skip_serializing_if = "Option::is_none", rename = "trafficDistribution")] pub traffic_distribution: Option, /// type determines how the Service is exposed. Defaults to ClusterIP. Valid @@ -1689,8 +1690,12 @@ pub struct EnterpriseSearchPodTemplateSpecContainersEnvValueFromConfigMapKeyRef /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1730,8 +1735,12 @@ pub struct EnterpriseSearchPodTemplateSpecContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1757,8 +1766,12 @@ pub struct EnterpriseSearchPodTemplateSpecContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -1770,8 +1783,12 @@ pub struct EnterpriseSearchPodTemplateSpecContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -2918,8 +2935,12 @@ pub struct EnterpriseSearchPodTemplateSpecEphemeralContainersEnvValueFromConfigM /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2959,8 +2980,12 @@ pub struct EnterpriseSearchPodTemplateSpecEphemeralContainersEnvValueFromSecretK /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2986,8 +3011,12 @@ pub struct EnterpriseSearchPodTemplateSpecEphemeralContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecEphemeralContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -2999,8 +3028,12 @@ pub struct EnterpriseSearchPodTemplateSpecEphemeralContainersEnvFromConfigMapRef #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecEphemeralContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -3912,8 +3945,7 @@ pub struct EnterpriseSearchPodTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, /// IP address of the host file entry. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub ip: Option, + pub ip: String, } /// LocalObjectReference contains enough information to let you locate the @@ -3921,8 +3953,12 @@ pub struct EnterpriseSearchPodTemplateSpecHostAliases { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecImagePullSecrets { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -4140,8 +4176,12 @@ pub struct EnterpriseSearchPodTemplateSpecInitContainersEnvValueFromConfigMapKey /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4181,8 +4221,12 @@ pub struct EnterpriseSearchPodTemplateSpecInitContainersEnvValueFromSecretKeyRef /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4208,8 +4252,12 @@ pub struct EnterpriseSearchPodTemplateSpecInitContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecInitContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -4221,8 +4269,12 @@ pub struct EnterpriseSearchPodTemplateSpecInitContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecInitContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -5853,8 +5905,12 @@ pub struct EnterpriseSearchPodTemplateSpecVolumesCephfs { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecVolumesCephfsSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5889,8 +5945,12 @@ pub struct EnterpriseSearchPodTemplateSpecVolumesCinder { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecVolumesCinderSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5917,8 +5977,12 @@ pub struct EnterpriseSearchPodTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -5982,8 +6046,12 @@ pub struct EnterpriseSearchPodTemplateSpecVolumesCsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecVolumesCsiNodePublishSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6439,8 +6507,12 @@ pub struct EnterpriseSearchPodTemplateSpecVolumesFlexVolume { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecVolumesFlexVolumeSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6596,8 +6668,12 @@ pub struct EnterpriseSearchPodTemplateSpecVolumesIscsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecVolumesIscsiSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6805,8 +6881,12 @@ pub struct EnterpriseSearchPodTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -6902,8 +6982,12 @@ pub struct EnterpriseSearchPodTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional field specify whether the Secret or its key must be defined @@ -7032,8 +7116,12 @@ pub struct EnterpriseSearchPodTemplateSpecVolumesRbd { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecVolumesRbdSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -7083,8 +7171,12 @@ pub struct EnterpriseSearchPodTemplateSpecVolumesScaleIo { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecVolumesScaleIoSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -7175,8 +7267,12 @@ pub struct EnterpriseSearchPodTemplateSpecVolumesStorageos { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecVolumesStorageosSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } diff --git a/kube-custom-resources-rs/src/enterprisesearch_k8s_elastic_co/v1beta1/enterprisesearches.rs b/kube-custom-resources-rs/src/enterprisesearch_k8s_elastic_co/v1beta1/enterprisesearches.rs index 7795dadba..c7cb3f547 100644 --- a/kube-custom-resources-rs/src/enterprisesearch_k8s_elastic_co/v1beta1/enterprisesearches.rs +++ b/kube-custom-resources-rs/src/enterprisesearch_k8s_elastic_co/v1beta1/enterprisesearches.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/enterprisesearch.k8s.elastic.co/v1beta1/enterprisesearches.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -323,6 +323,7 @@ pub struct EnterpriseSearchHttpServiceSpec { /// not set, the implementation will apply its default routing strategy. If set /// to "PreferClose", implementations should prioritize endpoints that are /// topologically close (e.g., same zone). + /// This is an alpha field and requires enabling ServiceTrafficDistribution feature. #[serde(default, skip_serializing_if = "Option::is_none", rename = "trafficDistribution")] pub traffic_distribution: Option, /// type determines how the Service is exposed. Defaults to ClusterIP. Valid @@ -1686,8 +1687,12 @@ pub struct EnterpriseSearchPodTemplateSpecContainersEnvValueFromConfigMapKeyRef /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1727,8 +1732,12 @@ pub struct EnterpriseSearchPodTemplateSpecContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1754,8 +1763,12 @@ pub struct EnterpriseSearchPodTemplateSpecContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -1767,8 +1780,12 @@ pub struct EnterpriseSearchPodTemplateSpecContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -2915,8 +2932,12 @@ pub struct EnterpriseSearchPodTemplateSpecEphemeralContainersEnvValueFromConfigM /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2956,8 +2977,12 @@ pub struct EnterpriseSearchPodTemplateSpecEphemeralContainersEnvValueFromSecretK /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2983,8 +3008,12 @@ pub struct EnterpriseSearchPodTemplateSpecEphemeralContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecEphemeralContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -2996,8 +3025,12 @@ pub struct EnterpriseSearchPodTemplateSpecEphemeralContainersEnvFromConfigMapRef #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecEphemeralContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -3909,8 +3942,7 @@ pub struct EnterpriseSearchPodTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, /// IP address of the host file entry. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub ip: Option, + pub ip: String, } /// LocalObjectReference contains enough information to let you locate the @@ -3918,8 +3950,12 @@ pub struct EnterpriseSearchPodTemplateSpecHostAliases { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecImagePullSecrets { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -4137,8 +4173,12 @@ pub struct EnterpriseSearchPodTemplateSpecInitContainersEnvValueFromConfigMapKey /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4178,8 +4218,12 @@ pub struct EnterpriseSearchPodTemplateSpecInitContainersEnvValueFromSecretKeyRef /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4205,8 +4249,12 @@ pub struct EnterpriseSearchPodTemplateSpecInitContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecInitContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -4218,8 +4266,12 @@ pub struct EnterpriseSearchPodTemplateSpecInitContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecInitContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -5850,8 +5902,12 @@ pub struct EnterpriseSearchPodTemplateSpecVolumesCephfs { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecVolumesCephfsSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5886,8 +5942,12 @@ pub struct EnterpriseSearchPodTemplateSpecVolumesCinder { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecVolumesCinderSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5914,8 +5974,12 @@ pub struct EnterpriseSearchPodTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -5979,8 +6043,12 @@ pub struct EnterpriseSearchPodTemplateSpecVolumesCsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecVolumesCsiNodePublishSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6436,8 +6504,12 @@ pub struct EnterpriseSearchPodTemplateSpecVolumesFlexVolume { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecVolumesFlexVolumeSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6593,8 +6665,12 @@ pub struct EnterpriseSearchPodTemplateSpecVolumesIscsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecVolumesIscsiSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6802,8 +6878,12 @@ pub struct EnterpriseSearchPodTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -6899,8 +6979,12 @@ pub struct EnterpriseSearchPodTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional field specify whether the Secret or its key must be defined @@ -7029,8 +7113,12 @@ pub struct EnterpriseSearchPodTemplateSpecVolumesRbd { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecVolumesRbdSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -7080,8 +7168,12 @@ pub struct EnterpriseSearchPodTemplateSpecVolumesScaleIo { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecVolumesScaleIoSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -7172,8 +7264,12 @@ pub struct EnterpriseSearchPodTemplateSpecVolumesStorageos { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnterpriseSearchPodTemplateSpecVolumesStorageosSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } diff --git a/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/backupstorages.rs b/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/backupstorages.rs index d26f29de8..db17c54a7 100644 --- a/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/backupstorages.rs +++ b/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/backupstorages.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/backupstorages.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/databaseclusterbackups.rs b/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/databaseclusterbackups.rs index 752327658..d7ec421fd 100644 --- a/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/databaseclusterbackups.rs +++ b/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/databaseclusterbackups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/databaseclusterbackups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/databaseclusterrestores.rs b/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/databaseclusterrestores.rs index ab63a17b4..4679bf0a7 100644 --- a/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/databaseclusterrestores.rs +++ b/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/databaseclusterrestores.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/databaseclusterrestores.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/databaseclusters.rs b/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/databaseclusters.rs index db1a7521a..0565c1b1e 100644 --- a/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/databaseclusters.rs +++ b/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/databaseclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/databaseclusters.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/monitoringconfigs.rs b/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/monitoringconfigs.rs index 7b6ec8fbc..ec2a35822 100644 --- a/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/monitoringconfigs.rs +++ b/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/monitoringconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/monitoringconfigs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/execution_furiko_io/v1alpha1/jobconfigs.rs b/kube-custom-resources-rs/src/execution_furiko_io/v1alpha1/jobconfigs.rs index 3a3102272..766406dbe 100644 --- a/kube-custom-resources-rs/src/execution_furiko_io/v1alpha1/jobconfigs.rs +++ b/kube-custom-resources-rs/src/execution_furiko_io/v1alpha1/jobconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/furiko-io/furiko/execution.furiko.io/v1alpha1/jobconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/execution_furiko_io/v1alpha1/jobs.rs b/kube-custom-resources-rs/src/execution_furiko_io/v1alpha1/jobs.rs index b026463e6..61dd3a8c3 100644 --- a/kube-custom-resources-rs/src/execution_furiko_io/v1alpha1/jobs.rs +++ b/kube-custom-resources-rs/src/execution_furiko_io/v1alpha1/jobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/furiko-io/furiko/execution.furiko.io/v1alpha1/jobs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/executor_testkube_io/v1/executors.rs b/kube-custom-resources-rs/src/executor_testkube_io/v1/executors.rs index 0ed13b43b..efcfa2019 100644 --- a/kube-custom-resources-rs/src/executor_testkube_io/v1/executors.rs +++ b/kube-custom-resources-rs/src/executor_testkube_io/v1/executors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/executor.testkube.io/v1/executors.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -27,7 +27,8 @@ pub struct ExecutorSpec { /// ContentTypes list of handled content types #[serde(default, skip_serializing_if = "Option::is_none")] pub content_types: Option>, - /// ExecutorType one of "rest" for rest openapi based executors or "job" which will be default runners for testkube or "container" for container executors + /// ExecutorType one of "rest" for rest openapi based executors or "job" which will be default runners for testkube + /// or "container" for container executors #[serde(default, skip_serializing_if = "Option::is_none")] pub executor_type: Option, /// Features list of possible features which executor handles @@ -71,10 +72,13 @@ pub enum ExecutorExecutorType { Container, } -/// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. +/// LocalObjectReference contains enough information to let you locate the +/// referenced object inside the same namespace. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ExecutorImagePullSecrets { - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } diff --git a/kube-custom-resources-rs/src/executor_testkube_io/v1/webhooks.rs b/kube-custom-resources-rs/src/executor_testkube_io/v1/webhooks.rs index d3cd53aee..3f8b436e3 100644 --- a/kube-custom-resources-rs/src/executor_testkube_io/v1/webhooks.rs +++ b/kube-custom-resources-rs/src/executor_testkube_io/v1/webhooks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/executor.testkube.io/v1/webhooks.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -18,6 +18,9 @@ use self::prelude::*; #[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct WebhookSpec { + /// Disabled will disable the webhook + #[serde(default, skip_serializing_if = "Option::is_none")] + pub disabled: Option, /// Events declare list if events on which webhook should be called #[serde(default, skip_serializing_if = "Option::is_none")] pub events: Option>, diff --git a/kube-custom-resources-rs/src/expansion_gatekeeper_sh/v1alpha1/expansiontemplate.rs b/kube-custom-resources-rs/src/expansion_gatekeeper_sh/v1alpha1/expansiontemplate.rs index 390699989..ddceaf400 100644 --- a/kube-custom-resources-rs/src/expansion_gatekeeper_sh/v1alpha1/expansiontemplate.rs +++ b/kube-custom-resources-rs/src/expansion_gatekeeper_sh/v1alpha1/expansiontemplate.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/expansion.gatekeeper.sh/v1alpha1/expansiontemplate.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/expansion_gatekeeper_sh/v1beta1/expansiontemplate.rs b/kube-custom-resources-rs/src/expansion_gatekeeper_sh/v1beta1/expansiontemplate.rs index 4da0e497c..0212f3421 100644 --- a/kube-custom-resources-rs/src/expansion_gatekeeper_sh/v1beta1/expansiontemplate.rs +++ b/kube-custom-resources-rs/src/expansion_gatekeeper_sh/v1beta1/expansiontemplate.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/expansion.gatekeeper.sh/v1beta1/expansiontemplate.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/extensions_istio_io/v1alpha1/wasmplugins.rs b/kube-custom-resources-rs/src/extensions_istio_io/v1alpha1/wasmplugins.rs index 2739bc509..d7e69edce 100644 --- a/kube-custom-resources-rs/src/extensions_istio_io/v1alpha1/wasmplugins.rs +++ b/kube-custom-resources-rs/src/extensions_istio_io/v1alpha1/wasmplugins.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/extensions.istio.io/v1alpha1/wasmplugins.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/extensions_kubeblocks_io/v1alpha1/addons.rs b/kube-custom-resources-rs/src/extensions_kubeblocks_io/v1alpha1/addons.rs index aeac22be9..f36c27a18 100644 --- a/kube-custom-resources-rs/src/extensions_kubeblocks_io/v1alpha1/addons.rs +++ b/kube-custom-resources-rs/src/extensions_kubeblocks_io/v1alpha1/addons.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/extensions.kubeblocks.io/v1alpha1/addons.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/external_secrets_io/v1alpha1/clustersecretstores.rs b/kube-custom-resources-rs/src/external_secrets_io/v1alpha1/clustersecretstores.rs index ec5c231e8..c781d1384 100644 --- a/kube-custom-resources-rs/src/external_secrets_io/v1alpha1/clustersecretstores.rs +++ b/kube-custom-resources-rs/src/external_secrets_io/v1alpha1/clustersecretstores.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/external-secrets/external-secrets/external-secrets.io/v1alpha1/clustersecretstores.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/external_secrets_io/v1alpha1/externalsecrets.rs b/kube-custom-resources-rs/src/external_secrets_io/v1alpha1/externalsecrets.rs index ee75ead60..7ec1f2b6f 100644 --- a/kube-custom-resources-rs/src/external_secrets_io/v1alpha1/externalsecrets.rs +++ b/kube-custom-resources-rs/src/external_secrets_io/v1alpha1/externalsecrets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/external-secrets/external-secrets/external-secrets.io/v1alpha1/externalsecrets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -224,8 +224,12 @@ pub struct ExternalSecretStatus { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ExternalSecretStatusBinding { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } diff --git a/kube-custom-resources-rs/src/external_secrets_io/v1alpha1/secretstores.rs b/kube-custom-resources-rs/src/external_secrets_io/v1alpha1/secretstores.rs index 057a71183..8e2cce61b 100644 --- a/kube-custom-resources-rs/src/external_secrets_io/v1alpha1/secretstores.rs +++ b/kube-custom-resources-rs/src/external_secrets_io/v1alpha1/secretstores.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/external-secrets/external-secrets/external-secrets.io/v1alpha1/secretstores.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/external_secrets_io/v1beta1/clusterexternalsecrets.rs b/kube-custom-resources-rs/src/external_secrets_io/v1beta1/clusterexternalsecrets.rs index 727bc47e1..4c18f3657 100644 --- a/kube-custom-resources-rs/src/external_secrets_io/v1beta1/clusterexternalsecrets.rs +++ b/kube-custom-resources-rs/src/external_secrets_io/v1beta1/clusterexternalsecrets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/external-secrets/external-secrets/external-secrets.io/v1beta1/clusterexternalsecrets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/external_secrets_io/v1beta1/clustersecretstores.rs b/kube-custom-resources-rs/src/external_secrets_io/v1beta1/clustersecretstores.rs index 2390582ae..b88d54652 100644 --- a/kube-custom-resources-rs/src/external_secrets_io/v1beta1/clustersecretstores.rs +++ b/kube-custom-resources-rs/src/external_secrets_io/v1beta1/clustersecretstores.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/external-secrets/external-secrets/external-secrets.io/v1beta1/clustersecretstores.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/external_secrets_io/v1beta1/externalsecrets.rs b/kube-custom-resources-rs/src/external_secrets_io/v1beta1/externalsecrets.rs index 455d44503..462addedb 100644 --- a/kube-custom-resources-rs/src/external_secrets_io/v1beta1/externalsecrets.rs +++ b/kube-custom-resources-rs/src/external_secrets_io/v1beta1/externalsecrets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/external-secrets/external-secrets/external-secrets.io/v1beta1/externalsecrets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -521,8 +521,12 @@ pub struct ExternalSecretStatus { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ExternalSecretStatusBinding { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } diff --git a/kube-custom-resources-rs/src/external_secrets_io/v1beta1/secretstores.rs b/kube-custom-resources-rs/src/external_secrets_io/v1beta1/secretstores.rs index e4959903b..a9ab5616a 100644 --- a/kube-custom-resources-rs/src/external_secrets_io/v1beta1/secretstores.rs +++ b/kube-custom-resources-rs/src/external_secrets_io/v1beta1/secretstores.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/external-secrets/external-secrets/external-secrets.io/v1beta1/secretstores.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/externaldata_gatekeeper_sh/v1alpha1/providers.rs b/kube-custom-resources-rs/src/externaldata_gatekeeper_sh/v1alpha1/providers.rs index ef885ae8d..daa70a3a9 100644 --- a/kube-custom-resources-rs/src/externaldata_gatekeeper_sh/v1alpha1/providers.rs +++ b/kube-custom-resources-rs/src/externaldata_gatekeeper_sh/v1alpha1/providers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/externaldata.gatekeeper.sh/v1alpha1/providers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/externaldata_gatekeeper_sh/v1beta1/providers.rs b/kube-custom-resources-rs/src/externaldata_gatekeeper_sh/v1beta1/providers.rs index dd4e0912a..1496863f0 100644 --- a/kube-custom-resources-rs/src/externaldata_gatekeeper_sh/v1beta1/providers.rs +++ b/kube-custom-resources-rs/src/externaldata_gatekeeper_sh/v1beta1/providers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/externaldata.gatekeeper.sh/v1beta1/providers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/externaldns_k8s_io/v1alpha1/dnsendpoints.rs b/kube-custom-resources-rs/src/externaldns_k8s_io/v1alpha1/dnsendpoints.rs index ec432bc28..aa905aac0 100644 --- a/kube-custom-resources-rs/src/externaldns_k8s_io/v1alpha1/dnsendpoints.rs +++ b/kube-custom-resources-rs/src/externaldns_k8s_io/v1alpha1/dnsendpoints.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/external-dns/externaldns.k8s.io/v1alpha1/dnsendpoints.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/externaldns_nginx_org/v1/dnsendpoints.rs b/kube-custom-resources-rs/src/externaldns_nginx_org/v1/dnsendpoints.rs index ddac39652..b2fc32514 100644 --- a/kube-custom-resources-rs/src/externaldns_nginx_org/v1/dnsendpoints.rs +++ b/kube-custom-resources-rs/src/externaldns_nginx_org/v1/dnsendpoints.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/externaldns.nginx.org/v1/dnsendpoints.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/flagger_app/v1beta1/alertproviders.rs b/kube-custom-resources-rs/src/flagger_app/v1beta1/alertproviders.rs index f2bbfd8f5..be59fc9bf 100644 --- a/kube-custom-resources-rs/src/flagger_app/v1beta1/alertproviders.rs +++ b/kube-custom-resources-rs/src/flagger_app/v1beta1/alertproviders.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/flagger/flagger.app/v1beta1/alertproviders.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/flagger_app/v1beta1/canaries.rs b/kube-custom-resources-rs/src/flagger_app/v1beta1/canaries.rs index 3ef63f5f4..ffc5ad853 100644 --- a/kube-custom-resources-rs/src/flagger_app/v1beta1/canaries.rs +++ b/kube-custom-resources-rs/src/flagger_app/v1beta1/canaries.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/flagger/flagger.app/v1beta1/canaries.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/flagger_app/v1beta1/metrictemplates.rs b/kube-custom-resources-rs/src/flagger_app/v1beta1/metrictemplates.rs index 198aeb892..fca97c420 100644 --- a/kube-custom-resources-rs/src/flagger_app/v1beta1/metrictemplates.rs +++ b/kube-custom-resources-rs/src/flagger_app/v1beta1/metrictemplates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/flagger/flagger.app/v1beta1/metrictemplates.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/flink_apache_org/v1beta1/flinkdeployments.rs b/kube-custom-resources-rs/src/flink_apache_org/v1beta1/flinkdeployments.rs index aaffdb1ac..3722b9bee 100644 --- a/kube-custom-resources-rs/src/flink_apache_org/v1beta1/flinkdeployments.rs +++ b/kube-custom-resources-rs/src/flink_apache_org/v1beta1/flinkdeployments.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apache/flink-kubernetes-operator/flink.apache.org/v1beta1/flinkdeployments.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/flink_apache_org/v1beta1/flinksessionjobs.rs b/kube-custom-resources-rs/src/flink_apache_org/v1beta1/flinksessionjobs.rs index a67696887..97f830078 100644 --- a/kube-custom-resources-rs/src/flink_apache_org/v1beta1/flinksessionjobs.rs +++ b/kube-custom-resources-rs/src/flink_apache_org/v1beta1/flinksessionjobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apache/flink-kubernetes-operator/flink.apache.org/v1beta1/flinksessionjobs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/flow_volcano_sh/v1alpha1/jobflows.rs b/kube-custom-resources-rs/src/flow_volcano_sh/v1alpha1/jobflows.rs index e0e713f59..fff9ae7a4 100644 --- a/kube-custom-resources-rs/src/flow_volcano_sh/v1alpha1/jobflows.rs +++ b/kube-custom-resources-rs/src/flow_volcano_sh/v1alpha1/jobflows.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/volcano-sh/volcano/flow.volcano.sh/v1alpha1/jobflows.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/flow_volcano_sh/v1alpha1/jobtemplates.rs b/kube-custom-resources-rs/src/flow_volcano_sh/v1alpha1/jobtemplates.rs index c4c0606e8..934779dfc 100644 --- a/kube-custom-resources-rs/src/flow_volcano_sh/v1alpha1/jobtemplates.rs +++ b/kube-custom-resources-rs/src/flow_volcano_sh/v1alpha1/jobtemplates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/volcano-sh/volcano/flow.volcano.sh/v1alpha1/jobtemplates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/flows_netobserv_io/v1alpha1/flowcollectors.rs b/kube-custom-resources-rs/src/flows_netobserv_io/v1alpha1/flowcollectors.rs index 2fe5ecfae..17e04b3ee 100644 --- a/kube-custom-resources-rs/src/flows_netobserv_io/v1alpha1/flowcollectors.rs +++ b/kube-custom-resources-rs/src/flows_netobserv_io/v1alpha1/flowcollectors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1alpha1/flowcollectors.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/flows_netobserv_io/v1beta1/flowcollectors.rs b/kube-custom-resources-rs/src/flows_netobserv_io/v1beta1/flowcollectors.rs index 1eb182d6e..e20f77269 100644 --- a/kube-custom-resources-rs/src/flows_netobserv_io/v1beta1/flowcollectors.rs +++ b/kube-custom-resources-rs/src/flows_netobserv_io/v1beta1/flowcollectors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1beta1/flowcollectors.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -52,6 +52,9 @@ pub struct FlowCollectorSpec { /// enriches them, generates metrics, and forwards them to the Loki persistence layer and/or any available exporter. #[serde(default, skip_serializing_if = "Option::is_none")] pub processor: Option, + /// `prometheus` defines Prometheus settings, such as querier configuration used to fetch metrics from the Console plugin. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub prometheus: Option, } /// Agent configuration for flows extraction. @@ -267,7 +270,7 @@ pub struct FlowCollectorAgentEbpfMetrics { /// `NetObservDroppedFlows`, which is triggered when the eBPF agent is dropping flows, such as when the BPF hashmap is full or the capacity limiter being triggered.
#[serde(default, skip_serializing_if = "Option::is_none", rename = "disableAlerts")] pub disable_alerts: Option>, - /// Set `enable` to `true` to enable eBPF agent metrics collection. + /// Set `enable` to `false` to disable eBPF agent metrics collection, by default it's `true`. #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, /// Metrics server endpoint configuration for Prometheus scraper @@ -1237,7 +1240,12 @@ pub struct FlowCollectorLoki { /// `batchWait` is the maximum time to wait before sending a batch. #[serde(default, skip_serializing_if = "Option::is_none", rename = "batchWait")] pub batch_wait: Option, - /// Set `enable` to `true` to store flows in Loki. It is required for the OpenShift Console plugin installation. + /// Set `enable` to `true` to store flows in Loki. + /// The Console plugin can use either Loki or Prometheus as a data source for metrics (see also `spec.prometheus.querier`), or both. + /// Not all queries are transposable from Loki to Prometheus. Hence, if Loki is disabled, some features of the plugin are disabled as well, + /// such as getting per-pod information or viewing raw flows. + /// If both Prometheus and Loki are enabled, Prometheus takes precedence and Loki is used as a fallback for queries that Prometheus cannot handle. + /// If they are both disabled, the Console plugin is not deployed. #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, /// `maxBackoff` is the maximum backoff time for client connection between retries. @@ -2012,6 +2020,138 @@ pub struct FlowCollectorProcessorSubnetLabelsCustomLabels { pub name: Option, } +/// `prometheus` defines Prometheus settings, such as querier configuration used to fetch metrics from the Console plugin. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct FlowCollectorPrometheus { + /// Prometheus querying configuration, such as client settings, used in the Console plugin. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub querier: Option, +} + +/// Prometheus querying configuration, such as client settings, used in the Console plugin. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct FlowCollectorPrometheusQuerier { + /// Set `enable` to `true` to make the Console plugin querying flow metrics from Prometheus instead of Loki whenever possible. + /// The Console plugin can use either Loki or Prometheus as a data source for metrics (see also `spec.loki`), or both. + /// Not all queries are transposable from Loki to Prometheus. Hence, if Loki is disabled, some features of the plugin are disabled as well, + /// such as getting per-pod information or viewing raw flows. + /// If both Prometheus and Loki are enabled, Prometheus takes precedence and Loki is used as a fallback for queries that Prometheus cannot handle. + /// If they are both disabled, the Console plugin is not deployed. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub enable: Option, + /// Prometheus configuration for `Manual` mode. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub manual: Option, + /// `mode` must be set according to the type of Prometheus installation that stores NetObserv metrics:
+ /// - Use `Auto` to try configuring automatically. In OpenShift, it uses the Thanos querier from OpenShift Cluster Monitoring
+ /// - Use `Manual` for a manual setup
+ #[serde(default, skip_serializing_if = "Option::is_none")] + pub mode: Option, + /// `timeout` is the read timeout for console plugin queries to Prometheus. + /// A timeout of zero means no timeout. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub timeout: Option, +} + +/// Prometheus configuration for `Manual` mode. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct FlowCollectorPrometheusQuerierManual { + /// Set `true` to forward logged in user token in queries to Prometheus + #[serde(default, skip_serializing_if = "Option::is_none", rename = "forwardUserToken")] + pub forward_user_token: Option, + /// TLS client configuration for Prometheus URL. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub tls: Option, + /// `url` is the address of an existing Prometheus service to use for querying metrics. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub url: Option, +} + +/// TLS client configuration for Prometheus URL. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct FlowCollectorPrometheusQuerierManualTls { + /// `caCert` defines the reference of the certificate for the Certificate Authority + #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] + pub ca_cert: Option, + /// Enable TLS + #[serde(default, skip_serializing_if = "Option::is_none")] + pub enable: Option, + /// `insecureSkipVerify` allows skipping client-side verification of the server certificate. + /// If set to `true`, the `caCert` field is ignored. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "insecureSkipVerify")] + pub insecure_skip_verify: Option, + /// `userCert` defines the user certificate reference and is used for mTLS (you can ignore it when using one-way TLS) + #[serde(default, skip_serializing_if = "Option::is_none", rename = "userCert")] + pub user_cert: Option, +} + +/// `caCert` defines the reference of the certificate for the Certificate Authority +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct FlowCollectorPrometheusQuerierManualTlsCaCert { + /// `certFile` defines the path to the certificate file name within the config map or secret + #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] + pub cert_file: Option, + /// `certKey` defines the path to the certificate private key file name within the config map or secret. Omit when the key is not necessary. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "certKey")] + pub cert_key: Option, + /// Name of the config map or secret containing certificates + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// Namespace of the config map or secret containing certificates. If omitted, the default is to use the same namespace as where NetObserv is deployed. + /// If the namespace is different, the config map or the secret is copied so that it can be mounted as required. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub namespace: Option, + /// Type for the certificate reference: `configmap` or `secret` + #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] + pub r#type: Option, +} + +/// `caCert` defines the reference of the certificate for the Certificate Authority +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum FlowCollectorPrometheusQuerierManualTlsCaCertType { + #[serde(rename = "configmap")] + Configmap, + #[serde(rename = "secret")] + Secret, +} + +/// `userCert` defines the user certificate reference and is used for mTLS (you can ignore it when using one-way TLS) +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct FlowCollectorPrometheusQuerierManualTlsUserCert { + /// `certFile` defines the path to the certificate file name within the config map or secret + #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] + pub cert_file: Option, + /// `certKey` defines the path to the certificate private key file name within the config map or secret. Omit when the key is not necessary. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "certKey")] + pub cert_key: Option, + /// Name of the config map or secret containing certificates + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// Namespace of the config map or secret containing certificates. If omitted, the default is to use the same namespace as where NetObserv is deployed. + /// If the namespace is different, the config map or the secret is copied so that it can be mounted as required. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub namespace: Option, + /// Type for the certificate reference: `configmap` or `secret` + #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] + pub r#type: Option, +} + +/// `userCert` defines the user certificate reference and is used for mTLS (you can ignore it when using one-way TLS) +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum FlowCollectorPrometheusQuerierManualTlsUserCertType { + #[serde(rename = "configmap")] + Configmap, + #[serde(rename = "secret")] + Secret, +} + +/// Prometheus querying configuration, such as client settings, used in the Console plugin. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum FlowCollectorPrometheusQuerierMode { + Manual, + Auto, +} + /// `FlowCollectorStatus` defines the observed state of FlowCollector #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct FlowCollectorStatus { diff --git a/kube-custom-resources-rs/src/flows_netobserv_io/v1beta2/flowcollectors.rs b/kube-custom-resources-rs/src/flows_netobserv_io/v1beta2/flowcollectors.rs index 213ed3080..83002b243 100644 --- a/kube-custom-resources-rs/src/flows_netobserv_io/v1beta2/flowcollectors.rs +++ b/kube-custom-resources-rs/src/flows_netobserv_io/v1beta2/flowcollectors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1beta2/flowcollectors.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -52,6 +52,9 @@ pub struct FlowCollectorSpec { /// enriches them, generates metrics, and forwards them to the Loki persistence layer and/or any available exporter. #[serde(default, skip_serializing_if = "Option::is_none")] pub processor: Option, + /// `prometheus` defines Prometheus settings, such as querier configuration used to fetch metrics from the Console plugin. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub prometheus: Option, } /// Agent configuration for flows extraction. @@ -1025,7 +1028,7 @@ pub struct FlowCollectorAgentEbpfMetrics { /// `NetObservDroppedFlows`, which is triggered when the eBPF agent is dropping flows, such as when the BPF hashmap is full or the capacity limiter being triggered.
#[serde(default, skip_serializing_if = "Option::is_none", rename = "disableAlerts")] pub disable_alerts: Option>, - /// Set `enable` to `true` to enable eBPF agent metrics collection. + /// Set `enable` to `false` to disable eBPF agent metrics collection, by default it's `true`. #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, /// Metrics server endpoint configuration for Prometheus scraper @@ -2756,7 +2759,12 @@ pub struct FlowCollectorLoki { /// This section is aimed mostly for debugging and fine-grained performance optimizations. #[serde(default, skip_serializing_if = "Option::is_none")] pub advanced: Option, - /// Set `enable` to `true` to store flows in Loki. It is required for the OpenShift Console plugin installation. + /// Set `enable` to `true` to store flows in Loki. + /// The Console plugin can use either Loki or Prometheus as a data source for metrics (see also `spec.prometheus.querier`), or both. + /// Not all queries are transposable from Loki to Prometheus. Hence, if Loki is disabled, some features of the plugin are disabled as well, + /// such as getting per-pod information or viewing raw flows. + /// If both Prometheus and Loki are enabled, Prometheus takes precedence and Loki is used as a fallback for queries that Prometheus cannot handle. + /// If they are both disabled, the Console plugin is not deployed. #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, /// Loki configuration for `LokiStack` mode. This is useful for an easy loki-operator configuration. @@ -4533,6 +4541,138 @@ pub struct FlowCollectorProcessorSubnetLabelsCustomLabels { pub name: Option, } +/// `prometheus` defines Prometheus settings, such as querier configuration used to fetch metrics from the Console plugin. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct FlowCollectorPrometheus { + /// Prometheus querying configuration, such as client settings, used in the Console plugin. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub querier: Option, +} + +/// Prometheus querying configuration, such as client settings, used in the Console plugin. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct FlowCollectorPrometheusQuerier { + /// Set `enable` to `true` to make the Console plugin querying flow metrics from Prometheus instead of Loki whenever possible. + /// The Console plugin can use either Loki or Prometheus as a data source for metrics (see also `spec.loki`), or both. + /// Not all queries are transposable from Loki to Prometheus. Hence, if Loki is disabled, some features of the plugin are disabled as well, + /// such as getting per-pod information or viewing raw flows. + /// If both Prometheus and Loki are enabled, Prometheus takes precedence and Loki is used as a fallback for queries that Prometheus cannot handle. + /// If they are both disabled, the Console plugin is not deployed. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub enable: Option, + /// Prometheus configuration for `Manual` mode. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub manual: Option, + /// `mode` must be set according to the type of Prometheus installation that stores NetObserv metrics:
+ /// - Use `Auto` to try configuring automatically. In OpenShift, it uses the Thanos querier from OpenShift Cluster Monitoring
+ /// - Use `Manual` for a manual setup
+ #[serde(default, skip_serializing_if = "Option::is_none")] + pub mode: Option, + /// `timeout` is the read timeout for console plugin queries to Prometheus. + /// A timeout of zero means no timeout. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub timeout: Option, +} + +/// Prometheus configuration for `Manual` mode. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct FlowCollectorPrometheusQuerierManual { + /// Set `true` to forward logged in user token in queries to Prometheus + #[serde(default, skip_serializing_if = "Option::is_none", rename = "forwardUserToken")] + pub forward_user_token: Option, + /// TLS client configuration for Prometheus URL. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub tls: Option, + /// `url` is the address of an existing Prometheus service to use for querying metrics. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub url: Option, +} + +/// TLS client configuration for Prometheus URL. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct FlowCollectorPrometheusQuerierManualTls { + /// `caCert` defines the reference of the certificate for the Certificate Authority + #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] + pub ca_cert: Option, + /// Enable TLS + #[serde(default, skip_serializing_if = "Option::is_none")] + pub enable: Option, + /// `insecureSkipVerify` allows skipping client-side verification of the server certificate. + /// If set to `true`, the `caCert` field is ignored. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "insecureSkipVerify")] + pub insecure_skip_verify: Option, + /// `userCert` defines the user certificate reference and is used for mTLS (you can ignore it when using one-way TLS) + #[serde(default, skip_serializing_if = "Option::is_none", rename = "userCert")] + pub user_cert: Option, +} + +/// `caCert` defines the reference of the certificate for the Certificate Authority +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct FlowCollectorPrometheusQuerierManualTlsCaCert { + /// `certFile` defines the path to the certificate file name within the config map or secret + #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] + pub cert_file: Option, + /// `certKey` defines the path to the certificate private key file name within the config map or secret. Omit when the key is not necessary. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "certKey")] + pub cert_key: Option, + /// Name of the config map or secret containing certificates + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// Namespace of the config map or secret containing certificates. If omitted, the default is to use the same namespace as where NetObserv is deployed. + /// If the namespace is different, the config map or the secret is copied so that it can be mounted as required. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub namespace: Option, + /// Type for the certificate reference: `configmap` or `secret` + #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] + pub r#type: Option, +} + +/// `caCert` defines the reference of the certificate for the Certificate Authority +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum FlowCollectorPrometheusQuerierManualTlsCaCertType { + #[serde(rename = "configmap")] + Configmap, + #[serde(rename = "secret")] + Secret, +} + +/// `userCert` defines the user certificate reference and is used for mTLS (you can ignore it when using one-way TLS) +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct FlowCollectorPrometheusQuerierManualTlsUserCert { + /// `certFile` defines the path to the certificate file name within the config map or secret + #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] + pub cert_file: Option, + /// `certKey` defines the path to the certificate private key file name within the config map or secret. Omit when the key is not necessary. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "certKey")] + pub cert_key: Option, + /// Name of the config map or secret containing certificates + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// Namespace of the config map or secret containing certificates. If omitted, the default is to use the same namespace as where NetObserv is deployed. + /// If the namespace is different, the config map or the secret is copied so that it can be mounted as required. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub namespace: Option, + /// Type for the certificate reference: `configmap` or `secret` + #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] + pub r#type: Option, +} + +/// `userCert` defines the user certificate reference and is used for mTLS (you can ignore it when using one-way TLS) +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum FlowCollectorPrometheusQuerierManualTlsUserCertType { + #[serde(rename = "configmap")] + Configmap, + #[serde(rename = "secret")] + Secret, +} + +/// Prometheus querying configuration, such as client settings, used in the Console plugin. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum FlowCollectorPrometheusQuerierMode { + Manual, + Auto, +} + /// `FlowCollectorStatus` defines the observed state of FlowCollector #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct FlowCollectorStatus { diff --git a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterfilters.rs b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterfilters.rs index f3cf1cdc1..ff397aeae 100644 --- a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterfilters.rs +++ b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterfilters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/clusterfilters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterfluentbitconfigs.rs b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterfluentbitconfigs.rs index 65deb23e4..b573f901b 100644 --- a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterfluentbitconfigs.rs +++ b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterfluentbitconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/clusterfluentbitconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterinputs.rs b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterinputs.rs index 916d70368..aa368e025 100644 --- a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterinputs.rs +++ b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterinputs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/clusterinputs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusteroutputs.rs b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusteroutputs.rs index d2d1e6e3b..519b80708 100644 --- a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusteroutputs.rs +++ b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusteroutputs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/clusteroutputs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterparsers.rs b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterparsers.rs index 2cd61a4e1..1f21b34bc 100644 --- a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterparsers.rs +++ b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterparsers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/clusterparsers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/collectors.rs b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/collectors.rs index d8af4d23b..8187e747c 100644 --- a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/collectors.rs +++ b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/collectors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/collectors.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/filters.rs b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/filters.rs index 4b9fc2a96..e0a48ba34 100644 --- a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/filters.rs +++ b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/filters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/filters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/fluentbitconfigs.rs b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/fluentbitconfigs.rs index 3e1c99433..a206d2bfd 100644 --- a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/fluentbitconfigs.rs +++ b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/fluentbitconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/fluentbitconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/fluentbits.rs b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/fluentbits.rs index a626bcf53..2edeea4db 100644 --- a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/fluentbits.rs +++ b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/fluentbits.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/fluentbits.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/outputs.rs b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/outputs.rs index 2ba7c1bd3..11e56cf9c 100644 --- a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/outputs.rs +++ b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/outputs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/outputs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/parsers.rs b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/parsers.rs index b0fddb6fb..95b79eba6 100644 --- a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/parsers.rs +++ b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/parsers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/parsers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusterfilters.rs b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusterfilters.rs index 3c89ae473..3e4d45d41 100644 --- a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusterfilters.rs +++ b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusterfilters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusterfilters.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusterfluentdconfigs.rs b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusterfluentdconfigs.rs index 6f2cc7165..0ca4d36de 100644 --- a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusterfluentdconfigs.rs +++ b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusterfluentdconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusterfluentdconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusterinputs.rs b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusterinputs.rs index 50ab0236d..b0041a3c0 100644 --- a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusterinputs.rs +++ b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusterinputs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusterinputs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusteroutputs.rs b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusteroutputs.rs index 54a15db31..8bb8af443 100644 --- a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusteroutputs.rs +++ b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusteroutputs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusteroutputs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -550,6 +550,12 @@ pub struct ClusterOutputOutputsElasticsearch { /// Optional, password for ClientKey file #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientKeyPassword")] pub client_key_password: Option, + /// Authenticate towards Elastic Cloud using cloudAuth. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "cloudAuth")] + pub cloud_auth: Option, + /// Authenticate towards Elastic Cloud using CloudId. If set, cloudAuth must be set as well and host, port, user and password are ignored. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "cloudId")] + pub cloud_id: Option, /// The hostname of your Elasticsearch node (default: localhost). #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -614,6 +620,64 @@ pub struct ClusterOutputOutputsElasticsearchClientKeyPasswordValueFromSecretKeyR pub optional: Option, } +/// Authenticate towards Elastic Cloud using cloudAuth. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct ClusterOutputOutputsElasticsearchCloudAuth { + /// ValueSource defines how to find a value's key. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] + pub value_from: Option, +} + +/// ValueSource defines how to find a value's key. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct ClusterOutputOutputsElasticsearchCloudAuthValueFrom { + /// Selects a key of a secret in the pod's namespace + #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] + pub secret_key_ref: Option, +} + +/// Selects a key of a secret in the pod's namespace +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct ClusterOutputOutputsElasticsearchCloudAuthValueFromSecretKeyRef { + /// The key of the secret to select from. Must be a valid secret key. + pub key: String, + /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// Specify whether the Secret or its key must be defined + #[serde(default, skip_serializing_if = "Option::is_none")] + pub optional: Option, +} + +/// Authenticate towards Elastic Cloud using CloudId. If set, cloudAuth must be set as well and host, port, user and password are ignored. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct ClusterOutputOutputsElasticsearchCloudId { + /// ValueSource defines how to find a value's key. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] + pub value_from: Option, +} + +/// ValueSource defines how to find a value's key. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct ClusterOutputOutputsElasticsearchCloudIdValueFrom { + /// Selects a key of a secret in the pod's namespace + #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] + pub secret_key_ref: Option, +} + +/// Selects a key of a secret in the pod's namespace +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct ClusterOutputOutputsElasticsearchCloudIdValueFromSecretKeyRef { + /// The key of the secret to select from. Must be a valid secret key. + pub key: String, + /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// Specify whether the Secret or its key must be defined + #[serde(default, skip_serializing_if = "Option::is_none")] + pub optional: Option, +} + /// Optional, The login credentials to connect to Elasticsearch #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ClusterOutputOutputsElasticsearchPassword { diff --git a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/filters.rs b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/filters.rs index 5e15f309f..1b8976b1b 100644 --- a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/filters.rs +++ b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/filters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/filters.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/fluentdconfigs.rs b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/fluentdconfigs.rs index 3ff0f13e5..ebddabb65 100644 --- a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/fluentdconfigs.rs +++ b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/fluentdconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/fluentdconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/fluentds.rs b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/fluentds.rs index bf1922544..e07903221 100644 --- a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/fluentds.rs +++ b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/fluentds.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/fluentds.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/inputs.rs b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/inputs.rs index a748c5b9f..31a90f255 100644 --- a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/inputs.rs +++ b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/inputs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/inputs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/outputs.rs b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/outputs.rs index b4ff0dda9..5af7be2c9 100644 --- a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/outputs.rs +++ b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/outputs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/outputs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -551,6 +551,12 @@ pub struct OutputOutputsElasticsearch { /// Optional, password for ClientKey file #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientKeyPassword")] pub client_key_password: Option, + /// Authenticate towards Elastic Cloud using cloudAuth. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "cloudAuth")] + pub cloud_auth: Option, + /// Authenticate towards Elastic Cloud using CloudId. If set, cloudAuth must be set as well and host, port, user and password are ignored. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "cloudId")] + pub cloud_id: Option, /// The hostname of your Elasticsearch node (default: localhost). #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -615,6 +621,64 @@ pub struct OutputOutputsElasticsearchClientKeyPasswordValueFromSecretKeyRef { pub optional: Option, } +/// Authenticate towards Elastic Cloud using cloudAuth. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct OutputOutputsElasticsearchCloudAuth { + /// ValueSource defines how to find a value's key. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] + pub value_from: Option, +} + +/// ValueSource defines how to find a value's key. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct OutputOutputsElasticsearchCloudAuthValueFrom { + /// Selects a key of a secret in the pod's namespace + #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] + pub secret_key_ref: Option, +} + +/// Selects a key of a secret in the pod's namespace +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct OutputOutputsElasticsearchCloudAuthValueFromSecretKeyRef { + /// The key of the secret to select from. Must be a valid secret key. + pub key: String, + /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// Specify whether the Secret or its key must be defined + #[serde(default, skip_serializing_if = "Option::is_none")] + pub optional: Option, +} + +/// Authenticate towards Elastic Cloud using CloudId. If set, cloudAuth must be set as well and host, port, user and password are ignored. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct OutputOutputsElasticsearchCloudId { + /// ValueSource defines how to find a value's key. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] + pub value_from: Option, +} + +/// ValueSource defines how to find a value's key. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct OutputOutputsElasticsearchCloudIdValueFrom { + /// Selects a key of a secret in the pod's namespace + #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] + pub secret_key_ref: Option, +} + +/// Selects a key of a secret in the pod's namespace +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct OutputOutputsElasticsearchCloudIdValueFromSecretKeyRef { + /// The key of the secret to select from. Must be a valid secret key. + pub key: String, + /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// Specify whether the Secret or its key must be defined + #[serde(default, skip_serializing_if = "Option::is_none")] + pub optional: Option, +} + /// Optional, The login credentials to connect to Elasticsearch #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct OutputOutputsElasticsearchPassword { diff --git a/kube-custom-resources-rs/src/flux_framework_org/v1alpha1/miniclusters.rs b/kube-custom-resources-rs/src/flux_framework_org/v1alpha1/miniclusters.rs index 3288af2f6..f8bb2112f 100644 --- a/kube-custom-resources-rs/src/flux_framework_org/v1alpha1/miniclusters.rs +++ b/kube-custom-resources-rs/src/flux_framework_org/v1alpha1/miniclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/flux-framework/flux-operator/flux-framework.org/v1alpha1/miniclusters.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/flux_framework_org/v1alpha2/miniclusters.rs b/kube-custom-resources-rs/src/flux_framework_org/v1alpha2/miniclusters.rs index 2ca4b8e9e..405b7122d 100644 --- a/kube-custom-resources-rs/src/flux_framework_org/v1alpha2/miniclusters.rs +++ b/kube-custom-resources-rs/src/flux_framework_org/v1alpha2/miniclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/flux-framework/flux-operator/flux-framework.org/v1alpha2/miniclusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/forkliftcontrollers.rs b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/forkliftcontrollers.rs index f682a61f2..c467a4560 100644 --- a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/forkliftcontrollers.rs +++ b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/forkliftcontrollers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/forkliftcontrollers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/hooks.rs b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/hooks.rs index 4f0424128..e68492239 100644 --- a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/hooks.rs +++ b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/hooks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/hooks.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/hosts.rs b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/hosts.rs index 5acbe251b..97d910ab4 100644 --- a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/hosts.rs +++ b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/hosts.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/hosts.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/migrations.rs b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/migrations.rs index a4540e9af..abdf4afe0 100644 --- a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/migrations.rs +++ b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/migrations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/migrations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/networkmaps.rs b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/networkmaps.rs index b7a69615c..3dc99c759 100644 --- a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/networkmaps.rs +++ b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/networkmaps.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/networkmaps.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/openstackvolumepopulators.rs b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/openstackvolumepopulators.rs index 8f3be0ef3..9f3f305cb 100644 --- a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/openstackvolumepopulators.rs +++ b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/openstackvolumepopulators.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/openstackvolumepopulators.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/ovirtvolumepopulators.rs b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/ovirtvolumepopulators.rs index f88f59784..745562617 100644 --- a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/ovirtvolumepopulators.rs +++ b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/ovirtvolumepopulators.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/ovirtvolumepopulators.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/plans.rs b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/plans.rs index 2bac917f5..986686270 100644 --- a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/plans.rs +++ b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/plans.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/plans.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/providers.rs b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/providers.rs index 58815ef17..b7b29b001 100644 --- a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/providers.rs +++ b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/providers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/providers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/storagemaps.rs b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/storagemaps.rs index 42a90ddc0..64536b706 100644 --- a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/storagemaps.rs +++ b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/storagemaps.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/storagemaps.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/fossul_io/v1/backupconfigs.rs b/kube-custom-resources-rs/src/fossul_io/v1/backupconfigs.rs index 8a590531d..b2596ca1d 100644 --- a/kube-custom-resources-rs/src/fossul_io/v1/backupconfigs.rs +++ b/kube-custom-resources-rs/src/fossul_io/v1/backupconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fossul/fossul/fossul.io/v1/backupconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/fossul_io/v1/backups.rs b/kube-custom-resources-rs/src/fossul_io/v1/backups.rs index ef11c2dce..6dd608d1f 100644 --- a/kube-custom-resources-rs/src/fossul_io/v1/backups.rs +++ b/kube-custom-resources-rs/src/fossul_io/v1/backups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fossul/fossul/fossul.io/v1/backups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/fossul_io/v1/backupschedules.rs b/kube-custom-resources-rs/src/fossul_io/v1/backupschedules.rs index 34ab21f97..79dd6a0ae 100644 --- a/kube-custom-resources-rs/src/fossul_io/v1/backupschedules.rs +++ b/kube-custom-resources-rs/src/fossul_io/v1/backupschedules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fossul/fossul/fossul.io/v1/backupschedules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/fossul_io/v1/fossuls.rs b/kube-custom-resources-rs/src/fossul_io/v1/fossuls.rs index 784d69bc0..d0ad6d10d 100644 --- a/kube-custom-resources-rs/src/fossul_io/v1/fossuls.rs +++ b/kube-custom-resources-rs/src/fossul_io/v1/fossuls.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fossul/fossul/fossul.io/v1/fossuls.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/fossul_io/v1/restores.rs b/kube-custom-resources-rs/src/fossul_io/v1/restores.rs index 1ac3e7570..315717113 100644 --- a/kube-custom-resources-rs/src/fossul_io/v1/restores.rs +++ b/kube-custom-resources-rs/src/fossul_io/v1/restores.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fossul/fossul/fossul.io/v1/restores.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/gatewayclasses.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/gatewayclasses.rs index bca0d1569..f17337126 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/gatewayclasses.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/gatewayclasses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/gatewayclasses.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/gateways.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/gateways.rs index 6f9cdc76e..2a596dafb 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/gateways.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/gateways.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/gateways.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/grpcroutes.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/grpcroutes.rs index 6d1f4f5f7..4607a588a 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/grpcroutes.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/grpcroutes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/grpcroutes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/httproutes.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/httproutes.rs index 053490fe1..0d71ea83a 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/httproutes.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/httproutes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/httproutes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/grpcroutes.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/grpcroutes.rs index fbca5f9f2..483031881 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/grpcroutes.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/grpcroutes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/grpcroutes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/referencegrants.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/referencegrants.rs index f7ea3f189..12d9021f8 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/referencegrants.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/referencegrants.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/referencegrants.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/tcproutes.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/tcproutes.rs index 908f6cb41..0e96330d3 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/tcproutes.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/tcproutes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/tcproutes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/tlsroutes.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/tlsroutes.rs index 23f389eb4..1f3c3fcbb 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/tlsroutes.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/tlsroutes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/tlsroutes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/udproutes.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/udproutes.rs index 315b63aec..7123d5553 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/udproutes.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/udproutes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/udproutes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/gatewayclasses.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/gatewayclasses.rs index 4006c6ae4..94c96ed89 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/gatewayclasses.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/gatewayclasses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1beta1/gatewayclasses.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/gateways.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/gateways.rs index e2f5c596f..19544f7fe 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/gateways.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/gateways.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1beta1/gateways.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/httproutes.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/httproutes.rs index 48ed4597b..e793d4c7f 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/httproutes.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/httproutes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1beta1/httproutes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/referencegrants.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/referencegrants.rs index 1f286ebc8..12f83fcae 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/referencegrants.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/referencegrants.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1beta1/referencegrants.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/clientsettingspolicies.rs b/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/clientsettingspolicies.rs index e75d4d504..094a33d13 100644 --- a/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/clientsettingspolicies.rs +++ b/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/clientsettingspolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/clientsettingspolicies.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -27,9 +27,7 @@ pub struct ClientSettingsPolicySpec { pub keep_alive: Option, /// TargetRef identifies an API object to apply the policy to. /// Object must be in the same namespace as the policy. - /// - /// - /// Support: Gateway, HTTPRoute + /// Support: Gateway, HTTPRoute, GRPCRoute. #[serde(rename = "targetRef")] pub target_ref: ClientSettingsPolicyTargetRef, } @@ -87,9 +85,7 @@ pub struct ClientSettingsPolicyKeepAliveTimeout { /// TargetRef identifies an API object to apply the policy to. /// Object must be in the same namespace as the policy. -/// -/// -/// Support: Gateway, HTTPRoute +/// Support: Gateway, HTTPRoute, GRPCRoute. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClientSettingsPolicyTargetRef { /// Group is the group of the target resource. diff --git a/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/nginxgateways.rs b/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/nginxgateways.rs index 2a5b37da8..e6c27c439 100644 --- a/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/nginxgateways.rs +++ b/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/nginxgateways.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/nginxgateways.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/nginxproxies.rs b/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/nginxproxies.rs index 8956abe75..6edce1db0 100644 --- a/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/nginxproxies.rs +++ b/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/nginxproxies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/nginxproxies.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/observabilitypolicies.rs b/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/observabilitypolicies.rs index 3e0a0220a..f7d780064 100644 --- a/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/observabilitypolicies.rs +++ b/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/observabilitypolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/observabilitypolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -18,25 +18,23 @@ use self::prelude::*; #[kube(schema = "disabled")] #[kube(derive="PartialEq")] pub struct ObservabilityPolicySpec { - /// TargetRef identifies an API object to apply the policy to. - /// Object must be in the same namespace as the policy. - /// - /// + /// TargetRefs identifies the API object(s) to apply the policy to. + /// Objects must be in the same namespace as the policy. /// Support: HTTPRoute - #[serde(rename = "targetRef")] - pub target_ref: ObservabilityPolicyTargetRef, + #[serde(rename = "targetRefs")] + pub target_refs: Vec, /// Tracing allows for enabling and configuring tracing. #[serde(default, skip_serializing_if = "Option::is_none")] pub tracing: Option, } -/// TargetRef identifies an API object to apply the policy to. -/// Object must be in the same namespace as the policy. -/// -/// -/// Support: HTTPRoute +/// LocalPolicyTargetReference identifies an API object to apply a direct or +/// inherited policy to. This should be used as part of Policy resources +/// that can target Gateway API resources. For more information on how this +/// policy attachment model works, and a sample Policy resource, refer to +/// the policy attachment documentation for Gateway API. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] -pub struct ObservabilityPolicyTargetRef { +pub struct ObservabilityPolicyTargetRefs { /// Group is the group of the target resource. pub group: String, /// Kind is kind of the target resource. @@ -54,6 +52,7 @@ pub struct ObservabilityPolicyTracing { pub context: Option, /// Ratio is the percentage of traffic that should be sampled. Integer from 0 to 100. /// By default, 100% of http requests are traced. Not applicable for parent-based tracing. + /// If ratio is set to 0, tracing is disabled. #[serde(default, skip_serializing_if = "Option::is_none")] pub ratio: Option, /// SpanAttributes are custom key/value attributes that are added to each span. diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/authservices.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/authservices.rs index e60bd5972..2b5fc58b0 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/authservices.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/authservices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/authservices.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/consulresolvers.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/consulresolvers.rs index 4770bd343..bee124805 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/consulresolvers.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/consulresolvers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/consulresolvers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/devportals.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/devportals.rs index 98d482fed..9907e57d2 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/devportals.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/devportals.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/devportals.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/hosts.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/hosts.rs index 98e3a4c57..0daea162e 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/hosts.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/hosts.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/hosts.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/kubernetesendpointresolvers.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/kubernetesendpointresolvers.rs index be4373a17..b1d91943a 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/kubernetesendpointresolvers.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/kubernetesendpointresolvers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/kubernetesendpointresolvers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/kubernetesserviceresolvers.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/kubernetesserviceresolvers.rs index ac6535197..2b56b984a 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/kubernetesserviceresolvers.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/kubernetesserviceresolvers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/kubernetesserviceresolvers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/listeners.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/listeners.rs index da75a3a60..0578c7961 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/listeners.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/listeners.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/listeners.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/logservices.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/logservices.rs index 0b96acf1e..c14d0f779 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/logservices.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/logservices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/logservices.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/modules.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/modules.rs index 7e74b8a34..e85d5ece1 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/modules.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/modules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/modules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/ratelimitservices.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/ratelimitservices.rs index 7c76a3aa1..1d339e652 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/ratelimitservices.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/ratelimitservices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/ratelimitservices.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/tcpmappings.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/tcpmappings.rs index 1f86d27e7..aea2348b2 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/tcpmappings.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/tcpmappings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/tcpmappings.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/tlscontexts.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/tlscontexts.rs index f3d56af9d..6bbb98713 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/tlscontexts.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/tlscontexts.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/tlscontexts.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/tracingservices.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/tracingservices.rs index fe24d1e4b..1896f5283 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/tracingservices.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/tracingservices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/tracingservices.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/gitops_hybrid_cloud_patterns_io/v1alpha1/patterns.rs b/kube-custom-resources-rs/src/gitops_hybrid_cloud_patterns_io/v1alpha1/patterns.rs index c14a44ad3..82cf4e9e6 100644 --- a/kube-custom-resources-rs/src/gitops_hybrid_cloud_patterns_io/v1alpha1/patterns.rs +++ b/kube-custom-resources-rs/src/gitops_hybrid_cloud_patterns_io/v1alpha1/patterns.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/validatedpatterns/patterns-operator/gitops.hybrid-cloud-patterns.io/v1alpha1/patterns.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/grafana_integreatly_org/v1beta1/grafanadashboards.rs b/kube-custom-resources-rs/src/grafana_integreatly_org/v1beta1/grafanadashboards.rs index 4d525d5af..b1d9f6af4 100644 --- a/kube-custom-resources-rs/src/grafana_integreatly_org/v1beta1/grafanadashboards.rs +++ b/kube-custom-resources-rs/src/grafana_integreatly_org/v1beta1/grafanadashboards.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/grafana-operator/grafana-operator/grafana.integreatly.org/v1beta1/grafanadashboards.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/grafana_integreatly_org/v1beta1/grafanadatasources.rs b/kube-custom-resources-rs/src/grafana_integreatly_org/v1beta1/grafanadatasources.rs index c0927c11e..3c0792cdb 100644 --- a/kube-custom-resources-rs/src/grafana_integreatly_org/v1beta1/grafanadatasources.rs +++ b/kube-custom-resources-rs/src/grafana_integreatly_org/v1beta1/grafanadatasources.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/grafana-operator/grafana-operator/grafana.integreatly.org/v1beta1/grafanadatasources.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/grafana_integreatly_org/v1beta1/grafanafolders.rs b/kube-custom-resources-rs/src/grafana_integreatly_org/v1beta1/grafanafolders.rs index 6bfc32c3d..4c4bd5877 100644 --- a/kube-custom-resources-rs/src/grafana_integreatly_org/v1beta1/grafanafolders.rs +++ b/kube-custom-resources-rs/src/grafana_integreatly_org/v1beta1/grafanafolders.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/grafana-operator/grafana-operator/grafana.integreatly.org/v1beta1/grafanafolders.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/groupsnapshot_storage_k8s_io/v1alpha1/volumegroupsnapshotclasses.rs b/kube-custom-resources-rs/src/groupsnapshot_storage_k8s_io/v1alpha1/volumegroupsnapshotclasses.rs index 3997e354e..01a4c4766 100644 --- a/kube-custom-resources-rs/src/groupsnapshot_storage_k8s_io/v1alpha1/volumegroupsnapshotclasses.rs +++ b/kube-custom-resources-rs/src/groupsnapshot_storage_k8s_io/v1alpha1/volumegroupsnapshotclasses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/groupsnapshot.storage.k8s.io/v1alpha1/volumegroupsnapshotclasses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/groupsnapshot_storage_k8s_io/v1alpha1/volumegroupsnapshotcontents.rs b/kube-custom-resources-rs/src/groupsnapshot_storage_k8s_io/v1alpha1/volumegroupsnapshotcontents.rs index 9ee7a8211..1a2fad8a3 100644 --- a/kube-custom-resources-rs/src/groupsnapshot_storage_k8s_io/v1alpha1/volumegroupsnapshotcontents.rs +++ b/kube-custom-resources-rs/src/groupsnapshot_storage_k8s_io/v1alpha1/volumegroupsnapshotcontents.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/groupsnapshot.storage.k8s.io/v1alpha1/volumegroupsnapshotcontents.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/groupsnapshot_storage_k8s_io/v1alpha1/volumegroupsnapshots.rs b/kube-custom-resources-rs/src/groupsnapshot_storage_k8s_io/v1alpha1/volumegroupsnapshots.rs index f40444795..44f1a486f 100644 --- a/kube-custom-resources-rs/src/groupsnapshot_storage_k8s_io/v1alpha1/volumegroupsnapshots.rs +++ b/kube-custom-resources-rs/src/groupsnapshot_storage_k8s_io/v1alpha1/volumegroupsnapshots.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/groupsnapshot.storage.k8s.io/v1alpha1/volumegroupsnapshots.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/cronhotbackups.rs b/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/cronhotbackups.rs index 28f4e7bff..25cc0b69a 100644 --- a/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/cronhotbackups.rs +++ b/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/cronhotbackups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/cronhotbackups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/hazelcasts.rs b/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/hazelcasts.rs index 3fd19b181..b489a4efc 100644 --- a/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/hazelcasts.rs +++ b/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/hazelcasts.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/hazelcasts.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/hotbackups.rs b/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/hotbackups.rs index 653acd995..d737be093 100644 --- a/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/hotbackups.rs +++ b/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/hotbackups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/hotbackups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/managementcenters.rs b/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/managementcenters.rs index 7cb22e72a..7bc5fc3ff 100644 --- a/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/managementcenters.rs +++ b/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/managementcenters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/managementcenters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/maps.rs b/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/maps.rs index 60bad7ee1..6e6a76af9 100644 --- a/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/maps.rs +++ b/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/maps.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/maps.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/wanreplications.rs b/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/wanreplications.rs index 4db6c31a8..eec5db8af 100644 --- a/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/wanreplications.rs +++ b/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/wanreplications.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/wanreplications.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/helm_sigstore_dev/v1alpha1/rekors.rs b/kube-custom-resources-rs/src/helm_sigstore_dev/v1alpha1/rekors.rs index adb3bd9e4..706963db6 100644 --- a/kube-custom-resources-rs/src/helm_sigstore_dev/v1alpha1/rekors.rs +++ b/kube-custom-resources-rs/src/helm_sigstore_dev/v1alpha1/rekors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/sigstore/sigstore-helm-operator/helm.sigstore.dev/v1alpha1/rekors.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/helm_toolkit_fluxcd_io/v2/helmreleases.rs b/kube-custom-resources-rs/src/helm_toolkit_fluxcd_io/v2/helmreleases.rs index 44f23ad5f..cf492af6a 100644 --- a/kube-custom-resources-rs/src/helm_toolkit_fluxcd_io/v2/helmreleases.rs +++ b/kube-custom-resources-rs/src/helm_toolkit_fluxcd_io/v2/helmreleases.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/helm-controller/helm.toolkit.fluxcd.io/v2/helmreleases.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/helm_toolkit_fluxcd_io/v2beta1/helmreleases.rs b/kube-custom-resources-rs/src/helm_toolkit_fluxcd_io/v2beta1/helmreleases.rs index 7d1b453a8..e24d48cfa 100644 --- a/kube-custom-resources-rs/src/helm_toolkit_fluxcd_io/v2beta1/helmreleases.rs +++ b/kube-custom-resources-rs/src/helm_toolkit_fluxcd_io/v2beta1/helmreleases.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/helm-controller/helm.toolkit.fluxcd.io/v2beta1/helmreleases.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/helm_toolkit_fluxcd_io/v2beta2/helmreleases.rs b/kube-custom-resources-rs/src/helm_toolkit_fluxcd_io/v2beta2/helmreleases.rs index a2516302f..1c8190298 100644 --- a/kube-custom-resources-rs/src/helm_toolkit_fluxcd_io/v2beta2/helmreleases.rs +++ b/kube-custom-resources-rs/src/helm_toolkit_fluxcd_io/v2beta2/helmreleases.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/helm-controller/helm.toolkit.fluxcd.io/v2beta2/helmreleases.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/checkpoints.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/checkpoints.rs index 37bf75940..45b416243 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/checkpoints.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/checkpoints.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/checkpoints.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterclaims.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterclaims.rs index 70a473e16..e75453028 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterclaims.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterclaims.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterclaims.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterdeploymentcustomizations.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterdeploymentcustomizations.rs index cd5174eb3..f56437679 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterdeploymentcustomizations.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterdeploymentcustomizations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterdeploymentcustomizations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterdeployments.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterdeployments.rs index c562859fc..ec482655e 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterdeployments.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterdeployments.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterdeployments.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterdeprovisions.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterdeprovisions.rs index 968e3da9b..82e1c7713 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterdeprovisions.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterdeprovisions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterdeprovisions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterimagesets.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterimagesets.rs index 9bf8bd93b..348a2f645 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterimagesets.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterimagesets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterimagesets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterpools.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterpools.rs index 3e454fc17..f4be55e75 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterpools.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterpools.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterpools.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterprovisions.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterprovisions.rs index bead22022..401f9e3f1 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterprovisions.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterprovisions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterprovisions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterrelocates.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterrelocates.rs index 461aa9dd5..4b29e6b38 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterrelocates.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterrelocates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterrelocates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterstates.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterstates.rs index 972defca6..2b333d20d 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterstates.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterstates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterstates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/dnszones.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/dnszones.rs index e69024ef8..2ab5b7162 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/dnszones.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/dnszones.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/dnszones.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/hiveconfigs.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/hiveconfigs.rs index c84781f20..49a9e7cca 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/hiveconfigs.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/hiveconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/hiveconfigs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/machinepoolnameleases.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/machinepoolnameleases.rs index c6bb74bf4..df3df1aa8 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/machinepoolnameleases.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/machinepoolnameleases.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/machinepoolnameleases.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/machinepools.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/machinepools.rs index 7cec6aa93..7e1a5a4a6 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/machinepools.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/machinepools.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/machinepools.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/selectorsyncidentityproviders.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/selectorsyncidentityproviders.rs index 4efc78c2b..b63cd10b0 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/selectorsyncidentityproviders.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/selectorsyncidentityproviders.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/selectorsyncidentityproviders.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/syncidentityproviders.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/syncidentityproviders.rs index c656e0534..705707910 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/syncidentityproviders.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/syncidentityproviders.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/syncidentityproviders.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hiveinternal_openshift_io/v1alpha1/clustersyncleases.rs b/kube-custom-resources-rs/src/hiveinternal_openshift_io/v1alpha1/clustersyncleases.rs index 071151865..14fc68b48 100644 --- a/kube-custom-resources-rs/src/hiveinternal_openshift_io/v1alpha1/clustersyncleases.rs +++ b/kube-custom-resources-rs/src/hiveinternal_openshift_io/v1alpha1/clustersyncleases.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hiveinternal.openshift.io/v1alpha1/clustersyncleases.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hiveinternal_openshift_io/v1alpha1/clustersyncs.rs b/kube-custom-resources-rs/src/hiveinternal_openshift_io/v1alpha1/clustersyncs.rs index ced8d2bd2..310e79c52 100644 --- a/kube-custom-resources-rs/src/hiveinternal_openshift_io/v1alpha1/clustersyncs.rs +++ b/kube-custom-resources-rs/src/hiveinternal_openshift_io/v1alpha1/clustersyncs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hiveinternal.openshift.io/v1alpha1/clustersyncs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hiveinternal_openshift_io/v1alpha1/fakeclusterinstalls.rs b/kube-custom-resources-rs/src/hiveinternal_openshift_io/v1alpha1/fakeclusterinstalls.rs index 05e5c5329..831435d71 100644 --- a/kube-custom-resources-rs/src/hiveinternal_openshift_io/v1alpha1/fakeclusterinstalls.rs +++ b/kube-custom-resources-rs/src/hiveinternal_openshift_io/v1alpha1/fakeclusterinstalls.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hiveinternal.openshift.io/v1alpha1/fakeclusterinstalls.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/hierarchicalresourcequotas.rs b/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/hierarchicalresourcequotas.rs index 4104990a1..b197395ad 100644 --- a/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/hierarchicalresourcequotas.rs +++ b/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/hierarchicalresourcequotas.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/hierarchical-namespaces/hnc.x-k8s.io/v1alpha2/hierarchicalresourcequotas.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/hierarchyconfigurations.rs b/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/hierarchyconfigurations.rs index 04232eb5b..90bb4bf35 100644 --- a/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/hierarchyconfigurations.rs +++ b/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/hierarchyconfigurations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/hierarchical-namespaces/hnc.x-k8s.io/v1alpha2/hierarchyconfigurations.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/hncconfigurations.rs b/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/hncconfigurations.rs index b63950df7..5f0c79ea1 100644 --- a/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/hncconfigurations.rs +++ b/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/hncconfigurations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/hierarchical-namespaces/hnc.x-k8s.io/v1alpha2/hncconfigurations.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/subnamespaceanchors.rs b/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/subnamespaceanchors.rs index 35e83e742..4e74f9280 100644 --- a/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/subnamespaceanchors.rs +++ b/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/subnamespaceanchors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/hierarchical-namespaces/hnc.x-k8s.io/v1alpha2/subnamespaceanchors.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hyperfoil_io/v1alpha1/horreums.rs b/kube-custom-resources-rs/src/hyperfoil_io/v1alpha1/horreums.rs index c2004e69e..128bc894a 100644 --- a/kube-custom-resources-rs/src/hyperfoil_io/v1alpha1/horreums.rs +++ b/kube-custom-resources-rs/src/hyperfoil_io/v1alpha1/horreums.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Hyperfoil/horreum-operator/hyperfoil.io/v1alpha1/horreums.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/hyperfoil_io/v1alpha2/hyperfoils.rs b/kube-custom-resources-rs/src/hyperfoil_io/v1alpha2/hyperfoils.rs index 3685bdfb2..657dff512 100644 --- a/kube-custom-resources-rs/src/hyperfoil_io/v1alpha2/hyperfoils.rs +++ b/kube-custom-resources-rs/src/hyperfoil_io/v1alpha2/hyperfoils.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Hyperfoil/hyperfoil-operator/hyperfoil.io/v1alpha2/hyperfoils.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/groups.rs b/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/groups.rs index 9cc7d282c..e83ab5855 100644 --- a/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/groups.rs +++ b/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/groups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/iam-controller/iam.services.k8s.aws/v1alpha1/groups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/instanceprofiles.rs b/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/instanceprofiles.rs index 60f6c7a63..551e89746 100644 --- a/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/instanceprofiles.rs +++ b/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/instanceprofiles.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/iam-controller/iam.services.k8s.aws/v1alpha1/instanceprofiles.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/openidconnectproviders.rs b/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/openidconnectproviders.rs index 2b9eba7f5..989dc0d90 100644 --- a/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/openidconnectproviders.rs +++ b/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/openidconnectproviders.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/iam-controller/iam.services.k8s.aws/v1alpha1/openidconnectproviders.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/policies.rs b/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/policies.rs index 3a709042e..fa12bf7f7 100644 --- a/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/policies.rs +++ b/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/policies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/iam-controller/iam.services.k8s.aws/v1alpha1/policies.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/roles.rs b/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/roles.rs index 8f237437a..dbecaa7b5 100644 --- a/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/roles.rs +++ b/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/roles.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/iam-controller/iam.services.k8s.aws/v1alpha1/roles.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/users.rs b/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/users.rs index 4d099884e..1f844f395 100644 --- a/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/users.rs +++ b/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/users.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/iam-controller/iam.services.k8s.aws/v1alpha1/users.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ibmcloud_ibm_com/v1alpha1/composables.rs b/kube-custom-resources-rs/src/ibmcloud_ibm_com/v1alpha1/composables.rs index 972ca2266..10618504d 100644 --- a/kube-custom-resources-rs/src/ibmcloud_ibm_com/v1alpha1/composables.rs +++ b/kube-custom-resources-rs/src/ibmcloud_ibm_com/v1alpha1/composables.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/composable-operator/composable/ibmcloud.ibm.com/v1alpha1/composables.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta1/imagepolicies.rs b/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta1/imagepolicies.rs index dd402b2d1..0aeb20204 100644 --- a/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta1/imagepolicies.rs +++ b/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta1/imagepolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta1/imagepolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta1/imagerepositories.rs b/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta1/imagerepositories.rs index 462406393..1df4f3233 100644 --- a/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta1/imagerepositories.rs +++ b/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta1/imagerepositories.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta1/imagerepositories.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta1/imageupdateautomations.rs b/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta1/imageupdateautomations.rs index 052194200..9f4af446d 100644 --- a/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta1/imageupdateautomations.rs +++ b/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta1/imageupdateautomations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/image-automation-controller/image.toolkit.fluxcd.io/v1beta1/imageupdateautomations.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta2/imagepolicies.rs b/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta2/imagepolicies.rs index 0b8c30393..bfc2a7229 100644 --- a/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta2/imagepolicies.rs +++ b/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta2/imagepolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta2/imagepolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta2/imagerepositories.rs b/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta2/imagerepositories.rs index 0fa67e1e8..3133195a7 100644 --- a/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta2/imagerepositories.rs +++ b/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta2/imagerepositories.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta2/imagerepositories.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta2/imageupdateautomations.rs b/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta2/imageupdateautomations.rs index 8efc50191..ff04d0947 100644 --- a/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta2/imageupdateautomations.rs +++ b/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta2/imageupdateautomations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/image-automation-controller/image.toolkit.fluxcd.io/v1beta2/imageupdateautomations.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomeventbridges.rs b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomeventbridges.rs index b102e446d..ba593816f 100644 --- a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomeventbridges.rs +++ b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomeventbridges.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Alvearie/imaging-ingestion/imaging-ingestion.alvearie.org/v1alpha1/dicomeventbridges.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomeventdriveningestions.rs b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomeventdriveningestions.rs index dc63b2c35..19c9fc386 100644 --- a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomeventdriveningestions.rs +++ b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomeventdriveningestions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Alvearie/imaging-ingestion/imaging-ingestion.alvearie.org/v1alpha1/dicomeventdriveningestions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicominstancebindings.rs b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicominstancebindings.rs index a8c58e828..eac93f825 100644 --- a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicominstancebindings.rs +++ b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicominstancebindings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Alvearie/imaging-ingestion/imaging-ingestion.alvearie.org/v1alpha1/dicominstancebindings.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomstudybindings.rs b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomstudybindings.rs index bce61f3e5..7aba435e4 100644 --- a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomstudybindings.rs +++ b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomstudybindings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Alvearie/imaging-ingestion/imaging-ingestion.alvearie.org/v1alpha1/dicomstudybindings.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomwebingestionservices.rs b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomwebingestionservices.rs index 26928f393..928eb16fb 100644 --- a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomwebingestionservices.rs +++ b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomwebingestionservices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Alvearie/imaging-ingestion/imaging-ingestion.alvearie.org/v1alpha1/dicomwebingestionservices.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dimseingestionservices.rs b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dimseingestionservices.rs index 4f5940349..c092889e6 100644 --- a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dimseingestionservices.rs +++ b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dimseingestionservices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Alvearie/imaging-ingestion/imaging-ingestion.alvearie.org/v1alpha1/dimseingestionservices.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dimseproxies.rs b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dimseproxies.rs index c30fd4854..5602acd93 100644 --- a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dimseproxies.rs +++ b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dimseproxies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Alvearie/imaging-ingestion/imaging-ingestion.alvearie.org/v1alpha1/dimseproxies.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/inference_kubedl_io/v1alpha1/elasticbatchjobs.rs b/kube-custom-resources-rs/src/inference_kubedl_io/v1alpha1/elasticbatchjobs.rs index 2fdcb33b2..7bb42b6cc 100644 --- a/kube-custom-resources-rs/src/inference_kubedl_io/v1alpha1/elasticbatchjobs.rs +++ b/kube-custom-resources-rs/src/inference_kubedl_io/v1alpha1/elasticbatchjobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/inference.kubedl.io/v1alpha1/elasticbatchjobs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infinispan_org/v1/infinispans.rs b/kube-custom-resources-rs/src/infinispan_org/v1/infinispans.rs index 976d0ad38..91b19f85a 100644 --- a/kube-custom-resources-rs/src/infinispan_org/v1/infinispans.rs +++ b/kube-custom-resources-rs/src/infinispan_org/v1/infinispans.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/infinispan/infinispan-operator/infinispan.org/v1/infinispans.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infinispan_org/v2alpha1/backups.rs b/kube-custom-resources-rs/src/infinispan_org/v2alpha1/backups.rs index d79c3b986..0b7e001f1 100644 --- a/kube-custom-resources-rs/src/infinispan_org/v2alpha1/backups.rs +++ b/kube-custom-resources-rs/src/infinispan_org/v2alpha1/backups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/infinispan/infinispan-operator/infinispan.org/v2alpha1/backups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infinispan_org/v2alpha1/batches.rs b/kube-custom-resources-rs/src/infinispan_org/v2alpha1/batches.rs index f7fa7c090..47f742a2b 100644 --- a/kube-custom-resources-rs/src/infinispan_org/v2alpha1/batches.rs +++ b/kube-custom-resources-rs/src/infinispan_org/v2alpha1/batches.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/infinispan/infinispan-operator/infinispan.org/v2alpha1/batches.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infinispan_org/v2alpha1/caches.rs b/kube-custom-resources-rs/src/infinispan_org/v2alpha1/caches.rs index f6cc1c2d8..92bede9c5 100644 --- a/kube-custom-resources-rs/src/infinispan_org/v2alpha1/caches.rs +++ b/kube-custom-resources-rs/src/infinispan_org/v2alpha1/caches.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/infinispan/infinispan-operator/infinispan.org/v2alpha1/caches.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infinispan_org/v2alpha1/restores.rs b/kube-custom-resources-rs/src/infinispan_org/v2alpha1/restores.rs index 03d58a653..33567f4e0 100644 --- a/kube-custom-resources-rs/src/infinispan_org/v2alpha1/restores.rs +++ b/kube-custom-resources-rs/src/infinispan_org/v2alpha1/restores.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/infinispan/infinispan-operator/infinispan.org/v2alpha1/restores.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infra_contrib_fluxcd_io/v1alpha1/terraforms.rs b/kube-custom-resources-rs/src/infra_contrib_fluxcd_io/v1alpha1/terraforms.rs index 75954961f..870e1db18 100644 --- a/kube-custom-resources-rs/src/infra_contrib_fluxcd_io/v1alpha1/terraforms.rs +++ b/kube-custom-resources-rs/src/infra_contrib_fluxcd_io/v1alpha1/terraforms.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/weaveworks/tf-controller/infra.contrib.fluxcd.io/v1alpha1/terraforms.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infra_contrib_fluxcd_io/v1alpha2/terraforms.rs b/kube-custom-resources-rs/src/infra_contrib_fluxcd_io/v1alpha2/terraforms.rs index 9f5dcce0f..3670de6c2 100644 --- a/kube-custom-resources-rs/src/infra_contrib_fluxcd_io/v1alpha2/terraforms.rs +++ b/kube-custom-resources-rs/src/infra_contrib_fluxcd_io/v1alpha2/terraforms.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/weaveworks/tf-controller/infra.contrib.fluxcd.io/v1alpha2/terraforms.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtclusters.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtclusters.rs index 60e55a3ee..d0e700892 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtclusters.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtclusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -23,7 +23,11 @@ pub struct KubevirtClusterSpec { /// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane. #[serde(default, skip_serializing_if = "Option::is_none", rename = "controlPlaneEndpoint")] pub control_plane_endpoint: Option, - /// ControlPlaneServiceTemplate can be used to modify service that fronts the control plane nodes to handle the api-server traffic (port 6443). This field is optional, by default control plane nodes will use a service of type ClusterIP, which will make workload cluster only accessible within the same cluster. Note, this does not aim to expose the entire Service spec to users, but only provides capability to modify the service metadata and the service type. + /// ControlPlaneServiceTemplate can be used to modify service that fronts the control plane nodes to handle the + /// api-server traffic (port 6443). This field is optional, by default control plane nodes will use a service + /// of type ClusterIP, which will make workload cluster only accessible within the same cluster. Note, this does + /// not aim to expose the entire Service spec to users, but only provides capability to modify the service metadata + /// and the service type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "controlPlaneServiceTemplate")] pub control_plane_service_template: Option, /// InfraClusterSecretRef is a reference to a secret with a kubeconfig for external cluster used for infra. @@ -43,21 +47,31 @@ pub struct KubevirtClusterControlPlaneEndpoint { pub port: i64, } -/// ControlPlaneServiceTemplate can be used to modify service that fronts the control plane nodes to handle the api-server traffic (port 6443). This field is optional, by default control plane nodes will use a service of type ClusterIP, which will make workload cluster only accessible within the same cluster. Note, this does not aim to expose the entire Service spec to users, but only provides capability to modify the service metadata and the service type. +/// ControlPlaneServiceTemplate can be used to modify service that fronts the control plane nodes to handle the +/// api-server traffic (port 6443). This field is optional, by default control plane nodes will use a service +/// of type ClusterIP, which will make workload cluster only accessible within the same cluster. Note, this does +/// not aim to expose the entire Service spec to users, but only provides capability to modify the service metadata +/// and the service type. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtClusterControlPlaneServiceTemplate { - /// Service metadata allows to set labels, annotations and namespace for the service. When infraClusterSecretRef is used, ControlPlaneService take the kubeconfig namespace by default if metadata.namespace is not specified. This field is optional. + /// Service metadata allows to set labels, annotations and namespace for the service. + /// When infraClusterSecretRef is used, ControlPlaneService take the kubeconfig namespace by default if metadata.namespace is not specified. + /// This field is optional. #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option>, - /// Service specification allows to override some fields in the service spec. Note, it does not aim cover all fields of the service spec. + /// Service specification allows to override some fields in the service spec. + /// Note, it does not aim cover all fields of the service spec. #[serde(default, skip_serializing_if = "Option::is_none")] pub spec: Option, } -/// Service specification allows to override some fields in the service spec. Note, it does not aim cover all fields of the service spec. +/// Service specification allows to override some fields in the service spec. +/// Note, it does not aim cover all fields of the service spec. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtClusterControlPlaneServiceTemplateSpec { - /// Type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types + /// Type determines how the Service is exposed. Defaults to ClusterIP. Valid + /// options are ExternalName, ClusterIP, NodePort, and LoadBalancer. + /// More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } @@ -68,22 +82,34 @@ pub struct KubevirtClusterInfraClusterSecretRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, - /// If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future. + /// If referring to a piece of an object instead of an entire object, this string + /// should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + /// For example, if the object reference is to a container within a pod, this would take on a value like: + /// "spec.containers{name}" (where "name" refers to the name of the container that triggered + /// the event) or if no container name is specified "spec.containers[2]" (container with + /// index 2 in this pod). This syntax is chosen only to have some well-defined way of + /// referencing a part of an object. + /// TODO: this design is not final and this field is subject to change in the future. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldPath")] pub field_path: Option, - /// Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + /// Kind of the referent. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, - /// Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + /// Namespace of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + /// Specific resourceVersion to which this reference is made, if any. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceVersion")] pub resource_version: Option, - /// UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + /// UID of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids #[serde(default, skip_serializing_if = "Option::is_none")] pub uid: Option, } @@ -91,7 +117,9 @@ pub struct KubevirtClusterInfraClusterSecretRef { /// SSHKeys is a reference to a local struct for SSH keys persistence. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtClusterSshKeys { - /// ConfigRef is a reference to a resource containing the keys. The reference is optional to allow users/operators to specify Bootstrap.DataSecretName without the need of a controller. + /// ConfigRef is a reference to a resource containing the keys. + /// The reference is optional to allow users/operators to specify + /// Bootstrap.DataSecretName without the need of a controller. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configRef")] pub config_ref: Option, /// DataSecretName is the name of the secret that stores ssh keys. @@ -99,28 +127,42 @@ pub struct KubevirtClusterSshKeys { pub data_secret_name: Option, } -/// ConfigRef is a reference to a resource containing the keys. The reference is optional to allow users/operators to specify Bootstrap.DataSecretName without the need of a controller. +/// ConfigRef is a reference to a resource containing the keys. +/// The reference is optional to allow users/operators to specify +/// Bootstrap.DataSecretName without the need of a controller. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtClusterSshKeysConfigRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, - /// If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future. + /// If referring to a piece of an object instead of an entire object, this string + /// should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + /// For example, if the object reference is to a container within a pod, this would take on a value like: + /// "spec.containers{name}" (where "name" refers to the name of the container that triggered + /// the event) or if no container name is specified "spec.containers[2]" (container with + /// index 2 in this pod). This syntax is chosen only to have some well-defined way of + /// referencing a part of an object. + /// TODO: this design is not final and this field is subject to change in the future. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldPath")] pub field_path: Option, - /// Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + /// Kind of the referent. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, - /// Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + /// Namespace of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + /// Specific resourceVersion to which this reference is made, if any. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceVersion")] pub resource_version: Option, - /// UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + /// UID of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids #[serde(default, skip_serializing_if = "Option::is_none")] pub uid: Option, } @@ -131,14 +173,16 @@ pub struct KubevirtClusterStatus { /// Conditions defines current service state of the KubevirtCluster. #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, - /// FailureDomains don't mean much in CAPD since it's all local, but we can see how the rest of cluster API will use this if we populate it. + /// FailureDomains don't mean much in CAPD since it's all local, but we can see how the rest of cluster API + /// will use this if we populate it. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureDomains")] pub failure_domains: Option>, /// Ready denotes that the infrastructure is ready. pub ready: bool, } -/// FailureDomains don't mean much in CAPD since it's all local, but we can see how the rest of cluster API will use this if we populate it. +/// FailureDomains don't mean much in CAPD since it's all local, but we can see how the rest of cluster API +/// will use this if we populate it. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtClusterStatusFailureDomains { /// Attributes is a free form map of attributes an infrastructure provider might use or require. diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtclustertemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtclustertemplates.rs index fc3cf2c81..c331f3d35 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtclustertemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtclustertemplates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtclustertemplates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -25,28 +25,74 @@ pub struct KubevirtClusterTemplateSpec { /// KubevirtClusterTemplateResource describes the data needed to create a KubevirtCluster from a template. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtClusterTemplateTemplate { - /// ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. This is a copy of customizable fields from metav1.ObjectMeta. - /// ObjectMeta is embedded in `Machine.Spec`, `MachineDeployment.Template` and `MachineSet.Template`, which are not top-level Kubernetes objects. Given that metav1.ObjectMeta has lots of special cases and read-only fields which end up in the generated CRD validation, having it as a subset simplifies the API and some issues that can impact user experience. - /// During the [upgrade to controller-tools@v2](https://github.com/kubernetes-sigs/cluster-api/pull/1054) for v1alpha2, we noticed a failure would occur running Cluster API test suite against the new CRDs, specifically `spec.metadata.creationTimestamp in body must be of type string: "null"`. The investigation showed that `controller-tools@v2` behaves differently than its previous version when handling types from [metav1](k8s.io/apimachinery/pkg/apis/meta/v1) package. - /// In more details, we found that embedded (non-top level) types that embedded `metav1.ObjectMeta` had validation properties, including for `creationTimestamp` (metav1.Time). The `metav1.Time` type specifies a custom json marshaller that, when IsZero() is true, returns `null` which breaks validation because the field isn't marked as nullable. - /// In future versions, controller-tools@v2 might allow overriding the type and validation for embedded types. When that happens, this hack should be revisited. + /// ObjectMeta is metadata that all persisted resources must have, which includes all objects + /// users must create. This is a copy of customizable fields from metav1.ObjectMeta. + /// + /// + /// ObjectMeta is embedded in `Machine.Spec`, `MachineDeployment.Template` and `MachineSet.Template`, + /// which are not top-level Kubernetes objects. Given that metav1.ObjectMeta has lots of special cases + /// and read-only fields which end up in the generated CRD validation, having it as a subset simplifies + /// the API and some issues that can impact user experience. + /// + /// + /// During the [upgrade to controller-tools@v2](https://github.com/kubernetes-sigs/cluster-api/pull/1054) + /// for v1alpha2, we noticed a failure would occur running Cluster API test suite against the new CRDs, + /// specifically `spec.metadata.creationTimestamp in body must be of type string: "null"`. + /// The investigation showed that `controller-tools@v2` behaves differently than its previous version + /// when handling types from [metav1](k8s.io/apimachinery/pkg/apis/meta/v1) package. + /// + /// + /// In more details, we found that embedded (non-top level) types that embedded `metav1.ObjectMeta` + /// had validation properties, including for `creationTimestamp` (metav1.Time). + /// The `metav1.Time` type specifies a custom json marshaller that, when IsZero() is true, returns `null` + /// which breaks validation because the field isn't marked as nullable. + /// + /// + /// In future versions, controller-tools@v2 might allow overriding the type and validation for embedded + /// types. When that happens, this hack should be revisited. #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, /// KubevirtClusterSpec defines the desired state of KubevirtCluster. pub spec: KubevirtClusterTemplateTemplateSpec, } -/// ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. This is a copy of customizable fields from metav1.ObjectMeta. -/// ObjectMeta is embedded in `Machine.Spec`, `MachineDeployment.Template` and `MachineSet.Template`, which are not top-level Kubernetes objects. Given that metav1.ObjectMeta has lots of special cases and read-only fields which end up in the generated CRD validation, having it as a subset simplifies the API and some issues that can impact user experience. -/// During the [upgrade to controller-tools@v2](https://github.com/kubernetes-sigs/cluster-api/pull/1054) for v1alpha2, we noticed a failure would occur running Cluster API test suite against the new CRDs, specifically `spec.metadata.creationTimestamp in body must be of type string: "null"`. The investigation showed that `controller-tools@v2` behaves differently than its previous version when handling types from [metav1](k8s.io/apimachinery/pkg/apis/meta/v1) package. -/// In more details, we found that embedded (non-top level) types that embedded `metav1.ObjectMeta` had validation properties, including for `creationTimestamp` (metav1.Time). The `metav1.Time` type specifies a custom json marshaller that, when IsZero() is true, returns `null` which breaks validation because the field isn't marked as nullable. -/// In future versions, controller-tools@v2 might allow overriding the type and validation for embedded types. When that happens, this hack should be revisited. +/// ObjectMeta is metadata that all persisted resources must have, which includes all objects +/// users must create. This is a copy of customizable fields from metav1.ObjectMeta. +/// +/// +/// ObjectMeta is embedded in `Machine.Spec`, `MachineDeployment.Template` and `MachineSet.Template`, +/// which are not top-level Kubernetes objects. Given that metav1.ObjectMeta has lots of special cases +/// and read-only fields which end up in the generated CRD validation, having it as a subset simplifies +/// the API and some issues that can impact user experience. +/// +/// +/// During the [upgrade to controller-tools@v2](https://github.com/kubernetes-sigs/cluster-api/pull/1054) +/// for v1alpha2, we noticed a failure would occur running Cluster API test suite against the new CRDs, +/// specifically `spec.metadata.creationTimestamp in body must be of type string: "null"`. +/// The investigation showed that `controller-tools@v2` behaves differently than its previous version +/// when handling types from [metav1](k8s.io/apimachinery/pkg/apis/meta/v1) package. +/// +/// +/// In more details, we found that embedded (non-top level) types that embedded `metav1.ObjectMeta` +/// had validation properties, including for `creationTimestamp` (metav1.Time). +/// The `metav1.Time` type specifies a custom json marshaller that, when IsZero() is true, returns `null` +/// which breaks validation because the field isn't marked as nullable. +/// +/// +/// In future versions, controller-tools@v2 might allow overriding the type and validation for embedded +/// types. When that happens, this hack should be revisited. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtClusterTemplateTemplateMetadata { - /// Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations + /// Annotations is an unstructured key value map stored with a resource that may be + /// set by external tools to store and retrieve arbitrary metadata. They are not + /// queryable and should be preserved when modifying objects. + /// More info: http://kubernetes.io/docs/user-guide/annotations #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, - /// Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels + /// Map of string keys and values that can be used to organize and categorize + /// (scope and select) objects. May match selectors of replication controllers + /// and services. + /// More info: http://kubernetes.io/docs/user-guide/labels #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option>, } @@ -57,7 +103,11 @@ pub struct KubevirtClusterTemplateTemplateSpec { /// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane. #[serde(default, skip_serializing_if = "Option::is_none", rename = "controlPlaneEndpoint")] pub control_plane_endpoint: Option, - /// ControlPlaneServiceTemplate can be used to modify service that fronts the control plane nodes to handle the api-server traffic (port 6443). This field is optional, by default control plane nodes will use a service of type ClusterIP, which will make workload cluster only accessible within the same cluster. Note, this does not aim to expose the entire Service spec to users, but only provides capability to modify the service metadata and the service type. + /// ControlPlaneServiceTemplate can be used to modify service that fronts the control plane nodes to handle the + /// api-server traffic (port 6443). This field is optional, by default control plane nodes will use a service + /// of type ClusterIP, which will make workload cluster only accessible within the same cluster. Note, this does + /// not aim to expose the entire Service spec to users, but only provides capability to modify the service metadata + /// and the service type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "controlPlaneServiceTemplate")] pub control_plane_service_template: Option, /// InfraClusterSecretRef is a reference to a secret with a kubeconfig for external cluster used for infra. @@ -77,21 +127,31 @@ pub struct KubevirtClusterTemplateTemplateSpecControlPlaneEndpoint { pub port: i64, } -/// ControlPlaneServiceTemplate can be used to modify service that fronts the control plane nodes to handle the api-server traffic (port 6443). This field is optional, by default control plane nodes will use a service of type ClusterIP, which will make workload cluster only accessible within the same cluster. Note, this does not aim to expose the entire Service spec to users, but only provides capability to modify the service metadata and the service type. +/// ControlPlaneServiceTemplate can be used to modify service that fronts the control plane nodes to handle the +/// api-server traffic (port 6443). This field is optional, by default control plane nodes will use a service +/// of type ClusterIP, which will make workload cluster only accessible within the same cluster. Note, this does +/// not aim to expose the entire Service spec to users, but only provides capability to modify the service metadata +/// and the service type. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtClusterTemplateTemplateSpecControlPlaneServiceTemplate { - /// Service metadata allows to set labels, annotations and namespace for the service. When infraClusterSecretRef is used, ControlPlaneService take the kubeconfig namespace by default if metadata.namespace is not specified. This field is optional. + /// Service metadata allows to set labels, annotations and namespace for the service. + /// When infraClusterSecretRef is used, ControlPlaneService take the kubeconfig namespace by default if metadata.namespace is not specified. + /// This field is optional. #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option>, - /// Service specification allows to override some fields in the service spec. Note, it does not aim cover all fields of the service spec. + /// Service specification allows to override some fields in the service spec. + /// Note, it does not aim cover all fields of the service spec. #[serde(default, skip_serializing_if = "Option::is_none")] pub spec: Option, } -/// Service specification allows to override some fields in the service spec. Note, it does not aim cover all fields of the service spec. +/// Service specification allows to override some fields in the service spec. +/// Note, it does not aim cover all fields of the service spec. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtClusterTemplateTemplateSpecControlPlaneServiceTemplateSpec { - /// Type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types + /// Type determines how the Service is exposed. Defaults to ClusterIP. Valid + /// options are ExternalName, ClusterIP, NodePort, and LoadBalancer. + /// More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } @@ -102,22 +162,34 @@ pub struct KubevirtClusterTemplateTemplateSpecInfraClusterSecretRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, - /// If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future. + /// If referring to a piece of an object instead of an entire object, this string + /// should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + /// For example, if the object reference is to a container within a pod, this would take on a value like: + /// "spec.containers{name}" (where "name" refers to the name of the container that triggered + /// the event) or if no container name is specified "spec.containers[2]" (container with + /// index 2 in this pod). This syntax is chosen only to have some well-defined way of + /// referencing a part of an object. + /// TODO: this design is not final and this field is subject to change in the future. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldPath")] pub field_path: Option, - /// Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + /// Kind of the referent. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, - /// Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + /// Namespace of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + /// Specific resourceVersion to which this reference is made, if any. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceVersion")] pub resource_version: Option, - /// UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + /// UID of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids #[serde(default, skip_serializing_if = "Option::is_none")] pub uid: Option, } @@ -125,7 +197,9 @@ pub struct KubevirtClusterTemplateTemplateSpecInfraClusterSecretRef { /// SSHKeys is a reference to a local struct for SSH keys persistence. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtClusterTemplateTemplateSpecSshKeys { - /// ConfigRef is a reference to a resource containing the keys. The reference is optional to allow users/operators to specify Bootstrap.DataSecretName without the need of a controller. + /// ConfigRef is a reference to a resource containing the keys. + /// The reference is optional to allow users/operators to specify + /// Bootstrap.DataSecretName without the need of a controller. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configRef")] pub config_ref: Option, /// DataSecretName is the name of the secret that stores ssh keys. @@ -133,28 +207,42 @@ pub struct KubevirtClusterTemplateTemplateSpecSshKeys { pub data_secret_name: Option, } -/// ConfigRef is a reference to a resource containing the keys. The reference is optional to allow users/operators to specify Bootstrap.DataSecretName without the need of a controller. +/// ConfigRef is a reference to a resource containing the keys. +/// The reference is optional to allow users/operators to specify +/// Bootstrap.DataSecretName without the need of a controller. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtClusterTemplateTemplateSpecSshKeysConfigRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, - /// If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future. + /// If referring to a piece of an object instead of an entire object, this string + /// should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + /// For example, if the object reference is to a container within a pod, this would take on a value like: + /// "spec.containers{name}" (where "name" refers to the name of the container that triggered + /// the event) or if no container name is specified "spec.containers[2]" (container with + /// index 2 in this pod). This syntax is chosen only to have some well-defined way of + /// referencing a part of an object. + /// TODO: this design is not final and this field is subject to change in the future. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldPath")] pub field_path: Option, - /// Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + /// Kind of the referent. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, - /// Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + /// Namespace of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + /// Specific resourceVersion to which this reference is made, if any. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceVersion")] pub resource_version: Option, - /// UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + /// UID of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids #[serde(default, skip_serializing_if = "Option::is_none")] pub uid: Option, } diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtmachines.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtmachines.rs index 0e200b5f7..59ce61d79 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtmachines.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtmachines.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtmachines.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -21,7 +21,8 @@ use self::prelude::*; #[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct KubevirtMachineSpec { - /// InfraClusterSecretRef is a reference to a secret with a kubeconfig for external cluster used for infra. When nil, this defaults to the value present in the KubevirtCluster object's spec associated with this machine. + /// InfraClusterSecretRef is a reference to a secret with a kubeconfig for external cluster used for infra. + /// When nil, this defaults to the value present in the KubevirtCluster object's spec associated with this machine. #[serde(default, skip_serializing_if = "Option::is_none", rename = "infraClusterSecretRef")] pub infra_cluster_secret_ref: Option, /// ProviderID TBD what to use for Kubevirt @@ -35,28 +36,41 @@ pub struct KubevirtMachineSpec { pub virtual_machine_template: Option, } -/// InfraClusterSecretRef is a reference to a secret with a kubeconfig for external cluster used for infra. When nil, this defaults to the value present in the KubevirtCluster object's spec associated with this machine. +/// InfraClusterSecretRef is a reference to a secret with a kubeconfig for external cluster used for infra. +/// When nil, this defaults to the value present in the KubevirtCluster object's spec associated with this machine. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineInfraClusterSecretRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, - /// If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future. + /// If referring to a piece of an object instead of an entire object, this string + /// should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + /// For example, if the object reference is to a container within a pod, this would take on a value like: + /// "spec.containers{name}" (where "name" refers to the name of the container that triggered + /// the event) or if no container name is specified "spec.containers[2]" (container with + /// index 2 in this pod). This syntax is chosen only to have some well-defined way of + /// referencing a part of an object. + /// TODO: this design is not final and this field is subject to change in the future. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldPath")] pub field_path: Option, - /// Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + /// Kind of the referent. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, - /// Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + /// Namespace of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + /// Specific resourceVersion to which this reference is made, if any. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceVersion")] pub resource_version: Option, - /// UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + /// UID of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids #[serde(default, skip_serializing_if = "Option::is_none")] pub uid: Option, } @@ -64,7 +78,9 @@ pub struct KubevirtMachineInfraClusterSecretRef { /// BootstrapCheckSpec defines how the CAPK controller is checking CAPI Sentinel file inside the VM. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineBootstrapCheck { - /// CheckStrategy describes how CAPK controller will validate a successful CAPI bootstrap. Following specified method, CAPK will try to retrieve the state of the CAPI Sentinel file from the VM. Possible values are: "none" or "ssh" (default is "ssh") and this value is validated by apiserver. + /// CheckStrategy describes how CAPK controller will validate a successful CAPI bootstrap. + /// Following specified method, CAPK will try to retrieve the state of the CAPI Sentinel file from the VM. + /// Possible values are: "none" or "ssh" (default is "ssh") and this value is validated by apiserver. #[serde(default, skip_serializing_if = "Option::is_none", rename = "checkStrategy")] pub check_strategy: Option, } @@ -91,22 +107,22 @@ pub struct KubevirtMachineVirtualMachineTemplate { /// VirtualMachineSpec contains the VirtualMachine specification. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpec { - /// dataVolumeTemplates is a list of dataVolumes that the VirtualMachineInstance template can reference. DataVolumes in this list are dynamically created for the VirtualMachine and are tied to the VirtualMachine's life-cycle. + /// dataVolumeTemplates is a list of dataVolumes that the VirtualMachineInstance template can reference. + /// DataVolumes in this list are dynamically created for the VirtualMachine and are tied to the VirtualMachine's life-cycle. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dataVolumeTemplates")] pub data_volume_templates: Option>, /// InstancetypeMatcher references a instancetype that is used to fill fields in Template #[serde(default, skip_serializing_if = "Option::is_none")] pub instancetype: Option, - /// LiveUpdateFeatures references a configuration of hotpluggable resources - #[serde(default, skip_serializing_if = "Option::is_none", rename = "liveUpdateFeatures")] - pub live_update_features: Option, /// PreferenceMatcher references a set of preference that is used to fill fields in Template #[serde(default, skip_serializing_if = "Option::is_none")] pub preference: Option, - /// Running state indicates the requested running state of the VirtualMachineInstance mutually exclusive with Running + /// Running state indicates the requested running state of the VirtualMachineInstance + /// mutually exclusive with Running #[serde(default, skip_serializing_if = "Option::is_none", rename = "runStrategy")] pub run_strategy: Option, - /// Running controls whether the associatied VirtualMachineInstance is created or not Mutually exclusive with RunStrategy + /// Running controls whether the associatied VirtualMachineInstance is created or not + /// Mutually exclusive with RunStrategy #[serde(default, skip_serializing_if = "Option::is_none")] pub running: Option, /// Template is the direct specification of VirtualMachineInstance @@ -115,17 +131,25 @@ pub struct KubevirtMachineVirtualMachineTemplateSpec { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplates { - /// 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 + /// 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 #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, - /// 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 + /// 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 #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option>, /// DataVolumeSpec contains the DataVolume specification. pub spec: KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplatesSpec, - /// DataVolumeTemplateDummyStatus is here simply for backwards compatibility with a previous API. + /// DataVolumeTemplateDummyStatus is here simply for backwards compatibility with + /// a previous API. #[serde(default, skip_serializing_if = "Option::is_none")] pub status: Option, } @@ -183,25 +207,75 @@ pub enum KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplatesSpecContent /// PVC is the PVC specification #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplatesSpecPvc { - /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 + /// accessModes contains the desired access modes the volume should have. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, - /// 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. + /// 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. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dataSource")] pub data_source: Option, - /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. + /// 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 + /// allows any non-core object, as well as PersistentVolumeClaim objects. + /// * While dataSource ignores disallowed values (dropping them), dataSourceRef + /// preserves all values, and generates an error if a disallowed value is + /// specified. + /// * While dataSource only allows local objects, dataSourceRef allows objects + /// in any namespaces. + /// (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. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dataSourceRef")] pub data_source_ref: Option, - /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources + /// resources represents the minimum resources the volume should have. + /// If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements + /// that are lower than previous value but must still be higher than capacity recorded in the + /// status field of the claim. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources #[serde(default, skip_serializing_if = "Option::is_none")] pub resources: Option, /// selector is a label query over volumes to consider for binding. #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, - /// storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 + /// storageClassName is the name of the StorageClass required by the claim. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "storageClassName")] pub storage_class_name: Option, - /// volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. + /// volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. + /// If specified, the CSI driver will create or update the volume with the attributes defined + /// in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, + /// it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass + /// will be applied to the claim but it's not allowed to reset this field to empty string once it is set. + /// If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass + /// will be set by the persistentvolume controller if it exists. + /// If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be + /// set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource + /// exists. + /// More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ + /// (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeAttributesClassName")] + pub volume_attributes_class_name: Option, + /// volumeMode defines what type of volume is required by the claim. + /// Value of Filesystem is implied when not included in claim spec. #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeMode")] pub volume_mode: Option, /// volumeName is the binding reference to the PersistentVolume backing this claim. @@ -209,10 +283,19 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplatesSpecPvc { pub volume_name: Option, } -/// 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. +/// 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. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplatesSpecPvcDataSource { - /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. + /// APIGroup is the group for the resource being referenced. + /// If APIGroup is not specified, the specified Kind must be in the core API group. + /// For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, /// Kind is the type of resource being referenced @@ -221,63 +304,92 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplatesSpecPvcDa pub name: String, } -/// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. +/// 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 +/// allows any non-core object, as well as PersistentVolumeClaim objects. +/// * While dataSource ignores disallowed values (dropping them), dataSourceRef +/// preserves all values, and generates an error if a disallowed value is +/// specified. +/// * While dataSource only allows local objects, dataSourceRef allows objects +/// in any namespaces. +/// (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. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplatesSpecPvcDataSourceRef { - /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. + /// APIGroup is the group for the resource being referenced. + /// If APIGroup is not specified, the specified Kind must be in the core API group. + /// For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, /// Kind is the type of resource being referenced pub kind: String, /// Name is the name of resource being referenced pub name: String, - /// Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. + /// Namespace is the namespace of resource being referenced + /// Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. + /// (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, } -/// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources +/// resources represents the minimum resources the volume should have. +/// If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements +/// that are lower than previous value but must still be higher than capacity recorded in the +/// status field of the claim. +/// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplatesSpecPvcResources { - /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. - /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. - /// This field is immutable. It can only be set for containers. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub claims: Option>, - /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + /// Limits describes the maximum amount of compute resources allowed. + /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, - /// Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + /// Requests describes the minimum amount of compute resources required. + /// If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + /// otherwise to an implementation-defined value. Requests cannot exceed Limits. + /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] pub requests: Option>, } -/// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplatesSpecPvcResourcesClaims { - /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. - pub name: String, -} - /// selector is a label query over volumes to consider for binding. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplatesSpecPvcSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplatesSpecPvcSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } @@ -461,25 +573,35 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplatesSpecSourc /// Storage is the requested storage specification #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplatesSpecStorage { - /// AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 + /// AccessModes contains the desired access modes the volume should have. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, - /// This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) * An existing custom resource that implements data population (Alpha) In order to use custom resource types that implement data population, the AnyVolumeDataSource feature gate must be enabled. 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. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field. + /// This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) * An existing custom resource that implements data population (Alpha) In order to use custom resource types that implement data population, the AnyVolumeDataSource feature gate must be enabled. 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. + /// If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dataSource")] pub data_source: Option, - /// Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local 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, 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. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. + /// Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local 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, 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. + /// There are two important differences between DataSource and DataSourceRef: + /// * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. + /// * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. + /// (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dataSourceRef")] pub data_source_ref: Option, - /// Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources + /// Resources represents the minimum resources the volume should have. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources #[serde(default, skip_serializing_if = "Option::is_none")] pub resources: Option, /// A label query over volumes to consider for binding. #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, - /// Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 + /// Name of the StorageClass required by the claim. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "storageClassName")] pub storage_class_name: Option, - /// volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. + /// volumeMode defines what type of volume is required by the claim. + /// Value of Filesystem is implied when not included in claim spec. #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeMode")] pub volume_mode: Option, /// VolumeName is the binding reference to the PersistentVolume backing this claim. @@ -487,10 +609,13 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplatesSpecStora pub volume_name: Option, } -/// This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) * An existing custom resource that implements data population (Alpha) In order to use custom resource types that implement data population, the AnyVolumeDataSource feature gate must be enabled. 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. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field. +/// This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) * An existing custom resource that implements data population (Alpha) In order to use custom resource types that implement data population, the AnyVolumeDataSource feature gate must be enabled. 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. +/// If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplatesSpecStorageDataSource { - /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. + /// APIGroup is the group for the resource being referenced. + /// If APIGroup is not specified, the specified Kind must be in the core API group. + /// For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, /// Kind is the type of resource being referenced @@ -499,33 +624,53 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplatesSpecStora pub name: String, } -/// Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local 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, 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. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. +/// Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local 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, 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. +/// There are two important differences between DataSource and DataSourceRef: +/// * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. +/// * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. +/// (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplatesSpecStorageDataSourceRef { - /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. + /// APIGroup is the group for the resource being referenced. + /// If APIGroup is not specified, the specified Kind must be in the core API group. + /// For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, /// Kind is the type of resource being referenced pub kind: String, /// Name is the name of resource being referenced pub name: String, - /// Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. + /// Namespace is the namespace of resource being referenced + /// Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. + /// (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, } -/// Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources +/// Resources represents the minimum resources the volume should have. +/// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplatesSpecStorageResources { - /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. - /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. - /// This field is immutable. It can only be set for containers. + /// Claims lists the names of resources, defined in spec.resourceClaims, + /// that are used by this container. + /// + /// + /// This is an alpha field and requires enabling the + /// DynamicResourceAllocation feature gate. + /// + /// + /// This field is immutable. It can only be set for containers. #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, - /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + /// Limits describes the maximum amount of compute resources allowed. + /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, - /// Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + /// Requests describes the minimum amount of compute resources required. + /// If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + /// otherwise to an implementation-defined value. Requests cannot exceed Limits. + /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] pub requests: Option>, } @@ -533,7 +678,9 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplatesSpecStora /// ResourceClaim references one entry in PodSpec.ResourceClaims. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplatesSpecStorageResourcesClaims { - /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. + /// Name must match the name of one entry in pod.spec.resourceClaims of + /// the Pod where this field is used. It makes that resource available + /// inside a container. pub name: String, } @@ -543,24 +690,32 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplatesSpecStora /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplatesSpecStorageSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// DataVolumeTemplateDummyStatus is here simply for backwards compatibility with a previous API. +/// DataVolumeTemplateDummyStatus is here simply for backwards compatibility with +/// a previous API. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplatesStatus { } @@ -568,49 +723,55 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecDataVolumeTemplatesStatus { /// InstancetypeMatcher references a instancetype that is used to fill fields in Template #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecInstancetype { - /// InferFromVolume lists the name of a volume that should be used to infer or discover the instancetype to be used through known annotations on the underlying resource. Once applied to the InstancetypeMatcher this field is removed. + /// InferFromVolume lists the name of a volume that should be used to infer or discover the instancetype + /// to be used through known annotations on the underlying resource. Once applied to the InstancetypeMatcher + /// this field is removed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "inferFromVolume")] pub infer_from_volume: Option, - /// Kind specifies which instancetype resource is referenced. Allowed values are: "VirtualMachineInstancetype" and "VirtualMachineClusterInstancetype". If not specified, "VirtualMachineClusterInstancetype" is used by default. + /// InferFromVolumeFailurePolicy controls what should happen on failure when inferring the instancetype. + /// Allowed values are: "RejectInferFromVolumeFailure" and "IgnoreInferFromVolumeFailure". + /// If not specified, "RejectInferFromVolumeFailure" is used by default. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "inferFromVolumeFailurePolicy")] + pub infer_from_volume_failure_policy: Option, + /// Kind specifies which instancetype resource is referenced. + /// Allowed values are: "VirtualMachineInstancetype" and "VirtualMachineClusterInstancetype". + /// If not specified, "VirtualMachineClusterInstancetype" is used by default. #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, /// Name is the name of the VirtualMachineInstancetype or VirtualMachineClusterInstancetype #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, - /// RevisionName specifies a ControllerRevision containing a specific copy of the VirtualMachineInstancetype or VirtualMachineClusterInstancetype to be used. This is initially captured the first time the instancetype is applied to the VirtualMachineInstance. + /// RevisionName specifies a ControllerRevision containing a specific copy of the + /// VirtualMachineInstancetype or VirtualMachineClusterInstancetype to be used. This is initially + /// captured the first time the instancetype is applied to the VirtualMachineInstance. #[serde(default, skip_serializing_if = "Option::is_none", rename = "revisionName")] pub revision_name: Option, } -/// LiveUpdateFeatures references a configuration of hotpluggable resources -#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct KubevirtMachineVirtualMachineTemplateSpecLiveUpdateFeatures { - /// LiveUpdateCPU holds hotplug configuration for the CPU resource. Empty struct indicates that default will be used for maxSockets. Default is specified on cluster level. Absence of the struct means opt-out from CPU hotplug functionality. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub cpu: Option, -} - -/// LiveUpdateCPU holds hotplug configuration for the CPU resource. Empty struct indicates that default will be used for maxSockets. Default is specified on cluster level. Absence of the struct means opt-out from CPU hotplug functionality. -#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct KubevirtMachineVirtualMachineTemplateSpecLiveUpdateFeaturesCpu { - /// The maximum amount of sockets that can be hot-plugged to the Virtual Machine - #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxSockets")] - pub max_sockets: Option, -} - /// PreferenceMatcher references a set of preference that is used to fill fields in Template #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecPreference { - /// InferFromVolume lists the name of a volume that should be used to infer or discover the preference to be used through known annotations on the underlying resource. Once applied to the PreferenceMatcher this field is removed. + /// InferFromVolume lists the name of a volume that should be used to infer or discover the preference + /// to be used through known annotations on the underlying resource. Once applied to the PreferenceMatcher + /// this field is removed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "inferFromVolume")] pub infer_from_volume: Option, - /// Kind specifies which preference resource is referenced. Allowed values are: "VirtualMachinePreference" and "VirtualMachineClusterPreference". If not specified, "VirtualMachineClusterPreference" is used by default. + /// InferFromVolumeFailurePolicy controls what should happen on failure when preference the instancetype. + /// Allowed values are: "RejectInferFromVolumeFailure" and "IgnoreInferFromVolumeFailure". + /// If not specified, "RejectInferFromVolumeFailure" is used by default. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "inferFromVolumeFailurePolicy")] + pub infer_from_volume_failure_policy: Option, + /// Kind specifies which preference resource is referenced. + /// Allowed values are: "VirtualMachinePreference" and "VirtualMachineClusterPreference". + /// If not specified, "VirtualMachineClusterPreference" is used by default. #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, /// Name is the name of the VirtualMachinePreference or VirtualMachineClusterPreference #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, - /// RevisionName specifies a ControllerRevision containing a specific copy of the VirtualMachinePreference or VirtualMachineClusterPreference to be used. This is initially captured the first time the instancetype is applied to the VirtualMachineInstance. + /// RevisionName specifies a ControllerRevision containing a specific copy of the + /// VirtualMachinePreference or VirtualMachineClusterPreference to be used. This is + /// initially captured the first time the instancetype is applied to the VirtualMachineInstance. #[serde(default, skip_serializing_if = "Option::is_none", rename = "revisionName")] pub revision_name: Option, } @@ -637,42 +798,68 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpec { /// Specifies the architecture of the vm guest you are attempting to run. Defaults to the compiled architecture of the KubeVirt components #[serde(default, skip_serializing_if = "Option::is_none")] pub architecture: Option, - /// Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. + /// Specifies the DNS parameters of a pod. + /// Parameters specified here will be merged to the generated DNS + /// configuration based on DNSPolicy. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dnsConfig")] pub dns_config: Option, - /// Set DNS policy for the pod. Defaults to "ClusterFirst". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. + /// Set DNS policy for the pod. + /// Defaults to "ClusterFirst". + /// Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. + /// DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. + /// To have DNS options set along with hostNetwork, you have to specify DNS policy + /// explicitly to 'ClusterFirstWithHostNet'. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dnsPolicy")] pub dns_policy: Option, /// Specification of the desired behavior of the VirtualMachineInstance on the host. pub domain: KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomain, - /// EvictionStrategy can be set to "LiveMigrate" if the VirtualMachineInstance should be migrated instead of shut-off in case of a node drain. + /// EvictionStrategy describes the strategy to follow when a node drain occurs. + /// The possible options are: + /// - "None": No action will be taken, according to the specified 'RunStrategy' the VirtualMachine will be restarted or shutdown. + /// - "LiveMigrate": the VirtualMachineInstance will be migrated instead of being shutdown. + /// - "LiveMigrateIfPossible": the same as "LiveMigrate" but only if the VirtualMachine is Live-Migratable, otherwise it will behave as "None". + /// - "External": the VirtualMachineInstance will be protected by a PDB and `vmi.Status.EvacuationNodeName` will be set on eviction. This is mainly useful for cluster-api-provider-kubevirt (capk) which needs a way for VMI's to be blocked from eviction, yet signal capk that eviction has been called on the VMI so the capk controller can handle tearing the VMI down. Details can be found in the commit description https://github.com/kubevirt/kubevirt/commit/c1d77face705c8b126696bac9a3ee3825f27f1fa. #[serde(default, skip_serializing_if = "Option::is_none", rename = "evictionStrategy")] pub eviction_strategy: Option, - /// Specifies the hostname of the vmi If not specified, the hostname will be set to the name of the vmi, if dhcp or cloud-init is configured properly. + /// Specifies the hostname of the vmi + /// If not specified, the hostname will be set to the name of the vmi, if dhcp or cloud-init is configured properly. #[serde(default, skip_serializing_if = "Option::is_none")] pub hostname: Option, - /// Periodic probe of VirtualMachineInstance liveness. VirtualmachineInstances will be stopped if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + /// Periodic probe of VirtualMachineInstance liveness. + /// VirtualmachineInstances will be stopped if the probe fails. + /// Cannot be updated. + /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes #[serde(default, skip_serializing_if = "Option::is_none", rename = "livenessProbe")] pub liveness_probe: Option, /// List of networks that can be attached to a vm's virtual interface. #[serde(default, skip_serializing_if = "Option::is_none")] pub networks: Option>, - /// NodeSelector is a selector which must be true for the vmi to fit on a node. Selector which must match a node's labels for the vmi to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ + /// NodeSelector is a selector which must be true for the vmi to fit on a node. + /// Selector which must match a node's labels for the vmi to be scheduled on that node. + /// More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelector")] pub node_selector: Option>, - /// If specified, indicates the pod's priority. If not specified, the pod priority will be default or zero if there is no default. + /// If specified, indicates the pod's priority. + /// If not specified, the pod priority will be default or zero if there is no + /// default. #[serde(default, skip_serializing_if = "Option::is_none", rename = "priorityClassName")] pub priority_class_name: Option, - /// Periodic probe of VirtualMachineInstance service readiness. VirtualmachineInstances will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + /// Periodic probe of VirtualMachineInstance service readiness. + /// VirtualmachineInstances will be removed from service endpoints if the probe fails. + /// Cannot be updated. + /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes #[serde(default, skip_serializing_if = "Option::is_none", rename = "readinessProbe")] pub readiness_probe: Option, - /// If specified, the VMI will be dispatched by specified scheduler. If not specified, the VMI will be dispatched by default scheduler. + /// If specified, the VMI will be dispatched by specified scheduler. + /// If not specified, the VMI will be dispatched by default scheduler. #[serde(default, skip_serializing_if = "Option::is_none", rename = "schedulerName")] pub scheduler_name: Option, /// StartStrategy can be set to "Paused" if Virtual Machine should be started in paused state. #[serde(default, skip_serializing_if = "Option::is_none", rename = "startStrategy")] pub start_strategy: Option, - /// If specified, the fully qualified vmi hostname will be "...svc.". If not specified, the vmi will not have a domainname at all. The DNS entry will resolve to the vmi, no matter if the vmi itself can pick up a hostname. + /// If specified, the fully qualified vmi hostname will be "...svc.". + /// If not specified, the vmi will not have a domainname at all. The DNS entry will resolve to the vmi, + /// no matter if the vmi itself can pick up a hostname. #[serde(default, skip_serializing_if = "Option::is_none")] pub subdomain: Option, /// Grace period observed after signalling a VirtualMachineInstance to stop after which the VirtualMachineInstance is force terminated. @@ -681,7 +868,8 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpec { /// If toleration is specified, obey all the toleration rules. #[serde(default, skip_serializing_if = "Option::is_none")] pub tolerations: Option>, - /// TopologySpreadConstraints describes how a group of VMIs will be spread across a given topology domains. K8s scheduler will schedule VMI pods in a way which abides by the constraints. + /// TopologySpreadConstraints describes how a group of VMIs will be spread across a given topology + /// domains. K8s scheduler will schedule VMI pods in a way which abides by the constraints. #[serde(default, skip_serializing_if = "Option::is_none", rename = "topologySpreadConstraints")] pub topology_spread_constraints: Option>, /// List of volumes that can be mounted by disks belonging to the vmi. @@ -689,18 +877,23 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpec { pub volumes: Option>, } -/// AccessCredential represents a credential source that can be used to authorize remote access to the vm guest Only one of its members may be specified. +/// AccessCredential represents a credential source that can be used to +/// authorize remote access to the vm guest +/// Only one of its members may be specified. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAccessCredentials { - /// SSHPublicKey represents the source and method of applying a ssh public key into a guest virtual machine. + /// SSHPublicKey represents the source and method of applying a ssh public + /// key into a guest virtual machine. #[serde(default, skip_serializing_if = "Option::is_none", rename = "sshPublicKey")] pub ssh_public_key: Option, - /// UserPassword represents the source and method for applying a guest user's password + /// UserPassword represents the source and method for applying a guest user's + /// password #[serde(default, skip_serializing_if = "Option::is_none", rename = "userPassword")] pub user_password: Option, } -/// SSHPublicKey represents the source and method of applying a ssh public key into a guest virtual machine. +/// SSHPublicKey represents the source and method of applying a ssh public +/// key into a guest virtual machine. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAccessCredentialsSshPublicKey { /// PropagationMethod represents how the public key is injected into the vm guest. @@ -713,23 +906,40 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAccessCredential /// PropagationMethod represents how the public key is injected into the vm guest. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAccessCredentialsSshPublicKeyPropagationMethod { - /// ConfigDrivePropagation means that the ssh public keys are injected into the VM using metadata using the configDrive cloud-init provider + /// ConfigDrivePropagation means that the ssh public keys are injected + /// into the VM using metadata using the configDrive cloud-init provider #[serde(default, skip_serializing_if = "Option::is_none", rename = "configDrive")] pub config_drive: Option, - /// QemuGuestAgentAccessCredentailPropagation means ssh public keys are dynamically injected into the vm at runtime via the qemu guest agent. This feature requires the qemu guest agent to be running within the guest. + /// NoCloudPropagation means that the ssh public keys are injected + /// into the VM using metadata using the noCloud cloud-init provider + #[serde(default, skip_serializing_if = "Option::is_none", rename = "noCloud")] + pub no_cloud: Option, + /// QemuGuestAgentAccessCredentailPropagation means ssh public keys are + /// dynamically injected into the vm at runtime via the qemu guest agent. + /// This feature requires the qemu guest agent to be running within the guest. #[serde(default, skip_serializing_if = "Option::is_none", rename = "qemuGuestAgent")] pub qemu_guest_agent: Option, } -/// ConfigDrivePropagation means that the ssh public keys are injected into the VM using metadata using the configDrive cloud-init provider +/// ConfigDrivePropagation means that the ssh public keys are injected +/// into the VM using metadata using the configDrive cloud-init provider #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAccessCredentialsSshPublicKeyPropagationMethodConfigDrive { } -/// QemuGuestAgentAccessCredentailPropagation means ssh public keys are dynamically injected into the vm at runtime via the qemu guest agent. This feature requires the qemu guest agent to be running within the guest. +/// NoCloudPropagation means that the ssh public keys are injected +/// into the VM using metadata using the noCloud cloud-init provider +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAccessCredentialsSshPublicKeyPropagationMethodNoCloud { +} + +/// QemuGuestAgentAccessCredentailPropagation means ssh public keys are +/// dynamically injected into the vm at runtime via the qemu guest agent. +/// This feature requires the qemu guest agent to be running within the guest. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAccessCredentialsSshPublicKeyPropagationMethodQemuGuestAgent { - /// Users represents a list of guest users that should have the ssh public keys added to their authorized_keys file. + /// Users represents a list of guest users that should have the ssh public keys + /// added to their authorized_keys file. pub users: Vec, } @@ -749,7 +959,8 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAccessCredential pub secret_name: String, } -/// UserPassword represents the source and method for applying a guest user's password +/// UserPassword represents the source and method for applying a guest user's +/// password #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAccessCredentialsUserPassword { /// propagationMethod represents how the user passwords are injected into the vm guest. @@ -762,12 +973,16 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAccessCredential /// propagationMethod represents how the user passwords are injected into the vm guest. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAccessCredentialsUserPasswordPropagationMethod { - /// QemuGuestAgentAccessCredentailPropagation means passwords are dynamically injected into the vm at runtime via the qemu guest agent. This feature requires the qemu guest agent to be running within the guest. + /// QemuGuestAgentAccessCredentailPropagation means passwords are + /// dynamically injected into the vm at runtime via the qemu guest agent. + /// This feature requires the qemu guest agent to be running within the guest. #[serde(default, skip_serializing_if = "Option::is_none", rename = "qemuGuestAgent")] pub qemu_guest_agent: Option, } -/// QemuGuestAgentAccessCredentailPropagation means passwords are dynamically injected into the vm at runtime via the qemu guest agent. This feature requires the qemu guest agent to be running within the guest. +/// QemuGuestAgentAccessCredentailPropagation means passwords are +/// dynamically injected into the vm at runtime via the qemu guest agent. +/// This feature requires the qemu guest agent to be running within the guest. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAccessCredentialsUserPasswordPropagationMethodQemuGuestAgent { } @@ -805,15 +1020,28 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityNodeAffinity { - /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. + /// The scheduler will prefer to schedule pods to nodes that satisfy + /// the affinity expressions specified by this field, but it may choose + /// a node that violates one or more of the expressions. The node that is + /// most preferred is the one with the greatest sum of weights, i.e. + /// for each node that meets all of the scheduling requirements (resource + /// request, requiredDuringScheduling affinity expressions, etc.), + /// compute a sum by iterating through the elements of this field and adding + /// "weight" to the sum if the node matches the corresponding matchExpressions; the + /// node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, - /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. + /// If the affinity requirements specified by this field are not met at + /// scheduling time, the pod will not be scheduled onto the node. + /// If the affinity requirements specified by this field cease to be met + /// at some point during pod execution (e.g. due to an update), the system + /// may or may not try to eventually evict the pod from its node. #[serde(default, skip_serializing_if = "Option::is_none", rename = "requiredDuringSchedulingIgnoredDuringExecution")] pub required_during_scheduling_ignored_during_execution: Option, } -/// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). +/// An empty preferred scheduling term matches all objects with implicit weight 0 +/// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. @@ -833,31 +1061,47 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityNodeAffi pub match_fields: Option>, } -/// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A node selector requirement is a selector that contains values, a key, and an operator +/// that relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, - /// Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + /// Represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. pub operator: String, - /// An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. + /// An array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. If the operator is Gt or Lt, the values + /// array must have a single element, which will be interpreted as an integer. + /// This array is replaced during a strategic merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A node selector requirement is a selector that contains values, a key, and an operator +/// that relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, - /// Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + /// Represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. pub operator: String, - /// An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. + /// An array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. If the operator is Gt or Lt, the values + /// array must have a single element, which will be interpreted as an integer. + /// This array is replaced during a strategic merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. +/// If the affinity requirements specified by this field are not met at +/// scheduling time, the pod will not be scheduled onto the node. +/// If the affinity requirements specified by this field cease to be met +/// at some point during pod execution (e.g. due to an update), the system +/// may or may not try to eventually evict the pod from its node. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. @@ -865,7 +1109,9 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityNodeAffi pub node_selector_terms: Vec, } -/// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. +/// A null or empty node selector term matches no objects. The requirements of +/// them are ANDed. +/// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. @@ -876,26 +1122,38 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityNodeAffi pub match_fields: Option>, } -/// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A node selector requirement is a selector that contains values, a key, and an operator +/// that relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, - /// Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + /// Represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. pub operator: String, - /// An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. + /// An array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. If the operator is Gt or Lt, the values + /// array must have a single element, which will be interpreted as an integer. + /// This array is replaced during a strategic merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A node selector requirement is a selector that contains values, a key, and an operator +/// that relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, - /// Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + /// Represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. pub operator: String, - /// An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. + /// An array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. If the operator is Gt or Lt, the values + /// array must have a single element, which will be interpreted as an integer. + /// This array is replaced during a strategic merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } @@ -903,10 +1161,24 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityNodeAffi /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAffinity { - /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. + /// The scheduler will prefer to schedule pods to nodes that satisfy + /// the affinity expressions specified by this field, but it may choose + /// a node that violates one or more of the expressions. The node that is + /// most preferred is the one with the greatest sum of weights, i.e. + /// for each node that meets all of the scheduling requirements (resource + /// request, requiredDuringScheduling affinity expressions, etc.), + /// compute a sum by iterating through the elements of this field and adding + /// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + /// node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, - /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. + /// If the affinity requirements specified by this field are not met at + /// scheduling time, the pod will not be scheduled onto the node. + /// If the affinity requirements specified by this field cease to be met + /// at some point during pod execution (e.g. due to a pod label update), the + /// system may or may not try to eventually evict the pod from its node. + /// When there are multiple elements, the lists of nodes corresponding to each + /// podAffinityTerm are intersected, i.e. all terms must be satisfied. #[serde(default, skip_serializing_if = "Option::is_none", rename = "requiredDuringSchedulingIgnoredDuringExecution")] pub required_during_scheduling_ignored_during_execution: Option>, } @@ -917,7 +1189,8 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAffin /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, - /// weight associated with matching the corresponding podAffinityTerm, in the range 1-100. + /// weight associated with matching the corresponding podAffinityTerm, + /// in the range 1-100. pub weight: i32, } @@ -925,124 +1198,235 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAffin #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. + /// If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, - /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. + /// MatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] + pub match_label_keys: Option>, + /// MismatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] + pub mismatch_label_keys: Option>, + /// A label query over the set of namespaces that the term applies to. + /// The term is applied to the union of the namespaces selected by this field + /// and the ones listed in the namespaces field. + /// null selector and null or empty namespaces list means "this pod's namespace". + /// An empty selector ({}) matches all namespaces. #[serde(default, skip_serializing_if = "Option::is_none", rename = "namespaceSelector")] pub namespace_selector: Option, - /// namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". + /// namespaces specifies a static list of namespace names that the term applies to. + /// The term is applied to the union of the namespaces listed in this field + /// and the ones selected by namespaceSelector. + /// null or empty namespaces list and null namespaceSelector means "this pod's namespace". #[serde(default, skip_serializing_if = "Option::is_none")] pub namespaces: Option>, - /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. + /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + /// the labelSelector in the specified namespaces, where co-located is defined as running on a node + /// whose value of the label with key topologyKey matches that of any node on which any of the + /// selected pods is running. + /// Empty topologyKey is not allowed. #[serde(rename = "topologyKey")] pub topology_key: String, } /// A label query over a set of resources, in this case pods. +/// If it's null, this PodAffinityTerm matches with no Pods. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. +/// A label query over the set of namespaces that the term applies to. +/// The term is applied to the union of the namespaces selected by this field +/// and the ones listed in the namespaces field. +/// null selector and null or empty namespaces list means "this pod's namespace". +/// An empty selector ({}) matches all namespaces. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running +/// Defines a set of pods (namely those matching the labelSelector +/// relative to the given namespace(s)) that this pod should be +/// co-located (affinity) or not co-located (anti-affinity) with, +/// where co-located is defined as running on a node whose value of +/// the label with key matches that of any node on which +/// a pod of the set of pods is running #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. + /// If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, - /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. + /// MatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] + pub match_label_keys: Option>, + /// MismatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] + pub mismatch_label_keys: Option>, + /// A label query over the set of namespaces that the term applies to. + /// The term is applied to the union of the namespaces selected by this field + /// and the ones listed in the namespaces field. + /// null selector and null or empty namespaces list means "this pod's namespace". + /// An empty selector ({}) matches all namespaces. #[serde(default, skip_serializing_if = "Option::is_none", rename = "namespaceSelector")] pub namespace_selector: Option, - /// namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". + /// namespaces specifies a static list of namespace names that the term applies to. + /// The term is applied to the union of the namespaces listed in this field + /// and the ones selected by namespaceSelector. + /// null or empty namespaces list and null namespaceSelector means "this pod's namespace". #[serde(default, skip_serializing_if = "Option::is_none")] pub namespaces: Option>, - /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. + /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + /// the labelSelector in the specified namespaces, where co-located is defined as running on a node + /// whose value of the label with key topologyKey matches that of any node on which any of the + /// selected pods is running. + /// Empty topologyKey is not allowed. #[serde(rename = "topologyKey")] pub topology_key: String, } /// A label query over a set of resources, in this case pods. +/// If it's null, this PodAffinityTerm matches with no Pods. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. +/// A label query over the set of namespaces that the term applies to. +/// The term is applied to the union of the namespaces selected by this field +/// and the ones listed in the namespaces field. +/// null selector and null or empty namespaces list means "this pod's namespace". +/// An empty selector ({}) matches all namespaces. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } @@ -1050,10 +1434,24 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAffin /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiAffinity { - /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. + /// The scheduler will prefer to schedule pods to nodes that satisfy + /// the anti-affinity expressions specified by this field, but it may choose + /// a node that violates one or more of the expressions. The node that is + /// most preferred is the one with the greatest sum of weights, i.e. + /// for each node that meets all of the scheduling requirements (resource + /// request, requiredDuringScheduling anti-affinity expressions, etc.), + /// compute a sum by iterating through the elements of this field and adding + /// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + /// node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, - /// If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. + /// If the anti-affinity requirements specified by this field are not met at + /// scheduling time, the pod will not be scheduled onto the node. + /// If the anti-affinity requirements specified by this field cease to be met + /// at some point during pod execution (e.g. due to a pod label update), the + /// system may or may not try to eventually evict the pod from its node. + /// When there are multiple elements, the lists of nodes corresponding to each + /// podAffinityTerm are intersected, i.e. all terms must be satisfied. #[serde(default, skip_serializing_if = "Option::is_none", rename = "requiredDuringSchedulingIgnoredDuringExecution")] pub required_during_scheduling_ignored_during_execution: Option>, } @@ -1064,7 +1462,8 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiA /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, - /// weight associated with matching the corresponding podAffinityTerm, in the range 1-100. + /// weight associated with matching the corresponding podAffinityTerm, + /// in the range 1-100. pub weight: i32, } @@ -1072,138 +1471,258 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiA #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. + /// If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, - /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. + /// MatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] + pub match_label_keys: Option>, + /// MismatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] + pub mismatch_label_keys: Option>, + /// A label query over the set of namespaces that the term applies to. + /// The term is applied to the union of the namespaces selected by this field + /// and the ones listed in the namespaces field. + /// null selector and null or empty namespaces list means "this pod's namespace". + /// An empty selector ({}) matches all namespaces. #[serde(default, skip_serializing_if = "Option::is_none", rename = "namespaceSelector")] pub namespace_selector: Option, - /// namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". + /// namespaces specifies a static list of namespace names that the term applies to. + /// The term is applied to the union of the namespaces listed in this field + /// and the ones selected by namespaceSelector. + /// null or empty namespaces list and null namespaceSelector means "this pod's namespace". #[serde(default, skip_serializing_if = "Option::is_none")] pub namespaces: Option>, - /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. + /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + /// the labelSelector in the specified namespaces, where co-located is defined as running on a node + /// whose value of the label with key topologyKey matches that of any node on which any of the + /// selected pods is running. + /// Empty topologyKey is not allowed. #[serde(rename = "topologyKey")] pub topology_key: String, } /// A label query over a set of resources, in this case pods. +/// If it's null, this PodAffinityTerm matches with no Pods. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. +/// A label query over the set of namespaces that the term applies to. +/// The term is applied to the union of the namespaces selected by this field +/// and the ones listed in the namespaces field. +/// null selector and null or empty namespaces list means "this pod's namespace". +/// An empty selector ({}) matches all namespaces. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running +/// Defines a set of pods (namely those matching the labelSelector +/// relative to the given namespace(s)) that this pod should be +/// co-located (affinity) or not co-located (anti-affinity) with, +/// where co-located is defined as running on a node whose value of +/// the label with key matches that of any node on which +/// a pod of the set of pods is running #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. + /// If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, - /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. + /// MatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] + pub match_label_keys: Option>, + /// MismatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] + pub mismatch_label_keys: Option>, + /// A label query over the set of namespaces that the term applies to. + /// The term is applied to the union of the namespaces selected by this field + /// and the ones listed in the namespaces field. + /// null selector and null or empty namespaces list means "this pod's namespace". + /// An empty selector ({}) matches all namespaces. #[serde(default, skip_serializing_if = "Option::is_none", rename = "namespaceSelector")] pub namespace_selector: Option, - /// namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". + /// namespaces specifies a static list of namespace names that the term applies to. + /// The term is applied to the union of the namespaces listed in this field + /// and the ones selected by namespaceSelector. + /// null or empty namespaces list and null namespaceSelector means "this pod's namespace". #[serde(default, skip_serializing_if = "Option::is_none")] pub namespaces: Option>, - /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. + /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + /// the labelSelector in the specified namespaces, where co-located is defined as running on a node + /// whose value of the label with key topologyKey matches that of any node on which any of the + /// selected pods is running. + /// Empty topologyKey is not allowed. #[serde(rename = "topologyKey")] pub topology_key: String, } /// A label query over a set of resources, in this case pods. +/// If it's null, this PodAffinityTerm matches with no Pods. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. +/// A label query over the set of namespaces that the term applies to. +/// The term is applied to the union of the namespaces selected by this field +/// and the ones listed in the namespaces field. +/// null selector and null or empty namespaces list means "this pod's namespace". +/// An empty selector ({}) matches all namespaces. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. +/// Specifies the DNS parameters of a pod. +/// Parameters specified here will be merged to the generated DNS +/// configuration based on DNSPolicy. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDnsConfig { - /// A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. + /// A list of DNS name server IP addresses. + /// This will be appended to the base nameservers generated from DNSPolicy. + /// Duplicated nameservers will be removed. #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, - /// A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. + /// A list of DNS resolver options. + /// This will be merged with the base options generated from DNSPolicy. + /// Duplicated entries will be removed. Resolution options given in Options + /// will override those that appear in the base DNSPolicy. #[serde(default, skip_serializing_if = "Option::is_none")] pub options: Option>, - /// A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed. + /// A list of DNS search domains for host-name lookup. + /// This will be appended to the base search paths generated from DNSPolicy. + /// Duplicated search paths will be removed. #[serde(default, skip_serializing_if = "Option::is_none")] pub searches: Option>, } @@ -1238,7 +1757,9 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomain { /// Firmware. #[serde(default, skip_serializing_if = "Option::is_none")] pub firmware: Option, - /// Controls whether or not disks will share IOThreads. Omitting IOThreadsPolicy disables use of IOThreads. One of: shared, auto + /// Controls whether or not disks will share IOThreads. + /// Omitting IOThreadsPolicy disables use of IOThreads. + /// One of: shared, auto #[serde(default, skip_serializing_if = "Option::is_none", rename = "ioThreadsPolicy")] pub io_threads_policy: Option, /// Launch Security setting of the vmi. @@ -1276,10 +1797,12 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainClock { /// Timer specifies whih timers are attached to the vmi. #[serde(default, skip_serializing_if = "Option::is_none")] pub timer: Option, - /// Timezone sets the guest clock to the specified timezone. Zone name follows the TZ environment variable format (e.g. 'America/New_York'). + /// Timezone sets the guest clock to the specified timezone. + /// Zone name follows the TZ environment variable format (e.g. 'America/New_York'). #[serde(default, skip_serializing_if = "Option::is_none")] pub timezone: Option, - /// UTC sets the guest clock to UTC on each boot. If an offset is specified, guest changes to the clock will be kept during reboots and are not reset. + /// UTC sets the guest clock to UTC on each boot. If an offset is specified, + /// guest changes to the clock will be kept during reboots and are not reset. #[serde(default, skip_serializing_if = "Option::is_none")] pub utc: Option, } @@ -1307,10 +1830,12 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainClockTimer /// HPET (High Precision Event Timer) - multiple timers with periodic interrupts. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainClockTimerHpet { - /// Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true. + /// Enabled set to false makes sure that the machine type or a preset can't add the timer. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub present: Option, - /// TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest. One of "delay", "catchup", "merge", "discard". + /// TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest. + /// One of "delay", "catchup", "merge", "discard". #[serde(default, skip_serializing_if = "Option::is_none", rename = "tickPolicy")] pub tick_policy: Option, } @@ -1318,7 +1843,8 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainClockTimer /// Hyperv (Hypervclock) - lets guests read the host’s wall clock time (paravirtualized). For windows guests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainClockTimerHyperv { - /// Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true. + /// Enabled set to false makes sure that the machine type or a preset can't add the timer. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub present: Option, } @@ -1326,7 +1852,8 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainClockTimer /// KVM (KVM clock) - lets guests read the host’s wall clock time (paravirtualized). For linux guests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainClockTimerKvm { - /// Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true. + /// Enabled set to false makes sure that the machine type or a preset can't add the timer. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub present: Option, } @@ -1334,10 +1861,12 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainClockTimer /// PIT (Programmable Interval Timer) - a timer with periodic interrupts. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainClockTimerPit { - /// Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true. + /// Enabled set to false makes sure that the machine type or a preset can't add the timer. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub present: Option, - /// TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest. One of "delay", "catchup", "discard". + /// TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest. + /// One of "delay", "catchup", "discard". #[serde(default, skip_serializing_if = "Option::is_none", rename = "tickPolicy")] pub tick_policy: Option, } @@ -1345,10 +1874,12 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainClockTimer /// RTC (Real Time Clock) - a continuously running timer with periodic interrupts. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainClockTimerRtc { - /// Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true. + /// Enabled set to false makes sure that the machine type or a preset can't add the timer. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub present: Option, - /// TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest. One of "delay", "catchup". + /// TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest. + /// One of "delay", "catchup". #[serde(default, skip_serializing_if = "Option::is_none", rename = "tickPolicy")] pub tick_policy: Option, /// Track the guest or the wall clock. @@ -1356,10 +1887,12 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainClockTimer pub track: Option, } -/// UTC sets the guest clock to UTC on each boot. If an offset is specified, guest changes to the clock will be kept during reboots and are not reset. +/// UTC sets the guest clock to UTC on each boot. If an offset is specified, +/// guest changes to the clock will be kept during reboots and are not reset. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainClockUtc { - /// OffsetSeconds specifies an offset in seconds, relative to UTC. If set, guest changes to the clock will be kept during reboots and not reset. + /// OffsetSeconds specifies an offset in seconds, relative to UTC. If set, + /// guest changes to the clock will be kept during reboots and not reset. #[serde(default, skip_serializing_if = "Option::is_none", rename = "offsetSeconds")] pub offset_seconds: Option, } @@ -1367,22 +1900,30 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainClockUtc { /// CPU allow specified the detailed CPU topology inside the vmi. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainCpu { - /// Cores specifies the number of cores inside the vmi. Must be a value greater or equal 1. + /// Cores specifies the number of cores inside the vmi. + /// Must be a value greater or equal 1. #[serde(default, skip_serializing_if = "Option::is_none")] pub cores: Option, - /// DedicatedCPUPlacement requests the scheduler to place the VirtualMachineInstance on a node with enough dedicated pCPUs and pin the vCPUs to it. + /// DedicatedCPUPlacement requests the scheduler to place the VirtualMachineInstance on a node + /// with enough dedicated pCPUs and pin the vCPUs to it. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dedicatedCpuPlacement")] pub dedicated_cpu_placement: Option, /// Features specifies the CPU features list inside the VMI. #[serde(default, skip_serializing_if = "Option::is_none")] pub features: Option>, - /// IsolateEmulatorThread requests one more dedicated pCPU to be allocated for the VMI to place the emulator thread on it. + /// IsolateEmulatorThread requests one more dedicated pCPU to be allocated for the VMI to place + /// the emulator thread on it. #[serde(default, skip_serializing_if = "Option::is_none", rename = "isolateEmulatorThread")] pub isolate_emulator_thread: Option, - /// MaxSockets specifies the maximum amount of sockets that can be hotplugged + /// MaxSockets specifies the maximum amount of sockets that can + /// be hotplugged #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxSockets")] pub max_sockets: Option, - /// Model specifies the CPU model inside the VMI. List of available models https://github.com/libvirt/libvirt/tree/master/src/cpu_map. It is possible to specify special cases like "host-passthrough" to get the same CPU as the node and "host-model" to get CPU closest to the node one. Defaults to host-model. + /// Model specifies the CPU model inside the VMI. + /// List of available models https://github.com/libvirt/libvirt/tree/master/src/cpu_map. + /// It is possible to specify special cases like "host-passthrough" to get the same CPU as the node + /// and "host-model" to get CPU closest to the node one. + /// Defaults to host-model. #[serde(default, skip_serializing_if = "Option::is_none")] pub model: Option, /// NUMA allows specifying settings for the guest NUMA topology @@ -1391,10 +1932,12 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainCpu { /// Realtime instructs the virt-launcher to tune the VMI for lower latency, optional for real time workloads #[serde(default, skip_serializing_if = "Option::is_none")] pub realtime: Option, - /// Sockets specifies the number of sockets inside the vmi. Must be a value greater or equal 1. + /// Sockets specifies the number of sockets inside the vmi. + /// Must be a value greater or equal 1. #[serde(default, skip_serializing_if = "Option::is_none")] pub sockets: Option, - /// Threads specifies the number of threads inside the vmi. Must be a value greater or equal 1. + /// Threads specifies the number of threads inside the vmi. + /// Must be a value greater or equal 1. #[serde(default, skip_serializing_if = "Option::is_none")] pub threads: Option, } @@ -1404,7 +1947,13 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainCpu { pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainCpuFeatures { /// Name of the CPU feature pub name: String, - /// Policy is the CPU feature attribute which can have the following attributes: force - The virtual CPU will claim the feature is supported regardless of it being supported by host CPU. require - Guest creation will fail unless the feature is supported by the host CPU or the hypervisor is able to emulate it. optional - The feature will be supported by virtual CPU if and only if it is supported by host CPU. disable - The feature will not be supported by virtual CPU. forbid - Guest creation will fail if the feature is supported by host CPU. Defaults to require + /// Policy is the CPU feature attribute which can have the following attributes: + /// force - The virtual CPU will claim the feature is supported regardless of it being supported by host CPU. + /// require - Guest creation will fail unless the feature is supported by the host CPU or the hypervisor is able to emulate it. + /// optional - The feature will be supported by virtual CPU if and only if it is supported by host CPU. + /// disable - The feature will not be supported by virtual CPU. + /// forbid - Guest creation will fail if the feature is supported by host CPU. + /// Defaults to require #[serde(default, skip_serializing_if = "Option::is_none")] pub policy: Option, } @@ -1412,12 +1961,14 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainCpuFeature /// NUMA allows specifying settings for the guest NUMA topology #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainCpuNuma { - /// GuestMappingPassthrough will create an efficient guest topology based on host CPUs exclusively assigned to a pod. The created topology ensures that memory and CPUs on the virtual numa nodes never cross boundaries of host numa nodes. + /// GuestMappingPassthrough will create an efficient guest topology based on host CPUs exclusively assigned to a pod. + /// The created topology ensures that memory and CPUs on the virtual numa nodes never cross boundaries of host numa nodes. #[serde(default, skip_serializing_if = "Option::is_none", rename = "guestMappingPassthrough")] pub guest_mapping_passthrough: Option, } -/// GuestMappingPassthrough will create an efficient guest topology based on host CPUs exclusively assigned to a pod. The created topology ensures that memory and CPUs on the virtual numa nodes never cross boundaries of host numa nodes. +/// GuestMappingPassthrough will create an efficient guest topology based on host CPUs exclusively assigned to a pod. +/// The created topology ensures that memory and CPUs on the virtual numa nodes never cross boundaries of host numa nodes. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainCpuNumaGuestMappingPassthrough { } @@ -1425,7 +1976,8 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainCpuNumaGue /// Realtime instructs the virt-launcher to tune the VMI for lower latency, optional for real time workloads #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainCpuRealtime { - /// Mask defines the vcpu mask expression that defines which vcpus are used for realtime. Format matches libvirt's expressions. Example: "0-3,^1","0,2,3","2-3" + /// Mask defines the vcpu mask expression that defines which vcpus are used for realtime. Format matches libvirt's expressions. + /// Example: "0-3,^1","0,2,3","2-3" #[serde(default, skip_serializing_if = "Option::is_none")] pub mask: Option, } @@ -1433,25 +1985,32 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainCpuRealtim /// Devices allows adding disks, network interfaces, and others #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevices { - /// Whether to attach the default graphics device or not. VNC will not be available if set to false. Defaults to true. + /// Whether to attach the default graphics device or not. + /// VNC will not be available if set to false. Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoattachGraphicsDevice")] pub autoattach_graphics_device: Option, - /// Whether to attach an Input Device. Defaults to false. + /// Whether to attach an Input Device. + /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoattachInputDevice")] pub autoattach_input_device: Option, - /// Whether to attach the Memory balloon device with default period. Period can be adjusted in virt-config. Defaults to true. + /// Whether to attach the Memory balloon device with default period. + /// Period can be adjusted in virt-config. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoattachMemBalloon")] pub autoattach_mem_balloon: Option, /// Whether to attach a pod network interface. Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoattachPodInterface")] pub autoattach_pod_interface: Option, - /// Whether to attach the default serial console or not. Serial console access will not be available if set to false. Defaults to true. + /// Whether to attach the default virtio-serial console or not. + /// Serial console access will not be available if set to false. Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoattachSerialConsole")] pub autoattach_serial_console: Option, - /// Whether to attach the VSOCK CID to the VM or not. VSOCK access will be available if set to true. Defaults to false. + /// Whether to attach the VSOCK CID to the VM or not. + /// VSOCK access will be available if set to true. Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoattachVSOCK")] pub autoattach_vsock: Option, - /// Whether or not to enable virtio multi-queue for block devices. Defaults to false. + /// Whether or not to enable virtio multi-queue for block devices. + /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "blockMultiQueue")] pub block_multi_queue: Option, /// To configure and access client devices such as redirecting USB @@ -1463,6 +2022,9 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevices { /// Disks describes disks, cdroms and luns which are connected to the vmi. #[serde(default, skip_serializing_if = "Option::is_none")] pub disks: Option>, + /// DownwardMetrics creates a virtio serials for exposing the downward metrics to the vmi. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "downwardMetrics")] + pub downward_metrics: Option, /// Filesystems describes filesystem which is connected to the vmi. #[serde(default, skip_serializing_if = "Option::is_none")] pub filesystems: Option>, @@ -1478,6 +2040,12 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevices { /// Interfaces describe network interfaces which are added to the vmi. #[serde(default, skip_serializing_if = "Option::is_none")] pub interfaces: Option>, + /// Whether to log the auto-attached default serial console or not. + /// Serial console logs will be collect to a file and then streamed from a named `guest-console-log`. + /// Not relevant if autoattachSerialConsole is disabled. + /// Defaults to cluster wide setting on VirtualMachineOptions. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "logSerialConsole")] + pub log_serial_console: Option, /// If specified, virtual network interfaces configured with a virtio bus will also enable the vhost multiqueue feature for network devices. The number of queues created depends on additional factors of the VirtualMachineInstance, like the number of guest CPUs. #[serde(default, skip_serializing_if = "Option::is_none", rename = "networkInterfaceMultiqueue")] pub network_interface_multiqueue: Option, @@ -1490,7 +2058,9 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevices { /// Whether to emulate a TPM device. #[serde(default, skip_serializing_if = "Option::is_none")] pub tpm: Option, - /// Fall back to legacy virtio 0.9 support if virtio bus is selected on devices. This is helpful for old machines like CentOS6 or RHEL6 which do not understand virtio_non_transitional (virtio 1.0). + /// Fall back to legacy virtio 0.9 support if virtio bus is selected on devices. + /// This is helpful for old machines like CentOS6 or RHEL6 which + /// do not understand virtio_non_transitional (virtio 1.0). #[serde(default, skip_serializing_if = "Option::is_none", rename = "useVirtioTransitional")] pub use_virtio_transitional: Option, /// Watchdog describes a watchdog device which can be added to the vmi. @@ -1508,22 +2078,32 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesDis /// If specified, the virtual disk will be presented with the given block sizes. #[serde(default, skip_serializing_if = "Option::is_none", rename = "blockSize")] pub block_size: Option, - /// BootOrder is an integer value > 0, used to determine ordering of boot devices. Lower values take precedence. Each disk or interface that has a boot order must have a unique value. Disks without a boot order are not tried if a disk with a boot order exists. + /// BootOrder is an integer value > 0, used to determine ordering of boot devices. + /// Lower values take precedence. + /// Each disk or interface that has a boot order must have a unique value. + /// Disks without a boot order are not tried if a disk with a boot order exists. #[serde(default, skip_serializing_if = "Option::is_none", rename = "bootOrder")] pub boot_order: Option, - /// Cache specifies which kvm disk cache mode should be used. Supported values are: CacheNone, CacheWriteThrough. + /// Cache specifies which kvm disk cache mode should be used. + /// Supported values are: CacheNone, CacheWriteThrough. #[serde(default, skip_serializing_if = "Option::is_none")] pub cache: Option, /// Attach a volume as a cdrom to the vmi. #[serde(default, skip_serializing_if = "Option::is_none")] pub cdrom: Option, - /// dedicatedIOThread indicates this disk should have an exclusive IO Thread. Enabling this implies useIOThreads = true. Defaults to false. + /// dedicatedIOThread indicates this disk should have an exclusive IO Thread. + /// Enabling this implies useIOThreads = true. + /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dedicatedIOThread")] pub dedicated_io_thread: Option, /// Attach a volume as a disk to the vmi. #[serde(default, skip_serializing_if = "Option::is_none")] pub disk: Option, - /// IO specifies which QEMU disk IO mode should be used. Supported values are: native, default, threads. + /// If specified, it can change the default error policy (stop) for the disk + #[serde(default, skip_serializing_if = "Option::is_none", rename = "errorPolicy")] + pub error_policy: Option, + /// IO specifies which QEMU disk IO mode should be used. + /// Supported values are: native, default, threads. #[serde(default, skip_serializing_if = "Option::is_none")] pub io: Option, /// Attach a volume as a LUN to the vmi. @@ -1563,7 +2143,8 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesDis /// Represents if a feature is enabled or disabled. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesDisksBlockSizeMatchVolume { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } @@ -1571,13 +2152,17 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesDis /// Attach a volume as a cdrom to the vmi. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesDisksCdrom { - /// Bus indicates the type of disk device to emulate. supported values: virtio, sata, scsi. + /// Bus indicates the type of disk device to emulate. + /// supported values: virtio, sata, scsi. #[serde(default, skip_serializing_if = "Option::is_none")] pub bus: Option, - /// ReadOnly. Defaults to true. + /// ReadOnly. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub readonly: Option, - /// Tray indicates if the tray of the device is open or closed. Allowed values are "open" and "closed". Defaults to closed. + /// Tray indicates if the tray of the device is open or closed. + /// Allowed values are "open" and "closed". + /// Defaults to closed. #[serde(default, skip_serializing_if = "Option::is_none")] pub tray: Option, } @@ -1585,13 +2170,15 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesDis /// Attach a volume as a disk to the vmi. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesDisksDisk { - /// Bus indicates the type of disk device to emulate. supported values: virtio, sata, scsi, usb. + /// Bus indicates the type of disk device to emulate. + /// supported values: virtio, sata, scsi, usb. #[serde(default, skip_serializing_if = "Option::is_none")] pub bus: Option, /// If specified, the virtual disk will be placed on the guests pci address with the specified PCI address. For example: 0000:81:01.10 #[serde(default, skip_serializing_if = "Option::is_none", rename = "pciAddress")] pub pci_address: Option, - /// ReadOnly. Defaults to false. + /// ReadOnly. + /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none")] pub readonly: Option, } @@ -1599,10 +2186,12 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesDis /// Attach a volume as a LUN to the vmi. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesDisksLun { - /// Bus indicates the type of disk device to emulate. supported values: virtio, sata, scsi. + /// Bus indicates the type of disk device to emulate. + /// supported values: virtio, sata, scsi. #[serde(default, skip_serializing_if = "Option::is_none")] pub bus: Option, - /// ReadOnly. Defaults to false. + /// ReadOnly. + /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none")] pub readonly: Option, /// Reservation indicates if the disk needs to support the persistent reservation for the SCSI disk @@ -1610,6 +2199,11 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesDis pub reservation: Option, } +/// DownwardMetrics creates a virtio serials for exposing the downward metrics to the vmi. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesDownwardMetrics { +} + #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesFilesystems { /// Name is the device name @@ -1644,18 +2238,22 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesGpu #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesGpusVirtualGpuOptionsDisplay { - /// Enabled determines if a display addapter backed by a vGPU should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if a display addapter backed by a vGPU should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, - /// Enables a boot framebuffer, until the guest OS loads a real GPU driver Defaults to true. + /// Enables a boot framebuffer, until the guest OS loads a real GPU driver + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ramFB")] pub ram_fb: Option, } -/// Enables a boot framebuffer, until the guest OS loads a real GPU driver Defaults to true. +/// Enables a boot framebuffer, until the guest OS loads a real GPU driver +/// Defaults to true. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesGpusVirtualGpuOptionsDisplayRamFb { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } @@ -1673,22 +2271,34 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesHos #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesInputs { - /// Bus indicates the bus of input device to emulate. Supported values: virtio, usb. + /// Bus indicates the bus of input device to emulate. + /// Supported values: virtio, usb. #[serde(default, skip_serializing_if = "Option::is_none")] pub bus: Option, /// Name is the device name pub name: String, - /// Type indicated the type of input device. Supported values: tablet. + /// Type indicated the type of input device. + /// Supported values: tablet. #[serde(rename = "type")] pub r#type: String, } #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesInterfaces { - /// If specified, the ACPI index is used to provide network interface device naming, that is stable across changes in PCI addresses assigned to the device. This value is required to be unique across all devices and be between 1 and (16*1024-1). + /// If specified, the ACPI index is used to provide network interface device naming, that is stable across changes + /// in PCI addresses assigned to the device. + /// This value is required to be unique across all devices and be between 1 and (16*1024-1). #[serde(default, skip_serializing_if = "Option::is_none", rename = "acpiIndex")] pub acpi_index: Option, - /// BootOrder is an integer value > 0, used to determine ordering of boot devices. Lower values take precedence. Each interface or disk that has a boot order must have a unique value. Interfaces without a boot order are not tried. + /// Binding specifies the binding plugin that will be used to connect the interface to the guest. + /// It provides an alternative to InterfaceBindingMethod. + /// version: 1alphav1 + #[serde(default, skip_serializing_if = "Option::is_none")] + pub binding: Option, + /// BootOrder is an integer value > 0, used to determine ordering of boot devices. + /// Lower values take precedence. + /// Each interface or disk that has a boot order must have a unique value. + /// Interfaces without a boot order are not tried. #[serde(default, skip_serializing_if = "Option::is_none", rename = "bootOrder")] pub boot_order: Option, /// InterfaceBridge connects to a given network via a linux bridge. @@ -1700,18 +2310,22 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesInt /// Interface MAC address. For example: de:ad:00:00:be:af or DE-AD-00-00-BE-AF. #[serde(default, skip_serializing_if = "Option::is_none", rename = "macAddress")] pub mac_address: Option, - /// InterfaceMacvtap connects to a given network by extending the Kubernetes node's L2 networks via a macvtap interface. + /// Deprecated, please refer to Kubevirt user guide for alternatives. #[serde(default, skip_serializing_if = "Option::is_none")] pub macvtap: Option, /// InterfaceMasquerade connects to a given network using netfilter rules to nat the traffic. #[serde(default, skip_serializing_if = "Option::is_none")] pub masquerade: Option, - /// Interface model. One of: e1000, e1000e, ne2k_pci, pcnet, rtl8139, virtio. Defaults to virtio. TODO:(ihar) switch to enums once opengen-api supports them. See: https://github.com/kubernetes/kube-openapi/issues/51 + /// Interface model. + /// One of: e1000, e1000e, ne2k_pci, pcnet, rtl8139, virtio. + /// Defaults to virtio. + /// TODO:(ihar) switch to enums once opengen-api supports them. See: https://github.com/kubernetes/kube-openapi/issues/51 #[serde(default, skip_serializing_if = "Option::is_none")] pub model: Option, - /// Logical name of the interface as well as a reference to the associated networks. Must match the Name of a Network. + /// Logical name of the interface as well as a reference to the associated networks. + /// Must match the Name of a Network. pub name: String, - /// InterfacePasst connects to a given network. + /// Deprecated, please refer to Kubevirt user guide for alternatives. #[serde(default, skip_serializing_if = "Option::is_none")] pub passt: Option, /// If specified, the virtual network interface will be placed on the guests pci address with the specified PCI address. For example: 0000:81:01.10 @@ -1726,7 +2340,8 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesInt /// InterfaceSRIOV connects to a given network by passing-through an SR-IOV PCI device via vfio. #[serde(default, skip_serializing_if = "Option::is_none")] pub sriov: Option, - /// State represents the requested operational state of the interface. The (only) value supported is `absent`, expressing a request to remove the interface. + /// State represents the requested operational state of the interface. + /// The (only) value supported is `absent`, expressing a request to remove the interface. #[serde(default, skip_serializing_if = "Option::is_none")] pub state: Option, /// If specified, the virtual network interface address and its tag will be provided to the guest via config drive @@ -1734,6 +2349,16 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesInt pub tag: Option, } +/// Binding specifies the binding plugin that will be used to connect the interface to the guest. +/// It provides an alternative to InterfaceBindingMethod. +/// version: 1alphav1 +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesInterfacesBinding { + /// Name references to the binding name as denined in the kubevirt CR. + /// version: 1alphav1 + pub name: String, +} + /// InterfaceBridge connects to a given network via a linux bridge. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesInterfacesBridge { @@ -1759,13 +2384,15 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesInt /// DHCPExtraOptions defines Extra DHCP options for a VM. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesInterfacesDhcpOptionsPrivateOptions { - /// Option is an Integer value from 224-254 Required. + /// Option is an Integer value from 224-254 + /// Required. pub option: i64, - /// Value is a String value for the Option provided Required. + /// Value is a String value for the Option provided + /// Required. pub value: String, } -/// InterfaceMacvtap connects to a given network by extending the Kubernetes node's L2 networks via a macvtap interface. +/// Deprecated, please refer to Kubevirt user guide for alternatives. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesInterfacesMacvtap { } @@ -1775,20 +2402,26 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesInt pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesInterfacesMasquerade { } -/// InterfacePasst connects to a given network. +/// Deprecated, please refer to Kubevirt user guide for alternatives. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesInterfacesPasst { } -/// Port represents a port to expose from the virtual machine. Default protocol TCP. The port field is mandatory +/// Port represents a port to expose from the virtual machine. +/// Default protocol TCP. +/// The port field is mandatory #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesInterfacesPorts { - /// If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services. + /// If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + /// named port in a pod must have a unique name. Name for the port that can be + /// referred to by services. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, - /// Number of port to expose for the virtual machine. This must be a valid port number, 0 < x < 65536. + /// Number of port to expose for the virtual machine. + /// This must be a valid port number, 0 < x < 65536. pub port: i32, - /// Protocol for port. Must be UDP or TCP. Defaults to "TCP". + /// Protocol for port. Must be UDP or TCP. + /// Defaults to "TCP". #[serde(default, skip_serializing_if = "Option::is_none")] pub protocol: Option, } @@ -1811,7 +2444,9 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesRng /// Whether to emulate a sound device. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesSound { - /// We only support ich9 or ac97. If SoundDevice is not set: No sound card is emulated. If SoundDevice is set but Model is not: ich9 + /// We only support ich9 or ac97. + /// If SoundDevice is not set: No sound card is emulated. + /// If SoundDevice is set but Model is not: ich9 #[serde(default, skip_serializing_if = "Option::is_none")] pub model: Option, /// User's defined name for this sound device @@ -1821,7 +2456,8 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesSou /// Whether to emulate a TPM device. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesTpm { - /// Persistent indicates the state of the TPM device should be kept accross reboots Defaults to false + /// Persistent indicates the state of the TPM device should be kept accross reboots + /// Defaults to false #[serde(default, skip_serializing_if = "Option::is_none")] pub persistent: Option, } @@ -1839,7 +2475,8 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesWat /// i6300esb watchdog device. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesWatchdogI6300esb { - /// The action to take. Valid values are poweroff, reset, shutdown. Defaults to reset. + /// The action to take. Valid values are poweroff, reset, shutdown. + /// Defaults to reset. #[serde(default, skip_serializing_if = "Option::is_none")] pub action: Option, } @@ -1847,7 +2484,8 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainDevicesWat /// Features like acpi, apic, hyperv, smm. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeatures { - /// ACPI enables/disables ACPI inside the guest. Defaults to enabled. + /// ACPI enables/disables ACPI inside the guest. + /// Defaults to enabled. #[serde(default, skip_serializing_if = "Option::is_none")] pub acpi: Option, /// Defaults to the machine type setting. @@ -1859,18 +2497,22 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeatures { /// Configure how KVM presence is exposed to the guest. #[serde(default, skip_serializing_if = "Option::is_none")] pub kvm: Option, - /// Notify the guest that the host supports paravirtual spinlocks. For older kernels this feature should be explicitly disabled. + /// Notify the guest that the host supports paravirtual spinlocks. + /// For older kernels this feature should be explicitly disabled. #[serde(default, skip_serializing_if = "Option::is_none")] pub pvspinlock: Option, - /// SMM enables/disables System Management Mode. TSEG not yet implemented. + /// SMM enables/disables System Management Mode. + /// TSEG not yet implemented. #[serde(default, skip_serializing_if = "Option::is_none")] pub smm: Option, } -/// ACPI enables/disables ACPI inside the guest. Defaults to enabled. +/// ACPI enables/disables ACPI inside the guest. +/// Defaults to enabled. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesAcpi { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } @@ -1878,10 +2520,12 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesAc /// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesApic { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, - /// EndOfInterrupt enables the end of interrupt notification in the guest. Defaults to false. + /// EndOfInterrupt enables the end of interrupt notification in the guest. + /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "endOfInterrupt")] pub end_of_interrupt: Option, } @@ -1889,102 +2533,129 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesAp /// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHyperv { - /// EVMCS Speeds up L2 vmexits, but disables other virtualization features. Requires vapic. Defaults to the machine type setting. + /// EVMCS Speeds up L2 vmexits, but disables other virtualization features. Requires vapic. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub evmcs: Option, - /// Frequencies improves the TSC clock source handling for Hyper-V on KVM. Defaults to the machine type setting. + /// Frequencies improves the TSC clock source handling for Hyper-V on KVM. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub frequencies: Option, - /// IPI improves performances in overcommited environments. Requires vpindex. Defaults to the machine type setting. + /// IPI improves performances in overcommited environments. Requires vpindex. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub ipi: Option, - /// Reenlightenment enables the notifications on TSC frequency changes. Defaults to the machine type setting. + /// Reenlightenment enables the notifications on TSC frequency changes. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub reenlightenment: Option, - /// Relaxed instructs the guest OS to disable watchdog timeouts. Defaults to the machine type setting. + /// Relaxed instructs the guest OS to disable watchdog timeouts. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub relaxed: Option, - /// Reset enables Hyperv reboot/reset for the vmi. Requires synic. Defaults to the machine type setting. + /// Reset enables Hyperv reboot/reset for the vmi. Requires synic. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub reset: Option, - /// Runtime improves the time accounting to improve scheduling in the guest. Defaults to the machine type setting. + /// Runtime improves the time accounting to improve scheduling in the guest. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub runtime: Option, /// Spinlocks allows to configure the spinlock retry attempts. #[serde(default, skip_serializing_if = "Option::is_none")] pub spinlocks: Option, - /// SyNIC enables the Synthetic Interrupt Controller. Defaults to the machine type setting. + /// SyNIC enables the Synthetic Interrupt Controller. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub synic: Option, - /// SyNICTimer enables Synthetic Interrupt Controller Timers, reducing CPU load. Defaults to the machine type setting. + /// SyNICTimer enables Synthetic Interrupt Controller Timers, reducing CPU load. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub synictimer: Option, - /// TLBFlush improves performances in overcommited environments. Requires vpindex. Defaults to the machine type setting. + /// TLBFlush improves performances in overcommited environments. Requires vpindex. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub tlbflush: Option, - /// VAPIC improves the paravirtualized handling of interrupts. Defaults to the machine type setting. + /// VAPIC improves the paravirtualized handling of interrupts. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub vapic: Option, - /// VendorID allows setting the hypervisor vendor id. Defaults to the machine type setting. + /// VendorID allows setting the hypervisor vendor id. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub vendorid: Option, - /// VPIndex enables the Virtual Processor Index to help windows identifying virtual processors. Defaults to the machine type setting. + /// VPIndex enables the Virtual Processor Index to help windows identifying virtual processors. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub vpindex: Option, } -/// EVMCS Speeds up L2 vmexits, but disables other virtualization features. Requires vapic. Defaults to the machine type setting. +/// EVMCS Speeds up L2 vmexits, but disables other virtualization features. Requires vapic. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervEvmcs { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -/// Frequencies improves the TSC clock source handling for Hyper-V on KVM. Defaults to the machine type setting. +/// Frequencies improves the TSC clock source handling for Hyper-V on KVM. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervFrequencies { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -/// IPI improves performances in overcommited environments. Requires vpindex. Defaults to the machine type setting. +/// IPI improves performances in overcommited environments. Requires vpindex. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervIpi { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -/// Reenlightenment enables the notifications on TSC frequency changes. Defaults to the machine type setting. +/// Reenlightenment enables the notifications on TSC frequency changes. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervReenlightenment { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -/// Relaxed instructs the guest OS to disable watchdog timeouts. Defaults to the machine type setting. +/// Relaxed instructs the guest OS to disable watchdog timeouts. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervRelaxed { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -/// Reset enables Hyperv reboot/reset for the vmi. Requires synic. Defaults to the machine type setting. +/// Reset enables Hyperv reboot/reset for the vmi. Requires synic. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervReset { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -/// Runtime improves the time accounting to improve scheduling in the guest. Defaults to the machine type setting. +/// Runtime improves the time accounting to improve scheduling in the guest. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervRuntime { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } @@ -1992,23 +2663,29 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHy /// Spinlocks allows to configure the spinlock retry attempts. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervSpinlocks { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, - /// Retries indicates the number of retries. Must be a value greater or equal 4096. Defaults to 4096. + /// Retries indicates the number of retries. + /// Must be a value greater or equal 4096. + /// Defaults to 4096. #[serde(default, skip_serializing_if = "Option::is_none")] pub spinlocks: Option, } -/// SyNIC enables the Synthetic Interrupt Controller. Defaults to the machine type setting. +/// SyNIC enables the Synthetic Interrupt Controller. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervSynic { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -/// SyNICTimer enables Synthetic Interrupt Controller Timers, reducing CPU load. Defaults to the machine type setting. +/// SyNICTimer enables Synthetic Interrupt Controller Timers, reducing CPU load. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervSynictimer { /// Represents if a feature is enabled or disabled. @@ -2021,42 +2698,52 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHy /// Represents if a feature is enabled or disabled. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervSynictimerDirect { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -/// TLBFlush improves performances in overcommited environments. Requires vpindex. Defaults to the machine type setting. +/// TLBFlush improves performances in overcommited environments. Requires vpindex. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervTlbflush { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -/// VAPIC improves the paravirtualized handling of interrupts. Defaults to the machine type setting. +/// VAPIC improves the paravirtualized handling of interrupts. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervVapic { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -/// VendorID allows setting the hypervisor vendor id. Defaults to the machine type setting. +/// VendorID allows setting the hypervisor vendor id. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervVendorid { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, - /// VendorID sets the hypervisor vendor id, visible to the vmi. String up to twelve characters. + /// VendorID sets the hypervisor vendor id, visible to the vmi. + /// String up to twelve characters. #[serde(default, skip_serializing_if = "Option::is_none")] pub vendorid: Option, } -/// VPIndex enables the Virtual Processor Index to help windows identifying virtual processors. Defaults to the machine type setting. +/// VPIndex enables the Virtual Processor Index to help windows identifying virtual processors. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervVpindex { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } @@ -2064,23 +2751,28 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHy /// Configure how KVM presence is exposed to the guest. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesKvm { - /// Hide the KVM hypervisor from standard MSR based discovery. Defaults to false + /// Hide the KVM hypervisor from standard MSR based discovery. + /// Defaults to false #[serde(default, skip_serializing_if = "Option::is_none")] pub hidden: Option, } -/// Notify the guest that the host supports paravirtual spinlocks. For older kernels this feature should be explicitly disabled. +/// Notify the guest that the host supports paravirtual spinlocks. +/// For older kernels this feature should be explicitly disabled. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesPvspinlock { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -/// SMM enables/disables System Management Mode. TSEG not yet implemented. +/// SMM enables/disables System Management Mode. +/// TSEG not yet implemented. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesSmm { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } @@ -2088,6 +2780,9 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFeaturesSm /// Firmware. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFirmware { + /// Information that can be set in the ACPI table + #[serde(default, skip_serializing_if = "Option::is_none")] + pub acpi: Option, /// Settings to control the bootloader that is used. #[serde(default, skip_serializing_if = "Option::is_none")] pub bootloader: Option, @@ -2097,11 +2792,22 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFirmware { /// The system-serial-number in SMBIOS #[serde(default, skip_serializing_if = "Option::is_none")] pub serial: Option, - /// UUID reported by the vmi bios. Defaults to a random generated uid. + /// UUID reported by the vmi bios. + /// Defaults to a random generated uid. #[serde(default, skip_serializing_if = "Option::is_none")] pub uuid: Option, } +/// Information that can be set in the ACPI table +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFirmwareAcpi { + /// SlicNameRef should match the volume name of a secret object. The data in the secret should + /// be a binary blob that follows the ACPI SLIC standard, see: + /// https://learn.microsoft.com/en-us/previous-versions/windows/hardware/design/dn653305(v=vs.85) + #[serde(default, skip_serializing_if = "Option::is_none", rename = "slicNameRef")] + pub slic_name_ref: Option, +} + /// Settings to control the bootloader that is used. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFirmwareBootloader { @@ -2124,7 +2830,14 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFirmwareBo /// If set, EFI will be used instead of BIOS. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFirmwareBootloaderEfi { - /// If set, SecureBoot will be enabled and the OVMF roms will be swapped for SecureBoot-enabled ones. Requires SMM to be enabled. Defaults to true + /// If set to true, Persistent will persist the EFI NVRAM across reboots. + /// Defaults to false + #[serde(default, skip_serializing_if = "Option::is_none")] + pub persistent: Option, + /// If set, SecureBoot will be enabled and the OVMF roms will be swapped for + /// SecureBoot-enabled ones. + /// Requires SMM to be enabled. + /// Defaults to true #[serde(default, skip_serializing_if = "Option::is_none", rename = "secureBoot")] pub secure_boot: Option, } @@ -2145,7 +2858,11 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFirmwareKe pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainFirmwareKernelBootContainer { /// Image that contains initrd / kernel files. pub image: String, - /// Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images + /// Image pull policy. + /// One of Always, Never, IfNotPresent. + /// Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + /// Cannot be updated. + /// More info: https://kubernetes.io/docs/concepts/containers/images#updating-images #[serde(default, skip_serializing_if = "Option::is_none", rename = "imagePullPolicy")] pub image_pull_policy: Option, /// ImagePullSecret is the name of the Docker registry secret required to pull the image. The secret must already exist. @@ -2170,15 +2887,32 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainLaunchSecu /// AMD Secure Encrypted Virtualization (SEV). #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainLaunchSecuritySev { - /// Guest policy flags as defined in AMD SEV API specification. Note: due to security reasons it is not allowed to enable guest debugging. Therefore NoDebug flag is not exposed to users and is always true. + /// If specified, run the attestation process for a vmi. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub attestation: Option, + /// Base64 encoded guest owner's Diffie-Hellman key. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "dhCert")] + pub dh_cert: Option, + /// Guest policy flags as defined in AMD SEV API specification. + /// Note: due to security reasons it is not allowed to enable guest debugging. Therefore NoDebug flag is not exposed to users and is always true. #[serde(default, skip_serializing_if = "Option::is_none")] pub policy: Option, + /// Base64 encoded session blob. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub session: Option, +} + +/// If specified, run the attestation process for a vmi. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainLaunchSecuritySevAttestation { } -/// Guest policy flags as defined in AMD SEV API specification. Note: due to security reasons it is not allowed to enable guest debugging. Therefore NoDebug flag is not exposed to users and is always true. +/// Guest policy flags as defined in AMD SEV API specification. +/// Note: due to security reasons it is not allowed to enable guest debugging. Therefore NoDebug flag is not exposed to users and is always true. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainLaunchSecuritySevPolicy { - /// SEV-ES is required. Defaults to false. + /// SEV-ES is required. + /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "encryptedState")] pub encrypted_state: Option, } @@ -2194,12 +2928,18 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainMachine { /// Memory allow specifying the VMI memory features. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainMemory { - /// Guest allows to specifying the amount of memory which is visible inside the Guest OS. The Guest must lie between Requests and Limits from the resources section. Defaults to the requested memory in the resources section if not specified. + /// Guest allows to specifying the amount of memory which is visible inside the Guest OS. + /// The Guest must lie between Requests and Limits from the resources section. + /// Defaults to the requested memory in the resources section if not specified. #[serde(default, skip_serializing_if = "Option::is_none")] pub guest: Option, /// Hugepages allow to use hugepages for the VirtualMachineInstance instead of regular memory. #[serde(default, skip_serializing_if = "Option::is_none")] pub hugepages: Option, + /// MaxGuest allows to specify the maximum amount of memory which is visible inside the Guest OS. + /// The delta between MaxGuest and Guest is the amount of memory that can be hot(un)plugged. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxGuest")] + pub max_guest: Option, } /// Hugepages allow to use hugepages for the VirtualMachineInstance instead of regular memory. @@ -2213,24 +2953,34 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainMemoryHuge /// Resources describes the Compute Resources required by this vmi. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecDomainResources { - /// Limits describes the maximum amount of compute resources allowed. Valid resource keys are "memory" and "cpu". + /// Limits describes the maximum amount of compute resources allowed. + /// Valid resource keys are "memory" and "cpu". #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, - /// Don't ask the scheduler to take the guest-management overhead into account. Instead put the overhead only into the container's memory limit. This can lead to crashes if all memory is in use on a node. Defaults to false. + /// Don't ask the scheduler to take the guest-management overhead into account. Instead + /// put the overhead only into the container's memory limit. This can lead to crashes if + /// all memory is in use on a node. Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "overcommitGuestOverhead")] pub overcommit_guest_overhead: Option, - /// Requests is a description of the initial vmi resources. Valid resource keys are "memory" and "cpu". + /// Requests is a description of the initial vmi resources. + /// Valid resource keys are "memory" and "cpu". #[serde(default, skip_serializing_if = "Option::is_none")] pub requests: Option>, } -/// Periodic probe of VirtualMachineInstance liveness. VirtualmachineInstances will be stopped if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +/// Periodic probe of VirtualMachineInstance liveness. +/// VirtualmachineInstances will be stopped if the probe fails. +/// Cannot be updated. +/// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecLivenessProbe { - /// One and only one of the following should be specified. Exec specifies the action to take, it will be executed on the guest through the qemu-guest-agent. If the guest agent is not available, this probe will fail. + /// One and only one of the following should be specified. + /// Exec specifies the action to take, it will be executed on the guest through the qemu-guest-agent. + /// If the guest agent is not available, this probe will fail. #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, - /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. + /// Minimum consecutive failures for the probe to be considered failed after having succeeded. + /// Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] pub failure_threshold: Option, /// GuestAgentPing contacts the qemu-guest-agent for availability checks. @@ -2239,27 +2989,44 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecLivenessProbe { /// HTTPGet specifies the http request to perform. #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpGet")] pub http_get: Option, - /// Number of seconds after the VirtualMachineInstance has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + /// Number of seconds after the VirtualMachineInstance has started before liveness probes are initiated. + /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes #[serde(default, skip_serializing_if = "Option::is_none", rename = "initialDelaySeconds")] pub initial_delay_seconds: Option, - /// How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. + /// How often (in seconds) to perform the probe. + /// Default to 10 seconds. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "periodSeconds")] pub period_seconds: Option, - /// Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1. + /// Minimum consecutive successes for the probe to be considered successful after having failed. + /// Defaults to 1. Must be 1 for liveness. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "successThreshold")] pub success_threshold: Option, - /// TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported TODO: implement a realistic TCP lifecycle hook + /// TCPSocket specifies an action involving a TCP port. + /// TCP hooks not yet supported + /// TODO: implement a realistic TCP lifecycle hook #[serde(default, skip_serializing_if = "Option::is_none", rename = "tcpSocket")] pub tcp_socket: Option, - /// Number of seconds after which the probe times out. For exec probes the timeout fails the probe but does not terminate the command running on the guest. This means a blocking command can result in an increasing load on the guest. A small buffer will be added to the resulting workload exec probe to compensate for delays caused by the qemu guest exec mechanism. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + /// Number of seconds after which the probe times out. + /// For exec probes the timeout fails the probe but does not terminate the command running on the guest. + /// This means a blocking command can result in an increasing load on the guest. + /// A small buffer will be added to the resulting workload exec probe to compensate for delays + /// caused by the qemu guest exec mechanism. + /// Defaults to 1 second. Minimum value is 1. + /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] pub timeout_seconds: Option, } -/// One and only one of the following should be specified. Exec specifies the action to take, it will be executed on the guest through the qemu-guest-agent. If the guest agent is not available, this probe will fail. +/// One and only one of the following should be specified. +/// Exec specifies the action to take, it will be executed on the guest through the qemu-guest-agent. +/// If the guest agent is not available, this probe will fail. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecLivenessProbeExec { - /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. + /// Command is the command line to execute inside the container, the working directory for the + /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is + /// not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + /// a shell, you need to explicitly call out to that shell. + /// Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } @@ -2272,7 +3039,8 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecLivenessProbeGue /// HTTPGet specifies the http request to perform. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecLivenessProbeHttpGet { - /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. + /// Host name to connect to, defaults to the pod IP. You probably want to set + /// "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, /// Custom headers to set in the request. HTTP allows repeated headers. @@ -2281,9 +3049,12 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecLivenessProbeHtt /// Path to access on the HTTP server. #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, - /// Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. + /// Name or number of the port to access on the container. + /// Number must be in the range 1 to 65535. + /// Name must be an IANA_SVC_NAME. pub port: IntOrString, - /// Scheme to use for connecting to the host. Defaults to HTTP. + /// Scheme to use for connecting to the host. + /// Defaults to HTTP. #[serde(default, skip_serializing_if = "Option::is_none")] pub scheme: Option, } @@ -2291,19 +3062,24 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecLivenessProbeHtt /// HTTPHeader describes a custom header to be used in HTTP probes #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecLivenessProbeHttpGetHttpHeaders { - /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. + /// The header field name. + /// This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, /// The header field value pub value: String, } -/// TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported TODO: implement a realistic TCP lifecycle hook +/// TCPSocket specifies an action involving a TCP port. +/// TCP hooks not yet supported +/// TODO: implement a realistic TCP lifecycle hook #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, - /// Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. + /// Number or name of the port to access on the container. + /// Number must be in the range 1 to 65535. + /// Name must be an IANA_SVC_NAME. pub port: IntOrString, } @@ -2313,7 +3089,9 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecNetworks { /// Represents the multus cni network. #[serde(default, skip_serializing_if = "Option::is_none")] pub multus: Option, - /// Network name. Must be a DNS_LABEL and unique within the vm. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// Network name. + /// Must be a DNS_LABEL and unique within the vm. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names pub name: String, /// Represents the stock pod network interface. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2323,10 +3101,13 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecNetworks { /// Represents the multus cni network. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecNetworksMultus { - /// Select the default network and add it to the multus-cni.io/default-network annotation. + /// Select the default network and add it to the + /// multus-cni.io/default-network annotation. #[serde(default, skip_serializing_if = "Option::is_none")] pub default: Option, - /// References to a NetworkAttachmentDefinition CRD object. Format: , /. If namespace is not specified, VMI namespace is assumed. + /// References to a NetworkAttachmentDefinition CRD object. Format: + /// , /. If namespace is not + /// specified, VMI namespace is assumed. #[serde(rename = "networkName")] pub network_name: String, } @@ -2334,21 +3115,29 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecNetworksMultus { /// Represents the stock pod network interface. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecNetworksPod { - /// IPv6 CIDR for the vm network. Defaults to fd10:0:2::/120 if not specified. + /// IPv6 CIDR for the vm network. + /// Defaults to fd10:0:2::/120 if not specified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "vmIPv6NetworkCIDR")] pub vm_i_pv6_network_cidr: Option, - /// CIDR for vm network. Default 10.0.2.0/24 if not specified. + /// CIDR for vm network. + /// Default 10.0.2.0/24 if not specified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "vmNetworkCIDR")] pub vm_network_cidr: Option, } -/// Periodic probe of VirtualMachineInstance service readiness. VirtualmachineInstances will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +/// Periodic probe of VirtualMachineInstance service readiness. +/// VirtualmachineInstances will be removed from service endpoints if the probe fails. +/// Cannot be updated. +/// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecReadinessProbe { - /// One and only one of the following should be specified. Exec specifies the action to take, it will be executed on the guest through the qemu-guest-agent. If the guest agent is not available, this probe will fail. + /// One and only one of the following should be specified. + /// Exec specifies the action to take, it will be executed on the guest through the qemu-guest-agent. + /// If the guest agent is not available, this probe will fail. #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, - /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. + /// Minimum consecutive failures for the probe to be considered failed after having succeeded. + /// Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] pub failure_threshold: Option, /// GuestAgentPing contacts the qemu-guest-agent for availability checks. @@ -2357,27 +3146,44 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecReadinessProbe { /// HTTPGet specifies the http request to perform. #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpGet")] pub http_get: Option, - /// Number of seconds after the VirtualMachineInstance has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + /// Number of seconds after the VirtualMachineInstance has started before liveness probes are initiated. + /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes #[serde(default, skip_serializing_if = "Option::is_none", rename = "initialDelaySeconds")] pub initial_delay_seconds: Option, - /// How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. + /// How often (in seconds) to perform the probe. + /// Default to 10 seconds. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "periodSeconds")] pub period_seconds: Option, - /// Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1. + /// Minimum consecutive successes for the probe to be considered successful after having failed. + /// Defaults to 1. Must be 1 for liveness. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "successThreshold")] pub success_threshold: Option, - /// TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported TODO: implement a realistic TCP lifecycle hook + /// TCPSocket specifies an action involving a TCP port. + /// TCP hooks not yet supported + /// TODO: implement a realistic TCP lifecycle hook #[serde(default, skip_serializing_if = "Option::is_none", rename = "tcpSocket")] pub tcp_socket: Option, - /// Number of seconds after which the probe times out. For exec probes the timeout fails the probe but does not terminate the command running on the guest. This means a blocking command can result in an increasing load on the guest. A small buffer will be added to the resulting workload exec probe to compensate for delays caused by the qemu guest exec mechanism. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + /// Number of seconds after which the probe times out. + /// For exec probes the timeout fails the probe but does not terminate the command running on the guest. + /// This means a blocking command can result in an increasing load on the guest. + /// A small buffer will be added to the resulting workload exec probe to compensate for delays + /// caused by the qemu guest exec mechanism. + /// Defaults to 1 second. Minimum value is 1. + /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] pub timeout_seconds: Option, } -/// One and only one of the following should be specified. Exec specifies the action to take, it will be executed on the guest through the qemu-guest-agent. If the guest agent is not available, this probe will fail. +/// One and only one of the following should be specified. +/// Exec specifies the action to take, it will be executed on the guest through the qemu-guest-agent. +/// If the guest agent is not available, this probe will fail. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecReadinessProbeExec { - /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. + /// Command is the command line to execute inside the container, the working directory for the + /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is + /// not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + /// a shell, you need to explicitly call out to that shell. + /// Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } @@ -2390,7 +3196,8 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecReadinessProbeGu /// HTTPGet specifies the http request to perform. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecReadinessProbeHttpGet { - /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. + /// Host name to connect to, defaults to the pod IP. You probably want to set + /// "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, /// Custom headers to set in the request. HTTP allows repeated headers. @@ -2399,9 +3206,12 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecReadinessProbeHt /// Path to access on the HTTP server. #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, - /// Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. + /// Name or number of the port to access on the container. + /// Number must be in the range 1 to 65535. + /// Name must be an IANA_SVC_NAME. pub port: IntOrString, - /// Scheme to use for connecting to the host. Defaults to HTTP. + /// Scheme to use for connecting to the host. + /// Defaults to HTTP. #[serde(default, skip_serializing_if = "Option::is_none")] pub scheme: Option, } @@ -2409,38 +3219,53 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecReadinessProbeHt /// HTTPHeader describes a custom header to be used in HTTP probes #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecReadinessProbeHttpGetHttpHeaders { - /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. + /// The header field name. + /// This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, /// The header field value pub value: String, } -/// TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported TODO: implement a realistic TCP lifecycle hook +/// TCPSocket specifies an action involving a TCP port. +/// TCP hooks not yet supported +/// TODO: implement a realistic TCP lifecycle hook #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, - /// Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. + /// Number or name of the port to access on the container. + /// Number must be in the range 1 to 65535. + /// Name must be an IANA_SVC_NAME. pub port: IntOrString, } -/// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . +/// The pod this Toleration is attached to tolerates any taint that matches +/// the triple using the matching operator . #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecTolerations { - /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. + /// Effect indicates the taint effect to match. Empty means match all taint effects. + /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, - /// Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. + /// Key is the taint key that the toleration applies to. Empty means match all taint keys. + /// If the key is empty, operator must be Exists; this combination means to match all values and all keys. #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, - /// Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category. + /// Operator represents a key's relationship to the value. + /// Valid operators are Exists and Equal. Defaults to Equal. + /// Exists is equivalent to wildcard for value, so that a pod can + /// tolerate all taints of a particular category. #[serde(default, skip_serializing_if = "Option::is_none")] pub operator: Option, - /// TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. + /// TolerationSeconds represents the period of time the toleration (which must be + /// of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, + /// it is not set, which means tolerate the taint forever (do not evict). Zero and + /// negative values will be treated as 0 (evict immediately) by the system. #[serde(default, skip_serializing_if = "Option::is_none", rename = "tolerationSeconds")] pub toleration_seconds: Option, - /// Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. + /// Value is the taint value the toleration matches to. + /// If the operator is Exists, the value should be empty, otherwise just a regular string. #[serde(default, skip_serializing_if = "Option::is_none")] pub value: Option, } @@ -2448,56 +3273,148 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecTolerations { /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecTopologySpreadConstraints { - /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. + /// LabelSelector is used to find matching pods. + /// Pods that match this label selector are counted to determine the number of pods + /// in their corresponding topology domain. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, - /// MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn't set. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector. - /// This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default). + /// MatchLabelKeys is a set of pod label keys to select the pods over which + /// spreading will be calculated. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are ANDed with labelSelector + /// to select the group of existing pods over which spreading will be calculated + /// for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. + /// MatchLabelKeys cannot be set when LabelSelector isn't set. + /// Keys that don't exist in the incoming pod labels will + /// be ignored. A null or empty list means only match against labelSelector. + /// + /// + /// This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default). #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, - /// MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | | P P | P P | P | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed. + /// MaxSkew describes the degree to which pods may be unevenly distributed. + /// When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference + /// between the number of matching pods in the target topology and the global minimum. + /// The global minimum is the minimum number of matching pods in an eligible domain + /// or zero if the number of eligible domains is less than MinDomains. + /// For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same + /// labelSelector spread as 2/2/1: + /// In this case, the global minimum is 1. + /// | zone1 | zone2 | zone3 | + /// | P P | P P | P | + /// - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; + /// scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) + /// violate MaxSkew(1). + /// - if MaxSkew is 2, incoming pod can be scheduled onto any zone. + /// When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence + /// to topologies that satisfy it. + /// It's a required field. Default value is 1 and 0 is not allowed. #[serde(rename = "maxSkew")] pub max_skew: i32, - /// MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats "global minimum" as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won't schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule. - /// For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: | zone1 | zone2 | zone3 | | P P | P P | P P | The number of domains is less than 5(MinDomains), so "global minimum" is treated as 0. In this situation, new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate MaxSkew. - /// This is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default). + /// MinDomains indicates a minimum number of eligible domains. + /// When the number of eligible domains with matching topology keys is less than minDomains, + /// Pod Topology Spread treats "global minimum" as 0, and then the calculation of Skew is performed. + /// And when the number of eligible domains with matching topology keys equals or greater than minDomains, + /// this value has no effect on scheduling. + /// As a result, when the number of eligible domains is less than minDomains, + /// scheduler won't schedule more than maxSkew Pods to those domains. + /// If value is nil, the constraint behaves as if MinDomains is equal to 1. + /// Valid values are integers greater than 0. + /// When value is not nil, WhenUnsatisfiable must be DoNotSchedule. + /// + /// + /// For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same + /// labelSelector spread as 2/2/2: + /// | zone1 | zone2 | zone3 | + /// | P P | P P | P P | + /// The number of domains is less than 5(MinDomains), so "global minimum" is treated as 0. + /// In this situation, new pod with the same labelSelector cannot be scheduled, + /// because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, + /// it will violate MaxSkew. #[serde(default, skip_serializing_if = "Option::is_none", rename = "minDomains")] pub min_domains: Option, - /// NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations. - /// If this value is nil, the behavior is equivalent to the Honor policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. + /// NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector + /// when calculating pod topology spread skew. Options are: + /// - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. + /// - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations. + /// + /// + /// If this value is nil, the behavior is equivalent to the Honor policy. + /// This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinityPolicy")] pub node_affinity_policy: Option, - /// NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included. - /// If this value is nil, the behavior is equivalent to the Ignore policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. + /// NodeTaintsPolicy indicates how we will treat node taints when calculating + /// pod topology spread skew. Options are: + /// - Honor: nodes without taints, along with tainted nodes for which the incoming pod + /// has a toleration, are included. + /// - Ignore: node taints are ignored. All nodes are included. + /// + /// + /// If this value is nil, the behavior is equivalent to the Ignore policy. + /// This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeTaintsPolicy")] pub node_taints_policy: Option, - /// TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a "bucket", and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes meet the requirements of nodeAffinityPolicy and nodeTaintsPolicy. e.g. If TopologyKey is "kubernetes.io/hostname", each Node is a domain of that topology. And, if TopologyKey is "topology.kubernetes.io/zone", each zone is a domain of that topology. It's a required field. + /// TopologyKey is the key of node labels. Nodes that have a label with this key + /// and identical values are considered to be in the same topology. + /// We consider each as a "bucket", and try to put balanced number + /// of pods into each bucket. + /// We define a domain as a particular instance of a topology. + /// Also, we define an eligible domain as a domain whose nodes meet the requirements of + /// nodeAffinityPolicy and nodeTaintsPolicy. + /// e.g. If TopologyKey is "kubernetes.io/hostname", each Node is a domain of that topology. + /// And, if TopologyKey is "topology.kubernetes.io/zone", each zone is a domain of that topology. + /// It's a required field. #[serde(rename = "topologyKey")] pub topology_key: String, - /// WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location, but giving higher precedence to topologies that would help reduce the skew. A constraint is considered "Unsatisfiable" for an incoming pod if and only if every possible node assignment for that pod would violate "MaxSkew" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field. + /// WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy + /// the spread constraint. + /// - DoNotSchedule (default) tells the scheduler not to schedule it. + /// - ScheduleAnyway tells the scheduler to schedule the pod in any location, + /// but giving higher precedence to topologies that would help reduce the + /// skew. + /// A constraint is considered "Unsatisfiable" for an incoming pod + /// if and only if every possible node assignment for that pod would violate + /// "MaxSkew" on some topology. + /// For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same + /// labelSelector spread as 3/1/1: + /// | zone1 | zone2 | zone3 | + /// | P P P | P | P | + /// If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled + /// to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies + /// MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler + /// won't make it *more* imbalanced. + /// It's a required field. #[serde(rename = "whenUnsatisfiable")] pub when_unsatisfiable: String, } -/// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. +/// LabelSelector is used to find matching pods. +/// Pods that match this label selector are counted to determine the number of pods +/// in their corresponding topology domain. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } @@ -2505,28 +3422,37 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecTopologySpreadCo /// Volume represents a named volume in a vmi. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumes { - /// CloudInitConfigDrive represents a cloud-init Config Drive user-data source. The Config Drive data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. More info: https://cloudinit.readthedocs.io/en/latest/topics/datasources/configdrive.html + /// CloudInitConfigDrive represents a cloud-init Config Drive user-data source. + /// The Config Drive data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. + /// More info: https://cloudinit.readthedocs.io/en/latest/topics/datasources/configdrive.html #[serde(default, skip_serializing_if = "Option::is_none", rename = "cloudInitConfigDrive")] pub cloud_init_config_drive: Option, - /// CloudInitNoCloud represents a cloud-init NoCloud user-data source. The NoCloud data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. More info: http://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html + /// CloudInitNoCloud represents a cloud-init NoCloud user-data source. + /// The NoCloud data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. + /// More info: http://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html #[serde(default, skip_serializing_if = "Option::is_none", rename = "cloudInitNoCloud")] pub cloud_init_no_cloud: Option, - /// ConfigMapSource represents a reference to a ConfigMap in the same namespace. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/ + /// ConfigMapSource represents a reference to a ConfigMap in the same namespace. + /// More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/ #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, - /// ContainerDisk references a docker image, embedding a qcow or raw disk. More info: https://kubevirt.gitbooks.io/user-guide/registry-disk.html + /// ContainerDisk references a docker image, embedding a qcow or raw disk. + /// More info: https://kubevirt.gitbooks.io/user-guide/registry-disk.html #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerDisk")] pub container_disk: Option, - /// DataVolume represents the dynamic creation a PVC for this volume as well as the process of populating that PVC with a disk image. + /// DataVolume represents the dynamic creation a PVC for this volume as well as + /// the process of populating that PVC with a disk image. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dataVolume")] pub data_volume: Option, /// DownwardAPI represents downward API about the pod that should populate this volume #[serde(default, skip_serializing_if = "Option::is_none", rename = "downwardAPI")] pub downward_api: Option, - /// DownwardMetrics adds a very small disk to VMIs which contains a limited view of host and guest metrics. The disk content is compatible with vhostmd (https://github.com/vhostmd/vhostmd) and vm-dump-metrics. + /// DownwardMetrics adds a very small disk to VMIs which contains a limited view of host and guest + /// metrics. The disk content is compatible with vhostmd (https://github.com/vhostmd/vhostmd) and vm-dump-metrics. #[serde(default, skip_serializing_if = "Option::is_none", rename = "downwardMetrics")] pub downward_metrics: Option, - /// EmptyDisk represents a temporary disk which shares the vmis lifecycle. More info: https://kubevirt.gitbooks.io/user-guide/disks-and-volumes.html + /// EmptyDisk represents a temporary disk which shares the vmis lifecycle. + /// More info: https://kubevirt.gitbooks.io/user-guide/disks-and-volumes.html #[serde(default, skip_serializing_if = "Option::is_none", rename = "emptyDisk")] pub empty_disk: Option, /// Ephemeral is a special volume source that "wraps" specified source and provides copy-on-write image on top of it. @@ -2538,15 +3464,22 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumes { /// MemoryDump is attached to the virt launcher and is populated with a memory dump of the vmi #[serde(default, skip_serializing_if = "Option::is_none", rename = "memoryDump")] pub memory_dump: Option, - /// Volume's name. Must be a DNS_LABEL and unique within the vmi. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// Volume's name. + /// Must be a DNS_LABEL and unique within the vmi. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names pub name: String, - /// PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Directly attached to the vmi via qemu. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + /// PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. + /// Directly attached to the vmi via qemu. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(default, skip_serializing_if = "Option::is_none", rename = "persistentVolumeClaim")] pub persistent_volume_claim: Option, - /// SecretVolumeSource represents a reference to a secret data in the same namespace. More info: https://kubernetes.io/docs/concepts/configuration/secret/ + /// SecretVolumeSource represents a reference to a secret data in the same namespace. + /// More info: https://kubernetes.io/docs/concepts/configuration/secret/ #[serde(default, skip_serializing_if = "Option::is_none")] pub secret: Option, - /// ServiceAccountVolumeSource represents a reference to a service account. There can only be one volume of this type! More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ + /// ServiceAccountVolumeSource represents a reference to a service account. + /// There can only be one volume of this type! + /// More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceAccount")] pub service_account: Option, /// Represents a Sysprep volume source. @@ -2554,7 +3487,9 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumes { pub sysprep: Option, } -/// CloudInitConfigDrive represents a cloud-init Config Drive user-data source. The Config Drive data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. More info: https://cloudinit.readthedocs.io/en/latest/topics/datasources/configdrive.html +/// CloudInitConfigDrive represents a cloud-init Config Drive user-data source. +/// The Config Drive data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. +/// More info: https://cloudinit.readthedocs.io/en/latest/topics/datasources/configdrive.html #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesCloudInitConfigDrive { /// NetworkData contains config drive inline cloud-init networkdata. @@ -2580,7 +3515,13 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesCloudInit /// NetworkDataSecretRef references a k8s secret that contains config drive networkdata. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesCloudInitConfigDriveNetworkDataSecretRef { - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. + /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -2588,12 +3529,20 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesCloudInit /// UserDataSecretRef references a k8s secret that contains config drive userdata. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesCloudInitConfigDriveSecretRef { - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. + /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -/// CloudInitNoCloud represents a cloud-init NoCloud user-data source. The NoCloud data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. More info: http://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html +/// CloudInitNoCloud represents a cloud-init NoCloud user-data source. +/// The NoCloud data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. +/// More info: http://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesCloudInitNoCloud { /// NetworkData contains NoCloud inline cloud-init networkdata. @@ -2619,7 +3568,13 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesCloudInit /// NetworkDataSecretRef references a k8s secret that contains NoCloud networkdata. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesCloudInitNoCloudNetworkDataSecretRef { - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. + /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -2627,31 +3582,51 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesCloudInit /// UserDataSecretRef references a k8s secret that contains NoCloud userdata. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesCloudInitNoCloudSecretRef { - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. + /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -/// ConfigMapSource represents a reference to a ConfigMap in the same namespace. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/ +/// ConfigMapSource represents a reference to a ConfigMap in the same namespace. +/// More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/ #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesConfigMap { - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. + /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or it's keys must be defined #[serde(default, skip_serializing_if = "Option::is_none")] pub optional: Option, - /// The volume label of the resulting disk inside the VMI. Different bootstrapping mechanisms require different values. Typical values are "cidata" (cloud-init), "config-2" (cloud-init) or "OEMDRV" (kickstart). + /// The volume label of the resulting disk inside the VMI. + /// Different bootstrapping mechanisms require different values. + /// Typical values are "cidata" (cloud-init), "config-2" (cloud-init) or "OEMDRV" (kickstart). #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeLabel")] pub volume_label: Option, } -/// ContainerDisk references a docker image, embedding a qcow or raw disk. More info: https://kubevirt.gitbooks.io/user-guide/registry-disk.html +/// ContainerDisk references a docker image, embedding a qcow or raw disk. +/// More info: https://kubevirt.gitbooks.io/user-guide/registry-disk.html #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesContainerDisk { /// Image is the name of the image with the embedded disk. pub image: String, - /// Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images + /// Image pull policy. + /// One of Always, Never, IfNotPresent. + /// Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + /// Cannot be updated. + /// More info: https://kubernetes.io/docs/concepts/containers/images#updating-images #[serde(default, skip_serializing_if = "Option::is_none", rename = "imagePullPolicy")] pub image_pull_policy: Option, /// ImagePullSecret is the name of the Docker registry secret required to pull the image. The secret must already exist. @@ -2662,13 +3637,15 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesContainer pub path: Option, } -/// DataVolume represents the dynamic creation a PVC for this volume as well as the process of populating that PVC with a disk image. +/// DataVolume represents the dynamic creation a PVC for this volume as well as +/// the process of populating that PVC with a disk image. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesDataVolume { /// Hotpluggable indicates whether the volume can be hotplugged and hotunplugged. #[serde(default, skip_serializing_if = "Option::is_none")] pub hotpluggable: Option, - /// Name of both the DataVolume and the PVC in the same namespace. After PVC population the DataVolume is garbage collected by default. + /// Name of both the DataVolume and the PVC in the same namespace. + /// After PVC population the DataVolume is garbage collected by default. pub name: String, } @@ -2678,7 +3655,9 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesDownwardA /// Fields is a list of downward API volume file #[serde(default, skip_serializing_if = "Option::is_none")] pub fields: Option>, - /// The volume label of the resulting disk inside the VMI. Different bootstrapping mechanisms require different values. Typical values are "cidata" (cloud-init), "config-2" (cloud-init) or "OEMDRV" (kickstart). + /// The volume label of the resulting disk inside the VMI. + /// Different bootstrapping mechanisms require different values. + /// Typical values are "cidata" (cloud-init), "config-2" (cloud-init) or "OEMDRV" (kickstart). #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeLabel")] pub volume_label: Option, } @@ -2686,20 +3665,26 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesDownwardA /// DownwardAPIVolumeFile represents information to create the file containing the pod field #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesDownwardApiFields { - /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. + /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, - /// Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + /// Optional: mode bits used to set permissions on this file, must be an octal value + /// between 0000 and 0777 or a decimal value between 0 and 511. + /// YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + /// If not specified, the volume defaultMode will be used. + /// This might be in conflict with other options that affect the file + /// mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none")] pub mode: Option, /// Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..' pub path: String, - /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. + /// Selects a resource of the container: only resources limits and requests + /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceFieldRef")] pub resource_field_ref: Option, } -/// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. +/// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesDownwardApiFieldsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -2710,7 +3695,8 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesDownwardA pub field_path: String, } -/// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. +/// Selects a resource of the container: only resources limits and requests +/// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesDownwardApiFieldsResourceFieldRef { /// Container name: required for volumes, optional for env vars @@ -2723,12 +3709,14 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesDownwardA pub resource: String, } -/// DownwardMetrics adds a very small disk to VMIs which contains a limited view of host and guest metrics. The disk content is compatible with vhostmd (https://github.com/vhostmd/vhostmd) and vm-dump-metrics. +/// DownwardMetrics adds a very small disk to VMIs which contains a limited view of host and guest +/// metrics. The disk content is compatible with vhostmd (https://github.com/vhostmd/vhostmd) and vm-dump-metrics. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesDownwardMetrics { } -/// EmptyDisk represents a temporary disk which shares the vmis lifecycle. More info: https://kubevirt.gitbooks.io/user-guide/disks-and-volumes.html +/// EmptyDisk represents a temporary disk which shares the vmis lifecycle. +/// More info: https://kubevirt.gitbooks.io/user-guide/disks-and-volumes.html #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesEmptyDisk { /// Capacity of the sparse disk. @@ -2738,18 +3726,24 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesEmptyDisk /// Ephemeral is a special volume source that "wraps" specified source and provides copy-on-write image on top of it. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesEphemeral { - /// PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Directly attached to the vmi via qemu. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + /// PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. + /// Directly attached to the vmi via qemu. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(default, skip_serializing_if = "Option::is_none", rename = "persistentVolumeClaim")] pub persistent_volume_claim: Option, } -/// PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Directly attached to the vmi via qemu. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims +/// PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. +/// Directly attached to the vmi via qemu. +/// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesEphemeralPersistentVolumeClaim { - /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] pub claim_name: String, - /// readOnly Will force the ReadOnly setting in VolumeMounts. Default false. + /// readOnly Will force the ReadOnly setting in VolumeMounts. + /// Default false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, } @@ -2765,7 +3759,8 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesHostDisk /// Shared indicate whether the path is shared between nodes #[serde(default, skip_serializing_if = "Option::is_none")] pub shared: Option, - /// Contains information if disk.img exists or should be created allowed options are 'Disk' and 'DiskOrCreate' + /// Contains information if disk.img exists or should be created + /// allowed options are 'Disk' and 'DiskOrCreate' #[serde(rename = "type")] pub r#type: String, } @@ -2773,49 +3768,62 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesHostDisk /// MemoryDump is attached to the virt launcher and is populated with a memory dump of the vmi #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesMemoryDump { - /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] pub claim_name: String, /// Hotpluggable indicates whether the volume can be hotplugged and hotunplugged. #[serde(default, skip_serializing_if = "Option::is_none")] pub hotpluggable: Option, - /// readOnly Will force the ReadOnly setting in VolumeMounts. Default false. + /// readOnly Will force the ReadOnly setting in VolumeMounts. + /// Default false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, } -/// PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Directly attached to the vmi via qemu. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims +/// PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. +/// Directly attached to the vmi via qemu. +/// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesPersistentVolumeClaim { - /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] pub claim_name: String, /// Hotpluggable indicates whether the volume can be hotplugged and hotunplugged. #[serde(default, skip_serializing_if = "Option::is_none")] pub hotpluggable: Option, - /// readOnly Will force the ReadOnly setting in VolumeMounts. Default false. + /// readOnly Will force the ReadOnly setting in VolumeMounts. + /// Default false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, } -/// SecretVolumeSource represents a reference to a secret data in the same namespace. More info: https://kubernetes.io/docs/concepts/configuration/secret/ +/// SecretVolumeSource represents a reference to a secret data in the same namespace. +/// More info: https://kubernetes.io/docs/concepts/configuration/secret/ #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesSecret { /// Specify whether the Secret or it's keys must be defined #[serde(default, skip_serializing_if = "Option::is_none")] pub optional: Option, - /// Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret + /// Name of the secret in the pod's namespace to use. + /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretName")] pub secret_name: Option, - /// The volume label of the resulting disk inside the VMI. Different bootstrapping mechanisms require different values. Typical values are "cidata" (cloud-init), "config-2" (cloud-init) or "OEMDRV" (kickstart). + /// The volume label of the resulting disk inside the VMI. + /// Different bootstrapping mechanisms require different values. + /// Typical values are "cidata" (cloud-init), "config-2" (cloud-init) or "OEMDRV" (kickstart). #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeLabel")] pub volume_label: Option, } -/// ServiceAccountVolumeSource represents a reference to a service account. There can only be one volume of this type! More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ +/// ServiceAccountVolumeSource represents a reference to a service account. +/// There can only be one volume of this type! +/// More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesServiceAccount { - /// Name of the service account in the pod's namespace to use. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ + /// Name of the service account in the pod's namespace to use. + /// More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceAccountName")] pub service_account_name: Option, } @@ -2834,7 +3842,13 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesSysprep { /// ConfigMap references a ConfigMap that contains Sysprep answer file named autounattend.xml that should be attached as disk of CDROM type. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesSysprepConfigMap { - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. + /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -2842,7 +3856,13 @@ pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesSysprepCo /// Secret references a k8s Secret that contains Sysprep answer file named autounattend.xml that should be attached as disk of CDROM type. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineVirtualMachineTemplateSpecTemplateSpecVolumesSysprepSecret { - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. + /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -2856,17 +3876,48 @@ pub struct KubevirtMachineStatus { /// Conditions defines current service state of the KubevirtMachine. #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, - /// FailureMessage will be set in the event that there is a terminal problem reconciling the Machine and will contain a more verbose string suitable for logging and human consumption. - /// This field should not be set for transitive errors that a controller faces that are expected to be fixed automatically over time (like service outages), but instead indicate that something is fundamentally wrong with the Machine's spec or the configuration of the controller, and that manual intervention is required. Examples of terminal errors would be invalid combinations of settings in the spec, values that are unsupported by the controller, or the responsible controller itself being critically misconfigured. - /// Any transient errors that occur during the reconciliation of Machines can be added as events to the Machine object and/or logged in the controller's output. + /// FailureMessage will be set in the event that there is a terminal problem + /// reconciling the Machine and will contain a more verbose string suitable + /// for logging and human consumption. + /// + /// + /// This field should not be set for transitive errors that a controller + /// faces that are expected to be fixed automatically over + /// time (like service outages), but instead indicate that something is + /// fundamentally wrong with the Machine's spec or the configuration of + /// the controller, and that manual intervention is required. Examples + /// of terminal errors would be invalid combinations of settings in the + /// spec, values that are unsupported by the controller, or the + /// responsible controller itself being critically misconfigured. + /// + /// + /// Any transient errors that occur during the reconciliation of Machines + /// can be added as events to the Machine object and/or logged in the + /// controller's output. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureMessage")] pub failure_message: Option, - /// FailureReason will be set in the event that there is a terminal problem reconciling the Machine and will contain a succinct value suitable for machine interpretation. - /// This field should not be set for transitive errors that a controller faces that are expected to be fixed automatically over time (like service outages), but instead indicate that something is fundamentally wrong with the Machine's spec or the configuration of the controller, and that manual intervention is required. Examples of terminal errors would be invalid combinations of settings in the spec, values that are unsupported by the controller, or the responsible controller itself being critically misconfigured. - /// Any transient errors that occur during the reconciliation of Machines can be added as events to the Machine object and/or logged in the controller's output. + /// FailureReason will be set in the event that there is a terminal problem + /// reconciling the Machine and will contain a succinct value suitable + /// for machine interpretation. + /// + /// + /// This field should not be set for transitive errors that a controller + /// faces that are expected to be fixed automatically over + /// time (like service outages), but instead indicate that something is + /// fundamentally wrong with the Machine's spec or the configuration of + /// the controller, and that manual intervention is required. Examples + /// of terminal errors would be invalid combinations of settings in the + /// spec, values that are unsupported by the controller, or the + /// responsible controller itself being critically misconfigured. + /// + /// + /// Any transient errors that occur during the reconciliation of Machines + /// can be added as events to the Machine object and/or logged in the + /// controller's output. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureReason")] pub failure_reason: Option, - /// LoadBalancerConfigured denotes that the machine has been added to the load balancer + /// LoadBalancerConfigured denotes that the machine has been + /// added to the load balancer #[serde(default, skip_serializing_if = "Option::is_none", rename = "loadBalancerConfigured")] pub load_balancer_configured: Option, /// NodeUpdated denotes that the ProviderID is updated on Node of this KubevirtMachine diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtmachinetemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtmachinetemplates.rs index 52893affb..0342b1864 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtmachinetemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtmachinetemplates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtmachinetemplates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -33,7 +33,8 @@ pub struct KubevirtMachineTemplateTemplate { /// Spec is the specification of the desired behavior of the machine. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpec { - /// InfraClusterSecretRef is a reference to a secret with a kubeconfig for external cluster used for infra. When nil, this defaults to the value present in the KubevirtCluster object's spec associated with this machine. + /// InfraClusterSecretRef is a reference to a secret with a kubeconfig for external cluster used for infra. + /// When nil, this defaults to the value present in the KubevirtCluster object's spec associated with this machine. #[serde(default, skip_serializing_if = "Option::is_none", rename = "infraClusterSecretRef")] pub infra_cluster_secret_ref: Option, /// ProviderID TBD what to use for Kubevirt @@ -47,28 +48,41 @@ pub struct KubevirtMachineTemplateTemplateSpec { pub virtual_machine_template: Option, } -/// InfraClusterSecretRef is a reference to a secret with a kubeconfig for external cluster used for infra. When nil, this defaults to the value present in the KubevirtCluster object's spec associated with this machine. +/// InfraClusterSecretRef is a reference to a secret with a kubeconfig for external cluster used for infra. +/// When nil, this defaults to the value present in the KubevirtCluster object's spec associated with this machine. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecInfraClusterSecretRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, - /// If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future. + /// If referring to a piece of an object instead of an entire object, this string + /// should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + /// For example, if the object reference is to a container within a pod, this would take on a value like: + /// "spec.containers{name}" (where "name" refers to the name of the container that triggered + /// the event) or if no container name is specified "spec.containers[2]" (container with + /// index 2 in this pod). This syntax is chosen only to have some well-defined way of + /// referencing a part of an object. + /// TODO: this design is not final and this field is subject to change in the future. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldPath")] pub field_path: Option, - /// Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + /// Kind of the referent. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, - /// Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + /// Namespace of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + /// Specific resourceVersion to which this reference is made, if any. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceVersion")] pub resource_version: Option, - /// UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + /// UID of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids #[serde(default, skip_serializing_if = "Option::is_none")] pub uid: Option, } @@ -76,7 +90,9 @@ pub struct KubevirtMachineTemplateTemplateSpecInfraClusterSecretRef { /// BootstrapCheckSpec defines how the CAPK controller is checking CAPI Sentinel file inside the VM. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineBootstrapCheck { - /// CheckStrategy describes how CAPK controller will validate a successful CAPI bootstrap. Following specified method, CAPK will try to retrieve the state of the CAPI Sentinel file from the VM. Possible values are: "none" or "ssh" (default is "ssh") and this value is validated by apiserver. + /// CheckStrategy describes how CAPK controller will validate a successful CAPI bootstrap. + /// Following specified method, CAPK will try to retrieve the state of the CAPI Sentinel file from the VM. + /// Possible values are: "none" or "ssh" (default is "ssh") and this value is validated by apiserver. #[serde(default, skip_serializing_if = "Option::is_none", rename = "checkStrategy")] pub check_strategy: Option, } @@ -103,22 +119,22 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplate { /// VirtualMachineSpec contains the VirtualMachine specification. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpec { - /// dataVolumeTemplates is a list of dataVolumes that the VirtualMachineInstance template can reference. DataVolumes in this list are dynamically created for the VirtualMachine and are tied to the VirtualMachine's life-cycle. + /// dataVolumeTemplates is a list of dataVolumes that the VirtualMachineInstance template can reference. + /// DataVolumes in this list are dynamically created for the VirtualMachine and are tied to the VirtualMachine's life-cycle. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dataVolumeTemplates")] pub data_volume_templates: Option>, /// InstancetypeMatcher references a instancetype that is used to fill fields in Template #[serde(default, skip_serializing_if = "Option::is_none")] pub instancetype: Option, - /// LiveUpdateFeatures references a configuration of hotpluggable resources - #[serde(default, skip_serializing_if = "Option::is_none", rename = "liveUpdateFeatures")] - pub live_update_features: Option, /// PreferenceMatcher references a set of preference that is used to fill fields in Template #[serde(default, skip_serializing_if = "Option::is_none")] pub preference: Option, - /// Running state indicates the requested running state of the VirtualMachineInstance mutually exclusive with Running + /// Running state indicates the requested running state of the VirtualMachineInstance + /// mutually exclusive with Running #[serde(default, skip_serializing_if = "Option::is_none", rename = "runStrategy")] pub run_strategy: Option, - /// Running controls whether the associatied VirtualMachineInstance is created or not Mutually exclusive with RunStrategy + /// Running controls whether the associatied VirtualMachineInstance is created or not + /// Mutually exclusive with RunStrategy #[serde(default, skip_serializing_if = "Option::is_none")] pub running: Option, /// Template is the direct specification of VirtualMachineInstance @@ -127,17 +143,25 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpec { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolumeTemplates { - /// 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 + /// 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 #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, - /// 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 + /// 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 #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option>, /// DataVolumeSpec contains the DataVolume specification. pub spec: KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolumeTemplatesSpec, - /// DataVolumeTemplateDummyStatus is here simply for backwards compatibility with a previous API. + /// DataVolumeTemplateDummyStatus is here simply for backwards compatibility with + /// a previous API. #[serde(default, skip_serializing_if = "Option::is_none")] pub status: Option, } @@ -195,25 +219,75 @@ pub enum KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolume /// PVC is the PVC specification #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolumeTemplatesSpecPvc { - /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 + /// accessModes contains the desired access modes the volume should have. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, - /// 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. + /// 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. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dataSource")] pub data_source: Option, - /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. + /// 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 + /// allows any non-core object, as well as PersistentVolumeClaim objects. + /// * While dataSource ignores disallowed values (dropping them), dataSourceRef + /// preserves all values, and generates an error if a disallowed value is + /// specified. + /// * While dataSource only allows local objects, dataSourceRef allows objects + /// in any namespaces. + /// (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. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dataSourceRef")] pub data_source_ref: Option, - /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources + /// resources represents the minimum resources the volume should have. + /// If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements + /// that are lower than previous value but must still be higher than capacity recorded in the + /// status field of the claim. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources #[serde(default, skip_serializing_if = "Option::is_none")] pub resources: Option, /// selector is a label query over volumes to consider for binding. #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, - /// storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 + /// storageClassName is the name of the StorageClass required by the claim. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "storageClassName")] pub storage_class_name: Option, - /// volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. + /// volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. + /// If specified, the CSI driver will create or update the volume with the attributes defined + /// in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, + /// it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass + /// will be applied to the claim but it's not allowed to reset this field to empty string once it is set. + /// If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass + /// will be set by the persistentvolume controller if it exists. + /// If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be + /// set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource + /// exists. + /// More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ + /// (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeAttributesClassName")] + pub volume_attributes_class_name: Option, + /// volumeMode defines what type of volume is required by the claim. + /// Value of Filesystem is implied when not included in claim spec. #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeMode")] pub volume_mode: Option, /// volumeName is the binding reference to the PersistentVolume backing this claim. @@ -221,10 +295,19 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolu pub volume_name: Option, } -/// 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. +/// 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. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolumeTemplatesSpecPvcDataSource { - /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. + /// APIGroup is the group for the resource being referenced. + /// If APIGroup is not specified, the specified Kind must be in the core API group. + /// For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, /// Kind is the type of resource being referenced @@ -233,63 +316,92 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolu pub name: String, } -/// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. +/// 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 +/// allows any non-core object, as well as PersistentVolumeClaim objects. +/// * While dataSource ignores disallowed values (dropping them), dataSourceRef +/// preserves all values, and generates an error if a disallowed value is +/// specified. +/// * While dataSource only allows local objects, dataSourceRef allows objects +/// in any namespaces. +/// (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. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolumeTemplatesSpecPvcDataSourceRef { - /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. + /// APIGroup is the group for the resource being referenced. + /// If APIGroup is not specified, the specified Kind must be in the core API group. + /// For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, /// Kind is the type of resource being referenced pub kind: String, /// Name is the name of resource being referenced pub name: String, - /// Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. + /// Namespace is the namespace of resource being referenced + /// Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. + /// (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, } -/// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources +/// resources represents the minimum resources the volume should have. +/// If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements +/// that are lower than previous value but must still be higher than capacity recorded in the +/// status field of the claim. +/// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolumeTemplatesSpecPvcResources { - /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. - /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. - /// This field is immutable. It can only be set for containers. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub claims: Option>, - /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + /// Limits describes the maximum amount of compute resources allowed. + /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, - /// Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + /// Requests describes the minimum amount of compute resources required. + /// If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + /// otherwise to an implementation-defined value. Requests cannot exceed Limits. + /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] pub requests: Option>, } -/// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolumeTemplatesSpecPvcResourcesClaims { - /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. - pub name: String, -} - /// selector is a label query over volumes to consider for binding. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolumeTemplatesSpecPvcSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolumeTemplatesSpecPvcSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } @@ -473,25 +585,35 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolu /// Storage is the requested storage specification #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolumeTemplatesSpecStorage { - /// AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 + /// AccessModes contains the desired access modes the volume should have. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, - /// This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) * An existing custom resource that implements data population (Alpha) In order to use custom resource types that implement data population, the AnyVolumeDataSource feature gate must be enabled. 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. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field. + /// This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) * An existing custom resource that implements data population (Alpha) In order to use custom resource types that implement data population, the AnyVolumeDataSource feature gate must be enabled. 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. + /// If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dataSource")] pub data_source: Option, - /// Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local 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, 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. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. + /// Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local 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, 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. + /// There are two important differences between DataSource and DataSourceRef: + /// * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. + /// * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. + /// (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dataSourceRef")] pub data_source_ref: Option, - /// Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources + /// Resources represents the minimum resources the volume should have. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources #[serde(default, skip_serializing_if = "Option::is_none")] pub resources: Option, /// A label query over volumes to consider for binding. #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, - /// Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 + /// Name of the StorageClass required by the claim. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "storageClassName")] pub storage_class_name: Option, - /// volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. + /// volumeMode defines what type of volume is required by the claim. + /// Value of Filesystem is implied when not included in claim spec. #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeMode")] pub volume_mode: Option, /// VolumeName is the binding reference to the PersistentVolume backing this claim. @@ -499,10 +621,13 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolu pub volume_name: Option, } -/// This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) * An existing custom resource that implements data population (Alpha) In order to use custom resource types that implement data population, the AnyVolumeDataSource feature gate must be enabled. 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. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field. +/// This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) * An existing custom resource that implements data population (Alpha) In order to use custom resource types that implement data population, the AnyVolumeDataSource feature gate must be enabled. 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. +/// If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolumeTemplatesSpecStorageDataSource { - /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. + /// APIGroup is the group for the resource being referenced. + /// If APIGroup is not specified, the specified Kind must be in the core API group. + /// For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, /// Kind is the type of resource being referenced @@ -511,33 +636,53 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolu pub name: String, } -/// Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local 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, 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. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. +/// Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local 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, 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. +/// There are two important differences between DataSource and DataSourceRef: +/// * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. +/// * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. +/// (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolumeTemplatesSpecStorageDataSourceRef { - /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. + /// APIGroup is the group for the resource being referenced. + /// If APIGroup is not specified, the specified Kind must be in the core API group. + /// For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, /// Kind is the type of resource being referenced pub kind: String, /// Name is the name of resource being referenced pub name: String, - /// Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. + /// Namespace is the namespace of resource being referenced + /// Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. + /// (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, } -/// Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources +/// Resources represents the minimum resources the volume should have. +/// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolumeTemplatesSpecStorageResources { - /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. - /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. - /// This field is immutable. It can only be set for containers. + /// Claims lists the names of resources, defined in spec.resourceClaims, + /// that are used by this container. + /// + /// + /// This is an alpha field and requires enabling the + /// DynamicResourceAllocation feature gate. + /// + /// + /// This field is immutable. It can only be set for containers. #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, - /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + /// Limits describes the maximum amount of compute resources allowed. + /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, - /// Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + /// Requests describes the minimum amount of compute resources required. + /// If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + /// otherwise to an implementation-defined value. Requests cannot exceed Limits. + /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] pub requests: Option>, } @@ -545,7 +690,9 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolu /// ResourceClaim references one entry in PodSpec.ResourceClaims. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolumeTemplatesSpecStorageResourcesClaims { - /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. + /// Name must match the name of one entry in pod.spec.resourceClaims of + /// the Pod where this field is used. It makes that resource available + /// inside a container. pub name: String, } @@ -555,24 +702,32 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolu /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolumeTemplatesSpecStorageSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// DataVolumeTemplateDummyStatus is here simply for backwards compatibility with a previous API. +/// DataVolumeTemplateDummyStatus is here simply for backwards compatibility with +/// a previous API. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolumeTemplatesStatus { } @@ -580,49 +735,55 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecDataVolu /// InstancetypeMatcher references a instancetype that is used to fill fields in Template #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecInstancetype { - /// InferFromVolume lists the name of a volume that should be used to infer or discover the instancetype to be used through known annotations on the underlying resource. Once applied to the InstancetypeMatcher this field is removed. + /// InferFromVolume lists the name of a volume that should be used to infer or discover the instancetype + /// to be used through known annotations on the underlying resource. Once applied to the InstancetypeMatcher + /// this field is removed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "inferFromVolume")] pub infer_from_volume: Option, - /// Kind specifies which instancetype resource is referenced. Allowed values are: "VirtualMachineInstancetype" and "VirtualMachineClusterInstancetype". If not specified, "VirtualMachineClusterInstancetype" is used by default. + /// InferFromVolumeFailurePolicy controls what should happen on failure when inferring the instancetype. + /// Allowed values are: "RejectInferFromVolumeFailure" and "IgnoreInferFromVolumeFailure". + /// If not specified, "RejectInferFromVolumeFailure" is used by default. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "inferFromVolumeFailurePolicy")] + pub infer_from_volume_failure_policy: Option, + /// Kind specifies which instancetype resource is referenced. + /// Allowed values are: "VirtualMachineInstancetype" and "VirtualMachineClusterInstancetype". + /// If not specified, "VirtualMachineClusterInstancetype" is used by default. #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, /// Name is the name of the VirtualMachineInstancetype or VirtualMachineClusterInstancetype #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, - /// RevisionName specifies a ControllerRevision containing a specific copy of the VirtualMachineInstancetype or VirtualMachineClusterInstancetype to be used. This is initially captured the first time the instancetype is applied to the VirtualMachineInstance. + /// RevisionName specifies a ControllerRevision containing a specific copy of the + /// VirtualMachineInstancetype or VirtualMachineClusterInstancetype to be used. This is initially + /// captured the first time the instancetype is applied to the VirtualMachineInstance. #[serde(default, skip_serializing_if = "Option::is_none", rename = "revisionName")] pub revision_name: Option, } -/// LiveUpdateFeatures references a configuration of hotpluggable resources -#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecLiveUpdateFeatures { - /// LiveUpdateCPU holds hotplug configuration for the CPU resource. Empty struct indicates that default will be used for maxSockets. Default is specified on cluster level. Absence of the struct means opt-out from CPU hotplug functionality. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub cpu: Option, -} - -/// LiveUpdateCPU holds hotplug configuration for the CPU resource. Empty struct indicates that default will be used for maxSockets. Default is specified on cluster level. Absence of the struct means opt-out from CPU hotplug functionality. -#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] -pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecLiveUpdateFeaturesCpu { - /// The maximum amount of sockets that can be hot-plugged to the Virtual Machine - #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxSockets")] - pub max_sockets: Option, -} - /// PreferenceMatcher references a set of preference that is used to fill fields in Template #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecPreference { - /// InferFromVolume lists the name of a volume that should be used to infer or discover the preference to be used through known annotations on the underlying resource. Once applied to the PreferenceMatcher this field is removed. + /// InferFromVolume lists the name of a volume that should be used to infer or discover the preference + /// to be used through known annotations on the underlying resource. Once applied to the PreferenceMatcher + /// this field is removed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "inferFromVolume")] pub infer_from_volume: Option, - /// Kind specifies which preference resource is referenced. Allowed values are: "VirtualMachinePreference" and "VirtualMachineClusterPreference". If not specified, "VirtualMachineClusterPreference" is used by default. + /// InferFromVolumeFailurePolicy controls what should happen on failure when preference the instancetype. + /// Allowed values are: "RejectInferFromVolumeFailure" and "IgnoreInferFromVolumeFailure". + /// If not specified, "RejectInferFromVolumeFailure" is used by default. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "inferFromVolumeFailurePolicy")] + pub infer_from_volume_failure_policy: Option, + /// Kind specifies which preference resource is referenced. + /// Allowed values are: "VirtualMachinePreference" and "VirtualMachineClusterPreference". + /// If not specified, "VirtualMachineClusterPreference" is used by default. #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, /// Name is the name of the VirtualMachinePreference or VirtualMachineClusterPreference #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, - /// RevisionName specifies a ControllerRevision containing a specific copy of the VirtualMachinePreference or VirtualMachineClusterPreference to be used. This is initially captured the first time the instancetype is applied to the VirtualMachineInstance. + /// RevisionName specifies a ControllerRevision containing a specific copy of the + /// VirtualMachinePreference or VirtualMachineClusterPreference to be used. This is + /// initially captured the first time the instancetype is applied to the VirtualMachineInstance. #[serde(default, skip_serializing_if = "Option::is_none", rename = "revisionName")] pub revision_name: Option, } @@ -649,42 +810,68 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Specifies the architecture of the vm guest you are attempting to run. Defaults to the compiled architecture of the KubeVirt components #[serde(default, skip_serializing_if = "Option::is_none")] pub architecture: Option, - /// Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. + /// Specifies the DNS parameters of a pod. + /// Parameters specified here will be merged to the generated DNS + /// configuration based on DNSPolicy. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dnsConfig")] pub dns_config: Option, - /// Set DNS policy for the pod. Defaults to "ClusterFirst". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. + /// Set DNS policy for the pod. + /// Defaults to "ClusterFirst". + /// Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. + /// DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. + /// To have DNS options set along with hostNetwork, you have to specify DNS policy + /// explicitly to 'ClusterFirstWithHostNet'. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dnsPolicy")] pub dns_policy: Option, /// Specification of the desired behavior of the VirtualMachineInstance on the host. pub domain: KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomain, - /// EvictionStrategy can be set to "LiveMigrate" if the VirtualMachineInstance should be migrated instead of shut-off in case of a node drain. + /// EvictionStrategy describes the strategy to follow when a node drain occurs. + /// The possible options are: + /// - "None": No action will be taken, according to the specified 'RunStrategy' the VirtualMachine will be restarted or shutdown. + /// - "LiveMigrate": the VirtualMachineInstance will be migrated instead of being shutdown. + /// - "LiveMigrateIfPossible": the same as "LiveMigrate" but only if the VirtualMachine is Live-Migratable, otherwise it will behave as "None". + /// - "External": the VirtualMachineInstance will be protected by a PDB and `vmi.Status.EvacuationNodeName` will be set on eviction. This is mainly useful for cluster-api-provider-kubevirt (capk) which needs a way for VMI's to be blocked from eviction, yet signal capk that eviction has been called on the VMI so the capk controller can handle tearing the VMI down. Details can be found in the commit description https://github.com/kubevirt/kubevirt/commit/c1d77face705c8b126696bac9a3ee3825f27f1fa. #[serde(default, skip_serializing_if = "Option::is_none", rename = "evictionStrategy")] pub eviction_strategy: Option, - /// Specifies the hostname of the vmi If not specified, the hostname will be set to the name of the vmi, if dhcp or cloud-init is configured properly. + /// Specifies the hostname of the vmi + /// If not specified, the hostname will be set to the name of the vmi, if dhcp or cloud-init is configured properly. #[serde(default, skip_serializing_if = "Option::is_none")] pub hostname: Option, - /// Periodic probe of VirtualMachineInstance liveness. VirtualmachineInstances will be stopped if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + /// Periodic probe of VirtualMachineInstance liveness. + /// VirtualmachineInstances will be stopped if the probe fails. + /// Cannot be updated. + /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes #[serde(default, skip_serializing_if = "Option::is_none", rename = "livenessProbe")] pub liveness_probe: Option, /// List of networks that can be attached to a vm's virtual interface. #[serde(default, skip_serializing_if = "Option::is_none")] pub networks: Option>, - /// NodeSelector is a selector which must be true for the vmi to fit on a node. Selector which must match a node's labels for the vmi to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ + /// NodeSelector is a selector which must be true for the vmi to fit on a node. + /// Selector which must match a node's labels for the vmi to be scheduled on that node. + /// More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelector")] pub node_selector: Option>, - /// If specified, indicates the pod's priority. If not specified, the pod priority will be default or zero if there is no default. + /// If specified, indicates the pod's priority. + /// If not specified, the pod priority will be default or zero if there is no + /// default. #[serde(default, skip_serializing_if = "Option::is_none", rename = "priorityClassName")] pub priority_class_name: Option, - /// Periodic probe of VirtualMachineInstance service readiness. VirtualmachineInstances will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + /// Periodic probe of VirtualMachineInstance service readiness. + /// VirtualmachineInstances will be removed from service endpoints if the probe fails. + /// Cannot be updated. + /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes #[serde(default, skip_serializing_if = "Option::is_none", rename = "readinessProbe")] pub readiness_probe: Option, - /// If specified, the VMI will be dispatched by specified scheduler. If not specified, the VMI will be dispatched by default scheduler. + /// If specified, the VMI will be dispatched by specified scheduler. + /// If not specified, the VMI will be dispatched by default scheduler. #[serde(default, skip_serializing_if = "Option::is_none", rename = "schedulerName")] pub scheduler_name: Option, /// StartStrategy can be set to "Paused" if Virtual Machine should be started in paused state. #[serde(default, skip_serializing_if = "Option::is_none", rename = "startStrategy")] pub start_strategy: Option, - /// If specified, the fully qualified vmi hostname will be "...svc.". If not specified, the vmi will not have a domainname at all. The DNS entry will resolve to the vmi, no matter if the vmi itself can pick up a hostname. + /// If specified, the fully qualified vmi hostname will be "...svc.". + /// If not specified, the vmi will not have a domainname at all. The DNS entry will resolve to the vmi, + /// no matter if the vmi itself can pick up a hostname. #[serde(default, skip_serializing_if = "Option::is_none")] pub subdomain: Option, /// Grace period observed after signalling a VirtualMachineInstance to stop after which the VirtualMachineInstance is force terminated. @@ -693,7 +880,8 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// If toleration is specified, obey all the toleration rules. #[serde(default, skip_serializing_if = "Option::is_none")] pub tolerations: Option>, - /// TopologySpreadConstraints describes how a group of VMIs will be spread across a given topology domains. K8s scheduler will schedule VMI pods in a way which abides by the constraints. + /// TopologySpreadConstraints describes how a group of VMIs will be spread across a given topology + /// domains. K8s scheduler will schedule VMI pods in a way which abides by the constraints. #[serde(default, skip_serializing_if = "Option::is_none", rename = "topologySpreadConstraints")] pub topology_spread_constraints: Option>, /// List of volumes that can be mounted by disks belonging to the vmi. @@ -701,18 +889,23 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate pub volumes: Option>, } -/// AccessCredential represents a credential source that can be used to authorize remote access to the vm guest Only one of its members may be specified. +/// AccessCredential represents a credential source that can be used to +/// authorize remote access to the vm guest +/// Only one of its members may be specified. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAccessCredentials { - /// SSHPublicKey represents the source and method of applying a ssh public key into a guest virtual machine. + /// SSHPublicKey represents the source and method of applying a ssh public + /// key into a guest virtual machine. #[serde(default, skip_serializing_if = "Option::is_none", rename = "sshPublicKey")] pub ssh_public_key: Option, - /// UserPassword represents the source and method for applying a guest user's password + /// UserPassword represents the source and method for applying a guest user's + /// password #[serde(default, skip_serializing_if = "Option::is_none", rename = "userPassword")] pub user_password: Option, } -/// SSHPublicKey represents the source and method of applying a ssh public key into a guest virtual machine. +/// SSHPublicKey represents the source and method of applying a ssh public +/// key into a guest virtual machine. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAccessCredentialsSshPublicKey { /// PropagationMethod represents how the public key is injected into the vm guest. @@ -725,23 +918,40 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// PropagationMethod represents how the public key is injected into the vm guest. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAccessCredentialsSshPublicKeyPropagationMethod { - /// ConfigDrivePropagation means that the ssh public keys are injected into the VM using metadata using the configDrive cloud-init provider + /// ConfigDrivePropagation means that the ssh public keys are injected + /// into the VM using metadata using the configDrive cloud-init provider #[serde(default, skip_serializing_if = "Option::is_none", rename = "configDrive")] pub config_drive: Option, - /// QemuGuestAgentAccessCredentailPropagation means ssh public keys are dynamically injected into the vm at runtime via the qemu guest agent. This feature requires the qemu guest agent to be running within the guest. + /// NoCloudPropagation means that the ssh public keys are injected + /// into the VM using metadata using the noCloud cloud-init provider + #[serde(default, skip_serializing_if = "Option::is_none", rename = "noCloud")] + pub no_cloud: Option, + /// QemuGuestAgentAccessCredentailPropagation means ssh public keys are + /// dynamically injected into the vm at runtime via the qemu guest agent. + /// This feature requires the qemu guest agent to be running within the guest. #[serde(default, skip_serializing_if = "Option::is_none", rename = "qemuGuestAgent")] pub qemu_guest_agent: Option, } -/// ConfigDrivePropagation means that the ssh public keys are injected into the VM using metadata using the configDrive cloud-init provider +/// ConfigDrivePropagation means that the ssh public keys are injected +/// into the VM using metadata using the configDrive cloud-init provider #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAccessCredentialsSshPublicKeyPropagationMethodConfigDrive { } -/// QemuGuestAgentAccessCredentailPropagation means ssh public keys are dynamically injected into the vm at runtime via the qemu guest agent. This feature requires the qemu guest agent to be running within the guest. +/// NoCloudPropagation means that the ssh public keys are injected +/// into the VM using metadata using the noCloud cloud-init provider +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAccessCredentialsSshPublicKeyPropagationMethodNoCloud { +} + +/// QemuGuestAgentAccessCredentailPropagation means ssh public keys are +/// dynamically injected into the vm at runtime via the qemu guest agent. +/// This feature requires the qemu guest agent to be running within the guest. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAccessCredentialsSshPublicKeyPropagationMethodQemuGuestAgent { - /// Users represents a list of guest users that should have the ssh public keys added to their authorized_keys file. + /// Users represents a list of guest users that should have the ssh public keys + /// added to their authorized_keys file. pub users: Vec, } @@ -761,7 +971,8 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate pub secret_name: String, } -/// UserPassword represents the source and method for applying a guest user's password +/// UserPassword represents the source and method for applying a guest user's +/// password #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAccessCredentialsUserPassword { /// propagationMethod represents how the user passwords are injected into the vm guest. @@ -774,12 +985,16 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// propagationMethod represents how the user passwords are injected into the vm guest. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAccessCredentialsUserPasswordPropagationMethod { - /// QemuGuestAgentAccessCredentailPropagation means passwords are dynamically injected into the vm at runtime via the qemu guest agent. This feature requires the qemu guest agent to be running within the guest. + /// QemuGuestAgentAccessCredentailPropagation means passwords are + /// dynamically injected into the vm at runtime via the qemu guest agent. + /// This feature requires the qemu guest agent to be running within the guest. #[serde(default, skip_serializing_if = "Option::is_none", rename = "qemuGuestAgent")] pub qemu_guest_agent: Option, } -/// QemuGuestAgentAccessCredentailPropagation means passwords are dynamically injected into the vm at runtime via the qemu guest agent. This feature requires the qemu guest agent to be running within the guest. +/// QemuGuestAgentAccessCredentailPropagation means passwords are +/// dynamically injected into the vm at runtime via the qemu guest agent. +/// This feature requires the qemu guest agent to be running within the guest. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAccessCredentialsUserPasswordPropagationMethodQemuGuestAgent { } @@ -817,15 +1032,28 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Describes node affinity scheduling rules for the pod. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityNodeAffinity { - /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. + /// The scheduler will prefer to schedule pods to nodes that satisfy + /// the affinity expressions specified by this field, but it may choose + /// a node that violates one or more of the expressions. The node that is + /// most preferred is the one with the greatest sum of weights, i.e. + /// for each node that meets all of the scheduling requirements (resource + /// request, requiredDuringScheduling affinity expressions, etc.), + /// compute a sum by iterating through the elements of this field and adding + /// "weight" to the sum if the node matches the corresponding matchExpressions; the + /// node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, - /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. + /// If the affinity requirements specified by this field are not met at + /// scheduling time, the pod will not be scheduled onto the node. + /// If the affinity requirements specified by this field cease to be met + /// at some point during pod execution (e.g. due to an update), the system + /// may or may not try to eventually evict the pod from its node. #[serde(default, skip_serializing_if = "Option::is_none", rename = "requiredDuringSchedulingIgnoredDuringExecution")] pub required_during_scheduling_ignored_during_execution: Option, } -/// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). +/// An empty preferred scheduling term matches all objects with implicit weight 0 +/// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. @@ -845,31 +1073,47 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate pub match_fields: Option>, } -/// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A node selector requirement is a selector that contains values, a key, and an operator +/// that relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, - /// Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + /// Represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. pub operator: String, - /// An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. + /// An array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. If the operator is Gt or Lt, the values + /// array must have a single element, which will be interpreted as an integer. + /// This array is replaced during a strategic merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A node selector requirement is a selector that contains values, a key, and an operator +/// that relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, - /// Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + /// Represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. pub operator: String, - /// An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. + /// An array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. If the operator is Gt or Lt, the values + /// array must have a single element, which will be interpreted as an integer. + /// This array is replaced during a strategic merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. +/// If the affinity requirements specified by this field are not met at +/// scheduling time, the pod will not be scheduled onto the node. +/// If the affinity requirements specified by this field cease to be met +/// at some point during pod execution (e.g. due to an update), the system +/// may or may not try to eventually evict the pod from its node. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. @@ -877,7 +1121,9 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate pub node_selector_terms: Vec, } -/// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. +/// A null or empty node selector term matches no objects. The requirements of +/// them are ANDed. +/// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. @@ -888,26 +1134,38 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate pub match_fields: Option>, } -/// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A node selector requirement is a selector that contains values, a key, and an operator +/// that relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, - /// Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + /// Represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. pub operator: String, - /// An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. + /// An array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. If the operator is Gt or Lt, the values + /// array must have a single element, which will be interpreted as an integer. + /// This array is replaced during a strategic merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A node selector requirement is a selector that contains values, a key, and an operator +/// that relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, - /// Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + /// Represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. pub operator: String, - /// An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. + /// An array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. If the operator is Gt or Lt, the values + /// array must have a single element, which will be interpreted as an integer. + /// This array is replaced during a strategic merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } @@ -915,10 +1173,24 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityPodAffinity { - /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. + /// The scheduler will prefer to schedule pods to nodes that satisfy + /// the affinity expressions specified by this field, but it may choose + /// a node that violates one or more of the expressions. The node that is + /// most preferred is the one with the greatest sum of weights, i.e. + /// for each node that meets all of the scheduling requirements (resource + /// request, requiredDuringScheduling affinity expressions, etc.), + /// compute a sum by iterating through the elements of this field and adding + /// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + /// node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, - /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. + /// If the affinity requirements specified by this field are not met at + /// scheduling time, the pod will not be scheduled onto the node. + /// If the affinity requirements specified by this field cease to be met + /// at some point during pod execution (e.g. due to a pod label update), the + /// system may or may not try to eventually evict the pod from its node. + /// When there are multiple elements, the lists of nodes corresponding to each + /// podAffinityTerm are intersected, i.e. all terms must be satisfied. #[serde(default, skip_serializing_if = "Option::is_none", rename = "requiredDuringSchedulingIgnoredDuringExecution")] pub required_during_scheduling_ignored_during_execution: Option>, } @@ -929,7 +1201,8 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, - /// weight associated with matching the corresponding podAffinityTerm, in the range 1-100. + /// weight associated with matching the corresponding podAffinityTerm, + /// in the range 1-100. pub weight: i32, } @@ -937,124 +1210,235 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. + /// If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, - /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. + /// MatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] + pub match_label_keys: Option>, + /// MismatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] + pub mismatch_label_keys: Option>, + /// A label query over the set of namespaces that the term applies to. + /// The term is applied to the union of the namespaces selected by this field + /// and the ones listed in the namespaces field. + /// null selector and null or empty namespaces list means "this pod's namespace". + /// An empty selector ({}) matches all namespaces. #[serde(default, skip_serializing_if = "Option::is_none", rename = "namespaceSelector")] pub namespace_selector: Option, - /// namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". + /// namespaces specifies a static list of namespace names that the term applies to. + /// The term is applied to the union of the namespaces listed in this field + /// and the ones selected by namespaceSelector. + /// null or empty namespaces list and null namespaceSelector means "this pod's namespace". #[serde(default, skip_serializing_if = "Option::is_none")] pub namespaces: Option>, - /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. + /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + /// the labelSelector in the specified namespaces, where co-located is defined as running on a node + /// whose value of the label with key topologyKey matches that of any node on which any of the + /// selected pods is running. + /// Empty topologyKey is not allowed. #[serde(rename = "topologyKey")] pub topology_key: String, } /// A label query over a set of resources, in this case pods. +/// If it's null, this PodAffinityTerm matches with no Pods. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. +/// A label query over the set of namespaces that the term applies to. +/// The term is applied to the union of the namespaces selected by this field +/// and the ones listed in the namespaces field. +/// null selector and null or empty namespaces list means "this pod's namespace". +/// An empty selector ({}) matches all namespaces. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running +/// Defines a set of pods (namely those matching the labelSelector +/// relative to the given namespace(s)) that this pod should be +/// co-located (affinity) or not co-located (anti-affinity) with, +/// where co-located is defined as running on a node whose value of +/// the label with key matches that of any node on which +/// a pod of the set of pods is running #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. + /// If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, - /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. + /// MatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] + pub match_label_keys: Option>, + /// MismatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] + pub mismatch_label_keys: Option>, + /// A label query over the set of namespaces that the term applies to. + /// The term is applied to the union of the namespaces selected by this field + /// and the ones listed in the namespaces field. + /// null selector and null or empty namespaces list means "this pod's namespace". + /// An empty selector ({}) matches all namespaces. #[serde(default, skip_serializing_if = "Option::is_none", rename = "namespaceSelector")] pub namespace_selector: Option, - /// namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". + /// namespaces specifies a static list of namespace names that the term applies to. + /// The term is applied to the union of the namespaces listed in this field + /// and the ones selected by namespaceSelector. + /// null or empty namespaces list and null namespaceSelector means "this pod's namespace". #[serde(default, skip_serializing_if = "Option::is_none")] pub namespaces: Option>, - /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. + /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + /// the labelSelector in the specified namespaces, where co-located is defined as running on a node + /// whose value of the label with key topologyKey matches that of any node on which any of the + /// selected pods is running. + /// Empty topologyKey is not allowed. #[serde(rename = "topologyKey")] pub topology_key: String, } /// A label query over a set of resources, in this case pods. +/// If it's null, this PodAffinityTerm matches with no Pods. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. +/// A label query over the set of namespaces that the term applies to. +/// The term is applied to the union of the namespaces selected by this field +/// and the ones listed in the namespaces field. +/// null selector and null or empty namespaces list means "this pod's namespace". +/// An empty selector ({}) matches all namespaces. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } @@ -1062,10 +1446,24 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiAffinity { - /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. + /// The scheduler will prefer to schedule pods to nodes that satisfy + /// the anti-affinity expressions specified by this field, but it may choose + /// a node that violates one or more of the expressions. The node that is + /// most preferred is the one with the greatest sum of weights, i.e. + /// for each node that meets all of the scheduling requirements (resource + /// request, requiredDuringScheduling anti-affinity expressions, etc.), + /// compute a sum by iterating through the elements of this field and adding + /// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + /// node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, - /// If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. + /// If the anti-affinity requirements specified by this field are not met at + /// scheduling time, the pod will not be scheduled onto the node. + /// If the anti-affinity requirements specified by this field cease to be met + /// at some point during pod execution (e.g. due to a pod label update), the + /// system may or may not try to eventually evict the pod from its node. + /// When there are multiple elements, the lists of nodes corresponding to each + /// podAffinityTerm are intersected, i.e. all terms must be satisfied. #[serde(default, skip_serializing_if = "Option::is_none", rename = "requiredDuringSchedulingIgnoredDuringExecution")] pub required_during_scheduling_ignored_during_execution: Option>, } @@ -1076,7 +1474,8 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, - /// weight associated with matching the corresponding podAffinityTerm, in the range 1-100. + /// weight associated with matching the corresponding podAffinityTerm, + /// in the range 1-100. pub weight: i32, } @@ -1084,138 +1483,258 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. + /// If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, - /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. + /// MatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] + pub match_label_keys: Option>, + /// MismatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] + pub mismatch_label_keys: Option>, + /// A label query over the set of namespaces that the term applies to. + /// The term is applied to the union of the namespaces selected by this field + /// and the ones listed in the namespaces field. + /// null selector and null or empty namespaces list means "this pod's namespace". + /// An empty selector ({}) matches all namespaces. #[serde(default, skip_serializing_if = "Option::is_none", rename = "namespaceSelector")] pub namespace_selector: Option, - /// namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". + /// namespaces specifies a static list of namespace names that the term applies to. + /// The term is applied to the union of the namespaces listed in this field + /// and the ones selected by namespaceSelector. + /// null or empty namespaces list and null namespaceSelector means "this pod's namespace". #[serde(default, skip_serializing_if = "Option::is_none")] pub namespaces: Option>, - /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. + /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + /// the labelSelector in the specified namespaces, where co-located is defined as running on a node + /// whose value of the label with key topologyKey matches that of any node on which any of the + /// selected pods is running. + /// Empty topologyKey is not allowed. #[serde(rename = "topologyKey")] pub topology_key: String, } /// A label query over a set of resources, in this case pods. +/// If it's null, this PodAffinityTerm matches with no Pods. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. +/// A label query over the set of namespaces that the term applies to. +/// The term is applied to the union of the namespaces selected by this field +/// and the ones listed in the namespaces field. +/// null selector and null or empty namespaces list means "this pod's namespace". +/// An empty selector ({}) matches all namespaces. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running +/// Defines a set of pods (namely those matching the labelSelector +/// relative to the given namespace(s)) that this pod should be +/// co-located (affinity) or not co-located (anti-affinity) with, +/// where co-located is defined as running on a node whose value of +/// the label with key matches that of any node on which +/// a pod of the set of pods is running #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. + /// If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, - /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. + /// MatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] + pub match_label_keys: Option>, + /// MismatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] + pub mismatch_label_keys: Option>, + /// A label query over the set of namespaces that the term applies to. + /// The term is applied to the union of the namespaces selected by this field + /// and the ones listed in the namespaces field. + /// null selector and null or empty namespaces list means "this pod's namespace". + /// An empty selector ({}) matches all namespaces. #[serde(default, skip_serializing_if = "Option::is_none", rename = "namespaceSelector")] pub namespace_selector: Option, - /// namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". + /// namespaces specifies a static list of namespace names that the term applies to. + /// The term is applied to the union of the namespaces listed in this field + /// and the ones selected by namespaceSelector. + /// null or empty namespaces list and null namespaceSelector means "this pod's namespace". #[serde(default, skip_serializing_if = "Option::is_none")] pub namespaces: Option>, - /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. + /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + /// the labelSelector in the specified namespaces, where co-located is defined as running on a node + /// whose value of the label with key topologyKey matches that of any node on which any of the + /// selected pods is running. + /// Empty topologyKey is not allowed. #[serde(rename = "topologyKey")] pub topology_key: String, } /// A label query over a set of resources, in this case pods. +/// If it's null, this PodAffinityTerm matches with no Pods. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. +/// A label query over the set of namespaces that the term applies to. +/// The term is applied to the union of the namespaces selected by this field +/// and the ones listed in the namespaces field. +/// null selector and null or empty namespaces list means "this pod's namespace". +/// An empty selector ({}) matches all namespaces. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. +/// Specifies the DNS parameters of a pod. +/// Parameters specified here will be merged to the generated DNS +/// configuration based on DNSPolicy. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDnsConfig { - /// A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. + /// A list of DNS name server IP addresses. + /// This will be appended to the base nameservers generated from DNSPolicy. + /// Duplicated nameservers will be removed. #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, - /// A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. + /// A list of DNS resolver options. + /// This will be merged with the base options generated from DNSPolicy. + /// Duplicated entries will be removed. Resolution options given in Options + /// will override those that appear in the base DNSPolicy. #[serde(default, skip_serializing_if = "Option::is_none")] pub options: Option>, - /// A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed. + /// A list of DNS search domains for host-name lookup. + /// This will be appended to the base search paths generated from DNSPolicy. + /// Duplicated search paths will be removed. #[serde(default, skip_serializing_if = "Option::is_none")] pub searches: Option>, } @@ -1250,7 +1769,9 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Firmware. #[serde(default, skip_serializing_if = "Option::is_none")] pub firmware: Option, - /// Controls whether or not disks will share IOThreads. Omitting IOThreadsPolicy disables use of IOThreads. One of: shared, auto + /// Controls whether or not disks will share IOThreads. + /// Omitting IOThreadsPolicy disables use of IOThreads. + /// One of: shared, auto #[serde(default, skip_serializing_if = "Option::is_none", rename = "ioThreadsPolicy")] pub io_threads_policy: Option, /// Launch Security setting of the vmi. @@ -1288,10 +1809,12 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Timer specifies whih timers are attached to the vmi. #[serde(default, skip_serializing_if = "Option::is_none")] pub timer: Option, - /// Timezone sets the guest clock to the specified timezone. Zone name follows the TZ environment variable format (e.g. 'America/New_York'). + /// Timezone sets the guest clock to the specified timezone. + /// Zone name follows the TZ environment variable format (e.g. 'America/New_York'). #[serde(default, skip_serializing_if = "Option::is_none")] pub timezone: Option, - /// UTC sets the guest clock to UTC on each boot. If an offset is specified, guest changes to the clock will be kept during reboots and are not reset. + /// UTC sets the guest clock to UTC on each boot. If an offset is specified, + /// guest changes to the clock will be kept during reboots and are not reset. #[serde(default, skip_serializing_if = "Option::is_none")] pub utc: Option, } @@ -1319,10 +1842,12 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// HPET (High Precision Event Timer) - multiple timers with periodic interrupts. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainClockTimerHpet { - /// Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true. + /// Enabled set to false makes sure that the machine type or a preset can't add the timer. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub present: Option, - /// TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest. One of "delay", "catchup", "merge", "discard". + /// TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest. + /// One of "delay", "catchup", "merge", "discard". #[serde(default, skip_serializing_if = "Option::is_none", rename = "tickPolicy")] pub tick_policy: Option, } @@ -1330,7 +1855,8 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Hyperv (Hypervclock) - lets guests read the host’s wall clock time (paravirtualized). For windows guests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainClockTimerHyperv { - /// Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true. + /// Enabled set to false makes sure that the machine type or a preset can't add the timer. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub present: Option, } @@ -1338,7 +1864,8 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// KVM (KVM clock) - lets guests read the host’s wall clock time (paravirtualized). For linux guests. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainClockTimerKvm { - /// Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true. + /// Enabled set to false makes sure that the machine type or a preset can't add the timer. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub present: Option, } @@ -1346,10 +1873,12 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// PIT (Programmable Interval Timer) - a timer with periodic interrupts. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainClockTimerPit { - /// Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true. + /// Enabled set to false makes sure that the machine type or a preset can't add the timer. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub present: Option, - /// TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest. One of "delay", "catchup", "discard". + /// TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest. + /// One of "delay", "catchup", "discard". #[serde(default, skip_serializing_if = "Option::is_none", rename = "tickPolicy")] pub tick_policy: Option, } @@ -1357,10 +1886,12 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// RTC (Real Time Clock) - a continuously running timer with periodic interrupts. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainClockTimerRtc { - /// Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true. + /// Enabled set to false makes sure that the machine type or a preset can't add the timer. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub present: Option, - /// TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest. One of "delay", "catchup". + /// TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest. + /// One of "delay", "catchup". #[serde(default, skip_serializing_if = "Option::is_none", rename = "tickPolicy")] pub tick_policy: Option, /// Track the guest or the wall clock. @@ -1368,10 +1899,12 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate pub track: Option, } -/// UTC sets the guest clock to UTC on each boot. If an offset is specified, guest changes to the clock will be kept during reboots and are not reset. +/// UTC sets the guest clock to UTC on each boot. If an offset is specified, +/// guest changes to the clock will be kept during reboots and are not reset. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainClockUtc { - /// OffsetSeconds specifies an offset in seconds, relative to UTC. If set, guest changes to the clock will be kept during reboots and not reset. + /// OffsetSeconds specifies an offset in seconds, relative to UTC. If set, + /// guest changes to the clock will be kept during reboots and not reset. #[serde(default, skip_serializing_if = "Option::is_none", rename = "offsetSeconds")] pub offset_seconds: Option, } @@ -1379,22 +1912,30 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// CPU allow specified the detailed CPU topology inside the vmi. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainCpu { - /// Cores specifies the number of cores inside the vmi. Must be a value greater or equal 1. + /// Cores specifies the number of cores inside the vmi. + /// Must be a value greater or equal 1. #[serde(default, skip_serializing_if = "Option::is_none")] pub cores: Option, - /// DedicatedCPUPlacement requests the scheduler to place the VirtualMachineInstance on a node with enough dedicated pCPUs and pin the vCPUs to it. + /// DedicatedCPUPlacement requests the scheduler to place the VirtualMachineInstance on a node + /// with enough dedicated pCPUs and pin the vCPUs to it. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dedicatedCpuPlacement")] pub dedicated_cpu_placement: Option, /// Features specifies the CPU features list inside the VMI. #[serde(default, skip_serializing_if = "Option::is_none")] pub features: Option>, - /// IsolateEmulatorThread requests one more dedicated pCPU to be allocated for the VMI to place the emulator thread on it. + /// IsolateEmulatorThread requests one more dedicated pCPU to be allocated for the VMI to place + /// the emulator thread on it. #[serde(default, skip_serializing_if = "Option::is_none", rename = "isolateEmulatorThread")] pub isolate_emulator_thread: Option, - /// MaxSockets specifies the maximum amount of sockets that can be hotplugged + /// MaxSockets specifies the maximum amount of sockets that can + /// be hotplugged #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxSockets")] pub max_sockets: Option, - /// Model specifies the CPU model inside the VMI. List of available models https://github.com/libvirt/libvirt/tree/master/src/cpu_map. It is possible to specify special cases like "host-passthrough" to get the same CPU as the node and "host-model" to get CPU closest to the node one. Defaults to host-model. + /// Model specifies the CPU model inside the VMI. + /// List of available models https://github.com/libvirt/libvirt/tree/master/src/cpu_map. + /// It is possible to specify special cases like "host-passthrough" to get the same CPU as the node + /// and "host-model" to get CPU closest to the node one. + /// Defaults to host-model. #[serde(default, skip_serializing_if = "Option::is_none")] pub model: Option, /// NUMA allows specifying settings for the guest NUMA topology @@ -1403,10 +1944,12 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Realtime instructs the virt-launcher to tune the VMI for lower latency, optional for real time workloads #[serde(default, skip_serializing_if = "Option::is_none")] pub realtime: Option, - /// Sockets specifies the number of sockets inside the vmi. Must be a value greater or equal 1. + /// Sockets specifies the number of sockets inside the vmi. + /// Must be a value greater or equal 1. #[serde(default, skip_serializing_if = "Option::is_none")] pub sockets: Option, - /// Threads specifies the number of threads inside the vmi. Must be a value greater or equal 1. + /// Threads specifies the number of threads inside the vmi. + /// Must be a value greater or equal 1. #[serde(default, skip_serializing_if = "Option::is_none")] pub threads: Option, } @@ -1416,7 +1959,13 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainCpuFeatures { /// Name of the CPU feature pub name: String, - /// Policy is the CPU feature attribute which can have the following attributes: force - The virtual CPU will claim the feature is supported regardless of it being supported by host CPU. require - Guest creation will fail unless the feature is supported by the host CPU or the hypervisor is able to emulate it. optional - The feature will be supported by virtual CPU if and only if it is supported by host CPU. disable - The feature will not be supported by virtual CPU. forbid - Guest creation will fail if the feature is supported by host CPU. Defaults to require + /// Policy is the CPU feature attribute which can have the following attributes: + /// force - The virtual CPU will claim the feature is supported regardless of it being supported by host CPU. + /// require - Guest creation will fail unless the feature is supported by the host CPU or the hypervisor is able to emulate it. + /// optional - The feature will be supported by virtual CPU if and only if it is supported by host CPU. + /// disable - The feature will not be supported by virtual CPU. + /// forbid - Guest creation will fail if the feature is supported by host CPU. + /// Defaults to require #[serde(default, skip_serializing_if = "Option::is_none")] pub policy: Option, } @@ -1424,12 +1973,14 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// NUMA allows specifying settings for the guest NUMA topology #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainCpuNuma { - /// GuestMappingPassthrough will create an efficient guest topology based on host CPUs exclusively assigned to a pod. The created topology ensures that memory and CPUs on the virtual numa nodes never cross boundaries of host numa nodes. + /// GuestMappingPassthrough will create an efficient guest topology based on host CPUs exclusively assigned to a pod. + /// The created topology ensures that memory and CPUs on the virtual numa nodes never cross boundaries of host numa nodes. #[serde(default, skip_serializing_if = "Option::is_none", rename = "guestMappingPassthrough")] pub guest_mapping_passthrough: Option, } -/// GuestMappingPassthrough will create an efficient guest topology based on host CPUs exclusively assigned to a pod. The created topology ensures that memory and CPUs on the virtual numa nodes never cross boundaries of host numa nodes. +/// GuestMappingPassthrough will create an efficient guest topology based on host CPUs exclusively assigned to a pod. +/// The created topology ensures that memory and CPUs on the virtual numa nodes never cross boundaries of host numa nodes. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainCpuNumaGuestMappingPassthrough { } @@ -1437,7 +1988,8 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Realtime instructs the virt-launcher to tune the VMI for lower latency, optional for real time workloads #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainCpuRealtime { - /// Mask defines the vcpu mask expression that defines which vcpus are used for realtime. Format matches libvirt's expressions. Example: "0-3,^1","0,2,3","2-3" + /// Mask defines the vcpu mask expression that defines which vcpus are used for realtime. Format matches libvirt's expressions. + /// Example: "0-3,^1","0,2,3","2-3" #[serde(default, skip_serializing_if = "Option::is_none")] pub mask: Option, } @@ -1445,25 +1997,32 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Devices allows adding disks, network interfaces, and others #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainDevices { - /// Whether to attach the default graphics device or not. VNC will not be available if set to false. Defaults to true. + /// Whether to attach the default graphics device or not. + /// VNC will not be available if set to false. Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoattachGraphicsDevice")] pub autoattach_graphics_device: Option, - /// Whether to attach an Input Device. Defaults to false. + /// Whether to attach an Input Device. + /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoattachInputDevice")] pub autoattach_input_device: Option, - /// Whether to attach the Memory balloon device with default period. Period can be adjusted in virt-config. Defaults to true. + /// Whether to attach the Memory balloon device with default period. + /// Period can be adjusted in virt-config. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoattachMemBalloon")] pub autoattach_mem_balloon: Option, /// Whether to attach a pod network interface. Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoattachPodInterface")] pub autoattach_pod_interface: Option, - /// Whether to attach the default serial console or not. Serial console access will not be available if set to false. Defaults to true. + /// Whether to attach the default virtio-serial console or not. + /// Serial console access will not be available if set to false. Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoattachSerialConsole")] pub autoattach_serial_console: Option, - /// Whether to attach the VSOCK CID to the VM or not. VSOCK access will be available if set to true. Defaults to false. + /// Whether to attach the VSOCK CID to the VM or not. + /// VSOCK access will be available if set to true. Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoattachVSOCK")] pub autoattach_vsock: Option, - /// Whether or not to enable virtio multi-queue for block devices. Defaults to false. + /// Whether or not to enable virtio multi-queue for block devices. + /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "blockMultiQueue")] pub block_multi_queue: Option, /// To configure and access client devices such as redirecting USB @@ -1475,6 +2034,9 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Disks describes disks, cdroms and luns which are connected to the vmi. #[serde(default, skip_serializing_if = "Option::is_none")] pub disks: Option>, + /// DownwardMetrics creates a virtio serials for exposing the downward metrics to the vmi. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "downwardMetrics")] + pub downward_metrics: Option, /// Filesystems describes filesystem which is connected to the vmi. #[serde(default, skip_serializing_if = "Option::is_none")] pub filesystems: Option>, @@ -1490,6 +2052,12 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Interfaces describe network interfaces which are added to the vmi. #[serde(default, skip_serializing_if = "Option::is_none")] pub interfaces: Option>, + /// Whether to log the auto-attached default serial console or not. + /// Serial console logs will be collect to a file and then streamed from a named `guest-console-log`. + /// Not relevant if autoattachSerialConsole is disabled. + /// Defaults to cluster wide setting on VirtualMachineOptions. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "logSerialConsole")] + pub log_serial_console: Option, /// If specified, virtual network interfaces configured with a virtio bus will also enable the vhost multiqueue feature for network devices. The number of queues created depends on additional factors of the VirtualMachineInstance, like the number of guest CPUs. #[serde(default, skip_serializing_if = "Option::is_none", rename = "networkInterfaceMultiqueue")] pub network_interface_multiqueue: Option, @@ -1502,7 +2070,9 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Whether to emulate a TPM device. #[serde(default, skip_serializing_if = "Option::is_none")] pub tpm: Option, - /// Fall back to legacy virtio 0.9 support if virtio bus is selected on devices. This is helpful for old machines like CentOS6 or RHEL6 which do not understand virtio_non_transitional (virtio 1.0). + /// Fall back to legacy virtio 0.9 support if virtio bus is selected on devices. + /// This is helpful for old machines like CentOS6 or RHEL6 which + /// do not understand virtio_non_transitional (virtio 1.0). #[serde(default, skip_serializing_if = "Option::is_none", rename = "useVirtioTransitional")] pub use_virtio_transitional: Option, /// Watchdog describes a watchdog device which can be added to the vmi. @@ -1520,22 +2090,32 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// If specified, the virtual disk will be presented with the given block sizes. #[serde(default, skip_serializing_if = "Option::is_none", rename = "blockSize")] pub block_size: Option, - /// BootOrder is an integer value > 0, used to determine ordering of boot devices. Lower values take precedence. Each disk or interface that has a boot order must have a unique value. Disks without a boot order are not tried if a disk with a boot order exists. + /// BootOrder is an integer value > 0, used to determine ordering of boot devices. + /// Lower values take precedence. + /// Each disk or interface that has a boot order must have a unique value. + /// Disks without a boot order are not tried if a disk with a boot order exists. #[serde(default, skip_serializing_if = "Option::is_none", rename = "bootOrder")] pub boot_order: Option, - /// Cache specifies which kvm disk cache mode should be used. Supported values are: CacheNone, CacheWriteThrough. + /// Cache specifies which kvm disk cache mode should be used. + /// Supported values are: CacheNone, CacheWriteThrough. #[serde(default, skip_serializing_if = "Option::is_none")] pub cache: Option, /// Attach a volume as a cdrom to the vmi. #[serde(default, skip_serializing_if = "Option::is_none")] pub cdrom: Option, - /// dedicatedIOThread indicates this disk should have an exclusive IO Thread. Enabling this implies useIOThreads = true. Defaults to false. + /// dedicatedIOThread indicates this disk should have an exclusive IO Thread. + /// Enabling this implies useIOThreads = true. + /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dedicatedIOThread")] pub dedicated_io_thread: Option, /// Attach a volume as a disk to the vmi. #[serde(default, skip_serializing_if = "Option::is_none")] pub disk: Option, - /// IO specifies which QEMU disk IO mode should be used. Supported values are: native, default, threads. + /// If specified, it can change the default error policy (stop) for the disk + #[serde(default, skip_serializing_if = "Option::is_none", rename = "errorPolicy")] + pub error_policy: Option, + /// IO specifies which QEMU disk IO mode should be used. + /// Supported values are: native, default, threads. #[serde(default, skip_serializing_if = "Option::is_none")] pub io: Option, /// Attach a volume as a LUN to the vmi. @@ -1575,7 +2155,8 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Represents if a feature is enabled or disabled. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainDevicesDisksBlockSizeMatchVolume { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } @@ -1583,13 +2164,17 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Attach a volume as a cdrom to the vmi. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainDevicesDisksCdrom { - /// Bus indicates the type of disk device to emulate. supported values: virtio, sata, scsi. + /// Bus indicates the type of disk device to emulate. + /// supported values: virtio, sata, scsi. #[serde(default, skip_serializing_if = "Option::is_none")] pub bus: Option, - /// ReadOnly. Defaults to true. + /// ReadOnly. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub readonly: Option, - /// Tray indicates if the tray of the device is open or closed. Allowed values are "open" and "closed". Defaults to closed. + /// Tray indicates if the tray of the device is open or closed. + /// Allowed values are "open" and "closed". + /// Defaults to closed. #[serde(default, skip_serializing_if = "Option::is_none")] pub tray: Option, } @@ -1597,13 +2182,15 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Attach a volume as a disk to the vmi. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainDevicesDisksDisk { - /// Bus indicates the type of disk device to emulate. supported values: virtio, sata, scsi, usb. + /// Bus indicates the type of disk device to emulate. + /// supported values: virtio, sata, scsi, usb. #[serde(default, skip_serializing_if = "Option::is_none")] pub bus: Option, /// If specified, the virtual disk will be placed on the guests pci address with the specified PCI address. For example: 0000:81:01.10 #[serde(default, skip_serializing_if = "Option::is_none", rename = "pciAddress")] pub pci_address: Option, - /// ReadOnly. Defaults to false. + /// ReadOnly. + /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none")] pub readonly: Option, } @@ -1611,10 +2198,12 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Attach a volume as a LUN to the vmi. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainDevicesDisksLun { - /// Bus indicates the type of disk device to emulate. supported values: virtio, sata, scsi. + /// Bus indicates the type of disk device to emulate. + /// supported values: virtio, sata, scsi. #[serde(default, skip_serializing_if = "Option::is_none")] pub bus: Option, - /// ReadOnly. Defaults to false. + /// ReadOnly. + /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none")] pub readonly: Option, /// Reservation indicates if the disk needs to support the persistent reservation for the SCSI disk @@ -1622,6 +2211,11 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate pub reservation: Option, } +/// DownwardMetrics creates a virtio serials for exposing the downward metrics to the vmi. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainDevicesDownwardMetrics { +} + #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainDevicesFilesystems { /// Name is the device name @@ -1656,18 +2250,22 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainDevicesGpusVirtualGpuOptionsDisplay { - /// Enabled determines if a display addapter backed by a vGPU should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if a display addapter backed by a vGPU should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, - /// Enables a boot framebuffer, until the guest OS loads a real GPU driver Defaults to true. + /// Enables a boot framebuffer, until the guest OS loads a real GPU driver + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ramFB")] pub ram_fb: Option, } -/// Enables a boot framebuffer, until the guest OS loads a real GPU driver Defaults to true. +/// Enables a boot framebuffer, until the guest OS loads a real GPU driver +/// Defaults to true. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainDevicesGpusVirtualGpuOptionsDisplayRamFb { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } @@ -1685,22 +2283,34 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainDevicesInputs { - /// Bus indicates the bus of input device to emulate. Supported values: virtio, usb. + /// Bus indicates the bus of input device to emulate. + /// Supported values: virtio, usb. #[serde(default, skip_serializing_if = "Option::is_none")] pub bus: Option, /// Name is the device name pub name: String, - /// Type indicated the type of input device. Supported values: tablet. + /// Type indicated the type of input device. + /// Supported values: tablet. #[serde(rename = "type")] pub r#type: String, } #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainDevicesInterfaces { - /// If specified, the ACPI index is used to provide network interface device naming, that is stable across changes in PCI addresses assigned to the device. This value is required to be unique across all devices and be between 1 and (16*1024-1). + /// If specified, the ACPI index is used to provide network interface device naming, that is stable across changes + /// in PCI addresses assigned to the device. + /// This value is required to be unique across all devices and be between 1 and (16*1024-1). #[serde(default, skip_serializing_if = "Option::is_none", rename = "acpiIndex")] pub acpi_index: Option, - /// BootOrder is an integer value > 0, used to determine ordering of boot devices. Lower values take precedence. Each interface or disk that has a boot order must have a unique value. Interfaces without a boot order are not tried. + /// Binding specifies the binding plugin that will be used to connect the interface to the guest. + /// It provides an alternative to InterfaceBindingMethod. + /// version: 1alphav1 + #[serde(default, skip_serializing_if = "Option::is_none")] + pub binding: Option, + /// BootOrder is an integer value > 0, used to determine ordering of boot devices. + /// Lower values take precedence. + /// Each interface or disk that has a boot order must have a unique value. + /// Interfaces without a boot order are not tried. #[serde(default, skip_serializing_if = "Option::is_none", rename = "bootOrder")] pub boot_order: Option, /// InterfaceBridge connects to a given network via a linux bridge. @@ -1712,18 +2322,22 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Interface MAC address. For example: de:ad:00:00:be:af or DE-AD-00-00-BE-AF. #[serde(default, skip_serializing_if = "Option::is_none", rename = "macAddress")] pub mac_address: Option, - /// InterfaceMacvtap connects to a given network by extending the Kubernetes node's L2 networks via a macvtap interface. + /// Deprecated, please refer to Kubevirt user guide for alternatives. #[serde(default, skip_serializing_if = "Option::is_none")] pub macvtap: Option, /// InterfaceMasquerade connects to a given network using netfilter rules to nat the traffic. #[serde(default, skip_serializing_if = "Option::is_none")] pub masquerade: Option, - /// Interface model. One of: e1000, e1000e, ne2k_pci, pcnet, rtl8139, virtio. Defaults to virtio. TODO:(ihar) switch to enums once opengen-api supports them. See: https://github.com/kubernetes/kube-openapi/issues/51 + /// Interface model. + /// One of: e1000, e1000e, ne2k_pci, pcnet, rtl8139, virtio. + /// Defaults to virtio. + /// TODO:(ihar) switch to enums once opengen-api supports them. See: https://github.com/kubernetes/kube-openapi/issues/51 #[serde(default, skip_serializing_if = "Option::is_none")] pub model: Option, - /// Logical name of the interface as well as a reference to the associated networks. Must match the Name of a Network. + /// Logical name of the interface as well as a reference to the associated networks. + /// Must match the Name of a Network. pub name: String, - /// InterfacePasst connects to a given network. + /// Deprecated, please refer to Kubevirt user guide for alternatives. #[serde(default, skip_serializing_if = "Option::is_none")] pub passt: Option, /// If specified, the virtual network interface will be placed on the guests pci address with the specified PCI address. For example: 0000:81:01.10 @@ -1738,7 +2352,8 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// InterfaceSRIOV connects to a given network by passing-through an SR-IOV PCI device via vfio. #[serde(default, skip_serializing_if = "Option::is_none")] pub sriov: Option, - /// State represents the requested operational state of the interface. The (only) value supported is `absent`, expressing a request to remove the interface. + /// State represents the requested operational state of the interface. + /// The (only) value supported is `absent`, expressing a request to remove the interface. #[serde(default, skip_serializing_if = "Option::is_none")] pub state: Option, /// If specified, the virtual network interface address and its tag will be provided to the guest via config drive @@ -1746,6 +2361,16 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate pub tag: Option, } +/// Binding specifies the binding plugin that will be used to connect the interface to the guest. +/// It provides an alternative to InterfaceBindingMethod. +/// version: 1alphav1 +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainDevicesInterfacesBinding { + /// Name references to the binding name as denined in the kubevirt CR. + /// version: 1alphav1 + pub name: String, +} + /// InterfaceBridge connects to a given network via a linux bridge. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainDevicesInterfacesBridge { @@ -1771,13 +2396,15 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// DHCPExtraOptions defines Extra DHCP options for a VM. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainDevicesInterfacesDhcpOptionsPrivateOptions { - /// Option is an Integer value from 224-254 Required. + /// Option is an Integer value from 224-254 + /// Required. pub option: i64, - /// Value is a String value for the Option provided Required. + /// Value is a String value for the Option provided + /// Required. pub value: String, } -/// InterfaceMacvtap connects to a given network by extending the Kubernetes node's L2 networks via a macvtap interface. +/// Deprecated, please refer to Kubevirt user guide for alternatives. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainDevicesInterfacesMacvtap { } @@ -1787,20 +2414,26 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainDevicesInterfacesMasquerade { } -/// InterfacePasst connects to a given network. +/// Deprecated, please refer to Kubevirt user guide for alternatives. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainDevicesInterfacesPasst { } -/// Port represents a port to expose from the virtual machine. Default protocol TCP. The port field is mandatory +/// Port represents a port to expose from the virtual machine. +/// Default protocol TCP. +/// The port field is mandatory #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainDevicesInterfacesPorts { - /// If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services. + /// If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + /// named port in a pod must have a unique name. Name for the port that can be + /// referred to by services. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, - /// Number of port to expose for the virtual machine. This must be a valid port number, 0 < x < 65536. + /// Number of port to expose for the virtual machine. + /// This must be a valid port number, 0 < x < 65536. pub port: i32, - /// Protocol for port. Must be UDP or TCP. Defaults to "TCP". + /// Protocol for port. Must be UDP or TCP. + /// Defaults to "TCP". #[serde(default, skip_serializing_if = "Option::is_none")] pub protocol: Option, } @@ -1823,7 +2456,9 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Whether to emulate a sound device. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainDevicesSound { - /// We only support ich9 or ac97. If SoundDevice is not set: No sound card is emulated. If SoundDevice is set but Model is not: ich9 + /// We only support ich9 or ac97. + /// If SoundDevice is not set: No sound card is emulated. + /// If SoundDevice is set but Model is not: ich9 #[serde(default, skip_serializing_if = "Option::is_none")] pub model: Option, /// User's defined name for this sound device @@ -1833,7 +2468,8 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Whether to emulate a TPM device. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainDevicesTpm { - /// Persistent indicates the state of the TPM device should be kept accross reboots Defaults to false + /// Persistent indicates the state of the TPM device should be kept accross reboots + /// Defaults to false #[serde(default, skip_serializing_if = "Option::is_none")] pub persistent: Option, } @@ -1851,7 +2487,8 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// i6300esb watchdog device. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainDevicesWatchdogI6300esb { - /// The action to take. Valid values are poweroff, reset, shutdown. Defaults to reset. + /// The action to take. Valid values are poweroff, reset, shutdown. + /// Defaults to reset. #[serde(default, skip_serializing_if = "Option::is_none")] pub action: Option, } @@ -1859,7 +2496,8 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Features like acpi, apic, hyperv, smm. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFeatures { - /// ACPI enables/disables ACPI inside the guest. Defaults to enabled. + /// ACPI enables/disables ACPI inside the guest. + /// Defaults to enabled. #[serde(default, skip_serializing_if = "Option::is_none")] pub acpi: Option, /// Defaults to the machine type setting. @@ -1871,18 +2509,22 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Configure how KVM presence is exposed to the guest. #[serde(default, skip_serializing_if = "Option::is_none")] pub kvm: Option, - /// Notify the guest that the host supports paravirtual spinlocks. For older kernels this feature should be explicitly disabled. + /// Notify the guest that the host supports paravirtual spinlocks. + /// For older kernels this feature should be explicitly disabled. #[serde(default, skip_serializing_if = "Option::is_none")] pub pvspinlock: Option, - /// SMM enables/disables System Management Mode. TSEG not yet implemented. + /// SMM enables/disables System Management Mode. + /// TSEG not yet implemented. #[serde(default, skip_serializing_if = "Option::is_none")] pub smm: Option, } -/// ACPI enables/disables ACPI inside the guest. Defaults to enabled. +/// ACPI enables/disables ACPI inside the guest. +/// Defaults to enabled. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFeaturesAcpi { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } @@ -1890,10 +2532,12 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFeaturesApic { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, - /// EndOfInterrupt enables the end of interrupt notification in the guest. Defaults to false. + /// EndOfInterrupt enables the end of interrupt notification in the guest. + /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "endOfInterrupt")] pub end_of_interrupt: Option, } @@ -1901,102 +2545,129 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHyperv { - /// EVMCS Speeds up L2 vmexits, but disables other virtualization features. Requires vapic. Defaults to the machine type setting. + /// EVMCS Speeds up L2 vmexits, but disables other virtualization features. Requires vapic. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub evmcs: Option, - /// Frequencies improves the TSC clock source handling for Hyper-V on KVM. Defaults to the machine type setting. + /// Frequencies improves the TSC clock source handling for Hyper-V on KVM. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub frequencies: Option, - /// IPI improves performances in overcommited environments. Requires vpindex. Defaults to the machine type setting. + /// IPI improves performances in overcommited environments. Requires vpindex. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub ipi: Option, - /// Reenlightenment enables the notifications on TSC frequency changes. Defaults to the machine type setting. + /// Reenlightenment enables the notifications on TSC frequency changes. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub reenlightenment: Option, - /// Relaxed instructs the guest OS to disable watchdog timeouts. Defaults to the machine type setting. + /// Relaxed instructs the guest OS to disable watchdog timeouts. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub relaxed: Option, - /// Reset enables Hyperv reboot/reset for the vmi. Requires synic. Defaults to the machine type setting. + /// Reset enables Hyperv reboot/reset for the vmi. Requires synic. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub reset: Option, - /// Runtime improves the time accounting to improve scheduling in the guest. Defaults to the machine type setting. + /// Runtime improves the time accounting to improve scheduling in the guest. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub runtime: Option, /// Spinlocks allows to configure the spinlock retry attempts. #[serde(default, skip_serializing_if = "Option::is_none")] pub spinlocks: Option, - /// SyNIC enables the Synthetic Interrupt Controller. Defaults to the machine type setting. + /// SyNIC enables the Synthetic Interrupt Controller. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub synic: Option, - /// SyNICTimer enables Synthetic Interrupt Controller Timers, reducing CPU load. Defaults to the machine type setting. + /// SyNICTimer enables Synthetic Interrupt Controller Timers, reducing CPU load. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub synictimer: Option, - /// TLBFlush improves performances in overcommited environments. Requires vpindex. Defaults to the machine type setting. + /// TLBFlush improves performances in overcommited environments. Requires vpindex. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub tlbflush: Option, - /// VAPIC improves the paravirtualized handling of interrupts. Defaults to the machine type setting. + /// VAPIC improves the paravirtualized handling of interrupts. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub vapic: Option, - /// VendorID allows setting the hypervisor vendor id. Defaults to the machine type setting. + /// VendorID allows setting the hypervisor vendor id. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub vendorid: Option, - /// VPIndex enables the Virtual Processor Index to help windows identifying virtual processors. Defaults to the machine type setting. + /// VPIndex enables the Virtual Processor Index to help windows identifying virtual processors. + /// Defaults to the machine type setting. #[serde(default, skip_serializing_if = "Option::is_none")] pub vpindex: Option, } -/// EVMCS Speeds up L2 vmexits, but disables other virtualization features. Requires vapic. Defaults to the machine type setting. +/// EVMCS Speeds up L2 vmexits, but disables other virtualization features. Requires vapic. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervEvmcs { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -/// Frequencies improves the TSC clock source handling for Hyper-V on KVM. Defaults to the machine type setting. +/// Frequencies improves the TSC clock source handling for Hyper-V on KVM. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervFrequencies { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -/// IPI improves performances in overcommited environments. Requires vpindex. Defaults to the machine type setting. +/// IPI improves performances in overcommited environments. Requires vpindex. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervIpi { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -/// Reenlightenment enables the notifications on TSC frequency changes. Defaults to the machine type setting. +/// Reenlightenment enables the notifications on TSC frequency changes. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervReenlightenment { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -/// Relaxed instructs the guest OS to disable watchdog timeouts. Defaults to the machine type setting. +/// Relaxed instructs the guest OS to disable watchdog timeouts. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervRelaxed { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -/// Reset enables Hyperv reboot/reset for the vmi. Requires synic. Defaults to the machine type setting. +/// Reset enables Hyperv reboot/reset for the vmi. Requires synic. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervReset { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -/// Runtime improves the time accounting to improve scheduling in the guest. Defaults to the machine type setting. +/// Runtime improves the time accounting to improve scheduling in the guest. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervRuntime { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } @@ -2004,23 +2675,29 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Spinlocks allows to configure the spinlock retry attempts. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervSpinlocks { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, - /// Retries indicates the number of retries. Must be a value greater or equal 4096. Defaults to 4096. + /// Retries indicates the number of retries. + /// Must be a value greater or equal 4096. + /// Defaults to 4096. #[serde(default, skip_serializing_if = "Option::is_none")] pub spinlocks: Option, } -/// SyNIC enables the Synthetic Interrupt Controller. Defaults to the machine type setting. +/// SyNIC enables the Synthetic Interrupt Controller. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervSynic { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -/// SyNICTimer enables Synthetic Interrupt Controller Timers, reducing CPU load. Defaults to the machine type setting. +/// SyNICTimer enables Synthetic Interrupt Controller Timers, reducing CPU load. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervSynictimer { /// Represents if a feature is enabled or disabled. @@ -2033,42 +2710,52 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Represents if a feature is enabled or disabled. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervSynictimerDirect { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -/// TLBFlush improves performances in overcommited environments. Requires vpindex. Defaults to the machine type setting. +/// TLBFlush improves performances in overcommited environments. Requires vpindex. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervTlbflush { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -/// VAPIC improves the paravirtualized handling of interrupts. Defaults to the machine type setting. +/// VAPIC improves the paravirtualized handling of interrupts. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervVapic { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -/// VendorID allows setting the hypervisor vendor id. Defaults to the machine type setting. +/// VendorID allows setting the hypervisor vendor id. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervVendorid { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, - /// VendorID sets the hypervisor vendor id, visible to the vmi. String up to twelve characters. + /// VendorID sets the hypervisor vendor id, visible to the vmi. + /// String up to twelve characters. #[serde(default, skip_serializing_if = "Option::is_none")] pub vendorid: Option, } -/// VPIndex enables the Virtual Processor Index to help windows identifying virtual processors. Defaults to the machine type setting. +/// VPIndex enables the Virtual Processor Index to help windows identifying virtual processors. +/// Defaults to the machine type setting. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFeaturesHypervVpindex { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } @@ -2076,23 +2763,28 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Configure how KVM presence is exposed to the guest. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFeaturesKvm { - /// Hide the KVM hypervisor from standard MSR based discovery. Defaults to false + /// Hide the KVM hypervisor from standard MSR based discovery. + /// Defaults to false #[serde(default, skip_serializing_if = "Option::is_none")] pub hidden: Option, } -/// Notify the guest that the host supports paravirtual spinlocks. For older kernels this feature should be explicitly disabled. +/// Notify the guest that the host supports paravirtual spinlocks. +/// For older kernels this feature should be explicitly disabled. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFeaturesPvspinlock { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -/// SMM enables/disables System Management Mode. TSEG not yet implemented. +/// SMM enables/disables System Management Mode. +/// TSEG not yet implemented. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFeaturesSmm { - /// Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. + /// Enabled determines if the feature should be enabled or disabled on the guest. + /// Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } @@ -2100,6 +2792,9 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Firmware. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFirmware { + /// Information that can be set in the ACPI table + #[serde(default, skip_serializing_if = "Option::is_none")] + pub acpi: Option, /// Settings to control the bootloader that is used. #[serde(default, skip_serializing_if = "Option::is_none")] pub bootloader: Option, @@ -2109,11 +2804,22 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// The system-serial-number in SMBIOS #[serde(default, skip_serializing_if = "Option::is_none")] pub serial: Option, - /// UUID reported by the vmi bios. Defaults to a random generated uid. + /// UUID reported by the vmi bios. + /// Defaults to a random generated uid. #[serde(default, skip_serializing_if = "Option::is_none")] pub uuid: Option, } +/// Information that can be set in the ACPI table +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFirmwareAcpi { + /// SlicNameRef should match the volume name of a secret object. The data in the secret should + /// be a binary blob that follows the ACPI SLIC standard, see: + /// https://learn.microsoft.com/en-us/previous-versions/windows/hardware/design/dn653305(v=vs.85) + #[serde(default, skip_serializing_if = "Option::is_none", rename = "slicNameRef")] + pub slic_name_ref: Option, +} + /// Settings to control the bootloader that is used. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFirmwareBootloader { @@ -2136,7 +2842,14 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// If set, EFI will be used instead of BIOS. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFirmwareBootloaderEfi { - /// If set, SecureBoot will be enabled and the OVMF roms will be swapped for SecureBoot-enabled ones. Requires SMM to be enabled. Defaults to true + /// If set to true, Persistent will persist the EFI NVRAM across reboots. + /// Defaults to false + #[serde(default, skip_serializing_if = "Option::is_none")] + pub persistent: Option, + /// If set, SecureBoot will be enabled and the OVMF roms will be swapped for + /// SecureBoot-enabled ones. + /// Requires SMM to be enabled. + /// Defaults to true #[serde(default, skip_serializing_if = "Option::is_none", rename = "secureBoot")] pub secure_boot: Option, } @@ -2157,7 +2870,11 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainFirmwareKernelBootContainer { /// Image that contains initrd / kernel files. pub image: String, - /// Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images + /// Image pull policy. + /// One of Always, Never, IfNotPresent. + /// Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + /// Cannot be updated. + /// More info: https://kubernetes.io/docs/concepts/containers/images#updating-images #[serde(default, skip_serializing_if = "Option::is_none", rename = "imagePullPolicy")] pub image_pull_policy: Option, /// ImagePullSecret is the name of the Docker registry secret required to pull the image. The secret must already exist. @@ -2182,15 +2899,32 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// AMD Secure Encrypted Virtualization (SEV). #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainLaunchSecuritySev { - /// Guest policy flags as defined in AMD SEV API specification. Note: due to security reasons it is not allowed to enable guest debugging. Therefore NoDebug flag is not exposed to users and is always true. + /// If specified, run the attestation process for a vmi. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub attestation: Option, + /// Base64 encoded guest owner's Diffie-Hellman key. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "dhCert")] + pub dh_cert: Option, + /// Guest policy flags as defined in AMD SEV API specification. + /// Note: due to security reasons it is not allowed to enable guest debugging. Therefore NoDebug flag is not exposed to users and is always true. #[serde(default, skip_serializing_if = "Option::is_none")] pub policy: Option, + /// Base64 encoded session blob. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub session: Option, +} + +/// If specified, run the attestation process for a vmi. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainLaunchSecuritySevAttestation { } -/// Guest policy flags as defined in AMD SEV API specification. Note: due to security reasons it is not allowed to enable guest debugging. Therefore NoDebug flag is not exposed to users and is always true. +/// Guest policy flags as defined in AMD SEV API specification. +/// Note: due to security reasons it is not allowed to enable guest debugging. Therefore NoDebug flag is not exposed to users and is always true. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainLaunchSecuritySevPolicy { - /// SEV-ES is required. Defaults to false. + /// SEV-ES is required. + /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "encryptedState")] pub encrypted_state: Option, } @@ -2206,12 +2940,18 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Memory allow specifying the VMI memory features. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainMemory { - /// Guest allows to specifying the amount of memory which is visible inside the Guest OS. The Guest must lie between Requests and Limits from the resources section. Defaults to the requested memory in the resources section if not specified. + /// Guest allows to specifying the amount of memory which is visible inside the Guest OS. + /// The Guest must lie between Requests and Limits from the resources section. + /// Defaults to the requested memory in the resources section if not specified. #[serde(default, skip_serializing_if = "Option::is_none")] pub guest: Option, /// Hugepages allow to use hugepages for the VirtualMachineInstance instead of regular memory. #[serde(default, skip_serializing_if = "Option::is_none")] pub hugepages: Option, + /// MaxGuest allows to specify the maximum amount of memory which is visible inside the Guest OS. + /// The delta between MaxGuest and Guest is the amount of memory that can be hot(un)plugged. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxGuest")] + pub max_guest: Option, } /// Hugepages allow to use hugepages for the VirtualMachineInstance instead of regular memory. @@ -2225,24 +2965,34 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Resources describes the Compute Resources required by this vmi. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecDomainResources { - /// Limits describes the maximum amount of compute resources allowed. Valid resource keys are "memory" and "cpu". + /// Limits describes the maximum amount of compute resources allowed. + /// Valid resource keys are "memory" and "cpu". #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, - /// Don't ask the scheduler to take the guest-management overhead into account. Instead put the overhead only into the container's memory limit. This can lead to crashes if all memory is in use on a node. Defaults to false. + /// Don't ask the scheduler to take the guest-management overhead into account. Instead + /// put the overhead only into the container's memory limit. This can lead to crashes if + /// all memory is in use on a node. Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "overcommitGuestOverhead")] pub overcommit_guest_overhead: Option, - /// Requests is a description of the initial vmi resources. Valid resource keys are "memory" and "cpu". + /// Requests is a description of the initial vmi resources. + /// Valid resource keys are "memory" and "cpu". #[serde(default, skip_serializing_if = "Option::is_none")] pub requests: Option>, } -/// Periodic probe of VirtualMachineInstance liveness. VirtualmachineInstances will be stopped if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +/// Periodic probe of VirtualMachineInstance liveness. +/// VirtualmachineInstances will be stopped if the probe fails. +/// Cannot be updated. +/// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecLivenessProbe { - /// One and only one of the following should be specified. Exec specifies the action to take, it will be executed on the guest through the qemu-guest-agent. If the guest agent is not available, this probe will fail. + /// One and only one of the following should be specified. + /// Exec specifies the action to take, it will be executed on the guest through the qemu-guest-agent. + /// If the guest agent is not available, this probe will fail. #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, - /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. + /// Minimum consecutive failures for the probe to be considered failed after having succeeded. + /// Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] pub failure_threshold: Option, /// GuestAgentPing contacts the qemu-guest-agent for availability checks. @@ -2251,27 +3001,44 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// HTTPGet specifies the http request to perform. #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpGet")] pub http_get: Option, - /// Number of seconds after the VirtualMachineInstance has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + /// Number of seconds after the VirtualMachineInstance has started before liveness probes are initiated. + /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes #[serde(default, skip_serializing_if = "Option::is_none", rename = "initialDelaySeconds")] pub initial_delay_seconds: Option, - /// How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. + /// How often (in seconds) to perform the probe. + /// Default to 10 seconds. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "periodSeconds")] pub period_seconds: Option, - /// Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1. + /// Minimum consecutive successes for the probe to be considered successful after having failed. + /// Defaults to 1. Must be 1 for liveness. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "successThreshold")] pub success_threshold: Option, - /// TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported TODO: implement a realistic TCP lifecycle hook + /// TCPSocket specifies an action involving a TCP port. + /// TCP hooks not yet supported + /// TODO: implement a realistic TCP lifecycle hook #[serde(default, skip_serializing_if = "Option::is_none", rename = "tcpSocket")] pub tcp_socket: Option, - /// Number of seconds after which the probe times out. For exec probes the timeout fails the probe but does not terminate the command running on the guest. This means a blocking command can result in an increasing load on the guest. A small buffer will be added to the resulting workload exec probe to compensate for delays caused by the qemu guest exec mechanism. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + /// Number of seconds after which the probe times out. + /// For exec probes the timeout fails the probe but does not terminate the command running on the guest. + /// This means a blocking command can result in an increasing load on the guest. + /// A small buffer will be added to the resulting workload exec probe to compensate for delays + /// caused by the qemu guest exec mechanism. + /// Defaults to 1 second. Minimum value is 1. + /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] pub timeout_seconds: Option, } -/// One and only one of the following should be specified. Exec specifies the action to take, it will be executed on the guest through the qemu-guest-agent. If the guest agent is not available, this probe will fail. +/// One and only one of the following should be specified. +/// Exec specifies the action to take, it will be executed on the guest through the qemu-guest-agent. +/// If the guest agent is not available, this probe will fail. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecLivenessProbeExec { - /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. + /// Command is the command line to execute inside the container, the working directory for the + /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is + /// not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + /// a shell, you need to explicitly call out to that shell. + /// Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } @@ -2284,7 +3051,8 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// HTTPGet specifies the http request to perform. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecLivenessProbeHttpGet { - /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. + /// Host name to connect to, defaults to the pod IP. You probably want to set + /// "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, /// Custom headers to set in the request. HTTP allows repeated headers. @@ -2293,9 +3061,12 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Path to access on the HTTP server. #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, - /// Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. + /// Name or number of the port to access on the container. + /// Number must be in the range 1 to 65535. + /// Name must be an IANA_SVC_NAME. pub port: IntOrString, - /// Scheme to use for connecting to the host. Defaults to HTTP. + /// Scheme to use for connecting to the host. + /// Defaults to HTTP. #[serde(default, skip_serializing_if = "Option::is_none")] pub scheme: Option, } @@ -2303,19 +3074,24 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// HTTPHeader describes a custom header to be used in HTTP probes #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecLivenessProbeHttpGetHttpHeaders { - /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. + /// The header field name. + /// This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, /// The header field value pub value: String, } -/// TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported TODO: implement a realistic TCP lifecycle hook +/// TCPSocket specifies an action involving a TCP port. +/// TCP hooks not yet supported +/// TODO: implement a realistic TCP lifecycle hook #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, - /// Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. + /// Number or name of the port to access on the container. + /// Number must be in the range 1 to 65535. + /// Name must be an IANA_SVC_NAME. pub port: IntOrString, } @@ -2325,7 +3101,9 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Represents the multus cni network. #[serde(default, skip_serializing_if = "Option::is_none")] pub multus: Option, - /// Network name. Must be a DNS_LABEL and unique within the vm. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// Network name. + /// Must be a DNS_LABEL and unique within the vm. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names pub name: String, /// Represents the stock pod network interface. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2335,10 +3113,13 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Represents the multus cni network. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecNetworksMultus { - /// Select the default network and add it to the multus-cni.io/default-network annotation. + /// Select the default network and add it to the + /// multus-cni.io/default-network annotation. #[serde(default, skip_serializing_if = "Option::is_none")] pub default: Option, - /// References to a NetworkAttachmentDefinition CRD object. Format: , /. If namespace is not specified, VMI namespace is assumed. + /// References to a NetworkAttachmentDefinition CRD object. Format: + /// , /. If namespace is not + /// specified, VMI namespace is assumed. #[serde(rename = "networkName")] pub network_name: String, } @@ -2346,21 +3127,29 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Represents the stock pod network interface. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecNetworksPod { - /// IPv6 CIDR for the vm network. Defaults to fd10:0:2::/120 if not specified. + /// IPv6 CIDR for the vm network. + /// Defaults to fd10:0:2::/120 if not specified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "vmIPv6NetworkCIDR")] pub vm_i_pv6_network_cidr: Option, - /// CIDR for vm network. Default 10.0.2.0/24 if not specified. + /// CIDR for vm network. + /// Default 10.0.2.0/24 if not specified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "vmNetworkCIDR")] pub vm_network_cidr: Option, } -/// Periodic probe of VirtualMachineInstance service readiness. VirtualmachineInstances will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +/// Periodic probe of VirtualMachineInstance service readiness. +/// VirtualmachineInstances will be removed from service endpoints if the probe fails. +/// Cannot be updated. +/// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecReadinessProbe { - /// One and only one of the following should be specified. Exec specifies the action to take, it will be executed on the guest through the qemu-guest-agent. If the guest agent is not available, this probe will fail. + /// One and only one of the following should be specified. + /// Exec specifies the action to take, it will be executed on the guest through the qemu-guest-agent. + /// If the guest agent is not available, this probe will fail. #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, - /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. + /// Minimum consecutive failures for the probe to be considered failed after having succeeded. + /// Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] pub failure_threshold: Option, /// GuestAgentPing contacts the qemu-guest-agent for availability checks. @@ -2369,27 +3158,44 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// HTTPGet specifies the http request to perform. #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpGet")] pub http_get: Option, - /// Number of seconds after the VirtualMachineInstance has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + /// Number of seconds after the VirtualMachineInstance has started before liveness probes are initiated. + /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes #[serde(default, skip_serializing_if = "Option::is_none", rename = "initialDelaySeconds")] pub initial_delay_seconds: Option, - /// How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. + /// How often (in seconds) to perform the probe. + /// Default to 10 seconds. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "periodSeconds")] pub period_seconds: Option, - /// Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1. + /// Minimum consecutive successes for the probe to be considered successful after having failed. + /// Defaults to 1. Must be 1 for liveness. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "successThreshold")] pub success_threshold: Option, - /// TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported TODO: implement a realistic TCP lifecycle hook + /// TCPSocket specifies an action involving a TCP port. + /// TCP hooks not yet supported + /// TODO: implement a realistic TCP lifecycle hook #[serde(default, skip_serializing_if = "Option::is_none", rename = "tcpSocket")] pub tcp_socket: Option, - /// Number of seconds after which the probe times out. For exec probes the timeout fails the probe but does not terminate the command running on the guest. This means a blocking command can result in an increasing load on the guest. A small buffer will be added to the resulting workload exec probe to compensate for delays caused by the qemu guest exec mechanism. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + /// Number of seconds after which the probe times out. + /// For exec probes the timeout fails the probe but does not terminate the command running on the guest. + /// This means a blocking command can result in an increasing load on the guest. + /// A small buffer will be added to the resulting workload exec probe to compensate for delays + /// caused by the qemu guest exec mechanism. + /// Defaults to 1 second. Minimum value is 1. + /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] pub timeout_seconds: Option, } -/// One and only one of the following should be specified. Exec specifies the action to take, it will be executed on the guest through the qemu-guest-agent. If the guest agent is not available, this probe will fail. +/// One and only one of the following should be specified. +/// Exec specifies the action to take, it will be executed on the guest through the qemu-guest-agent. +/// If the guest agent is not available, this probe will fail. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecReadinessProbeExec { - /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. + /// Command is the command line to execute inside the container, the working directory for the + /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is + /// not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + /// a shell, you need to explicitly call out to that shell. + /// Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } @@ -2402,7 +3208,8 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// HTTPGet specifies the http request to perform. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecReadinessProbeHttpGet { - /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. + /// Host name to connect to, defaults to the pod IP. You probably want to set + /// "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, /// Custom headers to set in the request. HTTP allows repeated headers. @@ -2411,9 +3218,12 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Path to access on the HTTP server. #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, - /// Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. + /// Name or number of the port to access on the container. + /// Number must be in the range 1 to 65535. + /// Name must be an IANA_SVC_NAME. pub port: IntOrString, - /// Scheme to use for connecting to the host. Defaults to HTTP. + /// Scheme to use for connecting to the host. + /// Defaults to HTTP. #[serde(default, skip_serializing_if = "Option::is_none")] pub scheme: Option, } @@ -2421,38 +3231,53 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// HTTPHeader describes a custom header to be used in HTTP probes #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecReadinessProbeHttpGetHttpHeaders { - /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. + /// The header field name. + /// This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, /// The header field value pub value: String, } -/// TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported TODO: implement a realistic TCP lifecycle hook +/// TCPSocket specifies an action involving a TCP port. +/// TCP hooks not yet supported +/// TODO: implement a realistic TCP lifecycle hook #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, - /// Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. + /// Number or name of the port to access on the container. + /// Number must be in the range 1 to 65535. + /// Name must be an IANA_SVC_NAME. pub port: IntOrString, } -/// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . +/// The pod this Toleration is attached to tolerates any taint that matches +/// the triple using the matching operator . #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecTolerations { - /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. + /// Effect indicates the taint effect to match. Empty means match all taint effects. + /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, - /// Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. + /// Key is the taint key that the toleration applies to. Empty means match all taint keys. + /// If the key is empty, operator must be Exists; this combination means to match all values and all keys. #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, - /// Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category. + /// Operator represents a key's relationship to the value. + /// Valid operators are Exists and Equal. Defaults to Equal. + /// Exists is equivalent to wildcard for value, so that a pod can + /// tolerate all taints of a particular category. #[serde(default, skip_serializing_if = "Option::is_none")] pub operator: Option, - /// TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. + /// TolerationSeconds represents the period of time the toleration (which must be + /// of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, + /// it is not set, which means tolerate the taint forever (do not evict). Zero and + /// negative values will be treated as 0 (evict immediately) by the system. #[serde(default, skip_serializing_if = "Option::is_none", rename = "tolerationSeconds")] pub toleration_seconds: Option, - /// Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. + /// Value is the taint value the toleration matches to. + /// If the operator is Exists, the value should be empty, otherwise just a regular string. #[serde(default, skip_serializing_if = "Option::is_none")] pub value: Option, } @@ -2460,56 +3285,148 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecTopologySpreadConstraints { - /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. + /// LabelSelector is used to find matching pods. + /// Pods that match this label selector are counted to determine the number of pods + /// in their corresponding topology domain. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, - /// MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn't set. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector. - /// This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default). + /// MatchLabelKeys is a set of pod label keys to select the pods over which + /// spreading will be calculated. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are ANDed with labelSelector + /// to select the group of existing pods over which spreading will be calculated + /// for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. + /// MatchLabelKeys cannot be set when LabelSelector isn't set. + /// Keys that don't exist in the incoming pod labels will + /// be ignored. A null or empty list means only match against labelSelector. + /// + /// + /// This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default). #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, - /// MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | | P P | P P | P | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed. + /// MaxSkew describes the degree to which pods may be unevenly distributed. + /// When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference + /// between the number of matching pods in the target topology and the global minimum. + /// The global minimum is the minimum number of matching pods in an eligible domain + /// or zero if the number of eligible domains is less than MinDomains. + /// For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same + /// labelSelector spread as 2/2/1: + /// In this case, the global minimum is 1. + /// | zone1 | zone2 | zone3 | + /// | P P | P P | P | + /// - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; + /// scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) + /// violate MaxSkew(1). + /// - if MaxSkew is 2, incoming pod can be scheduled onto any zone. + /// When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence + /// to topologies that satisfy it. + /// It's a required field. Default value is 1 and 0 is not allowed. #[serde(rename = "maxSkew")] pub max_skew: i32, - /// MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats "global minimum" as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won't schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule. - /// For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: | zone1 | zone2 | zone3 | | P P | P P | P P | The number of domains is less than 5(MinDomains), so "global minimum" is treated as 0. In this situation, new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate MaxSkew. - /// This is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default). + /// MinDomains indicates a minimum number of eligible domains. + /// When the number of eligible domains with matching topology keys is less than minDomains, + /// Pod Topology Spread treats "global minimum" as 0, and then the calculation of Skew is performed. + /// And when the number of eligible domains with matching topology keys equals or greater than minDomains, + /// this value has no effect on scheduling. + /// As a result, when the number of eligible domains is less than minDomains, + /// scheduler won't schedule more than maxSkew Pods to those domains. + /// If value is nil, the constraint behaves as if MinDomains is equal to 1. + /// Valid values are integers greater than 0. + /// When value is not nil, WhenUnsatisfiable must be DoNotSchedule. + /// + /// + /// For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same + /// labelSelector spread as 2/2/2: + /// | zone1 | zone2 | zone3 | + /// | P P | P P | P P | + /// The number of domains is less than 5(MinDomains), so "global minimum" is treated as 0. + /// In this situation, new pod with the same labelSelector cannot be scheduled, + /// because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, + /// it will violate MaxSkew. #[serde(default, skip_serializing_if = "Option::is_none", rename = "minDomains")] pub min_domains: Option, - /// NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations. - /// If this value is nil, the behavior is equivalent to the Honor policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. + /// NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector + /// when calculating pod topology spread skew. Options are: + /// - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. + /// - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations. + /// + /// + /// If this value is nil, the behavior is equivalent to the Honor policy. + /// This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinityPolicy")] pub node_affinity_policy: Option, - /// NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included. - /// If this value is nil, the behavior is equivalent to the Ignore policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. + /// NodeTaintsPolicy indicates how we will treat node taints when calculating + /// pod topology spread skew. Options are: + /// - Honor: nodes without taints, along with tainted nodes for which the incoming pod + /// has a toleration, are included. + /// - Ignore: node taints are ignored. All nodes are included. + /// + /// + /// If this value is nil, the behavior is equivalent to the Ignore policy. + /// This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeTaintsPolicy")] pub node_taints_policy: Option, - /// TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a "bucket", and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes meet the requirements of nodeAffinityPolicy and nodeTaintsPolicy. e.g. If TopologyKey is "kubernetes.io/hostname", each Node is a domain of that topology. And, if TopologyKey is "topology.kubernetes.io/zone", each zone is a domain of that topology. It's a required field. + /// TopologyKey is the key of node labels. Nodes that have a label with this key + /// and identical values are considered to be in the same topology. + /// We consider each as a "bucket", and try to put balanced number + /// of pods into each bucket. + /// We define a domain as a particular instance of a topology. + /// Also, we define an eligible domain as a domain whose nodes meet the requirements of + /// nodeAffinityPolicy and nodeTaintsPolicy. + /// e.g. If TopologyKey is "kubernetes.io/hostname", each Node is a domain of that topology. + /// And, if TopologyKey is "topology.kubernetes.io/zone", each zone is a domain of that topology. + /// It's a required field. #[serde(rename = "topologyKey")] pub topology_key: String, - /// WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location, but giving higher precedence to topologies that would help reduce the skew. A constraint is considered "Unsatisfiable" for an incoming pod if and only if every possible node assignment for that pod would violate "MaxSkew" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field. + /// WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy + /// the spread constraint. + /// - DoNotSchedule (default) tells the scheduler not to schedule it. + /// - ScheduleAnyway tells the scheduler to schedule the pod in any location, + /// but giving higher precedence to topologies that would help reduce the + /// skew. + /// A constraint is considered "Unsatisfiable" for an incoming pod + /// if and only if every possible node assignment for that pod would violate + /// "MaxSkew" on some topology. + /// For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same + /// labelSelector spread as 3/1/1: + /// | zone1 | zone2 | zone3 | + /// | P P P | P | P | + /// If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled + /// to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies + /// MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler + /// won't make it *more* imbalanced. + /// It's a required field. #[serde(rename = "whenUnsatisfiable")] pub when_unsatisfiable: String, } -/// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. +/// LabelSelector is used to find matching pods. +/// Pods that match this label selector are counted to determine the number of pods +/// in their corresponding topology domain. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } @@ -2517,28 +3434,37 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Volume represents a named volume in a vmi. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecVolumes { - /// CloudInitConfigDrive represents a cloud-init Config Drive user-data source. The Config Drive data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. More info: https://cloudinit.readthedocs.io/en/latest/topics/datasources/configdrive.html + /// CloudInitConfigDrive represents a cloud-init Config Drive user-data source. + /// The Config Drive data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. + /// More info: https://cloudinit.readthedocs.io/en/latest/topics/datasources/configdrive.html #[serde(default, skip_serializing_if = "Option::is_none", rename = "cloudInitConfigDrive")] pub cloud_init_config_drive: Option, - /// CloudInitNoCloud represents a cloud-init NoCloud user-data source. The NoCloud data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. More info: http://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html + /// CloudInitNoCloud represents a cloud-init NoCloud user-data source. + /// The NoCloud data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. + /// More info: http://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html #[serde(default, skip_serializing_if = "Option::is_none", rename = "cloudInitNoCloud")] pub cloud_init_no_cloud: Option, - /// ConfigMapSource represents a reference to a ConfigMap in the same namespace. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/ + /// ConfigMapSource represents a reference to a ConfigMap in the same namespace. + /// More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/ #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, - /// ContainerDisk references a docker image, embedding a qcow or raw disk. More info: https://kubevirt.gitbooks.io/user-guide/registry-disk.html + /// ContainerDisk references a docker image, embedding a qcow or raw disk. + /// More info: https://kubevirt.gitbooks.io/user-guide/registry-disk.html #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerDisk")] pub container_disk: Option, - /// DataVolume represents the dynamic creation a PVC for this volume as well as the process of populating that PVC with a disk image. + /// DataVolume represents the dynamic creation a PVC for this volume as well as + /// the process of populating that PVC with a disk image. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dataVolume")] pub data_volume: Option, /// DownwardAPI represents downward API about the pod that should populate this volume #[serde(default, skip_serializing_if = "Option::is_none", rename = "downwardAPI")] pub downward_api: Option, - /// DownwardMetrics adds a very small disk to VMIs which contains a limited view of host and guest metrics. The disk content is compatible with vhostmd (https://github.com/vhostmd/vhostmd) and vm-dump-metrics. + /// DownwardMetrics adds a very small disk to VMIs which contains a limited view of host and guest + /// metrics. The disk content is compatible with vhostmd (https://github.com/vhostmd/vhostmd) and vm-dump-metrics. #[serde(default, skip_serializing_if = "Option::is_none", rename = "downwardMetrics")] pub downward_metrics: Option, - /// EmptyDisk represents a temporary disk which shares the vmis lifecycle. More info: https://kubevirt.gitbooks.io/user-guide/disks-and-volumes.html + /// EmptyDisk represents a temporary disk which shares the vmis lifecycle. + /// More info: https://kubevirt.gitbooks.io/user-guide/disks-and-volumes.html #[serde(default, skip_serializing_if = "Option::is_none", rename = "emptyDisk")] pub empty_disk: Option, /// Ephemeral is a special volume source that "wraps" specified source and provides copy-on-write image on top of it. @@ -2550,15 +3476,22 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// MemoryDump is attached to the virt launcher and is populated with a memory dump of the vmi #[serde(default, skip_serializing_if = "Option::is_none", rename = "memoryDump")] pub memory_dump: Option, - /// Volume's name. Must be a DNS_LABEL and unique within the vmi. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// Volume's name. + /// Must be a DNS_LABEL and unique within the vmi. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names pub name: String, - /// PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Directly attached to the vmi via qemu. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + /// PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. + /// Directly attached to the vmi via qemu. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(default, skip_serializing_if = "Option::is_none", rename = "persistentVolumeClaim")] pub persistent_volume_claim: Option, - /// SecretVolumeSource represents a reference to a secret data in the same namespace. More info: https://kubernetes.io/docs/concepts/configuration/secret/ + /// SecretVolumeSource represents a reference to a secret data in the same namespace. + /// More info: https://kubernetes.io/docs/concepts/configuration/secret/ #[serde(default, skip_serializing_if = "Option::is_none")] pub secret: Option, - /// ServiceAccountVolumeSource represents a reference to a service account. There can only be one volume of this type! More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ + /// ServiceAccountVolumeSource represents a reference to a service account. + /// There can only be one volume of this type! + /// More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceAccount")] pub service_account: Option, /// Represents a Sysprep volume source. @@ -2566,7 +3499,9 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate pub sysprep: Option, } -/// CloudInitConfigDrive represents a cloud-init Config Drive user-data source. The Config Drive data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. More info: https://cloudinit.readthedocs.io/en/latest/topics/datasources/configdrive.html +/// CloudInitConfigDrive represents a cloud-init Config Drive user-data source. +/// The Config Drive data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. +/// More info: https://cloudinit.readthedocs.io/en/latest/topics/datasources/configdrive.html #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecVolumesCloudInitConfigDrive { /// NetworkData contains config drive inline cloud-init networkdata. @@ -2592,7 +3527,13 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// NetworkDataSecretRef references a k8s secret that contains config drive networkdata. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecVolumesCloudInitConfigDriveNetworkDataSecretRef { - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. + /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -2600,12 +3541,20 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// UserDataSecretRef references a k8s secret that contains config drive userdata. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecVolumesCloudInitConfigDriveSecretRef { - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. + /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -/// CloudInitNoCloud represents a cloud-init NoCloud user-data source. The NoCloud data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. More info: http://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html +/// CloudInitNoCloud represents a cloud-init NoCloud user-data source. +/// The NoCloud data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. +/// More info: http://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecVolumesCloudInitNoCloud { /// NetworkData contains NoCloud inline cloud-init networkdata. @@ -2631,7 +3580,13 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// NetworkDataSecretRef references a k8s secret that contains NoCloud networkdata. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecVolumesCloudInitNoCloudNetworkDataSecretRef { - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. + /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -2639,31 +3594,51 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// UserDataSecretRef references a k8s secret that contains NoCloud userdata. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecVolumesCloudInitNoCloudSecretRef { - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. + /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -/// ConfigMapSource represents a reference to a ConfigMap in the same namespace. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/ +/// ConfigMapSource represents a reference to a ConfigMap in the same namespace. +/// More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/ #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecVolumesConfigMap { - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. + /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or it's keys must be defined #[serde(default, skip_serializing_if = "Option::is_none")] pub optional: Option, - /// The volume label of the resulting disk inside the VMI. Different bootstrapping mechanisms require different values. Typical values are "cidata" (cloud-init), "config-2" (cloud-init) or "OEMDRV" (kickstart). + /// The volume label of the resulting disk inside the VMI. + /// Different bootstrapping mechanisms require different values. + /// Typical values are "cidata" (cloud-init), "config-2" (cloud-init) or "OEMDRV" (kickstart). #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeLabel")] pub volume_label: Option, } -/// ContainerDisk references a docker image, embedding a qcow or raw disk. More info: https://kubevirt.gitbooks.io/user-guide/registry-disk.html +/// ContainerDisk references a docker image, embedding a qcow or raw disk. +/// More info: https://kubevirt.gitbooks.io/user-guide/registry-disk.html #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecVolumesContainerDisk { /// Image is the name of the image with the embedded disk. pub image: String, - /// Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images + /// Image pull policy. + /// One of Always, Never, IfNotPresent. + /// Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + /// Cannot be updated. + /// More info: https://kubernetes.io/docs/concepts/containers/images#updating-images #[serde(default, skip_serializing_if = "Option::is_none", rename = "imagePullPolicy")] pub image_pull_policy: Option, /// ImagePullSecret is the name of the Docker registry secret required to pull the image. The secret must already exist. @@ -2674,13 +3649,15 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate pub path: Option, } -/// DataVolume represents the dynamic creation a PVC for this volume as well as the process of populating that PVC with a disk image. +/// DataVolume represents the dynamic creation a PVC for this volume as well as +/// the process of populating that PVC with a disk image. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecVolumesDataVolume { /// Hotpluggable indicates whether the volume can be hotplugged and hotunplugged. #[serde(default, skip_serializing_if = "Option::is_none")] pub hotpluggable: Option, - /// Name of both the DataVolume and the PVC in the same namespace. After PVC population the DataVolume is garbage collected by default. + /// Name of both the DataVolume and the PVC in the same namespace. + /// After PVC population the DataVolume is garbage collected by default. pub name: String, } @@ -2690,7 +3667,9 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Fields is a list of downward API volume file #[serde(default, skip_serializing_if = "Option::is_none")] pub fields: Option>, - /// The volume label of the resulting disk inside the VMI. Different bootstrapping mechanisms require different values. Typical values are "cidata" (cloud-init), "config-2" (cloud-init) or "OEMDRV" (kickstart). + /// The volume label of the resulting disk inside the VMI. + /// Different bootstrapping mechanisms require different values. + /// Typical values are "cidata" (cloud-init), "config-2" (cloud-init) or "OEMDRV" (kickstart). #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeLabel")] pub volume_label: Option, } @@ -2698,20 +3677,26 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// DownwardAPIVolumeFile represents information to create the file containing the pod field #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecVolumesDownwardApiFields { - /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. + /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, - /// Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + /// Optional: mode bits used to set permissions on this file, must be an octal value + /// between 0000 and 0777 or a decimal value between 0 and 511. + /// YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + /// If not specified, the volume defaultMode will be used. + /// This might be in conflict with other options that affect the file + /// mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none")] pub mode: Option, /// Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..' pub path: String, - /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. + /// Selects a resource of the container: only resources limits and requests + /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceFieldRef")] pub resource_field_ref: Option, } -/// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. +/// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecVolumesDownwardApiFieldsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -2722,7 +3707,8 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate pub field_path: String, } -/// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. +/// Selects a resource of the container: only resources limits and requests +/// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecVolumesDownwardApiFieldsResourceFieldRef { /// Container name: required for volumes, optional for env vars @@ -2735,12 +3721,14 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate pub resource: String, } -/// DownwardMetrics adds a very small disk to VMIs which contains a limited view of host and guest metrics. The disk content is compatible with vhostmd (https://github.com/vhostmd/vhostmd) and vm-dump-metrics. +/// DownwardMetrics adds a very small disk to VMIs which contains a limited view of host and guest +/// metrics. The disk content is compatible with vhostmd (https://github.com/vhostmd/vhostmd) and vm-dump-metrics. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecVolumesDownwardMetrics { } -/// EmptyDisk represents a temporary disk which shares the vmis lifecycle. More info: https://kubevirt.gitbooks.io/user-guide/disks-and-volumes.html +/// EmptyDisk represents a temporary disk which shares the vmis lifecycle. +/// More info: https://kubevirt.gitbooks.io/user-guide/disks-and-volumes.html #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecVolumesEmptyDisk { /// Capacity of the sparse disk. @@ -2750,18 +3738,24 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Ephemeral is a special volume source that "wraps" specified source and provides copy-on-write image on top of it. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecVolumesEphemeral { - /// PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Directly attached to the vmi via qemu. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + /// PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. + /// Directly attached to the vmi via qemu. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(default, skip_serializing_if = "Option::is_none", rename = "persistentVolumeClaim")] pub persistent_volume_claim: Option, } -/// PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Directly attached to the vmi via qemu. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims +/// PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. +/// Directly attached to the vmi via qemu. +/// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecVolumesEphemeralPersistentVolumeClaim { - /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] pub claim_name: String, - /// readOnly Will force the ReadOnly setting in VolumeMounts. Default false. + /// readOnly Will force the ReadOnly setting in VolumeMounts. + /// Default false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, } @@ -2777,7 +3771,8 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Shared indicate whether the path is shared between nodes #[serde(default, skip_serializing_if = "Option::is_none")] pub shared: Option, - /// Contains information if disk.img exists or should be created allowed options are 'Disk' and 'DiskOrCreate' + /// Contains information if disk.img exists or should be created + /// allowed options are 'Disk' and 'DiskOrCreate' #[serde(rename = "type")] pub r#type: String, } @@ -2785,49 +3780,62 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// MemoryDump is attached to the virt launcher and is populated with a memory dump of the vmi #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecVolumesMemoryDump { - /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] pub claim_name: String, /// Hotpluggable indicates whether the volume can be hotplugged and hotunplugged. #[serde(default, skip_serializing_if = "Option::is_none")] pub hotpluggable: Option, - /// readOnly Will force the ReadOnly setting in VolumeMounts. Default false. + /// readOnly Will force the ReadOnly setting in VolumeMounts. + /// Default false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, } -/// PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Directly attached to the vmi via qemu. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims +/// PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. +/// Directly attached to the vmi via qemu. +/// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecVolumesPersistentVolumeClaim { - /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] pub claim_name: String, /// Hotpluggable indicates whether the volume can be hotplugged and hotunplugged. #[serde(default, skip_serializing_if = "Option::is_none")] pub hotpluggable: Option, - /// readOnly Will force the ReadOnly setting in VolumeMounts. Default false. + /// readOnly Will force the ReadOnly setting in VolumeMounts. + /// Default false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, } -/// SecretVolumeSource represents a reference to a secret data in the same namespace. More info: https://kubernetes.io/docs/concepts/configuration/secret/ +/// SecretVolumeSource represents a reference to a secret data in the same namespace. +/// More info: https://kubernetes.io/docs/concepts/configuration/secret/ #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecVolumesSecret { /// Specify whether the Secret or it's keys must be defined #[serde(default, skip_serializing_if = "Option::is_none")] pub optional: Option, - /// Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret + /// Name of the secret in the pod's namespace to use. + /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretName")] pub secret_name: Option, - /// The volume label of the resulting disk inside the VMI. Different bootstrapping mechanisms require different values. Typical values are "cidata" (cloud-init), "config-2" (cloud-init) or "OEMDRV" (kickstart). + /// The volume label of the resulting disk inside the VMI. + /// Different bootstrapping mechanisms require different values. + /// Typical values are "cidata" (cloud-init), "config-2" (cloud-init) or "OEMDRV" (kickstart). #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeLabel")] pub volume_label: Option, } -/// ServiceAccountVolumeSource represents a reference to a service account. There can only be one volume of this type! More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ +/// ServiceAccountVolumeSource represents a reference to a service account. +/// There can only be one volume of this type! +/// More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecVolumesServiceAccount { - /// Name of the service account in the pod's namespace to use. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ + /// Name of the service account in the pod's namespace to use. + /// More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceAccountName")] pub service_account_name: Option, } @@ -2846,7 +3854,13 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// ConfigMap references a ConfigMap that contains Sysprep answer file named autounattend.xml that should be attached as disk of CDROM type. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecVolumesSysprepConfigMap { - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. + /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -2854,7 +3868,13 @@ pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplate /// Secret references a k8s Secret that contains Sysprep answer file named autounattend.xml that should be attached as disk of CDROM type. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KubevirtMachineTemplateTemplateSpecVirtualMachineTemplateSpecTemplateSpecVolumesSysprepSecret { - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. + /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vsphereclusteridentities.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vsphereclusteridentities.rs index 9f0863608..4ea5ffe64 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vsphereclusteridentities.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vsphereclusteridentities.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vsphereclusteridentities.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vsphereclusters.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vsphereclusters.rs index 48f6eee22..28a988d7a 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vsphereclusters.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vsphereclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vsphereclusters.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspheredeploymentzones.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspheredeploymentzones.rs index 1a76b476f..70a56e415 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspheredeploymentzones.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspheredeploymentzones.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vspheredeploymentzones.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspherefailuredomains.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspherefailuredomains.rs index c2c24b40a..b4a3e6de1 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspherefailuredomains.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspherefailuredomains.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vspherefailuredomains.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspheremachines.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspheremachines.rs index 31860c516..62374b473 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspheremachines.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspheremachines.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vspheremachines.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspheremachinetemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspheremachinetemplates.rs index 5bdf1370a..42079880d 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspheremachinetemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspheremachinetemplates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vspheremachinetemplates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspherevms.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspherevms.rs index 3f5df34ab..db796e990 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspherevms.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspherevms.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vspherevms.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vsphereclusteridentities.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vsphereclusteridentities.rs index eea3d74db..a5fb89dca 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vsphereclusteridentities.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vsphereclusteridentities.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vsphereclusteridentities.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vsphereclusters.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vsphereclusters.rs index d7650e6ed..b600ad018 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vsphereclusters.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vsphereclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vsphereclusters.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vsphereclustertemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vsphereclustertemplates.rs index 542a90947..8be286e44 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vsphereclustertemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vsphereclustertemplates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vsphereclustertemplates.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspheredeploymentzones.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspheredeploymentzones.rs index 9f280bcc8..84a7e7bfb 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspheredeploymentzones.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspheredeploymentzones.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vspheredeploymentzones.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspherefailuredomains.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspherefailuredomains.rs index 41e67331a..cc08073e5 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspherefailuredomains.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspherefailuredomains.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vspherefailuredomains.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspheremachines.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspheremachines.rs index 1f21a33ff..a7238741b 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspheremachines.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspheremachines.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vspheremachines.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspheremachinetemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspheremachinetemplates.rs index e53c8268d..0114f9c24 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspheremachinetemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspheremachinetemplates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vspheremachinetemplates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspherevms.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspherevms.rs index 995426a77..53eed83d9 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspherevms.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspherevms.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vspherevms.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsclusters.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsclusters.rs index b473cf4f8..0712394da 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsclusters.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta1/ibmpowervsclusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsclustertemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsclustertemplates.rs index ba34112f4..49896da43 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsclustertemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsclustertemplates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta1/ibmpowervsclustertemplates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsimages.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsimages.rs index f1128212c..668e4a866 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsimages.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsimages.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta1/ibmpowervsimages.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsmachines.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsmachines.rs index 313d1c38a..ed9433b5c 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsmachines.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsmachines.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta1/ibmpowervsmachines.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsmachinetemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsmachinetemplates.rs index 8736c5ee9..63aaf470a 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsmachinetemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsmachinetemplates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta1/ibmpowervsmachinetemplates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmvpcclusters.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmvpcclusters.rs index 68e754a1c..f7e1f7db2 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmvpcclusters.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmvpcclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta1/ibmvpcclusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmvpcmachines.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmvpcmachines.rs index ef029162e..0d5d16545 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmvpcmachines.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmvpcmachines.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta1/ibmvpcmachines.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmvpcmachinetemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmvpcmachinetemplates.rs index e5eb4556d..fbd25d96e 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmvpcmachinetemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmvpcmachinetemplates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta1/ibmvpcmachinetemplates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/tinkerbellclusters.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/tinkerbellclusters.rs index 333a1844f..775fd8519 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/tinkerbellclusters.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/tinkerbellclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/cluster-api-provider-tinkerbell/infrastructure.cluster.x-k8s.io/v1beta1/tinkerbellclusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/tinkerbellmachines.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/tinkerbellmachines.rs index d3fbf0882..05e3fdf8d 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/tinkerbellmachines.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/tinkerbellmachines.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/cluster-api-provider-tinkerbell/infrastructure.cluster.x-k8s.io/v1beta1/tinkerbellmachines.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/tinkerbellmachinetemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/tinkerbellmachinetemplates.rs index 0bb43ecf0..de56f8baf 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/tinkerbellmachinetemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/tinkerbellmachinetemplates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/cluster-api-provider-tinkerbell/infrastructure.cluster.x-k8s.io/v1beta1/tinkerbellmachinetemplates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vsphereclusteridentities.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vsphereclusteridentities.rs index b9fea0d3c..3ccb956e0 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vsphereclusteridentities.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vsphereclusteridentities.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vsphereclusteridentities.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vsphereclusters.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vsphereclusters.rs index 804917f4a..32c5956ee 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vsphereclusters.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vsphereclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vsphereclusters.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vsphereclustertemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vsphereclustertemplates.rs index 7c835c35d..9db126409 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vsphereclustertemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vsphereclustertemplates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vsphereclustertemplates.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspheredeploymentzones.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspheredeploymentzones.rs index 8276143d8..e0091ff45 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspheredeploymentzones.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspheredeploymentzones.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vspheredeploymentzones.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspherefailuredomains.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspherefailuredomains.rs index 8a0ad5958..074309ef3 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspherefailuredomains.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspherefailuredomains.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vspherefailuredomains.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspheremachines.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspheremachines.rs index f04b0ece4..f456dc0c9 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspheremachines.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspheremachines.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vspheremachines.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspheremachinetemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspheremachinetemplates.rs index e7e04c594..ea85d2c30 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspheremachinetemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspheremachinetemplates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vspheremachinetemplates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspherevms.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspherevms.rs index d3aa8b314..dee6622e0 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspherevms.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspherevms.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vspherevms.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsclusters.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsclusters.rs index 35879fdbb..7541c7f7f 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsclusters.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmpowervsclusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -62,7 +62,7 @@ pub struct IBMPowerVSClusterSpec { /// resourceGroup name under which the resources will be created. /// when powervs.cluster.x-k8s.io/create-infra=true annotation is set on IBMPowerVSCluster resource, /// 1. it is expected to set the ResourceGroup.Name, not setting will result in webhook error. - /// ServiceInstance.ID and ServiceInstance.Regex is not yet supported and system will ignore the value. + /// ResourceGroup.ID and ResourceGroup.Regex is not yet supported and system will ignore the value. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceGroup")] pub resource_group: Option, /// serviceInstance is the reference to the Power VS server workspace on which the server instance(VM) will be created. @@ -96,6 +96,9 @@ pub struct IBMPowerVSClusterSpec { /// 1. it is expected to set the VPC.Region, not setting will result in webhook error. #[serde(default, skip_serializing_if = "Option::is_none")] pub vpc: Option, + /// VPCSecurityGroups to attach it to the VPC resource + #[serde(default, skip_serializing_if = "Option::is_none", rename = "vpcSecurityGroups")] + pub vpc_security_groups: Option>, /// vpcSubnets contains information about IBM Cloud VPC Subnet resources. /// when omitted system will create the subnets in all the zone corresponding to VPC.Region, with name CLUSTER_NAME-vpcsubnet-ZONE_NAME. /// possible values can be found here https://cloud.ibm.com/docs/power-iaas?topic=power-iaas-creating-power-virtual-server. @@ -244,7 +247,7 @@ pub struct IBMPowerVSClusterNetwork { /// resourceGroup name under which the resources will be created. /// when powervs.cluster.x-k8s.io/create-infra=true annotation is set on IBMPowerVSCluster resource, /// 1. it is expected to set the ResourceGroup.Name, not setting will result in webhook error. -/// ServiceInstance.ID and ServiceInstance.Regex is not yet supported and system will ignore the value. +/// ResourceGroup.ID and ResourceGroup.Regex is not yet supported and system will ignore the value. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IBMPowerVSClusterResourceGroup { /// ID of resource @@ -290,6 +293,11 @@ pub struct IBMPowerVSClusterServiceInstance { /// when TransitGateway.Name is set, system will first check for TransitGateway with Name, if not exist system will create new TransitGateway. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IBMPowerVSClusterTransitGateway { + /// globalRouting indicates whether to set global routing true or not while creating the transit gateway. + /// set this field to true only when PowerVS and VPC are from different regions, if they are same it's suggested to use local routing by setting the field to false. + /// when the field is omitted, based on PowerVS region (region associated with IBMPowerVSCluster.Spec.Zone) and VPC region(IBMPowerVSCluster.Spec.VPC.Region) system will decide whether to enable globalRouting or not. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "globalRouting")] + pub global_routing: Option, /// id of resource. #[serde(default, skip_serializing_if = "Option::is_none")] pub id: Option, @@ -319,6 +327,227 @@ pub struct IBMPowerVSClusterVpc { pub region: Option, } +/// VPCSecurityGroup defines a VPC Security Group that should exist or be created within the specified VPC, with the specified Security Group Rules. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct IBMPowerVSClusterVpcSecurityGroups { + /// id of the Security Group. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub id: Option, + /// name of the Security Group. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// rules are the Security Group Rules for the Security Group. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub rules: Option>, + /// tags are tags to add to the Security Group. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub tags: Option>, +} + +/// VPCSecurityGroupRule defines a VPC Security Group Rule for a specified Security Group. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct IBMPowerVSClusterVpcSecurityGroupsRules { + /// action defines whether to allow or deny traffic defined by the Security Group Rule. + pub action: IBMPowerVSClusterVpcSecurityGroupsRulesAction, + /// destination is a VPCSecurityGroupRulePrototype which defines the destination of outbound traffic for the Security Group Rule. + /// Only used when direction is VPCSecurityGroupRuleDirectionOutbound. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub destination: Option, + /// direction defines whether the traffic is inbound or outbound for the Security Group Rule. + pub direction: IBMPowerVSClusterVpcSecurityGroupsRulesDirection, + /// securityGroupID is the ID of the Security Group for the Security Group Rule. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "securityGroupID")] + pub security_group_id: Option, + /// source is a VPCSecurityGroupRulePrototype which defines the source of inbound traffic for the Security Group Rule. + /// Only used when direction is VPCSecurityGroupRuleDirectionInbound. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub source: Option, +} + +/// VPCSecurityGroupRule defines a VPC Security Group Rule for a specified Security Group. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum IBMPowerVSClusterVpcSecurityGroupsRulesAction { + #[serde(rename = "allow")] + Allow, + #[serde(rename = "deny")] + Deny, +} + +/// destination is a VPCSecurityGroupRulePrototype which defines the destination of outbound traffic for the Security Group Rule. +/// Only used when direction is VPCSecurityGroupRuleDirectionOutbound. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct IBMPowerVSClusterVpcSecurityGroupsRulesDestination { + /// icmpCode is the ICMP code for the Rule. + /// Only used when Protocol is VPCSecurityGroupRuleProtocolIcmp. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "icmpCode")] + pub icmp_code: Option, + /// icmpType is the ICMP type for the Rule. + /// Only used when Protocol is VPCSecurityGroupRuleProtocolIcmp. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "icmpType")] + pub icmp_type: Option, + /// portRange is a range of ports allowed for the Rule's remote. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "portRange")] + pub port_range: Option, + /// protocol defines the traffic protocol used for the Security Group Rule. + pub protocol: IBMPowerVSClusterVpcSecurityGroupsRulesDestinationProtocol, + /// remotes is a set of VPCSecurityGroupRuleRemote's that define the traffic allowed by the Rule's remote. + /// Specifying multiple VPCSecurityGroupRuleRemote's creates a unique Security Group Rule with the shared Protocol, PortRange, etc. + /// This allows for easier management of Security Group Rule's for sets of CIDR's, IP's, etc. + pub remotes: Vec, +} + +/// portRange is a range of ports allowed for the Rule's remote. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct IBMPowerVSClusterVpcSecurityGroupsRulesDestinationPortRange { + /// maximumPort is the inclusive upper range of ports. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "maximumPort")] + pub maximum_port: Option, + /// minimumPort is the inclusive lower range of ports. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "minimumPort")] + pub minimum_port: Option, +} + +/// destination is a VPCSecurityGroupRulePrototype which defines the destination of outbound traffic for the Security Group Rule. +/// Only used when direction is VPCSecurityGroupRuleDirectionOutbound. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum IBMPowerVSClusterVpcSecurityGroupsRulesDestinationProtocol { + #[serde(rename = "all")] + All, + #[serde(rename = "icmp")] + Icmp, + #[serde(rename = "tcp")] + Tcp, + #[serde(rename = "udp")] + Udp, +} + +/// VPCSecurityGroupRuleRemote defines a VPC Security Group Rule's remote details. +/// The type of remote defines the additional remote details where are used for defining the remote. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct IBMPowerVSClusterVpcSecurityGroupsRulesDestinationRemotes { + /// address is the address to use for the remote's destination/source. + /// Only used when remoteType is VPCSecurityGroupRuleRemoteTypeAddress. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub address: Option, + /// cidrSubnetName is the name of the VPC Subnet to retrieve the CIDR from, to use for the remote's destination/source. + /// Only used when remoteType is VPCSecurityGroupRuleRemoteTypeCIDR. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "cidrSubnetName")] + pub cidr_subnet_name: Option, + /// remoteType defines the type of filter to define for the remote's destination/source. + #[serde(rename = "remoteType")] + pub remote_type: IBMPowerVSClusterVpcSecurityGroupsRulesDestinationRemotesRemoteType, + /// securityGroupName is the name of the VPC Security Group to use for the remote's destination/source. + /// Only used when remoteType is VPCSecurityGroupRuleRemoteTypeSG + #[serde(default, skip_serializing_if = "Option::is_none", rename = "securityGroupName")] + pub security_group_name: Option, +} + +/// VPCSecurityGroupRuleRemote defines a VPC Security Group Rule's remote details. +/// The type of remote defines the additional remote details where are used for defining the remote. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum IBMPowerVSClusterVpcSecurityGroupsRulesDestinationRemotesRemoteType { + #[serde(rename = "any")] + Any, + #[serde(rename = "cidr")] + Cidr, + #[serde(rename = "address")] + Address, + #[serde(rename = "sg")] + Sg, +} + +/// VPCSecurityGroupRule defines a VPC Security Group Rule for a specified Security Group. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum IBMPowerVSClusterVpcSecurityGroupsRulesDirection { + #[serde(rename = "inbound")] + Inbound, + #[serde(rename = "outbound")] + Outbound, +} + +/// source is a VPCSecurityGroupRulePrototype which defines the source of inbound traffic for the Security Group Rule. +/// Only used when direction is VPCSecurityGroupRuleDirectionInbound. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct IBMPowerVSClusterVpcSecurityGroupsRulesSource { + /// icmpCode is the ICMP code for the Rule. + /// Only used when Protocol is VPCSecurityGroupRuleProtocolIcmp. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "icmpCode")] + pub icmp_code: Option, + /// icmpType is the ICMP type for the Rule. + /// Only used when Protocol is VPCSecurityGroupRuleProtocolIcmp. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "icmpType")] + pub icmp_type: Option, + /// portRange is a range of ports allowed for the Rule's remote. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "portRange")] + pub port_range: Option, + /// protocol defines the traffic protocol used for the Security Group Rule. + pub protocol: IBMPowerVSClusterVpcSecurityGroupsRulesSourceProtocol, + /// remotes is a set of VPCSecurityGroupRuleRemote's that define the traffic allowed by the Rule's remote. + /// Specifying multiple VPCSecurityGroupRuleRemote's creates a unique Security Group Rule with the shared Protocol, PortRange, etc. + /// This allows for easier management of Security Group Rule's for sets of CIDR's, IP's, etc. + pub remotes: Vec, +} + +/// portRange is a range of ports allowed for the Rule's remote. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct IBMPowerVSClusterVpcSecurityGroupsRulesSourcePortRange { + /// maximumPort is the inclusive upper range of ports. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "maximumPort")] + pub maximum_port: Option, + /// minimumPort is the inclusive lower range of ports. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "minimumPort")] + pub minimum_port: Option, +} + +/// source is a VPCSecurityGroupRulePrototype which defines the source of inbound traffic for the Security Group Rule. +/// Only used when direction is VPCSecurityGroupRuleDirectionInbound. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum IBMPowerVSClusterVpcSecurityGroupsRulesSourceProtocol { + #[serde(rename = "all")] + All, + #[serde(rename = "icmp")] + Icmp, + #[serde(rename = "tcp")] + Tcp, + #[serde(rename = "udp")] + Udp, +} + +/// VPCSecurityGroupRuleRemote defines a VPC Security Group Rule's remote details. +/// The type of remote defines the additional remote details where are used for defining the remote. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct IBMPowerVSClusterVpcSecurityGroupsRulesSourceRemotes { + /// address is the address to use for the remote's destination/source. + /// Only used when remoteType is VPCSecurityGroupRuleRemoteTypeAddress. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub address: Option, + /// cidrSubnetName is the name of the VPC Subnet to retrieve the CIDR from, to use for the remote's destination/source. + /// Only used when remoteType is VPCSecurityGroupRuleRemoteTypeCIDR. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "cidrSubnetName")] + pub cidr_subnet_name: Option, + /// remoteType defines the type of filter to define for the remote's destination/source. + #[serde(rename = "remoteType")] + pub remote_type: IBMPowerVSClusterVpcSecurityGroupsRulesSourceRemotesRemoteType, + /// securityGroupName is the name of the VPC Security Group to use for the remote's destination/source. + /// Only used when remoteType is VPCSecurityGroupRuleRemoteTypeSG + #[serde(default, skip_serializing_if = "Option::is_none", rename = "securityGroupName")] + pub security_group_name: Option, +} + +/// VPCSecurityGroupRuleRemote defines a VPC Security Group Rule's remote details. +/// The type of remote defines the additional remote details where are used for defining the remote. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum IBMPowerVSClusterVpcSecurityGroupsRulesSourceRemotesRemoteType { + #[serde(rename = "any")] + Any, + #[serde(rename = "cidr")] + Cidr, + #[serde(rename = "address")] + Address, + #[serde(rename = "sg")] + Sg, +} + /// Subnet describes a subnet. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IBMPowerVSClusterVpcSubnets { @@ -364,6 +593,9 @@ pub struct IBMPowerVSClusterStatus { /// vpc is reference to IBM Cloud VPC resources. #[serde(default, skip_serializing_if = "Option::is_none")] pub vpc: Option, + /// vpcSecurityGroups is reference to IBM Cloud VPC security group. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "vpcSecurityGroups")] + pub vpc_security_groups: Option>, /// vpcSubnet is reference to IBM Cloud VPC subnet. #[serde(default, skip_serializing_if = "Option::is_none", rename = "vpcSubnet")] pub vpc_subnet: Option>, @@ -463,6 +695,20 @@ pub struct IBMPowerVSClusterStatusVpc { pub id: Option, } +/// vpcSecurityGroups is reference to IBM Cloud VPC security group. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct IBMPowerVSClusterStatusVpcSecurityGroups { + /// controllerCreated indicates whether the resource is created by the controller. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "controllerCreated")] + pub controller_created: Option, + /// id represents the id of the resource. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub id: Option, + /// rules contains the id of rules created under the security group + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ruleIDs")] + pub rule_i_ds: Option>, +} + /// vpcSubnet is reference to IBM Cloud VPC subnet. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IBMPowerVSClusterStatusVpcSubnet { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsclustertemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsclustertemplates.rs index 9f9140dd5..641f45656 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsclustertemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsclustertemplates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmpowervsclustertemplates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -96,7 +96,7 @@ pub struct IBMPowerVSClusterTemplateTemplateSpec { /// resourceGroup name under which the resources will be created. /// when powervs.cluster.x-k8s.io/create-infra=true annotation is set on IBMPowerVSCluster resource, /// 1. it is expected to set the ResourceGroup.Name, not setting will result in webhook error. - /// ServiceInstance.ID and ServiceInstance.Regex is not yet supported and system will ignore the value. + /// ResourceGroup.ID and ResourceGroup.Regex is not yet supported and system will ignore the value. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceGroup")] pub resource_group: Option, /// serviceInstance is the reference to the Power VS server workspace on which the server instance(VM) will be created. @@ -130,6 +130,9 @@ pub struct IBMPowerVSClusterTemplateTemplateSpec { /// 1. it is expected to set the VPC.Region, not setting will result in webhook error. #[serde(default, skip_serializing_if = "Option::is_none")] pub vpc: Option, + /// VPCSecurityGroups to attach it to the VPC resource + #[serde(default, skip_serializing_if = "Option::is_none", rename = "vpcSecurityGroups")] + pub vpc_security_groups: Option>, /// vpcSubnets contains information about IBM Cloud VPC Subnet resources. /// when omitted system will create the subnets in all the zone corresponding to VPC.Region, with name CLUSTER_NAME-vpcsubnet-ZONE_NAME. /// possible values can be found here https://cloud.ibm.com/docs/power-iaas?topic=power-iaas-creating-power-virtual-server. @@ -278,7 +281,7 @@ pub struct IBMPowerVSClusterTemplateTemplateSpecNetwork { /// resourceGroup name under which the resources will be created. /// when powervs.cluster.x-k8s.io/create-infra=true annotation is set on IBMPowerVSCluster resource, /// 1. it is expected to set the ResourceGroup.Name, not setting will result in webhook error. -/// ServiceInstance.ID and ServiceInstance.Regex is not yet supported and system will ignore the value. +/// ResourceGroup.ID and ResourceGroup.Regex is not yet supported and system will ignore the value. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IBMPowerVSClusterTemplateTemplateSpecResourceGroup { /// ID of resource @@ -324,6 +327,11 @@ pub struct IBMPowerVSClusterTemplateTemplateSpecServiceInstance { /// when TransitGateway.Name is set, system will first check for TransitGateway with Name, if not exist system will create new TransitGateway. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IBMPowerVSClusterTemplateTemplateSpecTransitGateway { + /// globalRouting indicates whether to set global routing true or not while creating the transit gateway. + /// set this field to true only when PowerVS and VPC are from different regions, if they are same it's suggested to use local routing by setting the field to false. + /// when the field is omitted, based on PowerVS region (region associated with IBMPowerVSCluster.Spec.Zone) and VPC region(IBMPowerVSCluster.Spec.VPC.Region) system will decide whether to enable globalRouting or not. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "globalRouting")] + pub global_routing: Option, /// id of resource. #[serde(default, skip_serializing_if = "Option::is_none")] pub id: Option, @@ -353,6 +361,227 @@ pub struct IBMPowerVSClusterTemplateTemplateSpecVpc { pub region: Option, } +/// VPCSecurityGroup defines a VPC Security Group that should exist or be created within the specified VPC, with the specified Security Group Rules. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroups { + /// id of the Security Group. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub id: Option, + /// name of the Security Group. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// rules are the Security Group Rules for the Security Group. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub rules: Option>, + /// tags are tags to add to the Security Group. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub tags: Option>, +} + +/// VPCSecurityGroupRule defines a VPC Security Group Rule for a specified Security Group. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRules { + /// action defines whether to allow or deny traffic defined by the Security Group Rule. + pub action: IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesAction, + /// destination is a VPCSecurityGroupRulePrototype which defines the destination of outbound traffic for the Security Group Rule. + /// Only used when direction is VPCSecurityGroupRuleDirectionOutbound. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub destination: Option, + /// direction defines whether the traffic is inbound or outbound for the Security Group Rule. + pub direction: IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesDirection, + /// securityGroupID is the ID of the Security Group for the Security Group Rule. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "securityGroupID")] + pub security_group_id: Option, + /// source is a VPCSecurityGroupRulePrototype which defines the source of inbound traffic for the Security Group Rule. + /// Only used when direction is VPCSecurityGroupRuleDirectionInbound. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub source: Option, +} + +/// VPCSecurityGroupRule defines a VPC Security Group Rule for a specified Security Group. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesAction { + #[serde(rename = "allow")] + Allow, + #[serde(rename = "deny")] + Deny, +} + +/// destination is a VPCSecurityGroupRulePrototype which defines the destination of outbound traffic for the Security Group Rule. +/// Only used when direction is VPCSecurityGroupRuleDirectionOutbound. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesDestination { + /// icmpCode is the ICMP code for the Rule. + /// Only used when Protocol is VPCSecurityGroupRuleProtocolIcmp. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "icmpCode")] + pub icmp_code: Option, + /// icmpType is the ICMP type for the Rule. + /// Only used when Protocol is VPCSecurityGroupRuleProtocolIcmp. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "icmpType")] + pub icmp_type: Option, + /// portRange is a range of ports allowed for the Rule's remote. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "portRange")] + pub port_range: Option, + /// protocol defines the traffic protocol used for the Security Group Rule. + pub protocol: IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesDestinationProtocol, + /// remotes is a set of VPCSecurityGroupRuleRemote's that define the traffic allowed by the Rule's remote. + /// Specifying multiple VPCSecurityGroupRuleRemote's creates a unique Security Group Rule with the shared Protocol, PortRange, etc. + /// This allows for easier management of Security Group Rule's for sets of CIDR's, IP's, etc. + pub remotes: Vec, +} + +/// portRange is a range of ports allowed for the Rule's remote. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesDestinationPortRange { + /// maximumPort is the inclusive upper range of ports. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "maximumPort")] + pub maximum_port: Option, + /// minimumPort is the inclusive lower range of ports. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "minimumPort")] + pub minimum_port: Option, +} + +/// destination is a VPCSecurityGroupRulePrototype which defines the destination of outbound traffic for the Security Group Rule. +/// Only used when direction is VPCSecurityGroupRuleDirectionOutbound. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesDestinationProtocol { + #[serde(rename = "all")] + All, + #[serde(rename = "icmp")] + Icmp, + #[serde(rename = "tcp")] + Tcp, + #[serde(rename = "udp")] + Udp, +} + +/// VPCSecurityGroupRuleRemote defines a VPC Security Group Rule's remote details. +/// The type of remote defines the additional remote details where are used for defining the remote. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesDestinationRemotes { + /// address is the address to use for the remote's destination/source. + /// Only used when remoteType is VPCSecurityGroupRuleRemoteTypeAddress. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub address: Option, + /// cidrSubnetName is the name of the VPC Subnet to retrieve the CIDR from, to use for the remote's destination/source. + /// Only used when remoteType is VPCSecurityGroupRuleRemoteTypeCIDR. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "cidrSubnetName")] + pub cidr_subnet_name: Option, + /// remoteType defines the type of filter to define for the remote's destination/source. + #[serde(rename = "remoteType")] + pub remote_type: IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesDestinationRemotesRemoteType, + /// securityGroupName is the name of the VPC Security Group to use for the remote's destination/source. + /// Only used when remoteType is VPCSecurityGroupRuleRemoteTypeSG + #[serde(default, skip_serializing_if = "Option::is_none", rename = "securityGroupName")] + pub security_group_name: Option, +} + +/// VPCSecurityGroupRuleRemote defines a VPC Security Group Rule's remote details. +/// The type of remote defines the additional remote details where are used for defining the remote. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesDestinationRemotesRemoteType { + #[serde(rename = "any")] + Any, + #[serde(rename = "cidr")] + Cidr, + #[serde(rename = "address")] + Address, + #[serde(rename = "sg")] + Sg, +} + +/// VPCSecurityGroupRule defines a VPC Security Group Rule for a specified Security Group. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesDirection { + #[serde(rename = "inbound")] + Inbound, + #[serde(rename = "outbound")] + Outbound, +} + +/// source is a VPCSecurityGroupRulePrototype which defines the source of inbound traffic for the Security Group Rule. +/// Only used when direction is VPCSecurityGroupRuleDirectionInbound. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesSource { + /// icmpCode is the ICMP code for the Rule. + /// Only used when Protocol is VPCSecurityGroupRuleProtocolIcmp. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "icmpCode")] + pub icmp_code: Option, + /// icmpType is the ICMP type for the Rule. + /// Only used when Protocol is VPCSecurityGroupRuleProtocolIcmp. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "icmpType")] + pub icmp_type: Option, + /// portRange is a range of ports allowed for the Rule's remote. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "portRange")] + pub port_range: Option, + /// protocol defines the traffic protocol used for the Security Group Rule. + pub protocol: IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesSourceProtocol, + /// remotes is a set of VPCSecurityGroupRuleRemote's that define the traffic allowed by the Rule's remote. + /// Specifying multiple VPCSecurityGroupRuleRemote's creates a unique Security Group Rule with the shared Protocol, PortRange, etc. + /// This allows for easier management of Security Group Rule's for sets of CIDR's, IP's, etc. + pub remotes: Vec, +} + +/// portRange is a range of ports allowed for the Rule's remote. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesSourcePortRange { + /// maximumPort is the inclusive upper range of ports. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "maximumPort")] + pub maximum_port: Option, + /// minimumPort is the inclusive lower range of ports. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "minimumPort")] + pub minimum_port: Option, +} + +/// source is a VPCSecurityGroupRulePrototype which defines the source of inbound traffic for the Security Group Rule. +/// Only used when direction is VPCSecurityGroupRuleDirectionInbound. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesSourceProtocol { + #[serde(rename = "all")] + All, + #[serde(rename = "icmp")] + Icmp, + #[serde(rename = "tcp")] + Tcp, + #[serde(rename = "udp")] + Udp, +} + +/// VPCSecurityGroupRuleRemote defines a VPC Security Group Rule's remote details. +/// The type of remote defines the additional remote details where are used for defining the remote. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesSourceRemotes { + /// address is the address to use for the remote's destination/source. + /// Only used when remoteType is VPCSecurityGroupRuleRemoteTypeAddress. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub address: Option, + /// cidrSubnetName is the name of the VPC Subnet to retrieve the CIDR from, to use for the remote's destination/source. + /// Only used when remoteType is VPCSecurityGroupRuleRemoteTypeCIDR. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "cidrSubnetName")] + pub cidr_subnet_name: Option, + /// remoteType defines the type of filter to define for the remote's destination/source. + #[serde(rename = "remoteType")] + pub remote_type: IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesSourceRemotesRemoteType, + /// securityGroupName is the name of the VPC Security Group to use for the remote's destination/source. + /// Only used when remoteType is VPCSecurityGroupRuleRemoteTypeSG + #[serde(default, skip_serializing_if = "Option::is_none", rename = "securityGroupName")] + pub security_group_name: Option, +} + +/// VPCSecurityGroupRuleRemote defines a VPC Security Group Rule's remote details. +/// The type of remote defines the additional remote details where are used for defining the remote. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesSourceRemotesRemoteType { + #[serde(rename = "any")] + Any, + #[serde(rename = "cidr")] + Cidr, + #[serde(rename = "address")] + Address, + #[serde(rename = "sg")] + Sg, +} + /// Subnet describes a subnet. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IBMPowerVSClusterTemplateTemplateSpecVpcSubnets { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsimages.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsimages.rs index 8b58fa190..901d90fbb 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsimages.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsimages.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmpowervsimages.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsmachines.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsmachines.rs index 7c07ff485..f254bf06a 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsmachines.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsmachines.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmpowervsmachines.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsmachinetemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsmachinetemplates.rs index 0afe7d412..234d94427 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsmachinetemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsmachinetemplates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmpowervsmachinetemplates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmvpcclusters.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmvpcclusters.rs index fbab889aa..4474787ba 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmvpcclusters.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmvpcclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmvpcclusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmvpcmachines.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmvpcmachines.rs index 96f5e21bb..e9e8337b4 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmvpcmachines.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmvpcmachines.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmvpcmachines.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmvpcmachinetemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmvpcmachinetemplates.rs index ba9391577..747bc7867 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmvpcmachinetemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmvpcmachinetemplates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmvpcmachinetemplates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/install_istio_io/v1alpha1/istiooperators.rs b/kube-custom-resources-rs/src/install_istio_io/v1alpha1/istiooperators.rs index 7b73ac95a..132849e60 100644 --- a/kube-custom-resources-rs/src/install_istio_io/v1alpha1/istiooperators.rs +++ b/kube-custom-resources-rs/src/install_istio_io/v1alpha1/istiooperators.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/install.istio.io/v1alpha1/istiooperators.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/installation_mattermost_com/v1beta1/mattermosts.rs b/kube-custom-resources-rs/src/installation_mattermost_com/v1beta1/mattermosts.rs index 8d18816bd..cc94126a2 100644 --- a/kube-custom-resources-rs/src/installation_mattermost_com/v1beta1/mattermosts.rs +++ b/kube-custom-resources-rs/src/installation_mattermost_com/v1beta1/mattermosts.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/mattermost/mattermost-operator/installation.mattermost.com/v1beta1/mattermosts.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/instana_io/v1/agents.rs b/kube-custom-resources-rs/src/instana_io/v1/agents.rs index 42106eb10..61d0d0da9 100644 --- a/kube-custom-resources-rs/src/instana_io/v1/agents.rs +++ b/kube-custom-resources-rs/src/instana_io/v1/agents.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/instana/instana-agent-operator/instana.io/v1/agents.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/integration_rock8s_com/v1beta1/deferredresources.rs b/kube-custom-resources-rs/src/integration_rock8s_com/v1beta1/deferredresources.rs index 12136a9a3..664eddfcb 100644 --- a/kube-custom-resources-rs/src/integration_rock8s_com/v1beta1/deferredresources.rs +++ b/kube-custom-resources-rs/src/integration_rock8s_com/v1beta1/deferredresources.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/bitspur/rock8s/integration-operator/integration.rock8s.com/v1beta1/deferredresources.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/integration_rock8s_com/v1beta1/plugs.rs b/kube-custom-resources-rs/src/integration_rock8s_com/v1beta1/plugs.rs index 6f726f98d..ec5c5871e 100644 --- a/kube-custom-resources-rs/src/integration_rock8s_com/v1beta1/plugs.rs +++ b/kube-custom-resources-rs/src/integration_rock8s_com/v1beta1/plugs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/bitspur/rock8s/integration-operator/integration.rock8s.com/v1beta1/plugs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/integration_rock8s_com/v1beta1/sockets.rs b/kube-custom-resources-rs/src/integration_rock8s_com/v1beta1/sockets.rs index d455f28be..95d34ca30 100644 --- a/kube-custom-resources-rs/src/integration_rock8s_com/v1beta1/sockets.rs +++ b/kube-custom-resources-rs/src/integration_rock8s_com/v1beta1/sockets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/bitspur/rock8s/integration-operator/integration.rock8s.com/v1beta1/sockets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/iot_eclipse_org/v1alpha1/dittos.rs b/kube-custom-resources-rs/src/iot_eclipse_org/v1alpha1/dittos.rs index 4313410f0..7566a4192 100644 --- a/kube-custom-resources-rs/src/iot_eclipse_org/v1alpha1/dittos.rs +++ b/kube-custom-resources-rs/src/iot_eclipse_org/v1alpha1/dittos.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/ctron/ditto-operator/iot.eclipse.org/v1alpha1/dittos.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/iot_eclipse_org/v1alpha1/hawkbits.rs b/kube-custom-resources-rs/src/iot_eclipse_org/v1alpha1/hawkbits.rs index 785538580..6a03ec2e5 100644 --- a/kube-custom-resources-rs/src/iot_eclipse_org/v1alpha1/hawkbits.rs +++ b/kube-custom-resources-rs/src/iot_eclipse_org/v1alpha1/hawkbits.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/ctron/hawkbit-operator/iot.eclipse.org/v1alpha1/hawkbits.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1alpha1/ipaddressclaims.rs b/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1alpha1/ipaddressclaims.rs index ccfc64749..c9b361111 100644 --- a/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1alpha1/ipaddressclaims.rs +++ b/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1alpha1/ipaddressclaims.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/ipam.cluster.x-k8s.io/v1alpha1/ipaddressclaims.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1alpha1/ipaddresses.rs b/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1alpha1/ipaddresses.rs index 2fc779c6f..6d60c850b 100644 --- a/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1alpha1/ipaddresses.rs +++ b/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1alpha1/ipaddresses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/ipam.cluster.x-k8s.io/v1alpha1/ipaddresses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1beta1/ipaddressclaims.rs b/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1beta1/ipaddressclaims.rs index ce08b9859..1d44c7193 100644 --- a/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1beta1/ipaddressclaims.rs +++ b/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1beta1/ipaddressclaims.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/ipam.cluster.x-k8s.io/v1beta1/ipaddressclaims.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1beta1/ipaddresses.rs b/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1beta1/ipaddresses.rs index b36cfc7c5..a1f08c279 100644 --- a/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1beta1/ipaddresses.rs +++ b/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1beta1/ipaddresses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/ipam.cluster.x-k8s.io/v1beta1/ipaddresses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/isindir_github_com/v1alpha1/sopssecrets.rs b/kube-custom-resources-rs/src/isindir_github_com/v1alpha1/sopssecrets.rs index 843a0a0e1..35854d1e8 100644 --- a/kube-custom-resources-rs/src/isindir_github_com/v1alpha1/sopssecrets.rs +++ b/kube-custom-resources-rs/src/isindir_github_com/v1alpha1/sopssecrets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/isindir/sops-secrets-operator/isindir.github.com/v1alpha1/sopssecrets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/isindir_github_com/v1alpha2/sopssecrets.rs b/kube-custom-resources-rs/src/isindir_github_com/v1alpha2/sopssecrets.rs index 7fcaaa652..f5abfd655 100644 --- a/kube-custom-resources-rs/src/isindir_github_com/v1alpha2/sopssecrets.rs +++ b/kube-custom-resources-rs/src/isindir_github_com/v1alpha2/sopssecrets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/isindir/sops-secrets-operator/isindir.github.com/v1alpha2/sopssecrets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/isindir_github_com/v1alpha3/sopssecrets.rs b/kube-custom-resources-rs/src/isindir_github_com/v1alpha3/sopssecrets.rs index 804435bb2..02c06415b 100644 --- a/kube-custom-resources-rs/src/isindir_github_com/v1alpha3/sopssecrets.rs +++ b/kube-custom-resources-rs/src/isindir_github_com/v1alpha3/sopssecrets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/isindir/sops-secrets-operator/isindir.github.com/v1alpha3/sopssecrets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/jaegertracing_io/v1/jaegers.rs b/kube-custom-resources-rs/src/jaegertracing_io/v1/jaegers.rs index 64dc68e00..2539e2008 100644 --- a/kube-custom-resources-rs/src/jaegertracing_io/v1/jaegers.rs +++ b/kube-custom-resources-rs/src/jaegertracing_io/v1/jaegers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/jaegertracing/jaeger-operator/jaegertracing.io/v1/jaegers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/jobset_x_k8s_io/v1alpha2/jobsets.rs b/kube-custom-resources-rs/src/jobset_x_k8s_io/v1alpha2/jobsets.rs index 0faa906d4..ed0dcbfbd 100644 --- a/kube-custom-resources-rs/src/jobset_x_k8s_io/v1alpha2/jobsets.rs +++ b/kube-custom-resources-rs/src/jobset_x_k8s_io/v1alpha2/jobsets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/jobset/jobset.x-k8s.io/v1alpha2/jobsets.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -79,6 +79,44 @@ pub struct JobSetFailurePolicy { /// A restart is achieved by recreating all active child jobs. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxRestarts")] pub max_restarts: Option, + /// List of failure policy rules for this JobSet. + /// For a given Job failure, the rules will be evaluated in order, + /// and only the first matching rule will be executed. + /// If no matching rule is found, the RestartJobSet action is applied. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub rules: Option>, +} + +/// FailurePolicyRule defines a FailurePolicyAction to be executed if a child job +/// fails due to a reason listed in OnJobFailureReasons. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct JobSetFailurePolicyRules { + /// The action to take if the rule is matched. + pub action: JobSetFailurePolicyRulesAction, + /// The name of the failure policy rule. + /// The name is defaulted to 'failurePolicyRuleN' where N is the index of the failure policy rule. + /// The name must match the regular expression "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$". + pub name: String, + /// The requirement on the job failure reasons. The requirement + /// is satisfied if at least one reason matches the list. + /// The rules are evaluated in order, and the first matching + /// rule is executed. + /// An empty list applies the rule to any job failure reason. + #[serde(rename = "onJobFailureReasons")] + pub on_job_failure_reasons: Vec, + /// TargetReplicatedJobs are the names of the replicated jobs the operator applies to. + /// An empty list will apply to all replicatedJobs. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "targetReplicatedJobs")] + pub target_replicated_jobs: Option>, +} + +/// FailurePolicyRule defines a FailurePolicyAction to be executed if a child job +/// fails due to a reason listed in OnJobFailureReasons. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum JobSetFailurePolicyRulesAction { + FailJobSet, + RestartJobSet, + RestartJobSetAndIgnoreMaxRestarts, } /// Network defines the networking options for the jobset. @@ -7026,6 +7064,9 @@ pub struct JobSetStatus { /// Restarts tracks the number of times the JobSet has restarted (i.e. recreated in case of RecreateAll policy). #[serde(default, skip_serializing_if = "Option::is_none")] pub restarts: Option, + /// RestartsCountTowardsMax tracks the number of times the JobSet has restarted that counts towards the maximum allowed number of restarts. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "restartsCountTowardsMax")] + pub restarts_count_towards_max: Option, } /// ReplicatedJobStatus defines the observed ReplicatedJobs Readiness. diff --git a/kube-custom-resources-rs/src/jobsmanager_raczylo_com/v1beta1/managedjobs.rs b/kube-custom-resources-rs/src/jobsmanager_raczylo_com/v1beta1/managedjobs.rs index 2f318596a..ca1c019de 100644 --- a/kube-custom-resources-rs/src/jobsmanager_raczylo_com/v1beta1/managedjobs.rs +++ b/kube-custom-resources-rs/src/jobsmanager_raczylo_com/v1beta1/managedjobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/lukaszraczylo/jobs-manager-operator/jobsmanager.raczylo.com/v1beta1/managedjobs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k6_io/v1alpha1/k6s.rs b/kube-custom-resources-rs/src/k6_io/v1alpha1/k6s.rs index 28f680e1a..b3135f584 100644 --- a/kube-custom-resources-rs/src/k6_io/v1alpha1/k6s.rs +++ b/kube-custom-resources-rs/src/k6_io/v1alpha1/k6s.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/grafana/k6-operator/k6.io/v1alpha1/k6s.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k6_io/v1alpha1/privateloadzones.rs b/kube-custom-resources-rs/src/k6_io/v1alpha1/privateloadzones.rs index c1060cf83..2d3e096c8 100644 --- a/kube-custom-resources-rs/src/k6_io/v1alpha1/privateloadzones.rs +++ b/kube-custom-resources-rs/src/k6_io/v1alpha1/privateloadzones.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/grafana/k6-operator/k6.io/v1alpha1/privateloadzones.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k6_io/v1alpha1/testruns.rs b/kube-custom-resources-rs/src/k6_io/v1alpha1/testruns.rs index c9fe88e33..1247a1a98 100644 --- a/kube-custom-resources-rs/src/k6_io/v1alpha1/testruns.rs +++ b/kube-custom-resources-rs/src/k6_io/v1alpha1/testruns.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/grafana/k6-operator/k6.io/v1alpha1/testruns.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8gb_absa_oss/v1beta1/gslbs.rs b/kube-custom-resources-rs/src/k8gb_absa_oss/v1beta1/gslbs.rs index b3f8d9281..1587ccd8a 100644 --- a/kube-custom-resources-rs/src/k8gb_absa_oss/v1beta1/gslbs.rs +++ b/kube-custom-resources-rs/src/k8gb_absa_oss/v1beta1/gslbs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/k8gb-io/k8gb/k8gb.absa.oss/v1beta1/gslbs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8s_keycloak_org/v2alpha1/keycloakrealmimports.rs b/kube-custom-resources-rs/src/k8s_keycloak_org/v2alpha1/keycloakrealmimports.rs index 62ac4b251..e4e9e2de6 100644 --- a/kube-custom-resources-rs/src/k8s_keycloak_org/v2alpha1/keycloakrealmimports.rs +++ b/kube-custom-resources-rs/src/k8s_keycloak_org/v2alpha1/keycloakrealmimports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/keycloak/keycloak-k8s-resources/k8s.keycloak.org/v2alpha1/keycloakrealmimports.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8s_keycloak_org/v2alpha1/keycloaks.rs b/kube-custom-resources-rs/src/k8s_keycloak_org/v2alpha1/keycloaks.rs index 279eb14e7..0ed09eb38 100644 --- a/kube-custom-resources-rs/src/k8s_keycloak_org/v2alpha1/keycloaks.rs +++ b/kube-custom-resources-rs/src/k8s_keycloak_org/v2alpha1/keycloaks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/keycloak/keycloak-k8s-resources/k8s.keycloak.org/v2alpha1/keycloaks.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/backups.rs b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/backups.rs index 3487fc2cf..a8fb1313e 100644 --- a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/backups.rs +++ b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/backups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/backups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/connections.rs b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/connections.rs index cd7a76cc4..ce5f2e350 100644 --- a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/connections.rs +++ b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/connections.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/connections.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/databases.rs b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/databases.rs index b2832eba6..e70c41f76 100644 --- a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/databases.rs +++ b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/databases.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/databases.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/grants.rs b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/grants.rs index 06131b0f4..94393f89d 100644 --- a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/grants.rs +++ b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/grants.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/grants.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/mariadbs.rs b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/mariadbs.rs index af38390b2..aef50a12d 100644 --- a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/mariadbs.rs +++ b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/mariadbs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/mariadbs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -78,10 +78,13 @@ pub struct MariaDBSpec { #[serde(default, skip_serializing_if = "Option::is_none")] pub metrics: Option, /// MyCnf allows to specify the my.cnf file mounted by Mariadb. + /// Updating this field will trigger an update to the Mariadb resource. #[serde(default, skip_serializing_if = "Option::is_none", rename = "myCnf")] pub my_cnf: Option, /// MyCnfConfigMapKeyRef is a reference to the my.cnf config file provided via a ConfigMap. - /// If not provided, it will be defaulted with reference to a ConfigMap with the contents of the MyCnf field. + /// If not provided, it will be defaulted with a reference to a ConfigMap containing the MyCnf field. + /// If the referred ConfigMap is labeled with "k8s.mariadb.com/watch", + /// an update to the Mariadb resource will be triggered when the ConfigMap is updated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "myCnfConfigMapKeyRef")] pub my_cnf_config_map_key_ref: Option, /// NodeSelector to be used in the Pod. @@ -156,7 +159,7 @@ pub struct MariaDBSpec { /// TopologySpreadConstraints to be used in the Pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "topologySpreadConstraints")] pub topology_spread_constraints: Option>, - /// PodDisruptionBudget defines the update strategy for the StatefulSet object. + /// UpdateStrategy defines how a MariaDB resource is updated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "updateStrategy")] pub update_strategy: Option, /// Username is the username of the initial user created on bootstrap. @@ -17005,7 +17008,9 @@ pub struct MariaDBMetricsServiceMonitor { } /// MyCnfConfigMapKeyRef is a reference to the my.cnf config file provided via a ConfigMap. -/// If not provided, it will be defaulted with reference to a ConfigMap with the contents of the MyCnf field. +/// If not provided, it will be defaulted with a reference to a ConfigMap containing the MyCnf field. +/// If the referred ConfigMap is labeled with "k8s.mariadb.com/watch", +/// an update to the Mariadb resource will be triggered when the ConfigMap is updated. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct MariaDBMyCnfConfigMapKeyRef { /// The key to select. @@ -19003,19 +19008,18 @@ pub struct MariaDBTopologySpreadConstraintsLabelSelectorMatchExpressions { pub values: Option>, } -/// PodDisruptionBudget defines the update strategy for the StatefulSet object. +/// UpdateStrategy defines how a MariaDB resource is updated. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct MariaDBUpdateStrategy { - /// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. + /// RollingUpdate defines parameters for the RollingUpdate type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "rollingUpdate")] pub rolling_update: Option, - /// Type indicates the type of the StatefulSetUpdateStrategy. - /// Default is RollingUpdate. + /// Type defines the type of updates. One of `ReplicasFirstPrimaryLast`, `RollingUpdate` or `OnDelete`. If not defined, it defaults to `ReplicasFirstPrimaryLast`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] - pub r#type: Option, + pub r#type: Option, } -/// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. +/// RollingUpdate defines parameters for the RollingUpdate type. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct MariaDBUpdateStrategyRollingUpdate { /// The maximum number of pods that can be unavailable during the update. @@ -19035,6 +19039,14 @@ pub struct MariaDBUpdateStrategyRollingUpdate { pub partition: Option, } +/// UpdateStrategy defines how a MariaDB resource is updated. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum MariaDBUpdateStrategyType { + ReplicasFirstPrimaryLast, + RollingUpdate, + OnDelete, +} + /// VolumeMount describes a mounting of a Volume within a container. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct MariaDBVolumeMounts { diff --git a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/maxscales.rs b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/maxscales.rs index 4b71daae0..eb9fa422b 100644 --- a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/maxscales.rs +++ b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/maxscales.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/maxscales.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/restores.rs b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/restores.rs index 3375a0eb1..282e71649 100644 --- a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/restores.rs +++ b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/restores.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/restores.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/sqljobs.rs b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/sqljobs.rs index 5c1acad3f..2c9f17308 100644 --- a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/sqljobs.rs +++ b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/sqljobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/sqljobs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/users.rs b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/users.rs index e8ea750c5..a83b4e40b 100644 --- a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/users.rs +++ b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/users.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/users.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8s_nginx_org/v1/globalconfigurations.rs b/kube-custom-resources-rs/src/k8s_nginx_org/v1/globalconfigurations.rs index 461c7b9b8..1de7c0ad7 100644 --- a/kube-custom-resources-rs/src/k8s_nginx_org/v1/globalconfigurations.rs +++ b/kube-custom-resources-rs/src/k8s_nginx_org/v1/globalconfigurations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1/globalconfigurations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8s_nginx_org/v1/policies.rs b/kube-custom-resources-rs/src/k8s_nginx_org/v1/policies.rs index e0c2ede50..fb1bfda73 100644 --- a/kube-custom-resources-rs/src/k8s_nginx_org/v1/policies.rs +++ b/kube-custom-resources-rs/src/k8s_nginx_org/v1/policies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1/policies.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -163,6 +163,8 @@ pub struct PolicyRateLimit { pub rate: Option, #[serde(default, skip_serializing_if = "Option::is_none", rename = "rejectCode")] pub reject_code: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub scale: Option, #[serde(default, skip_serializing_if = "Option::is_none", rename = "zoneSize")] pub zone_size: Option, } diff --git a/kube-custom-resources-rs/src/k8s_nginx_org/v1/transportservers.rs b/kube-custom-resources-rs/src/k8s_nginx_org/v1/transportservers.rs index d064db297..fe336541c 100644 --- a/kube-custom-resources-rs/src/k8s_nginx_org/v1/transportservers.rs +++ b/kube-custom-resources-rs/src/k8s_nginx_org/v1/transportservers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1/transportservers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8s_nginx_org/v1/virtualserverroutes.rs b/kube-custom-resources-rs/src/k8s_nginx_org/v1/virtualserverroutes.rs index 365a11233..9e91dcd09 100644 --- a/kube-custom-resources-rs/src/k8s_nginx_org/v1/virtualserverroutes.rs +++ b/kube-custom-resources-rs/src/k8s_nginx_org/v1/virtualserverroutes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1/virtualserverroutes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8s_nginx_org/v1/virtualservers.rs b/kube-custom-resources-rs/src/k8s_nginx_org/v1/virtualservers.rs index f7c5d7594..600b4271b 100644 --- a/kube-custom-resources-rs/src/k8s_nginx_org/v1/virtualservers.rs +++ b/kube-custom-resources-rs/src/k8s_nginx_org/v1/virtualservers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1/virtualservers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8s_nginx_org/v1alpha1/globalconfigurations.rs b/kube-custom-resources-rs/src/k8s_nginx_org/v1alpha1/globalconfigurations.rs index 6aef7a948..3fec4fa84 100644 --- a/kube-custom-resources-rs/src/k8s_nginx_org/v1alpha1/globalconfigurations.rs +++ b/kube-custom-resources-rs/src/k8s_nginx_org/v1alpha1/globalconfigurations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1alpha1/globalconfigurations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8s_nginx_org/v1alpha1/policies.rs b/kube-custom-resources-rs/src/k8s_nginx_org/v1alpha1/policies.rs index 462ff3bdf..6139fc7bd 100644 --- a/kube-custom-resources-rs/src/k8s_nginx_org/v1alpha1/policies.rs +++ b/kube-custom-resources-rs/src/k8s_nginx_org/v1alpha1/policies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1alpha1/policies.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8s_nginx_org/v1alpha1/transportservers.rs b/kube-custom-resources-rs/src/k8s_nginx_org/v1alpha1/transportservers.rs index 555ef65a5..6613780f9 100644 --- a/kube-custom-resources-rs/src/k8s_nginx_org/v1alpha1/transportservers.rs +++ b/kube-custom-resources-rs/src/k8s_nginx_org/v1alpha1/transportservers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1alpha1/transportservers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha2/clientintents.rs b/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha2/clientintents.rs index 5b9c5ddcd..070155088 100644 --- a/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha2/clientintents.rs +++ b/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha2/clientintents.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha2/clientintents.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha2/kafkaserverconfigs.rs b/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha2/kafkaserverconfigs.rs index 60bf877be..7bc93ea46 100644 --- a/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha2/kafkaserverconfigs.rs +++ b/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha2/kafkaserverconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha2/kafkaserverconfigs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha2/protectedservices.rs b/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha2/protectedservices.rs index e297020f7..52d5bc48a 100644 --- a/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha2/protectedservices.rs +++ b/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha2/protectedservices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha2/protectedservices.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha3/clientintents.rs b/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha3/clientintents.rs index b5b7f62cf..93d31f11c 100644 --- a/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha3/clientintents.rs +++ b/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha3/clientintents.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha3/clientintents.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha3/kafkaserverconfigs.rs b/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha3/kafkaserverconfigs.rs index fdf7dda9e..276963837 100644 --- a/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha3/kafkaserverconfigs.rs +++ b/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha3/kafkaserverconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha3/kafkaserverconfigs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha3/protectedservices.rs b/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha3/protectedservices.rs index 73bc8f7e6..49c8d09a0 100644 --- a/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha3/protectedservices.rs +++ b/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha3/protectedservices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha3/protectedservices.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8up_io/v1/archives.rs b/kube-custom-resources-rs/src/k8up_io/v1/archives.rs index 721f5e414..abd0d099d 100644 --- a/kube-custom-resources-rs/src/k8up_io/v1/archives.rs +++ b/kube-custom-resources-rs/src/k8up_io/v1/archives.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/k8up-io/k8up/k8up.io/v1/archives.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8up_io/v1/backups.rs b/kube-custom-resources-rs/src/k8up_io/v1/backups.rs index 0ef86d5cb..14c3a7ce5 100644 --- a/kube-custom-resources-rs/src/k8up_io/v1/backups.rs +++ b/kube-custom-resources-rs/src/k8up_io/v1/backups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/k8up-io/k8up/k8up.io/v1/backups.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8up_io/v1/checks.rs b/kube-custom-resources-rs/src/k8up_io/v1/checks.rs index c5c441030..a8571698f 100644 --- a/kube-custom-resources-rs/src/k8up_io/v1/checks.rs +++ b/kube-custom-resources-rs/src/k8up_io/v1/checks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/k8up-io/k8up/k8up.io/v1/checks.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8up_io/v1/prebackuppods.rs b/kube-custom-resources-rs/src/k8up_io/v1/prebackuppods.rs index 6eb0d4332..854669475 100644 --- a/kube-custom-resources-rs/src/k8up_io/v1/prebackuppods.rs +++ b/kube-custom-resources-rs/src/k8up_io/v1/prebackuppods.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/k8up-io/k8up/k8up.io/v1/prebackuppods.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8up_io/v1/prunes.rs b/kube-custom-resources-rs/src/k8up_io/v1/prunes.rs index 72e2c72a7..0ad84163c 100644 --- a/kube-custom-resources-rs/src/k8up_io/v1/prunes.rs +++ b/kube-custom-resources-rs/src/k8up_io/v1/prunes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/k8up-io/k8up/k8up.io/v1/prunes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8up_io/v1/restores.rs b/kube-custom-resources-rs/src/k8up_io/v1/restores.rs index 8a6db2ada..35c22b80f 100644 --- a/kube-custom-resources-rs/src/k8up_io/v1/restores.rs +++ b/kube-custom-resources-rs/src/k8up_io/v1/restores.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/k8up-io/k8up/k8up.io/v1/restores.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8up_io/v1/schedules.rs b/kube-custom-resources-rs/src/k8up_io/v1/schedules.rs index 4683a8157..729c73ff1 100644 --- a/kube-custom-resources-rs/src/k8up_io/v1/schedules.rs +++ b/kube-custom-resources-rs/src/k8up_io/v1/schedules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/k8up-io/k8up/k8up.io/v1/schedules.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/k8up_io/v1/snapshots.rs b/kube-custom-resources-rs/src/k8up_io/v1/snapshots.rs index 181ea0aa8..ba8d1d462 100644 --- a/kube-custom-resources-rs/src/k8up_io/v1/snapshots.rs +++ b/kube-custom-resources-rs/src/k8up_io/v1/snapshots.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/k8up-io/k8up/k8up.io/v1/snapshots.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1alpha1/cruisecontroloperations.rs b/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1alpha1/cruisecontroloperations.rs index f54ea4579..d0868d756 100644 --- a/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1alpha1/cruisecontroloperations.rs +++ b/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1alpha1/cruisecontroloperations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/banzaicloud/koperator/kafka.banzaicloud.io/v1alpha1/cruisecontroloperations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1alpha1/kafkatopics.rs b/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1alpha1/kafkatopics.rs index 19a9eefa7..d68e978ae 100644 --- a/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1alpha1/kafkatopics.rs +++ b/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1alpha1/kafkatopics.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/banzaicloud/koperator/kafka.banzaicloud.io/v1alpha1/kafkatopics.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1alpha1/kafkausers.rs b/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1alpha1/kafkausers.rs index b27bf9b27..c35a1b396 100644 --- a/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1alpha1/kafkausers.rs +++ b/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1alpha1/kafkausers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/banzaicloud/koperator/kafka.banzaicloud.io/v1alpha1/kafkausers.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1beta1/kafkaclusters.rs b/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1beta1/kafkaclusters.rs index 5562e571c..98cd2b1e9 100644 --- a/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1beta1/kafkaclusters.rs +++ b/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1beta1/kafkaclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/banzaicloud/koperator/kafka.banzaicloud.io/v1beta1/kafkaclusters.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kafka_services_k8s_aws/v1alpha1/clusters.rs b/kube-custom-resources-rs/src/kafka_services_k8s_aws/v1alpha1/clusters.rs index b3f568e4c..1c9f574cd 100644 --- a/kube-custom-resources-rs/src/kafka_services_k8s_aws/v1alpha1/clusters.rs +++ b/kube-custom-resources-rs/src/kafka_services_k8s_aws/v1alpha1/clusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/kafka-controller/kafka.services.k8s.aws/v1alpha1/clusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kafka_strimzi_io/v1alpha1/kafkatopics.rs b/kube-custom-resources-rs/src/kafka_strimzi_io/v1alpha1/kafkatopics.rs index b6138ab4c..716109360 100644 --- a/kube-custom-resources-rs/src/kafka_strimzi_io/v1alpha1/kafkatopics.rs +++ b/kube-custom-resources-rs/src/kafka_strimzi_io/v1alpha1/kafkatopics.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1alpha1/kafkatopics.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kafka_strimzi_io/v1alpha1/kafkausers.rs b/kube-custom-resources-rs/src/kafka_strimzi_io/v1alpha1/kafkausers.rs index bf1fd1088..91a9d927e 100644 --- a/kube-custom-resources-rs/src/kafka_strimzi_io/v1alpha1/kafkausers.rs +++ b/kube-custom-resources-rs/src/kafka_strimzi_io/v1alpha1/kafkausers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1alpha1/kafkausers.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta1/kafkatopics.rs b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta1/kafkatopics.rs index 526d442bc..2b434f38a 100644 --- a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta1/kafkatopics.rs +++ b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta1/kafkatopics.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta1/kafkatopics.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta1/kafkausers.rs b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta1/kafkausers.rs index 3729adba5..2575dc834 100644 --- a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta1/kafkausers.rs +++ b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta1/kafkausers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta1/kafkausers.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkabridges.rs b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkabridges.rs index 3a73e624f..14686686f 100644 --- a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkabridges.rs +++ b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkabridges.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkabridges.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkaconnectors.rs b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkaconnectors.rs index 3afb5f0b1..128089116 100644 --- a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkaconnectors.rs +++ b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkaconnectors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkaconnectors.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkaconnects.rs b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkaconnects.rs index 9e7b1de94..40bb7dd58 100644 --- a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkaconnects.rs +++ b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkaconnects.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkaconnects.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkamirrormakers.rs b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkamirrormakers.rs index 8555746ac..c0c62b08c 100644 --- a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkamirrormakers.rs +++ b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkamirrormakers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkamirrormakers.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkarebalances.rs b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkarebalances.rs index 0f8f55d22..0f740d2f7 100644 --- a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkarebalances.rs +++ b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkarebalances.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkarebalances.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkas.rs b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkas.rs index 97a554edc..b4592ec0b 100644 --- a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkas.rs +++ b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkas.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkas.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkatopics.rs b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkatopics.rs index fc55e6770..633bd1c03 100644 --- a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkatopics.rs +++ b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkatopics.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkatopics.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkausers.rs b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkausers.rs index e7155a7a8..ffb8fc814 100644 --- a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkausers.rs +++ b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkausers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkausers.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kamaji_clastix_io/v1alpha1/datastores.rs b/kube-custom-resources-rs/src/kamaji_clastix_io/v1alpha1/datastores.rs index 1752371f4..980968014 100644 --- a/kube-custom-resources-rs/src/kamaji_clastix_io/v1alpha1/datastores.rs +++ b/kube-custom-resources-rs/src/kamaji_clastix_io/v1alpha1/datastores.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/clastix/kamaji/kamaji.clastix.io/v1alpha1/datastores.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kamaji_clastix_io/v1alpha1/tenantcontrolplanes.rs b/kube-custom-resources-rs/src/kamaji_clastix_io/v1alpha1/tenantcontrolplanes.rs index 33f8fb0d1..98fc459a6 100644 --- a/kube-custom-resources-rs/src/kamaji_clastix_io/v1alpha1/tenantcontrolplanes.rs +++ b/kube-custom-resources-rs/src/kamaji_clastix_io/v1alpha1/tenantcontrolplanes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/clastix/kamaji/kamaji.clastix.io/v1alpha1/tenantcontrolplanes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -498,8 +498,12 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersEnvValueF /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -539,8 +543,12 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersEnvValueF /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -566,8 +574,12 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -579,8 +591,12 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersEnvFromCo #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -1712,8 +1728,12 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersEnvVa /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1753,8 +1773,12 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersEnvVa /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1780,8 +1804,12 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersEnvFr #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -1793,8 +1821,12 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersEnvFr #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -3149,8 +3181,12 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesCephfs { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesCephfsSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -3185,8 +3221,12 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesCinder { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesCinderSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -3213,8 +3253,12 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -3278,8 +3322,12 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesCsi { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesCsiNodePublishSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -3725,8 +3773,12 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesFlexVolume { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesFlexVolumeSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -3882,8 +3934,12 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesIscsi { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesIscsiSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -4091,8 +4147,12 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSou #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -4188,8 +4248,12 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSou #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional field specify whether the Secret or its key must be defined @@ -4318,8 +4382,12 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesRbd { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesRbdSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -4369,8 +4437,12 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesScaleIo { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesScaleIoSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -4461,8 +4533,12 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesStorageos { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesStorageosSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } diff --git a/kube-custom-resources-rs/src/karpenter_k8s_aws/v1beta1/ec2nodeclasses.rs b/kube-custom-resources-rs/src/karpenter_k8s_aws/v1beta1/ec2nodeclasses.rs index fb321fe75..0649b1927 100644 --- a/kube-custom-resources-rs/src/karpenter_k8s_aws/v1beta1/ec2nodeclasses.rs +++ b/kube-custom-resources-rs/src/karpenter_k8s_aws/v1beta1/ec2nodeclasses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/karpenter-provider-aws/karpenter.k8s.aws/v1beta1/ec2nodeclasses.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -468,5 +468,8 @@ pub struct EC2NodeClassStatusSubnets { pub id: String, /// The associated availability zone pub zone: String, + /// The associated availability zone ID + #[serde(default, skip_serializing_if = "Option::is_none", rename = "zoneID")] + pub zone_id: Option, } diff --git a/kube-custom-resources-rs/src/karpenter_sh/v1beta1/nodeclaims.rs b/kube-custom-resources-rs/src/karpenter_sh/v1beta1/nodeclaims.rs index 4bf452919..4e3241e4f 100644 --- a/kube-custom-resources-rs/src/karpenter_sh/v1beta1/nodeclaims.rs +++ b/kube-custom-resources-rs/src/karpenter_sh/v1beta1/nodeclaims.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/karpenter-provider-aws/karpenter.sh/v1beta1/nodeclaims.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/karpenter_sh/v1beta1/nodepools.rs b/kube-custom-resources-rs/src/karpenter_sh/v1beta1/nodepools.rs index 2ec9bec94..5903fd603 100644 --- a/kube-custom-resources-rs/src/karpenter_sh/v1beta1/nodepools.rs +++ b/kube-custom-resources-rs/src/karpenter_sh/v1beta1/nodepools.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/karpenter-provider-aws/karpenter.sh/v1beta1/nodepools.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/keda_sh/v1alpha1/clustertriggerauthentications.rs b/kube-custom-resources-rs/src/keda_sh/v1alpha1/clustertriggerauthentications.rs index c3f281848..998c08713 100644 --- a/kube-custom-resources-rs/src/keda_sh/v1alpha1/clustertriggerauthentications.rs +++ b/kube-custom-resources-rs/src/keda_sh/v1alpha1/clustertriggerauthentications.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kedacore/keda/keda.sh/v1alpha1/clustertriggerauthentications.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/keda_sh/v1alpha1/scaledjobs.rs b/kube-custom-resources-rs/src/keda_sh/v1alpha1/scaledjobs.rs index 7c25708d8..551dd90c6 100644 --- a/kube-custom-resources-rs/src/keda_sh/v1alpha1/scaledjobs.rs +++ b/kube-custom-resources-rs/src/keda_sh/v1alpha1/scaledjobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kedacore/keda/keda.sh/v1alpha1/scaledjobs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/keda_sh/v1alpha1/scaledobjects.rs b/kube-custom-resources-rs/src/keda_sh/v1alpha1/scaledobjects.rs index 720305934..9aab0bf0b 100644 --- a/kube-custom-resources-rs/src/keda_sh/v1alpha1/scaledobjects.rs +++ b/kube-custom-resources-rs/src/keda_sh/v1alpha1/scaledobjects.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kedacore/keda/keda.sh/v1alpha1/scaledobjects.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/keda_sh/v1alpha1/triggerauthentications.rs b/kube-custom-resources-rs/src/keda_sh/v1alpha1/triggerauthentications.rs index 7ef49496c..66d2f8b8f 100644 --- a/kube-custom-resources-rs/src/keda_sh/v1alpha1/triggerauthentications.rs +++ b/kube-custom-resources-rs/src/keda_sh/v1alpha1/triggerauthentications.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kedacore/keda/keda.sh/v1alpha1/triggerauthentications.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/keycloak_k8s_reddec_net/v1alpha1/keycloakclients.rs b/kube-custom-resources-rs/src/keycloak_k8s_reddec_net/v1alpha1/keycloakclients.rs index bd0d1eca7..e68b21843 100644 --- a/kube-custom-resources-rs/src/keycloak_k8s_reddec_net/v1alpha1/keycloakclients.rs +++ b/kube-custom-resources-rs/src/keycloak_k8s_reddec_net/v1alpha1/keycloakclients.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/reddec/keycloak-ext-operator/keycloak.k8s.reddec.net/v1alpha1/keycloakclients.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakbackups.rs b/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakbackups.rs index d883b3041..702616834 100644 --- a/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakbackups.rs +++ b/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakbackups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/keycloak/keycloak-operator/keycloak.org/v1alpha1/keycloakbackups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakclients.rs b/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakclients.rs index 7d8cc7b48..6f862dbff 100644 --- a/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakclients.rs +++ b/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakclients.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/keycloak/keycloak-operator/keycloak.org/v1alpha1/keycloakclients.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakrealms.rs b/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakrealms.rs index 528aa8f3b..2918d3e78 100644 --- a/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakrealms.rs +++ b/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakrealms.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/keycloak/keycloak-operator/keycloak.org/v1alpha1/keycloakrealms.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloaks.rs b/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloaks.rs index 53e2fa74c..4ab4a70db 100644 --- a/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloaks.rs +++ b/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloaks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/keycloak/keycloak-operator/keycloak.org/v1alpha1/keycloaks.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakusers.rs b/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakusers.rs index 69be2eaac..82caad927 100644 --- a/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakusers.rs +++ b/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakusers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/keycloak/keycloak-operator/keycloak.org/v1alpha1/keycloakusers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/keyspaces_services_k8s_aws/v1alpha1/keyspaces.rs b/kube-custom-resources-rs/src/keyspaces_services_k8s_aws/v1alpha1/keyspaces.rs index 7ddaf298c..828d23908 100644 --- a/kube-custom-resources-rs/src/keyspaces_services_k8s_aws/v1alpha1/keyspaces.rs +++ b/kube-custom-resources-rs/src/keyspaces_services_k8s_aws/v1alpha1/keyspaces.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/keyspaces-controller/keyspaces.services.k8s.aws/v1alpha1/keyspaces.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/keyspaces_services_k8s_aws/v1alpha1/tables.rs b/kube-custom-resources-rs/src/keyspaces_services_k8s_aws/v1alpha1/tables.rs index 846e5b0b6..7b09883a1 100644 --- a/kube-custom-resources-rs/src/keyspaces_services_k8s_aws/v1alpha1/tables.rs +++ b/kube-custom-resources-rs/src/keyspaces_services_k8s_aws/v1alpha1/tables.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/keyspaces-controller/keyspaces.services.k8s.aws/v1alpha1/tables.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kibana_k8s_elastic_co/v1/kibanas.rs b/kube-custom-resources-rs/src/kibana_k8s_elastic_co/v1/kibanas.rs index 0676c32d4..56bd79e4a 100644 --- a/kube-custom-resources-rs/src/kibana_k8s_elastic_co/v1/kibanas.rs +++ b/kube-custom-resources-rs/src/kibana_k8s_elastic_co/v1/kibanas.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/kibana.k8s.elastic.co/v1/kibanas.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -351,6 +351,7 @@ pub struct KibanaHttpServiceSpec { /// not set, the implementation will apply its default routing strategy. If set /// to "PreferClose", implementations should prioritize endpoints that are /// topologically close (e.g., same zone). + /// This is an alpha field and requires enabling ServiceTrafficDistribution feature. #[serde(default, skip_serializing_if = "Option::is_none", rename = "trafficDistribution")] pub traffic_distribution: Option, /// type determines how the Service is exposed. Defaults to ClusterIP. Valid @@ -1799,8 +1800,12 @@ pub struct KibanaPodTemplateSpecContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1840,8 +1845,12 @@ pub struct KibanaPodTemplateSpecContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1867,8 +1876,12 @@ pub struct KibanaPodTemplateSpecContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -1880,8 +1893,12 @@ pub struct KibanaPodTemplateSpecContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -3028,8 +3045,12 @@ pub struct KibanaPodTemplateSpecEphemeralContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3069,8 +3090,12 @@ pub struct KibanaPodTemplateSpecEphemeralContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3096,8 +3121,12 @@ pub struct KibanaPodTemplateSpecEphemeralContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecEphemeralContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -3109,8 +3138,12 @@ pub struct KibanaPodTemplateSpecEphemeralContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecEphemeralContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -4022,8 +4055,7 @@ pub struct KibanaPodTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, /// IP address of the host file entry. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub ip: Option, + pub ip: String, } /// LocalObjectReference contains enough information to let you locate the @@ -4031,8 +4063,12 @@ pub struct KibanaPodTemplateSpecHostAliases { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecImagePullSecrets { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -4250,8 +4286,12 @@ pub struct KibanaPodTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4291,8 +4331,12 @@ pub struct KibanaPodTemplateSpecInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4318,8 +4362,12 @@ pub struct KibanaPodTemplateSpecInitContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecInitContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -4331,8 +4379,12 @@ pub struct KibanaPodTemplateSpecInitContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecInitContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -5963,8 +6015,12 @@ pub struct KibanaPodTemplateSpecVolumesCephfs { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecVolumesCephfsSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5999,8 +6055,12 @@ pub struct KibanaPodTemplateSpecVolumesCinder { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecVolumesCinderSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6027,8 +6087,12 @@ pub struct KibanaPodTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -6092,8 +6156,12 @@ pub struct KibanaPodTemplateSpecVolumesCsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecVolumesCsiNodePublishSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6549,8 +6617,12 @@ pub struct KibanaPodTemplateSpecVolumesFlexVolume { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecVolumesFlexVolumeSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6706,8 +6778,12 @@ pub struct KibanaPodTemplateSpecVolumesIscsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecVolumesIscsiSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6915,8 +6991,12 @@ pub struct KibanaPodTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -7012,8 +7092,12 @@ pub struct KibanaPodTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional field specify whether the Secret or its key must be defined @@ -7142,8 +7226,12 @@ pub struct KibanaPodTemplateSpecVolumesRbd { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecVolumesRbdSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -7193,8 +7281,12 @@ pub struct KibanaPodTemplateSpecVolumesScaleIo { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecVolumesScaleIoSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -7285,8 +7377,12 @@ pub struct KibanaPodTemplateSpecVolumesStorageos { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecVolumesStorageosSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } diff --git a/kube-custom-resources-rs/src/kibana_k8s_elastic_co/v1beta1/kibanas.rs b/kube-custom-resources-rs/src/kibana_k8s_elastic_co/v1beta1/kibanas.rs index b18fa3026..d763aa30d 100644 --- a/kube-custom-resources-rs/src/kibana_k8s_elastic_co/v1beta1/kibanas.rs +++ b/kube-custom-resources-rs/src/kibana_k8s_elastic_co/v1beta1/kibanas.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/kibana.k8s.elastic.co/v1beta1/kibanas.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -292,6 +292,7 @@ pub struct KibanaHttpServiceSpec { /// not set, the implementation will apply its default routing strategy. If set /// to "PreferClose", implementations should prioritize endpoints that are /// topologically close (e.g., same zone). + /// This is an alpha field and requires enabling ServiceTrafficDistribution feature. #[serde(default, skip_serializing_if = "Option::is_none", rename = "trafficDistribution")] pub traffic_distribution: Option, /// type determines how the Service is exposed. Defaults to ClusterIP. Valid @@ -1654,8 +1655,12 @@ pub struct KibanaPodTemplateSpecContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1695,8 +1700,12 @@ pub struct KibanaPodTemplateSpecContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1722,8 +1731,12 @@ pub struct KibanaPodTemplateSpecContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -1735,8 +1748,12 @@ pub struct KibanaPodTemplateSpecContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -2883,8 +2900,12 @@ pub struct KibanaPodTemplateSpecEphemeralContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2924,8 +2945,12 @@ pub struct KibanaPodTemplateSpecEphemeralContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2951,8 +2976,12 @@ pub struct KibanaPodTemplateSpecEphemeralContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecEphemeralContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -2964,8 +2993,12 @@ pub struct KibanaPodTemplateSpecEphemeralContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecEphemeralContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -3877,8 +3910,7 @@ pub struct KibanaPodTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, /// IP address of the host file entry. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub ip: Option, + pub ip: String, } /// LocalObjectReference contains enough information to let you locate the @@ -3886,8 +3918,12 @@ pub struct KibanaPodTemplateSpecHostAliases { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecImagePullSecrets { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -4105,8 +4141,12 @@ pub struct KibanaPodTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4146,8 +4186,12 @@ pub struct KibanaPodTemplateSpecInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4173,8 +4217,12 @@ pub struct KibanaPodTemplateSpecInitContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecInitContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -4186,8 +4234,12 @@ pub struct KibanaPodTemplateSpecInitContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecInitContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -5818,8 +5870,12 @@ pub struct KibanaPodTemplateSpecVolumesCephfs { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecVolumesCephfsSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5854,8 +5910,12 @@ pub struct KibanaPodTemplateSpecVolumesCinder { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecVolumesCinderSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5882,8 +5942,12 @@ pub struct KibanaPodTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -5947,8 +6011,12 @@ pub struct KibanaPodTemplateSpecVolumesCsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecVolumesCsiNodePublishSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6404,8 +6472,12 @@ pub struct KibanaPodTemplateSpecVolumesFlexVolume { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecVolumesFlexVolumeSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6561,8 +6633,12 @@ pub struct KibanaPodTemplateSpecVolumesIscsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecVolumesIscsiSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6770,8 +6846,12 @@ pub struct KibanaPodTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -6867,8 +6947,12 @@ pub struct KibanaPodTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional field specify whether the Secret or its key must be defined @@ -6997,8 +7081,12 @@ pub struct KibanaPodTemplateSpecVolumesRbd { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecVolumesRbdSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -7048,8 +7136,12 @@ pub struct KibanaPodTemplateSpecVolumesScaleIo { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecVolumesScaleIoSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -7140,8 +7232,12 @@ pub struct KibanaPodTemplateSpecVolumesStorageos { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KibanaPodTemplateSpecVolumesStorageosSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } diff --git a/kube-custom-resources-rs/src/kinesis_services_k8s_aws/v1alpha1/streams.rs b/kube-custom-resources-rs/src/kinesis_services_k8s_aws/v1alpha1/streams.rs index 1da7a0781..01053f547 100644 --- a/kube-custom-resources-rs/src/kinesis_services_k8s_aws/v1alpha1/streams.rs +++ b/kube-custom-resources-rs/src/kinesis_services_k8s_aws/v1alpha1/streams.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/kinesis-controller/kinesis.services.k8s.aws/v1alpha1/streams.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta1/modules.rs b/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta1/modules.rs index eb8b18bae..3fb36ae35 100644 --- a/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta1/modules.rs +++ b/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta1/modules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kernel-module-management/kmm.sigs.x-k8s.io/v1beta1/modules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta1/nodemodulesconfigs.rs b/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta1/nodemodulesconfigs.rs index 56852340b..c1a72e571 100644 --- a/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta1/nodemodulesconfigs.rs +++ b/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta1/nodemodulesconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kernel-module-management/kmm.sigs.x-k8s.io/v1beta1/nodemodulesconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta1/preflightvalidations.rs b/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta1/preflightvalidations.rs index ff144c03c..e946853ae 100644 --- a/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta1/preflightvalidations.rs +++ b/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta1/preflightvalidations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kernel-module-management/kmm.sigs.x-k8s.io/v1beta1/preflightvalidations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta2/preflightvalidations.rs b/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta2/preflightvalidations.rs index 61916edb5..de6ead269 100644 --- a/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta2/preflightvalidations.rs +++ b/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta2/preflightvalidations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kernel-module-management/kmm.sigs.x-k8s.io/v1beta2/preflightvalidations.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kms_services_k8s_aws/v1alpha1/aliases.rs b/kube-custom-resources-rs/src/kms_services_k8s_aws/v1alpha1/aliases.rs index 5dfb2cc5b..f47b77c86 100644 --- a/kube-custom-resources-rs/src/kms_services_k8s_aws/v1alpha1/aliases.rs +++ b/kube-custom-resources-rs/src/kms_services_k8s_aws/v1alpha1/aliases.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/kms-controller/kms.services.k8s.aws/v1alpha1/aliases.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kms_services_k8s_aws/v1alpha1/grants.rs b/kube-custom-resources-rs/src/kms_services_k8s_aws/v1alpha1/grants.rs index add7590ac..1c2a3f95a 100644 --- a/kube-custom-resources-rs/src/kms_services_k8s_aws/v1alpha1/grants.rs +++ b/kube-custom-resources-rs/src/kms_services_k8s_aws/v1alpha1/grants.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/kms-controller/kms.services.k8s.aws/v1alpha1/grants.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kms_services_k8s_aws/v1alpha1/keys.rs b/kube-custom-resources-rs/src/kms_services_k8s_aws/v1alpha1/keys.rs index a02d60848..a5669e084 100644 --- a/kube-custom-resources-rs/src/kms_services_k8s_aws/v1alpha1/keys.rs +++ b/kube-custom-resources-rs/src/kms_services_k8s_aws/v1alpha1/keys.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/kms-controller/kms.services.k8s.aws/v1alpha1/keys.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuadrant_io/v1alpha1/dnsrecords.rs b/kube-custom-resources-rs/src/kuadrant_io/v1alpha1/dnsrecords.rs index aa646e870..c613c8efe 100644 --- a/kube-custom-resources-rs/src/kuadrant_io/v1alpha1/dnsrecords.rs +++ b/kube-custom-resources-rs/src/kuadrant_io/v1alpha1/dnsrecords.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Kuadrant/dns-operator/kuadrant.io/v1alpha1/dnsrecords.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuadrant_io/v1alpha1/managedzones.rs b/kube-custom-resources-rs/src/kuadrant_io/v1alpha1/managedzones.rs index 48790c019..f29c02db2 100644 --- a/kube-custom-resources-rs/src/kuadrant_io/v1alpha1/managedzones.rs +++ b/kube-custom-resources-rs/src/kuadrant_io/v1alpha1/managedzones.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Kuadrant/dns-operator/kuadrant.io/v1alpha1/managedzones.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuadrant_io/v1beta1/kuadrants.rs b/kube-custom-resources-rs/src/kuadrant_io/v1beta1/kuadrants.rs index 21d41d550..1d8c7b080 100644 --- a/kube-custom-resources-rs/src/kuadrant_io/v1beta1/kuadrants.rs +++ b/kube-custom-resources-rs/src/kuadrant_io/v1beta1/kuadrants.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Kuadrant/kuadrant-operator/kuadrant.io/v1beta1/kuadrants.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuadrant_io/v1beta2/ratelimitpolicies.rs b/kube-custom-resources-rs/src/kuadrant_io/v1beta2/ratelimitpolicies.rs index ad940361b..95c8f2c39 100644 --- a/kube-custom-resources-rs/src/kuadrant_io/v1beta2/ratelimitpolicies.rs +++ b/kube-custom-resources-rs/src/kuadrant_io/v1beta2/ratelimitpolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Kuadrant/kuadrant-operator/kuadrant.io/v1beta2/ratelimitpolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kube_green_com/v1alpha1/sleepinfos.rs b/kube-custom-resources-rs/src/kube_green_com/v1alpha1/sleepinfos.rs index 8b0237c1d..3c68f6c29 100644 --- a/kube-custom-resources-rs/src/kube_green_com/v1alpha1/sleepinfos.rs +++ b/kube-custom-resources-rs/src/kube_green_com/v1alpha1/sleepinfos.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kube-green/kube-green/kube-green.com/v1alpha1/sleepinfos.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kubean_io/v1alpha1/clusteroperations.rs b/kube-custom-resources-rs/src/kubean_io/v1alpha1/clusteroperations.rs index 18330aee5..30252691f 100644 --- a/kube-custom-resources-rs/src/kubean_io/v1alpha1/clusteroperations.rs +++ b/kube-custom-resources-rs/src/kubean_io/v1alpha1/clusteroperations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubean-io/kubean/kubean.io/v1alpha1/clusteroperations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kubean_io/v1alpha1/clusters.rs b/kube-custom-resources-rs/src/kubean_io/v1alpha1/clusters.rs index dd09cfd80..22fb5e86f 100644 --- a/kube-custom-resources-rs/src/kubean_io/v1alpha1/clusters.rs +++ b/kube-custom-resources-rs/src/kubean_io/v1alpha1/clusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubean-io/kubean/kubean.io/v1alpha1/clusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kubean_io/v1alpha1/localartifactsets.rs b/kube-custom-resources-rs/src/kubean_io/v1alpha1/localartifactsets.rs index 60ca187f4..72359875b 100644 --- a/kube-custom-resources-rs/src/kubean_io/v1alpha1/localartifactsets.rs +++ b/kube-custom-resources-rs/src/kubean_io/v1alpha1/localartifactsets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubean-io/kubean/kubean.io/v1alpha1/localartifactsets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kubean_io/v1alpha1/manifests.rs b/kube-custom-resources-rs/src/kubean_io/v1alpha1/manifests.rs index 1565ca6f2..1800298f1 100644 --- a/kube-custom-resources-rs/src/kubean_io/v1alpha1/manifests.rs +++ b/kube-custom-resources-rs/src/kubean_io/v1alpha1/manifests.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubean-io/kubean/kubean.io/v1alpha1/manifests.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kubecost_com/v1alpha1/turndownschedules.rs b/kube-custom-resources-rs/src/kubecost_com/v1alpha1/turndownschedules.rs index 64bbea3d2..df6d5b24e 100644 --- a/kube-custom-resources-rs/src/kubecost_com/v1alpha1/turndownschedules.rs +++ b/kube-custom-resources-rs/src/kubecost_com/v1alpha1/turndownschedules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubecost/cluster-turndown/kubecost.com/v1alpha1/turndownschedules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kubevious_io/v1alpha1/workloadprofiles.rs b/kube-custom-resources-rs/src/kubevious_io/v1alpha1/workloadprofiles.rs index b6ffdff73..cf4c29c11 100644 --- a/kube-custom-resources-rs/src/kubevious_io/v1alpha1/workloadprofiles.rs +++ b/kube-custom-resources-rs/src/kubevious_io/v1alpha1/workloadprofiles.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubevious/workload-operator/kubevious.io/v1alpha1/workloadprofiles.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kubevious_io/v1alpha1/workloads.rs b/kube-custom-resources-rs/src/kubevious_io/v1alpha1/workloads.rs index 76a5fe0b7..6d6f0820a 100644 --- a/kube-custom-resources-rs/src/kubevious_io/v1alpha1/workloads.rs +++ b/kube-custom-resources-rs/src/kubevious_io/v1alpha1/workloads.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubevious/workload-operator/kubevious.io/v1alpha1/workloads.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/admissionchecks.rs b/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/admissionchecks.rs index c4abd2030..63c85f0ea 100644 --- a/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/admissionchecks.rs +++ b/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/admissionchecks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/admissionchecks.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/clusterqueues.rs b/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/clusterqueues.rs index c87c15d58..31793692b 100644 --- a/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/clusterqueues.rs +++ b/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/clusterqueues.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/clusterqueues.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -461,6 +461,9 @@ pub struct ClusterQueueStatus { /// current state. #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, + /// FairSharing contains the information about the current status of fair sharing. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "fairSharing")] + pub fair_sharing: Option, /// flavorsReservation are the reserved quotas, by flavor, currently in use by the /// workloads assigned to this ClusterQueue. #[serde(default, skip_serializing_if = "Option::is_none", rename = "flavorsReservation")] @@ -483,6 +486,19 @@ pub struct ClusterQueueStatus { pub reserving_workloads: Option, } +/// FairSharing contains the information about the current status of fair sharing. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct ClusterQueueStatusFairSharing { + /// WeightedShare represent the maximum of the ratios of usage above nominal + /// quota to the lendable resources in the cohort, among all the resources + /// provided by the ClusterQueue, and divided by the weight. + /// If zero, it means that the usage of the ClusterQueue is below the nominal quota. + /// If the ClusterQueue has a weight of zero, this will return 9223372036854775807, + /// the maximum possible share value. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "weightedShare")] + pub weighted_share: Option, +} + #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ClusterQueueStatusFlavorsReservation { /// name of the flavor. diff --git a/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/localqueues.rs b/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/localqueues.rs index 3387861d7..e6da6128a 100644 --- a/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/localqueues.rs +++ b/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/localqueues.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/localqueues.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/resourceflavors.rs b/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/resourceflavors.rs index 7757e7a99..b81b5aea2 100644 --- a/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/resourceflavors.rs +++ b/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/resourceflavors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/resourceflavors.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/workloads.rs b/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/workloads.rs index 0fc3806d3..9fe8ca341 100644 --- a/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/workloads.rs +++ b/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/workloads.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/workloads.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -193,7 +193,7 @@ pub struct WorkloadPodSetsTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "ephemeralContainers")] pub ephemeral_containers: Option>, /// HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts - /// file if specified. This is only valid for non-hostNetwork pods. + /// file if specified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostAliases")] pub host_aliases: Option>, /// Use the host's ipc namespace. @@ -266,6 +266,7 @@ pub struct WorkloadPodSetsTemplateSpec { /// - spec.hostPID /// - spec.hostIPC /// - spec.hostUsers + /// - spec.securityContext.appArmorProfile /// - spec.securityContext.seLinuxOptions /// - spec.securityContext.seccompProfile /// - spec.securityContext.fsGroup @@ -275,6 +276,7 @@ pub struct WorkloadPodSetsTemplateSpec { /// - spec.securityContext.runAsUser /// - spec.securityContext.runAsGroup /// - spec.securityContext.supplementalGroups + /// - spec.containers[*].securityContext.appArmorProfile /// - spec.containers[*].securityContext.seLinuxOptions /// - spec.containers[*].securityContext.seccompProfile /// - spec.containers[*].securityContext.capabilities @@ -357,16 +359,13 @@ pub struct WorkloadPodSetsTemplateSpec { /// /// /// SchedulingGates can only be set at pod creation time, and be removed only afterwards. - /// - /// - /// This is a beta feature enabled by the PodSchedulingReadiness feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "schedulingGates")] pub scheduling_gates: Option>, /// SecurityContext holds pod-level security attributes and common container settings. /// Optional: Defaults to empty. See type description for default values of each field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "securityContext")] pub security_context: Option, - /// DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. + /// DeprecatedServiceAccount is a deprecated alias for ServiceAccountName. /// Deprecated: Use serviceAccountName instead. #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceAccount")] pub service_account: Option, @@ -616,23 +615,23 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinityPreferredDuringScheduli pub label_selector: Option, /// MatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. - /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, /// MismatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. - /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] pub mismatch_label_keys: Option>, @@ -737,23 +736,23 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinityRequiredDuringSchedulin pub label_selector: Option, /// MatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. - /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, /// MismatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. - /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] pub mismatch_label_keys: Option>, @@ -889,23 +888,23 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinityPreferredDuringSche pub label_selector: Option, /// MatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. - /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, /// MismatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. - /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] pub mismatch_label_keys: Option>, @@ -1010,23 +1009,23 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinityRequiredDuringSched pub label_selector: Option, /// MatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. - /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, /// MismatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. - /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] pub mismatch_label_keys: Option>, @@ -1330,8 +1329,12 @@ pub struct WorkloadPodSetsTemplateSpecContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1371,8 +1374,12 @@ pub struct WorkloadPodSetsTemplateSpecContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1398,8 +1405,12 @@ pub struct WorkloadPodSetsTemplateSpecContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -1411,8 +1422,12 @@ pub struct WorkloadPodSetsTemplateSpecContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -1963,6 +1978,11 @@ pub struct WorkloadPodSetsTemplateSpecContainersSecurityContext { /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, + /// appArmorProfile is the AppArmor options to use by this container. If set, this profile + /// overrides the pod's appArmorProfile. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appArmorProfile")] + pub app_armor_profile: Option, /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. @@ -2029,6 +2049,26 @@ pub struct WorkloadPodSetsTemplateSpecContainersSecurityContext { pub windows_options: Option, } +/// appArmorProfile is the AppArmor options to use by this container. If set, this profile +/// overrides the pod's appArmorProfile. +/// Note that this field cannot be set when spec.os.name is windows. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct WorkloadPodSetsTemplateSpecContainersSecurityContextAppArmorProfile { + /// localhostProfile indicates a profile loaded on the node that should be used. + /// The profile must be preconfigured on the node to work. + /// Must match the loaded name of the profile. + /// Must be set if and only if type is "Localhost". + #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] + pub localhost_profile: Option, + /// type indicates which kind of AppArmor profile will be applied. + /// Valid options are: + /// Localhost - a profile pre-loaded on the node. + /// RuntimeDefault - the container runtime's default profile. + /// Unconfined - no AppArmor enforcement. + #[serde(rename = "type")] + pub r#type: String, +} + /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. @@ -2262,6 +2302,8 @@ pub struct WorkloadPodSetsTemplateSpecContainersVolumeMounts { /// to container and the other way around. /// When not set, MountPropagationNone is used. /// This field is beta in 1.10. + /// When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + /// (which defaults to None). #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPropagation")] pub mount_propagation: Option, /// This must match the Name of a Volume. @@ -2270,6 +2312,28 @@ pub struct WorkloadPodSetsTemplateSpecContainersVolumeMounts { /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, + /// RecursiveReadOnly specifies whether read-only mounts should be handled + /// recursively. + /// + /// + /// If ReadOnly is false, this field has no meaning and must be unspecified. + /// + /// + /// If ReadOnly is true, and this field is set to Disabled, the mount is not made + /// recursively read-only. If this field is set to IfPossible, the mount is made + /// recursively read-only, if it is supported by the container runtime. If this + /// field is set to Enabled, the mount is made recursively read-only if it is + /// supported by the container runtime, otherwise the pod will not be started and + /// an error will be generated to indicate the reason. + /// + /// + /// If this field is set to IfPossible or Enabled, MountPropagation must be set to + /// None (or be unspecified, which defaults to None). + /// + /// + /// If this field is not specified, it is treated as an equivalent of Disabled. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "recursiveReadOnly")] + pub recursive_read_only: Option, /// Path within the volume from which the container's volume should be mounted. /// Defaults to "" (volume's root). #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPath")] @@ -2510,8 +2574,12 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersEnvValueFromConfigMapKe /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2551,8 +2619,12 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersEnvValueFromSecretKeyRe /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2578,8 +2650,12 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -2591,8 +2667,12 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -3134,6 +3214,11 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersSecurityContext { /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, + /// appArmorProfile is the AppArmor options to use by this container. If set, this profile + /// overrides the pod's appArmorProfile. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appArmorProfile")] + pub app_armor_profile: Option, /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. @@ -3200,6 +3285,26 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersSecurityContext { pub windows_options: Option, } +/// appArmorProfile is the AppArmor options to use by this container. If set, this profile +/// overrides the pod's appArmorProfile. +/// Note that this field cannot be set when spec.os.name is windows. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct WorkloadPodSetsTemplateSpecEphemeralContainersSecurityContextAppArmorProfile { + /// localhostProfile indicates a profile loaded on the node that should be used. + /// The profile must be preconfigured on the node to work. + /// Must match the loaded name of the profile. + /// Must be set if and only if type is "Localhost". + #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] + pub localhost_profile: Option, + /// type indicates which kind of AppArmor profile will be applied. + /// Valid options are: + /// Localhost - a profile pre-loaded on the node. + /// RuntimeDefault - the container runtime's default profile. + /// Unconfined - no AppArmor enforcement. + #[serde(rename = "type")] + pub r#type: String, +} + /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. @@ -3427,6 +3532,8 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersVolumeMounts { /// to container and the other way around. /// When not set, MountPropagationNone is used. /// This field is beta in 1.10. + /// When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + /// (which defaults to None). #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPropagation")] pub mount_propagation: Option, /// This must match the Name of a Volume. @@ -3435,6 +3542,28 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersVolumeMounts { /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, + /// RecursiveReadOnly specifies whether read-only mounts should be handled + /// recursively. + /// + /// + /// If ReadOnly is false, this field has no meaning and must be unspecified. + /// + /// + /// If ReadOnly is true, and this field is set to Disabled, the mount is not made + /// recursively read-only. If this field is set to IfPossible, the mount is made + /// recursively read-only, if it is supported by the container runtime. If this + /// field is set to Enabled, the mount is made recursively read-only if it is + /// supported by the container runtime, otherwise the pod will not be started and + /// an error will be generated to indicate the reason. + /// + /// + /// If this field is set to IfPossible or Enabled, MountPropagation must be set to + /// None (or be unspecified, which defaults to None). + /// + /// + /// If this field is not specified, it is treated as an equivalent of Disabled. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "recursiveReadOnly")] + pub recursive_read_only: Option, /// Path within the volume from which the container's volume should be mounted. /// Defaults to "" (volume's root). #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPath")] @@ -3455,8 +3584,7 @@ pub struct WorkloadPodSetsTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, /// IP address of the host file entry. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub ip: Option, + pub ip: String, } /// LocalObjectReference contains enough information to let you locate the @@ -3464,8 +3592,12 @@ pub struct WorkloadPodSetsTemplateSpecHostAliases { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct WorkloadPodSetsTemplateSpecImagePullSecrets { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -3683,8 +3815,12 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersEnvValueFromConfigMapKeyRef /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3724,8 +3860,12 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3751,8 +3891,12 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -3764,8 +3908,12 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -4316,6 +4464,11 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersSecurityContext { /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, + /// appArmorProfile is the AppArmor options to use by this container. If set, this profile + /// overrides the pod's appArmorProfile. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appArmorProfile")] + pub app_armor_profile: Option, /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. @@ -4382,6 +4535,26 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersSecurityContext { pub windows_options: Option, } +/// appArmorProfile is the AppArmor options to use by this container. If set, this profile +/// overrides the pod's appArmorProfile. +/// Note that this field cannot be set when spec.os.name is windows. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct WorkloadPodSetsTemplateSpecInitContainersSecurityContextAppArmorProfile { + /// localhostProfile indicates a profile loaded on the node that should be used. + /// The profile must be preconfigured on the node to work. + /// Must match the loaded name of the profile. + /// Must be set if and only if type is "Localhost". + #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] + pub localhost_profile: Option, + /// type indicates which kind of AppArmor profile will be applied. + /// Valid options are: + /// Localhost - a profile pre-loaded on the node. + /// RuntimeDefault - the container runtime's default profile. + /// Unconfined - no AppArmor enforcement. + #[serde(rename = "type")] + pub r#type: String, +} + /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. @@ -4615,6 +4788,8 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersVolumeMounts { /// to container and the other way around. /// When not set, MountPropagationNone is used. /// This field is beta in 1.10. + /// When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + /// (which defaults to None). #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPropagation")] pub mount_propagation: Option, /// This must match the Name of a Volume. @@ -4623,6 +4798,28 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersVolumeMounts { /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, + /// RecursiveReadOnly specifies whether read-only mounts should be handled + /// recursively. + /// + /// + /// If ReadOnly is false, this field has no meaning and must be unspecified. + /// + /// + /// If ReadOnly is true, and this field is set to Disabled, the mount is not made + /// recursively read-only. If this field is set to IfPossible, the mount is made + /// recursively read-only, if it is supported by the container runtime. If this + /// field is set to Enabled, the mount is made recursively read-only if it is + /// supported by the container runtime, otherwise the pod will not be started and + /// an error will be generated to indicate the reason. + /// + /// + /// If this field is set to IfPossible or Enabled, MountPropagation must be set to + /// None (or be unspecified, which defaults to None). + /// + /// + /// If this field is not specified, it is treated as an equivalent of Disabled. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "recursiveReadOnly")] + pub recursive_read_only: Option, /// Path within the volume from which the container's volume should be mounted. /// Defaults to "" (volume's root). #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPath")] @@ -4647,6 +4844,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersVolumeMounts { /// - spec.hostPID /// - spec.hostIPC /// - spec.hostUsers +/// - spec.securityContext.appArmorProfile /// - spec.securityContext.seLinuxOptions /// - spec.securityContext.seccompProfile /// - spec.securityContext.fsGroup @@ -4656,6 +4854,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersVolumeMounts { /// - spec.securityContext.runAsUser /// - spec.securityContext.runAsGroup /// - spec.securityContext.supplementalGroups +/// - spec.containers[*].securityContext.appArmorProfile /// - spec.containers[*].securityContext.seLinuxOptions /// - spec.containers[*].securityContext.seccompProfile /// - spec.containers[*].securityContext.capabilities @@ -4732,6 +4931,10 @@ pub struct WorkloadPodSetsTemplateSpecSchedulingGates { /// Optional: Defaults to empty. See type description for default values of each field. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct WorkloadPodSetsTemplateSpecSecurityContext { + /// appArmorProfile is the AppArmor options to use by the containers in this pod. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appArmorProfile")] + pub app_armor_profile: Option, /// A special supplemental group that applies to all containers in a pod. /// Some volume types allow the Kubelet to change the ownership of that volume /// to be owned by the pod: @@ -4813,6 +5016,25 @@ pub struct WorkloadPodSetsTemplateSpecSecurityContext { pub windows_options: Option, } +/// appArmorProfile is the AppArmor options to use by the containers in this pod. +/// Note that this field cannot be set when spec.os.name is windows. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct WorkloadPodSetsTemplateSpecSecurityContextAppArmorProfile { + /// localhostProfile indicates a profile loaded on the node that should be used. + /// The profile must be preconfigured on the node to work. + /// Must match the loaded name of the profile. + /// Must be set if and only if type is "Localhost". + #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] + pub localhost_profile: Option, + /// type indicates which kind of AppArmor profile will be applied. + /// Valid options are: + /// Localhost - a profile pre-loaded on the node. + /// RuntimeDefault - the container runtime's default profile. + /// Unconfined - no AppArmor enforcement. + #[serde(rename = "type")] + pub r#type: String, +} + /// The SELinux context to be applied to all containers. /// If unspecified, the container runtime will allocate a random SELinux context for each /// container. May also be set in SecurityContext. If set in @@ -4983,9 +5205,6 @@ pub struct WorkloadPodSetsTemplateSpecTopologySpreadConstraints { /// In this situation, new pod with the same labelSelector cannot be scheduled, /// because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, /// it will violate MaxSkew. - /// - /// - /// This is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default). #[serde(default, skip_serializing_if = "Option::is_none", rename = "minDomains")] pub min_domains: Option, /// NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector @@ -5325,8 +5544,12 @@ pub struct WorkloadPodSetsTemplateSpecVolumesCephfs { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesCephfsSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5361,8 +5584,12 @@ pub struct WorkloadPodSetsTemplateSpecVolumesCinder { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesCinderSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5389,8 +5616,12 @@ pub struct WorkloadPodSetsTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -5454,8 +5685,12 @@ pub struct WorkloadPodSetsTemplateSpecVolumesCsi { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesCsiNodePublishSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5481,7 +5716,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesDownwardApi { /// DownwardAPIVolumeFile represents information to create the file containing the pod field #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesDownwardApiItems { - /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. + /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, /// Optional: mode bits used to set permissions on this file, must be an octal value @@ -5500,7 +5735,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesDownwardApiItems { pub resource_field_ref: Option, } -/// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. +/// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -5727,7 +5962,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec { /// If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be /// set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource /// exists. - /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + /// More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ /// (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeAttributesClassName")] pub volume_attributes_class_name: Option, @@ -5911,8 +6146,12 @@ pub struct WorkloadPodSetsTemplateSpecVolumesFlexVolume { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesFlexVolumeSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6068,8 +6307,12 @@ pub struct WorkloadPodSetsTemplateSpecVolumesIscsi { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesIscsiSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6277,8 +6520,12 @@ pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -6317,7 +6564,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesDownwardApi { /// DownwardAPIVolumeFile represents information to create the file containing the pod field #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesDownwardApiItems { - /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. + /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, /// Optional: mode bits used to set permissions on this file, must be an octal value @@ -6336,7 +6583,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesDownwardApiItems { pub resource_field_ref: Option, } -/// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. +/// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -6374,8 +6621,12 @@ pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional field specify whether the Secret or its key must be defined @@ -6504,8 +6755,12 @@ pub struct WorkloadPodSetsTemplateSpecVolumesRbd { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesRbdSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6555,8 +6810,12 @@ pub struct WorkloadPodSetsTemplateSpecVolumesScaleIo { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesScaleIoSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6647,8 +6906,12 @@ pub struct WorkloadPodSetsTemplateSpecVolumesStorageos { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesStorageosSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/circuitbreakers.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/circuitbreakers.rs index 719cc08a4..000031bb6 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/circuitbreakers.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/circuitbreakers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/circuitbreakers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/containerpatches.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/containerpatches.rs index 31464318a..3bb0caac1 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/containerpatches.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/containerpatches.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/containerpatches.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/dataplaneinsights.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/dataplaneinsights.rs index 4b3367e68..a3a63bd81 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/dataplaneinsights.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/dataplaneinsights.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/dataplaneinsights.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/dataplanes.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/dataplanes.rs index 3d603fc21..320db0589 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/dataplanes.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/dataplanes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/dataplanes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/externalservices.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/externalservices.rs index b38b02d72..5f9c9053f 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/externalservices.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/externalservices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/externalservices.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/faultinjections.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/faultinjections.rs index 73eac07d3..8dc021048 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/faultinjections.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/faultinjections.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/faultinjections.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/healthchecks.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/healthchecks.rs index 94c3509ea..c2f012f58 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/healthchecks.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/healthchecks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/healthchecks.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshaccesslogs.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshaccesslogs.rs index 22345149f..ce635958b 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshaccesslogs.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshaccesslogs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshaccesslogs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshcircuitbreakers.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshcircuitbreakers.rs index d79fa437c..f5bbaef22 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshcircuitbreakers.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshcircuitbreakers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshcircuitbreakers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshes.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshes.rs index dfb2e95a9..f279c3967 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshes.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshfaultinjections.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshfaultinjections.rs index 0b01df836..2602bb561 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshfaultinjections.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshfaultinjections.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshfaultinjections.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgatewayconfigs.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgatewayconfigs.rs index 66855912c..71fd7f9ef 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgatewayconfigs.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgatewayconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshgatewayconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgatewayinstances.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgatewayinstances.rs index f7c8828a3..3b07e9d9d 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgatewayinstances.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgatewayinstances.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshgatewayinstances.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgatewayroutes.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgatewayroutes.rs index 6aef6e9b0..89b3c6f89 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgatewayroutes.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgatewayroutes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshgatewayroutes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgateways.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgateways.rs index 3a843157a..eb6948625 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgateways.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgateways.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshgateways.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshhealthchecks.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshhealthchecks.rs index 0009047ae..469ca5016 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshhealthchecks.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshhealthchecks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshhealthchecks.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshhttproutes.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshhttproutes.rs index 4204f2317..d240b7e6a 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshhttproutes.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshhttproutes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshhttproutes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshinsights.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshinsights.rs index ea6e7ae1f..23ad08c05 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshinsights.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshinsights.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshinsights.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshloadbalancingstrategies.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshloadbalancingstrategies.rs index 4fcc7ab71..ac666cf3e 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshloadbalancingstrategies.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshloadbalancingstrategies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshloadbalancingstrategies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshproxypatches.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshproxypatches.rs index 6814167e8..a24cdcd53 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshproxypatches.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshproxypatches.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshproxypatches.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshratelimits.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshratelimits.rs index 2c841ffaa..7908af8c0 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshratelimits.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshratelimits.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshratelimits.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshretries.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshretries.rs index 723bfb837..c34637732 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshretries.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshretries.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshretries.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtcproutes.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtcproutes.rs index e6441964f..f33ecc362 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtcproutes.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtcproutes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshtcproutes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtimeouts.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtimeouts.rs index 3695af4f2..c03eaabfe 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtimeouts.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtimeouts.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshtimeouts.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtraces.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtraces.rs index fa0aa92ec..d573e96a9 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtraces.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtraces.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshtraces.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtrafficpermissions.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtrafficpermissions.rs index baae71b31..166bef878 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtrafficpermissions.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtrafficpermissions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshtrafficpermissions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/proxytemplates.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/proxytemplates.rs index cabe30d43..75fbf47ae 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/proxytemplates.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/proxytemplates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/proxytemplates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/ratelimits.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/ratelimits.rs index 322f72da7..29e93ebd7 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/ratelimits.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/ratelimits.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/ratelimits.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/retries.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/retries.rs index 7693ff8c6..aa436f6fe 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/retries.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/retries.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/retries.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/serviceinsights.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/serviceinsights.rs index 4561a37d6..641ed068c 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/serviceinsights.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/serviceinsights.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/serviceinsights.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/timeouts.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/timeouts.rs index 49be80d9a..51e95c84c 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/timeouts.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/timeouts.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/timeouts.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/trafficlogs.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/trafficlogs.rs index efca12588..1d76d6c1b 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/trafficlogs.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/trafficlogs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/trafficlogs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/trafficpermissions.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/trafficpermissions.rs index fd96d4658..645c69f9a 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/trafficpermissions.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/trafficpermissions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/trafficpermissions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/trafficroutes.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/trafficroutes.rs index 2826affc6..b0856bca0 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/trafficroutes.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/trafficroutes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/trafficroutes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/traffictraces.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/traffictraces.rs index 8cf888071..ae36a86f8 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/traffictraces.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/traffictraces.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/traffictraces.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/virtualoutbounds.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/virtualoutbounds.rs index 7f2808d2c..bec87ba77 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/virtualoutbounds.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/virtualoutbounds.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/virtualoutbounds.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneegresses.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneegresses.rs index 957a2cd16..1afad8cc7 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneegresses.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneegresses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/zoneegresses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneegressinsights.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneegressinsights.rs index 69e84b06e..c80acdc98 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneegressinsights.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneegressinsights.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/zoneegressinsights.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneingresses.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneingresses.rs index 80bf12c26..05ea2874e 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneingresses.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneingresses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/zoneingresses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneingressinsights.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneingressinsights.rs index dcb53ecb4..6ba7cc021 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneingressinsights.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneingressinsights.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/zoneingressinsights.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneinsights.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneinsights.rs index 5f51d986c..ec8de3dac 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneinsights.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneinsights.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/zoneinsights.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/zones.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/zones.rs index ec152f724..913f92703 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/zones.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/zones.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/zones.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kustomize_toolkit_fluxcd_io/v1/kustomizations.rs b/kube-custom-resources-rs/src/kustomize_toolkit_fluxcd_io/v1/kustomizations.rs index 020f13471..1f7857e24 100644 --- a/kube-custom-resources-rs/src/kustomize_toolkit_fluxcd_io/v1/kustomizations.rs +++ b/kube-custom-resources-rs/src/kustomize_toolkit_fluxcd_io/v1/kustomizations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/kustomize-controller/kustomize.toolkit.fluxcd.io/v1/kustomizations.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kustomize_toolkit_fluxcd_io/v1beta1/kustomizations.rs b/kube-custom-resources-rs/src/kustomize_toolkit_fluxcd_io/v1beta1/kustomizations.rs index 06c40690f..be0439e55 100644 --- a/kube-custom-resources-rs/src/kustomize_toolkit_fluxcd_io/v1beta1/kustomizations.rs +++ b/kube-custom-resources-rs/src/kustomize_toolkit_fluxcd_io/v1beta1/kustomizations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/kustomize-controller/kustomize.toolkit.fluxcd.io/v1beta1/kustomizations.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kustomize_toolkit_fluxcd_io/v1beta2/kustomizations.rs b/kube-custom-resources-rs/src/kustomize_toolkit_fluxcd_io/v1beta2/kustomizations.rs index cb01be8a0..f27606f1a 100644 --- a/kube-custom-resources-rs/src/kustomize_toolkit_fluxcd_io/v1beta2/kustomizations.rs +++ b/kube-custom-resources-rs/src/kustomize_toolkit_fluxcd_io/v1beta2/kustomizations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/kustomize-controller/kustomize.toolkit.fluxcd.io/v1beta2/kustomizations.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kyverno_io/v1/clusterpolicies.rs b/kube-custom-resources-rs/src/kyverno_io/v1/clusterpolicies.rs index 558e93c8a..7aeb52a75 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v1/clusterpolicies.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v1/clusterpolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v1/clusterpolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kyverno_io/v1/policies.rs b/kube-custom-resources-rs/src/kyverno_io/v1/policies.rs index b558418a6..e07f52b6d 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v1/policies.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v1/policies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v1/policies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kyverno_io/v1alpha2/admissionreports.rs b/kube-custom-resources-rs/src/kyverno_io/v1alpha2/admissionreports.rs index 2f7b3d8f5..ef543640d 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v1alpha2/admissionreports.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v1alpha2/admissionreports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/admissionreports.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kyverno_io/v1alpha2/backgroundscanreports.rs b/kube-custom-resources-rs/src/kyverno_io/v1alpha2/backgroundscanreports.rs index f5df49de1..a8c80c564 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v1alpha2/backgroundscanreports.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v1alpha2/backgroundscanreports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/backgroundscanreports.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kyverno_io/v1alpha2/clusteradmissionreports.rs b/kube-custom-resources-rs/src/kyverno_io/v1alpha2/clusteradmissionreports.rs index ddf16f22a..784ae6b24 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v1alpha2/clusteradmissionreports.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v1alpha2/clusteradmissionreports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/clusteradmissionreports.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kyverno_io/v1alpha2/clusterbackgroundscanreports.rs b/kube-custom-resources-rs/src/kyverno_io/v1alpha2/clusterbackgroundscanreports.rs index cfa5b1c78..8d612df04 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v1alpha2/clusterbackgroundscanreports.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v1alpha2/clusterbackgroundscanreports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/clusterbackgroundscanreports.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kyverno_io/v1beta1/updaterequests.rs b/kube-custom-resources-rs/src/kyverno_io/v1beta1/updaterequests.rs index 4dc27cca4..43b522209 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v1beta1/updaterequests.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v1beta1/updaterequests.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v1beta1/updaterequests.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kyverno_io/v2/admissionreports.rs b/kube-custom-resources-rs/src/kyverno_io/v2/admissionreports.rs index d7c939153..9285d0e64 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2/admissionreports.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2/admissionreports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2/admissionreports.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kyverno_io/v2/backgroundscanreports.rs b/kube-custom-resources-rs/src/kyverno_io/v2/backgroundscanreports.rs index 755cf933e..22b967e55 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2/backgroundscanreports.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2/backgroundscanreports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2/backgroundscanreports.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kyverno_io/v2/cleanuppolicies.rs b/kube-custom-resources-rs/src/kyverno_io/v2/cleanuppolicies.rs index 6f36b16d3..eb05f4ba0 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2/cleanuppolicies.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2/cleanuppolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2/cleanuppolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kyverno_io/v2/clusteradmissionreports.rs b/kube-custom-resources-rs/src/kyverno_io/v2/clusteradmissionreports.rs index 34acde9b1..fa3839ecd 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2/clusteradmissionreports.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2/clusteradmissionreports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2/clusteradmissionreports.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kyverno_io/v2/clusterbackgroundscanreports.rs b/kube-custom-resources-rs/src/kyverno_io/v2/clusterbackgroundscanreports.rs index d4bfe47ce..01dd0fb01 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2/clusterbackgroundscanreports.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2/clusterbackgroundscanreports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2/clusterbackgroundscanreports.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kyverno_io/v2/clustercleanuppolicies.rs b/kube-custom-resources-rs/src/kyverno_io/v2/clustercleanuppolicies.rs index fea7f137d..0fefcf024 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2/clustercleanuppolicies.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2/clustercleanuppolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2/clustercleanuppolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kyverno_io/v2/policyexceptions.rs b/kube-custom-resources-rs/src/kyverno_io/v2/policyexceptions.rs index 81773a896..2a9e7d6ad 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2/policyexceptions.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2/policyexceptions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2/policyexceptions.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kyverno_io/v2/updaterequests.rs b/kube-custom-resources-rs/src/kyverno_io/v2/updaterequests.rs index bbc1f263e..17000b4d0 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2/updaterequests.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2/updaterequests.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2/updaterequests.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kyverno_io/v2alpha1/cleanuppolicies.rs b/kube-custom-resources-rs/src/kyverno_io/v2alpha1/cleanuppolicies.rs index d418a99df..6ff975aed 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2alpha1/cleanuppolicies.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2alpha1/cleanuppolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/cleanuppolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kyverno_io/v2alpha1/clustercleanuppolicies.rs b/kube-custom-resources-rs/src/kyverno_io/v2alpha1/clustercleanuppolicies.rs index 573435570..374dd5f14 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2alpha1/clustercleanuppolicies.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2alpha1/clustercleanuppolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/clustercleanuppolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kyverno_io/v2alpha1/globalcontextentries.rs b/kube-custom-resources-rs/src/kyverno_io/v2alpha1/globalcontextentries.rs index bfa109044..6603b132d 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2alpha1/globalcontextentries.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2alpha1/globalcontextentries.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/globalcontextentries.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kyverno_io/v2alpha1/policyexceptions.rs b/kube-custom-resources-rs/src/kyverno_io/v2alpha1/policyexceptions.rs index 2f0d935c0..890329af5 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2alpha1/policyexceptions.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2alpha1/policyexceptions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/policyexceptions.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kyverno_io/v2beta1/cleanuppolicies.rs b/kube-custom-resources-rs/src/kyverno_io/v2beta1/cleanuppolicies.rs index 86889a2e8..d8b315901 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2beta1/cleanuppolicies.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2beta1/cleanuppolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/cleanuppolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kyverno_io/v2beta1/clustercleanuppolicies.rs b/kube-custom-resources-rs/src/kyverno_io/v2beta1/clustercleanuppolicies.rs index 746a2f684..6dc6ca2b0 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2beta1/clustercleanuppolicies.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2beta1/clustercleanuppolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/clustercleanuppolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kyverno_io/v2beta1/clusterpolicies.rs b/kube-custom-resources-rs/src/kyverno_io/v2beta1/clusterpolicies.rs index be27b3ebe..d5a66849a 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2beta1/clusterpolicies.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2beta1/clusterpolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/clusterpolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kyverno_io/v2beta1/policies.rs b/kube-custom-resources-rs/src/kyverno_io/v2beta1/policies.rs index bf63b03cb..cff6317b6 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2beta1/policies.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2beta1/policies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/policies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/kyverno_io/v2beta1/policyexceptions.rs b/kube-custom-resources-rs/src/kyverno_io/v2beta1/policyexceptions.rs index 86f310905..59f2adeb0 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2beta1/policyexceptions.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2beta1/policyexceptions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/policyexceptions.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/codesigningconfigs.rs b/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/codesigningconfigs.rs index 14e99b693..85a271010 100644 --- a/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/codesigningconfigs.rs +++ b/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/codesigningconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/lambda-controller/lambda.services.k8s.aws/v1alpha1/codesigningconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/eventsourcemappings.rs b/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/eventsourcemappings.rs index cd5295a68..1c44303f3 100644 --- a/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/eventsourcemappings.rs +++ b/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/eventsourcemappings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/lambda-controller/lambda.services.k8s.aws/v1alpha1/eventsourcemappings.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/functions.rs b/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/functions.rs index df9caec45..24cac7db9 100644 --- a/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/functions.rs +++ b/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/functions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/lambda-controller/lambda.services.k8s.aws/v1alpha1/functions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/functionurlconfigs.rs b/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/functionurlconfigs.rs index 7eae3c773..478975b3d 100644 --- a/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/functionurlconfigs.rs +++ b/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/functionurlconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/lambda-controller/lambda.services.k8s.aws/v1alpha1/functionurlconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/layerversions.rs b/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/layerversions.rs index 0fddea81b..cde7fbe6f 100644 --- a/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/layerversions.rs +++ b/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/layerversions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/lambda-controller/lambda.services.k8s.aws/v1alpha1/layerversions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/versions.rs b/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/versions.rs index 4512aa127..02e4e26fd 100644 --- a/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/versions.rs +++ b/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/versions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/lambda-controller/lambda.services.k8s.aws/v1alpha1/versions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/leaksignal_com/v1/cluster_leaksignal_istios.rs b/kube-custom-resources-rs/src/leaksignal_com/v1/cluster_leaksignal_istios.rs index c4bf76661..c4fffaae3 100644 --- a/kube-custom-resources-rs/src/leaksignal_com/v1/cluster_leaksignal_istios.rs +++ b/kube-custom-resources-rs/src/leaksignal_com/v1/cluster_leaksignal_istios.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/leaksignal/leaksignal-operator/leaksignal.com/v1/cluster-leaksignal-istios.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/leaksignal_com/v1/leaksignal_istios.rs b/kube-custom-resources-rs/src/leaksignal_com/v1/leaksignal_istios.rs index c622154d1..d9814e31e 100644 --- a/kube-custom-resources-rs/src/leaksignal_com/v1/leaksignal_istios.rs +++ b/kube-custom-resources-rs/src/leaksignal_com/v1/leaksignal_istios.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/leaksignal/leaksignal-operator/leaksignal.com/v1/leaksignal-istios.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/mod.rs b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/mod.rs index 9850b3a06..8fc3435d0 100644 --- a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/mod.rs +++ b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/mod.rs @@ -1,2 +1,3 @@ pub mod v1beta4; pub mod v1beta5; +pub mod v1beta6; diff --git a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta4/bitwarden_secrets.rs b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta4/bitwarden_secrets.rs index ecd04e216..f0d7e095f 100644 --- a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta4/bitwarden_secrets.rs +++ b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta4/bitwarden_secrets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta4/bitwarden-secrets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta4/bitwarden_templates.rs b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta4/bitwarden_templates.rs index 3b55ba3c8..5a14928e4 100644 --- a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta4/bitwarden_templates.rs +++ b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta4/bitwarden_templates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta4/bitwarden-templates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta4/registry_credentials.rs b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta4/registry_credentials.rs index 7b5a2e2c0..b2bb36c57 100644 --- a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta4/registry_credentials.rs +++ b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta4/registry_credentials.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta4/registry-credentials.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta5/bitwarden_secrets.rs b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta5/bitwarden_secrets.rs index 01b61871a..a5db742c9 100644 --- a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta5/bitwarden_secrets.rs +++ b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta5/bitwarden_secrets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta5/bitwarden-secrets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta5/bitwarden_templates.rs b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta5/bitwarden_templates.rs index b51600749..79391c3f9 100644 --- a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta5/bitwarden_templates.rs +++ b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta5/bitwarden_templates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta5/bitwarden-templates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta5/registry_credentials.rs b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta5/registry_credentials.rs index a3e520f4e..722be8e4b 100644 --- a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta5/registry_credentials.rs +++ b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta5/registry_credentials.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta5/registry-credentials.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/bitwarden_secrets.rs b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/bitwarden_secrets.rs new file mode 100644 index 000000000..b281cc747 --- /dev/null +++ b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/bitwarden_secrets.rs @@ -0,0 +1,46 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta6/bitwarden-secrets.yaml --derive=Default --derive=PartialEq +// kopium version: 0.20.1 + +#[allow(unused_imports)] +mod prelude { + pub use kube::CustomResource; + pub use serde::{Serialize, Deserialize}; + pub use std::collections::BTreeMap; +} +use self::prelude::*; + +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +#[kube(group = "lerentis.uploadfilter24.eu", version = "v1beta6", kind = "BitwardenSecret", plural = "bitwarden-secrets")] +#[kube(namespaced)] +#[kube(schema = "disabled")] +#[kube(derive="Default")] +#[kube(derive="PartialEq")] +pub struct BitwardenSecretSpec { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub annotations: Option>, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub content: Option>, + pub id: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub labels: Option>, + pub name: String, + pub namespace: String, +} + +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct BitwardenSecretContent { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub element: Option, +} + +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct BitwardenSecretContentElement { + #[serde(rename = "secretName")] + pub secret_name: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretRef")] + pub secret_ref: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretScope")] + pub secret_scope: Option, +} + diff --git a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/bitwarden_templates.rs b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/bitwarden_templates.rs new file mode 100644 index 000000000..43aa4aca0 --- /dev/null +++ b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/bitwarden_templates.rs @@ -0,0 +1,29 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta6/bitwarden-templates.yaml --derive=Default --derive=PartialEq +// kopium version: 0.20.1 + +#[allow(unused_imports)] +mod prelude { + pub use kube::CustomResource; + pub use serde::{Serialize, Deserialize}; + pub use std::collections::BTreeMap; +} +use self::prelude::*; + +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +#[kube(group = "lerentis.uploadfilter24.eu", version = "v1beta6", kind = "BitwardenTemplate", plural = "bitwarden-templates")] +#[kube(namespaced)] +#[kube(schema = "disabled")] +#[kube(derive="Default")] +#[kube(derive="PartialEq")] +pub struct BitwardenTemplateSpec { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub annotations: Option>, + pub filename: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub labels: Option>, + pub name: String, + pub namespace: String, + pub template: String, +} + diff --git a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/mod.rs b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/mod.rs new file mode 100644 index 000000000..66cd3fe1e --- /dev/null +++ b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/mod.rs @@ -0,0 +1,3 @@ +pub mod bitwarden_secrets; +pub mod bitwarden_templates; +pub mod registry_credentials; diff --git a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/registry_credentials.rs b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/registry_credentials.rs new file mode 100644 index 000000000..ad8eb09e8 --- /dev/null +++ b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/registry_credentials.rs @@ -0,0 +1,33 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta6/registry-credentials.yaml --derive=Default --derive=PartialEq +// kopium version: 0.20.1 + +#[allow(unused_imports)] +mod prelude { + pub use kube::CustomResource; + pub use serde::{Serialize, Deserialize}; + pub use std::collections::BTreeMap; +} +use self::prelude::*; + +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +#[kube(group = "lerentis.uploadfilter24.eu", version = "v1beta6", kind = "RegistryCredential", plural = "registry-credentials")] +#[kube(namespaced)] +#[kube(schema = "disabled")] +#[kube(derive="Default")] +#[kube(derive="PartialEq")] +pub struct RegistryCredentialSpec { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub annotations: Option>, + pub id: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub labels: Option>, + pub name: String, + pub namespace: String, + #[serde(rename = "passwordRef")] + pub password_ref: String, + pub registry: String, + #[serde(rename = "usernameRef")] + pub username_ref: String, +} + diff --git a/kube-custom-resources-rs/src/lib.rs b/kube-custom-resources-rs/src/lib.rs index 00451d08a..a0fff38eb 100644 --- a/kube-custom-resources-rs/src/lib.rs +++ b/kube-custom-resources-rs/src/lib.rs @@ -1919,6 +1919,11 @@ apiVersion `lerentis.uploadfilter24.eu/v1beta5`: - `BitwardenTemplate` - `RegistryCredential` +apiVersion `lerentis.uploadfilter24.eu/v1beta6`: +- `BitwardenSecret` +- `BitwardenTemplate` +- `RegistryCredential` + ## limitador_kuadrant_io apiVersion `limitador.kuadrant.io/v1alpha1`: diff --git a/kube-custom-resources-rs/src/limitador_kuadrant_io/v1alpha1/limitadors.rs b/kube-custom-resources-rs/src/limitador_kuadrant_io/v1alpha1/limitadors.rs index 9a91df647..2c3dacea7 100644 --- a/kube-custom-resources-rs/src/limitador_kuadrant_io/v1alpha1/limitadors.rs +++ b/kube-custom-resources-rs/src/limitador_kuadrant_io/v1alpha1/limitadors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Kuadrant/limitador-operator/limitador.kuadrant.io/v1alpha1/limitadors.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -616,6 +616,9 @@ pub struct LimitadorStorageRedisCachedConfigSecretRef { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct LimitadorStorageRedisCachedOptions { + /// BatchSize defines the size of entries to flush in as single flush [default: 100] + #[serde(default, skip_serializing_if = "Option::is_none", rename = "batch-size")] + pub batch_size: Option, /// FlushPeriod for counters in milliseconds [default: 1000] #[serde(default, skip_serializing_if = "Option::is_none", rename = "flush-period")] pub flush_period: Option, diff --git a/kube-custom-resources-rs/src/litmuschaos_io/v1alpha1/chaosengines.rs b/kube-custom-resources-rs/src/litmuschaos_io/v1alpha1/chaosengines.rs index 15414384f..df98c2263 100644 --- a/kube-custom-resources-rs/src/litmuschaos_io/v1alpha1/chaosengines.rs +++ b/kube-custom-resources-rs/src/litmuschaos_io/v1alpha1/chaosengines.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/litmuschaos/chaos-operator/litmuschaos.io/v1alpha1/chaosengines.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/litmuschaos_io/v1alpha1/chaosexperiments.rs b/kube-custom-resources-rs/src/litmuschaos_io/v1alpha1/chaosexperiments.rs index 9b8892514..ff4cd667f 100644 --- a/kube-custom-resources-rs/src/litmuschaos_io/v1alpha1/chaosexperiments.rs +++ b/kube-custom-resources-rs/src/litmuschaos_io/v1alpha1/chaosexperiments.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/litmuschaos/chaos-operator/litmuschaos.io/v1alpha1/chaosexperiments.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/litmuschaos_io/v1alpha1/chaosresults.rs b/kube-custom-resources-rs/src/litmuschaos_io/v1alpha1/chaosresults.rs index 977d948b9..22fd6b315 100644 --- a/kube-custom-resources-rs/src/litmuschaos_io/v1alpha1/chaosresults.rs +++ b/kube-custom-resources-rs/src/litmuschaos_io/v1alpha1/chaosresults.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/litmuschaos/chaos-operator/litmuschaos.io/v1alpha1/chaosresults.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/clusterflows.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/clusterflows.rs index 0a33e9b70..c982e61c9 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/clusterflows.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/clusterflows.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/clusterflows.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/clusteroutputs.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/clusteroutputs.rs index 3962afd44..9baa6a4b7 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/clusteroutputs.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/clusteroutputs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/clusteroutputs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -2293,6 +2293,8 @@ pub struct ClusterOutputForward { #[serde(default, skip_serializing_if = "Option::is_none")] pub slow_flush_log_threshold: Option, #[serde(default, skip_serializing_if = "Option::is_none")] + pub time_as_integer: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] pub tls_allow_self_signed_cert: Option, #[serde(default, skip_serializing_if = "Option::is_none")] pub tls_cert_logical_store_name: Option, diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/flows.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/flows.rs index da9cf1cf2..00b2aa261 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/flows.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/flows.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/flows.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/loggings.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/loggings.rs index aab02ca52..8019ef15e 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/loggings.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/loggings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/loggings.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/outputs.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/outputs.rs index f6c61f9d6..02eefb012 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/outputs.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/outputs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/outputs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -2281,6 +2281,8 @@ pub struct OutputForward { #[serde(default, skip_serializing_if = "Option::is_none")] pub slow_flush_log_threshold: Option, #[serde(default, skip_serializing_if = "Option::is_none")] + pub time_as_integer: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] pub tls_allow_self_signed_cert: Option, #[serde(default, skip_serializing_if = "Option::is_none")] pub tls_cert_logical_store_name: Option, diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/clusterflows.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/clusterflows.rs index 2716a75d5..545a5ff81 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/clusterflows.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/clusterflows.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/clusterflows.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/clusteroutputs.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/clusteroutputs.rs index 034684cde..ac805ca98 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/clusteroutputs.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/clusteroutputs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/clusteroutputs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -2293,6 +2293,8 @@ pub struct ClusterOutputForward { #[serde(default, skip_serializing_if = "Option::is_none")] pub slow_flush_log_threshold: Option, #[serde(default, skip_serializing_if = "Option::is_none")] + pub time_as_integer: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] pub tls_allow_self_signed_cert: Option, #[serde(default, skip_serializing_if = "Option::is_none")] pub tls_cert_logical_store_name: Option, diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/flows.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/flows.rs index 14d5d50f3..aa328ec60 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/flows.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/flows.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/flows.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/outputs.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/outputs.rs index db083199a..73fa23eb8 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/outputs.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/outputs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/outputs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -2289,6 +2289,8 @@ pub struct OutputForward { #[serde(default, skip_serializing_if = "Option::is_none")] pub slow_flush_log_threshold: Option, #[serde(default, skip_serializing_if = "Option::is_none")] + pub time_as_integer: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] pub tls_allow_self_signed_cert: Option, #[serde(default, skip_serializing_if = "Option::is_none")] pub tls_cert_logical_store_name: Option, diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngclusterflows.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngclusterflows.rs index effa9cde3..69f98e57c 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngclusterflows.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngclusterflows.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/syslogngclusterflows.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngclusteroutputs.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngclusteroutputs.rs index dcf66f22e..1bb4192ab 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngclusteroutputs.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngclusteroutputs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/syslogngclusteroutputs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngflows.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngflows.rs index 1cb74f003..b94571fd5 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngflows.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngflows.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/syslogngflows.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngoutputs.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngoutputs.rs index 59ed03c13..49fde4d73 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngoutputs.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngoutputs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/syslogngoutputs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/logging_extensions_banzaicloud_io/v1alpha1/hosttailers.rs b/kube-custom-resources-rs/src/logging_extensions_banzaicloud_io/v1alpha1/hosttailers.rs index c3190df74..6768e39da 100644 --- a/kube-custom-resources-rs/src/logging_extensions_banzaicloud_io/v1alpha1/hosttailers.rs +++ b/kube-custom-resources-rs/src/logging_extensions_banzaicloud_io/v1alpha1/hosttailers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging-extensions.banzaicloud.io/v1alpha1/hosttailers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -220,6 +220,8 @@ pub struct HostTailerFileTailersContainerOverridesResourcesClaims { pub struct HostTailerFileTailersContainerOverridesSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appArmorProfile")] + pub app_armor_profile: Option, #[serde(default, skip_serializing_if = "Option::is_none")] pub capabilities: Option, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -242,6 +244,14 @@ pub struct HostTailerFileTailersContainerOverridesSecurityContext { pub windows_options: Option, } +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct HostTailerFileTailersContainerOverridesSecurityContextAppArmorProfile { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] + pub localhost_profile: Option, + #[serde(rename = "type")] + pub r#type: String, +} + #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HostTailerFileTailersContainerOverridesSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] @@ -291,6 +301,8 @@ pub struct HostTailerFileTailersContainerOverridesVolumeMounts { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "recursiveReadOnly")] + pub recursive_read_only: Option, #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPath")] pub sub_path: Option, #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPathExpr")] @@ -517,6 +529,8 @@ pub struct HostTailerSystemdTailersContainerOverridesResourcesClaims { pub struct HostTailerSystemdTailersContainerOverridesSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appArmorProfile")] + pub app_armor_profile: Option, #[serde(default, skip_serializing_if = "Option::is_none")] pub capabilities: Option, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -539,6 +553,14 @@ pub struct HostTailerSystemdTailersContainerOverridesSecurityContext { pub windows_options: Option, } +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct HostTailerSystemdTailersContainerOverridesSecurityContextAppArmorProfile { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] + pub localhost_profile: Option, + #[serde(rename = "type")] + pub r#type: String, +} + #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HostTailerSystemdTailersContainerOverridesSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] @@ -588,6 +610,8 @@ pub struct HostTailerSystemdTailersContainerOverridesVolumeMounts { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "recursiveReadOnly")] + pub recursive_read_only: Option, #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPath")] pub sub_path: Option, #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPathExpr")] @@ -1111,6 +1135,8 @@ pub struct HostTailerWorkloadOverridesContainersResourcesClaims { pub struct HostTailerWorkloadOverridesContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appArmorProfile")] + pub app_armor_profile: Option, #[serde(default, skip_serializing_if = "Option::is_none")] pub capabilities: Option, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1133,6 +1159,14 @@ pub struct HostTailerWorkloadOverridesContainersSecurityContext { pub windows_options: Option, } +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct HostTailerWorkloadOverridesContainersSecurityContextAppArmorProfile { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] + pub localhost_profile: Option, + #[serde(rename = "type")] + pub r#type: String, +} + #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HostTailerWorkloadOverridesContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1182,6 +1216,8 @@ pub struct HostTailerWorkloadOverridesContainersVolumeMounts { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "recursiveReadOnly")] + pub recursive_read_only: Option, #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPath")] pub sub_path: Option, #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPathExpr")] @@ -1361,6 +1397,8 @@ pub struct HostTailerWorkloadOverridesInitContainersResourcesClaims { pub struct HostTailerWorkloadOverridesInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appArmorProfile")] + pub app_armor_profile: Option, #[serde(default, skip_serializing_if = "Option::is_none")] pub capabilities: Option, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1383,6 +1421,14 @@ pub struct HostTailerWorkloadOverridesInitContainersSecurityContext { pub windows_options: Option, } +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct HostTailerWorkloadOverridesInitContainersSecurityContextAppArmorProfile { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] + pub localhost_profile: Option, + #[serde(rename = "type")] + pub r#type: String, +} + #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HostTailerWorkloadOverridesInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1432,6 +1478,8 @@ pub struct HostTailerWorkloadOverridesInitContainersVolumeMounts { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "recursiveReadOnly")] + pub recursive_read_only: Option, #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPath")] pub sub_path: Option, #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPathExpr")] @@ -1440,6 +1488,8 @@ pub struct HostTailerWorkloadOverridesInitContainersVolumeMounts { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HostTailerWorkloadOverridesSecurityContext { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appArmorProfile")] + pub app_armor_profile: Option, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroupChangePolicy")] @@ -1462,6 +1512,14 @@ pub struct HostTailerWorkloadOverridesSecurityContext { pub windows_options: Option, } +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct HostTailerWorkloadOverridesSecurityContextAppArmorProfile { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] + pub localhost_profile: Option, + #[serde(rename = "type")] + pub r#type: String, +} + #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HostTailerWorkloadOverridesSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/loki_grafana_com/v1/alertingrules.rs b/kube-custom-resources-rs/src/loki_grafana_com/v1/alertingrules.rs index 2571b0eb9..39354f0f8 100644 --- a/kube-custom-resources-rs/src/loki_grafana_com/v1/alertingrules.rs +++ b/kube-custom-resources-rs/src/loki_grafana_com/v1/alertingrules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/loki.grafana.com/v1/alertingrules.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/loki_grafana_com/v1/lokistacks.rs b/kube-custom-resources-rs/src/loki_grafana_com/v1/lokistacks.rs index cda16b7cf..9d2e7a8e6 100644 --- a/kube-custom-resources-rs/src/loki_grafana_com/v1/lokistacks.rs +++ b/kube-custom-resources-rs/src/loki_grafana_com/v1/lokistacks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/loki.grafana.com/v1/lokistacks.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/loki_grafana_com/v1/recordingrules.rs b/kube-custom-resources-rs/src/loki_grafana_com/v1/recordingrules.rs index 1bfb8aa80..5efbe5d32 100644 --- a/kube-custom-resources-rs/src/loki_grafana_com/v1/recordingrules.rs +++ b/kube-custom-resources-rs/src/loki_grafana_com/v1/recordingrules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/loki.grafana.com/v1/recordingrules.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/loki_grafana_com/v1/rulerconfigs.rs b/kube-custom-resources-rs/src/loki_grafana_com/v1/rulerconfigs.rs index 4869e79b7..5d0a01b10 100644 --- a/kube-custom-resources-rs/src/loki_grafana_com/v1/rulerconfigs.rs +++ b/kube-custom-resources-rs/src/loki_grafana_com/v1/rulerconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/loki.grafana.com/v1/rulerconfigs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/alertingrules.rs b/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/alertingrules.rs index abab183a4..bdd521c63 100644 --- a/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/alertingrules.rs +++ b/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/alertingrules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/loki.grafana.com/v1beta1/alertingrules.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/lokistacks.rs b/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/lokistacks.rs index c73f70c49..ae41a037a 100644 --- a/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/lokistacks.rs +++ b/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/lokistacks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/loki.grafana.com/v1beta1/lokistacks.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/recordingrules.rs b/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/recordingrules.rs index 327c8b31d..3675b9b67 100644 --- a/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/recordingrules.rs +++ b/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/recordingrules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/loki.grafana.com/v1beta1/recordingrules.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/rulerconfigs.rs b/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/rulerconfigs.rs index cd08d5bf5..db78f97e4 100644 --- a/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/rulerconfigs.rs +++ b/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/rulerconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/loki.grafana.com/v1beta1/rulerconfigs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/backingimagedatasources.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/backingimagedatasources.rs index 41acdc346..9347b0582 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/backingimagedatasources.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/backingimagedatasources.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/backingimagedatasources.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/backingimagemanagers.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/backingimagemanagers.rs index 0cbbe982b..b37732954 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/backingimagemanagers.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/backingimagemanagers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/backingimagemanagers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/backingimages.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/backingimages.rs index ef7c3979c..3f9c9cf7a 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/backingimages.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/backingimages.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/backingimages.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/backups.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/backups.rs index e89d19ad4..ff863c01e 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/backups.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/backups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/backups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/backuptargets.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/backuptargets.rs index 808ada8b3..62a7298c0 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/backuptargets.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/backuptargets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/backuptargets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/backupvolumes.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/backupvolumes.rs index 7479d1035..4101728ea 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/backupvolumes.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/backupvolumes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/backupvolumes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/engineimages.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/engineimages.rs index 600c17276..79f9808cd 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/engineimages.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/engineimages.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/engineimages.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/engines.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/engines.rs index fc22a6da1..99dd74a04 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/engines.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/engines.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/engines.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/instancemanagers.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/instancemanagers.rs index f93bf5beb..2c092a844 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/instancemanagers.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/instancemanagers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/instancemanagers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/nodes.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/nodes.rs index 813ae9763..3145a9f0f 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/nodes.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/nodes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/nodes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/recurringjobs.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/recurringjobs.rs index c3bc2f872..85308dacc 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/recurringjobs.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/recurringjobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/recurringjobs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/replicas.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/replicas.rs index db347062a..b46c85bc2 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/replicas.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/replicas.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/replicas.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/settings.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/settings.rs index 9a8206f0f..4ef679ac8 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/settings.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/settings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/settings.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/sharemanagers.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/sharemanagers.rs index f5e0ab5da..47742d63a 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/sharemanagers.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/sharemanagers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/sharemanagers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/volumes.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/volumes.rs index feb008241..7353be8f2 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/volumes.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/volumes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/volumes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backingimagedatasources.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backingimagedatasources.rs index 9b4233bd5..9596e7f72 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backingimagedatasources.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backingimagedatasources.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/backingimagedatasources.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backingimagemanagers.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backingimagemanagers.rs index e6242ac17..e4d4ece8c 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backingimagemanagers.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backingimagemanagers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/backingimagemanagers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backingimages.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backingimages.rs index e8cde4c02..9ef09ca1b 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backingimages.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backingimages.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/backingimages.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backupbackingimages.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backupbackingimages.rs index 79930ede9..88b9145e7 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backupbackingimages.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backupbackingimages.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/backupbackingimages.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backups.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backups.rs index 204346a92..3bd8d87b8 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backups.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/backups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backuptargets.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backuptargets.rs index ea1087b2a..413eff0f9 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backuptargets.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backuptargets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/backuptargets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backupvolumes.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backupvolumes.rs index ecf494fb8..7851aa95b 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backupvolumes.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backupvolumes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/backupvolumes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/engineimages.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/engineimages.rs index 1c3e3e76a..afbc3006f 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/engineimages.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/engineimages.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/engineimages.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/engines.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/engines.rs index 8e7221b67..529a8285e 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/engines.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/engines.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/engines.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/instancemanagers.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/instancemanagers.rs index fd3595a1d..6ca8068a7 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/instancemanagers.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/instancemanagers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/instancemanagers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/nodes.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/nodes.rs index 69fb19ba3..dc3b597a2 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/nodes.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/nodes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/nodes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/orphans.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/orphans.rs index dcb83ea4e..c8f7d1028 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/orphans.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/orphans.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/orphans.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/recurringjobs.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/recurringjobs.rs index c441db2a0..f0dd33993 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/recurringjobs.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/recurringjobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/recurringjobs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/replicas.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/replicas.rs index 49e5ad717..f38255626 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/replicas.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/replicas.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/replicas.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/settings.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/settings.rs index 34fac5f60..0f7123bf8 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/settings.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/settings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/settings.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/sharemanagers.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/sharemanagers.rs index ca12cd268..5f950d01c 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/sharemanagers.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/sharemanagers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/sharemanagers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/snapshots.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/snapshots.rs index 89f55ccfe..2e11daed5 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/snapshots.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/snapshots.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/snapshots.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/supportbundles.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/supportbundles.rs index 3834486b5..041313aca 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/supportbundles.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/supportbundles.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/supportbundles.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/systembackups.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/systembackups.rs index 6d90d5ce4..c1a655394 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/systembackups.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/systembackups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/systembackups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/systemrestores.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/systemrestores.rs index bcf94be2b..dc265cca4 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/systemrestores.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/systemrestores.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/systemrestores.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/volumeattachments.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/volumeattachments.rs index c4b011384..4a22963b0 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/volumeattachments.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/volumeattachments.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/volumeattachments.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/volumes.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/volumes.rs index c9e035d8f..8c158b530 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/volumes.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/volumes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/volumes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/moodles.rs b/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/moodles.rs index 151e2a6bc..803049be7 100644 --- a/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/moodles.rs +++ b/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/moodles.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/krestomatio/moodle-operator/m4e.krestomat.io/v1alpha1/moodles.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/nginxes.rs b/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/nginxes.rs index f2418cfe4..805a52ae9 100644 --- a/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/nginxes.rs +++ b/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/nginxes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/krestomatio/moodle-operator/m4e.krestomat.io/v1alpha1/nginxes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/phpfpms.rs b/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/phpfpms.rs index 748d1f00f..3e8564000 100644 --- a/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/phpfpms.rs +++ b/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/phpfpms.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/krestomatio/moodle-operator/m4e.krestomat.io/v1alpha1/phpfpms.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/routines.rs b/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/routines.rs index bd8296c3a..bc4120785 100644 --- a/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/routines.rs +++ b/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/routines.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/krestomatio/moodle-operator/m4e.krestomat.io/v1alpha1/routines.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/machine_deletion_remediation_medik8s_io/v1alpha1/machinedeletionremediations.rs b/kube-custom-resources-rs/src/machine_deletion_remediation_medik8s_io/v1alpha1/machinedeletionremediations.rs index 12a58a10b..137b8ce51 100644 --- a/kube-custom-resources-rs/src/machine_deletion_remediation_medik8s_io/v1alpha1/machinedeletionremediations.rs +++ b/kube-custom-resources-rs/src/machine_deletion_remediation_medik8s_io/v1alpha1/machinedeletionremediations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/medik8s/machine-deletion-remediation/machine-deletion-remediation.medik8s.io/v1alpha1/machinedeletionremediations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/machine_deletion_remediation_medik8s_io/v1alpha1/machinedeletionremediationtemplates.rs b/kube-custom-resources-rs/src/machine_deletion_remediation_medik8s_io/v1alpha1/machinedeletionremediationtemplates.rs index eaba9821d..74cd7d89a 100644 --- a/kube-custom-resources-rs/src/machine_deletion_remediation_medik8s_io/v1alpha1/machinedeletionremediationtemplates.rs +++ b/kube-custom-resources-rs/src/machine_deletion_remediation_medik8s_io/v1alpha1/machinedeletionremediationtemplates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/medik8s/machine-deletion-remediation/machine-deletion-remediation.medik8s.io/v1alpha1/machinedeletionremediationtemplates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/maps_k8s_elastic_co/v1alpha1/elasticmapsservers.rs b/kube-custom-resources-rs/src/maps_k8s_elastic_co/v1alpha1/elasticmapsservers.rs index 2e7d09aa8..15d11e84a 100644 --- a/kube-custom-resources-rs/src/maps_k8s_elastic_co/v1alpha1/elasticmapsservers.rs +++ b/kube-custom-resources-rs/src/maps_k8s_elastic_co/v1alpha1/elasticmapsservers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/maps.k8s.elastic.co/v1alpha1/elasticmapsservers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -324,6 +324,7 @@ pub struct ElasticMapsServerHttpServiceSpec { /// not set, the implementation will apply its default routing strategy. If set /// to "PreferClose", implementations should prioritize endpoints that are /// topologically close (e.g., same zone). + /// This is an alpha field and requires enabling ServiceTrafficDistribution feature. #[serde(default, skip_serializing_if = "Option::is_none", rename = "trafficDistribution")] pub traffic_distribution: Option, /// type determines how the Service is exposed. Defaults to ClusterIP. Valid @@ -1686,8 +1687,12 @@ pub struct ElasticMapsServerPodTemplateSpecContainersEnvValueFromConfigMapKeyRef /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1727,8 +1732,12 @@ pub struct ElasticMapsServerPodTemplateSpecContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1754,8 +1763,12 @@ pub struct ElasticMapsServerPodTemplateSpecContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticMapsServerPodTemplateSpecContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -1767,8 +1780,12 @@ pub struct ElasticMapsServerPodTemplateSpecContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticMapsServerPodTemplateSpecContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -2915,8 +2932,12 @@ pub struct ElasticMapsServerPodTemplateSpecEphemeralContainersEnvValueFromConfig /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2956,8 +2977,12 @@ pub struct ElasticMapsServerPodTemplateSpecEphemeralContainersEnvValueFromSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2983,8 +3008,12 @@ pub struct ElasticMapsServerPodTemplateSpecEphemeralContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticMapsServerPodTemplateSpecEphemeralContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -2996,8 +3025,12 @@ pub struct ElasticMapsServerPodTemplateSpecEphemeralContainersEnvFromConfigMapRe #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticMapsServerPodTemplateSpecEphemeralContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -3909,8 +3942,7 @@ pub struct ElasticMapsServerPodTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, /// IP address of the host file entry. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub ip: Option, + pub ip: String, } /// LocalObjectReference contains enough information to let you locate the @@ -3918,8 +3950,12 @@ pub struct ElasticMapsServerPodTemplateSpecHostAliases { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticMapsServerPodTemplateSpecImagePullSecrets { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -4137,8 +4173,12 @@ pub struct ElasticMapsServerPodTemplateSpecInitContainersEnvValueFromConfigMapKe /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4178,8 +4218,12 @@ pub struct ElasticMapsServerPodTemplateSpecInitContainersEnvValueFromSecretKeyRe /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4205,8 +4249,12 @@ pub struct ElasticMapsServerPodTemplateSpecInitContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticMapsServerPodTemplateSpecInitContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -4218,8 +4266,12 @@ pub struct ElasticMapsServerPodTemplateSpecInitContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticMapsServerPodTemplateSpecInitContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -5850,8 +5902,12 @@ pub struct ElasticMapsServerPodTemplateSpecVolumesCephfs { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticMapsServerPodTemplateSpecVolumesCephfsSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5886,8 +5942,12 @@ pub struct ElasticMapsServerPodTemplateSpecVolumesCinder { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticMapsServerPodTemplateSpecVolumesCinderSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5914,8 +5974,12 @@ pub struct ElasticMapsServerPodTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -5979,8 +6043,12 @@ pub struct ElasticMapsServerPodTemplateSpecVolumesCsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticMapsServerPodTemplateSpecVolumesCsiNodePublishSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6436,8 +6504,12 @@ pub struct ElasticMapsServerPodTemplateSpecVolumesFlexVolume { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticMapsServerPodTemplateSpecVolumesFlexVolumeSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6593,8 +6665,12 @@ pub struct ElasticMapsServerPodTemplateSpecVolumesIscsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticMapsServerPodTemplateSpecVolumesIscsiSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6802,8 +6878,12 @@ pub struct ElasticMapsServerPodTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -6899,8 +6979,12 @@ pub struct ElasticMapsServerPodTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional field specify whether the Secret or its key must be defined @@ -7029,8 +7113,12 @@ pub struct ElasticMapsServerPodTemplateSpecVolumesRbd { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticMapsServerPodTemplateSpecVolumesRbdSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -7080,8 +7168,12 @@ pub struct ElasticMapsServerPodTemplateSpecVolumesScaleIo { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticMapsServerPodTemplateSpecVolumesScaleIoSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -7172,8 +7264,12 @@ pub struct ElasticMapsServerPodTemplateSpecVolumesStorageos { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ElasticMapsServerPodTemplateSpecVolumesStorageosSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } diff --git a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/backups.rs b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/backups.rs index 491548e38..b8b796544 100644 --- a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/backups.rs +++ b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/backups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/backups.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/connections.rs b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/connections.rs index 2df861d7a..d36476947 100644 --- a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/connections.rs +++ b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/connections.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/connections.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/databases.rs b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/databases.rs index 92f5eb0aa..bdaf78ae9 100644 --- a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/databases.rs +++ b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/databases.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/databases.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/grants.rs b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/grants.rs index 37e602c04..25fd5d0d7 100644 --- a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/grants.rs +++ b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/grants.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/grants.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/mariadbs.rs b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/mariadbs.rs index 75fb2e207..b5d394b89 100644 --- a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/mariadbs.rs +++ b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/mariadbs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/mariadbs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/restores.rs b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/restores.rs index bc2658e28..5f8ff5e14 100644 --- a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/restores.rs +++ b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/restores.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/restores.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/sqljobs.rs b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/sqljobs.rs index 6ebedd26f..91d3a74b7 100644 --- a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/sqljobs.rs +++ b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/sqljobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/sqljobs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/users.rs b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/users.rs index 49d807201..50ea9d1f7 100644 --- a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/users.rs +++ b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/users.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/users.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/marin3r_3scale_net/v1alpha1/envoyconfigrevisions.rs b/kube-custom-resources-rs/src/marin3r_3scale_net/v1alpha1/envoyconfigrevisions.rs index 93ee9a4cd..e8da7f0cf 100644 --- a/kube-custom-resources-rs/src/marin3r_3scale_net/v1alpha1/envoyconfigrevisions.rs +++ b/kube-custom-resources-rs/src/marin3r_3scale_net/v1alpha1/envoyconfigrevisions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/3scale-ops/marin3r/marin3r.3scale.net/v1alpha1/envoyconfigrevisions.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/marin3r_3scale_net/v1alpha1/envoyconfigs.rs b/kube-custom-resources-rs/src/marin3r_3scale_net/v1alpha1/envoyconfigs.rs index b5ab6ab79..e42648324 100644 --- a/kube-custom-resources-rs/src/marin3r_3scale_net/v1alpha1/envoyconfigs.rs +++ b/kube-custom-resources-rs/src/marin3r_3scale_net/v1alpha1/envoyconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/3scale-ops/marin3r/marin3r.3scale.net/v1alpha1/envoyconfigs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/mattermost_com/v1alpha1/clusterinstallations.rs b/kube-custom-resources-rs/src/mattermost_com/v1alpha1/clusterinstallations.rs index b29538921..508ef1052 100644 --- a/kube-custom-resources-rs/src/mattermost_com/v1alpha1/clusterinstallations.rs +++ b/kube-custom-resources-rs/src/mattermost_com/v1alpha1/clusterinstallations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/mattermost/mattermost-operator/mattermost.com/v1alpha1/clusterinstallations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/mattermost_com/v1alpha1/mattermostrestoredbs.rs b/kube-custom-resources-rs/src/mattermost_com/v1alpha1/mattermostrestoredbs.rs index 8db185648..8fec7af2b 100644 --- a/kube-custom-resources-rs/src/mattermost_com/v1alpha1/mattermostrestoredbs.rs +++ b/kube-custom-resources-rs/src/mattermost_com/v1alpha1/mattermostrestoredbs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/mattermost/mattermost-operator/mattermost.com/v1alpha1/mattermostrestoredbs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/acls.rs b/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/acls.rs index 438d1c406..b4b116189 100644 --- a/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/acls.rs +++ b/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/acls.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/memorydb-controller/memorydb.services.k8s.aws/v1alpha1/acls.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/clusters.rs b/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/clusters.rs index f84608da8..0ad54da5b 100644 --- a/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/clusters.rs +++ b/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/clusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/memorydb-controller/memorydb.services.k8s.aws/v1alpha1/clusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/parametergroups.rs b/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/parametergroups.rs index bfae03935..57a13394f 100644 --- a/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/parametergroups.rs +++ b/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/parametergroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/memorydb-controller/memorydb.services.k8s.aws/v1alpha1/parametergroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/snapshots.rs b/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/snapshots.rs index f2f799f0e..e58600531 100644 --- a/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/snapshots.rs +++ b/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/snapshots.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/memorydb-controller/memorydb.services.k8s.aws/v1alpha1/snapshots.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/subnetgroups.rs b/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/subnetgroups.rs index 8f6b6b569..804f8fca9 100644 --- a/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/subnetgroups.rs +++ b/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/subnetgroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/memorydb-controller/memorydb.services.k8s.aws/v1alpha1/subnetgroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/users.rs b/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/users.rs index ee4745d36..1bd730940 100644 --- a/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/users.rs +++ b/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/users.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/memorydb-controller/memorydb.services.k8s.aws/v1alpha1/users.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/metacontroller_k8s_io/v1alpha1/compositecontrollers.rs b/kube-custom-resources-rs/src/metacontroller_k8s_io/v1alpha1/compositecontrollers.rs index 98097f7bc..63516ffaf 100644 --- a/kube-custom-resources-rs/src/metacontroller_k8s_io/v1alpha1/compositecontrollers.rs +++ b/kube-custom-resources-rs/src/metacontroller_k8s_io/v1alpha1/compositecontrollers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/metacontroller/metacontroller/metacontroller.k8s.io/v1alpha1/compositecontrollers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/metacontroller_k8s_io/v1alpha1/controllerrevisions.rs b/kube-custom-resources-rs/src/metacontroller_k8s_io/v1alpha1/controllerrevisions.rs index 89f676c7a..aace7d99b 100644 --- a/kube-custom-resources-rs/src/metacontroller_k8s_io/v1alpha1/controllerrevisions.rs +++ b/kube-custom-resources-rs/src/metacontroller_k8s_io/v1alpha1/controllerrevisions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/metacontroller/metacontroller/metacontroller.k8s.io/v1alpha1/controllerrevisions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/metacontroller_k8s_io/v1alpha1/decoratorcontrollers.rs b/kube-custom-resources-rs/src/metacontroller_k8s_io/v1alpha1/decoratorcontrollers.rs index 702bba0e9..45fd7a12c 100644 --- a/kube-custom-resources-rs/src/metacontroller_k8s_io/v1alpha1/decoratorcontrollers.rs +++ b/kube-custom-resources-rs/src/metacontroller_k8s_io/v1alpha1/decoratorcontrollers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/metacontroller/metacontroller/metacontroller.k8s.io/v1alpha1/decoratorcontrollers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/metal3_io/v1alpha1/bmceventsubscriptions.rs b/kube-custom-resources-rs/src/metal3_io/v1alpha1/bmceventsubscriptions.rs index a1f51ffbd..5085d8ec9 100644 --- a/kube-custom-resources-rs/src/metal3_io/v1alpha1/bmceventsubscriptions.rs +++ b/kube-custom-resources-rs/src/metal3_io/v1alpha1/bmceventsubscriptions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/bmceventsubscriptions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/metal3_io/v1alpha1/dataimages.rs b/kube-custom-resources-rs/src/metal3_io/v1alpha1/dataimages.rs index 4e87544f1..c79a2973d 100644 --- a/kube-custom-resources-rs/src/metal3_io/v1alpha1/dataimages.rs +++ b/kube-custom-resources-rs/src/metal3_io/v1alpha1/dataimages.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/dataimages.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/metal3_io/v1alpha1/firmwareschemas.rs b/kube-custom-resources-rs/src/metal3_io/v1alpha1/firmwareschemas.rs index 1f634604d..1e295c35f 100644 --- a/kube-custom-resources-rs/src/metal3_io/v1alpha1/firmwareschemas.rs +++ b/kube-custom-resources-rs/src/metal3_io/v1alpha1/firmwareschemas.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/firmwareschemas.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/metal3_io/v1alpha1/hardwaredata.rs b/kube-custom-resources-rs/src/metal3_io/v1alpha1/hardwaredata.rs index 88843cf89..0205ab404 100644 --- a/kube-custom-resources-rs/src/metal3_io/v1alpha1/hardwaredata.rs +++ b/kube-custom-resources-rs/src/metal3_io/v1alpha1/hardwaredata.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/hardwaredata.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/metal3_io/v1alpha1/hostfirmwarecomponents.rs b/kube-custom-resources-rs/src/metal3_io/v1alpha1/hostfirmwarecomponents.rs index b23c7422e..d8fdf36ac 100644 --- a/kube-custom-resources-rs/src/metal3_io/v1alpha1/hostfirmwarecomponents.rs +++ b/kube-custom-resources-rs/src/metal3_io/v1alpha1/hostfirmwarecomponents.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/hostfirmwarecomponents.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/metal3_io/v1alpha1/hostfirmwaresettings.rs b/kube-custom-resources-rs/src/metal3_io/v1alpha1/hostfirmwaresettings.rs index cc9586b3b..a568014db 100644 --- a/kube-custom-resources-rs/src/metal3_io/v1alpha1/hostfirmwaresettings.rs +++ b/kube-custom-resources-rs/src/metal3_io/v1alpha1/hostfirmwaresettings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/hostfirmwaresettings.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/metal3_io/v1alpha1/preprovisioningimages.rs b/kube-custom-resources-rs/src/metal3_io/v1alpha1/preprovisioningimages.rs index 45011c6f8..1f0af0fac 100644 --- a/kube-custom-resources-rs/src/metal3_io/v1alpha1/preprovisioningimages.rs +++ b/kube-custom-resources-rs/src/metal3_io/v1alpha1/preprovisioningimages.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/preprovisioningimages.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/microcks_github_io/v1alpha1/microcksinstalls.rs b/kube-custom-resources-rs/src/microcks_github_io/v1alpha1/microcksinstalls.rs index 39d425d5d..7152d398a 100644 --- a/kube-custom-resources-rs/src/microcks_github_io/v1alpha1/microcksinstalls.rs +++ b/kube-custom-resources-rs/src/microcks_github_io/v1alpha1/microcksinstalls.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/microcks/microcks-ansible-operator/microcks.github.io/v1alpha1/microcksinstalls.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/minio_min_io/v2/tenants.rs b/kube-custom-resources-rs/src/minio_min_io/v2/tenants.rs index 919128c4a..d885107cd 100644 --- a/kube-custom-resources-rs/src/minio_min_io/v2/tenants.rs +++ b/kube-custom-resources-rs/src/minio_min_io/v2/tenants.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/minio/operator/minio.min.io/v2/tenants.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/mirrors_kts_studio/v1alpha1/secretmirrors.rs b/kube-custom-resources-rs/src/mirrors_kts_studio/v1alpha1/secretmirrors.rs index 98c7d2f67..d6fc4948b 100644 --- a/kube-custom-resources-rs/src/mirrors_kts_studio/v1alpha1/secretmirrors.rs +++ b/kube-custom-resources-rs/src/mirrors_kts_studio/v1alpha1/secretmirrors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/ktsstudio/mirrors/mirrors.kts.studio/v1alpha1/secretmirrors.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/mirrors_kts_studio/v1alpha2/secretmirrors.rs b/kube-custom-resources-rs/src/mirrors_kts_studio/v1alpha2/secretmirrors.rs index a54d6d935..359ed6ec3 100644 --- a/kube-custom-resources-rs/src/mirrors_kts_studio/v1alpha2/secretmirrors.rs +++ b/kube-custom-resources-rs/src/mirrors_kts_studio/v1alpha2/secretmirrors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/ktsstudio/mirrors/mirrors.kts.studio/v1alpha2/secretmirrors.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/model_kubedl_io/v1alpha1/models.rs b/kube-custom-resources-rs/src/model_kubedl_io/v1alpha1/models.rs index 0edfd9fd2..11e0e82ef 100644 --- a/kube-custom-resources-rs/src/model_kubedl_io/v1alpha1/models.rs +++ b/kube-custom-resources-rs/src/model_kubedl_io/v1alpha1/models.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/model.kubedl.io/v1alpha1/models.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/model_kubedl_io/v1alpha1/modelversions.rs b/kube-custom-resources-rs/src/model_kubedl_io/v1alpha1/modelversions.rs index 6b14b7ac8..035ad4741 100644 --- a/kube-custom-resources-rs/src/model_kubedl_io/v1alpha1/modelversions.rs +++ b/kube-custom-resources-rs/src/model_kubedl_io/v1alpha1/modelversions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/model.kubedl.io/v1alpha1/modelversions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/alertmanagers.rs b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/alertmanagers.rs index ef11f9f63..adb5448cd 100644 --- a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/alertmanagers.rs +++ b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/alertmanagers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/alertmanagers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -468,23 +468,23 @@ pub struct AlertmanagerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuring pub label_selector: Option, /// MatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. - /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, /// MismatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. - /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] pub mismatch_label_keys: Option>, @@ -589,23 +589,23 @@ pub struct AlertmanagerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringE pub label_selector: Option, /// MatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. - /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, /// MismatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. - /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] pub mismatch_label_keys: Option>, @@ -741,23 +741,23 @@ pub struct AlertmanagerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDu pub label_selector: Option, /// MatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. - /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, /// MismatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. - /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] pub mismatch_label_keys: Option>, @@ -862,23 +862,23 @@ pub struct AlertmanagerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDur pub label_selector: Option, /// MatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. - /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, /// MismatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. - /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] pub mismatch_label_keys: Option>, @@ -1155,8 +1155,12 @@ pub struct AlertmanagerAlertmanagerConfigurationGlobalHttpConfigAuthorizationCre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1185,8 +1189,12 @@ pub struct AlertmanagerAlertmanagerConfigurationGlobalHttpConfigBasicAuthPasswor /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1201,8 +1209,12 @@ pub struct AlertmanagerAlertmanagerConfigurationGlobalHttpConfigBasicAuthUsernam /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1219,8 +1231,12 @@ pub struct AlertmanagerAlertmanagerConfigurationGlobalHttpConfigBearerTokenSecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1269,8 +1285,12 @@ pub struct AlertmanagerAlertmanagerConfigurationGlobalHttpConfigOauth2ClientIdCo /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1284,8 +1304,12 @@ pub struct AlertmanagerAlertmanagerConfigurationGlobalHttpConfigOauth2ClientIdSe /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1300,8 +1324,12 @@ pub struct AlertmanagerAlertmanagerConfigurationGlobalHttpConfigOauth2ClientSecr /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1346,8 +1374,12 @@ pub struct AlertmanagerAlertmanagerConfigurationGlobalHttpConfigTlsConfigCaConfi /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1361,8 +1393,12 @@ pub struct AlertmanagerAlertmanagerConfigurationGlobalHttpConfigTlsConfigCaSecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1387,8 +1423,12 @@ pub struct AlertmanagerAlertmanagerConfigurationGlobalHttpConfigTlsConfigCertCon /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1402,8 +1442,12 @@ pub struct AlertmanagerAlertmanagerConfigurationGlobalHttpConfigTlsConfigCertSec /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1417,8 +1461,12 @@ pub struct AlertmanagerAlertmanagerConfigurationGlobalHttpConfigTlsConfigKeySecr /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1432,8 +1480,12 @@ pub struct AlertmanagerAlertmanagerConfigurationGlobalOpsGenieApiKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1447,8 +1499,12 @@ pub struct AlertmanagerAlertmanagerConfigurationGlobalOpsGenieApiUrl { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1462,8 +1518,12 @@ pub struct AlertmanagerAlertmanagerConfigurationGlobalSlackApiUrl { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1507,8 +1567,12 @@ pub struct AlertmanagerAlertmanagerConfigurationGlobalSmtpAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1522,8 +1586,12 @@ pub struct AlertmanagerAlertmanagerConfigurationGlobalSmtpAuthSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1557,8 +1625,12 @@ pub struct AlertmanagerAlertmanagerConfigurationTemplatesConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1572,8 +1644,12 @@ pub struct AlertmanagerAlertmanagerConfigurationTemplatesSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1794,8 +1870,12 @@ pub struct AlertmanagerContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1835,8 +1915,12 @@ pub struct AlertmanagerContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1862,8 +1946,12 @@ pub struct AlertmanagerContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -1875,8 +1963,12 @@ pub struct AlertmanagerContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -2427,6 +2519,11 @@ pub struct AlertmanagerContainersSecurityContext { /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, + /// appArmorProfile is the AppArmor options to use by this container. If set, this profile + /// overrides the pod's appArmorProfile. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appArmorProfile")] + pub app_armor_profile: Option, /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. @@ -2493,6 +2590,26 @@ pub struct AlertmanagerContainersSecurityContext { pub windows_options: Option, } +/// appArmorProfile is the AppArmor options to use by this container. If set, this profile +/// overrides the pod's appArmorProfile. +/// Note that this field cannot be set when spec.os.name is windows. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct AlertmanagerContainersSecurityContextAppArmorProfile { + /// localhostProfile indicates a profile loaded on the node that should be used. + /// The profile must be preconfigured on the node to work. + /// Must match the loaded name of the profile. + /// Must be set if and only if type is "Localhost". + #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] + pub localhost_profile: Option, + /// type indicates which kind of AppArmor profile will be applied. + /// Valid options are: + /// Localhost - a profile pre-loaded on the node. + /// RuntimeDefault - the container runtime's default profile. + /// Unconfined - no AppArmor enforcement. + #[serde(rename = "type")] + pub r#type: String, +} + /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. @@ -2726,6 +2843,8 @@ pub struct AlertmanagerContainersVolumeMounts { /// to container and the other way around. /// When not set, MountPropagationNone is used. /// This field is beta in 1.10. + /// When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + /// (which defaults to None). #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPropagation")] pub mount_propagation: Option, /// This must match the Name of a Volume. @@ -2734,6 +2853,28 @@ pub struct AlertmanagerContainersVolumeMounts { /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, + /// RecursiveReadOnly specifies whether read-only mounts should be handled + /// recursively. + /// + /// + /// If ReadOnly is false, this field has no meaning and must be unspecified. + /// + /// + /// If ReadOnly is true, and this field is set to Disabled, the mount is not made + /// recursively read-only. If this field is set to IfPossible, the mount is made + /// recursively read-only, if it is supported by the container runtime. If this + /// field is set to Enabled, the mount is made recursively read-only if it is + /// supported by the container runtime, otherwise the pod will not be started and + /// an error will be generated to indicate the reason. + /// + /// + /// If this field is set to IfPossible or Enabled, MountPropagation must be set to + /// None (or be unspecified, which defaults to None). + /// + /// + /// If this field is not specified, it is treated as an equivalent of Disabled. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "recursiveReadOnly")] + pub recursive_read_only: Option, /// Path within the volume from which the container's volume should be mounted. /// Defaults to "" (volume's root). #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPath")] @@ -2772,8 +2913,12 @@ pub enum AlertmanagerImagePullPolicy { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerImagePullSecrets { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -2991,8 +3136,12 @@ pub struct AlertmanagerInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3032,8 +3181,12 @@ pub struct AlertmanagerInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3059,8 +3212,12 @@ pub struct AlertmanagerInitContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerInitContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -3072,8 +3229,12 @@ pub struct AlertmanagerInitContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerInitContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -3624,6 +3785,11 @@ pub struct AlertmanagerInitContainersSecurityContext { /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, + /// appArmorProfile is the AppArmor options to use by this container. If set, this profile + /// overrides the pod's appArmorProfile. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appArmorProfile")] + pub app_armor_profile: Option, /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. @@ -3690,6 +3856,26 @@ pub struct AlertmanagerInitContainersSecurityContext { pub windows_options: Option, } +/// appArmorProfile is the AppArmor options to use by this container. If set, this profile +/// overrides the pod's appArmorProfile. +/// Note that this field cannot be set when spec.os.name is windows. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct AlertmanagerInitContainersSecurityContextAppArmorProfile { + /// localhostProfile indicates a profile loaded on the node that should be used. + /// The profile must be preconfigured on the node to work. + /// Must match the loaded name of the profile. + /// Must be set if and only if type is "Localhost". + #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] + pub localhost_profile: Option, + /// type indicates which kind of AppArmor profile will be applied. + /// Valid options are: + /// Localhost - a profile pre-loaded on the node. + /// RuntimeDefault - the container runtime's default profile. + /// Unconfined - no AppArmor enforcement. + #[serde(rename = "type")] + pub r#type: String, +} + /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. @@ -3923,6 +4109,8 @@ pub struct AlertmanagerInitContainersVolumeMounts { /// to container and the other way around. /// When not set, MountPropagationNone is used. /// This field is beta in 1.10. + /// When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + /// (which defaults to None). #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPropagation")] pub mount_propagation: Option, /// This must match the Name of a Volume. @@ -3931,6 +4119,28 @@ pub struct AlertmanagerInitContainersVolumeMounts { /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, + /// RecursiveReadOnly specifies whether read-only mounts should be handled + /// recursively. + /// + /// + /// If ReadOnly is false, this field has no meaning and must be unspecified. + /// + /// + /// If ReadOnly is true, and this field is set to Disabled, the mount is not made + /// recursively read-only. If this field is set to IfPossible, the mount is made + /// recursively read-only, if it is supported by the container runtime. If this + /// field is set to Enabled, the mount is made recursively read-only if it is + /// supported by the container runtime, otherwise the pod will not be started and + /// an error will be generated to indicate the reason. + /// + /// + /// If this field is set to IfPossible or Enabled, MountPropagation must be set to + /// None (or be unspecified, which defaults to None). + /// + /// + /// If this field is not specified, it is treated as an equivalent of Disabled. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "recursiveReadOnly")] + pub recursive_read_only: Option, /// Path within the volume from which the container's volume should be mounted. /// Defaults to "" (volume's root). #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPath")] @@ -4044,6 +4254,10 @@ pub struct AlertmanagerResourcesClaims { /// This defaults to the default PodSecurityContext. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerSecurityContext { + /// appArmorProfile is the AppArmor options to use by the containers in this pod. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appArmorProfile")] + pub app_armor_profile: Option, /// A special supplemental group that applies to all containers in a pod. /// Some volume types allow the Kubelet to change the ownership of that volume /// to be owned by the pod: @@ -4125,6 +4339,25 @@ pub struct AlertmanagerSecurityContext { pub windows_options: Option, } +/// appArmorProfile is the AppArmor options to use by the containers in this pod. +/// Note that this field cannot be set when spec.os.name is windows. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct AlertmanagerSecurityContextAppArmorProfile { + /// localhostProfile indicates a profile loaded on the node that should be used. + /// The profile must be preconfigured on the node to work. + /// Must match the loaded name of the profile. + /// Must be set if and only if type is "Localhost". + #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] + pub localhost_profile: Option, + /// type indicates which kind of AppArmor profile will be applied. + /// Valid options are: + /// Localhost - a profile pre-loaded on the node. + /// RuntimeDefault - the container runtime's default profile. + /// Unconfined - no AppArmor enforcement. + #[serde(rename = "type")] + pub r#type: String, +} + /// The SELinux context to be applied to all containers. /// If unspecified, the container runtime will allocate a random SELinux context for each /// container. May also be set in SecurityContext. If set in @@ -4399,7 +4632,7 @@ pub struct AlertmanagerStorageEphemeralVolumeClaimTemplateSpec { /// If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be /// set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource /// exists. - /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + /// More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ /// (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeAttributesClassName")] pub volume_attributes_class_name: Option, @@ -4645,7 +4878,7 @@ pub struct AlertmanagerStorageVolumeClaimTemplateSpec { /// If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be /// set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource /// exists. - /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + /// More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ /// (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeAttributesClassName")] pub volume_attributes_class_name: Option, @@ -4847,7 +5080,7 @@ pub struct AlertmanagerStorageVolumeClaimTemplateStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub capacity: Option>, /// conditions is the current Condition of persistent volume claim. If underlying persistent volume is being - /// resized then the Condition will be set to 'ResizeStarted'. + /// resized then the Condition will be set to 'Resizing'. #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, /// currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. @@ -4976,9 +5209,6 @@ pub struct AlertmanagerTopologySpreadConstraints { /// In this situation, new pod with the same labelSelector cannot be scheduled, /// because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, /// it will violate MaxSkew. - /// - /// - /// This is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default). #[serde(default, skip_serializing_if = "Option::is_none", rename = "minDomains")] pub min_domains: Option, /// NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector @@ -5079,6 +5309,8 @@ pub struct AlertmanagerVolumeMounts { /// to container and the other way around. /// When not set, MountPropagationNone is used. /// This field is beta in 1.10. + /// When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + /// (which defaults to None). #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPropagation")] pub mount_propagation: Option, /// This must match the Name of a Volume. @@ -5087,6 +5319,28 @@ pub struct AlertmanagerVolumeMounts { /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, + /// RecursiveReadOnly specifies whether read-only mounts should be handled + /// recursively. + /// + /// + /// If ReadOnly is false, this field has no meaning and must be unspecified. + /// + /// + /// If ReadOnly is true, and this field is set to Disabled, the mount is not made + /// recursively read-only. If this field is set to IfPossible, the mount is made + /// recursively read-only, if it is supported by the container runtime. If this + /// field is set to Enabled, the mount is made recursively read-only if it is + /// supported by the container runtime, otherwise the pod will not be started and + /// an error will be generated to indicate the reason. + /// + /// + /// If this field is set to IfPossible or Enabled, MountPropagation must be set to + /// None (or be unspecified, which defaults to None). + /// + /// + /// If this field is not specified, it is treated as an equivalent of Disabled. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "recursiveReadOnly")] + pub recursive_read_only: Option, /// Path within the volume from which the container's volume should be mounted. /// Defaults to "" (volume's root). #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPath")] @@ -5349,8 +5603,12 @@ pub struct AlertmanagerVolumesCephfs { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerVolumesCephfsSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5385,8 +5643,12 @@ pub struct AlertmanagerVolumesCinder { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerVolumesCinderSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5413,8 +5675,12 @@ pub struct AlertmanagerVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -5478,8 +5744,12 @@ pub struct AlertmanagerVolumesCsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerVolumesCsiNodePublishSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5505,7 +5775,7 @@ pub struct AlertmanagerVolumesDownwardApi { /// DownwardAPIVolumeFile represents information to create the file containing the pod field #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerVolumesDownwardApiItems { - /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. + /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, /// Optional: mode bits used to set permissions on this file, must be an octal value @@ -5524,7 +5794,7 @@ pub struct AlertmanagerVolumesDownwardApiItems { pub resource_field_ref: Option, } -/// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. +/// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -5741,7 +6011,7 @@ pub struct AlertmanagerVolumesEphemeralVolumeClaimTemplateSpec { /// If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be /// set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource /// exists. - /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + /// More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ /// (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeAttributesClassName")] pub volume_attributes_class_name: Option, @@ -5925,8 +6195,12 @@ pub struct AlertmanagerVolumesFlexVolume { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerVolumesFlexVolumeSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6082,8 +6356,12 @@ pub struct AlertmanagerVolumesIscsi { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerVolumesIscsiSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6291,8 +6569,12 @@ pub struct AlertmanagerVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -6331,7 +6613,7 @@ pub struct AlertmanagerVolumesProjectedSourcesDownwardApi { /// DownwardAPIVolumeFile represents information to create the file containing the pod field #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerVolumesProjectedSourcesDownwardApiItems { - /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. + /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, /// Optional: mode bits used to set permissions on this file, must be an octal value @@ -6350,7 +6632,7 @@ pub struct AlertmanagerVolumesProjectedSourcesDownwardApiItems { pub resource_field_ref: Option, } -/// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. +/// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -6388,8 +6670,12 @@ pub struct AlertmanagerVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional field specify whether the Secret or its key must be defined @@ -6518,8 +6804,12 @@ pub struct AlertmanagerVolumesRbd { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerVolumesRbdSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6569,8 +6859,12 @@ pub struct AlertmanagerVolumesScaleIo { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerVolumesScaleIoSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6661,8 +6955,12 @@ pub struct AlertmanagerVolumesStorageos { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerVolumesStorageosSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6824,8 +7122,12 @@ pub struct AlertmanagerWebTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -6839,8 +7141,12 @@ pub struct AlertmanagerWebTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -6865,8 +7171,12 @@ pub struct AlertmanagerWebTlsConfigClientCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -6880,8 +7190,12 @@ pub struct AlertmanagerWebTlsConfigClientCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -6895,8 +7209,12 @@ pub struct AlertmanagerWebTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined diff --git a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/podmonitors.rs b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/podmonitors.rs index 842dbd47e..20d74d14a 100644 --- a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/podmonitors.rs +++ b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/podmonitors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/podmonitors.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -300,8 +300,12 @@ pub struct PodMonitorPodMetricsEndpointsAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -333,8 +337,12 @@ pub struct PodMonitorPodMetricsEndpointsBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -349,8 +357,12 @@ pub struct PodMonitorPodMetricsEndpointsBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -369,8 +381,12 @@ pub struct PodMonitorPodMetricsEndpointsBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -525,8 +541,12 @@ pub struct PodMonitorPodMetricsEndpointsOauth2ClientIdConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -540,8 +560,12 @@ pub struct PodMonitorPodMetricsEndpointsOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -556,8 +580,12 @@ pub struct PodMonitorPodMetricsEndpointsOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -712,8 +740,12 @@ pub struct PodMonitorPodMetricsEndpointsTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -727,8 +759,12 @@ pub struct PodMonitorPodMetricsEndpointsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -753,8 +789,12 @@ pub struct PodMonitorPodMetricsEndpointsTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -768,8 +808,12 @@ pub struct PodMonitorPodMetricsEndpointsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -783,8 +827,12 @@ pub struct PodMonitorPodMetricsEndpointsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined diff --git a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/probes.rs b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/probes.rs index 14286d0f0..941c085ac 100644 --- a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/probes.rs +++ b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/probes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/probes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -125,8 +125,12 @@ pub struct ProbeAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -155,8 +159,12 @@ pub struct ProbeBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -171,8 +179,12 @@ pub struct ProbeBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -188,8 +200,12 @@ pub struct ProbeBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -338,8 +354,12 @@ pub struct ProbeOauth2ClientIdConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -353,8 +373,12 @@ pub struct ProbeOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -369,8 +393,12 @@ pub struct ProbeOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -744,8 +772,12 @@ pub struct ProbeTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -759,8 +791,12 @@ pub struct ProbeTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -785,8 +821,12 @@ pub struct ProbeTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -800,8 +840,12 @@ pub struct ProbeTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -815,8 +859,12 @@ pub struct ProbeTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined diff --git a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/prometheuses.rs b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/prometheuses.rs index 3ef8602e0..c008fcc18 100644 --- a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/prometheuses.rs +++ b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/prometheuses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/prometheuses.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -452,7 +452,7 @@ pub struct PrometheusSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podMetadata")] pub pod_metadata: Option, /// Namespaces to match for PodMonitors discovery. An empty label selector - /// matches all namespaces. A null label selector matches the current + /// matches all namespaces. A null label selector (default value) matches the current /// namespace only. #[serde(default, skip_serializing_if = "Option::is_none", rename = "podMonitorNamespaceSelector")] pub pod_monitor_namespace_selector: Option, @@ -662,7 +662,7 @@ pub struct PrometheusSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceAccountName")] pub service_account_name: Option, /// Namespaces to match for ServicedMonitors discovery. An empty label selector - /// matches all namespaces. A null label selector matches the current + /// matches all namespaces. A null label selector (default value) matches the current /// namespace only. #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceMonitorNamespaceSelector")] pub service_monitor_namespace_selector: Option, @@ -788,8 +788,12 @@ pub struct PrometheusAdditionalAlertManagerConfigs { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -819,8 +823,12 @@ pub struct PrometheusAdditionalAlertRelabelConfigs { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -854,8 +862,12 @@ pub struct PrometheusAdditionalScrapeConfigs { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1063,23 +1075,23 @@ pub struct PrometheusAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx pub label_selector: Option, /// MatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. - /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, /// MismatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. - /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] pub mismatch_label_keys: Option>, @@ -1184,23 +1196,23 @@ pub struct PrometheusAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExe pub label_selector: Option, /// MatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. - /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, /// MismatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. - /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] pub mismatch_label_keys: Option>, @@ -1336,23 +1348,23 @@ pub struct PrometheusAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri pub label_selector: Option, /// MatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. - /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, /// MismatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. - /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] pub mismatch_label_keys: Option>, @@ -1457,23 +1469,23 @@ pub struct PrometheusAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDurin pub label_selector: Option, /// MatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. - /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, /// MismatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. - /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] pub mismatch_label_keys: Option>, @@ -1765,8 +1777,12 @@ pub struct PrometheusAlertingAlertmanagersAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1797,8 +1813,12 @@ pub struct PrometheusAlertingAlertmanagersBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1813,8 +1833,12 @@ pub struct PrometheusAlertingAlertmanagersBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1957,8 +1981,12 @@ pub struct PrometheusAlertingAlertmanagersSigv4AccessKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1973,8 +2001,12 @@ pub struct PrometheusAlertingAlertmanagersSigv4SecretKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2028,8 +2060,12 @@ pub struct PrometheusAlertingAlertmanagersTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2043,8 +2079,12 @@ pub struct PrometheusAlertingAlertmanagersTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2069,8 +2109,12 @@ pub struct PrometheusAlertingAlertmanagersTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2084,8 +2128,12 @@ pub struct PrometheusAlertingAlertmanagersTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2099,8 +2147,12 @@ pub struct PrometheusAlertingAlertmanagersTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2183,8 +2235,12 @@ pub struct PrometheusApiserverConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2216,8 +2272,12 @@ pub struct PrometheusApiserverConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2232,8 +2292,12 @@ pub struct PrometheusApiserverConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2287,8 +2351,12 @@ pub struct PrometheusApiserverConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2302,8 +2370,12 @@ pub struct PrometheusApiserverConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2328,8 +2400,12 @@ pub struct PrometheusApiserverConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2343,8 +2419,12 @@ pub struct PrometheusApiserverConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2358,8 +2438,12 @@ pub struct PrometheusApiserverConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2596,8 +2680,12 @@ pub struct PrometheusContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2637,8 +2725,12 @@ pub struct PrometheusContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2664,8 +2756,12 @@ pub struct PrometheusContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -2677,8 +2773,12 @@ pub struct PrometheusContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -3229,6 +3329,11 @@ pub struct PrometheusContainersSecurityContext { /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, + /// appArmorProfile is the AppArmor options to use by this container. If set, this profile + /// overrides the pod's appArmorProfile. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appArmorProfile")] + pub app_armor_profile: Option, /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. @@ -3295,6 +3400,26 @@ pub struct PrometheusContainersSecurityContext { pub windows_options: Option, } +/// appArmorProfile is the AppArmor options to use by this container. If set, this profile +/// overrides the pod's appArmorProfile. +/// Note that this field cannot be set when spec.os.name is windows. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct PrometheusContainersSecurityContextAppArmorProfile { + /// localhostProfile indicates a profile loaded on the node that should be used. + /// The profile must be preconfigured on the node to work. + /// Must match the loaded name of the profile. + /// Must be set if and only if type is "Localhost". + #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] + pub localhost_profile: Option, + /// type indicates which kind of AppArmor profile will be applied. + /// Valid options are: + /// Localhost - a profile pre-loaded on the node. + /// RuntimeDefault - the container runtime's default profile. + /// Unconfined - no AppArmor enforcement. + #[serde(rename = "type")] + pub r#type: String, +} + /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. @@ -3528,6 +3653,8 @@ pub struct PrometheusContainersVolumeMounts { /// to container and the other way around. /// When not set, MountPropagationNone is used. /// This field is beta in 1.10. + /// When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + /// (which defaults to None). #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPropagation")] pub mount_propagation: Option, /// This must match the Name of a Volume. @@ -3536,6 +3663,28 @@ pub struct PrometheusContainersVolumeMounts { /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, + /// RecursiveReadOnly specifies whether read-only mounts should be handled + /// recursively. + /// + /// + /// If ReadOnly is false, this field has no meaning and must be unspecified. + /// + /// + /// If ReadOnly is true, and this field is set to Disabled, the mount is not made + /// recursively read-only. If this field is set to IfPossible, the mount is made + /// recursively read-only, if it is supported by the container runtime. If this + /// field is set to Enabled, the mount is made recursively read-only if it is + /// supported by the container runtime, otherwise the pod will not be started and + /// an error will be generated to indicate the reason. + /// + /// + /// If this field is set to IfPossible or Enabled, MountPropagation must be set to + /// None (or be unspecified, which defaults to None). + /// + /// + /// If this field is not specified, it is treated as an equivalent of Disabled. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "recursiveReadOnly")] + pub recursive_read_only: Option, /// Path within the volume from which the container's volume should be mounted. /// Defaults to "" (volume's root). #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPath")] @@ -3629,8 +3778,12 @@ pub enum PrometheusImagePullPolicy { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusImagePullSecrets { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -3848,8 +4001,12 @@ pub struct PrometheusInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3889,8 +4046,12 @@ pub struct PrometheusInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3916,8 +4077,12 @@ pub struct PrometheusInitContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusInitContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -3929,8 +4094,12 @@ pub struct PrometheusInitContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusInitContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -4481,6 +4650,11 @@ pub struct PrometheusInitContainersSecurityContext { /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, + /// appArmorProfile is the AppArmor options to use by this container. If set, this profile + /// overrides the pod's appArmorProfile. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appArmorProfile")] + pub app_armor_profile: Option, /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. @@ -4547,6 +4721,26 @@ pub struct PrometheusInitContainersSecurityContext { pub windows_options: Option, } +/// appArmorProfile is the AppArmor options to use by this container. If set, this profile +/// overrides the pod's appArmorProfile. +/// Note that this field cannot be set when spec.os.name is windows. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct PrometheusInitContainersSecurityContextAppArmorProfile { + /// localhostProfile indicates a profile loaded on the node that should be used. + /// The profile must be preconfigured on the node to work. + /// Must match the loaded name of the profile. + /// Must be set if and only if type is "Localhost". + #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] + pub localhost_profile: Option, + /// type indicates which kind of AppArmor profile will be applied. + /// Valid options are: + /// Localhost - a profile pre-loaded on the node. + /// RuntimeDefault - the container runtime's default profile. + /// Unconfined - no AppArmor enforcement. + #[serde(rename = "type")] + pub r#type: String, +} + /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. @@ -4780,6 +4974,8 @@ pub struct PrometheusInitContainersVolumeMounts { /// to container and the other way around. /// When not set, MountPropagationNone is used. /// This field is beta in 1.10. + /// When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + /// (which defaults to None). #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPropagation")] pub mount_propagation: Option, /// This must match the Name of a Volume. @@ -4788,6 +4984,28 @@ pub struct PrometheusInitContainersVolumeMounts { /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, + /// RecursiveReadOnly specifies whether read-only mounts should be handled + /// recursively. + /// + /// + /// If ReadOnly is false, this field has no meaning and must be unspecified. + /// + /// + /// If ReadOnly is true, and this field is set to Disabled, the mount is not made + /// recursively read-only. If this field is set to IfPossible, the mount is made + /// recursively read-only, if it is supported by the container runtime. If this + /// field is set to Enabled, the mount is made recursively read-only if it is + /// supported by the container runtime, otherwise the pod will not be started and + /// an error will be generated to indicate the reason. + /// + /// + /// If this field is set to IfPossible or Enabled, MountPropagation must be set to + /// None (or be unspecified, which defaults to None). + /// + /// + /// If this field is not specified, it is treated as an equivalent of Disabled. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "recursiveReadOnly")] + pub recursive_read_only: Option, /// Path within the volume from which the container's volume should be mounted. /// Defaults to "" (volume's root). #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPath")] @@ -4886,7 +5104,7 @@ pub struct PrometheusPodMetadata { } /// Namespaces to match for PodMonitors discovery. An empty label selector -/// matches all namespaces. A null label selector matches the current +/// matches all namespaces. A null label selector (default value) matches the current /// namespace only. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusPodMonitorNamespaceSelector { @@ -5191,8 +5409,12 @@ pub struct PrometheusRemoteReadAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5223,8 +5445,12 @@ pub struct PrometheusRemoteReadBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5239,8 +5465,12 @@ pub struct PrometheusRemoteReadBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5295,8 +5525,12 @@ pub struct PrometheusRemoteReadOauth2ClientIdConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -5310,8 +5544,12 @@ pub struct PrometheusRemoteReadOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5326,8 +5564,12 @@ pub struct PrometheusRemoteReadOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5381,8 +5623,12 @@ pub struct PrometheusRemoteReadTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -5396,8 +5642,12 @@ pub struct PrometheusRemoteReadTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5422,8 +5672,12 @@ pub struct PrometheusRemoteReadTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -5437,8 +5691,12 @@ pub struct PrometheusRemoteReadTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5452,8 +5710,12 @@ pub struct PrometheusRemoteReadTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5606,8 +5868,12 @@ pub struct PrometheusRemoteWriteAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5695,8 +5961,12 @@ pub struct PrometheusRemoteWriteAzureAdOauthClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5740,8 +6010,12 @@ pub struct PrometheusRemoteWriteBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5756,8 +6030,12 @@ pub struct PrometheusRemoteWriteBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5823,8 +6101,12 @@ pub struct PrometheusRemoteWriteOauth2ClientIdConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -5838,8 +6120,12 @@ pub struct PrometheusRemoteWriteOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5854,8 +6140,12 @@ pub struct PrometheusRemoteWriteOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5939,8 +6229,12 @@ pub struct PrometheusRemoteWriteSigv4AccessKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5955,8 +6249,12 @@ pub struct PrometheusRemoteWriteSigv4SecretKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -6010,8 +6308,12 @@ pub struct PrometheusRemoteWriteTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -6025,8 +6327,12 @@ pub struct PrometheusRemoteWriteTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -6051,8 +6357,12 @@ pub struct PrometheusRemoteWriteTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -6066,8 +6376,12 @@ pub struct PrometheusRemoteWriteTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -6081,8 +6395,12 @@ pub struct PrometheusRemoteWriteTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -6332,6 +6650,17 @@ pub struct PrometheusScrapeClasses { /// Only one scrape class can be set as the default. #[serde(default, skip_serializing_if = "Option::is_none")] pub default: Option, + /// MetricRelabelings configures the relabeling rules to apply to all samples before ingestion. + /// + /// + /// The Operator adds the scrape class metric relabelings defined here. + /// Then the Operator adds the target-specific metric relabelings defined in ServiceMonitors, PodMonitors, Probes and ScrapeConfigs. + /// Then the Operator adds namespace enforcement relabeling rule, specified in '.spec.enforcedNamespaceLabel'. + /// + /// + /// More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs + #[serde(default, skip_serializing_if = "Option::is_none", rename = "metricRelabelings")] + pub metric_relabelings: Option>, /// Name of the scrape class. pub name: String, /// Relabelings configures the relabeling rules to apply to all scrape targets. @@ -6356,6 +6685,106 @@ pub struct PrometheusScrapeClasses { pub tls_config: Option, } +/// RelabelConfig allows dynamic rewriting of the label set for targets, alerts, +/// scraped samples and remote write samples. +/// +/// +/// More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct PrometheusScrapeClassesMetricRelabelings { + /// Action to perform based on the regex matching. + /// + /// + /// `Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0. + /// `DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0. + /// + /// + /// Default: "Replace" + #[serde(default, skip_serializing_if = "Option::is_none")] + pub action: Option, + /// Modulus to take of the hash of the source label values. + /// + /// + /// Only applicable when the action is `HashMod`. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub modulus: Option, + /// Regular expression against which the extracted value is matched. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub regex: Option, + /// Replacement value against which a Replace action is performed if the + /// regular expression matches. + /// + /// + /// Regex capture groups are available. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub replacement: Option, + /// Separator is the string between concatenated SourceLabels. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub separator: Option, + /// The source labels select values from existing labels. Their content is + /// concatenated using the configured Separator and matched against the + /// configured regular expression. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "sourceLabels")] + pub source_labels: Option>, + /// Label to which the resulting string is written in a replacement. + /// + /// + /// It is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`, + /// `KeepEqual` and `DropEqual` actions. + /// + /// + /// Regex capture groups are available. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "targetLabel")] + pub target_label: Option, +} + +/// RelabelConfig allows dynamic rewriting of the label set for targets, alerts, +/// scraped samples and remote write samples. +/// +/// +/// More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum PrometheusScrapeClassesMetricRelabelingsAction { + #[serde(rename = "replace")] + Replace, + #[serde(rename = "Replace")] + ReplaceX, + #[serde(rename = "keep")] + Keep, + #[serde(rename = "Keep")] + KeepX, + #[serde(rename = "drop")] + Drop, + #[serde(rename = "Drop")] + DropX, + #[serde(rename = "hashmod")] + Hashmod, + HashMod, + #[serde(rename = "labelmap")] + Labelmap, + LabelMap, + #[serde(rename = "labeldrop")] + Labeldrop, + LabelDrop, + #[serde(rename = "labelkeep")] + Labelkeep, + LabelKeep, + #[serde(rename = "lowercase")] + Lowercase, + #[serde(rename = "Lowercase")] + LowercaseX, + #[serde(rename = "uppercase")] + Uppercase, + #[serde(rename = "Uppercase")] + UppercaseX, + #[serde(rename = "keepequal")] + Keepequal, + KeepEqual, + #[serde(rename = "dropequal")] + Dropequal, + DropEqual, +} + /// RelabelConfig allows dynamic rewriting of the label set for targets, alerts, /// scraped samples and remote write samples. /// @@ -6507,8 +6936,12 @@ pub struct PrometheusScrapeClassesTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -6522,8 +6955,12 @@ pub struct PrometheusScrapeClassesTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -6548,8 +6985,12 @@ pub struct PrometheusScrapeClassesTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -6563,8 +7004,12 @@ pub struct PrometheusScrapeClassesTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -6578,8 +7023,12 @@ pub struct PrometheusScrapeClassesTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -6670,6 +7119,10 @@ pub struct PrometheusScrapeConfigSelectorMatchExpressions { /// This defaults to the default PodSecurityContext. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusSecurityContext { + /// appArmorProfile is the AppArmor options to use by the containers in this pod. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appArmorProfile")] + pub app_armor_profile: Option, /// A special supplemental group that applies to all containers in a pod. /// Some volume types allow the Kubelet to change the ownership of that volume /// to be owned by the pod: @@ -6751,6 +7204,25 @@ pub struct PrometheusSecurityContext { pub windows_options: Option, } +/// appArmorProfile is the AppArmor options to use by the containers in this pod. +/// Note that this field cannot be set when spec.os.name is windows. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct PrometheusSecurityContextAppArmorProfile { + /// localhostProfile indicates a profile loaded on the node that should be used. + /// The profile must be preconfigured on the node to work. + /// Must match the loaded name of the profile. + /// Must be set if and only if type is "Localhost". + #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] + pub localhost_profile: Option, + /// type indicates which kind of AppArmor profile will be applied. + /// Valid options are: + /// Localhost - a profile pre-loaded on the node. + /// RuntimeDefault - the container runtime's default profile. + /// Unconfined - no AppArmor enforcement. + #[serde(rename = "type")] + pub r#type: String, +} + /// The SELinux context to be applied to all containers. /// If unspecified, the container runtime will allocate a random SELinux context for each /// container. May also be set in SecurityContext. If set in @@ -6832,7 +7304,7 @@ pub struct PrometheusSecurityContextWindowsOptions { } /// Namespaces to match for ServicedMonitors discovery. An empty label selector -/// matches all namespaces. A null label selector matches the current +/// matches all namespaces. A null label selector (default value) matches the current /// namespace only. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusServiceMonitorNamespaceSelector { @@ -7097,7 +7569,7 @@ pub struct PrometheusStorageEphemeralVolumeClaimTemplateSpec { /// If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be /// set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource /// exists. - /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + /// More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ /// (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeAttributesClassName")] pub volume_attributes_class_name: Option, @@ -7343,7 +7815,7 @@ pub struct PrometheusStorageVolumeClaimTemplateSpec { /// If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be /// set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource /// exists. - /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + /// More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ /// (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeAttributesClassName")] pub volume_attributes_class_name: Option, @@ -7545,7 +8017,7 @@ pub struct PrometheusStorageVolumeClaimTemplateStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub capacity: Option>, /// conditions is the current Condition of persistent volume claim. If underlying persistent volume is being - /// resized then the Condition will be set to 'ResizeStarted'. + /// resized then the Condition will be set to 'Resizing'. #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, /// currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. @@ -7796,8 +8268,12 @@ pub struct PrometheusThanosGrpcServerTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -7811,8 +8287,12 @@ pub struct PrometheusThanosGrpcServerTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -7837,8 +8317,12 @@ pub struct PrometheusThanosGrpcServerTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -7852,8 +8336,12 @@ pub struct PrometheusThanosGrpcServerTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -7867,8 +8355,12 @@ pub struct PrometheusThanosGrpcServerTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -7914,8 +8406,12 @@ pub struct PrometheusThanosObjectStorageConfig { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -7974,8 +8470,12 @@ pub struct PrometheusThanosTracingConfig { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -7994,6 +8494,8 @@ pub struct PrometheusThanosVolumeMounts { /// to container and the other way around. /// When not set, MountPropagationNone is used. /// This field is beta in 1.10. + /// When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + /// (which defaults to None). #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPropagation")] pub mount_propagation: Option, /// This must match the Name of a Volume. @@ -8002,6 +8504,28 @@ pub struct PrometheusThanosVolumeMounts { /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, + /// RecursiveReadOnly specifies whether read-only mounts should be handled + /// recursively. + /// + /// + /// If ReadOnly is false, this field has no meaning and must be unspecified. + /// + /// + /// If ReadOnly is true, and this field is set to Disabled, the mount is not made + /// recursively read-only. If this field is set to IfPossible, the mount is made + /// recursively read-only, if it is supported by the container runtime. If this + /// field is set to Enabled, the mount is made recursively read-only if it is + /// supported by the container runtime, otherwise the pod will not be started and + /// an error will be generated to indicate the reason. + /// + /// + /// If this field is set to IfPossible or Enabled, MountPropagation must be set to + /// None (or be unspecified, which defaults to None). + /// + /// + /// If this field is not specified, it is treated as an equivalent of Disabled. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "recursiveReadOnly")] + pub recursive_read_only: Option, /// Path within the volume from which the container's volume should be mounted. /// Defaults to "" (volume's root). #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPath")] @@ -8106,9 +8630,6 @@ pub struct PrometheusTopologySpreadConstraints { /// In this situation, new pod with the same labelSelector cannot be scheduled, /// because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, /// it will violate MaxSkew. - /// - /// - /// This is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default). #[serde(default, skip_serializing_if = "Option::is_none", rename = "minDomains")] pub min_domains: Option, /// NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector @@ -8306,8 +8827,12 @@ pub struct PrometheusTracingConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -8321,8 +8846,12 @@ pub struct PrometheusTracingConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -8347,8 +8876,12 @@ pub struct PrometheusTracingConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -8362,8 +8895,12 @@ pub struct PrometheusTracingConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -8377,8 +8914,12 @@ pub struct PrometheusTracingConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -8418,6 +8959,8 @@ pub struct PrometheusVolumeMounts { /// to container and the other way around. /// When not set, MountPropagationNone is used. /// This field is beta in 1.10. + /// When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + /// (which defaults to None). #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPropagation")] pub mount_propagation: Option, /// This must match the Name of a Volume. @@ -8426,6 +8969,28 @@ pub struct PrometheusVolumeMounts { /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, + /// RecursiveReadOnly specifies whether read-only mounts should be handled + /// recursively. + /// + /// + /// If ReadOnly is false, this field has no meaning and must be unspecified. + /// + /// + /// If ReadOnly is true, and this field is set to Disabled, the mount is not made + /// recursively read-only. If this field is set to IfPossible, the mount is made + /// recursively read-only, if it is supported by the container runtime. If this + /// field is set to Enabled, the mount is made recursively read-only if it is + /// supported by the container runtime, otherwise the pod will not be started and + /// an error will be generated to indicate the reason. + /// + /// + /// If this field is set to IfPossible or Enabled, MountPropagation must be set to + /// None (or be unspecified, which defaults to None). + /// + /// + /// If this field is not specified, it is treated as an equivalent of Disabled. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "recursiveReadOnly")] + pub recursive_read_only: Option, /// Path within the volume from which the container's volume should be mounted. /// Defaults to "" (volume's root). #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPath")] @@ -8688,8 +9253,12 @@ pub struct PrometheusVolumesCephfs { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusVolumesCephfsSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -8724,8 +9293,12 @@ pub struct PrometheusVolumesCinder { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusVolumesCinderSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -8752,8 +9325,12 @@ pub struct PrometheusVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -8817,8 +9394,12 @@ pub struct PrometheusVolumesCsi { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusVolumesCsiNodePublishSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -8844,7 +9425,7 @@ pub struct PrometheusVolumesDownwardApi { /// DownwardAPIVolumeFile represents information to create the file containing the pod field #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusVolumesDownwardApiItems { - /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. + /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, /// Optional: mode bits used to set permissions on this file, must be an octal value @@ -8863,7 +9444,7 @@ pub struct PrometheusVolumesDownwardApiItems { pub resource_field_ref: Option, } -/// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. +/// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -9080,7 +9661,7 @@ pub struct PrometheusVolumesEphemeralVolumeClaimTemplateSpec { /// If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be /// set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource /// exists. - /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + /// More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ /// (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeAttributesClassName")] pub volume_attributes_class_name: Option, @@ -9264,8 +9845,12 @@ pub struct PrometheusVolumesFlexVolume { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusVolumesFlexVolumeSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -9421,8 +10006,12 @@ pub struct PrometheusVolumesIscsi { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusVolumesIscsiSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -9630,8 +10219,12 @@ pub struct PrometheusVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -9670,7 +10263,7 @@ pub struct PrometheusVolumesProjectedSourcesDownwardApi { /// DownwardAPIVolumeFile represents information to create the file containing the pod field #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusVolumesProjectedSourcesDownwardApiItems { - /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. + /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, /// Optional: mode bits used to set permissions on this file, must be an octal value @@ -9689,7 +10282,7 @@ pub struct PrometheusVolumesProjectedSourcesDownwardApiItems { pub resource_field_ref: Option, } -/// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. +/// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -9727,8 +10320,12 @@ pub struct PrometheusVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional field specify whether the Secret or its key must be defined @@ -9857,8 +10454,12 @@ pub struct PrometheusVolumesRbd { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusVolumesRbdSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -9908,8 +10509,12 @@ pub struct PrometheusVolumesScaleIo { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusVolumesScaleIoSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -10000,8 +10605,12 @@ pub struct PrometheusVolumesStorageos { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusVolumesStorageosSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -10162,8 +10771,12 @@ pub struct PrometheusWebTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -10177,8 +10790,12 @@ pub struct PrometheusWebTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -10203,8 +10820,12 @@ pub struct PrometheusWebTlsConfigClientCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -10218,8 +10839,12 @@ pub struct PrometheusWebTlsConfigClientCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -10233,8 +10858,12 @@ pub struct PrometheusWebTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined diff --git a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/prometheusrules.rs b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/prometheusrules.rs index 054b3e66c..039abe615 100644 --- a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/prometheusrules.rs +++ b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/prometheusrules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/prometheusrules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/servicemonitors.rs b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/servicemonitors.rs index 22da6fca6..5168a506d 100644 --- a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/servicemonitors.rs +++ b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/servicemonitors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/servicemonitors.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -295,8 +295,12 @@ pub struct ServiceMonitorEndpointsAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -328,8 +332,12 @@ pub struct ServiceMonitorEndpointsBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -344,8 +352,12 @@ pub struct ServiceMonitorEndpointsBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -364,8 +376,12 @@ pub struct ServiceMonitorEndpointsBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -520,8 +536,12 @@ pub struct ServiceMonitorEndpointsOauth2ClientIdConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -535,8 +555,12 @@ pub struct ServiceMonitorEndpointsOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -551,8 +575,12 @@ pub struct ServiceMonitorEndpointsOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -716,8 +744,12 @@ pub struct ServiceMonitorEndpointsTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -731,8 +763,12 @@ pub struct ServiceMonitorEndpointsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -757,8 +793,12 @@ pub struct ServiceMonitorEndpointsTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -772,8 +812,12 @@ pub struct ServiceMonitorEndpointsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -787,8 +831,12 @@ pub struct ServiceMonitorEndpointsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined diff --git a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/thanosrulers.rs b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/thanosrulers.rs index 0ca98cc3c..1f5d0c11e 100644 --- a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/thanosrulers.rs +++ b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/thanosrulers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/thanosrulers.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -475,23 +475,23 @@ pub struct ThanosRulerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringE pub label_selector: Option, /// MatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. - /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, /// MismatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. - /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] pub mismatch_label_keys: Option>, @@ -596,23 +596,23 @@ pub struct ThanosRulerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringEx pub label_selector: Option, /// MatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. - /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, /// MismatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. - /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] pub mismatch_label_keys: Option>, @@ -748,23 +748,23 @@ pub struct ThanosRulerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDur pub label_selector: Option, /// MatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. - /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, /// MismatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. - /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] pub mismatch_label_keys: Option>, @@ -869,23 +869,23 @@ pub struct ThanosRulerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuri pub label_selector: Option, /// MatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. - /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, /// MismatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. - /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] pub mismatch_label_keys: Option>, @@ -985,8 +985,12 @@ pub struct ThanosRulerAlertRelabelConfigs { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1001,8 +1005,12 @@ pub struct ThanosRulerAlertmanagersConfig { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1223,8 +1231,12 @@ pub struct ThanosRulerContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1264,8 +1276,12 @@ pub struct ThanosRulerContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1291,8 +1307,12 @@ pub struct ThanosRulerContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ThanosRulerContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -1304,8 +1324,12 @@ pub struct ThanosRulerContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ThanosRulerContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -1856,6 +1880,11 @@ pub struct ThanosRulerContainersSecurityContext { /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, + /// appArmorProfile is the AppArmor options to use by this container. If set, this profile + /// overrides the pod's appArmorProfile. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appArmorProfile")] + pub app_armor_profile: Option, /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. @@ -1922,6 +1951,26 @@ pub struct ThanosRulerContainersSecurityContext { pub windows_options: Option, } +/// appArmorProfile is the AppArmor options to use by this container. If set, this profile +/// overrides the pod's appArmorProfile. +/// Note that this field cannot be set when spec.os.name is windows. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct ThanosRulerContainersSecurityContextAppArmorProfile { + /// localhostProfile indicates a profile loaded on the node that should be used. + /// The profile must be preconfigured on the node to work. + /// Must match the loaded name of the profile. + /// Must be set if and only if type is "Localhost". + #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] + pub localhost_profile: Option, + /// type indicates which kind of AppArmor profile will be applied. + /// Valid options are: + /// Localhost - a profile pre-loaded on the node. + /// RuntimeDefault - the container runtime's default profile. + /// Unconfined - no AppArmor enforcement. + #[serde(rename = "type")] + pub r#type: String, +} + /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. @@ -2155,6 +2204,8 @@ pub struct ThanosRulerContainersVolumeMounts { /// to container and the other way around. /// When not set, MountPropagationNone is used. /// This field is beta in 1.10. + /// When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + /// (which defaults to None). #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPropagation")] pub mount_propagation: Option, /// This must match the Name of a Volume. @@ -2163,6 +2214,28 @@ pub struct ThanosRulerContainersVolumeMounts { /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, + /// RecursiveReadOnly specifies whether read-only mounts should be handled + /// recursively. + /// + /// + /// If ReadOnly is false, this field has no meaning and must be unspecified. + /// + /// + /// If ReadOnly is true, and this field is set to Disabled, the mount is not made + /// recursively read-only. If this field is set to IfPossible, the mount is made + /// recursively read-only, if it is supported by the container runtime. If this + /// field is set to Enabled, the mount is made recursively read-only if it is + /// supported by the container runtime, otherwise the pod will not be started and + /// an error will be generated to indicate the reason. + /// + /// + /// If this field is set to IfPossible or Enabled, MountPropagation must be set to + /// None (or be unspecified, which defaults to None). + /// + /// + /// If this field is not specified, it is treated as an equivalent of Disabled. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "recursiveReadOnly")] + pub recursive_read_only: Option, /// Path within the volume from which the container's volume should be mounted. /// Defaults to "" (volume's root). #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPath")] @@ -2262,8 +2335,12 @@ pub struct ThanosRulerGrpcServerTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2277,8 +2354,12 @@ pub struct ThanosRulerGrpcServerTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2303,8 +2384,12 @@ pub struct ThanosRulerGrpcServerTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2318,8 +2403,12 @@ pub struct ThanosRulerGrpcServerTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2333,8 +2422,12 @@ pub struct ThanosRulerGrpcServerTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2368,8 +2461,12 @@ pub enum ThanosRulerImagePullPolicy { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ThanosRulerImagePullSecrets { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -2587,8 +2684,12 @@ pub struct ThanosRulerInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2628,8 +2729,12 @@ pub struct ThanosRulerInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2655,8 +2760,12 @@ pub struct ThanosRulerInitContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ThanosRulerInitContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -2668,8 +2777,12 @@ pub struct ThanosRulerInitContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ThanosRulerInitContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -3220,6 +3333,11 @@ pub struct ThanosRulerInitContainersSecurityContext { /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, + /// appArmorProfile is the AppArmor options to use by this container. If set, this profile + /// overrides the pod's appArmorProfile. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appArmorProfile")] + pub app_armor_profile: Option, /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. @@ -3286,6 +3404,26 @@ pub struct ThanosRulerInitContainersSecurityContext { pub windows_options: Option, } +/// appArmorProfile is the AppArmor options to use by this container. If set, this profile +/// overrides the pod's appArmorProfile. +/// Note that this field cannot be set when spec.os.name is windows. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct ThanosRulerInitContainersSecurityContextAppArmorProfile { + /// localhostProfile indicates a profile loaded on the node that should be used. + /// The profile must be preconfigured on the node to work. + /// Must match the loaded name of the profile. + /// Must be set if and only if type is "Localhost". + #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] + pub localhost_profile: Option, + /// type indicates which kind of AppArmor profile will be applied. + /// Valid options are: + /// Localhost - a profile pre-loaded on the node. + /// RuntimeDefault - the container runtime's default profile. + /// Unconfined - no AppArmor enforcement. + #[serde(rename = "type")] + pub r#type: String, +} + /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. @@ -3519,6 +3657,8 @@ pub struct ThanosRulerInitContainersVolumeMounts { /// to container and the other way around. /// When not set, MountPropagationNone is used. /// This field is beta in 1.10. + /// When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + /// (which defaults to None). #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPropagation")] pub mount_propagation: Option, /// This must match the Name of a Volume. @@ -3527,6 +3667,28 @@ pub struct ThanosRulerInitContainersVolumeMounts { /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, + /// RecursiveReadOnly specifies whether read-only mounts should be handled + /// recursively. + /// + /// + /// If ReadOnly is false, this field has no meaning and must be unspecified. + /// + /// + /// If ReadOnly is true, and this field is set to Disabled, the mount is not made + /// recursively read-only. If this field is set to IfPossible, the mount is made + /// recursively read-only, if it is supported by the container runtime. If this + /// field is set to Enabled, the mount is made recursively read-only if it is + /// supported by the container runtime, otherwise the pod will not be started and + /// an error will be generated to indicate the reason. + /// + /// + /// If this field is set to IfPossible or Enabled, MountPropagation must be set to + /// None (or be unspecified, which defaults to None). + /// + /// + /// If this field is not specified, it is treated as an equivalent of Disabled. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "recursiveReadOnly")] + pub recursive_read_only: Option, /// Path within the volume from which the container's volume should be mounted. /// Defaults to "" (volume's root). #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPath")] @@ -3574,8 +3736,12 @@ pub struct ThanosRulerObjectStorageConfig { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3638,8 +3804,12 @@ pub struct ThanosRulerQueryConfig { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3749,6 +3919,10 @@ pub struct ThanosRulerRuleSelectorMatchExpressions { /// This defaults to the default PodSecurityContext. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ThanosRulerSecurityContext { + /// appArmorProfile is the AppArmor options to use by the containers in this pod. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appArmorProfile")] + pub app_armor_profile: Option, /// A special supplemental group that applies to all containers in a pod. /// Some volume types allow the Kubelet to change the ownership of that volume /// to be owned by the pod: @@ -3830,6 +4004,25 @@ pub struct ThanosRulerSecurityContext { pub windows_options: Option, } +/// appArmorProfile is the AppArmor options to use by the containers in this pod. +/// Note that this field cannot be set when spec.os.name is windows. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct ThanosRulerSecurityContextAppArmorProfile { + /// localhostProfile indicates a profile loaded on the node that should be used. + /// The profile must be preconfigured on the node to work. + /// Must match the loaded name of the profile. + /// Must be set if and only if type is "Localhost". + #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] + pub localhost_profile: Option, + /// type indicates which kind of AppArmor profile will be applied. + /// Valid options are: + /// Localhost - a profile pre-loaded on the node. + /// RuntimeDefault - the container runtime's default profile. + /// Unconfined - no AppArmor enforcement. + #[serde(rename = "type")] + pub r#type: String, +} + /// The SELinux context to be applied to all containers. /// If unspecified, the container runtime will allocate a random SELinux context for each /// container. May also be set in SecurityContext. If set in @@ -4103,7 +4296,7 @@ pub struct ThanosRulerStorageEphemeralVolumeClaimTemplateSpec { /// If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be /// set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource /// exists. - /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + /// More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ /// (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeAttributesClassName")] pub volume_attributes_class_name: Option, @@ -4349,7 +4542,7 @@ pub struct ThanosRulerStorageVolumeClaimTemplateSpec { /// If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be /// set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource /// exists. - /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + /// More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ /// (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeAttributesClassName")] pub volume_attributes_class_name: Option, @@ -4551,7 +4744,7 @@ pub struct ThanosRulerStorageVolumeClaimTemplateStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub capacity: Option>, /// conditions is the current Condition of persistent volume claim. If underlying persistent volume is being - /// resized then the Condition will be set to 'ResizeStarted'. + /// resized then the Condition will be set to 'Resizing'. #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, /// currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. @@ -4680,9 +4873,6 @@ pub struct ThanosRulerTopologySpreadConstraints { /// In this situation, new pod with the same labelSelector cannot be scheduled, /// because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, /// it will violate MaxSkew. - /// - /// - /// This is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default). #[serde(default, skip_serializing_if = "Option::is_none", rename = "minDomains")] pub min_domains: Option, /// NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector @@ -4785,8 +4975,12 @@ pub struct ThanosRulerTracingConfig { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4805,6 +4999,8 @@ pub struct ThanosRulerVolumeMounts { /// to container and the other way around. /// When not set, MountPropagationNone is used. /// This field is beta in 1.10. + /// When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + /// (which defaults to None). #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPropagation")] pub mount_propagation: Option, /// This must match the Name of a Volume. @@ -4813,6 +5009,28 @@ pub struct ThanosRulerVolumeMounts { /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, + /// RecursiveReadOnly specifies whether read-only mounts should be handled + /// recursively. + /// + /// + /// If ReadOnly is false, this field has no meaning and must be unspecified. + /// + /// + /// If ReadOnly is true, and this field is set to Disabled, the mount is not made + /// recursively read-only. If this field is set to IfPossible, the mount is made + /// recursively read-only, if it is supported by the container runtime. If this + /// field is set to Enabled, the mount is made recursively read-only if it is + /// supported by the container runtime, otherwise the pod will not be started and + /// an error will be generated to indicate the reason. + /// + /// + /// If this field is set to IfPossible or Enabled, MountPropagation must be set to + /// None (or be unspecified, which defaults to None). + /// + /// + /// If this field is not specified, it is treated as an equivalent of Disabled. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "recursiveReadOnly")] + pub recursive_read_only: Option, /// Path within the volume from which the container's volume should be mounted. /// Defaults to "" (volume's root). #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPath")] @@ -5075,8 +5293,12 @@ pub struct ThanosRulerVolumesCephfs { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ThanosRulerVolumesCephfsSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5111,8 +5333,12 @@ pub struct ThanosRulerVolumesCinder { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ThanosRulerVolumesCinderSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5139,8 +5365,12 @@ pub struct ThanosRulerVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -5204,8 +5434,12 @@ pub struct ThanosRulerVolumesCsi { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ThanosRulerVolumesCsiNodePublishSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5231,7 +5465,7 @@ pub struct ThanosRulerVolumesDownwardApi { /// DownwardAPIVolumeFile represents information to create the file containing the pod field #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ThanosRulerVolumesDownwardApiItems { - /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. + /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, /// Optional: mode bits used to set permissions on this file, must be an octal value @@ -5250,7 +5484,7 @@ pub struct ThanosRulerVolumesDownwardApiItems { pub resource_field_ref: Option, } -/// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. +/// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ThanosRulerVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -5467,7 +5701,7 @@ pub struct ThanosRulerVolumesEphemeralVolumeClaimTemplateSpec { /// If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be /// set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource /// exists. - /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + /// More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ /// (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeAttributesClassName")] pub volume_attributes_class_name: Option, @@ -5651,8 +5885,12 @@ pub struct ThanosRulerVolumesFlexVolume { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ThanosRulerVolumesFlexVolumeSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -5808,8 +6046,12 @@ pub struct ThanosRulerVolumesIscsi { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ThanosRulerVolumesIscsiSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6017,8 +6259,12 @@ pub struct ThanosRulerVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -6057,7 +6303,7 @@ pub struct ThanosRulerVolumesProjectedSourcesDownwardApi { /// DownwardAPIVolumeFile represents information to create the file containing the pod field #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ThanosRulerVolumesProjectedSourcesDownwardApiItems { - /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. + /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, /// Optional: mode bits used to set permissions on this file, must be an octal value @@ -6076,7 +6322,7 @@ pub struct ThanosRulerVolumesProjectedSourcesDownwardApiItems { pub resource_field_ref: Option, } -/// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. +/// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ThanosRulerVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -6114,8 +6360,12 @@ pub struct ThanosRulerVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional field specify whether the Secret or its key must be defined @@ -6244,8 +6494,12 @@ pub struct ThanosRulerVolumesRbd { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ThanosRulerVolumesRbdSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6295,8 +6549,12 @@ pub struct ThanosRulerVolumesScaleIo { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ThanosRulerVolumesScaleIoSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6387,8 +6645,12 @@ pub struct ThanosRulerVolumesStorageos { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ThanosRulerVolumesStorageosSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6542,8 +6804,12 @@ pub struct ThanosRulerWebTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -6557,8 +6823,12 @@ pub struct ThanosRulerWebTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -6583,8 +6853,12 @@ pub struct ThanosRulerWebTlsConfigClientCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -6598,8 +6872,12 @@ pub struct ThanosRulerWebTlsConfigClientCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -6613,8 +6891,12 @@ pub struct ThanosRulerWebTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined diff --git a/kube-custom-resources-rs/src/monitoring_coreos_com/v1alpha1/alertmanagerconfigs.rs b/kube-custom-resources-rs/src/monitoring_coreos_com/v1alpha1/alertmanagerconfigs.rs index 155d79f34..50e6e7e35 100644 --- a/kube-custom-resources-rs/src/monitoring_coreos_com/v1alpha1/alertmanagerconfigs.rs +++ b/kube-custom-resources-rs/src/monitoring_coreos_com/v1alpha1/alertmanagerconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/alertmanagerconfigs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -249,8 +249,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsApiUrl { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -313,8 +317,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigAuthorizationCrede /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -343,8 +351,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigBasicAuthPassword /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -359,8 +371,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigBasicAuthUsername /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -377,8 +393,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigBearerTokenSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -427,8 +447,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2ClientIdConf /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -442,8 +466,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2ClientIdSecr /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -458,8 +486,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2ClientSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -504,8 +536,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCaConfigM /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -519,8 +555,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCaSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -545,8 +585,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCertConfi /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -560,8 +604,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCertSecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -575,8 +623,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigKeySecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -645,8 +697,12 @@ pub struct AlertmanagerConfigReceiversEmailConfigsAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -662,8 +718,12 @@ pub struct AlertmanagerConfigReceiversEmailConfigsAuthSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -717,8 +777,12 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -732,8 +796,12 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -758,8 +826,12 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -773,8 +845,12 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -788,8 +864,12 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -877,8 +957,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigAuthorizationCrede /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -907,8 +991,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigBasicAuthPassword /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -923,8 +1011,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigBasicAuthUsername /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -941,8 +1033,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigBearerTokenSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -991,8 +1087,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2ClientIdConf /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1006,8 +1106,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2ClientIdSecr /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1022,8 +1126,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2ClientSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1068,8 +1176,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCaConfigM /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1083,8 +1195,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCaSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1109,8 +1225,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCertConfi /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1124,8 +1244,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCertSecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1139,8 +1263,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigKeySecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1154,8 +1282,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsWebhookUrl { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1225,8 +1357,12 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsApiKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1298,8 +1434,12 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigAuthorizationCred /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1328,8 +1468,12 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigBasicAuthPassword /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1344,8 +1488,12 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigBasicAuthUsername /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1362,8 +1510,12 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigBearerTokenSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1412,8 +1564,12 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2ClientIdCon /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1427,8 +1583,12 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2ClientIdSec /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1443,8 +1603,12 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2ClientSecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1489,8 +1653,12 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCaConfig /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1504,8 +1672,12 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCaSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1530,8 +1702,12 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCertConf /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1545,8 +1721,12 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCertSecr /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1560,8 +1740,12 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigKeySecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1640,6 +1824,9 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigs { /// Severity of the incident. #[serde(default, skip_serializing_if = "Option::is_none")] pub severity: Option, + /// Unique location of the affected system. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub source: Option, /// The URL to send requests to. #[serde(default, skip_serializing_if = "Option::is_none")] pub url: Option, @@ -1709,8 +1896,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigAuthorizationCre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1739,8 +1930,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigBasicAuthPasswor /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1755,8 +1950,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigBasicAuthUsernam /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1773,8 +1972,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigBearerTokenSecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1823,8 +2026,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2ClientIdCo /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1838,8 +2045,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2ClientIdSe /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1854,8 +2065,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2ClientSecr /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1900,8 +2115,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCaConfi /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1915,8 +2134,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCaSecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1941,8 +2164,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCertCon /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1956,8 +2183,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCertSec /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1971,8 +2202,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigKeySecr /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2014,8 +2249,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsRoutingKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2033,8 +2272,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsServiceKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2163,8 +2406,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigAuthorizationCred /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2193,8 +2440,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigBasicAuthPassword /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2209,8 +2460,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigBasicAuthUsername /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2227,8 +2482,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigBearerTokenSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2277,8 +2536,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2ClientIdCon /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2292,8 +2555,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2ClientIdSec /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2308,8 +2575,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2ClientSecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2354,8 +2625,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCaConfig /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2369,8 +2644,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCaSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2395,8 +2674,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCertConf /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2410,8 +2693,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCertSecr /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2425,8 +2712,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigKeySecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2443,8 +2734,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsToken { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2461,8 +2756,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsUserKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2578,8 +2877,12 @@ pub struct AlertmanagerConfigReceiversSlackConfigsApiUrl { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2654,8 +2957,12 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigAuthorizationCredent /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2684,8 +2991,12 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2700,8 +3011,12 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2718,8 +3033,12 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2768,8 +3087,12 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2ClientIdConfig /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2783,8 +3106,12 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2ClientIdSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2799,8 +3126,12 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2845,8 +3176,12 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCaConfigMap /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2860,8 +3195,12 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2886,8 +3225,12 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCertConfigM /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2901,8 +3244,12 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCertSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2916,8 +3263,12 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3020,8 +3371,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigAuthorizationCredentia /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3050,8 +3405,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3066,8 +3425,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3084,8 +3447,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3134,8 +3501,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2ClientIdConfigMa /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3149,8 +3520,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3165,8 +3540,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3211,8 +3590,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3226,8 +3609,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3252,8 +3639,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCertConfigMap /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3267,8 +3658,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3282,8 +3677,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3320,8 +3719,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsSigv4AccessKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3336,8 +3739,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsSigv4SecretKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3399,8 +3806,12 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsBotToken { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3463,8 +3874,12 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigAuthorizationCred /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3493,8 +3908,12 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigBasicAuthPassword /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3509,8 +3928,12 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigBasicAuthUsername /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3527,8 +3950,12 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigBearerTokenSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3577,8 +4004,12 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2ClientIdCon /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3592,8 +4023,12 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2ClientIdSec /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3608,8 +4043,12 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2ClientSecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3654,8 +4093,12 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCaConfig /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3669,8 +4112,12 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCaSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3695,8 +4142,12 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCertConf /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3710,8 +4161,12 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCertSecr /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3725,8 +4180,12 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigKeySecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3790,8 +4249,12 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsApiKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3863,8 +4326,12 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigAuthorizationCre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3893,8 +4360,12 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigBasicAuthPasswor /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3909,8 +4380,12 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigBasicAuthUsernam /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3927,8 +4402,12 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigBearerTokenSecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3977,8 +4456,12 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2ClientIdCo /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3992,8 +4475,12 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2ClientIdSe /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4008,8 +4495,12 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2ClientSecr /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4054,8 +4545,12 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCaConfi /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4069,8 +4564,12 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCaSecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4095,8 +4594,12 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCertCon /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4110,8 +4613,12 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCertSec /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4125,8 +4632,12 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigKeySecr /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4213,8 +4724,12 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigAuthorizationCredent /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4243,8 +4758,12 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4259,8 +4778,12 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4277,8 +4800,12 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4327,8 +4854,12 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2ClientIdConfig /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4342,8 +4873,12 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2ClientIdSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4358,8 +4893,12 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4404,8 +4943,12 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCaConfigMap /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4419,8 +4962,12 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4445,8 +4992,12 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCertConfigM /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4460,8 +5011,12 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCertSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4475,8 +5030,12 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4565,8 +5124,12 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigAuthorizationCrede /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4595,8 +5158,12 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigBasicAuthPassword /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4611,8 +5178,12 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigBasicAuthUsername /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4629,8 +5200,12 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigBearerTokenSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4679,8 +5254,12 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2ClientIdConf /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4694,8 +5273,12 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2ClientIdSecr /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4710,8 +5293,12 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2ClientSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4756,8 +5343,12 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCaConfigM /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4771,8 +5362,12 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCaSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4797,8 +5392,12 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCertConfi /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4812,8 +5411,12 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCertSecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4827,8 +5430,12 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigKeySecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4846,8 +5453,12 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsUrlSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4899,8 +5510,12 @@ pub struct AlertmanagerConfigReceiversWechatConfigsApiSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4963,8 +5578,12 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigAuthorizationCreden /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4993,8 +5612,12 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5009,8 +5632,12 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5027,8 +5654,12 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5077,8 +5708,12 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2ClientIdConfi /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -5092,8 +5727,12 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2ClientIdSecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5108,8 +5747,12 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2ClientSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5154,8 +5797,12 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCaConfigMa /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -5169,8 +5816,12 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5195,8 +5846,12 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCertConfig /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -5210,8 +5865,12 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCertSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5225,8 +5884,12 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigKeySecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined diff --git a/kube-custom-resources-rs/src/monitoring_coreos_com/v1alpha1/prometheusagents.rs b/kube-custom-resources-rs/src/monitoring_coreos_com/v1alpha1/prometheusagents.rs index 667a0c254..471dce3e9 100644 --- a/kube-custom-resources-rs/src/monitoring_coreos_com/v1alpha1/prometheusagents.rs +++ b/kube-custom-resources-rs/src/monitoring_coreos_com/v1alpha1/prometheusagents.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/prometheusagents.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -377,7 +377,7 @@ pub struct PrometheusAgentSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podMetadata")] pub pod_metadata: Option, /// Namespaces to match for PodMonitors discovery. An empty label selector - /// matches all namespaces. A null label selector matches the current + /// matches all namespaces. A null label selector (default value) matches the current /// namespace only. #[serde(default, skip_serializing_if = "Option::is_none", rename = "podMonitorNamespaceSelector")] pub pod_monitor_namespace_selector: Option, @@ -539,7 +539,7 @@ pub struct PrometheusAgentSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceAccountName")] pub service_account_name: Option, /// Namespaces to match for ServicedMonitors discovery. An empty label selector - /// matches all namespaces. A null label selector matches the current + /// matches all namespaces. A null label selector (default value) matches the current /// namespace only. #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceMonitorNamespaceSelector")] pub service_monitor_namespace_selector: Option, @@ -656,8 +656,12 @@ pub struct PrometheusAgentAdditionalScrapeConfigs { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -865,23 +869,23 @@ pub struct PrometheusAgentAffinityPodAffinityPreferredDuringSchedulingIgnoredDur pub label_selector: Option, /// MatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. - /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, /// MismatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. - /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] pub mismatch_label_keys: Option>, @@ -986,23 +990,23 @@ pub struct PrometheusAgentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuri pub label_selector: Option, /// MatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. - /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, /// MismatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. - /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] pub mismatch_label_keys: Option>, @@ -1138,23 +1142,23 @@ pub struct PrometheusAgentAffinityPodAntiAffinityPreferredDuringSchedulingIgnore pub label_selector: Option, /// MatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. - /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, /// MismatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. - /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] pub mismatch_label_keys: Option>, @@ -1259,23 +1263,23 @@ pub struct PrometheusAgentAffinityPodAntiAffinityRequiredDuringSchedulingIgnored pub label_selector: Option, /// MatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. - /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, /// MismatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. - /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] pub mismatch_label_keys: Option>, @@ -1441,8 +1445,12 @@ pub struct PrometheusAgentApiserverConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1474,8 +1482,12 @@ pub struct PrometheusAgentApiserverConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1490,8 +1502,12 @@ pub struct PrometheusAgentApiserverConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1545,8 +1561,12 @@ pub struct PrometheusAgentApiserverConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1560,8 +1580,12 @@ pub struct PrometheusAgentApiserverConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1586,8 +1610,12 @@ pub struct PrometheusAgentApiserverConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1601,8 +1629,12 @@ pub struct PrometheusAgentApiserverConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1616,8 +1648,12 @@ pub struct PrometheusAgentApiserverConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1854,8 +1890,12 @@ pub struct PrometheusAgentContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1895,8 +1935,12 @@ pub struct PrometheusAgentContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1922,8 +1966,12 @@ pub struct PrometheusAgentContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusAgentContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -1935,8 +1983,12 @@ pub struct PrometheusAgentContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusAgentContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -2487,6 +2539,11 @@ pub struct PrometheusAgentContainersSecurityContext { /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, + /// appArmorProfile is the AppArmor options to use by this container. If set, this profile + /// overrides the pod's appArmorProfile. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appArmorProfile")] + pub app_armor_profile: Option, /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. @@ -2553,6 +2610,26 @@ pub struct PrometheusAgentContainersSecurityContext { pub windows_options: Option, } +/// appArmorProfile is the AppArmor options to use by this container. If set, this profile +/// overrides the pod's appArmorProfile. +/// Note that this field cannot be set when spec.os.name is windows. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct PrometheusAgentContainersSecurityContextAppArmorProfile { + /// localhostProfile indicates a profile loaded on the node that should be used. + /// The profile must be preconfigured on the node to work. + /// Must match the loaded name of the profile. + /// Must be set if and only if type is "Localhost". + #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] + pub localhost_profile: Option, + /// type indicates which kind of AppArmor profile will be applied. + /// Valid options are: + /// Localhost - a profile pre-loaded on the node. + /// RuntimeDefault - the container runtime's default profile. + /// Unconfined - no AppArmor enforcement. + #[serde(rename = "type")] + pub r#type: String, +} + /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. @@ -2786,6 +2863,8 @@ pub struct PrometheusAgentContainersVolumeMounts { /// to container and the other way around. /// When not set, MountPropagationNone is used. /// This field is beta in 1.10. + /// When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + /// (which defaults to None). #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPropagation")] pub mount_propagation: Option, /// This must match the Name of a Volume. @@ -2794,6 +2873,28 @@ pub struct PrometheusAgentContainersVolumeMounts { /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, + /// RecursiveReadOnly specifies whether read-only mounts should be handled + /// recursively. + /// + /// + /// If ReadOnly is false, this field has no meaning and must be unspecified. + /// + /// + /// If ReadOnly is true, and this field is set to Disabled, the mount is not made + /// recursively read-only. If this field is set to IfPossible, the mount is made + /// recursively read-only, if it is supported by the container runtime. If this + /// field is set to Enabled, the mount is made recursively read-only if it is + /// supported by the container runtime, otherwise the pod will not be started and + /// an error will be generated to indicate the reason. + /// + /// + /// If this field is set to IfPossible or Enabled, MountPropagation must be set to + /// None (or be unspecified, which defaults to None). + /// + /// + /// If this field is not specified, it is treated as an equivalent of Disabled. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "recursiveReadOnly")] + pub recursive_read_only: Option, /// Path within the volume from which the container's volume should be mounted. /// Defaults to "" (volume's root). #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPath")] @@ -2870,8 +2971,12 @@ pub enum PrometheusAgentImagePullPolicy { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusAgentImagePullSecrets { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -3089,8 +3194,12 @@ pub struct PrometheusAgentInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3130,8 +3239,12 @@ pub struct PrometheusAgentInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3157,8 +3270,12 @@ pub struct PrometheusAgentInitContainersEnvFrom { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusAgentInitContainersEnvFromConfigMapRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -3170,8 +3287,12 @@ pub struct PrometheusAgentInitContainersEnvFromConfigMapRef { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusAgentInitContainersEnvFromSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -3722,6 +3843,11 @@ pub struct PrometheusAgentInitContainersSecurityContext { /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, + /// appArmorProfile is the AppArmor options to use by this container. If set, this profile + /// overrides the pod's appArmorProfile. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appArmorProfile")] + pub app_armor_profile: Option, /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. @@ -3788,6 +3914,26 @@ pub struct PrometheusAgentInitContainersSecurityContext { pub windows_options: Option, } +/// appArmorProfile is the AppArmor options to use by this container. If set, this profile +/// overrides the pod's appArmorProfile. +/// Note that this field cannot be set when spec.os.name is windows. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct PrometheusAgentInitContainersSecurityContextAppArmorProfile { + /// localhostProfile indicates a profile loaded on the node that should be used. + /// The profile must be preconfigured on the node to work. + /// Must match the loaded name of the profile. + /// Must be set if and only if type is "Localhost". + #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] + pub localhost_profile: Option, + /// type indicates which kind of AppArmor profile will be applied. + /// Valid options are: + /// Localhost - a profile pre-loaded on the node. + /// RuntimeDefault - the container runtime's default profile. + /// Unconfined - no AppArmor enforcement. + #[serde(rename = "type")] + pub r#type: String, +} + /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. @@ -4021,6 +4167,8 @@ pub struct PrometheusAgentInitContainersVolumeMounts { /// to container and the other way around. /// When not set, MountPropagationNone is used. /// This field is beta in 1.10. + /// When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + /// (which defaults to None). #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPropagation")] pub mount_propagation: Option, /// This must match the Name of a Volume. @@ -4029,6 +4177,28 @@ pub struct PrometheusAgentInitContainersVolumeMounts { /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, + /// RecursiveReadOnly specifies whether read-only mounts should be handled + /// recursively. + /// + /// + /// If ReadOnly is false, this field has no meaning and must be unspecified. + /// + /// + /// If ReadOnly is true, and this field is set to Disabled, the mount is not made + /// recursively read-only. If this field is set to IfPossible, the mount is made + /// recursively read-only, if it is supported by the container runtime. If this + /// field is set to Enabled, the mount is made recursively read-only if it is + /// supported by the container runtime, otherwise the pod will not be started and + /// an error will be generated to indicate the reason. + /// + /// + /// If this field is set to IfPossible or Enabled, MountPropagation must be set to + /// None (or be unspecified, which defaults to None). + /// + /// + /// If this field is not specified, it is treated as an equivalent of Disabled. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "recursiveReadOnly")] + pub recursive_read_only: Option, /// Path within the volume from which the container's volume should be mounted. /// Defaults to "" (volume's root). #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPath")] @@ -4127,7 +4297,7 @@ pub struct PrometheusAgentPodMetadata { } /// Namespaces to match for PodMonitors discovery. An empty label selector -/// matches all namespaces. A null label selector matches the current +/// matches all namespaces. A null label selector (default value) matches the current /// namespace only. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusAgentPodMonitorNamespaceSelector { @@ -4426,8 +4596,12 @@ pub struct PrometheusAgentRemoteWriteAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4515,8 +4689,12 @@ pub struct PrometheusAgentRemoteWriteAzureAdOauthClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4560,8 +4738,12 @@ pub struct PrometheusAgentRemoteWriteBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4576,8 +4758,12 @@ pub struct PrometheusAgentRemoteWriteBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4643,8 +4829,12 @@ pub struct PrometheusAgentRemoteWriteOauth2ClientIdConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4658,8 +4848,12 @@ pub struct PrometheusAgentRemoteWriteOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4674,8 +4868,12 @@ pub struct PrometheusAgentRemoteWriteOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4759,8 +4957,12 @@ pub struct PrometheusAgentRemoteWriteSigv4AccessKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4775,8 +4977,12 @@ pub struct PrometheusAgentRemoteWriteSigv4SecretKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4830,8 +5036,12 @@ pub struct PrometheusAgentRemoteWriteTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4845,8 +5055,12 @@ pub struct PrometheusAgentRemoteWriteTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4871,8 +5085,12 @@ pub struct PrometheusAgentRemoteWriteTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4886,8 +5104,12 @@ pub struct PrometheusAgentRemoteWriteTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4901,8 +5123,12 @@ pub struct PrometheusAgentRemoteWriteTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5054,6 +5280,17 @@ pub struct PrometheusAgentScrapeClasses { /// Only one scrape class can be set as the default. #[serde(default, skip_serializing_if = "Option::is_none")] pub default: Option, + /// MetricRelabelings configures the relabeling rules to apply to all samples before ingestion. + /// + /// + /// The Operator adds the scrape class metric relabelings defined here. + /// Then the Operator adds the target-specific metric relabelings defined in ServiceMonitors, PodMonitors, Probes and ScrapeConfigs. + /// Then the Operator adds namespace enforcement relabeling rule, specified in '.spec.enforcedNamespaceLabel'. + /// + /// + /// More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs + #[serde(default, skip_serializing_if = "Option::is_none", rename = "metricRelabelings")] + pub metric_relabelings: Option>, /// Name of the scrape class. pub name: String, /// Relabelings configures the relabeling rules to apply to all scrape targets. @@ -5078,6 +5315,106 @@ pub struct PrometheusAgentScrapeClasses { pub tls_config: Option, } +/// RelabelConfig allows dynamic rewriting of the label set for targets, alerts, +/// scraped samples and remote write samples. +/// +/// +/// More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct PrometheusAgentScrapeClassesMetricRelabelings { + /// Action to perform based on the regex matching. + /// + /// + /// `Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0. + /// `DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0. + /// + /// + /// Default: "Replace" + #[serde(default, skip_serializing_if = "Option::is_none")] + pub action: Option, + /// Modulus to take of the hash of the source label values. + /// + /// + /// Only applicable when the action is `HashMod`. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub modulus: Option, + /// Regular expression against which the extracted value is matched. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub regex: Option, + /// Replacement value against which a Replace action is performed if the + /// regular expression matches. + /// + /// + /// Regex capture groups are available. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub replacement: Option, + /// Separator is the string between concatenated SourceLabels. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub separator: Option, + /// The source labels select values from existing labels. Their content is + /// concatenated using the configured Separator and matched against the + /// configured regular expression. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "sourceLabels")] + pub source_labels: Option>, + /// Label to which the resulting string is written in a replacement. + /// + /// + /// It is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`, + /// `KeepEqual` and `DropEqual` actions. + /// + /// + /// Regex capture groups are available. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "targetLabel")] + pub target_label: Option, +} + +/// RelabelConfig allows dynamic rewriting of the label set for targets, alerts, +/// scraped samples and remote write samples. +/// +/// +/// More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum PrometheusAgentScrapeClassesMetricRelabelingsAction { + #[serde(rename = "replace")] + Replace, + #[serde(rename = "Replace")] + ReplaceX, + #[serde(rename = "keep")] + Keep, + #[serde(rename = "Keep")] + KeepX, + #[serde(rename = "drop")] + Drop, + #[serde(rename = "Drop")] + DropX, + #[serde(rename = "hashmod")] + Hashmod, + HashMod, + #[serde(rename = "labelmap")] + Labelmap, + LabelMap, + #[serde(rename = "labeldrop")] + Labeldrop, + LabelDrop, + #[serde(rename = "labelkeep")] + Labelkeep, + LabelKeep, + #[serde(rename = "lowercase")] + Lowercase, + #[serde(rename = "Lowercase")] + LowercaseX, + #[serde(rename = "uppercase")] + Uppercase, + #[serde(rename = "Uppercase")] + UppercaseX, + #[serde(rename = "keepequal")] + Keepequal, + KeepEqual, + #[serde(rename = "dropequal")] + Dropequal, + DropEqual, +} + /// RelabelConfig allows dynamic rewriting of the label set for targets, alerts, /// scraped samples and remote write samples. /// @@ -5229,8 +5566,12 @@ pub struct PrometheusAgentScrapeClassesTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -5244,8 +5585,12 @@ pub struct PrometheusAgentScrapeClassesTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5270,8 +5615,12 @@ pub struct PrometheusAgentScrapeClassesTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -5285,8 +5634,12 @@ pub struct PrometheusAgentScrapeClassesTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5300,8 +5653,12 @@ pub struct PrometheusAgentScrapeClassesTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5392,6 +5749,10 @@ pub struct PrometheusAgentScrapeConfigSelectorMatchExpressions { /// This defaults to the default PodSecurityContext. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusAgentSecurityContext { + /// appArmorProfile is the AppArmor options to use by the containers in this pod. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appArmorProfile")] + pub app_armor_profile: Option, /// A special supplemental group that applies to all containers in a pod. /// Some volume types allow the Kubelet to change the ownership of that volume /// to be owned by the pod: @@ -5473,6 +5834,25 @@ pub struct PrometheusAgentSecurityContext { pub windows_options: Option, } +/// appArmorProfile is the AppArmor options to use by the containers in this pod. +/// Note that this field cannot be set when spec.os.name is windows. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct PrometheusAgentSecurityContextAppArmorProfile { + /// localhostProfile indicates a profile loaded on the node that should be used. + /// The profile must be preconfigured on the node to work. + /// Must match the loaded name of the profile. + /// Must be set if and only if type is "Localhost". + #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] + pub localhost_profile: Option, + /// type indicates which kind of AppArmor profile will be applied. + /// Valid options are: + /// Localhost - a profile pre-loaded on the node. + /// RuntimeDefault - the container runtime's default profile. + /// Unconfined - no AppArmor enforcement. + #[serde(rename = "type")] + pub r#type: String, +} + /// The SELinux context to be applied to all containers. /// If unspecified, the container runtime will allocate a random SELinux context for each /// container. May also be set in SecurityContext. If set in @@ -5554,7 +5934,7 @@ pub struct PrometheusAgentSecurityContextWindowsOptions { } /// Namespaces to match for ServicedMonitors discovery. An empty label selector -/// matches all namespaces. A null label selector matches the current +/// matches all namespaces. A null label selector (default value) matches the current /// namespace only. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusAgentServiceMonitorNamespaceSelector { @@ -5819,7 +6199,7 @@ pub struct PrometheusAgentStorageEphemeralVolumeClaimTemplateSpec { /// If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be /// set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource /// exists. - /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + /// More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ /// (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeAttributesClassName")] pub volume_attributes_class_name: Option, @@ -6065,7 +6445,7 @@ pub struct PrometheusAgentStorageVolumeClaimTemplateSpec { /// If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be /// set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource /// exists. - /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + /// More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ /// (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeAttributesClassName")] pub volume_attributes_class_name: Option, @@ -6267,7 +6647,7 @@ pub struct PrometheusAgentStorageVolumeClaimTemplateStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub capacity: Option>, /// conditions is the current Condition of persistent volume claim. If underlying persistent volume is being - /// resized then the Condition will be set to 'ResizeStarted'. + /// resized then the Condition will be set to 'Resizing'. #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, /// currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. @@ -6398,9 +6778,6 @@ pub struct PrometheusAgentTopologySpreadConstraints { /// In this situation, new pod with the same labelSelector cannot be scheduled, /// because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, /// it will violate MaxSkew. - /// - /// - /// This is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default). #[serde(default, skip_serializing_if = "Option::is_none", rename = "minDomains")] pub min_domains: Option, /// NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector @@ -6598,8 +6975,12 @@ pub struct PrometheusAgentTracingConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -6613,8 +6994,12 @@ pub struct PrometheusAgentTracingConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -6639,8 +7024,12 @@ pub struct PrometheusAgentTracingConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -6654,8 +7043,12 @@ pub struct PrometheusAgentTracingConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -6669,8 +7062,12 @@ pub struct PrometheusAgentTracingConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -6689,6 +7086,8 @@ pub struct PrometheusAgentVolumeMounts { /// to container and the other way around. /// When not set, MountPropagationNone is used. /// This field is beta in 1.10. + /// When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + /// (which defaults to None). #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPropagation")] pub mount_propagation: Option, /// This must match the Name of a Volume. @@ -6697,6 +7096,28 @@ pub struct PrometheusAgentVolumeMounts { /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, + /// RecursiveReadOnly specifies whether read-only mounts should be handled + /// recursively. + /// + /// + /// If ReadOnly is false, this field has no meaning and must be unspecified. + /// + /// + /// If ReadOnly is true, and this field is set to Disabled, the mount is not made + /// recursively read-only. If this field is set to IfPossible, the mount is made + /// recursively read-only, if it is supported by the container runtime. If this + /// field is set to Enabled, the mount is made recursively read-only if it is + /// supported by the container runtime, otherwise the pod will not be started and + /// an error will be generated to indicate the reason. + /// + /// + /// If this field is set to IfPossible or Enabled, MountPropagation must be set to + /// None (or be unspecified, which defaults to None). + /// + /// + /// If this field is not specified, it is treated as an equivalent of Disabled. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "recursiveReadOnly")] + pub recursive_read_only: Option, /// Path within the volume from which the container's volume should be mounted. /// Defaults to "" (volume's root). #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPath")] @@ -6959,8 +7380,12 @@ pub struct PrometheusAgentVolumesCephfs { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusAgentVolumesCephfsSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -6995,8 +7420,12 @@ pub struct PrometheusAgentVolumesCinder { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusAgentVolumesCinderSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -7023,8 +7452,12 @@ pub struct PrometheusAgentVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -7088,8 +7521,12 @@ pub struct PrometheusAgentVolumesCsi { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusAgentVolumesCsiNodePublishSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -7115,7 +7552,7 @@ pub struct PrometheusAgentVolumesDownwardApi { /// DownwardAPIVolumeFile represents information to create the file containing the pod field #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusAgentVolumesDownwardApiItems { - /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. + /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, /// Optional: mode bits used to set permissions on this file, must be an octal value @@ -7134,7 +7571,7 @@ pub struct PrometheusAgentVolumesDownwardApiItems { pub resource_field_ref: Option, } -/// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. +/// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusAgentVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -7351,7 +7788,7 @@ pub struct PrometheusAgentVolumesEphemeralVolumeClaimTemplateSpec { /// If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be /// set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource /// exists. - /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + /// More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ /// (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeAttributesClassName")] pub volume_attributes_class_name: Option, @@ -7535,8 +7972,12 @@ pub struct PrometheusAgentVolumesFlexVolume { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusAgentVolumesFlexVolumeSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -7692,8 +8133,12 @@ pub struct PrometheusAgentVolumesIscsi { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusAgentVolumesIscsiSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -7901,8 +8346,12 @@ pub struct PrometheusAgentVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -7941,7 +8390,7 @@ pub struct PrometheusAgentVolumesProjectedSourcesDownwardApi { /// DownwardAPIVolumeFile represents information to create the file containing the pod field #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusAgentVolumesProjectedSourcesDownwardApiItems { - /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. + /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, /// Optional: mode bits used to set permissions on this file, must be an octal value @@ -7960,7 +8409,7 @@ pub struct PrometheusAgentVolumesProjectedSourcesDownwardApiItems { pub resource_field_ref: Option, } -/// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. +/// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusAgentVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -7998,8 +8447,12 @@ pub struct PrometheusAgentVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional field specify whether the Secret or its key must be defined @@ -8128,8 +8581,12 @@ pub struct PrometheusAgentVolumesRbd { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusAgentVolumesRbdSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -8179,8 +8636,12 @@ pub struct PrometheusAgentVolumesScaleIo { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusAgentVolumesScaleIoSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -8271,8 +8732,12 @@ pub struct PrometheusAgentVolumesStorageos { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PrometheusAgentVolumesStorageosSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -8433,8 +8898,12 @@ pub struct PrometheusAgentWebTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -8448,8 +8917,12 @@ pub struct PrometheusAgentWebTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -8474,8 +8947,12 @@ pub struct PrometheusAgentWebTlsConfigClientCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -8489,8 +8966,12 @@ pub struct PrometheusAgentWebTlsConfigClientCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -8504,8 +8985,12 @@ pub struct PrometheusAgentWebTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined diff --git a/kube-custom-resources-rs/src/monitoring_coreos_com/v1alpha1/scrapeconfigs.rs b/kube-custom-resources-rs/src/monitoring_coreos_com/v1alpha1/scrapeconfigs.rs index 2155ec914..3ad3fa0a0 100644 --- a/kube-custom-resources-rs/src/monitoring_coreos_com/v1alpha1/scrapeconfigs.rs +++ b/kube-custom-resources-rs/src/monitoring_coreos_com/v1alpha1/scrapeconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/scrapeconfigs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -74,6 +74,14 @@ pub struct ScrapeConfigSpec { /// HTTPSDConfigs defines a list of HTTP service discovery configurations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpSDConfigs")] pub http_sd_configs: Option>, + /// The value of the `job` label assigned to the scraped metrics by default. + /// + /// + /// The `job_name` field in the rendered scrape configuration is always controlled by the + /// operator to prevent duplicate job names, which Prometheus does not allow. Instead the + /// `job` label is set by means of relabeling configs. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "jobName")] + pub job_name: Option, /// Per-scrape limit on the number of targets dropped by relabeling /// that will be kept in memory. 0 means no limit. /// @@ -280,8 +288,12 @@ pub struct ScrapeConfigNomadSdConfigsAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -309,8 +321,12 @@ pub struct ScrapeConfigNomadSdConfigsBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -325,8 +341,12 @@ pub struct ScrapeConfigNomadSdConfigsBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -376,8 +396,12 @@ pub struct ScrapeConfigNomadSdConfigsOauth2ClientIdConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -391,8 +415,12 @@ pub struct ScrapeConfigNomadSdConfigsOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -407,8 +435,12 @@ pub struct ScrapeConfigNomadSdConfigsOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -422,8 +454,12 @@ pub struct ScrapeConfigNomadSdConfigsProxyConnectHeader { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -468,8 +504,12 @@ pub struct ScrapeConfigNomadSdConfigsTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -483,8 +523,12 @@ pub struct ScrapeConfigNomadSdConfigsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -509,8 +553,12 @@ pub struct ScrapeConfigNomadSdConfigsTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -524,8 +572,12 @@ pub struct ScrapeConfigNomadSdConfigsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -539,8 +591,12 @@ pub struct ScrapeConfigNomadSdConfigsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -571,8 +627,12 @@ pub struct ScrapeConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -633,8 +693,12 @@ pub struct ScrapeConfigAzureSdConfigsClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -662,8 +726,12 @@ pub struct ScrapeConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -678,8 +746,12 @@ pub struct ScrapeConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -804,8 +876,12 @@ pub struct ScrapeConfigConsulSdConfigsAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -834,8 +910,12 @@ pub struct ScrapeConfigConsulSdConfigsBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -850,8 +930,12 @@ pub struct ScrapeConfigConsulSdConfigsBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -900,8 +984,12 @@ pub struct ScrapeConfigConsulSdConfigsOauth2ClientIdConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -915,8 +1003,12 @@ pub struct ScrapeConfigConsulSdConfigsOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -931,8 +1023,12 @@ pub struct ScrapeConfigConsulSdConfigsOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -946,8 +1042,12 @@ pub struct ScrapeConfigConsulSdConfigsProxyConnectHeader { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1002,8 +1102,12 @@ pub struct ScrapeConfigConsulSdConfigsTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1017,8 +1121,12 @@ pub struct ScrapeConfigConsulSdConfigsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1043,8 +1151,12 @@ pub struct ScrapeConfigConsulSdConfigsTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1058,8 +1170,12 @@ pub struct ScrapeConfigConsulSdConfigsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1073,8 +1189,12 @@ pub struct ScrapeConfigConsulSdConfigsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1088,8 +1208,12 @@ pub struct ScrapeConfigConsulSdConfigsTokenRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1179,8 +1303,12 @@ pub struct ScrapeConfigDigitalOceanSdConfigsAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1230,8 +1358,12 @@ pub struct ScrapeConfigDigitalOceanSdConfigsOauth2ClientIdConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1245,8 +1377,12 @@ pub struct ScrapeConfigDigitalOceanSdConfigsOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1261,8 +1397,12 @@ pub struct ScrapeConfigDigitalOceanSdConfigsOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1276,8 +1416,12 @@ pub struct ScrapeConfigDigitalOceanSdConfigsProxyConnectHeader { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1322,8 +1466,12 @@ pub struct ScrapeConfigDigitalOceanSdConfigsTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1337,8 +1485,12 @@ pub struct ScrapeConfigDigitalOceanSdConfigsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1363,8 +1515,12 @@ pub struct ScrapeConfigDigitalOceanSdConfigsTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1378,8 +1534,12 @@ pub struct ScrapeConfigDigitalOceanSdConfigsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1393,8 +1553,12 @@ pub struct ScrapeConfigDigitalOceanSdConfigsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1536,8 +1700,12 @@ pub struct ScrapeConfigDockerSdConfigsAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1565,8 +1733,12 @@ pub struct ScrapeConfigDockerSdConfigsBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1581,8 +1753,12 @@ pub struct ScrapeConfigDockerSdConfigsBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1639,8 +1815,12 @@ pub struct ScrapeConfigDockerSdConfigsOauth2ClientIdConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1654,8 +1834,12 @@ pub struct ScrapeConfigDockerSdConfigsOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1670,8 +1854,12 @@ pub struct ScrapeConfigDockerSdConfigsOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1685,8 +1873,12 @@ pub struct ScrapeConfigDockerSdConfigsProxyConnectHeader { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1731,8 +1923,12 @@ pub struct ScrapeConfigDockerSdConfigsTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1746,8 +1942,12 @@ pub struct ScrapeConfigDockerSdConfigsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1772,8 +1972,12 @@ pub struct ScrapeConfigDockerSdConfigsTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1787,8 +1991,12 @@ pub struct ScrapeConfigDockerSdConfigsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1802,8 +2010,12 @@ pub struct ScrapeConfigDockerSdConfigsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1850,8 +2062,12 @@ pub struct ScrapeConfigEc2SdConfigsAccessKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1872,8 +2088,12 @@ pub struct ScrapeConfigEc2SdConfigsSecretKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1963,8 +2183,12 @@ pub struct ScrapeConfigEurekaSdConfigsAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1992,8 +2216,12 @@ pub struct ScrapeConfigEurekaSdConfigsBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2008,8 +2236,12 @@ pub struct ScrapeConfigEurekaSdConfigsBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2059,8 +2291,12 @@ pub struct ScrapeConfigEurekaSdConfigsOauth2ClientIdConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2074,8 +2310,12 @@ pub struct ScrapeConfigEurekaSdConfigsOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2090,8 +2330,12 @@ pub struct ScrapeConfigEurekaSdConfigsOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2105,8 +2349,12 @@ pub struct ScrapeConfigEurekaSdConfigsProxyConnectHeader { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2151,8 +2399,12 @@ pub struct ScrapeConfigEurekaSdConfigsTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2166,8 +2418,12 @@ pub struct ScrapeConfigEurekaSdConfigsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2192,8 +2448,12 @@ pub struct ScrapeConfigEurekaSdConfigsTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2207,8 +2467,12 @@ pub struct ScrapeConfigEurekaSdConfigsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2222,8 +2486,12 @@ pub struct ScrapeConfigEurekaSdConfigsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2371,8 +2639,12 @@ pub struct ScrapeConfigHetznerSdConfigsAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2401,8 +2673,12 @@ pub struct ScrapeConfigHetznerSdConfigsBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2417,8 +2693,12 @@ pub struct ScrapeConfigHetznerSdConfigsBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2468,8 +2748,12 @@ pub struct ScrapeConfigHetznerSdConfigsOauth2ClientIdConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2483,8 +2767,12 @@ pub struct ScrapeConfigHetznerSdConfigsOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2499,8 +2787,12 @@ pub struct ScrapeConfigHetznerSdConfigsOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2514,8 +2806,12 @@ pub struct ScrapeConfigHetznerSdConfigsProxyConnectHeader { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2575,8 +2871,12 @@ pub struct ScrapeConfigHetznerSdConfigsTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2590,8 +2890,12 @@ pub struct ScrapeConfigHetznerSdConfigsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2616,8 +2920,12 @@ pub struct ScrapeConfigHetznerSdConfigsTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2631,8 +2939,12 @@ pub struct ScrapeConfigHetznerSdConfigsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2646,8 +2958,12 @@ pub struct ScrapeConfigHetznerSdConfigsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2728,8 +3044,12 @@ pub struct ScrapeConfigHttpSdConfigsAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2758,8 +3078,12 @@ pub struct ScrapeConfigHttpSdConfigsBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2774,8 +3098,12 @@ pub struct ScrapeConfigHttpSdConfigsBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2789,8 +3117,12 @@ pub struct ScrapeConfigHttpSdConfigsProxyConnectHeader { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2835,8 +3167,12 @@ pub struct ScrapeConfigHttpSdConfigsTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2850,8 +3186,12 @@ pub struct ScrapeConfigHttpSdConfigsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2876,8 +3216,12 @@ pub struct ScrapeConfigHttpSdConfigsTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2891,8 +3235,12 @@ pub struct ScrapeConfigHttpSdConfigsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2906,8 +3254,12 @@ pub struct ScrapeConfigHttpSdConfigsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3027,8 +3379,12 @@ pub struct ScrapeConfigKubernetesSdConfigsAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3057,8 +3413,12 @@ pub struct ScrapeConfigKubernetesSdConfigsBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3073,8 +3433,12 @@ pub struct ScrapeConfigKubernetesSdConfigsBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3136,8 +3500,12 @@ pub struct ScrapeConfigKubernetesSdConfigsOauth2ClientIdConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3151,8 +3519,12 @@ pub struct ScrapeConfigKubernetesSdConfigsOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3167,8 +3539,12 @@ pub struct ScrapeConfigKubernetesSdConfigsOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3182,8 +3558,12 @@ pub struct ScrapeConfigKubernetesSdConfigsProxyConnectHeader { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3286,8 +3666,12 @@ pub struct ScrapeConfigKubernetesSdConfigsTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3301,8 +3685,12 @@ pub struct ScrapeConfigKubernetesSdConfigsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3327,8 +3715,12 @@ pub struct ScrapeConfigKubernetesSdConfigsTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3342,8 +3734,12 @@ pub struct ScrapeConfigKubernetesSdConfigsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3357,8 +3753,12 @@ pub struct ScrapeConfigKubernetesSdConfigsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3453,8 +3853,12 @@ pub struct ScrapeConfigKumaSdConfigsAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3482,8 +3886,12 @@ pub struct ScrapeConfigKumaSdConfigsBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3498,8 +3906,12 @@ pub struct ScrapeConfigKumaSdConfigsBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3549,8 +3961,12 @@ pub struct ScrapeConfigKumaSdConfigsOauth2ClientIdConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3564,8 +3980,12 @@ pub struct ScrapeConfigKumaSdConfigsOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3580,8 +4000,12 @@ pub struct ScrapeConfigKumaSdConfigsOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3595,8 +4019,12 @@ pub struct ScrapeConfigKumaSdConfigsProxyConnectHeader { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3641,8 +4069,12 @@ pub struct ScrapeConfigKumaSdConfigsTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3656,8 +4088,12 @@ pub struct ScrapeConfigKumaSdConfigsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3682,8 +4118,12 @@ pub struct ScrapeConfigKumaSdConfigsTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3697,8 +4137,12 @@ pub struct ScrapeConfigKumaSdConfigsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3712,8 +4156,12 @@ pub struct ScrapeConfigKumaSdConfigsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3901,8 +4349,12 @@ pub struct ScrapeConfigOpenstackSdConfigsApplicationCredentialSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3932,8 +4384,12 @@ pub struct ScrapeConfigOpenstackSdConfigsPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3990,8 +4446,12 @@ pub struct ScrapeConfigOpenstackSdConfigsTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4005,8 +4465,12 @@ pub struct ScrapeConfigOpenstackSdConfigsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4031,8 +4495,12 @@ pub struct ScrapeConfigOpenstackSdConfigsTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4046,8 +4514,12 @@ pub struct ScrapeConfigOpenstackSdConfigsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4061,8 +4533,12 @@ pub struct ScrapeConfigOpenstackSdConfigsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4076,8 +4552,12 @@ pub struct ScrapeConfigProxyConnectHeader { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4243,8 +4723,12 @@ pub struct ScrapeConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4258,8 +4742,12 @@ pub struct ScrapeConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4284,8 +4772,12 @@ pub struct ScrapeConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4299,8 +4791,12 @@ pub struct ScrapeConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4314,8 +4810,12 @@ pub struct ScrapeConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined diff --git a/kube-custom-resources-rs/src/monitoring_coreos_com/v1beta1/alertmanagerconfigs.rs b/kube-custom-resources-rs/src/monitoring_coreos_com/v1beta1/alertmanagerconfigs.rs index c5d298045..745dc20ab 100644 --- a/kube-custom-resources-rs/src/monitoring_coreos_com/v1beta1/alertmanagerconfigs.rs +++ b/kube-custom-resources-rs/src/monitoring_coreos_com/v1beta1/alertmanagerconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1beta1/alertmanagerconfigs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -190,8 +190,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsApiUrl { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -254,8 +258,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigAuthorizationCrede /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -284,8 +292,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigBasicAuthPassword /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -300,8 +312,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigBasicAuthUsername /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -362,8 +378,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2ClientIdConf /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -377,8 +397,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2ClientIdSecr /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -393,8 +417,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2ClientSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -439,8 +467,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCaConfigM /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -454,8 +486,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCaSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -480,8 +516,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCertConfi /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -495,8 +535,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCertSecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -510,8 +554,12 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigKeySecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -640,8 +688,12 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -655,8 +707,12 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -681,8 +737,12 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCertConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -696,8 +756,12 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -711,8 +775,12 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -800,8 +868,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigAuthorizationCrede /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -830,8 +902,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigBasicAuthPassword /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -846,8 +922,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigBasicAuthUsername /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -908,8 +988,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2ClientIdConf /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -923,8 +1007,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2ClientIdSecr /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -939,8 +1027,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2ClientSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -985,8 +1077,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCaConfigM /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1000,8 +1096,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCaSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1026,8 +1126,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCertConfi /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1041,8 +1145,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCertSecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1056,8 +1164,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigKeySecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1071,8 +1183,12 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsWebhookUrl { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1205,8 +1321,12 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigAuthorizationCred /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1235,8 +1355,12 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigBasicAuthPassword /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1251,8 +1375,12 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigBasicAuthUsername /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1313,8 +1441,12 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2ClientIdCon /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1328,8 +1460,12 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2ClientIdSec /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1344,8 +1480,12 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2ClientSecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1390,8 +1530,12 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCaConfig /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1405,8 +1549,12 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCaSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1431,8 +1579,12 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCertConf /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1446,8 +1598,12 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCertSecr /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1461,8 +1617,12 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigKeySecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1557,6 +1717,9 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigs { /// Severity of the incident. #[serde(default, skip_serializing_if = "Option::is_none")] pub severity: Option, + /// Unique location of the affected system. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub source: Option, /// The URL to send requests to. #[serde(default, skip_serializing_if = "Option::is_none")] pub url: Option, @@ -1626,8 +1789,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigAuthorizationCre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1656,8 +1823,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigBasicAuthPasswor /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1672,8 +1843,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigBasicAuthUsernam /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1734,8 +1909,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2ClientIdCo /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1749,8 +1928,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2ClientIdSe /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1765,8 +1948,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2ClientSecr /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1811,8 +1998,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCaConfi /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1826,8 +2017,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCaSecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1852,8 +2047,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCertCon /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1867,8 +2066,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCertSec /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1882,8 +2085,12 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigKeySecr /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2062,8 +2269,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigAuthorizationCred /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2092,8 +2303,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigBasicAuthPassword /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2108,8 +2323,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigBasicAuthUsername /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2170,8 +2389,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2ClientIdCon /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2185,8 +2408,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2ClientIdSec /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2201,8 +2428,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2ClientSecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2247,8 +2478,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCaConfig /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2262,8 +2497,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCaSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2288,8 +2527,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCertConf /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2303,8 +2546,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCertSecr /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2318,8 +2565,12 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigKeySecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2529,8 +2780,12 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigAuthorizationCredent /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2559,8 +2814,12 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2575,8 +2834,12 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2637,8 +2900,12 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2ClientIdConfig /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2652,8 +2919,12 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2ClientIdSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2668,8 +2939,12 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2714,8 +2989,12 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCaConfigMap /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2729,8 +3008,12 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2755,8 +3038,12 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCertConfigM /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -2770,8 +3057,12 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCertSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2785,8 +3076,12 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2889,8 +3184,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigAuthorizationCredentia /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2919,8 +3218,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2935,8 +3238,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -2997,8 +3304,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2ClientIdConfigMa /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3012,8 +3323,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3028,8 +3343,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3074,8 +3393,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3089,8 +3412,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3115,8 +3442,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCertConfigMap /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3130,8 +3461,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3145,8 +3480,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3183,8 +3522,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsSigv4AccessKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3199,8 +3542,12 @@ pub struct AlertmanagerConfigReceiversSnsConfigsSigv4SecretKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3320,8 +3667,12 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigAuthorizationCred /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3350,8 +3701,12 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigBasicAuthPassword /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3366,8 +3721,12 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigBasicAuthUsername /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3428,8 +3787,12 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2ClientIdCon /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3443,8 +3806,12 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2ClientIdSec /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3459,8 +3826,12 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2ClientSecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3505,8 +3876,12 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCaConfig /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3520,8 +3895,12 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCaSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3546,8 +3925,12 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCertConf /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3561,8 +3944,12 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCertSecr /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3576,8 +3963,12 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigKeySecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3708,8 +4099,12 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigAuthorizationCre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3738,8 +4133,12 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigBasicAuthPasswor /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3754,8 +4153,12 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigBasicAuthUsernam /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3816,8 +4219,12 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2ClientIdCo /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3831,8 +4238,12 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2ClientIdSe /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3847,8 +4258,12 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2ClientSecr /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3893,8 +4308,12 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCaConfi /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3908,8 +4327,12 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCaSecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3934,8 +4357,12 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCertCon /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -3949,8 +4376,12 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCertSec /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -3964,8 +4395,12 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigKeySecr /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4051,8 +4486,12 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigAuthorizationCredent /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4081,8 +4520,12 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4097,8 +4540,12 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4159,8 +4606,12 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2ClientIdConfig /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4174,8 +4625,12 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2ClientIdSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4190,8 +4645,12 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4236,8 +4695,12 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCaConfigMap /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4251,8 +4714,12 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4277,8 +4744,12 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCertConfigM /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4292,8 +4763,12 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCertSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4307,8 +4782,12 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4397,8 +4876,12 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigAuthorizationCrede /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4427,8 +4910,12 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigBasicAuthPassword /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4443,8 +4930,12 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigBasicAuthUsername /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4505,8 +4996,12 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2ClientIdConf /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4520,8 +5015,12 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2ClientIdSecr /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4536,8 +5035,12 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2ClientSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4582,8 +5085,12 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCaConfigM /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4597,8 +5104,12 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCaSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4623,8 +5134,12 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCertConfi /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4638,8 +5153,12 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCertSecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4653,8 +5172,12 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigKeySecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4777,8 +5300,12 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigAuthorizationCreden /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4807,8 +5334,12 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4823,8 +5354,12 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4885,8 +5420,12 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2ClientIdConfi /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4900,8 +5439,12 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2ClientIdSecre /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4916,8 +5459,12 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2ClientSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -4962,8 +5509,12 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCaConfigMa /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -4977,8 +5528,12 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5003,8 +5558,12 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCertConfig /// The key to select. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -5018,8 +5577,12 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCertSecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -5033,8 +5596,12 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigKeySecret /// The key of the secret to select from. Must be a valid secret key. pub key: String, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined diff --git a/kube-custom-resources-rs/src/monocle_monocle_change_metrics_io/v1alpha1/monocles.rs b/kube-custom-resources-rs/src/monocle_monocle_change_metrics_io/v1alpha1/monocles.rs index a49e2e3d0..d8df31bd2 100644 --- a/kube-custom-resources-rs/src/monocle_monocle_change_metrics_io/v1alpha1/monocles.rs +++ b/kube-custom-resources-rs/src/monocle_monocle_change_metrics_io/v1alpha1/monocles.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/change-metrics/monocle-operator/monocle.monocle.change-metrics.io/v1alpha1/monocles.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/mq_services_k8s_aws/v1alpha1/brokers.rs b/kube-custom-resources-rs/src/mq_services_k8s_aws/v1alpha1/brokers.rs index 6c0ccd7b7..072cf20dd 100644 --- a/kube-custom-resources-rs/src/mq_services_k8s_aws/v1alpha1/brokers.rs +++ b/kube-custom-resources-rs/src/mq_services_k8s_aws/v1alpha1/brokers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/mq-controller/mq.services.k8s.aws/v1alpha1/brokers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/clusterinfoimports.rs b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/clusterinfoimports.rs index 9fe483b64..7696204b3 100644 --- a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/clusterinfoimports.rs +++ b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/clusterinfoimports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/clusterinfoimports.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/clustersets.rs b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/clustersets.rs index b9a69eafa..76523a494 100644 --- a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/clustersets.rs +++ b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/clustersets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/clustersets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/gateways.rs b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/gateways.rs index ed93e8f2a..038043251 100644 --- a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/gateways.rs +++ b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/gateways.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/gateways.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/labelidentities.rs b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/labelidentities.rs index 11d9627fd..fc2e79567 100644 --- a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/labelidentities.rs +++ b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/labelidentities.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/labelidentities.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/memberclusterannounces.rs b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/memberclusterannounces.rs index 57b408362..afa12fa05 100644 --- a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/memberclusterannounces.rs +++ b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/memberclusterannounces.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/memberclusterannounces.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/multiclusterconfigs.rs b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/multiclusterconfigs.rs index 9b32f7fc4..d74a8279c 100644 --- a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/multiclusterconfigs.rs +++ b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/multiclusterconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/multiclusterconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/resourceexports.rs b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/resourceexports.rs index caa1353a8..8d7af0afd 100644 --- a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/resourceexports.rs +++ b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/resourceexports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/resourceexports.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/resourceimports.rs b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/resourceimports.rs index b34a74932..f0c8f03d5 100644 --- a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/resourceimports.rs +++ b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/resourceimports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/resourceimports.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha2/clusterclaims.rs b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha2/clusterclaims.rs index 655946130..6335ce642 100644 --- a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha2/clusterclaims.rs +++ b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha2/clusterclaims.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha2/clusterclaims.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha2/clustersets.rs b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha2/clustersets.rs index 8295bb69e..71615b0b9 100644 --- a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha2/clustersets.rs +++ b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha2/clustersets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha2/clustersets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/multicluster_x_k8s_io/v1alpha1/appliedworks.rs b/kube-custom-resources-rs/src/multicluster_x_k8s_io/v1alpha1/appliedworks.rs index e20b5f3c5..1bcde4360 100644 --- a/kube-custom-resources-rs/src/multicluster_x_k8s_io/v1alpha1/appliedworks.rs +++ b/kube-custom-resources-rs/src/multicluster_x_k8s_io/v1alpha1/appliedworks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/work-api/multicluster.x-k8s.io/v1alpha1/appliedworks.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/multicluster_x_k8s_io/v1alpha1/serviceexports.rs b/kube-custom-resources-rs/src/multicluster_x_k8s_io/v1alpha1/serviceexports.rs index b69bebdd6..b9e490c8a 100644 --- a/kube-custom-resources-rs/src/multicluster_x_k8s_io/v1alpha1/serviceexports.rs +++ b/kube-custom-resources-rs/src/multicluster_x_k8s_io/v1alpha1/serviceexports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/mcs-api/multicluster.x-k8s.io/v1alpha1/serviceexports.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -10,7 +10,10 @@ mod prelude { } use self::prelude::*; -/// status describes the current state of an exported service. Service configuration comes from the Service that had the same name and namespace as this ServiceExport. Populated by the multi-cluster service implementation's controller. +/// status describes the current state of an exported service. +/// Service configuration comes from the Service that had the same +/// name and namespace as this ServiceExport. +/// Populated by the multi-cluster service implementation's controller. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ServiceExportStatus { #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/multicluster_x_k8s_io/v1alpha1/serviceimports.rs b/kube-custom-resources-rs/src/multicluster_x_k8s_io/v1alpha1/serviceimports.rs index 1d448859e..00849c97f 100644 --- a/kube-custom-resources-rs/src/multicluster_x_k8s_io/v1alpha1/serviceimports.rs +++ b/kube-custom-resources-rs/src/multicluster_x_k8s_io/v1alpha1/serviceimports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/mcs-api/multicluster.x-k8s.io/v1alpha1/serviceimports.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -21,13 +21,19 @@ pub struct ServiceImportSpec { #[serde(default, skip_serializing_if = "Option::is_none")] pub ips: Option>, pub ports: Vec, - /// Supports "ClientIP" and "None". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. Ignored when type is Headless More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies + /// Supports "ClientIP" and "None". Used to maintain session affinity. + /// Enable client IP based session affinity. + /// Must be ClientIP or None. + /// Defaults to None. + /// Ignored when type is Headless + /// More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies #[serde(default, skip_serializing_if = "Option::is_none", rename = "sessionAffinity")] pub session_affinity: Option, /// sessionAffinityConfig contains session affinity configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "sessionAffinityConfig")] pub session_affinity_config: Option, - /// type defines the type of this service. Must be ClusterSetIP or Headless. + /// type defines the type of this service. + /// Must be ClusterSetIP or Headless. #[serde(rename = "type")] pub r#type: ServiceImportType, } @@ -35,15 +41,36 @@ pub struct ServiceImportSpec { /// ServicePort represents the port on which the service is exposed #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ServiceImportPorts { - /// The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. Field can be enabled with ServiceAppProtocol feature gate. + /// The application protocol for this port. + /// This is used as a hint for implementations to offer richer behavior for protocols that they understand. + /// This field follows standard Kubernetes label syntax. + /// Valid values are either: + /// + /// + /// * Un-prefixed protocol names - reserved for IANA standard service names (as per + /// RFC-6335 and https://www.iana.org/assignments/service-names). + /// + /// + /// * Kubernetes-defined prefixed names: + /// * 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540 + /// + /// + /// * Other protocols should use implementation-defined prefixed names such as + /// mycompany.com/my-custom-protocol. + /// Field can be enabled with ServiceAppProtocol feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "appProtocol")] pub app_protocol: Option, - /// The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service. + /// The name of this port within the service. This must be a DNS_LABEL. + /// All ports within a ServiceSpec must have unique names. When considering + /// the endpoints for a Service, this must match the 'name' field in the + /// EndpointPort. + /// Optional if only one ServicePort is defined on this service. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// The port that will be exposed by this service. pub port: i32, - /// The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". Default is TCP. + /// The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". + /// Default is TCP. #[serde(default, skip_serializing_if = "Option::is_none")] pub protocol: Option, } @@ -59,7 +86,9 @@ pub struct ServiceImportSessionAffinityConfig { /// clientIP contains the configurations of Client IP based session affinity. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ServiceImportSessionAffinityConfigClientIp { - /// timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". Default value is 10800(for 3 hours). + /// timeoutSeconds specifies the seconds of ClientIP type session sticky time. + /// The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". + /// Default value is 10800(for 3 hours). #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] pub timeout_seconds: Option, } @@ -72,10 +101,12 @@ pub enum ServiceImportType { Headless, } -/// status contains information about the exported services that form the multi-cluster service referenced by this ServiceImport. +/// status contains information about the exported services that form +/// the multi-cluster service referenced by this ServiceImport. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ServiceImportStatus { - /// clusters is the list of exporting clusters from which this service was derived. + /// clusters is the list of exporting clusters from which this service + /// was derived. #[serde(default, skip_serializing_if = "Option::is_none")] pub clusters: Option>, } @@ -83,7 +114,8 @@ pub struct ServiceImportStatus { /// ClusterStatus contains service configuration mapped to a specific source cluster #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ServiceImportStatusClusters { - /// cluster is the name of the exporting cluster. Must be a valid RFC-1123 DNS label. + /// cluster is the name of the exporting cluster. Must be a valid RFC-1123 DNS + /// label. pub cluster: String, } diff --git a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1/assign.rs b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1/assign.rs index 30322b692..1100fd14e 100644 --- a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1/assign.rs +++ b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1/assign.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1/assign.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1/assignmetadata.rs b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1/assignmetadata.rs index 5dd81dc36..5a133e99e 100644 --- a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1/assignmetadata.rs +++ b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1/assignmetadata.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1/assignmetadata.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1/modifyset.rs b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1/modifyset.rs index 724807380..ed66981c1 100644 --- a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1/modifyset.rs +++ b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1/modifyset.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1/modifyset.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/assign.rs b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/assign.rs index 9641669f7..dcc6ffc4d 100644 --- a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/assign.rs +++ b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/assign.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1alpha1/assign.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/assignimage.rs b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/assignimage.rs index 1d831f356..cd4717edb 100644 --- a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/assignimage.rs +++ b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/assignimage.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1alpha1/assignimage.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/assignmetadata.rs b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/assignmetadata.rs index a040c5a5e..15becba52 100644 --- a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/assignmetadata.rs +++ b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/assignmetadata.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1alpha1/assignmetadata.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/modifyset.rs b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/modifyset.rs index c906f9eba..c9d190d67 100644 --- a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/modifyset.rs +++ b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/modifyset.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1alpha1/modifyset.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1beta1/assign.rs b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1beta1/assign.rs index b29c9feef..f372370eb 100644 --- a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1beta1/assign.rs +++ b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1beta1/assign.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1beta1/assign.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1beta1/assignmetadata.rs b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1beta1/assignmetadata.rs index 04b0b93b1..b212eb0fb 100644 --- a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1beta1/assignmetadata.rs +++ b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1beta1/assignmetadata.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1beta1/assignmetadata.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1beta1/modifyset.rs b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1beta1/modifyset.rs index 2b86aeafe..552e4cc38 100644 --- a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1beta1/modifyset.rs +++ b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1beta1/modifyset.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1beta1/modifyset.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/nativestor_alauda_io/v1/rawdevices.rs b/kube-custom-resources-rs/src/nativestor_alauda_io/v1/rawdevices.rs index 38e214c8e..4bc106f99 100644 --- a/kube-custom-resources-rs/src/nativestor_alauda_io/v1/rawdevices.rs +++ b/kube-custom-resources-rs/src/nativestor_alauda_io/v1/rawdevices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/alauda/nativestor/nativestor.alauda.io/v1/rawdevices.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/netchecks_io/v1/networkassertions.rs b/kube-custom-resources-rs/src/netchecks_io/v1/networkassertions.rs index d7867dff9..5503e1d20 100644 --- a/kube-custom-resources-rs/src/netchecks_io/v1/networkassertions.rs +++ b/kube-custom-resources-rs/src/netchecks_io/v1/networkassertions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/hardbyte/netchecks/netchecks.io/v1/networkassertions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networkfirewall_services_k8s_aws/v1alpha1/firewallpolicies.rs b/kube-custom-resources-rs/src/networkfirewall_services_k8s_aws/v1alpha1/firewallpolicies.rs index b7d699e0e..76f4546e8 100644 --- a/kube-custom-resources-rs/src/networkfirewall_services_k8s_aws/v1alpha1/firewallpolicies.rs +++ b/kube-custom-resources-rs/src/networkfirewall_services_k8s_aws/v1alpha1/firewallpolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/networkfirewall-controller/networkfirewall.services.k8s.aws/v1alpha1/firewallpolicies.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networkfirewall_services_k8s_aws/v1alpha1/firewalls.rs b/kube-custom-resources-rs/src/networkfirewall_services_k8s_aws/v1alpha1/firewalls.rs index 8beda403d..dc183d08c 100644 --- a/kube-custom-resources-rs/src/networkfirewall_services_k8s_aws/v1alpha1/firewalls.rs +++ b/kube-custom-resources-rs/src/networkfirewall_services_k8s_aws/v1alpha1/firewalls.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/networkfirewall-controller/networkfirewall.services.k8s.aws/v1alpha1/firewalls.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networkfirewall_services_k8s_aws/v1alpha1/rulegroups.rs b/kube-custom-resources-rs/src/networkfirewall_services_k8s_aws/v1alpha1/rulegroups.rs index 6b37dda83..965bb2480 100644 --- a/kube-custom-resources-rs/src/networkfirewall_services_k8s_aws/v1alpha1/rulegroups.rs +++ b/kube-custom-resources-rs/src/networkfirewall_services_k8s_aws/v1alpha1/rulegroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/networkfirewall-controller/networkfirewall.services.k8s.aws/v1alpha1/rulegroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_gke_io/v1/managedcertificates.rs b/kube-custom-resources-rs/src/networking_gke_io/v1/managedcertificates.rs index 81f0646bb..a36602a1b 100644 --- a/kube-custom-resources-rs/src/networking_gke_io/v1/managedcertificates.rs +++ b/kube-custom-resources-rs/src/networking_gke_io/v1/managedcertificates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/gke-managed-certs/networking.gke.io/v1/managedcertificates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1/destinationrules.rs b/kube-custom-resources-rs/src/networking_istio_io/v1/destinationrules.rs index c6a50fc39..e7f11f196 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1/destinationrules.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1/destinationrules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1/destinationrules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1/gateways.rs b/kube-custom-resources-rs/src/networking_istio_io/v1/gateways.rs index dbf15d2ab..64c8c4710 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1/gateways.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1/gateways.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1/gateways.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1/serviceentries.rs b/kube-custom-resources-rs/src/networking_istio_io/v1/serviceentries.rs index 97d343254..35c9fa08d 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1/serviceentries.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1/serviceentries.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1/serviceentries.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1/sidecars.rs b/kube-custom-resources-rs/src/networking_istio_io/v1/sidecars.rs index b234782ae..398b0c533 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1/sidecars.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1/sidecars.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1/sidecars.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1/virtualservices.rs b/kube-custom-resources-rs/src/networking_istio_io/v1/virtualservices.rs index 9599a700a..d8ac6ada1 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1/virtualservices.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1/virtualservices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1/virtualservices.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1/workloadentries.rs b/kube-custom-resources-rs/src/networking_istio_io/v1/workloadentries.rs index 56a46fe3f..3f7eddc3b 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1/workloadentries.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1/workloadentries.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1/workloadentries.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1/workloadgroups.rs b/kube-custom-resources-rs/src/networking_istio_io/v1/workloadgroups.rs index bd6e3c9c2..a2d739c50 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1/workloadgroups.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1/workloadgroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1/workloadgroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/destinationrules.rs b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/destinationrules.rs index 8f6cb8e48..823a6b683 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/destinationrules.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/destinationrules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1alpha3/destinationrules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/envoyfilters.rs b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/envoyfilters.rs index 2b196abed..9aafa0a7d 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/envoyfilters.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/envoyfilters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1alpha3/envoyfilters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/gateways.rs b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/gateways.rs index 36c559466..379fe3b21 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/gateways.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/gateways.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1alpha3/gateways.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/serviceentries.rs b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/serviceentries.rs index bd80466bc..3584f80c3 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/serviceentries.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/serviceentries.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1alpha3/serviceentries.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/sidecars.rs b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/sidecars.rs index b17d91673..c991ca7ad 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/sidecars.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/sidecars.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1alpha3/sidecars.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/virtualservices.rs b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/virtualservices.rs index badf3a4c2..1dd36dc90 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/virtualservices.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/virtualservices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1alpha3/virtualservices.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/workloadentries.rs b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/workloadentries.rs index fe0e4fef7..63b24f4d7 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/workloadentries.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/workloadentries.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1alpha3/workloadentries.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/workloadgroups.rs b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/workloadgroups.rs index 46c46abcc..d851f3b1f 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/workloadgroups.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/workloadgroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1alpha3/workloadgroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/destinationrules.rs b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/destinationrules.rs index f22d1fe1a..35e3a183e 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/destinationrules.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/destinationrules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1beta1/destinationrules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/gateways.rs b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/gateways.rs index aa24d8266..a5ae60965 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/gateways.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/gateways.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1beta1/gateways.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/proxyconfigs.rs b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/proxyconfigs.rs index ef72ff61d..170739026 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/proxyconfigs.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/proxyconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1beta1/proxyconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/serviceentries.rs b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/serviceentries.rs index c2be41052..376260511 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/serviceentries.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/serviceentries.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1beta1/serviceentries.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/sidecars.rs b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/sidecars.rs index bc88196cc..7746eb7c2 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/sidecars.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/sidecars.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1beta1/sidecars.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/virtualservices.rs b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/virtualservices.rs index 1357e1d3b..12db76c4a 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/virtualservices.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/virtualservices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1beta1/virtualservices.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/workloadentries.rs b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/workloadentries.rs index eac0db3aa..4e589816a 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/workloadentries.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/workloadentries.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1beta1/workloadentries.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/workloadgroups.rs b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/workloadgroups.rs index f668833eb..420f91557 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/workloadgroups.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/workloadgroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1beta1/workloadgroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_k8s_aws/v1alpha1/policyendpoints.rs b/kube-custom-resources-rs/src/networking_k8s_aws/v1alpha1/policyendpoints.rs index 7c02d003d..b0fe483f1 100644 --- a/kube-custom-resources-rs/src/networking_k8s_aws/v1alpha1/policyendpoints.rs +++ b/kube-custom-resources-rs/src/networking_k8s_aws/v1alpha1/policyendpoints.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/amazon-network-policy-controller-k8s/networking.k8s.aws/v1alpha1/policyendpoints.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_karmada_io/v1alpha1/multiclusteringresses.rs b/kube-custom-resources-rs/src/networking_karmada_io/v1alpha1/multiclusteringresses.rs index a043c0449..f42e99b9e 100644 --- a/kube-custom-resources-rs/src/networking_karmada_io/v1alpha1/multiclusteringresses.rs +++ b/kube-custom-resources-rs/src/networking_karmada_io/v1alpha1/multiclusteringresses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/networking.karmada.io/v1alpha1/multiclusteringresses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/networking_karmada_io/v1alpha1/multiclusterservices.rs b/kube-custom-resources-rs/src/networking_karmada_io/v1alpha1/multiclusterservices.rs index 4b6f4a974..98d2d5c4e 100644 --- a/kube-custom-resources-rs/src/networking_karmada_io/v1alpha1/multiclusterservices.rs +++ b/kube-custom-resources-rs/src/networking_karmada_io/v1alpha1/multiclusterservices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/networking.karmada.io/v1alpha1/multiclusterservices.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/nfd_k8s_sigs_io/v1alpha1/nodefeaturerules.rs b/kube-custom-resources-rs/src/nfd_k8s_sigs_io/v1alpha1/nodefeaturerules.rs index b83b34260..842ccd051 100644 --- a/kube-custom-resources-rs/src/nfd_k8s_sigs_io/v1alpha1/nodefeaturerules.rs +++ b/kube-custom-resources-rs/src/nfd_k8s_sigs_io/v1alpha1/nodefeaturerules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/nfd.k8s-sigs.io/v1alpha1/nodefeaturerules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/nfd_kubernetes_io/v1/nodefeaturediscoveries.rs b/kube-custom-resources-rs/src/nfd_kubernetes_io/v1/nodefeaturediscoveries.rs index f9ec3edce..093f8d59e 100644 --- a/kube-custom-resources-rs/src/nfd_kubernetes_io/v1/nodefeaturediscoveries.rs +++ b/kube-custom-resources-rs/src/nfd_kubernetes_io/v1/nodefeaturediscoveries.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/node-feature-discovery-operator/nfd.kubernetes.io/v1/nodefeaturediscoveries.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/nfd_kubernetes_io/v1alpha1/nodefeaturerules.rs b/kube-custom-resources-rs/src/nfd_kubernetes_io/v1alpha1/nodefeaturerules.rs index e7af3d760..1cdef4494 100644 --- a/kube-custom-resources-rs/src/nfd_kubernetes_io/v1alpha1/nodefeaturerules.rs +++ b/kube-custom-resources-rs/src/nfd_kubernetes_io/v1alpha1/nodefeaturerules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/node-feature-discovery-operator/nfd.kubernetes.io/v1alpha1/nodefeaturerules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/nodeinfo_volcano_sh/v1alpha1/numatopologies.rs b/kube-custom-resources-rs/src/nodeinfo_volcano_sh/v1alpha1/numatopologies.rs index 5dbc2fc4e..fc1912008 100644 --- a/kube-custom-resources-rs/src/nodeinfo_volcano_sh/v1alpha1/numatopologies.rs +++ b/kube-custom-resources-rs/src/nodeinfo_volcano_sh/v1alpha1/numatopologies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/volcano-sh/volcano/nodeinfo.volcano.sh/v1alpha1/numatopologies.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/notebook_kubedl_io/v1alpha1/notebooks.rs b/kube-custom-resources-rs/src/notebook_kubedl_io/v1alpha1/notebooks.rs index 20a3e82c2..9257f03b8 100644 --- a/kube-custom-resources-rs/src/notebook_kubedl_io/v1alpha1/notebooks.rs +++ b/kube-custom-resources-rs/src/notebook_kubedl_io/v1alpha1/notebooks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/notebook.kubedl.io/v1alpha1/notebooks.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1/receivers.rs b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1/receivers.rs index 8a60f584d..f94133436 100644 --- a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1/receivers.rs +++ b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1/receivers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1/receivers.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta1/alerts.rs b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta1/alerts.rs index cdc99faef..5aa2e0ded 100644 --- a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta1/alerts.rs +++ b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta1/alerts.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta1/alerts.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta1/providers.rs b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta1/providers.rs index 021ab0c78..e35a4a96c 100644 --- a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta1/providers.rs +++ b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta1/providers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta1/providers.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta1/receivers.rs b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta1/receivers.rs index e5bf163c8..5bb8f0654 100644 --- a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta1/receivers.rs +++ b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta1/receivers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta1/receivers.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta2/alerts.rs b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta2/alerts.rs index 3906d4557..fa9a1d1a7 100644 --- a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta2/alerts.rs +++ b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta2/alerts.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta2/alerts.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta2/providers.rs b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta2/providers.rs index 20fbda35e..2be709c43 100644 --- a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta2/providers.rs +++ b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta2/providers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta2/providers.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta2/receivers.rs b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta2/receivers.rs index ee44909ab..fb1a4079a 100644 --- a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta2/receivers.rs +++ b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta2/receivers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta2/receivers.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta3/alerts.rs b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta3/alerts.rs index 45eb8ca3f..7fb1db821 100644 --- a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta3/alerts.rs +++ b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta3/alerts.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta3/alerts.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta3/providers.rs b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta3/providers.rs index 470160509..abd8bd412 100644 --- a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta3/providers.rs +++ b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta3/providers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta3/providers.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/objectbucket_io/v1alpha1/objectbucketclaims.rs b/kube-custom-resources-rs/src/objectbucket_io/v1alpha1/objectbucketclaims.rs index 402d68f99..13ef4b683 100644 --- a/kube-custom-resources-rs/src/objectbucket_io/v1alpha1/objectbucketclaims.rs +++ b/kube-custom-resources-rs/src/objectbucket_io/v1alpha1/objectbucketclaims.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/rook/rook/objectbucket.io/v1alpha1/objectbucketclaims.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/objectbucket_io/v1alpha1/objectbuckets.rs b/kube-custom-resources-rs/src/objectbucket_io/v1alpha1/objectbuckets.rs index a1e061c34..c8ce6af1a 100644 --- a/kube-custom-resources-rs/src/objectbucket_io/v1alpha1/objectbuckets.rs +++ b/kube-custom-resources-rs/src/objectbucket_io/v1alpha1/objectbuckets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/rook/rook/objectbucket.io/v1alpha1/objectbuckets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/onepassword_com/v1/onepassworditems.rs b/kube-custom-resources-rs/src/onepassword_com/v1/onepassworditems.rs index f7791849e..84abbe9b7 100644 --- a/kube-custom-resources-rs/src/onepassword_com/v1/onepassworditems.rs +++ b/kube-custom-resources-rs/src/onepassword_com/v1/onepassworditems.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/1Password/onepassword-operator/onepassword.com/v1/onepassworditems.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/opensearchservice_services_k8s_aws/v1alpha1/domains.rs b/kube-custom-resources-rs/src/opensearchservice_services_k8s_aws/v1alpha1/domains.rs index f365b632c..2c3cf2886 100644 --- a/kube-custom-resources-rs/src/opensearchservice_services_k8s_aws/v1alpha1/domains.rs +++ b/kube-custom-resources-rs/src/opensearchservice_services_k8s_aws/v1alpha1/domains.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/opensearchservice-controller/opensearchservice.services.k8s.aws/v1alpha1/domains.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/opentelemetry_io/v1alpha1/instrumentations.rs b/kube-custom-resources-rs/src/opentelemetry_io/v1alpha1/instrumentations.rs index bf3d43ec7..95388aa07 100644 --- a/kube-custom-resources-rs/src/opentelemetry_io/v1alpha1/instrumentations.rs +++ b/kube-custom-resources-rs/src/opentelemetry_io/v1alpha1/instrumentations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-telemetry/opentelemetry-operator/opentelemetry.io/v1alpha1/instrumentations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/opentelemetry_io/v1alpha1/opampbridges.rs b/kube-custom-resources-rs/src/opentelemetry_io/v1alpha1/opampbridges.rs index e5149793e..aeeca6e2a 100644 --- a/kube-custom-resources-rs/src/opentelemetry_io/v1alpha1/opampbridges.rs +++ b/kube-custom-resources-rs/src/opentelemetry_io/v1alpha1/opampbridges.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-telemetry/opentelemetry-operator/opentelemetry.io/v1alpha1/opampbridges.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/opentelemetry_io/v1alpha1/opentelemetrycollectors.rs b/kube-custom-resources-rs/src/opentelemetry_io/v1alpha1/opentelemetrycollectors.rs index 6a7438337..d73876aee 100644 --- a/kube-custom-resources-rs/src/opentelemetry_io/v1alpha1/opentelemetrycollectors.rs +++ b/kube-custom-resources-rs/src/opentelemetry_io/v1alpha1/opentelemetrycollectors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-telemetry/opentelemetry-operator/opentelemetry.io/v1alpha1/opentelemetrycollectors.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/opentelemetry_io/v1beta1/opentelemetrycollectors.rs b/kube-custom-resources-rs/src/opentelemetry_io/v1beta1/opentelemetrycollectors.rs index 4f8910ef5..685dc8987 100644 --- a/kube-custom-resources-rs/src/opentelemetry_io/v1beta1/opentelemetrycollectors.rs +++ b/kube-custom-resources-rs/src/opentelemetry_io/v1beta1/opentelemetrycollectors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-telemetry/opentelemetry-operator/opentelemetry.io/v1beta1/opentelemetrycollectors.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -29,6 +29,8 @@ pub struct OpenTelemetryCollectorSpec { #[serde(default, skip_serializing_if = "Option::is_none")] pub autoscaler: Option, pub config: OpenTelemetryCollectorConfig, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "configVersions")] + pub config_versions: Option, #[serde(default, skip_serializing_if = "Option::is_none")] pub configmaps: Option>, #[serde(default, skip_serializing_if = "Option::is_none", rename = "daemonSetUpdateStrategy")] diff --git a/kube-custom-resources-rs/src/operations_kubeedge_io/v1alpha1/nodeupgradejobs.rs b/kube-custom-resources-rs/src/operations_kubeedge_io/v1alpha1/nodeupgradejobs.rs index 1a87080ad..88651433a 100644 --- a/kube-custom-resources-rs/src/operations_kubeedge_io/v1alpha1/nodeupgradejobs.rs +++ b/kube-custom-resources-rs/src/operations_kubeedge_io/v1alpha1/nodeupgradejobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/operations.kubeedge.io/v1alpha1/nodeupgradejobs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquacsps.rs b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquacsps.rs index 7d2a39bfd..ed237871e 100644 --- a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquacsps.rs +++ b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquacsps.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/operator.aquasec.com/v1alpha1/aquacsps.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquadatabases.rs b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquadatabases.rs index 9e26a020d..0814d87cf 100644 --- a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquadatabases.rs +++ b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquadatabases.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/operator.aquasec.com/v1alpha1/aquadatabases.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquaenforcers.rs b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquaenforcers.rs index 6f360ab3f..61874fda0 100644 --- a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquaenforcers.rs +++ b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquaenforcers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/operator.aquasec.com/v1alpha1/aquaenforcers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquagateways.rs b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquagateways.rs index 370012530..37cd3845a 100644 --- a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquagateways.rs +++ b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquagateways.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/operator.aquasec.com/v1alpha1/aquagateways.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquakubeenforcers.rs b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquakubeenforcers.rs index 3ec4b8134..4bb5fe7d0 100644 --- a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquakubeenforcers.rs +++ b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquakubeenforcers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/operator.aquasec.com/v1alpha1/aquakubeenforcers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquascanners.rs b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquascanners.rs index 3884843c2..425d25659 100644 --- a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquascanners.rs +++ b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquascanners.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/operator.aquasec.com/v1alpha1/aquascanners.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquaservers.rs b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquaservers.rs index 60baad763..33ec554e1 100644 --- a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquaservers.rs +++ b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquaservers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/operator.aquasec.com/v1alpha1/aquaservers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_authorino_kuadrant_io/v1beta1/authorinos.rs b/kube-custom-resources-rs/src/operator_authorino_kuadrant_io/v1beta1/authorinos.rs index dd3b10a14..24d853108 100644 --- a/kube-custom-resources-rs/src/operator_authorino_kuadrant_io/v1beta1/authorinos.rs +++ b/kube-custom-resources-rs/src/operator_authorino_kuadrant_io/v1beta1/authorinos.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Kuadrant/authorino-operator/operator.authorino.kuadrant.io/v1beta1/authorinos.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/bootstrapproviders.rs b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/bootstrapproviders.rs index aa84cffff..4eadc21db 100644 --- a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/bootstrapproviders.rs +++ b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/bootstrapproviders.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha1/bootstrapproviders.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/controlplaneproviders.rs b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/controlplaneproviders.rs index 4b6bfda1d..4fd065d6a 100644 --- a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/controlplaneproviders.rs +++ b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/controlplaneproviders.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha1/controlplaneproviders.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/coreproviders.rs b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/coreproviders.rs index cebcde5a8..8b675c29f 100644 --- a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/coreproviders.rs +++ b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/coreproviders.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha1/coreproviders.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/infrastructureproviders.rs b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/infrastructureproviders.rs index c942950c1..fe7dcdf42 100644 --- a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/infrastructureproviders.rs +++ b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/infrastructureproviders.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha1/infrastructureproviders.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/addonproviders.rs b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/addonproviders.rs index e1e799cdc..77066de9e 100644 --- a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/addonproviders.rs +++ b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/addonproviders.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha2/addonproviders.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/bootstrapproviders.rs b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/bootstrapproviders.rs index f409d04e6..29d559129 100644 --- a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/bootstrapproviders.rs +++ b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/bootstrapproviders.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha2/bootstrapproviders.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/controlplaneproviders.rs b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/controlplaneproviders.rs index adf64d592..576e50eb9 100644 --- a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/controlplaneproviders.rs +++ b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/controlplaneproviders.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha2/controlplaneproviders.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/coreproviders.rs b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/coreproviders.rs index 079231318..2aadde84e 100644 --- a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/coreproviders.rs +++ b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/coreproviders.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha2/coreproviders.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/infrastructureproviders.rs b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/infrastructureproviders.rs index d4f67e365..5cd1945fb 100644 --- a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/infrastructureproviders.rs +++ b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/infrastructureproviders.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha2/infrastructureproviders.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_cryostat_io/v1beta1/cryostats.rs b/kube-custom-resources-rs/src/operator_cryostat_io/v1beta1/cryostats.rs index ec0a99912..2ae755c71 100644 --- a/kube-custom-resources-rs/src/operator_cryostat_io/v1beta1/cryostats.rs +++ b/kube-custom-resources-rs/src/operator_cryostat_io/v1beta1/cryostats.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cryostatio/cryostat-operator/operator.cryostat.io/v1beta1/cryostats.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_marin3r_3scale_net/v1alpha1/discoveryservicecertificates.rs b/kube-custom-resources-rs/src/operator_marin3r_3scale_net/v1alpha1/discoveryservicecertificates.rs index 3b1786413..193749681 100644 --- a/kube-custom-resources-rs/src/operator_marin3r_3scale_net/v1alpha1/discoveryservicecertificates.rs +++ b/kube-custom-resources-rs/src/operator_marin3r_3scale_net/v1alpha1/discoveryservicecertificates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/3scale-ops/marin3r/operator.marin3r.3scale.net/v1alpha1/discoveryservicecertificates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_marin3r_3scale_net/v1alpha1/discoveryservices.rs b/kube-custom-resources-rs/src/operator_marin3r_3scale_net/v1alpha1/discoveryservices.rs index f7e22f678..d90421896 100644 --- a/kube-custom-resources-rs/src/operator_marin3r_3scale_net/v1alpha1/discoveryservices.rs +++ b/kube-custom-resources-rs/src/operator_marin3r_3scale_net/v1alpha1/discoveryservices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/3scale-ops/marin3r/operator.marin3r.3scale.net/v1alpha1/discoveryservices.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_marin3r_3scale_net/v1alpha1/envoydeployments.rs b/kube-custom-resources-rs/src/operator_marin3r_3scale_net/v1alpha1/envoydeployments.rs index 2f2b86616..e613e96e7 100644 --- a/kube-custom-resources-rs/src/operator_marin3r_3scale_net/v1alpha1/envoydeployments.rs +++ b/kube-custom-resources-rs/src/operator_marin3r_3scale_net/v1alpha1/envoydeployments.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/3scale-ops/marin3r/operator.marin3r.3scale.net/v1alpha1/envoydeployments.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_open_cluster_management_io/v1/clustermanagers.rs b/kube-custom-resources-rs/src/operator_open_cluster_management_io/v1/clustermanagers.rs index 3b9a0a335..63f7b32c2 100644 --- a/kube-custom-resources-rs/src/operator_open_cluster_management_io/v1/clustermanagers.rs +++ b/kube-custom-resources-rs/src/operator_open_cluster_management_io/v1/clustermanagers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-cluster-management-io/ocm/operator.open-cluster-management.io/v1/clustermanagers.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_open_cluster_management_io/v1/klusterlets.rs b/kube-custom-resources-rs/src/operator_open_cluster_management_io/v1/klusterlets.rs index e41f29e6d..ee1713517 100644 --- a/kube-custom-resources-rs/src/operator_open_cluster_management_io/v1/klusterlets.rs +++ b/kube-custom-resources-rs/src/operator_open_cluster_management_io/v1/klusterlets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-cluster-management-io/ocm/operator.open-cluster-management.io/v1/klusterlets.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_shipwright_io/v1alpha1/shipwrightbuilds.rs b/kube-custom-resources-rs/src/operator_shipwright_io/v1alpha1/shipwrightbuilds.rs index 9debc1450..06269aca9 100644 --- a/kube-custom-resources-rs/src/operator_shipwright_io/v1alpha1/shipwrightbuilds.rs +++ b/kube-custom-resources-rs/src/operator_shipwright_io/v1alpha1/shipwrightbuilds.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/shipwright-io/operator/operator.shipwright.io/v1alpha1/shipwrightbuilds.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonchains.rs b/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonchains.rs index 0bea56094..c6f9ad5f8 100644 --- a/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonchains.rs +++ b/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonchains.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tektoncd/operator/operator.tekton.dev/v1alpha1/tektonchains.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonconfigs.rs b/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonconfigs.rs index 9081073a4..033b90238 100644 --- a/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonconfigs.rs +++ b/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tektoncd/operator/operator.tekton.dev/v1alpha1/tektonconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonhubs.rs b/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonhubs.rs index 99ede5f2c..fc74bc5bb 100644 --- a/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonhubs.rs +++ b/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonhubs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tektoncd/operator/operator.tekton.dev/v1alpha1/tektonhubs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektoninstallersets.rs b/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektoninstallersets.rs index fd0423f51..8d037dda6 100644 --- a/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektoninstallersets.rs +++ b/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektoninstallersets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tektoncd/operator/operator.tekton.dev/v1alpha1/tektoninstallersets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonpipelines.rs b/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonpipelines.rs index 8aa852df3..405700c1f 100644 --- a/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonpipelines.rs +++ b/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonpipelines.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tektoncd/operator/operator.tekton.dev/v1alpha1/tektonpipelines.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektontriggers.rs b/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektontriggers.rs index d5b59b4b0..19351a6e4 100644 --- a/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektontriggers.rs +++ b/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektontriggers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tektoncd/operator/operator.tekton.dev/v1alpha1/tektontriggers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/amazoncloudintegrations.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/amazoncloudintegrations.rs index 45c78ade8..54975aeeb 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/amazoncloudintegrations.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/amazoncloudintegrations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/amazoncloudintegrations.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/apiservers.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/apiservers.rs index 428be10d8..d7abea7bf 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/apiservers.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/apiservers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/apiservers.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/applicationlayers.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/applicationlayers.rs index 34930c6b1..3d319ea7e 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/applicationlayers.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/applicationlayers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/applicationlayers.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/authentications.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/authentications.rs index 7f3457a7c..07dce9923 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/authentications.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/authentications.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/authentications.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/compliances.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/compliances.rs index 13891fe3e..b86027af5 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/compliances.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/compliances.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/compliances.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/egressgateways.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/egressgateways.rs index 711647f7e..fd9981b92 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/egressgateways.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/egressgateways.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/egressgateways.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/imagesets.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/imagesets.rs index 2547198dc..b9205715c 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/imagesets.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/imagesets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/imagesets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/installations.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/installations.rs index 943a0cfc5..c0145799e 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/installations.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/installations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/installations.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/intrusiondetections.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/intrusiondetections.rs index ef4179681..761df8502 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/intrusiondetections.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/intrusiondetections.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/intrusiondetections.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/logcollectors.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/logcollectors.rs index 4b88b9179..33d2a472c 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/logcollectors.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/logcollectors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/logcollectors.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/logstorages.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/logstorages.rs index f95632437..f1e72524b 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/logstorages.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/logstorages.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/logstorages.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/managementclusterconnections.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/managementclusterconnections.rs index 7c210181c..1c6eaa1e9 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/managementclusterconnections.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/managementclusterconnections.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/managementclusterconnections.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/managementclusters.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/managementclusters.rs index dfcaa44d3..dfcf7f2a1 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/managementclusters.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/managementclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/managementclusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/managers.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/managers.rs index 696008f7a..6eaaf0fed 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/managers.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/managers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/managers.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/monitors.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/monitors.rs index 29903e241..302d889fd 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/monitors.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/monitors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/monitors.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/packetcaptures.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/packetcaptures.rs index 84abf1490..88609742f 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/packetcaptures.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/packetcaptures.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/packetcaptures.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/policyrecommendations.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/policyrecommendations.rs index 7aa6f1f6a..41903b09c 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/policyrecommendations.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/policyrecommendations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/policyrecommendations.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/tenants.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/tenants.rs index 0375211e3..0e4a825ac 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/tenants.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/tenants.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/tenants.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/tigerastatuses.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/tigerastatuses.rs index 80b973b34..875739197 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/tigerastatuses.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/tigerastatuses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/tigerastatuses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/tlspassthroughroutes.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/tlspassthroughroutes.rs index dbeb4c5e7..127a25c9a 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/tlspassthroughroutes.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/tlspassthroughroutes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/tlspassthroughroutes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/tlsterminatedroutes.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/tlsterminatedroutes.rs index a163c0b8d..771942126 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/tlsterminatedroutes.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/tlsterminatedroutes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/tlsterminatedroutes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1beta1/amazoncloudintegrations.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1beta1/amazoncloudintegrations.rs index ff3d1f577..d82697b4b 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1beta1/amazoncloudintegrations.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1beta1/amazoncloudintegrations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1beta1/amazoncloudintegrations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmalertmanagerconfigs.rs b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmalertmanagerconfigs.rs index e1fac573b..0c8f32e50 100644 --- a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmalertmanagerconfigs.rs +++ b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmalertmanagerconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/VictoriaMetrics/operator/operator.victoriametrics.com/v1beta1/vmalertmanagerconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmnodescrapes.rs b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmnodescrapes.rs index a0e72bcc4..fb601110d 100644 --- a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmnodescrapes.rs +++ b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmnodescrapes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/VictoriaMetrics/operator/operator.victoriametrics.com/v1beta1/vmnodescrapes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmpodscrapes.rs b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmpodscrapes.rs index e4dfc135e..75ff80b9e 100644 --- a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmpodscrapes.rs +++ b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmpodscrapes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/VictoriaMetrics/operator/operator.victoriametrics.com/v1beta1/vmpodscrapes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmprobes.rs b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmprobes.rs index 3d48644cc..9747510a0 100644 --- a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmprobes.rs +++ b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmprobes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/VictoriaMetrics/operator/operator.victoriametrics.com/v1beta1/vmprobes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmrules.rs b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmrules.rs index 7b1d0dbfe..178b1ada7 100644 --- a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmrules.rs +++ b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmrules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/VictoriaMetrics/operator/operator.victoriametrics.com/v1beta1/vmrules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmservicescrapes.rs b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmservicescrapes.rs index b98da0475..f9a66ca4a 100644 --- a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmservicescrapes.rs +++ b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmservicescrapes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/VictoriaMetrics/operator/operator.victoriametrics.com/v1beta1/vmservicescrapes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmstaticscrapes.rs b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmstaticscrapes.rs index 4b8dd5550..68c49f86f 100644 --- a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmstaticscrapes.rs +++ b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmstaticscrapes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/VictoriaMetrics/operator/operator.victoriametrics.com/v1beta1/vmstaticscrapes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmusers.rs b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmusers.rs index 0011bd05a..77d48bc26 100644 --- a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmusers.rs +++ b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmusers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/VictoriaMetrics/operator/operator.victoriametrics.com/v1beta1/vmusers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/backups.rs b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/backups.rs index c18893c6f..50b822ade 100644 --- a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/backups.rs +++ b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/backups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/backups.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/backupschedules.rs b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/backupschedules.rs index 30f24df3b..fc2440313 100644 --- a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/backupschedules.rs +++ b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/backupschedules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/backupschedules.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/configs.rs b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/configs.rs index 3c27578c1..9e846da5b 100644 --- a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/configs.rs +++ b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/configs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/configs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/cronanythings.rs b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/cronanythings.rs index 53af9b2f6..7b5594d02 100644 --- a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/cronanythings.rs +++ b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/cronanythings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/cronanythings.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/databases.rs b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/databases.rs index d48f497ad..90bc5a310 100644 --- a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/databases.rs +++ b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/databases.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/databases.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/exports.rs b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/exports.rs index 2609ed828..475bf8212 100644 --- a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/exports.rs +++ b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/exports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/exports.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/imports.rs b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/imports.rs index 0bc68b426..631b88fb2 100644 --- a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/imports.rs +++ b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/imports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/imports.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/pitrs.rs b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/pitrs.rs index de95a529b..2024c825f 100644 --- a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/pitrs.rs +++ b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/pitrs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/pitrs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/releases.rs b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/releases.rs index 222e238d1..46720722e 100644 --- a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/releases.rs +++ b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/releases.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/releases.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/org_eclipse_che/v1/checlusters.rs b/kube-custom-resources-rs/src/org_eclipse_che/v1/checlusters.rs index 5198ceb57..07a6b6e16 100644 --- a/kube-custom-resources-rs/src/org_eclipse_che/v1/checlusters.rs +++ b/kube-custom-resources-rs/src/org_eclipse_che/v1/checlusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/eclipse-che/che-operator/org.eclipse.che/v1/checlusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/org_eclipse_che/v2/checlusters.rs b/kube-custom-resources-rs/src/org_eclipse_che/v2/checlusters.rs index 23edec77f..01b0cad87 100644 --- a/kube-custom-resources-rs/src/org_eclipse_che/v2/checlusters.rs +++ b/kube-custom-resources-rs/src/org_eclipse_che/v2/checlusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/eclipse-che/che-operator/org.eclipse.che/v2/checlusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -942,7 +942,7 @@ pub struct CheClusterDevEnvironments { /// Default components applied to DevWorkspaces. These default components are meant to be used when a Devfile, that does not contain any components. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultComponents")] pub default_components: Option>, - /// The default editor to workspace create with. It could be a plugin ID or a URI. The plugin ID must have `publisher/plugin/version` format. The URI must start from `http://` or `https://`. + /// The default editor to workspace create with. It could be a plugin ID or a URI. The plugin ID must have `publisher/name/version` format. The URI must start from `http://` or `https://`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultEditor")] pub default_editor: Option, /// User's default namespace. @@ -2220,7 +2220,7 @@ pub struct CheClusterDevEnvironmentsDefaultNamespace { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheClusterDevEnvironmentsDefaultPlugins { - /// The editor ID to specify default plug-ins for. + /// The editor ID to specify default plug-ins for. The plugin ID must have `publisher/name/version` format. #[serde(default, skip_serializing_if = "Option::is_none")] pub editor: Option, /// Default plug-in URIs for the specified editor. diff --git a/kube-custom-resources-rs/src/organizations_services_k8s_aws/v1alpha1/organizationalunits.rs b/kube-custom-resources-rs/src/organizations_services_k8s_aws/v1alpha1/organizationalunits.rs index a63af742e..55678aa9d 100644 --- a/kube-custom-resources-rs/src/organizations_services_k8s_aws/v1alpha1/organizationalunits.rs +++ b/kube-custom-resources-rs/src/organizations_services_k8s_aws/v1alpha1/organizationalunits.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/organizations-controller/organizations.services.k8s.aws/v1alpha1/organizationalunits.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/pgv2_percona_com/v2/perconapgbackups.rs b/kube-custom-resources-rs/src/pgv2_percona_com/v2/perconapgbackups.rs index 95db9b62e..5053e58ed 100644 --- a/kube-custom-resources-rs/src/pgv2_percona_com/v2/perconapgbackups.rs +++ b/kube-custom-resources-rs/src/pgv2_percona_com/v2/perconapgbackups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/percona/percona-postgresql-operator/pgv2.percona.com/v2/perconapgbackups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -32,6 +32,8 @@ pub struct PerconaPGBackupSpec { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGBackupStatus { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "backupName")] + pub backup_name: Option, #[serde(default, skip_serializing_if = "Option::is_none", rename = "backupType")] pub backup_type: Option, #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/pgv2_percona_com/v2/perconapgclusters.rs b/kube-custom-resources-rs/src/pgv2_percona_com/v2/perconapgclusters.rs index eeca862cd..e2ca45c77 100644 --- a/kube-custom-resources-rs/src/pgv2_percona_com/v2/perconapgclusters.rs +++ b/kube-custom-resources-rs/src/pgv2_percona_com/v2/perconapgclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/percona/percona-postgresql-operator/pgv2.percona.com/v2/perconapgclusters.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -6042,26 +6042,106 @@ pub struct PerconaPGClusterDataSourceVolumes { /// current PostgresCluster. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PerconaPGClusterDataSourceVolumesPgBackRestVolume { + /// Annotations of the move dir Job. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub annotations: Option>, /// The existing directory. When not set, a move Job is not created for the /// associated volume. #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, + /// Labels of the move dir Job. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub labels: Option>, /// The existing PVC name. #[serde(rename = "pvcName")] pub pvc_name: String, + /// Tolerations of the move dir Job. + /// More info: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration + #[serde(default, skip_serializing_if = "Option::is_none")] + pub tolerations: Option>, +} + +/// The pod this Toleration is attached to tolerates any taint that matches +/// the triple using the matching operator . +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct PerconaPGClusterDataSourceVolumesPgBackRestVolumeTolerations { + /// Effect indicates the taint effect to match. Empty means match all taint effects. + /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub effect: Option, + /// Key is the taint key that the toleration applies to. Empty means match all taint keys. + /// If the key is empty, operator must be Exists; this combination means to match all values and all keys. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub key: Option, + /// Operator represents a key's relationship to the value. + /// Valid operators are Exists and Equal. Defaults to Equal. + /// Exists is equivalent to wildcard for value, so that a pod can + /// tolerate all taints of a particular category. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub operator: Option, + /// TolerationSeconds represents the period of time the toleration (which must be + /// of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, + /// it is not set, which means tolerate the taint forever (do not evict). Zero and + /// negative values will be treated as 0 (evict immediately) by the system. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "tolerationSeconds")] + pub toleration_seconds: Option, + /// Value is the taint value the toleration matches to. + /// If the operator is Exists, the value should be empty, otherwise just a regular string. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub value: Option, } /// Defines the existing pgData volume and directory to use in the current /// PostgresCluster. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PerconaPGClusterDataSourceVolumesPgDataVolume { + /// Annotations of the move dir Job. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub annotations: Option>, /// The existing directory. When not set, a move Job is not created for the /// associated volume. #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, + /// Labels of the move dir Job. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub labels: Option>, /// The existing PVC name. #[serde(rename = "pvcName")] pub pvc_name: String, + /// Tolerations of the move dir Job. + /// More info: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration + #[serde(default, skip_serializing_if = "Option::is_none")] + pub tolerations: Option>, +} + +/// The pod this Toleration is attached to tolerates any taint that matches +/// the triple using the matching operator . +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct PerconaPGClusterDataSourceVolumesPgDataVolumeTolerations { + /// Effect indicates the taint effect to match. Empty means match all taint effects. + /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub effect: Option, + /// Key is the taint key that the toleration applies to. Empty means match all taint keys. + /// If the key is empty, operator must be Exists; this combination means to match all values and all keys. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub key: Option, + /// Operator represents a key's relationship to the value. + /// Valid operators are Exists and Equal. Defaults to Equal. + /// Exists is equivalent to wildcard for value, so that a pod can + /// tolerate all taints of a particular category. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub operator: Option, + /// TolerationSeconds represents the period of time the toleration (which must be + /// of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, + /// it is not set, which means tolerate the taint forever (do not evict). Zero and + /// negative values will be treated as 0 (evict immediately) by the system. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "tolerationSeconds")] + pub toleration_seconds: Option, + /// Value is the taint value the toleration matches to. + /// If the operator is Exists, the value should be empty, otherwise just a regular string. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub value: Option, } /// Defines the existing pg_wal volume and directory to use in the current @@ -6069,13 +6149,53 @@ pub struct PerconaPGClusterDataSourceVolumesPgDataVolume { /// a pgData volume. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PerconaPGClusterDataSourceVolumesPgWalVolume { + /// Annotations of the move dir Job. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub annotations: Option>, /// The existing directory. When not set, a move Job is not created for the /// associated volume. #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, + /// Labels of the move dir Job. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub labels: Option>, /// The existing PVC name. #[serde(rename = "pvcName")] pub pvc_name: String, + /// Tolerations of the move dir Job. + /// More info: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration + #[serde(default, skip_serializing_if = "Option::is_none")] + pub tolerations: Option>, +} + +/// The pod this Toleration is attached to tolerates any taint that matches +/// the triple using the matching operator . +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct PerconaPGClusterDataSourceVolumesPgWalVolumeTolerations { + /// Effect indicates the taint effect to match. Empty means match all taint effects. + /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub effect: Option, + /// Key is the taint key that the toleration applies to. Empty means match all taint keys. + /// If the key is empty, operator must be Exists; this combination means to match all values and all keys. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub key: Option, + /// Operator represents a key's relationship to the value. + /// Valid operators are Exists and Equal. Defaults to Equal. + /// Exists is equivalent to wildcard for value, so that a pod can + /// tolerate all taints of a particular category. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub operator: Option, + /// TolerationSeconds represents the period of time the toleration (which must be + /// of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, + /// it is not set, which means tolerate the taint forever (do not evict). Zero and + /// negative values will be treated as 0 (evict immediately) by the system. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "tolerationSeconds")] + pub toleration_seconds: Option, + /// Value is the taint value the toleration matches to. + /// If the operator is Exists, the value should be empty, otherwise just a regular string. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub value: Option, } /// DatabaseInitSQL defines a ConfigMap containing custom SQL that will @@ -6326,7 +6446,8 @@ pub struct PerconaPGClusterInstances { /// PostgreSQL to restart. #[serde(default, skip_serializing_if = "Option::is_none")] pub sidecars: Option>, - /// The list of tablespaces volumes to mount for this postgrescluster This field requires enabling TablespaceVolumes feature gate + /// The list of tablespaces volumes to mount for this postgrescluster + /// This field requires enabling TablespaceVolumes feature gate #[serde(default, skip_serializing_if = "Option::is_none", rename = "tablespaceVolumes")] pub tablespace_volumes: Option>, /// Tolerations of a PostgreSQL pod. Changing this value causes PostgreSQL to restart. @@ -9903,35 +10024,88 @@ pub struct PerconaPGClusterInstancesSidecarsVolumeMounts { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PerconaPGClusterInstancesTablespaceVolumes { - /// Defines a PersistentVolumeClaim for a tablespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes + /// Defines a PersistentVolumeClaim for a tablespace. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes #[serde(rename = "dataVolumeClaimSpec")] pub data_volume_claim_spec: PerconaPGClusterInstancesTablespaceVolumesDataVolumeClaimSpec, - /// The name for the tablespace, used as the path name for the volume. Must be unique in the instance set since they become the directory names. + /// The name for the tablespace, used as the path name for the volume. + /// Must be unique in the instance set since they become the directory names. pub name: String, } -/// Defines a PersistentVolumeClaim for a tablespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes +/// Defines a PersistentVolumeClaim for a tablespace. +/// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PerconaPGClusterInstancesTablespaceVolumesDataVolumeClaimSpec { - /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 + /// accessModes contains the desired access modes the volume should have. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, - /// 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. + /// 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. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dataSource")] pub data_source: Option, - /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. + /// 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 + /// allows any non-core object, as well as PersistentVolumeClaim objects. + /// * While dataSource ignores disallowed values (dropping them), dataSourceRef + /// preserves all values, and generates an error if a disallowed value is + /// specified. + /// * While dataSource only allows local objects, dataSourceRef allows objects + /// in any namespaces. + /// (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. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dataSourceRef")] pub data_source_ref: Option, - /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources + /// resources represents the minimum resources the volume should have. + /// If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements + /// that are lower than previous value but must still be higher than capacity recorded in the + /// status field of the claim. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources #[serde(default, skip_serializing_if = "Option::is_none")] pub resources: Option, /// selector is a label query over volumes to consider for binding. #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, - /// storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 + /// storageClassName is the name of the StorageClass required by the claim. + /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "storageClassName")] pub storage_class_name: Option, - /// volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. + /// volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. + /// If specified, the CSI driver will create or update the volume with the attributes defined + /// in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, + /// it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass + /// will be applied to the claim but it's not allowed to reset this field to empty string once it is set. + /// If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass + /// will be set by the persistentvolume controller if it exists. + /// If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be + /// set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource + /// exists. + /// More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ + /// (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeAttributesClassName")] + pub volume_attributes_class_name: Option, + /// volumeMode defines what type of volume is required by the claim. + /// Value of Filesystem is implied when not included in claim spec. #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeMode")] pub volume_mode: Option, /// volumeName is the binding reference to the PersistentVolume backing this claim. @@ -9939,10 +10113,19 @@ pub struct PerconaPGClusterInstancesTablespaceVolumesDataVolumeClaimSpec { pub volume_name: Option, } -/// 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. +/// 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. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PerconaPGClusterInstancesTablespaceVolumesDataVolumeClaimSpecDataSource { - /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. + /// APIGroup is the group for the resource being referenced. + /// If APIGroup is not specified, the specified Kind must be in the core API group. + /// For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, /// Kind is the type of resource being referenced @@ -9951,63 +10134,92 @@ pub struct PerconaPGClusterInstancesTablespaceVolumesDataVolumeClaimSpecDataSour pub name: String, } -/// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. +/// 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 +/// allows any non-core object, as well as PersistentVolumeClaim objects. +/// * While dataSource ignores disallowed values (dropping them), dataSourceRef +/// preserves all values, and generates an error if a disallowed value is +/// specified. +/// * While dataSource only allows local objects, dataSourceRef allows objects +/// in any namespaces. +/// (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. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PerconaPGClusterInstancesTablespaceVolumesDataVolumeClaimSpecDataSourceRef { - /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. + /// APIGroup is the group for the resource being referenced. + /// If APIGroup is not specified, the specified Kind must be in the core API group. + /// For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, /// Kind is the type of resource being referenced pub kind: String, /// Name is the name of resource being referenced pub name: String, - /// Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. + /// Namespace is the namespace of resource being referenced + /// Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. + /// (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, } -/// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources +/// resources represents the minimum resources the volume should have. +/// If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements +/// that are lower than previous value but must still be higher than capacity recorded in the +/// status field of the claim. +/// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PerconaPGClusterInstancesTablespaceVolumesDataVolumeClaimSpecResources { - /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. - /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. - /// This field is immutable. It can only be set for containers. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub claims: Option>, - /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + /// Limits describes the maximum amount of compute resources allowed. + /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, - /// Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + /// Requests describes the minimum amount of compute resources required. + /// If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + /// otherwise to an implementation-defined value. Requests cannot exceed Limits. + /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] pub requests: Option>, } -/// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] -pub struct PerconaPGClusterInstancesTablespaceVolumesDataVolumeClaimSpecResourcesClaims { - /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. - pub name: String, -} - /// selector is a label query over volumes to consider for binding. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PerconaPGClusterInstancesTablespaceVolumesDataVolumeClaimSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PerconaPGClusterInstancesTablespaceVolumesDataVolumeClaimSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } diff --git a/kube-custom-resources-rs/src/pgv2_percona_com/v2/perconapgrestores.rs b/kube-custom-resources-rs/src/pgv2_percona_com/v2/perconapgrestores.rs index 3df242783..ce532aa70 100644 --- a/kube-custom-resources-rs/src/pgv2_percona_com/v2/perconapgrestores.rs +++ b/kube-custom-resources-rs/src/pgv2_percona_com/v2/perconapgrestores.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/percona/percona-postgresql-operator/pgv2.percona.com/v2/perconapgrestores.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/pipes_services_k8s_aws/v1alpha1/pipes.rs b/kube-custom-resources-rs/src/pipes_services_k8s_aws/v1alpha1/pipes.rs index 65d8924ce..b9cef83cd 100644 --- a/kube-custom-resources-rs/src/pipes_services_k8s_aws/v1alpha1/pipes.rs +++ b/kube-custom-resources-rs/src/pipes_services_k8s_aws/v1alpha1/pipes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/pipes-controller/pipes.services.k8s.aws/v1alpha1/pipes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/pkg_crossplane_io/v1/configurationrevisions.rs b/kube-custom-resources-rs/src/pkg_crossplane_io/v1/configurationrevisions.rs index 97e5e2957..5e357fa30 100644 --- a/kube-custom-resources-rs/src/pkg_crossplane_io/v1/configurationrevisions.rs +++ b/kube-custom-resources-rs/src/pkg_crossplane_io/v1/configurationrevisions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1/configurationrevisions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/pkg_crossplane_io/v1/configurations.rs b/kube-custom-resources-rs/src/pkg_crossplane_io/v1/configurations.rs index 13ea7ad4a..4daa35bf6 100644 --- a/kube-custom-resources-rs/src/pkg_crossplane_io/v1/configurations.rs +++ b/kube-custom-resources-rs/src/pkg_crossplane_io/v1/configurations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1/configurations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/pkg_crossplane_io/v1/providerrevisions.rs b/kube-custom-resources-rs/src/pkg_crossplane_io/v1/providerrevisions.rs index 6657eab1b..099372562 100644 --- a/kube-custom-resources-rs/src/pkg_crossplane_io/v1/providerrevisions.rs +++ b/kube-custom-resources-rs/src/pkg_crossplane_io/v1/providerrevisions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1/providerrevisions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/pkg_crossplane_io/v1/providers.rs b/kube-custom-resources-rs/src/pkg_crossplane_io/v1/providers.rs index abb37d5e7..24e5494e2 100644 --- a/kube-custom-resources-rs/src/pkg_crossplane_io/v1/providers.rs +++ b/kube-custom-resources-rs/src/pkg_crossplane_io/v1/providers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1/providers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/pkg_crossplane_io/v1alpha1/controllerconfigs.rs b/kube-custom-resources-rs/src/pkg_crossplane_io/v1alpha1/controllerconfigs.rs index e4fdee4a6..2f7098970 100644 --- a/kube-custom-resources-rs/src/pkg_crossplane_io/v1alpha1/controllerconfigs.rs +++ b/kube-custom-resources-rs/src/pkg_crossplane_io/v1alpha1/controllerconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1alpha1/controllerconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -345,23 +345,23 @@ pub struct ControllerConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDu pub label_selector: Option, /// MatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. - /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, /// MismatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. - /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] pub mismatch_label_keys: Option>, @@ -466,23 +466,23 @@ pub struct ControllerConfigAffinityPodAffinityRequiredDuringSchedulingIgnoredDur pub label_selector: Option, /// MatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. - /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, /// MismatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. - /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] pub mismatch_label_keys: Option>, @@ -618,23 +618,23 @@ pub struct ControllerConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnor pub label_selector: Option, /// MatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. - /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, /// MismatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. - /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] pub mismatch_label_keys: Option>, @@ -739,23 +739,23 @@ pub struct ControllerConfigAffinityPodAntiAffinityRequiredDuringSchedulingIgnore pub label_selector: Option, /// MatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. - /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both matchLabelKeys and labelSelector. + /// Also, matchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] pub match_label_keys: Option>, /// MismatchLabelKeys is a set of pod label keys to select which pods will /// be taken into consideration. The keys are used to lookup values from the - /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` /// to select the group of existing pods which pods will be taken into consideration /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming /// pod labels will be ignored. The default value is empty. - /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. - /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + /// Also, mismatchLabelKeys cannot be set when labelSelector isn't set. /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] pub mismatch_label_keys: Option>, @@ -1016,6 +1016,10 @@ pub struct ControllerConfigMetadata { /// Optional: Defaults to empty. See type description for default values of each field. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ControllerConfigPodSecurityContext { + /// appArmorProfile is the AppArmor options to use by the containers in this pod. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appArmorProfile")] + pub app_armor_profile: Option, /// A special supplemental group that applies to all containers in a pod. /// Some volume types allow the Kubelet to change the ownership of that volume /// to be owned by the pod: @@ -1097,6 +1101,25 @@ pub struct ControllerConfigPodSecurityContext { pub windows_options: Option, } +/// appArmorProfile is the AppArmor options to use by the containers in this pod. +/// Note that this field cannot be set when spec.os.name is windows. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct ControllerConfigPodSecurityContextAppArmorProfile { + /// localhostProfile indicates a profile loaded on the node that should be used. + /// The profile must be preconfigured on the node to work. + /// Must match the loaded name of the profile. + /// Must be set if and only if type is "Localhost". + #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] + pub localhost_profile: Option, + /// type indicates which kind of AppArmor profile will be applied. + /// Valid options are: + /// Localhost - a profile pre-loaded on the node. + /// RuntimeDefault - the container runtime's default profile. + /// Unconfined - no AppArmor enforcement. + #[serde(rename = "type")] + pub r#type: String, +} + /// The SELinux context to be applied to all containers. /// If unspecified, the container runtime will allocate a random SELinux context for each /// container. May also be set in SecurityContext. If set in @@ -1254,6 +1277,11 @@ pub struct ControllerConfigSecurityContext { /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, + /// appArmorProfile is the AppArmor options to use by this container. If set, this profile + /// overrides the pod's appArmorProfile. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appArmorProfile")] + pub app_armor_profile: Option, /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. @@ -1320,6 +1348,26 @@ pub struct ControllerConfigSecurityContext { pub windows_options: Option, } +/// appArmorProfile is the AppArmor options to use by this container. If set, this profile +/// overrides the pod's appArmorProfile. +/// Note that this field cannot be set when spec.os.name is windows. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct ControllerConfigSecurityContextAppArmorProfile { + /// localhostProfile indicates a profile loaded on the node that should be used. + /// The profile must be preconfigured on the node to work. + /// Must match the loaded name of the profile. + /// Must be set if and only if type is "Localhost". + #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] + pub localhost_profile: Option, + /// type indicates which kind of AppArmor profile will be applied. + /// Valid options are: + /// Localhost - a profile pre-loaded on the node. + /// RuntimeDefault - the container runtime's default profile. + /// Unconfined - no AppArmor enforcement. + #[serde(rename = "type")] + pub r#type: String, +} + /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. @@ -1446,6 +1494,8 @@ pub struct ControllerConfigVolumeMounts { /// to container and the other way around. /// When not set, MountPropagationNone is used. /// This field is beta in 1.10. + /// When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + /// (which defaults to None). #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPropagation")] pub mount_propagation: Option, /// This must match the Name of a Volume. @@ -1454,6 +1504,28 @@ pub struct ControllerConfigVolumeMounts { /// Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, + /// RecursiveReadOnly specifies whether read-only mounts should be handled + /// recursively. + /// + /// + /// If ReadOnly is false, this field has no meaning and must be unspecified. + /// + /// + /// If ReadOnly is true, and this field is set to Disabled, the mount is not made + /// recursively read-only. If this field is set to IfPossible, the mount is made + /// recursively read-only, if it is supported by the container runtime. If this + /// field is set to Enabled, the mount is made recursively read-only if it is + /// supported by the container runtime, otherwise the pod will not be started and + /// an error will be generated to indicate the reason. + /// + /// + /// If this field is set to IfPossible or Enabled, MountPropagation must be set to + /// None (or be unspecified, which defaults to None). + /// + /// + /// If this field is not specified, it is treated as an equivalent of Disabled. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "recursiveReadOnly")] + pub recursive_read_only: Option, /// Path within the volume from which the container's volume should be mounted. /// Defaults to "" (volume's root). #[serde(default, skip_serializing_if = "Option::is_none", rename = "subPath")] @@ -1872,7 +1944,7 @@ pub struct ControllerConfigVolumesDownwardApi { /// DownwardAPIVolumeFile represents information to create the file containing the pod field #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ControllerConfigVolumesDownwardApiItems { - /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. + /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, /// Optional: mode bits used to set permissions on this file, must be an octal value @@ -1891,7 +1963,7 @@ pub struct ControllerConfigVolumesDownwardApiItems { pub resource_field_ref: Option, } -/// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. +/// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ControllerConfigVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -2118,7 +2190,7 @@ pub struct ControllerConfigVolumesEphemeralVolumeClaimTemplateSpec { /// If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be /// set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource /// exists. - /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass + /// More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ /// (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeAttributesClassName")] pub volume_attributes_class_name: Option, @@ -2708,7 +2780,7 @@ pub struct ControllerConfigVolumesProjectedSourcesDownwardApi { /// DownwardAPIVolumeFile represents information to create the file containing the pod field #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ControllerConfigVolumesProjectedSourcesDownwardApiItems { - /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. + /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, /// Optional: mode bits used to set permissions on this file, must be an octal value @@ -2727,7 +2799,7 @@ pub struct ControllerConfigVolumesProjectedSourcesDownwardApiItems { pub resource_field_ref: Option, } -/// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. +/// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ControllerConfigVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". diff --git a/kube-custom-resources-rs/src/pkg_crossplane_io/v1beta1/locks.rs b/kube-custom-resources-rs/src/pkg_crossplane_io/v1beta1/locks.rs index 0b2133bd0..f4731249a 100644 --- a/kube-custom-resources-rs/src/pkg_crossplane_io/v1beta1/locks.rs +++ b/kube-custom-resources-rs/src/pkg_crossplane_io/v1beta1/locks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1beta1/locks.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/policy_clusterpedia_io/v1alpha1/clusterimportpolicies.rs b/kube-custom-resources-rs/src/policy_clusterpedia_io/v1alpha1/clusterimportpolicies.rs index 61b4da80b..b4b0e6cbd 100644 --- a/kube-custom-resources-rs/src/policy_clusterpedia_io/v1alpha1/clusterimportpolicies.rs +++ b/kube-custom-resources-rs/src/policy_clusterpedia_io/v1alpha1/clusterimportpolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/clusterpedia-io/clusterpedia/policy.clusterpedia.io/v1alpha1/clusterimportpolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/policy_clusterpedia_io/v1alpha1/pediaclusterlifecycles.rs b/kube-custom-resources-rs/src/policy_clusterpedia_io/v1alpha1/pediaclusterlifecycles.rs index ba4ee34fe..014b35f3d 100644 --- a/kube-custom-resources-rs/src/policy_clusterpedia_io/v1alpha1/pediaclusterlifecycles.rs +++ b/kube-custom-resources-rs/src/policy_clusterpedia_io/v1alpha1/pediaclusterlifecycles.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/clusterpedia-io/clusterpedia/policy.clusterpedia.io/v1alpha1/pediaclusterlifecycles.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/clusteroverridepolicies.rs b/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/clusteroverridepolicies.rs index 0401495e7..a0a35f786 100644 --- a/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/clusteroverridepolicies.rs +++ b/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/clusteroverridepolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/policy.karmada.io/v1alpha1/clusteroverridepolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/clusterpropagationpolicies.rs b/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/clusterpropagationpolicies.rs index 69dd53dff..2100c7489 100644 --- a/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/clusterpropagationpolicies.rs +++ b/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/clusterpropagationpolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/policy.karmada.io/v1alpha1/clusterpropagationpolicies.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/federatedresourcequotas.rs b/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/federatedresourcequotas.rs index 42a88ab47..ce6b326c1 100644 --- a/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/federatedresourcequotas.rs +++ b/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/federatedresourcequotas.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/policy.karmada.io/v1alpha1/federatedresourcequotas.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/overridepolicies.rs b/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/overridepolicies.rs index f6b7cb01d..7d99686a3 100644 --- a/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/overridepolicies.rs +++ b/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/overridepolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/policy.karmada.io/v1alpha1/overridepolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/propagationpolicies.rs b/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/propagationpolicies.rs index a23c3c6b2..173514286 100644 --- a/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/propagationpolicies.rs +++ b/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/propagationpolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/policy.karmada.io/v1alpha1/propagationpolicies.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/policy_kubeedge_io/v1alpha1/serviceaccountaccesses.rs b/kube-custom-resources-rs/src/policy_kubeedge_io/v1alpha1/serviceaccountaccesses.rs index a7eb264a7..166a0fdea 100644 --- a/kube-custom-resources-rs/src/policy_kubeedge_io/v1alpha1/serviceaccountaccesses.rs +++ b/kube-custom-resources-rs/src/policy_kubeedge_io/v1alpha1/serviceaccountaccesses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/policy.kubeedge.io/v1alpha1/serviceaccountaccesses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/policy_networking_k8s_io/v1alpha1/adminnetworkpolicies.rs b/kube-custom-resources-rs/src/policy_networking_k8s_io/v1alpha1/adminnetworkpolicies.rs index d0701323f..c8e331a5c 100644 --- a/kube-custom-resources-rs/src/policy_networking_k8s_io/v1alpha1/adminnetworkpolicies.rs +++ b/kube-custom-resources-rs/src/policy_networking_k8s_io/v1alpha1/adminnetworkpolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/network-policy-api/policy.networking.k8s.io/v1alpha1/adminnetworkpolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/policy_networking_k8s_io/v1alpha1/baselineadminnetworkpolicies.rs b/kube-custom-resources-rs/src/policy_networking_k8s_io/v1alpha1/baselineadminnetworkpolicies.rs index cdb1c6c7d..259c3aec8 100644 --- a/kube-custom-resources-rs/src/policy_networking_k8s_io/v1alpha1/baselineadminnetworkpolicies.rs +++ b/kube-custom-resources-rs/src/policy_networking_k8s_io/v1alpha1/baselineadminnetworkpolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/network-policy-api/policy.networking.k8s.io/v1alpha1/baselineadminnetworkpolicies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/postgres_operator_crunchydata_com/v1beta1/pgadmins.rs b/kube-custom-resources-rs/src/postgres_operator_crunchydata_com/v1beta1/pgadmins.rs index e4c7fbf57..5e7ee3301 100644 --- a/kube-custom-resources-rs/src/postgres_operator_crunchydata_com/v1beta1/pgadmins.rs +++ b/kube-custom-resources-rs/src/postgres_operator_crunchydata_com/v1beta1/pgadmins.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/pgadmins.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/postgres_operator_crunchydata_com/v1beta1/pgupgrades.rs b/kube-custom-resources-rs/src/postgres_operator_crunchydata_com/v1beta1/pgupgrades.rs index 34444b721..8d6e88790 100644 --- a/kube-custom-resources-rs/src/postgres_operator_crunchydata_com/v1beta1/pgupgrades.rs +++ b/kube-custom-resources-rs/src/postgres_operator_crunchydata_com/v1beta1/pgupgrades.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/pgupgrades.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/postgres_operator_crunchydata_com/v1beta1/postgresclusters.rs b/kube-custom-resources-rs/src/postgres_operator_crunchydata_com/v1beta1/postgresclusters.rs index be8b3a608..f8ebc415b 100644 --- a/kube-custom-resources-rs/src/postgres_operator_crunchydata_com/v1beta1/postgresclusters.rs +++ b/kube-custom-resources-rs/src/postgres_operator_crunchydata_com/v1beta1/postgresclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/postgresclusters.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -6707,6 +6707,12 @@ pub struct PostgresClusterProxyPgBouncerResources { /// Specification of the service that exposes PgBouncer. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PostgresClusterProxyPgBouncerService { + /// More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies + #[serde(default, skip_serializing_if = "Option::is_none", rename = "externalTrafficPolicy")] + pub external_traffic_policy: Option, + /// More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies + #[serde(default, skip_serializing_if = "Option::is_none", rename = "internalTrafficPolicy")] + pub internal_traffic_policy: Option, /// Metadata contains metadata for custom resources #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -6718,6 +6724,20 @@ pub struct PostgresClusterProxyPgBouncerService { pub r#type: Option, } +/// Specification of the service that exposes PgBouncer. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum PostgresClusterProxyPgBouncerServiceExternalTrafficPolicy { + Cluster, + Local, +} + +/// Specification of the service that exposes PgBouncer. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum PostgresClusterProxyPgBouncerServiceInternalTrafficPolicy { + Cluster, + Local, +} + /// Metadata contains metadata for custom resources #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PostgresClusterProxyPgBouncerServiceMetadata { @@ -6831,6 +6851,12 @@ pub struct PostgresClusterProxyPgBouncerTopologySpreadConstraintsLabelSelectorMa /// Specification of the service that exposes PostgreSQL replica instances #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PostgresClusterReplicaService { + /// More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies + #[serde(default, skip_serializing_if = "Option::is_none", rename = "externalTrafficPolicy")] + pub external_traffic_policy: Option, + /// More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies + #[serde(default, skip_serializing_if = "Option::is_none", rename = "internalTrafficPolicy")] + pub internal_traffic_policy: Option, /// Metadata contains metadata for custom resources #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -6842,6 +6868,20 @@ pub struct PostgresClusterReplicaService { pub r#type: Option, } +/// Specification of the service that exposes PostgreSQL replica instances +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum PostgresClusterReplicaServiceExternalTrafficPolicy { + Cluster, + Local, +} + +/// Specification of the service that exposes PostgreSQL replica instances +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum PostgresClusterReplicaServiceInternalTrafficPolicy { + Cluster, + Local, +} + /// Metadata contains metadata for custom resources #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PostgresClusterReplicaServiceMetadata { @@ -6863,6 +6903,12 @@ pub enum PostgresClusterReplicaServiceType { /// Specification of the service that exposes the PostgreSQL primary instance. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PostgresClusterService { + /// More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies + #[serde(default, skip_serializing_if = "Option::is_none", rename = "externalTrafficPolicy")] + pub external_traffic_policy: Option, + /// More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies + #[serde(default, skip_serializing_if = "Option::is_none", rename = "internalTrafficPolicy")] + pub internal_traffic_policy: Option, /// Metadata contains metadata for custom resources #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -6874,6 +6920,20 @@ pub struct PostgresClusterService { pub r#type: Option, } +/// Specification of the service that exposes the PostgreSQL primary instance. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum PostgresClusterServiceExternalTrafficPolicy { + Cluster, + Local, +} + +/// Specification of the service that exposes the PostgreSQL primary instance. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum PostgresClusterServiceInternalTrafficPolicy { + Cluster, + Local, +} + /// Metadata contains metadata for custom resources #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PostgresClusterServiceMetadata { @@ -7628,6 +7688,12 @@ pub struct PostgresClusterUserInterfacePgAdminResources { /// Specification of the service that exposes pgAdmin. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminService { + /// More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies + #[serde(default, skip_serializing_if = "Option::is_none", rename = "externalTrafficPolicy")] + pub external_traffic_policy: Option, + /// More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies + #[serde(default, skip_serializing_if = "Option::is_none", rename = "internalTrafficPolicy")] + pub internal_traffic_policy: Option, /// Metadata contains metadata for custom resources #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -7639,6 +7705,20 @@ pub struct PostgresClusterUserInterfacePgAdminService { pub r#type: Option, } +/// Specification of the service that exposes pgAdmin. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum PostgresClusterUserInterfacePgAdminServiceExternalTrafficPolicy { + Cluster, + Local, +} + +/// Specification of the service that exposes pgAdmin. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub enum PostgresClusterUserInterfacePgAdminServiceInternalTrafficPolicy { + Cluster, + Local, +} + /// Metadata contains metadata for custom resources #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminServiceMetadata { diff --git a/kube-custom-resources-rs/src/postgresql_cnpg_io/v1/backups.rs b/kube-custom-resources-rs/src/postgresql_cnpg_io/v1/backups.rs index 737ead338..7dfdc1df9 100644 --- a/kube-custom-resources-rs/src/postgresql_cnpg_io/v1/backups.rs +++ b/kube-custom-resources-rs/src/postgresql_cnpg_io/v1/backups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cloudnative-pg/cloudnative-pg/postgresql.cnpg.io/v1/backups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/postgresql_cnpg_io/v1/poolers.rs b/kube-custom-resources-rs/src/postgresql_cnpg_io/v1/poolers.rs index 1869d0187..7dae862e9 100644 --- a/kube-custom-resources-rs/src/postgresql_cnpg_io/v1/poolers.rs +++ b/kube-custom-resources-rs/src/postgresql_cnpg_io/v1/poolers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cloudnative-pg/cloudnative-pg/postgresql.cnpg.io/v1/poolers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/postgresql_cnpg_io/v1/scheduledbackups.rs b/kube-custom-resources-rs/src/postgresql_cnpg_io/v1/scheduledbackups.rs index 78b70ed95..a8e83e35e 100644 --- a/kube-custom-resources-rs/src/postgresql_cnpg_io/v1/scheduledbackups.rs +++ b/kube-custom-resources-rs/src/postgresql_cnpg_io/v1/scheduledbackups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cloudnative-pg/cloudnative-pg/postgresql.cnpg.io/v1/scheduledbackups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/projectcontour_io/v1/httpproxies.rs b/kube-custom-resources-rs/src/projectcontour_io/v1/httpproxies.rs index c5762b865..e434895c1 100644 --- a/kube-custom-resources-rs/src/projectcontour_io/v1/httpproxies.rs +++ b/kube-custom-resources-rs/src/projectcontour_io/v1/httpproxies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/projectcontour/contour/projectcontour.io/v1/httpproxies.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/projectcontour_io/v1/tlscertificatedelegations.rs b/kube-custom-resources-rs/src/projectcontour_io/v1/tlscertificatedelegations.rs index 942e7b948..7d2c09cc1 100644 --- a/kube-custom-resources-rs/src/projectcontour_io/v1/tlscertificatedelegations.rs +++ b/kube-custom-resources-rs/src/projectcontour_io/v1/tlscertificatedelegations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/projectcontour/contour/projectcontour.io/v1/tlscertificatedelegations.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/projectcontour_io/v1alpha1/contourconfigurations.rs b/kube-custom-resources-rs/src/projectcontour_io/v1alpha1/contourconfigurations.rs index 2cf3ed001..e1163c2d8 100644 --- a/kube-custom-resources-rs/src/projectcontour_io/v1alpha1/contourconfigurations.rs +++ b/kube-custom-resources-rs/src/projectcontour_io/v1alpha1/contourconfigurations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/contourconfigurations.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/projectcontour_io/v1alpha1/contourdeployments.rs b/kube-custom-resources-rs/src/projectcontour_io/v1alpha1/contourdeployments.rs index 94d42cefe..2dce10ca6 100644 --- a/kube-custom-resources-rs/src/projectcontour_io/v1alpha1/contourdeployments.rs +++ b/kube-custom-resources-rs/src/projectcontour_io/v1alpha1/contourdeployments.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/contourdeployments.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -721,8 +721,12 @@ pub struct ContourDeploymentEnvoyExtraVolumesCephfs { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesCephfsSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -757,8 +761,12 @@ pub struct ContourDeploymentEnvoyExtraVolumesCinder { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesCinderSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -785,8 +793,12 @@ pub struct ContourDeploymentEnvoyExtraVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -850,8 +862,12 @@ pub struct ContourDeploymentEnvoyExtraVolumesCsi { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesCsiNodePublishSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -1277,8 +1293,12 @@ pub struct ContourDeploymentEnvoyExtraVolumesFlexVolume { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesFlexVolumeSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -1434,8 +1454,12 @@ pub struct ContourDeploymentEnvoyExtraVolumesIscsi { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesIscsiSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -1631,8 +1655,12 @@ pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional specify whether the ConfigMap or its keys must be defined @@ -1728,8 +1756,12 @@ pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// optional field specify whether the Secret or its key must be defined @@ -1858,8 +1890,12 @@ pub struct ContourDeploymentEnvoyExtraVolumesRbd { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesRbdSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -1909,8 +1945,12 @@ pub struct ContourDeploymentEnvoyExtraVolumesScaleIo { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesScaleIoSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -2001,8 +2041,12 @@ pub struct ContourDeploymentEnvoyExtraVolumesStorageos { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesStorageosSecretRef { /// Name of the referent. - /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// This field is effectively required, but due to backwards compatibility is + /// allowed to be empty. Instances of this type with an empty value here are + /// almost certainly wrong. /// TODO: Add other useful fields. apiVersion, kind, uid? + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } diff --git a/kube-custom-resources-rs/src/projectcontour_io/v1alpha1/extensionservices.rs b/kube-custom-resources-rs/src/projectcontour_io/v1alpha1/extensionservices.rs index 1bf33026b..65c8850ab 100644 --- a/kube-custom-resources-rs/src/projectcontour_io/v1alpha1/extensionservices.rs +++ b/kube-custom-resources-rs/src/projectcontour_io/v1alpha1/extensionservices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/extensionservices.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/alertmanagerdefinitions.rs b/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/alertmanagerdefinitions.rs index e703f0f39..ff283e1c7 100644 --- a/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/alertmanagerdefinitions.rs +++ b/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/alertmanagerdefinitions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/prometheusservice-controller/prometheusservice.services.k8s.aws/v1alpha1/alertmanagerdefinitions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/loggingconfigurations.rs b/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/loggingconfigurations.rs index 342a1c8ec..270779517 100644 --- a/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/loggingconfigurations.rs +++ b/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/loggingconfigurations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/prometheusservice-controller/prometheusservice.services.k8s.aws/v1alpha1/loggingconfigurations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/rulegroupsnamespaces.rs b/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/rulegroupsnamespaces.rs index 7ad3190d0..28d6f1101 100644 --- a/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/rulegroupsnamespaces.rs +++ b/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/rulegroupsnamespaces.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/prometheusservice-controller/prometheusservice.services.k8s.aws/v1alpha1/rulegroupsnamespaces.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/workspaces.rs b/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/workspaces.rs index 4d0795795..4ac2d39b6 100644 --- a/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/workspaces.rs +++ b/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/workspaces.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/prometheusservice-controller/prometheusservice.services.k8s.aws/v1alpha1/workspaces.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ps_percona_com/v1alpha1/perconaservermysqlbackups.rs b/kube-custom-resources-rs/src/ps_percona_com/v1alpha1/perconaservermysqlbackups.rs index e267aafa7..2e6caa2c9 100644 --- a/kube-custom-resources-rs/src/ps_percona_com/v1alpha1/perconaservermysqlbackups.rs +++ b/kube-custom-resources-rs/src/ps_percona_com/v1alpha1/perconaservermysqlbackups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/percona/percona-server-mysql-operator/ps.percona.com/v1alpha1/perconaservermysqlbackups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ps_percona_com/v1alpha1/perconaservermysqlrestores.rs b/kube-custom-resources-rs/src/ps_percona_com/v1alpha1/perconaservermysqlrestores.rs index 74e21128b..84862b122 100644 --- a/kube-custom-resources-rs/src/ps_percona_com/v1alpha1/perconaservermysqlrestores.rs +++ b/kube-custom-resources-rs/src/ps_percona_com/v1alpha1/perconaservermysqlrestores.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/percona/percona-server-mysql-operator/ps.percona.com/v1alpha1/perconaservermysqlrestores.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ps_percona_com/v1alpha1/perconaservermysqls.rs b/kube-custom-resources-rs/src/ps_percona_com/v1alpha1/perconaservermysqls.rs index 48bb645cf..1baa56c44 100644 --- a/kube-custom-resources-rs/src/ps_percona_com/v1alpha1/perconaservermysqls.rs +++ b/kube-custom-resources-rs/src/ps_percona_com/v1alpha1/perconaservermysqls.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/percona/percona-server-mysql-operator/ps.percona.com/v1alpha1/perconaservermysqls.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/psmdb_percona_com/v1/perconaservermongodbbackups.rs b/kube-custom-resources-rs/src/psmdb_percona_com/v1/perconaservermongodbbackups.rs index ee1025b82..d281d6799 100644 --- a/kube-custom-resources-rs/src/psmdb_percona_com/v1/perconaservermongodbbackups.rs +++ b/kube-custom-resources-rs/src/psmdb_percona_com/v1/perconaservermongodbbackups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/percona/percona-server-mongodb-operator/psmdb.percona.com/v1/perconaservermongodbbackups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/psmdb_percona_com/v1/perconaservermongodbrestores.rs b/kube-custom-resources-rs/src/psmdb_percona_com/v1/perconaservermongodbrestores.rs index 113718def..ac1d7a20b 100644 --- a/kube-custom-resources-rs/src/psmdb_percona_com/v1/perconaservermongodbrestores.rs +++ b/kube-custom-resources-rs/src/psmdb_percona_com/v1/perconaservermongodbrestores.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/percona/percona-server-mongodb-operator/psmdb.percona.com/v1/perconaservermongodbrestores.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ptp_openshift_io/v1/nodeptpdevices.rs b/kube-custom-resources-rs/src/ptp_openshift_io/v1/nodeptpdevices.rs index d9103198f..8e69b76de 100644 --- a/kube-custom-resources-rs/src/ptp_openshift_io/v1/nodeptpdevices.rs +++ b/kube-custom-resources-rs/src/ptp_openshift_io/v1/nodeptpdevices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/openshift/ptp-operator/ptp.openshift.io/v1/nodeptpdevices.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/pxc_percona_com/v1/perconaxtradbclusterbackups.rs b/kube-custom-resources-rs/src/pxc_percona_com/v1/perconaxtradbclusterbackups.rs index 362a3e5c1..8871f6817 100644 --- a/kube-custom-resources-rs/src/pxc_percona_com/v1/perconaxtradbclusterbackups.rs +++ b/kube-custom-resources-rs/src/pxc_percona_com/v1/perconaxtradbclusterbackups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/percona/percona-xtradb-cluster-operator/pxc.percona.com/v1/perconaxtradbclusterbackups.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/pxc_percona_com/v1/perconaxtradbclusterrestores.rs b/kube-custom-resources-rs/src/pxc_percona_com/v1/perconaxtradbclusterrestores.rs index 493525841..dad6bf09d 100644 --- a/kube-custom-resources-rs/src/pxc_percona_com/v1/perconaxtradbclusterrestores.rs +++ b/kube-custom-resources-rs/src/pxc_percona_com/v1/perconaxtradbclusterrestores.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/percona/percona-xtradb-cluster-operator/pxc.percona.com/v1/perconaxtradbclusterrestores.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/pxc_percona_com/v1/perconaxtradbclusters.rs b/kube-custom-resources-rs/src/pxc_percona_com/v1/perconaxtradbclusters.rs index 929a6f733..b672fb168 100644 --- a/kube-custom-resources-rs/src/pxc_percona_com/v1/perconaxtradbclusters.rs +++ b/kube-custom-resources-rs/src/pxc_percona_com/v1/perconaxtradbclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/percona/percona-xtradb-cluster-operator/pxc.percona.com/v1/perconaxtradbclusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/quay_redhat_com/v1/quayregistries.rs b/kube-custom-resources-rs/src/quay_redhat_com/v1/quayregistries.rs index 1640d032f..3c8c339ff 100644 --- a/kube-custom-resources-rs/src/quay_redhat_com/v1/quayregistries.rs +++ b/kube-custom-resources-rs/src/quay_redhat_com/v1/quayregistries.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/quay/quay-operator/quay.redhat.com/v1/quayregistries.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/quota_codeflare_dev/v1alpha1/quotasubtrees.rs b/kube-custom-resources-rs/src/quota_codeflare_dev/v1alpha1/quotasubtrees.rs index 18651240c..6e0aa7d6e 100644 --- a/kube-custom-resources-rs/src/quota_codeflare_dev/v1alpha1/quotasubtrees.rs +++ b/kube-custom-resources-rs/src/quota_codeflare_dev/v1alpha1/quotasubtrees.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/project-codeflare/codeflare-operator/quota.codeflare.dev/v1alpha1/quotasubtrees.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ray_io/v1/rayclusters.rs b/kube-custom-resources-rs/src/ray_io/v1/rayclusters.rs index 556461293..7f48a369b 100644 --- a/kube-custom-resources-rs/src/ray_io/v1/rayclusters.rs +++ b/kube-custom-resources-rs/src/ray_io/v1/rayclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/ray-project/kuberay/ray.io/v1/rayclusters.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ray_io/v1/rayjobs.rs b/kube-custom-resources-rs/src/ray_io/v1/rayjobs.rs index 6d975d19f..fc1b0b2f9 100644 --- a/kube-custom-resources-rs/src/ray_io/v1/rayjobs.rs +++ b/kube-custom-resources-rs/src/ray_io/v1/rayjobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/ray-project/kuberay/ray.io/v1/rayjobs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ray_io/v1/rayservices.rs b/kube-custom-resources-rs/src/ray_io/v1/rayservices.rs index e02948e3f..9b8c6fa10 100644 --- a/kube-custom-resources-rs/src/ray_io/v1/rayservices.rs +++ b/kube-custom-resources-rs/src/ray_io/v1/rayservices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/ray-project/kuberay/ray.io/v1/rayservices.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ray_io/v1alpha1/rayclusters.rs b/kube-custom-resources-rs/src/ray_io/v1alpha1/rayclusters.rs index 632bf708d..5abab3b21 100644 --- a/kube-custom-resources-rs/src/ray_io/v1alpha1/rayclusters.rs +++ b/kube-custom-resources-rs/src/ray_io/v1alpha1/rayclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/ray-project/kuberay/ray.io/v1alpha1/rayclusters.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ray_io/v1alpha1/rayjobs.rs b/kube-custom-resources-rs/src/ray_io/v1alpha1/rayjobs.rs index 39bee5b75..935b5a451 100644 --- a/kube-custom-resources-rs/src/ray_io/v1alpha1/rayjobs.rs +++ b/kube-custom-resources-rs/src/ray_io/v1alpha1/rayjobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/ray-project/kuberay/ray.io/v1alpha1/rayjobs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/ray_io/v1alpha1/rayservices.rs b/kube-custom-resources-rs/src/ray_io/v1alpha1/rayservices.rs index ab8ad85e1..dc77dd9e4 100644 --- a/kube-custom-resources-rs/src/ray_io/v1alpha1/rayservices.rs +++ b/kube-custom-resources-rs/src/ray_io/v1alpha1/rayservices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/ray-project/kuberay/ray.io/v1alpha1/rayservices.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/rbacmanager_reactiveops_io/v1beta1/rbacdefinitions.rs b/kube-custom-resources-rs/src/rbacmanager_reactiveops_io/v1beta1/rbacdefinitions.rs index 52392c060..fcf3cdbe4 100644 --- a/kube-custom-resources-rs/src/rbacmanager_reactiveops_io/v1beta1/rbacdefinitions.rs +++ b/kube-custom-resources-rs/src/rbacmanager_reactiveops_io/v1beta1/rbacdefinitions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/FairwindsOps/rbac-manager/rbacmanager.reactiveops.io/v1beta1/rbacdefinitions.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/rc_app_stacks/v1/runtimecomponents.rs b/kube-custom-resources-rs/src/rc_app_stacks/v1/runtimecomponents.rs index d5e1cef7a..bb8e8273c 100644 --- a/kube-custom-resources-rs/src/rc_app_stacks/v1/runtimecomponents.rs +++ b/kube-custom-resources-rs/src/rc_app_stacks/v1/runtimecomponents.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/application-stacks/runtime-component-operator/rc.app.stacks/v1/runtimecomponents.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/rc_app_stacks/v1/runtimeoperations.rs b/kube-custom-resources-rs/src/rc_app_stacks/v1/runtimeoperations.rs index d502ed72b..da4e29a04 100644 --- a/kube-custom-resources-rs/src/rc_app_stacks/v1/runtimeoperations.rs +++ b/kube-custom-resources-rs/src/rc_app_stacks/v1/runtimeoperations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/application-stacks/runtime-component-operator/rc.app.stacks/v1/runtimeoperations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/rc_app_stacks/v1beta2/runtimecomponents.rs b/kube-custom-resources-rs/src/rc_app_stacks/v1beta2/runtimecomponents.rs index 3440a0b78..a113588f1 100644 --- a/kube-custom-resources-rs/src/rc_app_stacks/v1beta2/runtimecomponents.rs +++ b/kube-custom-resources-rs/src/rc_app_stacks/v1beta2/runtimecomponents.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/application-stacks/runtime-component-operator/rc.app.stacks/v1beta2/runtimecomponents.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/rc_app_stacks/v1beta2/runtimeoperations.rs b/kube-custom-resources-rs/src/rc_app_stacks/v1beta2/runtimeoperations.rs index e7801fd10..3b4a998d3 100644 --- a/kube-custom-resources-rs/src/rc_app_stacks/v1beta2/runtimeoperations.rs +++ b/kube-custom-resources-rs/src/rc_app_stacks/v1beta2/runtimeoperations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/application-stacks/runtime-component-operator/rc.app.stacks/v1beta2/runtimeoperations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbclusterparametergroups.rs b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbclusterparametergroups.rs index b02b31941..39f377534 100644 --- a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbclusterparametergroups.rs +++ b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbclusterparametergroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/rds-controller/rds.services.k8s.aws/v1alpha1/dbclusterparametergroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbclusters.rs b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbclusters.rs index 2c0fbecb3..dc8e90f0e 100644 --- a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbclusters.rs +++ b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/rds-controller/rds.services.k8s.aws/v1alpha1/dbclusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbinstances.rs b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbinstances.rs index 3f0110273..74d6fb4ec 100644 --- a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbinstances.rs +++ b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbinstances.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/rds-controller/rds.services.k8s.aws/v1alpha1/dbinstances.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbparametergroups.rs b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbparametergroups.rs index 96095182f..11bfb0ca5 100644 --- a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbparametergroups.rs +++ b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbparametergroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/rds-controller/rds.services.k8s.aws/v1alpha1/dbparametergroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbproxies.rs b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbproxies.rs index 94c63732d..a06c5d2fb 100644 --- a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbproxies.rs +++ b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbproxies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/rds-controller/rds.services.k8s.aws/v1alpha1/dbproxies.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbsubnetgroups.rs b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbsubnetgroups.rs index 1b1d3a715..5614520a6 100644 --- a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbsubnetgroups.rs +++ b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbsubnetgroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/rds-controller/rds.services.k8s.aws/v1alpha1/dbsubnetgroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/globalclusters.rs b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/globalclusters.rs index f6b663c57..7074af4e4 100644 --- a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/globalclusters.rs +++ b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/globalclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/rds-controller/rds.services.k8s.aws/v1alpha1/globalclusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/redhatcop_redhat_io/v1alpha1/keepalivedgroups.rs b/kube-custom-resources-rs/src/redhatcop_redhat_io/v1alpha1/keepalivedgroups.rs index 41e242bcf..f5d1d2f24 100644 --- a/kube-custom-resources-rs/src/redhatcop_redhat_io/v1alpha1/keepalivedgroups.rs +++ b/kube-custom-resources-rs/src/redhatcop_redhat_io/v1alpha1/keepalivedgroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/redhat-cop/keepalived-operator/redhatcop.redhat.io/v1alpha1/keepalivedgroups.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/registry_apicur_io/v1/apicurioregistries.rs b/kube-custom-resources-rs/src/registry_apicur_io/v1/apicurioregistries.rs index 7b40f9fa8..55d15c5e6 100644 --- a/kube-custom-resources-rs/src/registry_apicur_io/v1/apicurioregistries.rs +++ b/kube-custom-resources-rs/src/registry_apicur_io/v1/apicurioregistries.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/Apicurio/apicurio-registry-operator/registry.apicur.io/v1/apicurioregistries.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/registry_devfile_io/v1alpha1/clusterdevfileregistrieslists.rs b/kube-custom-resources-rs/src/registry_devfile_io/v1alpha1/clusterdevfileregistrieslists.rs index 4ccf935df..f0c4090fb 100644 --- a/kube-custom-resources-rs/src/registry_devfile_io/v1alpha1/clusterdevfileregistrieslists.rs +++ b/kube-custom-resources-rs/src/registry_devfile_io/v1alpha1/clusterdevfileregistrieslists.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/devfile/registry-operator/registry.devfile.io/v1alpha1/clusterdevfileregistrieslists.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/registry_devfile_io/v1alpha1/devfileregistries.rs b/kube-custom-resources-rs/src/registry_devfile_io/v1alpha1/devfileregistries.rs index 3d199eec3..4d3021f25 100644 --- a/kube-custom-resources-rs/src/registry_devfile_io/v1alpha1/devfileregistries.rs +++ b/kube-custom-resources-rs/src/registry_devfile_io/v1alpha1/devfileregistries.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/devfile/registry-operator/registry.devfile.io/v1alpha1/devfileregistries.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/registry_devfile_io/v1alpha1/devfileregistrieslists.rs b/kube-custom-resources-rs/src/registry_devfile_io/v1alpha1/devfileregistrieslists.rs index 2b6ceaf6d..9bbd00594 100644 --- a/kube-custom-resources-rs/src/registry_devfile_io/v1alpha1/devfileregistrieslists.rs +++ b/kube-custom-resources-rs/src/registry_devfile_io/v1alpha1/devfileregistrieslists.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/devfile/registry-operator/registry.devfile.io/v1alpha1/devfileregistrieslists.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/reliablesyncs_kubeedge_io/v1alpha1/clusterobjectsyncs.rs b/kube-custom-resources-rs/src/reliablesyncs_kubeedge_io/v1alpha1/clusterobjectsyncs.rs index ec0c55383..89b104458 100644 --- a/kube-custom-resources-rs/src/reliablesyncs_kubeedge_io/v1alpha1/clusterobjectsyncs.rs +++ b/kube-custom-resources-rs/src/reliablesyncs_kubeedge_io/v1alpha1/clusterobjectsyncs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/reliablesyncs.kubeedge.io/v1alpha1/clusterobjectsyncs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/reliablesyncs_kubeedge_io/v1alpha1/objectsyncs.rs b/kube-custom-resources-rs/src/reliablesyncs_kubeedge_io/v1alpha1/objectsyncs.rs index 2be54e4e1..e285845e9 100644 --- a/kube-custom-resources-rs/src/reliablesyncs_kubeedge_io/v1alpha1/objectsyncs.rs +++ b/kube-custom-resources-rs/src/reliablesyncs_kubeedge_io/v1alpha1/objectsyncs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/reliablesyncs.kubeedge.io/v1alpha1/objectsyncs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/remediation_medik8s_io/v1alpha1/nodehealthchecks.rs b/kube-custom-resources-rs/src/remediation_medik8s_io/v1alpha1/nodehealthchecks.rs index 83f0c2c77..2c67914a9 100644 --- a/kube-custom-resources-rs/src/remediation_medik8s_io/v1alpha1/nodehealthchecks.rs +++ b/kube-custom-resources-rs/src/remediation_medik8s_io/v1alpha1/nodehealthchecks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/medik8s/node-healthcheck-operator/remediation.medik8s.io/v1alpha1/nodehealthchecks.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/repo_manager_pulpproject_org/v1beta2/pulpbackups.rs b/kube-custom-resources-rs/src/repo_manager_pulpproject_org/v1beta2/pulpbackups.rs index 7a56a19bd..610f38d93 100644 --- a/kube-custom-resources-rs/src/repo_manager_pulpproject_org/v1beta2/pulpbackups.rs +++ b/kube-custom-resources-rs/src/repo_manager_pulpproject_org/v1beta2/pulpbackups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/pulp/pulp-operator/repo-manager.pulpproject.org/v1beta2/pulpbackups.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/repo_manager_pulpproject_org/v1beta2/pulprestores.rs b/kube-custom-resources-rs/src/repo_manager_pulpproject_org/v1beta2/pulprestores.rs index 272187eaf..5858d04ac 100644 --- a/kube-custom-resources-rs/src/repo_manager_pulpproject_org/v1beta2/pulprestores.rs +++ b/kube-custom-resources-rs/src/repo_manager_pulpproject_org/v1beta2/pulprestores.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/pulp/pulp-operator/repo-manager.pulpproject.org/v1beta2/pulprestores.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/repo_manager_pulpproject_org/v1beta2/pulps.rs b/kube-custom-resources-rs/src/repo_manager_pulpproject_org/v1beta2/pulps.rs index 4173ac783..da075294e 100644 --- a/kube-custom-resources-rs/src/repo_manager_pulpproject_org/v1beta2/pulps.rs +++ b/kube-custom-resources-rs/src/repo_manager_pulpproject_org/v1beta2/pulps.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/pulp/pulp-operator/repo-manager.pulpproject.org/v1beta2/pulps.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/reports_kyverno_io/v1/clusterephemeralreports.rs b/kube-custom-resources-rs/src/reports_kyverno_io/v1/clusterephemeralreports.rs index a2ba50a09..873242c20 100644 --- a/kube-custom-resources-rs/src/reports_kyverno_io/v1/clusterephemeralreports.rs +++ b/kube-custom-resources-rs/src/reports_kyverno_io/v1/clusterephemeralreports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/reports.kyverno.io/v1/clusterephemeralreports.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/reports_kyverno_io/v1/ephemeralreports.rs b/kube-custom-resources-rs/src/reports_kyverno_io/v1/ephemeralreports.rs index 809be5f2e..9d5670dde 100644 --- a/kube-custom-resources-rs/src/reports_kyverno_io/v1/ephemeralreports.rs +++ b/kube-custom-resources-rs/src/reports_kyverno_io/v1/ephemeralreports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/reports.kyverno.io/v1/ephemeralreports.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/resources_teleport_dev/v1/teleportloginrules.rs b/kube-custom-resources-rs/src/resources_teleport_dev/v1/teleportloginrules.rs index b163c05b0..b162b3f75 100644 --- a/kube-custom-resources-rs/src/resources_teleport_dev/v1/teleportloginrules.rs +++ b/kube-custom-resources-rs/src/resources_teleport_dev/v1/teleportloginrules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/gravitational/teleport/resources.teleport.dev/v1/teleportloginrules.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/resources_teleport_dev/v1/teleportoktaimportrules.rs b/kube-custom-resources-rs/src/resources_teleport_dev/v1/teleportoktaimportrules.rs index d66fc4fdb..a6b863f3b 100644 --- a/kube-custom-resources-rs/src/resources_teleport_dev/v1/teleportoktaimportrules.rs +++ b/kube-custom-resources-rs/src/resources_teleport_dev/v1/teleportoktaimportrules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/gravitational/teleport/resources.teleport.dev/v1/teleportoktaimportrules.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/resources_teleport_dev/v2/teleportsamlconnectors.rs b/kube-custom-resources-rs/src/resources_teleport_dev/v2/teleportsamlconnectors.rs index ab9ca6552..22ceb81de 100644 --- a/kube-custom-resources-rs/src/resources_teleport_dev/v2/teleportsamlconnectors.rs +++ b/kube-custom-resources-rs/src/resources_teleport_dev/v2/teleportsamlconnectors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/gravitational/teleport/resources.teleport.dev/v2/teleportsamlconnectors.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -36,6 +36,9 @@ pub struct TeleportSAMLConnectorSpec { /// Cert is the identity provider certificate PEM. IDP signs responses using this certificate. #[serde(default, skip_serializing_if = "Option::is_none")] pub cert: Option, + /// ClientRedirectSettings defines which client redirect URLs are allowed for non-browser SSO logins other than the standard localhost ones. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub client_redirect_settings: Option, /// Display controls how this connector is displayed. #[serde(default, skip_serializing_if = "Option::is_none")] pub display: Option, @@ -86,6 +89,14 @@ pub struct TeleportSAMLConnectorAttributesToRoles { pub value: Option, } +/// ClientRedirectSettings defines which client redirect URLs are allowed for non-browser SSO logins other than the standard localhost ones. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct TeleportSAMLConnectorClientRedirectSettings { + /// a list of hostnames allowed for https client redirect URLs + #[serde(default, skip_serializing_if = "Option::is_none")] + pub allowed_https_hostnames: Option>, +} + /// SigningKeyPair is an x509 key pair used to sign AuthnRequest. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TeleportSAMLConnectorSigningKeyPair { diff --git a/kube-custom-resources-rs/src/resources_teleport_dev/v2/teleportusers.rs b/kube-custom-resources-rs/src/resources_teleport_dev/v2/teleportusers.rs index f19a2e558..3c8fa4b2e 100644 --- a/kube-custom-resources-rs/src/resources_teleport_dev/v2/teleportusers.rs +++ b/kube-custom-resources-rs/src/resources_teleport_dev/v2/teleportusers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/gravitational/teleport/resources.teleport.dev/v2/teleportusers.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/resources_teleport_dev/v3/teleportgithubconnectors.rs b/kube-custom-resources-rs/src/resources_teleport_dev/v3/teleportgithubconnectors.rs index c9d85e204..73802a1be 100644 --- a/kube-custom-resources-rs/src/resources_teleport_dev/v3/teleportgithubconnectors.rs +++ b/kube-custom-resources-rs/src/resources_teleport_dev/v3/teleportgithubconnectors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/gravitational/teleport/resources.teleport.dev/v3/teleportgithubconnectors.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -24,6 +24,9 @@ pub struct TeleportGithubConnectorSpec { /// ClientID is the Github OAuth app client ID. #[serde(default, skip_serializing_if = "Option::is_none")] pub client_id: Option, + /// ClientRedirectSettings defines which client redirect URLs are allowed for non-browser SSO logins other than the standard localhost ones. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub client_redirect_settings: Option, /// ClientSecret is the Github OAuth app client secret. #[serde(default, skip_serializing_if = "Option::is_none")] pub client_secret: Option, @@ -41,6 +44,14 @@ pub struct TeleportGithubConnectorSpec { pub teams_to_roles: Option>, } +/// ClientRedirectSettings defines which client redirect URLs are allowed for non-browser SSO logins other than the standard localhost ones. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct TeleportGithubConnectorClientRedirectSettings { + /// a list of hostnames allowed for https client redirect URLs + #[serde(default, skip_serializing_if = "Option::is_none")] + pub allowed_https_hostnames: Option>, +} + #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TeleportGithubConnectorTeamsToRoles { /// Organization is a Github organization a user belongs to. diff --git a/kube-custom-resources-rs/src/resources_teleport_dev/v3/teleportoidcconnectors.rs b/kube-custom-resources-rs/src/resources_teleport_dev/v3/teleportoidcconnectors.rs index 26776b705..3facce49a 100644 --- a/kube-custom-resources-rs/src/resources_teleport_dev/v3/teleportoidcconnectors.rs +++ b/kube-custom-resources-rs/src/resources_teleport_dev/v3/teleportoidcconnectors.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/gravitational/teleport/resources.teleport.dev/v3/teleportoidcconnectors.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -30,6 +30,9 @@ pub struct TeleportOIDCConnectorSpec { /// ClientID is the id of the authentication client (Teleport Auth server). #[serde(default, skip_serializing_if = "Option::is_none")] pub client_id: Option, + /// ClientRedirectSettings defines which client redirect URLs are allowed for non-browser SSO logins other than the standard localhost ones. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub client_redirect_settings: Option, /// ClientSecret is used to authenticate the client. #[serde(default, skip_serializing_if = "Option::is_none")] pub client_secret: Option, @@ -81,6 +84,14 @@ pub struct TeleportOIDCConnectorClaimsToRoles { pub value: Option, } +/// ClientRedirectSettings defines which client redirect URLs are allowed for non-browser SSO logins other than the standard localhost ones. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct TeleportOIDCConnectorClientRedirectSettings { + /// a list of hostnames allowed for https client redirect URLs + #[serde(default, skip_serializing_if = "Option::is_none")] + pub allowed_https_hostnames: Option>, +} + /// Status defines the observed state of the Teleport resource #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TeleportOIDCConnectorStatus { diff --git a/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/brokers.rs b/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/brokers.rs index 5d6ce1088..7574ea8db 100644 --- a/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/brokers.rs +++ b/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/brokers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apache/rocketmq-operator/rocketmq.apache.org/v1alpha1/brokers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/consoles.rs b/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/consoles.rs index 24bb5d54c..8f9789950 100644 --- a/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/consoles.rs +++ b/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/consoles.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apache/rocketmq-operator/rocketmq.apache.org/v1alpha1/consoles.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/nameservices.rs b/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/nameservices.rs index 232231807..7a3eb748a 100644 --- a/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/nameservices.rs +++ b/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/nameservices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apache/rocketmq-operator/rocketmq.apache.org/v1alpha1/nameservices.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/topictransfers.rs b/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/topictransfers.rs index eab26e9d8..268c210c9 100644 --- a/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/topictransfers.rs +++ b/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/topictransfers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apache/rocketmq-operator/rocketmq.apache.org/v1alpha1/topictransfers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/route53_services_k8s_aws/v1alpha1/hostedzones.rs b/kube-custom-resources-rs/src/route53_services_k8s_aws/v1alpha1/hostedzones.rs index 14d0d0155..5061adb9f 100644 --- a/kube-custom-resources-rs/src/route53_services_k8s_aws/v1alpha1/hostedzones.rs +++ b/kube-custom-resources-rs/src/route53_services_k8s_aws/v1alpha1/hostedzones.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/route53-controller/route53.services.k8s.aws/v1alpha1/hostedzones.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/route53_services_k8s_aws/v1alpha1/recordsets.rs b/kube-custom-resources-rs/src/route53_services_k8s_aws/v1alpha1/recordsets.rs index 5a8116df1..ddee7948d 100644 --- a/kube-custom-resources-rs/src/route53_services_k8s_aws/v1alpha1/recordsets.rs +++ b/kube-custom-resources-rs/src/route53_services_k8s_aws/v1alpha1/recordsets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/route53-controller/route53.services.k8s.aws/v1alpha1/recordsets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/route53resolver_services_k8s_aws/v1alpha1/resolverendpoints.rs b/kube-custom-resources-rs/src/route53resolver_services_k8s_aws/v1alpha1/resolverendpoints.rs index 21cd9dd5c..cb7f0765d 100644 --- a/kube-custom-resources-rs/src/route53resolver_services_k8s_aws/v1alpha1/resolverendpoints.rs +++ b/kube-custom-resources-rs/src/route53resolver_services_k8s_aws/v1alpha1/resolverendpoints.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/route53resolver-controller/route53resolver.services.k8s.aws/v1alpha1/resolverendpoints.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/route53resolver_services_k8s_aws/v1alpha1/resolverrules.rs b/kube-custom-resources-rs/src/route53resolver_services_k8s_aws/v1alpha1/resolverrules.rs index dfeffb7ae..b6d9a18dd 100644 --- a/kube-custom-resources-rs/src/route53resolver_services_k8s_aws/v1alpha1/resolverrules.rs +++ b/kube-custom-resources-rs/src/route53resolver_services_k8s_aws/v1alpha1/resolverrules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/route53resolver-controller/route53resolver.services.k8s.aws/v1alpha1/resolverrules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/rules_kubeedge_io/v1/ruleendpoints.rs b/kube-custom-resources-rs/src/rules_kubeedge_io/v1/ruleendpoints.rs index ff49f690e..b40ffc5c5 100644 --- a/kube-custom-resources-rs/src/rules_kubeedge_io/v1/ruleendpoints.rs +++ b/kube-custom-resources-rs/src/rules_kubeedge_io/v1/ruleendpoints.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/rules.kubeedge.io/v1/ruleendpoints.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/rules_kubeedge_io/v1/rules.rs b/kube-custom-resources-rs/src/rules_kubeedge_io/v1/rules.rs index b1a62ac9b..dedc9d2f8 100644 --- a/kube-custom-resources-rs/src/rules_kubeedge_io/v1/rules.rs +++ b/kube-custom-resources-rs/src/rules_kubeedge_io/v1/rules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/rules.kubeedge.io/v1/rules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/runtime_cluster_x_k8s_io/v1alpha1/extensionconfigs.rs b/kube-custom-resources-rs/src/runtime_cluster_x_k8s_io/v1alpha1/extensionconfigs.rs index d3041796a..bdc9325a6 100644 --- a/kube-custom-resources-rs/src/runtime_cluster_x_k8s_io/v1alpha1/extensionconfigs.rs +++ b/kube-custom-resources-rs/src/runtime_cluster_x_k8s_io/v1alpha1/extensionconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/runtime.cluster.x-k8s.io/v1alpha1/extensionconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/s3_services_k8s_aws/v1alpha1/buckets.rs b/kube-custom-resources-rs/src/s3_services_k8s_aws/v1alpha1/buckets.rs index 0e9bd63ab..acb9c7cc8 100644 --- a/kube-custom-resources-rs/src/s3_services_k8s_aws/v1alpha1/buckets.rs +++ b/kube-custom-resources-rs/src/s3_services_k8s_aws/v1alpha1/buckets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/s3-controller/s3.services.k8s.aws/v1alpha1/buckets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/s3_snappcloud_io/v1alpha1/s3buckets.rs b/kube-custom-resources-rs/src/s3_snappcloud_io/v1alpha1/s3buckets.rs index d2637fe84..8107c8c26 100644 --- a/kube-custom-resources-rs/src/s3_snappcloud_io/v1alpha1/s3buckets.rs +++ b/kube-custom-resources-rs/src/s3_snappcloud_io/v1alpha1/s3buckets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/snapp-incubator/ceph-s3-operator/s3.snappcloud.io/v1alpha1/s3buckets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/s3_snappcloud_io/v1alpha1/s3userclaims.rs b/kube-custom-resources-rs/src/s3_snappcloud_io/v1alpha1/s3userclaims.rs index e7a5bd29d..db85bf2bd 100644 --- a/kube-custom-resources-rs/src/s3_snappcloud_io/v1alpha1/s3userclaims.rs +++ b/kube-custom-resources-rs/src/s3_snappcloud_io/v1alpha1/s3userclaims.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/snapp-incubator/ceph-s3-operator/s3.snappcloud.io/v1alpha1/s3userclaims.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/s3_snappcloud_io/v1alpha1/s3users.rs b/kube-custom-resources-rs/src/s3_snappcloud_io/v1alpha1/s3users.rs index 9a16db986..51d84dd9a 100644 --- a/kube-custom-resources-rs/src/s3_snappcloud_io/v1alpha1/s3users.rs +++ b/kube-custom-resources-rs/src/s3_snappcloud_io/v1alpha1/s3users.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/snapp-incubator/ceph-s3-operator/s3.snappcloud.io/v1alpha1/s3users.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/apps.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/apps.rs index 1172f98c2..00a1fa23a 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/apps.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/apps.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/apps.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/dataqualityjobdefinitions.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/dataqualityjobdefinitions.rs index bb9093491..43499270c 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/dataqualityjobdefinitions.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/dataqualityjobdefinitions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/dataqualityjobdefinitions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/domains.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/domains.rs index 1763906c7..08819dff7 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/domains.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/domains.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/domains.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/endpointconfigs.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/endpointconfigs.rs index f640ae2a6..0ad4ca8c5 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/endpointconfigs.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/endpointconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/endpointconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/endpoints.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/endpoints.rs index 85e790e5c..2d7b1ff43 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/endpoints.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/endpoints.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/endpoints.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/featuregroups.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/featuregroups.rs index 310626fa1..51b48b3fa 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/featuregroups.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/featuregroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/featuregroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/hyperparametertuningjobs.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/hyperparametertuningjobs.rs index a5ed2921e..3f9fdc1a7 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/hyperparametertuningjobs.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/hyperparametertuningjobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/hyperparametertuningjobs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelbiasjobdefinitions.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelbiasjobdefinitions.rs index e37fc9cac..e6ac44911 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelbiasjobdefinitions.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelbiasjobdefinitions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/modelbiasjobdefinitions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelexplainabilityjobdefinitions.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelexplainabilityjobdefinitions.rs index c2d0f40cd..f8be799fc 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelexplainabilityjobdefinitions.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelexplainabilityjobdefinitions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/modelexplainabilityjobdefinitions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelpackagegroups.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelpackagegroups.rs index 045bd9f56..6350020a3 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelpackagegroups.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelpackagegroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/modelpackagegroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelpackages.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelpackages.rs index 29c43c5e3..8558fe8c4 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelpackages.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelpackages.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/modelpackages.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelqualityjobdefinitions.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelqualityjobdefinitions.rs index 5c8e85f37..9b6da480b 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelqualityjobdefinitions.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelqualityjobdefinitions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/modelqualityjobdefinitions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/models.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/models.rs index d9b75dac5..3776945b8 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/models.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/models.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/models.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/monitoringschedules.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/monitoringschedules.rs index 95df8454a..11c4e44c0 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/monitoringschedules.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/monitoringschedules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/monitoringschedules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/notebookinstancelifecycleconfigs.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/notebookinstancelifecycleconfigs.rs index b49933a75..62c7a5012 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/notebookinstancelifecycleconfigs.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/notebookinstancelifecycleconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/notebookinstancelifecycleconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/notebookinstances.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/notebookinstances.rs index 664a6fea5..7be795593 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/notebookinstances.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/notebookinstances.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/notebookinstances.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/processingjobs.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/processingjobs.rs index 087d4d0cb..7986c7096 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/processingjobs.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/processingjobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/processingjobs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/trainingjobs.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/trainingjobs.rs index 76f79ebe2..5e651976b 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/trainingjobs.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/trainingjobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/trainingjobs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/transformjobs.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/transformjobs.rs index cd3a3342f..ef820f30a 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/transformjobs.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/transformjobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/transformjobs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/userprofiles.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/userprofiles.rs index b8bb528b0..ffb341cbd 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/userprofiles.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/userprofiles.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/userprofiles.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/scheduling_koordinator_sh/v1alpha1/devices.rs b/kube-custom-resources-rs/src/scheduling_koordinator_sh/v1alpha1/devices.rs index 39a2220cf..d95d70fcc 100644 --- a/kube-custom-resources-rs/src/scheduling_koordinator_sh/v1alpha1/devices.rs +++ b/kube-custom-resources-rs/src/scheduling_koordinator_sh/v1alpha1/devices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/koordinator-sh/koordinator/scheduling.koordinator.sh/v1alpha1/devices.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/scheduling_koordinator_sh/v1alpha1/podmigrationjobs.rs b/kube-custom-resources-rs/src/scheduling_koordinator_sh/v1alpha1/podmigrationjobs.rs index a82e5a6aa..3630c1260 100644 --- a/kube-custom-resources-rs/src/scheduling_koordinator_sh/v1alpha1/podmigrationjobs.rs +++ b/kube-custom-resources-rs/src/scheduling_koordinator_sh/v1alpha1/podmigrationjobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/koordinator-sh/koordinator/scheduling.koordinator.sh/v1alpha1/podmigrationjobs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -20,10 +20,12 @@ pub struct PodMigrationJobSpec { /// DeleteOptions defines the deleting options for the migrated Pod and preempted Pods #[serde(default, skip_serializing_if = "Option::is_none", rename = "deleteOptions")] pub delete_options: Option, - /// Mode represents the operating mode of the Job Default is PodMigrationJobModeReservationFirst + /// Mode represents the operating mode of the Job + /// Default is PodMigrationJobModeReservationFirst #[serde(default, skip_serializing_if = "Option::is_none")] pub mode: Option, - /// Paused indicates whether the PodMigrationJob should to work or not. Default is false + /// Paused indicates whether the PodMigrationJob should to work or not. + /// Default is false #[serde(default, skip_serializing_if = "Option::is_none")] pub paused: Option, /// PodRef represents the Pod that be migrated @@ -40,30 +42,56 @@ pub struct PodMigrationJobSpec { /// DeleteOptions defines the deleting options for the migrated Pod and preempted Pods #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PodMigrationJobDeleteOptions { - /// 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 + /// 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 #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, - /// When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + /// When present, indicates that modifications should not be + /// persisted. An invalid or unrecognized dryRun directive will + /// result in an error response and no further processing of the + /// request. Valid values are: + /// - All: all dry run stages will be processed #[serde(default, skip_serializing_if = "Option::is_none", rename = "dryRun")] pub dry_run: Option>, - /// The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + /// The duration in seconds before the object should be deleted. Value must be non-negative integer. + /// The value zero indicates delete immediately. If this value is nil, the default grace period for the + /// specified type will be used. + /// Defaults to a per object value if not specified. zero means delete immediately. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gracePeriodSeconds")] pub grace_period_seconds: Option, - /// 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 + /// 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 #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, - /// Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + /// Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. + /// Should the dependent objects be orphaned. If true/false, the "orphan" + /// finalizer will be added to/removed from the object's finalizers list. + /// Either this field or PropagationPolicy may be set, but not both. #[serde(default, skip_serializing_if = "Option::is_none", rename = "orphanDependents")] pub orphan_dependents: Option, - /// Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. + /// Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be + /// returned. #[serde(default, skip_serializing_if = "Option::is_none")] pub preconditions: Option, - /// Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + /// Whether and how garbage collection will be performed. + /// Either this field or OrphanDependents may be set, but not both. + /// The default policy is decided by the existing finalizer set in the + /// metadata.finalizers and the resource-specific default policy. + /// Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - + /// allow the garbage collector to delete the dependents in the background; + /// 'Foreground' - a cascading policy that deletes all dependents in the + /// foreground. #[serde(default, skip_serializing_if = "Option::is_none", rename = "propagationPolicy")] pub propagation_policy: Option, } -/// Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. +/// Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be +/// returned. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PodMigrationJobDeleteOptionsPreconditions { /// Specifies the target ResourceVersion @@ -80,22 +108,34 @@ pub struct PodMigrationJobPodRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, - /// If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future. + /// If referring to a piece of an object instead of an entire object, this string + /// should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + /// For example, if the object reference is to a container within a pod, this would take on a value like: + /// "spec.containers{name}" (where "name" refers to the name of the container that triggered + /// the event) or if no container name is specified "spec.containers[2]" (container with + /// index 2 in this pod). This syntax is chosen only to have some well-defined way of + /// referencing a part of an object. + /// TODO: this design is not final and this field is subject to change in the future. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldPath")] pub field_path: Option, - /// Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + /// Kind of the referent. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, - /// Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + /// Namespace of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + /// Specific resourceVersion to which this reference is made, if any. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceVersion")] pub resource_version: Option, - /// UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + /// UID of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids #[serde(default, skip_serializing_if = "Option::is_none")] pub uid: Option, } @@ -103,10 +143,13 @@ pub struct PodMigrationJobPodRef { /// ReservationOptions defines the Reservation options for migrated Pod #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PodMigrationJobReservationOptions { - /// PreemptionOption decides whether to preempt other Pods. The preemption is safe and reserves resources for preempted Pods. + /// PreemptionOption decides whether to preempt other Pods. + /// The preemption is safe and reserves resources for preempted Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preemptionOptions")] pub preemption_options: Option, - /// ReservationRef if specified, PodMigrationJob will check if the status of Reservation is available. ReservationRef if not specified, PodMigrationJob controller will create Reservation by Template, and update the ReservationRef to reference the Reservation + /// ReservationRef if specified, PodMigrationJob will check if the status of Reservation is available. + /// ReservationRef if not specified, PodMigrationJob controller will create Reservation by Template, + /// and update the ReservationRef to reference the Reservation #[serde(default, skip_serializing_if = "Option::is_none", rename = "reservationRef")] pub reservation_ref: Option, /// Template is the object that describes the Reservation that will be created if not specified ReservationRef @@ -114,33 +157,48 @@ pub struct PodMigrationJobReservationOptions { pub template: Option, } -/// PreemptionOption decides whether to preempt other Pods. The preemption is safe and reserves resources for preempted Pods. +/// PreemptionOption decides whether to preempt other Pods. +/// The preemption is safe and reserves resources for preempted Pods. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PodMigrationJobReservationOptionsPreemptionOptions { } -/// ReservationRef if specified, PodMigrationJob will check if the status of Reservation is available. ReservationRef if not specified, PodMigrationJob controller will create Reservation by Template, and update the ReservationRef to reference the Reservation +/// ReservationRef if specified, PodMigrationJob will check if the status of Reservation is available. +/// ReservationRef if not specified, PodMigrationJob controller will create Reservation by Template, +/// and update the ReservationRef to reference the Reservation #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PodMigrationJobReservationOptionsReservationRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, - /// If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future. + /// If referring to a piece of an object instead of an entire object, this string + /// should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + /// For example, if the object reference is to a container within a pod, this would take on a value like: + /// "spec.containers{name}" (where "name" refers to the name of the container that triggered + /// the event) or if no container name is specified "spec.containers[2]" (container with + /// index 2 in this pod). This syntax is chosen only to have some well-defined way of + /// referencing a part of an object. + /// TODO: this design is not final and this field is subject to change in the future. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldPath")] pub field_path: Option, - /// Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + /// Kind of the referent. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, - /// Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + /// Namespace of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + /// Specific resourceVersion to which this reference is made, if any. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceVersion")] pub resource_version: Option, - /// UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + /// UID of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids #[serde(default, skip_serializing_if = "Option::is_none")] pub uid: Option, } @@ -156,7 +214,8 @@ pub struct PodMigrationJobStatus { /// NodeName represents the node's name of migrated Pod #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeName")] pub node_name: Option, - /// PodMigrationJobPhase represents the phase of a PodMigrationJob is a simple, high-level summary of where the PodMigrationJob is in its lifecycle. e.g. Pending/Running/Failed + /// PodMigrationJobPhase represents the phase of a PodMigrationJob is a simple, high-level summary of where the PodMigrationJob is in its lifecycle. + /// e.g. Pending/Running/Failed #[serde(default, skip_serializing_if = "Option::is_none")] pub phase: Option, /// PodRef represents the newly created Pod after being migrated @@ -171,7 +230,8 @@ pub struct PodMigrationJobStatus { /// Reason represents a brief CamelCase message indicating details about why the PodMigrationJob is in this state. #[serde(default, skip_serializing_if = "Option::is_none")] pub reason: Option, - /// Status represents the current status of PodMigrationJob e.g. ReservationCreated + /// Status represents the current status of PodMigrationJob + /// e.g. ReservationCreated #[serde(default, skip_serializing_if = "Option::is_none")] pub status: Option, } @@ -182,49 +242,88 @@ pub struct PodMigrationJobStatusPodRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, - /// If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future. + /// If referring to a piece of an object instead of an entire object, this string + /// should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + /// For example, if the object reference is to a container within a pod, this would take on a value like: + /// "spec.containers{name}" (where "name" refers to the name of the container that triggered + /// the event) or if no container name is specified "spec.containers[2]" (container with + /// index 2 in this pod). This syntax is chosen only to have some well-defined way of + /// referencing a part of an object. + /// TODO: this design is not final and this field is subject to change in the future. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldPath")] pub field_path: Option, - /// Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + /// Kind of the referent. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, - /// Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + /// Namespace of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + /// Specific resourceVersion to which this reference is made, if any. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceVersion")] pub resource_version: Option, - /// UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + /// UID of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids #[serde(default, skip_serializing_if = "Option::is_none")] pub uid: Option, } -/// ObjectReference contains enough information to let you inspect or modify the referred object. --- New uses of this type are discouraged because of difficulty describing its usage when embedded in APIs. 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage. 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular restrictions like, "must refer only to types A and B" or "UID not honored" or "name must be restricted". Those cannot be well described when embedded. 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen. 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple and the version of the actual struct is irrelevant. 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control. -/// Instead of using this type, create a locally provided and used type that is well-focused on your reference. For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 . +/// ObjectReference contains enough information to let you inspect or modify the referred object. +/// --- +/// New uses of this type are discouraged because of difficulty describing its usage when embedded in APIs. +/// 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage. +/// 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular +/// restrictions like, "must refer only to types A and B" or "UID not honored" or "name must be restricted". +/// Those cannot be well described when embedded. +/// 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen. +/// 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity +/// during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple +/// and the version of the actual struct is irrelevant. +/// 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type +/// will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control. +/// +/// +/// Instead of using this type, create a locally provided and used type that is well-focused on your reference. +/// For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 . #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PodMigrationJobStatusPreemptedPodsRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, - /// If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future. + /// If referring to a piece of an object instead of an entire object, this string + /// should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + /// For example, if the object reference is to a container within a pod, this would take on a value like: + /// "spec.containers{name}" (where "name" refers to the name of the container that triggered + /// the event) or if no container name is specified "spec.containers[2]" (container with + /// index 2 in this pod). This syntax is chosen only to have some well-defined way of + /// referencing a part of an object. + /// TODO: this design is not final and this field is subject to change in the future. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldPath")] pub field_path: Option, - /// Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + /// Kind of the referent. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, - /// Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + /// Namespace of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + /// Specific resourceVersion to which this reference is made, if any. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceVersion")] pub resource_version: Option, - /// UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + /// UID of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids #[serde(default, skip_serializing_if = "Option::is_none")] pub uid: Option, } @@ -251,29 +350,56 @@ pub struct PodMigrationJobStatusPreemptedPodsReservation { pub preempted_pod_ref: Option, } -/// ObjectReference contains enough information to let you inspect or modify the referred object. --- New uses of this type are discouraged because of difficulty describing its usage when embedded in APIs. 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage. 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular restrictions like, "must refer only to types A and B" or "UID not honored" or "name must be restricted". Those cannot be well described when embedded. 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen. 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple and the version of the actual struct is irrelevant. 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control. -/// Instead of using this type, create a locally provided and used type that is well-focused on your reference. For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 . +/// ObjectReference contains enough information to let you inspect or modify the referred object. +/// --- +/// New uses of this type are discouraged because of difficulty describing its usage when embedded in APIs. +/// 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage. +/// 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular +/// restrictions like, "must refer only to types A and B" or "UID not honored" or "name must be restricted". +/// Those cannot be well described when embedded. +/// 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen. +/// 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity +/// during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple +/// and the version of the actual struct is irrelevant. +/// 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type +/// will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control. +/// +/// +/// Instead of using this type, create a locally provided and used type that is well-focused on your reference. +/// For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 . #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PodMigrationJobStatusPreemptedPodsReservationPodsRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, - /// If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future. + /// If referring to a piece of an object instead of an entire object, this string + /// should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + /// For example, if the object reference is to a container within a pod, this would take on a value like: + /// "spec.containers{name}" (where "name" refers to the name of the container that triggered + /// the event) or if no container name is specified "spec.containers[2]" (container with + /// index 2 in this pod). This syntax is chosen only to have some well-defined way of + /// referencing a part of an object. + /// TODO: this design is not final and this field is subject to change in the future. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldPath")] pub field_path: Option, - /// Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + /// Kind of the referent. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, - /// Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + /// Namespace of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + /// Specific resourceVersion to which this reference is made, if any. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceVersion")] pub resource_version: Option, - /// UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + /// UID of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids #[serde(default, skip_serializing_if = "Option::is_none")] pub uid: Option, } @@ -284,22 +410,34 @@ pub struct PodMigrationJobStatusPreemptedPodsReservationPreemptedPodRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, - /// If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future. + /// If referring to a piece of an object instead of an entire object, this string + /// should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + /// For example, if the object reference is to a container within a pod, this would take on a value like: + /// "spec.containers{name}" (where "name" refers to the name of the container that triggered + /// the event) or if no container name is specified "spec.containers[2]" (container with + /// index 2 in this pod). This syntax is chosen only to have some well-defined way of + /// referencing a part of an object. + /// TODO: this design is not final and this field is subject to change in the future. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldPath")] pub field_path: Option, - /// Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + /// Kind of the referent. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, - /// Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + /// Namespace of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + /// Specific resourceVersion to which this reference is made, if any. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceVersion")] pub resource_version: Option, - /// UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + /// UID of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids #[serde(default, skip_serializing_if = "Option::is_none")] pub uid: Option, } diff --git a/kube-custom-resources-rs/src/scheduling_koordinator_sh/v1alpha1/reservations.rs b/kube-custom-resources-rs/src/scheduling_koordinator_sh/v1alpha1/reservations.rs index 335e6e612..64ac79ea4 100644 --- a/kube-custom-resources-rs/src/scheduling_koordinator_sh/v1alpha1/reservations.rs +++ b/kube-custom-resources-rs/src/scheduling_koordinator_sh/v1alpha1/reservations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/koordinator-sh/koordinator/scheduling.koordinator.sh/v1alpha1/reservations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -19,23 +19,34 @@ use self::prelude::*; #[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ReservationSpec { - /// When `AllocateOnce` is set, the reserved resources are only available for the first owner who allocates successfully and are not allocatable to other owners anymore. Defaults to true. + /// When `AllocateOnce` is set, the reserved resources are only available for the first owner who allocates successfully + /// and are not allocatable to other owners anymore. Defaults to true. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateOnce")] pub allocate_once: Option, /// AllocatePolicy represents the allocation policy of reserved resources that Reservation expects. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocatePolicy")] pub allocate_policy: Option, - /// Expired timestamp when the reservation is expected to expire. If both `expires` and `ttl` are set, `expires` is checked first. `expires` and `ttl` are mutually exclusive. Defaults to being set dynamically at runtime based on the `ttl`. + /// Expired timestamp when the reservation is expected to expire. + /// If both `expires` and `ttl` are set, `expires` is checked first. + /// `expires` and `ttl` are mutually exclusive. Defaults to being set dynamically at runtime based on the `ttl`. #[serde(default, skip_serializing_if = "Option::is_none")] pub expires: Option, - /// Specify the owners who can allocate the reserved resources. Multiple owner selectors and ORed. + /// Specify the owners who can allocate the reserved resources. + /// Multiple owner selectors and ORed. pub owners: Vec, - /// By default, the resources requirements of reservation (specified in `template.spec`) is filtered by whether the node has sufficient free resources (i.e. Reservation Request < Node Free). When `preAllocation` is set, the scheduler will skip this validation and allow overcommitment. The scheduled reservation would be waiting to be available until free resources are sufficient. + /// By default, the resources requirements of reservation (specified in `template.spec`) is filtered by whether the + /// node has sufficient free resources (i.e. Reservation Request < Node Free). + /// When `preAllocation` is set, the scheduler will skip this validation and allow overcommitment. The scheduled + /// reservation would be waiting to be available until free resources are sufficient. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preAllocation")] pub pre_allocation: Option, - /// Template defines the scheduling requirements (resources, affinities, images, ...) processed by the scheduler just like a normal pod. If the `template.spec.nodeName` is specified, the scheduler will not choose another node but reserve resources on the specified node. + /// Template defines the scheduling requirements (resources, affinities, images, ...) processed by the scheduler just + /// like a normal pod. + /// If the `template.spec.nodeName` is specified, the scheduler will not choose another node but reserve resources on + /// the specified node. pub template: serde_json::Value, - /// Time-to-Live period for the reservation. `expires` and `ttl` are mutually exclusive. Defaults to 24h. Set 0 to disable expiration. + /// Time-to-Live period for the reservation. + /// `expires` and `ttl` are mutually exclusive. Defaults to 24h. Set 0 to disable expiration. #[serde(default, skip_serializing_if = "Option::is_none")] pub ttl: Option, /// Unschedulable controls reservation schedulability of new pods. By default, reservation is schedulable. @@ -54,7 +65,9 @@ pub enum ReservationAllocatePolicy { pub struct ReservationOwners { #[serde(default, skip_serializing_if = "Option::is_none")] pub controller: Option, - /// A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. + /// A label selector is a label query over a set of resources. The result of matchLabels and + /// matchExpressions are ANDed. An empty label selector matches all objects. A null + /// label selector matches no objects. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, /// Multiple field selectors are ANDed. @@ -67,41 +80,60 @@ pub struct ReservationOwnersController { /// API version of the referent. #[serde(rename = "apiVersion")] pub api_version: String, - /// If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. + /// If true, AND if the owner has the "foregroundDeletion" finalizer, then + /// the owner cannot be deleted from the key-value store until this + /// reference is removed. + /// See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion + /// for how the garbage collector interacts with this field and enforces the foreground deletion. + /// Defaults to false. + /// To set this field, a user needs "delete" permission of the owner, + /// otherwise 422 (Unprocessable Entity) will be returned. #[serde(default, skip_serializing_if = "Option::is_none", rename = "blockOwnerDeletion")] pub block_owner_deletion: Option, /// If true, this reference points to the managing controller. #[serde(default, skip_serializing_if = "Option::is_none")] pub controller: Option, - /// Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + /// Kind of the referent. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds pub kind: String, - /// Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids + /// UID of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids pub uid: String, } -/// A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. +/// A label selector is a label query over a set of resources. The result of matchLabels and +/// matchExpressions are ANDed. An empty label selector matches all objects. A null +/// label selector matches no objects. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReservationOwnersLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReservationOwnersLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } @@ -112,22 +144,34 @@ pub struct ReservationOwnersObject { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, - /// If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future. + /// If referring to a piece of an object instead of an entire object, this string + /// should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + /// For example, if the object reference is to a container within a pod, this would take on a value like: + /// "spec.containers{name}" (where "name" refers to the name of the container that triggered + /// the event) or if no container name is specified "spec.containers[2]" (container with + /// index 2 in this pod). This syntax is chosen only to have some well-defined way of + /// referencing a part of an object. + /// TODO: this design is not final and this field is subject to change in the future. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldPath")] pub field_path: Option, - /// Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + /// Kind of the referent. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, - /// Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + /// Namespace of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + /// Specific resourceVersion to which this reference is made, if any. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceVersion")] pub resource_version: Option, - /// UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + /// UID of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids #[serde(default, skip_serializing_if = "Option::is_none")] pub uid: Option, } @@ -149,34 +193,62 @@ pub struct ReservationStatus { /// Name of node the reservation is scheduled on. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeName")] pub node_name: Option, - /// The `phase` indicates whether is reservation is waiting for process, available to allocate or failed/expired to get cleanup. + /// The `phase` indicates whether is reservation is waiting for process, available to allocate or failed/expired to + /// get cleanup. #[serde(default, skip_serializing_if = "Option::is_none")] pub phase: Option, } -/// ObjectReference contains enough information to let you inspect or modify the referred object. --- New uses of this type are discouraged because of difficulty describing its usage when embedded in APIs. 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage. 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular restrictions like, "must refer only to types A and B" or "UID not honored" or "name must be restricted". Those cannot be well described when embedded. 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen. 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple and the version of the actual struct is irrelevant. 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control. -/// Instead of using this type, create a locally provided and used type that is well-focused on your reference. For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 . +/// ObjectReference contains enough information to let you inspect or modify the referred object. +/// --- +/// New uses of this type are discouraged because of difficulty describing its usage when embedded in APIs. +/// 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage. +/// 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular +/// restrictions like, "must refer only to types A and B" or "UID not honored" or "name must be restricted". +/// Those cannot be well described when embedded. +/// 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen. +/// 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity +/// during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple +/// and the version of the actual struct is irrelevant. +/// 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type +/// will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control. +/// +/// +/// Instead of using this type, create a locally provided and used type that is well-focused on your reference. +/// For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 . #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReservationStatusCurrentOwners { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, - /// If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future. + /// If referring to a piece of an object instead of an entire object, this string + /// should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + /// For example, if the object reference is to a container within a pod, this would take on a value like: + /// "spec.containers{name}" (where "name" refers to the name of the container that triggered + /// the event) or if no container name is specified "spec.containers[2]" (container with + /// index 2 in this pod). This syntax is chosen only to have some well-defined way of + /// referencing a part of an object. + /// TODO: this design is not final and this field is subject to change in the future. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldPath")] pub field_path: Option, - /// Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + /// Kind of the referent. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, - /// Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + /// Namespace of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + /// Specific resourceVersion to which this reference is made, if any. + /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceVersion")] pub resource_version: Option, - /// UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + /// UID of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids #[serde(default, skip_serializing_if = "Option::is_none")] pub uid: Option, } diff --git a/kube-custom-resources-rs/src/scheduling_sigs_k8s_io/v1alpha1/elasticquotas.rs b/kube-custom-resources-rs/src/scheduling_sigs_k8s_io/v1alpha1/elasticquotas.rs index 8a024350a..b74f9a5fb 100644 --- a/kube-custom-resources-rs/src/scheduling_sigs_k8s_io/v1alpha1/elasticquotas.rs +++ b/kube-custom-resources-rs/src/scheduling_sigs_k8s_io/v1alpha1/elasticquotas.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/koordinator-sh/koordinator/scheduling.sigs.k8s.io/v1alpha1/elasticquotas.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -19,7 +19,8 @@ use self::prelude::*; #[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ElasticQuotaSpec { - /// Max is the set of desired max limits for each named resource. The usage of max is based on the resource configurations of successfully scheduled pods. + /// Max is the set of desired max limits for each named resource. The usage of max is based on the resource configurations of + /// successfully scheduled pods. #[serde(default, skip_serializing_if = "Option::is_none")] pub max: Option>, /// Min is the set of desired guaranteed limits for each named resource. diff --git a/kube-custom-resources-rs/src/scheduling_sigs_k8s_io/v1alpha1/podgroups.rs b/kube-custom-resources-rs/src/scheduling_sigs_k8s_io/v1alpha1/podgroups.rs index 1d3d9e8dd..aea6ff292 100644 --- a/kube-custom-resources-rs/src/scheduling_sigs_k8s_io/v1alpha1/podgroups.rs +++ b/kube-custom-resources-rs/src/scheduling_sigs_k8s_io/v1alpha1/podgroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/koordinator-sh/koordinator/scheduling.sigs.k8s.io/v1alpha1/podgroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -19,10 +19,14 @@ use self::prelude::*; #[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PodGroupSpec { - /// MinMember defines the minimal number of members/tasks to run the pod group; if there's not enough resources to start all tasks, the scheduler will not start anyone. + /// MinMember defines the minimal number of members/tasks to run the pod group; + /// if there's not enough resources to start all tasks, the scheduler + /// will not start anyone. #[serde(default, skip_serializing_if = "Option::is_none", rename = "minMember")] pub min_member: Option, - /// MinResources defines the minimal resource of members/tasks to run the pod group; if there's not enough resources to start all tasks, the scheduler will not start anyone. + /// MinResources defines the minimal resource of members/tasks to run the pod group; + /// if there's not enough resources to start all tasks, the scheduler + /// will not start anyone. #[serde(default, skip_serializing_if = "Option::is_none", rename = "minResources")] pub min_resources: Option>, /// ScheduleTimeoutSeconds defines the maximal time of members/tasks to wait before run the pod group; @@ -30,13 +34,15 @@ pub struct PodGroupSpec { pub schedule_timeout_seconds: Option, } -/// Status represents the current information about a pod group. This data may not be up to date. +/// Status represents the current information about a pod group. +/// This data may not be up to date. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PodGroupStatus { /// The number of pods which reached phase Failed. #[serde(default, skip_serializing_if = "Option::is_none")] pub failed: Option, - /// OccupiedBy marks the workload (e.g., deployment, statefulset) UID that occupy the podgroup. It is empty if not initialized. + /// OccupiedBy marks the workload (e.g., deployment, statefulset) UID that occupy the podgroup. + /// It is empty if not initialized. #[serde(default, skip_serializing_if = "Option::is_none", rename = "occupiedBy")] pub occupied_by: Option, /// Current phase of PodGroup. diff --git a/kube-custom-resources-rs/src/scheduling_volcano_sh/v1beta1/podgroups.rs b/kube-custom-resources-rs/src/scheduling_volcano_sh/v1beta1/podgroups.rs index bbeb9bd4e..58188e803 100644 --- a/kube-custom-resources-rs/src/scheduling_volcano_sh/v1beta1/podgroups.rs +++ b/kube-custom-resources-rs/src/scheduling_volcano_sh/v1beta1/podgroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/volcano-sh/volcano/scheduling.volcano.sh/v1beta1/podgroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/scheduling_volcano_sh/v1beta1/queues.rs b/kube-custom-resources-rs/src/scheduling_volcano_sh/v1beta1/queues.rs index 485fc1229..d6a8d9ba2 100644 --- a/kube-custom-resources-rs/src/scheduling_volcano_sh/v1beta1/queues.rs +++ b/kube-custom-resources-rs/src/scheduling_volcano_sh/v1beta1/queues.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/volcano-sh/volcano/scheduling.volcano.sh/v1beta1/queues.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/schemas_schemahero_io/v1alpha4/datatypes.rs b/kube-custom-resources-rs/src/schemas_schemahero_io/v1alpha4/datatypes.rs index 5b49cf859..c82cb21ac 100644 --- a/kube-custom-resources-rs/src/schemas_schemahero_io/v1alpha4/datatypes.rs +++ b/kube-custom-resources-rs/src/schemas_schemahero_io/v1alpha4/datatypes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/schemahero/schemahero/schemas.schemahero.io/v1alpha4/datatypes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/schemas_schemahero_io/v1alpha4/migrations.rs b/kube-custom-resources-rs/src/schemas_schemahero_io/v1alpha4/migrations.rs index 0097814e2..081ecb3dc 100644 --- a/kube-custom-resources-rs/src/schemas_schemahero_io/v1alpha4/migrations.rs +++ b/kube-custom-resources-rs/src/schemas_schemahero_io/v1alpha4/migrations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/schemahero/schemahero/schemas.schemahero.io/v1alpha4/migrations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/schemas_schemahero_io/v1alpha4/tables.rs b/kube-custom-resources-rs/src/schemas_schemahero_io/v1alpha4/tables.rs index 687e5e2f8..ad08663c3 100644 --- a/kube-custom-resources-rs/src/schemas_schemahero_io/v1alpha4/tables.rs +++ b/kube-custom-resources-rs/src/schemas_schemahero_io/v1alpha4/tables.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/schemahero/schemahero/schemas.schemahero.io/v1alpha4/tables.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/scylla_scylladb_com/v1/scyllaclusters.rs b/kube-custom-resources-rs/src/scylla_scylladb_com/v1/scyllaclusters.rs index f7d62781e..4022fc823 100644 --- a/kube-custom-resources-rs/src/scylla_scylladb_com/v1/scyllaclusters.rs +++ b/kube-custom-resources-rs/src/scylla_scylladb_com/v1/scyllaclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/scylladb/scylla-operator/scylla.scylladb.com/v1/scyllaclusters.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/scylla_scylladb_com/v1alpha1/nodeconfigs.rs b/kube-custom-resources-rs/src/scylla_scylladb_com/v1alpha1/nodeconfigs.rs index b32c3205a..cadbff10a 100644 --- a/kube-custom-resources-rs/src/scylla_scylladb_com/v1alpha1/nodeconfigs.rs +++ b/kube-custom-resources-rs/src/scylla_scylladb_com/v1alpha1/nodeconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/scylladb/scylla-operator/scylla.scylladb.com/v1alpha1/nodeconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/scylla_scylladb_com/v1alpha1/scyllaoperatorconfigs.rs b/kube-custom-resources-rs/src/scylla_scylladb_com/v1alpha1/scyllaoperatorconfigs.rs index 3bf7a56e6..6769bc9da 100644 --- a/kube-custom-resources-rs/src/scylla_scylladb_com/v1alpha1/scyllaoperatorconfigs.rs +++ b/kube-custom-resources-rs/src/scylla_scylladb_com/v1alpha1/scyllaoperatorconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/scylladb/scylla-operator/scylla.scylladb.com/v1alpha1/scyllaoperatorconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/secretgenerator_mittwald_de/v1alpha1/basicauths.rs b/kube-custom-resources-rs/src/secretgenerator_mittwald_de/v1alpha1/basicauths.rs index b19d84438..5f3449bbf 100644 --- a/kube-custom-resources-rs/src/secretgenerator_mittwald_de/v1alpha1/basicauths.rs +++ b/kube-custom-resources-rs/src/secretgenerator_mittwald_de/v1alpha1/basicauths.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/mittwald/kubernetes-secret-generator/secretgenerator.mittwald.de/v1alpha1/basicauths.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/secretgenerator_mittwald_de/v1alpha1/sshkeypairs.rs b/kube-custom-resources-rs/src/secretgenerator_mittwald_de/v1alpha1/sshkeypairs.rs index 3733a2b32..e9aad5a12 100644 --- a/kube-custom-resources-rs/src/secretgenerator_mittwald_de/v1alpha1/sshkeypairs.rs +++ b/kube-custom-resources-rs/src/secretgenerator_mittwald_de/v1alpha1/sshkeypairs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/mittwald/kubernetes-secret-generator/secretgenerator.mittwald.de/v1alpha1/sshkeypairs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/secretgenerator_mittwald_de/v1alpha1/stringsecrets.rs b/kube-custom-resources-rs/src/secretgenerator_mittwald_de/v1alpha1/stringsecrets.rs index 97babc49d..26364dcdb 100644 --- a/kube-custom-resources-rs/src/secretgenerator_mittwald_de/v1alpha1/stringsecrets.rs +++ b/kube-custom-resources-rs/src/secretgenerator_mittwald_de/v1alpha1/stringsecrets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/mittwald/kubernetes-secret-generator/secretgenerator.mittwald.de/v1alpha1/stringsecrets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/secrets_crossplane_io/v1alpha1/storeconfigs.rs b/kube-custom-resources-rs/src/secrets_crossplane_io/v1alpha1/storeconfigs.rs index 26fba1991..282c0b111 100644 --- a/kube-custom-resources-rs/src/secrets_crossplane_io/v1alpha1/storeconfigs.rs +++ b/kube-custom-resources-rs/src/secrets_crossplane_io/v1alpha1/storeconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/crossplane/crossplane/secrets.crossplane.io/v1alpha1/storeconfigs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/secrets_doppler_com/v1alpha1/dopplersecrets.rs b/kube-custom-resources-rs/src/secrets_doppler_com/v1alpha1/dopplersecrets.rs index 1e1562cd0..6ae4386ce 100644 --- a/kube-custom-resources-rs/src/secrets_doppler_com/v1alpha1/dopplersecrets.rs +++ b/kube-custom-resources-rs/src/secrets_doppler_com/v1alpha1/dopplersecrets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/DopplerHQ/kubernetes-operator/secrets.doppler.com/v1alpha1/dopplersecrets.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/hcpauths.rs b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/hcpauths.rs index 43af65d05..0f27393cc 100644 --- a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/hcpauths.rs +++ b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/hcpauths.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/hcpauths.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/hcpvaultsecretsapps.rs b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/hcpvaultsecretsapps.rs index 902460819..84feb199c 100644 --- a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/hcpvaultsecretsapps.rs +++ b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/hcpvaultsecretsapps.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/hcpvaultsecretsapps.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultauths.rs b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultauths.rs index b1c52ce17..7e4b402a0 100644 --- a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultauths.rs +++ b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultauths.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultauths.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultconnections.rs b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultconnections.rs index f4170ff83..066e9dbd7 100644 --- a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultconnections.rs +++ b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultconnections.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultconnections.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultdynamicsecrets.rs b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultdynamicsecrets.rs index 8454e5fd7..095ce29a5 100644 --- a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultdynamicsecrets.rs +++ b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultdynamicsecrets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultdynamicsecrets.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultpkisecrets.rs b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultpkisecrets.rs index 6e565f6ef..395241533 100644 --- a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultpkisecrets.rs +++ b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultpkisecrets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultpkisecrets.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultstaticsecrets.rs b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultstaticsecrets.rs index 71c097dcc..75fd31656 100644 --- a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultstaticsecrets.rs +++ b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultstaticsecrets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultstaticsecrets.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1/secretproviderclasses.rs b/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1/secretproviderclasses.rs index 4eaa74108..a6a113ad6 100644 --- a/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1/secretproviderclasses.rs +++ b/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1/secretproviderclasses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/secrets-store-csi-driver/secrets-store.csi.x-k8s.io/v1/secretproviderclasses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1/secretproviderclasspodstatuses.rs b/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1/secretproviderclasspodstatuses.rs index c97095efe..0f0eb9a2f 100644 --- a/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1/secretproviderclasspodstatuses.rs +++ b/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1/secretproviderclasspodstatuses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/secrets-store-csi-driver/secrets-store.csi.x-k8s.io/v1/secretproviderclasspodstatuses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1alpha1/secretproviderclasses.rs b/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1alpha1/secretproviderclasses.rs index 7a671dc5f..79fb841c5 100644 --- a/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1alpha1/secretproviderclasses.rs +++ b/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1alpha1/secretproviderclasses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/secrets-store-csi-driver/secrets-store.csi.x-k8s.io/v1alpha1/secretproviderclasses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1alpha1/secretproviderclasspodstatuses.rs b/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1alpha1/secretproviderclasspodstatuses.rs index 1abad4c0d..3f41e8789 100644 --- a/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1alpha1/secretproviderclasspodstatuses.rs +++ b/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1alpha1/secretproviderclasspodstatuses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/secrets-store-csi-driver/secrets-store.csi.x-k8s.io/v1alpha1/secretproviderclasspodstatuses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/secretsmanager_services_k8s_aws/v1alpha1/secrets.rs b/kube-custom-resources-rs/src/secretsmanager_services_k8s_aws/v1alpha1/secrets.rs index 22b06fdb2..425740ecc 100644 --- a/kube-custom-resources-rs/src/secretsmanager_services_k8s_aws/v1alpha1/secrets.rs +++ b/kube-custom-resources-rs/src/secretsmanager_services_k8s_aws/v1alpha1/secrets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/secretsmanager-controller/secretsmanager.services.k8s.aws/v1alpha1/secrets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/secscan_quay_redhat_com/v1alpha1/imagemanifestvulns.rs b/kube-custom-resources-rs/src/secscan_quay_redhat_com/v1alpha1/imagemanifestvulns.rs index a43b4a03a..1675cf952 100644 --- a/kube-custom-resources-rs/src/secscan_quay_redhat_com/v1alpha1/imagemanifestvulns.rs +++ b/kube-custom-resources-rs/src/secscan_quay_redhat_com/v1alpha1/imagemanifestvulns.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/quay/container-security-operator/secscan.quay.redhat.com/v1alpha1/imagemanifestvulns.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/security_istio_io/v1/authorizationpolicies.rs b/kube-custom-resources-rs/src/security_istio_io/v1/authorizationpolicies.rs index faf8b0364..ba626f065 100644 --- a/kube-custom-resources-rs/src/security_istio_io/v1/authorizationpolicies.rs +++ b/kube-custom-resources-rs/src/security_istio_io/v1/authorizationpolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/security.istio.io/v1/authorizationpolicies.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/security_istio_io/v1/peerauthentications.rs b/kube-custom-resources-rs/src/security_istio_io/v1/peerauthentications.rs index 4ec786dc1..0781c2d45 100644 --- a/kube-custom-resources-rs/src/security_istio_io/v1/peerauthentications.rs +++ b/kube-custom-resources-rs/src/security_istio_io/v1/peerauthentications.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/security.istio.io/v1/peerauthentications.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/security_istio_io/v1/requestauthentications.rs b/kube-custom-resources-rs/src/security_istio_io/v1/requestauthentications.rs index 5db3f017c..0089b7360 100644 --- a/kube-custom-resources-rs/src/security_istio_io/v1/requestauthentications.rs +++ b/kube-custom-resources-rs/src/security_istio_io/v1/requestauthentications.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/security.istio.io/v1/requestauthentications.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/security_istio_io/v1beta1/authorizationpolicies.rs b/kube-custom-resources-rs/src/security_istio_io/v1beta1/authorizationpolicies.rs index 8f786f68c..d6c7e3440 100644 --- a/kube-custom-resources-rs/src/security_istio_io/v1beta1/authorizationpolicies.rs +++ b/kube-custom-resources-rs/src/security_istio_io/v1beta1/authorizationpolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/security.istio.io/v1beta1/authorizationpolicies.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/security_istio_io/v1beta1/peerauthentications.rs b/kube-custom-resources-rs/src/security_istio_io/v1beta1/peerauthentications.rs index 733b8229c..7fd3c6530 100644 --- a/kube-custom-resources-rs/src/security_istio_io/v1beta1/peerauthentications.rs +++ b/kube-custom-resources-rs/src/security_istio_io/v1beta1/peerauthentications.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/security.istio.io/v1beta1/peerauthentications.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/security_istio_io/v1beta1/requestauthentications.rs b/kube-custom-resources-rs/src/security_istio_io/v1beta1/requestauthentications.rs index aa4333100..38a869f56 100644 --- a/kube-custom-resources-rs/src/security_istio_io/v1beta1/requestauthentications.rs +++ b/kube-custom-resources-rs/src/security_istio_io/v1beta1/requestauthentications.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/security.istio.io/v1beta1/requestauthentications.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/apparmorprofiles.rs b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/apparmorprofiles.rs index fdb8d8951..85cf8dd01 100644 --- a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/apparmorprofiles.rs +++ b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/apparmorprofiles.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/apparmorprofiles.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/profilebindings.rs b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/profilebindings.rs index b71f87e05..ca233f922 100644 --- a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/profilebindings.rs +++ b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/profilebindings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/profilebindings.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/profilerecordings.rs b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/profilerecordings.rs index 81dad9298..7e0aa988c 100644 --- a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/profilerecordings.rs +++ b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/profilerecordings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/profilerecordings.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/securityprofilenodestatuses.rs b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/securityprofilenodestatuses.rs index b4fbb395f..eef088e02 100644 --- a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/securityprofilenodestatuses.rs +++ b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/securityprofilenodestatuses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/securityprofilenodestatuses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/securityprofilesoperatordaemons.rs b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/securityprofilesoperatordaemons.rs index 817677bc6..688a345bd 100644 --- a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/securityprofilesoperatordaemons.rs +++ b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/securityprofilesoperatordaemons.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/securityprofilesoperatordaemons.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha2/rawselinuxprofiles.rs b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha2/rawselinuxprofiles.rs index feef7c746..1c3b07ad2 100644 --- a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha2/rawselinuxprofiles.rs +++ b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha2/rawselinuxprofiles.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha2/rawselinuxprofiles.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1beta1/seccompprofiles.rs b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1beta1/seccompprofiles.rs index 998cb1b75..5291f6029 100644 --- a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1beta1/seccompprofiles.rs +++ b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1beta1/seccompprofiles.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1beta1/seccompprofiles.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/self_node_remediation_medik8s_io/v1alpha1/selfnoderemediationconfigs.rs b/kube-custom-resources-rs/src/self_node_remediation_medik8s_io/v1alpha1/selfnoderemediationconfigs.rs index 2ccc036df..14ca1ac89 100644 --- a/kube-custom-resources-rs/src/self_node_remediation_medik8s_io/v1alpha1/selfnoderemediationconfigs.rs +++ b/kube-custom-resources-rs/src/self_node_remediation_medik8s_io/v1alpha1/selfnoderemediationconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/medik8s/self-node-remediation/self-node-remediation.medik8s.io/v1alpha1/selfnoderemediationconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/self_node_remediation_medik8s_io/v1alpha1/selfnoderemediations.rs b/kube-custom-resources-rs/src/self_node_remediation_medik8s_io/v1alpha1/selfnoderemediations.rs index a41bf0e55..863490b03 100644 --- a/kube-custom-resources-rs/src/self_node_remediation_medik8s_io/v1alpha1/selfnoderemediations.rs +++ b/kube-custom-resources-rs/src/self_node_remediation_medik8s_io/v1alpha1/selfnoderemediations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/medik8s/self-node-remediation/self-node-remediation.medik8s.io/v1alpha1/selfnoderemediations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/self_node_remediation_medik8s_io/v1alpha1/selfnoderemediationtemplates.rs b/kube-custom-resources-rs/src/self_node_remediation_medik8s_io/v1alpha1/selfnoderemediationtemplates.rs index 97104b11c..c2351fdf7 100644 --- a/kube-custom-resources-rs/src/self_node_remediation_medik8s_io/v1alpha1/selfnoderemediationtemplates.rs +++ b/kube-custom-resources-rs/src/self_node_remediation_medik8s_io/v1alpha1/selfnoderemediationtemplates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/medik8s/self-node-remediation/self-node-remediation.medik8s.io/v1alpha1/selfnoderemediationtemplates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sematext_com/v1/sematextagents.rs b/kube-custom-resources-rs/src/sematext_com/v1/sematextagents.rs index 6a2f7609b..75dbc5e39 100644 --- a/kube-custom-resources-rs/src/sematext_com/v1/sematextagents.rs +++ b/kube-custom-resources-rs/src/sematext_com/v1/sematextagents.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/sematext/sematext-operator/sematext.com/v1/sematextagents.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/servicebinding_io/v1alpha3/clusterworkloadresourcemappings.rs b/kube-custom-resources-rs/src/servicebinding_io/v1alpha3/clusterworkloadresourcemappings.rs index d24f28b49..ebef965b6 100644 --- a/kube-custom-resources-rs/src/servicebinding_io/v1alpha3/clusterworkloadresourcemappings.rs +++ b/kube-custom-resources-rs/src/servicebinding_io/v1alpha3/clusterworkloadresourcemappings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/redhat-developer/service-binding-operator/servicebinding.io/v1alpha3/clusterworkloadresourcemappings.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/servicebinding_io/v1alpha3/servicebindings.rs b/kube-custom-resources-rs/src/servicebinding_io/v1alpha3/servicebindings.rs index 921ace373..94828f212 100644 --- a/kube-custom-resources-rs/src/servicebinding_io/v1alpha3/servicebindings.rs +++ b/kube-custom-resources-rs/src/servicebinding_io/v1alpha3/servicebindings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/redhat-developer/service-binding-operator/servicebinding.io/v1alpha3/servicebindings.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/servicebinding_io/v1beta1/clusterworkloadresourcemappings.rs b/kube-custom-resources-rs/src/servicebinding_io/v1beta1/clusterworkloadresourcemappings.rs index 79f980862..20288fdf1 100644 --- a/kube-custom-resources-rs/src/servicebinding_io/v1beta1/clusterworkloadresourcemappings.rs +++ b/kube-custom-resources-rs/src/servicebinding_io/v1beta1/clusterworkloadresourcemappings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/redhat-developer/service-binding-operator/servicebinding.io/v1beta1/clusterworkloadresourcemappings.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/servicebinding_io/v1beta1/servicebindings.rs b/kube-custom-resources-rs/src/servicebinding_io/v1beta1/servicebindings.rs index 58a921db5..9ed6cbdbb 100644 --- a/kube-custom-resources-rs/src/servicebinding_io/v1beta1/servicebindings.rs +++ b/kube-custom-resources-rs/src/servicebinding_io/v1beta1/servicebindings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/redhat-developer/service-binding-operator/servicebinding.io/v1beta1/servicebindings.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/istiocontrolplanes.rs b/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/istiocontrolplanes.rs index ace3971d2..b92eccc9d 100644 --- a/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/istiocontrolplanes.rs +++ b/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/istiocontrolplanes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/istiocontrolplanes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/istiomeshes.rs b/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/istiomeshes.rs index 408b3bfd6..8ef0d7997 100644 --- a/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/istiomeshes.rs +++ b/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/istiomeshes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/istiomeshes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/istiomeshgateways.rs b/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/istiomeshgateways.rs index b7354e4a4..25a5aa6d2 100644 --- a/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/istiomeshgateways.rs +++ b/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/istiomeshgateways.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/istiomeshgateways.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/peeristiocontrolplanes.rs b/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/peeristiocontrolplanes.rs index 939c69e18..02b037d87 100644 --- a/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/peeristiocontrolplanes.rs +++ b/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/peeristiocontrolplanes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/peeristiocontrolplanes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/services_k8s_aws/v1alpha1/adoptedresources.rs b/kube-custom-resources-rs/src/services_k8s_aws/v1alpha1/adoptedresources.rs index 128f1ca9a..7a4f04d5b 100644 --- a/kube-custom-resources-rs/src/services_k8s_aws/v1alpha1/adoptedresources.rs +++ b/kube-custom-resources-rs/src/services_k8s_aws/v1alpha1/adoptedresources.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/eks-controller/services.k8s.aws/v1alpha1/adoptedresources.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/services_k8s_aws/v1alpha1/fieldexports.rs b/kube-custom-resources-rs/src/services_k8s_aws/v1alpha1/fieldexports.rs index 7b64242a9..6b3f75a44 100644 --- a/kube-custom-resources-rs/src/services_k8s_aws/v1alpha1/fieldexports.rs +++ b/kube-custom-resources-rs/src/services_k8s_aws/v1alpha1/fieldexports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/eks-controller/services.k8s.aws/v1alpha1/fieldexports.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/serving_kubedl_io/v1alpha1/inferences.rs b/kube-custom-resources-rs/src/serving_kubedl_io/v1alpha1/inferences.rs index 673a6571e..230d5d4c8 100644 --- a/kube-custom-resources-rs/src/serving_kubedl_io/v1alpha1/inferences.rs +++ b/kube-custom-resources-rs/src/serving_kubedl_io/v1alpha1/inferences.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/serving.kubedl.io/v1alpha1/inferences.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sfn_services_k8s_aws/v1alpha1/activities.rs b/kube-custom-resources-rs/src/sfn_services_k8s_aws/v1alpha1/activities.rs index 9625e73e7..940472db3 100644 --- a/kube-custom-resources-rs/src/sfn_services_k8s_aws/v1alpha1/activities.rs +++ b/kube-custom-resources-rs/src/sfn_services_k8s_aws/v1alpha1/activities.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sfn-controller/sfn.services.k8s.aws/v1alpha1/activities.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sfn_services_k8s_aws/v1alpha1/statemachines.rs b/kube-custom-resources-rs/src/sfn_services_k8s_aws/v1alpha1/statemachines.rs index b66ea4e3e..5bf76b646 100644 --- a/kube-custom-resources-rs/src/sfn_services_k8s_aws/v1alpha1/statemachines.rs +++ b/kube-custom-resources-rs/src/sfn_services_k8s_aws/v1alpha1/statemachines.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sfn-controller/sfn.services.k8s.aws/v1alpha1/statemachines.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/site_superedge_io/v1alpha1/nodegroups.rs b/kube-custom-resources-rs/src/site_superedge_io/v1alpha1/nodegroups.rs index 8eaa18da4..c7750f918 100644 --- a/kube-custom-resources-rs/src/site_superedge_io/v1alpha1/nodegroups.rs +++ b/kube-custom-resources-rs/src/site_superedge_io/v1alpha1/nodegroups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/superedge/superedge/site.superedge.io/v1alpha1/nodegroups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/site_superedge_io/v1alpha1/nodeunits.rs b/kube-custom-resources-rs/src/site_superedge_io/v1alpha1/nodeunits.rs index 58fe478fd..b13ebcd08 100644 --- a/kube-custom-resources-rs/src/site_superedge_io/v1alpha1/nodeunits.rs +++ b/kube-custom-resources-rs/src/site_superedge_io/v1alpha1/nodeunits.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/superedge/superedge/site.superedge.io/v1alpha1/nodeunits.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/slo_koordinator_sh/v1alpha1/nodemetrics.rs b/kube-custom-resources-rs/src/slo_koordinator_sh/v1alpha1/nodemetrics.rs index bcc412a4d..3ce9b0a5e 100644 --- a/kube-custom-resources-rs/src/slo_koordinator_sh/v1alpha1/nodemetrics.rs +++ b/kube-custom-resources-rs/src/slo_koordinator_sh/v1alpha1/nodemetrics.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/koordinator-sh/koordinator/slo.koordinator.sh/v1alpha1/nodemetrics.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -177,7 +177,8 @@ pub struct NodeMetricStatusNodeMetric { /// AggregatedNodeUsages will report only if there are enough samples #[serde(default, skip_serializing_if = "Option::is_none", rename = "aggregatedNodeUsages")] pub aggregated_node_usages: Option>, - /// AggregatedSystemUsages will report only if there are enough samples Deleted pods will be excluded during aggregation + /// AggregatedSystemUsages will report only if there are enough samples + /// Deleted pods will be excluded during aggregation #[serde(default, skip_serializing_if = "Option::is_none", rename = "aggregatedSystemUsages")] pub aggregated_system_usages: Option>, /// NodeUsage is the total resource usage of node diff --git a/kube-custom-resources-rs/src/slo_koordinator_sh/v1alpha1/nodeslos.rs b/kube-custom-resources-rs/src/slo_koordinator_sh/v1alpha1/nodeslos.rs index cd08e9ecb..40771d915 100644 --- a/kube-custom-resources-rs/src/slo_koordinator_sh/v1alpha1/nodeslos.rs +++ b/kube-custom-resources-rs/src/slo_koordinator_sh/v1alpha1/nodeslos.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/koordinator-sh/koordinator/slo.koordinator.sh/v1alpha1/nodeslos.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -156,7 +156,8 @@ pub struct NodeSLOResourceQosStrategyBeClassBlkioQosBlocks { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeSLOResourceQosStrategyBeClassBlkioQosBlocksIoCfg { - /// configure the cost model of blkio-cost manually whether the user model is enabled. Default value: false + /// configure the cost model of blkio-cost manually + /// whether the user model is enabled. Default value: false #[serde(default, skip_serializing_if = "Option::is_none", rename = "enableUserModel")] pub enable_user_model: Option, /// This field is used to set the weight of a sub-group. Default value: 100. Valid values: 1 to 100. @@ -180,13 +181,18 @@ pub struct NodeSLOResourceQosStrategyBeClassBlkioQosBlocksIoCfg { /// the sequential write iops of user model #[serde(default, skip_serializing_if = "Option::is_none", rename = "modelWriteSeqIOPS")] pub model_write_seq_iops: Option, - /// Throttling of throughput The value is set to 0, which indicates that the feature is disabled. + /// Throttling of throughput + /// The value is set to 0, which indicates that the feature is disabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readBPS")] pub read_bps: Option, - /// Throttling of IOPS The value is set to 0, which indicates that the feature is disabled. + /// Throttling of IOPS + /// The value is set to 0, which indicates that the feature is disabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readIOPS")] pub read_iops: Option, - /// Configure the weight-based throttling feature of blk-iocost Only used for RootClass After blk-iocost is enabled, the kernel calculates the proportion of requests that exceed the read or write latency threshold out of all requests. When the proportion is greater than the read or write latency percentile (95%), the kernel considers the disk to be saturated and reduces the rate at which requests are sent to the disk. the read latency threshold. Unit: microseconds. + /// Configure the weight-based throttling feature of blk-iocost + /// Only used for RootClass + /// After blk-iocost is enabled, the kernel calculates the proportion of requests that exceed the read or write latency threshold out of all requests. When the proportion is greater than the read or write latency percentile (95%), the kernel considers the disk to be saturated and reduces the rate at which requests are sent to the disk. + /// the read latency threshold. Unit: microseconds. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readLatency")] pub read_latency: Option, /// the read latency percentile @@ -207,16 +213,22 @@ pub struct NodeSLOResourceQosStrategyBeClassBlkioQosBlocksIoCfg { /// CPUQOSCfg stores node-level config of cpu qos #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeSLOResourceQosStrategyBeClassCpuQos { - /// whether pods of the QoS class can expel the cgroup idle pods at the SMT-level. default = false If set to true, pods of this QoS will use a dedicated core sched group for noise clean with the SchedIdle pods. NOTE: It takes effect if cpuPolicy = "coreSched". + /// whether pods of the QoS class can expel the cgroup idle pods at the SMT-level. default = false + /// If set to true, pods of this QoS will use a dedicated core sched group for noise clean with the SchedIdle pods. + /// NOTE: It takes effect if cpuPolicy = "coreSched". #[serde(default, skip_serializing_if = "Option::is_none", rename = "coreExpeller")] pub core_expeller: Option, /// Enable indicates whether the cpu qos is enabled. #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, - /// group identity value for pods, default = 0 NOTE: It takes effect if cpuPolicy = "groupIdentity". + /// group identity value for pods, default = 0 + /// NOTE: It takes effect if cpuPolicy = "groupIdentity". #[serde(default, skip_serializing_if = "Option::is_none", rename = "groupIdentity")] pub group_identity: Option, - /// cpu.idle value for pods, default = 0. `1` means using SCHED_IDLE. CGroup Idle (introduced since mainline Linux 5.15): https://lore.kernel.org/lkml/162971078674.25758.15464079371945307825.tip-bot2@tip-bot2/#r NOTE: It takes effect if cpuPolicy = "coreSched". + /// cpu.idle value for pods, default = 0. + /// `1` means using SCHED_IDLE. + /// CGroup Idle (introduced since mainline Linux 5.15): https://lore.kernel.org/lkml/162971078674.25758.15464079371945307825.tip-bot2@tip-bot2/#r + /// NOTE: It takes effect if cpuPolicy = "coreSched". #[serde(default, skip_serializing_if = "Option::is_none", rename = "schedIdle")] pub sched_idle: Option, } @@ -224,13 +236,28 @@ pub struct NodeSLOResourceQosStrategyBeClassCpuQos { /// MemoryQOSCfg stores node-level config of memory qos #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeSLOResourceQosStrategyBeClassMemoryQos { - /// Enable indicates whether the memory qos is enabled (default: false). This field is used for node-level control, while pod-level configuration is done with MemoryQOS and `Policy` instead of an `Enable` option. Please view the differences between MemoryQOSCfg and PodMemoryQOSConfig structs. + /// Enable indicates whether the memory qos is enabled (default: false). + /// This field is used for node-level control, while pod-level configuration is done with MemoryQOS and `Policy` + /// instead of an `Enable` option. Please view the differences between MemoryQOSCfg and PodMemoryQOSConfig structs. #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, - /// LowLimitPercent specifies the lowLimitFactor percentage to calculate `memory.low`, which TRIES BEST protecting memory from global reclamation when memory usage does not exceed the low limit unless no unprotected memcg can be reclaimed. NOTE: `memory.low` should be larger than `memory.min`. If spec.requests.memory == spec.limits.memory, pod `memory.low` and `memory.high` become invalid, while `memory.wmark_ratio` is still in effect. Close: 0. + /// LowLimitPercent specifies the lowLimitFactor percentage to calculate `memory.low`, which TRIES BEST + /// protecting memory from global reclamation when memory usage does not exceed the low limit unless no unprotected + /// memcg can be reclaimed. + /// NOTE: `memory.low` should be larger than `memory.min`. If spec.requests.memory == spec.limits.memory, + /// pod `memory.low` and `memory.high` become invalid, while `memory.wmark_ratio` is still in effect. + /// Close: 0. #[serde(default, skip_serializing_if = "Option::is_none", rename = "lowLimitPercent")] pub low_limit_percent: Option, - /// memcg qos If enabled, memcg qos will be set by the agent, where some fields are implicitly calculated from pod spec. 1. `memory.min` := spec.requests.memory * minLimitFactor / 100 (use 0 if requests.memory is not set) 2. `memory.low` := spec.requests.memory * lowLimitFactor / 100 (use 0 if requests.memory is not set) 3. `memory.limit_in_bytes` := spec.limits.memory (set $node.allocatable.memory if limits.memory is not set) 4. `memory.high` := floor[(spec.requests.memory + throttlingFactor / 100 * (memory.limit_in_bytes or node allocatable memory - spec.requests.memory))/pageSize] * pageSize MinLimitPercent specifies the minLimitFactor percentage to calculate `memory.min`, which protects memory from global reclamation when memory usage does not exceed the min limit. Close: 0. + /// memcg qos + /// If enabled, memcg qos will be set by the agent, where some fields are implicitly calculated from pod spec. + /// 1. `memory.min` := spec.requests.memory * minLimitFactor / 100 (use 0 if requests.memory is not set) + /// 2. `memory.low` := spec.requests.memory * lowLimitFactor / 100 (use 0 if requests.memory is not set) + /// 3. `memory.limit_in_bytes` := spec.limits.memory (set $node.allocatable.memory if limits.memory is not set) + /// 4. `memory.high` := floor[(spec.requests.memory + throttlingFactor / 100 * (memory.limit_in_bytes or node allocatable memory - spec.requests.memory))/pageSize] * pageSize + /// MinLimitPercent specifies the minLimitFactor percentage to calculate `memory.min`, which protects memory + /// from global reclamation when memory usage does not exceed the min limit. + /// Close: 0. #[serde(default, skip_serializing_if = "Option::is_none", rename = "minLimitPercent")] pub min_limit_percent: Option, #[serde(default, skip_serializing_if = "Option::is_none", rename = "oomKillGroup")] @@ -240,34 +267,64 @@ pub struct NodeSLOResourceQosStrategyBeClassMemoryQos { /// TODO: enhance the usages of oom priority and oom kill group #[serde(default, skip_serializing_if = "Option::is_none", rename = "priorityEnable")] pub priority_enable: Option, - /// ThrottlingPercent specifies the throttlingFactor percentage to calculate `memory.high` with pod memory.limits or node allocatable memory, which triggers memcg direct reclamation when memory usage exceeds. Lower the factor brings more heavier reclaim pressure. Close: 0. + /// ThrottlingPercent specifies the throttlingFactor percentage to calculate `memory.high` with pod + /// memory.limits or node allocatable memory, which triggers memcg direct reclamation when memory usage exceeds. + /// Lower the factor brings more heavier reclaim pressure. + /// Close: 0. #[serde(default, skip_serializing_if = "Option::is_none", rename = "throttlingPercent")] pub throttling_percent: Option, - /// wmark_min_adj (Anolis OS required) WmarkMinAdj specifies `memory.wmark_min_adj` which adjusts per-memcg threshold for global memory reclamation. Lower the factor brings later reclamation. The adjustment uses different formula for different value range. [-25, 0):global_wmark_min' = global_wmark_min + (global_wmark_min - 0) * wmarkMinAdj (0, 50]:global_wmark_min' = global_wmark_min + (global_wmark_low - global_wmark_min) * wmarkMinAdj Close: [LSR:0, LS:0, BE:0]. Recommended: [LSR:-25, LS:-25, BE:50]. + /// wmark_min_adj (Anolis OS required) + /// WmarkMinAdj specifies `memory.wmark_min_adj` which adjusts per-memcg threshold for global memory + /// reclamation. Lower the factor brings later reclamation. + /// The adjustment uses different formula for different value range. + /// [-25, 0):global_wmark_min' = global_wmark_min + (global_wmark_min - 0) * wmarkMinAdj + /// (0, 50]:global_wmark_min' = global_wmark_min + (global_wmark_low - global_wmark_min) * wmarkMinAdj + /// Close: [LSR:0, LS:0, BE:0]. Recommended: [LSR:-25, LS:-25, BE:50]. #[serde(default, skip_serializing_if = "Option::is_none", rename = "wmarkMinAdj")] pub wmark_min_adj: Option, - /// wmark_ratio (Anolis OS required) Async memory reclamation is triggered when cgroup memory usage exceeds `memory.wmark_high` and the reclamation stops when usage is below `memory.wmark_low`. Basically, `memory.wmark_high` := min(memory.high, memory.limit_in_bytes) * memory.memory.wmark_ratio `memory.wmark_low` := min(memory.high, memory.limit_in_bytes) * (memory.wmark_ratio - memory.wmark_scale_factor) WmarkRatio specifies `memory.wmark_ratio` that help calculate `memory.wmark_high`, which triggers async memory reclamation when memory usage exceeds. Close: 0. Recommended: 95. + /// wmark_ratio (Anolis OS required) + /// Async memory reclamation is triggered when cgroup memory usage exceeds `memory.wmark_high` and the reclamation + /// stops when usage is below `memory.wmark_low`. Basically, + /// `memory.wmark_high` := min(memory.high, memory.limit_in_bytes) * memory.memory.wmark_ratio + /// `memory.wmark_low` := min(memory.high, memory.limit_in_bytes) * (memory.wmark_ratio - memory.wmark_scale_factor) + /// WmarkRatio specifies `memory.wmark_ratio` that help calculate `memory.wmark_high`, which triggers async + /// memory reclamation when memory usage exceeds. + /// Close: 0. Recommended: 95. #[serde(default, skip_serializing_if = "Option::is_none", rename = "wmarkRatio")] pub wmark_ratio: Option, - /// WmarkScalePermill specifies `memory.wmark_scale_factor` that helps calculate `memory.wmark_low`, which stops async memory reclamation when memory usage belows. Close: 50. Recommended: 20. + /// WmarkScalePermill specifies `memory.wmark_scale_factor` that helps calculate `memory.wmark_low`, which + /// stops async memory reclamation when memory usage belows. + /// Close: 50. Recommended: 20. #[serde(default, skip_serializing_if = "Option::is_none", rename = "wmarkScalePermill")] pub wmark_scale_permill: Option, } #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeSLOResourceQosStrategyBeClassNetworkQos { - /// EgressLimit describes the maximum network bandwidth can be used in the egress direction, unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M. + /// EgressLimit describes the maximum network bandwidth can be used in the egress direction, + /// unit: bps(bytes per second), two expressions are supported,int and string, + /// int: percentage based on total bandwidth,valid in 0-100 + /// string: a specific network bandwidth value, eg: 50M. #[serde(default, skip_serializing_if = "Option::is_none", rename = "egressLimit")] pub egress_limit: Option, - /// EgressRequest describes the minimum network bandwidth guaranteed in the egress direction. unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M. + /// EgressRequest describes the minimum network bandwidth guaranteed in the egress direction. + /// unit: bps(bytes per second), two expressions are supported,int and string, + /// int: percentage based on total bandwidth,valid in 0-100 + /// string: a specific network bandwidth value, eg: 50M. #[serde(default, skip_serializing_if = "Option::is_none", rename = "egressRequest")] pub egress_request: Option, #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, - /// IngressLimit describes the maximum network bandwidth can be used in the ingress direction, unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M. + /// IngressLimit describes the maximum network bandwidth can be used in the ingress direction, + /// unit: bps(bytes per second), two expressions are supported,int and string, + /// int: percentage based on total bandwidth,valid in 0-100 + /// string: a specific network bandwidth value, eg: 50M. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ingressLimit")] pub ingress_limit: Option, - /// IngressRequest describes the minimum network bandwidth guaranteed in the ingress direction. unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M. + /// IngressRequest describes the minimum network bandwidth guaranteed in the ingress direction. + /// unit: bps(bytes per second), two expressions are supported,int and string, + /// int: percentage based on total bandwidth,valid in 0-100 + /// string: a specific network bandwidth value, eg: 50M. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ingressRequest")] pub ingress_request: Option, } @@ -327,7 +384,8 @@ pub struct NodeSLOResourceQosStrategyCgroupRootBlkioQosBlocks { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeSLOResourceQosStrategyCgroupRootBlkioQosBlocksIoCfg { - /// configure the cost model of blkio-cost manually whether the user model is enabled. Default value: false + /// configure the cost model of blkio-cost manually + /// whether the user model is enabled. Default value: false #[serde(default, skip_serializing_if = "Option::is_none", rename = "enableUserModel")] pub enable_user_model: Option, /// This field is used to set the weight of a sub-group. Default value: 100. Valid values: 1 to 100. @@ -351,13 +409,18 @@ pub struct NodeSLOResourceQosStrategyCgroupRootBlkioQosBlocksIoCfg { /// the sequential write iops of user model #[serde(default, skip_serializing_if = "Option::is_none", rename = "modelWriteSeqIOPS")] pub model_write_seq_iops: Option, - /// Throttling of throughput The value is set to 0, which indicates that the feature is disabled. + /// Throttling of throughput + /// The value is set to 0, which indicates that the feature is disabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readBPS")] pub read_bps: Option, - /// Throttling of IOPS The value is set to 0, which indicates that the feature is disabled. + /// Throttling of IOPS + /// The value is set to 0, which indicates that the feature is disabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readIOPS")] pub read_iops: Option, - /// Configure the weight-based throttling feature of blk-iocost Only used for RootClass After blk-iocost is enabled, the kernel calculates the proportion of requests that exceed the read or write latency threshold out of all requests. When the proportion is greater than the read or write latency percentile (95%), the kernel considers the disk to be saturated and reduces the rate at which requests are sent to the disk. the read latency threshold. Unit: microseconds. + /// Configure the weight-based throttling feature of blk-iocost + /// Only used for RootClass + /// After blk-iocost is enabled, the kernel calculates the proportion of requests that exceed the read or write latency threshold out of all requests. When the proportion is greater than the read or write latency percentile (95%), the kernel considers the disk to be saturated and reduces the rate at which requests are sent to the disk. + /// the read latency threshold. Unit: microseconds. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readLatency")] pub read_latency: Option, /// the read latency percentile @@ -378,16 +441,22 @@ pub struct NodeSLOResourceQosStrategyCgroupRootBlkioQosBlocksIoCfg { /// CPUQOSCfg stores node-level config of cpu qos #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeSLOResourceQosStrategyCgroupRootCpuQos { - /// whether pods of the QoS class can expel the cgroup idle pods at the SMT-level. default = false If set to true, pods of this QoS will use a dedicated core sched group for noise clean with the SchedIdle pods. NOTE: It takes effect if cpuPolicy = "coreSched". + /// whether pods of the QoS class can expel the cgroup idle pods at the SMT-level. default = false + /// If set to true, pods of this QoS will use a dedicated core sched group for noise clean with the SchedIdle pods. + /// NOTE: It takes effect if cpuPolicy = "coreSched". #[serde(default, skip_serializing_if = "Option::is_none", rename = "coreExpeller")] pub core_expeller: Option, /// Enable indicates whether the cpu qos is enabled. #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, - /// group identity value for pods, default = 0 NOTE: It takes effect if cpuPolicy = "groupIdentity". + /// group identity value for pods, default = 0 + /// NOTE: It takes effect if cpuPolicy = "groupIdentity". #[serde(default, skip_serializing_if = "Option::is_none", rename = "groupIdentity")] pub group_identity: Option, - /// cpu.idle value for pods, default = 0. `1` means using SCHED_IDLE. CGroup Idle (introduced since mainline Linux 5.15): https://lore.kernel.org/lkml/162971078674.25758.15464079371945307825.tip-bot2@tip-bot2/#r NOTE: It takes effect if cpuPolicy = "coreSched". + /// cpu.idle value for pods, default = 0. + /// `1` means using SCHED_IDLE. + /// CGroup Idle (introduced since mainline Linux 5.15): https://lore.kernel.org/lkml/162971078674.25758.15464079371945307825.tip-bot2@tip-bot2/#r + /// NOTE: It takes effect if cpuPolicy = "coreSched". #[serde(default, skip_serializing_if = "Option::is_none", rename = "schedIdle")] pub sched_idle: Option, } @@ -395,13 +464,28 @@ pub struct NodeSLOResourceQosStrategyCgroupRootCpuQos { /// MemoryQOSCfg stores node-level config of memory qos #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeSLOResourceQosStrategyCgroupRootMemoryQos { - /// Enable indicates whether the memory qos is enabled (default: false). This field is used for node-level control, while pod-level configuration is done with MemoryQOS and `Policy` instead of an `Enable` option. Please view the differences between MemoryQOSCfg and PodMemoryQOSConfig structs. + /// Enable indicates whether the memory qos is enabled (default: false). + /// This field is used for node-level control, while pod-level configuration is done with MemoryQOS and `Policy` + /// instead of an `Enable` option. Please view the differences between MemoryQOSCfg and PodMemoryQOSConfig structs. #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, - /// LowLimitPercent specifies the lowLimitFactor percentage to calculate `memory.low`, which TRIES BEST protecting memory from global reclamation when memory usage does not exceed the low limit unless no unprotected memcg can be reclaimed. NOTE: `memory.low` should be larger than `memory.min`. If spec.requests.memory == spec.limits.memory, pod `memory.low` and `memory.high` become invalid, while `memory.wmark_ratio` is still in effect. Close: 0. + /// LowLimitPercent specifies the lowLimitFactor percentage to calculate `memory.low`, which TRIES BEST + /// protecting memory from global reclamation when memory usage does not exceed the low limit unless no unprotected + /// memcg can be reclaimed. + /// NOTE: `memory.low` should be larger than `memory.min`. If spec.requests.memory == spec.limits.memory, + /// pod `memory.low` and `memory.high` become invalid, while `memory.wmark_ratio` is still in effect. + /// Close: 0. #[serde(default, skip_serializing_if = "Option::is_none", rename = "lowLimitPercent")] pub low_limit_percent: Option, - /// memcg qos If enabled, memcg qos will be set by the agent, where some fields are implicitly calculated from pod spec. 1. `memory.min` := spec.requests.memory * minLimitFactor / 100 (use 0 if requests.memory is not set) 2. `memory.low` := spec.requests.memory * lowLimitFactor / 100 (use 0 if requests.memory is not set) 3. `memory.limit_in_bytes` := spec.limits.memory (set $node.allocatable.memory if limits.memory is not set) 4. `memory.high` := floor[(spec.requests.memory + throttlingFactor / 100 * (memory.limit_in_bytes or node allocatable memory - spec.requests.memory))/pageSize] * pageSize MinLimitPercent specifies the minLimitFactor percentage to calculate `memory.min`, which protects memory from global reclamation when memory usage does not exceed the min limit. Close: 0. + /// memcg qos + /// If enabled, memcg qos will be set by the agent, where some fields are implicitly calculated from pod spec. + /// 1. `memory.min` := spec.requests.memory * minLimitFactor / 100 (use 0 if requests.memory is not set) + /// 2. `memory.low` := spec.requests.memory * lowLimitFactor / 100 (use 0 if requests.memory is not set) + /// 3. `memory.limit_in_bytes` := spec.limits.memory (set $node.allocatable.memory if limits.memory is not set) + /// 4. `memory.high` := floor[(spec.requests.memory + throttlingFactor / 100 * (memory.limit_in_bytes or node allocatable memory - spec.requests.memory))/pageSize] * pageSize + /// MinLimitPercent specifies the minLimitFactor percentage to calculate `memory.min`, which protects memory + /// from global reclamation when memory usage does not exceed the min limit. + /// Close: 0. #[serde(default, skip_serializing_if = "Option::is_none", rename = "minLimitPercent")] pub min_limit_percent: Option, #[serde(default, skip_serializing_if = "Option::is_none", rename = "oomKillGroup")] @@ -411,34 +495,64 @@ pub struct NodeSLOResourceQosStrategyCgroupRootMemoryQos { /// TODO: enhance the usages of oom priority and oom kill group #[serde(default, skip_serializing_if = "Option::is_none", rename = "priorityEnable")] pub priority_enable: Option, - /// ThrottlingPercent specifies the throttlingFactor percentage to calculate `memory.high` with pod memory.limits or node allocatable memory, which triggers memcg direct reclamation when memory usage exceeds. Lower the factor brings more heavier reclaim pressure. Close: 0. + /// ThrottlingPercent specifies the throttlingFactor percentage to calculate `memory.high` with pod + /// memory.limits or node allocatable memory, which triggers memcg direct reclamation when memory usage exceeds. + /// Lower the factor brings more heavier reclaim pressure. + /// Close: 0. #[serde(default, skip_serializing_if = "Option::is_none", rename = "throttlingPercent")] pub throttling_percent: Option, - /// wmark_min_adj (Anolis OS required) WmarkMinAdj specifies `memory.wmark_min_adj` which adjusts per-memcg threshold for global memory reclamation. Lower the factor brings later reclamation. The adjustment uses different formula for different value range. [-25, 0):global_wmark_min' = global_wmark_min + (global_wmark_min - 0) * wmarkMinAdj (0, 50]:global_wmark_min' = global_wmark_min + (global_wmark_low - global_wmark_min) * wmarkMinAdj Close: [LSR:0, LS:0, BE:0]. Recommended: [LSR:-25, LS:-25, BE:50]. + /// wmark_min_adj (Anolis OS required) + /// WmarkMinAdj specifies `memory.wmark_min_adj` which adjusts per-memcg threshold for global memory + /// reclamation. Lower the factor brings later reclamation. + /// The adjustment uses different formula for different value range. + /// [-25, 0):global_wmark_min' = global_wmark_min + (global_wmark_min - 0) * wmarkMinAdj + /// (0, 50]:global_wmark_min' = global_wmark_min + (global_wmark_low - global_wmark_min) * wmarkMinAdj + /// Close: [LSR:0, LS:0, BE:0]. Recommended: [LSR:-25, LS:-25, BE:50]. #[serde(default, skip_serializing_if = "Option::is_none", rename = "wmarkMinAdj")] pub wmark_min_adj: Option, - /// wmark_ratio (Anolis OS required) Async memory reclamation is triggered when cgroup memory usage exceeds `memory.wmark_high` and the reclamation stops when usage is below `memory.wmark_low`. Basically, `memory.wmark_high` := min(memory.high, memory.limit_in_bytes) * memory.memory.wmark_ratio `memory.wmark_low` := min(memory.high, memory.limit_in_bytes) * (memory.wmark_ratio - memory.wmark_scale_factor) WmarkRatio specifies `memory.wmark_ratio` that help calculate `memory.wmark_high`, which triggers async memory reclamation when memory usage exceeds. Close: 0. Recommended: 95. + /// wmark_ratio (Anolis OS required) + /// Async memory reclamation is triggered when cgroup memory usage exceeds `memory.wmark_high` and the reclamation + /// stops when usage is below `memory.wmark_low`. Basically, + /// `memory.wmark_high` := min(memory.high, memory.limit_in_bytes) * memory.memory.wmark_ratio + /// `memory.wmark_low` := min(memory.high, memory.limit_in_bytes) * (memory.wmark_ratio - memory.wmark_scale_factor) + /// WmarkRatio specifies `memory.wmark_ratio` that help calculate `memory.wmark_high`, which triggers async + /// memory reclamation when memory usage exceeds. + /// Close: 0. Recommended: 95. #[serde(default, skip_serializing_if = "Option::is_none", rename = "wmarkRatio")] pub wmark_ratio: Option, - /// WmarkScalePermill specifies `memory.wmark_scale_factor` that helps calculate `memory.wmark_low`, which stops async memory reclamation when memory usage belows. Close: 50. Recommended: 20. + /// WmarkScalePermill specifies `memory.wmark_scale_factor` that helps calculate `memory.wmark_low`, which + /// stops async memory reclamation when memory usage belows. + /// Close: 50. Recommended: 20. #[serde(default, skip_serializing_if = "Option::is_none", rename = "wmarkScalePermill")] pub wmark_scale_permill: Option, } #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeSLOResourceQosStrategyCgroupRootNetworkQos { - /// EgressLimit describes the maximum network bandwidth can be used in the egress direction, unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M. + /// EgressLimit describes the maximum network bandwidth can be used in the egress direction, + /// unit: bps(bytes per second), two expressions are supported,int and string, + /// int: percentage based on total bandwidth,valid in 0-100 + /// string: a specific network bandwidth value, eg: 50M. #[serde(default, skip_serializing_if = "Option::is_none", rename = "egressLimit")] pub egress_limit: Option, - /// EgressRequest describes the minimum network bandwidth guaranteed in the egress direction. unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M. + /// EgressRequest describes the minimum network bandwidth guaranteed in the egress direction. + /// unit: bps(bytes per second), two expressions are supported,int and string, + /// int: percentage based on total bandwidth,valid in 0-100 + /// string: a specific network bandwidth value, eg: 50M. #[serde(default, skip_serializing_if = "Option::is_none", rename = "egressRequest")] pub egress_request: Option, #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, - /// IngressLimit describes the maximum network bandwidth can be used in the ingress direction, unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M. + /// IngressLimit describes the maximum network bandwidth can be used in the ingress direction, + /// unit: bps(bytes per second), two expressions are supported,int and string, + /// int: percentage based on total bandwidth,valid in 0-100 + /// string: a specific network bandwidth value, eg: 50M. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ingressLimit")] pub ingress_limit: Option, - /// IngressRequest describes the minimum network bandwidth guaranteed in the ingress direction. unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M. + /// IngressRequest describes the minimum network bandwidth guaranteed in the ingress direction. + /// unit: bps(bytes per second), two expressions are supported,int and string, + /// int: percentage based on total bandwidth,valid in 0-100 + /// string: a specific network bandwidth value, eg: 50M. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ingressRequest")] pub ingress_request: Option, } @@ -498,7 +612,8 @@ pub struct NodeSLOResourceQosStrategyLsClassBlkioQosBlocks { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeSLOResourceQosStrategyLsClassBlkioQosBlocksIoCfg { - /// configure the cost model of blkio-cost manually whether the user model is enabled. Default value: false + /// configure the cost model of blkio-cost manually + /// whether the user model is enabled. Default value: false #[serde(default, skip_serializing_if = "Option::is_none", rename = "enableUserModel")] pub enable_user_model: Option, /// This field is used to set the weight of a sub-group. Default value: 100. Valid values: 1 to 100. @@ -522,13 +637,18 @@ pub struct NodeSLOResourceQosStrategyLsClassBlkioQosBlocksIoCfg { /// the sequential write iops of user model #[serde(default, skip_serializing_if = "Option::is_none", rename = "modelWriteSeqIOPS")] pub model_write_seq_iops: Option, - /// Throttling of throughput The value is set to 0, which indicates that the feature is disabled. + /// Throttling of throughput + /// The value is set to 0, which indicates that the feature is disabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readBPS")] pub read_bps: Option, - /// Throttling of IOPS The value is set to 0, which indicates that the feature is disabled. + /// Throttling of IOPS + /// The value is set to 0, which indicates that the feature is disabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readIOPS")] pub read_iops: Option, - /// Configure the weight-based throttling feature of blk-iocost Only used for RootClass After blk-iocost is enabled, the kernel calculates the proportion of requests that exceed the read or write latency threshold out of all requests. When the proportion is greater than the read or write latency percentile (95%), the kernel considers the disk to be saturated and reduces the rate at which requests are sent to the disk. the read latency threshold. Unit: microseconds. + /// Configure the weight-based throttling feature of blk-iocost + /// Only used for RootClass + /// After blk-iocost is enabled, the kernel calculates the proportion of requests that exceed the read or write latency threshold out of all requests. When the proportion is greater than the read or write latency percentile (95%), the kernel considers the disk to be saturated and reduces the rate at which requests are sent to the disk. + /// the read latency threshold. Unit: microseconds. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readLatency")] pub read_latency: Option, /// the read latency percentile @@ -549,16 +669,22 @@ pub struct NodeSLOResourceQosStrategyLsClassBlkioQosBlocksIoCfg { /// CPUQOSCfg stores node-level config of cpu qos #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeSLOResourceQosStrategyLsClassCpuQos { - /// whether pods of the QoS class can expel the cgroup idle pods at the SMT-level. default = false If set to true, pods of this QoS will use a dedicated core sched group for noise clean with the SchedIdle pods. NOTE: It takes effect if cpuPolicy = "coreSched". + /// whether pods of the QoS class can expel the cgroup idle pods at the SMT-level. default = false + /// If set to true, pods of this QoS will use a dedicated core sched group for noise clean with the SchedIdle pods. + /// NOTE: It takes effect if cpuPolicy = "coreSched". #[serde(default, skip_serializing_if = "Option::is_none", rename = "coreExpeller")] pub core_expeller: Option, /// Enable indicates whether the cpu qos is enabled. #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, - /// group identity value for pods, default = 0 NOTE: It takes effect if cpuPolicy = "groupIdentity". + /// group identity value for pods, default = 0 + /// NOTE: It takes effect if cpuPolicy = "groupIdentity". #[serde(default, skip_serializing_if = "Option::is_none", rename = "groupIdentity")] pub group_identity: Option, - /// cpu.idle value for pods, default = 0. `1` means using SCHED_IDLE. CGroup Idle (introduced since mainline Linux 5.15): https://lore.kernel.org/lkml/162971078674.25758.15464079371945307825.tip-bot2@tip-bot2/#r NOTE: It takes effect if cpuPolicy = "coreSched". + /// cpu.idle value for pods, default = 0. + /// `1` means using SCHED_IDLE. + /// CGroup Idle (introduced since mainline Linux 5.15): https://lore.kernel.org/lkml/162971078674.25758.15464079371945307825.tip-bot2@tip-bot2/#r + /// NOTE: It takes effect if cpuPolicy = "coreSched". #[serde(default, skip_serializing_if = "Option::is_none", rename = "schedIdle")] pub sched_idle: Option, } @@ -566,13 +692,28 @@ pub struct NodeSLOResourceQosStrategyLsClassCpuQos { /// MemoryQOSCfg stores node-level config of memory qos #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeSLOResourceQosStrategyLsClassMemoryQos { - /// Enable indicates whether the memory qos is enabled (default: false). This field is used for node-level control, while pod-level configuration is done with MemoryQOS and `Policy` instead of an `Enable` option. Please view the differences between MemoryQOSCfg and PodMemoryQOSConfig structs. + /// Enable indicates whether the memory qos is enabled (default: false). + /// This field is used for node-level control, while pod-level configuration is done with MemoryQOS and `Policy` + /// instead of an `Enable` option. Please view the differences between MemoryQOSCfg and PodMemoryQOSConfig structs. #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, - /// LowLimitPercent specifies the lowLimitFactor percentage to calculate `memory.low`, which TRIES BEST protecting memory from global reclamation when memory usage does not exceed the low limit unless no unprotected memcg can be reclaimed. NOTE: `memory.low` should be larger than `memory.min`. If spec.requests.memory == spec.limits.memory, pod `memory.low` and `memory.high` become invalid, while `memory.wmark_ratio` is still in effect. Close: 0. + /// LowLimitPercent specifies the lowLimitFactor percentage to calculate `memory.low`, which TRIES BEST + /// protecting memory from global reclamation when memory usage does not exceed the low limit unless no unprotected + /// memcg can be reclaimed. + /// NOTE: `memory.low` should be larger than `memory.min`. If spec.requests.memory == spec.limits.memory, + /// pod `memory.low` and `memory.high` become invalid, while `memory.wmark_ratio` is still in effect. + /// Close: 0. #[serde(default, skip_serializing_if = "Option::is_none", rename = "lowLimitPercent")] pub low_limit_percent: Option, - /// memcg qos If enabled, memcg qos will be set by the agent, where some fields are implicitly calculated from pod spec. 1. `memory.min` := spec.requests.memory * minLimitFactor / 100 (use 0 if requests.memory is not set) 2. `memory.low` := spec.requests.memory * lowLimitFactor / 100 (use 0 if requests.memory is not set) 3. `memory.limit_in_bytes` := spec.limits.memory (set $node.allocatable.memory if limits.memory is not set) 4. `memory.high` := floor[(spec.requests.memory + throttlingFactor / 100 * (memory.limit_in_bytes or node allocatable memory - spec.requests.memory))/pageSize] * pageSize MinLimitPercent specifies the minLimitFactor percentage to calculate `memory.min`, which protects memory from global reclamation when memory usage does not exceed the min limit. Close: 0. + /// memcg qos + /// If enabled, memcg qos will be set by the agent, where some fields are implicitly calculated from pod spec. + /// 1. `memory.min` := spec.requests.memory * minLimitFactor / 100 (use 0 if requests.memory is not set) + /// 2. `memory.low` := spec.requests.memory * lowLimitFactor / 100 (use 0 if requests.memory is not set) + /// 3. `memory.limit_in_bytes` := spec.limits.memory (set $node.allocatable.memory if limits.memory is not set) + /// 4. `memory.high` := floor[(spec.requests.memory + throttlingFactor / 100 * (memory.limit_in_bytes or node allocatable memory - spec.requests.memory))/pageSize] * pageSize + /// MinLimitPercent specifies the minLimitFactor percentage to calculate `memory.min`, which protects memory + /// from global reclamation when memory usage does not exceed the min limit. + /// Close: 0. #[serde(default, skip_serializing_if = "Option::is_none", rename = "minLimitPercent")] pub min_limit_percent: Option, #[serde(default, skip_serializing_if = "Option::is_none", rename = "oomKillGroup")] @@ -582,34 +723,64 @@ pub struct NodeSLOResourceQosStrategyLsClassMemoryQos { /// TODO: enhance the usages of oom priority and oom kill group #[serde(default, skip_serializing_if = "Option::is_none", rename = "priorityEnable")] pub priority_enable: Option, - /// ThrottlingPercent specifies the throttlingFactor percentage to calculate `memory.high` with pod memory.limits or node allocatable memory, which triggers memcg direct reclamation when memory usage exceeds. Lower the factor brings more heavier reclaim pressure. Close: 0. + /// ThrottlingPercent specifies the throttlingFactor percentage to calculate `memory.high` with pod + /// memory.limits or node allocatable memory, which triggers memcg direct reclamation when memory usage exceeds. + /// Lower the factor brings more heavier reclaim pressure. + /// Close: 0. #[serde(default, skip_serializing_if = "Option::is_none", rename = "throttlingPercent")] pub throttling_percent: Option, - /// wmark_min_adj (Anolis OS required) WmarkMinAdj specifies `memory.wmark_min_adj` which adjusts per-memcg threshold for global memory reclamation. Lower the factor brings later reclamation. The adjustment uses different formula for different value range. [-25, 0):global_wmark_min' = global_wmark_min + (global_wmark_min - 0) * wmarkMinAdj (0, 50]:global_wmark_min' = global_wmark_min + (global_wmark_low - global_wmark_min) * wmarkMinAdj Close: [LSR:0, LS:0, BE:0]. Recommended: [LSR:-25, LS:-25, BE:50]. + /// wmark_min_adj (Anolis OS required) + /// WmarkMinAdj specifies `memory.wmark_min_adj` which adjusts per-memcg threshold for global memory + /// reclamation. Lower the factor brings later reclamation. + /// The adjustment uses different formula for different value range. + /// [-25, 0):global_wmark_min' = global_wmark_min + (global_wmark_min - 0) * wmarkMinAdj + /// (0, 50]:global_wmark_min' = global_wmark_min + (global_wmark_low - global_wmark_min) * wmarkMinAdj + /// Close: [LSR:0, LS:0, BE:0]. Recommended: [LSR:-25, LS:-25, BE:50]. #[serde(default, skip_serializing_if = "Option::is_none", rename = "wmarkMinAdj")] pub wmark_min_adj: Option, - /// wmark_ratio (Anolis OS required) Async memory reclamation is triggered when cgroup memory usage exceeds `memory.wmark_high` and the reclamation stops when usage is below `memory.wmark_low`. Basically, `memory.wmark_high` := min(memory.high, memory.limit_in_bytes) * memory.memory.wmark_ratio `memory.wmark_low` := min(memory.high, memory.limit_in_bytes) * (memory.wmark_ratio - memory.wmark_scale_factor) WmarkRatio specifies `memory.wmark_ratio` that help calculate `memory.wmark_high`, which triggers async memory reclamation when memory usage exceeds. Close: 0. Recommended: 95. + /// wmark_ratio (Anolis OS required) + /// Async memory reclamation is triggered when cgroup memory usage exceeds `memory.wmark_high` and the reclamation + /// stops when usage is below `memory.wmark_low`. Basically, + /// `memory.wmark_high` := min(memory.high, memory.limit_in_bytes) * memory.memory.wmark_ratio + /// `memory.wmark_low` := min(memory.high, memory.limit_in_bytes) * (memory.wmark_ratio - memory.wmark_scale_factor) + /// WmarkRatio specifies `memory.wmark_ratio` that help calculate `memory.wmark_high`, which triggers async + /// memory reclamation when memory usage exceeds. + /// Close: 0. Recommended: 95. #[serde(default, skip_serializing_if = "Option::is_none", rename = "wmarkRatio")] pub wmark_ratio: Option, - /// WmarkScalePermill specifies `memory.wmark_scale_factor` that helps calculate `memory.wmark_low`, which stops async memory reclamation when memory usage belows. Close: 50. Recommended: 20. + /// WmarkScalePermill specifies `memory.wmark_scale_factor` that helps calculate `memory.wmark_low`, which + /// stops async memory reclamation when memory usage belows. + /// Close: 50. Recommended: 20. #[serde(default, skip_serializing_if = "Option::is_none", rename = "wmarkScalePermill")] pub wmark_scale_permill: Option, } #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeSLOResourceQosStrategyLsClassNetworkQos { - /// EgressLimit describes the maximum network bandwidth can be used in the egress direction, unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M. + /// EgressLimit describes the maximum network bandwidth can be used in the egress direction, + /// unit: bps(bytes per second), two expressions are supported,int and string, + /// int: percentage based on total bandwidth,valid in 0-100 + /// string: a specific network bandwidth value, eg: 50M. #[serde(default, skip_serializing_if = "Option::is_none", rename = "egressLimit")] pub egress_limit: Option, - /// EgressRequest describes the minimum network bandwidth guaranteed in the egress direction. unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M. + /// EgressRequest describes the minimum network bandwidth guaranteed in the egress direction. + /// unit: bps(bytes per second), two expressions are supported,int and string, + /// int: percentage based on total bandwidth,valid in 0-100 + /// string: a specific network bandwidth value, eg: 50M. #[serde(default, skip_serializing_if = "Option::is_none", rename = "egressRequest")] pub egress_request: Option, #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, - /// IngressLimit describes the maximum network bandwidth can be used in the ingress direction, unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M. + /// IngressLimit describes the maximum network bandwidth can be used in the ingress direction, + /// unit: bps(bytes per second), two expressions are supported,int and string, + /// int: percentage based on total bandwidth,valid in 0-100 + /// string: a specific network bandwidth value, eg: 50M. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ingressLimit")] pub ingress_limit: Option, - /// IngressRequest describes the minimum network bandwidth guaranteed in the ingress direction. unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M. + /// IngressRequest describes the minimum network bandwidth guaranteed in the ingress direction. + /// unit: bps(bytes per second), two expressions are supported,int and string, + /// int: percentage based on total bandwidth,valid in 0-100 + /// string: a specific network bandwidth value, eg: 50M. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ingressRequest")] pub ingress_request: Option, } @@ -669,7 +840,8 @@ pub struct NodeSLOResourceQosStrategyLsrClassBlkioQosBlocks { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeSLOResourceQosStrategyLsrClassBlkioQosBlocksIoCfg { - /// configure the cost model of blkio-cost manually whether the user model is enabled. Default value: false + /// configure the cost model of blkio-cost manually + /// whether the user model is enabled. Default value: false #[serde(default, skip_serializing_if = "Option::is_none", rename = "enableUserModel")] pub enable_user_model: Option, /// This field is used to set the weight of a sub-group. Default value: 100. Valid values: 1 to 100. @@ -693,13 +865,18 @@ pub struct NodeSLOResourceQosStrategyLsrClassBlkioQosBlocksIoCfg { /// the sequential write iops of user model #[serde(default, skip_serializing_if = "Option::is_none", rename = "modelWriteSeqIOPS")] pub model_write_seq_iops: Option, - /// Throttling of throughput The value is set to 0, which indicates that the feature is disabled. + /// Throttling of throughput + /// The value is set to 0, which indicates that the feature is disabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readBPS")] pub read_bps: Option, - /// Throttling of IOPS The value is set to 0, which indicates that the feature is disabled. + /// Throttling of IOPS + /// The value is set to 0, which indicates that the feature is disabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readIOPS")] pub read_iops: Option, - /// Configure the weight-based throttling feature of blk-iocost Only used for RootClass After blk-iocost is enabled, the kernel calculates the proportion of requests that exceed the read or write latency threshold out of all requests. When the proportion is greater than the read or write latency percentile (95%), the kernel considers the disk to be saturated and reduces the rate at which requests are sent to the disk. the read latency threshold. Unit: microseconds. + /// Configure the weight-based throttling feature of blk-iocost + /// Only used for RootClass + /// After blk-iocost is enabled, the kernel calculates the proportion of requests that exceed the read or write latency threshold out of all requests. When the proportion is greater than the read or write latency percentile (95%), the kernel considers the disk to be saturated and reduces the rate at which requests are sent to the disk. + /// the read latency threshold. Unit: microseconds. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readLatency")] pub read_latency: Option, /// the read latency percentile @@ -720,16 +897,22 @@ pub struct NodeSLOResourceQosStrategyLsrClassBlkioQosBlocksIoCfg { /// CPUQOSCfg stores node-level config of cpu qos #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeSLOResourceQosStrategyLsrClassCpuQos { - /// whether pods of the QoS class can expel the cgroup idle pods at the SMT-level. default = false If set to true, pods of this QoS will use a dedicated core sched group for noise clean with the SchedIdle pods. NOTE: It takes effect if cpuPolicy = "coreSched". + /// whether pods of the QoS class can expel the cgroup idle pods at the SMT-level. default = false + /// If set to true, pods of this QoS will use a dedicated core sched group for noise clean with the SchedIdle pods. + /// NOTE: It takes effect if cpuPolicy = "coreSched". #[serde(default, skip_serializing_if = "Option::is_none", rename = "coreExpeller")] pub core_expeller: Option, /// Enable indicates whether the cpu qos is enabled. #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, - /// group identity value for pods, default = 0 NOTE: It takes effect if cpuPolicy = "groupIdentity". + /// group identity value for pods, default = 0 + /// NOTE: It takes effect if cpuPolicy = "groupIdentity". #[serde(default, skip_serializing_if = "Option::is_none", rename = "groupIdentity")] pub group_identity: Option, - /// cpu.idle value for pods, default = 0. `1` means using SCHED_IDLE. CGroup Idle (introduced since mainline Linux 5.15): https://lore.kernel.org/lkml/162971078674.25758.15464079371945307825.tip-bot2@tip-bot2/#r NOTE: It takes effect if cpuPolicy = "coreSched". + /// cpu.idle value for pods, default = 0. + /// `1` means using SCHED_IDLE. + /// CGroup Idle (introduced since mainline Linux 5.15): https://lore.kernel.org/lkml/162971078674.25758.15464079371945307825.tip-bot2@tip-bot2/#r + /// NOTE: It takes effect if cpuPolicy = "coreSched". #[serde(default, skip_serializing_if = "Option::is_none", rename = "schedIdle")] pub sched_idle: Option, } @@ -737,13 +920,28 @@ pub struct NodeSLOResourceQosStrategyLsrClassCpuQos { /// MemoryQOSCfg stores node-level config of memory qos #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeSLOResourceQosStrategyLsrClassMemoryQos { - /// Enable indicates whether the memory qos is enabled (default: false). This field is used for node-level control, while pod-level configuration is done with MemoryQOS and `Policy` instead of an `Enable` option. Please view the differences between MemoryQOSCfg and PodMemoryQOSConfig structs. + /// Enable indicates whether the memory qos is enabled (default: false). + /// This field is used for node-level control, while pod-level configuration is done with MemoryQOS and `Policy` + /// instead of an `Enable` option. Please view the differences between MemoryQOSCfg and PodMemoryQOSConfig structs. #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, - /// LowLimitPercent specifies the lowLimitFactor percentage to calculate `memory.low`, which TRIES BEST protecting memory from global reclamation when memory usage does not exceed the low limit unless no unprotected memcg can be reclaimed. NOTE: `memory.low` should be larger than `memory.min`. If spec.requests.memory == spec.limits.memory, pod `memory.low` and `memory.high` become invalid, while `memory.wmark_ratio` is still in effect. Close: 0. + /// LowLimitPercent specifies the lowLimitFactor percentage to calculate `memory.low`, which TRIES BEST + /// protecting memory from global reclamation when memory usage does not exceed the low limit unless no unprotected + /// memcg can be reclaimed. + /// NOTE: `memory.low` should be larger than `memory.min`. If spec.requests.memory == spec.limits.memory, + /// pod `memory.low` and `memory.high` become invalid, while `memory.wmark_ratio` is still in effect. + /// Close: 0. #[serde(default, skip_serializing_if = "Option::is_none", rename = "lowLimitPercent")] pub low_limit_percent: Option, - /// memcg qos If enabled, memcg qos will be set by the agent, where some fields are implicitly calculated from pod spec. 1. `memory.min` := spec.requests.memory * minLimitFactor / 100 (use 0 if requests.memory is not set) 2. `memory.low` := spec.requests.memory * lowLimitFactor / 100 (use 0 if requests.memory is not set) 3. `memory.limit_in_bytes` := spec.limits.memory (set $node.allocatable.memory if limits.memory is not set) 4. `memory.high` := floor[(spec.requests.memory + throttlingFactor / 100 * (memory.limit_in_bytes or node allocatable memory - spec.requests.memory))/pageSize] * pageSize MinLimitPercent specifies the minLimitFactor percentage to calculate `memory.min`, which protects memory from global reclamation when memory usage does not exceed the min limit. Close: 0. + /// memcg qos + /// If enabled, memcg qos will be set by the agent, where some fields are implicitly calculated from pod spec. + /// 1. `memory.min` := spec.requests.memory * minLimitFactor / 100 (use 0 if requests.memory is not set) + /// 2. `memory.low` := spec.requests.memory * lowLimitFactor / 100 (use 0 if requests.memory is not set) + /// 3. `memory.limit_in_bytes` := spec.limits.memory (set $node.allocatable.memory if limits.memory is not set) + /// 4. `memory.high` := floor[(spec.requests.memory + throttlingFactor / 100 * (memory.limit_in_bytes or node allocatable memory - spec.requests.memory))/pageSize] * pageSize + /// MinLimitPercent specifies the minLimitFactor percentage to calculate `memory.min`, which protects memory + /// from global reclamation when memory usage does not exceed the min limit. + /// Close: 0. #[serde(default, skip_serializing_if = "Option::is_none", rename = "minLimitPercent")] pub min_limit_percent: Option, #[serde(default, skip_serializing_if = "Option::is_none", rename = "oomKillGroup")] @@ -753,34 +951,64 @@ pub struct NodeSLOResourceQosStrategyLsrClassMemoryQos { /// TODO: enhance the usages of oom priority and oom kill group #[serde(default, skip_serializing_if = "Option::is_none", rename = "priorityEnable")] pub priority_enable: Option, - /// ThrottlingPercent specifies the throttlingFactor percentage to calculate `memory.high` with pod memory.limits or node allocatable memory, which triggers memcg direct reclamation when memory usage exceeds. Lower the factor brings more heavier reclaim pressure. Close: 0. + /// ThrottlingPercent specifies the throttlingFactor percentage to calculate `memory.high` with pod + /// memory.limits or node allocatable memory, which triggers memcg direct reclamation when memory usage exceeds. + /// Lower the factor brings more heavier reclaim pressure. + /// Close: 0. #[serde(default, skip_serializing_if = "Option::is_none", rename = "throttlingPercent")] pub throttling_percent: Option, - /// wmark_min_adj (Anolis OS required) WmarkMinAdj specifies `memory.wmark_min_adj` which adjusts per-memcg threshold for global memory reclamation. Lower the factor brings later reclamation. The adjustment uses different formula for different value range. [-25, 0):global_wmark_min' = global_wmark_min + (global_wmark_min - 0) * wmarkMinAdj (0, 50]:global_wmark_min' = global_wmark_min + (global_wmark_low - global_wmark_min) * wmarkMinAdj Close: [LSR:0, LS:0, BE:0]. Recommended: [LSR:-25, LS:-25, BE:50]. + /// wmark_min_adj (Anolis OS required) + /// WmarkMinAdj specifies `memory.wmark_min_adj` which adjusts per-memcg threshold for global memory + /// reclamation. Lower the factor brings later reclamation. + /// The adjustment uses different formula for different value range. + /// [-25, 0):global_wmark_min' = global_wmark_min + (global_wmark_min - 0) * wmarkMinAdj + /// (0, 50]:global_wmark_min' = global_wmark_min + (global_wmark_low - global_wmark_min) * wmarkMinAdj + /// Close: [LSR:0, LS:0, BE:0]. Recommended: [LSR:-25, LS:-25, BE:50]. #[serde(default, skip_serializing_if = "Option::is_none", rename = "wmarkMinAdj")] pub wmark_min_adj: Option, - /// wmark_ratio (Anolis OS required) Async memory reclamation is triggered when cgroup memory usage exceeds `memory.wmark_high` and the reclamation stops when usage is below `memory.wmark_low`. Basically, `memory.wmark_high` := min(memory.high, memory.limit_in_bytes) * memory.memory.wmark_ratio `memory.wmark_low` := min(memory.high, memory.limit_in_bytes) * (memory.wmark_ratio - memory.wmark_scale_factor) WmarkRatio specifies `memory.wmark_ratio` that help calculate `memory.wmark_high`, which triggers async memory reclamation when memory usage exceeds. Close: 0. Recommended: 95. + /// wmark_ratio (Anolis OS required) + /// Async memory reclamation is triggered when cgroup memory usage exceeds `memory.wmark_high` and the reclamation + /// stops when usage is below `memory.wmark_low`. Basically, + /// `memory.wmark_high` := min(memory.high, memory.limit_in_bytes) * memory.memory.wmark_ratio + /// `memory.wmark_low` := min(memory.high, memory.limit_in_bytes) * (memory.wmark_ratio - memory.wmark_scale_factor) + /// WmarkRatio specifies `memory.wmark_ratio` that help calculate `memory.wmark_high`, which triggers async + /// memory reclamation when memory usage exceeds. + /// Close: 0. Recommended: 95. #[serde(default, skip_serializing_if = "Option::is_none", rename = "wmarkRatio")] pub wmark_ratio: Option, - /// WmarkScalePermill specifies `memory.wmark_scale_factor` that helps calculate `memory.wmark_low`, which stops async memory reclamation when memory usage belows. Close: 50. Recommended: 20. + /// WmarkScalePermill specifies `memory.wmark_scale_factor` that helps calculate `memory.wmark_low`, which + /// stops async memory reclamation when memory usage belows. + /// Close: 50. Recommended: 20. #[serde(default, skip_serializing_if = "Option::is_none", rename = "wmarkScalePermill")] pub wmark_scale_permill: Option, } #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeSLOResourceQosStrategyLsrClassNetworkQos { - /// EgressLimit describes the maximum network bandwidth can be used in the egress direction, unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M. + /// EgressLimit describes the maximum network bandwidth can be used in the egress direction, + /// unit: bps(bytes per second), two expressions are supported,int and string, + /// int: percentage based on total bandwidth,valid in 0-100 + /// string: a specific network bandwidth value, eg: 50M. #[serde(default, skip_serializing_if = "Option::is_none", rename = "egressLimit")] pub egress_limit: Option, - /// EgressRequest describes the minimum network bandwidth guaranteed in the egress direction. unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M. + /// EgressRequest describes the minimum network bandwidth guaranteed in the egress direction. + /// unit: bps(bytes per second), two expressions are supported,int and string, + /// int: percentage based on total bandwidth,valid in 0-100 + /// string: a specific network bandwidth value, eg: 50M. #[serde(default, skip_serializing_if = "Option::is_none", rename = "egressRequest")] pub egress_request: Option, #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, - /// IngressLimit describes the maximum network bandwidth can be used in the ingress direction, unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M. + /// IngressLimit describes the maximum network bandwidth can be used in the ingress direction, + /// unit: bps(bytes per second), two expressions are supported,int and string, + /// int: percentage based on total bandwidth,valid in 0-100 + /// string: a specific network bandwidth value, eg: 50M. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ingressLimit")] pub ingress_limit: Option, - /// IngressRequest describes the minimum network bandwidth guaranteed in the ingress direction. unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M. + /// IngressRequest describes the minimum network bandwidth guaranteed in the ingress direction. + /// unit: bps(bytes per second), two expressions are supported,int and string, + /// int: percentage based on total bandwidth,valid in 0-100 + /// string: a specific network bandwidth value, eg: 50M. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ingressRequest")] pub ingress_request: Option, } @@ -851,7 +1079,8 @@ pub struct NodeSLOResourceQosStrategySystemClassBlkioQosBlocks { #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeSLOResourceQosStrategySystemClassBlkioQosBlocksIoCfg { - /// configure the cost model of blkio-cost manually whether the user model is enabled. Default value: false + /// configure the cost model of blkio-cost manually + /// whether the user model is enabled. Default value: false #[serde(default, skip_serializing_if = "Option::is_none", rename = "enableUserModel")] pub enable_user_model: Option, /// This field is used to set the weight of a sub-group. Default value: 100. Valid values: 1 to 100. @@ -875,13 +1104,18 @@ pub struct NodeSLOResourceQosStrategySystemClassBlkioQosBlocksIoCfg { /// the sequential write iops of user model #[serde(default, skip_serializing_if = "Option::is_none", rename = "modelWriteSeqIOPS")] pub model_write_seq_iops: Option, - /// Throttling of throughput The value is set to 0, which indicates that the feature is disabled. + /// Throttling of throughput + /// The value is set to 0, which indicates that the feature is disabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readBPS")] pub read_bps: Option, - /// Throttling of IOPS The value is set to 0, which indicates that the feature is disabled. + /// Throttling of IOPS + /// The value is set to 0, which indicates that the feature is disabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readIOPS")] pub read_iops: Option, - /// Configure the weight-based throttling feature of blk-iocost Only used for RootClass After blk-iocost is enabled, the kernel calculates the proportion of requests that exceed the read or write latency threshold out of all requests. When the proportion is greater than the read or write latency percentile (95%), the kernel considers the disk to be saturated and reduces the rate at which requests are sent to the disk. the read latency threshold. Unit: microseconds. + /// Configure the weight-based throttling feature of blk-iocost + /// Only used for RootClass + /// After blk-iocost is enabled, the kernel calculates the proportion of requests that exceed the read or write latency threshold out of all requests. When the proportion is greater than the read or write latency percentile (95%), the kernel considers the disk to be saturated and reduces the rate at which requests are sent to the disk. + /// the read latency threshold. Unit: microseconds. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readLatency")] pub read_latency: Option, /// the read latency percentile @@ -902,16 +1136,22 @@ pub struct NodeSLOResourceQosStrategySystemClassBlkioQosBlocksIoCfg { /// CPUQOSCfg stores node-level config of cpu qos #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeSLOResourceQosStrategySystemClassCpuQos { - /// whether pods of the QoS class can expel the cgroup idle pods at the SMT-level. default = false If set to true, pods of this QoS will use a dedicated core sched group for noise clean with the SchedIdle pods. NOTE: It takes effect if cpuPolicy = "coreSched". + /// whether pods of the QoS class can expel the cgroup idle pods at the SMT-level. default = false + /// If set to true, pods of this QoS will use a dedicated core sched group for noise clean with the SchedIdle pods. + /// NOTE: It takes effect if cpuPolicy = "coreSched". #[serde(default, skip_serializing_if = "Option::is_none", rename = "coreExpeller")] pub core_expeller: Option, /// Enable indicates whether the cpu qos is enabled. #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, - /// group identity value for pods, default = 0 NOTE: It takes effect if cpuPolicy = "groupIdentity". + /// group identity value for pods, default = 0 + /// NOTE: It takes effect if cpuPolicy = "groupIdentity". #[serde(default, skip_serializing_if = "Option::is_none", rename = "groupIdentity")] pub group_identity: Option, - /// cpu.idle value for pods, default = 0. `1` means using SCHED_IDLE. CGroup Idle (introduced since mainline Linux 5.15): https://lore.kernel.org/lkml/162971078674.25758.15464079371945307825.tip-bot2@tip-bot2/#r NOTE: It takes effect if cpuPolicy = "coreSched". + /// cpu.idle value for pods, default = 0. + /// `1` means using SCHED_IDLE. + /// CGroup Idle (introduced since mainline Linux 5.15): https://lore.kernel.org/lkml/162971078674.25758.15464079371945307825.tip-bot2@tip-bot2/#r + /// NOTE: It takes effect if cpuPolicy = "coreSched". #[serde(default, skip_serializing_if = "Option::is_none", rename = "schedIdle")] pub sched_idle: Option, } @@ -919,13 +1159,28 @@ pub struct NodeSLOResourceQosStrategySystemClassCpuQos { /// MemoryQOSCfg stores node-level config of memory qos #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeSLOResourceQosStrategySystemClassMemoryQos { - /// Enable indicates whether the memory qos is enabled (default: false). This field is used for node-level control, while pod-level configuration is done with MemoryQOS and `Policy` instead of an `Enable` option. Please view the differences between MemoryQOSCfg and PodMemoryQOSConfig structs. + /// Enable indicates whether the memory qos is enabled (default: false). + /// This field is used for node-level control, while pod-level configuration is done with MemoryQOS and `Policy` + /// instead of an `Enable` option. Please view the differences between MemoryQOSCfg and PodMemoryQOSConfig structs. #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, - /// LowLimitPercent specifies the lowLimitFactor percentage to calculate `memory.low`, which TRIES BEST protecting memory from global reclamation when memory usage does not exceed the low limit unless no unprotected memcg can be reclaimed. NOTE: `memory.low` should be larger than `memory.min`. If spec.requests.memory == spec.limits.memory, pod `memory.low` and `memory.high` become invalid, while `memory.wmark_ratio` is still in effect. Close: 0. + /// LowLimitPercent specifies the lowLimitFactor percentage to calculate `memory.low`, which TRIES BEST + /// protecting memory from global reclamation when memory usage does not exceed the low limit unless no unprotected + /// memcg can be reclaimed. + /// NOTE: `memory.low` should be larger than `memory.min`. If spec.requests.memory == spec.limits.memory, + /// pod `memory.low` and `memory.high` become invalid, while `memory.wmark_ratio` is still in effect. + /// Close: 0. #[serde(default, skip_serializing_if = "Option::is_none", rename = "lowLimitPercent")] pub low_limit_percent: Option, - /// memcg qos If enabled, memcg qos will be set by the agent, where some fields are implicitly calculated from pod spec. 1. `memory.min` := spec.requests.memory * minLimitFactor / 100 (use 0 if requests.memory is not set) 2. `memory.low` := spec.requests.memory * lowLimitFactor / 100 (use 0 if requests.memory is not set) 3. `memory.limit_in_bytes` := spec.limits.memory (set $node.allocatable.memory if limits.memory is not set) 4. `memory.high` := floor[(spec.requests.memory + throttlingFactor / 100 * (memory.limit_in_bytes or node allocatable memory - spec.requests.memory))/pageSize] * pageSize MinLimitPercent specifies the minLimitFactor percentage to calculate `memory.min`, which protects memory from global reclamation when memory usage does not exceed the min limit. Close: 0. + /// memcg qos + /// If enabled, memcg qos will be set by the agent, where some fields are implicitly calculated from pod spec. + /// 1. `memory.min` := spec.requests.memory * minLimitFactor / 100 (use 0 if requests.memory is not set) + /// 2. `memory.low` := spec.requests.memory * lowLimitFactor / 100 (use 0 if requests.memory is not set) + /// 3. `memory.limit_in_bytes` := spec.limits.memory (set $node.allocatable.memory if limits.memory is not set) + /// 4. `memory.high` := floor[(spec.requests.memory + throttlingFactor / 100 * (memory.limit_in_bytes or node allocatable memory - spec.requests.memory))/pageSize] * pageSize + /// MinLimitPercent specifies the minLimitFactor percentage to calculate `memory.min`, which protects memory + /// from global reclamation when memory usage does not exceed the min limit. + /// Close: 0. #[serde(default, skip_serializing_if = "Option::is_none", rename = "minLimitPercent")] pub min_limit_percent: Option, #[serde(default, skip_serializing_if = "Option::is_none", rename = "oomKillGroup")] @@ -935,34 +1190,64 @@ pub struct NodeSLOResourceQosStrategySystemClassMemoryQos { /// TODO: enhance the usages of oom priority and oom kill group #[serde(default, skip_serializing_if = "Option::is_none", rename = "priorityEnable")] pub priority_enable: Option, - /// ThrottlingPercent specifies the throttlingFactor percentage to calculate `memory.high` with pod memory.limits or node allocatable memory, which triggers memcg direct reclamation when memory usage exceeds. Lower the factor brings more heavier reclaim pressure. Close: 0. + /// ThrottlingPercent specifies the throttlingFactor percentage to calculate `memory.high` with pod + /// memory.limits or node allocatable memory, which triggers memcg direct reclamation when memory usage exceeds. + /// Lower the factor brings more heavier reclaim pressure. + /// Close: 0. #[serde(default, skip_serializing_if = "Option::is_none", rename = "throttlingPercent")] pub throttling_percent: Option, - /// wmark_min_adj (Anolis OS required) WmarkMinAdj specifies `memory.wmark_min_adj` which adjusts per-memcg threshold for global memory reclamation. Lower the factor brings later reclamation. The adjustment uses different formula for different value range. [-25, 0):global_wmark_min' = global_wmark_min + (global_wmark_min - 0) * wmarkMinAdj (0, 50]:global_wmark_min' = global_wmark_min + (global_wmark_low - global_wmark_min) * wmarkMinAdj Close: [LSR:0, LS:0, BE:0]. Recommended: [LSR:-25, LS:-25, BE:50]. + /// wmark_min_adj (Anolis OS required) + /// WmarkMinAdj specifies `memory.wmark_min_adj` which adjusts per-memcg threshold for global memory + /// reclamation. Lower the factor brings later reclamation. + /// The adjustment uses different formula for different value range. + /// [-25, 0):global_wmark_min' = global_wmark_min + (global_wmark_min - 0) * wmarkMinAdj + /// (0, 50]:global_wmark_min' = global_wmark_min + (global_wmark_low - global_wmark_min) * wmarkMinAdj + /// Close: [LSR:0, LS:0, BE:0]. Recommended: [LSR:-25, LS:-25, BE:50]. #[serde(default, skip_serializing_if = "Option::is_none", rename = "wmarkMinAdj")] pub wmark_min_adj: Option, - /// wmark_ratio (Anolis OS required) Async memory reclamation is triggered when cgroup memory usage exceeds `memory.wmark_high` and the reclamation stops when usage is below `memory.wmark_low`. Basically, `memory.wmark_high` := min(memory.high, memory.limit_in_bytes) * memory.memory.wmark_ratio `memory.wmark_low` := min(memory.high, memory.limit_in_bytes) * (memory.wmark_ratio - memory.wmark_scale_factor) WmarkRatio specifies `memory.wmark_ratio` that help calculate `memory.wmark_high`, which triggers async memory reclamation when memory usage exceeds. Close: 0. Recommended: 95. + /// wmark_ratio (Anolis OS required) + /// Async memory reclamation is triggered when cgroup memory usage exceeds `memory.wmark_high` and the reclamation + /// stops when usage is below `memory.wmark_low`. Basically, + /// `memory.wmark_high` := min(memory.high, memory.limit_in_bytes) * memory.memory.wmark_ratio + /// `memory.wmark_low` := min(memory.high, memory.limit_in_bytes) * (memory.wmark_ratio - memory.wmark_scale_factor) + /// WmarkRatio specifies `memory.wmark_ratio` that help calculate `memory.wmark_high`, which triggers async + /// memory reclamation when memory usage exceeds. + /// Close: 0. Recommended: 95. #[serde(default, skip_serializing_if = "Option::is_none", rename = "wmarkRatio")] pub wmark_ratio: Option, - /// WmarkScalePermill specifies `memory.wmark_scale_factor` that helps calculate `memory.wmark_low`, which stops async memory reclamation when memory usage belows. Close: 50. Recommended: 20. + /// WmarkScalePermill specifies `memory.wmark_scale_factor` that helps calculate `memory.wmark_low`, which + /// stops async memory reclamation when memory usage belows. + /// Close: 50. Recommended: 20. #[serde(default, skip_serializing_if = "Option::is_none", rename = "wmarkScalePermill")] pub wmark_scale_permill: Option, } #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeSLOResourceQosStrategySystemClassNetworkQos { - /// EgressLimit describes the maximum network bandwidth can be used in the egress direction, unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M. + /// EgressLimit describes the maximum network bandwidth can be used in the egress direction, + /// unit: bps(bytes per second), two expressions are supported,int and string, + /// int: percentage based on total bandwidth,valid in 0-100 + /// string: a specific network bandwidth value, eg: 50M. #[serde(default, skip_serializing_if = "Option::is_none", rename = "egressLimit")] pub egress_limit: Option, - /// EgressRequest describes the minimum network bandwidth guaranteed in the egress direction. unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M. + /// EgressRequest describes the minimum network bandwidth guaranteed in the egress direction. + /// unit: bps(bytes per second), two expressions are supported,int and string, + /// int: percentage based on total bandwidth,valid in 0-100 + /// string: a specific network bandwidth value, eg: 50M. #[serde(default, skip_serializing_if = "Option::is_none", rename = "egressRequest")] pub egress_request: Option, #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, - /// IngressLimit describes the maximum network bandwidth can be used in the ingress direction, unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M. + /// IngressLimit describes the maximum network bandwidth can be used in the ingress direction, + /// unit: bps(bytes per second), two expressions are supported,int and string, + /// int: percentage based on total bandwidth,valid in 0-100 + /// string: a specific network bandwidth value, eg: 50M. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ingressLimit")] pub ingress_limit: Option, - /// IngressRequest describes the minimum network bandwidth guaranteed in the ingress direction. unit: bps(bytes per second), two expressions are supported,int and string, int: percentage based on total bandwidth,valid in 0-100 string: a specific network bandwidth value, eg: 50M. + /// IngressRequest describes the minimum network bandwidth guaranteed in the ingress direction. + /// unit: bps(bytes per second), two expressions are supported,int and string, + /// int: percentage based on total bandwidth,valid in 0-100 + /// string: a specific network bandwidth value, eg: 50M. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ingressRequest")] pub ingress_request: Option, } @@ -987,19 +1272,24 @@ pub struct NodeSLOResourceQosStrategySystemClassResctrlQos { /// BE pods will be limited if node resource usage overload #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeSLOResourceUsedThresholdWithBe { - /// be.satisfactionRate = be.CPURealLimit/be.CPURequest; be.cpuUsage = be.CPUUsed/be.CPURealLimit if be.satisfactionRate < CPUEvictBESatisfactionLowerPercent/100 && be.usage >= CPUEvictBEUsageThresholdPercent/100, then start to evict pod, and will evict to ${CPUEvictBESatisfactionUpperPercent} + /// be.satisfactionRate = be.CPURealLimit/be.CPURequest; be.cpuUsage = be.CPUUsed/be.CPURealLimit + /// if be.satisfactionRate < CPUEvictBESatisfactionLowerPercent/100 && be.usage >= CPUEvictBEUsageThresholdPercent/100, + /// then start to evict pod, and will evict to ${CPUEvictBESatisfactionUpperPercent} #[serde(default, skip_serializing_if = "Option::is_none", rename = "cpuEvictBESatisfactionLowerPercent")] pub cpu_evict_be_satisfaction_lower_percent: Option, - /// be.satisfactionRate = be.CPURealLimit/be.CPURequest if be.satisfactionRate > CPUEvictBESatisfactionUpperPercent/100, then stop to evict. + /// be.satisfactionRate = be.CPURealLimit/be.CPURequest + /// if be.satisfactionRate > CPUEvictBESatisfactionUpperPercent/100, then stop to evict. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cpuEvictBESatisfactionUpperPercent")] pub cpu_evict_be_satisfaction_upper_percent: Option, /// if be.cpuUsage >= CPUEvictBEUsageThresholdPercent/100, then start to calculate the resources need to be released. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cpuEvictBEUsageThresholdPercent")] pub cpu_evict_be_usage_threshold_percent: Option, - /// CPUEvictPolicy defines the policy for the BECPUEvict feature. Default: `evictByRealLimit`. + /// CPUEvictPolicy defines the policy for the BECPUEvict feature. + /// Default: `evictByRealLimit`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cpuEvictPolicy")] pub cpu_evict_policy: Option, - /// when avg(cpuusage) > CPUEvictThresholdPercent, will start to evict pod by cpu, and avg(cpuusage) is calculated based on the most recent CPUEvictTimeWindowSeconds data + /// when avg(cpuusage) > CPUEvictThresholdPercent, will start to evict pod by cpu, + /// and avg(cpuusage) is calculated based on the most recent CPUEvictTimeWindowSeconds data #[serde(default, skip_serializing_if = "Option::is_none", rename = "cpuEvictTimeWindowSeconds")] pub cpu_evict_time_window_seconds: Option, /// CPUSuppressPolicy diff --git a/kube-custom-resources-rs/src/sloth_slok_dev/v1/prometheusservicelevels.rs b/kube-custom-resources-rs/src/sloth_slok_dev/v1/prometheusservicelevels.rs index 360cac466..996a6d962 100644 --- a/kube-custom-resources-rs/src/sloth_slok_dev/v1/prometheusservicelevels.rs +++ b/kube-custom-resources-rs/src/sloth_slok_dev/v1/prometheusservicelevels.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/slok/sloth/sloth.slok.dev/v1/prometheusservicelevels.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/snapscheduler_backube/v1/snapshotschedules.rs b/kube-custom-resources-rs/src/snapscheduler_backube/v1/snapshotschedules.rs index 1b9d47c97..413254a47 100644 --- a/kube-custom-resources-rs/src/snapscheduler_backube/v1/snapshotschedules.rs +++ b/kube-custom-resources-rs/src/snapscheduler_backube/v1/snapshotschedules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/backube/snapscheduler/snapscheduler.backube/v1/snapshotschedules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1/volumesnapshotclasses.rs b/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1/volumesnapshotclasses.rs index 6bd315111..ac4a00857 100644 --- a/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1/volumesnapshotclasses.rs +++ b/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1/volumesnapshotclasses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1/volumesnapshotclasses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1/volumesnapshotcontents.rs b/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1/volumesnapshotcontents.rs index 1340c7702..893702bee 100644 --- a/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1/volumesnapshotcontents.rs +++ b/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1/volumesnapshotcontents.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1/volumesnapshotcontents.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1/volumesnapshots.rs b/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1/volumesnapshots.rs index 358f55b88..52e3a0918 100644 --- a/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1/volumesnapshots.rs +++ b/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1/volumesnapshots.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1/volumesnapshots.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1beta1/volumesnapshotclasses.rs b/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1beta1/volumesnapshotclasses.rs index f223d453f..bcacdcc87 100644 --- a/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1beta1/volumesnapshotclasses.rs +++ b/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1beta1/volumesnapshotclasses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1beta1/volumesnapshotclasses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1beta1/volumesnapshotcontents.rs b/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1beta1/volumesnapshotcontents.rs index 711d5d8e9..b8760a1a6 100644 --- a/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1beta1/volumesnapshotcontents.rs +++ b/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1beta1/volumesnapshotcontents.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1beta1/volumesnapshotcontents.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1beta1/volumesnapshots.rs b/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1beta1/volumesnapshots.rs index acedb626c..3dfc8080b 100644 --- a/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1beta1/volumesnapshots.rs +++ b/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1beta1/volumesnapshots.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1beta1/volumesnapshots.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/platformapplications.rs b/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/platformapplications.rs index 7805a2bac..e2e682578 100644 --- a/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/platformapplications.rs +++ b/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/platformapplications.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sns-controller/sns.services.k8s.aws/v1alpha1/platformapplications.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/platformendpoints.rs b/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/platformendpoints.rs index b4292441b..1fa468091 100644 --- a/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/platformendpoints.rs +++ b/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/platformendpoints.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sns-controller/sns.services.k8s.aws/v1alpha1/platformendpoints.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/subscriptions.rs b/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/subscriptions.rs index edbf32200..eb5bb0bcd 100644 --- a/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/subscriptions.rs +++ b/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/subscriptions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sns-controller/sns.services.k8s.aws/v1alpha1/subscriptions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/topics.rs b/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/topics.rs index 27f110201..d45021e3d 100644 --- a/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/topics.rs +++ b/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/topics.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sns-controller/sns.services.k8s.aws/v1alpha1/topics.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sonataflow_org/v1alpha08/sonataflowbuilds.rs b/kube-custom-resources-rs/src/sonataflow_org/v1alpha08/sonataflowbuilds.rs index 6c6cff3c6..091aa3a95 100644 --- a/kube-custom-resources-rs/src/sonataflow_org/v1alpha08/sonataflowbuilds.rs +++ b/kube-custom-resources-rs/src/sonataflow_org/v1alpha08/sonataflowbuilds.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kiegroup/kogito-serverless-operator/sonataflow.org/v1alpha08/sonataflowbuilds.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sonataflow_org/v1alpha08/sonataflowplatforms.rs b/kube-custom-resources-rs/src/sonataflow_org/v1alpha08/sonataflowplatforms.rs index 2c960c302..404be6026 100644 --- a/kube-custom-resources-rs/src/sonataflow_org/v1alpha08/sonataflowplatforms.rs +++ b/kube-custom-resources-rs/src/sonataflow_org/v1alpha08/sonataflowplatforms.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kiegroup/kogito-serverless-operator/sonataflow.org/v1alpha08/sonataflowplatforms.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1/gitrepositories.rs b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1/gitrepositories.rs index 832100aad..d486dc6da 100644 --- a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1/gitrepositories.rs +++ b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1/gitrepositories.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1/gitrepositories.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1/helmcharts.rs b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1/helmcharts.rs index 080439015..6306be051 100644 --- a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1/helmcharts.rs +++ b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1/helmcharts.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1/helmcharts.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1/helmrepositories.rs b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1/helmrepositories.rs index 1bae05ad0..3d772fe29 100644 --- a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1/helmrepositories.rs +++ b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1/helmrepositories.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1/helmrepositories.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/buckets.rs b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/buckets.rs index 53366774f..18b651cd5 100644 --- a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/buckets.rs +++ b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/buckets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/buckets.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/gitrepositories.rs b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/gitrepositories.rs index 55e3b33ab..add266080 100644 --- a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/gitrepositories.rs +++ b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/gitrepositories.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/gitrepositories.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/helmcharts.rs b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/helmcharts.rs index 577fb63a2..f70416025 100644 --- a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/helmcharts.rs +++ b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/helmcharts.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/helmcharts.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/helmrepositories.rs b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/helmrepositories.rs index 0ea4ffdc4..d68faa75d 100644 --- a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/helmrepositories.rs +++ b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/helmrepositories.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/helmrepositories.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/buckets.rs b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/buckets.rs index f94455952..10f98c086 100644 --- a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/buckets.rs +++ b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/buckets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/buckets.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -28,6 +28,25 @@ pub struct BucketSpec { /// BucketName is the name of the object storage bucket. #[serde(rename = "bucketName")] pub bucket_name: String, + /// CertSecretRef can be given the name of a Secret containing + /// either or both of + /// + /// + /// - a PEM-encoded client certificate (`tls.crt`) and private + /// key (`tls.key`); + /// - a PEM-encoded CA certificate (`ca.crt`) + /// + /// + /// and whichever are supplied, will be used for connecting to the + /// bucket. The client cert and key are useful if you are + /// authenticating with a certificate; the CA cert is useful if + /// you are using a self-signed server certificate. The Secret must + /// be of type `Opaque` or `kubernetes.io/tls`. + /// + /// + /// This field is only supported for the `generic` provider. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "certSecretRef")] + pub cert_secret_ref: Option, /// Endpoint is the object storage address the BucketName is located at. pub endpoint: String, /// Ignore overrides the set of excluded patterns in the .sourceignore format @@ -88,6 +107,29 @@ pub struct BucketAccessFromNamespaceSelectors { pub match_labels: Option>, } +/// CertSecretRef can be given the name of a Secret containing +/// either or both of +/// +/// +/// - a PEM-encoded client certificate (`tls.crt`) and private +/// key (`tls.key`); +/// - a PEM-encoded CA certificate (`ca.crt`) +/// +/// +/// and whichever are supplied, will be used for connecting to the +/// bucket. The client cert and key are useful if you are +/// authenticating with a certificate; the CA cert is useful if +/// you are using a self-signed server certificate. The Secret must +/// be of type `Opaque` or `kubernetes.io/tls`. +/// +/// +/// This field is only supported for the `generic` provider. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct BucketCertSecretRef { + /// Name of the referent. + pub name: String, +} + /// BucketSpec specifies the required configuration to produce an Artifact for /// an object storage bucket. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] diff --git a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/gitrepositories.rs b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/gitrepositories.rs index 48c28d933..8d6daffae 100644 --- a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/gitrepositories.rs +++ b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/gitrepositories.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/gitrepositories.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/helmcharts.rs b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/helmcharts.rs index 7d3a20a8b..2ebc8ee49 100644 --- a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/helmcharts.rs +++ b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/helmcharts.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/helmcharts.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/helmrepositories.rs b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/helmrepositories.rs index 67f5d16f3..4f1746054 100644 --- a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/helmrepositories.rs +++ b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/helmrepositories.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/helmrepositories.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/ocirepositories.rs b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/ocirepositories.rs index c3f858643..d12bfaff5 100644 --- a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/ocirepositories.rs +++ b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/ocirepositories.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/ocirepositories.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sparkoperator_k8s_io/v1beta2/scheduledsparkapplications.rs b/kube-custom-resources-rs/src/sparkoperator_k8s_io/v1beta2/scheduledsparkapplications.rs index 93c207454..b1ab72820 100644 --- a/kube-custom-resources-rs/src/sparkoperator_k8s_io/v1beta2/scheduledsparkapplications.rs +++ b/kube-custom-resources-rs/src/sparkoperator_k8s_io/v1beta2/scheduledsparkapplications.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/spark-on-k8s-operator/sparkoperator.k8s.io/v1beta2/scheduledsparkapplications.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -41,6 +41,8 @@ pub struct ScheduledSparkApplicationTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub deps: Option, pub driver: ScheduledSparkApplicationTemplateDriver, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "driverIngressOptions")] + pub driver_ingress_options: Option>, #[serde(default, skip_serializing_if = "Option::is_none", rename = "dynamicAllocation")] pub dynamic_allocation: Option, pub executor: ScheduledSparkApplicationTemplateExecutor, @@ -1737,6 +1739,34 @@ pub struct ScheduledSparkApplicationTemplateDriverVolumeMounts { pub sub_path_expr: Option, } +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct ScheduledSparkApplicationTemplateDriverIngressOptions { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ingressAnnotations")] + pub ingress_annotations: Option>, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ingressTLS")] + pub ingress_tls: Option>, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ingressURLFormat")] + pub ingress_url_format: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceAnnotations")] + pub service_annotations: Option>, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceLabels")] + pub service_labels: Option>, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "servicePort")] + pub service_port: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "servicePortName")] + pub service_port_name: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceType")] + pub service_type: Option, +} + +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct ScheduledSparkApplicationTemplateDriverIngressOptionsIngressTls { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub hosts: Option>, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretName")] + pub secret_name: Option, +} + #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct ScheduledSparkApplicationTemplateDynamicAllocation { #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/sparkoperator_k8s_io/v1beta2/sparkapplications.rs b/kube-custom-resources-rs/src/sparkoperator_k8s_io/v1beta2/sparkapplications.rs index 5b3aab3a2..748e99a1e 100644 --- a/kube-custom-resources-rs/src/sparkoperator_k8s_io/v1beta2/sparkapplications.rs +++ b/kube-custom-resources-rs/src/sparkoperator_k8s_io/v1beta2/sparkapplications.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/spark-on-k8s-operator/sparkoperator.k8s.io/v1beta2/sparkapplications.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -27,6 +27,8 @@ pub struct SparkApplicationSpec { #[serde(default, skip_serializing_if = "Option::is_none")] pub deps: Option, pub driver: SparkApplicationDriver, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "driverIngressOptions")] + pub driver_ingress_options: Option>, #[serde(default, skip_serializing_if = "Option::is_none", rename = "dynamicAllocation")] pub dynamic_allocation: Option, pub executor: SparkApplicationExecutor, @@ -1723,6 +1725,34 @@ pub struct SparkApplicationDriverVolumeMounts { pub sub_path_expr: Option, } +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct SparkApplicationDriverIngressOptions { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ingressAnnotations")] + pub ingress_annotations: Option>, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ingressTLS")] + pub ingress_tls: Option>, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ingressURLFormat")] + pub ingress_url_format: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceAnnotations")] + pub service_annotations: Option>, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceLabels")] + pub service_labels: Option>, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "servicePort")] + pub service_port: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "servicePortName")] + pub service_port_name: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceType")] + pub service_type: Option, +} + +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct SparkApplicationDriverIngressOptionsIngressTls { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub hosts: Option>, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretName")] + pub secret_name: Option, +} + #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct SparkApplicationDynamicAllocation { #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/spv_no/v1/azurekeyvaultsecrets.rs b/kube-custom-resources-rs/src/spv_no/v1/azurekeyvaultsecrets.rs index 37eeea231..35bc25a99 100644 --- a/kube-custom-resources-rs/src/spv_no/v1/azurekeyvaultsecrets.rs +++ b/kube-custom-resources-rs/src/spv_no/v1/azurekeyvaultsecrets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v1/azurekeyvaultsecrets.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/spv_no/v1alpha1/azurekeyvaultidentities.rs b/kube-custom-resources-rs/src/spv_no/v1alpha1/azurekeyvaultidentities.rs index 38a4d2aa2..483afe5a0 100644 --- a/kube-custom-resources-rs/src/spv_no/v1alpha1/azurekeyvaultidentities.rs +++ b/kube-custom-resources-rs/src/spv_no/v1alpha1/azurekeyvaultidentities.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v1alpha1/azurekeyvaultidentities.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/spv_no/v1alpha1/azurekeyvaultsecrets.rs b/kube-custom-resources-rs/src/spv_no/v1alpha1/azurekeyvaultsecrets.rs index 5cd320dbb..1ce2732ab 100644 --- a/kube-custom-resources-rs/src/spv_no/v1alpha1/azurekeyvaultsecrets.rs +++ b/kube-custom-resources-rs/src/spv_no/v1alpha1/azurekeyvaultsecrets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v1alpha1/azurekeyvaultsecrets.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/spv_no/v1alpha1/azuremanagedidentities.rs b/kube-custom-resources-rs/src/spv_no/v1alpha1/azuremanagedidentities.rs index 3e4ecb8a0..bacd83138 100644 --- a/kube-custom-resources-rs/src/spv_no/v1alpha1/azuremanagedidentities.rs +++ b/kube-custom-resources-rs/src/spv_no/v1alpha1/azuremanagedidentities.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v1alpha1/azuremanagedidentities.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/spv_no/v2alpha1/azurekeyvaultsecrets.rs b/kube-custom-resources-rs/src/spv_no/v2alpha1/azurekeyvaultsecrets.rs index 035d4aa94..766b1b94a 100644 --- a/kube-custom-resources-rs/src/spv_no/v2alpha1/azurekeyvaultsecrets.rs +++ b/kube-custom-resources-rs/src/spv_no/v2alpha1/azurekeyvaultsecrets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v2alpha1/azurekeyvaultsecrets.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/spv_no/v2beta1/azurekeyvaultsecrets.rs b/kube-custom-resources-rs/src/spv_no/v2beta1/azurekeyvaultsecrets.rs index 43d5ddd6b..a980090b5 100644 --- a/kube-custom-resources-rs/src/spv_no/v2beta1/azurekeyvaultsecrets.rs +++ b/kube-custom-resources-rs/src/spv_no/v2beta1/azurekeyvaultsecrets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v2beta1/azurekeyvaultsecrets.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sqs_services_k8s_aws/v1alpha1/queues.rs b/kube-custom-resources-rs/src/sqs_services_k8s_aws/v1alpha1/queues.rs index 60af6e41d..7b5f8ad65 100644 --- a/kube-custom-resources-rs/src/sqs_services_k8s_aws/v1alpha1/queues.rs +++ b/kube-custom-resources-rs/src/sqs_services_k8s_aws/v1alpha1/queues.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sqs-controller/sqs.services.k8s.aws/v1alpha1/queues.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/constraintpodstatuses.rs b/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/constraintpodstatuses.rs index 7fe1be21b..30c56207c 100644 --- a/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/constraintpodstatuses.rs +++ b/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/constraintpodstatuses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/status.gatekeeper.sh/v1beta1/constraintpodstatuses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/constrainttemplatepodstatuses.rs b/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/constrainttemplatepodstatuses.rs index 56f06d5cf..3a58c891f 100644 --- a/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/constrainttemplatepodstatuses.rs +++ b/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/constrainttemplatepodstatuses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/status.gatekeeper.sh/v1beta1/constrainttemplatepodstatuses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/expansiontemplatepodstatuses.rs b/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/expansiontemplatepodstatuses.rs index 7eae1bd84..e1b109d92 100644 --- a/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/expansiontemplatepodstatuses.rs +++ b/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/expansiontemplatepodstatuses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/status.gatekeeper.sh/v1beta1/expansiontemplatepodstatuses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/mutatorpodstatuses.rs b/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/mutatorpodstatuses.rs index acf606e11..d773c864a 100644 --- a/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/mutatorpodstatuses.rs +++ b/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/mutatorpodstatuses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/status.gatekeeper.sh/v1beta1/mutatorpodstatuses.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/storage_kubeblocks_io/v1alpha1/storageproviders.rs b/kube-custom-resources-rs/src/storage_kubeblocks_io/v1alpha1/storageproviders.rs index 888224b4c..fcbd00d8c 100644 --- a/kube-custom-resources-rs/src/storage_kubeblocks_io/v1alpha1/storageproviders.rs +++ b/kube-custom-resources-rs/src/storage_kubeblocks_io/v1alpha1/storageproviders.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/storage.kubeblocks.io/v1alpha1/storageproviders.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/storageos_com/v1/storageosclusters.rs b/kube-custom-resources-rs/src/storageos_com/v1/storageosclusters.rs index a959a8375..fe54bb1c6 100644 --- a/kube-custom-resources-rs/src/storageos_com/v1/storageosclusters.rs +++ b/kube-custom-resources-rs/src/storageos_com/v1/storageosclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/storageos/operator/storageos.com/v1/storageosclusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sts_min_io/v1alpha1/policybindings.rs b/kube-custom-resources-rs/src/sts_min_io/v1alpha1/policybindings.rs index 87aeaa02a..fedc331dc 100644 --- a/kube-custom-resources-rs/src/sts_min_io/v1alpha1/policybindings.rs +++ b/kube-custom-resources-rs/src/sts_min_io/v1alpha1/policybindings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/minio/operator/sts.min.io/v1alpha1/policybindings.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/sts_min_io/v1beta1/policybindings.rs b/kube-custom-resources-rs/src/sts_min_io/v1beta1/policybindings.rs index dcd5b71f7..96150ad49 100644 --- a/kube-custom-resources-rs/src/sts_min_io/v1beta1/policybindings.rs +++ b/kube-custom-resources-rs/src/sts_min_io/v1beta1/policybindings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/minio/operator/sts.min.io/v1beta1/policybindings.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/stunner_l7mp_io/v1/dataplanes.rs b/kube-custom-resources-rs/src/stunner_l7mp_io/v1/dataplanes.rs index 0bc8b7fa5..e70c53491 100644 --- a/kube-custom-resources-rs/src/stunner_l7mp_io/v1/dataplanes.rs +++ b/kube-custom-resources-rs/src/stunner_l7mp_io/v1/dataplanes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/dataplanes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -27,10 +27,18 @@ pub struct DataplaneSpec { /// Entrypoint array. Defaults: "stunnerd". #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, - /// Disable health-checking. Default is to enable HTTP health-checks on port 8086: a liveness probe responder will be exposed on path `/live` and readiness probe on path `/ready`. + /// ContainerSecurityContext holds container-level security attributes specifically for the + /// stunnerd container. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerSecurityContext")] + pub container_security_context: Option, + /// Disable health-checking. Default is to enable HTTP health-checks on port 8086: a + /// liveness probe responder will be exposed on path `/live` and readiness probe on path + /// `/ready`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "disableHealthCheck")] pub disable_health_check: Option, - /// EnableMetricsEnpoint can be used to enable metrics scraping (Prometheus). If enabled, a metrics endpoint will available at http://0.0.0.0:8080 at all dataplane pods. Default is no metrics collection. + /// EnableMetricsEnpoint can be used to enable metrics scraping (Prometheus). If enabled, a + /// metrics endpoint will be available at http://0.0.0.0:8080 at all dataplane pods. Default + /// is no metrics collection. #[serde(default, skip_serializing_if = "Option::is_none", rename = "enableMetricsEndpoint")] pub enable_metrics_endpoint: Option, /// List of environment variables to set in the stunnerd container. @@ -39,7 +47,8 @@ pub struct DataplaneSpec { /// List of sources to populate environment variables in the stunnerd container. #[serde(default, skip_serializing_if = "Option::is_none", rename = "envFrom")] pub env_from: Option>, - /// Host networking requested for the stunnerd pod to use the host's network namespace. Can be used to implement public TURN servers with Kubernetes. Defaults to false. + /// Host networking requested for the stunnerd pod to use the host's network namespace. + /// Can be used to implement public TURN servers with Kubernetes. Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostNetwork")] pub host_network: Option, /// Container image name. @@ -48,7 +57,16 @@ pub struct DataplaneSpec { /// Image pull policy. One of Always, Never, IfNotPresent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "imagePullPolicy")] pub image_pull_policy: Option, - /// Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. + /// ImagePullSecrets is an optional list of references to secrets to use for pulling the + /// stunnerd image. Note that the referenced secrets are not watched by the operator, so + /// modifications will in effect only for newly created pods. Also note that the Secret is + /// always searched in the same namespace as the Gateway, which allows to use separate pull + /// secrets per each namespace. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "imagePullSecrets")] + pub image_pull_secrets: Option>, + /// Number of desired pods. If empty or set to 1, use whatever is in the target Deployment. + /// Otherwise, enforce this setting, overwiting whatever is set in the Deployment (this may + /// block autoscaling the dataplane though). Defaults to 1. #[serde(default, skip_serializing_if = "Option::is_none")] pub replicas: Option, /// Resources required by stunnerd. @@ -63,6 +81,10 @@ pub struct DataplaneSpec { /// If specified, the pod's tolerations. #[serde(default, skip_serializing_if = "Option::is_none")] pub tolerations: Option>, + /// TopologySpreadConstraints describes how stunnerd pods ought to spread across topology + /// domains. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "topologySpreadConstraints")] + pub topology_spread_constraints: Option>, } /// Scheduling constraints. @@ -82,15 +104,28 @@ pub struct DataplaneAffinity { /// Describes node affinity scheduling rules for the pod. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityNodeAffinity { - /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. + /// The scheduler will prefer to schedule pods to nodes that satisfy + /// the affinity expressions specified by this field, but it may choose + /// a node that violates one or more of the expressions. The node that is + /// most preferred is the one with the greatest sum of weights, i.e. + /// for each node that meets all of the scheduling requirements (resource + /// request, requiredDuringScheduling affinity expressions, etc.), + /// compute a sum by iterating through the elements of this field and adding + /// "weight" to the sum if the node matches the corresponding matchExpressions; the + /// node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, - /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. + /// If the affinity requirements specified by this field are not met at + /// scheduling time, the pod will not be scheduled onto the node. + /// If the affinity requirements specified by this field cease to be met + /// at some point during pod execution (e.g. due to an update), the system + /// may or may not try to eventually evict the pod from its node. #[serde(default, skip_serializing_if = "Option::is_none", rename = "requiredDuringSchedulingIgnoredDuringExecution")] pub required_during_scheduling_ignored_during_execution: Option, } -/// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). +/// An empty preferred scheduling term matches all objects with implicit weight 0 +/// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. @@ -110,31 +145,47 @@ pub struct DataplaneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringEx pub match_fields: Option>, } -/// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A node selector requirement is a selector that contains values, a key, and an operator +/// that relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, - /// Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + /// Represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. pub operator: String, - /// An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. + /// An array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. If the operator is Gt or Lt, the values + /// array must have a single element, which will be interpreted as an integer. + /// This array is replaced during a strategic merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A node selector requirement is a selector that contains values, a key, and an operator +/// that relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, - /// Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + /// Represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. pub operator: String, - /// An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. + /// An array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. If the operator is Gt or Lt, the values + /// array must have a single element, which will be interpreted as an integer. + /// This array is replaced during a strategic merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. +/// If the affinity requirements specified by this field are not met at +/// scheduling time, the pod will not be scheduled onto the node. +/// If the affinity requirements specified by this field cease to be met +/// at some point during pod execution (e.g. due to an update), the system +/// may or may not try to eventually evict the pod from its node. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. @@ -142,7 +193,9 @@ pub struct DataplaneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExe pub node_selector_terms: Vec, } -/// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. +/// A null or empty node selector term matches no objects. The requirements of +/// them are ANDed. +/// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. @@ -153,26 +206,38 @@ pub struct DataplaneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExe pub match_fields: Option>, } -/// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A node selector requirement is a selector that contains values, a key, and an operator +/// that relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, - /// Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + /// Represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. pub operator: String, - /// An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. + /// An array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. If the operator is Gt or Lt, the values + /// array must have a single element, which will be interpreted as an integer. + /// This array is replaced during a strategic merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A node selector requirement is a selector that contains values, a key, and an operator +/// that relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, - /// Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + /// Represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. pub operator: String, - /// An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. + /// An array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. If the operator is Gt or Lt, the values + /// array must have a single element, which will be interpreted as an integer. + /// This array is replaced during a strategic merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } @@ -180,10 +245,24 @@ pub struct DataplaneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExe /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAffinity { - /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. + /// The scheduler will prefer to schedule pods to nodes that satisfy + /// the affinity expressions specified by this field, but it may choose + /// a node that violates one or more of the expressions. The node that is + /// most preferred is the one with the greatest sum of weights, i.e. + /// for each node that meets all of the scheduling requirements (resource + /// request, requiredDuringScheduling affinity expressions, etc.), + /// compute a sum by iterating through the elements of this field and adding + /// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + /// node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, - /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. + /// If the affinity requirements specified by this field are not met at + /// scheduling time, the pod will not be scheduled onto the node. + /// If the affinity requirements specified by this field cease to be met + /// at some point during pod execution (e.g. due to a pod label update), the + /// system may or may not try to eventually evict the pod from its node. + /// When there are multiple elements, the lists of nodes corresponding to each + /// podAffinityTerm are intersected, i.e. all terms must be satisfied. #[serde(default, skip_serializing_if = "Option::is_none", rename = "requiredDuringSchedulingIgnoredDuringExecution")] pub required_during_scheduling_ignored_during_execution: Option>, } @@ -194,7 +273,8 @@ pub struct DataplaneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExe /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: DataplaneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, - /// weight associated with matching the corresponding podAffinityTerm, in the range 1-100. + /// weight associated with matching the corresponding podAffinityTerm, + /// in the range 1-100. pub weight: i32, } @@ -202,124 +282,235 @@ pub struct DataplaneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExe #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. + /// If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, - /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. + /// MatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. + /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] + pub match_label_keys: Option>, + /// MismatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. + /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] + pub mismatch_label_keys: Option>, + /// A label query over the set of namespaces that the term applies to. + /// The term is applied to the union of the namespaces selected by this field + /// and the ones listed in the namespaces field. + /// null selector and null or empty namespaces list means "this pod's namespace". + /// An empty selector ({}) matches all namespaces. #[serde(default, skip_serializing_if = "Option::is_none", rename = "namespaceSelector")] pub namespace_selector: Option, - /// namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". + /// namespaces specifies a static list of namespace names that the term applies to. + /// The term is applied to the union of the namespaces listed in this field + /// and the ones selected by namespaceSelector. + /// null or empty namespaces list and null namespaceSelector means "this pod's namespace". #[serde(default, skip_serializing_if = "Option::is_none")] pub namespaces: Option>, - /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. + /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + /// the labelSelector in the specified namespaces, where co-located is defined as running on a node + /// whose value of the label with key topologyKey matches that of any node on which any of the + /// selected pods is running. + /// Empty topologyKey is not allowed. #[serde(rename = "topologyKey")] pub topology_key: String, } /// A label query over a set of resources, in this case pods. +/// If it's null, this PodAffinityTerm matches with no Pods. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. +/// A label query over the set of namespaces that the term applies to. +/// The term is applied to the union of the namespaces selected by this field +/// and the ones listed in the namespaces field. +/// null selector and null or empty namespaces list means "this pod's namespace". +/// An empty selector ({}) matches all namespaces. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running +/// Defines a set of pods (namely those matching the labelSelector +/// relative to the given namespace(s)) that this pod should be +/// co-located (affinity) or not co-located (anti-affinity) with, +/// where co-located is defined as running on a node whose value of +/// the label with key matches that of any node on which +/// a pod of the set of pods is running #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. + /// If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, - /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. + /// MatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. + /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] + pub match_label_keys: Option>, + /// MismatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. + /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] + pub mismatch_label_keys: Option>, + /// A label query over the set of namespaces that the term applies to. + /// The term is applied to the union of the namespaces selected by this field + /// and the ones listed in the namespaces field. + /// null selector and null or empty namespaces list means "this pod's namespace". + /// An empty selector ({}) matches all namespaces. #[serde(default, skip_serializing_if = "Option::is_none", rename = "namespaceSelector")] pub namespace_selector: Option, - /// namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". + /// namespaces specifies a static list of namespace names that the term applies to. + /// The term is applied to the union of the namespaces listed in this field + /// and the ones selected by namespaceSelector. + /// null or empty namespaces list and null namespaceSelector means "this pod's namespace". #[serde(default, skip_serializing_if = "Option::is_none")] pub namespaces: Option>, - /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. + /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + /// the labelSelector in the specified namespaces, where co-located is defined as running on a node + /// whose value of the label with key topologyKey matches that of any node on which any of the + /// selected pods is running. + /// Empty topologyKey is not allowed. #[serde(rename = "topologyKey")] pub topology_key: String, } /// A label query over a set of resources, in this case pods. +/// If it's null, this PodAffinityTerm matches with no Pods. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. +/// A label query over the set of namespaces that the term applies to. +/// The term is applied to the union of the namespaces selected by this field +/// and the ones listed in the namespaces field. +/// null selector and null or empty namespaces list means "this pod's namespace". +/// An empty selector ({}) matches all namespaces. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } @@ -327,10 +518,24 @@ pub struct DataplaneAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExec /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAntiAffinity { - /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. + /// The scheduler will prefer to schedule pods to nodes that satisfy + /// the anti-affinity expressions specified by this field, but it may choose + /// a node that violates one or more of the expressions. The node that is + /// most preferred is the one with the greatest sum of weights, i.e. + /// for each node that meets all of the scheduling requirements (resource + /// request, requiredDuringScheduling anti-affinity expressions, etc.), + /// compute a sum by iterating through the elements of this field and adding + /// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + /// node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, - /// If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. + /// If the anti-affinity requirements specified by this field are not met at + /// scheduling time, the pod will not be scheduled onto the node. + /// If the anti-affinity requirements specified by this field cease to be met + /// at some point during pod execution (e.g. due to a pod label update), the + /// system may or may not try to eventually evict the pod from its node. + /// When there are multiple elements, the lists of nodes corresponding to each + /// podAffinityTerm are intersected, i.e. all terms must be satisfied. #[serde(default, skip_serializing_if = "Option::is_none", rename = "requiredDuringSchedulingIgnoredDuringExecution")] pub required_during_scheduling_ignored_during_execution: Option>, } @@ -341,7 +546,8 @@ pub struct DataplaneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDurin /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: DataplaneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, - /// weight associated with matching the corresponding podAffinityTerm, in the range 1-100. + /// weight associated with matching the corresponding podAffinityTerm, + /// in the range 1-100. pub weight: i32, } @@ -349,134 +555,417 @@ pub struct DataplaneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDurin #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. + /// If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, - /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. + /// MatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. + /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] + pub match_label_keys: Option>, + /// MismatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. + /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] + pub mismatch_label_keys: Option>, + /// A label query over the set of namespaces that the term applies to. + /// The term is applied to the union of the namespaces selected by this field + /// and the ones listed in the namespaces field. + /// null selector and null or empty namespaces list means "this pod's namespace". + /// An empty selector ({}) matches all namespaces. #[serde(default, skip_serializing_if = "Option::is_none", rename = "namespaceSelector")] pub namespace_selector: Option, - /// namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". + /// namespaces specifies a static list of namespace names that the term applies to. + /// The term is applied to the union of the namespaces listed in this field + /// and the ones selected by namespaceSelector. + /// null or empty namespaces list and null namespaceSelector means "this pod's namespace". #[serde(default, skip_serializing_if = "Option::is_none")] pub namespaces: Option>, - /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. + /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + /// the labelSelector in the specified namespaces, where co-located is defined as running on a node + /// whose value of the label with key topologyKey matches that of any node on which any of the + /// selected pods is running. + /// Empty topologyKey is not allowed. #[serde(rename = "topologyKey")] pub topology_key: String, } /// A label query over a set of resources, in this case pods. +/// If it's null, this PodAffinityTerm matches with no Pods. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. +/// A label query over the set of namespaces that the term applies to. +/// The term is applied to the union of the namespaces selected by this field +/// and the ones listed in the namespaces field. +/// null selector and null or empty namespaces list means "this pod's namespace". +/// An empty selector ({}) matches all namespaces. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running +/// Defines a set of pods (namely those matching the labelSelector +/// relative to the given namespace(s)) that this pod should be +/// co-located (affinity) or not co-located (anti-affinity) with, +/// where co-located is defined as running on a node whose value of +/// the label with key matches that of any node on which +/// a pod of the set of pods is running #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. + /// If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, - /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. + /// MatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. + /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] + pub match_label_keys: Option>, + /// MismatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. + /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] + pub mismatch_label_keys: Option>, + /// A label query over the set of namespaces that the term applies to. + /// The term is applied to the union of the namespaces selected by this field + /// and the ones listed in the namespaces field. + /// null selector and null or empty namespaces list means "this pod's namespace". + /// An empty selector ({}) matches all namespaces. #[serde(default, skip_serializing_if = "Option::is_none", rename = "namespaceSelector")] pub namespace_selector: Option, - /// namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". + /// namespaces specifies a static list of namespace names that the term applies to. + /// The term is applied to the union of the namespaces listed in this field + /// and the ones selected by namespaceSelector. + /// null or empty namespaces list and null namespaceSelector means "this pod's namespace". #[serde(default, skip_serializing_if = "Option::is_none")] pub namespaces: Option>, - /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. + /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + /// the labelSelector in the specified namespaces, where co-located is defined as running on a node + /// whose value of the label with key topologyKey matches that of any node on which any of the + /// selected pods is running. + /// Empty topologyKey is not allowed. #[serde(rename = "topologyKey")] pub topology_key: String, } /// A label query over a set of resources, in this case pods. +/// If it's null, this PodAffinityTerm matches with no Pods. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. +/// A label query over the set of namespaces that the term applies to. +/// The term is applied to the union of the namespaces selected by this field +/// and the ones listed in the namespaces field. +/// null selector and null or empty namespaces list means "this pod's namespace". +/// An empty selector ({}) matches all namespaces. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } +/// ContainerSecurityContext holds container-level security attributes specifically for the +/// stunnerd container. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct DataplaneContainerSecurityContext { + /// AllowPrivilegeEscalation controls whether a process can gain more + /// privileges than its parent process. This bool directly controls if + /// the no_new_privs flag will be set on the container process. + /// AllowPrivilegeEscalation is true always when the container is: + /// 1) run as Privileged + /// 2) has CAP_SYS_ADMIN + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] + pub allow_privilege_escalation: Option, + /// The capabilities to add/drop when running containers. + /// Defaults to the default set of capabilities granted by the container runtime. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub capabilities: Option, + /// Run container in privileged mode. + /// Processes in privileged containers are essentially equivalent to root on the host. + /// Defaults to false. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub privileged: Option, + /// procMount denotes the type of proc mount to use for the containers. + /// The default is DefaultProcMount which uses the container runtime defaults for + /// readonly paths and masked paths. + /// This requires the ProcMountType feature flag to be enabled. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "procMount")] + pub proc_mount: Option, + /// Whether this container has a read-only root filesystem. + /// Default is false. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnlyRootFilesystem")] + pub read_only_root_filesystem: Option, + /// The GID to run the entrypoint of the container process. + /// Uses runtime default if unset. + /// May also be set in PodSecurityContext. If set in both SecurityContext and + /// PodSecurityContext, the value specified in SecurityContext takes precedence. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "runAsGroup")] + pub run_as_group: Option, + /// Indicates that the container must run as a non-root user. + /// If true, the Kubelet will validate the image at runtime to ensure that it + /// does not run as UID 0 (root) and fail to start the container if it does. + /// If unset or false, no such validation will be performed. + /// May also be set in PodSecurityContext. If set in both SecurityContext and + /// PodSecurityContext, the value specified in SecurityContext takes precedence. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "runAsNonRoot")] + pub run_as_non_root: Option, + /// The UID to run the entrypoint of the container process. + /// Defaults to user specified in image metadata if unspecified. + /// May also be set in PodSecurityContext. If set in both SecurityContext and + /// PodSecurityContext, the value specified in SecurityContext takes precedence. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "runAsUser")] + pub run_as_user: Option, + /// The SELinux context to be applied to the container. + /// If unspecified, the container runtime will allocate a random SELinux context for each + /// container. May also be set in PodSecurityContext. If set in both SecurityContext and + /// PodSecurityContext, the value specified in SecurityContext takes precedence. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "seLinuxOptions")] + pub se_linux_options: Option, + /// The seccomp options to use by this container. If seccomp options are + /// provided at both the pod & container level, the container options + /// override the pod options. + /// Note that this field cannot be set when spec.os.name is windows. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "seccompProfile")] + pub seccomp_profile: Option, + /// The Windows specific settings applied to all containers. + /// If unspecified, the options from the PodSecurityContext will be used. + /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + /// Note that this field cannot be set when spec.os.name is linux. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "windowsOptions")] + pub windows_options: Option, +} + +/// The capabilities to add/drop when running containers. +/// Defaults to the default set of capabilities granted by the container runtime. +/// Note that this field cannot be set when spec.os.name is windows. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct DataplaneContainerSecurityContextCapabilities { + /// Added capabilities + #[serde(default, skip_serializing_if = "Option::is_none")] + pub add: Option>, + /// Removed capabilities + #[serde(default, skip_serializing_if = "Option::is_none")] + pub drop: Option>, +} + +/// The SELinux context to be applied to the container. +/// If unspecified, the container runtime will allocate a random SELinux context for each +/// container. May also be set in PodSecurityContext. If set in both SecurityContext and +/// PodSecurityContext, the value specified in SecurityContext takes precedence. +/// Note that this field cannot be set when spec.os.name is windows. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct DataplaneContainerSecurityContextSeLinuxOptions { + /// Level is SELinux level label that applies to the container. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub level: Option, + /// Role is a SELinux role label that applies to the container. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub role: Option, + /// Type is a SELinux type label that applies to the container. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] + pub r#type: Option, + /// User is a SELinux user label that applies to the container. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub user: Option, +} + +/// The seccomp options to use by this container. If seccomp options are +/// provided at both the pod & container level, the container options +/// override the pod options. +/// Note that this field cannot be set when spec.os.name is windows. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct DataplaneContainerSecurityContextSeccompProfile { + /// localhostProfile indicates a profile defined in a file on the node should be used. + /// The profile must be preconfigured on the node to work. + /// Must be a descending path, relative to the kubelet's configured seccomp profile location. + /// Must be set if type is "Localhost". Must NOT be set for any other type. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] + pub localhost_profile: Option, + /// type indicates which kind of seccomp profile will be applied. + /// Valid options are: + /// + /// + /// Localhost - a profile defined in a file on the node should be used. + /// RuntimeDefault - the container runtime default profile should be used. + /// Unconfined - no profile should be applied. + #[serde(rename = "type")] + pub r#type: String, +} + +/// The Windows specific settings applied to all containers. +/// If unspecified, the options from the PodSecurityContext will be used. +/// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. +/// Note that this field cannot be set when spec.os.name is linux. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct DataplaneContainerSecurityContextWindowsOptions { + /// GMSACredentialSpec is where the GMSA admission webhook + /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + /// GMSA credential spec named by the GMSACredentialSpecName field. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] + pub gmsa_credential_spec: Option, + /// GMSACredentialSpecName is the name of the GMSA credential spec to use. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpecName")] + pub gmsa_credential_spec_name: Option, + /// HostProcess determines if a container should be run as a 'Host Process' container. + /// All of a Pod's containers must have the same effective HostProcess value + /// (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + /// In addition, if HostProcess is true then HostNetwork must also be set to true. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostProcess")] + pub host_process: Option, + /// The UserName in Windows to run the entrypoint of the container process. + /// Defaults to the user specified in image metadata if unspecified. + /// May also be set in PodSecurityContext. If set in both SecurityContext and + /// PodSecurityContext, the value specified in SecurityContext takes precedence. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "runAsUserName")] + pub run_as_user_name: Option, +} + /// EnvVar represents an environment variable present in a Container. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, - /// Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "". + /// Variable references $(VAR_NAME) are expanded + /// using the previously defined environment variables in the container and + /// any service environment variables. If a variable cannot be resolved, + /// the reference in the input string will be unchanged. Double $$ are reduced + /// to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + /// "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + /// Escaped references will never be expanded, regardless of whether the variable + /// exists or not. + /// Defaults to "". #[serde(default, skip_serializing_if = "Option::is_none")] pub value: Option, /// Source for the environment variable's value. Cannot be used if value is not empty. @@ -490,10 +979,12 @@ pub struct DataplaneEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, - /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. + /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, - /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. + /// Selects a resource of the container: only resources limits and requests + /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceFieldRef")] pub resource_field_ref: Option, /// Selects a key of a secret in the pod's namespace @@ -506,7 +997,9 @@ pub struct DataplaneEnvValueFrom { pub struct DataplaneEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -514,7 +1007,8 @@ pub struct DataplaneEnvValueFromConfigMapKeyRef { pub optional: Option, } -/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. +/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +/// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -525,7 +1019,8 @@ pub struct DataplaneEnvValueFromFieldRef { pub field_path: String, } -/// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. +/// Selects a resource of the container: only resources limits and requests +/// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars @@ -543,7 +1038,9 @@ pub struct DataplaneEnvValueFromResourceFieldRef { pub struct DataplaneEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -568,7 +1065,9 @@ pub struct DataplaneEnvFrom { /// The ConfigMap to select from #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneEnvFromConfigMapRef { - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap must be defined @@ -579,7 +1078,9 @@ pub struct DataplaneEnvFromConfigMapRef { /// The Secret to select from #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneEnvFromSecretRef { - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret must be defined @@ -587,18 +1088,39 @@ pub struct DataplaneEnvFromSecretRef { pub optional: Option, } +/// LocalObjectReference contains enough information to let you locate the +/// referenced object inside the same namespace. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct DataplaneImagePullSecrets { + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, +} + /// Resources required by stunnerd. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneResources { - /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. - /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. - /// This field is immutable. It can only be set for containers. + /// Claims lists the names of resources, defined in spec.resourceClaims, + /// that are used by this container. + /// + /// + /// This is an alpha field and requires enabling the + /// DynamicResourceAllocation feature gate. + /// + /// + /// This field is immutable. It can only be set for containers. #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, - /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + /// Limits describes the maximum amount of compute resources allowed. + /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, - /// Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + /// Requests describes the minimum amount of compute resources required. + /// If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + /// otherwise to an implementation-defined value. Requests cannot exceed Limits. + /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] pub requests: Option>, } @@ -606,48 +1128,102 @@ pub struct DataplaneResources { /// ResourceClaim references one entry in PodSpec.ResourceClaims. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneResourcesClaims { - /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. + /// Name must match the name of one entry in pod.spec.resourceClaims of + /// the Pod where this field is used. It makes that resource available + /// inside a container. pub name: String, } /// SecurityContext holds pod-level security attributes and common container settings. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneSecurityContext { - /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: - /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- - /// If unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows. + /// A special supplemental group that applies to all containers in a pod. + /// Some volume types allow the Kubelet to change the ownership of that volume + /// to be owned by the pod: + /// + /// + /// 1. The owning GID will be the FSGroup + /// 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) + /// 3. The permission bits are OR'd with rw-rw---- + /// + /// + /// If unset, the Kubelet will not modify the ownership and permissions of any volume. + /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, - /// fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used. Note that this field cannot be set when spec.os.name is windows. + /// fsGroupChangePolicy defines behavior of changing ownership and permission of the volume + /// before being exposed inside Pod. This field will only apply to + /// volume types which support fsGroup based ownership(and permissions). + /// It will have no effect on ephemeral volume types such as: secret, configmaps + /// and emptydir. + /// Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used. + /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroupChangePolicy")] pub fs_group_change_policy: Option, - /// The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. + /// The GID to run the entrypoint of the container process. + /// Uses runtime default if unset. + /// May also be set in SecurityContext. If set in both SecurityContext and + /// PodSecurityContext, the value specified in SecurityContext takes precedence + /// for that container. + /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "runAsGroup")] pub run_as_group: Option, - /// Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + /// Indicates that the container must run as a non-root user. + /// If true, the Kubelet will validate the image at runtime to ensure that it + /// does not run as UID 0 (root) and fail to start the container if it does. + /// If unset or false, no such validation will be performed. + /// May also be set in SecurityContext. If set in both SecurityContext and + /// PodSecurityContext, the value specified in SecurityContext takes precedence. #[serde(default, skip_serializing_if = "Option::is_none", rename = "runAsNonRoot")] pub run_as_non_root: Option, - /// The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. + /// The UID to run the entrypoint of the container process. + /// Defaults to user specified in image metadata if unspecified. + /// May also be set in SecurityContext. If set in both SecurityContext and + /// PodSecurityContext, the value specified in SecurityContext takes precedence + /// for that container. + /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "runAsUser")] pub run_as_user: Option, - /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. + /// The SELinux context to be applied to all containers. + /// If unspecified, the container runtime will allocate a random SELinux context for each + /// container. May also be set in SecurityContext. If set in + /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext + /// takes precedence for that container. + /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "seLinuxOptions")] pub se_linux_options: Option, - /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. + /// The seccomp options to use by the containers in this pod. + /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "seccompProfile")] pub seccomp_profile: Option, - /// A list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. If unspecified, no additional groups are added to any container. Note that group memberships defined in the container image for the uid of the container process are still effective, even if they are not included in this list. Note that this field cannot be set when spec.os.name is windows. + /// A list of groups applied to the first process run in each container, in addition + /// to the container's primary GID, the fsGroup (if specified), and group memberships + /// defined in the container image for the uid of the container process. If unspecified, + /// no additional groups are added to any container. Note that group memberships + /// defined in the container image for the uid of the container process are still effective, + /// even if they are not included in this list. + /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "supplementalGroups")] pub supplemental_groups: Option>, - /// Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows. + /// Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported + /// sysctls (by the container runtime) might fail to launch. + /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none")] pub sysctls: Option>, - /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. + /// The Windows specific settings applied to all containers. + /// If unspecified, the options within a container's SecurityContext will be used. + /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + /// Note that this field cannot be set when spec.os.name is linux. #[serde(default, skip_serializing_if = "Option::is_none", rename = "windowsOptions")] pub windows_options: Option, } -/// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. +/// The SELinux context to be applied to all containers. +/// If unspecified, the container runtime will allocate a random SELinux context for each +/// container. May also be set in SecurityContext. If set in +/// both SecurityContext and PodSecurityContext, the value specified in SecurityContext +/// takes precedence for that container. +/// Note that this field cannot be set when spec.os.name is windows. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. @@ -664,14 +1240,23 @@ pub struct DataplaneSecurityContextSeLinuxOptions { pub user: Option, } -/// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. +/// The seccomp options to use by the containers in this pod. +/// Note that this field cannot be set when spec.os.name is windows. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneSecurityContextSeccompProfile { - /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. + /// localhostProfile indicates a profile defined in a file on the node should be used. + /// The profile must be preconfigured on the node to work. + /// Must be a descending path, relative to the kubelet's configured seccomp profile location. + /// Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, - /// type indicates which kind of seccomp profile will be applied. Valid options are: - /// Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied. + /// type indicates which kind of seccomp profile will be applied. + /// Valid options are: + /// + /// + /// Localhost - a profile defined in a file on the node should be used. + /// RuntimeDefault - the container runtime default profile should be used. + /// Unconfined - no profile should be applied. #[serde(rename = "type")] pub r#type: String, } @@ -685,40 +1270,213 @@ pub struct DataplaneSecurityContextSysctls { pub value: String, } -/// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. +/// The Windows specific settings applied to all containers. +/// If unspecified, the options within a container's SecurityContext will be used. +/// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. +/// Note that this field cannot be set when spec.os.name is linux. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneSecurityContextWindowsOptions { - /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. + /// GMSACredentialSpec is where the GMSA admission webhook + /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + /// GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, /// GMSACredentialSpecName is the name of the GMSA credential spec to use. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpecName")] pub gmsa_credential_spec_name: Option, - /// HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true. + /// HostProcess determines if a container should be run as a 'Host Process' container. + /// All of a Pod's containers must have the same effective HostProcess value + /// (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + /// In addition, if HostProcess is true then HostNetwork must also be set to true. #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostProcess")] pub host_process: Option, - /// The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + /// The UserName in Windows to run the entrypoint of the container process. + /// Defaults to the user specified in image metadata if unspecified. + /// May also be set in PodSecurityContext. If set in both SecurityContext and + /// PodSecurityContext, the value specified in SecurityContext takes precedence. #[serde(default, skip_serializing_if = "Option::is_none", rename = "runAsUserName")] pub run_as_user_name: Option, } -/// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . +/// The pod this Toleration is attached to tolerates any taint that matches +/// the triple using the matching operator . #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneTolerations { - /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. + /// Effect indicates the taint effect to match. Empty means match all taint effects. + /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, - /// Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. + /// Key is the taint key that the toleration applies to. Empty means match all taint keys. + /// If the key is empty, operator must be Exists; this combination means to match all values and all keys. #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, - /// Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category. + /// Operator represents a key's relationship to the value. + /// Valid operators are Exists and Equal. Defaults to Equal. + /// Exists is equivalent to wildcard for value, so that a pod can + /// tolerate all taints of a particular category. #[serde(default, skip_serializing_if = "Option::is_none")] pub operator: Option, - /// TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. + /// TolerationSeconds represents the period of time the toleration (which must be + /// of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, + /// it is not set, which means tolerate the taint forever (do not evict). Zero and + /// negative values will be treated as 0 (evict immediately) by the system. #[serde(default, skip_serializing_if = "Option::is_none", rename = "tolerationSeconds")] pub toleration_seconds: Option, - /// Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. + /// Value is the taint value the toleration matches to. + /// If the operator is Exists, the value should be empty, otherwise just a regular string. #[serde(default, skip_serializing_if = "Option::is_none")] pub value: Option, } +/// TopologySpreadConstraint specifies how to spread matching pods among the given topology. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct DataplaneTopologySpreadConstraints { + /// LabelSelector is used to find matching pods. + /// Pods that match this label selector are counted to determine the number of pods + /// in their corresponding topology domain. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] + pub label_selector: Option, + /// MatchLabelKeys is a set of pod label keys to select the pods over which + /// spreading will be calculated. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are ANDed with labelSelector + /// to select the group of existing pods over which spreading will be calculated + /// for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. + /// MatchLabelKeys cannot be set when LabelSelector isn't set. + /// Keys that don't exist in the incoming pod labels will + /// be ignored. A null or empty list means only match against labelSelector. + /// + /// + /// This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default). + #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] + pub match_label_keys: Option>, + /// MaxSkew describes the degree to which pods may be unevenly distributed. + /// When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference + /// between the number of matching pods in the target topology and the global minimum. + /// The global minimum is the minimum number of matching pods in an eligible domain + /// or zero if the number of eligible domains is less than MinDomains. + /// For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same + /// labelSelector spread as 2/2/1: + /// In this case, the global minimum is 1. + /// | zone1 | zone2 | zone3 | + /// | P P | P P | P | + /// - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; + /// scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) + /// violate MaxSkew(1). + /// - if MaxSkew is 2, incoming pod can be scheduled onto any zone. + /// When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence + /// to topologies that satisfy it. + /// It's a required field. Default value is 1 and 0 is not allowed. + #[serde(rename = "maxSkew")] + pub max_skew: i32, + /// MinDomains indicates a minimum number of eligible domains. + /// When the number of eligible domains with matching topology keys is less than minDomains, + /// Pod Topology Spread treats "global minimum" as 0, and then the calculation of Skew is performed. + /// And when the number of eligible domains with matching topology keys equals or greater than minDomains, + /// this value has no effect on scheduling. + /// As a result, when the number of eligible domains is less than minDomains, + /// scheduler won't schedule more than maxSkew Pods to those domains. + /// If value is nil, the constraint behaves as if MinDomains is equal to 1. + /// Valid values are integers greater than 0. + /// When value is not nil, WhenUnsatisfiable must be DoNotSchedule. + /// + /// + /// For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same + /// labelSelector spread as 2/2/2: + /// | zone1 | zone2 | zone3 | + /// | P P | P P | P P | + /// The number of domains is less than 5(MinDomains), so "global minimum" is treated as 0. + /// In this situation, new pod with the same labelSelector cannot be scheduled, + /// because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, + /// it will violate MaxSkew. + /// + /// + /// This is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default). + #[serde(default, skip_serializing_if = "Option::is_none", rename = "minDomains")] + pub min_domains: Option, + /// NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector + /// when calculating pod topology spread skew. Options are: + /// - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. + /// - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations. + /// + /// + /// If this value is nil, the behavior is equivalent to the Honor policy. + /// This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinityPolicy")] + pub node_affinity_policy: Option, + /// NodeTaintsPolicy indicates how we will treat node taints when calculating + /// pod topology spread skew. Options are: + /// - Honor: nodes without taints, along with tainted nodes for which the incoming pod + /// has a toleration, are included. + /// - Ignore: node taints are ignored. All nodes are included. + /// + /// + /// If this value is nil, the behavior is equivalent to the Ignore policy. + /// This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeTaintsPolicy")] + pub node_taints_policy: Option, + /// TopologyKey is the key of node labels. Nodes that have a label with this key + /// and identical values are considered to be in the same topology. + /// We consider each as a "bucket", and try to put balanced number + /// of pods into each bucket. + /// We define a domain as a particular instance of a topology. + /// Also, we define an eligible domain as a domain whose nodes meet the requirements of + /// nodeAffinityPolicy and nodeTaintsPolicy. + /// e.g. If TopologyKey is "kubernetes.io/hostname", each Node is a domain of that topology. + /// And, if TopologyKey is "topology.kubernetes.io/zone", each zone is a domain of that topology. + /// It's a required field. + #[serde(rename = "topologyKey")] + pub topology_key: String, + /// WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy + /// the spread constraint. + /// - DoNotSchedule (default) tells the scheduler not to schedule it. + /// - ScheduleAnyway tells the scheduler to schedule the pod in any location, + /// but giving higher precedence to topologies that would help reduce the + /// skew. + /// A constraint is considered "Unsatisfiable" for an incoming pod + /// if and only if every possible node assignment for that pod would violate + /// "MaxSkew" on some topology. + /// For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same + /// labelSelector spread as 3/1/1: + /// | zone1 | zone2 | zone3 | + /// | P P P | P | P | + /// If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled + /// to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies + /// MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler + /// won't make it *more* imbalanced. + /// It's a required field. + #[serde(rename = "whenUnsatisfiable")] + pub when_unsatisfiable: String, +} + +/// LabelSelector is used to find matching pods. +/// Pods that match this label selector are counted to determine the number of pods +/// in their corresponding topology domain. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct DataplaneTopologySpreadConstraintsLabelSelector { + /// matchExpressions is a list of label selector requirements. The requirements are ANDed. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] + pub match_expressions: Option>, + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] + pub match_labels: Option>, +} + +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct DataplaneTopologySpreadConstraintsLabelSelectorMatchExpressions { + /// key is the label key that the selector applies to. + pub key: String, + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. + pub operator: String, + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub values: Option>, +} + diff --git a/kube-custom-resources-rs/src/stunner_l7mp_io/v1/gatewayconfigs.rs b/kube-custom-resources-rs/src/stunner_l7mp_io/v1/gatewayconfigs.rs index 3c29d1b5f..6d03e4736 100644 --- a/kube-custom-resources-rs/src/stunner_l7mp_io/v1/gatewayconfigs.rs +++ b/kube-custom-resources-rs/src/stunner_l7mp_io/v1/gatewayconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/gatewayconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -21,17 +21,31 @@ pub struct GatewayConfigSpec { /// AuthLifetime defines the lifetime of "longterm" authentication credentials in seconds. #[serde(default, skip_serializing_if = "Option::is_none", rename = "authLifetime")] pub auth_lifetime: Option, - /// Note that externally set credentials override any inline auth credentials (AuthType, AuthUsername, etc.): if AuthRef is nonempty then it is expected that the referenced Secret exists and *all* authentication credentials are correctly set in the referenced Secret (username/password or shared secret). Mixing of credential sources (inline/external) is not supported. + /// Note that externally set credentials override any inline auth credentials (AuthType, + /// AuthUsername, etc.): if AuthRef is nonempty then it is expected that the referenced + /// Secret exists and *all* authentication credentials are correctly set in the referenced + /// Secret (username/password or shared secret). Mixing of credential sources + /// (inline/external) is not supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "authRef")] pub auth_ref: Option, /// AuthType is the type of the STUN/TURN authentication mechanism. #[serde(default, skip_serializing_if = "Option::is_none", rename = "authType")] pub auth_type: Option, - /// Dataplane defines the dataplane (stunnerd image, version, etc) for STUNner gateways using this GatewayConfig. + /// Dataplane defines the dataplane (stunnerd image, version, etc) for STUNner gateways + /// using this GatewayConfig. #[serde(default, skip_serializing_if = "Option::is_none")] pub dataplane: Option, - /// LoadBalancerServiceAnnotations is a list of annotations that will go into the LoadBalancer services created automatically by the operator to wrap Gateways. - /// NOTE: removing annotations from a GatewayConfig will not result in the removal of the corresponding annotations from the LoadBalancer service, in order to prevent the accidental removal of an annotation installed there by Kubernetes or the cloud provider. If you really want to remove an annotation, do this manually or simply remove all Gateways (which will remove the corresponding LoadBalancer services), update the GatewayConfig and then recreate the Gateways, so that the newly created LoadBalancer services will contain the required annotations. + /// LoadBalancerServiceAnnotations is a list of annotations that will go into the + /// LoadBalancer services created automatically by the operator to wrap Gateways. + /// + /// + /// NOTE: removing annotations from a GatewayConfig will not result in the removal of the + /// corresponding annotations from the LoadBalancer service, in order to prevent the + /// accidental removal of an annotation installed there by Kubernetes or the cloud + /// provider. If you really want to remove an annotation, do this manually or simply remove + /// all Gateways (which will remove the corresponding LoadBalancer services), update the + /// GatewayConfig and then recreate the Gateways, so that the newly created LoadBalancer + /// services will contain the required annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "loadBalancerServiceAnnotations")] pub load_balancer_service_annotations: Option>, /// LogLevel specifies the default loglevel for the STUNner daemon. @@ -40,8 +54,12 @@ pub struct GatewayConfigSpec { /// Password defines the `password` credential for "plaintext" authentication. #[serde(default, skip_serializing_if = "Option::is_none")] pub password: Option, - /// Realm defines the STUN/TURN authentication realm to be used for clients toauthenticate with STUNner. - /// The realm must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character. No other punctuation is allowed. + /// Realm defines the STUN/TURN authentication realm to be used for clients toauthenticate + /// with STUNner. + /// + /// + /// The realm must consist of lower case alphanumeric characters or '-', and must start and + /// end with an alphanumeric character. No other punctuation is allowed. #[serde(default, skip_serializing_if = "Option::is_none")] pub realm: Option, /// SharedSecret defines the shared secret to be used for "longterm" authentication. @@ -52,10 +70,15 @@ pub struct GatewayConfigSpec { pub user_name: Option, } -/// Note that externally set credentials override any inline auth credentials (AuthType, AuthUsername, etc.): if AuthRef is nonempty then it is expected that the referenced Secret exists and *all* authentication credentials are correctly set in the referenced Secret (username/password or shared secret). Mixing of credential sources (inline/external) is not supported. +/// Note that externally set credentials override any inline auth credentials (AuthType, +/// AuthUsername, etc.): if AuthRef is nonempty then it is expected that the referenced +/// Secret exists and *all* authentication credentials are correctly set in the referenced +/// Secret (username/password or shared secret). Mixing of credential sources +/// (inline/external) is not supported. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayConfigAuthRef { - /// Group is the group of the referent. For example, "gateway.networking.k8s.io". When unspecified or empty string, core API group is inferred. + /// Group is the group of the referent. For example, "gateway.networking.k8s.io". + /// When unspecified or empty string, core API group is inferred. #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, /// Kind is kind of the referent. For example "Secret". @@ -63,9 +86,17 @@ pub struct GatewayConfigAuthRef { pub kind: Option, /// Name is the name of the referent. pub name: String, - /// Namespace is the namespace of the referenced object. When unspecified, the local namespace is inferred. - /// Note that when a namespace different than the local namespace is specified, a ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. - /// Support: Core + /// Namespace is the namespace of the referenced object. When unspecified, the local + /// namespace is inferred. + /// + /// + /// Note that when a namespace different than the local namespace is specified, + /// a ReferenceGrant object is required in the referent namespace to allow that + /// namespace's owner to accept the reference. See the ReferenceGrant + /// documentation for details. + /// + /// + /// Support: Core #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, } diff --git a/kube-custom-resources-rs/src/stunner_l7mp_io/v1/staticservices.rs b/kube-custom-resources-rs/src/stunner_l7mp_io/v1/staticservices.rs index ec86fc77a..5ae18f037 100644 --- a/kube-custom-resources-rs/src/stunner_l7mp_io/v1/staticservices.rs +++ b/kube-custom-resources-rs/src/stunner_l7mp_io/v1/staticservices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/staticservices.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/stunner_l7mp_io/v1/udproutes.rs b/kube-custom-resources-rs/src/stunner_l7mp_io/v1/udproutes.rs index 57b1db854..9cedc44b6 100644 --- a/kube-custom-resources-rs/src/stunner_l7mp_io/v1/udproutes.rs +++ b/kube-custom-resources-rs/src/stunner_l7mp_io/v1/udproutes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/udproutes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -18,64 +18,233 @@ use self::prelude::*; #[kube(schema = "disabled")] #[kube(derive="PartialEq")] pub struct UDPRouteSpec { - /// ParentRefs references the resources (usually Gateways) that a Route wants to be attached to. Note that the referenced parent resource needs to allow this for the attachment to be complete. For Gateways, that means the Gateway needs to allow attachment from Routes of this kind and namespace. For Services, that means the Service must either be in the same namespace for a "producer" route, or the mesh implementation must support and allow "consumer" routes for the referenced Service. ReferenceGrant is not applicable for governing ParentRefs to Services - it is not possible to create a "producer" route for a Service in a different namespace from the Route. - /// There are two kinds of parent resources with "Core" support: - /// * Gateway (Gateway conformance profile) * Service (Mesh conformance profile, experimental, ClusterIP Services only) This API may be extended in the future to support additional kinds of parent resources. - /// ParentRefs must be _distinct_. This means either that: - /// * They select different objects. If this is the case, then parentRef entries are distinct. In terms of fields, this means that the multi-part key defined by `group`, `kind`, `namespace`, and `name` must be unique across all parentRef entries in the Route. * They do not select different objects, but for each optional field used, each ParentRef that selects the same object must set the same set of optional fields to different values. If one ParentRef sets a combination of optional fields, all must set the same combination. - /// Some examples: - /// * If one ParentRef sets `sectionName`, all ParentRefs referencing the same object must also set `sectionName`. * If one ParentRef sets `port`, all ParentRefs referencing the same object must also set `port`. * If one ParentRef sets `sectionName` and `port`, all ParentRefs referencing the same object must also set `sectionName` and `port`. - /// It is possible to separately reference multiple distinct objects that may be collapsed by an implementation. For example, some implementations may choose to merge compatible Gateway Listeners together. If that is the case, the list of routes attached to those resources should also be merged. - /// Note that for ParentRefs that cross namespace boundaries, there are specific rules. Cross-namespace references are only valid if they are explicitly allowed by something in the namespace they are referring to. For example, Gateway has the AllowedRoutes field, and ReferenceGrant provides a generic way to enable other kinds of cross-namespace reference. - /// ParentRefs from a Route to a Service in the same namespace are "producer" routes, which apply default routing rules to inbound connections from any namespace to the Service. - /// ParentRefs from a Route to a Service in a different namespace are "consumer" routes, and these routing rules are only applied to outbound connections originating from the same namespace as the Route, for which the intended destination of the connections are a Service targeted as a ParentRef of the Route. - /// + /// ParentRefs references the resources (usually Gateways) that a Route wants + /// to be attached to. Note that the referenced parent resource needs to + /// allow this for the attachment to be complete. For Gateways, that means + /// the Gateway needs to allow attachment from Routes of this kind and + /// namespace. For Services, that means the Service must either be in the same + /// namespace for a "producer" route, or the mesh implementation must support + /// and allow "consumer" routes for the referenced Service. ReferenceGrant is + /// not applicable for governing ParentRefs to Services - it is not possible to + /// create a "producer" route for a Service in a different namespace from the + /// Route. + /// + /// + /// There are two kinds of parent resources with "Core" support: + /// + /// + /// * Gateway (Gateway conformance profile) + /// + /// * Service (Mesh conformance profile, experimental, ClusterIP Services only) + /// + /// This API may be extended in the future to support additional kinds of parent + /// resources. + /// + /// + /// ParentRefs must be _distinct_. This means either that: + /// + /// + /// * They select different objects. If this is the case, then parentRef + /// entries are distinct. In terms of fields, this means that the + /// multi-part key defined by `group`, `kind`, `namespace`, and `name` must + /// be unique across all parentRef entries in the Route. + /// * They do not select different objects, but for each optional field used, + /// each ParentRef that selects the same object must set the same set of + /// optional fields to different values. If one ParentRef sets a + /// combination of optional fields, all must set the same combination. + /// + /// + /// Some examples: + /// + /// + /// * If one ParentRef sets `sectionName`, all ParentRefs referencing the + /// same object must also set `sectionName`. + /// * If one ParentRef sets `port`, all ParentRefs referencing the same + /// object must also set `port`. + /// * If one ParentRef sets `sectionName` and `port`, all ParentRefs + /// referencing the same object must also set `sectionName` and `port`. + /// + /// + /// It is possible to separately reference multiple distinct objects that may + /// be collapsed by an implementation. For example, some implementations may + /// choose to merge compatible Gateway Listeners together. If that is the + /// case, the list of routes attached to those resources should also be + /// merged. + /// + /// + /// Note that for ParentRefs that cross namespace boundaries, there are specific + /// rules. Cross-namespace references are only valid if they are explicitly + /// allowed by something in the namespace they are referring to. For example, + /// Gateway has the AllowedRoutes field, and ReferenceGrant provides a + /// generic way to enable other kinds of cross-namespace reference. + /// + /// + /// + /// ParentRefs from a Route to a Service in the same namespace are "producer" + /// routes, which apply default routing rules to inbound connections from + /// any namespace to the Service. + /// + /// + /// ParentRefs from a Route to a Service in a different namespace are + /// "consumer" routes, and these routing rules are only applied to outbound + /// connections originating from the same namespace as the Route, for which + /// the intended destination of the connections are a Service targeted as a + /// ParentRef of the Route. + /// + /// + /// + /// + /// + /// + /// #[serde(default, skip_serializing_if = "Option::is_none", rename = "parentRefs")] pub parent_refs: Option>, /// Rules are a list of UDP matchers and actions. pub rules: Vec, } -/// ParentReference identifies an API object (usually a Gateway) that can be considered a parent of this resource (usually a route). There are two kinds of parent resources with "Core" support: -/// * Gateway (Gateway conformance profile) * Service (Mesh conformance profile, experimental, ClusterIP Services only) -/// This API may be extended in the future to support additional kinds of parent resources. -/// The API object must be valid in the cluster; the Group and Kind must be registered in the cluster for this reference to be valid. +/// ParentReference identifies an API object (usually a Gateway) that can be considered +/// a parent of this resource (usually a route). There are two kinds of parent resources +/// with "Core" support: +/// +/// +/// * Gateway (Gateway conformance profile) +/// * Service (Mesh conformance profile, experimental, ClusterIP Services only) +/// +/// +/// This API may be extended in the future to support additional kinds of parent +/// resources. +/// +/// +/// The API object must be valid in the cluster; the Group and Kind must +/// be registered in the cluster for this reference to be valid. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct UDPRouteParentRefs { - /// Group is the group of the referent. When unspecified, "gateway.networking.k8s.io" is inferred. To set the core API group (such as for a "Service" kind referent), Group must be explicitly set to "" (empty string). - /// Support: Core + /// Group is the group of the referent. + /// When unspecified, "gateway.networking.k8s.io" is inferred. + /// To set the core API group (such as for a "Service" kind referent), + /// Group must be explicitly set to "" (empty string). + /// + /// + /// Support: Core #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, - /// Kind is kind of the referent. - /// There are two kinds of parent resources with "Core" support: - /// * Gateway (Gateway conformance profile) * Service (Mesh conformance profile, experimental, ClusterIP Services only) - /// Support for other resources is Implementation-Specific. + /// Kind is kind of the referent. + /// + /// + /// There are two kinds of parent resources with "Core" support: + /// + /// + /// * Gateway (Gateway conformance profile) + /// * Service (Mesh conformance profile, experimental, ClusterIP Services only) + /// + /// + /// Support for other resources is Implementation-Specific. #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, - /// Name is the name of the referent. - /// Support: Core + /// Name is the name of the referent. + /// + /// + /// Support: Core pub name: String, - /// Namespace is the namespace of the referent. When unspecified, this refers to the local namespace of the Route. - /// Note that there are specific rules for ParentRefs which cross namespace boundaries. Cross-namespace references are only valid if they are explicitly allowed by something in the namespace they are referring to. For example: Gateway has the AllowedRoutes field, and ReferenceGrant provides a generic way to enable any other kind of cross-namespace reference. - /// ParentRefs from a Route to a Service in the same namespace are "producer" routes, which apply default routing rules to inbound connections from any namespace to the Service. - /// ParentRefs from a Route to a Service in a different namespace are "consumer" routes, and these routing rules are only applied to outbound connections originating from the same namespace as the Route, for which the intended destination of the connections are a Service targeted as a ParentRef of the Route. - /// Support: Core + /// Namespace is the namespace of the referent. When unspecified, this refers + /// to the local namespace of the Route. + /// + /// + /// Note that there are specific rules for ParentRefs which cross namespace + /// boundaries. Cross-namespace references are only valid if they are explicitly + /// allowed by something in the namespace they are referring to. For example: + /// Gateway has the AllowedRoutes field, and ReferenceGrant provides a + /// generic way to enable any other kind of cross-namespace reference. + /// + /// + /// + /// ParentRefs from a Route to a Service in the same namespace are "producer" + /// routes, which apply default routing rules to inbound connections from + /// any namespace to the Service. + /// + /// + /// ParentRefs from a Route to a Service in a different namespace are + /// "consumer" routes, and these routing rules are only applied to outbound + /// connections originating from the same namespace as the Route, for which + /// the intended destination of the connections are a Service targeted as a + /// ParentRef of the Route. + /// + /// + /// + /// Support: Core #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Port is the network port this Route targets. It can be interpreted differently based on the type of parent resource. - /// When the parent resource is a Gateway, this targets all listeners listening on the specified port that also support this kind of Route(and select this Route). It's not recommended to set `Port` unless the networking behaviors specified in a Route must apply to a specific port as opposed to a listener(s) whose port(s) may be changed. When both Port and SectionName are specified, the name and port of the selected listener must match both specified values. - /// When the parent resource is a Service, this targets a specific port in the Service spec. When both Port (experimental) and SectionName are specified, the name and port of the selected port must match both specified values. - /// Implementations MAY choose to support other parent resources. Implementations supporting other types of parent resources MUST clearly document how/if Port is interpreted. - /// For the purpose of status, an attachment is considered successful as long as the parent resource accepts it partially. For example, Gateway listeners can restrict which Routes can attach to them by Route kind, namespace, or hostname. If 1 of 2 Gateway listeners accept attachment from the referencing Route, the Route MUST be considered successfully attached. If no Gateway listeners accept attachment from this Route, the Route MUST be considered detached from the Gateway. - /// Support: Extended - /// + /// Port is the network port this Route targets. It can be interpreted + /// differently based on the type of parent resource. + /// + /// + /// When the parent resource is a Gateway, this targets all listeners + /// listening on the specified port that also support this kind of Route(and + /// select this Route). It's not recommended to set `Port` unless the + /// networking behaviors specified in a Route must apply to a specific port + /// as opposed to a listener(s) whose port(s) may be changed. When both Port + /// and SectionName are specified, the name and port of the selected listener + /// must match both specified values. + /// + /// + /// + /// When the parent resource is a Service, this targets a specific port in the + /// Service spec. When both Port (experimental) and SectionName are specified, + /// the name and port of the selected port must match both specified values. + /// + /// + /// + /// Implementations MAY choose to support other parent resources. + /// Implementations supporting other types of parent resources MUST clearly + /// document how/if Port is interpreted. + /// + /// + /// For the purpose of status, an attachment is considered successful as + /// long as the parent resource accepts it partially. For example, Gateway + /// listeners can restrict which Routes can attach to them by Route kind, + /// namespace, or hostname. If 1 of 2 Gateway listeners accept attachment + /// from the referencing Route, the Route MUST be considered successfully + /// attached. If no Gateway listeners accept attachment from this Route, + /// the Route MUST be considered detached from the Gateway. + /// + /// + /// Support: Extended + /// + /// + /// #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, - /// SectionName is the name of a section within the target resource. In the following resources, SectionName is interpreted as the following: - /// * Gateway: Listener Name. When both Port (experimental) and SectionName are specified, the name and port of the selected listener must match both specified values. * Service: Port Name. When both Port (experimental) and SectionName are specified, the name and port of the selected listener must match both specified values. Note that attaching Routes to Services as Parents is part of experimental Mesh support and is not supported for any other purpose. - /// Implementations MAY choose to support attaching Routes to other resources. If that is the case, they MUST clearly document how SectionName is interpreted. - /// When unspecified (empty string), this will reference the entire resource. For the purpose of status, an attachment is considered successful if at least one section in the parent resource accepts it. For example, Gateway listeners can restrict which Routes can attach to them by Route kind, namespace, or hostname. If 1 of 2 Gateway listeners accept attachment from the referencing Route, the Route MUST be considered successfully attached. If no Gateway listeners accept attachment from this Route, the Route MUST be considered detached from the Gateway. - /// Support: Core + /// SectionName is the name of a section within the target resource. In the + /// following resources, SectionName is interpreted as the following: + /// + /// + /// * Gateway: Listener Name. When both Port (experimental) and SectionName + /// are specified, the name and port of the selected listener must match + /// both specified values. + /// * Service: Port Name. When both Port (experimental) and SectionName + /// are specified, the name and port of the selected listener must match + /// both specified values. Note that attaching Routes to Services as Parents + /// is part of experimental Mesh support and is not supported for any other + /// purpose. + /// + /// + /// Implementations MAY choose to support attaching Routes to other resources. + /// If that is the case, they MUST clearly document how SectionName is + /// interpreted. + /// + /// + /// When unspecified (empty string), this will reference the entire resource. + /// For the purpose of status, an attachment is considered successful if at + /// least one section in the parent resource accepts it. For example, Gateway + /// listeners can restrict which Routes can attach to them by Route kind, + /// namespace, or hostname. If 1 of 2 Gateway listeners accept attachment from + /// the referencing Route, the Route MUST be considered successfully + /// attached. If no Gateway listeners accept attachment from this Route, the + /// Route MUST be considered detached from the Gateway. + /// + /// + /// Support: Core #[serde(default, skip_serializing_if = "Option::is_none", rename = "sectionName")] pub section_name: Option, } @@ -83,7 +252,8 @@ pub struct UDPRouteParentRefs { /// UDPRouteRule is the configuration for a given rule. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct UDPRouteRules { - /// BackendRefs defines the backend(s) where matching requests should be sent. UDPRouteRules correctly handle port ranges. + /// BackendRefs defines the backend(s) where matching requests should be + /// sent. UDPRouteRules correctly handle port ranges. #[serde(default, skip_serializing_if = "Option::is_none", rename = "backendRefs")] pub backend_refs: Option>, } @@ -94,18 +264,24 @@ pub struct UDPRouteRulesBackendRefs { /// EndPort specifies the upper threshold of the port-range. Only considered of port is also specified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] pub end_port: Option, - /// Group is the group of the referent. For example, "gateway.networking.k8s.io". When unspecified or empty string, core API group is inferred. + /// Group is the group of the referent. For example, "gateway.networking.k8s.io". + /// When unspecified or empty string, core API group is inferred. #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, - /// Kind is the Kubernetes resource kind of the referent. For example "Service". + /// Kind is the Kubernetes resource kind of the referent. For example + /// "Service". #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, /// Name is the name of the referent. pub name: String, - /// Namespace is the namespace of the backend. When unspecified, the local namespace is inferred. + /// Namespace is the namespace of the backend. When unspecified, the local + /// namespace is inferred. #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Port specifies the destination port number to use for this resource. If port is not specified, all ports are allowed. If port is defined but endPort is not, allow only access to the given port. If both are specified, allows access in the port-range [port, endPort] inclusive. + /// Port specifies the destination port number to use for this resource. If port is not + /// specified, all ports are allowed. If port is defined but endPort is not, allow only + /// access to the given port. If both are specified, allows access in the port-range [port, + /// endPort] inclusive. #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, } @@ -113,70 +289,207 @@ pub struct UDPRouteRulesBackendRefs { /// Status defines the current state of UDPRoute. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct UDPRouteStatus { - /// Parents is a list of parent resources (usually Gateways) that are associated with the route, and the status of the route with respect to each parent. When this route attaches to a parent, the controller that manages the parent must add an entry to this list when the controller first sees the route and should update the entry as appropriate when the route or gateway is modified. - /// Note that parent references that cannot be resolved by an implementation of this API will not be added to this list. Implementations of this API can only populate Route status for the Gateways/parent resources they are responsible for. - /// A maximum of 32 Gateways will be represented in this list. An empty list means the route has not been attached to any Gateway. + /// Parents is a list of parent resources (usually Gateways) that are + /// associated with the route, and the status of the route with respect to + /// each parent. When this route attaches to a parent, the controller that + /// manages the parent must add an entry to this list when the controller + /// first sees the route and should update the entry as appropriate when the + /// route or gateway is modified. + /// + /// + /// Note that parent references that cannot be resolved by an implementation + /// of this API will not be added to this list. Implementations of this API + /// can only populate Route status for the Gateways/parent resources they are + /// responsible for. + /// + /// + /// A maximum of 32 Gateways will be represented in this list. An empty list + /// means the route has not been attached to any Gateway. pub parents: Vec, } -/// RouteParentStatus describes the status of a route with respect to an associated Parent. +/// RouteParentStatus describes the status of a route with respect to an +/// associated Parent. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct UDPRouteStatusParents { - /// Conditions describes the status of the route with respect to the Gateway. Note that the route's availability is also subject to the Gateway's own status conditions and listener status. - /// If the Route's ParentRef specifies an existing Gateway that supports Routes of this kind AND that Gateway's controller has sufficient access, then that Gateway's controller MUST set the "Accepted" condition on the Route, to indicate whether the route has been accepted or rejected by the Gateway, and why. - /// A Route MUST be considered "Accepted" if at least one of the Route's rules is implemented by the Gateway. - /// There are a number of cases where the "Accepted" condition may not be set due to lack of controller visibility, that includes when: - /// * The Route refers to a non-existent parent. * The Route is of a type that the controller does not support. * The Route is in a namespace the controller does not have access to. + /// Conditions describes the status of the route with respect to the Gateway. + /// Note that the route's availability is also subject to the Gateway's own + /// status conditions and listener status. + /// + /// + /// If the Route's ParentRef specifies an existing Gateway that supports + /// Routes of this kind AND that Gateway's controller has sufficient access, + /// then that Gateway's controller MUST set the "Accepted" condition on the + /// Route, to indicate whether the route has been accepted or rejected by the + /// Gateway, and why. + /// + /// + /// A Route MUST be considered "Accepted" if at least one of the Route's + /// rules is implemented by the Gateway. + /// + /// + /// There are a number of cases where the "Accepted" condition may not be set + /// due to lack of controller visibility, that includes when: + /// + /// + /// * The Route refers to a non-existent parent. + /// * The Route is of a type that the controller does not support. + /// * The Route is in a namespace the controller does not have access to. #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, - /// ControllerName is a domain/path string that indicates the name of the controller that wrote this status. This corresponds with the controllerName field on GatewayClass. - /// Example: "example.net/gateway-controller". - /// The format of this field is DOMAIN "/" PATH, where DOMAIN and PATH are valid Kubernetes names (https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names). - /// Controllers MUST populate this field when writing status. Controllers should ensure that entries to status populated with their ControllerName are cleaned up when they are no longer necessary. + /// ControllerName is a domain/path string that indicates the name of the + /// controller that wrote this status. This corresponds with the + /// controllerName field on GatewayClass. + /// + /// + /// Example: "example.net/gateway-controller". + /// + /// + /// The format of this field is DOMAIN "/" PATH, where DOMAIN and PATH are + /// valid Kubernetes names + /// (https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names). + /// + /// + /// Controllers MUST populate this field when writing status. Controllers should ensure that + /// entries to status populated with their ControllerName are cleaned up when they are no + /// longer necessary. #[serde(rename = "controllerName")] pub controller_name: String, - /// ParentRef corresponds with a ParentRef in the spec that this RouteParentStatus struct describes the status of. + /// ParentRef corresponds with a ParentRef in the spec that this + /// RouteParentStatus struct describes the status of. #[serde(rename = "parentRef")] pub parent_ref: UDPRouteStatusParentsParentRef, } -/// ParentRef corresponds with a ParentRef in the spec that this RouteParentStatus struct describes the status of. +/// ParentRef corresponds with a ParentRef in the spec that this +/// RouteParentStatus struct describes the status of. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct UDPRouteStatusParentsParentRef { - /// Group is the group of the referent. When unspecified, "gateway.networking.k8s.io" is inferred. To set the core API group (such as for a "Service" kind referent), Group must be explicitly set to "" (empty string). - /// Support: Core + /// Group is the group of the referent. + /// When unspecified, "gateway.networking.k8s.io" is inferred. + /// To set the core API group (such as for a "Service" kind referent), + /// Group must be explicitly set to "" (empty string). + /// + /// + /// Support: Core #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, - /// Kind is kind of the referent. - /// There are two kinds of parent resources with "Core" support: - /// * Gateway (Gateway conformance profile) * Service (Mesh conformance profile, experimental, ClusterIP Services only) - /// Support for other resources is Implementation-Specific. + /// Kind is kind of the referent. + /// + /// + /// There are two kinds of parent resources with "Core" support: + /// + /// + /// * Gateway (Gateway conformance profile) + /// * Service (Mesh conformance profile, experimental, ClusterIP Services only) + /// + /// + /// Support for other resources is Implementation-Specific. #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, - /// Name is the name of the referent. - /// Support: Core + /// Name is the name of the referent. + /// + /// + /// Support: Core pub name: String, - /// Namespace is the namespace of the referent. When unspecified, this refers to the local namespace of the Route. - /// Note that there are specific rules for ParentRefs which cross namespace boundaries. Cross-namespace references are only valid if they are explicitly allowed by something in the namespace they are referring to. For example: Gateway has the AllowedRoutes field, and ReferenceGrant provides a generic way to enable any other kind of cross-namespace reference. - /// ParentRefs from a Route to a Service in the same namespace are "producer" routes, which apply default routing rules to inbound connections from any namespace to the Service. - /// ParentRefs from a Route to a Service in a different namespace are "consumer" routes, and these routing rules are only applied to outbound connections originating from the same namespace as the Route, for which the intended destination of the connections are a Service targeted as a ParentRef of the Route. - /// Support: Core + /// Namespace is the namespace of the referent. When unspecified, this refers + /// to the local namespace of the Route. + /// + /// + /// Note that there are specific rules for ParentRefs which cross namespace + /// boundaries. Cross-namespace references are only valid if they are explicitly + /// allowed by something in the namespace they are referring to. For example: + /// Gateway has the AllowedRoutes field, and ReferenceGrant provides a + /// generic way to enable any other kind of cross-namespace reference. + /// + /// + /// + /// ParentRefs from a Route to a Service in the same namespace are "producer" + /// routes, which apply default routing rules to inbound connections from + /// any namespace to the Service. + /// + /// + /// ParentRefs from a Route to a Service in a different namespace are + /// "consumer" routes, and these routing rules are only applied to outbound + /// connections originating from the same namespace as the Route, for which + /// the intended destination of the connections are a Service targeted as a + /// ParentRef of the Route. + /// + /// + /// + /// Support: Core #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, - /// Port is the network port this Route targets. It can be interpreted differently based on the type of parent resource. - /// When the parent resource is a Gateway, this targets all listeners listening on the specified port that also support this kind of Route(and select this Route). It's not recommended to set `Port` unless the networking behaviors specified in a Route must apply to a specific port as opposed to a listener(s) whose port(s) may be changed. When both Port and SectionName are specified, the name and port of the selected listener must match both specified values. - /// When the parent resource is a Service, this targets a specific port in the Service spec. When both Port (experimental) and SectionName are specified, the name and port of the selected port must match both specified values. - /// Implementations MAY choose to support other parent resources. Implementations supporting other types of parent resources MUST clearly document how/if Port is interpreted. - /// For the purpose of status, an attachment is considered successful as long as the parent resource accepts it partially. For example, Gateway listeners can restrict which Routes can attach to them by Route kind, namespace, or hostname. If 1 of 2 Gateway listeners accept attachment from the referencing Route, the Route MUST be considered successfully attached. If no Gateway listeners accept attachment from this Route, the Route MUST be considered detached from the Gateway. - /// Support: Extended - /// + /// Port is the network port this Route targets. It can be interpreted + /// differently based on the type of parent resource. + /// + /// + /// When the parent resource is a Gateway, this targets all listeners + /// listening on the specified port that also support this kind of Route(and + /// select this Route). It's not recommended to set `Port` unless the + /// networking behaviors specified in a Route must apply to a specific port + /// as opposed to a listener(s) whose port(s) may be changed. When both Port + /// and SectionName are specified, the name and port of the selected listener + /// must match both specified values. + /// + /// + /// + /// When the parent resource is a Service, this targets a specific port in the + /// Service spec. When both Port (experimental) and SectionName are specified, + /// the name and port of the selected port must match both specified values. + /// + /// + /// + /// Implementations MAY choose to support other parent resources. + /// Implementations supporting other types of parent resources MUST clearly + /// document how/if Port is interpreted. + /// + /// + /// For the purpose of status, an attachment is considered successful as + /// long as the parent resource accepts it partially. For example, Gateway + /// listeners can restrict which Routes can attach to them by Route kind, + /// namespace, or hostname. If 1 of 2 Gateway listeners accept attachment + /// from the referencing Route, the Route MUST be considered successfully + /// attached. If no Gateway listeners accept attachment from this Route, + /// the Route MUST be considered detached from the Gateway. + /// + /// + /// Support: Extended + /// + /// + /// #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, - /// SectionName is the name of a section within the target resource. In the following resources, SectionName is interpreted as the following: - /// * Gateway: Listener Name. When both Port (experimental) and SectionName are specified, the name and port of the selected listener must match both specified values. * Service: Port Name. When both Port (experimental) and SectionName are specified, the name and port of the selected listener must match both specified values. Note that attaching Routes to Services as Parents is part of experimental Mesh support and is not supported for any other purpose. - /// Implementations MAY choose to support attaching Routes to other resources. If that is the case, they MUST clearly document how SectionName is interpreted. - /// When unspecified (empty string), this will reference the entire resource. For the purpose of status, an attachment is considered successful if at least one section in the parent resource accepts it. For example, Gateway listeners can restrict which Routes can attach to them by Route kind, namespace, or hostname. If 1 of 2 Gateway listeners accept attachment from the referencing Route, the Route MUST be considered successfully attached. If no Gateway listeners accept attachment from this Route, the Route MUST be considered detached from the Gateway. - /// Support: Core + /// SectionName is the name of a section within the target resource. In the + /// following resources, SectionName is interpreted as the following: + /// + /// + /// * Gateway: Listener Name. When both Port (experimental) and SectionName + /// are specified, the name and port of the selected listener must match + /// both specified values. + /// * Service: Port Name. When both Port (experimental) and SectionName + /// are specified, the name and port of the selected listener must match + /// both specified values. Note that attaching Routes to Services as Parents + /// is part of experimental Mesh support and is not supported for any other + /// purpose. + /// + /// + /// Implementations MAY choose to support attaching Routes to other resources. + /// If that is the case, they MUST clearly document how SectionName is + /// interpreted. + /// + /// + /// When unspecified (empty string), this will reference the entire resource. + /// For the purpose of status, an attachment is considered successful if at + /// least one section in the parent resource accepts it. For example, Gateway + /// listeners can restrict which Routes can attach to them by Route kind, + /// namespace, or hostname. If 1 of 2 Gateway listeners accept attachment from + /// the referencing Route, the Route MUST be considered successfully + /// attached. If no Gateway listeners accept attachment from this Route, the + /// Route MUST be considered detached from the Gateway. + /// + /// + /// Support: Core #[serde(default, skip_serializing_if = "Option::is_none", rename = "sectionName")] pub section_name: Option, } diff --git a/kube-custom-resources-rs/src/stunner_l7mp_io/v1alpha1/dataplanes.rs b/kube-custom-resources-rs/src/stunner_l7mp_io/v1alpha1/dataplanes.rs index 696e741cb..8be000b76 100644 --- a/kube-custom-resources-rs/src/stunner_l7mp_io/v1alpha1/dataplanes.rs +++ b/kube-custom-resources-rs/src/stunner_l7mp_io/v1alpha1/dataplanes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/l7mp/stunner/stunner.l7mp.io/v1alpha1/dataplanes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -33,7 +33,8 @@ pub struct DataplaneSpec { /// If specified, the health-check port. #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthCheckPort")] pub health_check_port: Option, - /// Host networking requested for the stunnerd pod to use the host's network namespace. Can be used to implement public TURN servers with Kubernetes. Defaults to false. + /// Host networking requested for the stunnerd pod to use the host's network namespace. + /// Can be used to implement public TURN servers with Kubernetes. Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostNetwork")] pub host_network: Option, /// Container image name. @@ -42,7 +43,8 @@ pub struct DataplaneSpec { /// Image pull policy. One of Always, Never, IfNotPresent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "imagePullPolicy")] pub image_pull_policy: Option, - /// Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. + /// Number of desired pods. This is a pointer to distinguish between explicit zero and not + /// specified. Defaults to 1. #[serde(default, skip_serializing_if = "Option::is_none")] pub replicas: Option, /// Resources required by stunnerd. @@ -76,15 +78,28 @@ pub struct DataplaneAffinity { /// Describes node affinity scheduling rules for the pod. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityNodeAffinity { - /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. + /// The scheduler will prefer to schedule pods to nodes that satisfy + /// the affinity expressions specified by this field, but it may choose + /// a node that violates one or more of the expressions. The node that is + /// most preferred is the one with the greatest sum of weights, i.e. + /// for each node that meets all of the scheduling requirements (resource + /// request, requiredDuringScheduling affinity expressions, etc.), + /// compute a sum by iterating through the elements of this field and adding + /// "weight" to the sum if the node matches the corresponding matchExpressions; the + /// node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, - /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. + /// If the affinity requirements specified by this field are not met at + /// scheduling time, the pod will not be scheduled onto the node. + /// If the affinity requirements specified by this field cease to be met + /// at some point during pod execution (e.g. due to an update), the system + /// may or may not try to eventually evict the pod from its node. #[serde(default, skip_serializing_if = "Option::is_none", rename = "requiredDuringSchedulingIgnoredDuringExecution")] pub required_during_scheduling_ignored_during_execution: Option, } -/// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). +/// An empty preferred scheduling term matches all objects with implicit weight 0 +/// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. @@ -104,31 +119,47 @@ pub struct DataplaneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringEx pub match_fields: Option>, } -/// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A node selector requirement is a selector that contains values, a key, and an operator +/// that relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, - /// Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + /// Represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. pub operator: String, - /// An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. + /// An array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. If the operator is Gt or Lt, the values + /// array must have a single element, which will be interpreted as an integer. + /// This array is replaced during a strategic merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A node selector requirement is a selector that contains values, a key, and an operator +/// that relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, - /// Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + /// Represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. pub operator: String, - /// An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. + /// An array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. If the operator is Gt or Lt, the values + /// array must have a single element, which will be interpreted as an integer. + /// This array is replaced during a strategic merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. +/// If the affinity requirements specified by this field are not met at +/// scheduling time, the pod will not be scheduled onto the node. +/// If the affinity requirements specified by this field cease to be met +/// at some point during pod execution (e.g. due to an update), the system +/// may or may not try to eventually evict the pod from its node. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. @@ -136,7 +167,9 @@ pub struct DataplaneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExe pub node_selector_terms: Vec, } -/// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. +/// A null or empty node selector term matches no objects. The requirements of +/// them are ANDed. +/// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. @@ -147,26 +180,38 @@ pub struct DataplaneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExe pub match_fields: Option>, } -/// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A node selector requirement is a selector that contains values, a key, and an operator +/// that relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, - /// Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + /// Represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. pub operator: String, - /// An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. + /// An array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. If the operator is Gt or Lt, the values + /// array must have a single element, which will be interpreted as an integer. + /// This array is replaced during a strategic merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A node selector requirement is a selector that contains values, a key, and an operator +/// that relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, - /// Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + /// Represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. pub operator: String, - /// An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. + /// An array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. If the operator is Gt or Lt, the values + /// array must have a single element, which will be interpreted as an integer. + /// This array is replaced during a strategic merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } @@ -174,10 +219,24 @@ pub struct DataplaneAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExe /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAffinity { - /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. + /// The scheduler will prefer to schedule pods to nodes that satisfy + /// the affinity expressions specified by this field, but it may choose + /// a node that violates one or more of the expressions. The node that is + /// most preferred is the one with the greatest sum of weights, i.e. + /// for each node that meets all of the scheduling requirements (resource + /// request, requiredDuringScheduling affinity expressions, etc.), + /// compute a sum by iterating through the elements of this field and adding + /// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + /// node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, - /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. + /// If the affinity requirements specified by this field are not met at + /// scheduling time, the pod will not be scheduled onto the node. + /// If the affinity requirements specified by this field cease to be met + /// at some point during pod execution (e.g. due to a pod label update), the + /// system may or may not try to eventually evict the pod from its node. + /// When there are multiple elements, the lists of nodes corresponding to each + /// podAffinityTerm are intersected, i.e. all terms must be satisfied. #[serde(default, skip_serializing_if = "Option::is_none", rename = "requiredDuringSchedulingIgnoredDuringExecution")] pub required_during_scheduling_ignored_during_execution: Option>, } @@ -188,7 +247,8 @@ pub struct DataplaneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExe /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: DataplaneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, - /// weight associated with matching the corresponding podAffinityTerm, in the range 1-100. + /// weight associated with matching the corresponding podAffinityTerm, + /// in the range 1-100. pub weight: i32, } @@ -196,124 +256,235 @@ pub struct DataplaneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExe #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. + /// If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, - /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. + /// MatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. + /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] + pub match_label_keys: Option>, + /// MismatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. + /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] + pub mismatch_label_keys: Option>, + /// A label query over the set of namespaces that the term applies to. + /// The term is applied to the union of the namespaces selected by this field + /// and the ones listed in the namespaces field. + /// null selector and null or empty namespaces list means "this pod's namespace". + /// An empty selector ({}) matches all namespaces. #[serde(default, skip_serializing_if = "Option::is_none", rename = "namespaceSelector")] pub namespace_selector: Option, - /// namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". + /// namespaces specifies a static list of namespace names that the term applies to. + /// The term is applied to the union of the namespaces listed in this field + /// and the ones selected by namespaceSelector. + /// null or empty namespaces list and null namespaceSelector means "this pod's namespace". #[serde(default, skip_serializing_if = "Option::is_none")] pub namespaces: Option>, - /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. + /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + /// the labelSelector in the specified namespaces, where co-located is defined as running on a node + /// whose value of the label with key topologyKey matches that of any node on which any of the + /// selected pods is running. + /// Empty topologyKey is not allowed. #[serde(rename = "topologyKey")] pub topology_key: String, } /// A label query over a set of resources, in this case pods. +/// If it's null, this PodAffinityTerm matches with no Pods. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. +/// A label query over the set of namespaces that the term applies to. +/// The term is applied to the union of the namespaces selected by this field +/// and the ones listed in the namespaces field. +/// null selector and null or empty namespaces list means "this pod's namespace". +/// An empty selector ({}) matches all namespaces. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running +/// Defines a set of pods (namely those matching the labelSelector +/// relative to the given namespace(s)) that this pod should be +/// co-located (affinity) or not co-located (anti-affinity) with, +/// where co-located is defined as running on a node whose value of +/// the label with key matches that of any node on which +/// a pod of the set of pods is running #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. + /// If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, - /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. + /// MatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. + /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] + pub match_label_keys: Option>, + /// MismatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. + /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] + pub mismatch_label_keys: Option>, + /// A label query over the set of namespaces that the term applies to. + /// The term is applied to the union of the namespaces selected by this field + /// and the ones listed in the namespaces field. + /// null selector and null or empty namespaces list means "this pod's namespace". + /// An empty selector ({}) matches all namespaces. #[serde(default, skip_serializing_if = "Option::is_none", rename = "namespaceSelector")] pub namespace_selector: Option, - /// namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". + /// namespaces specifies a static list of namespace names that the term applies to. + /// The term is applied to the union of the namespaces listed in this field + /// and the ones selected by namespaceSelector. + /// null or empty namespaces list and null namespaceSelector means "this pod's namespace". #[serde(default, skip_serializing_if = "Option::is_none")] pub namespaces: Option>, - /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. + /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + /// the labelSelector in the specified namespaces, where co-located is defined as running on a node + /// whose value of the label with key topologyKey matches that of any node on which any of the + /// selected pods is running. + /// Empty topologyKey is not allowed. #[serde(rename = "topologyKey")] pub topology_key: String, } /// A label query over a set of resources, in this case pods. +/// If it's null, this PodAffinityTerm matches with no Pods. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. +/// A label query over the set of namespaces that the term applies to. +/// The term is applied to the union of the namespaces selected by this field +/// and the ones listed in the namespaces field. +/// null selector and null or empty namespaces list means "this pod's namespace". +/// An empty selector ({}) matches all namespaces. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } @@ -321,10 +492,24 @@ pub struct DataplaneAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExec /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAntiAffinity { - /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. + /// The scheduler will prefer to schedule pods to nodes that satisfy + /// the anti-affinity expressions specified by this field, but it may choose + /// a node that violates one or more of the expressions. The node that is + /// most preferred is the one with the greatest sum of weights, i.e. + /// for each node that meets all of the scheduling requirements (resource + /// request, requiredDuringScheduling anti-affinity expressions, etc.), + /// compute a sum by iterating through the elements of this field and adding + /// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + /// node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, - /// If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. + /// If the anti-affinity requirements specified by this field are not met at + /// scheduling time, the pod will not be scheduled onto the node. + /// If the anti-affinity requirements specified by this field cease to be met + /// at some point during pod execution (e.g. due to a pod label update), the + /// system may or may not try to eventually evict the pod from its node. + /// When there are multiple elements, the lists of nodes corresponding to each + /// podAffinityTerm are intersected, i.e. all terms must be satisfied. #[serde(default, skip_serializing_if = "Option::is_none", rename = "requiredDuringSchedulingIgnoredDuringExecution")] pub required_during_scheduling_ignored_during_execution: Option>, } @@ -335,7 +520,8 @@ pub struct DataplaneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDurin /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: DataplaneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, - /// weight associated with matching the corresponding podAffinityTerm, in the range 1-100. + /// weight associated with matching the corresponding podAffinityTerm, + /// in the range 1-100. pub weight: i32, } @@ -343,124 +529,235 @@ pub struct DataplaneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDurin #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. + /// If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, - /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. + /// MatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. + /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] + pub match_label_keys: Option>, + /// MismatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. + /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] + pub mismatch_label_keys: Option>, + /// A label query over the set of namespaces that the term applies to. + /// The term is applied to the union of the namespaces selected by this field + /// and the ones listed in the namespaces field. + /// null selector and null or empty namespaces list means "this pod's namespace". + /// An empty selector ({}) matches all namespaces. #[serde(default, skip_serializing_if = "Option::is_none", rename = "namespaceSelector")] pub namespace_selector: Option, - /// namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". + /// namespaces specifies a static list of namespace names that the term applies to. + /// The term is applied to the union of the namespaces listed in this field + /// and the ones selected by namespaceSelector. + /// null or empty namespaces list and null namespaceSelector means "this pod's namespace". #[serde(default, skip_serializing_if = "Option::is_none")] pub namespaces: Option>, - /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. + /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + /// the labelSelector in the specified namespaces, where co-located is defined as running on a node + /// whose value of the label with key topologyKey matches that of any node on which any of the + /// selected pods is running. + /// Empty topologyKey is not allowed. #[serde(rename = "topologyKey")] pub topology_key: String, } /// A label query over a set of resources, in this case pods. +/// If it's null, this PodAffinityTerm matches with no Pods. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. +/// A label query over the set of namespaces that the term applies to. +/// The term is applied to the union of the namespaces selected by this field +/// and the ones listed in the namespaces field. +/// null selector and null or empty namespaces list means "this pod's namespace". +/// An empty selector ({}) matches all namespaces. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running +/// Defines a set of pods (namely those matching the labelSelector +/// relative to the given namespace(s)) that this pod should be +/// co-located (affinity) or not co-located (anti-affinity) with, +/// where co-located is defined as running on a node whose value of +/// the label with key matches that of any node on which +/// a pod of the set of pods is running #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. + /// If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, - /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. + /// MatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. + /// Also, MatchLabelKeys cannot be set when LabelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabelKeys")] + pub match_label_keys: Option>, + /// MismatchLabelKeys is a set of pod label keys to select which pods will + /// be taken into consideration. The keys are used to lookup values from the + /// incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` + /// to select the group of existing pods which pods will be taken into consideration + /// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + /// pod labels will be ignored. The default value is empty. + /// The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. + /// Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. + /// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "mismatchLabelKeys")] + pub mismatch_label_keys: Option>, + /// A label query over the set of namespaces that the term applies to. + /// The term is applied to the union of the namespaces selected by this field + /// and the ones listed in the namespaces field. + /// null selector and null or empty namespaces list means "this pod's namespace". + /// An empty selector ({}) matches all namespaces. #[serde(default, skip_serializing_if = "Option::is_none", rename = "namespaceSelector")] pub namespace_selector: Option, - /// namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". + /// namespaces specifies a static list of namespace names that the term applies to. + /// The term is applied to the union of the namespaces listed in this field + /// and the ones selected by namespaceSelector. + /// null or empty namespaces list and null namespaceSelector means "this pod's namespace". #[serde(default, skip_serializing_if = "Option::is_none")] pub namespaces: Option>, - /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. + /// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + /// the labelSelector in the specified namespaces, where co-located is defined as running on a node + /// whose value of the label with key topologyKey matches that of any node on which any of the + /// selected pods is running. + /// Empty topologyKey is not allowed. #[serde(rename = "topologyKey")] pub topology_key: String, } /// A label query over a set of resources, in this case pods. +/// If it's null, this PodAffinityTerm matches with no Pods. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } -/// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. +/// A label query over the set of namespaces that the term applies to. +/// The term is applied to the union of the namespaces selected by this field +/// and the ones listed in the namespaces field. +/// null selector and null or empty namespaces list means "this pod's namespace". +/// An empty selector ({}) matches all namespaces. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } @@ -470,7 +767,15 @@ pub struct DataplaneAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuring pub struct DataplaneEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, - /// Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "". + /// Variable references $(VAR_NAME) are expanded + /// using the previously defined environment variables in the container and + /// any service environment variables. If a variable cannot be resolved, + /// the reference in the input string will be unchanged. Double $$ are reduced + /// to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + /// "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + /// Escaped references will never be expanded, regardless of whether the variable + /// exists or not. + /// Defaults to "". #[serde(default, skip_serializing_if = "Option::is_none")] pub value: Option, /// Source for the environment variable's value. Cannot be used if value is not empty. @@ -484,10 +789,12 @@ pub struct DataplaneEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, - /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. + /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, - /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. + /// Selects a resource of the container: only resources limits and requests + /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceFieldRef")] pub resource_field_ref: Option, /// Selects a key of a secret in the pod's namespace @@ -500,7 +807,9 @@ pub struct DataplaneEnvValueFrom { pub struct DataplaneEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -508,7 +817,8 @@ pub struct DataplaneEnvValueFromConfigMapKeyRef { pub optional: Option, } -/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. +/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +/// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -519,7 +829,8 @@ pub struct DataplaneEnvValueFromFieldRef { pub field_path: String, } -/// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. +/// Selects a resource of the container: only resources limits and requests +/// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars @@ -537,7 +848,9 @@ pub struct DataplaneEnvValueFromResourceFieldRef { pub struct DataplaneEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -548,15 +861,25 @@ pub struct DataplaneEnvValueFromSecretKeyRef { /// Resources required by stunnerd. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneResources { - /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. - /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. - /// This field is immutable. It can only be set for containers. + /// Claims lists the names of resources, defined in spec.resourceClaims, + /// that are used by this container. + /// + /// + /// This is an alpha field and requires enabling the + /// DynamicResourceAllocation feature gate. + /// + /// + /// This field is immutable. It can only be set for containers. #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, - /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + /// Limits describes the maximum amount of compute resources allowed. + /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, - /// Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + /// Requests describes the minimum amount of compute resources required. + /// If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + /// otherwise to an implementation-defined value. Requests cannot exceed Limits. + /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] pub requests: Option>, } @@ -564,48 +887,102 @@ pub struct DataplaneResources { /// ResourceClaim references one entry in PodSpec.ResourceClaims. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneResourcesClaims { - /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. + /// Name must match the name of one entry in pod.spec.resourceClaims of + /// the Pod where this field is used. It makes that resource available + /// inside a container. pub name: String, } /// SecurityContext holds pod-level security attributes and common container settings. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneSecurityContext { - /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: - /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- - /// If unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows. + /// A special supplemental group that applies to all containers in a pod. + /// Some volume types allow the Kubelet to change the ownership of that volume + /// to be owned by the pod: + /// + /// + /// 1. The owning GID will be the FSGroup + /// 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) + /// 3. The permission bits are OR'd with rw-rw---- + /// + /// + /// If unset, the Kubelet will not modify the ownership and permissions of any volume. + /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, - /// fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used. Note that this field cannot be set when spec.os.name is windows. + /// fsGroupChangePolicy defines behavior of changing ownership and permission of the volume + /// before being exposed inside Pod. This field will only apply to + /// volume types which support fsGroup based ownership(and permissions). + /// It will have no effect on ephemeral volume types such as: secret, configmaps + /// and emptydir. + /// Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used. + /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroupChangePolicy")] pub fs_group_change_policy: Option, - /// The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. + /// The GID to run the entrypoint of the container process. + /// Uses runtime default if unset. + /// May also be set in SecurityContext. If set in both SecurityContext and + /// PodSecurityContext, the value specified in SecurityContext takes precedence + /// for that container. + /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "runAsGroup")] pub run_as_group: Option, - /// Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + /// Indicates that the container must run as a non-root user. + /// If true, the Kubelet will validate the image at runtime to ensure that it + /// does not run as UID 0 (root) and fail to start the container if it does. + /// If unset or false, no such validation will be performed. + /// May also be set in SecurityContext. If set in both SecurityContext and + /// PodSecurityContext, the value specified in SecurityContext takes precedence. #[serde(default, skip_serializing_if = "Option::is_none", rename = "runAsNonRoot")] pub run_as_non_root: Option, - /// The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. + /// The UID to run the entrypoint of the container process. + /// Defaults to user specified in image metadata if unspecified. + /// May also be set in SecurityContext. If set in both SecurityContext and + /// PodSecurityContext, the value specified in SecurityContext takes precedence + /// for that container. + /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "runAsUser")] pub run_as_user: Option, - /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. + /// The SELinux context to be applied to all containers. + /// If unspecified, the container runtime will allocate a random SELinux context for each + /// container. May also be set in SecurityContext. If set in + /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext + /// takes precedence for that container. + /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "seLinuxOptions")] pub se_linux_options: Option, - /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. + /// The seccomp options to use by the containers in this pod. + /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "seccompProfile")] pub seccomp_profile: Option, - /// A list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. If unspecified, no additional groups are added to any container. Note that group memberships defined in the container image for the uid of the container process are still effective, even if they are not included in this list. Note that this field cannot be set when spec.os.name is windows. + /// A list of groups applied to the first process run in each container, in addition + /// to the container's primary GID, the fsGroup (if specified), and group memberships + /// defined in the container image for the uid of the container process. If unspecified, + /// no additional groups are added to any container. Note that group memberships + /// defined in the container image for the uid of the container process are still effective, + /// even if they are not included in this list. + /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "supplementalGroups")] pub supplemental_groups: Option>, - /// Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows. + /// Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported + /// sysctls (by the container runtime) might fail to launch. + /// Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none")] pub sysctls: Option>, - /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. + /// The Windows specific settings applied to all containers. + /// If unspecified, the options within a container's SecurityContext will be used. + /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + /// Note that this field cannot be set when spec.os.name is linux. #[serde(default, skip_serializing_if = "Option::is_none", rename = "windowsOptions")] pub windows_options: Option, } -/// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. +/// The SELinux context to be applied to all containers. +/// If unspecified, the container runtime will allocate a random SELinux context for each +/// container. May also be set in SecurityContext. If set in +/// both SecurityContext and PodSecurityContext, the value specified in SecurityContext +/// takes precedence for that container. +/// Note that this field cannot be set when spec.os.name is windows. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. @@ -622,14 +999,23 @@ pub struct DataplaneSecurityContextSeLinuxOptions { pub user: Option, } -/// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. +/// The seccomp options to use by the containers in this pod. +/// Note that this field cannot be set when spec.os.name is windows. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneSecurityContextSeccompProfile { - /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. + /// localhostProfile indicates a profile defined in a file on the node should be used. + /// The profile must be preconfigured on the node to work. + /// Must be a descending path, relative to the kubelet's configured seccomp profile location. + /// Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, - /// type indicates which kind of seccomp profile will be applied. Valid options are: - /// Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied. + /// type indicates which kind of seccomp profile will be applied. + /// Valid options are: + /// + /// + /// Localhost - a profile defined in a file on the node should be used. + /// RuntimeDefault - the container runtime default profile should be used. + /// Unconfined - no profile should be applied. #[serde(rename = "type")] pub r#type: String, } @@ -643,39 +1029,60 @@ pub struct DataplaneSecurityContextSysctls { pub value: String, } -/// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. +/// The Windows specific settings applied to all containers. +/// If unspecified, the options within a container's SecurityContext will be used. +/// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. +/// Note that this field cannot be set when spec.os.name is linux. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneSecurityContextWindowsOptions { - /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. + /// GMSACredentialSpec is where the GMSA admission webhook + /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + /// GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, /// GMSACredentialSpecName is the name of the GMSA credential spec to use. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpecName")] pub gmsa_credential_spec_name: Option, - /// HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true. + /// HostProcess determines if a container should be run as a 'Host Process' container. + /// All of a Pod's containers must have the same effective HostProcess value + /// (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + /// In addition, if HostProcess is true then HostNetwork must also be set to true. #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostProcess")] pub host_process: Option, - /// The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + /// The UserName in Windows to run the entrypoint of the container process. + /// Defaults to the user specified in image metadata if unspecified. + /// May also be set in PodSecurityContext. If set in both SecurityContext and + /// PodSecurityContext, the value specified in SecurityContext takes precedence. #[serde(default, skip_serializing_if = "Option::is_none", rename = "runAsUserName")] pub run_as_user_name: Option, } -/// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . +/// The pod this Toleration is attached to tolerates any taint that matches +/// the triple using the matching operator . #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataplaneTolerations { - /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. + /// Effect indicates the taint effect to match. Empty means match all taint effects. + /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, - /// Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. + /// Key is the taint key that the toleration applies to. Empty means match all taint keys. + /// If the key is empty, operator must be Exists; this combination means to match all values and all keys. #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, - /// Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category. + /// Operator represents a key's relationship to the value. + /// Valid operators are Exists and Equal. Defaults to Equal. + /// Exists is equivalent to wildcard for value, so that a pod can + /// tolerate all taints of a particular category. #[serde(default, skip_serializing_if = "Option::is_none")] pub operator: Option, - /// TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. + /// TolerationSeconds represents the period of time the toleration (which must be + /// of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, + /// it is not set, which means tolerate the taint forever (do not evict). Zero and + /// negative values will be treated as 0 (evict immediately) by the system. #[serde(default, skip_serializing_if = "Option::is_none", rename = "tolerationSeconds")] pub toleration_seconds: Option, - /// Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. + /// Value is the taint value the toleration matches to. + /// If the operator is Exists, the value should be empty, otherwise just a regular string. #[serde(default, skip_serializing_if = "Option::is_none")] pub value: Option, } diff --git a/kube-custom-resources-rs/src/stunner_l7mp_io/v1alpha1/gatewayconfigs.rs b/kube-custom-resources-rs/src/stunner_l7mp_io/v1alpha1/gatewayconfigs.rs index ac3eb1852..251b8bd5a 100644 --- a/kube-custom-resources-rs/src/stunner_l7mp_io/v1alpha1/gatewayconfigs.rs +++ b/kube-custom-resources-rs/src/stunner_l7mp_io/v1alpha1/gatewayconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/l7mp/stunner/stunner.l7mp.io/v1alpha1/gatewayconfigs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -21,20 +21,38 @@ pub struct GatewayConfigSpec { /// AuthLifetime defines the lifetime of "longterm" authentication credentials in seconds. #[serde(default, skip_serializing_if = "Option::is_none", rename = "authLifetime")] pub auth_lifetime: Option, - /// Note that externally set credentials override any inline auth credentials (AuthType, AuthUsername, etc.): if AuthRef is nonempty then it is expected that the referenced Secret exists and *all* authentication credentials are correctly set in the referenced Secret (username/password or shared secret). Mixing of credential sources (inline/external) is not supported. + /// Note that externally set credentials override any inline auth credentials (AuthType, + /// AuthUsername, etc.): if AuthRef is nonempty then it is expected that the referenced + /// Secret exists and *all* authentication credentials are correctly set in the referenced + /// Secret (username/password or shared secret). Mixing of credential sources + /// (inline/external) is not supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "authRef")] pub auth_ref: Option, /// AuthType is the type of the STUN/TURN authentication mechanism. #[serde(default, skip_serializing_if = "Option::is_none", rename = "authType")] pub auth_type: Option, - /// Dataplane defines the TURN server to set up for the STUNner Gateways using this GatewayConfig. Can be used to select the stunnerd image repo and version or deploy into the host-network namespace. + /// Dataplane defines the TURN server to set up for the STUNner Gateways using this + /// GatewayConfig. Can be used to select the stunnerd image repo and version or deploy into + /// the host-network namespace. #[serde(default, skip_serializing_if = "Option::is_none")] pub dataplane: Option, - /// HealthCheckEndpoint is the URI of the form `http://address:port` exposed for external HTTP health-checking. A liveness probe responder will be exposed on path `/live` and readiness probe on path `/ready`. The scheme (`http://`) is mandatory, default is to enable health-checking at "http://0.0.0.0:8086". + /// HealthCheckEndpoint is the URI of the form `http://address:port` exposed for external + /// HTTP health-checking. A liveness probe responder will be exposed on path `/live` and + /// readiness probe on path `/ready`. The scheme (`http://`) is mandatory, default is to + /// enable health-checking at "http://0.0.0.0:8086". #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthCheckEndpoint")] pub health_check_endpoint: Option, - /// LoadBalancerServiceAnnotations is a list of annotations that will go into the LoadBalancer services created automatically by the operator to wrap Gateways. - /// NOTE: removing annotations from a GatewayConfig will not result in the removal of the corresponding annotations from the LoadBalancer service, in order to prevent the accidental removal of an annotation installed there by Kubernetes or the cloud provider. If you really want to remove an annotation, do this manually or simply remove all Gateways (which will remove the corresponding LoadBalancer services), update the GatewayConfig and then recreate the Gateways, so that the newly created LoadBalancer services will contain the required annotations. + /// LoadBalancerServiceAnnotations is a list of annotations that will go into the + /// LoadBalancer services created automatically by the operator to wrap Gateways. + /// + /// + /// NOTE: removing annotations from a GatewayConfig will not result in the removal of the + /// corresponding annotations from the LoadBalancer service, in order to prevent the + /// accidental removal of an annotation installed there by Kubernetes or the cloud + /// provider. If you really want to remove an annotation, do this manually or simply remove + /// all Gateways (which will remove the corresponding LoadBalancer services), update the + /// GatewayConfig and then recreate the Gateways, so that the newly created LoadBalancer + /// services will contain the required annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "loadBalancerServiceAnnotations")] pub load_balancer_service_annotations: Option>, /// LogLevel specifies the default loglevel for the STUNner daemon. @@ -43,7 +61,9 @@ pub struct GatewayConfigSpec { /// MaxRelayPort is the smallest relay port assigned for STUNner relay connections. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxPort")] pub max_port: Option, - /// MetricsEndpoint is the URI in the form `http://address:port/path` exposed for metric scraping (Prometheus). The scheme (`http://`) is mandatory. Default is to expose no metric endpoint. + /// MetricsEndpoint is the URI in the form `http://address:port/path` exposed for metric + /// scraping (Prometheus). The scheme (`http://`) is mandatory. Default is to expose no + /// metric endpoint. #[serde(default, skip_serializing_if = "Option::is_none", rename = "metricsEndpoint")] pub metrics_endpoint: Option, /// MinRelayPort is the smallest relay port assigned for STUNner relay connections. @@ -52,14 +72,19 @@ pub struct GatewayConfigSpec { /// Password defines the `password` credential for "plaintext" authentication. #[serde(default, skip_serializing_if = "Option::is_none")] pub password: Option, - /// Realm defines the STUN/TURN authentication realm to be used for clients toauthenticate with STUNner. - /// The realm must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character. No other punctuation is allowed. + /// Realm defines the STUN/TURN authentication realm to be used for clients toauthenticate + /// with STUNner. + /// + /// + /// The realm must consist of lower case alphanumeric characters or '-', and must start and + /// end with an alphanumeric character. No other punctuation is allowed. #[serde(default, skip_serializing_if = "Option::is_none")] pub realm: Option, /// SharedSecret defines the shared secret to be used for "longterm" authentication. #[serde(default, skip_serializing_if = "Option::is_none", rename = "sharedSecret")] pub shared_secret: Option, - /// StunnerConfig specifies the name of the ConfigMap into which the operator renders the stunnerd configfile. + /// StunnerConfig specifies the name of the ConfigMap into which the operator renders the + /// stunnerd configfile. #[serde(default, skip_serializing_if = "Option::is_none", rename = "stunnerConfig")] pub stunner_config: Option, /// Username defines the `username` credential for "plaintext" authentication. @@ -67,10 +92,15 @@ pub struct GatewayConfigSpec { pub user_name: Option, } -/// Note that externally set credentials override any inline auth credentials (AuthType, AuthUsername, etc.): if AuthRef is nonempty then it is expected that the referenced Secret exists and *all* authentication credentials are correctly set in the referenced Secret (username/password or shared secret). Mixing of credential sources (inline/external) is not supported. +/// Note that externally set credentials override any inline auth credentials (AuthType, +/// AuthUsername, etc.): if AuthRef is nonempty then it is expected that the referenced +/// Secret exists and *all* authentication credentials are correctly set in the referenced +/// Secret (username/password or shared secret). Mixing of credential sources +/// (inline/external) is not supported. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayConfigAuthRef { - /// Group is the group of the referent. For example, "gateway.networking.k8s.io". When unspecified or empty string, core API group is inferred. + /// Group is the group of the referent. For example, "gateway.networking.k8s.io". + /// When unspecified or empty string, core API group is inferred. #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, /// Kind is kind of the referent. For example "Secret". @@ -78,9 +108,17 @@ pub struct GatewayConfigAuthRef { pub kind: Option, /// Name is the name of the referent. pub name: String, - /// Namespace is the namespace of the referenced object. When unspecified, the local namespace is inferred. - /// Note that when a namespace different than the local namespace is specified, a ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. - /// Support: Core + /// Namespace is the namespace of the referenced object. When unspecified, the local + /// namespace is inferred. + /// + /// + /// Note that when a namespace different than the local namespace is specified, + /// a ReferenceGrant object is required in the referent namespace to allow that + /// namespace's owner to accept the reference. See the ReferenceGrant + /// documentation for details. + /// + /// + /// Support: Core #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, } diff --git a/kube-custom-resources-rs/src/stunner_l7mp_io/v1alpha1/staticservices.rs b/kube-custom-resources-rs/src/stunner_l7mp_io/v1alpha1/staticservices.rs index fc8f971fb..70be8efce 100644 --- a/kube-custom-resources-rs/src/stunner_l7mp_io/v1alpha1/staticservices.rs +++ b/kube-custom-resources-rs/src/stunner_l7mp_io/v1alpha1/staticservices.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/l7mp/stunner/stunner.l7mp.io/v1alpha1/staticservices.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -28,24 +28,58 @@ pub struct StaticServiceSpec { /// ServicePort contains information on service's port. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct StaticServicePorts { - /// The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either: - /// * Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). - /// * Kubernetes-defined prefixed names: * 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540 * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455 * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455 - /// * Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol. + /// The application protocol for this port. + /// This is used as a hint for implementations to offer richer behavior for protocols that they understand. + /// This field follows standard Kubernetes label syntax. + /// Valid values are either: + /// + /// + /// * Un-prefixed protocol names - reserved for IANA standard service names (as per + /// RFC-6335 and https://www.iana.org/assignments/service-names). + /// + /// + /// * Kubernetes-defined prefixed names: + /// * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior- + /// * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455 + /// * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455 + /// + /// + /// * Other protocols should use implementation-defined prefixed names such as + /// mycompany.com/my-custom-protocol. #[serde(default, skip_serializing_if = "Option::is_none", rename = "appProtocol")] pub app_protocol: Option, - /// The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service. + /// The name of this port within the service. This must be a DNS_LABEL. + /// All ports within a ServiceSpec must have unique names. When considering + /// the endpoints for a Service, this must match the 'name' field in the + /// EndpointPort. + /// Optional if only one ServicePort is defined on this service. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, - /// The port on each node on which this service is exposed when type is NodePort or LoadBalancer. Usually assigned by the system. If a value is specified, in-range, and not in use it will be used, otherwise the operation will fail. If not specified, a port will be allocated if this Service requires one. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type from NodePort to ClusterIP). More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport + /// The port on each node on which this service is exposed when type is + /// NodePort or LoadBalancer. Usually assigned by the system. If a value is + /// specified, in-range, and not in use it will be used, otherwise the + /// operation will fail. If not specified, a port will be allocated if this + /// Service requires one. If this field is specified when creating a + /// Service which does not need it, creation will fail. This field will be + /// wiped when updating a Service to no longer need it (e.g. changing type + /// from NodePort to ClusterIP). + /// More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodePort")] pub node_port: Option, /// The port that will be exposed by this service. pub port: i32, - /// The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". Default is TCP. + /// The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". + /// Default is TCP. #[serde(default, skip_serializing_if = "Option::is_none")] pub protocol: Option, - /// Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service + /// Number or name of the port to access on the pods targeted by the service. + /// Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. + /// If this is a string, it will be looked up as a named port in the + /// target Pod's container ports. If this is not specified, the value + /// of the 'port' field is used (an identity map). + /// This field is ignored for services with clusterIP=None, and should be + /// omitted or set equal to the 'port' field. + /// More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service #[serde(default, skip_serializing_if = "Option::is_none", rename = "targetPort")] pub target_port: Option, } diff --git a/kube-custom-resources-rs/src/submariner_io/v1alpha1/brokers.rs b/kube-custom-resources-rs/src/submariner_io/v1alpha1/brokers.rs index 0e59e49fd..5518a3a28 100644 --- a/kube-custom-resources-rs/src/submariner_io/v1alpha1/brokers.rs +++ b/kube-custom-resources-rs/src/submariner_io/v1alpha1/brokers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/submariner-io/submariner-operator/submariner.io/v1alpha1/brokers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/submariner_io/v1alpha1/servicediscoveries.rs b/kube-custom-resources-rs/src/submariner_io/v1alpha1/servicediscoveries.rs index 71071c0f0..5f879e48d 100644 --- a/kube-custom-resources-rs/src/submariner_io/v1alpha1/servicediscoveries.rs +++ b/kube-custom-resources-rs/src/submariner_io/v1alpha1/servicediscoveries.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/submariner-io/submariner-operator/submariner.io/v1alpha1/servicediscoveries.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/submariner_io/v1alpha1/submariners.rs b/kube-custom-resources-rs/src/submariner_io/v1alpha1/submariners.rs index 69a95aedb..3644804fc 100644 --- a/kube-custom-resources-rs/src/submariner_io/v1alpha1/submariners.rs +++ b/kube-custom-resources-rs/src/submariner_io/v1alpha1/submariners.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/submariner-io/submariner-operator/submariner.io/v1alpha1/submariners.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/telemetry_istio_io/v1/telemetries.rs b/kube-custom-resources-rs/src/telemetry_istio_io/v1/telemetries.rs index 64116b00b..cca5aef93 100644 --- a/kube-custom-resources-rs/src/telemetry_istio_io/v1/telemetries.rs +++ b/kube-custom-resources-rs/src/telemetry_istio_io/v1/telemetries.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/telemetry.istio.io/v1/telemetries.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/telemetry_istio_io/v1alpha1/telemetries.rs b/kube-custom-resources-rs/src/telemetry_istio_io/v1alpha1/telemetries.rs index 9e8794c1b..c8c5dbc87 100644 --- a/kube-custom-resources-rs/src/telemetry_istio_io/v1alpha1/telemetries.rs +++ b/kube-custom-resources-rs/src/telemetry_istio_io/v1alpha1/telemetries.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/istio/istio/telemetry.istio.io/v1alpha1/telemetries.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/templates_gatekeeper_sh/v1/constrainttemplates.rs b/kube-custom-resources-rs/src/templates_gatekeeper_sh/v1/constrainttemplates.rs index 478c36706..13d8218ba 100644 --- a/kube-custom-resources-rs/src/templates_gatekeeper_sh/v1/constrainttemplates.rs +++ b/kube-custom-resources-rs/src/templates_gatekeeper_sh/v1/constrainttemplates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/templates.gatekeeper.sh/v1/constrainttemplates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/templates_gatekeeper_sh/v1alpha1/constrainttemplates.rs b/kube-custom-resources-rs/src/templates_gatekeeper_sh/v1alpha1/constrainttemplates.rs index 2fe319054..ecd3ff36c 100644 --- a/kube-custom-resources-rs/src/templates_gatekeeper_sh/v1alpha1/constrainttemplates.rs +++ b/kube-custom-resources-rs/src/templates_gatekeeper_sh/v1alpha1/constrainttemplates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/templates.gatekeeper.sh/v1alpha1/constrainttemplates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/templates_gatekeeper_sh/v1beta1/constrainttemplates.rs b/kube-custom-resources-rs/src/templates_gatekeeper_sh/v1beta1/constrainttemplates.rs index 9eb11a23c..e138a26f9 100644 --- a/kube-custom-resources-rs/src/templates_gatekeeper_sh/v1beta1/constrainttemplates.rs +++ b/kube-custom-resources-rs/src/templates_gatekeeper_sh/v1beta1/constrainttemplates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/templates.gatekeeper.sh/v1beta1/constrainttemplates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tempo_grafana_com/v1alpha1/tempomonolithics.rs b/kube-custom-resources-rs/src/tempo_grafana_com/v1alpha1/tempomonolithics.rs index b5aa1fef1..1cfecd2f1 100644 --- a/kube-custom-resources-rs/src/tempo_grafana_com/v1alpha1/tempomonolithics.rs +++ b/kube-custom-resources-rs/src/tempo_grafana_com/v1alpha1/tempomonolithics.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/grafana/tempo-operator/tempo.grafana.com/v1alpha1/tempomonolithics.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -586,6 +586,9 @@ pub struct TempoMonolithicJaegerui { /// Route defines the OpenShift route configuration for the Jaeger UI. #[serde(default, skip_serializing_if = "Option::is_none")] pub route: Option, + /// ServicesQueryDuration defines how long the services will be available in the services list + #[serde(default, skip_serializing_if = "Option::is_none", rename = "servicesQueryDuration")] + pub services_query_duration: Option, } /// Authentication defines the options for the oauth proxy used to protect jaeger UI diff --git a/kube-custom-resources-rs/src/tempo_grafana_com/v1alpha1/tempostacks.rs b/kube-custom-resources-rs/src/tempo_grafana_com/v1alpha1/tempostacks.rs index 26caff7cb..4dfa7d4b0 100644 --- a/kube-custom-resources-rs/src/tempo_grafana_com/v1alpha1/tempostacks.rs +++ b/kube-custom-resources-rs/src/tempo_grafana_com/v1alpha1/tempostacks.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/grafana/tempo-operator/tempo.grafana.com/v1alpha1/tempostacks.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/temporal_io/v1beta1/temporalclusterclients.rs b/kube-custom-resources-rs/src/temporal_io/v1beta1/temporalclusterclients.rs index 3bf170d04..b1bb42b0a 100644 --- a/kube-custom-resources-rs/src/temporal_io/v1beta1/temporalclusterclients.rs +++ b/kube-custom-resources-rs/src/temporal_io/v1beta1/temporalclusterclients.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/alexandrevilain/temporal-operator/temporal.io/v1beta1/temporalclusterclients.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/temporal_io/v1beta1/temporalnamespaces.rs b/kube-custom-resources-rs/src/temporal_io/v1beta1/temporalnamespaces.rs index 6c6c4216f..e736e7945 100644 --- a/kube-custom-resources-rs/src/temporal_io/v1beta1/temporalnamespaces.rs +++ b/kube-custom-resources-rs/src/temporal_io/v1beta1/temporalnamespaces.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/alexandrevilain/temporal-operator/temporal.io/v1beta1/temporalnamespaces.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/temporal_io/v1beta1/temporalworkerprocesses.rs b/kube-custom-resources-rs/src/temporal_io/v1beta1/temporalworkerprocesses.rs index 58039270c..6e29b7e4e 100644 --- a/kube-custom-resources-rs/src/temporal_io/v1beta1/temporalworkerprocesses.rs +++ b/kube-custom-resources-rs/src/temporal_io/v1beta1/temporalworkerprocesses.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/alexandrevilain/temporal-operator/temporal.io/v1beta1/temporalworkerprocesses.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tests_testkube_io/v1/scripts.rs b/kube-custom-resources-rs/src/tests_testkube_io/v1/scripts.rs index 105a9e75f..b4986fb59 100644 --- a/kube-custom-resources-rs/src/tests_testkube_io/v1/scripts.rs +++ b/kube-custom-resources-rs/src/tests_testkube_io/v1/scripts.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/scripts.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tests_testkube_io/v1/testexecutions.rs b/kube-custom-resources-rs/src/tests_testkube_io/v1/testexecutions.rs index d45e8dda2..57aaf1b3f 100644 --- a/kube-custom-resources-rs/src/tests_testkube_io/v1/testexecutions.rs +++ b/kube-custom-resources-rs/src/tests_testkube_io/v1/testexecutions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testexecutions.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -28,7 +28,9 @@ pub struct TestExecutionSpec { /// test execution request body #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TestExecutionExecutionRequest { - /// Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer. + /// Optional duration in seconds the pod may be active on the node relative to + /// StartTime before the system will actively try to mark it failed and kill associated containers. + /// Value must be a positive integer. #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] pub active_deadline_seconds: Option, /// additional executor binary arguments @@ -52,7 +54,8 @@ pub struct TestExecutionExecutionRequest { /// secret references #[serde(default, skip_serializing_if = "Option::is_none", rename = "envSecrets")] pub env_secrets: Option>, - /// Environment variables passed to executor. Deprecated: use Basic Variables instead + /// Environment variables passed to executor. + /// Deprecated: use Basic Variables instead #[serde(default, skip_serializing_if = "Option::is_none")] pub envs: Option>, /// execute post run script before scraping (prebuilt executor only) @@ -105,7 +108,8 @@ pub struct TestExecutionExecutionRequest { /// scraper template extensions #[serde(default, skip_serializing_if = "Option::is_none", rename = "scraperTemplate")] pub scraper_template: Option, - /// Execution variables passed to executor from secrets. Deprecated: use Secret Variables instead + /// Execution variables passed to executor from secrets. + /// Deprecated: use Secret Variables instead #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretEnvs")] pub secret_envs: Option>, /// pod request body @@ -159,6 +163,9 @@ pub struct TestExecutionExecutionRequestArtifactRequest { /// whether to share volume between pods #[serde(default, skip_serializing_if = "Option::is_none", rename = "sharedBetweenPods")] pub shared_between_pods: Option, + /// run scraper as pod sidecar container + #[serde(default, skip_serializing_if = "Option::is_none", rename = "sidecarScraper")] + pub sidecar_scraper: Option, /// artifact bucket storage #[serde(default, skip_serializing_if = "Option::is_none", rename = "storageBucket")] pub storage_bucket: Option, @@ -185,14 +192,18 @@ pub struct TestExecutionExecutionRequestEnvConfigMaps { /// where we shoud mount resource #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, - /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. + /// LocalObjectReference contains enough information to let you locate the + /// referenced object inside the same namespace. pub reference: TestExecutionExecutionRequestEnvConfigMapsReference, } -/// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. +/// LocalObjectReference contains enough information to let you locate the +/// referenced object inside the same namespace. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TestExecutionExecutionRequestEnvConfigMapsReference { - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -209,22 +220,29 @@ pub struct TestExecutionExecutionRequestEnvSecrets { /// where we shoud mount resource #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, - /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. + /// LocalObjectReference contains enough information to let you locate the + /// referenced object inside the same namespace. pub reference: TestExecutionExecutionRequestEnvSecretsReference, } -/// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. +/// LocalObjectReference contains enough information to let you locate the +/// referenced object inside the same namespace. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TestExecutionExecutionRequestEnvSecretsReference { - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -/// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. +/// LocalObjectReference contains enough information to let you locate the +/// referenced object inside the same namespace. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TestExecutionExecutionRequestImagePullSecrets { - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -328,10 +346,12 @@ pub struct TestExecutionExecutionRequestVariablesValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, - /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. + /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, - /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. + /// Selects a resource of the container: only resources limits and requests + /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceFieldRef")] pub resource_field_ref: Option, /// Selects a key of a secret in the pod's namespace @@ -344,7 +364,9 @@ pub struct TestExecutionExecutionRequestVariablesValueFrom { pub struct TestExecutionExecutionRequestVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -352,7 +374,8 @@ pub struct TestExecutionExecutionRequestVariablesValueFromConfigMapKeyRef { pub optional: Option, } -/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. +/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +/// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TestExecutionExecutionRequestVariablesValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -363,7 +386,8 @@ pub struct TestExecutionExecutionRequestVariablesValueFromFieldRef { pub field_path: String, } -/// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. +/// Selects a resource of the container: only resources limits and requests +/// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TestExecutionExecutionRequestVariablesValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars @@ -381,7 +405,9 @@ pub struct TestExecutionExecutionRequestVariablesValueFromResourceFieldRef { pub struct TestExecutionExecutionRequestVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -404,12 +430,14 @@ pub struct TestExecutionStatus { /// test execution generation #[serde(default, skip_serializing_if = "Option::is_none")] pub generation: Option, - /// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file + /// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster + /// Important: Run "make" to regenerate code after modifying this file #[serde(default, skip_serializing_if = "Option::is_none", rename = "latestExecution")] pub latest_execution: Option, } -/// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file +/// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster +/// Important: Run "make" to regenerate code after modifying this file #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TestExecutionStatusLatestExecution { /// additional arguments/flags passed to executor binary @@ -442,7 +470,8 @@ pub struct TestExecutionStatusLatestExecution { /// test end time #[serde(default, skip_serializing_if = "Option::is_none", rename = "endTime")] pub end_time: Option, - /// Environment variables passed to executor. Deprecated: use Basic Variables instead + /// Environment variables passed to executor. + /// Deprecated: use Basic Variables instead #[serde(default, skip_serializing_if = "Option::is_none")] pub envs: Option>, /// execute post run script before scraping (prebuilt executor only) @@ -515,7 +544,8 @@ pub struct TestExecutionStatusLatestExecution { pub variables_file: Option, } -/// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file +/// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster +/// Important: Run "make" to regenerate code after modifying this file #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum TestExecutionStatusLatestExecutionArgsMode { #[serde(rename = "append")] @@ -541,6 +571,9 @@ pub struct TestExecutionStatusLatestExecutionArtifactRequest { /// whether to share volume between pods #[serde(default, skip_serializing_if = "Option::is_none", rename = "sharedBetweenPods")] pub shared_between_pods: Option, + /// run scraper as pod sidecar container + #[serde(default, skip_serializing_if = "Option::is_none", rename = "sidecarScraper")] + pub sidecar_scraper: Option, /// artifact bucket storage #[serde(default, skip_serializing_if = "Option::is_none", rename = "storageBucket")] pub storage_bucket: Option, @@ -815,10 +848,12 @@ pub struct TestExecutionStatusLatestExecutionVariablesValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, - /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. + /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, - /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. + /// Selects a resource of the container: only resources limits and requests + /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceFieldRef")] pub resource_field_ref: Option, /// Selects a key of a secret in the pod's namespace @@ -831,7 +866,9 @@ pub struct TestExecutionStatusLatestExecutionVariablesValueFrom { pub struct TestExecutionStatusLatestExecutionVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -839,7 +876,8 @@ pub struct TestExecutionStatusLatestExecutionVariablesValueFromConfigMapKeyRef { pub optional: Option, } -/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. +/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +/// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TestExecutionStatusLatestExecutionVariablesValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -850,7 +888,8 @@ pub struct TestExecutionStatusLatestExecutionVariablesValueFromFieldRef { pub field_path: String, } -/// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. +/// Selects a resource of the container: only resources limits and requests +/// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TestExecutionStatusLatestExecutionVariablesValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars @@ -868,7 +907,9 @@ pub struct TestExecutionStatusLatestExecutionVariablesValueFromResourceFieldRef pub struct TestExecutionStatusLatestExecutionVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined diff --git a/kube-custom-resources-rs/src/tests_testkube_io/v1/tests.rs b/kube-custom-resources-rs/src/tests_testkube_io/v1/tests.rs index 5401d4fdd..5ca6682f0 100644 --- a/kube-custom-resources-rs/src/tests_testkube_io/v1/tests.rs +++ b/kube-custom-resources-rs/src/tests_testkube_io/v1/tests.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/tests.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tests_testkube_io/v1/testsources.rs b/kube-custom-resources-rs/src/tests_testkube_io/v1/testsources.rs index 428ac79d5..fb507eff4 100644 --- a/kube-custom-resources-rs/src/tests_testkube_io/v1/testsources.rs +++ b/kube-custom-resources-rs/src/tests_testkube_io/v1/testsources.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsources.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tests_testkube_io/v1/testsuiteexecutions.rs b/kube-custom-resources-rs/src/tests_testkube_io/v1/testsuiteexecutions.rs index fc85a60ba..d64e99554 100644 --- a/kube-custom-resources-rs/src/tests_testkube_io/v1/testsuiteexecutions.rs +++ b/kube-custom-resources-rs/src/tests_testkube_io/v1/testsuiteexecutions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsuiteexecutions.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -155,10 +155,12 @@ pub struct TestSuiteExecutionExecutionRequestVariablesValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, - /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. + /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, - /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. + /// Selects a resource of the container: only resources limits and requests + /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceFieldRef")] pub resource_field_ref: Option, /// Selects a key of a secret in the pod's namespace @@ -171,7 +173,9 @@ pub struct TestSuiteExecutionExecutionRequestVariablesValueFrom { pub struct TestSuiteExecutionExecutionRequestVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -179,7 +183,8 @@ pub struct TestSuiteExecutionExecutionRequestVariablesValueFromConfigMapKeyRef { pub optional: Option, } -/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. +/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +/// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TestSuiteExecutionExecutionRequestVariablesValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -190,7 +195,8 @@ pub struct TestSuiteExecutionExecutionRequestVariablesValueFromFieldRef { pub field_path: String, } -/// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. +/// Selects a resource of the container: only resources limits and requests +/// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TestSuiteExecutionExecutionRequestVariablesValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars @@ -208,7 +214,9 @@ pub struct TestSuiteExecutionExecutionRequestVariablesValueFromResourceFieldRef pub struct TestSuiteExecutionExecutionRequestVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -231,12 +239,14 @@ pub struct TestSuiteExecutionStatus { /// test status execution generation #[serde(default, skip_serializing_if = "Option::is_none")] pub generation: Option, - /// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file + /// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster + /// Important: Run "make" to regenerate code after modifying this file #[serde(default, skip_serializing_if = "Option::is_none", rename = "latestExecution")] pub latest_execution: Option, } -/// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file +/// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster +/// Important: Run "make" to regenerate code after modifying this file #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecution { /// test duration @@ -248,7 +258,8 @@ pub struct TestSuiteExecutionStatusLatestExecution { /// test end time #[serde(default, skip_serializing_if = "Option::is_none", rename = "endTime")] pub end_time: Option, - /// Environment variables passed to executor. Deprecated: use Basic Variables instead + /// Environment variables passed to executor. + /// Deprecated: use Basic Variables instead #[serde(default, skip_serializing_if = "Option::is_none")] pub envs: Option>, /// batch steps execution results @@ -348,7 +359,8 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecu /// test end time #[serde(default, skip_serializing_if = "Option::is_none", rename = "endTime")] pub end_time: Option, - /// Environment variables passed to executor. Deprecated: use Basic Variables instead + /// Environment variables passed to executor. + /// Deprecated: use Basic Variables instead #[serde(default, skip_serializing_if = "Option::is_none")] pub envs: Option>, /// execute post run script before scraping (prebuilt executor only) @@ -450,6 +462,9 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecu /// whether to share volume between pods #[serde(default, skip_serializing_if = "Option::is_none", rename = "sharedBetweenPods")] pub shared_between_pods: Option, + /// run scraper as pod sidecar container + #[serde(default, skip_serializing_if = "Option::is_none", rename = "sidecarScraper")] + pub sidecar_scraper: Option, /// artifact bucket storage #[serde(default, skip_serializing_if = "Option::is_none", rename = "storageBucket")] pub storage_bucket: Option, @@ -724,10 +739,12 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecu /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, - /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. + /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, - /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. + /// Selects a resource of the container: only resources limits and requests + /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceFieldRef")] pub resource_field_ref: Option, /// Selects a key of a secret in the pod's namespace @@ -740,7 +757,9 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecu pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecutionVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -748,7 +767,8 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecu pub optional: Option, } -/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. +/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +/// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecutionVariablesValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -759,7 +779,8 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecu pub field_path: String, } -/// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. +/// Selects a resource of the container: only resources limits and requests +/// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecutionVariablesValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars @@ -777,7 +798,9 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecu pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecutionVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -853,7 +876,8 @@ pub enum TestSuiteExecutionStatusLatestExecutionRunningContextType { Testsuiteexecution, } -/// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file +/// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster +/// Important: Run "make" to regenerate code after modifying this file #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum TestSuiteExecutionStatusLatestExecutionStatus { #[serde(rename = "queued")] @@ -917,7 +941,8 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecution { /// test end time #[serde(default, skip_serializing_if = "Option::is_none", rename = "endTime")] pub end_time: Option, - /// Environment variables passed to executor. Deprecated: use Basic Variables instead + /// Environment variables passed to executor. + /// Deprecated: use Basic Variables instead #[serde(default, skip_serializing_if = "Option::is_none")] pub envs: Option>, /// execute post run script before scraping (prebuilt executor only) @@ -1019,6 +1044,9 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionArtifactRe /// whether to share volume between pods #[serde(default, skip_serializing_if = "Option::is_none", rename = "sharedBetweenPods")] pub shared_between_pods: Option, + /// run scraper as pod sidecar container + #[serde(default, skip_serializing_if = "Option::is_none", rename = "sidecarScraper")] + pub sidecar_scraper: Option, /// artifact bucket storage #[serde(default, skip_serializing_if = "Option::is_none", rename = "storageBucket")] pub storage_bucket: Option, @@ -1293,10 +1321,12 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionVariablesV /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, - /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. + /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, - /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. + /// Selects a resource of the container: only resources limits and requests + /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceFieldRef")] pub resource_field_ref: Option, /// Selects a key of a secret in the pod's namespace @@ -1309,7 +1339,9 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionVariablesV pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1317,7 +1349,8 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionVariablesV pub optional: Option, } -/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. +/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +/// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionVariablesValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -1328,7 +1361,8 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionVariablesV pub field_path: String, } -/// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. +/// Selects a resource of the container: only resources limits and requests +/// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionVariablesValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars @@ -1346,7 +1380,9 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionVariablesV pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -1419,10 +1455,12 @@ pub struct TestSuiteExecutionStatusLatestExecutionVariablesValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, - /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. + /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, - /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. + /// Selects a resource of the container: only resources limits and requests + /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceFieldRef")] pub resource_field_ref: Option, /// Selects a key of a secret in the pod's namespace @@ -1435,7 +1473,9 @@ pub struct TestSuiteExecutionStatusLatestExecutionVariablesValueFrom { pub struct TestSuiteExecutionStatusLatestExecutionVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -1443,7 +1483,8 @@ pub struct TestSuiteExecutionStatusLatestExecutionVariablesValueFromConfigMapKey pub optional: Option, } -/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. +/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +/// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionVariablesValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -1454,7 +1495,8 @@ pub struct TestSuiteExecutionStatusLatestExecutionVariablesValueFromFieldRef { pub field_path: String, } -/// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. +/// Selects a resource of the container: only resources limits and requests +/// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionVariablesValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars @@ -1472,7 +1514,9 @@ pub struct TestSuiteExecutionStatusLatestExecutionVariablesValueFromResourceFiel pub struct TestSuiteExecutionStatusLatestExecutionVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined diff --git a/kube-custom-resources-rs/src/tests_testkube_io/v1/testsuites.rs b/kube-custom-resources-rs/src/tests_testkube_io/v1/testsuites.rs index c7438e575..8befafb9d 100644 --- a/kube-custom-resources-rs/src/tests_testkube_io/v1/testsuites.rs +++ b/kube-custom-resources-rs/src/tests_testkube_io/v1/testsuites.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsuites.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -162,10 +162,12 @@ pub struct TestSuiteVariablesValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, - /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. + /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, - /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. + /// Selects a resource of the container: only resources limits and requests + /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceFieldRef")] pub resource_field_ref: Option, /// Selects a key of a secret in the pod's namespace @@ -178,7 +180,9 @@ pub struct TestSuiteVariablesValueFrom { pub struct TestSuiteVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -186,7 +190,8 @@ pub struct TestSuiteVariablesValueFromConfigMapKeyRef { pub optional: Option, } -/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. +/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +/// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteVariablesValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -197,7 +202,8 @@ pub struct TestSuiteVariablesValueFromFieldRef { pub field_path: String, } -/// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. +/// Selects a resource of the container: only resources limits and requests +/// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteVariablesValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars @@ -215,7 +221,9 @@ pub struct TestSuiteVariablesValueFromResourceFieldRef { pub struct TestSuiteVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined diff --git a/kube-custom-resources-rs/src/tests_testkube_io/v1/testtriggers.rs b/kube-custom-resources-rs/src/tests_testkube_io/v1/testtriggers.rs index 2d3b4fea7..51b5b84b9 100644 --- a/kube-custom-resources-rs/src/tests_testkube_io/v1/testtriggers.rs +++ b/kube-custom-resources-rs/src/tests_testkube_io/v1/testtriggers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testtriggers.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -245,19 +245,26 @@ pub struct TestTriggerResourceSelectorLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TestTriggerResourceSelectorLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } @@ -285,19 +292,26 @@ pub struct TestTriggerTestSelectorLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, - /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + /// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + /// map is equivalent to an element of matchExpressions, whose key field is "key", the + /// operator is "In", and the values array contains only "value". The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchLabels")] pub match_labels: Option>, } -/// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +/// A label selector requirement is a selector that contains values, a key, and an operator that +/// relates the key and values. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct TestTriggerTestSelectorLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, - /// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + /// operator represents a key's relationship to a set of values. + /// Valid operators are In, NotIn, Exists and DoesNotExist. pub operator: String, - /// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + /// values is an array of string values. If the operator is In or NotIn, + /// the values array must be non-empty. If the operator is Exists or DoesNotExist, + /// the values array must be empty. This array is replaced during a strategic + /// merge patch. #[serde(default, skip_serializing_if = "Option::is_none")] pub values: Option>, } diff --git a/kube-custom-resources-rs/src/tests_testkube_io/v2/scripts.rs b/kube-custom-resources-rs/src/tests_testkube_io/v2/scripts.rs index 932c56496..5a7d99bb8 100644 --- a/kube-custom-resources-rs/src/tests_testkube_io/v2/scripts.rs +++ b/kube-custom-resources-rs/src/tests_testkube_io/v2/scripts.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v2/scripts.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tests_testkube_io/v2/tests.rs b/kube-custom-resources-rs/src/tests_testkube_io/v2/tests.rs index be0189782..c4a0cdb08 100644 --- a/kube-custom-resources-rs/src/tests_testkube_io/v2/tests.rs +++ b/kube-custom-resources-rs/src/tests_testkube_io/v2/tests.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v2/tests.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -108,10 +108,12 @@ pub struct TestVariablesValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, - /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. + /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, - /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. + /// Selects a resource of the container: only resources limits and requests + /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceFieldRef")] pub resource_field_ref: Option, /// Selects a key of a secret in the pod's namespace @@ -124,7 +126,9 @@ pub struct TestVariablesValueFrom { pub struct TestVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -132,7 +136,8 @@ pub struct TestVariablesValueFromConfigMapKeyRef { pub optional: Option, } -/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. +/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +/// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestVariablesValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -143,7 +148,8 @@ pub struct TestVariablesValueFromFieldRef { pub field_path: String, } -/// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. +/// Selects a resource of the container: only resources limits and requests +/// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestVariablesValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars @@ -161,7 +167,9 @@ pub struct TestVariablesValueFromResourceFieldRef { pub struct TestVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined diff --git a/kube-custom-resources-rs/src/tests_testkube_io/v2/testsuites.rs b/kube-custom-resources-rs/src/tests_testkube_io/v2/testsuites.rs index f2c70af12..72e9bdd63 100644 --- a/kube-custom-resources-rs/src/tests_testkube_io/v2/testsuites.rs +++ b/kube-custom-resources-rs/src/tests_testkube_io/v2/testsuites.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v2/testsuites.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -184,10 +184,12 @@ pub struct TestSuiteExecutionRequestVariablesValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, - /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. + /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, - /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. + /// Selects a resource of the container: only resources limits and requests + /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceFieldRef")] pub resource_field_ref: Option, /// Selects a key of a secret in the pod's namespace @@ -200,7 +202,9 @@ pub struct TestSuiteExecutionRequestVariablesValueFrom { pub struct TestSuiteExecutionRequestVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -208,7 +212,8 @@ pub struct TestSuiteExecutionRequestVariablesValueFromConfigMapKeyRef { pub optional: Option, } -/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. +/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +/// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionRequestVariablesValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -219,7 +224,8 @@ pub struct TestSuiteExecutionRequestVariablesValueFromFieldRef { pub field_path: String, } -/// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. +/// Selects a resource of the container: only resources limits and requests +/// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionRequestVariablesValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars @@ -237,7 +243,9 @@ pub struct TestSuiteExecutionRequestVariablesValueFromResourceFieldRef { pub struct TestSuiteExecutionRequestVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined diff --git a/kube-custom-resources-rs/src/tests_testkube_io/v3/tests.rs b/kube-custom-resources-rs/src/tests_testkube_io/v3/tests.rs index 1c2497a00..958c3d7d8 100644 --- a/kube-custom-resources-rs/src/tests_testkube_io/v3/tests.rs +++ b/kube-custom-resources-rs/src/tests_testkube_io/v3/tests.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v3/tests.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -143,7 +143,9 @@ pub enum TestContentType { /// test execution request body #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionRequest { - /// Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer. + /// Optional duration in seconds the pod may be active on the node relative to + /// StartTime before the system will actively try to mark it failed and kill associated containers. + /// Value must be a positive integer. #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] pub active_deadline_seconds: Option, /// additional executor binary arguments @@ -170,7 +172,8 @@ pub struct TestExecutionRequest { /// secret references #[serde(default, skip_serializing_if = "Option::is_none", rename = "envSecrets")] pub env_secrets: Option>, - /// Environment variables passed to executor. Deprecated: use Basic Variables instead + /// Environment variables passed to executor. + /// Deprecated: use Basic Variables instead #[serde(default, skip_serializing_if = "Option::is_none")] pub envs: Option>, /// execute post run script before scraping (prebuilt executor only) @@ -232,7 +235,8 @@ pub struct TestExecutionRequest { /// name of the template resource #[serde(default, skip_serializing_if = "Option::is_none", rename = "scraperTemplateReference")] pub scraper_template_reference: Option, - /// Execution variables passed to executor from secrets. Deprecated: use Secret Variables instead + /// Execution variables passed to executor from secrets. + /// Deprecated: use Secret Variables instead #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretEnvs")] pub secret_envs: Option>, /// pod request body @@ -286,6 +290,9 @@ pub struct TestExecutionRequestArtifactRequest { /// whether to share volume between pods #[serde(default, skip_serializing_if = "Option::is_none", rename = "sharedBetweenPods")] pub shared_between_pods: Option, + /// run scraper as pod sidecar container + #[serde(default, skip_serializing_if = "Option::is_none", rename = "sidecarScraper")] + pub sidecar_scraper: Option, /// artifact bucket storage #[serde(default, skip_serializing_if = "Option::is_none", rename = "storageBucket")] pub storage_bucket: Option, @@ -312,14 +319,18 @@ pub struct TestExecutionRequestEnvConfigMaps { /// where we shoud mount resource #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, - /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. + /// LocalObjectReference contains enough information to let you locate the + /// referenced object inside the same namespace. pub reference: TestExecutionRequestEnvConfigMapsReference, } -/// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. +/// LocalObjectReference contains enough information to let you locate the +/// referenced object inside the same namespace. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionRequestEnvConfigMapsReference { - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -336,22 +347,29 @@ pub struct TestExecutionRequestEnvSecrets { /// where we shoud mount resource #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, - /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. + /// LocalObjectReference contains enough information to let you locate the + /// referenced object inside the same namespace. pub reference: TestExecutionRequestEnvSecretsReference, } -/// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. +/// LocalObjectReference contains enough information to let you locate the +/// referenced object inside the same namespace. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionRequestEnvSecretsReference { - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -/// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. +/// LocalObjectReference contains enough information to let you locate the +/// referenced object inside the same namespace. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionRequestImagePullSecrets { - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } @@ -425,10 +443,12 @@ pub struct TestExecutionRequestVariablesValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, - /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. + /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, - /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. + /// Selects a resource of the container: only resources limits and requests + /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceFieldRef")] pub resource_field_ref: Option, /// Selects a key of a secret in the pod's namespace @@ -441,7 +461,9 @@ pub struct TestExecutionRequestVariablesValueFrom { pub struct TestExecutionRequestVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -449,7 +471,8 @@ pub struct TestExecutionRequestVariablesValueFromConfigMapKeyRef { pub optional: Option, } -/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. +/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +/// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionRequestVariablesValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -460,7 +483,8 @@ pub struct TestExecutionRequestVariablesValueFromFieldRef { pub field_path: String, } -/// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. +/// Selects a resource of the container: only resources limits and requests +/// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionRequestVariablesValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars @@ -478,7 +502,9 @@ pub struct TestExecutionRequestVariablesValueFromResourceFieldRef { pub struct TestExecutionRequestVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined diff --git a/kube-custom-resources-rs/src/tests_testkube_io/v3/testsuites.rs b/kube-custom-resources-rs/src/tests_testkube_io/v3/testsuites.rs index a70d843b6..ca87dc2c8 100644 --- a/kube-custom-resources-rs/src/tests_testkube_io/v3/testsuites.rs +++ b/kube-custom-resources-rs/src/tests_testkube_io/v3/testsuites.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v3/testsuites.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -72,7 +72,10 @@ pub struct TestSuiteAfterExecute { /// delay duration in time units #[serde(default, skip_serializing_if = "Option::is_none")] pub delay: Option, - /// TestSuiteStepExecutionRequest contains parameters to be used by the executions. These fields will be passed to the execution when a Test Suite is queued for execution. TestSuiteStepExecutionRequest parameters have the highest priority. They override the values coming from Test Suites, Tests, and Test Executions. + /// TestSuiteStepExecutionRequest contains parameters to be used by the executions. + /// These fields will be passed to the execution when a Test Suite is queued for execution. + /// TestSuiteStepExecutionRequest parameters have the highest priority. They override the + /// values coming from Test Suites, Tests, and Test Executions. #[serde(default, skip_serializing_if = "Option::is_none", rename = "executionRequest")] pub execution_request: Option, /// object name @@ -80,7 +83,10 @@ pub struct TestSuiteAfterExecute { pub test: Option, } -/// TestSuiteStepExecutionRequest contains parameters to be used by the executions. These fields will be passed to the execution when a Test Suite is queued for execution. TestSuiteStepExecutionRequest parameters have the highest priority. They override the values coming from Test Suites, Tests, and Test Executions. +/// TestSuiteStepExecutionRequest contains parameters to be used by the executions. +/// These fields will be passed to the execution when a Test Suite is queued for execution. +/// TestSuiteStepExecutionRequest parameters have the highest priority. They override the +/// values coming from Test Suites, Tests, and Test Executions. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteAfterExecuteExecutionRequest { /// additional executor binary arguments @@ -138,7 +144,10 @@ pub struct TestSuiteAfterExecuteExecutionRequest { pub variables: Option>, } -/// TestSuiteStepExecutionRequest contains parameters to be used by the executions. These fields will be passed to the execution when a Test Suite is queued for execution. TestSuiteStepExecutionRequest parameters have the highest priority. They override the values coming from Test Suites, Tests, and Test Executions. +/// TestSuiteStepExecutionRequest contains parameters to be used by the executions. +/// These fields will be passed to the execution when a Test Suite is queued for execution. +/// TestSuiteStepExecutionRequest parameters have the highest priority. They override the +/// values coming from Test Suites, Tests, and Test Executions. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum TestSuiteAfterExecuteExecutionRequestArgsMode { #[serde(rename = "append")] @@ -182,10 +191,12 @@ pub struct TestSuiteAfterExecuteExecutionRequestVariablesValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, - /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. + /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, - /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. + /// Selects a resource of the container: only resources limits and requests + /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceFieldRef")] pub resource_field_ref: Option, /// Selects a key of a secret in the pod's namespace @@ -198,7 +209,9 @@ pub struct TestSuiteAfterExecuteExecutionRequestVariablesValueFrom { pub struct TestSuiteAfterExecuteExecutionRequestVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -206,7 +219,8 @@ pub struct TestSuiteAfterExecuteExecutionRequestVariablesValueFromConfigMapKeyRe pub optional: Option, } -/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. +/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +/// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteAfterExecuteExecutionRequestVariablesValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -217,7 +231,8 @@ pub struct TestSuiteAfterExecuteExecutionRequestVariablesValueFromFieldRef { pub field_path: String, } -/// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. +/// Selects a resource of the container: only resources limits and requests +/// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteAfterExecuteExecutionRequestVariablesValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars @@ -235,7 +250,9 @@ pub struct TestSuiteAfterExecuteExecutionRequestVariablesValueFromResourceFieldR pub struct TestSuiteAfterExecuteExecutionRequestVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -274,7 +291,10 @@ pub struct TestSuiteBeforeExecute { /// delay duration in time units #[serde(default, skip_serializing_if = "Option::is_none")] pub delay: Option, - /// TestSuiteStepExecutionRequest contains parameters to be used by the executions. These fields will be passed to the execution when a Test Suite is queued for execution. TestSuiteStepExecutionRequest parameters have the highest priority. They override the values coming from Test Suites, Tests, and Test Executions. + /// TestSuiteStepExecutionRequest contains parameters to be used by the executions. + /// These fields will be passed to the execution when a Test Suite is queued for execution. + /// TestSuiteStepExecutionRequest parameters have the highest priority. They override the + /// values coming from Test Suites, Tests, and Test Executions. #[serde(default, skip_serializing_if = "Option::is_none", rename = "executionRequest")] pub execution_request: Option, /// object name @@ -282,7 +302,10 @@ pub struct TestSuiteBeforeExecute { pub test: Option, } -/// TestSuiteStepExecutionRequest contains parameters to be used by the executions. These fields will be passed to the execution when a Test Suite is queued for execution. TestSuiteStepExecutionRequest parameters have the highest priority. They override the values coming from Test Suites, Tests, and Test Executions. +/// TestSuiteStepExecutionRequest contains parameters to be used by the executions. +/// These fields will be passed to the execution when a Test Suite is queued for execution. +/// TestSuiteStepExecutionRequest parameters have the highest priority. They override the +/// values coming from Test Suites, Tests, and Test Executions. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteBeforeExecuteExecutionRequest { /// additional executor binary arguments @@ -340,7 +363,10 @@ pub struct TestSuiteBeforeExecuteExecutionRequest { pub variables: Option>, } -/// TestSuiteStepExecutionRequest contains parameters to be used by the executions. These fields will be passed to the execution when a Test Suite is queued for execution. TestSuiteStepExecutionRequest parameters have the highest priority. They override the values coming from Test Suites, Tests, and Test Executions. +/// TestSuiteStepExecutionRequest contains parameters to be used by the executions. +/// These fields will be passed to the execution when a Test Suite is queued for execution. +/// TestSuiteStepExecutionRequest parameters have the highest priority. They override the +/// values coming from Test Suites, Tests, and Test Executions. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum TestSuiteBeforeExecuteExecutionRequestArgsMode { #[serde(rename = "append")] @@ -384,10 +410,12 @@ pub struct TestSuiteBeforeExecuteExecutionRequestVariablesValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, - /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. + /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, - /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. + /// Selects a resource of the container: only resources limits and requests + /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceFieldRef")] pub resource_field_ref: Option, /// Selects a key of a secret in the pod's namespace @@ -400,7 +428,9 @@ pub struct TestSuiteBeforeExecuteExecutionRequestVariablesValueFrom { pub struct TestSuiteBeforeExecuteExecutionRequestVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -408,7 +438,8 @@ pub struct TestSuiteBeforeExecuteExecutionRequestVariablesValueFromConfigMapKeyR pub optional: Option, } -/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. +/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +/// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteBeforeExecuteExecutionRequestVariablesValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -419,7 +450,8 @@ pub struct TestSuiteBeforeExecuteExecutionRequestVariablesValueFromFieldRef { pub field_path: String, } -/// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. +/// Selects a resource of the container: only resources limits and requests +/// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteBeforeExecuteExecutionRequestVariablesValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars @@ -437,7 +469,9 @@ pub struct TestSuiteBeforeExecuteExecutionRequestVariablesValueFromResourceField pub struct TestSuiteBeforeExecuteExecutionRequestVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -525,10 +559,12 @@ pub struct TestSuiteExecutionRequestVariablesValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, - /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. + /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, - /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. + /// Selects a resource of the container: only resources limits and requests + /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceFieldRef")] pub resource_field_ref: Option, /// Selects a key of a secret in the pod's namespace @@ -541,7 +577,9 @@ pub struct TestSuiteExecutionRequestVariablesValueFrom { pub struct TestSuiteExecutionRequestVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -549,7 +587,8 @@ pub struct TestSuiteExecutionRequestVariablesValueFromConfigMapKeyRef { pub optional: Option, } -/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. +/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +/// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionRequestVariablesValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -560,7 +599,8 @@ pub struct TestSuiteExecutionRequestVariablesValueFromFieldRef { pub field_path: String, } -/// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. +/// Selects a resource of the container: only resources limits and requests +/// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionRequestVariablesValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars @@ -578,7 +618,9 @@ pub struct TestSuiteExecutionRequestVariablesValueFromResourceFieldRef { pub struct TestSuiteExecutionRequestVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined @@ -617,7 +659,10 @@ pub struct TestSuiteStepsExecute { /// delay duration in time units #[serde(default, skip_serializing_if = "Option::is_none")] pub delay: Option, - /// TestSuiteStepExecutionRequest contains parameters to be used by the executions. These fields will be passed to the execution when a Test Suite is queued for execution. TestSuiteStepExecutionRequest parameters have the highest priority. They override the values coming from Test Suites, Tests, and Test Executions. + /// TestSuiteStepExecutionRequest contains parameters to be used by the executions. + /// These fields will be passed to the execution when a Test Suite is queued for execution. + /// TestSuiteStepExecutionRequest parameters have the highest priority. They override the + /// values coming from Test Suites, Tests, and Test Executions. #[serde(default, skip_serializing_if = "Option::is_none", rename = "executionRequest")] pub execution_request: Option, /// object name @@ -625,7 +670,10 @@ pub struct TestSuiteStepsExecute { pub test: Option, } -/// TestSuiteStepExecutionRequest contains parameters to be used by the executions. These fields will be passed to the execution when a Test Suite is queued for execution. TestSuiteStepExecutionRequest parameters have the highest priority. They override the values coming from Test Suites, Tests, and Test Executions. +/// TestSuiteStepExecutionRequest contains parameters to be used by the executions. +/// These fields will be passed to the execution when a Test Suite is queued for execution. +/// TestSuiteStepExecutionRequest parameters have the highest priority. They override the +/// values coming from Test Suites, Tests, and Test Executions. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteStepsExecuteExecutionRequest { /// additional executor binary arguments @@ -683,7 +731,10 @@ pub struct TestSuiteStepsExecuteExecutionRequest { pub variables: Option>, } -/// TestSuiteStepExecutionRequest contains parameters to be used by the executions. These fields will be passed to the execution when a Test Suite is queued for execution. TestSuiteStepExecutionRequest parameters have the highest priority. They override the values coming from Test Suites, Tests, and Test Executions. +/// TestSuiteStepExecutionRequest contains parameters to be used by the executions. +/// These fields will be passed to the execution when a Test Suite is queued for execution. +/// TestSuiteStepExecutionRequest parameters have the highest priority. They override the +/// values coming from Test Suites, Tests, and Test Executions. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum TestSuiteStepsExecuteExecutionRequestArgsMode { #[serde(rename = "append")] @@ -727,10 +778,12 @@ pub struct TestSuiteStepsExecuteExecutionRequestVariablesValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, - /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. + /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, - /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. + /// Selects a resource of the container: only resources limits and requests + /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceFieldRef")] pub resource_field_ref: Option, /// Selects a key of a secret in the pod's namespace @@ -743,7 +796,9 @@ pub struct TestSuiteStepsExecuteExecutionRequestVariablesValueFrom { pub struct TestSuiteStepsExecuteExecutionRequestVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the ConfigMap or its key must be defined @@ -751,7 +806,8 @@ pub struct TestSuiteStepsExecuteExecutionRequestVariablesValueFromConfigMapKeyRe pub optional: Option, } -/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. +/// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +/// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteStepsExecuteExecutionRequestVariablesValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". @@ -762,7 +818,8 @@ pub struct TestSuiteStepsExecuteExecutionRequestVariablesValueFromFieldRef { pub field_path: String, } -/// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. +/// Selects a resource of the container: only resources limits and requests +/// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteStepsExecuteExecutionRequestVariablesValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars @@ -780,7 +837,9 @@ pub struct TestSuiteStepsExecuteExecutionRequestVariablesValueFromResourceFieldR pub struct TestSuiteStepsExecuteExecutionRequestVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, - /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? + /// Name of the referent. + /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + /// TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, /// Specify whether the Secret or its key must be defined diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/analytics.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/analytics.rs index 13674fe97..f5a6408e1 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/analytics.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/analytics.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/analytics.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/analyticsalarm.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/analyticsalarm.rs index cf497caf8..f8ef56d93 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/analyticsalarm.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/analyticsalarm.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/analyticsalarm.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/analyticssnmp.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/analyticssnmp.rs index df87672e0..fc7f55081 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/analyticssnmp.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/analyticssnmp.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/analyticssnmp.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/cassandras.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/cassandras.rs index ffecc98bb..27d031b07 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/cassandras.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/cassandras.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/cassandras.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/configs.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/configs.rs index 1ba2fc7b6..048e02d89 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/configs.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/configs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/configs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/controls.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/controls.rs index 7ba020fd4..9bd629f6a 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/controls.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/controls.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/controls.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/kubemanagers.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/kubemanagers.rs index ecf65d2f4..a8a384c37 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/kubemanagers.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/kubemanagers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/kubemanagers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/managers.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/managers.rs index 7b9c47e81..57558d637 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/managers.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/managers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/managers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/queryengine.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/queryengine.rs index 48c21cbff..e5a07f715 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/queryengine.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/queryengine.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/queryengine.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/rabbitmqs.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/rabbitmqs.rs index 9f9e5c95f..67bd77969 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/rabbitmqs.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/rabbitmqs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/rabbitmqs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/redis.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/redis.rs index 464db7552..67060354e 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/redis.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/redis.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/redis.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/vrouters.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/vrouters.rs index 24e830047..1172cb8da 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/vrouters.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/vrouters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/vrouters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/zookeepers.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/zookeepers.rs index 37a5f00ee..9301986f6 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/zookeepers.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/zookeepers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/zookeepers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/theketch_io/v1beta1/apps.rs b/kube-custom-resources-rs/src/theketch_io/v1beta1/apps.rs index 109b25358..831d35ca5 100644 --- a/kube-custom-resources-rs/src/theketch_io/v1beta1/apps.rs +++ b/kube-custom-resources-rs/src/theketch_io/v1beta1/apps.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/theketchio/ketch/theketch.io/v1beta1/apps.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/theketch_io/v1beta1/jobs.rs b/kube-custom-resources-rs/src/theketch_io/v1beta1/jobs.rs index af499cbe8..5b6cfe13e 100644 --- a/kube-custom-resources-rs/src/theketch_io/v1beta1/jobs.rs +++ b/kube-custom-resources-rs/src/theketch_io/v1beta1/jobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/theketchio/ketch/theketch.io/v1beta1/jobs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/hardware.rs b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/hardware.rs index 980a47524..3b8e8e4e9 100644 --- a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/hardware.rs +++ b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/hardware.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/tink/tinkerbell.org/v1alpha1/hardware.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/osies.rs b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/osies.rs index c97788f8d..7f2812515 100644 --- a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/osies.rs +++ b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/osies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/tink/tinkerbell.org/v1alpha1/osies.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/stack.rs b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/stack.rs index ecb81cff6..9997b8c6f 100644 --- a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/stack.rs +++ b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/stack.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/operator/tinkerbell.org/v1alpha1/stack.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/templates.rs b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/templates.rs index 22dcd54f3..aff51da9e 100644 --- a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/templates.rs +++ b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/templates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/tink/tinkerbell.org/v1alpha1/templates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/workflows.rs b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/workflows.rs index 0b49975bf..21190041f 100644 --- a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/workflows.rs +++ b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/workflows.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/tink/tinkerbell.org/v1alpha1/workflows.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/hardware.rs b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/hardware.rs index d308ab777..a98a94a70 100644 --- a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/hardware.rs +++ b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/hardware.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/tink/tinkerbell.org/v1alpha2/hardware.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/osies.rs b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/osies.rs index 2c217c442..f799e61e3 100644 --- a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/osies.rs +++ b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/osies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/tink/tinkerbell.org/v1alpha2/osies.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/templates.rs b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/templates.rs index bfc8d5bd3..74ca5f42a 100644 --- a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/templates.rs +++ b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/templates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/tink/tinkerbell.org/v1alpha2/templates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/workflows.rs b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/workflows.rs index 99fcbed91..c82f74a09 100644 --- a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/workflows.rs +++ b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/workflows.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/tink/tinkerbell.org/v1alpha2/workflows.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/topology_node_k8s_io/v1alpha1/noderesourcetopologies.rs b/kube-custom-resources-rs/src/topology_node_k8s_io/v1alpha1/noderesourcetopologies.rs index db483581e..cb89564e1 100644 --- a/kube-custom-resources-rs/src/topology_node_k8s_io/v1alpha1/noderesourcetopologies.rs +++ b/kube-custom-resources-rs/src/topology_node_k8s_io/v1alpha1/noderesourcetopologies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/node-feature-discovery-operator/topology.node.k8s.io/v1alpha1/noderesourcetopologies.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/topolvm_cybozu_com/v1/logicalvolumes.rs b/kube-custom-resources-rs/src/topolvm_cybozu_com/v1/logicalvolumes.rs index 0519e2b83..153045fed 100644 --- a/kube-custom-resources-rs/src/topolvm_cybozu_com/v1/logicalvolumes.rs +++ b/kube-custom-resources-rs/src/topolvm_cybozu_com/v1/logicalvolumes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/alauda/nativestor/topolvm.cybozu.com/v1/logicalvolumes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/topolvm_cybozu_com/v2/topolvmclusters.rs b/kube-custom-resources-rs/src/topolvm_cybozu_com/v2/topolvmclusters.rs index baa73af1f..ce56e80bd 100644 --- a/kube-custom-resources-rs/src/topolvm_cybozu_com/v2/topolvmclusters.rs +++ b/kube-custom-resources-rs/src/topolvm_cybozu_com/v2/topolvmclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/alauda/nativestor/topolvm.cybozu.com/v2/topolvmclusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/traefik_io/v1alpha1/ingressroutes.rs b/kube-custom-resources-rs/src/traefik_io/v1alpha1/ingressroutes.rs index d52896648..dadea67d7 100644 --- a/kube-custom-resources-rs/src/traefik_io/v1alpha1/ingressroutes.rs +++ b/kube-custom-resources-rs/src/traefik_io/v1alpha1/ingressroutes.rs @@ -1,11 +1,12 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/ingressroutes.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { pub use kube::CustomResource; pub use serde::{Serialize, Deserialize}; + pub use std::collections::BTreeMap; pub use k8s_openapi::apimachinery::pkg::util::intstr::IntOrString; } use self::prelude::*; @@ -78,6 +79,9 @@ pub struct IngressRouteRoutesMiddlewares { /// Service defines an upstream HTTP service to proxy traffic to. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct IngressRouteRoutesServices { + /// Healthcheck defines health checks for the service. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthCheck")] + pub health_check: Option, /// Kind defines the kind of the Service. #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, @@ -133,6 +137,39 @@ pub struct IngressRouteRoutesServices { pub weight: Option, } +/// Healthcheck defines health checks for the service. +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +pub struct IngressRouteRoutesServicesHealthCheck { + #[serde(rename = "followRedirects")] + pub follow_redirects: bool, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub headers: Option>, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub hostname: Option, + /// Duration is a custom type suitable for parsing duration values. + /// It supports `time.ParseDuration`-compatible values and suffix-less digits; in + /// the latter case, seconds are assumed. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub interval: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub method: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub mode: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub path: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub port: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub scheme: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub status: Option, + /// Duration is a custom type suitable for parsing duration values. + /// It supports `time.ParseDuration`-compatible values and suffix-less digits; in + /// the latter case, seconds are assumed. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub timeout: Option, +} + /// Service defines an upstream HTTP service to proxy traffic to. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum IngressRouteRoutesServicesKind { diff --git a/kube-custom-resources-rs/src/traefik_io/v1alpha1/ingressroutetcps.rs b/kube-custom-resources-rs/src/traefik_io/v1alpha1/ingressroutetcps.rs index 3a7773079..156b95d82 100644 --- a/kube-custom-resources-rs/src/traefik_io/v1alpha1/ingressroutetcps.rs +++ b/kube-custom-resources-rs/src/traefik_io/v1alpha1/ingressroutetcps.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/ingressroutetcps.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/traefik_io/v1alpha1/ingressrouteudps.rs b/kube-custom-resources-rs/src/traefik_io/v1alpha1/ingressrouteudps.rs index 9f769299c..1552317da 100644 --- a/kube-custom-resources-rs/src/traefik_io/v1alpha1/ingressrouteudps.rs +++ b/kube-custom-resources-rs/src/traefik_io/v1alpha1/ingressrouteudps.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/ingressrouteudps.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/traefik_io/v1alpha1/middlewaretcps.rs b/kube-custom-resources-rs/src/traefik_io/v1alpha1/middlewaretcps.rs index c293f0dbf..03be02995 100644 --- a/kube-custom-resources-rs/src/traefik_io/v1alpha1/middlewaretcps.rs +++ b/kube-custom-resources-rs/src/traefik_io/v1alpha1/middlewaretcps.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/middlewaretcps.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/traefik_io/v1alpha1/serverstransports.rs b/kube-custom-resources-rs/src/traefik_io/v1alpha1/serverstransports.rs index ead047a50..8d90d5b09 100644 --- a/kube-custom-resources-rs/src/traefik_io/v1alpha1/serverstransports.rs +++ b/kube-custom-resources-rs/src/traefik_io/v1alpha1/serverstransports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/serverstransports.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/traefik_io/v1alpha1/serverstransporttcps.rs b/kube-custom-resources-rs/src/traefik_io/v1alpha1/serverstransporttcps.rs index 770cbf00f..ae36cd6c2 100644 --- a/kube-custom-resources-rs/src/traefik_io/v1alpha1/serverstransporttcps.rs +++ b/kube-custom-resources-rs/src/traefik_io/v1alpha1/serverstransporttcps.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/serverstransporttcps.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/traefik_io/v1alpha1/tlsoptions.rs b/kube-custom-resources-rs/src/traefik_io/v1alpha1/tlsoptions.rs index 71124cec7..d6df25c78 100644 --- a/kube-custom-resources-rs/src/traefik_io/v1alpha1/tlsoptions.rs +++ b/kube-custom-resources-rs/src/traefik_io/v1alpha1/tlsoptions.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/tlsoptions.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/traefik_io/v1alpha1/tlsstores.rs b/kube-custom-resources-rs/src/traefik_io/v1alpha1/tlsstores.rs index 06aca69e2..3345adff9 100644 --- a/kube-custom-resources-rs/src/traefik_io/v1alpha1/tlsstores.rs +++ b/kube-custom-resources-rs/src/traefik_io/v1alpha1/tlsstores.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/tlsstores.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/traefik_io/v1alpha1/traefikservices.rs b/kube-custom-resources-rs/src/traefik_io/v1alpha1/traefikservices.rs index 30194da38..1ebc6cd70 100644 --- a/kube-custom-resources-rs/src/traefik_io/v1alpha1/traefikservices.rs +++ b/kube-custom-resources-rs/src/traefik_io/v1alpha1/traefikservices.rs @@ -1,11 +1,12 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/traefikservices.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { pub use kube::CustomResource; pub use serde::{Serialize, Deserialize}; + pub use std::collections::BTreeMap; pub use k8s_openapi::apimachinery::pkg::util::intstr::IntOrString; } use self::prelude::*; @@ -29,6 +30,9 @@ pub struct TraefikServiceSpec { /// Mirroring defines the Mirroring service configuration. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TraefikServiceMirroring { + /// Healthcheck defines health checks for the service. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthCheck")] + pub health_check: Option, /// Kind defines the kind of the Service. #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, @@ -92,6 +96,39 @@ pub struct TraefikServiceMirroring { pub weight: Option, } +/// Healthcheck defines health checks for the service. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TraefikServiceMirroringHealthCheck { + #[serde(rename = "followRedirects")] + pub follow_redirects: bool, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub headers: Option>, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub hostname: Option, + /// Duration is a custom type suitable for parsing duration values. + /// It supports `time.ParseDuration`-compatible values and suffix-less digits; in + /// the latter case, seconds are assumed. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub interval: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub method: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub mode: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub path: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub port: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub scheme: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub status: Option, + /// Duration is a custom type suitable for parsing duration values. + /// It supports `time.ParseDuration`-compatible values and suffix-less digits; in + /// the latter case, seconds are assumed. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub timeout: Option, +} + /// Mirroring defines the Mirroring service configuration. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum TraefikServiceMirroringKind { @@ -102,6 +139,9 @@ pub enum TraefikServiceMirroringKind { /// MirrorService holds the mirror configuration. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TraefikServiceMirroringMirrors { + /// Healthcheck defines health checks for the service. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthCheck")] + pub health_check: Option, /// Kind defines the kind of the Service. #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, @@ -161,6 +201,39 @@ pub struct TraefikServiceMirroringMirrors { pub weight: Option, } +/// Healthcheck defines health checks for the service. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TraefikServiceMirroringMirrorsHealthCheck { + #[serde(rename = "followRedirects")] + pub follow_redirects: bool, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub headers: Option>, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub hostname: Option, + /// Duration is a custom type suitable for parsing duration values. + /// It supports `time.ParseDuration`-compatible values and suffix-less digits; in + /// the latter case, seconds are assumed. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub interval: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub method: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub mode: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub path: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub port: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub scheme: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub status: Option, + /// Duration is a custom type suitable for parsing duration values. + /// It supports `time.ParseDuration`-compatible values and suffix-less digits; in + /// the latter case, seconds are assumed. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub timeout: Option, +} + /// MirrorService holds the mirror configuration. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum TraefikServiceMirroringMirrorsKind { @@ -271,6 +344,9 @@ pub struct TraefikServiceWeighted { /// Service defines an upstream HTTP service to proxy traffic to. #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TraefikServiceWeightedServices { + /// Healthcheck defines health checks for the service. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthCheck")] + pub health_check: Option, /// Kind defines the kind of the Service. #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, @@ -326,6 +402,39 @@ pub struct TraefikServiceWeightedServices { pub weight: Option, } +/// Healthcheck defines health checks for the service. +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct TraefikServiceWeightedServicesHealthCheck { + #[serde(rename = "followRedirects")] + pub follow_redirects: bool, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub headers: Option>, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub hostname: Option, + /// Duration is a custom type suitable for parsing duration values. + /// It supports `time.ParseDuration`-compatible values and suffix-less digits; in + /// the latter case, seconds are assumed. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub interval: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub method: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub mode: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub path: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub port: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub scheme: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub status: Option, + /// Duration is a custom type suitable for parsing duration values. + /// It supports `time.ParseDuration`-compatible values and suffix-less digits; in + /// the latter case, seconds are assumed. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub timeout: Option, +} + /// Service defines an upstream HTTP service to proxy traffic to. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum TraefikServiceWeightedServicesKind { diff --git a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/elasticdljobs.rs b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/elasticdljobs.rs index bf5611112..e613f1e3e 100644 --- a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/elasticdljobs.rs +++ b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/elasticdljobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/training.kubedl.io/v1alpha1/elasticdljobs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/marsjobs.rs b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/marsjobs.rs index e4fdf1fac..da231a2aa 100644 --- a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/marsjobs.rs +++ b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/marsjobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/training.kubedl.io/v1alpha1/marsjobs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/mpijobs.rs b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/mpijobs.rs index 5ecc890c6..d3468a816 100644 --- a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/mpijobs.rs +++ b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/mpijobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/training.kubedl.io/v1alpha1/mpijobs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/pytorchjobs.rs b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/pytorchjobs.rs index 7904e60b3..41d7e58e3 100644 --- a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/pytorchjobs.rs +++ b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/pytorchjobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/training.kubedl.io/v1alpha1/pytorchjobs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/tfjobs.rs b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/tfjobs.rs index 595bae37e..e9ad972b0 100644 --- a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/tfjobs.rs +++ b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/tfjobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/training.kubedl.io/v1alpha1/tfjobs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/xdljobs.rs b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/xdljobs.rs index f02194ae7..236e0c9b2 100644 --- a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/xdljobs.rs +++ b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/xdljobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/training.kubedl.io/v1alpha1/xdljobs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/xgboostjobs.rs b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/xgboostjobs.rs index 930488c89..d44cc152d 100644 --- a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/xgboostjobs.rs +++ b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/xgboostjobs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/training.kubedl.io/v1alpha1/xgboostjobs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/trident_netapp_io/v1/tridentorchestrators.rs b/kube-custom-resources-rs/src/trident_netapp_io/v1/tridentorchestrators.rs index 1dd427267..91ac483c4 100644 --- a/kube-custom-resources-rs/src/trident_netapp_io/v1/tridentorchestrators.rs +++ b/kube-custom-resources-rs/src/trident_netapp_io/v1/tridentorchestrators.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/NetApp/trident/trident.netapp.io/v1/tridentorchestrators.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/trust_cert_manager_io/v1alpha1/bundles.rs b/kube-custom-resources-rs/src/trust_cert_manager_io/v1alpha1/bundles.rs index 343929e1e..b949caab1 100644 --- a/kube-custom-resources-rs/src/trust_cert_manager_io/v1alpha1/bundles.rs +++ b/kube-custom-resources-rs/src/trust_cert_manager_io/v1alpha1/bundles.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/cert-manager/trust-manager/trust.cert-manager.io/v1alpha1/bundles.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/upgrade_cattle_io/v1/plans.rs b/kube-custom-resources-rs/src/upgrade_cattle_io/v1/plans.rs index bf90565ec..3aaf27146 100644 --- a/kube-custom-resources-rs/src/upgrade_cattle_io/v1/plans.rs +++ b/kube-custom-resources-rs/src/upgrade_cattle_io/v1/plans.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/rancher/system-upgrade-controller/upgrade.cattle.io/v1/plans.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/upgrade_managed_openshift_io/v1alpha1/upgradeconfigs.rs b/kube-custom-resources-rs/src/upgrade_managed_openshift_io/v1alpha1/upgradeconfigs.rs index a9b6e2960..62197dbf3 100644 --- a/kube-custom-resources-rs/src/upgrade_managed_openshift_io/v1alpha1/upgradeconfigs.rs +++ b/kube-custom-resources-rs/src/upgrade_managed_openshift_io/v1alpha1/upgradeconfigs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/openshift/managed-upgrade-operator/upgrade.managed.openshift.io/v1alpha1/upgradeconfigs.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/velero_io/v1/backuprepositories.rs b/kube-custom-resources-rs/src/velero_io/v1/backuprepositories.rs index 870ab6c53..b4f6e67bb 100644 --- a/kube-custom-resources-rs/src/velero_io/v1/backuprepositories.rs +++ b/kube-custom-resources-rs/src/velero_io/v1/backuprepositories.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/backuprepositories.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/velero_io/v1/backups.rs b/kube-custom-resources-rs/src/velero_io/v1/backups.rs index e8f899f84..975b34837 100644 --- a/kube-custom-resources-rs/src/velero_io/v1/backups.rs +++ b/kube-custom-resources-rs/src/velero_io/v1/backups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/backups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/velero_io/v1/backupstoragelocations.rs b/kube-custom-resources-rs/src/velero_io/v1/backupstoragelocations.rs index b709666de..67972c9d7 100644 --- a/kube-custom-resources-rs/src/velero_io/v1/backupstoragelocations.rs +++ b/kube-custom-resources-rs/src/velero_io/v1/backupstoragelocations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/backupstoragelocations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/velero_io/v1/deletebackuprequests.rs b/kube-custom-resources-rs/src/velero_io/v1/deletebackuprequests.rs index a3e683bf3..8c64d0090 100644 --- a/kube-custom-resources-rs/src/velero_io/v1/deletebackuprequests.rs +++ b/kube-custom-resources-rs/src/velero_io/v1/deletebackuprequests.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/deletebackuprequests.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/velero_io/v1/downloadrequests.rs b/kube-custom-resources-rs/src/velero_io/v1/downloadrequests.rs index 7e232644f..76544cc37 100644 --- a/kube-custom-resources-rs/src/velero_io/v1/downloadrequests.rs +++ b/kube-custom-resources-rs/src/velero_io/v1/downloadrequests.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/downloadrequests.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/velero_io/v1/podvolumebackups.rs b/kube-custom-resources-rs/src/velero_io/v1/podvolumebackups.rs index b7ebdd0ac..39f6bcbd7 100644 --- a/kube-custom-resources-rs/src/velero_io/v1/podvolumebackups.rs +++ b/kube-custom-resources-rs/src/velero_io/v1/podvolumebackups.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/podvolumebackups.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/velero_io/v1/podvolumerestores.rs b/kube-custom-resources-rs/src/velero_io/v1/podvolumerestores.rs index 030b13548..b13fff16d 100644 --- a/kube-custom-resources-rs/src/velero_io/v1/podvolumerestores.rs +++ b/kube-custom-resources-rs/src/velero_io/v1/podvolumerestores.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/podvolumerestores.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/velero_io/v1/schedules.rs b/kube-custom-resources-rs/src/velero_io/v1/schedules.rs index cbd9d6acb..e3a3f7ca7 100644 --- a/kube-custom-resources-rs/src/velero_io/v1/schedules.rs +++ b/kube-custom-resources-rs/src/velero_io/v1/schedules.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/schedules.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/velero_io/v1/serverstatusrequests.rs b/kube-custom-resources-rs/src/velero_io/v1/serverstatusrequests.rs index 16890237a..b4ee433b9 100644 --- a/kube-custom-resources-rs/src/velero_io/v1/serverstatusrequests.rs +++ b/kube-custom-resources-rs/src/velero_io/v1/serverstatusrequests.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/serverstatusrequests.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/velero_io/v1/volumesnapshotlocations.rs b/kube-custom-resources-rs/src/velero_io/v1/volumesnapshotlocations.rs index 9f815d8b3..b5056a3d6 100644 --- a/kube-custom-resources-rs/src/velero_io/v1/volumesnapshotlocations.rs +++ b/kube-custom-resources-rs/src/velero_io/v1/volumesnapshotlocations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/volumesnapshotlocations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/velero_io/v2alpha1/datadownloads.rs b/kube-custom-resources-rs/src/velero_io/v2alpha1/datadownloads.rs index 759eafb35..2657f16bd 100644 --- a/kube-custom-resources-rs/src/velero_io/v2alpha1/datadownloads.rs +++ b/kube-custom-resources-rs/src/velero_io/v2alpha1/datadownloads.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v2alpha1/datadownloads.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/velero_io/v2alpha1/datauploads.rs b/kube-custom-resources-rs/src/velero_io/v2alpha1/datauploads.rs index 43e4adae8..9d6358788 100644 --- a/kube-custom-resources-rs/src/velero_io/v2alpha1/datauploads.rs +++ b/kube-custom-resources-rs/src/velero_io/v2alpha1/datauploads.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v2alpha1/datauploads.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/virt_virtink_smartx_com/v1alpha1/virtualmachinemigrations.rs b/kube-custom-resources-rs/src/virt_virtink_smartx_com/v1alpha1/virtualmachinemigrations.rs index 037a2461e..0847ebb5b 100644 --- a/kube-custom-resources-rs/src/virt_virtink_smartx_com/v1alpha1/virtualmachinemigrations.rs +++ b/kube-custom-resources-rs/src/virt_virtink_smartx_com/v1alpha1/virtualmachinemigrations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/smartxworks/virtink/virt.virtink.smartx.com/v1alpha1/virtualmachinemigrations.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/virt_virtink_smartx_com/v1alpha1/virtualmachines.rs b/kube-custom-resources-rs/src/virt_virtink_smartx_com/v1alpha1/virtualmachines.rs index b17c11a43..22c1fa707 100644 --- a/kube-custom-resources-rs/src/virt_virtink_smartx_com/v1alpha1/virtualmachines.rs +++ b/kube-custom-resources-rs/src/virt_virtink_smartx_com/v1alpha1/virtualmachines.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/smartxworks/virtink/virt.virtink.smartx.com/v1alpha1/virtualmachines.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/volsync_backube/v1alpha1/replicationdestinations.rs b/kube-custom-resources-rs/src/volsync_backube/v1alpha1/replicationdestinations.rs index d60bb1f5f..71c1befe5 100644 --- a/kube-custom-resources-rs/src/volsync_backube/v1alpha1/replicationdestinations.rs +++ b/kube-custom-resources-rs/src/volsync_backube/v1alpha1/replicationdestinations.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/backube/volsync/volsync.backube/v1alpha1/replicationdestinations.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/volsync_backube/v1alpha1/replicationsources.rs b/kube-custom-resources-rs/src/volsync_backube/v1alpha1/replicationsources.rs index 47e33b7d7..03db5eef1 100644 --- a/kube-custom-resources-rs/src/volsync_backube/v1alpha1/replicationsources.rs +++ b/kube-custom-resources-rs/src/volsync_backube/v1alpha1/replicationsources.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/backube/volsync/volsync.backube/v1alpha1/replicationsources.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/vpcresources_k8s_aws/v1alpha1/cninodes.rs b/kube-custom-resources-rs/src/vpcresources_k8s_aws/v1alpha1/cninodes.rs index 2a94224c5..8ee7e0190 100644 --- a/kube-custom-resources-rs/src/vpcresources_k8s_aws/v1alpha1/cninodes.rs +++ b/kube-custom-resources-rs/src/vpcresources_k8s_aws/v1alpha1/cninodes.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/amazon-vpc-resource-controller-k8s/vpcresources.k8s.aws/v1alpha1/cninodes.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/vpcresources_k8s_aws/v1beta1/securitygrouppolicies.rs b/kube-custom-resources-rs/src/vpcresources_k8s_aws/v1beta1/securitygrouppolicies.rs index 60a6ccdde..f745d7362 100644 --- a/kube-custom-resources-rs/src/vpcresources_k8s_aws/v1beta1/securitygrouppolicies.rs +++ b/kube-custom-resources-rs/src/vpcresources_k8s_aws/v1beta1/securitygrouppolicies.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/amazon-vpc-resource-controller-k8s/vpcresources.k8s.aws/v1beta1/securitygrouppolicies.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha1/clusterpolicyreports.rs b/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha1/clusterpolicyreports.rs index fa65b57d5..975573892 100644 --- a/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha1/clusterpolicyreports.rs +++ b/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha1/clusterpolicyreports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/wg-policy-prototypes/wgpolicyk8s.io/v1alpha1/clusterpolicyreports.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha1/policyreports.rs b/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha1/policyreports.rs index b5bd8b7aa..8428f0c02 100644 --- a/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha1/policyreports.rs +++ b/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha1/policyreports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/wg-policy-prototypes/wgpolicyk8s.io/v1alpha1/policyreports.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha2/clusterpolicyreports.rs b/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha2/clusterpolicyreports.rs index 49a160d2f..7d52e2bb4 100644 --- a/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha2/clusterpolicyreports.rs +++ b/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha2/clusterpolicyreports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/wg-policy-prototypes/wgpolicyk8s.io/v1alpha2/clusterpolicyreports.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha2/policyreports.rs b/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha2/policyreports.rs index 12da04345..f8f56b833 100644 --- a/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha2/policyreports.rs +++ b/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha2/policyreports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/wg-policy-prototypes/wgpolicyk8s.io/v1alpha2/policyreports.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/wgpolicyk8s_io/v1beta1/clusterpolicyreports.rs b/kube-custom-resources-rs/src/wgpolicyk8s_io/v1beta1/clusterpolicyreports.rs index b9d879c22..4367a16cc 100644 --- a/kube-custom-resources-rs/src/wgpolicyk8s_io/v1beta1/clusterpolicyreports.rs +++ b/kube-custom-resources-rs/src/wgpolicyk8s_io/v1beta1/clusterpolicyreports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/wg-policy-prototypes/wgpolicyk8s.io/v1beta1/clusterpolicyreports.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/wgpolicyk8s_io/v1beta1/policyreports.rs b/kube-custom-resources-rs/src/wgpolicyk8s_io/v1beta1/policyreports.rs index 1e5368616..71ac21749 100644 --- a/kube-custom-resources-rs/src/wgpolicyk8s_io/v1beta1/policyreports.rs +++ b/kube-custom-resources-rs/src/wgpolicyk8s_io/v1beta1/policyreports.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/wg-policy-prototypes/wgpolicyk8s.io/v1beta1/policyreports.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/wildfly_org/v1alpha1/wildflyservers.rs b/kube-custom-resources-rs/src/wildfly_org/v1alpha1/wildflyservers.rs index 8cf789938..bbecbd6ca 100644 --- a/kube-custom-resources-rs/src/wildfly_org/v1alpha1/wildflyservers.rs +++ b/kube-custom-resources-rs/src/wildfly_org/v1alpha1/wildflyservers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/wildfly/wildfly-operator/wildfly.org/v1alpha1/wildflyservers.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -29,6 +29,9 @@ pub struct WildFlyServerSpec { /// ConfigMaps is a list of ConfigMaps in the same namespace as the WildFlyServer object, which shall be mounted into the WildFlyServer Pods. The ConfigMaps are mounted into /etc/configmaps/. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMaps")] pub config_maps: Option>, + /// DeactivateTransactionRecovery disables the process of recovering transactions (false if omitted) + #[serde(default, skip_serializing_if = "Option::is_none", rename = "deactivateTransactionRecovery")] + pub deactivate_transaction_recovery: Option, /// DisableHTTPRoute disables the creation a route to the HTTP port of the application service (false if omitted) #[serde(default, skip_serializing_if = "Option::is_none", rename = "disableHTTPRoute")] pub disable_http_route: Option, @@ -669,6 +672,9 @@ pub struct WildFlyServerStatusPods { pub name: String, #[serde(rename = "podIP")] pub pod_ip: String, + /// Counts the recovery attempts when there are in-doubt/heuristic transactions + #[serde(default, skip_serializing_if = "Option::is_none", rename = "recoveryCounter")] + pub recovery_counter: Option, /// Represent the state of the Pod, it is used especially during scale down. pub state: WildFlyServerStatusPodsState, } @@ -680,8 +686,10 @@ pub enum WildFlyServerStatusPodsState { Active, #[serde(rename = "SCALING_DOWN_RECOVERY_INVESTIGATION")] ScalingDownRecoveryInvestigation, - #[serde(rename = "SCALING_DOWN_RECOVERY_DIRTY")] - ScalingDownRecoveryDirty, + #[serde(rename = "SCALING_DOWN_RECOVERY_PROCESSING")] + ScalingDownRecoveryProcessing, + #[serde(rename = "SCALING_DOWN_RECOVERY_HEURISTICS")] + ScalingDownRecoveryHeuristics, #[serde(rename = "SCALING_DOWN_CLEAN")] ScalingDownClean, } diff --git a/kube-custom-resources-rs/src/work_karmada_io/v1alpha1/clusterresourcebindings.rs b/kube-custom-resources-rs/src/work_karmada_io/v1alpha1/clusterresourcebindings.rs index 705c47e27..19290e223 100644 --- a/kube-custom-resources-rs/src/work_karmada_io/v1alpha1/clusterresourcebindings.rs +++ b/kube-custom-resources-rs/src/work_karmada_io/v1alpha1/clusterresourcebindings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha1/clusterresourcebindings.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/work_karmada_io/v1alpha1/resourcebindings.rs b/kube-custom-resources-rs/src/work_karmada_io/v1alpha1/resourcebindings.rs index f88ddd546..6d0099078 100644 --- a/kube-custom-resources-rs/src/work_karmada_io/v1alpha1/resourcebindings.rs +++ b/kube-custom-resources-rs/src/work_karmada_io/v1alpha1/resourcebindings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha1/resourcebindings.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/work_karmada_io/v1alpha2/clusterresourcebindings.rs b/kube-custom-resources-rs/src/work_karmada_io/v1alpha2/clusterresourcebindings.rs index 1b754e49e..13231b609 100644 --- a/kube-custom-resources-rs/src/work_karmada_io/v1alpha2/clusterresourcebindings.rs +++ b/kube-custom-resources-rs/src/work_karmada_io/v1alpha2/clusterresourcebindings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha2/clusterresourcebindings.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/work_karmada_io/v1alpha2/resourcebindings.rs b/kube-custom-resources-rs/src/work_karmada_io/v1alpha2/resourcebindings.rs index a6573e2b4..e31de388c 100644 --- a/kube-custom-resources-rs/src/work_karmada_io/v1alpha2/resourcebindings.rs +++ b/kube-custom-resources-rs/src/work_karmada_io/v1alpha2/resourcebindings.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha2/resourcebindings.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/workload_codeflare_dev/v1beta1/appwrappers.rs b/kube-custom-resources-rs/src/workload_codeflare_dev/v1beta1/appwrappers.rs index c623b49d6..311f1e056 100644 --- a/kube-custom-resources-rs/src/workload_codeflare_dev/v1beta1/appwrappers.rs +++ b/kube-custom-resources-rs/src/workload_codeflare_dev/v1beta1/appwrappers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/project-codeflare/codeflare-operator/workload.codeflare.dev/v1beta1/appwrappers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/workload_codeflare_dev/v1beta1/schedulingspecs.rs b/kube-custom-resources-rs/src/workload_codeflare_dev/v1beta1/schedulingspecs.rs index a42072a42..37968102e 100644 --- a/kube-custom-resources-rs/src/workload_codeflare_dev/v1beta1/schedulingspecs.rs +++ b/kube-custom-resources-rs/src/workload_codeflare_dev/v1beta1/schedulingspecs.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/project-codeflare/codeflare-operator/workload.codeflare.dev/v1beta1/schedulingspecs.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/workload_codeflare_dev/v1beta2/appwrappers.rs b/kube-custom-resources-rs/src/workload_codeflare_dev/v1beta2/appwrappers.rs index 1a355c5d2..317d7fed3 100644 --- a/kube-custom-resources-rs/src/workload_codeflare_dev/v1beta2/appwrappers.rs +++ b/kube-custom-resources-rs/src/workload_codeflare_dev/v1beta2/appwrappers.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/project-codeflare/codeflare-operator/workload.codeflare.dev/v1beta2/appwrappers.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { @@ -104,6 +104,9 @@ pub struct AppWrapperComponentsPodSets { /// AppWrapperStatus defines the observed state of the appwrapper #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AppWrapperStatus { + /// ComponentStatus parallels the Components array in the Spec and tracks the actually deployed resources + #[serde(default, skip_serializing_if = "Option::is_none", rename = "componentStatus")] + pub component_status: Option>, /// Conditions hold the latest available observations of the AppWrapper current state. /// /// @@ -125,3 +128,24 @@ pub struct AppWrapperStatus { pub resetting_count: Option, } +/// AppWrapperComponentStatus tracks the status of a single managed Component +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +pub struct AppWrapperStatusComponentStatus { + /// APIVersion is the APIVersion of the Component + #[serde(rename = "apiVersion")] + pub api_version: String, + /// Conditions hold the latest available observations of the Component's current state. + /// + /// + /// The type of the condition could be: + /// + /// + /// - ResourcesDeployed: The component is deployed on the cluster + #[serde(default, skip_serializing_if = "Option::is_none")] + pub conditions: Option>, + /// Kind is the Kind of the Component + pub kind: String, + /// Name is the name of the Component + pub name: String, +} + diff --git a/kube-custom-resources-rs/src/workloads_kubeblocks_io/v1alpha1/instancesets.rs b/kube-custom-resources-rs/src/workloads_kubeblocks_io/v1alpha1/instancesets.rs index a0bc47be2..17f07e357 100644 --- a/kube-custom-resources-rs/src/workloads_kubeblocks_io/v1alpha1/instancesets.rs +++ b/kube-custom-resources-rs/src/workloads_kubeblocks_io/v1alpha1/instancesets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/workloads.kubeblocks.io/v1alpha1/instancesets.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/workloads_kubeblocks_io/v1alpha1/replicatedstatemachines.rs b/kube-custom-resources-rs/src/workloads_kubeblocks_io/v1alpha1/replicatedstatemachines.rs index fd8ffd2bf..9e9807626 100644 --- a/kube-custom-resources-rs/src/workloads_kubeblocks_io/v1alpha1/replicatedstatemachines.rs +++ b/kube-custom-resources-rs/src/workloads_kubeblocks_io/v1alpha1/replicatedstatemachines.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/workloads.kubeblocks.io/v1alpha1/replicatedstatemachines.yaml --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/zonecontrol_k8s_aws/v1/zoneawareupdates.rs b/kube-custom-resources-rs/src/zonecontrol_k8s_aws/v1/zoneawareupdates.rs index e1468f5ca..c9b905e8d 100644 --- a/kube-custom-resources-rs/src/zonecontrol_k8s_aws/v1/zoneawareupdates.rs +++ b/kube-custom-resources-rs/src/zonecontrol_k8s_aws/v1/zoneawareupdates.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/zone-aware-controllers-for-k8s/zonecontrol.k8s.aws/v1/zoneawareupdates.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/zonecontrol_k8s_aws/v1/zonedisruptionbudgets.rs b/kube-custom-resources-rs/src/zonecontrol_k8s_aws/v1/zonedisruptionbudgets.rs index 8744d6cbc..bb04d6a22 100644 --- a/kube-custom-resources-rs/src/zonecontrol_k8s_aws/v1/zonedisruptionbudgets.rs +++ b/kube-custom-resources-rs/src/zonecontrol_k8s_aws/v1/zonedisruptionbudgets.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/aws/zone-aware-controllers-for-k8s/zonecontrol.k8s.aws/v1/zonedisruptionbudgets.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { diff --git a/kube-custom-resources-rs/src/zookeeper_pravega_io/v1beta1/zookeeperclusters.rs b/kube-custom-resources-rs/src/zookeeper_pravega_io/v1beta1/zookeeperclusters.rs index 2c3af2159..3f86332f5 100644 --- a/kube-custom-resources-rs/src/zookeeper_pravega_io/v1beta1/zookeeperclusters.rs +++ b/kube-custom-resources-rs/src/zookeeper_pravega_io/v1beta1/zookeeperclusters.rs @@ -1,6 +1,6 @@ // WARNING: generated by kopium - manual changes will be overwritten // kopium command: kopium --docs --filename=./crd-catalog/pravega/zookeeper-operator/zookeeper.pravega.io/v1beta1/zookeeperclusters.yaml --derive=Default --derive=PartialEq -// kopium version: 0.19.0 +// kopium version: 0.20.1 #[allow(unused_imports)] mod prelude { From 7d6b6403edf66ce059171ce8d507e21ad3236176 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Ho=C3=9F?= Date: Sat, 1 Jun 2024 08:03:34 +0200 Subject: [PATCH 2/2] enable --smart-derive-elision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sebastian Hoß --- code-generator/create-custom-resources.sh | 11 +- .../v1alpha1/envoyconfigrevisions.args | 1 - .../v1alpha1/envoyconfigs.args | 1 - .../v1beta1/backends.args | 1 - .../v1beta1/openapis.args | 1 - .../v1beta1/products.args | 1 - .../apps.3scale.net/v1alpha1/apicasts.args | 1 - .../v1/apicurioregistries.args | 1 - .../v1alpha1/mysqlserveradministrators.args | 1 - .../v1alpha1/rediscacheactions.args | 1 - .../v1beta1/azuresqlfailovergroups.args | 1 - .../v1beta1/pgadmins.args | 1 - .../v1beta1/pgupgrades.args | 1 - .../v1beta1/postgresclusters.args | 1 - .../datadoghq.com/v1alpha1/datadogslos.args | 1 - .../datadoghq.com/v2alpha1/datadogagents.args | 1 - .../v1alpha1/dopplersecrets.args | 1 - .../v1beta1/rbacdefinitions.args | 1 - .../v1alpha1/backups.args | 1 - .../v1alpha1/backupschedules.args | 1 - .../v1alpha1/databases.args | 1 - .../v1alpha1/exports.args | 1 - .../v1alpha1/imports.args | 1 - .../v1alpha1/pitrs.args | 1 - .../v1beta2/scheduledsparkapplications.args | 1 - .../v1beta2/sparkapplications.args | 1 - .../designer.kaoto.io/v1alpha1/kaotoes.args | 1 - .../kuadrant.io/v1beta1/kuadrants.args | 1 - .../v1beta2/ratelimitpolicies.args | 1 - .../v1alpha1/limitadors.args | 1 - .../v1/redisenterpriseclusters.args | 1 - .../v1alpha1/redisenterpriseclusters.args | 1 - .../spv.no/v1/azurekeyvaultsecrets.args | 1 - .../spv.no/v1alpha1/azurekeyvaultsecrets.args | 1 - .../spv.no/v2alpha1/azurekeyvaultsecrets.args | 1 - .../spv.no/v2beta1/azurekeyvaultsecrets.args | 1 - .../v1/beegfsdrivers.args | 1 - .../v1beta1/temporalnamespaces.args | 1 - .../v1beta1/temporalworkerprocesses.args | 1 - .../v1alpha1/resourceimports.args | 1 - .../apisix.apache.org/v2/apisixroutes.args | 1 - .../apisix.apache.org/v2/apisixtlses.args | 1 - .../apisix.apache.org/v2/apisixupstreams.args | 1 - .../v1alpha1/clusterdefinitions.args | 1 - .../apps.kubeblocks.io/v1alpha1/clusters.args | 1 - .../v1alpha1/componentdefinitions.args | 1 - .../v1alpha1/configconstraints.args | 1 - .../v1alpha1/configurations.args | 1 - .../v1alpha1/opsdefinitions.args | 1 - .../v1alpha1/opsrequests.args | 1 - .../v1beta1/configconstraints.args | 1 - .../v1alpha1/backuppolicies.args | 1 - .../v1alpha1/backuprepos.args | 1 - .../v1alpha1/backups.args | 1 - .../v1alpha1/restores.args | 1 - .../v1alpha1/addons.args | 1 - .../v1alpha1/storageproviders.args | 1 - .../v1alpha1/instancesets.args | 1 - .../v1alpha1/replicatedstatemachines.args | 1 - .../v1beta1/apimatics.args | 1 - .../v1alpha1/apachewebs.args | 1 - .../authzed.com/v1alpha1/spicedbclusters.args | 1 - .../v1alpha1/fieldexports.args | 1 - .../v1alpha1/accesslogpolicies.args | 1 - .../v1alpha1/iamauthpolicies.args | 1 - .../v1alpha1/serviceexports.args | 1 - .../v1alpha1/serviceimports.args | 1 - .../v1alpha1/targetgrouppolicies.args | 1 - .../v1alpha1/vpcassociationpolicies.args | 1 - .../v1alpha1/nutanixmachineconfigs.args | 1 - .../v1beta1/ec2nodeclasses.args | 1 - .../karpenter.sh/v1beta1/nodeclaims.args | 1 - .../karpenter.sh/v1beta1/nodepools.args | 1 - .../b3scale.infra.run/v1/bbbfrontends.args | 1 - .../v1alpha1/replicationdestinations.args | 1 - .../v1alpha1/replicationsources.args | 1 - .../v1alpha1/istiocontrolplanes.args | 1 - .../v1alpha1/istiomeshes.args | 1 - .../v1alpha1/istiomeshgateways.args | 1 - .../v1alpha1/peeristiocontrolplanes.args | 1 - .../v1alpha1/kafkausers.args | 1 - .../v1beta1/kafkaclusters.args | 1 - .../claudie.io/v1beta1/inputmanifests.args | 1 - .../bpfman.io/v1alpha1/bpfprograms.args | 1 - .../bpfman.io/v1alpha1/kprobeprograms.args | 1 - .../bpfman/bpfman.io/v1alpha1/tcprograms.args | 1 - .../v1alpha1/tracepointprograms.args | 1 - .../bpfman.io/v1alpha1/uprobeprograms.args | 1 - .../bpfman.io/v1alpha1/xdpprograms.args | 1 - .../acme.cert-manager.io/v1/challenges.args | 1 - .../v1/certificaterequests.args | 1 - .../cert-manager.io/v1/certificates.args | 1 - .../cert-manager.io/v1/clusterissuers.args | 1 - .../cert-manager.io/v1/issuers.args | 1 - .../v1alpha1/bundles.args | 1 - .../chaos-mesh.org/v1alpha1/awschaos.args | 1 - .../chaos-mesh.org/v1alpha1/azurechaos.args | 1 - .../chaos-mesh.org/v1alpha1/blockchaos.args | 1 - .../chaos-mesh.org/v1alpha1/dnschaos.args | 1 - .../chaos-mesh.org/v1alpha1/gcpchaos.args | 1 - .../chaos-mesh.org/v1alpha1/httpchaos.args | 1 - .../chaos-mesh.org/v1alpha1/iochaos.args | 1 - .../chaos-mesh.org/v1alpha1/jvmchaos.args | 1 - .../chaos-mesh.org/v1alpha1/kernelchaos.args | 1 - .../chaos-mesh.org/v1alpha1/networkchaos.args | 1 - .../v1alpha1/physicalmachinechaos.args | 1 - .../chaos-mesh.org/v1alpha1/podchaos.args | 1 - .../chaos-mesh.org/v1alpha1/schedules.args | 1 - .../chaos-mesh.org/v1alpha1/statuschecks.args | 1 - .../chaos-mesh.org/v1alpha1/stresschaos.args | 1 - .../chaos-mesh.org/v1alpha1/timechaos.args | 1 - .../v1alpha1/workflownodes.args | 1 - .../chaos-mesh.org/v1alpha1/workflows.args | 1 - .../v2/ciliumclusterwidenetworkpolicies.args | 1 - .../v2/ciliumegressgatewaypolicies.args | 1 - .../v2/ciliumlocalredirectpolicies.args | 1 - .../cilium.io/v2/ciliumnetworkpolicies.args | 1 - .../v2alpha1/ciliumbgppeeringpolicies.args | 1 - .../ciliuml2announcementpolicies.args | 1 - .../v2alpha1/ciliumloadbalancerippools.args | 1 - .../capsule.clastix.io/v1alpha1/tenants.args | 1 - .../capsule.clastix.io/v1beta1/tenants.args | 1 - .../capsule.clastix.io/v1beta2/tenants.args | 1 - .../v1alpha1/datastores.args | 1 - .../v1alpha1/tenantcontrolplanes.args | 1 - .../v1alpha1/descriptions.args | 1 - .../v1alpha1/globalizations.args | 1 - .../v1alpha1/localizations.args | 1 - .../v1alpha1/subscriptions.args | 1 - .../v1beta1/managedclusters.args | 1 - .../v1alpha2/pediaclusters.args | 1 - .../v1alpha1/clusterimportpolicies.args | 1 - .../v1alpha1/pediaclusterlifecycles.args | 1 - .../v1beta1/ccruntimes.args | 1 - .../couchbase.com/v2/couchbaseclusters.args | 1 - .../couchbase.com/v2/couchbasegroups.args | 1 - .../v2/couchbaserolebindings.args | 1 - .../couchbase.com/v2/couchbaseusers.args | 1 - .../v1alpha1/storeconfigs.args | 1 - .../v1beta1/cryostats.args | 1 - .../druid.apache.org/v1alpha1/druids.args | 1 - .../clusterdevfileregistrieslists.args | 1 - .../v1alpha1/devfileregistries.args | 1 - .../v1alpha1/devfileregistrieslists.args | 1 - .../getambassador.io/v3alpha1/listeners.args | 1 - .../v3alpha1/tracingservices.args | 1 - .../apps.emqx.io/v2alpha1/emqxes.args | 1 - .../apps.emqx.io/v2beta1/emqxes.args | 1 - .../v1alpha1/clustersecretstores.args | 1 - .../v1alpha1/secretstores.args | 1 - .../v1beta1/clustersecretstores.args | 1 - .../v1beta1/secretstores.args | 1 - .../v1alpha1/clusterfilters.args | 1 - .../v1alpha1/clusterinputs.args | 1 - .../v1alpha1/clusteroutputs.args | 1 - .../fluentd.fluent.io/v1alpha1/filters.args | 1 - .../fluentd.fluent.io/v1alpha1/fluentds.args | 1 - .../fluentd.fluent.io/v1alpha1/inputs.args | 1 - .../fluentd.fluent.io/v1alpha1/outputs.args | 1 - .../v1alpha1/alluxioruntimes.args | 1 - .../data.fluid.io/v1alpha1/databackups.args | 1 - .../data.fluid.io/v1alpha1/dataloads.args | 1 - .../v1alpha1/goosefsruntimes.args | 1 - .../data.fluid.io/v1alpha1/jindoruntimes.args | 1 - .../v1alpha1/juicefsruntimes.args | 1 - .../data.fluid.io/v1alpha1/thinruntimes.args | 1 - .../v1alpha1/miniclusters.args | 1 - .../flagger/flagger.app/v1beta1/canaries.args | 1 - .../flagger.app/v1beta1/metrictemplates.args | 1 - .../v2/helmreleases.args | 1 - .../v2beta1/helmreleases.args | 1 - .../v2beta2/helmreleases.args | 1 - .../v1beta1/imageupdateautomations.args | 1 - .../v1beta2/imageupdateautomations.args | 1 - .../v1beta1/imagepolicies.args | 1 - .../v1beta1/imagerepositories.args | 1 - .../v1beta2/imagepolicies.args | 1 - .../v1beta2/imagerepositories.args | 1 - .../v1/kustomizations.args | 1 - .../v1beta1/kustomizations.args | 1 - .../v1beta2/kustomizations.args | 1 - .../v1/receivers.args | 1 - .../v1beta1/alerts.args | 1 - .../v1beta1/providers.args | 1 - .../v1beta1/receivers.args | 1 - .../v1beta2/alerts.args | 1 - .../v1beta2/providers.args | 1 - .../v1beta2/receivers.args | 1 - .../v1beta3/alerts.args | 1 - .../v1beta3/providers.args | 1 - .../v1/helmcharts.args | 1 - .../v1beta1/buckets.args | 1 - .../v1beta1/gitrepositories.args | 1 - .../v1beta1/helmcharts.args | 1 - .../v1beta1/helmrepositories.args | 1 - .../v1beta2/buckets.args | 1 - .../v1beta2/gitrepositories.args | 1 - .../v1beta2/helmcharts.args | 1 - .../v1beta2/helmrepositories.args | 1 - .../v1beta2/ocirepositories.args | 1 - .../apps.gitlab.com/v1beta1/gitlabs.args | 1 - .../v1alpha1/dexidentityproviders.args | 1 - .../k6-operator/k6.io/v1alpha1/k6s.args | 1 - .../k6.io/v1alpha1/privateloadzones.args | 1 - .../k6-operator/k6.io/v1alpha1/testruns.args | 1 - .../loki.grafana.com/v1/alertingrules.args | 1 - .../loki/loki.grafana.com/v1/lokistacks.args | 1 - .../loki.grafana.com/v1/recordingrules.args | 1 - .../loki.grafana.com/v1/rulerconfigs.args | 1 - .../v1beta1/alertingrules.args | 1 - .../loki.grafana.com/v1beta1/lokistacks.args | 1 - .../v1beta1/recordingrules.args | 1 - .../v1beta1/rulerconfigs.args | 1 - .../v1alpha1/tempomonolithics.args | 1 - .../v1alpha1/tempostacks.args | 1 - .../v1/teleportloginrules.args | 1 - .../v1/teleportoktaimportrules.args | 1 - .../v2/teleportsamlconnectors.args | 1 - .../v2/teleportusers.args | 1 - .../v3/teleportgithubconnectors.args | 1 - .../v3/teleportoidcconnectors.args | 1 - .../app.terraform.io/v1alpha2/workspaces.args | 1 - .../v1beta1/hcpvaultsecretsapps.args | 1 - .../v1beta1/vaultauths.args | 1 - .../v1beta1/vaultdynamicsecrets.args | 1 - .../v1beta1/vaultpkisecrets.args | 1 - .../v1beta1/vaultstaticsecrets.args | 1 - .../hazelcast.com/v1alpha1/maps.args | 1 - .../infinispan.org/v1/infinispans.args | 1 - .../v1alpha1/ipfsclusters.args | 1 - .../v1beta1/cassandradatacenters.args | 1 - .../k8up-io/k8up/k8up.io/v1/archives.args | 1 - .../k8up-io/k8up/k8up.io/v1/backups.args | 1 - .../k8up-io/k8up/k8up.io/v1/checks.args | 1 - .../k8up-io/k8up/k8up.io/v1/prunes.args | 1 - .../k8up-io/k8up/k8up.io/v1/restores.args | 1 - .../k8up-io/k8up/k8up.io/v1/schedules.args | 1 - .../v1alpha1/multiclusterservices.args | 1 - .../v1alpha1/clusteroverridepolicies.args | 1 - .../v1alpha1/overridepolicies.args | 1 - .../v1alpha1/clusterresourcebindings.args | 1 - .../v1alpha1/resourcebindings.args | 1 - .../v1alpha2/clusterresourcebindings.args | 1 - .../v1alpha2/resourcebindings.args | 1 - .../clustertriggerauthentications.args | 1 - .../v1alpha1/triggerauthentications.args | 1 - .../v1beta1/kogitobuilds.args | 1 - .../v1beta1/kogitoinfras.args | 1 - .../v1beta1/kogitoruntimes.args | 1 - .../v1beta1/kogitosupportingservices.args | 1 - .../rules.kubeedge.io/v1/ruleendpoints.args | 1 - .../api.kubemod.io/v1beta1/modrules.args | 1 - .../v1alpha1/volumegroupsnapshotcontents.args | 1 - .../v1/volumesnapshotcontents.args | 1 - .../v1beta1/volumesnapshotcontents.args | 1 - .../v1alpha3/vsphereclusters.args | 1 - .../v1alpha3/vspherefailuredomains.args | 1 - .../v1alpha4/vsphereclusters.args | 1 - .../v1alpha4/vsphereclustertemplates.args | 1 - .../v1alpha4/vspherefailuredomains.args | 1 - .../v1beta1/vsphereclusters.args | 1 - .../v1beta1/vsphereclustertemplates.args | 1 - .../v1beta1/vspherefailuredomains.args | 1 - .../v1alpha3/clusterresourcesetbindings.args | 1 - .../v1alpha3/clusterresourcesets.args | 1 - .../v1alpha4/clusterresourcesetbindings.args | 1 - .../v1alpha4/clusterresourcesets.args | 1 - .../v1beta1/clusterresourcesetbindings.args | 1 - .../v1beta1/clusterresourcesets.args | 1 - .../v1/gatewayclasses.args | 1 - .../v1/gateways.args | 1 - .../v1/grpcroutes.args | 1 - .../v1/httproutes.args | 1 - .../v1alpha2/grpcroutes.args | 1 - .../v1alpha2/tcproutes.args | 1 - .../v1alpha2/tlsroutes.args | 1 - .../v1alpha2/udproutes.args | 1 - .../v1beta1/gatewayclasses.args | 1 - .../v1beta1/gateways.args | 1 - .../v1beta1/httproutes.args | 1 - .../v1alpha2/hierarchyconfigurations.args | 1 - .../v1alpha2/hncconfigurations.args | 1 - .../jobset.x-k8s.io/v1alpha2/jobsets.args | 1 - .../v1beta2/preflightvalidations.args | 1 - .../v1beta1/admissionchecks.args | 1 - .../kueue.x-k8s.io/v1beta1/clusterqueues.args | 1 - .../kueue.x-k8s.io/v1beta1/localqueues.args | 1 - .../kueue.x-k8s.io/v1beta1/workloads.args | 1 - .../v1alpha1/serviceexports.args | 1 - .../v1alpha1/serviceimports.args | 1 - .../v1alpha1/adminnetworkpolicies.args | 1 - .../baselineadminnetworkpolicies.args | 1 - .../v1/nodefeaturediscoveries.args | 1 - .../v1alpha1/profilebindings.args | 1 - .../v1alpha1/profilerecordings.args | 1 - .../securityprofilesoperatordaemons.args | 1 - .../v1alpha2/rawselinuxprofiles.args | 1 - .../v1beta1/seccompprofiles.args | 1 - .../v1/verticalpodautoscalers.args | 1 - .../tests.testkube.io/v1/testexecutions.args | 1 - .../v1/testsuiteexecutions.args | 1 - .../tests.testkube.io/v1/testtriggers.args | 1 - .../v1beta1/networkmaps.args | 1 - .../v1alpha1/clusteroverridepolicies.args | 1 - .../v1alpha1/clusterpropagationpolicies.args | 1 - .../v1alpha1/overridepolicies.args | 1 - .../v1alpha1/propagationpolicies.args | 1 - .../kuma.io/v1alpha1/containerpatches.args | 1 - .../kuma/kuma.io/v1alpha1/meshaccesslogs.args | 1 - .../v1alpha1/meshgatewayinstances.args | 1 - .../kuma/kuma.io/v1alpha1/meshhttproutes.args | 1 - .../v1alpha1/meshloadbalancingstrategies.args | 1 - .../kuma.io/v1alpha1/meshproxypatches.args | 1 - .../kuma/kuma.io/v1alpha1/meshretries.args | 1 - .../kuma/kuma.io/v1alpha1/meshtraces.args | 1 - .../kyverno.io/v1/clusterpolicies.args | 1 - .../kyverno/kyverno.io/v1/policies.args | 1 - .../kyverno.io/v1alpha2/cleanuppolicies.args | 1 - .../v1alpha2/clustercleanuppolicies.args | 1 - .../kyverno.io/v2/cleanuppolicies.args | 1 - .../kyverno.io/v2/clustercleanuppolicies.args | 1 - .../kyverno.io/v2/policyexceptions.args | 1 - .../kyverno.io/v2alpha1/cleanuppolicies.args | 1 - .../v2alpha1/clustercleanuppolicies.args | 1 - .../kyverno.io/v2alpha1/policyexceptions.args | 1 - .../kyverno.io/v2beta1/cleanuppolicies.args | 1 - .../v2beta1/clustercleanuppolicies.args | 1 - .../kyverno.io/v2beta1/clusterpolicies.args | 1 - .../kyverno/kyverno.io/v2beta1/policies.args | 1 - .../kyverno.io/v2beta1/policyexceptions.args | 1 - .../stunner/stunner.l7mp.io/v1/udproutes.args | 1 - .../k8s.mariadb.com/v1alpha1/mariadbs.args | 1 - .../k8s.mariadb.com/v1alpha1/maxscales.args | 1 - .../mariadb.mmontes.io/v1alpha1/backups.args | 1 - .../v1alpha1/connections.args | 1 - .../v1alpha1/databases.args | 1 - .../mariadb.mmontes.io/v1alpha1/grants.args | 1 - .../mariadb.mmontes.io/v1alpha1/mariadbs.args | 1 - .../mariadb.mmontes.io/v1alpha1/restores.args | 1 - .../mariadb.mmontes.io/v1alpha1/sqljobs.args | 1 - .../mariadb.mmontes.io/v1alpha1/users.args | 1 - .../v1alpha1/hostfirmwaresettings.args | 1 - .../v1alpha1/preprovisioningimages.args | 1 - .../v1alpha1/operatorconfigs.args | 1 - .../v1alpha1/flowcollectors.args | 1 - .../v1beta1/flowcollectors.args | 1 - .../v1beta2/flowcollectors.args | 1 - .../v1alpha1/nginxgateways.args | 1 - .../v1alpha1/observabilitypolicies.args | 1 - .../v1/clustermanagers.args | 1 - .../v1/klusterlets.args | 1 - .../v1alpha1/featureflagconfigurations.args | 1 - .../v1alpha2/featureflagconfigurations.args | 1 - .../hive.openshift.io/v1/hiveconfigs.args | 1 - .../v1alpha1/clustersyncs.args | 1 - .../v1alpha1/upgradeconfigs.args | 1 - .../v1alpha2/kafkaserverconfigs.args | 1 - .../v1alpha3/kafkaserverconfigs.args | 1 - .../v1alpha1/backupstorages.args | 1 - .../v1alpha1/databaseclusters.args | 1 - .../v1alpha1/monitoringconfigs.args | 1 - .../v2/perconapgclusters.args | 1 - .../v1alpha1/perconaservermysqls.args | 1 - .../v1/perconaxtradbclusterbackups.args | 1 - .../v1/perconaxtradbclusterrestores.args | 1 - .../projectcontour.io/v1/httpproxies.args | 1 - .../v1/tlscertificatedelegations.args | 1 - .../v1alpha1/contourconfigurations.args | 1 - .../v1alpha1/contourdeployments.args | 1 - .../v1alpha1/extensionservices.args | 1 - .../v1/prometheuses.args | 1 - .../v1/thanosrulers.args | 1 - .../v1alpha1/alertmanagerconfigs.args | 1 - .../v1alpha1/prometheusagents.args | 1 - .../v1alpha1/scrapeconfigs.args | 1 - .../v1beta1/alertmanagerconfigs.args | 1 - .../v1beta2/pulpbackups.args | 1 - .../v1beta2/pulprestores.args | 1 - .../kuberay/ray.io/v1/rayclusters.args | 1 - .../kuberay/ray.io/v1/rayjobs.args | 1 - .../kuberay/ray.io/v1/rayservices.args | 1 - .../kuberay/ray.io/v1alpha1/rayclusters.args | 1 - .../kuberay/ray.io/v1alpha1/rayjobs.args | 1 - .../kuberay/ray.io/v1alpha1/rayservices.args | 1 - .../v1alpha1/keepalivedgroups.args | 1 - .../v1alpha1/namespaceconfigs.args | 1 - .../v1alpha1/userconfigs.args | 1 - .../v1alpha1/servicebindings.args | 1 - .../v1alpha3/servicebindings.args | 1 - .../v1beta1/servicebindings.args | 1 - .../v1/cephbucketnotifications.args | 1 - .../v1/scyllaclusters.args | 1 - .../v1alpha1/shipwrightbuilds.args | 1 - .../v1alpha1/virtualmachines.args | 1 - .../v1alpha1/clustertemplateinstances.args | 1 - .../kafka.strimzi.io/v1alpha1/kafkausers.args | 1 - .../kafka.strimzi.io/v1beta1/kafkausers.args | 1 - .../v1beta2/kafkabridges.args | 1 - .../v1beta2/kafkaconnects.args | 1 - .../v1beta2/kafkamirrormakers.args | 1 - .../kafka.strimzi.io/v1beta2/kafkas.args | 1 - .../kafka.strimzi.io/v1beta2/kafkausers.args | 1 - .../v1/amazoncloudintegrations.args | 1 - .../operator.tigera.io/v1/apiservers.args | 1 - .../v1/applicationlayers.args | 1 - .../v1/authentications.args | 1 - .../operator.tigera.io/v1/compliances.args | 1 - .../operator.tigera.io/v1/egressgateways.args | 1 - .../operator.tigera.io/v1/installations.args | 1 - .../v1/intrusiondetections.args | 1 - .../operator.tigera.io/v1/logcollectors.args | 1 - .../operator.tigera.io/v1/logstorages.args | 1 - .../v1/managementclusterconnections.args | 1 - .../operator.tigera.io/v1/managers.args | 1 - .../operator.tigera.io/v1/monitors.args | 1 - .../operator.tigera.io/v1/packetcaptures.args | 1 - .../v1/policyrecommendations.args | 1 - .../operator.tigera.io/v1/tenants.args | 1 - .../v1/tlspassthroughroutes.args | 1 - .../v1/tlsterminatedroutes.args | 1 - .../traefik.io/v1alpha1/ingressroutes.args | 1 - .../velero/velero.io/v1/downloadrequests.args | 1 - .../v1alpha1/terraforms.args | 1 - .../v1alpha2/terraforms.args | 1 - .../wildfly.org/v1alpha1/wildflyservers.args | 1 - .../v1alpha1/clusterproperties.rs | 2 +- .../src/acid_zalan_do/v1/postgresteams.rs | 2 +- .../src/acme_cert_manager_io/v1/challenges.rs | 152 +- .../src/acme_cert_manager_io/v1/orders.rs | 2 +- .../v1alpha1/certificateauthorities.rs | 2 +- .../certificateauthorityactivations.rs | 2 +- .../v1alpha1/certificates.rs | 2 +- .../v1alpha1/autoscalinglisteners.rs | 2 +- .../v1alpha1/autoscalingrunnersets.rs | 2 +- .../v1alpha1/ephemeralrunnersets.rs | 2 +- .../v1alpha1/horizontalrunnerautoscalers.rs | 2 +- .../v1alpha1/runnerdeployments.rs | 2 +- .../v1alpha1/runnerreplicasets.rs | 2 +- .../v1alpha1/runners.rs | 2 +- .../v1alpha1/runnersets.rs | 2 +- .../v1alpha3/clusterresourcesetbindings.rs | 7 +- .../v1alpha3/clusterresourcesets.rs | 11 +- .../v1alpha4/clusterresourcesetbindings.rs | 7 +- .../v1alpha4/clusterresourcesets.rs | 11 +- .../v1beta1/clusterresourcesetbindings.rs | 7 +- .../v1beta1/clusterresourcesets.rs | 11 +- .../agent_k8s_elastic_co/v1alpha1/agents.rs | 2 +- .../v1alpha1/awsdatacenterconfigs.rs | 2 +- .../v1alpha1/awsiamconfigs.rs | 2 +- .../v1alpha1/bundles.rs | 2 +- .../v1alpha1/cloudstackdatacenterconfigs.rs | 2 +- .../v1alpha1/cloudstackmachineconfigs.rs | 2 +- .../v1alpha1/clusters.rs | 2 +- .../v1alpha1/controlplaneupgrades.rs | 2 +- .../v1alpha1/dockerdatacenterconfigs.rs | 2 +- .../v1alpha1/eksareleases.rs | 2 +- .../v1alpha1/fluxconfigs.rs | 2 +- .../v1alpha1/gitopsconfigs.rs | 2 +- .../v1alpha1/machinedeploymentupgrades.rs | 2 +- .../v1alpha1/nodeupgrades.rs | 2 +- .../v1alpha1/nutanixdatacenterconfigs.rs | 2 +- .../v1alpha1/nutanixmachineconfigs.rs | 12 +- .../v1alpha1/oidcconfigs.rs | 2 +- .../v1alpha1/snowdatacenterconfigs.rs | 2 +- .../v1alpha1/snowippools.rs | 2 +- .../v1alpha1/snowmachineconfigs.rs | 2 +- .../v1alpha1/tinkerbelldatacenterconfigs.rs | 2 +- .../v1alpha1/tinkerbellmachineconfigs.rs | 2 +- .../v1alpha1/tinkerbelltemplateconfigs.rs | 2 +- .../v1alpha1/vspheredatacenterconfigs.rs | 2 +- .../v1alpha1/vspheremachineconfigs.rs | 2 +- .../v1alpha1/apachewebs.rs | 22 +- .../v1/configproviders.rs | 2 +- .../v1/elasticsearches.rs | 2 +- .../src/api_clever_cloud_com/v1/mongodbs.rs | 2 +- .../src/api_clever_cloud_com/v1/mysqls.rs | 2 +- .../api_clever_cloud_com/v1/postgresqls.rs | 2 +- .../src/api_clever_cloud_com/v1/redis.rs | 2 +- .../api_clever_cloud_com/v1beta1/pulsars.rs | 2 +- .../src/api_kubemod_io/v1beta1/modrules.rs | 6 +- .../v1beta1/apimatics.rs | 92 +- .../v1/compositeresourcedefinitions.rs | 2 +- .../v1alpha1/apis.rs | 2 +- .../v1alpha1/authorizers.rs | 2 +- .../v1alpha1/deployments.rs | 2 +- .../v1alpha1/routes.rs | 2 +- .../v1alpha1/stages.rs | 2 +- .../v1alpha1/vpclinks.rs | 2 +- .../v2/apisixclusterconfigs.rs | 2 +- .../apisix_apache_org/v2/apisixconsumers.rs | 2 +- .../apisix_apache_org/v2/apisixglobalrules.rs | 2 +- .../v2/apisixpluginconfigs.rs | 2 +- .../src/apisix_apache_org/v2/apisixroutes.rs | 37 +- .../src/apisix_apache_org/v2/apisixtlses.rs | 13 +- .../apisix_apache_org/v2/apisixupstreams.rs | 51 +- .../src/apm_k8s_elastic_co/v1/apmservers.rs | 2 +- .../apm_k8s_elastic_co/v1beta1/apmservers.rs | 2 +- .../app_kiegroup_org/v1beta1/kogitobuilds.rs | 26 +- .../app_kiegroup_org/v1beta1/kogitoinfras.rs | 41 +- .../v1beta1/kogitoruntimes.rs | 69 +- .../v1beta1/kogitosupportingservices.rs | 66 +- .../v1alpha1/akkaclusters.rs | 2 +- .../v1/redisenterpriseclusters.rs | 1179 +++++------ .../redisenterpriseactiveactivedatabases.rs | 2 +- .../v1alpha1/redisenterpriseclusters.rs | 1179 +++++------ .../v1alpha1/redisenterprisedatabases.rs | 2 +- .../v1alpha1/redisenterpriseremoteclusters.rs | 2 +- .../app_terraform_io/v1alpha2/agentpools.rs | 2 +- .../src/app_terraform_io/v1alpha2/modules.rs | 2 +- .../app_terraform_io/v1alpha2/workspaces.rs | 55 +- .../v1alpha1/accesslogpolicies.rs | 9 +- .../v1alpha1/iamauthpolicies.rs | 9 +- .../v1alpha1/serviceexports.rs | 4 +- .../v1alpha1/serviceimports.rs | 12 +- .../v1alpha1/targetgrouppolicies.rs | 11 +- .../v1alpha1/vpcassociationpolicies.rs | 9 +- .../v1alpha1/scalabletargets.rs | 2 +- .../v1alpha1/scalingpolicies.rs | 2 +- .../appmesh_k8s_aws/v1beta2/backendgroups.rs | 2 +- .../appmesh_k8s_aws/v1beta2/gatewayroutes.rs | 2 +- .../src/appmesh_k8s_aws/v1beta2/meshes.rs | 20 +- .../v1beta2/virtualgateways.rs | 102 +- .../appmesh_k8s_aws/v1beta2/virtualnodes.rs | 184 +- .../appmesh_k8s_aws/v1beta2/virtualrouters.rs | 150 +- .../v1beta2/virtualservices.rs | 2 +- .../appprotect_f5_com/v1beta1/aplogconfs.rs | 2 +- .../appprotect_f5_com/v1beta1/apusersigs.rs | 2 +- .../v1beta1/apdoslogconfs.rs | 2 +- .../v1beta1/apdospolicies.rs | 2 +- .../v1beta1/dosprotectedresources.rs | 2 +- .../src/apps_3scale_net/v1alpha1/apicasts.rs | 37 +- .../v1alpha1/apimanagerbackups.rs | 2 +- .../v1alpha1/apimanagerrestores.rs | 2 +- .../apps_3scale_net/v1alpha1/apimanagers.rs | 2 +- .../src/apps_clusternet_io/v1alpha1/bases.rs | 2 +- .../v1alpha1/descriptions.rs | 8 +- .../v1alpha1/feedinventories.rs | 2 +- .../v1alpha1/globalizations.rs | 11 +- .../apps_clusternet_io/v1alpha1/helmcharts.rs | 2 +- .../v1alpha1/helmreleases.rs | 2 +- .../v1alpha1/localizations.rs | 7 +- .../apps_clusternet_io/v1alpha1/manifests.rs | 2 +- .../v1alpha1/subscriptions.rs | 43 +- .../src/apps_emqx_io/v1beta3/emqxbrokers.rs | 2 +- .../apps_emqx_io/v1beta3/emqxenterprises.rs | 2 +- .../src/apps_emqx_io/v1beta3/emqxplugins.rs | 2 +- .../src/apps_emqx_io/v1beta4/emqxbrokers.rs | 2 +- .../apps_emqx_io/v1beta4/emqxenterprises.rs | 2 +- .../src/apps_emqx_io/v1beta4/emqxplugins.rs | 2 +- .../src/apps_emqx_io/v1beta4/rebalances.rs | 2 +- .../src/apps_emqx_io/v2alpha1/emqxes.rs | 1105 +++++----- .../src/apps_emqx_io/v2beta1/emqxes.rs | 1127 +++++------ .../src/apps_emqx_io/v2beta1/rebalances.rs | 2 +- .../src/apps_gitlab_com/v1beta1/gitlabs.rs | 9 +- .../src/apps_gitlab_com/v1beta2/runners.rs | 2 +- .../v1alpha1/backuppolicytemplates.rs | 2 +- .../v1alpha1/clusterdefinitions.rs | 715 +++---- .../apps_kubeblocks_io/v1alpha1/clusters.rs | 682 +++---- .../v1alpha1/clusterversions.rs | 2 +- .../v1alpha1/componentclassdefinitions.rs | 2 +- .../v1alpha1/componentdefinitions.rs | 941 ++++----- .../apps_kubeblocks_io/v1alpha1/components.rs | 2 +- .../v1alpha1/componentversions.rs | 2 +- .../v1alpha1/configconstraints.rs | 42 +- .../v1alpha1/configurations.rs | 21 +- .../v1alpha1/opsdefinitions.rs | 571 +++--- .../v1alpha1/opsrequests.rs | 428 ++-- .../v1alpha1/servicedescriptors.rs | 2 +- .../v1beta1/configconstraints.rs | 36 +- .../src/apps_kubedl_io/v1alpha1/crons.rs | 2 +- .../apps_kubeedge_io/v1alpha1/nodegroups.rs | 2 +- .../src/apps_m88i_io/v1alpha1/nexus.rs | 2 +- .../v1alpha1/clusterimpairments.rs | 2 +- .../v1alpha1/aquastarboards.rs | 2 +- .../v1alpha1/clusterconfigauditreports.rs | 2 +- .../v1alpha1/configauditreports.rs | 2 +- .../src/argoproj_io/v1alpha1/applications.rs | 2 +- .../src/argoproj_io/v1alpha1/appprojects.rs | 2 +- .../src/argoproj_io/v1alpha1/argocdexports.rs | 2 +- .../src/argoproj_io/v1alpha1/argocds.rs | 2 +- .../src/argoproj_io/v1beta1/argocds.rs | 2 +- .../v1/aerospikeclusters.rs | 2 +- .../v1beta1/aerospikeclusters.rs | 2 +- .../src/atlasmap_io/v1alpha1/atlasmaps.rs | 2 +- .../v1alpha1/awsauthsyncconfigs.rs | 2 +- .../authzed_com/v1alpha1/spicedbclusters.rs | 13 +- .../v1alpha1/managedresources.rs | 2 +- .../v1/verticalpodautoscalercheckpoints.rs | 2 +- .../v1/verticalpodautoscalers.rs | 21 +- .../verticalpodautoscalercheckpoints.rs | 2 +- .../v1beta2/verticalpodautoscalers.rs | 2 +- .../v1alpha1/cronfederatedhpas.rs | 2 +- .../v1alpha1/federatedhpas.rs | 2 +- .../src/awx_ansible_com/v1beta1/awxbackups.rs | 2 +- .../awx_ansible_com/v1beta1/awxrestores.rs | 2 +- .../src/awx_ansible_com/v1beta1/awxs.rs | 2 +- .../v1alpha1/apimgmtapis.rs | 2 +- .../v1alpha1/apimservices.rs | 2 +- .../v1alpha1/appinsights.rs | 2 +- .../v1alpha1/appinsightsapikeys.rs | 2 +- .../v1alpha1/azureloadbalancers.rs | 2 +- .../v1alpha1/azurenetworkinterfaces.rs | 2 +- .../v1alpha1/azurepublicipaddresses.rs | 2 +- .../v1alpha1/azuresqlactions.rs | 2 +- .../v1alpha1/azuresqldatabases.rs | 2 +- .../v1alpha1/azuresqlfailovergroups.rs | 2 +- .../v1alpha1/azuresqlfirewallrules.rs | 2 +- .../v1alpha1/azuresqlmanagedusers.rs | 2 +- .../v1alpha1/azuresqlservers.rs | 2 +- .../v1alpha1/azuresqlusers.rs | 2 +- .../v1alpha1/azuresqlvnetrules.rs | 2 +- .../v1alpha1/azurevirtualmachineextensions.rs | 2 +- .../v1alpha1/azurevirtualmachines.rs | 2 +- .../v1alpha1/azurevmscalesets.rs | 2 +- .../v1alpha1/blobcontainers.rs | 2 +- .../v1alpha1/consumergroups.rs | 2 +- .../azure_microsoft_com/v1alpha1/cosmosdbs.rs | 2 +- .../v1alpha1/eventhubnamespaces.rs | 2 +- .../azure_microsoft_com/v1alpha1/eventhubs.rs | 2 +- .../v1alpha1/keyvaultkeys.rs | 2 +- .../azure_microsoft_com/v1alpha1/keyvaults.rs | 2 +- .../v1alpha1/mysqlaadusers.rs | 2 +- .../v1alpha1/mysqldatabases.rs | 2 +- .../v1alpha1/mysqlfirewallrules.rs | 2 +- .../v1alpha1/mysqlserveradministrators.rs | 4 +- .../v1alpha1/mysqlservers.rs | 2 +- .../v1alpha1/mysqlusers.rs | 2 +- .../v1alpha1/mysqlvnetrules.rs | 2 +- .../v1alpha1/postgresqldatabases.rs | 2 +- .../v1alpha1/postgresqlfirewallrules.rs | 2 +- .../v1alpha1/postgresqlservers.rs | 2 +- .../v1alpha1/postgresqlusers.rs | 2 +- .../v1alpha1/postgresqlvnetrules.rs | 2 +- .../v1alpha1/rediscacheactions.rs | 4 +- .../v1alpha1/rediscachefirewallrules.rs | 2 +- .../v1alpha1/resourcegroups.rs | 2 +- .../v1alpha1/storageaccounts.rs | 2 +- .../v1alpha1/virtualnetworks.rs | 2 +- .../v1alpha2/blobcontainers.rs | 2 +- .../v1alpha2/mysqlaadusers.rs | 2 +- .../v1alpha2/mysqlservers.rs | 2 +- .../v1alpha2/mysqlusers.rs | 2 +- .../v1alpha2/postgresqlservers.rs | 2 +- .../v1beta1/azuresqldatabases.rs | 2 +- .../v1beta1/azuresqlfailovergroups.rs | 4 +- .../v1beta1/azuresqlfirewallrules.rs | 2 +- .../v1beta1/azuresqlservers.rs | 2 +- .../src/b3scale_infra_run/v1/bbbfrontends.rs | 15 +- .../src/b3scale_io/v1/bbbfrontends.rs | 2 +- .../src/batch_volcano_sh/v1alpha1/jobs.rs | 2 +- .../src/beat_k8s_elastic_co/v1beta1/beats.rs | 2 +- .../beegfs_csi_netapp_com/v1/beegfsdrivers.rs | 91 +- .../v1alpha1/bindablekinds.rs | 2 +- .../v1alpha1/servicebindings.rs | 19 +- .../src/bitnami_com/v1alpha1/sealedsecrets.rs | 2 +- .../src/bmc_tinkerbell_org/v1alpha1/jobs.rs | 2 +- .../bmc_tinkerbell_org/v1alpha1/machines.rs | 2 +- .../src/bmc_tinkerbell_org/v1alpha1/tasks.rs | 2 +- .../v1/dynamicresourcelifecycles.rs | 2 +- .../src/boskos_k8s_io/v1/resources.rs | 2 +- .../src/bpfman_io/v1alpha1/bpfprograms.rs | 7 +- .../src/bpfman_io/v1alpha1/fentryprograms.rs | 2 +- .../src/bpfman_io/v1alpha1/fexitprograms.rs | 2 +- .../src/bpfman_io/v1alpha1/kprobeprograms.rs | 21 +- .../src/bpfman_io/v1alpha1/tcprograms.rs | 20 +- .../bpfman_io/v1alpha1/tracepointprograms.rs | 21 +- .../src/bpfman_io/v1alpha1/uprobeprograms.rs | 27 +- .../src/bpfman_io/v1alpha1/xdpprograms.rs | 23 +- .../src/bus_volcano_sh/v1alpha1/commands.rs | 2 +- .../cache_kubedl_io/v1alpha1/cachebackends.rs | 2 +- .../v1alpha1/varnishclusters.rs | 2 +- .../src/camel_apache_org/v1/builds.rs | 2 +- .../src/camel_apache_org/v1/camelcatalogs.rs | 2 +- .../src/camel_apache_org/v1/kamelets.rs | 2 +- .../src/camel_apache_org/v1alpha1/kamelets.rs | 2 +- .../v1alpha1/tenants.rs | 2 +- .../v1beta1/activedocs.rs | 2 +- .../v1beta1/applications.rs | 2 +- .../v1beta1/backends.rs | 13 +- .../v1beta1/custompolicydefinitions.rs | 2 +- .../v1beta1/developeraccounts.rs | 2 +- .../v1beta1/developerusers.rs | 2 +- .../v1beta1/openapis.rs | 25 +- .../v1beta1/products.rs | 77 +- .../v1beta1/proxyconfigpromotes.rs | 2 +- .../v1alpha1/capsuleconfigurations.rs | 2 +- .../capsule_clastix_io/v1alpha1/tenants.rs | 70 +- .../src/capsule_clastix_io/v1beta1/tenants.rs | 91 +- .../v1beta2/capsuleconfigurations.rs | 2 +- .../src/capsule_clastix_io/v1beta2/tenants.rs | 109 +- .../v1beta1/cassandradatacenters.rs | 826 ++++---- .../v1/cephblockpoolradosnamespaces.rs | 2 +- .../src/ceph_rook_io/v1/cephblockpools.rs | 2 +- .../v1/cephbucketnotifications.rs | 13 +- .../src/ceph_rook_io/v1/cephbuckettopics.rs | 2 +- .../src/ceph_rook_io/v1/cephclients.rs | 2 +- .../src/ceph_rook_io/v1/cephcosidrivers.rs | 2 +- .../ceph_rook_io/v1/cephfilesystemmirrors.rs | 2 +- .../src/ceph_rook_io/v1/cephfilesystems.rs | 2 +- .../v1/cephfilesystemsubvolumegroups.rs | 2 +- .../src/ceph_rook_io/v1/cephnfses.rs | 2 +- .../src/ceph_rook_io/v1/cephobjectrealms.rs | 2 +- .../src/ceph_rook_io/v1/cephobjectstores.rs | 2 +- .../ceph_rook_io/v1/cephobjectstoreusers.rs | 2 +- .../ceph_rook_io/v1/cephobjectzonegroups.rs | 2 +- .../src/ceph_rook_io/v1/cephobjectzones.rs | 2 +- .../src/ceph_rook_io/v1/cephrbdmirrors.rs | 2 +- .../cert_manager_io/v1/certificaterequests.rs | 9 +- .../src/cert_manager_io/v1/certificates.rs | 33 +- .../src/cert_manager_io/v1/clusterissuers.rs | 199 +- .../src/cert_manager_io/v1/issuers.rs | 199 +- .../v1alpha1/configurations.rs | 2 +- .../src/chainsaw_kyverno_io/v1alpha1/tests.rs | 2 +- .../v1alpha2/configurations.rs | 2 +- .../src/chaos_mesh_org/v1alpha1/awschaos.rs | 12 +- .../src/chaos_mesh_org/v1alpha1/azurechaos.rs | 12 +- .../src/chaos_mesh_org/v1alpha1/blockchaos.rs | 18 +- .../src/chaos_mesh_org/v1alpha1/dnschaos.rs | 16 +- .../src/chaos_mesh_org/v1alpha1/gcpchaos.rs | 12 +- .../src/chaos_mesh_org/v1alpha1/httpchaos.rs | 24 +- .../src/chaos_mesh_org/v1alpha1/iochaos.rs | 26 +- .../src/chaos_mesh_org/v1alpha1/jvmchaos.rs | 16 +- .../chaos_mesh_org/v1alpha1/kernelchaos.rs | 20 +- .../chaos_mesh_org/v1alpha1/networkchaos.rs | 34 +- .../v1alpha1/physicalmachinechaos.rs | 102 +- .../v1alpha1/physicalmachines.rs | 2 +- .../src/chaos_mesh_org/v1alpha1/podchaos.rs | 16 +- .../chaos_mesh_org/v1alpha1/podhttpchaos.rs | 2 +- .../src/chaos_mesh_org/v1alpha1/podiochaos.rs | 2 +- .../v1alpha1/podnetworkchaos.rs | 2 +- .../chaos_mesh_org/v1alpha1/remoteclusters.rs | 2 +- .../src/chaos_mesh_org/v1alpha1/schedules.rs | 781 +++---- .../chaos_mesh_org/v1alpha1/statuschecks.rs | 12 +- .../chaos_mesh_org/v1alpha1/stresschaos.rs | 24 +- .../src/chaos_mesh_org/v1alpha1/timechaos.rs | 16 +- .../chaos_mesh_org/v1alpha1/workflownodes.rs | 1203 +++++------ .../src/chaos_mesh_org/v1alpha1/workflows.rs | 601 +++--- .../src/chaosblade_io/v1alpha1/chaosblades.rs | 2 +- .../src/charts_amd_com/v1alpha1/amdgpus.rs | 2 +- .../v1alpha1/flagsmiths.rs | 2 +- .../v1alpha1/snykmonitors.rs | 2 +- .../src/charts_opdev_io/v1alpha1/synapses.rs | 2 +- .../v1alpha1/cockroachdbs.rs | 2 +- .../v1alpha1/kubernetesimagepullers.rs | 2 +- .../v1/exitnodeprovisioners.rs | 2 +- .../src/chisel_operator_io/v1/exitnodes.rs | 2 +- .../v2/ciliumclusterwidenetworkpolicies.rs | 337 ++-- .../v2/ciliumegressgatewaypolicies.rs | 15 +- .../src/cilium_io/v2/ciliumendpoints.rs | 2 +- .../cilium_io/v2/ciliumexternalworkloads.rs | 2 +- .../src/cilium_io/v2/ciliumidentities.rs | 2 +- .../v2/ciliumlocalredirectpolicies.rs | 17 +- .../src/cilium_io/v2/ciliumnetworkpolicies.rs | 337 ++-- .../src/cilium_io/v2/ciliumnodes.rs | 2 +- .../v2alpha1/ciliumbgppeeringpolicies.rs | 21 +- .../cilium_io/v2alpha1/ciliumcidrgroups.rs | 2 +- .../v2alpha1/ciliumendpointslices.rs | 2 +- .../v2alpha1/ciliuml2announcementpolicies.rs | 11 +- .../v2alpha1/ciliumloadbalancerippools.rs | 13 +- .../cilium_io/v2alpha1/ciliumnodeconfigs.rs | 2 +- .../cilium_io/v2alpha1/ciliumpodippools.rs | 2 +- .../src/claudie_io/v1beta1/inputmanifests.rs | 43 +- .../v1alpha1/stacks.rs | 2 +- .../v1alpha1/cachepolicies.rs | 2 +- .../v1alpha1/distributions.rs | 2 +- .../v1alpha1/functions.rs | 2 +- .../v1alpha1/originrequestpolicies.rs | 2 +- .../v1alpha1/responseheaderspolicies.rs | 2 +- .../v1alpha1/eventdatastores.rs | 2 +- .../v1alpha1/trails.rs | 2 +- .../v1alpha1/amazoncloudwatchagents.rs | 2 +- .../v1alpha1/instrumentations.rs | 2 +- .../v1alpha1/metricalarms.rs | 2 +- .../v1alpha1/loggroups.rs | 2 +- .../v1alpha2/clustersyncresources.rs | 2 +- .../v1alpha2/pediaclusters.rs | 15 +- .../cluster_ipfs_io/v1alpha1/circuitrelays.rs | 2 +- .../cluster_ipfs_io/v1alpha1/ipfsclusters.rs | 15 +- .../src/cluster_x_k8s_io/v1alpha3/clusters.rs | 2 +- .../v1alpha3/machinedeployments.rs | 2 +- .../v1alpha3/machinehealthchecks.rs | 2 +- .../cluster_x_k8s_io/v1alpha3/machinepools.rs | 2 +- .../src/cluster_x_k8s_io/v1alpha3/machines.rs | 2 +- .../cluster_x_k8s_io/v1alpha3/machinesets.rs | 2 +- .../v1alpha4/clusterclasses.rs | 2 +- .../src/cluster_x_k8s_io/v1alpha4/clusters.rs | 2 +- .../v1alpha4/machinedeployments.rs | 2 +- .../v1alpha4/machinehealthchecks.rs | 2 +- .../cluster_x_k8s_io/v1alpha4/machinepools.rs | 2 +- .../src/cluster_x_k8s_io/v1alpha4/machines.rs | 2 +- .../cluster_x_k8s_io/v1alpha4/machinesets.rs | 2 +- .../v1beta1/clusterclasses.rs | 2 +- .../src/cluster_x_k8s_io/v1beta1/clusters.rs | 2 +- .../v1beta1/machinedeployments.rs | 2 +- .../v1beta1/machinehealthchecks.rs | 2 +- .../cluster_x_k8s_io/v1beta1/machinepools.rs | 2 +- .../src/cluster_x_k8s_io/v1beta1/machines.rs | 2 +- .../cluster_x_k8s_io/v1beta1/machinesets.rs | 2 +- .../v1beta1/clusterregistrationrequests.rs | 2 +- .../v1beta1/managedclusters.rs | 12 +- .../v1alpha1/clustertemplateinstances.rs | 19 +- .../v1alpha1/clustertemplatequotas.rs | 2 +- .../v1alpha1/clustertemplates.rs | 2 +- .../v1alpha1/clustertemplatesetup.rs | 2 +- .../v1alpha1/config.rs | 2 +- .../v1beta1/ccruntimes.rs | 450 ++--- .../config_gatekeeper_sh/v1alpha1/configs.rs | 2 +- .../config_grafana_com/v1/projectconfigs.rs | 2 +- .../resourceinterpretercustomizations.rs | 2 +- ...esourceinterpreterwebhookconfigurations.rs | 2 +- .../v1alpha1/clustercolocationprofiles.rs | 2 +- .../v1/operatorconfigs.rs | 2 +- .../v1alpha1/cassandratasks.rs | 2 +- .../v1alpha1/clustercollectedstatuses.rs | 2 +- .../v1alpha1/clusterfederatedobjects.rs | 2 +- .../v1alpha1/clusteroverridepolicies.rs | 29 +- .../v1alpha1/clusterpropagatedversions.rs | 2 +- .../v1alpha1/clusterpropagationpolicies.rs | 24 +- .../v1alpha1/collectedstatuses.rs | 2 +- .../v1alpha1/federatedclusters.rs | 2 +- .../v1alpha1/federatedobjects.rs | 2 +- .../v1alpha1/federatedtypeconfigs.rs | 2 +- .../v1alpha1/overridepolicies.rs | 29 +- .../v1alpha1/propagatedversions.rs | 2 +- .../v1alpha1/propagationpolicies.rs | 24 +- .../schedulerpluginwebhookconfigurations.rs | 2 +- .../v1alpha1/schedulingprofiles.rs | 2 +- .../v1alpha1/atests.rs | 2 +- .../v1alpha1/featureflagconfigurations.rs | 27 +- .../v1alpha2/featureflagconfigurations.rs | 35 +- .../couchbase_com/v2/couchbaseautoscalers.rs | 2 +- .../v2/couchbasebackuprestores.rs | 2 +- .../src/couchbase_com/v2/couchbasebackups.rs | 2 +- .../src/couchbase_com/v2/couchbasebuckets.rs | 2 +- .../src/couchbase_com/v2/couchbaseclusters.rs | 301 +-- .../v2/couchbasecollectiongroups.rs | 2 +- .../couchbase_com/v2/couchbasecollections.rs | 2 +- .../v2/couchbaseephemeralbuckets.rs | 2 +- .../src/couchbase_com/v2/couchbasegroups.rs | 29 +- .../v2/couchbasememcachedbuckets.rs | 2 +- .../v2/couchbasemigrationreplications.rs | 2 +- .../couchbase_com/v2/couchbasereplications.rs | 2 +- .../couchbase_com/v2/couchbaserolebindings.rs | 2 +- .../couchbase_com/v2/couchbasescopegroups.rs | 2 +- .../src/couchbase_com/v2/couchbasescopes.rs | 2 +- .../src/couchbase_com/v2/couchbaseusers.rs | 2 +- .../v1alpha1/sopssecrets.rs | 2 +- .../v1alpha1/operatorconfigs.rs | 7 +- .../v1/bgpconfigurations.rs | 2 +- .../crd_projectcalico_org/v1/bgpfilters.rs | 2 +- .../src/crd_projectcalico_org/v1/bgppeers.rs | 2 +- .../v1/blockaffinities.rs | 2 +- .../v1/caliconodestatuses.rs | 2 +- .../v1/clusterinformations.rs | 2 +- .../v1/globalnetworksets.rs | 2 +- .../crd_projectcalico_org/v1/hostendpoints.rs | 2 +- .../crd_projectcalico_org/v1/ipamblocks.rs | 2 +- .../crd_projectcalico_org/v1/ipamconfigs.rs | 2 +- .../crd_projectcalico_org/v1/ipamhandles.rs | 2 +- .../src/crd_projectcalico_org/v1/ippools.rs | 2 +- .../v1/ipreservations.rs | 2 +- .../v1/kubecontrollersconfigurations.rs | 2 +- .../crd_projectcalico_org/v1/networksets.rs | 2 +- .../data_fluid_io/v1alpha1/alluxioruntimes.rs | 365 ++-- .../src/data_fluid_io/v1alpha1/databackups.rs | 35 +- .../src/data_fluid_io/v1alpha1/dataloads.rs | 113 +- .../src/data_fluid_io/v1alpha1/datasets.rs | 2 +- .../data_fluid_io/v1alpha1/goosefsruntimes.rs | 211 +- .../data_fluid_io/v1alpha1/jindoruntimes.rs | 327 +-- .../data_fluid_io/v1alpha1/juicefsruntimes.rs | 393 ++-- .../v1alpha1/thinruntimeprofiles.rs | 2 +- .../data_fluid_io/v1alpha1/thinruntimes.rs | 385 ++-- .../v1alpha4/databases.rs | 2 +- .../v1/redisfailovers.rs | 2 +- .../datadoghq_com/v1alpha1/datadogagents.rs | 2 +- .../datadoghq_com/v1alpha1/datadogmetrics.rs | 2 +- .../datadoghq_com/v1alpha1/datadogmonitors.rs | 2 +- .../src/datadoghq_com/v1alpha1/datadogslos.rs | 11 +- .../datadoghq_com/v2alpha1/datadogagents.rs | 465 ++--- .../v1alpha1/actionsets.rs | 2 +- .../v1alpha1/backuppolicies.rs | 89 +- .../v1alpha1/backuprepos.rs | 8 +- .../v1alpha1/backups.rs | 101 +- .../v1alpha1/backupschedules.rs | 2 +- .../v1alpha1/restores.rs | 191 +- .../src/designer_kaoto_io/v1alpha1/kaotoes.rs | 9 +- .../v1alpha2/devicemodels.rs | 2 +- .../devices_kubeedge_io/v1alpha2/devices.rs | 2 +- .../v1beta1/devicemodels.rs | 2 +- .../devices_kubeedge_io/v1beta1/devices.rs | 2 +- .../v1alpha1/releasercontrollers.rs | 2 +- .../v1alpha1/releasers.rs | 2 +- .../src/dex_coreos_com/v1/authcodes.rs | 2 +- .../src/dex_coreos_com/v1/authrequests.rs | 2 +- .../src/dex_coreos_com/v1/connectors.rs | 2 +- .../src/dex_coreos_com/v1/devicerequests.rs | 2 +- .../src/dex_coreos_com/v1/devicetokens.rs | 2 +- .../src/dex_coreos_com/v1/oauth2clients.rs | 2 +- .../dex_coreos_com/v1/offlinesessionses.rs | 2 +- .../src/dex_coreos_com/v1/passwords.rs | 2 +- .../src/dex_coreos_com/v1/refreshtokens.rs | 2 +- .../src/dex_coreos_com/v1/signingkeies.rs | 2 +- .../v1alpha1/dexidentityproviders.rs | 96 +- .../v1alpha1/dexoauth2clients.rs | 2 +- .../dex_gpu_ninja_com/v1alpha1/dexusers.rs | 2 +- .../src/digitalis_io/v1/valssecrets.rs | 2 +- .../src/digitalis_io/v1beta1/dbsecrets.rs | 2 +- .../v1alpha1/dbclusters.rs | 2 +- .../v1alpha1/dbinstances.rs | 2 +- .../v1alpha1/dbsubnetgroups.rs | 2 +- .../src/druid_apache_org/v1alpha1/druids.rs | 865 ++++---- .../v1alpha1/backups.rs | 2 +- .../v1alpha1/globaltables.rs | 2 +- .../v1alpha1/tables.rs | 2 +- .../v1alpha1/dhcpoptions.rs | 2 +- .../v1alpha1/elasticipaddresses.rs | 2 +- .../v1alpha1/instances.rs | 2 +- .../v1alpha1/internetgateways.rs | 2 +- .../v1alpha1/natgateways.rs | 2 +- .../v1alpha1/routetables.rs | 2 +- .../v1alpha1/securitygroups.rs | 2 +- .../ec2_services_k8s_aws/v1alpha1/subnets.rs | 2 +- .../v1alpha1/transitgateways.rs | 2 +- .../v1alpha1/vpcendpoints.rs | 2 +- .../src/ec2_services_k8s_aws/v1alpha1/vpcs.rs | 2 +- .../v1alpha1/pullthroughcacherules.rs | 2 +- .../v1alpha1/repositories.rs | 2 +- .../v1alpha1/accesspoints.rs | 2 +- .../v1alpha1/filesystems.rs | 2 +- .../v1alpha1/mounttargets.rs | 2 +- .../eks_services_k8s_aws/v1alpha1/addons.rs | 2 +- .../eks_services_k8s_aws/v1alpha1/clusters.rs | 2 +- .../v1alpha1/fargateprofiles.rs | 2 +- .../v1alpha1/nodegroups.rs | 2 +- .../v1alpha1/cacheparametergroups.rs | 2 +- .../v1alpha1/cachesubnetgroups.rs | 2 +- .../v1alpha1/replicationgroups.rs | 2 +- .../v1alpha1/snapshots.rs | 2 +- .../v1alpha1/usergroups.rs | 2 +- .../v1alpha1/users.rs | 2 +- .../v1/elasticsearches.rs | 2 +- .../v1beta1/elasticsearches.rs | 2 +- .../v1alpha1/targetgroupbindings.rs | 2 +- .../v1beta1/ingressclassparams.rs | 2 +- .../v1beta1/targetgroupbindings.rs | 2 +- .../v1alpha1/jobruns.rs | 2 +- .../v1alpha1/virtualclusters.rs | 2 +- .../src/ensembleoss_io/v1/clusters.rs | 2 +- .../src/ensembleoss_io/v1/resources.rs | 2 +- .../v1/enterprisesearches.rs | 2 +- .../v1beta1/enterprisesearches.rs | 2 +- .../v1alpha1/backupstorages.rs | 4 +- .../v1alpha1/databaseclusterbackups.rs | 2 +- .../v1alpha1/databaseclusterrestores.rs | 2 +- .../v1alpha1/databaseclusters.rs | 32 +- .../v1alpha1/monitoringconfigs.rs | 6 +- .../v1alpha1/jobconfigs.rs | 2 +- .../src/execution_furiko_io/v1alpha1/jobs.rs | 2 +- .../src/executor_testkube_io/v1/executors.rs | 2 +- .../src/executor_testkube_io/v1/webhooks.rs | 2 +- .../v1alpha1/expansiontemplate.rs | 2 +- .../v1beta1/expansiontemplate.rs | 2 +- .../v1alpha1/wasmplugins.rs | 2 +- .../v1alpha1/addons.rs | 56 +- .../v1alpha1/clustersecretstores.rs | 187 +- .../v1alpha1/externalsecrets.rs | 2 +- .../v1alpha1/secretstores.rs | 187 +- .../v1beta1/clusterexternalsecrets.rs | 2 +- .../v1beta1/clustersecretstores.rs | 337 ++-- .../v1beta1/externalsecrets.rs | 2 +- .../v1beta1/secretstores.rs | 337 ++-- .../v1alpha1/providers.rs | 2 +- .../v1beta1/providers.rs | 2 +- .../v1alpha1/dnsendpoints.rs | 2 +- .../externaldns_nginx_org/v1/dnsendpoints.rs | 2 +- .../src/flagger_app/v1beta1/alertproviders.rs | 2 +- .../src/flagger_app/v1beta1/canaries.rs | 94 +- .../flagger_app/v1beta1/metrictemplates.rs | 4 +- .../v1beta1/flinkdeployments.rs | 2 +- .../v1beta1/flinksessionjobs.rs | 2 +- .../src/flow_volcano_sh/v1alpha1/jobflows.rs | 2 +- .../flow_volcano_sh/v1alpha1/jobtemplates.rs | 2 +- .../v1alpha1/flowcollectors.rs | 170 +- .../v1beta1/flowcollectors.rs | 211 +- .../v1beta2/flowcollectors.rs | 451 ++--- .../v1alpha2/clusterfilters.rs | 2 +- .../v1alpha2/clusterfluentbitconfigs.rs | 2 +- .../v1alpha2/clusterinputs.rs | 2 +- .../v1alpha2/clusteroutputs.rs | 2 +- .../v1alpha2/clusterparsers.rs | 2 +- .../v1alpha2/collectors.rs | 2 +- .../fluentbit_fluent_io/v1alpha2/filters.rs | 2 +- .../v1alpha2/fluentbitconfigs.rs | 2 +- .../v1alpha2/fluentbits.rs | 2 +- .../fluentbit_fluent_io/v1alpha2/outputs.rs | 2 +- .../fluentbit_fluent_io/v1alpha2/parsers.rs | 2 +- .../v1alpha1/clusterfilters.rs | 43 +- .../v1alpha1/clusterfluentdconfigs.rs | 2 +- .../v1alpha1/clusterinputs.rs | 63 +- .../v1alpha1/clusteroutputs.rs | 173 +- .../src/fluentd_fluent_io/v1alpha1/filters.rs | 43 +- .../v1alpha1/fluentdconfigs.rs | 2 +- .../fluentd_fluent_io/v1alpha1/fluentds.rs | 511 ++--- .../src/fluentd_fluent_io/v1alpha1/inputs.rs | 63 +- .../src/fluentd_fluent_io/v1alpha1/outputs.rs | 173 +- .../v1alpha1/miniclusters.rs | 67 +- .../v1alpha2/miniclusters.rs | 2 +- .../v1beta1/forkliftcontrollers.rs | 2 +- .../src/forklift_konveyor_io/v1beta1/hooks.rs | 2 +- .../src/forklift_konveyor_io/v1beta1/hosts.rs | 2 +- .../v1beta1/migrations.rs | 2 +- .../v1beta1/networkmaps.rs | 17 +- .../v1beta1/openstackvolumepopulators.rs | 2 +- .../v1beta1/ovirtvolumepopulators.rs | 2 +- .../src/forklift_konveyor_io/v1beta1/plans.rs | 2 +- .../forklift_konveyor_io/v1beta1/providers.rs | 2 +- .../v1beta1/storagemaps.rs | 2 +- .../src/fossul_io/v1/backupconfigs.rs | 2 +- .../src/fossul_io/v1/backups.rs | 2 +- .../src/fossul_io/v1/backupschedules.rs | 2 +- .../src/fossul_io/v1/fossuls.rs | 2 +- .../src/fossul_io/v1/restores.rs | 2 +- .../v1/gatewayclasses.rs | 9 +- .../gateway_networking_k8s_io/v1/gateways.rs | 39 +- .../v1/grpcroutes.rs | 63 +- .../v1/httproutes.rs | 75 +- .../v1alpha2/grpcroutes.rs | 63 +- .../v1alpha2/referencegrants.rs | 2 +- .../v1alpha2/tcproutes.rs | 17 +- .../v1alpha2/tlsroutes.rs | 17 +- .../v1alpha2/udproutes.rs | 17 +- .../v1beta1/gatewayclasses.rs | 9 +- .../v1beta1/gateways.rs | 39 +- .../v1beta1/httproutes.rs | 75 +- .../v1beta1/referencegrants.rs | 2 +- .../v1alpha1/clientsettingspolicies.rs | 2 +- .../v1alpha1/nginxgateways.rs | 9 +- .../v1alpha1/nginxproxies.rs | 2 +- .../v1alpha1/observabilitypolicies.rs | 15 +- .../getambassador_io/v3alpha1/authservices.rs | 2 +- .../v3alpha1/consulresolvers.rs | 2 +- .../getambassador_io/v3alpha1/devportals.rs | 2 +- .../src/getambassador_io/v3alpha1/hosts.rs | 2 +- .../v3alpha1/kubernetesendpointresolvers.rs | 2 +- .../v3alpha1/kubernetesserviceresolvers.rs | 2 +- .../getambassador_io/v3alpha1/listeners.rs | 10 +- .../getambassador_io/v3alpha1/logservices.rs | 2 +- .../src/getambassador_io/v3alpha1/modules.rs | 2 +- .../v3alpha1/ratelimitservices.rs | 2 +- .../getambassador_io/v3alpha1/tcpmappings.rs | 2 +- .../getambassador_io/v3alpha1/tlscontexts.rs | 2 +- .../v3alpha1/tracingservices.rs | 14 +- .../v1alpha1/patterns.rs | 2 +- .../v1beta1/grafanadashboards.rs | 2 +- .../v1beta1/grafanadatasources.rs | 2 +- .../v1beta1/grafanafolders.rs | 2 +- .../v1alpha1/volumegroupsnapshotclasses.rs | 2 +- .../v1alpha1/volumegroupsnapshotcontents.rs | 18 +- .../v1alpha1/volumegroupsnapshots.rs | 2 +- .../hazelcast_com/v1alpha1/cronhotbackups.rs | 2 +- .../src/hazelcast_com/v1alpha1/hazelcasts.rs | 2 +- .../src/hazelcast_com/v1alpha1/hotbackups.rs | 2 +- .../v1alpha1/managementcenters.rs | 2 +- .../src/hazelcast_com/v1alpha1/maps.rs | 25 +- .../hazelcast_com/v1alpha1/wanreplications.rs | 2 +- .../src/helm_sigstore_dev/v1alpha1/rekors.rs | 2 +- .../helm_toolkit_fluxcd_io/v2/helmreleases.rs | 59 +- .../v2beta1/helmreleases.rs | 61 +- .../v2beta2/helmreleases.rs | 63 +- .../src/hive_openshift_io/v1/checkpoints.rs | 2 +- .../src/hive_openshift_io/v1/clusterclaims.rs | 2 +- .../v1/clusterdeploymentcustomizations.rs | 2 +- .../v1/clusterdeployments.rs | 2 +- .../v1/clusterdeprovisions.rs | 2 +- .../hive_openshift_io/v1/clusterimagesets.rs | 2 +- .../src/hive_openshift_io/v1/clusterpools.rs | 2 +- .../hive_openshift_io/v1/clusterprovisions.rs | 2 +- .../hive_openshift_io/v1/clusterrelocates.rs | 2 +- .../src/hive_openshift_io/v1/clusterstates.rs | 2 +- .../src/hive_openshift_io/v1/dnszones.rs | 2 +- .../src/hive_openshift_io/v1/hiveconfigs.rs | 81 +- .../v1/machinepoolnameleases.rs | 2 +- .../src/hive_openshift_io/v1/machinepools.rs | 2 +- .../v1/selectorsyncidentityproviders.rs | 2 +- .../v1/syncidentityproviders.rs | 2 +- .../v1alpha1/clustersyncleases.rs | 2 +- .../v1alpha1/clustersyncs.rs | 11 +- .../v1alpha1/fakeclusterinstalls.rs | 2 +- .../v1alpha2/hierarchicalresourcequotas.rs | 2 +- .../v1alpha2/hierarchyconfigurations.rs | 11 +- .../v1alpha2/hncconfigurations.rs | 11 +- .../v1alpha2/subnamespaceanchors.rs | 2 +- .../src/hyperfoil_io/v1alpha1/horreums.rs | 2 +- .../src/hyperfoil_io/v1alpha2/hyperfoils.rs | 2 +- .../iam_services_k8s_aws/v1alpha1/groups.rs | 2 +- .../v1alpha1/instanceprofiles.rs | 2 +- .../v1alpha1/openidconnectproviders.rs | 2 +- .../iam_services_k8s_aws/v1alpha1/policies.rs | 2 +- .../iam_services_k8s_aws/v1alpha1/roles.rs | 2 +- .../iam_services_k8s_aws/v1alpha1/users.rs | 2 +- .../ibmcloud_ibm_com/v1alpha1/composables.rs | 2 +- .../v1beta1/imagepolicies.rs | 19 +- .../v1beta1/imagerepositories.rs | 17 +- .../v1beta1/imageupdateautomations.rs | 20 +- .../v1beta2/imagepolicies.rs | 19 +- .../v1beta2/imagerepositories.rs | 17 +- .../v1beta2/imageupdateautomations.rs | 26 +- .../v1alpha1/dicomeventbridges.rs | 2 +- .../v1alpha1/dicomeventdriveningestions.rs | 2 +- .../v1alpha1/dicominstancebindings.rs | 2 +- .../v1alpha1/dicomstudybindings.rs | 2 +- .../v1alpha1/dicomwebingestionservices.rs | 2 +- .../v1alpha1/dimseingestionservices.rs | 2 +- .../v1alpha1/dimseproxies.rs | 2 +- .../v1alpha1/elasticbatchjobs.rs | 2 +- .../src/infinispan_org/v1/infinispans.rs | 215 +- .../src/infinispan_org/v2alpha1/backups.rs | 2 +- .../src/infinispan_org/v2alpha1/batches.rs | 2 +- .../src/infinispan_org/v2alpha1/caches.rs | 2 +- .../src/infinispan_org/v2alpha1/restores.rs | 2 +- .../v1alpha1/terraforms.rs | 362 ++-- .../v1alpha2/terraforms.rs | 382 ++-- .../v1alpha1/kubevirtclusters.rs | 2 +- .../v1alpha1/kubevirtclustertemplates.rs | 2 +- .../v1alpha1/kubevirtmachines.rs | 2 +- .../v1alpha1/kubevirtmachinetemplates.rs | 2 +- .../v1alpha3/vsphereclusteridentities.rs | 2 +- .../v1alpha3/vsphereclusters.rs | 33 +- .../v1alpha3/vspheredeploymentzones.rs | 2 +- .../v1alpha3/vspherefailuredomains.rs | 6 +- .../v1alpha3/vspheremachines.rs | 2 +- .../v1alpha3/vspheremachinetemplates.rs | 2 +- .../v1alpha3/vspherevms.rs | 2 +- .../v1alpha4/vsphereclusteridentities.rs | 2 +- .../v1alpha4/vsphereclusters.rs | 11 +- .../v1alpha4/vsphereclustertemplates.rs | 11 +- .../v1alpha4/vspheredeploymentzones.rs | 2 +- .../v1alpha4/vspherefailuredomains.rs | 6 +- .../v1alpha4/vspheremachines.rs | 2 +- .../v1alpha4/vspheremachinetemplates.rs | 2 +- .../v1alpha4/vspherevms.rs | 2 +- .../v1beta1/ibmpowervsclusters.rs | 2 +- .../v1beta1/ibmpowervsclustertemplates.rs | 2 +- .../v1beta1/ibmpowervsimages.rs | 2 +- .../v1beta1/ibmpowervsmachines.rs | 2 +- .../v1beta1/ibmpowervsmachinetemplates.rs | 2 +- .../v1beta1/ibmvpcclusters.rs | 2 +- .../v1beta1/ibmvpcmachines.rs | 2 +- .../v1beta1/ibmvpcmachinetemplates.rs | 2 +- .../v1beta1/tinkerbellclusters.rs | 2 +- .../v1beta1/tinkerbellmachines.rs | 2 +- .../v1beta1/tinkerbellmachinetemplates.rs | 2 +- .../v1beta1/vsphereclusteridentities.rs | 2 +- .../v1beta1/vsphereclusters.rs | 17 +- .../v1beta1/vsphereclustertemplates.rs | 17 +- .../v1beta1/vspheredeploymentzones.rs | 2 +- .../v1beta1/vspherefailuredomains.rs | 6 +- .../v1beta1/vspheremachines.rs | 2 +- .../v1beta1/vspheremachinetemplates.rs | 2 +- .../v1beta1/vspherevms.rs | 2 +- .../v1beta2/ibmpowervsclusters.rs | 12 +- .../v1beta2/ibmpowervsclustertemplates.rs | 12 +- .../v1beta2/ibmpowervsimages.rs | 2 +- .../v1beta2/ibmpowervsmachines.rs | 2 +- .../v1beta2/ibmpowervsmachinetemplates.rs | 2 +- .../v1beta2/ibmvpcclusters.rs | 2 +- .../v1beta2/ibmvpcmachines.rs | 2 +- .../v1beta2/ibmvpcmachinetemplates.rs | 2 +- .../v1alpha1/istiooperators.rs | 2 +- .../v1beta1/mattermosts.rs | 2 +- .../src/instana_io/v1/agents.rs | 2 +- .../v1beta1/deferredresources.rs | 2 +- .../integration_rock8s_com/v1beta1/plugs.rs | 2 +- .../integration_rock8s_com/v1beta1/sockets.rs | 2 +- .../src/iot_eclipse_org/v1alpha1/dittos.rs | 2 +- .../src/iot_eclipse_org/v1alpha1/hawkbits.rs | 2 +- .../v1alpha1/ipaddressclaims.rs | 2 +- .../v1alpha1/ipaddresses.rs | 2 +- .../v1beta1/ipaddressclaims.rs | 2 +- .../v1beta1/ipaddresses.rs | 2 +- .../v1alpha1/sopssecrets.rs | 2 +- .../v1alpha2/sopssecrets.rs | 2 +- .../v1alpha3/sopssecrets.rs | 2 +- .../src/jaegertracing_io/v1/jaegers.rs | 2 +- .../src/jobset_x_k8s_io/v1alpha2/jobsets.rs | 583 +++--- .../v1beta1/managedjobs.rs | 2 +- .../src/k6_io/v1alpha1/k6s.rs | 905 ++++----- .../src/k6_io/v1alpha1/privateloadzones.rs | 11 +- .../src/k6_io/v1alpha1/testruns.rs | 905 ++++----- .../src/k8gb_absa_oss/v1beta1/gslbs.rs | 2 +- .../v2alpha1/keycloakrealmimports.rs | 2 +- .../k8s_keycloak_org/v2alpha1/keycloaks.rs | 2 +- .../src/k8s_mariadb_com/v1alpha1/backups.rs | 2 +- .../k8s_mariadb_com/v1alpha1/connections.rs | 2 +- .../src/k8s_mariadb_com/v1alpha1/databases.rs | 2 +- .../src/k8s_mariadb_com/v1alpha1/grants.rs | 2 +- .../src/k8s_mariadb_com/v1alpha1/mariadbs.rs | 1795 +++++++++-------- .../src/k8s_mariadb_com/v1alpha1/maxscales.rs | 881 ++++---- .../src/k8s_mariadb_com/v1alpha1/restores.rs | 2 +- .../src/k8s_mariadb_com/v1alpha1/sqljobs.rs | 2 +- .../src/k8s_mariadb_com/v1alpha1/users.rs | 2 +- .../k8s_nginx_org/v1/globalconfigurations.rs | 2 +- .../src/k8s_nginx_org/v1/policies.rs | 2 +- .../src/k8s_nginx_org/v1/transportservers.rs | 2 +- .../k8s_nginx_org/v1/virtualserverroutes.rs | 2 +- .../src/k8s_nginx_org/v1/virtualservers.rs | 2 +- .../v1alpha1/globalconfigurations.rs | 2 +- .../src/k8s_nginx_org/v1alpha1/policies.rs | 2 +- .../v1alpha1/transportservers.rs | 2 +- .../v1alpha2/clientintents.rs | 2 +- .../v1alpha2/kafkaserverconfigs.rs | 11 +- .../v1alpha2/protectedservices.rs | 2 +- .../v1alpha3/clientintents.rs | 2 +- .../v1alpha3/kafkaserverconfigs.rs | 11 +- .../v1alpha3/protectedservices.rs | 2 +- .../src/k8up_io/v1/archives.rs | 97 +- .../src/k8up_io/v1/backups.rs | 83 +- .../src/k8up_io/v1/checks.rs | 83 +- .../src/k8up_io/v1/prebackuppods.rs | 2 +- .../src/k8up_io/v1/prunes.rs | 85 +- .../src/k8up_io/v1/restores.rs | 97 +- .../src/k8up_io/v1/schedules.rs | 493 ++--- .../src/k8up_io/v1/snapshots.rs | 2 +- .../v1alpha1/cruisecontroloperations.rs | 2 +- .../v1alpha1/kafkatopics.rs | 2 +- .../v1alpha1/kafkausers.rs | 11 +- .../v1beta1/kafkaclusters.rs | 1541 +++++++------- .../v1alpha1/clusters.rs | 2 +- .../kafka_strimzi_io/v1alpha1/kafkatopics.rs | 2 +- .../kafka_strimzi_io/v1alpha1/kafkausers.rs | 21 +- .../kafka_strimzi_io/v1beta1/kafkatopics.rs | 2 +- .../kafka_strimzi_io/v1beta1/kafkausers.rs | 21 +- .../kafka_strimzi_io/v1beta2/kafkabridges.rs | 195 +- .../v1beta2/kafkaconnectors.rs | 2 +- .../kafka_strimzi_io/v1beta2/kafkaconnects.rs | 347 ++-- .../v1beta2/kafkamirrormakers.rs | 185 +- .../v1beta2/kafkarebalances.rs | 2 +- .../src/kafka_strimzi_io/v1beta2/kafkas.rs | 1075 +++++----- .../kafka_strimzi_io/v1beta2/kafkatopics.rs | 2 +- .../kafka_strimzi_io/v1beta2/kafkausers.rs | 21 +- .../kamaji_clastix_io/v1alpha1/datastores.rs | 36 +- .../v1alpha1/tenantcontrolplanes.rs | 582 +++--- .../v1beta1/ec2nodeclasses.rs | 24 +- .../src/karpenter_sh/v1beta1/nodeclaims.rs | 13 +- .../src/karpenter_sh/v1beta1/nodepools.rs | 23 +- .../v1alpha1/clustertriggerauthentications.rs | 71 +- .../src/keda_sh/v1alpha1/scaledjobs.rs | 2 +- .../src/keda_sh/v1alpha1/scaledobjects.rs | 2 +- .../v1alpha1/triggerauthentications.rs | 71 +- .../v1alpha1/keycloakclients.rs | 2 +- .../keycloak_org/v1alpha1/keycloakbackups.rs | 2 +- .../keycloak_org/v1alpha1/keycloakclients.rs | 2 +- .../keycloak_org/v1alpha1/keycloakrealms.rs | 2 +- .../src/keycloak_org/v1alpha1/keycloaks.rs | 2 +- .../keycloak_org/v1alpha1/keycloakusers.rs | 2 +- .../v1alpha1/keyspaces.rs | 2 +- .../v1alpha1/tables.rs | 2 +- .../src/kibana_k8s_elastic_co/v1/kibanas.rs | 2 +- .../kibana_k8s_elastic_co/v1beta1/kibanas.rs | 2 +- .../v1alpha1/streams.rs | 2 +- .../src/kmm_sigs_x_k8s_io/v1beta1/modules.rs | 2 +- .../v1beta1/nodemodulesconfigs.rs | 2 +- .../v1beta1/preflightvalidations.rs | 2 +- .../v1beta2/preflightvalidations.rs | 7 +- .../kms_services_k8s_aws/v1alpha1/aliases.rs | 2 +- .../kms_services_k8s_aws/v1alpha1/grants.rs | 2 +- .../src/kms_services_k8s_aws/v1alpha1/keys.rs | 2 +- .../src/kuadrant_io/v1alpha1/dnsrecords.rs | 2 +- .../src/kuadrant_io/v1alpha1/managedzones.rs | 2 +- .../src/kuadrant_io/v1beta1/kuadrants.rs | 101 +- .../kuadrant_io/v1beta2/ratelimitpolicies.rs | 49 +- .../src/kube_green_com/v1alpha1/sleepinfos.rs | 2 +- .../kubean_io/v1alpha1/clusteroperations.rs | 2 +- .../src/kubean_io/v1alpha1/clusters.rs | 2 +- .../kubean_io/v1alpha1/localartifactsets.rs | 2 +- .../src/kubean_io/v1alpha1/manifests.rs | 2 +- .../v1alpha1/turndownschedules.rs | 2 +- .../kubevious_io/v1alpha1/workloadprofiles.rs | 2 +- .../src/kubevious_io/v1alpha1/workloads.rs | 2 +- .../kueue_x_k8s_io/v1beta1/admissionchecks.rs | 9 +- .../kueue_x_k8s_io/v1beta1/clusterqueues.rs | 43 +- .../src/kueue_x_k8s_io/v1beta1/localqueues.rs | 15 +- .../kueue_x_k8s_io/v1beta1/resourceflavors.rs | 2 +- .../src/kueue_x_k8s_io/v1beta1/workloads.rs | 579 +++--- .../src/kuma_io/v1alpha1/circuitbreakers.rs | 2 +- .../src/kuma_io/v1alpha1/containerpatches.rs | 5 +- .../src/kuma_io/v1alpha1/dataplaneinsights.rs | 2 +- .../src/kuma_io/v1alpha1/dataplanes.rs | 2 +- .../src/kuma_io/v1alpha1/externalservices.rs | 2 +- .../src/kuma_io/v1alpha1/faultinjections.rs | 2 +- .../src/kuma_io/v1alpha1/healthchecks.rs | 2 +- .../src/kuma_io/v1alpha1/meshaccesslogs.rs | 43 +- .../kuma_io/v1alpha1/meshcircuitbreakers.rs | 2 +- .../src/kuma_io/v1alpha1/meshes.rs | 2 +- .../kuma_io/v1alpha1/meshfaultinjections.rs | 2 +- .../kuma_io/v1alpha1/meshgatewayconfigs.rs | 2 +- .../kuma_io/v1alpha1/meshgatewayinstances.rs | 35 +- .../src/kuma_io/v1alpha1/meshgatewayroutes.rs | 2 +- .../src/kuma_io/v1alpha1/meshgateways.rs | 2 +- .../src/kuma_io/v1alpha1/meshhealthchecks.rs | 2 +- .../src/kuma_io/v1alpha1/meshhttproutes.rs | 41 +- .../src/kuma_io/v1alpha1/meshinsights.rs | 2 +- .../v1alpha1/meshloadbalancingstrategies.rs | 55 +- .../src/kuma_io/v1alpha1/meshproxypatches.rs | 21 +- .../src/kuma_io/v1alpha1/meshratelimits.rs | 2 +- .../src/kuma_io/v1alpha1/meshretries.rs | 31 +- .../src/kuma_io/v1alpha1/meshtcproutes.rs | 2 +- .../src/kuma_io/v1alpha1/meshtimeouts.rs | 2 +- .../src/kuma_io/v1alpha1/meshtraces.rs | 21 +- .../v1alpha1/meshtrafficpermissions.rs | 2 +- .../src/kuma_io/v1alpha1/proxytemplates.rs | 2 +- .../src/kuma_io/v1alpha1/ratelimits.rs | 2 +- .../src/kuma_io/v1alpha1/retries.rs | 2 +- .../src/kuma_io/v1alpha1/serviceinsights.rs | 2 +- .../src/kuma_io/v1alpha1/timeouts.rs | 2 +- .../src/kuma_io/v1alpha1/trafficlogs.rs | 2 +- .../kuma_io/v1alpha1/trafficpermissions.rs | 2 +- .../src/kuma_io/v1alpha1/trafficroutes.rs | 2 +- .../src/kuma_io/v1alpha1/traffictraces.rs | 2 +- .../src/kuma_io/v1alpha1/virtualoutbounds.rs | 2 +- .../src/kuma_io/v1alpha1/zoneegresses.rs | 2 +- .../kuma_io/v1alpha1/zoneegressinsights.rs | 2 +- .../src/kuma_io/v1alpha1/zoneingresses.rs | 2 +- .../kuma_io/v1alpha1/zoneingressinsights.rs | 2 +- .../src/kuma_io/v1alpha1/zoneinsights.rs | 2 +- .../src/kuma_io/v1alpha1/zones.rs | 2 +- .../v1/kustomizations.rs | 28 +- .../v1beta1/kustomizations.rs | 30 +- .../v1beta2/kustomizations.rs | 32 +- .../src/kyverno_io/v1/clusterpolicies.rs | 639 +++--- .../src/kyverno_io/v1/policies.rs | 639 +++--- .../kyverno_io/v1alpha2/admissionreports.rs | 2 +- .../v1alpha2/backgroundscanreports.rs | 2 +- .../v1alpha2/clusteradmissionreports.rs | 2 +- .../v1alpha2/clusterbackgroundscanreports.rs | 2 +- .../src/kyverno_io/v1beta1/updaterequests.rs | 2 +- .../src/kyverno_io/v2/admissionreports.rs | 2 +- .../kyverno_io/v2/backgroundscanreports.rs | 2 +- .../src/kyverno_io/v2/cleanuppolicies.rs | 91 +- .../kyverno_io/v2/clusteradmissionreports.rs | 2 +- .../v2/clusterbackgroundscanreports.rs | 2 +- .../kyverno_io/v2/clustercleanuppolicies.rs | 91 +- .../src/kyverno_io/v2/policyexceptions.rs | 43 +- .../src/kyverno_io/v2/updaterequests.rs | 2 +- .../kyverno_io/v2alpha1/cleanuppolicies.rs | 91 +- .../v2alpha1/clustercleanuppolicies.rs | 91 +- .../v2alpha1/globalcontextentries.rs | 2 +- .../kyverno_io/v2alpha1/policyexceptions.rs | 43 +- .../src/kyverno_io/v2beta1/cleanuppolicies.rs | 91 +- .../v2beta1/clustercleanuppolicies.rs | 91 +- .../src/kyverno_io/v2beta1/clusterpolicies.rs | 627 +++--- .../src/kyverno_io/v2beta1/policies.rs | 627 +++--- .../kyverno_io/v2beta1/policyexceptions.rs | 43 +- .../v1alpha1/codesigningconfigs.rs | 2 +- .../v1alpha1/eventsourcemappings.rs | 2 +- .../v1alpha1/functions.rs | 2 +- .../v1alpha1/functionurlconfigs.rs | 2 +- .../v1alpha1/layerversions.rs | 2 +- .../v1alpha1/versions.rs | 2 +- .../v1/cluster_leaksignal_istios.rs | 2 +- .../leaksignal_com/v1/leaksignal_istios.rs | 2 +- .../v1beta4/bitwarden_secrets.rs | 2 +- .../v1beta4/bitwarden_templates.rs | 2 +- .../v1beta4/registry_credentials.rs | 2 +- .../v1beta5/bitwarden_secrets.rs | 2 +- .../v1beta5/bitwarden_templates.rs | 2 +- .../v1beta5/registry_credentials.rs | 2 +- .../v1beta6/bitwarden_secrets.rs | 2 +- .../v1beta6/bitwarden_templates.rs | 2 +- .../v1beta6/registry_credentials.rs | 2 +- .../v1alpha1/limitadors.rs | 113 +- .../litmuschaos_io/v1alpha1/chaosengines.rs | 2 +- .../v1alpha1/chaosexperiments.rs | 2 +- .../litmuschaos_io/v1alpha1/chaosresults.rs | 2 +- .../v1alpha1/clusterflows.rs | 2 +- .../v1alpha1/clusteroutputs.rs | 2 +- .../logging_banzaicloud_io/v1alpha1/flows.rs | 2 +- .../v1alpha1/loggings.rs | 2 +- .../v1alpha1/outputs.rs | 2 +- .../v1beta1/clusterflows.rs | 2 +- .../v1beta1/clusteroutputs.rs | 2 +- .../logging_banzaicloud_io/v1beta1/flows.rs | 2 +- .../logging_banzaicloud_io/v1beta1/outputs.rs | 2 +- .../v1beta1/syslogngclusterflows.rs | 2 +- .../v1beta1/syslogngclusteroutputs.rs | 2 +- .../v1beta1/syslogngflows.rs | 2 +- .../v1beta1/syslogngoutputs.rs | 2 +- .../v1alpha1/hosttailers.rs | 2 +- .../src/loki_grafana_com/v1/alertingrules.rs | 11 +- .../src/loki_grafana_com/v1/lokistacks.rs | 300 +-- .../src/loki_grafana_com/v1/recordingrules.rs | 11 +- .../src/loki_grafana_com/v1/rulerconfigs.rs | 47 +- .../loki_grafana_com/v1beta1/alertingrules.rs | 11 +- .../loki_grafana_com/v1beta1/lokistacks.rs | 82 +- .../v1beta1/recordingrules.rs | 11 +- .../loki_grafana_com/v1beta1/rulerconfigs.rs | 47 +- .../v1beta1/backingimagedatasources.rs | 2 +- .../v1beta1/backingimagemanagers.rs | 2 +- .../src/longhorn_io/v1beta1/backingimages.rs | 2 +- .../src/longhorn_io/v1beta1/backups.rs | 2 +- .../src/longhorn_io/v1beta1/backuptargets.rs | 2 +- .../src/longhorn_io/v1beta1/backupvolumes.rs | 2 +- .../src/longhorn_io/v1beta1/engineimages.rs | 2 +- .../src/longhorn_io/v1beta1/engines.rs | 2 +- .../longhorn_io/v1beta1/instancemanagers.rs | 2 +- .../src/longhorn_io/v1beta1/nodes.rs | 2 +- .../src/longhorn_io/v1beta1/recurringjobs.rs | 2 +- .../src/longhorn_io/v1beta1/replicas.rs | 2 +- .../src/longhorn_io/v1beta1/settings.rs | 2 +- .../src/longhorn_io/v1beta1/sharemanagers.rs | 2 +- .../src/longhorn_io/v1beta1/volumes.rs | 2 +- .../v1beta2/backingimagedatasources.rs | 2 +- .../v1beta2/backingimagemanagers.rs | 2 +- .../src/longhorn_io/v1beta2/backingimages.rs | 2 +- .../v1beta2/backupbackingimages.rs | 2 +- .../src/longhorn_io/v1beta2/backups.rs | 2 +- .../src/longhorn_io/v1beta2/backuptargets.rs | 2 +- .../src/longhorn_io/v1beta2/backupvolumes.rs | 2 +- .../src/longhorn_io/v1beta2/engineimages.rs | 2 +- .../src/longhorn_io/v1beta2/engines.rs | 2 +- .../longhorn_io/v1beta2/instancemanagers.rs | 2 +- .../src/longhorn_io/v1beta2/nodes.rs | 2 +- .../src/longhorn_io/v1beta2/orphans.rs | 2 +- .../src/longhorn_io/v1beta2/recurringjobs.rs | 2 +- .../src/longhorn_io/v1beta2/replicas.rs | 2 +- .../src/longhorn_io/v1beta2/settings.rs | 2 +- .../src/longhorn_io/v1beta2/sharemanagers.rs | 2 +- .../src/longhorn_io/v1beta2/snapshots.rs | 2 +- .../src/longhorn_io/v1beta2/supportbundles.rs | 2 +- .../src/longhorn_io/v1beta2/systembackups.rs | 2 +- .../src/longhorn_io/v1beta2/systemrestores.rs | 2 +- .../longhorn_io/v1beta2/volumeattachments.rs | 2 +- .../src/longhorn_io/v1beta2/volumes.rs | 2 +- .../src/m4e_krestomat_io/v1alpha1/moodles.rs | 2 +- .../src/m4e_krestomat_io/v1alpha1/nginxes.rs | 2 +- .../src/m4e_krestomat_io/v1alpha1/phpfpms.rs | 2 +- .../src/m4e_krestomat_io/v1alpha1/routines.rs | 2 +- .../v1alpha1/machinedeletionremediations.rs | 2 +- .../machinedeletionremediationtemplates.rs | 2 +- .../v1alpha1/elasticmapsservers.rs | 2 +- .../mariadb_mmontes_io/v1alpha1/backups.rs | 257 +-- .../v1alpha1/connections.rs | 17 +- .../mariadb_mmontes_io/v1alpha1/databases.rs | 9 +- .../src/mariadb_mmontes_io/v1alpha1/grants.rs | 9 +- .../mariadb_mmontes_io/v1alpha1/mariadbs.rs | 1589 +++++++-------- .../mariadb_mmontes_io/v1alpha1/restores.rs | 241 +-- .../mariadb_mmontes_io/v1alpha1/sqljobs.rs | 111 +- .../src/mariadb_mmontes_io/v1alpha1/users.rs | 11 +- .../v1alpha1/envoyconfigrevisions.rs | 37 +- .../v1alpha1/envoyconfigs.rs | 39 +- .../v1alpha1/clusterinstallations.rs | 2 +- .../v1alpha1/mattermostrestoredbs.rs | 2 +- .../v1alpha1/acls.rs | 2 +- .../v1alpha1/clusters.rs | 2 +- .../v1alpha1/parametergroups.rs | 2 +- .../v1alpha1/snapshots.rs | 2 +- .../v1alpha1/subnetgroups.rs | 2 +- .../v1alpha1/users.rs | 2 +- .../v1alpha1/compositecontrollers.rs | 2 +- .../v1alpha1/controllerrevisions.rs | 2 +- .../v1alpha1/decoratorcontrollers.rs | 2 +- .../v1alpha1/bmceventsubscriptions.rs | 2 +- .../src/metal3_io/v1alpha1/dataimages.rs | 2 +- .../src/metal3_io/v1alpha1/firmwareschemas.rs | 2 +- .../src/metal3_io/v1alpha1/hardwaredata.rs | 2 +- .../v1alpha1/hostfirmwarecomponents.rs | 2 +- .../v1alpha1/hostfirmwaresettings.rs | 9 +- .../v1alpha1/preprovisioningimages.rs | 9 +- .../v1alpha1/microcksinstalls.rs | 2 +- .../src/minio_min_io/v2/tenants.rs | 2 +- .../v1alpha1/secretmirrors.rs | 2 +- .../v1alpha2/secretmirrors.rs | 2 +- .../src/model_kubedl_io/v1alpha1/models.rs | 2 +- .../model_kubedl_io/v1alpha1/modelversions.rs | 2 +- .../monitoring_coreos_com/v1/alertmanagers.rs | 2 +- .../monitoring_coreos_com/v1/podmonitors.rs | 2 +- .../src/monitoring_coreos_com/v1/probes.rs | 2 +- .../monitoring_coreos_com/v1/prometheuses.rs | 813 ++++---- .../v1/prometheusrules.rs | 2 +- .../v1/servicemonitors.rs | 2 +- .../monitoring_coreos_com/v1/thanosrulers.rs | 549 ++--- .../v1alpha1/alertmanagerconfigs.rs | 601 +++--- .../v1alpha1/prometheusagents.rs | 681 +++---- .../v1alpha1/scrapeconfigs.rs | 425 ++-- .../v1beta1/alertmanagerconfigs.rs | 599 +++--- .../v1alpha1/monocles.rs | 2 +- .../mq_services_k8s_aws/v1alpha1/brokers.rs | 2 +- .../v1alpha1/clusterinfoimports.rs | 2 +- .../v1alpha1/clustersets.rs | 2 +- .../v1alpha1/gateways.rs | 2 +- .../v1alpha1/labelidentities.rs | 2 +- .../v1alpha1/memberclusterannounces.rs | 2 +- .../v1alpha1/multiclusterconfigs.rs | 2 +- .../v1alpha1/resourceexports.rs | 2 +- .../v1alpha1/resourceimports.rs | 255 +-- .../v1alpha2/clusterclaims.rs | 2 +- .../v1alpha2/clustersets.rs | 2 +- .../v1alpha1/appliedworks.rs | 2 +- .../v1alpha1/serviceexports.rs | 4 +- .../v1alpha1/serviceimports.rs | 12 +- .../src/mutations_gatekeeper_sh/v1/assign.rs | 2 +- .../v1/assignmetadata.rs | 2 +- .../mutations_gatekeeper_sh/v1/modifyset.rs | 2 +- .../v1alpha1/assign.rs | 2 +- .../v1alpha1/assignimage.rs | 2 +- .../v1alpha1/assignmetadata.rs | 2 +- .../v1alpha1/modifyset.rs | 2 +- .../mutations_gatekeeper_sh/v1beta1/assign.rs | 2 +- .../v1beta1/assignmetadata.rs | 2 +- .../v1beta1/modifyset.rs | 2 +- .../src/nativestor_alauda_io/v1/rawdevices.rs | 2 +- .../src/netchecks_io/v1/networkassertions.rs | 2 +- .../v1alpha1/firewallpolicies.rs | 2 +- .../v1alpha1/firewalls.rs | 2 +- .../v1alpha1/rulegroups.rs | 2 +- .../v1/managedcertificates.rs | 2 +- .../v1/destinationrules.rs | 2 +- .../src/networking_istio_io/v1/gateways.rs | 2 +- .../networking_istio_io/v1/serviceentries.rs | 2 +- .../src/networking_istio_io/v1/sidecars.rs | 2 +- .../networking_istio_io/v1/virtualservices.rs | 2 +- .../networking_istio_io/v1/workloadentries.rs | 2 +- .../networking_istio_io/v1/workloadgroups.rs | 2 +- .../v1alpha3/destinationrules.rs | 2 +- .../v1alpha3/envoyfilters.rs | 2 +- .../networking_istio_io/v1alpha3/gateways.rs | 2 +- .../v1alpha3/serviceentries.rs | 2 +- .../networking_istio_io/v1alpha3/sidecars.rs | 2 +- .../v1alpha3/virtualservices.rs | 2 +- .../v1alpha3/workloadentries.rs | 2 +- .../v1alpha3/workloadgroups.rs | 2 +- .../v1beta1/destinationrules.rs | 2 +- .../networking_istio_io/v1beta1/gateways.rs | 2 +- .../v1beta1/proxyconfigs.rs | 2 +- .../v1beta1/serviceentries.rs | 2 +- .../networking_istio_io/v1beta1/sidecars.rs | 2 +- .../v1beta1/virtualservices.rs | 2 +- .../v1beta1/workloadentries.rs | 2 +- .../v1beta1/workloadgroups.rs | 2 +- .../v1alpha1/policyendpoints.rs | 2 +- .../v1alpha1/multiclusteringresses.rs | 2 +- .../v1alpha1/multiclusterservices.rs | 21 +- .../v1alpha1/nodefeaturerules.rs | 2 +- .../v1/nodefeaturediscoveries.rs | 11 +- .../v1alpha1/nodefeaturerules.rs | 2 +- .../v1alpha1/numatopologies.rs | 2 +- .../notebook_kubedl_io/v1alpha1/notebooks.rs | 2 +- .../v1/receivers.rs | 6 +- .../v1beta1/alerts.rs | 11 +- .../v1beta1/providers.rs | 8 +- .../v1beta1/receivers.rs | 8 +- .../v1beta2/alerts.rs | 9 +- .../v1beta2/providers.rs | 8 +- .../v1beta2/receivers.rs | 6 +- .../v1beta3/alerts.rs | 7 +- .../v1beta3/providers.rs | 6 +- .../v1alpha1/objectbucketclaims.rs | 2 +- .../objectbucket_io/v1alpha1/objectbuckets.rs | 2 +- .../onepassword_com/v1/onepassworditems.rs | 2 +- .../v1alpha1/domains.rs | 2 +- .../v1alpha1/instrumentations.rs | 2 +- .../opentelemetry_io/v1alpha1/opampbridges.rs | 2 +- .../v1alpha1/opentelemetrycollectors.rs | 2 +- .../v1beta1/opentelemetrycollectors.rs | 2 +- .../v1alpha1/nodeupgradejobs.rs | 2 +- .../operator_aquasec_com/v1alpha1/aquacsps.rs | 2 +- .../v1alpha1/aquadatabases.rs | 2 +- .../v1alpha1/aquaenforcers.rs | 2 +- .../v1alpha1/aquagateways.rs | 2 +- .../v1alpha1/aquakubeenforcers.rs | 2 +- .../v1alpha1/aquascanners.rs | 2 +- .../v1alpha1/aquaservers.rs | 2 +- .../v1beta1/authorinos.rs | 2 +- .../v1alpha1/bootstrapproviders.rs | 2 +- .../v1alpha1/controlplaneproviders.rs | 2 +- .../v1alpha1/coreproviders.rs | 2 +- .../v1alpha1/infrastructureproviders.rs | 2 +- .../v1alpha2/addonproviders.rs | 2 +- .../v1alpha2/bootstrapproviders.rs | 2 +- .../v1alpha2/controlplaneproviders.rs | 2 +- .../v1alpha2/coreproviders.rs | 2 +- .../v1alpha2/infrastructureproviders.rs | 2 +- .../operator_cryostat_io/v1beta1/cryostats.rs | 367 ++-- .../v1alpha1/discoveryservicecertificates.rs | 2 +- .../v1alpha1/discoveryservices.rs | 2 +- .../v1alpha1/envoydeployments.rs | 2 +- .../v1/clustermanagers.rs | 39 +- .../v1/klusterlets.rs | 39 +- .../v1alpha1/shipwrightbuilds.rs | 7 +- .../v1alpha1/tektonchains.rs | 2 +- .../v1alpha1/tektonconfigs.rs | 2 +- .../v1alpha1/tektonhubs.rs | 2 +- .../v1alpha1/tektoninstallersets.rs | 2 +- .../v1alpha1/tektonpipelines.rs | 2 +- .../v1alpha1/tektontriggers.rs | 2 +- .../v1/amazoncloudintegrations.rs | 7 +- .../src/operator_tigera_io/v1/apiservers.rs | 103 +- .../v1/applicationlayers.rs | 29 +- .../operator_tigera_io/v1/authentications.rs | 35 +- .../src/operator_tigera_io/v1/compliances.rs | 85 +- .../operator_tigera_io/v1/egressgateways.rs | 107 +- .../src/operator_tigera_io/v1/imagesets.rs | 2 +- .../operator_tigera_io/v1/installations.rs | 1181 +++++------ .../v1/intrusiondetections.rs | 29 +- .../operator_tigera_io/v1/logcollectors.rs | 51 +- .../src/operator_tigera_io/v1/logstorages.rs | 91 +- .../v1/managementclusterconnections.rs | 27 +- .../v1/managementclusters.rs | 2 +- .../src/operator_tigera_io/v1/managers.rs | 23 +- .../src/operator_tigera_io/v1/monitors.rs | 41 +- .../operator_tigera_io/v1/packetcaptures.rs | 23 +- .../v1/policyrecommendations.rs | 23 +- .../src/operator_tigera_io/v1/tenants.rs | 37 +- .../operator_tigera_io/v1/tigerastatuses.rs | 2 +- .../v1/tlspassthroughroutes.rs | 4 +- .../v1/tlsterminatedroutes.rs | 10 +- .../v1beta1/amazoncloudintegrations.rs | 2 +- .../v1beta1/vmalertmanagerconfigs.rs | 2 +- .../v1beta1/vmnodescrapes.rs | 2 +- .../v1beta1/vmpodscrapes.rs | 2 +- .../v1beta1/vmprobes.rs | 2 +- .../v1beta1/vmrules.rs | 2 +- .../v1beta1/vmservicescrapes.rs | 2 +- .../v1beta1/vmstaticscrapes.rs | 2 +- .../v1beta1/vmusers.rs | 2 +- .../v1alpha1/backups.rs | 7 +- .../v1alpha1/backupschedules.rs | 13 +- .../v1alpha1/configs.rs | 2 +- .../v1alpha1/cronanythings.rs | 2 +- .../v1alpha1/databases.rs | 15 +- .../v1alpha1/exports.rs | 7 +- .../v1alpha1/imports.rs | 7 +- .../v1alpha1/pitrs.rs | 13 +- .../v1alpha1/releases.rs | 2 +- .../src/org_eclipse_che/v1/checlusters.rs | 2 +- .../src/org_eclipse_che/v2/checlusters.rs | 2 +- .../v1alpha1/organizationalunits.rs | 2 +- .../pgv2_percona_com/v2/perconapgbackups.rs | 2 +- .../pgv2_percona_com/v2/perconapgclusters.rs | 1213 +++++------ .../pgv2_percona_com/v2/perconapgrestores.rs | 2 +- .../pipes_services_k8s_aws/v1alpha1/pipes.rs | 2 +- .../v1/configurationrevisions.rs | 2 +- .../pkg_crossplane_io/v1/configurations.rs | 2 +- .../pkg_crossplane_io/v1/providerrevisions.rs | 2 +- .../src/pkg_crossplane_io/v1/providers.rs | 2 +- .../v1alpha1/controllerconfigs.rs | 2 +- .../src/pkg_crossplane_io/v1beta1/locks.rs | 2 +- .../v1alpha1/clusterimportpolicies.rs | 11 +- .../v1alpha1/pediaclusterlifecycles.rs | 13 +- .../v1alpha1/clusteroverridepolicies.rs | 41 +- .../v1alpha1/clusterpropagationpolicies.rs | 2 +- .../v1alpha1/federatedresourcequotas.rs | 2 +- .../v1alpha1/overridepolicies.rs | 41 +- .../v1alpha1/propagationpolicies.rs | 2 +- .../v1alpha1/serviceaccountaccesses.rs | 2 +- .../v1alpha1/adminnetworkpolicies.rs | 67 +- .../v1alpha1/baselineadminnetworkpolicies.rs | 67 +- .../v1beta1/pgadmins.rs | 131 +- .../v1beta1/pgupgrades.rs | 83 +- .../v1beta1/postgresclusters.rs | 1181 +++++------ .../src/postgresql_cnpg_io/v1/backups.rs | 2 +- .../src/postgresql_cnpg_io/v1/poolers.rs | 2 +- .../postgresql_cnpg_io/v1/scheduledbackups.rs | 2 +- .../src/projectcontour_io/v1/httpproxies.rs | 193 +- .../v1/tlscertificatedelegations.rs | 9 +- .../v1alpha1/contourconfigurations.rs | 103 +- .../v1alpha1/contourdeployments.rs | 275 +-- .../v1alpha1/extensionservices.rs | 21 +- .../v1alpha1/alertmanagerdefinitions.rs | 2 +- .../v1alpha1/loggingconfigurations.rs | 2 +- .../v1alpha1/rulegroupsnamespaces.rs | 2 +- .../v1alpha1/workspaces.rs | 2 +- .../v1alpha1/perconaservermysqlbackups.rs | 2 +- .../v1alpha1/perconaservermysqlrestores.rs | 2 +- .../v1alpha1/perconaservermysqls.rs | 1221 +++++------ .../v1/perconaservermongodbbackups.rs | 2 +- .../v1/perconaservermongodbrestores.rs | 2 +- .../src/ptp_openshift_io/v1/nodeptpdevices.rs | 2 +- .../v1/perconaxtradbclusterbackups.rs | 27 +- .../v1/perconaxtradbclusterrestores.rs | 41 +- .../v1/perconaxtradbclusters.rs | 2 +- .../src/quay_redhat_com/v1/quayregistries.rs | 2 +- .../v1alpha1/quotasubtrees.rs | 2 +- .../src/ray_io/v1/rayclusters.rs | 1139 +++++------ .../src/ray_io/v1/rayjobs.rs | 1679 +++++++-------- .../src/ray_io/v1/rayservices.rs | 1179 +++++------ .../src/ray_io/v1alpha1/rayclusters.rs | 1139 +++++------ .../src/ray_io/v1alpha1/rayjobs.rs | 1677 +++++++-------- .../src/ray_io/v1alpha1/rayservices.rs | 1179 +++++------ .../v1beta1/rbacdefinitions.rs | 12 +- .../src/rc_app_stacks/v1/runtimecomponents.rs | 2 +- .../src/rc_app_stacks/v1/runtimeoperations.rs | 2 +- .../v1beta2/runtimecomponents.rs | 2 +- .../v1beta2/runtimeoperations.rs | 2 +- .../v1alpha1/dbclusterparametergroups.rs | 2 +- .../v1alpha1/dbclusters.rs | 2 +- .../v1alpha1/dbinstances.rs | 2 +- .../v1alpha1/dbparametergroups.rs | 2 +- .../v1alpha1/dbproxies.rs | 2 +- .../v1alpha1/dbsubnetgroups.rs | 2 +- .../v1alpha1/globalclusters.rs | 2 +- .../v1alpha1/keepalivedgroups.rs | 11 +- .../v1/apicurioregistries.rs | 673 +++--- .../v1alpha1/clusterdevfileregistrieslists.rs | 9 +- .../v1alpha1/devfileregistries.rs | 21 +- .../v1alpha1/devfileregistrieslists.rs | 9 +- .../v1alpha1/clusterobjectsyncs.rs | 2 +- .../v1alpha1/objectsyncs.rs | 2 +- .../v1alpha1/nodehealthchecks.rs | 2 +- .../v1beta2/pulpbackups.rs | 75 +- .../v1beta2/pulprestores.rs | 7 +- .../v1beta2/pulps.rs | 2 +- .../v1/clusterephemeralreports.rs | 2 +- .../reports_kyverno_io/v1/ephemeralreports.rs | 2 +- .../v1/teleportloginrules.rs | 7 +- .../v1/teleportoktaimportrules.rs | 13 +- .../v2/teleportsamlconnectors.rs | 15 +- .../v2/teleportusers.rs | 13 +- .../v3/teleportgithubconnectors.rs | 11 +- .../v3/teleportoidcconnectors.rs | 11 +- .../rocketmq_apache_org/v1alpha1/brokers.rs | 2 +- .../rocketmq_apache_org/v1alpha1/consoles.rs | 2 +- .../v1alpha1/nameservices.rs | 2 +- .../v1alpha1/topictransfers.rs | 2 +- .../v1alpha1/hostedzones.rs | 2 +- .../v1alpha1/recordsets.rs | 2 +- .../v1alpha1/resolverendpoints.rs | 2 +- .../v1alpha1/resolverrules.rs | 2 +- .../src/rules_kubeedge_io/v1/ruleendpoints.rs | 2 +- .../src/rules_kubeedge_io/v1/rules.rs | 2 +- .../v1alpha1/extensionconfigs.rs | 2 +- .../s3_services_k8s_aws/v1alpha1/buckets.rs | 2 +- .../s3_snappcloud_io/v1alpha1/s3buckets.rs | 2 +- .../s3_snappcloud_io/v1alpha1/s3userclaims.rs | 2 +- .../src/s3_snappcloud_io/v1alpha1/s3users.rs | 2 +- .../v1alpha1/apps.rs | 2 +- .../v1alpha1/dataqualityjobdefinitions.rs | 2 +- .../v1alpha1/domains.rs | 2 +- .../v1alpha1/endpointconfigs.rs | 2 +- .../v1alpha1/endpoints.rs | 2 +- .../v1alpha1/featuregroups.rs | 2 +- .../v1alpha1/hyperparametertuningjobs.rs | 2 +- .../v1alpha1/modelbiasjobdefinitions.rs | 2 +- .../modelexplainabilityjobdefinitions.rs | 2 +- .../v1alpha1/modelpackagegroups.rs | 2 +- .../v1alpha1/modelpackages.rs | 2 +- .../v1alpha1/modelqualityjobdefinitions.rs | 2 +- .../v1alpha1/models.rs | 2 +- .../v1alpha1/monitoringschedules.rs | 2 +- .../notebookinstancelifecycleconfigs.rs | 2 +- .../v1alpha1/notebookinstances.rs | 2 +- .../v1alpha1/processingjobs.rs | 2 +- .../v1alpha1/trainingjobs.rs | 2 +- .../v1alpha1/transformjobs.rs | 2 +- .../v1alpha1/userprofiles.rs | 2 +- .../v1alpha1/devices.rs | 2 +- .../v1alpha1/podmigrationjobs.rs | 2 +- .../v1alpha1/reservations.rs | 2 +- .../v1alpha1/elasticquotas.rs | 2 +- .../v1alpha1/podgroups.rs | 2 +- .../v1beta1/podgroups.rs | 2 +- .../scheduling_volcano_sh/v1beta1/queues.rs | 2 +- .../v1alpha4/datatypes.rs | 2 +- .../v1alpha4/migrations.rs | 2 +- .../schemas_schemahero_io/v1alpha4/tables.rs | 2 +- .../scylla_scylladb_com/v1/scyllaclusters.rs | 275 +-- .../v1alpha1/nodeconfigs.rs | 2 +- .../v1alpha1/scyllaoperatorconfigs.rs | 2 +- .../v1alpha1/basicauths.rs | 2 +- .../v1alpha1/sshkeypairs.rs | 2 +- .../v1alpha1/stringsecrets.rs | 2 +- .../v1alpha1/storeconfigs.rs | 15 +- .../v1alpha1/dopplersecrets.rs | 13 +- .../secrets_hashicorp_com/v1beta1/hcpauths.rs | 2 +- .../v1beta1/hcpvaultsecretsapps.rs | 17 +- .../v1beta1/vaultauths.rs | 16 +- .../v1beta1/vaultconnections.rs | 2 +- .../v1beta1/vaultdynamicsecrets.rs | 23 +- .../v1beta1/vaultpkisecrets.rs | 17 +- .../v1beta1/vaultstaticsecrets.rs | 14 +- .../v1/secretproviderclasses.rs | 2 +- .../v1/secretproviderclasspodstatuses.rs | 2 +- .../v1alpha1/secretproviderclasses.rs | 2 +- .../secretproviderclasspodstatuses.rs | 2 +- .../v1alpha1/secrets.rs | 2 +- .../v1alpha1/imagemanifestvulns.rs | 2 +- .../v1/authorizationpolicies.rs | 2 +- .../v1/peerauthentications.rs | 2 +- .../v1/requestauthentications.rs | 2 +- .../v1beta1/authorizationpolicies.rs | 2 +- .../v1beta1/peerauthentications.rs | 2 +- .../v1beta1/requestauthentications.rs | 2 +- .../v1alpha1/apparmorprofiles.rs | 2 +- .../v1alpha1/profilebindings.rs | 4 +- .../v1alpha1/profilerecordings.rs | 8 +- .../v1alpha1/securityprofilenodestatuses.rs | 2 +- .../securityprofilesoperatordaemons.rs | 95 +- .../v1alpha2/rawselinuxprofiles.rs | 7 +- .../v1beta1/seccompprofiles.rs | 4 +- .../v1alpha1/selfnoderemediationconfigs.rs | 2 +- .../v1alpha1/selfnoderemediations.rs | 2 +- .../v1alpha1/selfnoderemediationtemplates.rs | 2 +- .../src/sematext_com/v1/sematextagents.rs | 2 +- .../clusterworkloadresourcemappings.rs | 2 +- .../v1alpha3/servicebindings.rs | 19 +- .../clusterworkloadresourcemappings.rs | 2 +- .../v1beta1/servicebindings.rs | 19 +- .../v1alpha1/istiocontrolplanes.rs | 1646 +++++++-------- .../v1alpha1/istiomeshes.rs | 141 +- .../v1alpha1/istiomeshgateways.rs | 324 +-- .../v1alpha1/peeristiocontrolplanes.rs | 1646 +++++++-------- .../v1alpha1/adoptedresources.rs | 2 +- .../services_k8s_aws/v1alpha1/fieldexports.rs | 8 +- .../serving_kubedl_io/v1alpha1/inferences.rs | 2 +- .../v1alpha1/activities.rs | 2 +- .../v1alpha1/statemachines.rs | 2 +- .../site_superedge_io/v1alpha1/nodegroups.rs | 2 +- .../site_superedge_io/v1alpha1/nodeunits.rs | 2 +- .../v1alpha1/nodemetrics.rs | 2 +- .../slo_koordinator_sh/v1alpha1/nodeslos.rs | 2 +- .../v1/prometheusservicelevels.rs | 2 +- .../v1/snapshotschedules.rs | 2 +- .../v1/volumesnapshotclasses.rs | 2 +- .../v1/volumesnapshotcontents.rs | 10 +- .../v1/volumesnapshots.rs | 2 +- .../v1beta1/volumesnapshotclasses.rs | 2 +- .../v1beta1/volumesnapshotcontents.rs | 10 +- .../v1beta1/volumesnapshots.rs | 2 +- .../v1alpha1/platformapplications.rs | 2 +- .../v1alpha1/platformendpoints.rs | 2 +- .../v1alpha1/subscriptions.rs | 2 +- .../sns_services_k8s_aws/v1alpha1/topics.rs | 2 +- .../v1alpha08/sonataflowbuilds.rs | 2 +- .../v1alpha08/sonataflowplatforms.rs | 2 +- .../v1/gitrepositories.rs | 2 +- .../source_toolkit_fluxcd_io/v1/helmcharts.rs | 10 +- .../v1/helmrepositories.rs | 2 +- .../v1beta1/buckets.rs | 15 +- .../v1beta1/gitrepositories.rs | 25 +- .../v1beta1/helmcharts.rs | 10 +- .../v1beta1/helmrepositories.rs | 15 +- .../v1beta2/buckets.rs | 17 +- .../v1beta2/gitrepositories.rs | 29 +- .../v1beta2/helmcharts.rs | 14 +- .../v1beta2/helmrepositories.rs | 17 +- .../v1beta2/ocirepositories.rs | 23 +- .../v1beta2/scheduledsparkapplications.rs | 736 +++---- .../v1beta2/sparkapplications.rs | 740 +++---- .../src/spv_no/v1/azurekeyvaultsecrets.rs | 8 +- .../v1alpha1/azurekeyvaultidentities.rs | 2 +- .../spv_no/v1alpha1/azurekeyvaultsecrets.rs | 8 +- .../spv_no/v1alpha1/azuremanagedidentities.rs | 2 +- .../spv_no/v2alpha1/azurekeyvaultsecrets.rs | 12 +- .../spv_no/v2beta1/azurekeyvaultsecrets.rs | 12 +- .../sqs_services_k8s_aws/v1alpha1/queues.rs | 2 +- .../v1beta1/constraintpodstatuses.rs | 2 +- .../v1beta1/constrainttemplatepodstatuses.rs | 2 +- .../v1beta1/expansiontemplatepodstatuses.rs | 2 +- .../v1beta1/mutatorpodstatuses.rs | 2 +- .../v1alpha1/storageproviders.rs | 9 +- .../src/storageos_com/v1/storageosclusters.rs | 2 +- .../src/sts_min_io/v1alpha1/policybindings.rs | 2 +- .../src/sts_min_io/v1beta1/policybindings.rs | 2 +- .../src/stunner_l7mp_io/v1/dataplanes.rs | 2 +- .../src/stunner_l7mp_io/v1/gatewayconfigs.rs | 2 +- .../src/stunner_l7mp_io/v1/staticservices.rs | 2 +- .../src/stunner_l7mp_io/v1/udproutes.rs | 17 +- .../stunner_l7mp_io/v1alpha1/dataplanes.rs | 2 +- .../v1alpha1/gatewayconfigs.rs | 2 +- .../v1alpha1/staticservices.rs | 2 +- .../src/submariner_io/v1alpha1/brokers.rs | 2 +- .../v1alpha1/servicediscoveries.rs | 2 +- .../src/submariner_io/v1alpha1/submariners.rs | 2 +- .../src/telemetry_istio_io/v1/telemetries.rs | 2 +- .../v1alpha1/telemetries.rs | 2 +- .../v1/constrainttemplates.rs | 2 +- .../v1alpha1/constrainttemplates.rs | 2 +- .../v1beta1/constrainttemplates.rs | 2 +- .../v1alpha1/tempomonolithics.rs | 153 +- .../tempo_grafana_com/v1alpha1/tempostacks.rs | 148 +- .../v1beta1/temporalclusterclients.rs | 2 +- .../temporal_io/v1beta1/temporalnamespaces.rs | 15 +- .../v1beta1/temporalworkerprocesses.rs | 21 +- .../src/tests_testkube_io/v1/scripts.rs | 2 +- .../tests_testkube_io/v1/testexecutions.rs | 81 +- .../src/tests_testkube_io/v1/tests.rs | 2 +- .../src/tests_testkube_io/v1/testsources.rs | 2 +- .../v1/testsuiteexecutions.rs | 141 +- .../src/tests_testkube_io/v1/testsuites.rs | 2 +- .../src/tests_testkube_io/v1/testtriggers.rs | 22 +- .../src/tests_testkube_io/v2/scripts.rs | 2 +- .../src/tests_testkube_io/v2/tests.rs | 2 +- .../src/tests_testkube_io/v2/testsuites.rs | 2 +- .../src/tests_testkube_io/v3/tests.rs | 2 +- .../src/tests_testkube_io/v3/testsuites.rs | 2 +- .../src/tf_tungsten_io/v1alpha1/analytics.rs | 2 +- .../tf_tungsten_io/v1alpha1/analyticsalarm.rs | 2 +- .../tf_tungsten_io/v1alpha1/analyticssnmp.rs | 2 +- .../src/tf_tungsten_io/v1alpha1/cassandras.rs | 2 +- .../src/tf_tungsten_io/v1alpha1/configs.rs | 2 +- .../src/tf_tungsten_io/v1alpha1/controls.rs | 2 +- .../tf_tungsten_io/v1alpha1/kubemanagers.rs | 2 +- .../src/tf_tungsten_io/v1alpha1/managers.rs | 2 +- .../tf_tungsten_io/v1alpha1/queryengine.rs | 2 +- .../src/tf_tungsten_io/v1alpha1/rabbitmqs.rs | 2 +- .../src/tf_tungsten_io/v1alpha1/redis.rs | 2 +- .../src/tf_tungsten_io/v1alpha1/vrouters.rs | 2 +- .../src/tf_tungsten_io/v1alpha1/zookeepers.rs | 2 +- .../src/theketch_io/v1beta1/apps.rs | 2 +- .../src/theketch_io/v1beta1/jobs.rs | 2 +- .../src/tinkerbell_org/v1alpha1/hardware.rs | 2 +- .../src/tinkerbell_org/v1alpha1/osies.rs | 2 +- .../src/tinkerbell_org/v1alpha1/stack.rs | 2 +- .../src/tinkerbell_org/v1alpha1/templates.rs | 2 +- .../src/tinkerbell_org/v1alpha1/workflows.rs | 2 +- .../src/tinkerbell_org/v1alpha2/hardware.rs | 2 +- .../src/tinkerbell_org/v1alpha2/osies.rs | 2 +- .../src/tinkerbell_org/v1alpha2/templates.rs | 2 +- .../src/tinkerbell_org/v1alpha2/workflows.rs | 2 +- .../v1alpha1/noderesourcetopologies.rs | 2 +- .../topolvm_cybozu_com/v1/logicalvolumes.rs | 2 +- .../topolvm_cybozu_com/v2/topolvmclusters.rs | 2 +- .../src/traefik_io/v1alpha1/ingressroutes.rs | 25 +- .../traefik_io/v1alpha1/ingressroutetcps.rs | 2 +- .../traefik_io/v1alpha1/ingressrouteudps.rs | 2 +- .../src/traefik_io/v1alpha1/middlewaretcps.rs | 2 +- .../traefik_io/v1alpha1/serverstransports.rs | 2 +- .../v1alpha1/serverstransporttcps.rs | 2 +- .../src/traefik_io/v1alpha1/tlsoptions.rs | 2 +- .../src/traefik_io/v1alpha1/tlsstores.rs | 2 +- .../traefik_io/v1alpha1/traefikservices.rs | 2 +- .../v1alpha1/elasticdljobs.rs | 2 +- .../training_kubedl_io/v1alpha1/marsjobs.rs | 2 +- .../training_kubedl_io/v1alpha1/mpijobs.rs | 2 +- .../v1alpha1/pytorchjobs.rs | 2 +- .../src/training_kubedl_io/v1alpha1/tfjobs.rs | 2 +- .../training_kubedl_io/v1alpha1/xdljobs.rs | 2 +- .../v1alpha1/xgboostjobs.rs | 2 +- .../v1/tridentorchestrators.rs | 2 +- .../trust_cert_manager_io/v1alpha1/bundles.rs | 35 +- .../src/upgrade_cattle_io/v1/plans.rs | 2 +- .../v1alpha1/upgradeconfigs.rs | 6 +- .../src/velero_io/v1/backuprepositories.rs | 2 +- .../src/velero_io/v1/backups.rs | 2 +- .../velero_io/v1/backupstoragelocations.rs | 2 +- .../src/velero_io/v1/deletebackuprequests.rs | 2 +- .../src/velero_io/v1/downloadrequests.rs | 4 +- .../src/velero_io/v1/podvolumebackups.rs | 2 +- .../src/velero_io/v1/podvolumerestores.rs | 2 +- .../src/velero_io/v1/schedules.rs | 2 +- .../src/velero_io/v1/serverstatusrequests.rs | 2 +- .../velero_io/v1/volumesnapshotlocations.rs | 2 +- .../src/velero_io/v2alpha1/datadownloads.rs | 2 +- .../src/velero_io/v2alpha1/datauploads.rs | 2 +- .../v1alpha1/virtualmachinemigrations.rs | 2 +- .../v1alpha1/virtualmachines.rs | 153 +- .../v1alpha1/replicationdestinations.rs | 77 +- .../v1alpha1/replicationsources.rs | 101 +- .../vpcresources_k8s_aws/v1alpha1/cninodes.rs | 2 +- .../v1beta1/securitygrouppolicies.rs | 2 +- .../v1alpha1/clusterpolicyreports.rs | 2 +- .../wgpolicyk8s_io/v1alpha1/policyreports.rs | 2 +- .../v1alpha2/clusterpolicyreports.rs | 2 +- .../wgpolicyk8s_io/v1alpha2/policyreports.rs | 2 +- .../v1beta1/clusterpolicyreports.rs | 2 +- .../wgpolicyk8s_io/v1beta1/policyreports.rs | 2 +- .../wildfly_org/v1alpha1/wildflyservers.rs | 85 +- .../v1alpha1/clusterresourcebindings.rs | 13 +- .../v1alpha1/resourcebindings.rs | 13 +- .../v1alpha2/clusterresourcebindings.rs | 81 +- .../v1alpha2/resourcebindings.rs | 81 +- .../v1beta1/appwrappers.rs | 2 +- .../v1beta1/schedulingspecs.rs | 2 +- .../v1beta2/appwrappers.rs | 2 +- .../v1alpha1/instancesets.rs | 799 ++++---- .../v1alpha1/replicatedstatemachines.rs | 819 ++++---- .../v1/zoneawareupdates.rs | 2 +- .../v1/zonedisruptionbudgets.rs | 2 +- .../v1beta1/zookeeperclusters.rs | 2 +- 1979 files changed, 37078 insertions(+), 37185 deletions(-) delete mode 100644 crd-catalog/3scale-ops/marin3r/marin3r.3scale.net/v1alpha1/envoyconfigrevisions.args delete mode 100644 crd-catalog/3scale-ops/marin3r/marin3r.3scale.net/v1alpha1/envoyconfigs.args delete mode 100644 crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/backends.args delete mode 100644 crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/openapis.args delete mode 100644 crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/products.args delete mode 100644 crd-catalog/3scale/apicast-operator/apps.3scale.net/v1alpha1/apicasts.args delete mode 100644 crd-catalog/Apicurio/apicurio-registry-operator/registry.apicur.io/v1/apicurioregistries.args delete mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlserveradministrators.args delete mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/rediscacheactions.args delete mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlfailovergroups.args delete mode 100644 crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/pgadmins.args delete mode 100644 crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/pgupgrades.args delete mode 100644 crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/postgresclusters.args delete mode 100644 crd-catalog/DataDog/datadog-operator/datadoghq.com/v1alpha1/datadogslos.args delete mode 100644 crd-catalog/DataDog/datadog-operator/datadoghq.com/v2alpha1/datadogagents.args delete mode 100644 crd-catalog/DopplerHQ/kubernetes-operator/secrets.doppler.com/v1alpha1/dopplersecrets.args delete mode 100644 crd-catalog/FairwindsOps/rbac-manager/rbacmanager.reactiveops.io/v1beta1/rbacdefinitions.args delete mode 100644 crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/backups.args delete mode 100644 crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/backupschedules.args delete mode 100644 crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/databases.args delete mode 100644 crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/exports.args delete mode 100644 crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/imports.args delete mode 100644 crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/pitrs.args delete mode 100644 crd-catalog/GoogleCloudPlatform/spark-on-k8s-operator/sparkoperator.k8s.io/v1beta2/scheduledsparkapplications.args delete mode 100644 crd-catalog/GoogleCloudPlatform/spark-on-k8s-operator/sparkoperator.k8s.io/v1beta2/sparkapplications.args delete mode 100644 crd-catalog/KaotoIO/kaoto-operator/designer.kaoto.io/v1alpha1/kaotoes.args delete mode 100644 crd-catalog/Kuadrant/kuadrant-operator/kuadrant.io/v1beta1/kuadrants.args delete mode 100644 crd-catalog/Kuadrant/kuadrant-operator/kuadrant.io/v1beta2/ratelimitpolicies.args delete mode 100644 crd-catalog/Kuadrant/limitador-operator/limitador.kuadrant.io/v1alpha1/limitadors.args delete mode 100644 crd-catalog/RedisLabs/redis-enterprise-k8s-docs/app.redislabs.com/v1/redisenterpriseclusters.args delete mode 100644 crd-catalog/RedisLabs/redis-enterprise-k8s-docs/app.redislabs.com/v1alpha1/redisenterpriseclusters.args delete mode 100644 crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v1/azurekeyvaultsecrets.args delete mode 100644 crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v1alpha1/azurekeyvaultsecrets.args delete mode 100644 crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v2alpha1/azurekeyvaultsecrets.args delete mode 100644 crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v2beta1/azurekeyvaultsecrets.args delete mode 100644 crd-catalog/ThinkParQ/beegfs-csi-driver/beegfs.csi.netapp.com/v1/beegfsdrivers.args delete mode 100644 crd-catalog/alexandrevilain/temporal-operator/temporal.io/v1beta1/temporalnamespaces.args delete mode 100644 crd-catalog/alexandrevilain/temporal-operator/temporal.io/v1beta1/temporalworkerprocesses.args delete mode 100644 crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/resourceimports.args delete mode 100644 crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixroutes.args delete mode 100644 crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixtlses.args delete mode 100644 crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixupstreams.args delete mode 100644 crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusterdefinitions.args delete mode 100644 crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusters.args delete mode 100644 crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/componentdefinitions.args delete mode 100644 crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/configconstraints.args delete mode 100644 crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/configurations.args delete mode 100644 crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/opsdefinitions.args delete mode 100644 crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/opsrequests.args delete mode 100644 crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1beta1/configconstraints.args delete mode 100644 crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/backuppolicies.args delete mode 100644 crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/backuprepos.args delete mode 100644 crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/backups.args delete mode 100644 crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/restores.args delete mode 100644 crd-catalog/apecloud/kubeblocks/extensions.kubeblocks.io/v1alpha1/addons.args delete mode 100644 crd-catalog/apecloud/kubeblocks/storage.kubeblocks.io/v1alpha1/storageproviders.args delete mode 100644 crd-catalog/apecloud/kubeblocks/workloads.kubeblocks.io/v1alpha1/instancesets.args delete mode 100644 crd-catalog/apecloud/kubeblocks/workloads.kubeblocks.io/v1alpha1/replicatedstatemachines.args delete mode 100644 crd-catalog/apimatic/apimatic-kubernetes-operator/apicodegen.apimatic.io/v1beta1/apimatics.args delete mode 100644 crd-catalog/arsenalzp/apch-operator/apacheweb.arsenal.dev/v1alpha1/apachewebs.args delete mode 100644 crd-catalog/authzed/spicedb-operator/authzed.com/v1alpha1/spicedbclusters.args delete mode 100644 crd-catalog/aws-controllers-k8s/eks-controller/services.k8s.aws/v1alpha1/fieldexports.args delete mode 100644 crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/accesslogpolicies.args delete mode 100644 crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/iamauthpolicies.args delete mode 100644 crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/serviceexports.args delete mode 100644 crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/serviceimports.args delete mode 100644 crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/targetgrouppolicies.args delete mode 100644 crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/vpcassociationpolicies.args delete mode 100644 crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/nutanixmachineconfigs.args delete mode 100644 crd-catalog/aws/karpenter-provider-aws/karpenter.k8s.aws/v1beta1/ec2nodeclasses.args delete mode 100644 crd-catalog/aws/karpenter-provider-aws/karpenter.sh/v1beta1/nodeclaims.args delete mode 100644 crd-catalog/aws/karpenter-provider-aws/karpenter.sh/v1beta1/nodepools.args delete mode 100644 crd-catalog/b3scale/b3scale-operator/b3scale.infra.run/v1/bbbfrontends.args delete mode 100644 crd-catalog/backube/volsync/volsync.backube/v1alpha1/replicationdestinations.args delete mode 100644 crd-catalog/backube/volsync/volsync.backube/v1alpha1/replicationsources.args delete mode 100644 crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/istiocontrolplanes.args delete mode 100644 crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/istiomeshes.args delete mode 100644 crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/istiomeshgateways.args delete mode 100644 crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/peeristiocontrolplanes.args delete mode 100644 crd-catalog/banzaicloud/koperator/kafka.banzaicloud.io/v1alpha1/kafkausers.args delete mode 100644 crd-catalog/banzaicloud/koperator/kafka.banzaicloud.io/v1beta1/kafkaclusters.args delete mode 100644 crd-catalog/berops/claudie/claudie.io/v1beta1/inputmanifests.args delete mode 100644 crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/bpfprograms.args delete mode 100644 crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/kprobeprograms.args delete mode 100644 crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/tcprograms.args delete mode 100644 crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/tracepointprograms.args delete mode 100644 crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/uprobeprograms.args delete mode 100644 crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/xdpprograms.args delete mode 100644 crd-catalog/cert-manager/cert-manager/acme.cert-manager.io/v1/challenges.args delete mode 100644 crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/certificaterequests.args delete mode 100644 crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/certificates.args delete mode 100644 crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/clusterissuers.args delete mode 100644 crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/issuers.args delete mode 100644 crd-catalog/cert-manager/trust-manager/trust.cert-manager.io/v1alpha1/bundles.args delete mode 100644 crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/awschaos.args delete mode 100644 crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/azurechaos.args delete mode 100644 crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/blockchaos.args delete mode 100644 crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/dnschaos.args delete mode 100644 crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/gcpchaos.args delete mode 100644 crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/httpchaos.args delete mode 100644 crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/iochaos.args delete mode 100644 crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/jvmchaos.args delete mode 100644 crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/kernelchaos.args delete mode 100644 crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/networkchaos.args delete mode 100644 crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/physicalmachinechaos.args delete mode 100644 crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/podchaos.args delete mode 100644 crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/schedules.args delete mode 100644 crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/statuschecks.args delete mode 100644 crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/stresschaos.args delete mode 100644 crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/timechaos.args delete mode 100644 crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/workflownodes.args delete mode 100644 crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/workflows.args delete mode 100644 crd-catalog/cilium/cilium/cilium.io/v2/ciliumclusterwidenetworkpolicies.args delete mode 100644 crd-catalog/cilium/cilium/cilium.io/v2/ciliumegressgatewaypolicies.args delete mode 100644 crd-catalog/cilium/cilium/cilium.io/v2/ciliumlocalredirectpolicies.args delete mode 100644 crd-catalog/cilium/cilium/cilium.io/v2/ciliumnetworkpolicies.args delete mode 100644 crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumbgppeeringpolicies.args delete mode 100644 crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliuml2announcementpolicies.args delete mode 100644 crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumloadbalancerippools.args delete mode 100644 crd-catalog/clastix/capsule/capsule.clastix.io/v1alpha1/tenants.args delete mode 100644 crd-catalog/clastix/capsule/capsule.clastix.io/v1beta1/tenants.args delete mode 100644 crd-catalog/clastix/capsule/capsule.clastix.io/v1beta2/tenants.args delete mode 100644 crd-catalog/clastix/kamaji/kamaji.clastix.io/v1alpha1/datastores.args delete mode 100644 crd-catalog/clastix/kamaji/kamaji.clastix.io/v1alpha1/tenantcontrolplanes.args delete mode 100644 crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/descriptions.args delete mode 100644 crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/globalizations.args delete mode 100644 crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/localizations.args delete mode 100644 crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/subscriptions.args delete mode 100644 crd-catalog/clusternet/clusternet/clusters.clusternet.io/v1beta1/managedclusters.args delete mode 100644 crd-catalog/clusterpedia-io/clusterpedia/cluster.clusterpedia.io/v1alpha2/pediaclusters.args delete mode 100644 crd-catalog/clusterpedia-io/clusterpedia/policy.clusterpedia.io/v1alpha1/clusterimportpolicies.args delete mode 100644 crd-catalog/clusterpedia-io/clusterpedia/policy.clusterpedia.io/v1alpha1/pediaclusterlifecycles.args delete mode 100644 crd-catalog/confidential-containers/operator/confidentialcontainers.org/v1beta1/ccruntimes.args delete mode 100644 crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaseclusters.args delete mode 100644 crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasegroups.args delete mode 100644 crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaserolebindings.args delete mode 100644 crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaseusers.args delete mode 100644 crd-catalog/crossplane/crossplane/secrets.crossplane.io/v1alpha1/storeconfigs.args delete mode 100644 crd-catalog/cryostatio/cryostat-operator/operator.cryostat.io/v1beta1/cryostats.args delete mode 100644 crd-catalog/datainfrahq/druid-operator/druid.apache.org/v1alpha1/druids.args delete mode 100644 crd-catalog/devfile/registry-operator/registry.devfile.io/v1alpha1/clusterdevfileregistrieslists.args delete mode 100644 crd-catalog/devfile/registry-operator/registry.devfile.io/v1alpha1/devfileregistries.args delete mode 100644 crd-catalog/devfile/registry-operator/registry.devfile.io/v1alpha1/devfileregistrieslists.args delete mode 100644 crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/listeners.args delete mode 100644 crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/tracingservices.args delete mode 100644 crd-catalog/emqx/emqx-operator/apps.emqx.io/v2alpha1/emqxes.args delete mode 100644 crd-catalog/emqx/emqx-operator/apps.emqx.io/v2beta1/emqxes.args delete mode 100644 crd-catalog/external-secrets/external-secrets/external-secrets.io/v1alpha1/clustersecretstores.args delete mode 100644 crd-catalog/external-secrets/external-secrets/external-secrets.io/v1alpha1/secretstores.args delete mode 100644 crd-catalog/external-secrets/external-secrets/external-secrets.io/v1beta1/clustersecretstores.args delete mode 100644 crd-catalog/external-secrets/external-secrets/external-secrets.io/v1beta1/secretstores.args delete mode 100644 crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusterfilters.args delete mode 100644 crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusterinputs.args delete mode 100644 crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusteroutputs.args delete mode 100644 crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/filters.args delete mode 100644 crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/fluentds.args delete mode 100644 crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/inputs.args delete mode 100644 crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/outputs.args delete mode 100644 crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/alluxioruntimes.args delete mode 100644 crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/databackups.args delete mode 100644 crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/dataloads.args delete mode 100644 crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/goosefsruntimes.args delete mode 100644 crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/jindoruntimes.args delete mode 100644 crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/juicefsruntimes.args delete mode 100644 crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/thinruntimes.args delete mode 100644 crd-catalog/flux-framework/flux-operator/flux-framework.org/v1alpha1/miniclusters.args delete mode 100644 crd-catalog/fluxcd/flagger/flagger.app/v1beta1/canaries.args delete mode 100644 crd-catalog/fluxcd/flagger/flagger.app/v1beta1/metrictemplates.args delete mode 100644 crd-catalog/fluxcd/helm-controller/helm.toolkit.fluxcd.io/v2/helmreleases.args delete mode 100644 crd-catalog/fluxcd/helm-controller/helm.toolkit.fluxcd.io/v2beta1/helmreleases.args delete mode 100644 crd-catalog/fluxcd/helm-controller/helm.toolkit.fluxcd.io/v2beta2/helmreleases.args delete mode 100644 crd-catalog/fluxcd/image-automation-controller/image.toolkit.fluxcd.io/v1beta1/imageupdateautomations.args delete mode 100644 crd-catalog/fluxcd/image-automation-controller/image.toolkit.fluxcd.io/v1beta2/imageupdateautomations.args delete mode 100644 crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta1/imagepolicies.args delete mode 100644 crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta1/imagerepositories.args delete mode 100644 crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta2/imagepolicies.args delete mode 100644 crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta2/imagerepositories.args delete mode 100644 crd-catalog/fluxcd/kustomize-controller/kustomize.toolkit.fluxcd.io/v1/kustomizations.args delete mode 100644 crd-catalog/fluxcd/kustomize-controller/kustomize.toolkit.fluxcd.io/v1beta1/kustomizations.args delete mode 100644 crd-catalog/fluxcd/kustomize-controller/kustomize.toolkit.fluxcd.io/v1beta2/kustomizations.args delete mode 100644 crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1/receivers.args delete mode 100644 crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta1/alerts.args delete mode 100644 crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta1/providers.args delete mode 100644 crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta1/receivers.args delete mode 100644 crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta2/alerts.args delete mode 100644 crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta2/providers.args delete mode 100644 crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta2/receivers.args delete mode 100644 crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta3/alerts.args delete mode 100644 crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta3/providers.args delete mode 100644 crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1/helmcharts.args delete mode 100644 crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/buckets.args delete mode 100644 crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/gitrepositories.args delete mode 100644 crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/helmcharts.args delete mode 100644 crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/helmrepositories.args delete mode 100644 crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/buckets.args delete mode 100644 crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/gitrepositories.args delete mode 100644 crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/helmcharts.args delete mode 100644 crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/helmrepositories.args delete mode 100644 crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/ocirepositories.args delete mode 100644 crd-catalog/gitlab-org/cloud-native/gitlab-operator/apps.gitlab.com/v1beta1/gitlabs.args delete mode 100644 crd-catalog/gpu-ninja/dex-operator/dex.gpu-ninja.com/v1alpha1/dexidentityproviders.args delete mode 100644 crd-catalog/grafana/k6-operator/k6.io/v1alpha1/k6s.args delete mode 100644 crd-catalog/grafana/k6-operator/k6.io/v1alpha1/privateloadzones.args delete mode 100644 crd-catalog/grafana/k6-operator/k6.io/v1alpha1/testruns.args delete mode 100644 crd-catalog/grafana/loki/loki.grafana.com/v1/alertingrules.args delete mode 100644 crd-catalog/grafana/loki/loki.grafana.com/v1/lokistacks.args delete mode 100644 crd-catalog/grafana/loki/loki.grafana.com/v1/recordingrules.args delete mode 100644 crd-catalog/grafana/loki/loki.grafana.com/v1/rulerconfigs.args delete mode 100644 crd-catalog/grafana/loki/loki.grafana.com/v1beta1/alertingrules.args delete mode 100644 crd-catalog/grafana/loki/loki.grafana.com/v1beta1/lokistacks.args delete mode 100644 crd-catalog/grafana/loki/loki.grafana.com/v1beta1/recordingrules.args delete mode 100644 crd-catalog/grafana/loki/loki.grafana.com/v1beta1/rulerconfigs.args delete mode 100644 crd-catalog/grafana/tempo-operator/tempo.grafana.com/v1alpha1/tempomonolithics.args delete mode 100644 crd-catalog/grafana/tempo-operator/tempo.grafana.com/v1alpha1/tempostacks.args delete mode 100644 crd-catalog/gravitational/teleport/resources.teleport.dev/v1/teleportloginrules.args delete mode 100644 crd-catalog/gravitational/teleport/resources.teleport.dev/v1/teleportoktaimportrules.args delete mode 100644 crd-catalog/gravitational/teleport/resources.teleport.dev/v2/teleportsamlconnectors.args delete mode 100644 crd-catalog/gravitational/teleport/resources.teleport.dev/v2/teleportusers.args delete mode 100644 crd-catalog/gravitational/teleport/resources.teleport.dev/v3/teleportgithubconnectors.args delete mode 100644 crd-catalog/gravitational/teleport/resources.teleport.dev/v3/teleportoidcconnectors.args delete mode 100644 crd-catalog/hashicorp/terraform-cloud-operator/app.terraform.io/v1alpha2/workspaces.args delete mode 100644 crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/hcpvaultsecretsapps.args delete mode 100644 crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultauths.args delete mode 100644 crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultdynamicsecrets.args delete mode 100644 crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultpkisecrets.args delete mode 100644 crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultstaticsecrets.args delete mode 100644 crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/maps.args delete mode 100644 crd-catalog/infinispan/infinispan-operator/infinispan.org/v1/infinispans.args delete mode 100644 crd-catalog/ipfs-cluster/ipfs-operator/cluster.ipfs.io/v1alpha1/ipfsclusters.args delete mode 100644 crd-catalog/k8ssandra/cass-operator/cassandra.datastax.com/v1beta1/cassandradatacenters.args delete mode 100644 crd-catalog/k8up-io/k8up/k8up.io/v1/archives.args delete mode 100644 crd-catalog/k8up-io/k8up/k8up.io/v1/backups.args delete mode 100644 crd-catalog/k8up-io/k8up/k8up.io/v1/checks.args delete mode 100644 crd-catalog/k8up-io/k8up/k8up.io/v1/prunes.args delete mode 100644 crd-catalog/k8up-io/k8up/k8up.io/v1/restores.args delete mode 100644 crd-catalog/k8up-io/k8up/k8up.io/v1/schedules.args delete mode 100644 crd-catalog/karmada-io/karmada/networking.karmada.io/v1alpha1/multiclusterservices.args delete mode 100644 crd-catalog/karmada-io/karmada/policy.karmada.io/v1alpha1/clusteroverridepolicies.args delete mode 100644 crd-catalog/karmada-io/karmada/policy.karmada.io/v1alpha1/overridepolicies.args delete mode 100644 crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha1/clusterresourcebindings.args delete mode 100644 crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha1/resourcebindings.args delete mode 100644 crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha2/clusterresourcebindings.args delete mode 100644 crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha2/resourcebindings.args delete mode 100644 crd-catalog/kedacore/keda/keda.sh/v1alpha1/clustertriggerauthentications.args delete mode 100644 crd-catalog/kedacore/keda/keda.sh/v1alpha1/triggerauthentications.args delete mode 100644 crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitobuilds.args delete mode 100644 crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitoinfras.args delete mode 100644 crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitoruntimes.args delete mode 100644 crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitosupportingservices.args delete mode 100644 crd-catalog/kubeedge/kubeedge/rules.kubeedge.io/v1/ruleendpoints.args delete mode 100644 crd-catalog/kubemod/kubemod/api.kubemod.io/v1beta1/modrules.args delete mode 100644 crd-catalog/kubernetes-csi/external-snapshotter/groupsnapshot.storage.k8s.io/v1alpha1/volumegroupsnapshotcontents.args delete mode 100644 crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1/volumesnapshotcontents.args delete mode 100644 crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1beta1/volumesnapshotcontents.args delete mode 100644 crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vsphereclusters.args delete mode 100644 crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vspherefailuredomains.args delete mode 100644 crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vsphereclusters.args delete mode 100644 crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vsphereclustertemplates.args delete mode 100644 crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vspherefailuredomains.args delete mode 100644 crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vsphereclusters.args delete mode 100644 crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vsphereclustertemplates.args delete mode 100644 crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vspherefailuredomains.args delete mode 100644 crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha3/clusterresourcesetbindings.args delete mode 100644 crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha3/clusterresourcesets.args delete mode 100644 crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha4/clusterresourcesetbindings.args delete mode 100644 crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha4/clusterresourcesets.args delete mode 100644 crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1beta1/clusterresourcesetbindings.args delete mode 100644 crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1beta1/clusterresourcesets.args delete mode 100644 crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/gatewayclasses.args delete mode 100644 crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/gateways.args delete mode 100644 crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/grpcroutes.args delete mode 100644 crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/httproutes.args delete mode 100644 crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/grpcroutes.args delete mode 100644 crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/tcproutes.args delete mode 100644 crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/tlsroutes.args delete mode 100644 crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/udproutes.args delete mode 100644 crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1beta1/gatewayclasses.args delete mode 100644 crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1beta1/gateways.args delete mode 100644 crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1beta1/httproutes.args delete mode 100644 crd-catalog/kubernetes-sigs/hierarchical-namespaces/hnc.x-k8s.io/v1alpha2/hierarchyconfigurations.args delete mode 100644 crd-catalog/kubernetes-sigs/hierarchical-namespaces/hnc.x-k8s.io/v1alpha2/hncconfigurations.args delete mode 100644 crd-catalog/kubernetes-sigs/jobset/jobset.x-k8s.io/v1alpha2/jobsets.args delete mode 100644 crd-catalog/kubernetes-sigs/kernel-module-management/kmm.sigs.x-k8s.io/v1beta2/preflightvalidations.args delete mode 100644 crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/admissionchecks.args delete mode 100644 crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/clusterqueues.args delete mode 100644 crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/localqueues.args delete mode 100644 crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/workloads.args delete mode 100644 crd-catalog/kubernetes-sigs/mcs-api/multicluster.x-k8s.io/v1alpha1/serviceexports.args delete mode 100644 crd-catalog/kubernetes-sigs/mcs-api/multicluster.x-k8s.io/v1alpha1/serviceimports.args delete mode 100644 crd-catalog/kubernetes-sigs/network-policy-api/policy.networking.k8s.io/v1alpha1/adminnetworkpolicies.args delete mode 100644 crd-catalog/kubernetes-sigs/network-policy-api/policy.networking.k8s.io/v1alpha1/baselineadminnetworkpolicies.args delete mode 100644 crd-catalog/kubernetes-sigs/node-feature-discovery-operator/nfd.kubernetes.io/v1/nodefeaturediscoveries.args delete mode 100644 crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/profilebindings.args delete mode 100644 crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/profilerecordings.args delete mode 100644 crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/securityprofilesoperatordaemons.args delete mode 100644 crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha2/rawselinuxprofiles.args delete mode 100644 crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1beta1/seccompprofiles.args delete mode 100644 crd-catalog/kubernetes/autoscaler/autoscaling.k8s.io/v1/verticalpodautoscalers.args delete mode 100644 crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testexecutions.args delete mode 100644 crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsuiteexecutions.args delete mode 100644 crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testtriggers.args delete mode 100644 crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/networkmaps.args delete mode 100644 crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/clusteroverridepolicies.args delete mode 100644 crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/clusterpropagationpolicies.args delete mode 100644 crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/overridepolicies.args delete mode 100644 crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/propagationpolicies.args delete mode 100644 crd-catalog/kumahq/kuma/kuma.io/v1alpha1/containerpatches.args delete mode 100644 crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshaccesslogs.args delete mode 100644 crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshgatewayinstances.args delete mode 100644 crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshhttproutes.args delete mode 100644 crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshloadbalancingstrategies.args delete mode 100644 crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshproxypatches.args delete mode 100644 crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshretries.args delete mode 100644 crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshtraces.args delete mode 100644 crd-catalog/kyverno/kyverno/kyverno.io/v1/clusterpolicies.args delete mode 100644 crd-catalog/kyverno/kyverno/kyverno.io/v1/policies.args delete mode 100644 crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/cleanuppolicies.args delete mode 100644 crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/clustercleanuppolicies.args delete mode 100644 crd-catalog/kyverno/kyverno/kyverno.io/v2/cleanuppolicies.args delete mode 100644 crd-catalog/kyverno/kyverno/kyverno.io/v2/clustercleanuppolicies.args delete mode 100644 crd-catalog/kyverno/kyverno/kyverno.io/v2/policyexceptions.args delete mode 100644 crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/cleanuppolicies.args delete mode 100644 crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/clustercleanuppolicies.args delete mode 100644 crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/policyexceptions.args delete mode 100644 crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/cleanuppolicies.args delete mode 100644 crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/clustercleanuppolicies.args delete mode 100644 crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/clusterpolicies.args delete mode 100644 crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/policies.args delete mode 100644 crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/policyexceptions.args delete mode 100644 crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/udproutes.args delete mode 100644 crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/mariadbs.args delete mode 100644 crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/maxscales.args delete mode 100644 crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/backups.args delete mode 100644 crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/connections.args delete mode 100644 crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/databases.args delete mode 100644 crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/grants.args delete mode 100644 crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/mariadbs.args delete mode 100644 crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/restores.args delete mode 100644 crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/sqljobs.args delete mode 100644 crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/users.args delete mode 100644 crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/hostfirmwaresettings.args delete mode 100644 crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/preprovisioningimages.args delete mode 100644 crd-catalog/migtools/crane-operator/crane.konveyor.io/v1alpha1/operatorconfigs.args delete mode 100644 crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1alpha1/flowcollectors.args delete mode 100644 crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1beta1/flowcollectors.args delete mode 100644 crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1beta2/flowcollectors.args delete mode 100644 crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/nginxgateways.args delete mode 100644 crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/observabilitypolicies.args delete mode 100644 crd-catalog/open-cluster-management-io/ocm/operator.open-cluster-management.io/v1/clustermanagers.args delete mode 100644 crd-catalog/open-cluster-management-io/ocm/operator.open-cluster-management.io/v1/klusterlets.args delete mode 100644 crd-catalog/open-feature/open-feature-operator/core.openfeature.dev/v1alpha1/featureflagconfigurations.args delete mode 100644 crd-catalog/open-feature/open-feature-operator/core.openfeature.dev/v1alpha2/featureflagconfigurations.args delete mode 100644 crd-catalog/openshift/hive/hive.openshift.io/v1/hiveconfigs.args delete mode 100644 crd-catalog/openshift/hive/hiveinternal.openshift.io/v1alpha1/clustersyncs.args delete mode 100644 crd-catalog/openshift/managed-upgrade-operator/upgrade.managed.openshift.io/v1alpha1/upgradeconfigs.args delete mode 100644 crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha2/kafkaserverconfigs.args delete mode 100644 crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha3/kafkaserverconfigs.args delete mode 100644 crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/backupstorages.args delete mode 100644 crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/databaseclusters.args delete mode 100644 crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/monitoringconfigs.args delete mode 100644 crd-catalog/percona/percona-postgresql-operator/pgv2.percona.com/v2/perconapgclusters.args delete mode 100644 crd-catalog/percona/percona-server-mysql-operator/ps.percona.com/v1alpha1/perconaservermysqls.args delete mode 100644 crd-catalog/percona/percona-xtradb-cluster-operator/pxc.percona.com/v1/perconaxtradbclusterbackups.args delete mode 100644 crd-catalog/percona/percona-xtradb-cluster-operator/pxc.percona.com/v1/perconaxtradbclusterrestores.args delete mode 100644 crd-catalog/projectcontour/contour/projectcontour.io/v1/httpproxies.args delete mode 100644 crd-catalog/projectcontour/contour/projectcontour.io/v1/tlscertificatedelegations.args delete mode 100644 crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/contourconfigurations.args delete mode 100644 crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/contourdeployments.args delete mode 100644 crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/extensionservices.args delete mode 100644 crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/prometheuses.args delete mode 100644 crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/thanosrulers.args delete mode 100644 crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/alertmanagerconfigs.args delete mode 100644 crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/prometheusagents.args delete mode 100644 crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/scrapeconfigs.args delete mode 100644 crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1beta1/alertmanagerconfigs.args delete mode 100644 crd-catalog/pulp/pulp-operator/repo-manager.pulpproject.org/v1beta2/pulpbackups.args delete mode 100644 crd-catalog/pulp/pulp-operator/repo-manager.pulpproject.org/v1beta2/pulprestores.args delete mode 100644 crd-catalog/ray-project/kuberay/ray.io/v1/rayclusters.args delete mode 100644 crd-catalog/ray-project/kuberay/ray.io/v1/rayjobs.args delete mode 100644 crd-catalog/ray-project/kuberay/ray.io/v1/rayservices.args delete mode 100644 crd-catalog/ray-project/kuberay/ray.io/v1alpha1/rayclusters.args delete mode 100644 crd-catalog/ray-project/kuberay/ray.io/v1alpha1/rayjobs.args delete mode 100644 crd-catalog/ray-project/kuberay/ray.io/v1alpha1/rayservices.args delete mode 100644 crd-catalog/redhat-cop/keepalived-operator/redhatcop.redhat.io/v1alpha1/keepalivedgroups.args delete mode 100644 crd-catalog/redhat-cop/namespace-configuration-operator/redhatcop.redhat.io/v1alpha1/namespaceconfigs.args delete mode 100644 crd-catalog/redhat-cop/namespace-configuration-operator/redhatcop.redhat.io/v1alpha1/userconfigs.args delete mode 100644 crd-catalog/redhat-developer/service-binding-operator/binding.operators.coreos.com/v1alpha1/servicebindings.args delete mode 100644 crd-catalog/redhat-developer/service-binding-operator/servicebinding.io/v1alpha3/servicebindings.args delete mode 100644 crd-catalog/redhat-developer/service-binding-operator/servicebinding.io/v1beta1/servicebindings.args delete mode 100644 crd-catalog/rook/rook/ceph.rook.io/v1/cephbucketnotifications.args delete mode 100644 crd-catalog/scylladb/scylla-operator/scylla.scylladb.com/v1/scyllaclusters.args delete mode 100644 crd-catalog/shipwright-io/operator/operator.shipwright.io/v1alpha1/shipwrightbuilds.args delete mode 100644 crd-catalog/smartxworks/virtink/virt.virtink.smartx.com/v1alpha1/virtualmachines.args delete mode 100644 crd-catalog/stolostron/cluster-templates-operator/clustertemplate.openshift.io/v1alpha1/clustertemplateinstances.args delete mode 100644 crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1alpha1/kafkausers.args delete mode 100644 crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta1/kafkausers.args delete mode 100644 crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkabridges.args delete mode 100644 crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkaconnects.args delete mode 100644 crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkamirrormakers.args delete mode 100644 crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkas.args delete mode 100644 crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkausers.args delete mode 100644 crd-catalog/tigera/operator/operator.tigera.io/v1/amazoncloudintegrations.args delete mode 100644 crd-catalog/tigera/operator/operator.tigera.io/v1/apiservers.args delete mode 100644 crd-catalog/tigera/operator/operator.tigera.io/v1/applicationlayers.args delete mode 100644 crd-catalog/tigera/operator/operator.tigera.io/v1/authentications.args delete mode 100644 crd-catalog/tigera/operator/operator.tigera.io/v1/compliances.args delete mode 100644 crd-catalog/tigera/operator/operator.tigera.io/v1/egressgateways.args delete mode 100644 crd-catalog/tigera/operator/operator.tigera.io/v1/installations.args delete mode 100644 crd-catalog/tigera/operator/operator.tigera.io/v1/intrusiondetections.args delete mode 100644 crd-catalog/tigera/operator/operator.tigera.io/v1/logcollectors.args delete mode 100644 crd-catalog/tigera/operator/operator.tigera.io/v1/logstorages.args delete mode 100644 crd-catalog/tigera/operator/operator.tigera.io/v1/managementclusterconnections.args delete mode 100644 crd-catalog/tigera/operator/operator.tigera.io/v1/managers.args delete mode 100644 crd-catalog/tigera/operator/operator.tigera.io/v1/monitors.args delete mode 100644 crd-catalog/tigera/operator/operator.tigera.io/v1/packetcaptures.args delete mode 100644 crd-catalog/tigera/operator/operator.tigera.io/v1/policyrecommendations.args delete mode 100644 crd-catalog/tigera/operator/operator.tigera.io/v1/tenants.args delete mode 100644 crd-catalog/tigera/operator/operator.tigera.io/v1/tlspassthroughroutes.args delete mode 100644 crd-catalog/tigera/operator/operator.tigera.io/v1/tlsterminatedroutes.args delete mode 100644 crd-catalog/traefik/traefik/traefik.io/v1alpha1/ingressroutes.args delete mode 100644 crd-catalog/vmware-tanzu/velero/velero.io/v1/downloadrequests.args delete mode 100644 crd-catalog/weaveworks/tf-controller/infra.contrib.fluxcd.io/v1alpha1/terraforms.args delete mode 100644 crd-catalog/weaveworks/tf-controller/infra.contrib.fluxcd.io/v1alpha2/terraforms.args delete mode 100644 crd-catalog/wildfly/wildfly-operator/wildfly.org/v1alpha1/wildflyservers.args diff --git a/code-generator/create-custom-resources.sh b/code-generator/create-custom-resources.sh index 4546658ba..717876d14 100755 --- a/code-generator/create-custom-resources.sh +++ b/code-generator/create-custom-resources.sh @@ -16,7 +16,6 @@ for file in ./crd-catalog/**/*.yaml; do path="${file%.*}" ignore_file="${path}.ignore" - args_file="${path}.args" fixup_file="${path}.fixup" fixed_file="${path}.fixed" file_to_read="${file}" @@ -39,14 +38,8 @@ for file in ./crd-catalog/**/*.yaml; do file_to_read="${fixed_file}" fi - if [ -f "${args_file}" ]; then - if ! xargs --arg-file="${args_file}" --delimiter='\n' kopium --docs --filename="${file_to_read}" > "${version_directory}/${resource_filename}.rs"; then - echo " error in ${file_to_read}" - fi - else - if ! kopium --docs --filename="${file_to_read}" --derive=Default --derive=PartialEq > "${version_directory}/${resource_filename}.rs"; then - echo " error in ${file_to_read}" - fi + if ! kopium --docs --filename="${file_to_read}" --derive=Default --derive=PartialEq --smart-derive-elision > "${version_directory}/${resource_filename}.rs"; then + echo " error in ${file_to_read}" fi fi done diff --git a/crd-catalog/3scale-ops/marin3r/marin3r.3scale.net/v1alpha1/envoyconfigrevisions.args b/crd-catalog/3scale-ops/marin3r/marin3r.3scale.net/v1alpha1/envoyconfigrevisions.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/3scale-ops/marin3r/marin3r.3scale.net/v1alpha1/envoyconfigrevisions.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/3scale-ops/marin3r/marin3r.3scale.net/v1alpha1/envoyconfigs.args b/crd-catalog/3scale-ops/marin3r/marin3r.3scale.net/v1alpha1/envoyconfigs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/3scale-ops/marin3r/marin3r.3scale.net/v1alpha1/envoyconfigs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/backends.args b/crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/backends.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/backends.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/openapis.args b/crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/openapis.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/openapis.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/products.args b/crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/products.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/products.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/3scale/apicast-operator/apps.3scale.net/v1alpha1/apicasts.args b/crd-catalog/3scale/apicast-operator/apps.3scale.net/v1alpha1/apicasts.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/3scale/apicast-operator/apps.3scale.net/v1alpha1/apicasts.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/Apicurio/apicurio-registry-operator/registry.apicur.io/v1/apicurioregistries.args b/crd-catalog/Apicurio/apicurio-registry-operator/registry.apicur.io/v1/apicurioregistries.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/Apicurio/apicurio-registry-operator/registry.apicur.io/v1/apicurioregistries.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlserveradministrators.args b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlserveradministrators.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlserveradministrators.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/rediscacheactions.args b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/rediscacheactions.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/rediscacheactions.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlfailovergroups.args b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlfailovergroups.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlfailovergroups.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/pgadmins.args b/crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/pgadmins.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/pgadmins.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/pgupgrades.args b/crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/pgupgrades.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/pgupgrades.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/postgresclusters.args b/crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/postgresclusters.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/postgresclusters.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/DataDog/datadog-operator/datadoghq.com/v1alpha1/datadogslos.args b/crd-catalog/DataDog/datadog-operator/datadoghq.com/v1alpha1/datadogslos.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/DataDog/datadog-operator/datadoghq.com/v1alpha1/datadogslos.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/DataDog/datadog-operator/datadoghq.com/v2alpha1/datadogagents.args b/crd-catalog/DataDog/datadog-operator/datadoghq.com/v2alpha1/datadogagents.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/DataDog/datadog-operator/datadoghq.com/v2alpha1/datadogagents.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/DopplerHQ/kubernetes-operator/secrets.doppler.com/v1alpha1/dopplersecrets.args b/crd-catalog/DopplerHQ/kubernetes-operator/secrets.doppler.com/v1alpha1/dopplersecrets.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/DopplerHQ/kubernetes-operator/secrets.doppler.com/v1alpha1/dopplersecrets.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/FairwindsOps/rbac-manager/rbacmanager.reactiveops.io/v1beta1/rbacdefinitions.args b/crd-catalog/FairwindsOps/rbac-manager/rbacmanager.reactiveops.io/v1beta1/rbacdefinitions.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/FairwindsOps/rbac-manager/rbacmanager.reactiveops.io/v1beta1/rbacdefinitions.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/backups.args b/crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/backups.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/backups.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/backupschedules.args b/crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/backupschedules.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/backupschedules.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/databases.args b/crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/databases.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/databases.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/exports.args b/crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/exports.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/exports.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/imports.args b/crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/imports.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/imports.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/pitrs.args b/crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/pitrs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/pitrs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/GoogleCloudPlatform/spark-on-k8s-operator/sparkoperator.k8s.io/v1beta2/scheduledsparkapplications.args b/crd-catalog/GoogleCloudPlatform/spark-on-k8s-operator/sparkoperator.k8s.io/v1beta2/scheduledsparkapplications.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/GoogleCloudPlatform/spark-on-k8s-operator/sparkoperator.k8s.io/v1beta2/scheduledsparkapplications.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/GoogleCloudPlatform/spark-on-k8s-operator/sparkoperator.k8s.io/v1beta2/sparkapplications.args b/crd-catalog/GoogleCloudPlatform/spark-on-k8s-operator/sparkoperator.k8s.io/v1beta2/sparkapplications.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/GoogleCloudPlatform/spark-on-k8s-operator/sparkoperator.k8s.io/v1beta2/sparkapplications.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/KaotoIO/kaoto-operator/designer.kaoto.io/v1alpha1/kaotoes.args b/crd-catalog/KaotoIO/kaoto-operator/designer.kaoto.io/v1alpha1/kaotoes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/KaotoIO/kaoto-operator/designer.kaoto.io/v1alpha1/kaotoes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/Kuadrant/kuadrant-operator/kuadrant.io/v1beta1/kuadrants.args b/crd-catalog/Kuadrant/kuadrant-operator/kuadrant.io/v1beta1/kuadrants.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/Kuadrant/kuadrant-operator/kuadrant.io/v1beta1/kuadrants.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/Kuadrant/kuadrant-operator/kuadrant.io/v1beta2/ratelimitpolicies.args b/crd-catalog/Kuadrant/kuadrant-operator/kuadrant.io/v1beta2/ratelimitpolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/Kuadrant/kuadrant-operator/kuadrant.io/v1beta2/ratelimitpolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/Kuadrant/limitador-operator/limitador.kuadrant.io/v1alpha1/limitadors.args b/crd-catalog/Kuadrant/limitador-operator/limitador.kuadrant.io/v1alpha1/limitadors.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/Kuadrant/limitador-operator/limitador.kuadrant.io/v1alpha1/limitadors.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/RedisLabs/redis-enterprise-k8s-docs/app.redislabs.com/v1/redisenterpriseclusters.args b/crd-catalog/RedisLabs/redis-enterprise-k8s-docs/app.redislabs.com/v1/redisenterpriseclusters.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/RedisLabs/redis-enterprise-k8s-docs/app.redislabs.com/v1/redisenterpriseclusters.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/RedisLabs/redis-enterprise-k8s-docs/app.redislabs.com/v1alpha1/redisenterpriseclusters.args b/crd-catalog/RedisLabs/redis-enterprise-k8s-docs/app.redislabs.com/v1alpha1/redisenterpriseclusters.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/RedisLabs/redis-enterprise-k8s-docs/app.redislabs.com/v1alpha1/redisenterpriseclusters.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v1/azurekeyvaultsecrets.args b/crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v1/azurekeyvaultsecrets.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v1/azurekeyvaultsecrets.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v1alpha1/azurekeyvaultsecrets.args b/crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v1alpha1/azurekeyvaultsecrets.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v1alpha1/azurekeyvaultsecrets.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v2alpha1/azurekeyvaultsecrets.args b/crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v2alpha1/azurekeyvaultsecrets.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v2alpha1/azurekeyvaultsecrets.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v2beta1/azurekeyvaultsecrets.args b/crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v2beta1/azurekeyvaultsecrets.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v2beta1/azurekeyvaultsecrets.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/ThinkParQ/beegfs-csi-driver/beegfs.csi.netapp.com/v1/beegfsdrivers.args b/crd-catalog/ThinkParQ/beegfs-csi-driver/beegfs.csi.netapp.com/v1/beegfsdrivers.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/ThinkParQ/beegfs-csi-driver/beegfs.csi.netapp.com/v1/beegfsdrivers.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/alexandrevilain/temporal-operator/temporal.io/v1beta1/temporalnamespaces.args b/crd-catalog/alexandrevilain/temporal-operator/temporal.io/v1beta1/temporalnamespaces.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/alexandrevilain/temporal-operator/temporal.io/v1beta1/temporalnamespaces.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/alexandrevilain/temporal-operator/temporal.io/v1beta1/temporalworkerprocesses.args b/crd-catalog/alexandrevilain/temporal-operator/temporal.io/v1beta1/temporalworkerprocesses.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/alexandrevilain/temporal-operator/temporal.io/v1beta1/temporalworkerprocesses.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/resourceimports.args b/crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/resourceimports.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/resourceimports.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixroutes.args b/crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixroutes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixroutes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixtlses.args b/crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixtlses.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixtlses.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixupstreams.args b/crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixupstreams.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixupstreams.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusterdefinitions.args b/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusterdefinitions.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusterdefinitions.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusters.args b/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusters.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusters.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/componentdefinitions.args b/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/componentdefinitions.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/componentdefinitions.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/configconstraints.args b/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/configconstraints.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/configconstraints.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/configurations.args b/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/configurations.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/configurations.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/opsdefinitions.args b/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/opsdefinitions.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/opsdefinitions.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/opsrequests.args b/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/opsrequests.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/opsrequests.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1beta1/configconstraints.args b/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1beta1/configconstraints.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1beta1/configconstraints.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/backuppolicies.args b/crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/backuppolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/backuppolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/backuprepos.args b/crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/backuprepos.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/backuprepos.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/backups.args b/crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/backups.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/backups.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/restores.args b/crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/restores.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/restores.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/apecloud/kubeblocks/extensions.kubeblocks.io/v1alpha1/addons.args b/crd-catalog/apecloud/kubeblocks/extensions.kubeblocks.io/v1alpha1/addons.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/apecloud/kubeblocks/extensions.kubeblocks.io/v1alpha1/addons.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/apecloud/kubeblocks/storage.kubeblocks.io/v1alpha1/storageproviders.args b/crd-catalog/apecloud/kubeblocks/storage.kubeblocks.io/v1alpha1/storageproviders.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/apecloud/kubeblocks/storage.kubeblocks.io/v1alpha1/storageproviders.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/apecloud/kubeblocks/workloads.kubeblocks.io/v1alpha1/instancesets.args b/crd-catalog/apecloud/kubeblocks/workloads.kubeblocks.io/v1alpha1/instancesets.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/apecloud/kubeblocks/workloads.kubeblocks.io/v1alpha1/instancesets.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/apecloud/kubeblocks/workloads.kubeblocks.io/v1alpha1/replicatedstatemachines.args b/crd-catalog/apecloud/kubeblocks/workloads.kubeblocks.io/v1alpha1/replicatedstatemachines.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/apecloud/kubeblocks/workloads.kubeblocks.io/v1alpha1/replicatedstatemachines.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/apimatic/apimatic-kubernetes-operator/apicodegen.apimatic.io/v1beta1/apimatics.args b/crd-catalog/apimatic/apimatic-kubernetes-operator/apicodegen.apimatic.io/v1beta1/apimatics.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/apimatic/apimatic-kubernetes-operator/apicodegen.apimatic.io/v1beta1/apimatics.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/arsenalzp/apch-operator/apacheweb.arsenal.dev/v1alpha1/apachewebs.args b/crd-catalog/arsenalzp/apch-operator/apacheweb.arsenal.dev/v1alpha1/apachewebs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/arsenalzp/apch-operator/apacheweb.arsenal.dev/v1alpha1/apachewebs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/authzed/spicedb-operator/authzed.com/v1alpha1/spicedbclusters.args b/crd-catalog/authzed/spicedb-operator/authzed.com/v1alpha1/spicedbclusters.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/authzed/spicedb-operator/authzed.com/v1alpha1/spicedbclusters.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/aws-controllers-k8s/eks-controller/services.k8s.aws/v1alpha1/fieldexports.args b/crd-catalog/aws-controllers-k8s/eks-controller/services.k8s.aws/v1alpha1/fieldexports.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/aws-controllers-k8s/eks-controller/services.k8s.aws/v1alpha1/fieldexports.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/accesslogpolicies.args b/crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/accesslogpolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/accesslogpolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/iamauthpolicies.args b/crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/iamauthpolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/iamauthpolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/serviceexports.args b/crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/serviceexports.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/serviceexports.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/serviceimports.args b/crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/serviceimports.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/serviceimports.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/targetgrouppolicies.args b/crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/targetgrouppolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/targetgrouppolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/vpcassociationpolicies.args b/crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/vpcassociationpolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/vpcassociationpolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/nutanixmachineconfigs.args b/crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/nutanixmachineconfigs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/nutanixmachineconfigs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/aws/karpenter-provider-aws/karpenter.k8s.aws/v1beta1/ec2nodeclasses.args b/crd-catalog/aws/karpenter-provider-aws/karpenter.k8s.aws/v1beta1/ec2nodeclasses.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/aws/karpenter-provider-aws/karpenter.k8s.aws/v1beta1/ec2nodeclasses.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/aws/karpenter-provider-aws/karpenter.sh/v1beta1/nodeclaims.args b/crd-catalog/aws/karpenter-provider-aws/karpenter.sh/v1beta1/nodeclaims.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/aws/karpenter-provider-aws/karpenter.sh/v1beta1/nodeclaims.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/aws/karpenter-provider-aws/karpenter.sh/v1beta1/nodepools.args b/crd-catalog/aws/karpenter-provider-aws/karpenter.sh/v1beta1/nodepools.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/aws/karpenter-provider-aws/karpenter.sh/v1beta1/nodepools.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/b3scale/b3scale-operator/b3scale.infra.run/v1/bbbfrontends.args b/crd-catalog/b3scale/b3scale-operator/b3scale.infra.run/v1/bbbfrontends.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/b3scale/b3scale-operator/b3scale.infra.run/v1/bbbfrontends.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/backube/volsync/volsync.backube/v1alpha1/replicationdestinations.args b/crd-catalog/backube/volsync/volsync.backube/v1alpha1/replicationdestinations.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/backube/volsync/volsync.backube/v1alpha1/replicationdestinations.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/backube/volsync/volsync.backube/v1alpha1/replicationsources.args b/crd-catalog/backube/volsync/volsync.backube/v1alpha1/replicationsources.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/backube/volsync/volsync.backube/v1alpha1/replicationsources.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/istiocontrolplanes.args b/crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/istiocontrolplanes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/istiocontrolplanes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/istiomeshes.args b/crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/istiomeshes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/istiomeshes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/istiomeshgateways.args b/crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/istiomeshgateways.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/istiomeshgateways.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/peeristiocontrolplanes.args b/crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/peeristiocontrolplanes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/peeristiocontrolplanes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/banzaicloud/koperator/kafka.banzaicloud.io/v1alpha1/kafkausers.args b/crd-catalog/banzaicloud/koperator/kafka.banzaicloud.io/v1alpha1/kafkausers.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/banzaicloud/koperator/kafka.banzaicloud.io/v1alpha1/kafkausers.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/banzaicloud/koperator/kafka.banzaicloud.io/v1beta1/kafkaclusters.args b/crd-catalog/banzaicloud/koperator/kafka.banzaicloud.io/v1beta1/kafkaclusters.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/banzaicloud/koperator/kafka.banzaicloud.io/v1beta1/kafkaclusters.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/berops/claudie/claudie.io/v1beta1/inputmanifests.args b/crd-catalog/berops/claudie/claudie.io/v1beta1/inputmanifests.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/berops/claudie/claudie.io/v1beta1/inputmanifests.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/bpfprograms.args b/crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/bpfprograms.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/bpfprograms.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/kprobeprograms.args b/crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/kprobeprograms.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/kprobeprograms.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/tcprograms.args b/crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/tcprograms.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/tcprograms.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/tracepointprograms.args b/crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/tracepointprograms.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/tracepointprograms.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/uprobeprograms.args b/crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/uprobeprograms.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/uprobeprograms.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/xdpprograms.args b/crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/xdpprograms.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/xdpprograms.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/cert-manager/cert-manager/acme.cert-manager.io/v1/challenges.args b/crd-catalog/cert-manager/cert-manager/acme.cert-manager.io/v1/challenges.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/cert-manager/cert-manager/acme.cert-manager.io/v1/challenges.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/certificaterequests.args b/crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/certificaterequests.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/certificaterequests.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/certificates.args b/crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/certificates.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/certificates.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/clusterissuers.args b/crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/clusterissuers.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/clusterissuers.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/issuers.args b/crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/issuers.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/issuers.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/cert-manager/trust-manager/trust.cert-manager.io/v1alpha1/bundles.args b/crd-catalog/cert-manager/trust-manager/trust.cert-manager.io/v1alpha1/bundles.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/cert-manager/trust-manager/trust.cert-manager.io/v1alpha1/bundles.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/awschaos.args b/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/awschaos.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/awschaos.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/azurechaos.args b/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/azurechaos.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/azurechaos.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/blockchaos.args b/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/blockchaos.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/blockchaos.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/dnschaos.args b/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/dnschaos.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/dnschaos.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/gcpchaos.args b/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/gcpchaos.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/gcpchaos.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/httpchaos.args b/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/httpchaos.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/httpchaos.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/iochaos.args b/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/iochaos.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/iochaos.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/jvmchaos.args b/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/jvmchaos.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/jvmchaos.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/kernelchaos.args b/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/kernelchaos.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/kernelchaos.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/networkchaos.args b/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/networkchaos.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/networkchaos.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/physicalmachinechaos.args b/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/physicalmachinechaos.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/physicalmachinechaos.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/podchaos.args b/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/podchaos.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/podchaos.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/schedules.args b/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/schedules.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/schedules.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/statuschecks.args b/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/statuschecks.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/statuschecks.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/stresschaos.args b/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/stresschaos.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/stresschaos.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/timechaos.args b/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/timechaos.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/timechaos.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/workflownodes.args b/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/workflownodes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/workflownodes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/workflows.args b/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/workflows.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/workflows.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/cilium/cilium/cilium.io/v2/ciliumclusterwidenetworkpolicies.args b/crd-catalog/cilium/cilium/cilium.io/v2/ciliumclusterwidenetworkpolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/cilium/cilium/cilium.io/v2/ciliumclusterwidenetworkpolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/cilium/cilium/cilium.io/v2/ciliumegressgatewaypolicies.args b/crd-catalog/cilium/cilium/cilium.io/v2/ciliumegressgatewaypolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/cilium/cilium/cilium.io/v2/ciliumegressgatewaypolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/cilium/cilium/cilium.io/v2/ciliumlocalredirectpolicies.args b/crd-catalog/cilium/cilium/cilium.io/v2/ciliumlocalredirectpolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/cilium/cilium/cilium.io/v2/ciliumlocalredirectpolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/cilium/cilium/cilium.io/v2/ciliumnetworkpolicies.args b/crd-catalog/cilium/cilium/cilium.io/v2/ciliumnetworkpolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/cilium/cilium/cilium.io/v2/ciliumnetworkpolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumbgppeeringpolicies.args b/crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumbgppeeringpolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumbgppeeringpolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliuml2announcementpolicies.args b/crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliuml2announcementpolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliuml2announcementpolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumloadbalancerippools.args b/crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumloadbalancerippools.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumloadbalancerippools.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/clastix/capsule/capsule.clastix.io/v1alpha1/tenants.args b/crd-catalog/clastix/capsule/capsule.clastix.io/v1alpha1/tenants.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/clastix/capsule/capsule.clastix.io/v1alpha1/tenants.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/clastix/capsule/capsule.clastix.io/v1beta1/tenants.args b/crd-catalog/clastix/capsule/capsule.clastix.io/v1beta1/tenants.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/clastix/capsule/capsule.clastix.io/v1beta1/tenants.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/clastix/capsule/capsule.clastix.io/v1beta2/tenants.args b/crd-catalog/clastix/capsule/capsule.clastix.io/v1beta2/tenants.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/clastix/capsule/capsule.clastix.io/v1beta2/tenants.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/clastix/kamaji/kamaji.clastix.io/v1alpha1/datastores.args b/crd-catalog/clastix/kamaji/kamaji.clastix.io/v1alpha1/datastores.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/clastix/kamaji/kamaji.clastix.io/v1alpha1/datastores.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/clastix/kamaji/kamaji.clastix.io/v1alpha1/tenantcontrolplanes.args b/crd-catalog/clastix/kamaji/kamaji.clastix.io/v1alpha1/tenantcontrolplanes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/clastix/kamaji/kamaji.clastix.io/v1alpha1/tenantcontrolplanes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/descriptions.args b/crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/descriptions.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/descriptions.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/globalizations.args b/crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/globalizations.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/globalizations.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/localizations.args b/crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/localizations.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/localizations.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/subscriptions.args b/crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/subscriptions.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/subscriptions.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/clusternet/clusternet/clusters.clusternet.io/v1beta1/managedclusters.args b/crd-catalog/clusternet/clusternet/clusters.clusternet.io/v1beta1/managedclusters.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/clusternet/clusternet/clusters.clusternet.io/v1beta1/managedclusters.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/clusterpedia-io/clusterpedia/cluster.clusterpedia.io/v1alpha2/pediaclusters.args b/crd-catalog/clusterpedia-io/clusterpedia/cluster.clusterpedia.io/v1alpha2/pediaclusters.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/clusterpedia-io/clusterpedia/cluster.clusterpedia.io/v1alpha2/pediaclusters.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/clusterpedia-io/clusterpedia/policy.clusterpedia.io/v1alpha1/clusterimportpolicies.args b/crd-catalog/clusterpedia-io/clusterpedia/policy.clusterpedia.io/v1alpha1/clusterimportpolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/clusterpedia-io/clusterpedia/policy.clusterpedia.io/v1alpha1/clusterimportpolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/clusterpedia-io/clusterpedia/policy.clusterpedia.io/v1alpha1/pediaclusterlifecycles.args b/crd-catalog/clusterpedia-io/clusterpedia/policy.clusterpedia.io/v1alpha1/pediaclusterlifecycles.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/clusterpedia-io/clusterpedia/policy.clusterpedia.io/v1alpha1/pediaclusterlifecycles.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/confidential-containers/operator/confidentialcontainers.org/v1beta1/ccruntimes.args b/crd-catalog/confidential-containers/operator/confidentialcontainers.org/v1beta1/ccruntimes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/confidential-containers/operator/confidentialcontainers.org/v1beta1/ccruntimes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaseclusters.args b/crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaseclusters.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaseclusters.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasegroups.args b/crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasegroups.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasegroups.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaserolebindings.args b/crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaserolebindings.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaserolebindings.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaseusers.args b/crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaseusers.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaseusers.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/crossplane/crossplane/secrets.crossplane.io/v1alpha1/storeconfigs.args b/crd-catalog/crossplane/crossplane/secrets.crossplane.io/v1alpha1/storeconfigs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/crossplane/crossplane/secrets.crossplane.io/v1alpha1/storeconfigs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/cryostatio/cryostat-operator/operator.cryostat.io/v1beta1/cryostats.args b/crd-catalog/cryostatio/cryostat-operator/operator.cryostat.io/v1beta1/cryostats.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/cryostatio/cryostat-operator/operator.cryostat.io/v1beta1/cryostats.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/datainfrahq/druid-operator/druid.apache.org/v1alpha1/druids.args b/crd-catalog/datainfrahq/druid-operator/druid.apache.org/v1alpha1/druids.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/datainfrahq/druid-operator/druid.apache.org/v1alpha1/druids.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/devfile/registry-operator/registry.devfile.io/v1alpha1/clusterdevfileregistrieslists.args b/crd-catalog/devfile/registry-operator/registry.devfile.io/v1alpha1/clusterdevfileregistrieslists.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/devfile/registry-operator/registry.devfile.io/v1alpha1/clusterdevfileregistrieslists.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/devfile/registry-operator/registry.devfile.io/v1alpha1/devfileregistries.args b/crd-catalog/devfile/registry-operator/registry.devfile.io/v1alpha1/devfileregistries.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/devfile/registry-operator/registry.devfile.io/v1alpha1/devfileregistries.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/devfile/registry-operator/registry.devfile.io/v1alpha1/devfileregistrieslists.args b/crd-catalog/devfile/registry-operator/registry.devfile.io/v1alpha1/devfileregistrieslists.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/devfile/registry-operator/registry.devfile.io/v1alpha1/devfileregistrieslists.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/listeners.args b/crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/listeners.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/listeners.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/tracingservices.args b/crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/tracingservices.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/tracingservices.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/emqx/emqx-operator/apps.emqx.io/v2alpha1/emqxes.args b/crd-catalog/emqx/emqx-operator/apps.emqx.io/v2alpha1/emqxes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/emqx/emqx-operator/apps.emqx.io/v2alpha1/emqxes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/emqx/emqx-operator/apps.emqx.io/v2beta1/emqxes.args b/crd-catalog/emqx/emqx-operator/apps.emqx.io/v2beta1/emqxes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/emqx/emqx-operator/apps.emqx.io/v2beta1/emqxes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/external-secrets/external-secrets/external-secrets.io/v1alpha1/clustersecretstores.args b/crd-catalog/external-secrets/external-secrets/external-secrets.io/v1alpha1/clustersecretstores.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/external-secrets/external-secrets/external-secrets.io/v1alpha1/clustersecretstores.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/external-secrets/external-secrets/external-secrets.io/v1alpha1/secretstores.args b/crd-catalog/external-secrets/external-secrets/external-secrets.io/v1alpha1/secretstores.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/external-secrets/external-secrets/external-secrets.io/v1alpha1/secretstores.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/external-secrets/external-secrets/external-secrets.io/v1beta1/clustersecretstores.args b/crd-catalog/external-secrets/external-secrets/external-secrets.io/v1beta1/clustersecretstores.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/external-secrets/external-secrets/external-secrets.io/v1beta1/clustersecretstores.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/external-secrets/external-secrets/external-secrets.io/v1beta1/secretstores.args b/crd-catalog/external-secrets/external-secrets/external-secrets.io/v1beta1/secretstores.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/external-secrets/external-secrets/external-secrets.io/v1beta1/secretstores.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusterfilters.args b/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusterfilters.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusterfilters.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusterinputs.args b/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusterinputs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusterinputs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusteroutputs.args b/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusteroutputs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusteroutputs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/filters.args b/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/filters.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/filters.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/fluentds.args b/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/fluentds.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/fluentds.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/inputs.args b/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/inputs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/inputs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/outputs.args b/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/outputs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/outputs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/alluxioruntimes.args b/crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/alluxioruntimes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/alluxioruntimes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/databackups.args b/crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/databackups.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/databackups.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/dataloads.args b/crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/dataloads.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/dataloads.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/goosefsruntimes.args b/crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/goosefsruntimes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/goosefsruntimes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/jindoruntimes.args b/crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/jindoruntimes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/jindoruntimes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/juicefsruntimes.args b/crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/juicefsruntimes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/juicefsruntimes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/thinruntimes.args b/crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/thinruntimes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/thinruntimes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/flux-framework/flux-operator/flux-framework.org/v1alpha1/miniclusters.args b/crd-catalog/flux-framework/flux-operator/flux-framework.org/v1alpha1/miniclusters.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/flux-framework/flux-operator/flux-framework.org/v1alpha1/miniclusters.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/flagger/flagger.app/v1beta1/canaries.args b/crd-catalog/fluxcd/flagger/flagger.app/v1beta1/canaries.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/flagger/flagger.app/v1beta1/canaries.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/flagger/flagger.app/v1beta1/metrictemplates.args b/crd-catalog/fluxcd/flagger/flagger.app/v1beta1/metrictemplates.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/flagger/flagger.app/v1beta1/metrictemplates.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/helm-controller/helm.toolkit.fluxcd.io/v2/helmreleases.args b/crd-catalog/fluxcd/helm-controller/helm.toolkit.fluxcd.io/v2/helmreleases.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/helm-controller/helm.toolkit.fluxcd.io/v2/helmreleases.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/helm-controller/helm.toolkit.fluxcd.io/v2beta1/helmreleases.args b/crd-catalog/fluxcd/helm-controller/helm.toolkit.fluxcd.io/v2beta1/helmreleases.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/helm-controller/helm.toolkit.fluxcd.io/v2beta1/helmreleases.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/helm-controller/helm.toolkit.fluxcd.io/v2beta2/helmreleases.args b/crd-catalog/fluxcd/helm-controller/helm.toolkit.fluxcd.io/v2beta2/helmreleases.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/helm-controller/helm.toolkit.fluxcd.io/v2beta2/helmreleases.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/image-automation-controller/image.toolkit.fluxcd.io/v1beta1/imageupdateautomations.args b/crd-catalog/fluxcd/image-automation-controller/image.toolkit.fluxcd.io/v1beta1/imageupdateautomations.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/image-automation-controller/image.toolkit.fluxcd.io/v1beta1/imageupdateautomations.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/image-automation-controller/image.toolkit.fluxcd.io/v1beta2/imageupdateautomations.args b/crd-catalog/fluxcd/image-automation-controller/image.toolkit.fluxcd.io/v1beta2/imageupdateautomations.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/image-automation-controller/image.toolkit.fluxcd.io/v1beta2/imageupdateautomations.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta1/imagepolicies.args b/crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta1/imagepolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta1/imagepolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta1/imagerepositories.args b/crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta1/imagerepositories.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta1/imagerepositories.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta2/imagepolicies.args b/crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta2/imagepolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta2/imagepolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta2/imagerepositories.args b/crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta2/imagerepositories.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta2/imagerepositories.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/kustomize-controller/kustomize.toolkit.fluxcd.io/v1/kustomizations.args b/crd-catalog/fluxcd/kustomize-controller/kustomize.toolkit.fluxcd.io/v1/kustomizations.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/kustomize-controller/kustomize.toolkit.fluxcd.io/v1/kustomizations.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/kustomize-controller/kustomize.toolkit.fluxcd.io/v1beta1/kustomizations.args b/crd-catalog/fluxcd/kustomize-controller/kustomize.toolkit.fluxcd.io/v1beta1/kustomizations.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/kustomize-controller/kustomize.toolkit.fluxcd.io/v1beta1/kustomizations.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/kustomize-controller/kustomize.toolkit.fluxcd.io/v1beta2/kustomizations.args b/crd-catalog/fluxcd/kustomize-controller/kustomize.toolkit.fluxcd.io/v1beta2/kustomizations.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/kustomize-controller/kustomize.toolkit.fluxcd.io/v1beta2/kustomizations.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1/receivers.args b/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1/receivers.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1/receivers.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta1/alerts.args b/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta1/alerts.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta1/alerts.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta1/providers.args b/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta1/providers.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta1/providers.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta1/receivers.args b/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta1/receivers.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta1/receivers.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta2/alerts.args b/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta2/alerts.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta2/alerts.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta2/providers.args b/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta2/providers.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta2/providers.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta2/receivers.args b/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta2/receivers.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta2/receivers.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta3/alerts.args b/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta3/alerts.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta3/alerts.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta3/providers.args b/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta3/providers.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta3/providers.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1/helmcharts.args b/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1/helmcharts.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1/helmcharts.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/buckets.args b/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/buckets.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/buckets.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/gitrepositories.args b/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/gitrepositories.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/gitrepositories.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/helmcharts.args b/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/helmcharts.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/helmcharts.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/helmrepositories.args b/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/helmrepositories.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/helmrepositories.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/buckets.args b/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/buckets.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/buckets.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/gitrepositories.args b/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/gitrepositories.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/gitrepositories.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/helmcharts.args b/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/helmcharts.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/helmcharts.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/helmrepositories.args b/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/helmrepositories.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/helmrepositories.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/ocirepositories.args b/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/ocirepositories.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/ocirepositories.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/gitlab-org/cloud-native/gitlab-operator/apps.gitlab.com/v1beta1/gitlabs.args b/crd-catalog/gitlab-org/cloud-native/gitlab-operator/apps.gitlab.com/v1beta1/gitlabs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/gitlab-org/cloud-native/gitlab-operator/apps.gitlab.com/v1beta1/gitlabs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/gpu-ninja/dex-operator/dex.gpu-ninja.com/v1alpha1/dexidentityproviders.args b/crd-catalog/gpu-ninja/dex-operator/dex.gpu-ninja.com/v1alpha1/dexidentityproviders.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/gpu-ninja/dex-operator/dex.gpu-ninja.com/v1alpha1/dexidentityproviders.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/grafana/k6-operator/k6.io/v1alpha1/k6s.args b/crd-catalog/grafana/k6-operator/k6.io/v1alpha1/k6s.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/grafana/k6-operator/k6.io/v1alpha1/k6s.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/grafana/k6-operator/k6.io/v1alpha1/privateloadzones.args b/crd-catalog/grafana/k6-operator/k6.io/v1alpha1/privateloadzones.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/grafana/k6-operator/k6.io/v1alpha1/privateloadzones.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/grafana/k6-operator/k6.io/v1alpha1/testruns.args b/crd-catalog/grafana/k6-operator/k6.io/v1alpha1/testruns.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/grafana/k6-operator/k6.io/v1alpha1/testruns.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/grafana/loki/loki.grafana.com/v1/alertingrules.args b/crd-catalog/grafana/loki/loki.grafana.com/v1/alertingrules.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/grafana/loki/loki.grafana.com/v1/alertingrules.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/grafana/loki/loki.grafana.com/v1/lokistacks.args b/crd-catalog/grafana/loki/loki.grafana.com/v1/lokistacks.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/grafana/loki/loki.grafana.com/v1/lokistacks.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/grafana/loki/loki.grafana.com/v1/recordingrules.args b/crd-catalog/grafana/loki/loki.grafana.com/v1/recordingrules.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/grafana/loki/loki.grafana.com/v1/recordingrules.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/grafana/loki/loki.grafana.com/v1/rulerconfigs.args b/crd-catalog/grafana/loki/loki.grafana.com/v1/rulerconfigs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/grafana/loki/loki.grafana.com/v1/rulerconfigs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/grafana/loki/loki.grafana.com/v1beta1/alertingrules.args b/crd-catalog/grafana/loki/loki.grafana.com/v1beta1/alertingrules.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/grafana/loki/loki.grafana.com/v1beta1/alertingrules.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/grafana/loki/loki.grafana.com/v1beta1/lokistacks.args b/crd-catalog/grafana/loki/loki.grafana.com/v1beta1/lokistacks.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/grafana/loki/loki.grafana.com/v1beta1/lokistacks.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/grafana/loki/loki.grafana.com/v1beta1/recordingrules.args b/crd-catalog/grafana/loki/loki.grafana.com/v1beta1/recordingrules.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/grafana/loki/loki.grafana.com/v1beta1/recordingrules.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/grafana/loki/loki.grafana.com/v1beta1/rulerconfigs.args b/crd-catalog/grafana/loki/loki.grafana.com/v1beta1/rulerconfigs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/grafana/loki/loki.grafana.com/v1beta1/rulerconfigs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/grafana/tempo-operator/tempo.grafana.com/v1alpha1/tempomonolithics.args b/crd-catalog/grafana/tempo-operator/tempo.grafana.com/v1alpha1/tempomonolithics.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/grafana/tempo-operator/tempo.grafana.com/v1alpha1/tempomonolithics.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/grafana/tempo-operator/tempo.grafana.com/v1alpha1/tempostacks.args b/crd-catalog/grafana/tempo-operator/tempo.grafana.com/v1alpha1/tempostacks.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/grafana/tempo-operator/tempo.grafana.com/v1alpha1/tempostacks.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/gravitational/teleport/resources.teleport.dev/v1/teleportloginrules.args b/crd-catalog/gravitational/teleport/resources.teleport.dev/v1/teleportloginrules.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/gravitational/teleport/resources.teleport.dev/v1/teleportloginrules.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/gravitational/teleport/resources.teleport.dev/v1/teleportoktaimportrules.args b/crd-catalog/gravitational/teleport/resources.teleport.dev/v1/teleportoktaimportrules.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/gravitational/teleport/resources.teleport.dev/v1/teleportoktaimportrules.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/gravitational/teleport/resources.teleport.dev/v2/teleportsamlconnectors.args b/crd-catalog/gravitational/teleport/resources.teleport.dev/v2/teleportsamlconnectors.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/gravitational/teleport/resources.teleport.dev/v2/teleportsamlconnectors.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/gravitational/teleport/resources.teleport.dev/v2/teleportusers.args b/crd-catalog/gravitational/teleport/resources.teleport.dev/v2/teleportusers.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/gravitational/teleport/resources.teleport.dev/v2/teleportusers.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/gravitational/teleport/resources.teleport.dev/v3/teleportgithubconnectors.args b/crd-catalog/gravitational/teleport/resources.teleport.dev/v3/teleportgithubconnectors.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/gravitational/teleport/resources.teleport.dev/v3/teleportgithubconnectors.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/gravitational/teleport/resources.teleport.dev/v3/teleportoidcconnectors.args b/crd-catalog/gravitational/teleport/resources.teleport.dev/v3/teleportoidcconnectors.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/gravitational/teleport/resources.teleport.dev/v3/teleportoidcconnectors.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/hashicorp/terraform-cloud-operator/app.terraform.io/v1alpha2/workspaces.args b/crd-catalog/hashicorp/terraform-cloud-operator/app.terraform.io/v1alpha2/workspaces.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/hashicorp/terraform-cloud-operator/app.terraform.io/v1alpha2/workspaces.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/hcpvaultsecretsapps.args b/crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/hcpvaultsecretsapps.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/hcpvaultsecretsapps.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultauths.args b/crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultauths.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultauths.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultdynamicsecrets.args b/crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultdynamicsecrets.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultdynamicsecrets.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultpkisecrets.args b/crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultpkisecrets.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultpkisecrets.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultstaticsecrets.args b/crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultstaticsecrets.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultstaticsecrets.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/maps.args b/crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/maps.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/maps.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/infinispan/infinispan-operator/infinispan.org/v1/infinispans.args b/crd-catalog/infinispan/infinispan-operator/infinispan.org/v1/infinispans.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/infinispan/infinispan-operator/infinispan.org/v1/infinispans.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/ipfs-cluster/ipfs-operator/cluster.ipfs.io/v1alpha1/ipfsclusters.args b/crd-catalog/ipfs-cluster/ipfs-operator/cluster.ipfs.io/v1alpha1/ipfsclusters.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/ipfs-cluster/ipfs-operator/cluster.ipfs.io/v1alpha1/ipfsclusters.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/k8ssandra/cass-operator/cassandra.datastax.com/v1beta1/cassandradatacenters.args b/crd-catalog/k8ssandra/cass-operator/cassandra.datastax.com/v1beta1/cassandradatacenters.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/k8ssandra/cass-operator/cassandra.datastax.com/v1beta1/cassandradatacenters.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/k8up-io/k8up/k8up.io/v1/archives.args b/crd-catalog/k8up-io/k8up/k8up.io/v1/archives.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/k8up-io/k8up/k8up.io/v1/archives.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/k8up-io/k8up/k8up.io/v1/backups.args b/crd-catalog/k8up-io/k8up/k8up.io/v1/backups.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/k8up-io/k8up/k8up.io/v1/backups.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/k8up-io/k8up/k8up.io/v1/checks.args b/crd-catalog/k8up-io/k8up/k8up.io/v1/checks.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/k8up-io/k8up/k8up.io/v1/checks.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/k8up-io/k8up/k8up.io/v1/prunes.args b/crd-catalog/k8up-io/k8up/k8up.io/v1/prunes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/k8up-io/k8up/k8up.io/v1/prunes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/k8up-io/k8up/k8up.io/v1/restores.args b/crd-catalog/k8up-io/k8up/k8up.io/v1/restores.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/k8up-io/k8up/k8up.io/v1/restores.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/k8up-io/k8up/k8up.io/v1/schedules.args b/crd-catalog/k8up-io/k8up/k8up.io/v1/schedules.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/k8up-io/k8up/k8up.io/v1/schedules.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/karmada-io/karmada/networking.karmada.io/v1alpha1/multiclusterservices.args b/crd-catalog/karmada-io/karmada/networking.karmada.io/v1alpha1/multiclusterservices.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/karmada-io/karmada/networking.karmada.io/v1alpha1/multiclusterservices.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/karmada-io/karmada/policy.karmada.io/v1alpha1/clusteroverridepolicies.args b/crd-catalog/karmada-io/karmada/policy.karmada.io/v1alpha1/clusteroverridepolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/karmada-io/karmada/policy.karmada.io/v1alpha1/clusteroverridepolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/karmada-io/karmada/policy.karmada.io/v1alpha1/overridepolicies.args b/crd-catalog/karmada-io/karmada/policy.karmada.io/v1alpha1/overridepolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/karmada-io/karmada/policy.karmada.io/v1alpha1/overridepolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha1/clusterresourcebindings.args b/crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha1/clusterresourcebindings.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha1/clusterresourcebindings.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha1/resourcebindings.args b/crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha1/resourcebindings.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha1/resourcebindings.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha2/clusterresourcebindings.args b/crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha2/clusterresourcebindings.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha2/clusterresourcebindings.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha2/resourcebindings.args b/crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha2/resourcebindings.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha2/resourcebindings.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kedacore/keda/keda.sh/v1alpha1/clustertriggerauthentications.args b/crd-catalog/kedacore/keda/keda.sh/v1alpha1/clustertriggerauthentications.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kedacore/keda/keda.sh/v1alpha1/clustertriggerauthentications.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kedacore/keda/keda.sh/v1alpha1/triggerauthentications.args b/crd-catalog/kedacore/keda/keda.sh/v1alpha1/triggerauthentications.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kedacore/keda/keda.sh/v1alpha1/triggerauthentications.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitobuilds.args b/crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitobuilds.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitobuilds.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitoinfras.args b/crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitoinfras.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitoinfras.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitoruntimes.args b/crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitoruntimes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitoruntimes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitosupportingservices.args b/crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitosupportingservices.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitosupportingservices.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubeedge/kubeedge/rules.kubeedge.io/v1/ruleendpoints.args b/crd-catalog/kubeedge/kubeedge/rules.kubeedge.io/v1/ruleendpoints.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubeedge/kubeedge/rules.kubeedge.io/v1/ruleendpoints.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubemod/kubemod/api.kubemod.io/v1beta1/modrules.args b/crd-catalog/kubemod/kubemod/api.kubemod.io/v1beta1/modrules.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubemod/kubemod/api.kubemod.io/v1beta1/modrules.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-csi/external-snapshotter/groupsnapshot.storage.k8s.io/v1alpha1/volumegroupsnapshotcontents.args b/crd-catalog/kubernetes-csi/external-snapshotter/groupsnapshot.storage.k8s.io/v1alpha1/volumegroupsnapshotcontents.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-csi/external-snapshotter/groupsnapshot.storage.k8s.io/v1alpha1/volumegroupsnapshotcontents.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1/volumesnapshotcontents.args b/crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1/volumesnapshotcontents.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1/volumesnapshotcontents.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1beta1/volumesnapshotcontents.args b/crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1beta1/volumesnapshotcontents.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1beta1/volumesnapshotcontents.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vsphereclusters.args b/crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vsphereclusters.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vsphereclusters.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vspherefailuredomains.args b/crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vspherefailuredomains.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vspherefailuredomains.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vsphereclusters.args b/crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vsphereclusters.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vsphereclusters.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vsphereclustertemplates.args b/crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vsphereclustertemplates.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vsphereclustertemplates.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vspherefailuredomains.args b/crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vspherefailuredomains.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vspherefailuredomains.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vsphereclusters.args b/crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vsphereclusters.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vsphereclusters.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vsphereclustertemplates.args b/crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vsphereclustertemplates.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vsphereclustertemplates.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vspherefailuredomains.args b/crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vspherefailuredomains.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vspherefailuredomains.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha3/clusterresourcesetbindings.args b/crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha3/clusterresourcesetbindings.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha3/clusterresourcesetbindings.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha3/clusterresourcesets.args b/crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha3/clusterresourcesets.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha3/clusterresourcesets.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha4/clusterresourcesetbindings.args b/crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha4/clusterresourcesetbindings.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha4/clusterresourcesetbindings.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha4/clusterresourcesets.args b/crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha4/clusterresourcesets.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha4/clusterresourcesets.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1beta1/clusterresourcesetbindings.args b/crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1beta1/clusterresourcesetbindings.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1beta1/clusterresourcesetbindings.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1beta1/clusterresourcesets.args b/crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1beta1/clusterresourcesets.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1beta1/clusterresourcesets.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/gatewayclasses.args b/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/gatewayclasses.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/gatewayclasses.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/gateways.args b/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/gateways.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/gateways.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/grpcroutes.args b/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/grpcroutes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/grpcroutes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/httproutes.args b/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/httproutes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/httproutes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/grpcroutes.args b/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/grpcroutes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/grpcroutes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/tcproutes.args b/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/tcproutes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/tcproutes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/tlsroutes.args b/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/tlsroutes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/tlsroutes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/udproutes.args b/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/udproutes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/udproutes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1beta1/gatewayclasses.args b/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1beta1/gatewayclasses.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1beta1/gatewayclasses.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1beta1/gateways.args b/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1beta1/gateways.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1beta1/gateways.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1beta1/httproutes.args b/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1beta1/httproutes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1beta1/httproutes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/hierarchical-namespaces/hnc.x-k8s.io/v1alpha2/hierarchyconfigurations.args b/crd-catalog/kubernetes-sigs/hierarchical-namespaces/hnc.x-k8s.io/v1alpha2/hierarchyconfigurations.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/hierarchical-namespaces/hnc.x-k8s.io/v1alpha2/hierarchyconfigurations.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/hierarchical-namespaces/hnc.x-k8s.io/v1alpha2/hncconfigurations.args b/crd-catalog/kubernetes-sigs/hierarchical-namespaces/hnc.x-k8s.io/v1alpha2/hncconfigurations.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/hierarchical-namespaces/hnc.x-k8s.io/v1alpha2/hncconfigurations.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/jobset/jobset.x-k8s.io/v1alpha2/jobsets.args b/crd-catalog/kubernetes-sigs/jobset/jobset.x-k8s.io/v1alpha2/jobsets.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/jobset/jobset.x-k8s.io/v1alpha2/jobsets.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/kernel-module-management/kmm.sigs.x-k8s.io/v1beta2/preflightvalidations.args b/crd-catalog/kubernetes-sigs/kernel-module-management/kmm.sigs.x-k8s.io/v1beta2/preflightvalidations.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/kernel-module-management/kmm.sigs.x-k8s.io/v1beta2/preflightvalidations.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/admissionchecks.args b/crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/admissionchecks.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/admissionchecks.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/clusterqueues.args b/crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/clusterqueues.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/clusterqueues.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/localqueues.args b/crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/localqueues.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/localqueues.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/workloads.args b/crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/workloads.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/workloads.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/mcs-api/multicluster.x-k8s.io/v1alpha1/serviceexports.args b/crd-catalog/kubernetes-sigs/mcs-api/multicluster.x-k8s.io/v1alpha1/serviceexports.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/mcs-api/multicluster.x-k8s.io/v1alpha1/serviceexports.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/mcs-api/multicluster.x-k8s.io/v1alpha1/serviceimports.args b/crd-catalog/kubernetes-sigs/mcs-api/multicluster.x-k8s.io/v1alpha1/serviceimports.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/mcs-api/multicluster.x-k8s.io/v1alpha1/serviceimports.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/network-policy-api/policy.networking.k8s.io/v1alpha1/adminnetworkpolicies.args b/crd-catalog/kubernetes-sigs/network-policy-api/policy.networking.k8s.io/v1alpha1/adminnetworkpolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/network-policy-api/policy.networking.k8s.io/v1alpha1/adminnetworkpolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/network-policy-api/policy.networking.k8s.io/v1alpha1/baselineadminnetworkpolicies.args b/crd-catalog/kubernetes-sigs/network-policy-api/policy.networking.k8s.io/v1alpha1/baselineadminnetworkpolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/network-policy-api/policy.networking.k8s.io/v1alpha1/baselineadminnetworkpolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/node-feature-discovery-operator/nfd.kubernetes.io/v1/nodefeaturediscoveries.args b/crd-catalog/kubernetes-sigs/node-feature-discovery-operator/nfd.kubernetes.io/v1/nodefeaturediscoveries.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/node-feature-discovery-operator/nfd.kubernetes.io/v1/nodefeaturediscoveries.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/profilebindings.args b/crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/profilebindings.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/profilebindings.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/profilerecordings.args b/crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/profilerecordings.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/profilerecordings.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/securityprofilesoperatordaemons.args b/crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/securityprofilesoperatordaemons.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/securityprofilesoperatordaemons.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha2/rawselinuxprofiles.args b/crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha2/rawselinuxprofiles.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha2/rawselinuxprofiles.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1beta1/seccompprofiles.args b/crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1beta1/seccompprofiles.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1beta1/seccompprofiles.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubernetes/autoscaler/autoscaling.k8s.io/v1/verticalpodautoscalers.args b/crd-catalog/kubernetes/autoscaler/autoscaling.k8s.io/v1/verticalpodautoscalers.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubernetes/autoscaler/autoscaling.k8s.io/v1/verticalpodautoscalers.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testexecutions.args b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testexecutions.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testexecutions.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsuiteexecutions.args b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsuiteexecutions.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsuiteexecutions.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testtriggers.args b/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testtriggers.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testtriggers.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/networkmaps.args b/crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/networkmaps.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/networkmaps.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/clusteroverridepolicies.args b/crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/clusteroverridepolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/clusteroverridepolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/clusterpropagationpolicies.args b/crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/clusterpropagationpolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/clusterpropagationpolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/overridepolicies.args b/crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/overridepolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/overridepolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/propagationpolicies.args b/crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/propagationpolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/propagationpolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kumahq/kuma/kuma.io/v1alpha1/containerpatches.args b/crd-catalog/kumahq/kuma/kuma.io/v1alpha1/containerpatches.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kumahq/kuma/kuma.io/v1alpha1/containerpatches.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshaccesslogs.args b/crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshaccesslogs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshaccesslogs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshgatewayinstances.args b/crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshgatewayinstances.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshgatewayinstances.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshhttproutes.args b/crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshhttproutes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshhttproutes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshloadbalancingstrategies.args b/crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshloadbalancingstrategies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshloadbalancingstrategies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshproxypatches.args b/crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshproxypatches.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshproxypatches.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshretries.args b/crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshretries.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshretries.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshtraces.args b/crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshtraces.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshtraces.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v1/clusterpolicies.args b/crd-catalog/kyverno/kyverno/kyverno.io/v1/clusterpolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v1/clusterpolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v1/policies.args b/crd-catalog/kyverno/kyverno/kyverno.io/v1/policies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v1/policies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/cleanuppolicies.args b/crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/cleanuppolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/cleanuppolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/clustercleanuppolicies.args b/crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/clustercleanuppolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/clustercleanuppolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2/cleanuppolicies.args b/crd-catalog/kyverno/kyverno/kyverno.io/v2/cleanuppolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2/cleanuppolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2/clustercleanuppolicies.args b/crd-catalog/kyverno/kyverno/kyverno.io/v2/clustercleanuppolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2/clustercleanuppolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2/policyexceptions.args b/crd-catalog/kyverno/kyverno/kyverno.io/v2/policyexceptions.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2/policyexceptions.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/cleanuppolicies.args b/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/cleanuppolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/cleanuppolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/clustercleanuppolicies.args b/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/clustercleanuppolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/clustercleanuppolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/policyexceptions.args b/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/policyexceptions.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/policyexceptions.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/cleanuppolicies.args b/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/cleanuppolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/cleanuppolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/clustercleanuppolicies.args b/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/clustercleanuppolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/clustercleanuppolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/clusterpolicies.args b/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/clusterpolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/clusterpolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/policies.args b/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/policies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/policies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/policyexceptions.args b/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/policyexceptions.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/policyexceptions.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/udproutes.args b/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/udproutes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/udproutes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/mariadbs.args b/crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/mariadbs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/mariadbs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/maxscales.args b/crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/maxscales.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/maxscales.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/backups.args b/crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/backups.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/backups.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/connections.args b/crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/connections.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/connections.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/databases.args b/crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/databases.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/databases.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/grants.args b/crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/grants.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/grants.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/mariadbs.args b/crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/mariadbs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/mariadbs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/restores.args b/crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/restores.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/restores.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/sqljobs.args b/crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/sqljobs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/sqljobs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/users.args b/crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/users.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/users.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/hostfirmwaresettings.args b/crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/hostfirmwaresettings.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/hostfirmwaresettings.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/preprovisioningimages.args b/crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/preprovisioningimages.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/preprovisioningimages.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/migtools/crane-operator/crane.konveyor.io/v1alpha1/operatorconfigs.args b/crd-catalog/migtools/crane-operator/crane.konveyor.io/v1alpha1/operatorconfigs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/migtools/crane-operator/crane.konveyor.io/v1alpha1/operatorconfigs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1alpha1/flowcollectors.args b/crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1alpha1/flowcollectors.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1alpha1/flowcollectors.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1beta1/flowcollectors.args b/crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1beta1/flowcollectors.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1beta1/flowcollectors.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1beta2/flowcollectors.args b/crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1beta2/flowcollectors.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1beta2/flowcollectors.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/nginxgateways.args b/crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/nginxgateways.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/nginxgateways.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/observabilitypolicies.args b/crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/observabilitypolicies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/observabilitypolicies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/open-cluster-management-io/ocm/operator.open-cluster-management.io/v1/clustermanagers.args b/crd-catalog/open-cluster-management-io/ocm/operator.open-cluster-management.io/v1/clustermanagers.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/open-cluster-management-io/ocm/operator.open-cluster-management.io/v1/clustermanagers.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/open-cluster-management-io/ocm/operator.open-cluster-management.io/v1/klusterlets.args b/crd-catalog/open-cluster-management-io/ocm/operator.open-cluster-management.io/v1/klusterlets.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/open-cluster-management-io/ocm/operator.open-cluster-management.io/v1/klusterlets.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/open-feature/open-feature-operator/core.openfeature.dev/v1alpha1/featureflagconfigurations.args b/crd-catalog/open-feature/open-feature-operator/core.openfeature.dev/v1alpha1/featureflagconfigurations.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/open-feature/open-feature-operator/core.openfeature.dev/v1alpha1/featureflagconfigurations.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/open-feature/open-feature-operator/core.openfeature.dev/v1alpha2/featureflagconfigurations.args b/crd-catalog/open-feature/open-feature-operator/core.openfeature.dev/v1alpha2/featureflagconfigurations.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/open-feature/open-feature-operator/core.openfeature.dev/v1alpha2/featureflagconfigurations.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/openshift/hive/hive.openshift.io/v1/hiveconfigs.args b/crd-catalog/openshift/hive/hive.openshift.io/v1/hiveconfigs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/openshift/hive/hive.openshift.io/v1/hiveconfigs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/openshift/hive/hiveinternal.openshift.io/v1alpha1/clustersyncs.args b/crd-catalog/openshift/hive/hiveinternal.openshift.io/v1alpha1/clustersyncs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/openshift/hive/hiveinternal.openshift.io/v1alpha1/clustersyncs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/openshift/managed-upgrade-operator/upgrade.managed.openshift.io/v1alpha1/upgradeconfigs.args b/crd-catalog/openshift/managed-upgrade-operator/upgrade.managed.openshift.io/v1alpha1/upgradeconfigs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/openshift/managed-upgrade-operator/upgrade.managed.openshift.io/v1alpha1/upgradeconfigs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha2/kafkaserverconfigs.args b/crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha2/kafkaserverconfigs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha2/kafkaserverconfigs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha3/kafkaserverconfigs.args b/crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha3/kafkaserverconfigs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha3/kafkaserverconfigs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/backupstorages.args b/crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/backupstorages.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/backupstorages.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/databaseclusters.args b/crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/databaseclusters.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/databaseclusters.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/monitoringconfigs.args b/crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/monitoringconfigs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/monitoringconfigs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/percona/percona-postgresql-operator/pgv2.percona.com/v2/perconapgclusters.args b/crd-catalog/percona/percona-postgresql-operator/pgv2.percona.com/v2/perconapgclusters.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/percona/percona-postgresql-operator/pgv2.percona.com/v2/perconapgclusters.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/percona/percona-server-mysql-operator/ps.percona.com/v1alpha1/perconaservermysqls.args b/crd-catalog/percona/percona-server-mysql-operator/ps.percona.com/v1alpha1/perconaservermysqls.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/percona/percona-server-mysql-operator/ps.percona.com/v1alpha1/perconaservermysqls.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/percona/percona-xtradb-cluster-operator/pxc.percona.com/v1/perconaxtradbclusterbackups.args b/crd-catalog/percona/percona-xtradb-cluster-operator/pxc.percona.com/v1/perconaxtradbclusterbackups.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/percona/percona-xtradb-cluster-operator/pxc.percona.com/v1/perconaxtradbclusterbackups.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/percona/percona-xtradb-cluster-operator/pxc.percona.com/v1/perconaxtradbclusterrestores.args b/crd-catalog/percona/percona-xtradb-cluster-operator/pxc.percona.com/v1/perconaxtradbclusterrestores.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/percona/percona-xtradb-cluster-operator/pxc.percona.com/v1/perconaxtradbclusterrestores.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/projectcontour/contour/projectcontour.io/v1/httpproxies.args b/crd-catalog/projectcontour/contour/projectcontour.io/v1/httpproxies.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/projectcontour/contour/projectcontour.io/v1/httpproxies.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/projectcontour/contour/projectcontour.io/v1/tlscertificatedelegations.args b/crd-catalog/projectcontour/contour/projectcontour.io/v1/tlscertificatedelegations.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/projectcontour/contour/projectcontour.io/v1/tlscertificatedelegations.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/contourconfigurations.args b/crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/contourconfigurations.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/contourconfigurations.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/contourdeployments.args b/crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/contourdeployments.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/contourdeployments.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/extensionservices.args b/crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/extensionservices.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/extensionservices.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/prometheuses.args b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/prometheuses.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/prometheuses.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/thanosrulers.args b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/thanosrulers.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/thanosrulers.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/alertmanagerconfigs.args b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/alertmanagerconfigs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/alertmanagerconfigs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/prometheusagents.args b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/prometheusagents.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/prometheusagents.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/scrapeconfigs.args b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/scrapeconfigs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/scrapeconfigs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1beta1/alertmanagerconfigs.args b/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1beta1/alertmanagerconfigs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1beta1/alertmanagerconfigs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/pulp/pulp-operator/repo-manager.pulpproject.org/v1beta2/pulpbackups.args b/crd-catalog/pulp/pulp-operator/repo-manager.pulpproject.org/v1beta2/pulpbackups.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/pulp/pulp-operator/repo-manager.pulpproject.org/v1beta2/pulpbackups.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/pulp/pulp-operator/repo-manager.pulpproject.org/v1beta2/pulprestores.args b/crd-catalog/pulp/pulp-operator/repo-manager.pulpproject.org/v1beta2/pulprestores.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/pulp/pulp-operator/repo-manager.pulpproject.org/v1beta2/pulprestores.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/ray-project/kuberay/ray.io/v1/rayclusters.args b/crd-catalog/ray-project/kuberay/ray.io/v1/rayclusters.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/ray-project/kuberay/ray.io/v1/rayclusters.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/ray-project/kuberay/ray.io/v1/rayjobs.args b/crd-catalog/ray-project/kuberay/ray.io/v1/rayjobs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/ray-project/kuberay/ray.io/v1/rayjobs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/ray-project/kuberay/ray.io/v1/rayservices.args b/crd-catalog/ray-project/kuberay/ray.io/v1/rayservices.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/ray-project/kuberay/ray.io/v1/rayservices.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/ray-project/kuberay/ray.io/v1alpha1/rayclusters.args b/crd-catalog/ray-project/kuberay/ray.io/v1alpha1/rayclusters.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/ray-project/kuberay/ray.io/v1alpha1/rayclusters.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/ray-project/kuberay/ray.io/v1alpha1/rayjobs.args b/crd-catalog/ray-project/kuberay/ray.io/v1alpha1/rayjobs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/ray-project/kuberay/ray.io/v1alpha1/rayjobs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/ray-project/kuberay/ray.io/v1alpha1/rayservices.args b/crd-catalog/ray-project/kuberay/ray.io/v1alpha1/rayservices.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/ray-project/kuberay/ray.io/v1alpha1/rayservices.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/redhat-cop/keepalived-operator/redhatcop.redhat.io/v1alpha1/keepalivedgroups.args b/crd-catalog/redhat-cop/keepalived-operator/redhatcop.redhat.io/v1alpha1/keepalivedgroups.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/redhat-cop/keepalived-operator/redhatcop.redhat.io/v1alpha1/keepalivedgroups.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/redhat-cop/namespace-configuration-operator/redhatcop.redhat.io/v1alpha1/namespaceconfigs.args b/crd-catalog/redhat-cop/namespace-configuration-operator/redhatcop.redhat.io/v1alpha1/namespaceconfigs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/redhat-cop/namespace-configuration-operator/redhatcop.redhat.io/v1alpha1/namespaceconfigs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/redhat-cop/namespace-configuration-operator/redhatcop.redhat.io/v1alpha1/userconfigs.args b/crd-catalog/redhat-cop/namespace-configuration-operator/redhatcop.redhat.io/v1alpha1/userconfigs.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/redhat-cop/namespace-configuration-operator/redhatcop.redhat.io/v1alpha1/userconfigs.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/redhat-developer/service-binding-operator/binding.operators.coreos.com/v1alpha1/servicebindings.args b/crd-catalog/redhat-developer/service-binding-operator/binding.operators.coreos.com/v1alpha1/servicebindings.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/redhat-developer/service-binding-operator/binding.operators.coreos.com/v1alpha1/servicebindings.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/redhat-developer/service-binding-operator/servicebinding.io/v1alpha3/servicebindings.args b/crd-catalog/redhat-developer/service-binding-operator/servicebinding.io/v1alpha3/servicebindings.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/redhat-developer/service-binding-operator/servicebinding.io/v1alpha3/servicebindings.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/redhat-developer/service-binding-operator/servicebinding.io/v1beta1/servicebindings.args b/crd-catalog/redhat-developer/service-binding-operator/servicebinding.io/v1beta1/servicebindings.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/redhat-developer/service-binding-operator/servicebinding.io/v1beta1/servicebindings.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/rook/rook/ceph.rook.io/v1/cephbucketnotifications.args b/crd-catalog/rook/rook/ceph.rook.io/v1/cephbucketnotifications.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/rook/rook/ceph.rook.io/v1/cephbucketnotifications.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/scylladb/scylla-operator/scylla.scylladb.com/v1/scyllaclusters.args b/crd-catalog/scylladb/scylla-operator/scylla.scylladb.com/v1/scyllaclusters.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/scylladb/scylla-operator/scylla.scylladb.com/v1/scyllaclusters.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/shipwright-io/operator/operator.shipwright.io/v1alpha1/shipwrightbuilds.args b/crd-catalog/shipwright-io/operator/operator.shipwright.io/v1alpha1/shipwrightbuilds.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/shipwright-io/operator/operator.shipwright.io/v1alpha1/shipwrightbuilds.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/smartxworks/virtink/virt.virtink.smartx.com/v1alpha1/virtualmachines.args b/crd-catalog/smartxworks/virtink/virt.virtink.smartx.com/v1alpha1/virtualmachines.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/smartxworks/virtink/virt.virtink.smartx.com/v1alpha1/virtualmachines.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/stolostron/cluster-templates-operator/clustertemplate.openshift.io/v1alpha1/clustertemplateinstances.args b/crd-catalog/stolostron/cluster-templates-operator/clustertemplate.openshift.io/v1alpha1/clustertemplateinstances.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/stolostron/cluster-templates-operator/clustertemplate.openshift.io/v1alpha1/clustertemplateinstances.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1alpha1/kafkausers.args b/crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1alpha1/kafkausers.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1alpha1/kafkausers.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta1/kafkausers.args b/crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta1/kafkausers.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta1/kafkausers.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkabridges.args b/crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkabridges.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkabridges.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkaconnects.args b/crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkaconnects.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkaconnects.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkamirrormakers.args b/crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkamirrormakers.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkamirrormakers.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkas.args b/crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkas.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkas.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkausers.args b/crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkausers.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkausers.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/tigera/operator/operator.tigera.io/v1/amazoncloudintegrations.args b/crd-catalog/tigera/operator/operator.tigera.io/v1/amazoncloudintegrations.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/tigera/operator/operator.tigera.io/v1/amazoncloudintegrations.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/tigera/operator/operator.tigera.io/v1/apiservers.args b/crd-catalog/tigera/operator/operator.tigera.io/v1/apiservers.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/tigera/operator/operator.tigera.io/v1/apiservers.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/tigera/operator/operator.tigera.io/v1/applicationlayers.args b/crd-catalog/tigera/operator/operator.tigera.io/v1/applicationlayers.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/tigera/operator/operator.tigera.io/v1/applicationlayers.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/tigera/operator/operator.tigera.io/v1/authentications.args b/crd-catalog/tigera/operator/operator.tigera.io/v1/authentications.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/tigera/operator/operator.tigera.io/v1/authentications.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/tigera/operator/operator.tigera.io/v1/compliances.args b/crd-catalog/tigera/operator/operator.tigera.io/v1/compliances.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/tigera/operator/operator.tigera.io/v1/compliances.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/tigera/operator/operator.tigera.io/v1/egressgateways.args b/crd-catalog/tigera/operator/operator.tigera.io/v1/egressgateways.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/tigera/operator/operator.tigera.io/v1/egressgateways.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/tigera/operator/operator.tigera.io/v1/installations.args b/crd-catalog/tigera/operator/operator.tigera.io/v1/installations.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/tigera/operator/operator.tigera.io/v1/installations.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/tigera/operator/operator.tigera.io/v1/intrusiondetections.args b/crd-catalog/tigera/operator/operator.tigera.io/v1/intrusiondetections.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/tigera/operator/operator.tigera.io/v1/intrusiondetections.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/tigera/operator/operator.tigera.io/v1/logcollectors.args b/crd-catalog/tigera/operator/operator.tigera.io/v1/logcollectors.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/tigera/operator/operator.tigera.io/v1/logcollectors.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/tigera/operator/operator.tigera.io/v1/logstorages.args b/crd-catalog/tigera/operator/operator.tigera.io/v1/logstorages.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/tigera/operator/operator.tigera.io/v1/logstorages.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/tigera/operator/operator.tigera.io/v1/managementclusterconnections.args b/crd-catalog/tigera/operator/operator.tigera.io/v1/managementclusterconnections.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/tigera/operator/operator.tigera.io/v1/managementclusterconnections.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/tigera/operator/operator.tigera.io/v1/managers.args b/crd-catalog/tigera/operator/operator.tigera.io/v1/managers.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/tigera/operator/operator.tigera.io/v1/managers.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/tigera/operator/operator.tigera.io/v1/monitors.args b/crd-catalog/tigera/operator/operator.tigera.io/v1/monitors.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/tigera/operator/operator.tigera.io/v1/monitors.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/tigera/operator/operator.tigera.io/v1/packetcaptures.args b/crd-catalog/tigera/operator/operator.tigera.io/v1/packetcaptures.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/tigera/operator/operator.tigera.io/v1/packetcaptures.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/tigera/operator/operator.tigera.io/v1/policyrecommendations.args b/crd-catalog/tigera/operator/operator.tigera.io/v1/policyrecommendations.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/tigera/operator/operator.tigera.io/v1/policyrecommendations.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/tigera/operator/operator.tigera.io/v1/tenants.args b/crd-catalog/tigera/operator/operator.tigera.io/v1/tenants.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/tigera/operator/operator.tigera.io/v1/tenants.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/tigera/operator/operator.tigera.io/v1/tlspassthroughroutes.args b/crd-catalog/tigera/operator/operator.tigera.io/v1/tlspassthroughroutes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/tigera/operator/operator.tigera.io/v1/tlspassthroughroutes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/tigera/operator/operator.tigera.io/v1/tlsterminatedroutes.args b/crd-catalog/tigera/operator/operator.tigera.io/v1/tlsterminatedroutes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/tigera/operator/operator.tigera.io/v1/tlsterminatedroutes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/traefik/traefik/traefik.io/v1alpha1/ingressroutes.args b/crd-catalog/traefik/traefik/traefik.io/v1alpha1/ingressroutes.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/traefik/traefik/traefik.io/v1alpha1/ingressroutes.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/vmware-tanzu/velero/velero.io/v1/downloadrequests.args b/crd-catalog/vmware-tanzu/velero/velero.io/v1/downloadrequests.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/vmware-tanzu/velero/velero.io/v1/downloadrequests.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/weaveworks/tf-controller/infra.contrib.fluxcd.io/v1alpha1/terraforms.args b/crd-catalog/weaveworks/tf-controller/infra.contrib.fluxcd.io/v1alpha1/terraforms.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/weaveworks/tf-controller/infra.contrib.fluxcd.io/v1alpha1/terraforms.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/weaveworks/tf-controller/infra.contrib.fluxcd.io/v1alpha2/terraforms.args b/crd-catalog/weaveworks/tf-controller/infra.contrib.fluxcd.io/v1alpha2/terraforms.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/weaveworks/tf-controller/infra.contrib.fluxcd.io/v1alpha2/terraforms.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/crd-catalog/wildfly/wildfly-operator/wildfly.org/v1alpha1/wildflyservers.args b/crd-catalog/wildfly/wildfly-operator/wildfly.org/v1alpha1/wildflyservers.args deleted file mode 100644 index 7ab47510b..000000000 --- a/crd-catalog/wildfly/wildfly-operator/wildfly.org/v1alpha1/wildflyservers.args +++ /dev/null @@ -1 +0,0 @@ ---derive=PartialEq diff --git a/kube-custom-resources-rs/src/about_k8s_io/v1alpha1/clusterproperties.rs b/kube-custom-resources-rs/src/about_k8s_io/v1alpha1/clusterproperties.rs index 04e1cca81..ab46d614a 100644 --- a/kube-custom-resources-rs/src/about_k8s_io/v1alpha1/clusterproperties.rs +++ b/kube-custom-resources-rs/src/about_k8s_io/v1alpha1/clusterproperties.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/about-api/about.k8s.io/v1alpha1/clusterproperties.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/about-api/about.k8s.io/v1alpha1/clusterproperties.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/acid_zalan_do/v1/postgresteams.rs b/kube-custom-resources-rs/src/acid_zalan_do/v1/postgresteams.rs index d07aadab7..b0743640f 100644 --- a/kube-custom-resources-rs/src/acid_zalan_do/v1/postgresteams.rs +++ b/kube-custom-resources-rs/src/acid_zalan_do/v1/postgresteams.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/zalando/postgres-operator/acid.zalan.do/v1/postgresteams.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/zalando/postgres-operator/acid.zalan.do/v1/postgresteams.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/acme_cert_manager_io/v1/challenges.rs b/kube-custom-resources-rs/src/acme_cert_manager_io/v1/challenges.rs index 76c942594..7866f6edb 100644 --- a/kube-custom-resources-rs/src/acme_cert_manager_io/v1/challenges.rs +++ b/kube-custom-resources-rs/src/acme_cert_manager_io/v1/challenges.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cert-manager/cert-manager/acme.cert-manager.io/v1/challenges.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cert-manager/cert-manager/acme.cert-manager.io/v1/challenges.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -65,7 +65,7 @@ pub struct ChallengeSpec { /// If the Issuer does not exist, processing will be retried. /// If the Issuer is not an 'ACME' Issuer, an error will be returned and the /// Challenge will be marked as failed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeIssuerRef { /// Group of the resource being referred to. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -79,7 +79,7 @@ pub struct ChallengeIssuerRef { /// Contains the domain solving configuration that should be used to /// solve this challenge resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolver { /// Configures cert-manager to attempt to complete authorizations by /// performing the DNS01 challenge flow. @@ -102,7 +102,7 @@ pub struct ChallengeSolver { /// Configures cert-manager to attempt to complete authorizations by /// performing the DNS01 challenge flow. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01 { /// Use the 'ACME DNS' (https://github.com/joohoi/acme-dns) API to manage /// DNS01 challenge records. @@ -142,7 +142,7 @@ pub struct ChallengeSolverDns01 { /// Use the 'ACME DNS' (https://github.com/joohoi/acme-dns) API to manage /// DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01AcmeDns { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. @@ -153,7 +153,7 @@ pub struct ChallengeSolverDns01AcmeDns { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01AcmeDnsAccountSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -166,7 +166,7 @@ pub struct ChallengeSolverDns01AcmeDnsAccountSecretRef { } /// Use the Akamai DNS zone management API to manage DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01Akamai { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. @@ -186,7 +186,7 @@ pub struct ChallengeSolverDns01Akamai { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01AkamaiAccessTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -200,7 +200,7 @@ pub struct ChallengeSolverDns01AkamaiAccessTokenSecretRef { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01AkamaiClientSecretSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -214,7 +214,7 @@ pub struct ChallengeSolverDns01AkamaiClientSecretSecretRef { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01AkamaiClientTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -227,7 +227,7 @@ pub struct ChallengeSolverDns01AkamaiClientTokenSecretRef { } /// Use the Microsoft Azure DNS API to manage DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01AzureDns { /// Auth: Azure Service Principal: /// The ClientID of the Azure Service Principal used to authenticate with Azure DNS. @@ -266,7 +266,7 @@ pub struct ChallengeSolverDns01AzureDns { /// Auth: Azure Service Principal: /// A reference to a Secret containing the password associated with the Service Principal. /// If set, ClientID and TenantID must also be set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01AzureDnsClientSecretSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -291,7 +291,7 @@ pub enum ChallengeSolverDns01AzureDnsEnvironment { /// Auth: Azure Workload Identity or Azure Managed Service Identity: /// Settings to enable Azure Workload Identity or Azure Managed Service Identity /// If set, ClientID, ClientSecret and TenantID must not be set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01AzureDnsManagedIdentity { /// client ID of the managed identity, can not be used at the same time as resourceID #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientID")] @@ -303,7 +303,7 @@ pub struct ChallengeSolverDns01AzureDnsManagedIdentity { } /// Use the Google Cloud DNS API to manage DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01CloudDns { /// HostedZoneName is an optional field that tells cert-manager in which /// Cloud DNS zone the challenge record has to be created. @@ -319,7 +319,7 @@ pub struct ChallengeSolverDns01CloudDns { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01CloudDnsServiceAccountSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -332,7 +332,7 @@ pub struct ChallengeSolverDns01CloudDnsServiceAccountSecretRef { } /// Use the Cloudflare API to manage DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01Cloudflare { /// API key to use to authenticate with Cloudflare. /// Note: using an API token to authenticate is now the recommended method @@ -350,7 +350,7 @@ pub struct ChallengeSolverDns01Cloudflare { /// API key to use to authenticate with Cloudflare. /// Note: using an API token to authenticate is now the recommended method /// as it allows greater control of permissions. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01CloudflareApiKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -363,7 +363,7 @@ pub struct ChallengeSolverDns01CloudflareApiKeySecretRef { } /// API token used to authenticate with Cloudflare. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01CloudflareApiTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -384,7 +384,7 @@ pub enum ChallengeSolverDns01CnameStrategy { } /// Use the DigitalOcean DNS API to manage DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01Digitalocean { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. @@ -394,7 +394,7 @@ pub struct ChallengeSolverDns01Digitalocean { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01DigitaloceanTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -408,7 +408,7 @@ pub struct ChallengeSolverDns01DigitaloceanTokenSecretRef { /// Use RFC2136 ("Dynamic Updates in the Domain Name System") (https://datatracker.ietf.org/doc/rfc2136/) /// to manage DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01Rfc2136 { /// The IP address or hostname of an authoritative DNS server supporting /// RFC2136 in the form host:port. If the host is an IPv6 address it must be @@ -433,7 +433,7 @@ pub struct ChallengeSolverDns01Rfc2136 { /// The name of the secret containing the TSIG value. /// If ``tsigKeyName`` is defined, this field is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01Rfc2136TsigSecretSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -446,7 +446,7 @@ pub struct ChallengeSolverDns01Rfc2136TsigSecretSecretRef { } /// Use the AWS Route53 API to manage DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01Route53 { /// The AccessKeyID is used for authentication. /// Cannot be set when SecretAccessKeyID is set. @@ -489,7 +489,7 @@ pub struct ChallengeSolverDns01Route53 { /// If neither the Access Key nor Key ID are set, we fall-back to using env /// vars, shared credentials file or AWS Instance metadata, /// see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01Route53AccessKeyIdSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -502,7 +502,7 @@ pub struct ChallengeSolverDns01Route53AccessKeyIdSecretRef { } /// Auth configures how cert-manager authenticates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01Route53Auth { /// Kubernetes authenticates with Route53 using AssumeRoleWithWebIdentity /// by passing a bound ServiceAccount token. @@ -511,7 +511,7 @@ pub struct ChallengeSolverDns01Route53Auth { /// Kubernetes authenticates with Route53 using AssumeRoleWithWebIdentity /// by passing a bound ServiceAccount token. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01Route53AuthKubernetes { /// A reference to a service account that will be used to request a bound /// token (also known as "projected token"). To use this field, you must @@ -523,7 +523,7 @@ pub struct ChallengeSolverDns01Route53AuthKubernetes { /// A reference to a service account that will be used to request a bound /// token (also known as "projected token"). To use this field, you must /// configure an RBAC rule to let cert-manager request a token. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01Route53AuthKubernetesServiceAccountRef { /// TokenAudiences is an optional list of audiences to include in the /// token passed to AWS. The default token consisting of the issuer's namespace @@ -539,7 +539,7 @@ pub struct ChallengeSolverDns01Route53AuthKubernetesServiceAccountRef { /// If neither the Access Key nor Key ID are set, we fall-back to using env /// vars, shared credentials file or AWS Instance metadata, /// see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01Route53SecretAccessKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -553,7 +553,7 @@ pub struct ChallengeSolverDns01Route53SecretAccessKeySecretRef { /// Configure an external webhook based DNS01 challenge solver to manage /// DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverDns01Webhook { /// Additional configuration that should be passed to the webhook apiserver /// when challenges are processed. @@ -582,7 +582,7 @@ pub struct ChallengeSolverDns01Webhook { /// performing the HTTP01 challenge flow. /// It is not possible to obtain certificates for wildcard domain names /// (e.g. `*.example.com`) using the HTTP01 challenge mechanism. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01 { /// The Gateway API is a sig-network community API that models service networking /// in Kubernetes (https://gateway-api.sigs.k8s.io/). The Gateway solver will @@ -602,7 +602,7 @@ pub struct ChallengeSolverHttp01 { /// in Kubernetes (https://gateway-api.sigs.k8s.io/). The Gateway solver will /// create HTTPRoutes with the specified labels in the same namespace as the challenge. /// This solver is experimental, and fields / behaviour may change in the future. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01GatewayHttpRoute { /// Custom labels that will be applied to HTTPRoutes created by cert-manager /// while solving HTTP-01 challenges. @@ -635,7 +635,7 @@ pub struct ChallengeSolverHttp01GatewayHttpRoute { /// /// The API object must be valid in the cluster; the Group and Kind must /// be registered in the cluster for this reference to be valid. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01GatewayHttpRouteParentRefs { /// Group is the group of the referent. /// When unspecified, "gateway.networking.k8s.io" is inferred. @@ -765,7 +765,7 @@ pub struct ChallengeSolverHttp01GatewayHttpRouteParentRefs { /// creating or modifying Ingress resources in order to route requests for /// '/.well-known/acme-challenge/XYZ' to 'challenge solver' pods that are /// provisioned by cert-manager for each Challenge to be completed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01Ingress { /// This field configures the annotation `kubernetes.io/ingress.class` when /// creating Ingress resources to solve ACME challenges that use this @@ -803,7 +803,7 @@ pub struct ChallengeSolverHttp01Ingress { /// Optional ingress template used to configure the ACME challenge solver /// ingress used for HTTP01 challenges. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressIngressTemplate { /// ObjectMeta overrides for the ingress used to solve HTTP01 challenges. /// Only the 'labels' and 'annotations' fields may be set. @@ -817,7 +817,7 @@ pub struct ChallengeSolverHttp01IngressIngressTemplate { /// Only the 'labels' and 'annotations' fields may be set. /// If labels or annotations overlap with in-built values, the values here /// will override the in-built values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressIngressTemplateMetadata { /// Annotations that should be added to the created ACME HTTP01 solver ingress. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -829,7 +829,7 @@ pub struct ChallengeSolverHttp01IngressIngressTemplateMetadata { /// Optional pod template used to configure the ACME challenge solver pods /// used for HTTP01 challenges. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplate { /// ObjectMeta overrides for the pod used to solve HTTP01 challenges. /// Only the 'labels' and 'annotations' fields may be set. @@ -848,7 +848,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplate { /// Only the 'labels' and 'annotations' fields may be set. /// If labels or annotations overlap with in-built values, the values here /// will override the in-built values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateMetadata { /// Annotations that should be added to the create ACME HTTP01 solver pods. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -861,7 +861,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateMetadata { /// PodSpec defines overrides for the HTTP01 challenge solver pod. /// Check ACMEChallengeSolverHTTP01IngressPodSpec to find out currently supported fields. /// All other fields will be ignored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpec { /// If specified, the pod's scheduling constraints #[serde(default, skip_serializing_if = "Option::is_none")] @@ -886,7 +886,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpec { } /// If specified, the pod's scheduling constraints -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -900,7 +900,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -924,7 +924,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: ChallengeSolverHttp01IngressPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -933,7 +933,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityNodeAffinityPrefer } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -945,7 +945,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityNodeAffinityPrefer /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -963,7 +963,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityNodeAffinityPrefer /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -984,7 +984,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityNodeAffinityPrefer /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -994,7 +994,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityNodeAffinityRequir /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1006,7 +1006,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityNodeAffinityRequir /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1024,7 +1024,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityNodeAffinityRequir /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1041,7 +1041,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityNodeAffinityRequir } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -1066,7 +1066,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1077,7 +1077,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAffinityPreferr } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1129,7 +1129,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAffinityPreferr /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1143,7 +1143,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAffinityPreferr /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1163,7 +1163,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAffinityPreferr /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1177,7 +1177,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAffinityPreferr /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1198,7 +1198,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAffinityPreferr /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1250,7 +1250,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAffinityRequire /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1264,7 +1264,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAffinityRequire /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1284,7 +1284,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAffinityRequire /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1298,7 +1298,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAffinityRequire /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1314,7 +1314,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAffinityRequire } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -1339,7 +1339,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1350,7 +1350,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPre } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1402,7 +1402,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPre /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1416,7 +1416,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPre /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1436,7 +1436,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPre /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1450,7 +1450,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPre /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1471,7 +1471,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPre /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1523,7 +1523,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinityReq /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1537,7 +1537,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinityReq /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1557,7 +1557,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinityReq /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1571,7 +1571,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinityReq /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1588,7 +1588,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinityReq /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecImagePullSecrets { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -1603,7 +1603,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecImagePullSecrets { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverHttp01IngressPodTemplateSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -1636,7 +1636,7 @@ pub struct ChallengeSolverHttp01IngressPodTemplateSpecTolerations { /// If not specified, the solver will be treated as the 'default' solver /// with the lowest priority, i.e. if any other solver has a more specific /// match, it will be used instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeSolverSelector { /// List of DNSNames that this solver will be used to solve. /// If specified and a match is found, a dnsNames selector will take @@ -1672,7 +1672,7 @@ pub enum ChallengeType { Dns01, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ChallengeStatus { /// presented will be set to true if the challenge values for this challenge /// are currently 'presented'. diff --git a/kube-custom-resources-rs/src/acme_cert_manager_io/v1/orders.rs b/kube-custom-resources-rs/src/acme_cert_manager_io/v1/orders.rs index 8590540ca..6197b5a61 100644 --- a/kube-custom-resources-rs/src/acme_cert_manager_io/v1/orders.rs +++ b/kube-custom-resources-rs/src/acme_cert_manager_io/v1/orders.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cert-manager/cert-manager/acme.cert-manager.io/v1/orders.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cert-manager/cert-manager/acme.cert-manager.io/v1/orders.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/acmpca_services_k8s_aws/v1alpha1/certificateauthorities.rs b/kube-custom-resources-rs/src/acmpca_services_k8s_aws/v1alpha1/certificateauthorities.rs index 72ef93720..c04080b10 100644 --- a/kube-custom-resources-rs/src/acmpca_services_k8s_aws/v1alpha1/certificateauthorities.rs +++ b/kube-custom-resources-rs/src/acmpca_services_k8s_aws/v1alpha1/certificateauthorities.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/acmpca-controller/acmpca.services.k8s.aws/v1alpha1/certificateauthorities.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/acmpca-controller/acmpca.services.k8s.aws/v1alpha1/certificateauthorities.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/acmpca_services_k8s_aws/v1alpha1/certificateauthorityactivations.rs b/kube-custom-resources-rs/src/acmpca_services_k8s_aws/v1alpha1/certificateauthorityactivations.rs index 8de84c755..733f8de69 100644 --- a/kube-custom-resources-rs/src/acmpca_services_k8s_aws/v1alpha1/certificateauthorityactivations.rs +++ b/kube-custom-resources-rs/src/acmpca_services_k8s_aws/v1alpha1/certificateauthorityactivations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/acmpca-controller/acmpca.services.k8s.aws/v1alpha1/certificateauthorityactivations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/acmpca-controller/acmpca.services.k8s.aws/v1alpha1/certificateauthorityactivations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/acmpca_services_k8s_aws/v1alpha1/certificates.rs b/kube-custom-resources-rs/src/acmpca_services_k8s_aws/v1alpha1/certificates.rs index 2547e74dc..873ebfab0 100644 --- a/kube-custom-resources-rs/src/acmpca_services_k8s_aws/v1alpha1/certificates.rs +++ b/kube-custom-resources-rs/src/acmpca_services_k8s_aws/v1alpha1/certificates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/acmpca-controller/acmpca.services.k8s.aws/v1alpha1/certificates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/acmpca-controller/acmpca.services.k8s.aws/v1alpha1/certificates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/actions_github_com/v1alpha1/autoscalinglisteners.rs b/kube-custom-resources-rs/src/actions_github_com/v1alpha1/autoscalinglisteners.rs index b78f31089..b0defdd11 100644 --- a/kube-custom-resources-rs/src/actions_github_com/v1alpha1/autoscalinglisteners.rs +++ b/kube-custom-resources-rs/src/actions_github_com/v1alpha1/autoscalinglisteners.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/actions/actions-runner-controller/actions.github.com/v1alpha1/autoscalinglisteners.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/actions/actions-runner-controller/actions.github.com/v1alpha1/autoscalinglisteners.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/actions_github_com/v1alpha1/autoscalingrunnersets.rs b/kube-custom-resources-rs/src/actions_github_com/v1alpha1/autoscalingrunnersets.rs index 260e35f3e..40e642eb2 100644 --- a/kube-custom-resources-rs/src/actions_github_com/v1alpha1/autoscalingrunnersets.rs +++ b/kube-custom-resources-rs/src/actions_github_com/v1alpha1/autoscalingrunnersets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/actions/actions-runner-controller/actions.github.com/v1alpha1/autoscalingrunnersets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/actions/actions-runner-controller/actions.github.com/v1alpha1/autoscalingrunnersets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/actions_github_com/v1alpha1/ephemeralrunnersets.rs b/kube-custom-resources-rs/src/actions_github_com/v1alpha1/ephemeralrunnersets.rs index b02ada6bc..f339a39dd 100644 --- a/kube-custom-resources-rs/src/actions_github_com/v1alpha1/ephemeralrunnersets.rs +++ b/kube-custom-resources-rs/src/actions_github_com/v1alpha1/ephemeralrunnersets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/actions/actions-runner-controller/actions.github.com/v1alpha1/ephemeralrunnersets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/actions/actions-runner-controller/actions.github.com/v1alpha1/ephemeralrunnersets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/horizontalrunnerautoscalers.rs b/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/horizontalrunnerautoscalers.rs index 0e003e608..d041b3177 100644 --- a/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/horizontalrunnerautoscalers.rs +++ b/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/horizontalrunnerautoscalers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/actions/actions-runner-controller/actions.summerwind.dev/v1alpha1/horizontalrunnerautoscalers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/actions/actions-runner-controller/actions.summerwind.dev/v1alpha1/horizontalrunnerautoscalers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runnerdeployments.rs b/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runnerdeployments.rs index b5fd02b90..f6d28bef9 100644 --- a/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runnerdeployments.rs +++ b/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runnerdeployments.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/actions/actions-runner-controller/actions.summerwind.dev/v1alpha1/runnerdeployments.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/actions/actions-runner-controller/actions.summerwind.dev/v1alpha1/runnerdeployments.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runnerreplicasets.rs b/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runnerreplicasets.rs index 300be64a5..c905c5b44 100644 --- a/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runnerreplicasets.rs +++ b/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runnerreplicasets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/actions/actions-runner-controller/actions.summerwind.dev/v1alpha1/runnerreplicasets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/actions/actions-runner-controller/actions.summerwind.dev/v1alpha1/runnerreplicasets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runners.rs b/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runners.rs index 368dec29f..a53cf364a 100644 --- a/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runners.rs +++ b/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runners.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/actions/actions-runner-controller/actions.summerwind.dev/v1alpha1/runners.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/actions/actions-runner-controller/actions.summerwind.dev/v1alpha1/runners.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runnersets.rs b/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runnersets.rs index 4824b607e..1e5c65c28 100644 --- a/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runnersets.rs +++ b/kube-custom-resources-rs/src/actions_summerwind_dev/v1alpha1/runnersets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/actions/actions-runner-controller/actions.summerwind.dev/v1alpha1/runnersets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/actions/actions-runner-controller/actions.summerwind.dev/v1alpha1/runnersets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha3/clusterresourcesetbindings.rs b/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha3/clusterresourcesetbindings.rs index 975b5bb6e..b87e87f18 100644 --- a/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha3/clusterresourcesetbindings.rs +++ b/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha3/clusterresourcesetbindings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha3/clusterresourcesetbindings.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha3/clusterresourcesetbindings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,10 +10,11 @@ mod prelude { use self::prelude::*; /// ClusterResourceSetBindingSpec defines the desired state of ClusterResourceSetBinding. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "addons.cluster.x-k8s.io", version = "v1alpha3", kind = "ClusterResourceSetBinding", plural = "clusterresourcesetbindings")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterResourceSetBindingSpec { /// Bindings is a list of ClusterResourceSets and their resources. @@ -22,7 +23,7 @@ pub struct ClusterResourceSetBindingSpec { } /// ResourceSetBinding keeps info on all of the resources in a ClusterResourceSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceSetBindingBindings { /// ClusterResourceSetName is the name of the ClusterResourceSet that is applied to the owner cluster of the binding. #[serde(rename = "clusterResourceSetName")] diff --git a/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha3/clusterresourcesets.rs b/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha3/clusterresourcesets.rs index ccf0fac94..ca0b074e4 100644 --- a/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha3/clusterresourcesets.rs +++ b/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha3/clusterresourcesets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha3/clusterresourcesets.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha3/clusterresourcesets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// ClusterResourceSetSpec defines the desired state of ClusterResourceSet. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "addons.cluster.x-k8s.io", version = "v1alpha3", kind = "ClusterResourceSet", plural = "clusterresourcesets")] #[kube(namespaced)] #[kube(status = "ClusterResourceSetStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterResourceSetSpec { /// Label selector for Clusters. The Clusters that are @@ -35,7 +36,7 @@ pub struct ClusterResourceSetSpec { /// Label selector for Clusters. The Clusters that are /// selected by this will be the ones affected by this ClusterResourceSet. /// It must match the Cluster labels. This field is immutable. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceSetClusterSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -49,7 +50,7 @@ pub struct ClusterResourceSetClusterSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceSetClusterSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -87,7 +88,7 @@ pub enum ClusterResourceSetStrategy { } /// ClusterResourceSetStatus defines the observed state of ClusterResourceSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceSetStatus { /// Conditions defines current state of the ClusterResourceSet. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha4/clusterresourcesetbindings.rs b/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha4/clusterresourcesetbindings.rs index 5f741fb75..9fd6dd0fe 100644 --- a/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha4/clusterresourcesetbindings.rs +++ b/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha4/clusterresourcesetbindings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha4/clusterresourcesetbindings.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha4/clusterresourcesetbindings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,10 +10,11 @@ mod prelude { use self::prelude::*; /// ClusterResourceSetBindingSpec defines the desired state of ClusterResourceSetBinding. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "addons.cluster.x-k8s.io", version = "v1alpha4", kind = "ClusterResourceSetBinding", plural = "clusterresourcesetbindings")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterResourceSetBindingSpec { /// Bindings is a list of ClusterResourceSets and their resources. @@ -22,7 +23,7 @@ pub struct ClusterResourceSetBindingSpec { } /// ResourceSetBinding keeps info on all of the resources in a ClusterResourceSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceSetBindingBindings { /// ClusterResourceSetName is the name of the ClusterResourceSet that is applied to the owner cluster of the binding. #[serde(rename = "clusterResourceSetName")] diff --git a/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha4/clusterresourcesets.rs b/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha4/clusterresourcesets.rs index ff85a9aad..6595383c3 100644 --- a/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha4/clusterresourcesets.rs +++ b/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1alpha4/clusterresourcesets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha4/clusterresourcesets.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1alpha4/clusterresourcesets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// ClusterResourceSetSpec defines the desired state of ClusterResourceSet. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "addons.cluster.x-k8s.io", version = "v1alpha4", kind = "ClusterResourceSet", plural = "clusterresourcesets")] #[kube(namespaced)] #[kube(status = "ClusterResourceSetStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterResourceSetSpec { /// Label selector for Clusters. The Clusters that are @@ -37,7 +38,7 @@ pub struct ClusterResourceSetSpec { /// selected by this will be the ones affected by this ClusterResourceSet. /// It must match the Cluster labels. This field is immutable. /// Label selector cannot be empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceSetClusterSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -51,7 +52,7 @@ pub struct ClusterResourceSetClusterSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceSetClusterSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -89,7 +90,7 @@ pub enum ClusterResourceSetStrategy { } /// ClusterResourceSetStatus defines the observed state of ClusterResourceSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceSetStatus { /// Conditions defines current state of the ClusterResourceSet. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1beta1/clusterresourcesetbindings.rs b/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1beta1/clusterresourcesetbindings.rs index 98c7668e8..a196c0d0c 100644 --- a/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1beta1/clusterresourcesetbindings.rs +++ b/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1beta1/clusterresourcesetbindings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1beta1/clusterresourcesetbindings.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1beta1/clusterresourcesetbindings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,10 +10,11 @@ mod prelude { use self::prelude::*; /// ClusterResourceSetBindingSpec defines the desired state of ClusterResourceSetBinding. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "addons.cluster.x-k8s.io", version = "v1beta1", kind = "ClusterResourceSetBinding", plural = "clusterresourcesetbindings")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterResourceSetBindingSpec { /// Bindings is a list of ClusterResourceSets and their resources. @@ -26,7 +27,7 @@ pub struct ClusterResourceSetBindingSpec { } /// ResourceSetBinding keeps info on all of the resources in a ClusterResourceSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceSetBindingBindings { /// ClusterResourceSetName is the name of the ClusterResourceSet that is applied to the owner cluster of the binding. #[serde(rename = "clusterResourceSetName")] diff --git a/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1beta1/clusterresourcesets.rs b/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1beta1/clusterresourcesets.rs index b54e32a29..f6ab97af1 100644 --- a/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1beta1/clusterresourcesets.rs +++ b/kube-custom-resources-rs/src/addons_cluster_x_k8s_io/v1beta1/clusterresourcesets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1beta1/clusterresourcesets.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/addons.cluster.x-k8s.io/v1beta1/clusterresourcesets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// ClusterResourceSetSpec defines the desired state of ClusterResourceSet. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "addons.cluster.x-k8s.io", version = "v1beta1", kind = "ClusterResourceSet", plural = "clusterresourcesets")] #[kube(namespaced)] #[kube(status = "ClusterResourceSetStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterResourceSetSpec { /// Label selector for Clusters. The Clusters that are @@ -37,7 +38,7 @@ pub struct ClusterResourceSetSpec { /// selected by this will be the ones affected by this ClusterResourceSet. /// It must match the Cluster labels. This field is immutable. /// Label selector cannot be empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceSetClusterSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -51,7 +52,7 @@ pub struct ClusterResourceSetClusterSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceSetClusterSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -90,7 +91,7 @@ pub enum ClusterResourceSetStrategy { } /// ClusterResourceSetStatus defines the observed state of ClusterResourceSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceSetStatus { /// Conditions defines current state of the ClusterResourceSet. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/agent_k8s_elastic_co/v1alpha1/agents.rs b/kube-custom-resources-rs/src/agent_k8s_elastic_co/v1alpha1/agents.rs index 09c8574df..c756b2c4a 100644 --- a/kube-custom-resources-rs/src/agent_k8s_elastic_co/v1alpha1/agents.rs +++ b/kube-custom-resources-rs/src/agent_k8s_elastic_co/v1alpha1/agents.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/agent.k8s.elastic.co/v1alpha1/agents.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/agent.k8s.elastic.co/v1alpha1/agents.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/awsdatacenterconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/awsdatacenterconfigs.rs index 01f11078d..3e649accd 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/awsdatacenterconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/awsdatacenterconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/awsdatacenterconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/awsdatacenterconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/awsiamconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/awsiamconfigs.rs index 6932ab0c8..29af8bfe4 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/awsiamconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/awsiamconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/awsiamconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/awsiamconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/bundles.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/bundles.rs index 2c970b7ad..9ca2a3273 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/bundles.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/bundles.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/bundles.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/bundles.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/cloudstackdatacenterconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/cloudstackdatacenterconfigs.rs index e1ae73410..78b173c1a 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/cloudstackdatacenterconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/cloudstackdatacenterconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/cloudstackdatacenterconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/cloudstackdatacenterconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/cloudstackmachineconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/cloudstackmachineconfigs.rs index 6903f7bba..2ccdf4412 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/cloudstackmachineconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/cloudstackmachineconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/cloudstackmachineconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/cloudstackmachineconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/clusters.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/clusters.rs index ed3d917c5..8c202a910 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/clusters.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/clusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/clusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/clusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/controlplaneupgrades.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/controlplaneupgrades.rs index 6a6efb6b3..e76041b94 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/controlplaneupgrades.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/controlplaneupgrades.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/controlplaneupgrades.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/controlplaneupgrades.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/dockerdatacenterconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/dockerdatacenterconfigs.rs index 1506849e9..16393f0a2 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/dockerdatacenterconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/dockerdatacenterconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/dockerdatacenterconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/dockerdatacenterconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/eksareleases.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/eksareleases.rs index a4aec23a2..d99657b22 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/eksareleases.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/eksareleases.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/eksareleases.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/eksareleases.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/fluxconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/fluxconfigs.rs index ff2d96fab..f74817934 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/fluxconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/fluxconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/fluxconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/fluxconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/gitopsconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/gitopsconfigs.rs index 8bd9aba96..201c2ceee 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/gitopsconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/gitopsconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/gitopsconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/gitopsconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/machinedeploymentupgrades.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/machinedeploymentupgrades.rs index 39ef4d9f8..8a709e798 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/machinedeploymentupgrades.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/machinedeploymentupgrades.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/machinedeploymentupgrades.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/machinedeploymentupgrades.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/nodeupgrades.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/nodeupgrades.rs index 3ace10e9b..84d29c4c0 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/nodeupgrades.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/nodeupgrades.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/nodeupgrades.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/nodeupgrades.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/nutanixdatacenterconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/nutanixdatacenterconfigs.rs index 6803c1338..9babd3cb0 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/nutanixdatacenterconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/nutanixdatacenterconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/nutanixdatacenterconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/nutanixdatacenterconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/nutanixmachineconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/nutanixmachineconfigs.rs index 669540f67..65cb7ae05 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/nutanixmachineconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/nutanixmachineconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/nutanixmachineconfigs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/nutanixmachineconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -50,7 +50,7 @@ pub struct NutanixMachineConfigSpec { } /// NutanixCategoryIdentifier holds the identity of a Nutanix Prism Central category. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NutanixMachineConfigAdditionalCategories { /// key is the Key of the category in the Prism Central. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -153,7 +153,7 @@ pub enum NutanixMachineConfigSubnetType { } /// UserConfiguration defines the configuration of the user to be added to the VM. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NutanixMachineConfigUsers { pub name: String, #[serde(rename = "sshAuthorizedKeys")] @@ -161,7 +161,7 @@ pub struct NutanixMachineConfigUsers { } /// NutanixMachineConfigStatus defines the observed state of NutanixMachineConfig. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NutanixMachineConfigStatus { /// Addresses contains the Nutanix VM associated addresses. Address type is one of Hostname, ExternalIP, InternalIP, ExternalDNS, InternalDNS #[serde(default, skip_serializing_if = "Option::is_none")] @@ -181,7 +181,7 @@ pub struct NutanixMachineConfigStatus { } /// MachineAddress contains information for the node's address. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NutanixMachineConfigStatusAddresses { /// The machine address. pub address: String, @@ -191,7 +191,7 @@ pub struct NutanixMachineConfigStatusAddresses { } /// NodeRef is a reference to the corresponding workload cluster Node if it exists. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NutanixMachineConfigStatusNodeRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/oidcconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/oidcconfigs.rs index 16e313158..68531116e 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/oidcconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/oidcconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/oidcconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/oidcconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/snowdatacenterconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/snowdatacenterconfigs.rs index 68c189bdc..33e856949 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/snowdatacenterconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/snowdatacenterconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/snowdatacenterconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/snowdatacenterconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/snowippools.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/snowippools.rs index 8ceec727e..eed412846 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/snowippools.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/snowippools.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/snowippools.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/snowippools.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/snowmachineconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/snowmachineconfigs.rs index 2c5329367..092d8e199 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/snowmachineconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/snowmachineconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/snowmachineconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/snowmachineconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/tinkerbelldatacenterconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/tinkerbelldatacenterconfigs.rs index 94afbae5a..654878617 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/tinkerbelldatacenterconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/tinkerbelldatacenterconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/tinkerbelldatacenterconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/tinkerbelldatacenterconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/tinkerbellmachineconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/tinkerbellmachineconfigs.rs index eab7b5e97..0b95c1604 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/tinkerbellmachineconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/tinkerbellmachineconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/tinkerbellmachineconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/tinkerbellmachineconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/tinkerbelltemplateconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/tinkerbelltemplateconfigs.rs index 06a75fec4..079b37b4c 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/tinkerbelltemplateconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/tinkerbelltemplateconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/tinkerbelltemplateconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/tinkerbelltemplateconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/vspheredatacenterconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/vspheredatacenterconfigs.rs index 8f5be1341..cde8218cf 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/vspheredatacenterconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/vspheredatacenterconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/vspheredatacenterconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/vspheredatacenterconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/vspheremachineconfigs.rs b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/vspheremachineconfigs.rs index c109515e5..a8bf84a2d 100644 --- a/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/vspheremachineconfigs.rs +++ b/kube-custom-resources-rs/src/anywhere_eks_amazonaws_com/v1alpha1/vspheremachineconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/vspheremachineconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/eks-anywhere/anywhere.eks.amazonaws.com/v1alpha1/vspheremachineconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apacheweb_arsenal_dev/v1alpha1/apachewebs.rs b/kube-custom-resources-rs/src/apacheweb_arsenal_dev/v1alpha1/apachewebs.rs index 3ca6a8df4..e47e1b389 100644 --- a/kube-custom-resources-rs/src/apacheweb_arsenal_dev/v1alpha1/apachewebs.rs +++ b/kube-custom-resources-rs/src/apacheweb_arsenal_dev/v1alpha1/apachewebs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/arsenalzp/apch-operator/apacheweb.arsenal.dev/v1alpha1/apachewebs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/arsenalzp/apch-operator/apacheweb.arsenal.dev/v1alpha1/apachewebs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -27,7 +27,7 @@ pub struct ApachewebSpec { pub web_server: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApachewebLoadBalancer { #[serde(default, skip_serializing_if = "Option::is_none", rename = "backEndService")] pub back_end_service: Option, @@ -43,7 +43,7 @@ pub struct ApachewebLoadBalancer { pub server_port: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApachewebLoadBalancerEndPointsList { #[serde(rename = "ipAddress")] pub ip_address: String, @@ -53,14 +53,14 @@ pub struct ApachewebLoadBalancerEndPointsList { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApachewebLoadBalancerProxyPaths { #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPointsList")] pub end_points_list: Option>, pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApachewebLoadBalancerProxyPathsEndPointsList { #[serde(rename = "ipAddress")] pub ip_address: String, @@ -78,7 +78,7 @@ pub enum ApachewebType { Lb, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApachewebWebServer { #[serde(rename = "documentRoot")] pub document_root: String, @@ -89,7 +89,7 @@ pub struct ApachewebWebServer { } /// ApachewebStatus defines the observed state of Apacheweb -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApachewebStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPoints")] pub end_points: Option>, @@ -99,7 +99,7 @@ pub struct ApachewebStatus { pub web_server: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApachewebStatusEndPoints { #[serde(rename = "ipAddress")] pub ip_address: String, @@ -109,14 +109,14 @@ pub struct ApachewebStatusEndPoints { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApachewebStatusProxyPaths { #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPointsList")] pub end_points_list: Option>, pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApachewebStatusProxyPathsEndPointsList { #[serde(rename = "ipAddress")] pub ip_address: String, @@ -126,7 +126,7 @@ pub struct ApachewebStatusProxyPathsEndPointsList { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApachewebStatusWebServer { #[serde(rename = "documentRoot")] pub document_root: String, diff --git a/kube-custom-resources-rs/src/api_clever_cloud_com/v1/configproviders.rs b/kube-custom-resources-rs/src/api_clever_cloud_com/v1/configproviders.rs index d8be1929b..cd2f65f3b 100644 --- a/kube-custom-resources-rs/src/api_clever_cloud_com/v1/configproviders.rs +++ b/kube-custom-resources-rs/src/api_clever_cloud_com/v1/configproviders.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/CleverCloud/clever-operator/api.clever-cloud.com/v1/configproviders.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/CleverCloud/clever-operator/api.clever-cloud.com/v1/configproviders.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/api_clever_cloud_com/v1/elasticsearches.rs b/kube-custom-resources-rs/src/api_clever_cloud_com/v1/elasticsearches.rs index 1cb12911a..8ed2d62eb 100644 --- a/kube-custom-resources-rs/src/api_clever_cloud_com/v1/elasticsearches.rs +++ b/kube-custom-resources-rs/src/api_clever_cloud_com/v1/elasticsearches.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/CleverCloud/clever-operator/api.clever-cloud.com/v1/elasticsearches.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/CleverCloud/clever-operator/api.clever-cloud.com/v1/elasticsearches.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/api_clever_cloud_com/v1/mongodbs.rs b/kube-custom-resources-rs/src/api_clever_cloud_com/v1/mongodbs.rs index 9a0c8b324..9bdae51ad 100644 --- a/kube-custom-resources-rs/src/api_clever_cloud_com/v1/mongodbs.rs +++ b/kube-custom-resources-rs/src/api_clever_cloud_com/v1/mongodbs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/CleverCloud/clever-operator/api.clever-cloud.com/v1/mongodbs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/CleverCloud/clever-operator/api.clever-cloud.com/v1/mongodbs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/api_clever_cloud_com/v1/mysqls.rs b/kube-custom-resources-rs/src/api_clever_cloud_com/v1/mysqls.rs index 355d9c452..b2af600e5 100644 --- a/kube-custom-resources-rs/src/api_clever_cloud_com/v1/mysqls.rs +++ b/kube-custom-resources-rs/src/api_clever_cloud_com/v1/mysqls.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/CleverCloud/clever-operator/api.clever-cloud.com/v1/mysqls.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/CleverCloud/clever-operator/api.clever-cloud.com/v1/mysqls.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/api_clever_cloud_com/v1/postgresqls.rs b/kube-custom-resources-rs/src/api_clever_cloud_com/v1/postgresqls.rs index 741d8fdc7..5fc3fa90c 100644 --- a/kube-custom-resources-rs/src/api_clever_cloud_com/v1/postgresqls.rs +++ b/kube-custom-resources-rs/src/api_clever_cloud_com/v1/postgresqls.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/CleverCloud/clever-operator/api.clever-cloud.com/v1/postgresqls.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/CleverCloud/clever-operator/api.clever-cloud.com/v1/postgresqls.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/api_clever_cloud_com/v1/redis.rs b/kube-custom-resources-rs/src/api_clever_cloud_com/v1/redis.rs index 8c2cb6aa1..eab3334d0 100644 --- a/kube-custom-resources-rs/src/api_clever_cloud_com/v1/redis.rs +++ b/kube-custom-resources-rs/src/api_clever_cloud_com/v1/redis.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/CleverCloud/clever-operator/api.clever-cloud.com/v1/redis.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/CleverCloud/clever-operator/api.clever-cloud.com/v1/redis.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/api_clever_cloud_com/v1beta1/pulsars.rs b/kube-custom-resources-rs/src/api_clever_cloud_com/v1beta1/pulsars.rs index 510d526e2..94fbe32b8 100644 --- a/kube-custom-resources-rs/src/api_clever_cloud_com/v1beta1/pulsars.rs +++ b/kube-custom-resources-rs/src/api_clever_cloud_com/v1beta1/pulsars.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/CleverCloud/clever-operator/api.clever-cloud.com/v1beta1/pulsars.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/CleverCloud/clever-operator/api.clever-cloud.com/v1beta1/pulsars.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/api_kubemod_io/v1beta1/modrules.rs b/kube-custom-resources-rs/src/api_kubemod_io/v1beta1/modrules.rs index 073a6a5b8..87c9c9fe4 100644 --- a/kube-custom-resources-rs/src/api_kubemod_io/v1beta1/modrules.rs +++ b/kube-custom-resources-rs/src/api_kubemod_io/v1beta1/modrules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubemod/kubemod/api.kubemod.io/v1beta1/modrules.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubemod/kubemod/api.kubemod.io/v1beta1/modrules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -40,7 +40,7 @@ pub struct ModRuleSpec { } /// MatchItem represents a single match query. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ModRuleMatch { /// MatchFor instructs how to match the results against the match... requirements. Valid values are: - "Any" - the match is considered positive if any of the results of select have a match. - "All" - the match is considered positive only if all of the results of select have a match. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchFor")] @@ -102,7 +102,7 @@ pub enum ModRuleType { } /// ModRuleStatus defines the observed state of ModRule -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ModRuleStatus { } diff --git a/kube-custom-resources-rs/src/apicodegen_apimatic_io/v1beta1/apimatics.rs b/kube-custom-resources-rs/src/apicodegen_apimatic_io/v1beta1/apimatics.rs index a94bc4ef8..7fb87ac10 100644 --- a/kube-custom-resources-rs/src/apicodegen_apimatic_io/v1beta1/apimatics.rs +++ b/kube-custom-resources-rs/src/apicodegen_apimatic_io/v1beta1/apimatics.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apimatic/apimatic-kubernetes-operator/apicodegen.apimatic.io/v1beta1/apimatics.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apimatic/apimatic-kubernetes-operator/apicodegen.apimatic.io/v1beta1/apimatics.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -53,7 +53,7 @@ pub enum APIMaticLicensespecLicenseSourceType { } /// APIMaticPodPlacementSpec configures the APIMatic pod scheduling policy -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodplacementspec { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -73,7 +73,7 @@ pub struct APIMaticPodplacementspec { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodplacementspecNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -84,7 +84,7 @@ pub struct APIMaticPodplacementspecNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodplacementspecNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: APIMaticPodplacementspecNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -93,7 +93,7 @@ pub struct APIMaticPodplacementspecNodeAffinityPreferredDuringSchedulingIgnoredD } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodplacementspecNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -104,7 +104,7 @@ pub struct APIMaticPodplacementspecNodeAffinityPreferredDuringSchedulingIgnoredD } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodplacementspecNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -116,7 +116,7 @@ pub struct APIMaticPodplacementspecNodeAffinityPreferredDuringSchedulingIgnoredD } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodplacementspecNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -128,7 +128,7 @@ pub struct APIMaticPodplacementspecNodeAffinityPreferredDuringSchedulingIgnoredD } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodplacementspecNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -136,7 +136,7 @@ pub struct APIMaticPodplacementspecNodeAffinityRequiredDuringSchedulingIgnoredDu } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodplacementspecNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -147,7 +147,7 @@ pub struct APIMaticPodplacementspecNodeAffinityRequiredDuringSchedulingIgnoredDu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodplacementspecNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -159,7 +159,7 @@ pub struct APIMaticPodplacementspecNodeAffinityRequiredDuringSchedulingIgnoredDu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodplacementspecNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -171,7 +171,7 @@ pub struct APIMaticPodplacementspecNodeAffinityRequiredDuringSchedulingIgnoredDu } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodplacementspecPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -182,7 +182,7 @@ pub struct APIMaticPodplacementspecPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodplacementspecPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -192,7 +192,7 @@ pub struct APIMaticPodplacementspecPodAffinityPreferredDuringSchedulingIgnoredDu } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodplacementspecPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -209,7 +209,7 @@ pub struct APIMaticPodplacementspecPodAffinityPreferredDuringSchedulingIgnoredDu } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodplacementspecPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -220,7 +220,7 @@ pub struct APIMaticPodplacementspecPodAffinityPreferredDuringSchedulingIgnoredDu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodplacementspecPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -232,7 +232,7 @@ pub struct APIMaticPodplacementspecPodAffinityPreferredDuringSchedulingIgnoredDu } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. This field is alpha-level and is only honored when PodAffinityNamespaceSelector feature is enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodplacementspecPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -243,7 +243,7 @@ pub struct APIMaticPodplacementspecPodAffinityPreferredDuringSchedulingIgnoredDu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodplacementspecPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -255,7 +255,7 @@ pub struct APIMaticPodplacementspecPodAffinityPreferredDuringSchedulingIgnoredDu } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodplacementspecPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -272,7 +272,7 @@ pub struct APIMaticPodplacementspecPodAffinityRequiredDuringSchedulingIgnoredDur } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodplacementspecPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -283,7 +283,7 @@ pub struct APIMaticPodplacementspecPodAffinityRequiredDuringSchedulingIgnoredDur } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodplacementspecPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -295,7 +295,7 @@ pub struct APIMaticPodplacementspecPodAffinityRequiredDuringSchedulingIgnoredDur } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. This field is alpha-level and is only honored when PodAffinityNamespaceSelector feature is enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodplacementspecPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -306,7 +306,7 @@ pub struct APIMaticPodplacementspecPodAffinityRequiredDuringSchedulingIgnoredDur } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodplacementspecPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -318,7 +318,7 @@ pub struct APIMaticPodplacementspecPodAffinityRequiredDuringSchedulingIgnoredDur } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodplacementspecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -338,7 +338,7 @@ pub struct APIMaticPodplacementspecTolerations { } /// APIMaticPodSpec contains configuration for created APIMatic pods -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodspec { /// Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer. #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] @@ -406,7 +406,7 @@ pub struct APIMaticPodspec { } /// APIMaticContainerSpec defines the configurations used for the APIMatic CodeGen container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodspecApimaticContainerSpec { /// APIMatic container image pub image: String, @@ -430,7 +430,7 @@ pub enum APIMaticPodspecApimaticContainerSpecImagePullPolicy { } /// Resource Requirements represents the compute resource requirements of the APIMatic container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodspecApimaticContainerSpecResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -441,7 +441,7 @@ pub struct APIMaticPodspecApimaticContainerSpecResources { } /// Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodspecDnsConfig { /// A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -455,7 +455,7 @@ pub struct APIMaticPodspecDnsConfig { } /// PodDNSConfigOption defines DNS resolver options of a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodspecDnsConfigOptions { /// Required. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -474,7 +474,7 @@ pub enum APIMaticPodspecDnsPolicy { } /// HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodspecHostAliases { /// Hostnames for the above IP address. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -485,7 +485,7 @@ pub struct APIMaticPodspecHostAliases { } /// PodReadinessGate contains the reference to a pod condition -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodspecReadinessGates { /// ConditionType refers to a condition in the pod's condition list with matching type. #[serde(rename = "conditionType")] @@ -501,7 +501,7 @@ pub enum APIMaticPodspecRestartPolicy { } /// SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodspecSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -538,7 +538,7 @@ pub struct APIMaticPodspecSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodspecSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -555,7 +555,7 @@ pub struct APIMaticPodspecSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodspecSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -567,7 +567,7 @@ pub struct APIMaticPodspecSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodspecSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -576,7 +576,7 @@ pub struct APIMaticPodspecSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticPodspecSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -590,7 +590,7 @@ pub struct APIMaticPodspecSecurityContextWindowsOptions { } /// APIMaticServiceSpec contains configuration for the service that exposes the APIMatic pods -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticServicespec { /// APIMatic Service Port specifies how the APIMatic service is exposed within the pod pub apimaticserviceport: APIMaticServicespecApimaticserviceport, @@ -637,7 +637,7 @@ pub struct APIMaticServicespec { } /// APIMatic Service Port specifies how the APIMatic service is exposed within the pod -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticServicespecApimaticserviceport { /// The name of the APIMatic service port within the service. This must be a DNS_LABEL. Defaults to apimatic #[serde(default, skip_serializing_if = "Option::is_none")] @@ -683,7 +683,7 @@ pub enum APIMaticServicespecSessionAffinity { } /// sessionAffinityConfig contains the configurations of session affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticServicespecSessionAffinityConfig { /// clientIP contains the configurations of Client IP based session affinity. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] @@ -691,7 +691,7 @@ pub struct APIMaticServicespecSessionAffinityConfig { } /// clientIP contains the configurations of Client IP based session affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticServicespecSessionAffinityConfigClientIp { /// timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". Default value is 10800(for 3 hours). #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] @@ -699,7 +699,7 @@ pub struct APIMaticServicespecSessionAffinityConfigClientIp { } /// APIMaticStatus defines the observed state of APIMatic -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticStatus { /// statefulsetStatus displays the status of the owned deployment resource which exposes the APIMatic pods for communication #[serde(default, skip_serializing_if = "Option::is_none", rename = "deploymentStatus")] @@ -710,7 +710,7 @@ pub struct APIMaticStatus { } /// statefulsetStatus displays the status of the owned deployment resource which exposes the APIMatic pods for communication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticStatusDeploymentStatus { /// Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. #[serde(default, skip_serializing_if = "Option::is_none", rename = "availableReplicas")] @@ -739,7 +739,7 @@ pub struct APIMaticStatusDeploymentStatus { } /// serviceStatus displays the status of the owned service resource which exposes the APIMatic pods for communication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticStatusServiceStatus { /// Current service state #[serde(default, skip_serializing_if = "Option::is_none")] @@ -750,7 +750,7 @@ pub struct APIMaticStatusServiceStatus { } /// LoadBalancer contains the current status of the load-balancer, if one is present. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticStatusServiceStatusLoadBalancer { /// Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -758,7 +758,7 @@ pub struct APIMaticStatusServiceStatusLoadBalancer { } /// LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticStatusServiceStatusLoadBalancerIngress { /// Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -771,7 +771,7 @@ pub struct APIMaticStatusServiceStatusLoadBalancerIngress { pub ports: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIMaticStatusServiceStatusLoadBalancerIngressPorts { /// Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names - cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase. --- The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/apiextensions_crossplane_io/v1/compositeresourcedefinitions.rs b/kube-custom-resources-rs/src/apiextensions_crossplane_io/v1/compositeresourcedefinitions.rs index 749323da0..e4a5e05b8 100644 --- a/kube-custom-resources-rs/src/apiextensions_crossplane_io/v1/compositeresourcedefinitions.rs +++ b/kube-custom-resources-rs/src/apiextensions_crossplane_io/v1/compositeresourcedefinitions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/crossplane/crossplane/apiextensions.crossplane.io/v1/compositeresourcedefinitions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/crossplane/crossplane/apiextensions.crossplane.io/v1/compositeresourcedefinitions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/apis.rs b/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/apis.rs index bf69eb70d..3db85326c 100644 --- a/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/apis.rs +++ b/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/apis.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/apigatewayv2-controller/apigatewayv2.services.k8s.aws/v1alpha1/apis.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/apigatewayv2-controller/apigatewayv2.services.k8s.aws/v1alpha1/apis.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/authorizers.rs b/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/authorizers.rs index 9247968ef..4f540b15e 100644 --- a/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/authorizers.rs +++ b/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/authorizers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/apigatewayv2-controller/apigatewayv2.services.k8s.aws/v1alpha1/authorizers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/apigatewayv2-controller/apigatewayv2.services.k8s.aws/v1alpha1/authorizers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/deployments.rs b/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/deployments.rs index af515d430..3f52b5dc8 100644 --- a/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/deployments.rs +++ b/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/deployments.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/apigatewayv2-controller/apigatewayv2.services.k8s.aws/v1alpha1/deployments.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/apigatewayv2-controller/apigatewayv2.services.k8s.aws/v1alpha1/deployments.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/routes.rs b/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/routes.rs index ae050af3d..09737484c 100644 --- a/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/routes.rs +++ b/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/routes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/apigatewayv2-controller/apigatewayv2.services.k8s.aws/v1alpha1/routes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/apigatewayv2-controller/apigatewayv2.services.k8s.aws/v1alpha1/routes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/stages.rs b/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/stages.rs index b9ab6b509..ffb59e81c 100644 --- a/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/stages.rs +++ b/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/stages.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/apigatewayv2-controller/apigatewayv2.services.k8s.aws/v1alpha1/stages.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/apigatewayv2-controller/apigatewayv2.services.k8s.aws/v1alpha1/stages.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/vpclinks.rs b/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/vpclinks.rs index 5169f2690..752b232ca 100644 --- a/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/vpclinks.rs +++ b/kube-custom-resources-rs/src/apigatewayv2_services_k8s_aws/v1alpha1/vpclinks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/apigatewayv2-controller/apigatewayv2.services.k8s.aws/v1alpha1/vpclinks.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/apigatewayv2-controller/apigatewayv2.services.k8s.aws/v1alpha1/vpclinks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixclusterconfigs.rs b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixclusterconfigs.rs index 393bff453..9b3447b1f 100644 --- a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixclusterconfigs.rs +++ b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixclusterconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixclusterconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixclusterconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixconsumers.rs b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixconsumers.rs index 0279247f6..590c05523 100644 --- a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixconsumers.rs +++ b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixconsumers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixconsumers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixconsumers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixglobalrules.rs b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixglobalrules.rs index 2b18456fc..7054592bb 100644 --- a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixglobalrules.rs +++ b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixglobalrules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixglobalrules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixglobalrules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixpluginconfigs.rs b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixpluginconfigs.rs index 1feb5c580..e04bdcfe9 100644 --- a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixpluginconfigs.rs +++ b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixpluginconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixpluginconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixpluginconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixroutes.rs b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixroutes.rs index 4fa97428b..c84ee5a69 100644 --- a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixroutes.rs +++ b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixroutes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixroutes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixroutes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "apisix.apache.org", version = "v2", kind = "ApisixRoute", plural = "apisixroutes")] #[kube(namespaced)] #[kube(status = "ApisixRouteStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ApisixRouteSpec { #[serde(default, skip_serializing_if = "Option::is_none")] @@ -26,7 +27,7 @@ pub struct ApisixRouteSpec { pub stream: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixRouteHttp { #[serde(default, skip_serializing_if = "Option::is_none")] pub authentication: Option, @@ -53,7 +54,7 @@ pub struct ApisixRouteHttp { pub websocket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixRouteHttpAuthentication { pub enable: bool, #[serde(default, skip_serializing_if = "Option::is_none", rename = "jwtAuth")] @@ -66,7 +67,7 @@ pub struct ApisixRouteHttpAuthentication { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixRouteHttpAuthenticationJwtAuth { #[serde(default, skip_serializing_if = "Option::is_none")] pub cookie: Option, @@ -76,13 +77,13 @@ pub struct ApisixRouteHttpAuthenticationJwtAuth { pub query: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixRouteHttpAuthenticationKeyAuth { #[serde(default, skip_serializing_if = "Option::is_none")] pub header: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixRouteHttpAuthenticationLdapAuth { #[serde(default, skip_serializing_if = "Option::is_none")] pub base_dn: Option, @@ -110,7 +111,7 @@ pub enum ApisixRouteHttpAuthenticationType { LdapAuth, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixRouteHttpBackends { #[serde(default, skip_serializing_if = "Option::is_none", rename = "resolveGranularity")] pub resolve_granularity: Option, @@ -132,7 +133,7 @@ pub enum ApisixRouteHttpBackendsResolveGranularity { Service, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixRouteHttpMatch { #[serde(default, skip_serializing_if = "Option::is_none")] pub exprs: Option>, @@ -147,7 +148,7 @@ pub struct ApisixRouteHttpMatch { pub remote_addrs: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixRouteHttpMatchExprs { #[serde(default, skip_serializing_if = "Option::is_none")] pub op: Option, @@ -191,7 +192,7 @@ pub enum ApisixRouteHttpMatchExprsSubjectScope { Variable, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixRouteHttpPlugins { #[serde(default, skip_serializing_if = "Option::is_none")] pub config: Option>, @@ -203,7 +204,7 @@ pub struct ApisixRouteHttpPlugins { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixRouteHttpTimeout { #[serde(default, skip_serializing_if = "Option::is_none")] pub connect: Option, @@ -214,7 +215,7 @@ pub struct ApisixRouteHttpTimeout { } /// ApisixRouteUpstreamReference contains a ApisixUpstream CRD reference -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixRouteHttpUpstreams { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -233,7 +234,7 @@ pub struct ApisixRouteStream { pub protocol: ApisixRouteStreamProtocol, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixRouteStreamBackend { #[serde(default, skip_serializing_if = "Option::is_none", rename = "resolveGranularity")] pub resolve_granularity: Option, @@ -253,7 +254,7 @@ pub enum ApisixRouteStreamBackendResolveGranularity { Service, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixRouteStreamMatch { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -261,7 +262,7 @@ pub struct ApisixRouteStreamMatch { pub ingress_port: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixRouteStreamPlugins { #[serde(default, skip_serializing_if = "Option::is_none")] pub config: Option>, @@ -281,13 +282,13 @@ pub enum ApisixRouteStreamProtocol { Udp, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixRouteStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixRouteStatusConditions { #[serde(default, skip_serializing_if = "Option::is_none")] pub message: Option, diff --git a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixtlses.rs b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixtlses.rs index 1d278d00a..a8a2e057c 100644 --- a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixtlses.rs +++ b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixtlses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixtlses.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixtlses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// ApisixTlsSpec is the specification of ApisixSSL. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "apisix.apache.org", version = "v2", kind = "ApisixTls", plural = "apisixtlses")] #[kube(namespaced)] #[kube(status = "ApisixTlsStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ApisixTlsSpec { /// ApisixMutualTlsClientConfig describes the mutual TLS CA and verify depth @@ -29,7 +30,7 @@ pub struct ApisixTlsSpec { } /// ApisixMutualTlsClientConfig describes the mutual TLS CA and verify depth -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixTlsClient { /// ApisixSecret describes the Kubernetes Secret name and namespace. #[serde(default, skip_serializing_if = "Option::is_none", rename = "caSecret")] @@ -41,21 +42,21 @@ pub struct ApisixTlsClient { } /// ApisixSecret describes the Kubernetes Secret name and namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixTlsClientCaSecret { pub name: String, pub namespace: String, } /// ApisixSecret describes the Kubernetes Secret name and namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixTlsSecret { pub name: String, pub namespace: String, } /// ApisixStatus is the status report for Apisix ingress Resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixTlsStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, diff --git a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixupstreams.rs b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixupstreams.rs index c4f2ff48c..d90d4241e 100644 --- a/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixupstreams.rs +++ b/kube-custom-resources-rs/src/apisix_apache_org/v2/apisixupstreams.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixupstreams.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apache/apisix-ingress-controller/apisix.apache.org/v2/apisixupstreams.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,11 +10,12 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "apisix.apache.org", version = "v2", kind = "ApisixUpstream", plural = "apisixupstreams")] #[kube(namespaced)] #[kube(status = "ApisixUpstreamStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ApisixUpstreamSpec { /// Discovery is used to configure service discovery for upstream @@ -49,7 +50,7 @@ pub struct ApisixUpstreamSpec { } /// Discovery is used to configure service discovery for upstream -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixUpstreamDiscovery { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -60,7 +61,7 @@ pub struct ApisixUpstreamDiscovery { } /// ApisixUpstreamExternalNode is the external node conf -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixUpstreamExternalNodes { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -72,7 +73,7 @@ pub struct ApisixUpstreamExternalNodes { pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixUpstreamHealthCheck { #[serde(default, skip_serializing_if = "Option::is_none")] pub active: Option, @@ -80,7 +81,7 @@ pub struct ApisixUpstreamHealthCheck { pub passive: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixUpstreamHealthCheckActive { #[serde(default, skip_serializing_if = "Option::is_none")] pub concurrency: Option, @@ -104,7 +105,7 @@ pub struct ApisixUpstreamHealthCheckActive { pub unhealthy: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixUpstreamHealthCheckActiveHealthy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpCodes")] pub http_codes: Option>, @@ -124,7 +125,7 @@ pub enum ApisixUpstreamHealthCheckActiveType { Tcp, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixUpstreamHealthCheckActiveUnhealthy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpCodes")] pub http_codes: Option>, @@ -138,7 +139,7 @@ pub struct ApisixUpstreamHealthCheckActiveUnhealthy { pub timeouts: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixUpstreamHealthCheckPassive { #[serde(default, skip_serializing_if = "Option::is_none")] pub healthy: Option, @@ -148,7 +149,7 @@ pub struct ApisixUpstreamHealthCheckPassive { pub unhealthy: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixUpstreamHealthCheckPassiveHealthy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpCodes")] pub http_codes: Option>, @@ -166,7 +167,7 @@ pub enum ApisixUpstreamHealthCheckPassiveType { Tcp, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixUpstreamHealthCheckPassiveUnhealthy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpCodes")] pub http_codes: Option>, @@ -224,7 +225,7 @@ pub enum ApisixUpstreamPassHost { Rewrite, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixUpstreamPortLevelSettings { #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthCheck")] pub health_check: Option, @@ -240,7 +241,7 @@ pub struct ApisixUpstreamPortLevelSettings { pub timeout: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixUpstreamPortLevelSettingsHealthCheck { #[serde(default, skip_serializing_if = "Option::is_none")] pub active: Option, @@ -248,7 +249,7 @@ pub struct ApisixUpstreamPortLevelSettingsHealthCheck { pub passive: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixUpstreamPortLevelSettingsHealthCheckActive { #[serde(default, skip_serializing_if = "Option::is_none")] pub concurrency: Option, @@ -272,7 +273,7 @@ pub struct ApisixUpstreamPortLevelSettingsHealthCheckActive { pub unhealthy: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixUpstreamPortLevelSettingsHealthCheckActiveHealthy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpCodes")] pub http_codes: Option>, @@ -292,7 +293,7 @@ pub enum ApisixUpstreamPortLevelSettingsHealthCheckActiveType { Tcp, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixUpstreamPortLevelSettingsHealthCheckActiveUnhealthy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpCodes")] pub http_codes: Option>, @@ -306,7 +307,7 @@ pub struct ApisixUpstreamPortLevelSettingsHealthCheckActiveUnhealthy { pub timeout: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixUpstreamPortLevelSettingsHealthCheckPassive { #[serde(default, skip_serializing_if = "Option::is_none")] pub healthy: Option, @@ -316,7 +317,7 @@ pub struct ApisixUpstreamPortLevelSettingsHealthCheckPassive { pub unhealthy: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixUpstreamPortLevelSettingsHealthCheckPassiveHealthy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpCodes")] pub http_codes: Option>, @@ -334,7 +335,7 @@ pub enum ApisixUpstreamPortLevelSettingsHealthCheckPassiveType { Tcp, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixUpstreamPortLevelSettingsHealthCheckPassiveUnhealthy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpCodes")] pub http_codes: Option>, @@ -390,7 +391,7 @@ pub enum ApisixUpstreamPortLevelSettingsScheme { Grpc, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixUpstreamPortLevelSettingsTimeout { #[serde(default, skip_serializing_if = "Option::is_none")] pub connect: Option, @@ -412,13 +413,13 @@ pub enum ApisixUpstreamScheme { Grpcs, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixUpstreamSubsets { pub labels: BTreeMap, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixUpstreamTimeout { #[serde(default, skip_serializing_if = "Option::is_none")] pub connect: Option, @@ -429,19 +430,19 @@ pub struct ApisixUpstreamTimeout { } /// ApisixSecret describes the Kubernetes Secret name and namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixUpstreamTlsSecret { pub name: String, pub namespace: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixUpstreamStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApisixUpstreamStatusConditions { #[serde(default, skip_serializing_if = "Option::is_none")] pub message: Option, diff --git a/kube-custom-resources-rs/src/apm_k8s_elastic_co/v1/apmservers.rs b/kube-custom-resources-rs/src/apm_k8s_elastic_co/v1/apmservers.rs index 44c6feb04..c1a927bfc 100644 --- a/kube-custom-resources-rs/src/apm_k8s_elastic_co/v1/apmservers.rs +++ b/kube-custom-resources-rs/src/apm_k8s_elastic_co/v1/apmservers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/apm.k8s.elastic.co/v1/apmservers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/apm.k8s.elastic.co/v1/apmservers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apm_k8s_elastic_co/v1beta1/apmservers.rs b/kube-custom-resources-rs/src/apm_k8s_elastic_co/v1beta1/apmservers.rs index 19b3289b4..87ea078b1 100644 --- a/kube-custom-resources-rs/src/apm_k8s_elastic_co/v1beta1/apmservers.rs +++ b/kube-custom-resources-rs/src/apm_k8s_elastic_co/v1beta1/apmservers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/apm.k8s.elastic.co/v1beta1/apmservers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/apm.k8s.elastic.co/v1beta1/apmservers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitobuilds.rs b/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitobuilds.rs index de73181f0..512930b34 100644 --- a/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitobuilds.rs +++ b/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitobuilds.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitobuilds.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitobuilds.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -82,7 +82,7 @@ pub struct KogitoBuildSpec { /// Artifact contains override information for building the Maven artifact (used for Local Source builds). /// You might want to override this information when building from decisions, rules or process files. In this scenario the Kogito Images will generate a new Java project for you underneath. This information will be used to generate this project. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoBuildArtifact { /// Indicates the unique base name of the primary artifact being generated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "artifactId")] @@ -96,7 +96,7 @@ pub struct KogitoBuildArtifact { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoBuildEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -109,7 +109,7 @@ pub struct KogitoBuildEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoBuildEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -126,7 +126,7 @@ pub struct KogitoBuildEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoBuildEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -139,7 +139,7 @@ pub struct KogitoBuildEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoBuildEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -150,7 +150,7 @@ pub struct KogitoBuildEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoBuildEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -163,7 +163,7 @@ pub struct KogitoBuildEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoBuildEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -177,7 +177,7 @@ pub struct KogitoBuildEnvValueFromSecretKeyRef { /// Information about the git repository where the Kogito Service source code resides. /// Ignored for binary builds. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoBuildGitSource { /// Context/subdirectory where the code is located, relative to the repo root. #[serde(default, skip_serializing_if = "Option::is_none", rename = "contextDir")] @@ -190,7 +190,7 @@ pub struct KogitoBuildGitSource { } /// Resources Requirements for builder pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoBuildResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -218,7 +218,7 @@ pub enum KogitoBuildType { } /// WebHookSecret Secret to use for a given webHook. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoBuildWebHooks { /// Secret value for webHook #[serde(default, skip_serializing_if = "Option::is_none")] @@ -236,7 +236,7 @@ pub enum KogitoBuildWebHooksType { } /// KogitoBuildStatus defines the observed state of KogitoBuild. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoBuildStatus { /// History of builds pub builds: KogitoBuildStatusBuilds, @@ -247,7 +247,7 @@ pub struct KogitoBuildStatus { } /// History of builds -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoBuildStatusBuilds { /// Builds have been stopped from executing. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitoinfras.rs b/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitoinfras.rs index 28272cabf..4816f780d 100644 --- a/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitoinfras.rs +++ b/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitoinfras.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitoinfras.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitoinfras.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// KogitoInfraSpec defines the desired state of KogitoInfra. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "app.kiegroup.org", version = "v1beta1", kind = "KogitoInfra", plural = "kogitoinfras")] #[kube(namespaced)] #[kube(status = "KogitoInfraStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct KogitoInfraSpec { /// List of secret that should be mounted to the services as envs @@ -45,7 +46,7 @@ pub struct KogitoInfraSpec { } /// VolumeReference represents the source of a volume to mount. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoInfraConfigMapVolumeReferences { /// Permission on the file mounted as volume on deployment. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fileMode")] @@ -61,7 +62,7 @@ pub struct KogitoInfraConfigMapVolumeReferences { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoInfraEnvs { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -74,7 +75,7 @@ pub struct KogitoInfraEnvs { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoInfraEnvsValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -91,7 +92,7 @@ pub struct KogitoInfraEnvsValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoInfraEnvsValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -104,7 +105,7 @@ pub struct KogitoInfraEnvsValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoInfraEnvsValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -115,7 +116,7 @@ pub struct KogitoInfraEnvsValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoInfraEnvsValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -128,7 +129,7 @@ pub struct KogitoInfraEnvsValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoInfraEnvsValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -141,7 +142,7 @@ pub struct KogitoInfraEnvsValueFromSecretKeyRef { } /// Resource for the service. Example: Infinispan/Kafka/Keycloak. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoInfraResource { /// APIVersion describes the API Version of referred Kubernetes resource for example, infinispan.org/v1 #[serde(rename = "apiVersion")] @@ -156,7 +157,7 @@ pub struct KogitoInfraResource { } /// VolumeReference represents the source of a volume to mount. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoInfraSecretVolumeReferences { /// Permission on the file mounted as volume on deployment. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fileMode")] @@ -172,7 +173,7 @@ pub struct KogitoInfraSecretVolumeReferences { } /// KogitoInfraStatus defines the observed state of KogitoInfra. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoInfraStatus { /// History of conditions for the resource pub conditions: Vec, @@ -194,7 +195,7 @@ pub struct KogitoInfraStatus { } /// VolumeReference represents the source of a volume to mount. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoInfraStatusConfigMapVolumeReferences { /// Permission on the file mounted as volume on deployment. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fileMode")] @@ -210,7 +211,7 @@ pub struct KogitoInfraStatusConfigMapVolumeReferences { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoInfraStatusEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -223,7 +224,7 @@ pub struct KogitoInfraStatusEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoInfraStatusEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -240,7 +241,7 @@ pub struct KogitoInfraStatusEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoInfraStatusEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -253,7 +254,7 @@ pub struct KogitoInfraStatusEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoInfraStatusEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -264,7 +265,7 @@ pub struct KogitoInfraStatusEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoInfraStatusEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -277,7 +278,7 @@ pub struct KogitoInfraStatusEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoInfraStatusEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -290,7 +291,7 @@ pub struct KogitoInfraStatusEnvValueFromSecretKeyRef { } /// VolumeReference represents the source of a volume to mount. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoInfraStatusSecretVolumeReferences { /// Permission on the file mounted as volume on deployment. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fileMode")] diff --git a/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitoruntimes.rs b/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitoruntimes.rs index 7b7a938d1..6264f7001 100644 --- a/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitoruntimes.rs +++ b/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitoruntimes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitoruntimes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitoruntimes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// KogitoRuntimeSpec defines the desired state of KogitoRuntime. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "app.kiegroup.org", version = "v1beta1", kind = "KogitoRuntime", plural = "kogitoruntimes")] #[kube(namespaced)] #[kube(status = "KogitoRuntimeStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct KogitoRuntimeSpec { /// Application properties that will be set to the service. For example 'MY_VAR: my_value'. @@ -80,7 +81,7 @@ pub struct KogitoRuntimeSpec { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -93,7 +94,7 @@ pub struct KogitoRuntimeEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -110,7 +111,7 @@ pub struct KogitoRuntimeEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -123,7 +124,7 @@ pub struct KogitoRuntimeEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -134,7 +135,7 @@ pub struct KogitoRuntimeEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -147,7 +148,7 @@ pub struct KogitoRuntimeEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -160,7 +161,7 @@ pub struct KogitoRuntimeEnvValueFromSecretKeyRef { } /// Create Service monitor instance to connect with Monitoring service -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeMonitoring { /// HTTP path to scrape for metrics. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -171,7 +172,7 @@ pub struct KogitoRuntimeMonitoring { } /// Configure liveness, readiness and startup probes for containers -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeProbes { /// LivenessProbe describes how the Kogito container liveness probe should work #[serde(default, skip_serializing_if = "Option::is_none", rename = "livenessProbe")] @@ -185,7 +186,7 @@ pub struct KogitoRuntimeProbes { } /// LivenessProbe describes how the Kogito container liveness probe should work -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeProbesLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -220,7 +221,7 @@ pub struct KogitoRuntimeProbesLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeProbesLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -228,7 +229,7 @@ pub struct KogitoRuntimeProbesLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is an alpha field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeProbesLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -239,7 +240,7 @@ pub struct KogitoRuntimeProbesLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeProbesLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -258,7 +259,7 @@ pub struct KogitoRuntimeProbesLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeProbesLivenessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -267,7 +268,7 @@ pub struct KogitoRuntimeProbesLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeProbesLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -277,7 +278,7 @@ pub struct KogitoRuntimeProbesLivenessProbeTcpSocket { } /// ReadinessProbe describes how the Kogito container readiness probe should work -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeProbesReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -312,7 +313,7 @@ pub struct KogitoRuntimeProbesReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeProbesReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -320,7 +321,7 @@ pub struct KogitoRuntimeProbesReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is an alpha field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeProbesReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -331,7 +332,7 @@ pub struct KogitoRuntimeProbesReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeProbesReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -350,7 +351,7 @@ pub struct KogitoRuntimeProbesReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeProbesReadinessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -359,7 +360,7 @@ pub struct KogitoRuntimeProbesReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeProbesReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -369,7 +370,7 @@ pub struct KogitoRuntimeProbesReadinessProbeTcpSocket { } /// StartupProbe describes how the Kogito container startup probe should work -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeProbesStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -404,7 +405,7 @@ pub struct KogitoRuntimeProbesStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeProbesStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -412,7 +413,7 @@ pub struct KogitoRuntimeProbesStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. This is an alpha field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeProbesStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -423,7 +424,7 @@ pub struct KogitoRuntimeProbesStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeProbesStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -442,7 +443,7 @@ pub struct KogitoRuntimeProbesStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeProbesStartupProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -451,7 +452,7 @@ pub struct KogitoRuntimeProbesStartupProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeProbesStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -461,7 +462,7 @@ pub struct KogitoRuntimeProbesStartupProbeTcpSocket { } /// Defined compute resource requirements for the deployed service. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -481,7 +482,7 @@ pub enum KogitoRuntimeRuntime { } /// KogitoRuntimeStatus defines the observed state of KogitoRuntime. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeStatus { /// Describes the CloudEvents that this instance can consume or produce #[serde(default, skip_serializing_if = "Option::is_none", rename = "cloudEvents")] @@ -503,7 +504,7 @@ pub struct KogitoRuntimeStatus { } /// Describes the CloudEvents that this instance can consume or produce -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeStatusCloudEvents { #[serde(default, skip_serializing_if = "Option::is_none")] pub consumes: Option>, @@ -512,7 +513,7 @@ pub struct KogitoRuntimeStatusCloudEvents { } /// KogitoCloudEventInfo describes the CloudEvent information based on the specification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeStatusCloudEventsConsumes { #[serde(default, skip_serializing_if = "Option::is_none")] pub source: Option, @@ -521,7 +522,7 @@ pub struct KogitoRuntimeStatusCloudEventsConsumes { } /// KogitoCloudEventInfo describes the CloudEvent information based on the specification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeStatusCloudEventsProduces { #[serde(default, skip_serializing_if = "Option::is_none")] pub source: Option, @@ -530,7 +531,7 @@ pub struct KogitoRuntimeStatusCloudEventsProduces { } /// DeploymentCondition describes the state of a deployment at a certain point. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoRuntimeStatusDeploymentConditions { /// Last time the condition transitioned from one status to another. #[serde(default, skip_serializing_if = "Option::is_none", rename = "lastTransitionTime")] diff --git a/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitosupportingservices.rs b/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitosupportingservices.rs index ac212faa8..02c4072c8 100644 --- a/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitosupportingservices.rs +++ b/kube-custom-resources-rs/src/app_kiegroup_org/v1beta1/kogitosupportingservices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitosupportingservices.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kiegroup/kogito-operator/app.kiegroup.org/v1beta1/kogitosupportingservices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -76,7 +76,7 @@ pub struct KogitoSupportingServiceSpec { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -89,7 +89,7 @@ pub struct KogitoSupportingServiceEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -106,7 +106,7 @@ pub struct KogitoSupportingServiceEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -119,7 +119,7 @@ pub struct KogitoSupportingServiceEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -130,7 +130,7 @@ pub struct KogitoSupportingServiceEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -143,7 +143,7 @@ pub struct KogitoSupportingServiceEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -156,7 +156,7 @@ pub struct KogitoSupportingServiceEnvValueFromSecretKeyRef { } /// Create Service monitor instance to connect with Monitoring service -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceMonitoring { /// HTTP path to scrape for metrics. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -167,7 +167,7 @@ pub struct KogitoSupportingServiceMonitoring { } /// Configure liveness, readiness and startup probes for containers -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceProbes { /// LivenessProbe describes how the Kogito container liveness probe should work #[serde(default, skip_serializing_if = "Option::is_none", rename = "livenessProbe")] @@ -181,7 +181,7 @@ pub struct KogitoSupportingServiceProbes { } /// LivenessProbe describes how the Kogito container liveness probe should work -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceProbesLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -216,7 +216,7 @@ pub struct KogitoSupportingServiceProbesLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceProbesLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -224,7 +224,7 @@ pub struct KogitoSupportingServiceProbesLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is an alpha field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceProbesLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -235,7 +235,7 @@ pub struct KogitoSupportingServiceProbesLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceProbesLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -254,7 +254,7 @@ pub struct KogitoSupportingServiceProbesLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceProbesLivenessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -263,7 +263,7 @@ pub struct KogitoSupportingServiceProbesLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceProbesLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -273,7 +273,7 @@ pub struct KogitoSupportingServiceProbesLivenessProbeTcpSocket { } /// ReadinessProbe describes how the Kogito container readiness probe should work -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceProbesReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -308,7 +308,7 @@ pub struct KogitoSupportingServiceProbesReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceProbesReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -316,7 +316,7 @@ pub struct KogitoSupportingServiceProbesReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is an alpha field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceProbesReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -327,7 +327,7 @@ pub struct KogitoSupportingServiceProbesReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceProbesReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -346,7 +346,7 @@ pub struct KogitoSupportingServiceProbesReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceProbesReadinessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -355,7 +355,7 @@ pub struct KogitoSupportingServiceProbesReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceProbesReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -365,7 +365,7 @@ pub struct KogitoSupportingServiceProbesReadinessProbeTcpSocket { } /// StartupProbe describes how the Kogito container startup probe should work -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceProbesStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -400,7 +400,7 @@ pub struct KogitoSupportingServiceProbesStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceProbesStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -408,7 +408,7 @@ pub struct KogitoSupportingServiceProbesStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. This is an alpha field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceProbesStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -419,7 +419,7 @@ pub struct KogitoSupportingServiceProbesStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceProbesStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -438,7 +438,7 @@ pub struct KogitoSupportingServiceProbesStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceProbesStartupProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -447,7 +447,7 @@ pub struct KogitoSupportingServiceProbesStartupProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceProbesStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -457,7 +457,7 @@ pub struct KogitoSupportingServiceProbesStartupProbeTcpSocket { } /// Defined compute resource requirements for the deployed service. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -482,7 +482,7 @@ pub enum KogitoSupportingServiceServiceType { } /// KogitoSupportingServiceStatus defines the observed state of KogitoSupportingService. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceStatus { /// Describes the CloudEvents that this instance can consume or produce #[serde(default, skip_serializing_if = "Option::is_none", rename = "cloudEvents")] @@ -504,7 +504,7 @@ pub struct KogitoSupportingServiceStatus { } /// Describes the CloudEvents that this instance can consume or produce -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceStatusCloudEvents { #[serde(default, skip_serializing_if = "Option::is_none")] pub consumes: Option>, @@ -513,7 +513,7 @@ pub struct KogitoSupportingServiceStatusCloudEvents { } /// KogitoCloudEventInfo describes the CloudEvent information based on the specification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceStatusCloudEventsConsumes { #[serde(default, skip_serializing_if = "Option::is_none")] pub source: Option, @@ -522,7 +522,7 @@ pub struct KogitoSupportingServiceStatusCloudEventsConsumes { } /// KogitoCloudEventInfo describes the CloudEvent information based on the specification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceStatusCloudEventsProduces { #[serde(default, skip_serializing_if = "Option::is_none")] pub source: Option, @@ -531,7 +531,7 @@ pub struct KogitoSupportingServiceStatusCloudEventsProduces { } /// DeploymentCondition describes the state of a deployment at a certain point. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KogitoSupportingServiceStatusDeploymentConditions { /// Last time the condition transitioned from one status to another. #[serde(default, skip_serializing_if = "Option::is_none", rename = "lastTransitionTime")] diff --git a/kube-custom-resources-rs/src/app_lightbend_com/v1alpha1/akkaclusters.rs b/kube-custom-resources-rs/src/app_lightbend_com/v1alpha1/akkaclusters.rs index 44e3529b8..6ff6b5149 100644 --- a/kube-custom-resources-rs/src/app_lightbend_com/v1alpha1/akkaclusters.rs +++ b/kube-custom-resources-rs/src/app_lightbend_com/v1alpha1/akkaclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/lightbend/akka-cluster-operator/app.lightbend.com/v1alpha1/akkaclusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/lightbend/akka-cluster-operator/app.lightbend.com/v1alpha1/akkaclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/app_redislabs_com/v1/redisenterpriseclusters.rs b/kube-custom-resources-rs/src/app_redislabs_com/v1/redisenterpriseclusters.rs index 387083f92..a96b87a3a 100644 --- a/kube-custom-resources-rs/src/app_redislabs_com/v1/redisenterpriseclusters.rs +++ b/kube-custom-resources-rs/src/app_redislabs_com/v1/redisenterpriseclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/RedisLabs/redis-enterprise-k8s-docs/app.redislabs.com/v1/redisenterpriseclusters.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/RedisLabs/redis-enterprise-k8s-docs/app.redislabs.com/v1/redisenterpriseclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// RedisEnterpriseClusterSpec defines the desired state of RedisEnterpriseCluster -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "app.redislabs.com", version = "v1", kind = "RedisEnterpriseCluster", plural = "redisenterpriseclusters")] #[kube(namespaced)] #[kube(status = "RedisEnterpriseClusterStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct RedisEnterpriseClusterSpec { /// Specification for ActiveActive setup. At most one of ingressOrRouteSpec or activeActive fields can be set at the same time. @@ -218,7 +219,7 @@ pub enum RedisEnterpriseClusterActiveActiveMethod { } /// Specification for Bootstrapper container image -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterBootstrapperImageSpec { /// The digest hash of the container image to pull. When specified, the container image is pulled according to the digest hash instead of the image tag. The versionTag field must also be specified with the image tag matching this digest hash. Note: This field is only supported for OLM deployments. #[serde(default, skip_serializing_if = "Option::is_none", rename = "digestHash")] @@ -235,7 +236,7 @@ pub struct RedisEnterpriseClusterBootstrapperImageSpec { } /// Compute resource requirements for bootstrapper containers -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterBootstrapperResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -247,13 +248,13 @@ pub struct RedisEnterpriseClusterBootstrapperResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterBootstrapperResourcesClaims { pub name: String, } /// RS Cluster Certificates. Used to modify the certificates used by the cluster. See the "RSClusterCertificates" struct described above to see the supported certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterCertificates { /// Secret name to use for cluster's API certificate. If left blank, a cluster-provided certificate will be used. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiCertificateSecretName")] @@ -285,7 +286,7 @@ pub enum RedisEnterpriseClusterClusterCredentialSecretType { } /// Container timezone configuration. While the default timezone on all containers is UTC, this setting can be used to set the timezone on services rigger/bootstrapper/RS containers. You can either propagate the hosts timezone to RS pods or set it manually via timezoneName. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterContainerTimezone { /// Identifies that container timezone should be in sync with the host, this option mounts a hostPath volume onto RS pods that could be restricted in some systems. #[serde(default, skip_serializing_if = "Option::is_none", rename = "propagateHost")] @@ -296,11 +297,11 @@ pub struct RedisEnterpriseClusterContainerTimezone { } /// Identifies that container timezone should be in sync with the host, this option mounts a hostPath volume onto RS pods that could be restricted in some systems. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterContainerTimezonePropagateHost { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterExtraEnvVars { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -309,7 +310,7 @@ pub struct RedisEnterpriseClusterExtraEnvVars { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterExtraEnvVarsValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -321,7 +322,7 @@ pub struct RedisEnterpriseClusterExtraEnvVarsValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterExtraEnvVarsValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -330,7 +331,7 @@ pub struct RedisEnterpriseClusterExtraEnvVarsValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterExtraEnvVarsValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -338,7 +339,7 @@ pub struct RedisEnterpriseClusterExtraEnvVarsValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterExtraEnvVarsValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -347,7 +348,7 @@ pub struct RedisEnterpriseClusterExtraEnvVarsValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterExtraEnvVarsValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -357,7 +358,7 @@ pub struct RedisEnterpriseClusterExtraEnvVarsValueFromSecretKeyRef { } /// HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterHostAliases { /// Hostnames for the above IP address. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -425,7 +426,7 @@ pub struct RedisEnterpriseClusterLdap { } /// Configuration of authentication queries, mapping between the username, provided to the cluster for authentication, and the LDAP Distinguished Name. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterLdapAuthenticationQuery { /// Configuration for a search query. Mutually exclusive with the 'template' field. The substring '%u' in the query filter will be replaced with the username. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -455,7 +456,7 @@ pub enum RedisEnterpriseClusterLdapAuthenticationQueryQueryScope { } /// Configuration of authorization queries, mapping between a user's Distinguished Name and its group memberships. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterLdapAuthorizationQuery { /// Configuration for an attribute query. Mutually exclusive with the 'query' field. Holds the name of an attribute of the LDAP user entity that contains a list of the groups that the user belongs to, e.g., 'memberOf'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -496,7 +497,7 @@ pub enum RedisEnterpriseClusterLdapProtocol { } /// Address of an LDAP server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterLdapServers { /// Host name of the LDAP server pub host: String, @@ -506,7 +507,7 @@ pub struct RedisEnterpriseClusterLdapServers { } /// An API object that represents the cluster's OCSP configuration. To enable OCSP, the cluster's proxy certificate should contain the OCSP responder URL. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterOcspConfiguration { /// Whether to enable/disable OCSP mechanism for the cluster. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ocspFunctionality")] @@ -526,7 +527,7 @@ pub struct RedisEnterpriseClusterOcspConfiguration { } /// Specification for Redis Enterprise Cluster persistence -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPersistentSpec { /// Whether to enable PersistentVolumes resize. Disabled by default. Read the instruction in pvc_expansion readme carefully before using this feature. #[serde(default, skip_serializing_if = "Option::is_none", rename = "enablePersistentVolumeResize")] @@ -543,7 +544,7 @@ pub struct RedisEnterpriseClusterPersistentSpec { } /// Override for the default anti-affinity rules of the Redis Enterprise pods. More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#an-example-of-a-pod-that-uses-pod-affinity -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -551,14 +552,14 @@ pub struct RedisEnterpriseClusterPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RedisEnterpriseClusterPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -570,7 +571,7 @@ pub struct RedisEnterpriseClusterPodAntiAffinityPreferredDuringSchedulingIgnored pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -578,7 +579,7 @@ pub struct RedisEnterpriseClusterPodAntiAffinityPreferredDuringSchedulingIgnored pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -586,7 +587,7 @@ pub struct RedisEnterpriseClusterPodAntiAffinityPreferredDuringSchedulingIgnored pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -594,7 +595,7 @@ pub struct RedisEnterpriseClusterPodAntiAffinityPreferredDuringSchedulingIgnored pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -602,7 +603,7 @@ pub struct RedisEnterpriseClusterPodAntiAffinityPreferredDuringSchedulingIgnored pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -614,7 +615,7 @@ pub struct RedisEnterpriseClusterPodAntiAffinityRequiredDuringSchedulingIgnoredD pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -622,7 +623,7 @@ pub struct RedisEnterpriseClusterPodAntiAffinityRequiredDuringSchedulingIgnoredD pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -630,7 +631,7 @@ pub struct RedisEnterpriseClusterPodAntiAffinityRequiredDuringSchedulingIgnoredD pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -638,7 +639,7 @@ pub struct RedisEnterpriseClusterPodAntiAffinityRequiredDuringSchedulingIgnoredD pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -647,7 +648,7 @@ pub struct RedisEnterpriseClusterPodAntiAffinityRequiredDuringSchedulingIgnoredD } /// Mitigation setting for STS pods stuck in "ContainerCreating" -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodStartingPolicy { /// Whether to detect and attempt to mitigate pod startup issues pub enabled: bool, @@ -656,7 +657,7 @@ pub struct RedisEnterpriseClusterPodStartingPolicy { pub starting_threshold_seconds: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -670,7 +671,7 @@ pub struct RedisEnterpriseClusterPodTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPullSecrets { /// Secret name #[serde(default, skip_serializing_if = "Option::is_none")] @@ -678,7 +679,7 @@ pub struct RedisEnterpriseClusterPullSecrets { } /// ADVANCED USAGE USE AT YOUR OWN RISK - specify pod attributes that are required for the statefulset - Redis Enterprise pods. Pod attributes managed by the operator might override these settings. Also make sure the attributes are supported by the K8s version running on the cluster - the operator does not validate that. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] pub active_deadline_seconds: Option, @@ -758,7 +759,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributes { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -768,7 +769,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -776,13 +777,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -790,7 +791,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -798,7 +799,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -806,13 +807,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -820,7 +821,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -828,7 +829,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -836,7 +837,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -844,14 +845,14 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -863,7 +864,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -871,7 +872,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -879,7 +880,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -887,7 +888,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -895,7 +896,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -907,7 +908,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -915,7 +916,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -923,7 +924,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -931,7 +932,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -939,7 +940,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -947,14 +948,14 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -966,7 +967,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -974,7 +975,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -982,7 +983,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -990,7 +991,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -998,7 +999,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1010,7 +1011,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1018,7 +1019,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1026,7 +1027,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1034,7 +1035,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1042,7 +1043,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesDnsConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, @@ -1052,7 +1053,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesDnsCo pub searches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesDnsConfigOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1060,7 +1061,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesDnsCo pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -1109,7 +1110,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1118,7 +1119,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -1130,7 +1131,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1139,7 +1140,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1147,7 +1148,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1156,7 +1157,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1165,7 +1166,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -1175,7 +1176,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1183,7 +1184,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1191,7 +1192,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -1199,7 +1200,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1209,13 +1210,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1228,20 +1229,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1251,13 +1252,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1270,20 +1271,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1307,20 +1308,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1333,20 +1334,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -1360,7 +1361,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1384,20 +1385,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1410,20 +1411,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -1433,12 +1434,12 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1464,7 +1465,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1472,7 +1473,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1484,7 +1485,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1492,7 +1493,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1504,7 +1505,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1528,20 +1529,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1554,27 +1555,27 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1589,7 +1590,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -1597,13 +1598,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesHostA pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -1650,7 +1651,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1659,7 +1660,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -1671,7 +1672,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1680,7 +1681,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1688,7 +1689,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1697,7 +1698,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1706,7 +1707,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -1716,7 +1717,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1724,7 +1725,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1732,7 +1733,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -1740,7 +1741,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1750,13 +1751,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1769,20 +1770,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1792,13 +1793,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1811,20 +1812,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1848,20 +1849,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1874,20 +1875,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -1901,7 +1902,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1925,20 +1926,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1951,20 +1952,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -1974,12 +1975,12 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -2005,7 +2006,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -2013,7 +2014,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2025,7 +2026,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2033,7 +2034,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2045,7 +2046,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2069,20 +2070,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2095,27 +2096,27 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -2130,25 +2131,25 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesOs { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesReadinessGates { #[serde(rename = "conditionType")] pub condition_type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesResourceClaims { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesResourceClaimsSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceClaimName")] pub resource_claim_name: Option, @@ -2156,12 +2157,12 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesResou pub resource_claim_template_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesSchedulingGates { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -2185,7 +2186,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesSecur pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2197,7 +2198,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesSecur pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2205,13 +2206,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesSecur pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2223,7 +2224,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesSecur pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -2237,7 +2238,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesToler pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -2257,7 +2258,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesTopol pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2265,7 +2266,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesTopol pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2273,7 +2274,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesTopol pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -2336,7 +2337,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2348,7 +2349,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -2364,7 +2365,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -2374,7 +2375,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2389,13 +2390,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2407,13 +2408,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2425,7 +2426,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2433,7 +2434,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2446,13 +2447,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2460,7 +2461,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -2471,7 +2472,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2479,7 +2480,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2488,7 +2489,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -2496,24 +2497,24 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateMetadata { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -2533,7 +2534,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -2541,7 +2542,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -2551,7 +2552,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2561,12 +2562,12 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2574,7 +2575,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2582,7 +2583,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2596,7 +2597,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2609,13 +2610,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -2623,7 +2624,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2635,7 +2636,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -2644,7 +2645,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -2652,14 +2653,14 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -2683,13 +2684,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -2697,7 +2698,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -2705,7 +2706,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2713,7 +2714,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2723,7 +2724,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2731,7 +2732,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -2743,7 +2744,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -2753,7 +2754,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2761,13 +2762,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -2778,7 +2779,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2786,7 +2787,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2795,7 +2796,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -2805,7 +2806,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2813,7 +2814,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -2822,7 +2823,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -2836,7 +2837,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2854,13 +2855,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2882,13 +2883,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2900,7 +2901,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2908,7 +2909,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2922,13 +2923,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2948,7 +2949,7 @@ pub enum RedisEnterpriseClusterRedisEnterpriseIpFamily { } /// Specification for Redis Enterprise container image -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseImageSpec { /// The digest hash of the container image to pull. When specified, the container image is pulled according to the digest hash instead of the image tag. The versionTag field must also be specified with the image tag matching this digest hash. Note: This field is only supported for OLM deployments. #[serde(default, skip_serializing_if = "Option::is_none", rename = "digestHash")] @@ -2965,7 +2966,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseImageSpec { } /// Compute resource requirements for Redis Enterprise containers -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseNodeResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2977,13 +2978,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseNodeResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseNodeResourcesClaims { pub name: String, } /// RS Cluster optional services settings -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseServicesConfiguration { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cmServer")] pub cm_server: Option, @@ -3107,7 +3108,7 @@ pub enum RedisEnterpriseClusterRedisEnterpriseServicesConfigurationStatsArchiver } /// Specification for Services Rigger container image -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseServicesRiggerImageSpec { /// The digest hash of the container image to pull. When specified, the container image is pulled according to the digest hash instead of the image tag. The versionTag field must also be specified with the image tag matching this digest hash. Note: This field is only supported for OLM deployments. #[serde(default, skip_serializing_if = "Option::is_none", rename = "digestHash")] @@ -3124,7 +3125,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseServicesRiggerImageSpec { } /// Compute resource requirements for Services Rigger pod -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseServicesRiggerResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -3136,12 +3137,12 @@ pub struct RedisEnterpriseClusterRedisEnterpriseServicesRiggerResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseServicesRiggerResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -3157,7 +3158,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseVolumeMounts { } /// Stores configurations specific to redis on flash. If provided, the cluster will be capable of creating redis on flash databases. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisOnFlashSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "bigStoreDriver")] pub big_store_driver: Option, @@ -3196,7 +3197,7 @@ pub enum RedisEnterpriseClusterRedisUpgradePolicy { } /// Customization options for operator-managed service resources created for Redis Enterprise clusters and databases -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServices { /// Customization options for the REC API service. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiService")] @@ -3207,7 +3208,7 @@ pub struct RedisEnterpriseClusterServices { } /// Customization options for the REC API service. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesApiService { /// Type of service to create for the REC API service. Defaults to ClusterIP service, if not specified otherwise. #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] @@ -3224,7 +3225,7 @@ pub enum RedisEnterpriseClusterServicesApiServiceType { } /// Specification for service rigger -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpec { /// Service types for access to databases. should be a comma separated list. The possible values are cluster_ip, headless and load_balancer. #[serde(default, skip_serializing_if = "Option::is_none", rename = "databaseServiceType")] @@ -3243,7 +3244,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpec { } /// EnvVar represents an environment variable present in a Container. More info: https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecExtraEnvVars { /// Name of the environment variable. pub name: String, @@ -3255,7 +3256,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecExtraEnvVars { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecExtraEnvVarsValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -3272,7 +3273,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecExtraEnvVarsValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecExtraEnvVarsValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -3285,7 +3286,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecExtraEnvVarsValueFromConfigMa } /// Selects a field of the pod -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecExtraEnvVarsValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3296,7 +3297,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecExtraEnvVarsValueFromFieldRef } /// Selects a resource of the container: only resources limits and requests are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecExtraEnvVarsValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -3309,7 +3310,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecExtraEnvVarsValueFromResource } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecExtraEnvVarsValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3331,7 +3332,7 @@ pub enum RedisEnterpriseClusterServicesRiggerSpecServiceNaming { } /// ADVANCED USAGE USE AT YOUR OWN RISK - specify pod attributes that are required for the rigger deployment pod. Pod attributes managed by the operator might override these settings (Containers, serviceAccountName, podTolerations, ImagePullSecrets, nodeSelector, PriorityClassName, PodSecurityContext). Also make sure the attributes are supported by the K8s version running on the cluster - the operator does not validate that. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] pub active_deadline_seconds: Option, @@ -3411,7 +3412,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -3421,7 +3422,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3429,13 +3430,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3443,7 +3444,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -3451,7 +3452,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -3459,13 +3460,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3473,7 +3474,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -3481,7 +3482,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -3489,7 +3490,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3497,14 +3498,14 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3516,7 +3517,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3524,7 +3525,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3532,7 +3533,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3540,7 +3541,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3548,7 +3549,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3560,7 +3561,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3568,7 +3569,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3576,7 +3577,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3584,7 +3585,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3592,7 +3593,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3600,14 +3601,14 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3619,7 +3620,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3627,7 +3628,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3635,7 +3636,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3643,7 +3644,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3651,7 +3652,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3663,7 +3664,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3671,7 +3672,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3679,7 +3680,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3687,7 +3688,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3695,7 +3696,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesDnsConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, @@ -3705,7 +3706,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub searches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesDnsConfigOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3713,7 +3714,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -3762,7 +3763,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3771,7 +3772,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -3783,7 +3784,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3792,7 +3793,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3800,7 +3801,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3809,7 +3810,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3818,7 +3819,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -3828,7 +3829,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3836,7 +3837,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3844,7 +3845,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -3852,7 +3853,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3862,13 +3863,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3881,20 +3882,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3904,13 +3905,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3923,20 +3924,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3960,20 +3961,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3986,20 +3987,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -4013,7 +4014,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4037,20 +4038,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4063,20 +4064,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -4086,12 +4087,12 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -4117,7 +4118,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -4125,7 +4126,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -4137,7 +4138,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -4145,7 +4146,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4157,7 +4158,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4181,20 +4182,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4207,27 +4208,27 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -4242,7 +4243,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -4250,13 +4251,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -4303,7 +4304,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4312,7 +4313,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -4324,7 +4325,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4333,7 +4334,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4341,7 +4342,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4350,7 +4351,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4359,7 +4360,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -4369,7 +4370,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4377,7 +4378,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4385,7 +4386,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -4393,7 +4394,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4403,13 +4404,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4422,20 +4423,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4445,13 +4446,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4464,20 +4465,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4501,20 +4502,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4527,20 +4528,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -4554,7 +4555,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4578,20 +4579,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4604,20 +4605,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -4627,12 +4628,12 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -4658,7 +4659,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -4666,7 +4667,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -4678,7 +4679,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -4686,7 +4687,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4698,7 +4699,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4722,20 +4723,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4748,27 +4749,27 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -4783,25 +4784,25 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesOs { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesReadinessGates { #[serde(rename = "conditionType")] pub condition_type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesResourceClaims { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesResourceClaimsSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceClaimName")] pub resource_claim_name: Option, @@ -4809,12 +4810,12 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub resource_claim_template_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesSchedulingGates { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -4838,7 +4839,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -4850,7 +4851,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -4858,13 +4859,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4876,7 +4877,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -4890,7 +4891,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -4910,7 +4911,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4918,7 +4919,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -4926,7 +4927,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -4989,7 +4990,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5001,7 +5002,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -5017,7 +5018,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -5027,7 +5028,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5042,13 +5043,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5060,13 +5061,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5078,7 +5079,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5086,7 +5087,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5099,13 +5100,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5113,7 +5114,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -5124,7 +5125,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -5132,7 +5133,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -5141,7 +5142,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -5149,24 +5150,24 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateMetadata { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -5186,7 +5187,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -5194,7 +5195,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -5204,7 +5205,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -5214,12 +5215,12 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5227,7 +5228,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5235,7 +5236,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5249,7 +5250,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5262,13 +5263,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -5276,7 +5277,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5288,7 +5289,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -5297,7 +5298,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -5305,14 +5306,14 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -5336,13 +5337,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -5350,7 +5351,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -5358,7 +5359,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5366,7 +5367,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5376,7 +5377,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5384,7 +5385,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -5396,7 +5397,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -5406,7 +5407,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5414,13 +5415,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -5431,7 +5432,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -5439,7 +5440,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -5448,7 +5449,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -5458,7 +5459,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5466,7 +5467,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -5475,7 +5476,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -5489,7 +5490,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5507,13 +5508,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5535,13 +5536,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5553,7 +5554,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5561,7 +5562,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5575,13 +5576,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5593,7 +5594,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpec { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -5640,7 +5641,7 @@ pub struct RedisEnterpriseClusterSideContainersSpec { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5649,7 +5650,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -5661,7 +5662,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5670,7 +5671,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -5678,7 +5679,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -5687,7 +5688,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecEnvValueFromResourceFieldRef pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5696,7 +5697,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -5706,7 +5707,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -5714,7 +5715,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -5722,7 +5723,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -5730,7 +5731,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5740,13 +5741,13 @@ pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5759,20 +5760,20 @@ pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5782,13 +5783,13 @@ pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5801,20 +5802,20 @@ pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5838,20 +5839,20 @@ pub struct RedisEnterpriseClusterSideContainersSpecLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5864,20 +5865,20 @@ pub struct RedisEnterpriseClusterSideContainersSpecLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -5891,7 +5892,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5915,20 +5916,20 @@ pub struct RedisEnterpriseClusterSideContainersSpecReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5941,20 +5942,20 @@ pub struct RedisEnterpriseClusterSideContainersSpecReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -5964,12 +5965,12 @@ pub struct RedisEnterpriseClusterSideContainersSpecResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -5995,7 +5996,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -6003,7 +6004,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -6015,7 +6016,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecSecurityContextSeLinuxOptions pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -6023,7 +6024,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecSecurityContextSeccompProfile pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -6035,7 +6036,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecSecurityContextWindowsOptions pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -6059,20 +6060,20 @@ pub struct RedisEnterpriseClusterSideContainersSpecStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -6085,27 +6086,27 @@ pub struct RedisEnterpriseClusterSideContainersSpecStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -6121,7 +6122,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecVolumeMounts { } /// Slave high availability mechanism configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSlaveHa { /// Time in seconds between when a node fails, and when slave high availability mechanism starts relocating shards. If set to 0, will not affect cluster configuration. #[serde(rename = "slaveHAGracePeriod")] @@ -6139,7 +6140,7 @@ pub enum RedisEnterpriseClusterUiServiceType { } /// Specification for upgrades of Redis Enterprise -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterUpgradeSpec { /// Whether to upgrade Redis Enterprise automatically when operator is upgraded #[serde(rename = "autoUpgradeRedisEnterprise")] @@ -6147,7 +6148,7 @@ pub struct RedisEnterpriseClusterUpgradeSpec { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -6208,7 +6209,7 @@ pub struct RedisEnterpriseClusterVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6220,7 +6221,7 @@ pub struct RedisEnterpriseClusterVolumesAwsElasticBlockStore { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -6236,7 +6237,7 @@ pub struct RedisEnterpriseClusterVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -6246,7 +6247,7 @@ pub struct RedisEnterpriseClusterVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6261,13 +6262,13 @@ pub struct RedisEnterpriseClusterVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6279,13 +6280,13 @@ pub struct RedisEnterpriseClusterVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -6297,7 +6298,7 @@ pub struct RedisEnterpriseClusterVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6305,7 +6306,7 @@ pub struct RedisEnterpriseClusterVolumesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6318,13 +6319,13 @@ pub struct RedisEnterpriseClusterVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -6332,7 +6333,7 @@ pub struct RedisEnterpriseClusterVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -6343,7 +6344,7 @@ pub struct RedisEnterpriseClusterVolumesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -6351,7 +6352,7 @@ pub struct RedisEnterpriseClusterVolumesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -6360,7 +6361,7 @@ pub struct RedisEnterpriseClusterVolumesDownwardApiItemsResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -6368,7 +6369,7 @@ pub struct RedisEnterpriseClusterVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6382,7 +6383,7 @@ pub struct RedisEnterpriseClusterVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6395,13 +6396,13 @@ pub struct RedisEnterpriseClusterVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -6409,7 +6410,7 @@ pub struct RedisEnterpriseClusterVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6421,7 +6422,7 @@ pub struct RedisEnterpriseClusterVolumesGcePersistentDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -6430,7 +6431,7 @@ pub struct RedisEnterpriseClusterVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -6438,14 +6439,14 @@ pub struct RedisEnterpriseClusterVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -6469,13 +6470,13 @@ pub struct RedisEnterpriseClusterVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -6483,7 +6484,7 @@ pub struct RedisEnterpriseClusterVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -6491,7 +6492,7 @@ pub struct RedisEnterpriseClusterVolumesPersistentVolumeClaim { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6499,7 +6500,7 @@ pub struct RedisEnterpriseClusterVolumesPhotonPersistentDisk { pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6509,14 +6510,14 @@ pub struct RedisEnterpriseClusterVolumesPortworxVolume { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, pub sources: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -6528,7 +6529,7 @@ pub struct RedisEnterpriseClusterVolumesProjectedSources { pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -6538,7 +6539,7 @@ pub struct RedisEnterpriseClusterVolumesProjectedSourcesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6546,13 +6547,13 @@ pub struct RedisEnterpriseClusterVolumesProjectedSourcesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -6563,7 +6564,7 @@ pub struct RedisEnterpriseClusterVolumesProjectedSourcesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -6571,7 +6572,7 @@ pub struct RedisEnterpriseClusterVolumesProjectedSourcesDownwardApiItemsFieldRef pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -6580,7 +6581,7 @@ pub struct RedisEnterpriseClusterVolumesProjectedSourcesDownwardApiItemsResource pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -6590,7 +6591,7 @@ pub struct RedisEnterpriseClusterVolumesProjectedSourcesSecret { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6598,7 +6599,7 @@ pub struct RedisEnterpriseClusterVolumesProjectedSourcesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -6607,7 +6608,7 @@ pub struct RedisEnterpriseClusterVolumesProjectedSourcesServiceAccountToken { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -6621,7 +6622,7 @@ pub struct RedisEnterpriseClusterVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6639,13 +6640,13 @@ pub struct RedisEnterpriseClusterVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6667,13 +6668,13 @@ pub struct RedisEnterpriseClusterVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -6685,7 +6686,7 @@ pub struct RedisEnterpriseClusterVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6693,7 +6694,7 @@ pub struct RedisEnterpriseClusterVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6707,13 +6708,13 @@ pub struct RedisEnterpriseClusterVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6725,7 +6726,7 @@ pub struct RedisEnterpriseClusterVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterStatus { /// Versions of open source databases bundled by Redis Enterprise Software - please note that in order to use a specific version it should be supported by the ‘upgradePolicy’ - ‘major’ or ‘latest’ according to the desired version (major/minor) #[serde(default, skip_serializing_if = "Option::is_none", rename = "bundledDatabaseVersions")] @@ -6754,7 +6755,7 @@ pub struct RedisEnterpriseClusterStatus { pub state: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterStatusBundledDatabaseVersions { #[serde(rename = "dbType")] pub db_type: String, @@ -6763,7 +6764,7 @@ pub struct RedisEnterpriseClusterStatusBundledDatabaseVersions { pub version: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterStatusLicenseStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activationDate")] pub activation_date: Option, @@ -6776,14 +6777,14 @@ pub struct RedisEnterpriseClusterStatusLicenseStatus { } /// Indicates cluster APIs that are being managed by the operator. This only applies to cluster APIs which are optionally-managed by the operator, such as cluster LDAP configuration. Most other APIs are automatically managed by the operator, and are not listed here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterStatusManagedApIs { /// Indicate whether cluster LDAP configuration is managed by the operator. When this is enabled, the operator will reconcile the cluster LDAP configuration according to the '.spec.ldap' field in the RedisEnterpriseCluster resource. #[serde(default, skip_serializing_if = "Option::is_none")] pub ldap: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterStatusModules { #[serde(default, skip_serializing_if = "Option::is_none", rename = "displayName")] pub display_name: Option, @@ -6794,7 +6795,7 @@ pub struct RedisEnterpriseClusterStatusModules { } /// An API object that represents the cluster's OCSP status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterStatusOcspStatus { /// Indicates the proxy certificate status - GOOD/REVOKED/UNKNOWN. #[serde(default, skip_serializing_if = "Option::is_none", rename = "certStatus")] @@ -6817,7 +6818,7 @@ pub struct RedisEnterpriseClusterStatusOcspStatus { } /// The status of the Persistent Volume Claims that are used for Redis Enterprise Cluster persistence. The status will correspond to the status of one or more of the PVCs (failed/resizing if one of them is in resize or failed to resize) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterStatusPersistenceStatus { /// The current status of the PVCs #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterpriseactiveactivedatabases.rs b/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterpriseactiveactivedatabases.rs index d63ae0f8c..955707fe6 100644 --- a/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterpriseactiveactivedatabases.rs +++ b/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterpriseactiveactivedatabases.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/RedisLabs/redis-enterprise-k8s-docs/app.redislabs.com/v1alpha1/redisenterpriseactiveactivedatabases.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/RedisLabs/redis-enterprise-k8s-docs/app.redislabs.com/v1alpha1/redisenterpriseactiveactivedatabases.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterpriseclusters.rs b/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterpriseclusters.rs index 12ce2ec8a..91d3ca83d 100644 --- a/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterpriseclusters.rs +++ b/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterpriseclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/RedisLabs/redis-enterprise-k8s-docs/app.redislabs.com/v1alpha1/redisenterpriseclusters.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/RedisLabs/redis-enterprise-k8s-docs/app.redislabs.com/v1alpha1/redisenterpriseclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "app.redislabs.com", version = "v1alpha1", kind = "RedisEnterpriseCluster", plural = "redisenterpriseclusters")] #[kube(namespaced)] #[kube(status = "RedisEnterpriseClusterStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct RedisEnterpriseClusterSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeActive")] @@ -159,7 +160,7 @@ pub enum RedisEnterpriseClusterActiveActiveMethod { Istio, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterBootstrapperImageSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "digestHash")] pub digest_hash: Option, @@ -171,7 +172,7 @@ pub struct RedisEnterpriseClusterBootstrapperImageSpec { pub version_tag: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterBootstrapperResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -181,12 +182,12 @@ pub struct RedisEnterpriseClusterBootstrapperResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterBootstrapperResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterCertificates { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiCertificateSecretName")] pub api_certificate_secret_name: Option, @@ -210,7 +211,7 @@ pub enum RedisEnterpriseClusterClusterCredentialSecretType { Kubernetes, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterContainerTimezone { #[serde(default, skip_serializing_if = "Option::is_none", rename = "propagateHost")] pub propagate_host: Option, @@ -218,11 +219,11 @@ pub struct RedisEnterpriseClusterContainerTimezone { pub timezone_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterContainerTimezonePropagateHost { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterExtraEnvVars { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -231,7 +232,7 @@ pub struct RedisEnterpriseClusterExtraEnvVars { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterExtraEnvVarsValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -243,7 +244,7 @@ pub struct RedisEnterpriseClusterExtraEnvVarsValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterExtraEnvVarsValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -252,7 +253,7 @@ pub struct RedisEnterpriseClusterExtraEnvVarsValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterExtraEnvVarsValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -260,7 +261,7 @@ pub struct RedisEnterpriseClusterExtraEnvVarsValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterExtraEnvVarsValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -269,7 +270,7 @@ pub struct RedisEnterpriseClusterExtraEnvVarsValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterExtraEnvVarsValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -278,7 +279,7 @@ pub struct RedisEnterpriseClusterExtraEnvVarsValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -327,7 +328,7 @@ pub struct RedisEnterpriseClusterLdap { pub servers: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterLdapAuthenticationQuery { #[serde(default, skip_serializing_if = "Option::is_none")] pub query: Option, @@ -349,7 +350,7 @@ pub enum RedisEnterpriseClusterLdapAuthenticationQueryQueryScope { WholeSubtree, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterLdapAuthorizationQuery { #[serde(default, skip_serializing_if = "Option::is_none")] pub attribute: Option, @@ -381,14 +382,14 @@ pub enum RedisEnterpriseClusterLdapProtocol { Starttls, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterLdapServers { pub host: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterOcspConfiguration { #[serde(default, skip_serializing_if = "Option::is_none", rename = "ocspFunctionality")] pub ocsp_functionality: Option, @@ -402,7 +403,7 @@ pub struct RedisEnterpriseClusterOcspConfiguration { pub response_timeout: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPersistentSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "enablePersistentVolumeResize")] pub enable_persistent_volume_resize: Option, @@ -414,7 +415,7 @@ pub struct RedisEnterpriseClusterPersistentSpec { pub volume_size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -422,14 +423,14 @@ pub struct RedisEnterpriseClusterPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RedisEnterpriseClusterPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -441,7 +442,7 @@ pub struct RedisEnterpriseClusterPodAntiAffinityPreferredDuringSchedulingIgnored pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -449,7 +450,7 @@ pub struct RedisEnterpriseClusterPodAntiAffinityPreferredDuringSchedulingIgnored pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -457,7 +458,7 @@ pub struct RedisEnterpriseClusterPodAntiAffinityPreferredDuringSchedulingIgnored pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -465,7 +466,7 @@ pub struct RedisEnterpriseClusterPodAntiAffinityPreferredDuringSchedulingIgnored pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -473,7 +474,7 @@ pub struct RedisEnterpriseClusterPodAntiAffinityPreferredDuringSchedulingIgnored pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -485,7 +486,7 @@ pub struct RedisEnterpriseClusterPodAntiAffinityRequiredDuringSchedulingIgnoredD pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -493,7 +494,7 @@ pub struct RedisEnterpriseClusterPodAntiAffinityRequiredDuringSchedulingIgnoredD pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -501,7 +502,7 @@ pub struct RedisEnterpriseClusterPodAntiAffinityRequiredDuringSchedulingIgnoredD pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -509,7 +510,7 @@ pub struct RedisEnterpriseClusterPodAntiAffinityRequiredDuringSchedulingIgnoredD pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -517,14 +518,14 @@ pub struct RedisEnterpriseClusterPodAntiAffinityRequiredDuringSchedulingIgnoredD pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodStartingPolicy { pub enabled: bool, #[serde(rename = "startingThresholdSeconds")] pub starting_threshold_seconds: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPodTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -538,13 +539,13 @@ pub struct RedisEnterpriseClusterPodTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterPullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] pub active_deadline_seconds: Option, @@ -624,7 +625,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributes { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -634,7 +635,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -642,13 +643,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -656,7 +657,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -664,7 +665,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -672,13 +673,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -686,7 +687,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -694,7 +695,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -702,7 +703,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -710,14 +711,14 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -729,7 +730,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -737,7 +738,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -745,7 +746,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -753,7 +754,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -761,7 +762,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -773,7 +774,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -781,7 +782,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -789,7 +790,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -797,7 +798,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -805,7 +806,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -813,14 +814,14 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -832,7 +833,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -840,7 +841,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -848,7 +849,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -856,7 +857,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -864,7 +865,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -876,7 +877,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -884,7 +885,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -892,7 +893,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -900,7 +901,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -908,7 +909,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesDnsConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, @@ -918,7 +919,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesDnsCo pub searches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesDnsConfigOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -926,7 +927,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesDnsCo pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -975,7 +976,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -984,7 +985,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -996,7 +997,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1005,7 +1006,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1013,7 +1014,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1022,7 +1023,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1031,7 +1032,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -1041,7 +1042,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1049,7 +1050,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1057,7 +1058,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -1065,7 +1066,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1075,13 +1076,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1094,20 +1095,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1117,13 +1118,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1136,20 +1137,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1173,20 +1174,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1199,20 +1200,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -1226,7 +1227,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1250,20 +1251,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1276,20 +1277,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -1299,12 +1300,12 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1330,7 +1331,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1338,7 +1339,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1350,7 +1351,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1358,7 +1359,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1370,7 +1371,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1394,20 +1395,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1420,27 +1421,27 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphemeralContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1455,7 +1456,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesEphem pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -1463,13 +1464,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesHostA pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -1516,7 +1517,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1525,7 +1526,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -1537,7 +1538,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1546,7 +1547,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1554,7 +1555,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1563,7 +1564,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1572,7 +1573,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -1582,7 +1583,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1590,7 +1591,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1598,7 +1599,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -1606,7 +1607,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1616,13 +1617,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1635,20 +1636,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1658,13 +1659,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1677,20 +1678,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1714,20 +1715,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1740,20 +1741,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -1767,7 +1768,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1791,20 +1792,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1817,20 +1818,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -1840,12 +1841,12 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1871,7 +1872,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1879,7 +1880,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1891,7 +1892,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1899,7 +1900,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1911,7 +1912,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1935,20 +1936,20 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1961,27 +1962,27 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1996,25 +1997,25 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesInitC pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesOs { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesReadinessGates { #[serde(rename = "conditionType")] pub condition_type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesResourceClaims { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesResourceClaimsSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceClaimName")] pub resource_claim_name: Option, @@ -2022,12 +2023,12 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesResou pub resource_claim_template_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesSchedulingGates { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -2051,7 +2052,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesSecur pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2063,7 +2064,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesSecur pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2071,13 +2072,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesSecur pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2089,7 +2090,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesSecur pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -2103,7 +2104,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesToler pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -2123,7 +2124,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesTopol pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2131,7 +2132,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesTopol pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2139,7 +2140,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesTopol pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -2202,7 +2203,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2214,7 +2215,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -2230,7 +2231,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -2240,7 +2241,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2255,13 +2256,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2273,13 +2274,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2291,7 +2292,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2299,7 +2300,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2312,13 +2313,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2326,7 +2327,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -2337,7 +2338,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2345,7 +2346,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2354,7 +2355,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -2362,24 +2363,24 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateMetadata { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -2399,7 +2400,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -2407,7 +2408,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -2417,7 +2418,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2427,12 +2428,12 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2440,7 +2441,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2448,7 +2449,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2462,7 +2463,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2475,13 +2476,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -2489,7 +2490,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2501,7 +2502,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -2510,7 +2511,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -2518,14 +2519,14 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -2549,13 +2550,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -2563,7 +2564,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -2571,7 +2572,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2579,7 +2580,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2589,7 +2590,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2597,7 +2598,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -2609,7 +2610,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -2619,7 +2620,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2627,13 +2628,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -2644,7 +2645,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2652,7 +2653,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2661,7 +2662,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -2671,7 +2672,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2679,7 +2680,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -2688,7 +2689,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -2702,7 +2703,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2720,13 +2721,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2748,13 +2749,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2766,7 +2767,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2774,7 +2775,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2788,13 +2789,13 @@ pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolum pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseAdditionalPodSpecAttributesVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2812,7 +2813,7 @@ pub enum RedisEnterpriseClusterRedisEnterpriseIpFamily { IPv6, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseImageSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "digestHash")] pub digest_hash: Option, @@ -2824,7 +2825,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseImageSpec { pub version_tag: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseNodeResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2834,12 +2835,12 @@ pub struct RedisEnterpriseClusterRedisEnterpriseNodeResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseNodeResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseServicesConfiguration { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cmServer")] pub cm_server: Option, @@ -2955,7 +2956,7 @@ pub enum RedisEnterpriseClusterRedisEnterpriseServicesConfigurationStatsArchiver Disabled, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseServicesRiggerImageSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "digestHash")] pub digest_hash: Option, @@ -2967,7 +2968,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseServicesRiggerImageSpec { pub version_tag: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseServicesRiggerResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2977,12 +2978,12 @@ pub struct RedisEnterpriseClusterRedisEnterpriseServicesRiggerResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseServicesRiggerResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisEnterpriseVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -2997,7 +2998,7 @@ pub struct RedisEnterpriseClusterRedisEnterpriseVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterRedisOnFlashSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "bigStoreDriver")] pub big_store_driver: Option, @@ -3032,7 +3033,7 @@ pub enum RedisEnterpriseClusterRedisUpgradePolicy { Latest, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServices { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiService")] pub api_service: Option, @@ -3040,7 +3041,7 @@ pub struct RedisEnterpriseClusterServices { pub services_annotations: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesApiService { #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, @@ -3054,7 +3055,7 @@ pub enum RedisEnterpriseClusterServicesApiServiceType { LoadBalancer, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "databaseServiceType")] pub database_service_type: Option, @@ -3070,7 +3071,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpec { pub services_rigger_additional_pod_spec_attributes: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecExtraEnvVars { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3079,7 +3080,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecExtraEnvVars { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecExtraEnvVarsValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -3091,7 +3092,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecExtraEnvVarsValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecExtraEnvVarsValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3100,7 +3101,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecExtraEnvVarsValueFromConfigMa pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecExtraEnvVarsValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3108,7 +3109,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecExtraEnvVarsValueFromFieldRef pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecExtraEnvVarsValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3117,7 +3118,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecExtraEnvVarsValueFromResource pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecExtraEnvVarsValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3134,7 +3135,7 @@ pub enum RedisEnterpriseClusterServicesRiggerSpecServiceNaming { RedisPort, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] pub active_deadline_seconds: Option, @@ -3214,7 +3215,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -3224,7 +3225,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3232,13 +3233,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3246,7 +3247,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -3254,7 +3255,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -3262,13 +3263,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3276,7 +3277,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -3284,7 +3285,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -3292,7 +3293,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3300,14 +3301,14 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3319,7 +3320,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3327,7 +3328,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3335,7 +3336,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3343,7 +3344,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3351,7 +3352,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3363,7 +3364,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3371,7 +3372,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3379,7 +3380,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3387,7 +3388,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3395,7 +3396,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3403,14 +3404,14 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3422,7 +3423,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3430,7 +3431,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3438,7 +3439,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3446,7 +3447,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3454,7 +3455,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3466,7 +3467,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3474,7 +3475,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3482,7 +3483,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3490,7 +3491,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3498,7 +3499,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesDnsConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, @@ -3508,7 +3509,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub searches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesDnsConfigOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3516,7 +3517,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -3565,7 +3566,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3574,7 +3575,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -3586,7 +3587,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3595,7 +3596,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3603,7 +3604,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3612,7 +3613,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3621,7 +3622,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -3631,7 +3632,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3639,7 +3640,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3647,7 +3648,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -3655,7 +3656,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3665,13 +3666,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3684,20 +3685,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3707,13 +3708,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3726,20 +3727,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3763,20 +3764,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3789,20 +3790,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -3816,7 +3817,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3840,20 +3841,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3866,20 +3867,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -3889,12 +3890,12 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -3920,7 +3921,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -3928,7 +3929,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -3940,7 +3941,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -3948,7 +3949,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -3960,7 +3961,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3984,20 +3985,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4010,27 +4011,27 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesEphemeralContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -4045,7 +4046,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -4053,13 +4054,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -4106,7 +4107,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4115,7 +4116,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -4127,7 +4128,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4136,7 +4137,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4144,7 +4145,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4153,7 +4154,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4162,7 +4163,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -4172,7 +4173,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4180,7 +4181,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4188,7 +4189,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -4196,7 +4197,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4206,13 +4207,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4225,20 +4226,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4248,13 +4249,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4267,20 +4268,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4304,20 +4305,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4330,20 +4331,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -4357,7 +4358,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4381,20 +4382,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4407,20 +4408,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -4430,12 +4431,12 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -4461,7 +4462,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -4469,7 +4470,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -4481,7 +4482,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -4489,7 +4490,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4501,7 +4502,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4525,20 +4526,20 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4551,27 +4552,27 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -4586,25 +4587,25 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesOs { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesReadinessGates { #[serde(rename = "conditionType")] pub condition_type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesResourceClaims { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesResourceClaimsSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceClaimName")] pub resource_claim_name: Option, @@ -4612,12 +4613,12 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub resource_claim_template_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesSchedulingGates { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -4641,7 +4642,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -4653,7 +4654,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -4661,13 +4662,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4679,7 +4680,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -4693,7 +4694,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -4713,7 +4714,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4721,7 +4722,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -4729,7 +4730,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -4792,7 +4793,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4804,7 +4805,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -4820,7 +4821,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -4830,7 +4831,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4845,13 +4846,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4863,13 +4864,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -4881,7 +4882,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4889,7 +4890,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4902,13 +4903,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -4916,7 +4917,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -4927,7 +4928,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4935,7 +4936,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4944,7 +4945,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -4952,24 +4953,24 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateMetadata { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -4989,7 +4990,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -4997,7 +4998,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -5007,7 +5008,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -5017,12 +5018,12 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5030,7 +5031,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5038,7 +5039,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5052,7 +5053,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5065,13 +5066,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -5079,7 +5080,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5091,7 +5092,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -5100,7 +5101,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -5108,14 +5109,14 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -5139,13 +5140,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -5153,7 +5154,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -5161,7 +5162,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5169,7 +5170,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5179,7 +5180,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5187,7 +5188,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -5199,7 +5200,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -5209,7 +5210,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5217,13 +5218,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -5234,7 +5235,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -5242,7 +5243,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -5251,7 +5252,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -5261,7 +5262,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5269,7 +5270,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -5278,7 +5279,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -5292,7 +5293,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5310,13 +5311,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5338,13 +5339,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5356,7 +5357,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5364,7 +5365,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5378,13 +5379,13 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSpecAttributesVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5396,7 +5397,7 @@ pub struct RedisEnterpriseClusterServicesRiggerSpecServicesRiggerAdditionalPodSp pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpec { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -5443,7 +5444,7 @@ pub struct RedisEnterpriseClusterSideContainersSpec { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5452,7 +5453,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -5464,7 +5465,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5473,7 +5474,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -5481,7 +5482,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -5490,7 +5491,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecEnvValueFromResourceFieldRef pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5499,7 +5500,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -5509,7 +5510,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -5517,7 +5518,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -5525,7 +5526,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -5533,7 +5534,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5543,13 +5544,13 @@ pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5562,20 +5563,20 @@ pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5585,13 +5586,13 @@ pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5604,20 +5605,20 @@ pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5641,20 +5642,20 @@ pub struct RedisEnterpriseClusterSideContainersSpecLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5667,20 +5668,20 @@ pub struct RedisEnterpriseClusterSideContainersSpecLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -5694,7 +5695,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5718,20 +5719,20 @@ pub struct RedisEnterpriseClusterSideContainersSpecReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5744,20 +5745,20 @@ pub struct RedisEnterpriseClusterSideContainersSpecReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -5767,12 +5768,12 @@ pub struct RedisEnterpriseClusterSideContainersSpecResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -5798,7 +5799,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -5806,7 +5807,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5818,7 +5819,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecSecurityContextSeLinuxOptions pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5826,7 +5827,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecSecurityContextSeccompProfile pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5838,7 +5839,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecSecurityContextWindowsOptions pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5862,20 +5863,20 @@ pub struct RedisEnterpriseClusterSideContainersSpecStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5888,27 +5889,27 @@ pub struct RedisEnterpriseClusterSideContainersSpecStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSideContainersSpecVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -5923,7 +5924,7 @@ pub struct RedisEnterpriseClusterSideContainersSpecVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterSlaveHa { #[serde(rename = "slaveHAGracePeriod")] pub slave_ha_grace_period: i32, @@ -5938,13 +5939,13 @@ pub enum RedisEnterpriseClusterUiServiceType { ExternalName, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterUpgradeSpec { #[serde(rename = "autoUpgradeRedisEnterprise")] pub auto_upgrade_redis_enterprise: bool, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -6005,7 +6006,7 @@ pub struct RedisEnterpriseClusterVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6017,7 +6018,7 @@ pub struct RedisEnterpriseClusterVolumesAwsElasticBlockStore { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -6033,7 +6034,7 @@ pub struct RedisEnterpriseClusterVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -6043,7 +6044,7 @@ pub struct RedisEnterpriseClusterVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6058,13 +6059,13 @@ pub struct RedisEnterpriseClusterVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6076,13 +6077,13 @@ pub struct RedisEnterpriseClusterVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -6094,7 +6095,7 @@ pub struct RedisEnterpriseClusterVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6102,7 +6103,7 @@ pub struct RedisEnterpriseClusterVolumesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6115,13 +6116,13 @@ pub struct RedisEnterpriseClusterVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -6129,7 +6130,7 @@ pub struct RedisEnterpriseClusterVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -6140,7 +6141,7 @@ pub struct RedisEnterpriseClusterVolumesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -6148,7 +6149,7 @@ pub struct RedisEnterpriseClusterVolumesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -6157,7 +6158,7 @@ pub struct RedisEnterpriseClusterVolumesDownwardApiItemsResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -6165,7 +6166,7 @@ pub struct RedisEnterpriseClusterVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6179,7 +6180,7 @@ pub struct RedisEnterpriseClusterVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6192,13 +6193,13 @@ pub struct RedisEnterpriseClusterVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -6206,7 +6207,7 @@ pub struct RedisEnterpriseClusterVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6218,7 +6219,7 @@ pub struct RedisEnterpriseClusterVolumesGcePersistentDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -6227,7 +6228,7 @@ pub struct RedisEnterpriseClusterVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -6235,14 +6236,14 @@ pub struct RedisEnterpriseClusterVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -6266,13 +6267,13 @@ pub struct RedisEnterpriseClusterVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -6280,7 +6281,7 @@ pub struct RedisEnterpriseClusterVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -6288,7 +6289,7 @@ pub struct RedisEnterpriseClusterVolumesPersistentVolumeClaim { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6296,7 +6297,7 @@ pub struct RedisEnterpriseClusterVolumesPhotonPersistentDisk { pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6306,14 +6307,14 @@ pub struct RedisEnterpriseClusterVolumesPortworxVolume { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, pub sources: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -6325,7 +6326,7 @@ pub struct RedisEnterpriseClusterVolumesProjectedSources { pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -6335,7 +6336,7 @@ pub struct RedisEnterpriseClusterVolumesProjectedSourcesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6343,13 +6344,13 @@ pub struct RedisEnterpriseClusterVolumesProjectedSourcesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -6360,7 +6361,7 @@ pub struct RedisEnterpriseClusterVolumesProjectedSourcesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -6368,7 +6369,7 @@ pub struct RedisEnterpriseClusterVolumesProjectedSourcesDownwardApiItemsFieldRef pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -6377,7 +6378,7 @@ pub struct RedisEnterpriseClusterVolumesProjectedSourcesDownwardApiItemsResource pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -6387,7 +6388,7 @@ pub struct RedisEnterpriseClusterVolumesProjectedSourcesSecret { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6395,7 +6396,7 @@ pub struct RedisEnterpriseClusterVolumesProjectedSourcesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -6404,7 +6405,7 @@ pub struct RedisEnterpriseClusterVolumesProjectedSourcesServiceAccountToken { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -6418,7 +6419,7 @@ pub struct RedisEnterpriseClusterVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6436,13 +6437,13 @@ pub struct RedisEnterpriseClusterVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6464,13 +6465,13 @@ pub struct RedisEnterpriseClusterVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -6482,7 +6483,7 @@ pub struct RedisEnterpriseClusterVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6490,7 +6491,7 @@ pub struct RedisEnterpriseClusterVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6504,13 +6505,13 @@ pub struct RedisEnterpriseClusterVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6522,7 +6523,7 @@ pub struct RedisEnterpriseClusterVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "bundledDatabaseVersions")] pub bundled_database_versions: Option>, @@ -6546,7 +6547,7 @@ pub struct RedisEnterpriseClusterStatus { pub state: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterStatusBundledDatabaseVersions { #[serde(rename = "dbType")] pub db_type: String, @@ -6555,7 +6556,7 @@ pub struct RedisEnterpriseClusterStatusBundledDatabaseVersions { pub version: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterStatusLicenseStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activationDate")] pub activation_date: Option, @@ -6567,13 +6568,13 @@ pub struct RedisEnterpriseClusterStatusLicenseStatus { pub shards_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterStatusManagedApIs { #[serde(default, skip_serializing_if = "Option::is_none")] pub ldap: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterStatusModules { #[serde(default, skip_serializing_if = "Option::is_none", rename = "displayName")] pub display_name: Option, @@ -6583,7 +6584,7 @@ pub struct RedisEnterpriseClusterStatusModules { pub versions: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterStatusOcspStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "certStatus")] pub cert_status: Option, @@ -6599,7 +6600,7 @@ pub struct RedisEnterpriseClusterStatusOcspStatus { pub this_update: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisEnterpriseClusterStatusPersistenceStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub status: Option, diff --git a/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterprisedatabases.rs b/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterprisedatabases.rs index 00f84ce97..54ae0e13f 100644 --- a/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterprisedatabases.rs +++ b/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterprisedatabases.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/RedisLabs/redis-enterprise-k8s-docs/app.redislabs.com/v1alpha1/redisenterprisedatabases.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/RedisLabs/redis-enterprise-k8s-docs/app.redislabs.com/v1alpha1/redisenterprisedatabases.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterpriseremoteclusters.rs b/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterpriseremoteclusters.rs index daaebc8bc..7301294b7 100644 --- a/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterpriseremoteclusters.rs +++ b/kube-custom-resources-rs/src/app_redislabs_com/v1alpha1/redisenterpriseremoteclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/RedisLabs/redis-enterprise-k8s-docs/app.redislabs.com/v1alpha1/redisenterpriseremoteclusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/RedisLabs/redis-enterprise-k8s-docs/app.redislabs.com/v1alpha1/redisenterpriseremoteclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/app_terraform_io/v1alpha2/agentpools.rs b/kube-custom-resources-rs/src/app_terraform_io/v1alpha2/agentpools.rs index 7f3022bb2..d1739d6cd 100644 --- a/kube-custom-resources-rs/src/app_terraform_io/v1alpha2/agentpools.rs +++ b/kube-custom-resources-rs/src/app_terraform_io/v1alpha2/agentpools.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/hashicorp/terraform-cloud-operator/app.terraform.io/v1alpha2/agentpools.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/hashicorp/terraform-cloud-operator/app.terraform.io/v1alpha2/agentpools.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/app_terraform_io/v1alpha2/modules.rs b/kube-custom-resources-rs/src/app_terraform_io/v1alpha2/modules.rs index 88261a3c5..924762ed3 100644 --- a/kube-custom-resources-rs/src/app_terraform_io/v1alpha2/modules.rs +++ b/kube-custom-resources-rs/src/app_terraform_io/v1alpha2/modules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/hashicorp/terraform-cloud-operator/app.terraform.io/v1alpha2/modules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/hashicorp/terraform-cloud-operator/app.terraform.io/v1alpha2/modules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/app_terraform_io/v1alpha2/workspaces.rs b/kube-custom-resources-rs/src/app_terraform_io/v1alpha2/workspaces.rs index 8771fb7d7..e65791b23 100644 --- a/kube-custom-resources-rs/src/app_terraform_io/v1alpha2/workspaces.rs +++ b/kube-custom-resources-rs/src/app_terraform_io/v1alpha2/workspaces.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/hashicorp/terraform-cloud-operator/app.terraform.io/v1alpha2/workspaces.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/hashicorp/terraform-cloud-operator/app.terraform.io/v1alpha2/workspaces.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,11 +10,12 @@ mod prelude { use self::prelude::*; /// WorkspaceSpec defines the desired state of Workspace. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "app.terraform.io", version = "v1alpha2", kind = "Workspace", plural = "workspaces")] #[kube(namespaced)] #[kube(status = "WorkspaceStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct WorkspaceSpec { /// HCP Terraform Agents allow HCP Terraform to communicate with isolated, private, or on-premises infrastructure. @@ -136,7 +137,7 @@ pub struct WorkspaceSpec { /// HCP Terraform Agents allow HCP Terraform to communicate with isolated, private, or on-premises infrastructure. /// More information: /// - https://developer.hashicorp.com/terraform/cloud-docs/agents -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceAgentPool { /// Agent Pool ID. /// Must match pattern: `^apool-[a-zA-Z0-9]+$` @@ -150,7 +151,7 @@ pub struct WorkspaceAgentPool { /// Variables let you customize configurations, modify Terraform's behavior, and store information like provider credentials. /// More information: /// - https://developer.hashicorp.com/terraform/cloud-docs/workspaces/variables -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceEnvironmentVariables { /// Description of the variable. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -175,7 +176,7 @@ pub struct WorkspaceEnvironmentVariables { } /// Source for the variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceEnvironmentVariablesValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -186,7 +187,7 @@ pub struct WorkspaceEnvironmentVariablesValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceEnvironmentVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -201,7 +202,7 @@ pub struct WorkspaceEnvironmentVariablesValueFromConfigMapKeyRef { } /// Selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceEnvironmentVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -272,7 +273,7 @@ pub enum WorkspaceNotificationsType { /// Default: default organization project. /// More information: /// - https://developer.hashicorp.com/terraform/tutorials/cloud/projects -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceProject { /// Project ID. /// Must match pattern: `^prj-[a-zA-Z0-9]+$` @@ -287,7 +288,7 @@ pub struct WorkspaceProject { /// By default, new workspaces in HCP Terraform do not allow other workspaces to access their state. /// More information: /// - https://developer.hashicorp.com/terraform/cloud-docs/workspaces/state#accessing-state-from-other-workspaces -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceRemoteStateSharing { /// Allow access to the state for all workspaces within the same organization. /// Default: `false`. @@ -303,7 +304,7 @@ pub struct WorkspaceRemoteStateSharing { /// At least one of the fields `ID` or `Name` is mandatory. /// More information: /// - https://developer.hashicorp.com/terraform/cloud-docs/workspaces/state#remote-state-access-controls -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceRemoteStateSharingWorkspaces { /// Consumer Workspace ID. /// Must match pattern: `^ws-[a-zA-Z0-9]+$` @@ -319,7 +320,7 @@ pub struct WorkspaceRemoteStateSharingWorkspaces { /// At least one of the fields `ID` or `Name` is mandatory. /// More information: /// - https://developer.hashicorp.com/terraform/cloud-docs/workspaces/settings/run-tasks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceRunTasks { /// Run Task Enforcement Level. Can be one of `advisory` or `mandatory`. Default: `advisory`. /// Must be one of the following values: `advisory`, `mandatory` @@ -346,7 +347,7 @@ pub struct WorkspaceRunTasks { /// At least one of the fields `ID` or `Name` is mandatory. /// More information: /// - https://developer.hashicorp.com/terraform/cloud-docs/workspaces/settings/run-triggers -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceRunTriggers { /// Source Workspace ID. /// Must match pattern: `^ws-[a-zA-Z0-9]+$` @@ -360,7 +361,7 @@ pub struct WorkspaceRunTriggers { /// SSH key used to clone Terraform modules. /// More information: /// - https://developer.hashicorp.com/terraform/cloud-docs/workspaces/settings/ssh-keys -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceSshKey { /// SSH key ID. /// Must match pattern: `^sshkey-[a-zA-Z0-9]+$` @@ -377,7 +378,7 @@ pub struct WorkspaceSshKey { /// with full admin permissions. These teams' access can't be removed from a workspace. /// More information: /// - https://developer.hashicorp.com/terraform/cloud-docs/workspaces/settings/access -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceTeamAccess { /// There are two ways to choose which permissions a given team has on a workspace: fixed permission sets, and custom permissions. /// Must be one of the following values: `admin`, `custom`, `plan`, `read`, `write`. @@ -398,7 +399,7 @@ pub struct WorkspaceTeamAccess { /// Custom permissions let you assign specific, finer-grained permissions to a team than the broader fixed permission sets provide. /// More information: /// - https://developer.hashicorp.com/terraform/cloud-docs/users-teams-organizations/permissions#custom-workspace-permissions -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceTeamAccessCustom { /// Manage Workspace Run Tasks. /// Default: `false`. @@ -433,7 +434,7 @@ pub struct WorkspaceTeamAccessCustom { /// Team to grant access. /// More information: /// - https://developer.hashicorp.com/terraform/cloud-docs/users-teams-organizations/teams -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceTeamAccessTeam { /// Team ID. /// Must match pattern: `^team-[a-zA-Z0-9]+$` @@ -447,7 +448,7 @@ pub struct WorkspaceTeamAccessTeam { /// Variables let you customize configurations, modify Terraform's behavior, and store information like provider credentials. /// More information: /// - https://developer.hashicorp.com/terraform/cloud-docs/workspaces/variables -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceTerraformVariables { /// Description of the variable. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -472,7 +473,7 @@ pub struct WorkspaceTerraformVariables { } /// Source for the variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceTerraformVariablesValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -483,7 +484,7 @@ pub struct WorkspaceTerraformVariablesValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceTerraformVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -498,7 +499,7 @@ pub struct WorkspaceTerraformVariablesValueFromConfigMapKeyRef { } /// Selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceTerraformVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -513,7 +514,7 @@ pub struct WorkspaceTerraformVariablesValueFromSecretKeyRef { } /// API Token to be used for API calls. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceToken { /// Selects a key of a secret in the workspace's namespace #[serde(rename = "secretKeyRef")] @@ -521,7 +522,7 @@ pub struct WorkspaceToken { } /// Selects a key of a secret in the workspace's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceTokenSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -540,7 +541,7 @@ pub struct WorkspaceTokenSecretKeyRef { /// More information: /// - https://www.terraform.io/cloud-docs/run/ui /// - https://www.terraform.io/cloud-docs/vcs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceVersionControl { /// The repository branch that Run will execute from. This defaults to the repository's default branch (e.g. main). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -562,7 +563,7 @@ pub struct WorkspaceVersionControl { } /// WorkspaceStatus defines the observed state of Workspace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceStatus { /// Real world state generation. #[serde(default, skip_serializing_if = "Option::is_none", rename = "observedGeneration")] @@ -588,7 +589,7 @@ pub struct WorkspaceStatus { } /// Run status of plan-only/speculative plan that was triggered manually. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceStatusPlan { /// Latest plan-only/speculative plan HCP Terraform run ID. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -602,7 +603,7 @@ pub struct WorkspaceStatusPlan { } /// Workspace Runs status. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceStatusRunStatus { /// The configuration version of this run. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configurationVersion")] @@ -618,7 +619,7 @@ pub struct WorkspaceStatusRunStatus { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkspaceStatusVariables { /// Category of the variable. pub category: String, diff --git a/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/accesslogpolicies.rs b/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/accesslogpolicies.rs index bc1d7c271..2cbcc924d 100644 --- a/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/accesslogpolicies.rs +++ b/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/accesslogpolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/accesslogpolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/accesslogpolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// AccessLogPolicySpec defines the desired state of AccessLogPolicy. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "application-networking.k8s.aws", version = "v1alpha1", kind = "AccessLogPolicy", plural = "accesslogpolicies")] #[kube(namespaced)] #[kube(status = "AccessLogPolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct AccessLogPolicySpec { /// The Amazon Resource Name (ARN) of the destination that will store access logs. Supported values are S3 Bucket, CloudWatch Log Group, and Firehose Delivery Stream ARNs. @@ -30,7 +31,7 @@ pub struct AccessLogPolicySpec { /// TargetRef points to the Kubernetes Gateway, HTTPRoute, or GRPCRoute resource that will have this policy attached. /// This field is following the guidelines of Kubernetes Gateway API policy attachment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AccessLogPolicyTargetRef { /// Group is the group of the target resource. pub group: String, @@ -44,7 +45,7 @@ pub struct AccessLogPolicyTargetRef { } /// Status defines the current state of AccessLogPolicy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AccessLogPolicyStatus { /// Conditions describe the current conditions of the AccessLogPolicy. /// Implementations should prefer to express Policy conditions using the `PolicyConditionType` and `PolicyConditionReason` constants so that operators and tools can converge on a common vocabulary to describe AccessLogPolicy state. diff --git a/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/iamauthpolicies.rs b/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/iamauthpolicies.rs index a91ca6126..21b0ab131 100644 --- a/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/iamauthpolicies.rs +++ b/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/iamauthpolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/iamauthpolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/iamauthpolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// IAMAuthPolicySpec defines the desired state of IAMAuthPolicy. When the controller handles IAMAuthPolicy creation, if the targetRef k8s and VPC Lattice resource exists, the controller will change the auth_type of that VPC Lattice resource to AWS_IAM and attach this policy. When the controller handles IAMAuthPolicy deletion, if the targetRef k8s and VPC Lattice resource exists, the controller will change the auth_type of that VPC Lattice resource to NONE and detach this policy. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "application-networking.k8s.aws", version = "v1alpha1", kind = "IAMAuthPolicy", plural = "iamauthpolicies")] #[kube(namespaced)] #[kube(status = "IAMAuthPolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct IAMAuthPolicySpec { /// IAM auth policy content. It is a JSON string that uses the same syntax as AWS IAM policies. Please check the VPC Lattice documentation to get [the common elements in an auth policy](https://docs.aws.amazon.com/vpc-lattice/latest/ug/auth-policies.html#auth-policies-common-elements) @@ -28,7 +29,7 @@ pub struct IAMAuthPolicySpec { /// TargetRef points to the Kubernetes Gateway, HTTPRoute, or GRPCRoute resource that will have this policy attached. /// This field is following the guidelines of Kubernetes Gateway API policy attachment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IAMAuthPolicyTargetRef { /// Group is the group of the target resource. pub group: String, @@ -42,7 +43,7 @@ pub struct IAMAuthPolicyTargetRef { } /// Status defines the current state of IAMAuthPolicy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IAMAuthPolicyStatus { /// Conditions describe the current conditions of the IAMAuthPolicy. /// Implementations should prefer to express Policy conditions using the `PolicyConditionType` and `PolicyConditionReason` constants so that operators and tools can converge on a common vocabulary to describe IAMAuthPolicy state. diff --git a/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/serviceexports.rs b/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/serviceexports.rs index d4735e57f..f66de8b96 100644 --- a/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/serviceexports.rs +++ b/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/serviceexports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/serviceexports.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/serviceexports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,7 +11,7 @@ mod prelude { use self::prelude::*; /// status describes the current state of an exported service. Service configuration comes from the Service that had the same name and namespace as this ServiceExport. Populated by the multi-cluster service implementation's controller. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceExportStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, diff --git a/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/serviceimports.rs b/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/serviceimports.rs index 9cf18af06..742376915 100644 --- a/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/serviceimports.rs +++ b/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/serviceimports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/serviceimports.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/serviceimports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -32,7 +32,7 @@ pub struct ServiceImportSpec { } /// ServicePort represents the port on which the service is exposed -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceImportPorts { /// The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. Field can be enabled with ServiceAppProtocol feature gate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "appProtocol")] @@ -48,7 +48,7 @@ pub struct ServiceImportPorts { } /// sessionAffinityConfig contains session affinity configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceImportSessionAffinityConfig { /// clientIP contains the configurations of Client IP based session affinity. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] @@ -56,7 +56,7 @@ pub struct ServiceImportSessionAffinityConfig { } /// clientIP contains the configurations of Client IP based session affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceImportSessionAffinityConfigClientIp { /// timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". Default value is 10800(for 3 hours). #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] @@ -72,7 +72,7 @@ pub enum ServiceImportType { } /// status contains information about the exported services that form the multi-cluster service referenced by this ServiceImport. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceImportStatus { /// clusters is the list of exporting clusters from which this service was derived. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -80,7 +80,7 @@ pub struct ServiceImportStatus { } /// ClusterStatus contains service configuration mapped to a specific source cluster -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceImportStatusClusters { /// cluster is the name of the exporting cluster. Must be a valid RFC-1123 DNS label. pub cluster: String, diff --git a/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/targetgrouppolicies.rs b/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/targetgrouppolicies.rs index 5c79343dd..225899ed4 100644 --- a/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/targetgrouppolicies.rs +++ b/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/targetgrouppolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/targetgrouppolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/targetgrouppolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// TargetGroupPolicySpec defines the desired state of TargetGroupPolicy. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "application-networking.k8s.aws", version = "v1alpha1", kind = "TargetGroupPolicy", plural = "targetgrouppolicies")] #[kube(namespaced)] #[kube(status = "TargetGroupPolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct TargetGroupPolicySpec { /// The health check configuration. @@ -38,7 +39,7 @@ pub struct TargetGroupPolicySpec { /// The health check configuration. /// Changes to this value will update VPC Lattice resource in place. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TargetGroupPolicyHealthCheck { /// Indicates whether health checking is enabled. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -94,7 +95,7 @@ pub enum TargetGroupPolicyHealthCheckProtocolVersion { /// TargetRef points to the kubernetes Service resource that will have this policy attached. /// This field is following the guidelines of Kubernetes Gateway API policy attachment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TargetGroupPolicyTargetRef { /// Group is the group of the target resource. pub group: String, @@ -108,7 +109,7 @@ pub struct TargetGroupPolicyTargetRef { } /// Status defines the current state of TargetGroupPolicy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TargetGroupPolicyStatus { /// Conditions describe the current conditions of the TargetGroup. /// Implementations should prefer to express Policy conditions using the `PolicyConditionType` and `PolicyConditionReason` constants so that operators and tools can converge on a common vocabulary to describe TargetGroup state. diff --git a/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/vpcassociationpolicies.rs b/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/vpcassociationpolicies.rs index 343219163..5cb8ee66f 100644 --- a/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/vpcassociationpolicies.rs +++ b/kube-custom-resources-rs/src/application_networking_k8s_aws/v1alpha1/vpcassociationpolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/vpcassociationpolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-application-networking-k8s/application-networking.k8s.aws/v1alpha1/vpcassociationpolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// VpcAssociationPolicySpec defines the desired state of VpcAssociationPolicy. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "application-networking.k8s.aws", version = "v1alpha1", kind = "VpcAssociationPolicy", plural = "vpcassociationpolicies")] #[kube(namespaced)] #[kube(status = "VpcAssociationPolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct VpcAssociationPolicySpec { /// AssociateWithVpc indicates whether the VpcServiceNetworkAssociation should be created for the current VPC of k8s cluster. @@ -34,7 +35,7 @@ pub struct VpcAssociationPolicySpec { /// TargetRef points to the kubernetes Gateway resource that will have this policy attached. /// This field is following the guidelines of Kubernetes Gateway API policy attachment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VpcAssociationPolicyTargetRef { /// Group is the group of the target resource. pub group: String, @@ -48,7 +49,7 @@ pub struct VpcAssociationPolicyTargetRef { } /// VpcAssociationPolicyStatus defines the observed state of VpcAssociationPolicy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VpcAssociationPolicyStatus { /// Conditions describe the current conditions of the VpcAssociationPolicy. /// Implementations should prefer to express Policy conditions using the `PolicyConditionType` and `PolicyConditionReason` constants so that operators and tools can converge on a common vocabulary to describe VpcAssociationPolicy state. diff --git a/kube-custom-resources-rs/src/applicationautoscaling_services_k8s_aws/v1alpha1/scalabletargets.rs b/kube-custom-resources-rs/src/applicationautoscaling_services_k8s_aws/v1alpha1/scalabletargets.rs index 9dcae450b..2650713dd 100644 --- a/kube-custom-resources-rs/src/applicationautoscaling_services_k8s_aws/v1alpha1/scalabletargets.rs +++ b/kube-custom-resources-rs/src/applicationautoscaling_services_k8s_aws/v1alpha1/scalabletargets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/applicationautoscaling-controller/applicationautoscaling.services.k8s.aws/v1alpha1/scalabletargets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/applicationautoscaling-controller/applicationautoscaling.services.k8s.aws/v1alpha1/scalabletargets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/applicationautoscaling_services_k8s_aws/v1alpha1/scalingpolicies.rs b/kube-custom-resources-rs/src/applicationautoscaling_services_k8s_aws/v1alpha1/scalingpolicies.rs index be07294c0..7989ffd05 100644 --- a/kube-custom-resources-rs/src/applicationautoscaling_services_k8s_aws/v1alpha1/scalingpolicies.rs +++ b/kube-custom-resources-rs/src/applicationautoscaling_services_k8s_aws/v1alpha1/scalingpolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/applicationautoscaling-controller/applicationautoscaling.services.k8s.aws/v1alpha1/scalingpolicies.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/applicationautoscaling-controller/applicationautoscaling.services.k8s.aws/v1alpha1/scalingpolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/backendgroups.rs b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/backendgroups.rs index c073098c4..09c09dff1 100644 --- a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/backendgroups.rs +++ b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/backendgroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-app-mesh-controller-for-k8/appmesh.k8s.aws/v1beta2/backendgroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-app-mesh-controller-for-k8/appmesh.k8s.aws/v1beta2/backendgroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/gatewayroutes.rs b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/gatewayroutes.rs index 2a51dfb22..e42c2e3ae 100644 --- a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/gatewayroutes.rs +++ b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/gatewayroutes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-app-mesh-controller-for-k8/appmesh.k8s.aws/v1beta2/gatewayroutes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-app-mesh-controller-for-k8/appmesh.k8s.aws/v1beta2/gatewayroutes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/meshes.rs b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/meshes.rs index eea3e94aa..eea26ac77 100644 --- a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/meshes.rs +++ b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/meshes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-app-mesh-controller-for-k8/appmesh.k8s.aws/v1beta2/meshes.yaml +// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-app-mesh-controller-for-k8/appmesh.k8s.aws/v1beta2/meshes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,12 @@ mod prelude { use self::prelude::*; /// MeshSpec defines the desired state of Mesh refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_MeshSpec.html -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "appmesh.k8s.aws", version = "v1beta2", kind = "Mesh", plural = "meshes")] #[kube(status = "MeshStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] +#[kube(derive="PartialEq")] pub struct MeshSpec { /// AWSName is the AppMesh Mesh object's name. If unspecified or empty, it defaults to be "${name}" of k8s Mesh #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsName")] @@ -34,7 +36,7 @@ pub struct MeshSpec { } /// The egress filter rules for the service mesh. If unspecified, default settings from AWS API will be applied. Refer to AWS Docs for default settings. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct MeshEgressFilter { /// The egress filter type. #[serde(rename = "type")] @@ -42,7 +44,7 @@ pub struct MeshEgressFilter { } /// The egress filter rules for the service mesh. If unspecified, default settings from AWS API will be applied. Refer to AWS Docs for default settings. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum MeshEgressFilterType { #[serde(rename = "ALLOW_ALL")] AllowAll, @@ -50,14 +52,14 @@ pub enum MeshEgressFilterType { DropAll, } -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshMeshServiceDiscovery { /// The ipPreference for the mesh. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ipPreference")] pub ip_preference: Option, } -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum MeshMeshServiceDiscoveryIpPreference { #[serde(rename = "IPv6_ONLY")] IPv6Only, @@ -66,7 +68,7 @@ pub enum MeshMeshServiceDiscoveryIpPreference { } /// NamespaceSelector selects Namespaces using labels to designate mesh membership. This field follows standard label selector semantics: if present but empty, it selects all namespaces. if absent, it selects no namespace. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -77,7 +79,7 @@ pub struct MeshNamespaceSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -89,7 +91,7 @@ pub struct MeshNamespaceSelectorMatchExpressions { } /// MeshStatus defines the observed state of Mesh -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshStatus { /// The current Mesh status. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualgateways.rs b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualgateways.rs index 1f42638f4..30c3e6953 100644 --- a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualgateways.rs +++ b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualgateways.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-app-mesh-controller-for-k8/appmesh.k8s.aws/v1beta2/virtualgateways.yaml +// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-app-mesh-controller-for-k8/appmesh.k8s.aws/v1beta2/virtualgateways.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,13 @@ mod prelude { use self::prelude::*; /// VirtualGatewaySpec defines the desired state of VirtualGateway refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "appmesh.k8s.aws", version = "v1beta2", kind = "VirtualGateway", plural = "virtualgateways")] #[kube(namespaced)] #[kube(status = "VirtualGatewayStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] +#[kube(derive="PartialEq")] pub struct VirtualGatewaySpec { /// AWSName is the AppMesh VirtualGateway object's name. If unspecified or empty, it defaults to be "${name}_${namespace}" of k8s VirtualGateway #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsName")] @@ -46,7 +48,7 @@ pub struct VirtualGatewaySpec { } /// A reference to an object that represents the defaults for backend GatewayRoutes. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayBackendDefaults { /// A reference to an object that represents a client policy. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientPolicy")] @@ -54,7 +56,7 @@ pub struct VirtualGatewayBackendDefaults { } /// A reference to an object that represents a client policy. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayBackendDefaultsClientPolicy { /// A reference to an object that represents a Transport Layer Security (TLS) client policy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -62,7 +64,7 @@ pub struct VirtualGatewayBackendDefaultsClientPolicy { } /// A reference to an object that represents a Transport Layer Security (TLS) client policy. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayBackendDefaultsClientPolicyTls { /// A reference to an object that represents TLS certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -78,7 +80,7 @@ pub struct VirtualGatewayBackendDefaultsClientPolicyTls { } /// A reference to an object that represents TLS certificate. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayBackendDefaultsClientPolicyTlsCertificate { /// An object that represents a TLS cert via a local file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -89,7 +91,7 @@ pub struct VirtualGatewayBackendDefaultsClientPolicyTlsCertificate { } /// An object that represents a TLS cert via a local file -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayBackendDefaultsClientPolicyTlsCertificateFile { /// The certificate chain for the certificate. #[serde(rename = "certificateChain")] @@ -100,7 +102,7 @@ pub struct VirtualGatewayBackendDefaultsClientPolicyTlsCertificateFile { } /// An object that represents a TLS cert via SDS entry -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayBackendDefaultsClientPolicyTlsCertificateSds { /// The certificate trust chain for a certificate issued via SDS cluster #[serde(rename = "secretName")] @@ -108,7 +110,7 @@ pub struct VirtualGatewayBackendDefaultsClientPolicyTlsCertificateSds { } /// A reference to an object that represents a TLS validation context. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayBackendDefaultsClientPolicyTlsValidation { /// Possible alternative names to consider #[serde(default, skip_serializing_if = "Option::is_none", rename = "subjectAlternativeNames")] @@ -118,7 +120,7 @@ pub struct VirtualGatewayBackendDefaultsClientPolicyTlsValidation { } /// Possible alternative names to consider -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayBackendDefaultsClientPolicyTlsValidationSubjectAlternativeNames { /// Match is a required field #[serde(rename = "match")] @@ -126,14 +128,14 @@ pub struct VirtualGatewayBackendDefaultsClientPolicyTlsValidationSubjectAlternat } /// Match is a required field -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayBackendDefaultsClientPolicyTlsValidationSubjectAlternativeNamesMatch { /// Exact is a required field pub exact: Vec, } /// A reference to an object that represents a TLS validation context trust -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayBackendDefaultsClientPolicyTlsValidationTrust { /// A reference to an object that represents a TLS validation context trust for an AWS Certicate Manager (ACM) certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -147,7 +149,7 @@ pub struct VirtualGatewayBackendDefaultsClientPolicyTlsValidationTrust { } /// A reference to an object that represents a TLS validation context trust for an AWS Certicate Manager (ACM) certificate. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayBackendDefaultsClientPolicyTlsValidationTrustAcm { /// One or more ACM Amazon Resource Name (ARN)s. #[serde(rename = "certificateAuthorityARNs")] @@ -155,7 +157,7 @@ pub struct VirtualGatewayBackendDefaultsClientPolicyTlsValidationTrustAcm { } /// An object that represents a TLS validation context trust for a local file. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayBackendDefaultsClientPolicyTlsValidationTrustFile { /// The certificate trust chain for a certificate stored on the file system of the virtual Gateway. #[serde(rename = "certificateChain")] @@ -163,7 +165,7 @@ pub struct VirtualGatewayBackendDefaultsClientPolicyTlsValidationTrustFile { } /// An object that represents a TLS validation context trust for a SDS certificate -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayBackendDefaultsClientPolicyTlsValidationTrustSds { /// The certificate trust chain for a certificate issued via SDS. #[serde(rename = "secretName")] @@ -171,7 +173,7 @@ pub struct VirtualGatewayBackendDefaultsClientPolicyTlsValidationTrustSds { } /// GatewayRouteSelector selects GatewayRoutes using labels to designate GatewayRoute membership. If not specified it selects all GatewayRoutes in that namespace. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayGatewayRouteSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -182,7 +184,7 @@ pub struct VirtualGatewayGatewayRouteSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayGatewayRouteSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -194,7 +196,7 @@ pub struct VirtualGatewayGatewayRouteSelectorMatchExpressions { } /// VirtualGatewayListener refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualGatewayListeners { /// The connection pool settings for the listener #[serde(default, skip_serializing_if = "Option::is_none", rename = "connectionPool")] @@ -211,7 +213,7 @@ pub struct VirtualGatewayListeners { } /// The connection pool settings for the listener -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayListenersConnectionPool { /// Specifies grpc connection pool settings for the virtual gateway listener #[serde(default, skip_serializing_if = "Option::is_none")] @@ -225,7 +227,7 @@ pub struct VirtualGatewayListenersConnectionPool { } /// Specifies grpc connection pool settings for the virtual gateway listener -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayListenersConnectionPoolGrpc { /// Represents the maximum number of inflight requests that an envoy can concurrently support across all the hosts in the upstream cluster #[serde(rename = "maxRequests")] @@ -233,7 +235,7 @@ pub struct VirtualGatewayListenersConnectionPoolGrpc { } /// Specifies http connection pool settings for the virtual gateway listener -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayListenersConnectionPoolHttp { /// Represents the maximum number of outbound TCP connections the envoy can establish concurrently with all the hosts in the upstream cluster. #[serde(rename = "maxConnections")] @@ -244,7 +246,7 @@ pub struct VirtualGatewayListenersConnectionPoolHttp { } /// Specifies http2 connection pool settings for the virtual gateway listener -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayListenersConnectionPoolHttp2 { /// Represents the maximum number of inflight requests that an envoy can concurrently support across all the hosts in the upstream cluster #[serde(rename = "maxRequests")] @@ -252,7 +254,7 @@ pub struct VirtualGatewayListenersConnectionPoolHttp2 { } /// The health check information for the listener. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualGatewayListenersHealthCheck { /// The number of consecutive successful health checks that must occur before declaring listener healthy. #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthyThreshold")] @@ -277,7 +279,7 @@ pub struct VirtualGatewayListenersHealthCheck { } /// The health check information for the listener. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualGatewayListenersHealthCheckProtocol { #[serde(rename = "grpc")] Grpc, @@ -288,7 +290,7 @@ pub enum VirtualGatewayListenersHealthCheckProtocol { } /// The port mapping information for the listener. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualGatewayListenersPortMapping { /// The port used for the port mapping. pub port: i64, @@ -297,7 +299,7 @@ pub struct VirtualGatewayListenersPortMapping { } /// The port mapping information for the listener. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualGatewayListenersPortMappingProtocol { #[serde(rename = "grpc")] Grpc, @@ -308,7 +310,7 @@ pub enum VirtualGatewayListenersPortMappingProtocol { } /// A reference to an object that represents the Transport Layer Security (TLS) properties for a listener. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualGatewayListenersTls { /// A reference to an object that represents a listener's TLS certificate. pub certificate: VirtualGatewayListenersTlsCertificate, @@ -320,7 +322,7 @@ pub struct VirtualGatewayListenersTls { } /// A reference to an object that represents a listener's TLS certificate. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayListenersTlsCertificate { /// A reference to an object that represents an AWS Certificate Manager (ACM) certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -334,7 +336,7 @@ pub struct VirtualGatewayListenersTlsCertificate { } /// A reference to an object that represents an AWS Certificate Manager (ACM) certificate. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayListenersTlsCertificateAcm { /// The Amazon Resource Name (ARN) for the certificate. #[serde(rename = "certificateARN")] @@ -342,7 +344,7 @@ pub struct VirtualGatewayListenersTlsCertificateAcm { } /// A reference to an object that represents a local file certificate. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayListenersTlsCertificateFile { /// The certificate chain for the certificate. #[serde(rename = "certificateChain")] @@ -353,7 +355,7 @@ pub struct VirtualGatewayListenersTlsCertificateFile { } /// A reference to an object that represents an SDS issued certificate -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayListenersTlsCertificateSds { /// The certificate trust chain for a certificate issued via SDS cluster #[serde(rename = "secretName")] @@ -361,7 +363,7 @@ pub struct VirtualGatewayListenersTlsCertificateSds { } /// A reference to an object that represents the Transport Layer Security (TLS) properties for a listener. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualGatewayListenersTlsMode { #[serde(rename = "DISABLED")] Disabled, @@ -372,7 +374,7 @@ pub enum VirtualGatewayListenersTlsMode { } /// A reference to an object that represents Validation context -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayListenersTlsValidation { /// Possible alternate names to consider #[serde(default, skip_serializing_if = "Option::is_none", rename = "subjectAlternativeNames")] @@ -381,7 +383,7 @@ pub struct VirtualGatewayListenersTlsValidation { } /// Possible alternate names to consider -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayListenersTlsValidationSubjectAlternativeNames { /// Match is a required field #[serde(rename = "match")] @@ -389,13 +391,13 @@ pub struct VirtualGatewayListenersTlsValidationSubjectAlternativeNames { } /// Match is a required field -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayListenersTlsValidationSubjectAlternativeNamesMatch { /// Exact is a required field pub exact: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayListenersTlsValidationTrust { /// A reference to an object that represents a TLS validation context trust for an AWS Certicate Manager (ACM) certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -409,7 +411,7 @@ pub struct VirtualGatewayListenersTlsValidationTrust { } /// A reference to an object that represents a TLS validation context trust for an AWS Certicate Manager (ACM) certificate. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayListenersTlsValidationTrustAcm { /// One or more ACM Amazon Resource Name (ARN)s. #[serde(rename = "certificateAuthorityARNs")] @@ -417,7 +419,7 @@ pub struct VirtualGatewayListenersTlsValidationTrustAcm { } /// An object that represents a TLS validation context trust for a local file. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayListenersTlsValidationTrustFile { /// The certificate trust chain for a certificate stored on the file system of the virtual Gateway. #[serde(rename = "certificateChain")] @@ -425,7 +427,7 @@ pub struct VirtualGatewayListenersTlsValidationTrustFile { } /// An object that represents a TLS validation context trust for an SDS system -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayListenersTlsValidationTrustSds { /// The certificate trust chain for a certificate issued via SDS. #[serde(rename = "secretName")] @@ -433,7 +435,7 @@ pub struct VirtualGatewayListenersTlsValidationTrustSds { } /// The inbound and outbound access logging information for the virtual gateway. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayLogging { /// The access log configuration for a virtual Gateway. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessLog")] @@ -441,7 +443,7 @@ pub struct VirtualGatewayLogging { } /// The access log configuration for a virtual Gateway. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayLoggingAccessLog { /// The file object to send virtual gateway access logs to. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -449,7 +451,7 @@ pub struct VirtualGatewayLoggingAccessLog { } /// The file object to send virtual gateway access logs to. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayLoggingAccessLogFile { /// Structured access log output format #[serde(default, skip_serializing_if = "Option::is_none")] @@ -459,7 +461,7 @@ pub struct VirtualGatewayLoggingAccessLogFile { } /// Structured access log output format -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayLoggingAccessLogFileFormat { /// Output specified fields as a JSON object #[serde(default, skip_serializing_if = "Option::is_none")] @@ -469,7 +471,7 @@ pub struct VirtualGatewayLoggingAccessLogFileFormat { pub text: Option, } -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayLoggingAccessLogFileFormatJson { /// The name of the field in the JSON object pub key: String, @@ -479,7 +481,7 @@ pub struct VirtualGatewayLoggingAccessLogFileFormatJson { /// A reference to k8s Mesh CR that this VirtualGateway belongs to. The admission controller populates it using Meshes's selector, and prevents users from setting this field. /// Populated by the system. Read-only. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayMeshRef { /// Name is the name of Mesh CR pub name: String, @@ -488,7 +490,7 @@ pub struct VirtualGatewayMeshRef { } /// NamespaceSelector selects Namespaces using labels to designate GatewayRoute membership. This field follows standard label selector semantics; if present but empty, it selects all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -499,7 +501,7 @@ pub struct VirtualGatewayNamespaceSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -511,7 +513,7 @@ pub struct VirtualGatewayNamespaceSelectorMatchExpressions { } /// PodSelector selects Pods using labels to designate VirtualGateway membership. This field follows standard label selector semantics: if present but empty, it selects all pods within namespace. if absent, it selects no pod. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -522,7 +524,7 @@ pub struct VirtualGatewayPodSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -534,7 +536,7 @@ pub struct VirtualGatewayPodSelectorMatchExpressions { } /// VirtualGatewayStatus defines the observed state of VirtualGateway -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualGatewayStatus { /// The current VirtualGateway status. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualnodes.rs b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualnodes.rs index c1f8b4e4a..c98ed2d29 100644 --- a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualnodes.rs +++ b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualnodes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-app-mesh-controller-for-k8/appmesh.k8s.aws/v1beta2/virtualnodes.yaml +// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-app-mesh-controller-for-k8/appmesh.k8s.aws/v1beta2/virtualnodes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,13 @@ mod prelude { use self::prelude::*; /// VirtualNodeSpec defines the desired state of VirtualNode refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_VirtualNodeSpec.html -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "appmesh.k8s.aws", version = "v1beta2", kind = "VirtualNode", plural = "virtualnodes")] #[kube(namespaced)] #[kube(status = "VirtualNodeStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] +#[kube(derive="PartialEq")] pub struct VirtualNodeSpec { /// AWSName is the AppMesh VirtualNode object's name. If unspecified or empty, it defaults to be "${name}_${namespace}" of k8s VirtualNode #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsName")] @@ -49,7 +51,7 @@ pub struct VirtualNodeSpec { } /// A reference to an object that represents the defaults for backends. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendDefaults { /// A reference to an object that represents a client policy. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientPolicy")] @@ -57,7 +59,7 @@ pub struct VirtualNodeBackendDefaults { } /// A reference to an object that represents a client policy. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendDefaultsClientPolicy { /// A reference to an object that represents a Transport Layer Security (TLS) client policy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -65,7 +67,7 @@ pub struct VirtualNodeBackendDefaultsClientPolicy { } /// A reference to an object that represents a Transport Layer Security (TLS) client policy. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendDefaultsClientPolicyTls { /// A reference to an object that represents TLS certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -81,7 +83,7 @@ pub struct VirtualNodeBackendDefaultsClientPolicyTls { } /// A reference to an object that represents TLS certificate. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendDefaultsClientPolicyTlsCertificate { /// An object that represents a TLS cert via a local file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -92,7 +94,7 @@ pub struct VirtualNodeBackendDefaultsClientPolicyTlsCertificate { } /// An object that represents a TLS cert via a local file -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendDefaultsClientPolicyTlsCertificateFile { /// The certificate chain for the certificate. #[serde(rename = "certificateChain")] @@ -103,7 +105,7 @@ pub struct VirtualNodeBackendDefaultsClientPolicyTlsCertificateFile { } /// An object that represents a TLS cert via SDS entry -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendDefaultsClientPolicyTlsCertificateSds { /// The certificate trust chain for a certificate issued via SDS cluster #[serde(rename = "secretName")] @@ -111,7 +113,7 @@ pub struct VirtualNodeBackendDefaultsClientPolicyTlsCertificateSds { } /// A reference to an object that represents a TLS validation context. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendDefaultsClientPolicyTlsValidation { /// Possible Alternative names to consider #[serde(default, skip_serializing_if = "Option::is_none", rename = "subjectAlternativeNames")] @@ -121,7 +123,7 @@ pub struct VirtualNodeBackendDefaultsClientPolicyTlsValidation { } /// Possible Alternative names to consider -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendDefaultsClientPolicyTlsValidationSubjectAlternativeNames { /// Match is a required field #[serde(rename = "match")] @@ -129,14 +131,14 @@ pub struct VirtualNodeBackendDefaultsClientPolicyTlsValidationSubjectAlternative } /// Match is a required field -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendDefaultsClientPolicyTlsValidationSubjectAlternativeNamesMatch { /// Exact is a required field pub exact: Vec, } /// A reference to an object that represents a TLS validation context trust -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendDefaultsClientPolicyTlsValidationTrust { /// A reference to an object that represents a TLS validation context trust for an AWS Certicate Manager (ACM) certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -150,7 +152,7 @@ pub struct VirtualNodeBackendDefaultsClientPolicyTlsValidationTrust { } /// A reference to an object that represents a TLS validation context trust for an AWS Certicate Manager (ACM) certificate. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendDefaultsClientPolicyTlsValidationTrustAcm { /// One or more ACM Amazon Resource Name (ARN)s. #[serde(rename = "certificateAuthorityARNs")] @@ -158,7 +160,7 @@ pub struct VirtualNodeBackendDefaultsClientPolicyTlsValidationTrustAcm { } /// An object that represents a TLS validation context trust for a local file. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendDefaultsClientPolicyTlsValidationTrustFile { /// The certificate trust chain for a certificate stored on the file system of the virtual node that the proxy is running on. #[serde(rename = "certificateChain")] @@ -166,7 +168,7 @@ pub struct VirtualNodeBackendDefaultsClientPolicyTlsValidationTrustFile { } /// An object that represents a TLS validation context trust for a SDS. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendDefaultsClientPolicyTlsValidationTrustSds { /// The certificate trust chain for a certificate obtained via SDS #[serde(rename = "secretName")] @@ -174,7 +176,7 @@ pub struct VirtualNodeBackendDefaultsClientPolicyTlsValidationTrustSds { } /// BackendGroupReference holds a reference to BackendGroup.appmesh.k8s.aws -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendGroups { /// Name is the name of BackendGroup CR pub name: String, @@ -184,7 +186,7 @@ pub struct VirtualNodeBackendGroups { } /// Backend refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_Backend.html -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackends { /// Specifies a virtual service to use as a backend for a virtual node. #[serde(rename = "virtualService")] @@ -192,7 +194,7 @@ pub struct VirtualNodeBackends { } /// Specifies a virtual service to use as a backend for a virtual node. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendsVirtualService { /// A reference to an object that represents the client policy for a backend. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientPolicy")] @@ -206,7 +208,7 @@ pub struct VirtualNodeBackendsVirtualService { } /// A reference to an object that represents the client policy for a backend. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendsVirtualServiceClientPolicy { /// A reference to an object that represents a Transport Layer Security (TLS) client policy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -214,7 +216,7 @@ pub struct VirtualNodeBackendsVirtualServiceClientPolicy { } /// A reference to an object that represents a Transport Layer Security (TLS) client policy. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendsVirtualServiceClientPolicyTls { /// A reference to an object that represents TLS certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -230,7 +232,7 @@ pub struct VirtualNodeBackendsVirtualServiceClientPolicyTls { } /// A reference to an object that represents TLS certificate. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendsVirtualServiceClientPolicyTlsCertificate { /// An object that represents a TLS cert via a local file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -241,7 +243,7 @@ pub struct VirtualNodeBackendsVirtualServiceClientPolicyTlsCertificate { } /// An object that represents a TLS cert via a local file -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendsVirtualServiceClientPolicyTlsCertificateFile { /// The certificate chain for the certificate. #[serde(rename = "certificateChain")] @@ -252,7 +254,7 @@ pub struct VirtualNodeBackendsVirtualServiceClientPolicyTlsCertificateFile { } /// An object that represents a TLS cert via SDS entry -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendsVirtualServiceClientPolicyTlsCertificateSds { /// The certificate trust chain for a certificate issued via SDS cluster #[serde(rename = "secretName")] @@ -260,7 +262,7 @@ pub struct VirtualNodeBackendsVirtualServiceClientPolicyTlsCertificateSds { } /// A reference to an object that represents a TLS validation context. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendsVirtualServiceClientPolicyTlsValidation { /// Possible Alternative names to consider #[serde(default, skip_serializing_if = "Option::is_none", rename = "subjectAlternativeNames")] @@ -270,7 +272,7 @@ pub struct VirtualNodeBackendsVirtualServiceClientPolicyTlsValidation { } /// Possible Alternative names to consider -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendsVirtualServiceClientPolicyTlsValidationSubjectAlternativeNames { /// Match is a required field #[serde(rename = "match")] @@ -278,14 +280,14 @@ pub struct VirtualNodeBackendsVirtualServiceClientPolicyTlsValidationSubjectAlte } /// Match is a required field -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendsVirtualServiceClientPolicyTlsValidationSubjectAlternativeNamesMatch { /// Exact is a required field pub exact: Vec, } /// A reference to an object that represents a TLS validation context trust -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendsVirtualServiceClientPolicyTlsValidationTrust { /// A reference to an object that represents a TLS validation context trust for an AWS Certicate Manager (ACM) certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -299,7 +301,7 @@ pub struct VirtualNodeBackendsVirtualServiceClientPolicyTlsValidationTrust { } /// A reference to an object that represents a TLS validation context trust for an AWS Certicate Manager (ACM) certificate. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendsVirtualServiceClientPolicyTlsValidationTrustAcm { /// One or more ACM Amazon Resource Name (ARN)s. #[serde(rename = "certificateAuthorityARNs")] @@ -307,7 +309,7 @@ pub struct VirtualNodeBackendsVirtualServiceClientPolicyTlsValidationTrustAcm { } /// An object that represents a TLS validation context trust for a local file. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendsVirtualServiceClientPolicyTlsValidationTrustFile { /// The certificate trust chain for a certificate stored on the file system of the virtual node that the proxy is running on. #[serde(rename = "certificateChain")] @@ -315,7 +317,7 @@ pub struct VirtualNodeBackendsVirtualServiceClientPolicyTlsValidationTrustFile { } /// An object that represents a TLS validation context trust for a SDS. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendsVirtualServiceClientPolicyTlsValidationTrustSds { /// The certificate trust chain for a certificate obtained via SDS #[serde(rename = "secretName")] @@ -323,7 +325,7 @@ pub struct VirtualNodeBackendsVirtualServiceClientPolicyTlsValidationTrustSds { } /// Reference to Kubernetes VirtualService CR in cluster that is acting as a virtual node backend. Exactly one of 'virtualServiceRef' or 'virtualServiceARN' must be specified. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeBackendsVirtualServiceVirtualServiceRef { /// Name is the name of VirtualService CR pub name: String, @@ -333,7 +335,7 @@ pub struct VirtualNodeBackendsVirtualServiceVirtualServiceRef { } /// Listener refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_Listener.html -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualNodeListeners { /// The connection pool settings for the listener #[serde(default, skip_serializing_if = "Option::is_none", rename = "connectionPool")] @@ -356,7 +358,7 @@ pub struct VirtualNodeListeners { } /// The connection pool settings for the listener -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeListenersConnectionPool { /// Specifies grpc connection pool settings for the virtual node listener #[serde(default, skip_serializing_if = "Option::is_none")] @@ -373,7 +375,7 @@ pub struct VirtualNodeListenersConnectionPool { } /// Specifies grpc connection pool settings for the virtual node listener -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeListenersConnectionPoolGrpc { /// Represents the maximum number of inflight requests that an envoy can concurrently support across all the hosts in the upstream cluster #[serde(rename = "maxRequests")] @@ -381,7 +383,7 @@ pub struct VirtualNodeListenersConnectionPoolGrpc { } /// Specifies http connection pool settings for the virtual node listener -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeListenersConnectionPoolHttp { /// Represents the maximum number of outbound TCP connections the envoy can establish concurrently with all the hosts in the upstream cluster. #[serde(rename = "maxConnections")] @@ -392,7 +394,7 @@ pub struct VirtualNodeListenersConnectionPoolHttp { } /// Specifies http2 connection pool settings for the virtual node listener -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeListenersConnectionPoolHttp2 { /// Represents the maximum number of inflight requests that an envoy can concurrently support across all the hosts in the upstream cluster #[serde(rename = "maxRequests")] @@ -400,7 +402,7 @@ pub struct VirtualNodeListenersConnectionPoolHttp2 { } /// Specifies tcp connection pool settings for the virtual node listener -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeListenersConnectionPoolTcp { /// Represents the maximum number of outbound TCP connections the envoy can establish concurrently with all the hosts in the upstream cluster. #[serde(rename = "maxConnections")] @@ -408,7 +410,7 @@ pub struct VirtualNodeListenersConnectionPoolTcp { } /// The health check information for the listener. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualNodeListenersHealthCheck { /// The number of consecutive successful health checks that must occur before declaring listener healthy. #[serde(rename = "healthyThreshold")] @@ -433,7 +435,7 @@ pub struct VirtualNodeListenersHealthCheck { } /// The health check information for the listener. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualNodeListenersHealthCheckProtocol { #[serde(rename = "grpc")] Grpc, @@ -446,7 +448,7 @@ pub enum VirtualNodeListenersHealthCheckProtocol { } /// The outlier detection for the listener -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualNodeListenersOutlierDetection { /// The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected #[serde(rename = "baseEjectionDuration")] @@ -462,7 +464,7 @@ pub struct VirtualNodeListenersOutlierDetection { } /// The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualNodeListenersOutlierDetectionBaseEjectionDuration { /// A unit of time. pub unit: VirtualNodeListenersOutlierDetectionBaseEjectionDurationUnit, @@ -471,7 +473,7 @@ pub struct VirtualNodeListenersOutlierDetectionBaseEjectionDuration { } /// The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualNodeListenersOutlierDetectionBaseEjectionDurationUnit { #[serde(rename = "s")] S, @@ -480,7 +482,7 @@ pub enum VirtualNodeListenersOutlierDetectionBaseEjectionDurationUnit { } /// The time interval between ejection analysis sweeps. This can result in both new ejections as well as hosts being returned to service -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualNodeListenersOutlierDetectionInterval { /// A unit of time. pub unit: VirtualNodeListenersOutlierDetectionIntervalUnit, @@ -489,7 +491,7 @@ pub struct VirtualNodeListenersOutlierDetectionInterval { } /// The time interval between ejection analysis sweeps. This can result in both new ejections as well as hosts being returned to service -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualNodeListenersOutlierDetectionIntervalUnit { #[serde(rename = "s")] S, @@ -498,7 +500,7 @@ pub enum VirtualNodeListenersOutlierDetectionIntervalUnit { } /// The port mapping information for the listener. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualNodeListenersPortMapping { /// The port used for the port mapping. pub port: i64, @@ -507,7 +509,7 @@ pub struct VirtualNodeListenersPortMapping { } /// The port mapping information for the listener. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualNodeListenersPortMappingProtocol { #[serde(rename = "grpc")] Grpc, @@ -520,7 +522,7 @@ pub enum VirtualNodeListenersPortMappingProtocol { } /// A reference to an object that represents -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeListenersTimeout { /// Specifies grpc timeout information for the virtual node. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -537,7 +539,7 @@ pub struct VirtualNodeListenersTimeout { } /// Specifies grpc timeout information for the virtual node. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeListenersTimeoutGrpc { /// An object that represents idle timeout duration. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -548,7 +550,7 @@ pub struct VirtualNodeListenersTimeoutGrpc { } /// An object that represents idle timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualNodeListenersTimeoutGrpcIdle { /// A unit of time. pub unit: VirtualNodeListenersTimeoutGrpcIdleUnit, @@ -557,7 +559,7 @@ pub struct VirtualNodeListenersTimeoutGrpcIdle { } /// An object that represents idle timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualNodeListenersTimeoutGrpcIdleUnit { #[serde(rename = "s")] S, @@ -566,7 +568,7 @@ pub enum VirtualNodeListenersTimeoutGrpcIdleUnit { } /// An object that represents per request timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualNodeListenersTimeoutGrpcPerRequest { /// A unit of time. pub unit: VirtualNodeListenersTimeoutGrpcPerRequestUnit, @@ -575,7 +577,7 @@ pub struct VirtualNodeListenersTimeoutGrpcPerRequest { } /// An object that represents per request timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualNodeListenersTimeoutGrpcPerRequestUnit { #[serde(rename = "s")] S, @@ -584,7 +586,7 @@ pub enum VirtualNodeListenersTimeoutGrpcPerRequestUnit { } /// Specifies http timeout information for the virtual node. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeListenersTimeoutHttp { /// An object that represents idle timeout duration. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -595,7 +597,7 @@ pub struct VirtualNodeListenersTimeoutHttp { } /// An object that represents idle timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualNodeListenersTimeoutHttpIdle { /// A unit of time. pub unit: VirtualNodeListenersTimeoutHttpIdleUnit, @@ -604,7 +606,7 @@ pub struct VirtualNodeListenersTimeoutHttpIdle { } /// An object that represents idle timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualNodeListenersTimeoutHttpIdleUnit { #[serde(rename = "s")] S, @@ -613,7 +615,7 @@ pub enum VirtualNodeListenersTimeoutHttpIdleUnit { } /// An object that represents per request timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualNodeListenersTimeoutHttpPerRequest { /// A unit of time. pub unit: VirtualNodeListenersTimeoutHttpPerRequestUnit, @@ -622,7 +624,7 @@ pub struct VirtualNodeListenersTimeoutHttpPerRequest { } /// An object that represents per request timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualNodeListenersTimeoutHttpPerRequestUnit { #[serde(rename = "s")] S, @@ -631,7 +633,7 @@ pub enum VirtualNodeListenersTimeoutHttpPerRequestUnit { } /// Specifies http2 information for the virtual node. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeListenersTimeoutHttp2 { /// An object that represents idle timeout duration. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -642,7 +644,7 @@ pub struct VirtualNodeListenersTimeoutHttp2 { } /// An object that represents idle timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualNodeListenersTimeoutHttp2Idle { /// A unit of time. pub unit: VirtualNodeListenersTimeoutHttp2IdleUnit, @@ -651,7 +653,7 @@ pub struct VirtualNodeListenersTimeoutHttp2Idle { } /// An object that represents idle timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualNodeListenersTimeoutHttp2IdleUnit { #[serde(rename = "s")] S, @@ -660,7 +662,7 @@ pub enum VirtualNodeListenersTimeoutHttp2IdleUnit { } /// An object that represents per request timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualNodeListenersTimeoutHttp2PerRequest { /// A unit of time. pub unit: VirtualNodeListenersTimeoutHttp2PerRequestUnit, @@ -669,7 +671,7 @@ pub struct VirtualNodeListenersTimeoutHttp2PerRequest { } /// An object that represents per request timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualNodeListenersTimeoutHttp2PerRequestUnit { #[serde(rename = "s")] S, @@ -678,7 +680,7 @@ pub enum VirtualNodeListenersTimeoutHttp2PerRequestUnit { } /// Specifies tcp timeout information for the virtual node. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeListenersTimeoutTcp { /// An object that represents idle timeout duration. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -686,7 +688,7 @@ pub struct VirtualNodeListenersTimeoutTcp { } /// An object that represents idle timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualNodeListenersTimeoutTcpIdle { /// A unit of time. pub unit: VirtualNodeListenersTimeoutTcpIdleUnit, @@ -695,7 +697,7 @@ pub struct VirtualNodeListenersTimeoutTcpIdle { } /// An object that represents idle timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualNodeListenersTimeoutTcpIdleUnit { #[serde(rename = "s")] S, @@ -704,7 +706,7 @@ pub enum VirtualNodeListenersTimeoutTcpIdleUnit { } /// A reference to an object that represents the Transport Layer Security (TLS) properties for a listener. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualNodeListenersTls { /// A reference to an object that represents a listener's TLS certificate. pub certificate: VirtualNodeListenersTlsCertificate, @@ -716,7 +718,7 @@ pub struct VirtualNodeListenersTls { } /// A reference to an object that represents a listener's TLS certificate. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeListenersTlsCertificate { /// A reference to an object that represents an AWS Certificate Manager (ACM) certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -730,7 +732,7 @@ pub struct VirtualNodeListenersTlsCertificate { } /// A reference to an object that represents an AWS Certificate Manager (ACM) certificate. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeListenersTlsCertificateAcm { /// The Amazon Resource Name (ARN) for the certificate. #[serde(rename = "certificateARN")] @@ -738,7 +740,7 @@ pub struct VirtualNodeListenersTlsCertificateAcm { } /// A reference to an object that represents a local file certificate. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeListenersTlsCertificateFile { /// The certificate chain for the certificate. #[serde(rename = "certificateChain")] @@ -749,7 +751,7 @@ pub struct VirtualNodeListenersTlsCertificateFile { } /// A reference to an object that represents an SDS certificate. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeListenersTlsCertificateSds { /// The certificate trust chain for a certificate issued via SDS cluster #[serde(rename = "secretName")] @@ -757,7 +759,7 @@ pub struct VirtualNodeListenersTlsCertificateSds { } /// A reference to an object that represents the Transport Layer Security (TLS) properties for a listener. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualNodeListenersTlsMode { #[serde(rename = "DISABLED")] Disabled, @@ -768,7 +770,7 @@ pub enum VirtualNodeListenersTlsMode { } /// A reference to an object that represents an SDS Trust Domain -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeListenersTlsValidation { /// Possible alternative names to consider #[serde(default, skip_serializing_if = "Option::is_none", rename = "subjectAlternativeNames")] @@ -777,7 +779,7 @@ pub struct VirtualNodeListenersTlsValidation { } /// Possible alternative names to consider -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeListenersTlsValidationSubjectAlternativeNames { /// Match is a required field #[serde(rename = "match")] @@ -785,13 +787,13 @@ pub struct VirtualNodeListenersTlsValidationSubjectAlternativeNames { } /// Match is a required field -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeListenersTlsValidationSubjectAlternativeNamesMatch { /// Exact is a required field pub exact: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeListenersTlsValidationTrust { /// An object that represents a TLS validation context trust for a local file. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -802,7 +804,7 @@ pub struct VirtualNodeListenersTlsValidationTrust { } /// An object that represents a TLS validation context trust for a local file. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeListenersTlsValidationTrustFile { /// The certificate trust chain for a certificate stored on the file system of the virtual node that the proxy is running on. #[serde(rename = "certificateChain")] @@ -810,7 +812,7 @@ pub struct VirtualNodeListenersTlsValidationTrustFile { } /// An object that represents a TLS validation context trust for an SDS server -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeListenersTlsValidationTrustSds { /// The certificate trust chain for a certificate obtained via SDS #[serde(rename = "secretName")] @@ -818,7 +820,7 @@ pub struct VirtualNodeListenersTlsValidationTrustSds { } /// The inbound and outbound access logging information for the virtual node. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeLogging { /// The access log configuration for a virtual node. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessLog")] @@ -826,7 +828,7 @@ pub struct VirtualNodeLogging { } /// The access log configuration for a virtual node. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeLoggingAccessLog { /// The file object to send virtual node access logs to. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -834,7 +836,7 @@ pub struct VirtualNodeLoggingAccessLog { } /// The file object to send virtual node access logs to. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeLoggingAccessLogFile { /// Structured access log output format #[serde(default, skip_serializing_if = "Option::is_none")] @@ -844,7 +846,7 @@ pub struct VirtualNodeLoggingAccessLogFile { } /// Structured access log output format -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeLoggingAccessLogFileFormat { /// Output specified fields as a JSON object #[serde(default, skip_serializing_if = "Option::is_none")] @@ -854,7 +856,7 @@ pub struct VirtualNodeLoggingAccessLogFileFormat { pub text: Option, } -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeLoggingAccessLogFileFormatJson { /// The name of the field in the JSON object pub key: String, @@ -864,7 +866,7 @@ pub struct VirtualNodeLoggingAccessLogFileFormatJson { /// A reference to k8s Mesh CR that this VirtualNode belongs to. The admission controller populates it using Meshes's selector, and prevents users from setting this field. /// Populated by the system. Read-only. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeMeshRef { /// Name is the name of Mesh CR pub name: String, @@ -873,7 +875,7 @@ pub struct VirtualNodeMeshRef { } /// PodSelector selects Pods using labels to designate VirtualNode membership. This field follows standard label selector semantics: if present but empty, it selects all pods within namespace. if absent, it selects no pod. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodePodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -884,7 +886,7 @@ pub struct VirtualNodePodSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodePodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -896,7 +898,7 @@ pub struct VirtualNodePodSelectorMatchExpressions { } /// The service discovery information for the virtual node. Optional if there is no inbound traffic(no listeners). Mandatory if a listener is specified. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeServiceDiscovery { /// Specifies any AWS Cloud Map information for the virtual node. #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsCloudMap")] @@ -907,7 +909,7 @@ pub struct VirtualNodeServiceDiscovery { } /// Specifies any AWS Cloud Map information for the virtual node. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeServiceDiscoveryAwsCloudMap { /// A string map that contains attributes with values that you can use to filter instances by any custom attribute that you specified when you registered the instance #[serde(default, skip_serializing_if = "Option::is_none")] @@ -921,7 +923,7 @@ pub struct VirtualNodeServiceDiscoveryAwsCloudMap { } /// AWSCloudMapInstanceAttribute refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_AwsCloudMapInstanceAttribute.html -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeServiceDiscoveryAwsCloudMapAttributes { /// The name of an AWS Cloud Map service instance attribute key. pub key: String, @@ -930,7 +932,7 @@ pub struct VirtualNodeServiceDiscoveryAwsCloudMapAttributes { } /// Specifies the DNS information for the virtual node. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeServiceDiscoveryDns { /// Specifies the DNS service discovery hostname for the virtual node. pub hostname: String, @@ -940,7 +942,7 @@ pub struct VirtualNodeServiceDiscoveryDns { } /// Specifies the DNS information for the virtual node. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualNodeServiceDiscoveryDnsResponseType { #[serde(rename = "ENDPOINTS")] Endpoints, @@ -949,7 +951,7 @@ pub enum VirtualNodeServiceDiscoveryDnsResponseType { } /// VirtualNodeStatus defines the observed state of VirtualNode -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualNodeStatus { /// The current VirtualNode status. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualrouters.rs b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualrouters.rs index 5bb0ea62c..4dc1f3035 100644 --- a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualrouters.rs +++ b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualrouters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-app-mesh-controller-for-k8/appmesh.k8s.aws/v1beta2/virtualrouters.yaml +// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-app-mesh-controller-for-k8/appmesh.k8s.aws/v1beta2/virtualrouters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,13 @@ mod prelude { use self::prelude::*; /// VirtualRouterSpec defines the desired state of VirtualRouter refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_VirtualRouterSpec.html -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "appmesh.k8s.aws", version = "v1beta2", kind = "VirtualRouter", plural = "virtualrouters")] #[kube(namespaced)] #[kube(status = "VirtualRouterStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] +#[kube(derive="PartialEq")] pub struct VirtualRouterSpec { /// AWSName is the AppMesh VirtualRouter object's name. If unspecified or empty, it defaults to be "${name}_${namespace}" of k8s VirtualRouter #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsName")] @@ -34,7 +36,7 @@ pub struct VirtualRouterSpec { } /// VirtualRouterListener refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_VirtualRouterListener.html -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualRouterListeners { /// The port mapping information for the listener. #[serde(rename = "portMapping")] @@ -42,7 +44,7 @@ pub struct VirtualRouterListeners { } /// The port mapping information for the listener. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualRouterListenersPortMapping { /// The port used for the port mapping. pub port: i64, @@ -51,7 +53,7 @@ pub struct VirtualRouterListenersPortMapping { } /// The port mapping information for the listener. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualRouterListenersPortMappingProtocol { #[serde(rename = "grpc")] Grpc, @@ -65,7 +67,7 @@ pub enum VirtualRouterListenersPortMappingProtocol { /// A reference to k8s Mesh CR that this VirtualRouter belongs to. The admission controller populates it using Meshes's selector, and prevents users from setting this field. /// Populated by the system. Read-only. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterMeshRef { /// Name is the name of Mesh CR pub name: String, @@ -74,7 +76,7 @@ pub struct VirtualRouterMeshRef { } /// Route refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_RouteSpec.html -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutes { /// An object that represents the specification of a gRPC route. #[serde(default, skip_serializing_if = "Option::is_none", rename = "grpcRoute")] @@ -96,7 +98,7 @@ pub struct VirtualRouterRoutes { } /// An object that represents the specification of a gRPC route. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesGrpcRoute { /// An object that represents the action to take if a match is determined. pub action: VirtualRouterRoutesGrpcRouteAction, @@ -112,7 +114,7 @@ pub struct VirtualRouterRoutesGrpcRoute { } /// An object that represents the action to take if a match is determined. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesGrpcRouteAction { /// An object that represents the targets that traffic is routed to when a request matches the route. #[serde(rename = "weightedTargets")] @@ -120,7 +122,7 @@ pub struct VirtualRouterRoutesGrpcRouteAction { } /// WeightedTarget refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_WeightedTarget.html -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesGrpcRouteActionWeightedTargets { /// Specifies the targeted port of the weighted object #[serde(default, skip_serializing_if = "Option::is_none")] @@ -136,7 +138,7 @@ pub struct VirtualRouterRoutesGrpcRouteActionWeightedTargets { } /// Reference to Kubernetes VirtualNode CR in cluster to associate with the weighted target. Exactly one of 'virtualNodeRef' or 'virtualNodeARN' must be specified. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesGrpcRouteActionWeightedTargetsVirtualNodeRef { /// Name is the name of VirtualNode CR pub name: String, @@ -146,7 +148,7 @@ pub struct VirtualRouterRoutesGrpcRouteActionWeightedTargetsVirtualNodeRef { } /// An object that represents the criteria for determining a request match. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesGrpcRouteMatch { /// An object that represents the data to match from the request. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -163,7 +165,7 @@ pub struct VirtualRouterRoutesGrpcRouteMatch { } /// GRPCRouteMetadata refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_GrpcRouteMetadata.html -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesGrpcRouteMatchMetadata { /// Specify True to match anything except the match criteria. The default value is False. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -176,7 +178,7 @@ pub struct VirtualRouterRoutesGrpcRouteMatchMetadata { } /// An object that represents the data to match from the request. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesGrpcRouteMatchMetadataMatch { /// The value sent by the client must match the specified value exactly. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -196,7 +198,7 @@ pub struct VirtualRouterRoutesGrpcRouteMatchMetadataMatch { } /// An object that represents the range of values to match on -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesGrpcRouteMatchMetadataMatchRange { /// The end of the range. pub end: i64, @@ -205,7 +207,7 @@ pub struct VirtualRouterRoutesGrpcRouteMatchMetadataMatchRange { } /// An object that represents a retry policy. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualRouterRoutesGrpcRouteRetryPolicy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "grpcRetryEvents")] pub grpc_retry_events: Option>, @@ -222,7 +224,7 @@ pub struct VirtualRouterRoutesGrpcRouteRetryPolicy { } /// An object that represents a duration of time. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualRouterRoutesGrpcRouteRetryPolicyPerRetryTimeout { /// A unit of time. pub unit: VirtualRouterRoutesGrpcRouteRetryPolicyPerRetryTimeoutUnit, @@ -231,7 +233,7 @@ pub struct VirtualRouterRoutesGrpcRouteRetryPolicyPerRetryTimeout { } /// An object that represents a duration of time. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualRouterRoutesGrpcRouteRetryPolicyPerRetryTimeoutUnit { #[serde(rename = "s")] S, @@ -240,7 +242,7 @@ pub enum VirtualRouterRoutesGrpcRouteRetryPolicyPerRetryTimeoutUnit { } /// An object that represents a grpc timeout. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesGrpcRouteTimeout { /// An object that represents idle timeout duration. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -251,7 +253,7 @@ pub struct VirtualRouterRoutesGrpcRouteTimeout { } /// An object that represents idle timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualRouterRoutesGrpcRouteTimeoutIdle { /// A unit of time. pub unit: VirtualRouterRoutesGrpcRouteTimeoutIdleUnit, @@ -260,7 +262,7 @@ pub struct VirtualRouterRoutesGrpcRouteTimeoutIdle { } /// An object that represents idle timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualRouterRoutesGrpcRouteTimeoutIdleUnit { #[serde(rename = "s")] S, @@ -269,7 +271,7 @@ pub enum VirtualRouterRoutesGrpcRouteTimeoutIdleUnit { } /// An object that represents per request timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualRouterRoutesGrpcRouteTimeoutPerRequest { /// A unit of time. pub unit: VirtualRouterRoutesGrpcRouteTimeoutPerRequestUnit, @@ -278,7 +280,7 @@ pub struct VirtualRouterRoutesGrpcRouteTimeoutPerRequest { } /// An object that represents per request timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualRouterRoutesGrpcRouteTimeoutPerRequestUnit { #[serde(rename = "s")] S, @@ -287,7 +289,7 @@ pub enum VirtualRouterRoutesGrpcRouteTimeoutPerRequestUnit { } /// An object that represents the specification of an HTTP/2 route. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesHttp2Route { /// An object that represents the action to take if a match is determined. pub action: VirtualRouterRoutesHttp2RouteAction, @@ -303,7 +305,7 @@ pub struct VirtualRouterRoutesHttp2Route { } /// An object that represents the action to take if a match is determined. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesHttp2RouteAction { /// An object that represents the targets that traffic is routed to when a request matches the route. #[serde(rename = "weightedTargets")] @@ -311,7 +313,7 @@ pub struct VirtualRouterRoutesHttp2RouteAction { } /// WeightedTarget refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_WeightedTarget.html -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesHttp2RouteActionWeightedTargets { /// Specifies the targeted port of the weighted object #[serde(default, skip_serializing_if = "Option::is_none")] @@ -327,7 +329,7 @@ pub struct VirtualRouterRoutesHttp2RouteActionWeightedTargets { } /// Reference to Kubernetes VirtualNode CR in cluster to associate with the weighted target. Exactly one of 'virtualNodeRef' or 'virtualNodeARN' must be specified. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesHttp2RouteActionWeightedTargetsVirtualNodeRef { /// Name is the name of VirtualNode CR pub name: String, @@ -337,7 +339,7 @@ pub struct VirtualRouterRoutesHttp2RouteActionWeightedTargetsVirtualNodeRef { } /// An object that represents the criteria for determining a request match. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesHttp2RouteMatch { /// An object that represents the client request headers to match on. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -363,7 +365,7 @@ pub struct VirtualRouterRoutesHttp2RouteMatch { } /// HTTPRouteHeader refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_HttpRouteHeader.html -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesHttp2RouteMatchHeaders { /// Specify True to match anything except the match criteria. The default value is False. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -376,7 +378,7 @@ pub struct VirtualRouterRoutesHttp2RouteMatchHeaders { } /// The HeaderMatchMethod object. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesHttp2RouteMatchHeadersMatch { /// The value sent by the client must match the specified value exactly. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -396,7 +398,7 @@ pub struct VirtualRouterRoutesHttp2RouteMatchHeadersMatch { } /// An object that represents the range of values to match on. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesHttp2RouteMatchHeadersMatchRange { /// The end of the range. pub end: i64, @@ -405,7 +407,7 @@ pub struct VirtualRouterRoutesHttp2RouteMatchHeadersMatchRange { } /// An object that represents the criteria for determining a request match. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualRouterRoutesHttp2RouteMatchMethod { #[serde(rename = "CONNECT")] Connect, @@ -428,7 +430,7 @@ pub enum VirtualRouterRoutesHttp2RouteMatchMethod { } /// The client specified Path to match on. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesHttp2RouteMatchPath { /// The value sent by the client must match the specified value exactly. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -439,7 +441,7 @@ pub struct VirtualRouterRoutesHttp2RouteMatchPath { } /// HTTPQueryParameters refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_HttpQueryParameter.html -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesHttp2RouteMatchQueryParameters { /// The QueryMatchMethod object. #[serde(default, skip_serializing_if = "Option::is_none", rename = "match")] @@ -448,14 +450,14 @@ pub struct VirtualRouterRoutesHttp2RouteMatchQueryParameters { } /// The QueryMatchMethod object. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesHttp2RouteMatchQueryParametersMatch { #[serde(default, skip_serializing_if = "Option::is_none")] pub exact: Option, } /// An object that represents the criteria for determining a request match. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualRouterRoutesHttp2RouteMatchScheme { #[serde(rename = "http")] Http, @@ -464,7 +466,7 @@ pub enum VirtualRouterRoutesHttp2RouteMatchScheme { } /// An object that represents a retry policy. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualRouterRoutesHttp2RouteRetryPolicy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpRetryEvents")] pub http_retry_events: Option>, @@ -479,7 +481,7 @@ pub struct VirtualRouterRoutesHttp2RouteRetryPolicy { } /// An object that represents a duration of time -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualRouterRoutesHttp2RouteRetryPolicyPerRetryTimeout { /// A unit of time. pub unit: VirtualRouterRoutesHttp2RouteRetryPolicyPerRetryTimeoutUnit, @@ -488,7 +490,7 @@ pub struct VirtualRouterRoutesHttp2RouteRetryPolicyPerRetryTimeout { } /// An object that represents a duration of time -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualRouterRoutesHttp2RouteRetryPolicyPerRetryTimeoutUnit { #[serde(rename = "s")] S, @@ -497,7 +499,7 @@ pub enum VirtualRouterRoutesHttp2RouteRetryPolicyPerRetryTimeoutUnit { } /// An object that represents a http timeout. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesHttp2RouteTimeout { /// An object that represents idle timeout duration. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -508,7 +510,7 @@ pub struct VirtualRouterRoutesHttp2RouteTimeout { } /// An object that represents idle timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualRouterRoutesHttp2RouteTimeoutIdle { /// A unit of time. pub unit: VirtualRouterRoutesHttp2RouteTimeoutIdleUnit, @@ -517,7 +519,7 @@ pub struct VirtualRouterRoutesHttp2RouteTimeoutIdle { } /// An object that represents idle timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualRouterRoutesHttp2RouteTimeoutIdleUnit { #[serde(rename = "s")] S, @@ -526,7 +528,7 @@ pub enum VirtualRouterRoutesHttp2RouteTimeoutIdleUnit { } /// An object that represents per request timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualRouterRoutesHttp2RouteTimeoutPerRequest { /// A unit of time. pub unit: VirtualRouterRoutesHttp2RouteTimeoutPerRequestUnit, @@ -535,7 +537,7 @@ pub struct VirtualRouterRoutesHttp2RouteTimeoutPerRequest { } /// An object that represents per request timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualRouterRoutesHttp2RouteTimeoutPerRequestUnit { #[serde(rename = "s")] S, @@ -544,7 +546,7 @@ pub enum VirtualRouterRoutesHttp2RouteTimeoutPerRequestUnit { } /// An object that represents the specification of an HTTP route. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesHttpRoute { /// An object that represents the action to take if a match is determined. pub action: VirtualRouterRoutesHttpRouteAction, @@ -560,7 +562,7 @@ pub struct VirtualRouterRoutesHttpRoute { } /// An object that represents the action to take if a match is determined. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesHttpRouteAction { /// An object that represents the targets that traffic is routed to when a request matches the route. #[serde(rename = "weightedTargets")] @@ -568,7 +570,7 @@ pub struct VirtualRouterRoutesHttpRouteAction { } /// WeightedTarget refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_WeightedTarget.html -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesHttpRouteActionWeightedTargets { /// Specifies the targeted port of the weighted object #[serde(default, skip_serializing_if = "Option::is_none")] @@ -584,7 +586,7 @@ pub struct VirtualRouterRoutesHttpRouteActionWeightedTargets { } /// Reference to Kubernetes VirtualNode CR in cluster to associate with the weighted target. Exactly one of 'virtualNodeRef' or 'virtualNodeARN' must be specified. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesHttpRouteActionWeightedTargetsVirtualNodeRef { /// Name is the name of VirtualNode CR pub name: String, @@ -594,7 +596,7 @@ pub struct VirtualRouterRoutesHttpRouteActionWeightedTargetsVirtualNodeRef { } /// An object that represents the criteria for determining a request match. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesHttpRouteMatch { /// An object that represents the client request headers to match on. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -620,7 +622,7 @@ pub struct VirtualRouterRoutesHttpRouteMatch { } /// HTTPRouteHeader refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_HttpRouteHeader.html -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesHttpRouteMatchHeaders { /// Specify True to match anything except the match criteria. The default value is False. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -633,7 +635,7 @@ pub struct VirtualRouterRoutesHttpRouteMatchHeaders { } /// The HeaderMatchMethod object. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesHttpRouteMatchHeadersMatch { /// The value sent by the client must match the specified value exactly. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -653,7 +655,7 @@ pub struct VirtualRouterRoutesHttpRouteMatchHeadersMatch { } /// An object that represents the range of values to match on. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesHttpRouteMatchHeadersMatchRange { /// The end of the range. pub end: i64, @@ -662,7 +664,7 @@ pub struct VirtualRouterRoutesHttpRouteMatchHeadersMatchRange { } /// An object that represents the criteria for determining a request match. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualRouterRoutesHttpRouteMatchMethod { #[serde(rename = "CONNECT")] Connect, @@ -685,7 +687,7 @@ pub enum VirtualRouterRoutesHttpRouteMatchMethod { } /// The client specified Path to match on. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesHttpRouteMatchPath { /// The value sent by the client must match the specified value exactly. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -696,7 +698,7 @@ pub struct VirtualRouterRoutesHttpRouteMatchPath { } /// HTTPQueryParameters refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_HttpQueryParameter.html -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesHttpRouteMatchQueryParameters { /// The QueryMatchMethod object. #[serde(default, skip_serializing_if = "Option::is_none", rename = "match")] @@ -705,14 +707,14 @@ pub struct VirtualRouterRoutesHttpRouteMatchQueryParameters { } /// The QueryMatchMethod object. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesHttpRouteMatchQueryParametersMatch { #[serde(default, skip_serializing_if = "Option::is_none")] pub exact: Option, } /// An object that represents the criteria for determining a request match. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualRouterRoutesHttpRouteMatchScheme { #[serde(rename = "http")] Http, @@ -721,7 +723,7 @@ pub enum VirtualRouterRoutesHttpRouteMatchScheme { } /// An object that represents a retry policy. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualRouterRoutesHttpRouteRetryPolicy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpRetryEvents")] pub http_retry_events: Option>, @@ -736,7 +738,7 @@ pub struct VirtualRouterRoutesHttpRouteRetryPolicy { } /// An object that represents a duration of time -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualRouterRoutesHttpRouteRetryPolicyPerRetryTimeout { /// A unit of time. pub unit: VirtualRouterRoutesHttpRouteRetryPolicyPerRetryTimeoutUnit, @@ -745,7 +747,7 @@ pub struct VirtualRouterRoutesHttpRouteRetryPolicyPerRetryTimeout { } /// An object that represents a duration of time -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualRouterRoutesHttpRouteRetryPolicyPerRetryTimeoutUnit { #[serde(rename = "s")] S, @@ -754,7 +756,7 @@ pub enum VirtualRouterRoutesHttpRouteRetryPolicyPerRetryTimeoutUnit { } /// An object that represents a http timeout. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesHttpRouteTimeout { /// An object that represents idle timeout duration. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -765,7 +767,7 @@ pub struct VirtualRouterRoutesHttpRouteTimeout { } /// An object that represents idle timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualRouterRoutesHttpRouteTimeoutIdle { /// A unit of time. pub unit: VirtualRouterRoutesHttpRouteTimeoutIdleUnit, @@ -774,7 +776,7 @@ pub struct VirtualRouterRoutesHttpRouteTimeoutIdle { } /// An object that represents idle timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualRouterRoutesHttpRouteTimeoutIdleUnit { #[serde(rename = "s")] S, @@ -783,7 +785,7 @@ pub enum VirtualRouterRoutesHttpRouteTimeoutIdleUnit { } /// An object that represents per request timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualRouterRoutesHttpRouteTimeoutPerRequest { /// A unit of time. pub unit: VirtualRouterRoutesHttpRouteTimeoutPerRequestUnit, @@ -792,7 +794,7 @@ pub struct VirtualRouterRoutesHttpRouteTimeoutPerRequest { } /// An object that represents per request timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualRouterRoutesHttpRouteTimeoutPerRequestUnit { #[serde(rename = "s")] S, @@ -801,7 +803,7 @@ pub enum VirtualRouterRoutesHttpRouteTimeoutPerRequestUnit { } /// An object that represents the specification of a TCP route. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesTcpRoute { /// The action to take if a match is determined. pub action: VirtualRouterRoutesTcpRouteAction, @@ -814,7 +816,7 @@ pub struct VirtualRouterRoutesTcpRoute { } /// The action to take if a match is determined. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesTcpRouteAction { /// An object that represents the targets that traffic is routed to when a request matches the route. #[serde(rename = "weightedTargets")] @@ -822,7 +824,7 @@ pub struct VirtualRouterRoutesTcpRouteAction { } /// WeightedTarget refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_WeightedTarget.html -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesTcpRouteActionWeightedTargets { /// Specifies the targeted port of the weighted object #[serde(default, skip_serializing_if = "Option::is_none")] @@ -838,7 +840,7 @@ pub struct VirtualRouterRoutesTcpRouteActionWeightedTargets { } /// Reference to Kubernetes VirtualNode CR in cluster to associate with the weighted target. Exactly one of 'virtualNodeRef' or 'virtualNodeARN' must be specified. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesTcpRouteActionWeightedTargetsVirtualNodeRef { /// Name is the name of VirtualNode CR pub name: String, @@ -848,7 +850,7 @@ pub struct VirtualRouterRoutesTcpRouteActionWeightedTargetsVirtualNodeRef { } /// An object that represents the criteria for determining a request match. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesTcpRouteMatch { /// Specifies the port to match requests with #[serde(default, skip_serializing_if = "Option::is_none")] @@ -856,7 +858,7 @@ pub struct VirtualRouterRoutesTcpRouteMatch { } /// An object that represents a tcp timeout. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterRoutesTcpRouteTimeout { /// An object that represents idle timeout duration. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -864,7 +866,7 @@ pub struct VirtualRouterRoutesTcpRouteTimeout { } /// An object that represents idle timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct VirtualRouterRoutesTcpRouteTimeoutIdle { /// A unit of time. pub unit: VirtualRouterRoutesTcpRouteTimeoutIdleUnit, @@ -873,7 +875,7 @@ pub struct VirtualRouterRoutesTcpRouteTimeoutIdle { } /// An object that represents idle timeout duration. -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub enum VirtualRouterRoutesTcpRouteTimeoutIdleUnit { #[serde(rename = "s")] S, @@ -882,7 +884,7 @@ pub enum VirtualRouterRoutesTcpRouteTimeoutIdleUnit { } /// VirtualRouterStatus defines the observed state of VirtualRouter -#[derive(Serialize, Deserialize, Clone, Debug)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualRouterStatus { /// The current VirtualRouter status. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualservices.rs b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualservices.rs index 18e5b050c..8a7ba598b 100644 --- a/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualservices.rs +++ b/kube-custom-resources-rs/src/appmesh_k8s_aws/v1beta2/virtualservices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-app-mesh-controller-for-k8/appmesh.k8s.aws/v1beta2/virtualservices.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/aws-app-mesh-controller-for-k8/appmesh.k8s.aws/v1beta2/virtualservices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/appprotect_f5_com/v1beta1/aplogconfs.rs b/kube-custom-resources-rs/src/appprotect_f5_com/v1beta1/aplogconfs.rs index 9d0d832fa..d0237c63c 100644 --- a/kube-custom-resources-rs/src/appprotect_f5_com/v1beta1/aplogconfs.rs +++ b/kube-custom-resources-rs/src/appprotect_f5_com/v1beta1/aplogconfs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/appprotect.f5.com/v1beta1/aplogconfs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/appprotect.f5.com/v1beta1/aplogconfs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/appprotect_f5_com/v1beta1/apusersigs.rs b/kube-custom-resources-rs/src/appprotect_f5_com/v1beta1/apusersigs.rs index d4a568614..5eee807c5 100644 --- a/kube-custom-resources-rs/src/appprotect_f5_com/v1beta1/apusersigs.rs +++ b/kube-custom-resources-rs/src/appprotect_f5_com/v1beta1/apusersigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/appprotect.f5.com/v1beta1/apusersigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/appprotect.f5.com/v1beta1/apusersigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/appprotectdos_f5_com/v1beta1/apdoslogconfs.rs b/kube-custom-resources-rs/src/appprotectdos_f5_com/v1beta1/apdoslogconfs.rs index 8592ea47a..b2c5c772e 100644 --- a/kube-custom-resources-rs/src/appprotectdos_f5_com/v1beta1/apdoslogconfs.rs +++ b/kube-custom-resources-rs/src/appprotectdos_f5_com/v1beta1/apdoslogconfs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/appprotectdos.f5.com/v1beta1/apdoslogconfs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/appprotectdos.f5.com/v1beta1/apdoslogconfs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/appprotectdos_f5_com/v1beta1/apdospolicies.rs b/kube-custom-resources-rs/src/appprotectdos_f5_com/v1beta1/apdospolicies.rs index bbe3eb532..524fe7900 100644 --- a/kube-custom-resources-rs/src/appprotectdos_f5_com/v1beta1/apdospolicies.rs +++ b/kube-custom-resources-rs/src/appprotectdos_f5_com/v1beta1/apdospolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/appprotectdos.f5.com/v1beta1/apdospolicies.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/appprotectdos.f5.com/v1beta1/apdospolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/appprotectdos_f5_com/v1beta1/dosprotectedresources.rs b/kube-custom-resources-rs/src/appprotectdos_f5_com/v1beta1/dosprotectedresources.rs index 2490c26c1..f003e1dd9 100644 --- a/kube-custom-resources-rs/src/appprotectdos_f5_com/v1beta1/dosprotectedresources.rs +++ b/kube-custom-resources-rs/src/appprotectdos_f5_com/v1beta1/dosprotectedresources.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/appprotectdos.f5.com/v1beta1/dosprotectedresources.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/appprotectdos.f5.com/v1beta1/dosprotectedresources.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apicasts.rs b/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apicasts.rs index baf343682..cd99608ee 100644 --- a/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apicasts.rs +++ b/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apicasts.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/3scale/apicast-operator/apps.3scale.net/v1alpha1/apicasts.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/3scale/apicast-operator/apps.3scale.net/v1alpha1/apicasts.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// APIcastSpec defines the desired state of APIcast. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "apps.3scale.net", version = "v1alpha1", kind = "APIcast", plural = "apicasts")] #[kube(namespaced)] #[kube(status = "APIcastStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct APIcastSpec { /// Secret reference to a Kubernetes Secret containing the admin portal endpoint URL. The Secret must be located in the same namespace. @@ -143,7 +144,7 @@ pub struct APIcastSpec { } /// Secret reference to a Kubernetes Secret containing the admin portal endpoint URL. The Secret must be located in the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIcastAdminPortalCredentialsRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -160,7 +161,7 @@ pub enum APIcastConfigurationLoadMode { } /// CustomEnvironmentSpec contains or has reference to an APIcast custom environment -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIcastCustomEnvironments { /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. #[serde(rename = "secretRef")] @@ -168,7 +169,7 @@ pub struct APIcastCustomEnvironments { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIcastCustomEnvironmentsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -176,7 +177,7 @@ pub struct APIcastCustomEnvironmentsSecretRef { } /// CustomPolicySpec contains or has reference to an APIcast custom policy -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIcastCustomPolicies { /// Name specifies the name of the custom policy pub name: String, @@ -188,7 +189,7 @@ pub struct APIcastCustomPolicies { } /// SecretRef specifies the secret holding the custom policy metadata and lua code -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIcastCustomPoliciesSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -196,7 +197,7 @@ pub struct APIcastCustomPoliciesSecretRef { } /// Secret reference to a Kubernetes secret containing the gateway configuration. The Secret must be located in the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIcastEmbeddedConfigurationSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -204,7 +205,7 @@ pub struct APIcastEmbeddedConfigurationSecretRef { } /// ExposedHost is the domain name used for external access. By default no external access is configured. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIcastExposedHost { pub host: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -212,7 +213,7 @@ pub struct APIcastExposedHost { } /// IngressTLS describes the transport layer security associated with an ingress. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIcastExposedHostTls { /// hosts is a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -223,7 +224,7 @@ pub struct APIcastExposedHostTls { } /// HTTPSCertificateSecretRef references secret containing the X.509 certificate in the PEM format and the X.509 certificate secret key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIcastHttpsCertificateSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -286,7 +287,7 @@ pub enum APIcastOidcLogLevel { } /// OpenTelemetry contains the gateway instrumentation configuration with APIcast. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIcastOpenTelemetry { /// Enabled controls whether OpenTelemetry integration with APIcast is enabled. By default it is not enabled. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -300,7 +301,7 @@ pub struct APIcastOpenTelemetry { } /// TracingConfigSecretRef contains a Secret reference the Opentelemetry configuration. The configuration file specification is defined in the Nginx instrumentation library repo https://github.com/open-telemetry/opentelemetry-cpp-contrib/tree/main/instrumentation/nginx -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIcastOpenTelemetryTracingConfigSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -308,7 +309,7 @@ pub struct APIcastOpenTelemetryTracingConfigSecretRef { } /// OpenTracingSpec contains the OpenTracing integration configuration with APIcast. Deprecated -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIcastOpenTracing { /// Enabled controls whether OpenTracing integration with APIcast is enabled. By default it is not enabled. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -322,7 +323,7 @@ pub struct APIcastOpenTracing { } /// TracingConfigSecretRef contains a Secret reference the OpenTracing configuration. Each supported tracing library provides a default configuration file that is used if TracingConfig is not specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIcastOpenTracingTracingConfigSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -330,7 +331,7 @@ pub struct APIcastOpenTracingTracingConfigSecretRef { } /// Resources can be used to set custom compute Kubernetes Resource Requirements for the APIcast deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIcastResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -346,7 +347,7 @@ pub struct APIcastResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIcastResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, @@ -382,7 +383,7 @@ pub enum APIcastUpstreamRetryCases { } /// APIcastStatus defines the observed state of APIcast. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIcastStatus { /// Represents the observations of a foo's current state. Known .status.conditions.type are: "Available" #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apimanagerbackups.rs b/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apimanagerbackups.rs index 268399e36..b99553744 100644 --- a/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apimanagerbackups.rs +++ b/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apimanagerbackups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/apps.3scale.net/v1alpha1/apimanagerbackups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/apps.3scale.net/v1alpha1/apimanagerbackups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apimanagerrestores.rs b/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apimanagerrestores.rs index 0e13758dc..098a23d94 100644 --- a/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apimanagerrestores.rs +++ b/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apimanagerrestores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/apps.3scale.net/v1alpha1/apimanagerrestores.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/apps.3scale.net/v1alpha1/apimanagerrestores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apimanagers.rs b/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apimanagers.rs index 9ceec9ea1..a6a062d17 100644 --- a/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apimanagers.rs +++ b/kube-custom-resources-rs/src/apps_3scale_net/v1alpha1/apimanagers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/apps.3scale.net/v1alpha1/apimanagers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/apps.3scale.net/v1alpha1/apimanagers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/bases.rs b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/bases.rs index ebcd47193..689cc4d37 100644 --- a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/bases.rs +++ b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/bases.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/bases.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/bases.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/descriptions.rs b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/descriptions.rs index 69b05a00c..b30dd27ad 100644 --- a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/descriptions.rs +++ b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/descriptions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/descriptions.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/descriptions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -31,7 +31,7 @@ pub struct DescriptionSpec { pub raw: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DescriptionCharts { /// Name of the HelmChart. pub name: String, @@ -47,7 +47,7 @@ pub enum DescriptionDeployer { } /// DescriptionStatus defines the observed state of Description -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DescriptionStatus { /// ManifestStatuses contains a list of running statuses of manifests in DescriptionSpec. #[serde(default, skip_serializing_if = "Option::is_none", rename = "manifestStatuses")] @@ -61,7 +61,7 @@ pub struct DescriptionStatus { } /// ManifestStatus contains details for the current status of this feed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DescriptionStatusManifestStatuses { /// APIVersion defines the versioned schema of this representation of an object. #[serde(rename = "apiVersion")] diff --git a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/feedinventories.rs b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/feedinventories.rs index f98aede77..8c14047b2 100644 --- a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/feedinventories.rs +++ b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/feedinventories.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/feedinventories.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/feedinventories.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/globalizations.rs b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/globalizations.rs index 5ff8a12b3..eee5319f3 100644 --- a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/globalizations.rs +++ b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/globalizations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/globalizations.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/globalizations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,9 +11,10 @@ mod prelude { use self::prelude::*; /// GlobalizationSpec defines the desired state of Globalization -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "apps.clusternet.io", version = "v1alpha1", kind = "Globalization", plural = "globalizations")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct GlobalizationSpec { /// ClusterAffinity is a label query over managed clusters by labels. @@ -39,7 +40,7 @@ pub struct GlobalizationSpec { /// ClusterAffinity is a label query over managed clusters by labels. /// If no labels are specified, all clusters will be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GlobalizationClusterAffinity { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -53,7 +54,7 @@ pub struct GlobalizationClusterAffinity { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GlobalizationClusterAffinityMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -69,7 +70,7 @@ pub struct GlobalizationClusterAffinityMatchExpressions { } /// Feed holds references to the objects the Globalization applies to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GlobalizationFeed { /// APIVersion defines the versioned schema of this representation of an object. #[serde(rename = "apiVersion")] diff --git a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/helmcharts.rs b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/helmcharts.rs index 56e2916da..71a86059c 100644 --- a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/helmcharts.rs +++ b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/helmcharts.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/helmcharts.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/helmcharts.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/helmreleases.rs b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/helmreleases.rs index 9199256ea..d9394e41b 100644 --- a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/helmreleases.rs +++ b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/helmreleases.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/helmreleases.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/helmreleases.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/localizations.rs b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/localizations.rs index 441347e46..236738550 100644 --- a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/localizations.rs +++ b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/localizations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/localizations.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/localizations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,10 +10,11 @@ mod prelude { use self::prelude::*; /// LocalizationSpec defines the desired state of Localization -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "apps.clusternet.io", version = "v1alpha1", kind = "Localization", plural = "localizations")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct LocalizationSpec { /// Feed holds references to the objects the Localization applies to. @@ -34,7 +35,7 @@ pub struct LocalizationSpec { } /// Feed holds references to the objects the Localization applies to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LocalizationFeed { /// APIVersion defines the versioned schema of this representation of an object. #[serde(rename = "apiVersion")] diff --git a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/manifests.rs b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/manifests.rs index 9e3da1a96..aa2fdecce 100644 --- a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/manifests.rs +++ b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/manifests.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/manifests.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/manifests.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/subscriptions.rs b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/subscriptions.rs index 446d0cf89..04c7f3015 100644 --- a/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/subscriptions.rs +++ b/kube-custom-resources-rs/src/apps_clusternet_io/v1alpha1/subscriptions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/subscriptions.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/apps.clusternet.io/v1alpha1/subscriptions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// SubscriptionSpec defines the desired state of Subscription -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "apps.clusternet.io", version = "v1alpha1", kind = "Subscription", plural = "subscriptions")] #[kube(namespaced)] #[kube(status = "SubscriptionStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct SubscriptionSpec { /// ClusterTolerations tolerates any matched taints of ManagedCluster. @@ -55,7 +56,7 @@ pub struct SubscriptionSpec { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SubscriptionClusterTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -120,7 +121,7 @@ pub struct SubscriptionDividingSchedulingDynamicDividing { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SubscriptionDividingSchedulingDynamicDividingPreferredClusters { /// A node selector term, associated with the corresponding weight. pub preference: SubscriptionDividingSchedulingDynamicDividingPreferredClustersPreference, @@ -129,7 +130,7 @@ pub struct SubscriptionDividingSchedulingDynamicDividingPreferredClusters { } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SubscriptionDividingSchedulingDynamicDividingPreferredClustersPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -141,7 +142,7 @@ pub struct SubscriptionDividingSchedulingDynamicDividingPreferredClustersPrefere /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SubscriptionDividingSchedulingDynamicDividingPreferredClustersPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -159,7 +160,7 @@ pub struct SubscriptionDividingSchedulingDynamicDividingPreferredClustersPrefere /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SubscriptionDividingSchedulingDynamicDividingPreferredClustersPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -183,7 +184,7 @@ pub enum SubscriptionDividingSchedulingDynamicDividingStrategy { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SubscriptionDividingSchedulingDynamicDividingTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods @@ -305,7 +306,7 @@ pub struct SubscriptionDividingSchedulingDynamicDividingTopologySpreadConstraint /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods /// in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SubscriptionDividingSchedulingDynamicDividingTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -319,7 +320,7 @@ pub struct SubscriptionDividingSchedulingDynamicDividingTopologySpreadConstraint /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SubscriptionDividingSchedulingDynamicDividingTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -342,7 +343,7 @@ pub enum SubscriptionDividingSchedulingType { } /// Feed defines the resource to be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SubscriptionFeeds { /// APIVersion defines the versioned schema of this representation of an object. #[serde(rename = "apiVersion")] @@ -372,7 +373,7 @@ pub enum SubscriptionSchedulingStrategy { } /// Subscriber defines -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SubscriptionSubscribers { /// ClusterAffinity is a label query over managed clusters by labels. #[serde(rename = "clusterAffinity")] @@ -390,7 +391,7 @@ pub struct SubscriptionSubscribers { } /// ClusterAffinity is a label query over managed clusters by labels. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SubscriptionSubscribersClusterAffinity { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -404,7 +405,7 @@ pub struct SubscriptionSubscribersClusterAffinity { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SubscriptionSubscribersClusterAffinityMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -423,7 +424,7 @@ pub struct SubscriptionSubscribersClusterAffinityMatchExpressions { /// During the scheduling, all the matching clusters will be treated as a subgroup instead of individual clusters. /// With subgroup, we can describe clusters with different regions, zones, etc. /// Present only when SchedulingBySubGroup is set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SubscriptionSubscribersSubGroupStrategy { /// MinClusters is the minimum number of clusters to be selected in this subgroup. /// If this value is more than the total number of clusters in this subgroup, then all clusters will be selected. @@ -432,7 +433,7 @@ pub struct SubscriptionSubscribersSubGroupStrategy { } /// SubscriptionStatus defines the observed state of Subscription -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SubscriptionStatus { /// AggregatedStatuses shows the aggregated statuses of feeds that are running in each child cluster. #[serde(default, skip_serializing_if = "Option::is_none", rename = "aggregatedStatuses")] @@ -455,7 +456,7 @@ pub struct SubscriptionStatus { } /// AggregatedStatus contains aggregated status of current feed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SubscriptionStatusAggregatedStatuses { /// APIVersion defines the versioned schema of this representation of an object. #[serde(rename = "apiVersion")] @@ -477,7 +478,7 @@ pub struct SubscriptionStatusAggregatedStatuses { } /// FeedStatusPerCluster shows the feed status running in current cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SubscriptionStatusAggregatedStatusesFeedStatusDetails { /// Available indicates whether the feed status is synced successfully to corresponding Description. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -494,7 +495,7 @@ pub struct SubscriptionStatusAggregatedStatusesFeedStatusDetails { } /// ReplicaStatus indicates the replica status of workload-type feed, such as Deployment/StatefulSet/Job. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SubscriptionStatusAggregatedStatusesFeedStatusDetailsReplicaStatus { /// The number of pending and running pods. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -532,7 +533,7 @@ pub struct SubscriptionStatusAggregatedStatusesFeedStatusDetailsReplicaStatus { } /// FeedStatusSummary aggregates the feed statuses from each child cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SubscriptionStatusAggregatedStatusesFeedStatusSummary { /// Available indicates whether the feed status is synced successfully to corresponding Description. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -543,7 +544,7 @@ pub struct SubscriptionStatusAggregatedStatusesFeedStatusSummary { } /// ReplicaStatus indicates the replica status of workload-type feed, such as Deployment/StatefulSet/Job. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SubscriptionStatusAggregatedStatusesFeedStatusSummaryReplicaStatus { /// The number of pending and running pods. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/apps_emqx_io/v1beta3/emqxbrokers.rs b/kube-custom-resources-rs/src/apps_emqx_io/v1beta3/emqxbrokers.rs index 756275fbc..947bd1ae3 100644 --- a/kube-custom-resources-rs/src/apps_emqx_io/v1beta3/emqxbrokers.rs +++ b/kube-custom-resources-rs/src/apps_emqx_io/v1beta3/emqxbrokers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v1beta3/emqxbrokers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v1beta3/emqxbrokers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_emqx_io/v1beta3/emqxenterprises.rs b/kube-custom-resources-rs/src/apps_emqx_io/v1beta3/emqxenterprises.rs index acc7306bc..e8de789a6 100644 --- a/kube-custom-resources-rs/src/apps_emqx_io/v1beta3/emqxenterprises.rs +++ b/kube-custom-resources-rs/src/apps_emqx_io/v1beta3/emqxenterprises.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v1beta3/emqxenterprises.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v1beta3/emqxenterprises.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_emqx_io/v1beta3/emqxplugins.rs b/kube-custom-resources-rs/src/apps_emqx_io/v1beta3/emqxplugins.rs index f4e03a93e..fd697d0eb 100644 --- a/kube-custom-resources-rs/src/apps_emqx_io/v1beta3/emqxplugins.rs +++ b/kube-custom-resources-rs/src/apps_emqx_io/v1beta3/emqxplugins.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v1beta3/emqxplugins.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v1beta3/emqxplugins.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/emqxbrokers.rs b/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/emqxbrokers.rs index 77945581c..e9225e6e5 100644 --- a/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/emqxbrokers.rs +++ b/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/emqxbrokers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v1beta4/emqxbrokers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v1beta4/emqxbrokers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/emqxenterprises.rs b/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/emqxenterprises.rs index 2d6fbd777..4879a50a8 100644 --- a/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/emqxenterprises.rs +++ b/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/emqxenterprises.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v1beta4/emqxenterprises.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v1beta4/emqxenterprises.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/emqxplugins.rs b/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/emqxplugins.rs index 568085e08..fc53da24d 100644 --- a/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/emqxplugins.rs +++ b/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/emqxplugins.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v1beta4/emqxplugins.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v1beta4/emqxplugins.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/rebalances.rs b/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/rebalances.rs index df7b1ae3a..8f0b80223 100644 --- a/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/rebalances.rs +++ b/kube-custom-resources-rs/src/apps_emqx_io/v1beta4/rebalances.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v1beta4/rebalances.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v1beta4/rebalances.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_emqx_io/v2alpha1/emqxes.rs b/kube-custom-resources-rs/src/apps_emqx_io/v2alpha1/emqxes.rs index c4ebe1774..fe3bc5793 100644 --- a/kube-custom-resources-rs/src/apps_emqx_io/v2alpha1/emqxes.rs +++ b/kube-custom-resources-rs/src/apps_emqx_io/v2alpha1/emqxes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v2alpha1/emqxes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v2alpha1/emqxes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "apps.emqx.io", version = "v2alpha1", kind = "EMQX", plural = "emqxes")] #[kube(namespaced)] #[kube(status = "EMQXStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct EMQXSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "bootstrapAPIKeys")] @@ -39,13 +40,13 @@ pub struct EMQXSpec { pub replicant_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXBootstrapApiKeys { pub key: String, pub secret: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -53,7 +54,7 @@ pub struct EMQXCoreTemplate { pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -67,7 +68,7 @@ pub struct EMQXCoreTemplateMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -115,7 +116,7 @@ pub struct EMQXCoreTemplateSpec { pub volume_claim_templates: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -125,7 +126,7 @@ pub struct EMQXCoreTemplateSpecAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -133,13 +134,13 @@ pub struct EMQXCoreTemplateSpecAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: EMQXCoreTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -147,7 +148,7 @@ pub struct EMQXCoreTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgno pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -155,7 +156,7 @@ pub struct EMQXCoreTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgno pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -163,13 +164,13 @@ pub struct EMQXCoreTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgno pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -177,7 +178,7 @@ pub struct EMQXCoreTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnor pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -185,7 +186,7 @@ pub struct EMQXCoreTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnor pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -193,7 +194,7 @@ pub struct EMQXCoreTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnor pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -201,14 +202,14 @@ pub struct EMQXCoreTemplateSpecAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: EMQXCoreTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -224,7 +225,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnor pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -232,7 +233,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnor pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -240,7 +241,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnor pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -248,7 +249,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnor pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -256,7 +257,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnor pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -272,7 +273,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnore pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -280,7 +281,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnore pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -288,7 +289,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnore pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -296,7 +297,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnore pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -304,7 +305,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnore pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -312,14 +313,14 @@ pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: EMQXCoreTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -335,7 +336,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingI pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -343,7 +344,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingI pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -351,7 +352,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingI pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -359,7 +360,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingI pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -367,7 +368,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingI pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -383,7 +384,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIg pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -391,7 +392,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIg pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -399,7 +400,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIg pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -407,7 +408,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIg pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -415,7 +416,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIg pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -441,7 +442,7 @@ pub struct EMQXCoreTemplateSpecContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -449,7 +450,7 @@ pub struct EMQXCoreTemplateSpecContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -461,7 +462,7 @@ pub struct EMQXCoreTemplateSpecContainerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -469,7 +470,7 @@ pub struct EMQXCoreTemplateSpecContainerSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -481,7 +482,7 @@ pub struct EMQXCoreTemplateSpecContainerSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -490,7 +491,7 @@ pub struct EMQXCoreTemplateSpecEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -502,7 +503,7 @@ pub struct EMQXCoreTemplateSpecEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -511,7 +512,7 @@ pub struct EMQXCoreTemplateSpecEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -519,7 +520,7 @@ pub struct EMQXCoreTemplateSpecEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -528,7 +529,7 @@ pub struct EMQXCoreTemplateSpecEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -537,7 +538,7 @@ pub struct EMQXCoreTemplateSpecEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -547,7 +548,7 @@ pub struct EMQXCoreTemplateSpecEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -555,7 +556,7 @@ pub struct EMQXCoreTemplateSpecEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -563,7 +564,7 @@ pub struct EMQXCoreTemplateSpecEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -614,7 +615,7 @@ pub struct EMQXCoreTemplateSpecExtraContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -623,7 +624,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -635,7 +636,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -644,7 +645,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -652,7 +653,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -661,7 +662,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -670,7 +671,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -680,7 +681,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -688,7 +689,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -696,7 +697,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -704,7 +705,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -716,13 +717,13 @@ pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -735,25 +736,25 @@ pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePostStartSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -765,13 +766,13 @@ pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -784,25 +785,25 @@ pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePreStopSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -826,20 +827,20 @@ pub struct EMQXCoreTemplateSpecExtraContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -852,20 +853,20 @@ pub struct EMQXCoreTemplateSpecExtraContainersLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -879,7 +880,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -903,20 +904,20 @@ pub struct EMQXCoreTemplateSpecExtraContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -929,20 +930,20 @@ pub struct EMQXCoreTemplateSpecExtraContainersReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -950,7 +951,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -960,12 +961,12 @@ pub struct EMQXCoreTemplateSpecExtraContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -991,7 +992,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -999,7 +1000,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1011,7 +1012,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1019,7 +1020,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1031,7 +1032,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1055,20 +1056,20 @@ pub struct EMQXCoreTemplateSpecExtraContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1081,27 +1082,27 @@ pub struct EMQXCoreTemplateSpecExtraContainersStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1116,7 +1117,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1131,7 +1132,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -1194,7 +1195,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1206,7 +1207,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesAwsElasticBlockStore { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -1222,7 +1223,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -1232,7 +1233,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1247,13 +1248,13 @@ pub struct EMQXCoreTemplateSpecExtraVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1265,13 +1266,13 @@ pub struct EMQXCoreTemplateSpecExtraVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1283,7 +1284,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1291,7 +1292,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1304,13 +1305,13 @@ pub struct EMQXCoreTemplateSpecExtraVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1318,7 +1319,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -1329,7 +1330,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1337,7 +1338,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1346,7 +1347,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesDownwardApiItemsResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -1354,20 +1355,20 @@ pub struct EMQXCoreTemplateSpecExtraVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -1381,7 +1382,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateMetadata pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -1403,7 +1404,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpec { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -1411,7 +1412,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecDataS pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -1421,7 +1422,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecDataS pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -1429,7 +1430,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecResou pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1437,7 +1438,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecSelec pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1445,7 +1446,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecSelec pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1459,7 +1460,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1472,13 +1473,13 @@ pub struct EMQXCoreTemplateSpecExtraVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -1486,7 +1487,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1498,7 +1499,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesGcePersistentDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -1507,7 +1508,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -1515,14 +1516,14 @@ pub struct EMQXCoreTemplateSpecExtraVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -1546,13 +1547,13 @@ pub struct EMQXCoreTemplateSpecExtraVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -1560,7 +1561,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -1568,7 +1569,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesPersistentVolumeClaim { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1576,7 +1577,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesPhotonPersistentDisk { pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1586,7 +1587,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesPortworxVolume { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1594,7 +1595,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterTrustBundle")] pub cluster_trust_bundle: Option, @@ -1608,7 +1609,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSources { pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesClusterTrustBundle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1621,7 +1622,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesClusterTrustBundle { pub signer_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesClusterTrustBundleLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1629,7 +1630,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesClusterTrustBundleLab pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesClusterTrustBundleLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1637,7 +1638,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesClusterTrustBundleLab pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -1647,7 +1648,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1655,13 +1656,13 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -1672,7 +1673,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1680,7 +1681,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesDownwardApiItemsField pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1689,7 +1690,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesDownwardApiItemsResou pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -1699,7 +1700,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesSecret { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1707,7 +1708,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -1716,7 +1717,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesServiceAccountToken { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -1730,7 +1731,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1748,13 +1749,13 @@ pub struct EMQXCoreTemplateSpecExtraVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1776,13 +1777,13 @@ pub struct EMQXCoreTemplateSpecExtraVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1794,7 +1795,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1802,7 +1803,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1816,13 +1817,13 @@ pub struct EMQXCoreTemplateSpecExtraVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1834,7 +1835,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -1885,7 +1886,7 @@ pub struct EMQXCoreTemplateSpecInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1894,7 +1895,7 @@ pub struct EMQXCoreTemplateSpecInitContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -1906,7 +1907,7 @@ pub struct EMQXCoreTemplateSpecInitContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1915,7 +1916,7 @@ pub struct EMQXCoreTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1923,7 +1924,7 @@ pub struct EMQXCoreTemplateSpecInitContainersEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1932,7 +1933,7 @@ pub struct EMQXCoreTemplateSpecInitContainersEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1941,7 +1942,7 @@ pub struct EMQXCoreTemplateSpecInitContainersEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -1951,7 +1952,7 @@ pub struct EMQXCoreTemplateSpecInitContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1959,7 +1960,7 @@ pub struct EMQXCoreTemplateSpecInitContainersEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1967,7 +1968,7 @@ pub struct EMQXCoreTemplateSpecInitContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -1975,7 +1976,7 @@ pub struct EMQXCoreTemplateSpecInitContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1987,13 +1988,13 @@ pub struct EMQXCoreTemplateSpecInitContainersLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2006,25 +2007,25 @@ pub struct EMQXCoreTemplateSpecInitContainersLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecyclePostStartSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2036,13 +2037,13 @@ pub struct EMQXCoreTemplateSpecInitContainersLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2055,25 +2056,25 @@ pub struct EMQXCoreTemplateSpecInitContainersLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecyclePreStopSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2097,20 +2098,20 @@ pub struct EMQXCoreTemplateSpecInitContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2123,20 +2124,20 @@ pub struct EMQXCoreTemplateSpecInitContainersLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -2150,7 +2151,7 @@ pub struct EMQXCoreTemplateSpecInitContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2174,20 +2175,20 @@ pub struct EMQXCoreTemplateSpecInitContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2200,20 +2201,20 @@ pub struct EMQXCoreTemplateSpecInitContainersReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -2221,7 +2222,7 @@ pub struct EMQXCoreTemplateSpecInitContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2231,12 +2232,12 @@ pub struct EMQXCoreTemplateSpecInitContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -2262,7 +2263,7 @@ pub struct EMQXCoreTemplateSpecInitContainersSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -2270,7 +2271,7 @@ pub struct EMQXCoreTemplateSpecInitContainersSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2282,7 +2283,7 @@ pub struct EMQXCoreTemplateSpecInitContainersSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2290,7 +2291,7 @@ pub struct EMQXCoreTemplateSpecInitContainersSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2302,7 +2303,7 @@ pub struct EMQXCoreTemplateSpecInitContainersSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2326,20 +2327,20 @@ pub struct EMQXCoreTemplateSpecInitContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2352,27 +2353,27 @@ pub struct EMQXCoreTemplateSpecInitContainersStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -2387,7 +2388,7 @@ pub struct EMQXCoreTemplateSpecInitContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -2395,7 +2396,7 @@ pub struct EMQXCoreTemplateSpecLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2407,13 +2408,13 @@ pub struct EMQXCoreTemplateSpecLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2426,25 +2427,25 @@ pub struct EMQXCoreTemplateSpecLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecyclePostStartSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2456,13 +2457,13 @@ pub struct EMQXCoreTemplateSpecLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2475,25 +2476,25 @@ pub struct EMQXCoreTemplateSpecLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecyclePreStopSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2517,20 +2518,20 @@ pub struct EMQXCoreTemplateSpecLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2543,20 +2544,20 @@ pub struct EMQXCoreTemplateSpecLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecPodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -2580,7 +2581,7 @@ pub struct EMQXCoreTemplateSpecPodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecPodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2592,7 +2593,7 @@ pub struct EMQXCoreTemplateSpecPodSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecPodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2600,13 +2601,13 @@ pub struct EMQXCoreTemplateSpecPodSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecPodSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecPodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2618,7 +2619,7 @@ pub struct EMQXCoreTemplateSpecPodSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -2632,7 +2633,7 @@ pub struct EMQXCoreTemplateSpecPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2656,20 +2657,20 @@ pub struct EMQXCoreTemplateSpecReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2682,20 +2683,20 @@ pub struct EMQXCoreTemplateSpecReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2705,12 +2706,12 @@ pub struct EMQXCoreTemplateSpecResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2734,20 +2735,20 @@ pub struct EMQXCoreTemplateSpecStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2760,20 +2761,20 @@ pub struct EMQXCoreTemplateSpecStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecToleRations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -2787,7 +2788,7 @@ pub struct EMQXCoreTemplateSpecToleRations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecVolumeClaimTemplates { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -2809,7 +2810,7 @@ pub struct EMQXCoreTemplateSpecVolumeClaimTemplates { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecVolumeClaimTemplatesDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -2817,7 +2818,7 @@ pub struct EMQXCoreTemplateSpecVolumeClaimTemplatesDataSource { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecVolumeClaimTemplatesDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -2827,7 +2828,7 @@ pub struct EMQXCoreTemplateSpecVolumeClaimTemplatesDataSourceRef { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecVolumeClaimTemplatesResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -2835,7 +2836,7 @@ pub struct EMQXCoreTemplateSpecVolumeClaimTemplatesResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecVolumeClaimTemplatesSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2843,7 +2844,7 @@ pub struct EMQXCoreTemplateSpecVolumeClaimTemplatesSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecVolumeClaimTemplatesSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2851,7 +2852,7 @@ pub struct EMQXCoreTemplateSpecVolumeClaimTemplatesSelectorMatchExpressions { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXDashboardServiceTemplate { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2865,7 +2866,7 @@ pub struct EMQXDashboardServiceTemplate { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXDashboardServiceTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -2879,7 +2880,7 @@ pub struct EMQXDashboardServiceTemplateMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXDashboardServiceTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] pub allocate_load_balancer_node_ports: Option, @@ -2921,7 +2922,7 @@ pub struct EMQXDashboardServiceTemplateSpec { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXDashboardServiceTemplateSpecPorts { #[serde(default, skip_serializing_if = "Option::is_none", rename = "appProtocol")] pub app_protocol: Option, @@ -2936,19 +2937,19 @@ pub struct EMQXDashboardServiceTemplateSpecPorts { pub target_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXDashboardServiceTemplateSpecSessionAffinityConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] pub client_ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXDashboardServiceTemplateSpecSessionAffinityConfigClientIp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXDashboardServiceTemplateStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, @@ -2956,13 +2957,13 @@ pub struct EMQXDashboardServiceTemplateStatus { pub load_balancer: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXDashboardServiceTemplateStatusLoadBalancer { #[serde(default, skip_serializing_if = "Option::is_none")] pub ingress: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXDashboardServiceTemplateStatusLoadBalancerIngress { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostname: Option, @@ -2974,7 +2975,7 @@ pub struct EMQXDashboardServiceTemplateStatusLoadBalancerIngress { pub ports: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXDashboardServiceTemplateStatusLoadBalancerIngressPorts { #[serde(default, skip_serializing_if = "Option::is_none")] pub error: Option, @@ -2982,13 +2983,13 @@ pub struct EMQXDashboardServiceTemplateStatusLoadBalancerIngressPorts { pub protocol: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXListenersServiceTemplate { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3002,7 +3003,7 @@ pub struct EMQXListenersServiceTemplate { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXListenersServiceTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3016,7 +3017,7 @@ pub struct EMQXListenersServiceTemplateMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXListenersServiceTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] pub allocate_load_balancer_node_ports: Option, @@ -3058,7 +3059,7 @@ pub struct EMQXListenersServiceTemplateSpec { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXListenersServiceTemplateSpecPorts { #[serde(default, skip_serializing_if = "Option::is_none", rename = "appProtocol")] pub app_protocol: Option, @@ -3073,19 +3074,19 @@ pub struct EMQXListenersServiceTemplateSpecPorts { pub target_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXListenersServiceTemplateSpecSessionAffinityConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] pub client_ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXListenersServiceTemplateSpecSessionAffinityConfigClientIp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXListenersServiceTemplateStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, @@ -3093,13 +3094,13 @@ pub struct EMQXListenersServiceTemplateStatus { pub load_balancer: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXListenersServiceTemplateStatusLoadBalancer { #[serde(default, skip_serializing_if = "Option::is_none")] pub ingress: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXListenersServiceTemplateStatusLoadBalancerIngress { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostname: Option, @@ -3111,7 +3112,7 @@ pub struct EMQXListenersServiceTemplateStatusLoadBalancerIngress { pub ports: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXListenersServiceTemplateStatusLoadBalancerIngressPorts { #[serde(default, skip_serializing_if = "Option::is_none")] pub error: Option, @@ -3119,7 +3120,7 @@ pub struct EMQXListenersServiceTemplateStatusLoadBalancerIngressPorts { pub protocol: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -3127,7 +3128,7 @@ pub struct EMQXReplicantTemplate { pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3141,7 +3142,7 @@ pub struct EMQXReplicantTemplateMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -3187,7 +3188,7 @@ pub struct EMQXReplicantTemplateSpec { pub tole_rations: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -3197,7 +3198,7 @@ pub struct EMQXReplicantTemplateSpecAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3205,13 +3206,13 @@ pub struct EMQXReplicantTemplateSpecAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: EMQXReplicantTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3219,7 +3220,7 @@ pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityPreferredDuringSchedulin pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -3227,7 +3228,7 @@ pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityPreferredDuringSchedulin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -3235,13 +3236,13 @@ pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityPreferredDuringSchedulin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3249,7 +3250,7 @@ pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityRequiredDuringScheduling pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -3257,7 +3258,7 @@ pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityRequiredDuringScheduling pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -3265,7 +3266,7 @@ pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityRequiredDuringScheduling pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3273,14 +3274,14 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: EMQXReplicantTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3296,7 +3297,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAffinityPreferredDuringScheduling pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3304,7 +3305,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAffinityPreferredDuringScheduling pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3312,7 +3313,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAffinityPreferredDuringScheduling pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3320,7 +3321,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAffinityPreferredDuringScheduling pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3328,7 +3329,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAffinityPreferredDuringScheduling pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3344,7 +3345,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAffinityRequiredDuringSchedulingI pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3352,7 +3353,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAffinityRequiredDuringSchedulingI pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3360,7 +3361,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAffinityRequiredDuringSchedulingI pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3368,7 +3369,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAffinityRequiredDuringSchedulingI pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3376,7 +3377,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAffinityRequiredDuringSchedulingI pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3384,14 +3385,14 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: EMQXReplicantTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3407,7 +3408,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedu pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3415,7 +3416,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3423,7 +3424,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3431,7 +3432,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3439,7 +3440,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3455,7 +3456,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedul pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3463,7 +3464,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedul pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3471,7 +3472,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedul pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3479,7 +3480,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedul pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3487,7 +3488,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedul pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -3513,7 +3514,7 @@ pub struct EMQXReplicantTemplateSpecContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -3521,7 +3522,7 @@ pub struct EMQXReplicantTemplateSpecContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -3533,7 +3534,7 @@ pub struct EMQXReplicantTemplateSpecContainerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -3541,7 +3542,7 @@ pub struct EMQXReplicantTemplateSpecContainerSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -3553,7 +3554,7 @@ pub struct EMQXReplicantTemplateSpecContainerSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3562,7 +3563,7 @@ pub struct EMQXReplicantTemplateSpecEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -3574,7 +3575,7 @@ pub struct EMQXReplicantTemplateSpecEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3583,7 +3584,7 @@ pub struct EMQXReplicantTemplateSpecEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3591,7 +3592,7 @@ pub struct EMQXReplicantTemplateSpecEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3600,7 +3601,7 @@ pub struct EMQXReplicantTemplateSpecEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3609,7 +3610,7 @@ pub struct EMQXReplicantTemplateSpecEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -3619,7 +3620,7 @@ pub struct EMQXReplicantTemplateSpecEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3627,7 +3628,7 @@ pub struct EMQXReplicantTemplateSpecEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3635,7 +3636,7 @@ pub struct EMQXReplicantTemplateSpecEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -3686,7 +3687,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3695,7 +3696,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -3707,7 +3708,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3716,7 +3717,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3724,7 +3725,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3733,7 +3734,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersEnvValueFromResourceFieldRef pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3742,7 +3743,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -3752,7 +3753,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3760,7 +3761,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3768,7 +3769,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -3776,7 +3777,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3788,13 +3789,13 @@ pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3807,25 +3808,25 @@ pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePostStartSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3837,13 +3838,13 @@ pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3856,25 +3857,25 @@ pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePreStopSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3898,20 +3899,20 @@ pub struct EMQXReplicantTemplateSpecExtraContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3924,20 +3925,20 @@ pub struct EMQXReplicantTemplateSpecExtraContainersLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -3951,7 +3952,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3975,20 +3976,20 @@ pub struct EMQXReplicantTemplateSpecExtraContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4001,20 +4002,20 @@ pub struct EMQXReplicantTemplateSpecExtraContainersReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -4022,7 +4023,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -4032,12 +4033,12 @@ pub struct EMQXReplicantTemplateSpecExtraContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -4063,7 +4064,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -4071,7 +4072,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -4083,7 +4084,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersSecurityContextSeLinuxOptions pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -4091,7 +4092,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersSecurityContextSeccompProfile pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4103,7 +4104,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersSecurityContextWindowsOptions pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4127,20 +4128,20 @@ pub struct EMQXReplicantTemplateSpecExtraContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4153,27 +4154,27 @@ pub struct EMQXReplicantTemplateSpecExtraContainersStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -4188,7 +4189,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -4203,7 +4204,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -4266,7 +4267,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4278,7 +4279,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesAwsElasticBlockStore { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -4294,7 +4295,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -4304,7 +4305,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4319,13 +4320,13 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4337,13 +4338,13 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -4355,7 +4356,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4363,7 +4364,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4376,13 +4377,13 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -4390,7 +4391,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -4401,7 +4402,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4409,7 +4410,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4418,7 +4419,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesDownwardApiItemsResourceFieldRef pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -4426,20 +4427,20 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -4453,7 +4454,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateMeta pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -4475,7 +4476,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpec pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -4483,7 +4484,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpec pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -4493,7 +4494,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpec pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -4501,7 +4502,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpec pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4509,7 +4510,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpec pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -4517,7 +4518,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpec pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4531,7 +4532,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4544,13 +4545,13 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -4558,7 +4559,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4570,7 +4571,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesGcePersistentDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -4579,7 +4580,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -4587,14 +4588,14 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -4618,13 +4619,13 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -4632,7 +4633,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -4640,7 +4641,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesPersistentVolumeClaim { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4648,7 +4649,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesPhotonPersistentDisk { pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4658,7 +4659,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesPortworxVolume { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -4666,7 +4667,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterTrustBundle")] pub cluster_trust_bundle: Option, @@ -4680,7 +4681,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSources { pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesClusterTrustBundle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -4693,7 +4694,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesClusterTrustBund pub signer_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesClusterTrustBundleLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4701,7 +4702,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesClusterTrustBund pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesClusterTrustBundleLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -4709,7 +4710,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesClusterTrustBund pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -4719,7 +4720,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4727,13 +4728,13 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -4744,7 +4745,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesDownwardApiItems pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4752,7 +4753,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesDownwardApiItems pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4761,7 +4762,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesDownwardApiItems pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -4771,7 +4772,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesSecret { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4779,7 +4780,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -4788,7 +4789,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesServiceAccountTo pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -4802,7 +4803,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4820,13 +4821,13 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4848,13 +4849,13 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -4866,7 +4867,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4874,7 +4875,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4888,13 +4889,13 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4906,7 +4907,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -4957,7 +4958,7 @@ pub struct EMQXReplicantTemplateSpecInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4966,7 +4967,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -4978,7 +4979,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4987,7 +4988,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4995,7 +4996,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -5004,7 +5005,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5013,7 +5014,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -5023,7 +5024,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -5031,7 +5032,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -5039,7 +5040,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -5047,7 +5048,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5059,13 +5060,13 @@ pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5078,25 +5079,25 @@ pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePostStartSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5108,13 +5109,13 @@ pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5127,25 +5128,25 @@ pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePreStopSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5169,20 +5170,20 @@ pub struct EMQXReplicantTemplateSpecInitContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5195,20 +5196,20 @@ pub struct EMQXReplicantTemplateSpecInitContainersLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -5222,7 +5223,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5246,20 +5247,20 @@ pub struct EMQXReplicantTemplateSpecInitContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5272,20 +5273,20 @@ pub struct EMQXReplicantTemplateSpecInitContainersReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -5293,7 +5294,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -5303,12 +5304,12 @@ pub struct EMQXReplicantTemplateSpecInitContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -5334,7 +5335,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -5342,7 +5343,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5354,7 +5355,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersSecurityContextSeLinuxOptions pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5362,7 +5363,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersSecurityContextSeccompProfile pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5374,7 +5375,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersSecurityContextWindowsOptions pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5398,20 +5399,20 @@ pub struct EMQXReplicantTemplateSpecInitContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5424,27 +5425,27 @@ pub struct EMQXReplicantTemplateSpecInitContainersStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -5459,7 +5460,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -5467,7 +5468,7 @@ pub struct EMQXReplicantTemplateSpecLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5479,13 +5480,13 @@ pub struct EMQXReplicantTemplateSpecLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5498,25 +5499,25 @@ pub struct EMQXReplicantTemplateSpecLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecyclePostStartSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5528,13 +5529,13 @@ pub struct EMQXReplicantTemplateSpecLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5547,25 +5548,25 @@ pub struct EMQXReplicantTemplateSpecLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecyclePreStopSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5589,20 +5590,20 @@ pub struct EMQXReplicantTemplateSpecLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5615,20 +5616,20 @@ pub struct EMQXReplicantTemplateSpecLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecPodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -5652,7 +5653,7 @@ pub struct EMQXReplicantTemplateSpecPodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecPodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5664,7 +5665,7 @@ pub struct EMQXReplicantTemplateSpecPodSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecPodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5672,13 +5673,13 @@ pub struct EMQXReplicantTemplateSpecPodSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecPodSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecPodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5690,7 +5691,7 @@ pub struct EMQXReplicantTemplateSpecPodSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -5704,7 +5705,7 @@ pub struct EMQXReplicantTemplateSpecPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5728,20 +5729,20 @@ pub struct EMQXReplicantTemplateSpecReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5754,20 +5755,20 @@ pub struct EMQXReplicantTemplateSpecReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -5777,12 +5778,12 @@ pub struct EMQXReplicantTemplateSpecResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5806,20 +5807,20 @@ pub struct EMQXReplicantTemplateSpecStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5832,20 +5833,20 @@ pub struct EMQXReplicantTemplateSpecStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecToleRations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -5859,7 +5860,7 @@ pub struct EMQXReplicantTemplateSpecToleRations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, @@ -5877,7 +5878,7 @@ pub struct EMQXStatus { pub replicant_node_replicas: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXStatusEmqxNodes { #[serde(default, skip_serializing_if = "Option::is_none")] pub connections: Option, diff --git a/kube-custom-resources-rs/src/apps_emqx_io/v2beta1/emqxes.rs b/kube-custom-resources-rs/src/apps_emqx_io/v2beta1/emqxes.rs index 54bc7f0bc..a4e7da06e 100644 --- a/kube-custom-resources-rs/src/apps_emqx_io/v2beta1/emqxes.rs +++ b/kube-custom-resources-rs/src/apps_emqx_io/v2beta1/emqxes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v2beta1/emqxes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v2beta1/emqxes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "apps.emqx.io", version = "v2beta1", kind = "EMQX", plural = "emqxes")] #[kube(namespaced)] #[kube(status = "EMQXStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct EMQXSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "bootstrapAPIKeys")] @@ -46,7 +47,7 @@ pub struct EMQXSpec { pub update_strategy: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXBootstrapApiKeys { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -56,13 +57,13 @@ pub struct EMQXBootstrapApiKeys { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXBootstrapApiKeysSecretRef { pub key: EMQXBootstrapApiKeysSecretRefKey, pub secret: EMQXBootstrapApiKeysSecretRefSecret, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXBootstrapApiKeysSecretRefKey { #[serde(rename = "secretKey")] pub secret_key: String, @@ -70,7 +71,7 @@ pub struct EMQXBootstrapApiKeysSecretRefKey { pub secret_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXBootstrapApiKeysSecretRefSecret { #[serde(rename = "secretKey")] pub secret_key: String, @@ -78,7 +79,7 @@ pub struct EMQXBootstrapApiKeysSecretRefSecret { pub secret_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub data: Option, @@ -92,7 +93,7 @@ pub enum EMQXConfigMode { Replace, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -100,7 +101,7 @@ pub struct EMQXCoreTemplate { pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -114,7 +115,7 @@ pub struct EMQXCoreTemplateMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -166,7 +167,7 @@ pub struct EMQXCoreTemplateSpec { pub volume_claim_templates: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -176,7 +177,7 @@ pub struct EMQXCoreTemplateSpecAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -184,13 +185,13 @@ pub struct EMQXCoreTemplateSpecAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: EMQXCoreTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -198,7 +199,7 @@ pub struct EMQXCoreTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgno pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -206,7 +207,7 @@ pub struct EMQXCoreTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgno pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -214,13 +215,13 @@ pub struct EMQXCoreTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgno pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -228,7 +229,7 @@ pub struct EMQXCoreTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnor pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -236,7 +237,7 @@ pub struct EMQXCoreTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnor pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -244,7 +245,7 @@ pub struct EMQXCoreTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnor pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -252,14 +253,14 @@ pub struct EMQXCoreTemplateSpecAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: EMQXCoreTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -275,7 +276,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnor pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -283,7 +284,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnor pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -291,7 +292,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnor pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -299,7 +300,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnor pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -307,7 +308,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnor pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -323,7 +324,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnore pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -331,7 +332,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnore pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -339,7 +340,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnore pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -347,7 +348,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnore pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -355,7 +356,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnore pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -363,14 +364,14 @@ pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: EMQXCoreTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -386,7 +387,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingI pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -394,7 +395,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingI pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -402,7 +403,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingI pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -410,7 +411,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingI pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -418,7 +419,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingI pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -434,7 +435,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIg pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -442,7 +443,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIg pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -450,7 +451,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIg pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -458,7 +459,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIg pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -466,7 +467,7 @@ pub struct EMQXCoreTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIg pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -492,7 +493,7 @@ pub struct EMQXCoreTemplateSpecContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -500,7 +501,7 @@ pub struct EMQXCoreTemplateSpecContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -512,7 +513,7 @@ pub struct EMQXCoreTemplateSpecContainerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -520,7 +521,7 @@ pub struct EMQXCoreTemplateSpecContainerSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -532,7 +533,7 @@ pub struct EMQXCoreTemplateSpecContainerSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -541,7 +542,7 @@ pub struct EMQXCoreTemplateSpecEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -553,7 +554,7 @@ pub struct EMQXCoreTemplateSpecEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -562,7 +563,7 @@ pub struct EMQXCoreTemplateSpecEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -570,7 +571,7 @@ pub struct EMQXCoreTemplateSpecEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -579,7 +580,7 @@ pub struct EMQXCoreTemplateSpecEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -588,7 +589,7 @@ pub struct EMQXCoreTemplateSpecEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -598,7 +599,7 @@ pub struct EMQXCoreTemplateSpecEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -606,7 +607,7 @@ pub struct EMQXCoreTemplateSpecEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -614,7 +615,7 @@ pub struct EMQXCoreTemplateSpecEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -665,7 +666,7 @@ pub struct EMQXCoreTemplateSpecExtraContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -674,7 +675,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -686,7 +687,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -695,7 +696,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -703,7 +704,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -712,7 +713,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -721,7 +722,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -731,7 +732,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -739,7 +740,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -747,7 +748,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -755,7 +756,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -767,13 +768,13 @@ pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -786,25 +787,25 @@ pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePostStartSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -816,13 +817,13 @@ pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -835,25 +836,25 @@ pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePreStopSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -877,20 +878,20 @@ pub struct EMQXCoreTemplateSpecExtraContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -903,20 +904,20 @@ pub struct EMQXCoreTemplateSpecExtraContainersLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -930,7 +931,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -954,20 +955,20 @@ pub struct EMQXCoreTemplateSpecExtraContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -980,20 +981,20 @@ pub struct EMQXCoreTemplateSpecExtraContainersReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -1001,7 +1002,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -1011,12 +1012,12 @@ pub struct EMQXCoreTemplateSpecExtraContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1042,7 +1043,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1050,7 +1051,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1062,7 +1063,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1070,7 +1071,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1082,7 +1083,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1106,20 +1107,20 @@ pub struct EMQXCoreTemplateSpecExtraContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1132,27 +1133,27 @@ pub struct EMQXCoreTemplateSpecExtraContainersStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1167,7 +1168,7 @@ pub struct EMQXCoreTemplateSpecExtraContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1182,7 +1183,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -1245,7 +1246,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1257,7 +1258,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesAwsElasticBlockStore { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -1273,7 +1274,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -1283,7 +1284,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1298,13 +1299,13 @@ pub struct EMQXCoreTemplateSpecExtraVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1316,13 +1317,13 @@ pub struct EMQXCoreTemplateSpecExtraVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1334,7 +1335,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1342,7 +1343,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1355,13 +1356,13 @@ pub struct EMQXCoreTemplateSpecExtraVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1369,7 +1370,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -1380,7 +1381,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1388,7 +1389,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1397,7 +1398,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesDownwardApiItemsResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -1405,20 +1406,20 @@ pub struct EMQXCoreTemplateSpecExtraVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -1432,7 +1433,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateMetadata pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -1454,7 +1455,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpec { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -1462,7 +1463,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecDataS pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -1472,7 +1473,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecDataS pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -1480,7 +1481,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecResou pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1488,7 +1489,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecSelec pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1496,7 +1497,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecSelec pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1510,7 +1511,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1523,13 +1524,13 @@ pub struct EMQXCoreTemplateSpecExtraVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -1537,7 +1538,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1549,7 +1550,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesGcePersistentDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -1558,7 +1559,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -1566,14 +1567,14 @@ pub struct EMQXCoreTemplateSpecExtraVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -1597,13 +1598,13 @@ pub struct EMQXCoreTemplateSpecExtraVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -1611,7 +1612,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -1619,7 +1620,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesPersistentVolumeClaim { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1627,7 +1628,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesPhotonPersistentDisk { pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1637,7 +1638,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesPortworxVolume { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1645,7 +1646,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterTrustBundle")] pub cluster_trust_bundle: Option, @@ -1659,7 +1660,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSources { pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesClusterTrustBundle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1672,7 +1673,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesClusterTrustBundle { pub signer_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesClusterTrustBundleLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1680,7 +1681,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesClusterTrustBundleLab pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesClusterTrustBundleLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1688,7 +1689,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesClusterTrustBundleLab pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -1698,7 +1699,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1706,13 +1707,13 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -1723,7 +1724,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1731,7 +1732,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesDownwardApiItemsField pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1740,7 +1741,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesDownwardApiItemsResou pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -1750,7 +1751,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesSecret { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1758,7 +1759,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -1767,7 +1768,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesProjectedSourcesServiceAccountToken { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -1781,7 +1782,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1799,13 +1800,13 @@ pub struct EMQXCoreTemplateSpecExtraVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1827,13 +1828,13 @@ pub struct EMQXCoreTemplateSpecExtraVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1845,7 +1846,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1853,7 +1854,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1867,13 +1868,13 @@ pub struct EMQXCoreTemplateSpecExtraVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecExtraVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1885,7 +1886,7 @@ pub struct EMQXCoreTemplateSpecExtraVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -1936,7 +1937,7 @@ pub struct EMQXCoreTemplateSpecInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1945,7 +1946,7 @@ pub struct EMQXCoreTemplateSpecInitContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -1957,7 +1958,7 @@ pub struct EMQXCoreTemplateSpecInitContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1966,7 +1967,7 @@ pub struct EMQXCoreTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1974,7 +1975,7 @@ pub struct EMQXCoreTemplateSpecInitContainersEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1983,7 +1984,7 @@ pub struct EMQXCoreTemplateSpecInitContainersEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1992,7 +1993,7 @@ pub struct EMQXCoreTemplateSpecInitContainersEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -2002,7 +2003,7 @@ pub struct EMQXCoreTemplateSpecInitContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2010,7 +2011,7 @@ pub struct EMQXCoreTemplateSpecInitContainersEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2018,7 +2019,7 @@ pub struct EMQXCoreTemplateSpecInitContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -2026,7 +2027,7 @@ pub struct EMQXCoreTemplateSpecInitContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2038,13 +2039,13 @@ pub struct EMQXCoreTemplateSpecInitContainersLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2057,25 +2058,25 @@ pub struct EMQXCoreTemplateSpecInitContainersLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecyclePostStartSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2087,13 +2088,13 @@ pub struct EMQXCoreTemplateSpecInitContainersLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2106,25 +2107,25 @@ pub struct EMQXCoreTemplateSpecInitContainersLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecyclePreStopSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2148,20 +2149,20 @@ pub struct EMQXCoreTemplateSpecInitContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2174,20 +2175,20 @@ pub struct EMQXCoreTemplateSpecInitContainersLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -2201,7 +2202,7 @@ pub struct EMQXCoreTemplateSpecInitContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2225,20 +2226,20 @@ pub struct EMQXCoreTemplateSpecInitContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2251,20 +2252,20 @@ pub struct EMQXCoreTemplateSpecInitContainersReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -2272,7 +2273,7 @@ pub struct EMQXCoreTemplateSpecInitContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2282,12 +2283,12 @@ pub struct EMQXCoreTemplateSpecInitContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -2313,7 +2314,7 @@ pub struct EMQXCoreTemplateSpecInitContainersSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -2321,7 +2322,7 @@ pub struct EMQXCoreTemplateSpecInitContainersSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2333,7 +2334,7 @@ pub struct EMQXCoreTemplateSpecInitContainersSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2341,7 +2342,7 @@ pub struct EMQXCoreTemplateSpecInitContainersSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2353,7 +2354,7 @@ pub struct EMQXCoreTemplateSpecInitContainersSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2377,20 +2378,20 @@ pub struct EMQXCoreTemplateSpecInitContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2403,27 +2404,27 @@ pub struct EMQXCoreTemplateSpecInitContainersStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -2438,7 +2439,7 @@ pub struct EMQXCoreTemplateSpecInitContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -2446,7 +2447,7 @@ pub struct EMQXCoreTemplateSpecLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2458,13 +2459,13 @@ pub struct EMQXCoreTemplateSpecLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2477,25 +2478,25 @@ pub struct EMQXCoreTemplateSpecLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecyclePostStartSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2507,13 +2508,13 @@ pub struct EMQXCoreTemplateSpecLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2526,25 +2527,25 @@ pub struct EMQXCoreTemplateSpecLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecyclePreStopSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2568,20 +2569,20 @@ pub struct EMQXCoreTemplateSpecLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2594,20 +2595,20 @@ pub struct EMQXCoreTemplateSpecLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecPodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -2631,7 +2632,7 @@ pub struct EMQXCoreTemplateSpecPodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecPodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2643,7 +2644,7 @@ pub struct EMQXCoreTemplateSpecPodSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecPodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2651,13 +2652,13 @@ pub struct EMQXCoreTemplateSpecPodSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecPodSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecPodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2669,7 +2670,7 @@ pub struct EMQXCoreTemplateSpecPodSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -2683,7 +2684,7 @@ pub struct EMQXCoreTemplateSpecPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2707,20 +2708,20 @@ pub struct EMQXCoreTemplateSpecReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2733,20 +2734,20 @@ pub struct EMQXCoreTemplateSpecReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2756,12 +2757,12 @@ pub struct EMQXCoreTemplateSpecResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2785,20 +2786,20 @@ pub struct EMQXCoreTemplateSpecStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2811,20 +2812,20 @@ pub struct EMQXCoreTemplateSpecStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecToleRations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -2838,7 +2839,7 @@ pub struct EMQXCoreTemplateSpecToleRations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -2852,7 +2853,7 @@ pub struct EMQXCoreTemplateSpecTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -2872,7 +2873,7 @@ pub struct EMQXCoreTemplateSpecTopologySpreadConstraints { pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2880,7 +2881,7 @@ pub struct EMQXCoreTemplateSpecTopologySpreadConstraintsLabelSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2888,7 +2889,7 @@ pub struct EMQXCoreTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpres pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecVolumeClaimTemplates { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -2910,7 +2911,7 @@ pub struct EMQXCoreTemplateSpecVolumeClaimTemplates { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecVolumeClaimTemplatesDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -2918,7 +2919,7 @@ pub struct EMQXCoreTemplateSpecVolumeClaimTemplatesDataSource { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecVolumeClaimTemplatesDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -2928,7 +2929,7 @@ pub struct EMQXCoreTemplateSpecVolumeClaimTemplatesDataSourceRef { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecVolumeClaimTemplatesResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -2936,7 +2937,7 @@ pub struct EMQXCoreTemplateSpecVolumeClaimTemplatesResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecVolumeClaimTemplatesSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2944,7 +2945,7 @@ pub struct EMQXCoreTemplateSpecVolumeClaimTemplatesSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXCoreTemplateSpecVolumeClaimTemplatesSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2952,7 +2953,7 @@ pub struct EMQXCoreTemplateSpecVolumeClaimTemplatesSelectorMatchExpressions { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXDashboardServiceTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, @@ -2962,7 +2963,7 @@ pub struct EMQXDashboardServiceTemplate { pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXDashboardServiceTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -2976,7 +2977,7 @@ pub struct EMQXDashboardServiceTemplateMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXDashboardServiceTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] pub allocate_load_balancer_node_ports: Option, @@ -3018,7 +3019,7 @@ pub struct EMQXDashboardServiceTemplateSpec { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXDashboardServiceTemplateSpecPorts { #[serde(default, skip_serializing_if = "Option::is_none", rename = "appProtocol")] pub app_protocol: Option, @@ -3033,25 +3034,25 @@ pub struct EMQXDashboardServiceTemplateSpecPorts { pub target_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXDashboardServiceTemplateSpecSessionAffinityConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] pub client_ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXDashboardServiceTemplateSpecSessionAffinityConfigClientIp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXListenersServiceTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, @@ -3061,7 +3062,7 @@ pub struct EMQXListenersServiceTemplate { pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXListenersServiceTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3075,7 +3076,7 @@ pub struct EMQXListenersServiceTemplateMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXListenersServiceTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] pub allocate_load_balancer_node_ports: Option, @@ -3117,7 +3118,7 @@ pub struct EMQXListenersServiceTemplateSpec { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXListenersServiceTemplateSpecPorts { #[serde(default, skip_serializing_if = "Option::is_none", rename = "appProtocol")] pub app_protocol: Option, @@ -3132,19 +3133,19 @@ pub struct EMQXListenersServiceTemplateSpecPorts { pub target_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXListenersServiceTemplateSpecSessionAffinityConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] pub client_ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXListenersServiceTemplateSpecSessionAffinityConfigClientIp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -3152,7 +3153,7 @@ pub struct EMQXReplicantTemplate { pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3166,7 +3167,7 @@ pub struct EMQXReplicantTemplateMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -3216,7 +3217,7 @@ pub struct EMQXReplicantTemplateSpec { pub topology_spread_constraints: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -3226,7 +3227,7 @@ pub struct EMQXReplicantTemplateSpecAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3234,13 +3235,13 @@ pub struct EMQXReplicantTemplateSpecAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: EMQXReplicantTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3248,7 +3249,7 @@ pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityPreferredDuringSchedulin pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -3256,7 +3257,7 @@ pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityPreferredDuringSchedulin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -3264,13 +3265,13 @@ pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityPreferredDuringSchedulin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3278,7 +3279,7 @@ pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityRequiredDuringScheduling pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -3286,7 +3287,7 @@ pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityRequiredDuringScheduling pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -3294,7 +3295,7 @@ pub struct EMQXReplicantTemplateSpecAffinityNodeAffinityRequiredDuringScheduling pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3302,14 +3303,14 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: EMQXReplicantTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3325,7 +3326,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAffinityPreferredDuringScheduling pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3333,7 +3334,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAffinityPreferredDuringScheduling pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3341,7 +3342,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAffinityPreferredDuringScheduling pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3349,7 +3350,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAffinityPreferredDuringScheduling pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3357,7 +3358,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAffinityPreferredDuringScheduling pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3373,7 +3374,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAffinityRequiredDuringSchedulingI pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3381,7 +3382,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAffinityRequiredDuringSchedulingI pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3389,7 +3390,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAffinityRequiredDuringSchedulingI pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3397,7 +3398,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAffinityRequiredDuringSchedulingI pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3405,7 +3406,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAffinityRequiredDuringSchedulingI pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3413,14 +3414,14 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: EMQXReplicantTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3436,7 +3437,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedu pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3444,7 +3445,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3452,7 +3453,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3460,7 +3461,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3468,7 +3469,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3484,7 +3485,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedul pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3492,7 +3493,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedul pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3500,7 +3501,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedul pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3508,7 +3509,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedul pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3516,7 +3517,7 @@ pub struct EMQXReplicantTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedul pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -3542,7 +3543,7 @@ pub struct EMQXReplicantTemplateSpecContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -3550,7 +3551,7 @@ pub struct EMQXReplicantTemplateSpecContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -3562,7 +3563,7 @@ pub struct EMQXReplicantTemplateSpecContainerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -3570,7 +3571,7 @@ pub struct EMQXReplicantTemplateSpecContainerSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -3582,7 +3583,7 @@ pub struct EMQXReplicantTemplateSpecContainerSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3591,7 +3592,7 @@ pub struct EMQXReplicantTemplateSpecEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -3603,7 +3604,7 @@ pub struct EMQXReplicantTemplateSpecEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3612,7 +3613,7 @@ pub struct EMQXReplicantTemplateSpecEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3620,7 +3621,7 @@ pub struct EMQXReplicantTemplateSpecEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3629,7 +3630,7 @@ pub struct EMQXReplicantTemplateSpecEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3638,7 +3639,7 @@ pub struct EMQXReplicantTemplateSpecEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -3648,7 +3649,7 @@ pub struct EMQXReplicantTemplateSpecEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3656,7 +3657,7 @@ pub struct EMQXReplicantTemplateSpecEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3664,7 +3665,7 @@ pub struct EMQXReplicantTemplateSpecEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -3715,7 +3716,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3724,7 +3725,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -3736,7 +3737,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3745,7 +3746,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3753,7 +3754,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3762,7 +3763,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersEnvValueFromResourceFieldRef pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3771,7 +3772,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -3781,7 +3782,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3789,7 +3790,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3797,7 +3798,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -3805,7 +3806,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3817,13 +3818,13 @@ pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3836,25 +3837,25 @@ pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePostStartSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3866,13 +3867,13 @@ pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3885,25 +3886,25 @@ pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePreStopSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3927,20 +3928,20 @@ pub struct EMQXReplicantTemplateSpecExtraContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3953,20 +3954,20 @@ pub struct EMQXReplicantTemplateSpecExtraContainersLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -3980,7 +3981,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4004,20 +4005,20 @@ pub struct EMQXReplicantTemplateSpecExtraContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4030,20 +4031,20 @@ pub struct EMQXReplicantTemplateSpecExtraContainersReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -4051,7 +4052,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -4061,12 +4062,12 @@ pub struct EMQXReplicantTemplateSpecExtraContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -4092,7 +4093,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -4100,7 +4101,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -4112,7 +4113,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersSecurityContextSeLinuxOptions pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -4120,7 +4121,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersSecurityContextSeccompProfile pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4132,7 +4133,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersSecurityContextWindowsOptions pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4156,20 +4157,20 @@ pub struct EMQXReplicantTemplateSpecExtraContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4182,27 +4183,27 @@ pub struct EMQXReplicantTemplateSpecExtraContainersStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -4217,7 +4218,7 @@ pub struct EMQXReplicantTemplateSpecExtraContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -4232,7 +4233,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -4295,7 +4296,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4307,7 +4308,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesAwsElasticBlockStore { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -4323,7 +4324,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -4333,7 +4334,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4348,13 +4349,13 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4366,13 +4367,13 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -4384,7 +4385,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4392,7 +4393,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4405,13 +4406,13 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -4419,7 +4420,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -4430,7 +4431,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4438,7 +4439,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4447,7 +4448,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesDownwardApiItemsResourceFieldRef pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -4455,20 +4456,20 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -4482,7 +4483,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateMeta pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -4504,7 +4505,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpec pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -4512,7 +4513,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpec pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -4522,7 +4523,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpec pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -4530,7 +4531,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpec pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4538,7 +4539,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpec pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -4546,7 +4547,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesEphemeralVolumeClaimTemplateSpec pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4560,7 +4561,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4573,13 +4574,13 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -4587,7 +4588,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4599,7 +4600,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesGcePersistentDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -4608,7 +4609,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -4616,14 +4617,14 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -4647,13 +4648,13 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -4661,7 +4662,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -4669,7 +4670,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesPersistentVolumeClaim { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4677,7 +4678,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesPhotonPersistentDisk { pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4687,7 +4688,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesPortworxVolume { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -4695,7 +4696,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterTrustBundle")] pub cluster_trust_bundle: Option, @@ -4709,7 +4710,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSources { pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesClusterTrustBundle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -4722,7 +4723,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesClusterTrustBund pub signer_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesClusterTrustBundleLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4730,7 +4731,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesClusterTrustBund pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesClusterTrustBundleLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -4738,7 +4739,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesClusterTrustBund pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -4748,7 +4749,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4756,13 +4757,13 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -4773,7 +4774,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesDownwardApiItems pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4781,7 +4782,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesDownwardApiItems pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4790,7 +4791,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesDownwardApiItems pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -4800,7 +4801,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesSecret { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4808,7 +4809,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -4817,7 +4818,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesProjectedSourcesServiceAccountTo pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -4831,7 +4832,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4849,13 +4850,13 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4877,13 +4878,13 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -4895,7 +4896,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4903,7 +4904,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4917,13 +4918,13 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecExtraVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4935,7 +4936,7 @@ pub struct EMQXReplicantTemplateSpecExtraVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -4986,7 +4987,7 @@ pub struct EMQXReplicantTemplateSpecInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4995,7 +4996,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -5007,7 +5008,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5016,7 +5017,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -5024,7 +5025,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -5033,7 +5034,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5042,7 +5043,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -5052,7 +5053,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -5060,7 +5061,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -5068,7 +5069,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -5076,7 +5077,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5088,13 +5089,13 @@ pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5107,25 +5108,25 @@ pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePostStartSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5137,13 +5138,13 @@ pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5156,25 +5157,25 @@ pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePreStopSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5198,20 +5199,20 @@ pub struct EMQXReplicantTemplateSpecInitContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5224,20 +5225,20 @@ pub struct EMQXReplicantTemplateSpecInitContainersLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -5251,7 +5252,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5275,20 +5276,20 @@ pub struct EMQXReplicantTemplateSpecInitContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5301,20 +5302,20 @@ pub struct EMQXReplicantTemplateSpecInitContainersReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -5322,7 +5323,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -5332,12 +5333,12 @@ pub struct EMQXReplicantTemplateSpecInitContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -5363,7 +5364,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -5371,7 +5372,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5383,7 +5384,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersSecurityContextSeLinuxOptions pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5391,7 +5392,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersSecurityContextSeccompProfile pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5403,7 +5404,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersSecurityContextWindowsOptions pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5427,20 +5428,20 @@ pub struct EMQXReplicantTemplateSpecInitContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5453,27 +5454,27 @@ pub struct EMQXReplicantTemplateSpecInitContainersStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -5488,7 +5489,7 @@ pub struct EMQXReplicantTemplateSpecInitContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -5496,7 +5497,7 @@ pub struct EMQXReplicantTemplateSpecLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5508,13 +5509,13 @@ pub struct EMQXReplicantTemplateSpecLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5527,25 +5528,25 @@ pub struct EMQXReplicantTemplateSpecLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecyclePostStartSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5557,13 +5558,13 @@ pub struct EMQXReplicantTemplateSpecLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5576,25 +5577,25 @@ pub struct EMQXReplicantTemplateSpecLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecyclePreStopSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5618,20 +5619,20 @@ pub struct EMQXReplicantTemplateSpecLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5644,20 +5645,20 @@ pub struct EMQXReplicantTemplateSpecLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecPodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -5681,7 +5682,7 @@ pub struct EMQXReplicantTemplateSpecPodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecPodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5693,7 +5694,7 @@ pub struct EMQXReplicantTemplateSpecPodSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecPodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5701,13 +5702,13 @@ pub struct EMQXReplicantTemplateSpecPodSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecPodSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecPodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5719,7 +5720,7 @@ pub struct EMQXReplicantTemplateSpecPodSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -5733,7 +5734,7 @@ pub struct EMQXReplicantTemplateSpecPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5757,20 +5758,20 @@ pub struct EMQXReplicantTemplateSpecReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5783,20 +5784,20 @@ pub struct EMQXReplicantTemplateSpecReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -5806,12 +5807,12 @@ pub struct EMQXReplicantTemplateSpecResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5835,20 +5836,20 @@ pub struct EMQXReplicantTemplateSpecStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5861,20 +5862,20 @@ pub struct EMQXReplicantTemplateSpecStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecToleRations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -5888,7 +5889,7 @@ pub struct EMQXReplicantTemplateSpecToleRations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -5902,7 +5903,7 @@ pub struct EMQXReplicantTemplateSpecTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5922,7 +5923,7 @@ pub struct EMQXReplicantTemplateSpecTopologySpreadConstraints { pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5930,7 +5931,7 @@ pub struct EMQXReplicantTemplateSpecTopologySpreadConstraintsLabelSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXReplicantTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5938,7 +5939,7 @@ pub struct EMQXReplicantTemplateSpecTopologySpreadConstraintsLabelSelectorMatchE pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXUpdateStrategy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "evacuationStrategy")] pub evacuation_strategy: Option, @@ -5948,7 +5949,7 @@ pub struct EMQXUpdateStrategy { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXUpdateStrategyEvacuationStrategy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "connEvictRate")] pub conn_evict_rate: Option, @@ -5963,7 +5964,7 @@ pub enum EMQXUpdateStrategyType { Recreate, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, @@ -5979,7 +5980,7 @@ pub struct EMQXStatus { pub replicant_nodes_status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXStatusCoreNodes { #[serde(default, skip_serializing_if = "Option::is_none")] pub connections: Option, @@ -6003,7 +6004,7 @@ pub struct EMQXStatusCoreNodes { pub version: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXStatusCoreNodesStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "collisionCount")] pub collision_count: Option, @@ -6021,7 +6022,7 @@ pub struct EMQXStatusCoreNodesStatus { pub update_revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXStatusNodEvacuationsStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub connection_eviction_rate: Option, @@ -6041,7 +6042,7 @@ pub struct EMQXStatusNodEvacuationsStatus { pub stats: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXStatusNodEvacuationsStatusStats { #[serde(default, skip_serializing_if = "Option::is_none")] pub current_connected: Option, @@ -6053,7 +6054,7 @@ pub struct EMQXStatusNodEvacuationsStatusStats { pub initial_sessions: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXStatusReplicantNodes { #[serde(default, skip_serializing_if = "Option::is_none")] pub connections: Option, @@ -6077,7 +6078,7 @@ pub struct EMQXStatusReplicantNodes { pub version: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EMQXStatusReplicantNodesStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "collisionCount")] pub collision_count: Option, diff --git a/kube-custom-resources-rs/src/apps_emqx_io/v2beta1/rebalances.rs b/kube-custom-resources-rs/src/apps_emqx_io/v2beta1/rebalances.rs index 23c6b1465..b69e3d879 100644 --- a/kube-custom-resources-rs/src/apps_emqx_io/v2beta1/rebalances.rs +++ b/kube-custom-resources-rs/src/apps_emqx_io/v2beta1/rebalances.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v2beta1/rebalances.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/emqx/emqx-operator/apps.emqx.io/v2beta1/rebalances.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_gitlab_com/v1beta1/gitlabs.rs b/kube-custom-resources-rs/src/apps_gitlab_com/v1beta1/gitlabs.rs index 5aef5df08..4a8ea338c 100644 --- a/kube-custom-resources-rs/src/apps_gitlab_com/v1beta1/gitlabs.rs +++ b/kube-custom-resources-rs/src/apps_gitlab_com/v1beta1/gitlabs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/gitlab-org/cloud-native/gitlab-operator/apps.gitlab.com/v1beta1/gitlabs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/gitlab-org/cloud-native/gitlab-operator/apps.gitlab.com/v1beta1/gitlabs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// Specification of the desired behavior of a GitLab instance. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "apps.gitlab.com", version = "v1beta1", kind = "GitLab", plural = "gitlabs")] #[kube(namespaced)] #[kube(status = "GitLabStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct GitLabSpec { /// The specification of GitLab Chart that is used to deploy the instance. @@ -25,7 +26,7 @@ pub struct GitLabSpec { } /// The specification of GitLab Chart that is used to deploy the instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GitLabChart { /// ChartValues is the set of Helm values that is used to render the GitLab Chart. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -36,7 +37,7 @@ pub struct GitLabChart { } /// Most recently observed status of the GitLab instance. It is read-only to the user. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GitLabStatus { pub conditions: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/apps_gitlab_com/v1beta2/runners.rs b/kube-custom-resources-rs/src/apps_gitlab_com/v1beta2/runners.rs index 5e2541341..02643ddf4 100644 --- a/kube-custom-resources-rs/src/apps_gitlab_com/v1beta2/runners.rs +++ b/kube-custom-resources-rs/src/apps_gitlab_com/v1beta2/runners.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/gitlab-org/gl-openshift/gitlab-runner-operator/apps.gitlab.com/v1beta2/runners.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/gitlab-org/gl-openshift/gitlab-runner-operator/apps.gitlab.com/v1beta2/runners.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/backuppolicytemplates.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/backuppolicytemplates.rs index 00653c205..dadb1b761 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/backuppolicytemplates.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/backuppolicytemplates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/backuppolicytemplates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/backuppolicytemplates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/clusterdefinitions.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/clusterdefinitions.rs index 43a593031..effd9f974 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/clusterdefinitions.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/clusterdefinitions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusterdefinitions.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusterdefinitions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// ClusterDefinitionSpec defines the desired state of ClusterDefinition. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "apps.kubeblocks.io", version = "v1alpha1", kind = "ClusterDefinition", plural = "clusterdefinitions")] #[kube(status = "ClusterDefinitionStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterDefinitionSpec { /// Provides the definitions for the cluster components. @@ -126,7 +127,7 @@ pub struct ClusterDefinitionComponentDefs { /// ComponentDefRef is used to select the component and its fields to be referenced. /// Deprecated since v0.8. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsComponentDefRef { /// The name of the componentDef to be selected. #[serde(rename = "componentDefName")] @@ -141,7 +142,7 @@ pub struct ClusterDefinitionComponentDefsComponentDefRef { /// ComponentRefEnv specifies name and value of an env. /// Deprecated since v0.8. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsComponentDefRefComponentRefEnv { /// The name of the env, it must be a C identifier. pub name: String, @@ -154,7 +155,7 @@ pub struct ClusterDefinitionComponentDefsComponentDefRefComponentRefEnv { } /// The source from which the value of the env. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsComponentDefRefComponentRefEnvValueFrom { /// The jsonpath of the source to select when the Type is `FieldRef`. Two objects are registered in the jsonpath: `componentDef` and `components`: /// - `componentDef` is the component definition object specified in `componentRef.componentDefName`. - `components` are the component list objects referring to the component definition object. @@ -172,7 +173,7 @@ pub struct ClusterDefinitionComponentDefsComponentDefRefComponentRefEnvValueFrom pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsConfigSpecs { /// Specifies the containers to inject the ConfigMap parameters as environment variables. /// This is useful when application images accept parameters through environment variables and generate the final configuration file in the startup script based on these variables. @@ -226,7 +227,7 @@ pub struct ClusterDefinitionComponentDefsConfigSpecs { /// The template is rendered inside the pod (by the "config-manager" sidecar container) and merged with the main template's render result to generate the final configuration file. /// This field is intended to handle scenarios where different pods within the same Component have varying configurations. It allows for pod-specific customization of the configuration. /// Note: This field will be deprecated in future versions, and the functionality will be moved to `cluster.spec.componentSpecs[*].instances[*]`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsConfigSpecsLegacyRenderedConfigSpec { /// Specifies the namespace of the referenced configuration template ConfigMap object. An empty namespace is equivalent to the "default" namespace. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -341,7 +342,7 @@ pub enum ClusterDefinitionComponentDefsConsensusSpecLearnerAccessMode { } /// Specifies the low-level StatefulSetUpdateStrategy to be used when updating Pods in the StatefulSet upon a revision to the Template. `UpdateStrategy` will be ignored if this is provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsConsensusSpecLlUpdateStrategy { /// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. #[serde(default, skip_serializing_if = "Option::is_none", rename = "rollingUpdate")] @@ -352,7 +353,7 @@ pub struct ClusterDefinitionComponentDefsConsensusSpecLlUpdateStrategy { } /// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsConsensusSpecLlUpdateStrategyRollingUpdate { /// The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0. Defaults to 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] @@ -371,7 +372,7 @@ pub enum ClusterDefinitionComponentDefsConsensusSpecUpdateStrategy { } /// CustomLabelSpec is deprecated since v0.8. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsCustomLabelSpecs { /// The key of the label. pub key: String, @@ -383,7 +384,7 @@ pub struct ClusterDefinitionComponentDefsCustomLabelSpecs { } /// GVKResource is deprecated since v0.8. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsCustomLabelSpecsResources { /// Represents the GVK of a resource, such as "v1/Pod", "apps/v1/StatefulSet", etc. When a resource matching this is found by the selector, a custom label will be added if it doesn't already exist, or updated if it does. pub gvk: String, @@ -393,7 +394,7 @@ pub struct ClusterDefinitionComponentDefsCustomLabelSpecsResources { } /// Defines the metrics exporter. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsExporter { /// Specifies the name of the built-in metrics exporter container. #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -419,7 +420,7 @@ pub enum ClusterDefinitionComponentDefsExporterScrapeScheme { } /// Defines the behavior of horizontal scale. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsHorizontalScalePolicy { /// Refers to the backup policy template. #[serde(default, skip_serializing_if = "Option::is_none", rename = "backupPolicyTemplateName")] @@ -441,7 +442,7 @@ pub enum ClusterDefinitionComponentDefsHorizontalScalePolicyType { Snapshot, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsLogConfigs { /// Specifies the paths or patterns identifying where the log files are stored. This field allows the system to locate and manage log files effectively. /// Examples: @@ -453,7 +454,7 @@ pub struct ClusterDefinitionComponentDefsLogConfigs { } /// Deprecated since v0.9 monitor is monitoring config which provided by provider. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsMonitor { /// builtIn is a switch to enable KubeBlocks builtIn monitoring. If BuiltIn is set to true, monitor metrics will be scraped automatically. If BuiltIn is set to false, the provider should set ExporterConfig and Sidecar container own. #[serde(default, skip_serializing_if = "Option::is_none", rename = "builtIn")] @@ -464,7 +465,7 @@ pub struct ClusterDefinitionComponentDefsMonitor { } /// exporterConfig provided by provider, which specify necessary information to Time Series Database. exporterConfig is valid when builtIn is false. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsMonitorExporterConfig { /// scrapePath is exporter url path for Time Series Database to scrape metrics. #[serde(default, skip_serializing_if = "Option::is_none", rename = "scrapePath")] @@ -475,7 +476,7 @@ pub struct ClusterDefinitionComponentDefsMonitorExporterConfig { } /// Defines the pod spec template of component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpec { /// Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer. #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] @@ -602,7 +603,7 @@ pub struct ClusterDefinitionComponentDefsPodSpec { } /// If specified, the pod's scheduling constraints -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -616,7 +617,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -627,7 +628,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: ClusterDefinitionComponentDefsPodSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -636,7 +637,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityNodeAffinityPreferredDur } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -647,7 +648,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityNodeAffinityPreferredDur } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -659,7 +660,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityNodeAffinityPreferredDur } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -671,7 +672,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityNodeAffinityPreferredDur } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -679,7 +680,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityNodeAffinityRequiredDuri } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -690,7 +691,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityNodeAffinityRequiredDuri } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -702,7 +703,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityNodeAffinityRequiredDuri } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -714,7 +715,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityNodeAffinityRequiredDuri } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -725,7 +726,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -735,7 +736,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAffinityPreferredDuri } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -752,7 +753,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAffinityPreferredDuri } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -763,7 +764,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAffinityPreferredDuri } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -775,7 +776,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAffinityPreferredDuri } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -786,7 +787,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAffinityPreferredDuri } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -798,7 +799,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAffinityPreferredDuri } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -815,7 +816,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAffinityRequiredDurin } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -826,7 +827,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAffinityRequiredDurin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -838,7 +839,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAffinityRequiredDurin } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -849,7 +850,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAffinityRequiredDurin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -861,7 +862,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAffinityRequiredDurin } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -872,7 +873,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -882,7 +883,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAntiAffinityPreferred } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -899,7 +900,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAntiAffinityPreferred } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -910,7 +911,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAntiAffinityPreferred } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -922,7 +923,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAntiAffinityPreferred } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -933,7 +934,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAntiAffinityPreferred } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -945,7 +946,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAntiAffinityPreferred } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -962,7 +963,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAntiAffinityRequiredD } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -973,7 +974,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAntiAffinityRequiredD } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -985,7 +986,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAntiAffinityRequiredD } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -996,7 +997,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAntiAffinityRequiredD } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1008,7 +1009,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecAffinityPodAntiAffinityRequiredD } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainers { /// Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1084,7 +1085,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -1097,7 +1098,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1114,7 +1115,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1127,7 +1128,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersEnvValueFromConfigMapK } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1138,7 +1139,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1151,7 +1152,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersEnvValueFromResourceFi } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1164,7 +1165,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersEnvValueFromSecretKeyR } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -1178,7 +1179,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1189,7 +1190,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1200,7 +1201,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersEnvFromSecretRef { } /// Actions that the management system should take in response to container lifecycle events. Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -1211,7 +1212,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1225,7 +1226,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1233,7 +1234,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersLifecyclePostStartExec } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1252,7 +1253,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersLifecyclePostStartHttp } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1261,7 +1262,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersLifecyclePostStartHttp } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1271,7 +1272,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersLifecyclePostStartTcpS } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1285,7 +1286,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1293,7 +1294,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1312,7 +1313,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersLifecyclePreStopHttpGe } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1321,7 +1322,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersLifecyclePreStopHttpGe } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1331,7 +1332,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersLifecyclePreStopTcpSoc } /// Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1366,7 +1367,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1374,7 +1375,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1385,7 +1386,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1404,7 +1405,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1413,7 +1414,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersLivenessProbeHttpGetHt } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1423,7 +1424,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersLivenessProbeTcpSocket } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -1443,7 +1444,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersPorts { } /// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1478,7 +1479,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1486,7 +1487,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1497,7 +1498,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1516,7 +1517,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersReadinessProbeHttpGet } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1525,7 +1526,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersReadinessProbeHttpGetH } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1535,7 +1536,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersReadinessProbeTcpSocke } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. #[serde(rename = "resourceName")] @@ -1546,7 +1547,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersResizePolicy { } /// Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1562,14 +1563,14 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -1607,7 +1608,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1618,7 +1619,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersSecurityContextCapabil } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1635,7 +1636,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersSecurityContextSeLinux } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -1647,7 +1648,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersSecurityContextSeccomp } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -1664,7 +1665,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersSecurityContextWindows } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1699,7 +1700,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1707,7 +1708,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1718,7 +1719,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1737,7 +1738,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersStartupProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1746,7 +1747,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersStartupProbeHttpGetHtt } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1756,7 +1757,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersStartupProbeTcpSocket } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -1766,7 +1767,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -1788,7 +1789,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecContainersVolumeMounts { } /// Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecDnsConfig { /// A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1802,7 +1803,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecDnsConfig { } /// PodDNSConfigOption defines DNS resolver options of a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecDnsConfigOptions { /// Required. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1813,7 +1814,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecDnsConfigOptions { /// An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation. /// To add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainers { /// Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1893,7 +1894,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -1906,7 +1907,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1923,7 +1924,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersEnvValueFrom } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1936,7 +1937,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersEnvValueFromC } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1947,7 +1948,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersEnvValueFromF } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1960,7 +1961,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersEnvValueFromR } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1973,7 +1974,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersEnvValueFromS } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -1987,7 +1988,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1998,7 +1999,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersEnvFromConfig } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2009,7 +2010,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersEnvFromSecret } /// Lifecycle is not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -2020,7 +2021,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2034,7 +2035,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLifecyclePost } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2042,7 +2043,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLifecyclePost } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2061,7 +2062,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLifecyclePost } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2070,7 +2071,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLifecyclePost } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2080,7 +2081,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLifecyclePost } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2094,7 +2095,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLifecyclePreS } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2102,7 +2103,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLifecyclePreS } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2121,7 +2122,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLifecyclePreS } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2130,7 +2131,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLifecyclePreS } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2140,7 +2141,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLifecyclePreS } /// Probes are not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2175,7 +2176,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLivenessProbe } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2183,7 +2184,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLivenessProbe } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2194,7 +2195,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLivenessProbe } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2213,7 +2214,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLivenessProbe } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2222,7 +2223,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLivenessProbe } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2232,7 +2233,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersLivenessProbe } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -2252,7 +2253,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersPorts { } /// Probes are not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2287,7 +2288,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersReadinessProb } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2295,7 +2296,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersReadinessProb } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2306,7 +2307,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersReadinessProb } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2325,7 +2326,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersReadinessProb } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2334,7 +2335,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersReadinessProb } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2344,7 +2345,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersReadinessProb } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. #[serde(rename = "resourceName")] @@ -2355,7 +2356,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersResizePolicy } /// Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2371,14 +2372,14 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// Optional: SecurityContext defines the security options the ephemeral container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -2416,7 +2417,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersSecurityConte } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2427,7 +2428,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersSecurityConte } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2444,7 +2445,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersSecurityConte } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -2456,7 +2457,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersSecurityConte } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -2473,7 +2474,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersSecurityConte } /// Probes are not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2508,7 +2509,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersStartupProbe } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2516,7 +2517,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersStartupProbeE } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2527,7 +2528,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersStartupProbeG } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2546,7 +2547,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersStartupProbeH } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersStartupProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2555,7 +2556,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersStartupProbeH } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2565,7 +2566,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersStartupProbeT } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -2575,7 +2576,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersVolumeDevices } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -2597,7 +2598,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecEphemeralContainersVolumeMounts } /// HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecHostAliases { /// Hostnames for the above IP address. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2608,7 +2609,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecHostAliases { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecImagePullSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2616,7 +2617,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecImagePullSecrets { } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainers { /// Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2692,7 +2693,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -2705,7 +2706,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -2722,7 +2723,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -2735,7 +2736,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersEnvValueFromConfig } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2746,7 +2747,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersEnvValueFromFieldR } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2759,7 +2760,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersEnvValueFromResour } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2772,7 +2773,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersEnvValueFromSecret } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -2786,7 +2787,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2797,7 +2798,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersEnvFromConfigMapRe } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2808,7 +2809,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersEnvFromSecretRef { } /// Actions that the management system should take in response to container lifecycle events. Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -2819,7 +2820,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2833,7 +2834,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLifecyclePostStart } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2841,7 +2842,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLifecyclePostStart } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2860,7 +2861,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLifecyclePostStart } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2869,7 +2870,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLifecyclePostStart } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2879,7 +2880,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLifecyclePostStart } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2893,7 +2894,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2901,7 +2902,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLifecyclePreStopEx } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2920,7 +2921,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLifecyclePreStopHt } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2929,7 +2930,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLifecyclePreStopHt } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2939,7 +2940,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLifecyclePreStopTc } /// Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2974,7 +2975,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2982,7 +2983,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLivenessProbeExec } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2993,7 +2994,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLivenessProbeGrpc } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3012,7 +3013,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLivenessProbeHttpG } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -3021,7 +3022,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLivenessProbeHttpG } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3031,7 +3032,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersLivenessProbeTcpSo } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -3051,7 +3052,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersPorts { } /// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3086,7 +3087,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3094,7 +3095,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersReadinessProbeExec } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3105,7 +3106,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersReadinessProbeGrpc } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3124,7 +3125,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersReadinessProbeHttp } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -3133,7 +3134,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersReadinessProbeHttp } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3143,7 +3144,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersReadinessProbeTcpS } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. #[serde(rename = "resourceName")] @@ -3154,7 +3155,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersResizePolicy { } /// Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -3170,14 +3171,14 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -3215,7 +3216,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3226,7 +3227,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersSecurityContextCap } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3243,7 +3244,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersSecurityContextSeL } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -3255,7 +3256,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersSecurityContextSec } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -3272,7 +3273,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersSecurityContextWin } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3307,7 +3308,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3315,7 +3316,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3326,7 +3327,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3345,7 +3346,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersStartupProbeHttpGe } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersStartupProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -3354,7 +3355,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersStartupProbeHttpGe } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3364,7 +3365,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersStartupProbeTcpSoc } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -3374,7 +3375,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -3398,14 +3399,14 @@ pub struct ClusterDefinitionComponentDefsPodSpecInitContainersVolumeMounts { /// Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set. /// If the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions /// If the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecOs { /// Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null pub name: String, } /// PodReadinessGate contains the reference to a pod condition -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecReadinessGates { /// ConditionType refers to a condition in the pod's condition list with matching type. #[serde(rename = "conditionType")] @@ -3413,7 +3414,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecReadinessGates { } /// PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecResourceClaims { /// Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL. pub name: String, @@ -3423,7 +3424,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecResourceClaims { } /// Source describes where to find the ResourceClaim. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecResourceClaimsSource { /// ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceClaimName")] @@ -3436,14 +3437,14 @@ pub struct ClusterDefinitionComponentDefsPodSpecResourceClaimsSource { } /// PodSchedulingGate is associated to a Pod to guard its scheduling. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecSchedulingGates { /// Name of the scheduling gate. Each scheduling gate must have a unique name field. pub name: String, } /// SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -3480,7 +3481,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3497,7 +3498,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -3509,7 +3510,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -3518,7 +3519,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -3535,7 +3536,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecSecurityContextWindowsOptions { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3555,7 +3556,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecTopologySpreadConstraints { /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -3589,7 +3590,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecTopologySpreadConstraints { } /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3600,7 +3601,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecTopologySpreadConstraintsLabelSe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3612,7 +3613,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecTopologySpreadConstraintsLabelSe } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -3710,7 +3711,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3727,7 +3728,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -3750,7 +3751,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -3764,7 +3765,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -3786,7 +3787,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3794,7 +3795,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3811,7 +3812,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3819,7 +3820,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -3836,7 +3837,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -3848,7 +3849,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -3867,7 +3868,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3875,7 +3876,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -3886,7 +3887,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -3902,7 +3903,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3913,7 +3914,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesDownwardApiItemsFieldRef } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -3926,7 +3927,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesDownwardApiItemsResourceF } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3941,7 +3942,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -3955,7 +3956,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3965,7 +3966,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesEphemeralVolumeClaimTempl } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3980,7 +3981,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesEphemeralVolumeClaimTempl } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -4009,7 +4010,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesEphemeralVolumeClaimTempl } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -4021,7 +4022,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesEphemeralVolumeClaimTempl } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -4036,7 +4037,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesEphemeralVolumeClaimTempl } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -4052,14 +4053,14 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesEphemeralVolumeClaimTempl } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4070,7 +4071,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesEphemeralVolumeClaimTempl } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4082,7 +4083,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesEphemeralVolumeClaimTempl } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4102,7 +4103,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -4121,7 +4122,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4129,7 +4130,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -4140,7 +4141,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4157,7 +4158,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4170,7 +4171,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -4182,7 +4183,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -4192,7 +4193,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -4228,7 +4229,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4236,7 +4237,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -4248,7 +4249,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -4259,7 +4260,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4270,7 +4271,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4284,7 +4285,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -4295,7 +4296,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4312,7 +4313,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4326,7 +4327,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesProjectedSourcesConfigMap } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -4338,7 +4339,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesProjectedSourcesConfigMap } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4346,7 +4347,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesProjectedSourcesDownwardA } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -4362,7 +4363,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesProjectedSourcesDownwardA } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4373,7 +4374,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesProjectedSourcesDownwardA } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -4386,7 +4387,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesProjectedSourcesDownwardA } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4400,7 +4401,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -4412,7 +4413,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesProjectedSourcesSecretIte } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4425,7 +4426,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesProjectedSourcesServiceAc } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4446,7 +4447,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4473,7 +4474,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4481,7 +4482,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4514,7 +4515,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4522,7 +4523,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -4539,7 +4540,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesSecretItems { /// key is the key to project. pub key: String, @@ -4551,7 +4552,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4571,7 +4572,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4579,7 +4580,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPodSpecVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4596,7 +4597,7 @@ pub struct ClusterDefinitionComponentDefsPodSpecVolumesVsphereVolume { } /// Defines the command to be executed when the component is ready, and the command will only be executed once after the component becomes ready. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPostStartSpec { /// Specifies the post-start command to be executed. #[serde(rename = "cmdExecutorConfig")] @@ -4607,7 +4608,7 @@ pub struct ClusterDefinitionComponentDefsPostStartSpec { } /// Specifies the post-start command to be executed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPostStartSpecCmdExecutorConfig { /// Additional parameters used in the execution of the command. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4622,7 +4623,7 @@ pub struct ClusterDefinitionComponentDefsPostStartSpecCmdExecutorConfig { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPostStartSpecCmdExecutorConfigEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -4635,7 +4636,7 @@ pub struct ClusterDefinitionComponentDefsPostStartSpecCmdExecutorConfigEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPostStartSpecCmdExecutorConfigEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -4652,7 +4653,7 @@ pub struct ClusterDefinitionComponentDefsPostStartSpecCmdExecutorConfigEnvValueF } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPostStartSpecCmdExecutorConfigEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -4665,7 +4666,7 @@ pub struct ClusterDefinitionComponentDefsPostStartSpecCmdExecutorConfigEnvValueF } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPostStartSpecCmdExecutorConfigEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4676,7 +4677,7 @@ pub struct ClusterDefinitionComponentDefsPostStartSpecCmdExecutorConfigEnvValueF } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPostStartSpecCmdExecutorConfigEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -4689,7 +4690,7 @@ pub struct ClusterDefinitionComponentDefsPostStartSpecCmdExecutorConfigEnvValueF } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPostStartSpecCmdExecutorConfigEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4701,14 +4702,14 @@ pub struct ClusterDefinitionComponentDefsPostStartSpecCmdExecutorConfigEnvValueF pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsPostStartSpecScriptSpecSelectors { /// Represents the name of the ScriptSpec referent. pub name: String, } /// Settings for health checks. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsProbes { /// Specifies the probe used for checking the role of the component. #[serde(default, skip_serializing_if = "Option::is_none", rename = "roleProbe")] @@ -4726,7 +4727,7 @@ pub struct ClusterDefinitionComponentDefsProbes { } /// Specifies the probe used for checking the role of the component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsProbesRoleProbe { /// Commands used to execute for probe. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4743,7 +4744,7 @@ pub struct ClusterDefinitionComponentDefsProbesRoleProbe { } /// Commands used to execute for probe. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsProbesRoleProbeCommands { /// Defines read checks that are executed on the probe sidecar. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4754,7 +4755,7 @@ pub struct ClusterDefinitionComponentDefsProbesRoleProbeCommands { } /// Specifies the probe used for checking the running status of the component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsProbesRunningProbe { /// Commands used to execute for probe. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4771,7 +4772,7 @@ pub struct ClusterDefinitionComponentDefsProbesRunningProbe { } /// Commands used to execute for probe. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsProbesRunningProbeCommands { /// Defines read checks that are executed on the probe sidecar. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4782,7 +4783,7 @@ pub struct ClusterDefinitionComponentDefsProbesRunningProbeCommands { } /// Specifies the probe used for checking the status of the component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsProbesStatusProbe { /// Commands used to execute for probe. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4799,7 +4800,7 @@ pub struct ClusterDefinitionComponentDefsProbesStatusProbe { } /// Commands used to execute for probe. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsProbesStatusProbeCommands { /// Defines read checks that are executed on the probe sidecar. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4810,7 +4811,7 @@ pub struct ClusterDefinitionComponentDefsProbesStatusProbeCommands { } /// Defines spec for `Replication` workloads. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsReplicationSpec { /// Controls the creation of pods during initial scale up, replacement of pods on nodes, and scaling down. /// - `OrderedReady`: Creates pods in increasing order (pod-0, then pod-1, etc). The controller waits until each pod is ready before continuing. Pods are removed in reverse order when scaling down. - `Parallel`: Creates pods in parallel to match the desired scale without waiting. All pods are deleted at once when scaling down. @@ -4826,7 +4827,7 @@ pub struct ClusterDefinitionComponentDefsReplicationSpec { } /// Specifies the low-level StatefulSetUpdateStrategy to be used when updating Pods in the StatefulSet upon a revision to the Template. `UpdateStrategy` will be ignored if this is provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsReplicationSpecLlUpdateStrategy { /// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. #[serde(default, skip_serializing_if = "Option::is_none", rename = "rollingUpdate")] @@ -4837,7 +4838,7 @@ pub struct ClusterDefinitionComponentDefsReplicationSpecLlUpdateStrategy { } /// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsReplicationSpecLlUpdateStrategyRollingUpdate { /// The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0. Defaults to 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] @@ -4856,7 +4857,7 @@ pub enum ClusterDefinitionComponentDefsReplicationSpecUpdateStrategy { } /// Defines workload spec of this component. From KB 0.7.0, RSM(InstanceSetSpec) will be the underlying CR which powers all kinds of workload in KB. RSM is an enhanced stateful workload extension dedicated for heavy-state workloads like databases. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsRsmSpec { /// Describes the strategy for updating Members (Pods). /// - `Serial`: Updates Members sequentially to ensure minimum component downtime. - `BestEffortParallel`: Updates Members in parallel to ensure minimum component write downtime. - `Parallel`: Forces parallel updates. @@ -4882,7 +4883,7 @@ pub enum ClusterDefinitionComponentDefsRsmSpecMemberUpdateStrategy { } /// Indicates the actions required for dynamic membership reconfiguration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsRsmSpecMembershipReconfiguration { /// Defines the action to trigger the new member to start log syncing. If the Image is not configured, the Image from the previous non-nil action will be used. #[serde(default, skip_serializing_if = "Option::is_none", rename = "logSyncAction")] @@ -4903,7 +4904,7 @@ pub struct ClusterDefinitionComponentDefsRsmSpecMembershipReconfiguration { } /// Defines the action to trigger the new member to start log syncing. If the Image is not configured, the Image from the previous non-nil action will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsRsmSpecMembershipReconfigurationLogSyncAction { /// Additional parameters used to perform specific statements. This field is optional. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4916,7 +4917,7 @@ pub struct ClusterDefinitionComponentDefsRsmSpecMembershipReconfigurationLogSync } /// Defines the action to add a member. If the Image is not configured, the Image from the previous non-nil action will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsRsmSpecMembershipReconfigurationMemberJoinAction { /// Additional parameters used to perform specific statements. This field is optional. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4929,7 +4930,7 @@ pub struct ClusterDefinitionComponentDefsRsmSpecMembershipReconfigurationMemberJ } /// Defines the action to remove a member. If the Image is not configured, the Image from the previous non-nil action will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsRsmSpecMembershipReconfigurationMemberLeaveAction { /// Additional parameters used to perform specific statements. This field is optional. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4942,7 +4943,7 @@ pub struct ClusterDefinitionComponentDefsRsmSpecMembershipReconfigurationMemberL } /// Defines the action to inform the cluster that the new member can join voting now. If the Image is not configured, the Image from the previous non-nil action will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsRsmSpecMembershipReconfigurationPromoteAction { /// Additional parameters used to perform specific statements. This field is optional. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4956,7 +4957,7 @@ pub struct ClusterDefinitionComponentDefsRsmSpecMembershipReconfigurationPromote /// Specifies the environment variables that can be used in all following Actions: - KB_ITS_USERNAME: Represents the username part of the credential - KB_ITS_PASSWORD: Represents the password part of the credential - KB_ITS_LEADER_HOST: Represents the leader host - KB_ITS_TARGET_HOST: Represents the target host - KB_ITS_SERVICE_PORT: Represents the service port /// Defines the action to perform a switchover. If the Image is not configured, the latest [BusyBox](https://busybox.net/) image will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsRsmSpecMembershipReconfigurationSwitchoverAction { /// Additional parameters used to perform specific statements. This field is optional. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4969,7 +4970,7 @@ pub struct ClusterDefinitionComponentDefsRsmSpecMembershipReconfigurationSwitcho } /// Defines the method used to probe a role. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsRsmSpecRoleProbe { /// Specifies the builtin handler name to use to probe the role of the main container. Available handlers include: mysql, postgres, mongodb, redis, etcd, kafka. Use CustomHandler to define a custom role probe function if none of the built-in handlers meet the requirement. #[serde(default, skip_serializing_if = "Option::is_none", rename = "builtinHandlerName")] @@ -4997,7 +4998,7 @@ pub struct ClusterDefinitionComponentDefsRsmSpecRoleProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsRsmSpecRoleProbeCustomHandler { /// Additional parameters used to perform specific statements. This field is optional. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5039,7 +5040,7 @@ pub enum ClusterDefinitionComponentDefsRsmSpecRolesAccessMode { ReadWrite, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsScriptSpecs { /// The operator attempts to set default file permissions for scripts (0555) and configurations (0444). However, certain database engines may require different file permissions. You can specify the desired file permissions here. /// Must be specified as an octal value between 0000 and 0777 (inclusive), or as a decimal value between 0 and 511 (inclusive). YAML supports both octal and decimal values for file permissions. @@ -5060,7 +5061,7 @@ pub struct ClusterDefinitionComponentDefsScriptSpecs { } /// Defines the service spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsService { /// The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5068,7 +5069,7 @@ pub struct ClusterDefinitionComponentDefsService { } /// ServicePort is deprecated since v0.8. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsServicePorts { /// The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. #[serde(default, skip_serializing_if = "Option::is_none", rename = "appProtocol")] @@ -5104,7 +5105,7 @@ pub enum ClusterDefinitionComponentDefsServicePortsProtocol { /// ServiceRefDeclaration represents a reference to a service that can be either provided by a KubeBlocks Cluster or an external service. It acts as a placeholder for the actual service reference, which is determined later when a Cluster is created. /// The purpose of ServiceRefDeclaration is to declare a service dependency without specifying the concrete details of the service. It allows for flexibility and abstraction in defining service references within a Component. By using ServiceRefDeclaration, you can define service dependencies in a declarative manner, enabling loose coupling and easier management of service references across different components and clusters. /// Upon Cluster creation, the ServiceRefDeclaration is bound to an actual service through the ServiceRef field, effectively resolving and connecting to the specified service. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsServiceRefDeclarations { /// Specifies the name of the ServiceRefDeclaration. pub name: String, @@ -5118,7 +5119,7 @@ pub struct ClusterDefinitionComponentDefsServiceRefDeclarations { pub service_ref_declaration_specs: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsServiceRefDeclarationsServiceRefDeclarationSpecs { /// Specifies the type or nature of the service. This should be a well-known application cluster type, such as {mysql, redis, mongodb}. The field is case-insensitive and supports abbreviations for some well-known databases. For instance, both `zk` and `zookeeper` are considered as a ZooKeeper cluster, while `pg`, `postgres`, `postgresql` are all recognized as a PostgreSQL cluster. #[serde(rename = "serviceKind")] @@ -5129,7 +5130,7 @@ pub struct ClusterDefinitionComponentDefsServiceRefDeclarationsServiceRefDeclara } /// Defines spec for `Stateful` workloads. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsStatefulSpec { /// Controls the creation of pods during initial scale up, replacement of pods on nodes, and scaling down. /// - `OrderedReady`: Creates pods in increasing order (pod-0, then pod-1, etc). The controller waits until each pod is ready before continuing. Pods are removed in reverse order when scaling down. - `Parallel`: Creates pods in parallel to match the desired scale without waiting. All pods are deleted at once when scaling down. @@ -5145,7 +5146,7 @@ pub struct ClusterDefinitionComponentDefsStatefulSpec { } /// Specifies the low-level StatefulSetUpdateStrategy to be used when updating Pods in the StatefulSet upon a revision to the Template. `UpdateStrategy` will be ignored if this is provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsStatefulSpecLlUpdateStrategy { /// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. #[serde(default, skip_serializing_if = "Option::is_none", rename = "rollingUpdate")] @@ -5156,7 +5157,7 @@ pub struct ClusterDefinitionComponentDefsStatefulSpecLlUpdateStrategy { } /// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsStatefulSpecLlUpdateStrategyRollingUpdate { /// The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0. Defaults to 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] @@ -5175,7 +5176,7 @@ pub enum ClusterDefinitionComponentDefsStatefulSpecUpdateStrategy { } /// Defines spec for `Stateless` workloads. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsStatelessSpec { /// Specifies the deployment strategy that will be used to replace existing pods with new ones. #[serde(default, skip_serializing_if = "Option::is_none", rename = "updateStrategy")] @@ -5183,7 +5184,7 @@ pub struct ClusterDefinitionComponentDefsStatelessSpec { } /// Specifies the deployment strategy that will be used to replace existing pods with new ones. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsStatelessSpecUpdateStrategy { /// Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate. --- TODO: Update this to follow our convention for oneOf, whatever we decide it to be. #[serde(default, skip_serializing_if = "Option::is_none", rename = "rollingUpdate")] @@ -5194,7 +5195,7 @@ pub struct ClusterDefinitionComponentDefsStatelessSpecUpdateStrategy { } /// Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate. --- TODO: Update this to follow our convention for oneOf, whatever we decide it to be. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsStatelessSpecUpdateStrategyRollingUpdate { /// The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxSurge")] @@ -5205,7 +5206,7 @@ pub struct ClusterDefinitionComponentDefsStatelessSpecUpdateStrategyRollingUpdat } /// Defines command to do switchover. In particular, when workloadType=Replication, the command defined in switchoverSpec will only be executed under the condition of cluster.componentSpecs[x].SwitchPolicy.type=Noop. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSwitchoverSpec { /// Represents the action of switching over to a specified candidate primary or leader instance. #[serde(default, skip_serializing_if = "Option::is_none", rename = "withCandidate")] @@ -5216,7 +5217,7 @@ pub struct ClusterDefinitionComponentDefsSwitchoverSpec { } /// Represents the action of switching over to a specified candidate primary or leader instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithCandidate { /// Specifies the switchover command. #[serde(rename = "cmdExecutorConfig")] @@ -5227,7 +5228,7 @@ pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithCandidate { } /// Specifies the switchover command. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithCandidateCmdExecutorConfig { /// Additional parameters used in the execution of the command. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5242,7 +5243,7 @@ pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithCandidateCmdExecutorC } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithCandidateCmdExecutorConfigEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -5255,7 +5256,7 @@ pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithCandidateCmdExecutorC } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithCandidateCmdExecutorConfigEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -5272,7 +5273,7 @@ pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithCandidateCmdExecutorC } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithCandidateCmdExecutorConfigEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -5285,7 +5286,7 @@ pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithCandidateCmdExecutorC } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithCandidateCmdExecutorConfigEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -5296,7 +5297,7 @@ pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithCandidateCmdExecutorC } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithCandidateCmdExecutorConfigEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -5309,7 +5310,7 @@ pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithCandidateCmdExecutorC } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithCandidateCmdExecutorConfigEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5321,14 +5322,14 @@ pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithCandidateCmdExecutorC pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithCandidateScriptSpecSelectors { /// Represents the name of the ScriptSpec referent. pub name: String, } /// Represents the action of switching over without specifying a candidate primary or leader instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithoutCandidate { /// Specifies the switchover command. #[serde(rename = "cmdExecutorConfig")] @@ -5339,7 +5340,7 @@ pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithoutCandidate { } /// Specifies the switchover command. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithoutCandidateCmdExecutorConfig { /// Additional parameters used in the execution of the command. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5354,7 +5355,7 @@ pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithoutCandidateCmdExecut } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithoutCandidateCmdExecutorConfigEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -5367,7 +5368,7 @@ pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithoutCandidateCmdExecut } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithoutCandidateCmdExecutorConfigEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -5384,7 +5385,7 @@ pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithoutCandidateCmdExecut } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithoutCandidateCmdExecutorConfigEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -5397,7 +5398,7 @@ pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithoutCandidateCmdExecut } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithoutCandidateCmdExecutorConfigEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -5408,7 +5409,7 @@ pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithoutCandidateCmdExecut } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithoutCandidateCmdExecutorConfigEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -5421,7 +5422,7 @@ pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithoutCandidateCmdExecut } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithoutCandidateCmdExecutorConfigEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5433,14 +5434,14 @@ pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithoutCandidateCmdExecut pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSwitchoverSpecWithoutCandidateScriptSpecSelectors { /// Represents the name of the ScriptSpec referent. pub name: String, } /// Defines system accounts needed to manage the component, and the statement to create them. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSystemAccounts { /// Defines the configuration settings for system accounts. pub accounts: Vec, @@ -5496,7 +5497,7 @@ pub struct ClusterDefinitionComponentDefsSystemAccountsAccountsProvisionPolicy { } /// The external secret to refer. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSystemAccountsAccountsProvisionPolicySecretRef { /// The unique identifier of the secret. pub name: String, @@ -5505,7 +5506,7 @@ pub struct ClusterDefinitionComponentDefsSystemAccountsAccountsProvisionPolicySe } /// The statement to provision an account. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSystemAccountsAccountsProvisionPolicyStatements { /// Specifies the statement required to create a new account with the necessary privileges. pub creation: String, @@ -5526,7 +5527,7 @@ pub enum ClusterDefinitionComponentDefsSystemAccountsAccountsProvisionPolicyType } /// Configures how to obtain the client SDK and execute statements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSystemAccountsCmdExecutorConfig { /// Additional parameters used in the execution of the command. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5541,7 +5542,7 @@ pub struct ClusterDefinitionComponentDefsSystemAccountsCmdExecutorConfig { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSystemAccountsCmdExecutorConfigEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -5554,7 +5555,7 @@ pub struct ClusterDefinitionComponentDefsSystemAccountsCmdExecutorConfigEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSystemAccountsCmdExecutorConfigEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -5571,7 +5572,7 @@ pub struct ClusterDefinitionComponentDefsSystemAccountsCmdExecutorConfigEnvValue } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSystemAccountsCmdExecutorConfigEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -5584,7 +5585,7 @@ pub struct ClusterDefinitionComponentDefsSystemAccountsCmdExecutorConfigEnvValue } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSystemAccountsCmdExecutorConfigEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -5595,7 +5596,7 @@ pub struct ClusterDefinitionComponentDefsSystemAccountsCmdExecutorConfigEnvValue } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSystemAccountsCmdExecutorConfigEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -5608,7 +5609,7 @@ pub struct ClusterDefinitionComponentDefsSystemAccountsCmdExecutorConfigEnvValue } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSystemAccountsCmdExecutorConfigEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5621,7 +5622,7 @@ pub struct ClusterDefinitionComponentDefsSystemAccountsCmdExecutorConfigEnvValue } /// Defines the pattern used to generate passwords for system accounts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsSystemAccountsPasswordConfig { /// The length of the password. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5649,7 +5650,7 @@ pub enum ClusterDefinitionComponentDefsSystemAccountsPasswordConfigLetterCase { } /// Defines settings to do volume protect. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsVolumeProtectionSpec { /// The high watermark threshold for volume space usage. If there is any specified volumes who's space usage is over the threshold, the pre-defined "LOCK" action will be triggered to degrade the service to protect volume from space exhaustion, such as to set the instance as read-only. And after that, if all volumes' space usage drops under the threshold later, the pre-defined "UNLOCK" action will be performed to recover the service normally. #[serde(default, skip_serializing_if = "Option::is_none", rename = "highWatermark")] @@ -5660,7 +5661,7 @@ pub struct ClusterDefinitionComponentDefsVolumeProtectionSpec { } /// ProtectedVolume is deprecated since v0.9, replaced with ComponentVolume.HighWatermark. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsVolumeProtectionSpecVolumes { /// Defines the high watermark threshold for the volume, it will override the component level threshold. If the value is invalid, it will be ignored and the component level threshold will be used. #[serde(default, skip_serializing_if = "Option::is_none", rename = "highWatermark")] @@ -5671,7 +5672,7 @@ pub struct ClusterDefinitionComponentDefsVolumeProtectionSpecVolumes { } /// VolumeTypeSpec is deprecated since v0.9, replaced with ComponentVolume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionComponentDefsVolumeTypes { /// Corresponds to the name of the VolumeMounts field in PodSpec.Container. pub name: String, @@ -5700,7 +5701,7 @@ pub enum ClusterDefinitionComponentDefsWorkloadType { } /// ClusterTopology represents the definition for a specific cluster topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionTopologies { /// Components specifies the components in the topology. pub components: Vec, @@ -5715,7 +5716,7 @@ pub struct ClusterDefinitionTopologies { } /// ClusterTopologyComponent defines a Component within a ClusterTopology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionTopologiesComponents { /// Specifies the name or prefix of the ComponentDefinition custom resource(CR) that defines the Component's characteristics and behavior. /// When a prefix is used, the system selects the ComponentDefinition CR with the latest version that matches the prefix. This approach allows: @@ -5729,7 +5730,7 @@ pub struct ClusterDefinitionTopologiesComponents { } /// Specifies the sequence in which components within a cluster topology are started, stopped, and upgraded. This ordering is crucial for maintaining the correct dependencies and operational flow across components. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionTopologiesOrders { /// Specifies the order for creating and initializing components. This is designed for components that depend on one another. Components without dependencies can be grouped together. /// Components that can be provisioned independently or have no dependencies can be listed together in the same stage, separated by commas. @@ -5746,7 +5747,7 @@ pub struct ClusterDefinitionTopologiesOrders { } /// ClusterDefinitionStatus defines the observed state of ClusterDefinition -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDefinitionStatus { /// Provides additional information about the current phase. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/clusters.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/clusters.rs index c4099bf72..360af3329 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/clusters.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/clusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusters.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -102,7 +102,7 @@ pub struct ClusterSpec { /// Defines a set of node affinity scheduling rules for the Cluster's Pods. This field helps control the placement of Pods on nodes within the Cluster. /// Deprecated since v0.10. Use the `schedulingPolicy` field instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterAffinity { /// Indicates the node labels that must be present on nodes for pods to be scheduled on them. It is a map where the keys are the label keys and the values are the corresponding label values. Pods will only be scheduled on nodes that have all the specified labels with the corresponding values. /// For example, if NodeLabels is set to {"nodeType": "ssd", "environment": "production"}, pods will only be scheduled on nodes that have both the "nodeType" label with value "ssd" and the "environment" label with value "production". @@ -156,7 +156,7 @@ pub enum ClusterAvailabilityPolicy { } /// Specifies the backup configuration of the Cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterBackup { /// The cron expression for the schedule. The timezone is in UTC. See https://en.wikipedia.org/wiki/Cron. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cronExpression")] @@ -184,7 +184,7 @@ pub struct ClusterBackup { } /// ClusterComponentSpec defines the specification of a Component within a Cluster. TODO +kubebuilder:validation:XValidation:rule="!has(oldSelf.componentDefRef) || has(self.componentDefRef)", message="componentDefRef is required once set" TODO +kubebuilder:validation:XValidation:rule="!has(oldSelf.componentDef) || has(self.componentDef)", message="componentDef is required once set" -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecs { /// Specifies a group of affinity scheduling rules for the Component. It allows users to control how the Component's Pods are scheduled onto nodes in the K8s cluster. /// Deprecated since v0.10, replaced by the `schedulingPolicy` field. @@ -290,7 +290,7 @@ pub struct ClusterComponentSpecs { /// Specifies a group of affinity scheduling rules for the Component. It allows users to control how the Component's Pods are scheduled onto nodes in the K8s cluster. /// Deprecated since v0.10, replaced by the `schedulingPolicy` field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsAffinity { /// Indicates the node labels that must be present on nodes for pods to be scheduled on them. It is a map where the keys are the label keys and the values are the corresponding label values. Pods will only be scheduled on nodes that have all the specified labels with the corresponding values. /// For example, if NodeLabels is set to {"nodeType": "ssd", "environment": "production"}, pods will only be scheduled on nodes that have both the "nodeType" label with value "ssd" and the "environment" label with value "production". @@ -333,7 +333,7 @@ pub enum ClusterComponentSpecsAffinityTenancy { } /// ClusterComponentConfig represents a config with its source bound. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsConfigs { /// ConfigMap source for the config. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -344,7 +344,7 @@ pub struct ClusterComponentSpecsConfigs { } /// ConfigMap source for the config. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsConfigsConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -361,7 +361,7 @@ pub struct ClusterComponentSpecsConfigsConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsConfigsConfigMapItems { /// key is the key to project. pub key: String, @@ -373,7 +373,7 @@ pub struct ClusterComponentSpecsConfigsConfigMapItems { } /// InstanceTemplate allows customization of individual replica configurations in a Component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstances { /// Specifies a map of key-value pairs to be merged into the Pod's existing annotations. Existing keys will have their values overwritten, while new keys will be added to the annotations. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -417,7 +417,7 @@ pub struct ClusterComponentSpecsInstances { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -430,7 +430,7 @@ pub struct ClusterComponentSpecsInstancesEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -447,7 +447,7 @@ pub struct ClusterComponentSpecsInstancesEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -460,7 +460,7 @@ pub struct ClusterComponentSpecsInstancesEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -471,7 +471,7 @@ pub struct ClusterComponentSpecsInstancesEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -484,7 +484,7 @@ pub struct ClusterComponentSpecsInstancesEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -497,7 +497,7 @@ pub struct ClusterComponentSpecsInstancesEnvValueFromSecretKeyRef { } /// Specifies an override for the resource requirements of the first container in the Pod. This field allows for customizing resource allocation (CPU, memory, etc.) for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -513,14 +513,14 @@ pub struct ClusterComponentSpecsInstancesResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -539,7 +539,7 @@ pub struct ClusterComponentSpecsInstancesTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumeClaimTemplates { /// Refers to the name of a volumeMount defined in either: /// - `componentDefinition.spec.runtime.containers[*].volumeMounts` - `clusterDefinition.spec.componentDefs[*].podSpec.containers[*].volumeMounts` (deprecated) @@ -553,7 +553,7 @@ pub struct ClusterComponentSpecsInstancesVolumeClaimTemplates { /// Defines the desired characteristics of a PersistentVolumeClaim that will be created for the volume with the mount name specified in the `name` field. /// When a Pod is created for this ClusterComponent, a new PVC will be created based on the specification defined in the `spec` field. The PVC will be associated with the volume mount specified by the `name` field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumeClaimTemplatesSpec { /// Contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -570,7 +570,7 @@ pub struct ClusterComponentSpecsInstancesVolumeClaimTemplatesSpec { } /// Represents the minimum resources the volume should have. If the RecoverVolumeExpansionFailure feature is enabled, users are allowed to specify resource requirements that are lower than the previous value but must still be higher than the capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumeClaimTemplatesSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -586,14 +586,14 @@ pub struct ClusterComponentSpecsInstancesVolumeClaimTemplatesSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumeClaimTemplatesSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -615,7 +615,7 @@ pub struct ClusterComponentSpecsInstancesVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -713,7 +713,7 @@ pub struct ClusterComponentSpecsInstancesVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -730,7 +730,7 @@ pub struct ClusterComponentSpecsInstancesVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -753,7 +753,7 @@ pub struct ClusterComponentSpecsInstancesVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -767,7 +767,7 @@ pub struct ClusterComponentSpecsInstancesVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -789,7 +789,7 @@ pub struct ClusterComponentSpecsInstancesVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -797,7 +797,7 @@ pub struct ClusterComponentSpecsInstancesVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -814,7 +814,7 @@ pub struct ClusterComponentSpecsInstancesVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -822,7 +822,7 @@ pub struct ClusterComponentSpecsInstancesVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -839,7 +839,7 @@ pub struct ClusterComponentSpecsInstancesVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -851,7 +851,7 @@ pub struct ClusterComponentSpecsInstancesVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -870,7 +870,7 @@ pub struct ClusterComponentSpecsInstancesVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -878,7 +878,7 @@ pub struct ClusterComponentSpecsInstancesVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -889,7 +889,7 @@ pub struct ClusterComponentSpecsInstancesVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -905,7 +905,7 @@ pub struct ClusterComponentSpecsInstancesVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -916,7 +916,7 @@ pub struct ClusterComponentSpecsInstancesVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -929,7 +929,7 @@ pub struct ClusterComponentSpecsInstancesVolumesDownwardApiItemsResourceFieldRef } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -944,7 +944,7 @@ pub struct ClusterComponentSpecsInstancesVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -958,7 +958,7 @@ pub struct ClusterComponentSpecsInstancesVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -968,7 +968,7 @@ pub struct ClusterComponentSpecsInstancesVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -983,7 +983,7 @@ pub struct ClusterComponentSpecsInstancesVolumesEphemeralVolumeClaimTemplateMeta } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -1012,7 +1012,7 @@ pub struct ClusterComponentSpecsInstancesVolumesEphemeralVolumeClaimTemplateSpec } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1024,7 +1024,7 @@ pub struct ClusterComponentSpecsInstancesVolumesEphemeralVolumeClaimTemplateSpec } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1039,7 +1039,7 @@ pub struct ClusterComponentSpecsInstancesVolumesEphemeralVolumeClaimTemplateSpec } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1055,14 +1055,14 @@ pub struct ClusterComponentSpecsInstancesVolumesEphemeralVolumeClaimTemplateSpec } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1073,7 +1073,7 @@ pub struct ClusterComponentSpecsInstancesVolumesEphemeralVolumeClaimTemplateSpec } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1085,7 +1085,7 @@ pub struct ClusterComponentSpecsInstancesVolumesEphemeralVolumeClaimTemplateSpec } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1105,7 +1105,7 @@ pub struct ClusterComponentSpecsInstancesVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -1124,7 +1124,7 @@ pub struct ClusterComponentSpecsInstancesVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1132,7 +1132,7 @@ pub struct ClusterComponentSpecsInstancesVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -1143,7 +1143,7 @@ pub struct ClusterComponentSpecsInstancesVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1160,7 +1160,7 @@ pub struct ClusterComponentSpecsInstancesVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1173,7 +1173,7 @@ pub struct ClusterComponentSpecsInstancesVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -1185,7 +1185,7 @@ pub struct ClusterComponentSpecsInstancesVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -1195,7 +1195,7 @@ pub struct ClusterComponentSpecsInstancesVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -1231,7 +1231,7 @@ pub struct ClusterComponentSpecsInstancesVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1239,7 +1239,7 @@ pub struct ClusterComponentSpecsInstancesVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -1251,7 +1251,7 @@ pub struct ClusterComponentSpecsInstancesVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -1262,7 +1262,7 @@ pub struct ClusterComponentSpecsInstancesVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1273,7 +1273,7 @@ pub struct ClusterComponentSpecsInstancesVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1287,7 +1287,7 @@ pub struct ClusterComponentSpecsInstancesVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1298,7 +1298,7 @@ pub struct ClusterComponentSpecsInstancesVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1315,7 +1315,7 @@ pub struct ClusterComponentSpecsInstancesVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1329,7 +1329,7 @@ pub struct ClusterComponentSpecsInstancesVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -1341,7 +1341,7 @@ pub struct ClusterComponentSpecsInstancesVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1349,7 +1349,7 @@ pub struct ClusterComponentSpecsInstancesVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -1365,7 +1365,7 @@ pub struct ClusterComponentSpecsInstancesVolumesProjectedSourcesDownwardApiItems } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1376,7 +1376,7 @@ pub struct ClusterComponentSpecsInstancesVolumesProjectedSourcesDownwardApiItems } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1389,7 +1389,7 @@ pub struct ClusterComponentSpecsInstancesVolumesProjectedSourcesDownwardApiItems } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1403,7 +1403,7 @@ pub struct ClusterComponentSpecsInstancesVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -1415,7 +1415,7 @@ pub struct ClusterComponentSpecsInstancesVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1428,7 +1428,7 @@ pub struct ClusterComponentSpecsInstancesVolumesProjectedSourcesServiceAccountTo } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1449,7 +1449,7 @@ pub struct ClusterComponentSpecsInstancesVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1476,7 +1476,7 @@ pub struct ClusterComponentSpecsInstancesVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1484,7 +1484,7 @@ pub struct ClusterComponentSpecsInstancesVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1517,7 +1517,7 @@ pub struct ClusterComponentSpecsInstancesVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1525,7 +1525,7 @@ pub struct ClusterComponentSpecsInstancesVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1542,7 +1542,7 @@ pub struct ClusterComponentSpecsInstancesVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesSecretItems { /// key is the key to project. pub key: String, @@ -1554,7 +1554,7 @@ pub struct ClusterComponentSpecsInstancesVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1574,7 +1574,7 @@ pub struct ClusterComponentSpecsInstancesVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1582,7 +1582,7 @@ pub struct ClusterComponentSpecsInstancesVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsInstancesVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1599,7 +1599,7 @@ pub struct ClusterComponentSpecsInstancesVolumesVsphereVolume { } /// Specifies the configuration for the TLS certificates issuer. It allows defining the issuer name and the reference to the secret containing the TLS certificates and key. The secret should contain the CA certificate, TLS certificate, and private key in the specified keys. Required when TLS is enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsIssuer { /// The issuer for TLS certificates. It only allows two enum values: `KubeBlocks` and `UserProvided`. /// - `KubeBlocks` indicates that the self-signed TLS certificates generated by the KubeBlocks Operator will be used. - `UserProvided` means that the user is responsible for providing their own CA, Cert, and Key. In this case, the user-provided CA certificate, server certificate, and private key will be used for TLS communication. @@ -1610,7 +1610,7 @@ pub struct ClusterComponentSpecsIssuer { } /// SecretRef is the reference to the secret that contains user-provided certificates. It is required when the issuer is set to `UserProvided`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsIssuerSecretRef { /// Key of CA cert in Secret pub ca: String, @@ -1623,7 +1623,7 @@ pub struct ClusterComponentSpecsIssuerSecretRef { } /// Specifies the resources required by the Component. It allows defining the CPU, memory requirements and limits for the Component's containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1639,14 +1639,14 @@ pub struct ClusterComponentSpecsResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// Specifies the scheduling policy for the Component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicy { /// Specifies a group of affinity scheduling rules of the Cluster, including NodeAffinity, PodAffinity, and PodAntiAffinity. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1671,7 +1671,7 @@ pub struct ClusterComponentSpecsSchedulingPolicy { } /// Specifies a group of affinity scheduling rules of the Cluster, including NodeAffinity, PodAffinity, and PodAntiAffinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -1685,7 +1685,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -1696,7 +1696,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: ClusterComponentSpecsSchedulingPolicyAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -1705,7 +1705,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityNodeAffinityPreferredDur } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1716,7 +1716,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityNodeAffinityPreferredDur } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1728,7 +1728,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityNodeAffinityPreferredDur } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1740,7 +1740,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityNodeAffinityPreferredDur } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -1748,7 +1748,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityNodeAffinityRequiredDuri } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1759,7 +1759,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityNodeAffinityRequiredDuri } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1771,7 +1771,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityNodeAffinityRequiredDuri } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1783,7 +1783,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityNodeAffinityRequiredDuri } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -1794,7 +1794,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1804,7 +1804,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAffinityPreferredDuri } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1821,7 +1821,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAffinityPreferredDuri } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1832,7 +1832,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAffinityPreferredDuri } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1844,7 +1844,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAffinityPreferredDuri } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1855,7 +1855,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAffinityPreferredDuri } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1867,7 +1867,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAffinityPreferredDuri } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1884,7 +1884,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAffinityRequiredDurin } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1895,7 +1895,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAffinityRequiredDurin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1907,7 +1907,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAffinityRequiredDurin } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1918,7 +1918,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAffinityRequiredDurin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1930,7 +1930,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAffinityRequiredDurin } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -1941,7 +1941,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1951,7 +1951,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAntiAffinityPreferred } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1968,7 +1968,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAntiAffinityPreferred } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1979,7 +1979,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAntiAffinityPreferred } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1991,7 +1991,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAntiAffinityPreferred } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2002,7 +2002,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAntiAffinityPreferred } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2014,7 +2014,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAntiAffinityPreferred } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2031,7 +2031,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAntiAffinityRequiredD } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2042,7 +2042,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAntiAffinityRequiredD } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2054,7 +2054,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAntiAffinityRequiredD } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2065,7 +2065,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAntiAffinityRequiredD } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2077,7 +2077,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyAffinityPodAntiAffinityRequiredD } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2097,7 +2097,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyTopologySpreadConstraints { /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2131,7 +2131,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyTopologySpreadConstraints { } /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2142,7 +2142,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyTopologySpreadConstraintsLabelSe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSchedulingPolicyTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2153,7 +2153,7 @@ pub struct ClusterComponentSpecsSchedulingPolicyTopologySpreadConstraintsLabelSe pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsServiceRefs { /// Specifies the name of the KubeBlocks Cluster being referenced. This is used when services from another KubeBlocks Cluster are consumed. /// By default, the referenced KubeBlocks Cluster's `clusterDefinition.spec.connectionCredential` will be utilized to bind to the current Component. This credential should include: `endpoint`, `port`, `username`, and `password`. @@ -2179,7 +2179,7 @@ pub struct ClusterComponentSpecsServiceRefs { } /// References a service provided by another KubeBlocks Cluster. It specifies the ClusterService and the account credentials needed for access. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsServiceRefsClusterServiceSelector { /// The name of the Cluster being referenced. pub cluster: String, @@ -2192,7 +2192,7 @@ pub struct ClusterComponentSpecsServiceRefsClusterServiceSelector { } /// Specifies the SystemAccount to authenticate and establish a connection with the referenced Cluster. The SystemAccount should be defined in `componentDefinition.spec.systemAccounts` of the Component providing the service in the referenced Cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsServiceRefsClusterServiceSelectorCredential { /// The name of the Component where the credential resides in. pub component: String, @@ -2201,7 +2201,7 @@ pub struct ClusterComponentSpecsServiceRefsClusterServiceSelectorCredential { } /// Identifies a ClusterService from the list of Services defined in `cluster.spec.services` of the referenced Cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsServiceRefsClusterServiceSelectorService { /// The name of the Component where the Service resides in. /// It is required when referencing a Component's Service. @@ -2218,7 +2218,7 @@ pub struct ClusterComponentSpecsServiceRefsClusterServiceSelectorService { pub service: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsServices { /// If ServiceType is LoadBalancer, cloud provider related parameters can be put here. More info: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2246,7 +2246,7 @@ pub enum ClusterComponentSpecsServicesServiceType { /// Defines the strategy for switchover and failover when workloadType is Replication. /// Deprecated since v0.9. This field is maintained for backward compatibility and its use is discouraged. Existing usage should be updated to the current preferred approach to avoid compatibility issues in future releases. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsSwitchPolicy { /// Type specifies the type of switch policy to be applied. #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] @@ -2261,7 +2261,7 @@ pub enum ClusterComponentSpecsSwitchPolicyType { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2290,7 +2290,7 @@ pub enum ClusterComponentSpecsUpdateStrategy { /// Allows users to specify custom ConfigMaps and Secrets to be mounted as volumes in the Cluster's Pods. This is useful in scenarios where users need to provide additional resources to the Cluster, such as: /// - Mounting custom scripts or configuration files during Cluster startup. - Mounting Secrets as volumes to provide sensitive information, like S3 AK/SK, to the Cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsUserResourceRefs { /// ConfigMapRefs defines the user-defined ConfigMaps. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRefs")] @@ -2301,7 +2301,7 @@ pub struct ClusterComponentSpecsUserResourceRefs { } /// ConfigMapRef defines a reference to a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsUserResourceRefsConfigMapRefs { /// AsVolumeFrom lists the names of containers in which the volume should be mounted. #[serde(default, skip_serializing_if = "Option::is_none", rename = "asVolumeFrom")] @@ -2320,7 +2320,7 @@ pub struct ClusterComponentSpecsUserResourceRefsConfigMapRefs { } /// ConfigMap specifies the ConfigMap to be mounted as a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsUserResourceRefsConfigMapRefsConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2337,7 +2337,7 @@ pub struct ClusterComponentSpecsUserResourceRefsConfigMapRefsConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsUserResourceRefsConfigMapRefsConfigMapItems { /// key is the key to project. pub key: String, @@ -2349,7 +2349,7 @@ pub struct ClusterComponentSpecsUserResourceRefsConfigMapRefsConfigMapItems { } /// SecretRef defines a reference to a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsUserResourceRefsSecretRefs { /// AsVolumeFrom lists the names of containers in which the volume should be mounted. #[serde(default, skip_serializing_if = "Option::is_none", rename = "asVolumeFrom")] @@ -2367,7 +2367,7 @@ pub struct ClusterComponentSpecsUserResourceRefsSecretRefs { } /// Secret specifies the Secret to be mounted as a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsUserResourceRefsSecretRefsSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2384,7 +2384,7 @@ pub struct ClusterComponentSpecsUserResourceRefsSecretRefsSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsUserResourceRefsSecretRefsSecretItems { /// key is the key to project. pub key: String, @@ -2395,7 +2395,7 @@ pub struct ClusterComponentSpecsUserResourceRefsSecretRefsSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsVolumeClaimTemplates { /// Refers to the name of a volumeMount defined in either: /// - `componentDefinition.spec.runtime.containers[*].volumeMounts` - `clusterDefinition.spec.componentDefs[*].podSpec.containers[*].volumeMounts` (deprecated) @@ -2409,7 +2409,7 @@ pub struct ClusterComponentSpecsVolumeClaimTemplates { /// Defines the desired characteristics of a PersistentVolumeClaim that will be created for the volume with the mount name specified in the `name` field. /// When a Pod is created for this ClusterComponent, a new PVC will be created based on the specification defined in the `spec` field. The PVC will be associated with the volume mount specified by the `name` field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsVolumeClaimTemplatesSpec { /// Contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -2426,7 +2426,7 @@ pub struct ClusterComponentSpecsVolumeClaimTemplatesSpec { } /// Represents the minimum resources the volume should have. If the RecoverVolumeExpansionFailure feature is enabled, users are allowed to specify resource requirements that are lower than the previous value but must still be higher than the capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsVolumeClaimTemplatesSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2442,7 +2442,7 @@ pub struct ClusterComponentSpecsVolumeClaimTemplatesSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterComponentSpecsVolumeClaimTemplatesSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, @@ -2450,7 +2450,7 @@ pub struct ClusterComponentSpecsVolumeClaimTemplatesSpecResourcesClaims { /// The configuration of network. /// Deprecated since v0.9. This field is maintained for backward compatibility and its use is discouraged. Existing usage should be updated to the current preferred approach to avoid compatibility issues in future releases. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterNetwork { /// Indicates whether the host network can be accessed. By default, this is set to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostNetworkAccessible")] @@ -2462,7 +2462,7 @@ pub struct ClusterNetwork { /// Specifies the resources of the first componentSpec, if the resources of the first componentSpec is specified, this value will be ignored. /// Deprecated since v0.9. This field is maintained for backward compatibility and its use is discouraged. Existing usage should be updated to the current preferred approach to avoid compatibility issues in future releases. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResources { /// Specifies the amount of CPU resource the Cluster needs. For more information, refer to: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2473,7 +2473,7 @@ pub struct ClusterResources { } /// Specifies the scheduling policy for the Cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicy { /// Specifies a group of affinity scheduling rules of the Cluster, including NodeAffinity, PodAffinity, and PodAntiAffinity. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2498,7 +2498,7 @@ pub struct ClusterSchedulingPolicy { } /// Specifies a group of affinity scheduling rules of the Cluster, including NodeAffinity, PodAffinity, and PodAntiAffinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -2512,7 +2512,7 @@ pub struct ClusterSchedulingPolicyAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -2523,7 +2523,7 @@ pub struct ClusterSchedulingPolicyAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: ClusterSchedulingPolicyAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -2532,7 +2532,7 @@ pub struct ClusterSchedulingPolicyAffinityNodeAffinityPreferredDuringSchedulingI } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2543,7 +2543,7 @@ pub struct ClusterSchedulingPolicyAffinityNodeAffinityPreferredDuringSchedulingI } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -2555,7 +2555,7 @@ pub struct ClusterSchedulingPolicyAffinityNodeAffinityPreferredDuringSchedulingI } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -2567,7 +2567,7 @@ pub struct ClusterSchedulingPolicyAffinityNodeAffinityPreferredDuringSchedulingI } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -2575,7 +2575,7 @@ pub struct ClusterSchedulingPolicyAffinityNodeAffinityRequiredDuringSchedulingIg } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2586,7 +2586,7 @@ pub struct ClusterSchedulingPolicyAffinityNodeAffinityRequiredDuringSchedulingIg } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -2598,7 +2598,7 @@ pub struct ClusterSchedulingPolicyAffinityNodeAffinityRequiredDuringSchedulingIg } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -2610,7 +2610,7 @@ pub struct ClusterSchedulingPolicyAffinityNodeAffinityRequiredDuringSchedulingIg } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -2621,7 +2621,7 @@ pub struct ClusterSchedulingPolicyAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -2631,7 +2631,7 @@ pub struct ClusterSchedulingPolicyAffinityPodAffinityPreferredDuringSchedulingIg } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2648,7 +2648,7 @@ pub struct ClusterSchedulingPolicyAffinityPodAffinityPreferredDuringSchedulingIg } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2659,7 +2659,7 @@ pub struct ClusterSchedulingPolicyAffinityPodAffinityPreferredDuringSchedulingIg } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2671,7 +2671,7 @@ pub struct ClusterSchedulingPolicyAffinityPodAffinityPreferredDuringSchedulingIg } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2682,7 +2682,7 @@ pub struct ClusterSchedulingPolicyAffinityPodAffinityPreferredDuringSchedulingIg } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2694,7 +2694,7 @@ pub struct ClusterSchedulingPolicyAffinityPodAffinityPreferredDuringSchedulingIg } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2711,7 +2711,7 @@ pub struct ClusterSchedulingPolicyAffinityPodAffinityRequiredDuringSchedulingIgn } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2722,7 +2722,7 @@ pub struct ClusterSchedulingPolicyAffinityPodAffinityRequiredDuringSchedulingIgn } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2734,7 +2734,7 @@ pub struct ClusterSchedulingPolicyAffinityPodAffinityRequiredDuringSchedulingIgn } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2745,7 +2745,7 @@ pub struct ClusterSchedulingPolicyAffinityPodAffinityRequiredDuringSchedulingIgn } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2757,7 +2757,7 @@ pub struct ClusterSchedulingPolicyAffinityPodAffinityRequiredDuringSchedulingIgn } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -2768,7 +2768,7 @@ pub struct ClusterSchedulingPolicyAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -2778,7 +2778,7 @@ pub struct ClusterSchedulingPolicyAffinityPodAntiAffinityPreferredDuringScheduli } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2795,7 +2795,7 @@ pub struct ClusterSchedulingPolicyAffinityPodAntiAffinityPreferredDuringScheduli } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2806,7 +2806,7 @@ pub struct ClusterSchedulingPolicyAffinityPodAntiAffinityPreferredDuringScheduli } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2818,7 +2818,7 @@ pub struct ClusterSchedulingPolicyAffinityPodAntiAffinityPreferredDuringScheduli } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2829,7 +2829,7 @@ pub struct ClusterSchedulingPolicyAffinityPodAntiAffinityPreferredDuringScheduli } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2841,7 +2841,7 @@ pub struct ClusterSchedulingPolicyAffinityPodAntiAffinityPreferredDuringScheduli } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2858,7 +2858,7 @@ pub struct ClusterSchedulingPolicyAffinityPodAntiAffinityRequiredDuringSchedulin } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2869,7 +2869,7 @@ pub struct ClusterSchedulingPolicyAffinityPodAntiAffinityRequiredDuringSchedulin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2881,7 +2881,7 @@ pub struct ClusterSchedulingPolicyAffinityPodAntiAffinityRequiredDuringSchedulin } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2892,7 +2892,7 @@ pub struct ClusterSchedulingPolicyAffinityPodAntiAffinityRequiredDuringSchedulin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2904,7 +2904,7 @@ pub struct ClusterSchedulingPolicyAffinityPodAntiAffinityRequiredDuringSchedulin } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2924,7 +2924,7 @@ pub struct ClusterSchedulingPolicyTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyTopologySpreadConstraints { /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2958,7 +2958,7 @@ pub struct ClusterSchedulingPolicyTopologySpreadConstraints { } /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2969,7 +2969,7 @@ pub struct ClusterSchedulingPolicyTopologySpreadConstraintsLabelSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSchedulingPolicyTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2982,7 +2982,7 @@ pub struct ClusterSchedulingPolicyTopologySpreadConstraintsLabelSelectorMatchExp /// ClusterService defines a service that is exposed externally, allowing entities outside the cluster to access it. For example, external applications, or other Clusters. And another Cluster managed by the same KubeBlocks operator can resolve the address exposed by a ClusterService using the `serviceRef` field. /// When a Component needs to access another Cluster's ClusterService using the `serviceRef` field, it must also define the service type and version information in the `componentDefinition.spec.serviceRefDeclarations` section. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterServices { /// If ServiceType is LoadBalancer, cloud provider related parameters can be put here More info: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3012,7 +3012,7 @@ pub struct ClusterServices { } /// Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterServicesSpec { /// allocateLoadBalancerNodePorts defines if NodePorts will be automatically allocated for services with type LoadBalancer. Default is "true". It may be set to "false" if the cluster load-balancer does not rely on NodePorts. If the caller requests specific NodePorts (by specifying a value), those requests will be respected, regardless of this field. This field may only be set for services with type LoadBalancer and will be cleared if the type is changed to any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] @@ -3076,7 +3076,7 @@ pub struct ClusterServicesSpec { } /// ServicePort contains information on service's port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterServicesSpecPorts { /// The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either: /// * Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). @@ -3101,7 +3101,7 @@ pub struct ClusterServicesSpecPorts { } /// sessionAffinityConfig contains the configurations of session affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterServicesSpecSessionAffinityConfig { /// clientIP contains the configurations of Client IP based session affinity. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] @@ -3109,7 +3109,7 @@ pub struct ClusterServicesSpecSessionAffinityConfig { } /// clientIP contains the configurations of Client IP based session affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterServicesSpecSessionAffinityConfigClientIp { /// timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". Default value is 10800(for 3 hours). #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] @@ -3117,7 +3117,7 @@ pub struct ClusterServicesSpecSessionAffinityConfigClientIp { } /// ShardingSpec defines how KubeBlocks manage dynamic provisioned shards. A typical design pattern for distributed databases is to distribute data across multiple shards, with each shard consisting of multiple replicas. Therefore, KubeBlocks supports representing a shard with a Component and dynamically instantiating Components using a template when shards are added. When shards are removed, the corresponding Components are also deleted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecs { /// Represents the common parent part of all shard names. This identifier is included as part of the Service DNS name and must comply with IANA service naming rules. It is used to generate the names of underlying Components following the pattern `$(shardingSpec.name)-$(ShardID)`. ShardID is a random string that is appended to the Name to generate unique identifiers for each shard. For example, if the sharding specification name is "my-shard" and the ShardID is "abc", the resulting Component name would be "my-shard-abc". /// Note that the name defined in Component template(`shardingSpec.template.name`) will be disregarded when generating the Component names of the shards. The `shardingSpec.name` field takes precedence. @@ -3133,7 +3133,7 @@ pub struct ClusterShardingSpecs { /// The template for generating Components for shards, where each shard consists of one Component. This field is of type ClusterComponentSpec, which encapsulates all the required details and definitions for creating and managing the Components. KubeBlocks uses this template to generate a set of identical Components or shards. All the generated Components will have the same specifications and definitions as specified in the `template` field. /// This allows for the creation of multiple Components with consistent configurations, enabling sharding and distribution of workloads across Components. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplate { /// Specifies a group of affinity scheduling rules for the Component. It allows users to control how the Component's Pods are scheduled onto nodes in the K8s cluster. /// Deprecated since v0.10, replaced by the `schedulingPolicy` field. @@ -3239,7 +3239,7 @@ pub struct ClusterShardingSpecsTemplate { /// Specifies a group of affinity scheduling rules for the Component. It allows users to control how the Component's Pods are scheduled onto nodes in the K8s cluster. /// Deprecated since v0.10, replaced by the `schedulingPolicy` field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateAffinity { /// Indicates the node labels that must be present on nodes for pods to be scheduled on them. It is a map where the keys are the label keys and the values are the corresponding label values. Pods will only be scheduled on nodes that have all the specified labels with the corresponding values. /// For example, if NodeLabels is set to {"nodeType": "ssd", "environment": "production"}, pods will only be scheduled on nodes that have both the "nodeType" label with value "ssd" and the "environment" label with value "production". @@ -3282,7 +3282,7 @@ pub enum ClusterShardingSpecsTemplateAffinityTenancy { } /// ClusterComponentConfig represents a config with its source bound. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateConfigs { /// ConfigMap source for the config. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3293,7 +3293,7 @@ pub struct ClusterShardingSpecsTemplateConfigs { } /// ConfigMap source for the config. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateConfigsConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -3310,7 +3310,7 @@ pub struct ClusterShardingSpecsTemplateConfigsConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateConfigsConfigMapItems { /// key is the key to project. pub key: String, @@ -3322,7 +3322,7 @@ pub struct ClusterShardingSpecsTemplateConfigsConfigMapItems { } /// InstanceTemplate allows customization of individual replica configurations in a Component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstances { /// Specifies a map of key-value pairs to be merged into the Pod's existing annotations. Existing keys will have their values overwritten, while new keys will be added to the annotations. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3366,7 +3366,7 @@ pub struct ClusterShardingSpecsTemplateInstances { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -3379,7 +3379,7 @@ pub struct ClusterShardingSpecsTemplateInstancesEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -3396,7 +3396,7 @@ pub struct ClusterShardingSpecsTemplateInstancesEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -3409,7 +3409,7 @@ pub struct ClusterShardingSpecsTemplateInstancesEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3420,7 +3420,7 @@ pub struct ClusterShardingSpecsTemplateInstancesEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -3433,7 +3433,7 @@ pub struct ClusterShardingSpecsTemplateInstancesEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3446,7 +3446,7 @@ pub struct ClusterShardingSpecsTemplateInstancesEnvValueFromSecretKeyRef { } /// Specifies an override for the resource requirements of the first container in the Pod. This field allows for customizing resource allocation (CPU, memory, etc.) for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -3462,14 +3462,14 @@ pub struct ClusterShardingSpecsTemplateInstancesResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3488,7 +3488,7 @@ pub struct ClusterShardingSpecsTemplateInstancesTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumeClaimTemplates { /// Refers to the name of a volumeMount defined in either: /// - `componentDefinition.spec.runtime.containers[*].volumeMounts` - `clusterDefinition.spec.componentDefs[*].podSpec.containers[*].volumeMounts` (deprecated) @@ -3502,7 +3502,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumeClaimTemplates { /// Defines the desired characteristics of a PersistentVolumeClaim that will be created for the volume with the mount name specified in the `name` field. /// When a Pod is created for this ClusterComponent, a new PVC will be created based on the specification defined in the `spec` field. The PVC will be associated with the volume mount specified by the `name` field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumeClaimTemplatesSpec { /// Contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -3519,7 +3519,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumeClaimTemplatesSpec { } /// Represents the minimum resources the volume should have. If the RecoverVolumeExpansionFailure feature is enabled, users are allowed to specify resource requirements that are lower than the previous value but must still be higher than the capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumeClaimTemplatesSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -3535,14 +3535,14 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumeClaimTemplatesSpecResource } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumeClaimTemplatesSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -3564,7 +3564,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -3662,7 +3662,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3679,7 +3679,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -3702,7 +3702,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -3716,7 +3716,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -3738,7 +3738,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3746,7 +3746,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3763,7 +3763,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3771,7 +3771,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -3788,7 +3788,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -3800,7 +3800,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -3819,7 +3819,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3827,7 +3827,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -3838,7 +3838,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -3854,7 +3854,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3865,7 +3865,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesDownwardApiItemsFieldRef } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -3878,7 +3878,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesDownwardApiItemsResourceF } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3893,7 +3893,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -3907,7 +3907,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3917,7 +3917,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesEphemeralVolumeClaimTempl } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3932,7 +3932,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesEphemeralVolumeClaimTempl } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -3961,7 +3961,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesEphemeralVolumeClaimTempl } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -3973,7 +3973,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesEphemeralVolumeClaimTempl } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -3988,7 +3988,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesEphemeralVolumeClaimTempl } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -4004,14 +4004,14 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesEphemeralVolumeClaimTempl } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4022,7 +4022,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesEphemeralVolumeClaimTempl } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4034,7 +4034,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesEphemeralVolumeClaimTempl } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4054,7 +4054,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -4073,7 +4073,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4081,7 +4081,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -4092,7 +4092,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4109,7 +4109,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4122,7 +4122,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -4134,7 +4134,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -4144,7 +4144,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -4180,7 +4180,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4188,7 +4188,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -4200,7 +4200,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -4211,7 +4211,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4222,7 +4222,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4236,7 +4236,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -4247,7 +4247,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4264,7 +4264,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4278,7 +4278,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesProjectedSourcesConfigMap } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -4290,7 +4290,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesProjectedSourcesConfigMap } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4298,7 +4298,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesProjectedSourcesDownwardA } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -4314,7 +4314,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesProjectedSourcesDownwardA } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4325,7 +4325,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesProjectedSourcesDownwardA } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -4338,7 +4338,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesProjectedSourcesDownwardA } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4352,7 +4352,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -4364,7 +4364,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesProjectedSourcesSecretIte } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4377,7 +4377,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesProjectedSourcesServiceAc } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4398,7 +4398,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4425,7 +4425,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4433,7 +4433,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4466,7 +4466,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4474,7 +4474,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -4491,7 +4491,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesSecretItems { /// key is the key to project. pub key: String, @@ -4503,7 +4503,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4523,7 +4523,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4531,7 +4531,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateInstancesVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4548,7 +4548,7 @@ pub struct ClusterShardingSpecsTemplateInstancesVolumesVsphereVolume { } /// Specifies the configuration for the TLS certificates issuer. It allows defining the issuer name and the reference to the secret containing the TLS certificates and key. The secret should contain the CA certificate, TLS certificate, and private key in the specified keys. Required when TLS is enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateIssuer { /// The issuer for TLS certificates. It only allows two enum values: `KubeBlocks` and `UserProvided`. /// - `KubeBlocks` indicates that the self-signed TLS certificates generated by the KubeBlocks Operator will be used. - `UserProvided` means that the user is responsible for providing their own CA, Cert, and Key. In this case, the user-provided CA certificate, server certificate, and private key will be used for TLS communication. @@ -4559,7 +4559,7 @@ pub struct ClusterShardingSpecsTemplateIssuer { } /// SecretRef is the reference to the secret that contains user-provided certificates. It is required when the issuer is set to `UserProvided`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateIssuerSecretRef { /// Key of CA cert in Secret pub ca: String, @@ -4572,7 +4572,7 @@ pub struct ClusterShardingSpecsTemplateIssuerSecretRef { } /// Specifies the resources required by the Component. It allows defining the CPU, memory requirements and limits for the Component's containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -4588,14 +4588,14 @@ pub struct ClusterShardingSpecsTemplateResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// Specifies the scheduling policy for the Component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicy { /// Specifies a group of affinity scheduling rules of the Cluster, including NodeAffinity, PodAffinity, and PodAntiAffinity. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4620,7 +4620,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicy { } /// Specifies a group of affinity scheduling rules of the Cluster, including NodeAffinity, PodAffinity, and PodAntiAffinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -4634,7 +4634,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -4645,7 +4645,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: ClusterShardingSpecsTemplateSchedulingPolicyAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -4654,7 +4654,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityNodeAffinityPrefe } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4665,7 +4665,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityNodeAffinityPrefe } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -4677,7 +4677,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityNodeAffinityPrefe } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -4689,7 +4689,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityNodeAffinityPrefe } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -4697,7 +4697,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityNodeAffinityRequi } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4708,7 +4708,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityNodeAffinityRequi } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -4720,7 +4720,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityNodeAffinityRequi } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -4732,7 +4732,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityNodeAffinityRequi } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -4743,7 +4743,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -4753,7 +4753,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAffinityPrefer } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -4770,7 +4770,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAffinityPrefer } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4781,7 +4781,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAffinityPrefer } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4793,7 +4793,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAffinityPrefer } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4804,7 +4804,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAffinityPrefer } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4816,7 +4816,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAffinityPrefer } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -4833,7 +4833,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAffinityRequir } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4844,7 +4844,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAffinityRequir } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4856,7 +4856,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAffinityRequir } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4867,7 +4867,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAffinityRequir } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4879,7 +4879,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAffinityRequir } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -4890,7 +4890,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -4900,7 +4900,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAntiAffinityPr } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -4917,7 +4917,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAntiAffinityPr } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4928,7 +4928,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAntiAffinityPr } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4940,7 +4940,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAntiAffinityPr } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4951,7 +4951,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAntiAffinityPr } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4963,7 +4963,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAntiAffinityPr } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -4980,7 +4980,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAntiAffinityRe } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4991,7 +4991,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAntiAffinityRe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5003,7 +5003,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAntiAffinityRe } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5014,7 +5014,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAntiAffinityRe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5026,7 +5026,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyAffinityPodAntiAffinityRe } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5046,7 +5046,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyTopologySpreadConstraints { /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -5080,7 +5080,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyTopologySpreadConstraints } /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5091,7 +5091,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyTopologySpreadConstraints } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSchedulingPolicyTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5102,7 +5102,7 @@ pub struct ClusterShardingSpecsTemplateSchedulingPolicyTopologySpreadConstraints pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateServiceRefs { /// Specifies the name of the KubeBlocks Cluster being referenced. This is used when services from another KubeBlocks Cluster are consumed. /// By default, the referenced KubeBlocks Cluster's `clusterDefinition.spec.connectionCredential` will be utilized to bind to the current Component. This credential should include: `endpoint`, `port`, `username`, and `password`. @@ -5128,7 +5128,7 @@ pub struct ClusterShardingSpecsTemplateServiceRefs { } /// References a service provided by another KubeBlocks Cluster. It specifies the ClusterService and the account credentials needed for access. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateServiceRefsClusterServiceSelector { /// The name of the Cluster being referenced. pub cluster: String, @@ -5141,7 +5141,7 @@ pub struct ClusterShardingSpecsTemplateServiceRefsClusterServiceSelector { } /// Specifies the SystemAccount to authenticate and establish a connection with the referenced Cluster. The SystemAccount should be defined in `componentDefinition.spec.systemAccounts` of the Component providing the service in the referenced Cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateServiceRefsClusterServiceSelectorCredential { /// The name of the Component where the credential resides in. pub component: String, @@ -5150,7 +5150,7 @@ pub struct ClusterShardingSpecsTemplateServiceRefsClusterServiceSelectorCredenti } /// Identifies a ClusterService from the list of Services defined in `cluster.spec.services` of the referenced Cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateServiceRefsClusterServiceSelectorService { /// The name of the Component where the Service resides in. /// It is required when referencing a Component's Service. @@ -5167,7 +5167,7 @@ pub struct ClusterShardingSpecsTemplateServiceRefsClusterServiceSelectorService pub service: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateServices { /// If ServiceType is LoadBalancer, cloud provider related parameters can be put here. More info: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5195,7 +5195,7 @@ pub enum ClusterShardingSpecsTemplateServicesServiceType { /// Defines the strategy for switchover and failover when workloadType is Replication. /// Deprecated since v0.9. This field is maintained for backward compatibility and its use is discouraged. Existing usage should be updated to the current preferred approach to avoid compatibility issues in future releases. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateSwitchPolicy { /// Type specifies the type of switch policy to be applied. #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] @@ -5210,7 +5210,7 @@ pub enum ClusterShardingSpecsTemplateSwitchPolicyType { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5240,7 +5240,7 @@ pub enum ClusterShardingSpecsTemplateUpdateStrategy { /// Allows users to specify custom ConfigMaps and Secrets to be mounted as volumes in the Cluster's Pods. This is useful in scenarios where users need to provide additional resources to the Cluster, such as: /// - Mounting custom scripts or configuration files during Cluster startup. - Mounting Secrets as volumes to provide sensitive information, like S3 AK/SK, to the Cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateUserResourceRefs { /// ConfigMapRefs defines the user-defined ConfigMaps. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRefs")] @@ -5251,7 +5251,7 @@ pub struct ClusterShardingSpecsTemplateUserResourceRefs { } /// ConfigMapRef defines a reference to a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateUserResourceRefsConfigMapRefs { /// AsVolumeFrom lists the names of containers in which the volume should be mounted. #[serde(default, skip_serializing_if = "Option::is_none", rename = "asVolumeFrom")] @@ -5270,7 +5270,7 @@ pub struct ClusterShardingSpecsTemplateUserResourceRefsConfigMapRefs { } /// ConfigMap specifies the ConfigMap to be mounted as a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateUserResourceRefsConfigMapRefsConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -5287,7 +5287,7 @@ pub struct ClusterShardingSpecsTemplateUserResourceRefsConfigMapRefsConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateUserResourceRefsConfigMapRefsConfigMapItems { /// key is the key to project. pub key: String, @@ -5299,7 +5299,7 @@ pub struct ClusterShardingSpecsTemplateUserResourceRefsConfigMapRefsConfigMapIte } /// SecretRef defines a reference to a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateUserResourceRefsSecretRefs { /// AsVolumeFrom lists the names of containers in which the volume should be mounted. #[serde(default, skip_serializing_if = "Option::is_none", rename = "asVolumeFrom")] @@ -5317,7 +5317,7 @@ pub struct ClusterShardingSpecsTemplateUserResourceRefsSecretRefs { } /// Secret specifies the Secret to be mounted as a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateUserResourceRefsSecretRefsSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -5334,7 +5334,7 @@ pub struct ClusterShardingSpecsTemplateUserResourceRefsSecretRefsSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateUserResourceRefsSecretRefsSecretItems { /// key is the key to project. pub key: String, @@ -5345,7 +5345,7 @@ pub struct ClusterShardingSpecsTemplateUserResourceRefsSecretRefsSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateVolumeClaimTemplates { /// Refers to the name of a volumeMount defined in either: /// - `componentDefinition.spec.runtime.containers[*].volumeMounts` - `clusterDefinition.spec.componentDefs[*].podSpec.containers[*].volumeMounts` (deprecated) @@ -5359,7 +5359,7 @@ pub struct ClusterShardingSpecsTemplateVolumeClaimTemplates { /// Defines the desired characteristics of a PersistentVolumeClaim that will be created for the volume with the mount name specified in the `name` field. /// When a Pod is created for this ClusterComponent, a new PVC will be created based on the specification defined in the `spec` field. The PVC will be associated with the volume mount specified by the `name` field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateVolumeClaimTemplatesSpec { /// Contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -5376,7 +5376,7 @@ pub struct ClusterShardingSpecsTemplateVolumeClaimTemplatesSpec { } /// Represents the minimum resources the volume should have. If the RecoverVolumeExpansionFailure feature is enabled, users are allowed to specify resource requirements that are lower than the previous value but must still be higher than the capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateVolumeClaimTemplatesSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -5392,7 +5392,7 @@ pub struct ClusterShardingSpecsTemplateVolumeClaimTemplatesSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterShardingSpecsTemplateVolumeClaimTemplatesSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, @@ -5400,7 +5400,7 @@ pub struct ClusterShardingSpecsTemplateVolumeClaimTemplatesSpecResourcesClaims { /// Specifies the storage of the first componentSpec, if the storage of the first componentSpec is specified, this value will be ignored. /// Deprecated since v0.9. This field is maintained for backward compatibility and its use is discouraged. Existing usage should be updated to the current preferred approach to avoid compatibility issues in future releases. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterStorage { /// Specifies the amount of storage the Cluster needs. For more information, refer to: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5424,7 +5424,7 @@ pub enum ClusterTerminationPolicy { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5444,7 +5444,7 @@ pub struct ClusterTolerations { } /// ClusterStatus defines the observed state of the Cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterStatus { /// Represents the generation number of the referenced ClusterDefinition. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterDefGeneration")] @@ -5468,7 +5468,7 @@ pub struct ClusterStatus { } /// Records the current status information of all Components within the Cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterStatusComponents { /// Represents the status of the members. #[serde(default, skip_serializing_if = "Option::is_none", rename = "membersStatus")] @@ -5487,7 +5487,7 @@ pub struct ClusterStatusComponents { pub pods_ready_time: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterStatusComponentsMembersStatus { /// Represents the name of the pod. #[serde(rename = "podName")] diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/clusterversions.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/clusterversions.rs index 893612e64..e398ea9c8 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/clusterversions.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/clusterversions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusterversions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/clusterversions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/componentclassdefinitions.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/componentclassdefinitions.rs index 2f2ba755e..72e93382f 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/componentclassdefinitions.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/componentclassdefinitions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/componentclassdefinitions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/componentclassdefinitions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/componentdefinitions.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/componentdefinitions.rs index f46490439..725968cd9 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/componentdefinitions.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/componentdefinitions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/componentdefinitions.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/componentdefinitions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "apps.kubeblocks.io", version = "v1alpha1", kind = "ComponentDefinition", plural = "componentdefinitions")] #[kube(status = "ComponentDefinitionStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ComponentDefinitionSpec { /// Specifies static annotations that will be patched to all Kubernetes resources created for the Component. @@ -162,7 +163,7 @@ pub struct ComponentDefinitionSpec { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionConfigs { /// Specifies the containers to inject the ConfigMap parameters as environment variables. /// This is useful when application images accept parameters through environment variables and generate the final configuration file in the startup script based on these variables. @@ -216,7 +217,7 @@ pub struct ComponentDefinitionConfigs { /// The template is rendered inside the pod (by the "config-manager" sidecar container) and merged with the main template's render result to generate the final configuration file. /// This field is intended to handle scenarios where different pods within the same Component have varying configurations. It allows for pod-specific customization of the configuration. /// Note: This field will be deprecated in future versions, and the functionality will be moved to `cluster.spec.componentSpecs[*].instances[*]`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionConfigsLegacyRenderedConfigSpec { /// Specifies the namespace of the referenced configuration template ConfigMap object. An empty namespace is equivalent to the "default" namespace. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -244,7 +245,7 @@ pub enum ComponentDefinitionConfigsLegacyRenderedConfigSpecPolicy { } /// Defines the built-in metrics exporter container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionExporter { /// Specifies the name of the built-in metrics exporter container. #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -273,14 +274,14 @@ pub enum ComponentDefinitionExporterScrapeScheme { /// When `hostNetwork` option is enabled, the Pods share the host's network namespace and can directly access the host's network interfaces. This means that if multiple Pods need to use the same port, they cannot run on the same host simultaneously due to port conflicts. /// The DNSPolicy field in the Pod spec determines how containers within the Pod perform DNS resolution. When using hostNetwork, the operator will set the DNSPolicy to 'ClusterFirstWithHostNet'. With this policy, DNS queries will first go through the K8s cluster's DNS service. If the query fails, it will fall back to the host's DNS settings. /// If set, the DNS policy will be automatically set to "ClusterFirstWithHostNet". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionHostNetwork { /// The list of container ports that are required by the component. #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerPorts")] pub container_ports: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionHostNetworkContainerPorts { /// Container specifies the target container within the Pod. pub container: String, @@ -291,7 +292,7 @@ pub struct ComponentDefinitionHostNetworkContainerPorts { /// Defines a set of hooks and procedures that customize the behavior of a Component throughout its lifecycle. Actions are triggered at specific lifecycle stages: /// - `postProvision`: Defines the hook to be executed after the creation of a Component, with `preCondition` specifying when the action should be fired relative to the Component's lifecycle stages: `Immediately`, `RuntimeReady`, `ComponentReady`, and `ClusterReady`. - `preTerminate`: Defines the hook to be executed before terminating a Component. - `roleProbe`: Defines the procedure which is invoked regularly to assess the role of replicas. - `switchover`: Defines the procedure for a controlled transition of leadership from the current leader to a new replica. This approach aims to minimize downtime and maintain availability in systems with a leader-follower topology, such as before planned maintenance or upgrades on the current leader node. - `memberJoin`: Defines the procedure to add a new replica to the replication group. - `memberLeave`: Defines the method to remove a replica from the replication group. - `readOnly`: Defines the procedure to switch a replica into the read-only state. - `readWrite`: transition a replica from the read-only state back to the read-write state. - `dataDump`: Defines the procedure to export the data from a replica. - `dataLoad`: Defines the procedure to import data into a replica. - `reconfigure`: Defines the procedure that update a replica with new configuration file. - `accountProvision`: Defines the procedure to generate a new database account. /// This field is immutable. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActions { /// Defines the procedure to generate a new database account. /// Use Case: This action is designed to create system accounts that are utilized for replication, monitoring, backup, and other administrative tasks. @@ -398,7 +399,7 @@ pub struct ComponentDefinitionLifecycleActions { /// Defines the procedure to generate a new database account. /// Use Case: This action is designed to create system accounts that are utilized for replication, monitoring, backup, and other administrative tasks. /// Note: This field is immutable once it has been set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsAccountProvision { /// Specifies the name of the predefined action handler to be invoked for lifecycle actions. /// Lorry, as a sidecar agent co-located with the database container in the same Pod, includes a suite of built-in action implementations that are tailored to different database engines. These are known as "builtin" handlers, includes: `mysql`, `redis`, `mongodb`, `etcd`, `postgresql`, `official-postgresql`, `apecloud-postgresql`, `wesql`, `oceanbase`, `polardbx`. @@ -419,7 +420,7 @@ pub struct ComponentDefinitionLifecycleActionsAccountProvision { /// Specifies a user-defined hook or procedure that is called to perform the specific lifecycle action. It offers a flexible and expandable approach for customizing the behavior of a Component by leveraging tailored actions. /// An Action can be implemented as either an ExecAction or an HTTPAction, with future versions planning to support GRPCAction, thereby accommodating unique logic for different database systems within the Action's framework. /// In future iterations, all built-in handlers are expected to transition to GRPCAction. This change means that Lorry or other sidecar agents will expose the implementation of actions through a GRPC interface for external invocation. Then the controller will interact with these actions via GRPCAction calls. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsAccountProvisionCustomHandler { /// Defines the name of the container within the target Pod where the action will be executed. /// This name must correspond to one of the containers defined in `componentDefinition.spec.runtime`. If this field is not specified, the default behavior is to use the first container listed in `componentDefinition.spec.runtime`. @@ -475,7 +476,7 @@ pub struct ComponentDefinitionLifecycleActionsAccountProvisionCustomHandler { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsAccountProvisionCustomHandlerEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -488,7 +489,7 @@ pub struct ComponentDefinitionLifecycleActionsAccountProvisionCustomHandlerEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsAccountProvisionCustomHandlerEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -505,7 +506,7 @@ pub struct ComponentDefinitionLifecycleActionsAccountProvisionCustomHandlerEnvVa } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsAccountProvisionCustomHandlerEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -518,7 +519,7 @@ pub struct ComponentDefinitionLifecycleActionsAccountProvisionCustomHandlerEnvVa } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsAccountProvisionCustomHandlerEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -529,7 +530,7 @@ pub struct ComponentDefinitionLifecycleActionsAccountProvisionCustomHandlerEnvVa } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsAccountProvisionCustomHandlerEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -542,7 +543,7 @@ pub struct ComponentDefinitionLifecycleActionsAccountProvisionCustomHandlerEnvVa } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsAccountProvisionCustomHandlerEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -556,7 +557,7 @@ pub struct ComponentDefinitionLifecycleActionsAccountProvisionCustomHandlerEnvVa /// Defines the command to run. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsAccountProvisionCustomHandlerExec { /// Args represents the arguments that are passed to the `command` for execution. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -570,7 +571,7 @@ pub struct ComponentDefinitionLifecycleActionsAccountProvisionCustomHandlerExec /// Specifies the HTTP request to perform. /// This field cannot be updated. /// Note: HTTPAction is to be implemented in future version. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsAccountProvisionCustomHandlerHttp { /// Indicates the server's domain name or IP address. Defaults to the Pod's IP. Prefer setting the "Host" header in httpHeaders when needed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -592,7 +593,7 @@ pub struct ComponentDefinitionLifecycleActionsAccountProvisionCustomHandlerHttp } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsAccountProvisionCustomHandlerHttpHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -603,7 +604,7 @@ pub struct ComponentDefinitionLifecycleActionsAccountProvisionCustomHandlerHttpH /// Defines the strategy to be taken when retrying the Action after a failure. /// It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsAccountProvisionCustomHandlerRetryPolicy { /// Defines the maximum number of retry attempts that should be made for a given Action. This value is set to 0 by default, indicating that no retries will be made. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxRetries")] @@ -629,7 +630,7 @@ pub enum ComponentDefinitionLifecycleActionsAccountProvisionCustomHandlerTargetP /// Applicability: Some database engines or associated sidecar applications (e.g., Patroni) may already provide this functionality. In such cases, this action may not be required. /// The output should be a valid data dump streamed to stdout. It must exclude any irrelevant information to ensure that only the necessary data is exported for import into the new replica. /// Note: This field is immutable once it has been set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsDataDump { /// Specifies the name of the predefined action handler to be invoked for lifecycle actions. /// Lorry, as a sidecar agent co-located with the database container in the same Pod, includes a suite of built-in action implementations that are tailored to different database engines. These are known as "builtin" handlers, includes: `mysql`, `redis`, `mongodb`, `etcd`, `postgresql`, `official-postgresql`, `apecloud-postgresql`, `wesql`, `oceanbase`, `polardbx`. @@ -650,7 +651,7 @@ pub struct ComponentDefinitionLifecycleActionsDataDump { /// Specifies a user-defined hook or procedure that is called to perform the specific lifecycle action. It offers a flexible and expandable approach for customizing the behavior of a Component by leveraging tailored actions. /// An Action can be implemented as either an ExecAction or an HTTPAction, with future versions planning to support GRPCAction, thereby accommodating unique logic for different database systems within the Action's framework. /// In future iterations, all built-in handlers are expected to transition to GRPCAction. This change means that Lorry or other sidecar agents will expose the implementation of actions through a GRPC interface for external invocation. Then the controller will interact with these actions via GRPCAction calls. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsDataDumpCustomHandler { /// Defines the name of the container within the target Pod where the action will be executed. /// This name must correspond to one of the containers defined in `componentDefinition.spec.runtime`. If this field is not specified, the default behavior is to use the first container listed in `componentDefinition.spec.runtime`. @@ -706,7 +707,7 @@ pub struct ComponentDefinitionLifecycleActionsDataDumpCustomHandler { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsDataDumpCustomHandlerEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -719,7 +720,7 @@ pub struct ComponentDefinitionLifecycleActionsDataDumpCustomHandlerEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsDataDumpCustomHandlerEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -736,7 +737,7 @@ pub struct ComponentDefinitionLifecycleActionsDataDumpCustomHandlerEnvValueFrom } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsDataDumpCustomHandlerEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -749,7 +750,7 @@ pub struct ComponentDefinitionLifecycleActionsDataDumpCustomHandlerEnvValueFromC } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsDataDumpCustomHandlerEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -760,7 +761,7 @@ pub struct ComponentDefinitionLifecycleActionsDataDumpCustomHandlerEnvValueFromF } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsDataDumpCustomHandlerEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -773,7 +774,7 @@ pub struct ComponentDefinitionLifecycleActionsDataDumpCustomHandlerEnvValueFromR } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsDataDumpCustomHandlerEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -787,7 +788,7 @@ pub struct ComponentDefinitionLifecycleActionsDataDumpCustomHandlerEnvValueFromS /// Defines the command to run. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsDataDumpCustomHandlerExec { /// Args represents the arguments that are passed to the `command` for execution. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -801,7 +802,7 @@ pub struct ComponentDefinitionLifecycleActionsDataDumpCustomHandlerExec { /// Specifies the HTTP request to perform. /// This field cannot be updated. /// Note: HTTPAction is to be implemented in future version. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsDataDumpCustomHandlerHttp { /// Indicates the server's domain name or IP address. Defaults to the Pod's IP. Prefer setting the "Host" header in httpHeaders when needed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -823,7 +824,7 @@ pub struct ComponentDefinitionLifecycleActionsDataDumpCustomHandlerHttp { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsDataDumpCustomHandlerHttpHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -834,7 +835,7 @@ pub struct ComponentDefinitionLifecycleActionsDataDumpCustomHandlerHttpHttpHeade /// Defines the strategy to be taken when retrying the Action after a failure. /// It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsDataDumpCustomHandlerRetryPolicy { /// Defines the maximum number of retry attempts that should be made for a given Action. This value is set to 0 by default, indicating that no retries will be made. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxRetries")] @@ -860,7 +861,7 @@ pub enum ComponentDefinitionLifecycleActionsDataDumpCustomHandlerTargetPodSelect /// Some database engines or associated sidecar applications (e.g., Patroni) may already provide this functionality. In such cases, this action may not be required. /// Data should be received through stdin. If any error occurs during the process, the action must be able to guarantee idempotence to allow for retries from the beginning. /// Note: This field is immutable once it has been set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsDataLoad { /// Specifies the name of the predefined action handler to be invoked for lifecycle actions. /// Lorry, as a sidecar agent co-located with the database container in the same Pod, includes a suite of built-in action implementations that are tailored to different database engines. These are known as "builtin" handlers, includes: `mysql`, `redis`, `mongodb`, `etcd`, `postgresql`, `official-postgresql`, `apecloud-postgresql`, `wesql`, `oceanbase`, `polardbx`. @@ -881,7 +882,7 @@ pub struct ComponentDefinitionLifecycleActionsDataLoad { /// Specifies a user-defined hook or procedure that is called to perform the specific lifecycle action. It offers a flexible and expandable approach for customizing the behavior of a Component by leveraging tailored actions. /// An Action can be implemented as either an ExecAction or an HTTPAction, with future versions planning to support GRPCAction, thereby accommodating unique logic for different database systems within the Action's framework. /// In future iterations, all built-in handlers are expected to transition to GRPCAction. This change means that Lorry or other sidecar agents will expose the implementation of actions through a GRPC interface for external invocation. Then the controller will interact with these actions via GRPCAction calls. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsDataLoadCustomHandler { /// Defines the name of the container within the target Pod where the action will be executed. /// This name must correspond to one of the containers defined in `componentDefinition.spec.runtime`. If this field is not specified, the default behavior is to use the first container listed in `componentDefinition.spec.runtime`. @@ -937,7 +938,7 @@ pub struct ComponentDefinitionLifecycleActionsDataLoadCustomHandler { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsDataLoadCustomHandlerEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -950,7 +951,7 @@ pub struct ComponentDefinitionLifecycleActionsDataLoadCustomHandlerEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsDataLoadCustomHandlerEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -967,7 +968,7 @@ pub struct ComponentDefinitionLifecycleActionsDataLoadCustomHandlerEnvValueFrom } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsDataLoadCustomHandlerEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -980,7 +981,7 @@ pub struct ComponentDefinitionLifecycleActionsDataLoadCustomHandlerEnvValueFromC } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsDataLoadCustomHandlerEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -991,7 +992,7 @@ pub struct ComponentDefinitionLifecycleActionsDataLoadCustomHandlerEnvValueFromF } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsDataLoadCustomHandlerEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1004,7 +1005,7 @@ pub struct ComponentDefinitionLifecycleActionsDataLoadCustomHandlerEnvValueFromR } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsDataLoadCustomHandlerEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1018,7 +1019,7 @@ pub struct ComponentDefinitionLifecycleActionsDataLoadCustomHandlerEnvValueFromS /// Defines the command to run. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsDataLoadCustomHandlerExec { /// Args represents the arguments that are passed to the `command` for execution. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1032,7 +1033,7 @@ pub struct ComponentDefinitionLifecycleActionsDataLoadCustomHandlerExec { /// Specifies the HTTP request to perform. /// This field cannot be updated. /// Note: HTTPAction is to be implemented in future version. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsDataLoadCustomHandlerHttp { /// Indicates the server's domain name or IP address. Defaults to the Pod's IP. Prefer setting the "Host" header in httpHeaders when needed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1054,7 +1055,7 @@ pub struct ComponentDefinitionLifecycleActionsDataLoadCustomHandlerHttp { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsDataLoadCustomHandlerHttpHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1065,7 +1066,7 @@ pub struct ComponentDefinitionLifecycleActionsDataLoadCustomHandlerHttpHttpHeade /// Defines the strategy to be taken when retrying the Action after a failure. /// It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsDataLoadCustomHandlerRetryPolicy { /// Defines the maximum number of retry attempts that should be made for a given Action. This value is set to 0 by default, indicating that no retries will be made. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxRetries")] @@ -1095,7 +1096,7 @@ pub enum ComponentDefinitionLifecycleActionsDataLoadCustomHandlerTargetPodSelect /// For example, to add a new OBServer to an OceanBase Cluster in 'zone1', the following command may be used: /// ```yaml command: - bash - -c - | ADDRESS=$(KB_MEMBER_ADDRESSES%%,*) HOST=$(echo $ADDRESS | cut -d ':' -f 1) PORT=$(echo $ADDRESS | cut -d ':' -f 2) CLIENT="mysql -u $KB_SERVICE_USER -p$KB_SERVICE_PASSWORD -P $PORT -h $HOST -e" $CLIENT "ALTER SYSTEM ADD SERVER '$KB_NEW_MEMBER_POD_IP:$KB_SERVICE_PORT' ZONE 'zone1'" ``` /// Note: This field is immutable once it has been set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsMemberJoin { /// Specifies the name of the predefined action handler to be invoked for lifecycle actions. /// Lorry, as a sidecar agent co-located with the database container in the same Pod, includes a suite of built-in action implementations that are tailored to different database engines. These are known as "builtin" handlers, includes: `mysql`, `redis`, `mongodb`, `etcd`, `postgresql`, `official-postgresql`, `apecloud-postgresql`, `wesql`, `oceanbase`, `polardbx`. @@ -1116,7 +1117,7 @@ pub struct ComponentDefinitionLifecycleActionsMemberJoin { /// Specifies a user-defined hook or procedure that is called to perform the specific lifecycle action. It offers a flexible and expandable approach for customizing the behavior of a Component by leveraging tailored actions. /// An Action can be implemented as either an ExecAction or an HTTPAction, with future versions planning to support GRPCAction, thereby accommodating unique logic for different database systems within the Action's framework. /// In future iterations, all built-in handlers are expected to transition to GRPCAction. This change means that Lorry or other sidecar agents will expose the implementation of actions through a GRPC interface for external invocation. Then the controller will interact with these actions via GRPCAction calls. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsMemberJoinCustomHandler { /// Defines the name of the container within the target Pod where the action will be executed. /// This name must correspond to one of the containers defined in `componentDefinition.spec.runtime`. If this field is not specified, the default behavior is to use the first container listed in `componentDefinition.spec.runtime`. @@ -1172,7 +1173,7 @@ pub struct ComponentDefinitionLifecycleActionsMemberJoinCustomHandler { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsMemberJoinCustomHandlerEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -1185,7 +1186,7 @@ pub struct ComponentDefinitionLifecycleActionsMemberJoinCustomHandlerEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsMemberJoinCustomHandlerEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1202,7 +1203,7 @@ pub struct ComponentDefinitionLifecycleActionsMemberJoinCustomHandlerEnvValueFro } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsMemberJoinCustomHandlerEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1215,7 +1216,7 @@ pub struct ComponentDefinitionLifecycleActionsMemberJoinCustomHandlerEnvValueFro } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsMemberJoinCustomHandlerEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1226,7 +1227,7 @@ pub struct ComponentDefinitionLifecycleActionsMemberJoinCustomHandlerEnvValueFro } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsMemberJoinCustomHandlerEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1239,7 +1240,7 @@ pub struct ComponentDefinitionLifecycleActionsMemberJoinCustomHandlerEnvValueFro } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsMemberJoinCustomHandlerEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1253,7 +1254,7 @@ pub struct ComponentDefinitionLifecycleActionsMemberJoinCustomHandlerEnvValueFro /// Defines the command to run. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsMemberJoinCustomHandlerExec { /// Args represents the arguments that are passed to the `command` for execution. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1267,7 +1268,7 @@ pub struct ComponentDefinitionLifecycleActionsMemberJoinCustomHandlerExec { /// Specifies the HTTP request to perform. /// This field cannot be updated. /// Note: HTTPAction is to be implemented in future version. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsMemberJoinCustomHandlerHttp { /// Indicates the server's domain name or IP address. Defaults to the Pod's IP. Prefer setting the "Host" header in httpHeaders when needed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1289,7 +1290,7 @@ pub struct ComponentDefinitionLifecycleActionsMemberJoinCustomHandlerHttp { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsMemberJoinCustomHandlerHttpHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1300,7 +1301,7 @@ pub struct ComponentDefinitionLifecycleActionsMemberJoinCustomHandlerHttpHttpHea /// Defines the strategy to be taken when retrying the Action after a failure. /// It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsMemberJoinCustomHandlerRetryPolicy { /// Defines the maximum number of retry attempts that should be made for a given Action. This value is set to 0 by default, indicating that no retries will be made. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxRetries")] @@ -1330,7 +1331,7 @@ pub enum ComponentDefinitionLifecycleActionsMemberJoinCustomHandlerTargetPodSele /// For example, to remove an OBServer from an OceanBase Cluster in 'zone1', the following command can be executed: /// ```yaml command: - bash - -c - | ADDRESS=$(KB_MEMBER_ADDRESSES%%,*) HOST=$(echo $ADDRESS | cut -d ':' -f 1) PORT=$(echo $ADDRESS | cut -d ':' -f 2) CLIENT="mysql -u $KB_SERVICE_USER -p$KB_SERVICE_PASSWORD -P $PORT -h $HOST -e" $CLIENT "ALTER SYSTEM DELETE SERVER '$KB_LEAVE_MEMBER_POD_IP:$KB_SERVICE_PORT' ZONE 'zone1'" ``` /// Note: This field is immutable once it has been set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsMemberLeave { /// Specifies the name of the predefined action handler to be invoked for lifecycle actions. /// Lorry, as a sidecar agent co-located with the database container in the same Pod, includes a suite of built-in action implementations that are tailored to different database engines. These are known as "builtin" handlers, includes: `mysql`, `redis`, `mongodb`, `etcd`, `postgresql`, `official-postgresql`, `apecloud-postgresql`, `wesql`, `oceanbase`, `polardbx`. @@ -1351,7 +1352,7 @@ pub struct ComponentDefinitionLifecycleActionsMemberLeave { /// Specifies a user-defined hook or procedure that is called to perform the specific lifecycle action. It offers a flexible and expandable approach for customizing the behavior of a Component by leveraging tailored actions. /// An Action can be implemented as either an ExecAction or an HTTPAction, with future versions planning to support GRPCAction, thereby accommodating unique logic for different database systems within the Action's framework. /// In future iterations, all built-in handlers are expected to transition to GRPCAction. This change means that Lorry or other sidecar agents will expose the implementation of actions through a GRPC interface for external invocation. Then the controller will interact with these actions via GRPCAction calls. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsMemberLeaveCustomHandler { /// Defines the name of the container within the target Pod where the action will be executed. /// This name must correspond to one of the containers defined in `componentDefinition.spec.runtime`. If this field is not specified, the default behavior is to use the first container listed in `componentDefinition.spec.runtime`. @@ -1407,7 +1408,7 @@ pub struct ComponentDefinitionLifecycleActionsMemberLeaveCustomHandler { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsMemberLeaveCustomHandlerEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -1420,7 +1421,7 @@ pub struct ComponentDefinitionLifecycleActionsMemberLeaveCustomHandlerEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsMemberLeaveCustomHandlerEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1437,7 +1438,7 @@ pub struct ComponentDefinitionLifecycleActionsMemberLeaveCustomHandlerEnvValueFr } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsMemberLeaveCustomHandlerEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1450,7 +1451,7 @@ pub struct ComponentDefinitionLifecycleActionsMemberLeaveCustomHandlerEnvValueFr } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsMemberLeaveCustomHandlerEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1461,7 +1462,7 @@ pub struct ComponentDefinitionLifecycleActionsMemberLeaveCustomHandlerEnvValueFr } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsMemberLeaveCustomHandlerEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1474,7 +1475,7 @@ pub struct ComponentDefinitionLifecycleActionsMemberLeaveCustomHandlerEnvValueFr } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsMemberLeaveCustomHandlerEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1488,7 +1489,7 @@ pub struct ComponentDefinitionLifecycleActionsMemberLeaveCustomHandlerEnvValueFr /// Defines the command to run. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsMemberLeaveCustomHandlerExec { /// Args represents the arguments that are passed to the `command` for execution. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1502,7 +1503,7 @@ pub struct ComponentDefinitionLifecycleActionsMemberLeaveCustomHandlerExec { /// Specifies the HTTP request to perform. /// This field cannot be updated. /// Note: HTTPAction is to be implemented in future version. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsMemberLeaveCustomHandlerHttp { /// Indicates the server's domain name or IP address. Defaults to the Pod's IP. Prefer setting the "Host" header in httpHeaders when needed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1524,7 +1525,7 @@ pub struct ComponentDefinitionLifecycleActionsMemberLeaveCustomHandlerHttp { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsMemberLeaveCustomHandlerHttpHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1535,7 +1536,7 @@ pub struct ComponentDefinitionLifecycleActionsMemberLeaveCustomHandlerHttpHttpHe /// Defines the strategy to be taken when retrying the Action after a failure. /// It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsMemberLeaveCustomHandlerRetryPolicy { /// Defines the maximum number of retry attempts that should be made for a given Action. This value is set to 0 by default, indicating that no retries will be made. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxRetries")] @@ -1564,7 +1565,7 @@ pub enum ComponentDefinitionLifecycleActionsMemberLeaveCustomHandlerTargetPodSel /// - KB_CLUSTER_COMPONENT_POD_NAME_LIST: Comma-separated list of all pod names within the component (e.g., "pod1,pod2"). - KB_CLUSTER_COMPONENT_POD_IP_LIST: Comma-separated list of pod IP addresses, matching the order of pods in KB_CLUSTER_COMPONENT_POD_NAME_LIST (e.g., "podIp1,podIp2"). - KB_CLUSTER_COMPONENT_POD_HOST_NAME_LIST: Comma-separated list of host names for each pod, matching the order of pods in KB_CLUSTER_COMPONENT_POD_NAME_LIST (e.g., "hostName1,hostName2"). - KB_CLUSTER_COMPONENT_POD_HOST_IP_LIST: Comma-separated list of host IP addresses for each pod, matching the order of pods in KB_CLUSTER_COMPONENT_POD_NAME_LIST (e.g., "hostIp1,hostIp2"). /// - KB_CLUSTER_COMPONENT_LIST: Comma-separated list of all cluster components (e.g., "comp1,comp2"). - KB_CLUSTER_COMPONENT_DELETING_LIST: Comma-separated list of components that are currently being deleted (e.g., "comp1,comp2"). - KB_CLUSTER_COMPONENT_UNDELETED_LIST: Comma-separated list of components that are not being deleted (e.g., "comp1,comp2"). /// Note: This field is immutable once it has been set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsPostProvision { /// Specifies the name of the predefined action handler to be invoked for lifecycle actions. /// Lorry, as a sidecar agent co-located with the database container in the same Pod, includes a suite of built-in action implementations that are tailored to different database engines. These are known as "builtin" handlers, includes: `mysql`, `redis`, `mongodb`, `etcd`, `postgresql`, `official-postgresql`, `apecloud-postgresql`, `wesql`, `oceanbase`, `polardbx`. @@ -1585,7 +1586,7 @@ pub struct ComponentDefinitionLifecycleActionsPostProvision { /// Specifies a user-defined hook or procedure that is called to perform the specific lifecycle action. It offers a flexible and expandable approach for customizing the behavior of a Component by leveraging tailored actions. /// An Action can be implemented as either an ExecAction or an HTTPAction, with future versions planning to support GRPCAction, thereby accommodating unique logic for different database systems within the Action's framework. /// In future iterations, all built-in handlers are expected to transition to GRPCAction. This change means that Lorry or other sidecar agents will expose the implementation of actions through a GRPC interface for external invocation. Then the controller will interact with these actions via GRPCAction calls. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsPostProvisionCustomHandler { /// Defines the name of the container within the target Pod where the action will be executed. /// This name must correspond to one of the containers defined in `componentDefinition.spec.runtime`. If this field is not specified, the default behavior is to use the first container listed in `componentDefinition.spec.runtime`. @@ -1641,7 +1642,7 @@ pub struct ComponentDefinitionLifecycleActionsPostProvisionCustomHandler { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsPostProvisionCustomHandlerEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -1654,7 +1655,7 @@ pub struct ComponentDefinitionLifecycleActionsPostProvisionCustomHandlerEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsPostProvisionCustomHandlerEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1671,7 +1672,7 @@ pub struct ComponentDefinitionLifecycleActionsPostProvisionCustomHandlerEnvValue } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsPostProvisionCustomHandlerEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1684,7 +1685,7 @@ pub struct ComponentDefinitionLifecycleActionsPostProvisionCustomHandlerEnvValue } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsPostProvisionCustomHandlerEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1695,7 +1696,7 @@ pub struct ComponentDefinitionLifecycleActionsPostProvisionCustomHandlerEnvValue } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsPostProvisionCustomHandlerEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1708,7 +1709,7 @@ pub struct ComponentDefinitionLifecycleActionsPostProvisionCustomHandlerEnvValue } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsPostProvisionCustomHandlerEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1722,7 +1723,7 @@ pub struct ComponentDefinitionLifecycleActionsPostProvisionCustomHandlerEnvValue /// Defines the command to run. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsPostProvisionCustomHandlerExec { /// Args represents the arguments that are passed to the `command` for execution. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1736,7 +1737,7 @@ pub struct ComponentDefinitionLifecycleActionsPostProvisionCustomHandlerExec { /// Specifies the HTTP request to perform. /// This field cannot be updated. /// Note: HTTPAction is to be implemented in future version. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsPostProvisionCustomHandlerHttp { /// Indicates the server's domain name or IP address. Defaults to the Pod's IP. Prefer setting the "Host" header in httpHeaders when needed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1758,7 +1759,7 @@ pub struct ComponentDefinitionLifecycleActionsPostProvisionCustomHandlerHttp { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsPostProvisionCustomHandlerHttpHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1769,7 +1770,7 @@ pub struct ComponentDefinitionLifecycleActionsPostProvisionCustomHandlerHttpHttp /// Defines the strategy to be taken when retrying the Action after a failure. /// It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsPostProvisionCustomHandlerRetryPolicy { /// Defines the maximum number of retry attempts that should be made for a given Action. This value is set to 0 by default, indicating that no retries will be made. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxRetries")] @@ -1799,7 +1800,7 @@ pub enum ComponentDefinitionLifecycleActionsPostProvisionCustomHandlerTargetPodS /// - KB_CLUSTER_COMPONENT_LIST: Comma-separated list of all cluster components (e.g., "comp1,comp2"). - KB_CLUSTER_COMPONENT_DELETING_LIST: Comma-separated list of components that are currently being deleted (e.g., "comp1,comp2"). - KB_CLUSTER_COMPONENT_UNDELETED_LIST: Comma-separated list of components that are not being deleted (e.g., "comp1,comp2"). /// - KB_CLUSTER_COMPONENT_IS_SCALING_IN: Indicates whether the component is currently scaling in. If this variable is present and set to "true", it denotes that the component is undergoing a scale-in operation. During scale-in, data rebalancing is necessary to maintain cluster integrity. Contrast this with a cluster deletion scenario where data rebalancing is not required as the entire cluster is being cleaned up. /// Note: This field is immutable once it has been set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsPreTerminate { /// Specifies the name of the predefined action handler to be invoked for lifecycle actions. /// Lorry, as a sidecar agent co-located with the database container in the same Pod, includes a suite of built-in action implementations that are tailored to different database engines. These are known as "builtin" handlers, includes: `mysql`, `redis`, `mongodb`, `etcd`, `postgresql`, `official-postgresql`, `apecloud-postgresql`, `wesql`, `oceanbase`, `polardbx`. @@ -1820,7 +1821,7 @@ pub struct ComponentDefinitionLifecycleActionsPreTerminate { /// Specifies a user-defined hook or procedure that is called to perform the specific lifecycle action. It offers a flexible and expandable approach for customizing the behavior of a Component by leveraging tailored actions. /// An Action can be implemented as either an ExecAction or an HTTPAction, with future versions planning to support GRPCAction, thereby accommodating unique logic for different database systems within the Action's framework. /// In future iterations, all built-in handlers are expected to transition to GRPCAction. This change means that Lorry or other sidecar agents will expose the implementation of actions through a GRPC interface for external invocation. Then the controller will interact with these actions via GRPCAction calls. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsPreTerminateCustomHandler { /// Defines the name of the container within the target Pod where the action will be executed. /// This name must correspond to one of the containers defined in `componentDefinition.spec.runtime`. If this field is not specified, the default behavior is to use the first container listed in `componentDefinition.spec.runtime`. @@ -1876,7 +1877,7 @@ pub struct ComponentDefinitionLifecycleActionsPreTerminateCustomHandler { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsPreTerminateCustomHandlerEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -1889,7 +1890,7 @@ pub struct ComponentDefinitionLifecycleActionsPreTerminateCustomHandlerEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsPreTerminateCustomHandlerEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1906,7 +1907,7 @@ pub struct ComponentDefinitionLifecycleActionsPreTerminateCustomHandlerEnvValueF } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsPreTerminateCustomHandlerEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1919,7 +1920,7 @@ pub struct ComponentDefinitionLifecycleActionsPreTerminateCustomHandlerEnvValueF } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsPreTerminateCustomHandlerEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1930,7 +1931,7 @@ pub struct ComponentDefinitionLifecycleActionsPreTerminateCustomHandlerEnvValueF } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsPreTerminateCustomHandlerEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1943,7 +1944,7 @@ pub struct ComponentDefinitionLifecycleActionsPreTerminateCustomHandlerEnvValueF } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsPreTerminateCustomHandlerEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1957,7 +1958,7 @@ pub struct ComponentDefinitionLifecycleActionsPreTerminateCustomHandlerEnvValueF /// Defines the command to run. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsPreTerminateCustomHandlerExec { /// Args represents the arguments that are passed to the `command` for execution. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1971,7 +1972,7 @@ pub struct ComponentDefinitionLifecycleActionsPreTerminateCustomHandlerExec { /// Specifies the HTTP request to perform. /// This field cannot be updated. /// Note: HTTPAction is to be implemented in future version. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsPreTerminateCustomHandlerHttp { /// Indicates the server's domain name or IP address. Defaults to the Pod's IP. Prefer setting the "Host" header in httpHeaders when needed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1993,7 +1994,7 @@ pub struct ComponentDefinitionLifecycleActionsPreTerminateCustomHandlerHttp { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsPreTerminateCustomHandlerHttpHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2004,7 +2005,7 @@ pub struct ComponentDefinitionLifecycleActionsPreTerminateCustomHandlerHttpHttpH /// Defines the strategy to be taken when retrying the Action after a failure. /// It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsPreTerminateCustomHandlerRetryPolicy { /// Defines the maximum number of retry attempts that should be made for a given Action. This value is set to 0 by default, indicating that no retries will be made. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxRetries")] @@ -2031,7 +2032,7 @@ pub enum ComponentDefinitionLifecycleActionsPreTerminateCustomHandlerTargetPodSe /// - KB_POD_FQDN: The FQDN of the replica pod whose role is being checked. - KB_SERVICE_PORT: The port used by the database service. - KB_SERVICE_USER: The username with the necessary permissions to interact with the database service. - KB_SERVICE_PASSWORD: The corresponding password for KB_SERVICE_USER to authenticate with the database service. /// Expected action output: - On Failure: An error message, if applicable, indicating why the action failed. /// Note: This field is immutable once it has been set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReadonly { /// Specifies the name of the predefined action handler to be invoked for lifecycle actions. /// Lorry, as a sidecar agent co-located with the database container in the same Pod, includes a suite of built-in action implementations that are tailored to different database engines. These are known as "builtin" handlers, includes: `mysql`, `redis`, `mongodb`, `etcd`, `postgresql`, `official-postgresql`, `apecloud-postgresql`, `wesql`, `oceanbase`, `polardbx`. @@ -2052,7 +2053,7 @@ pub struct ComponentDefinitionLifecycleActionsReadonly { /// Specifies a user-defined hook or procedure that is called to perform the specific lifecycle action. It offers a flexible and expandable approach for customizing the behavior of a Component by leveraging tailored actions. /// An Action can be implemented as either an ExecAction or an HTTPAction, with future versions planning to support GRPCAction, thereby accommodating unique logic for different database systems within the Action's framework. /// In future iterations, all built-in handlers are expected to transition to GRPCAction. This change means that Lorry or other sidecar agents will expose the implementation of actions through a GRPC interface for external invocation. Then the controller will interact with these actions via GRPCAction calls. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReadonlyCustomHandler { /// Defines the name of the container within the target Pod where the action will be executed. /// This name must correspond to one of the containers defined in `componentDefinition.spec.runtime`. If this field is not specified, the default behavior is to use the first container listed in `componentDefinition.spec.runtime`. @@ -2108,7 +2109,7 @@ pub struct ComponentDefinitionLifecycleActionsReadonlyCustomHandler { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReadonlyCustomHandlerEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -2121,7 +2122,7 @@ pub struct ComponentDefinitionLifecycleActionsReadonlyCustomHandlerEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReadonlyCustomHandlerEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -2138,7 +2139,7 @@ pub struct ComponentDefinitionLifecycleActionsReadonlyCustomHandlerEnvValueFrom } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReadonlyCustomHandlerEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -2151,7 +2152,7 @@ pub struct ComponentDefinitionLifecycleActionsReadonlyCustomHandlerEnvValueFromC } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReadonlyCustomHandlerEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2162,7 +2163,7 @@ pub struct ComponentDefinitionLifecycleActionsReadonlyCustomHandlerEnvValueFromF } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReadonlyCustomHandlerEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2175,7 +2176,7 @@ pub struct ComponentDefinitionLifecycleActionsReadonlyCustomHandlerEnvValueFromR } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReadonlyCustomHandlerEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2189,7 +2190,7 @@ pub struct ComponentDefinitionLifecycleActionsReadonlyCustomHandlerEnvValueFromS /// Defines the command to run. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReadonlyCustomHandlerExec { /// Args represents the arguments that are passed to the `command` for execution. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2203,7 +2204,7 @@ pub struct ComponentDefinitionLifecycleActionsReadonlyCustomHandlerExec { /// Specifies the HTTP request to perform. /// This field cannot be updated. /// Note: HTTPAction is to be implemented in future version. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReadonlyCustomHandlerHttp { /// Indicates the server's domain name or IP address. Defaults to the Pod's IP. Prefer setting the "Host" header in httpHeaders when needed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2225,7 +2226,7 @@ pub struct ComponentDefinitionLifecycleActionsReadonlyCustomHandlerHttp { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReadonlyCustomHandlerHttpHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2236,7 +2237,7 @@ pub struct ComponentDefinitionLifecycleActionsReadonlyCustomHandlerHttpHttpHeade /// Defines the strategy to be taken when retrying the Action after a failure. /// It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReadonlyCustomHandlerRetryPolicy { /// Defines the maximum number of retry attempts that should be made for a given Action. This value is set to 0 by default, indicating that no retries will be made. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxRetries")] @@ -2263,7 +2264,7 @@ pub enum ComponentDefinitionLifecycleActionsReadonlyCustomHandlerTargetPodSelect /// - KB_POD_FQDN: The FQDN of the replica pod whose role is being checked. - KB_SERVICE_PORT: The port used by the database service. - KB_SERVICE_USER: The username with the necessary permissions to interact with the database service. - KB_SERVICE_PASSWORD: The corresponding password for KB_SERVICE_USER to authenticate with the database service. /// Expected action output: - On Failure: An error message, if applicable, indicating why the action failed. /// Note: This field is immutable once it has been set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReadwrite { /// Specifies the name of the predefined action handler to be invoked for lifecycle actions. /// Lorry, as a sidecar agent co-located with the database container in the same Pod, includes a suite of built-in action implementations that are tailored to different database engines. These are known as "builtin" handlers, includes: `mysql`, `redis`, `mongodb`, `etcd`, `postgresql`, `official-postgresql`, `apecloud-postgresql`, `wesql`, `oceanbase`, `polardbx`. @@ -2284,7 +2285,7 @@ pub struct ComponentDefinitionLifecycleActionsReadwrite { /// Specifies a user-defined hook or procedure that is called to perform the specific lifecycle action. It offers a flexible and expandable approach for customizing the behavior of a Component by leveraging tailored actions. /// An Action can be implemented as either an ExecAction or an HTTPAction, with future versions planning to support GRPCAction, thereby accommodating unique logic for different database systems within the Action's framework. /// In future iterations, all built-in handlers are expected to transition to GRPCAction. This change means that Lorry or other sidecar agents will expose the implementation of actions through a GRPC interface for external invocation. Then the controller will interact with these actions via GRPCAction calls. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReadwriteCustomHandler { /// Defines the name of the container within the target Pod where the action will be executed. /// This name must correspond to one of the containers defined in `componentDefinition.spec.runtime`. If this field is not specified, the default behavior is to use the first container listed in `componentDefinition.spec.runtime`. @@ -2340,7 +2341,7 @@ pub struct ComponentDefinitionLifecycleActionsReadwriteCustomHandler { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReadwriteCustomHandlerEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -2353,7 +2354,7 @@ pub struct ComponentDefinitionLifecycleActionsReadwriteCustomHandlerEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReadwriteCustomHandlerEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -2370,7 +2371,7 @@ pub struct ComponentDefinitionLifecycleActionsReadwriteCustomHandlerEnvValueFrom } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReadwriteCustomHandlerEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -2383,7 +2384,7 @@ pub struct ComponentDefinitionLifecycleActionsReadwriteCustomHandlerEnvValueFrom } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReadwriteCustomHandlerEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2394,7 +2395,7 @@ pub struct ComponentDefinitionLifecycleActionsReadwriteCustomHandlerEnvValueFrom } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReadwriteCustomHandlerEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2407,7 +2408,7 @@ pub struct ComponentDefinitionLifecycleActionsReadwriteCustomHandlerEnvValueFrom } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReadwriteCustomHandlerEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2421,7 +2422,7 @@ pub struct ComponentDefinitionLifecycleActionsReadwriteCustomHandlerEnvValueFrom /// Defines the command to run. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReadwriteCustomHandlerExec { /// Args represents the arguments that are passed to the `command` for execution. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2435,7 +2436,7 @@ pub struct ComponentDefinitionLifecycleActionsReadwriteCustomHandlerExec { /// Specifies the HTTP request to perform. /// This field cannot be updated. /// Note: HTTPAction is to be implemented in future version. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReadwriteCustomHandlerHttp { /// Indicates the server's domain name or IP address. Defaults to the Pod's IP. Prefer setting the "Host" header in httpHeaders when needed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2457,7 +2458,7 @@ pub struct ComponentDefinitionLifecycleActionsReadwriteCustomHandlerHttp { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReadwriteCustomHandlerHttpHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2468,7 +2469,7 @@ pub struct ComponentDefinitionLifecycleActionsReadwriteCustomHandlerHttpHttpHead /// Defines the strategy to be taken when retrying the Action after a failure. /// It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReadwriteCustomHandlerRetryPolicy { /// Defines the maximum number of retry attempts that should be made for a given Action. This value is set to 0 by default, indicating that no retries will be made. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxRetries")] @@ -2492,7 +2493,7 @@ pub enum ComponentDefinitionLifecycleActionsReadwriteCustomHandlerTargetPodSelec /// Defines the procedure that update a replica with new configuration. /// Note: This field is immutable once it has been set. /// This Action is reserved for future versions. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReconfigure { /// Specifies the name of the predefined action handler to be invoked for lifecycle actions. /// Lorry, as a sidecar agent co-located with the database container in the same Pod, includes a suite of built-in action implementations that are tailored to different database engines. These are known as "builtin" handlers, includes: `mysql`, `redis`, `mongodb`, `etcd`, `postgresql`, `official-postgresql`, `apecloud-postgresql`, `wesql`, `oceanbase`, `polardbx`. @@ -2513,7 +2514,7 @@ pub struct ComponentDefinitionLifecycleActionsReconfigure { /// Specifies a user-defined hook or procedure that is called to perform the specific lifecycle action. It offers a flexible and expandable approach for customizing the behavior of a Component by leveraging tailored actions. /// An Action can be implemented as either an ExecAction or an HTTPAction, with future versions planning to support GRPCAction, thereby accommodating unique logic for different database systems within the Action's framework. /// In future iterations, all built-in handlers are expected to transition to GRPCAction. This change means that Lorry or other sidecar agents will expose the implementation of actions through a GRPC interface for external invocation. Then the controller will interact with these actions via GRPCAction calls. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReconfigureCustomHandler { /// Defines the name of the container within the target Pod where the action will be executed. /// This name must correspond to one of the containers defined in `componentDefinition.spec.runtime`. If this field is not specified, the default behavior is to use the first container listed in `componentDefinition.spec.runtime`. @@ -2569,7 +2570,7 @@ pub struct ComponentDefinitionLifecycleActionsReconfigureCustomHandler { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReconfigureCustomHandlerEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -2582,7 +2583,7 @@ pub struct ComponentDefinitionLifecycleActionsReconfigureCustomHandlerEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReconfigureCustomHandlerEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -2599,7 +2600,7 @@ pub struct ComponentDefinitionLifecycleActionsReconfigureCustomHandlerEnvValueFr } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReconfigureCustomHandlerEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -2612,7 +2613,7 @@ pub struct ComponentDefinitionLifecycleActionsReconfigureCustomHandlerEnvValueFr } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReconfigureCustomHandlerEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2623,7 +2624,7 @@ pub struct ComponentDefinitionLifecycleActionsReconfigureCustomHandlerEnvValueFr } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReconfigureCustomHandlerEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2636,7 +2637,7 @@ pub struct ComponentDefinitionLifecycleActionsReconfigureCustomHandlerEnvValueFr } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReconfigureCustomHandlerEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2650,7 +2651,7 @@ pub struct ComponentDefinitionLifecycleActionsReconfigureCustomHandlerEnvValueFr /// Defines the command to run. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReconfigureCustomHandlerExec { /// Args represents the arguments that are passed to the `command` for execution. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2664,7 +2665,7 @@ pub struct ComponentDefinitionLifecycleActionsReconfigureCustomHandlerExec { /// Specifies the HTTP request to perform. /// This field cannot be updated. /// Note: HTTPAction is to be implemented in future version. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReconfigureCustomHandlerHttp { /// Indicates the server's domain name or IP address. Defaults to the Pod's IP. Prefer setting the "Host" header in httpHeaders when needed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2686,7 +2687,7 @@ pub struct ComponentDefinitionLifecycleActionsReconfigureCustomHandlerHttp { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReconfigureCustomHandlerHttpHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2697,7 +2698,7 @@ pub struct ComponentDefinitionLifecycleActionsReconfigureCustomHandlerHttpHttpHe /// Defines the strategy to be taken when retrying the Action after a failure. /// It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsReconfigureCustomHandlerRetryPolicy { /// Defines the maximum number of retry attempts that should be made for a given Action. This value is set to 0 by default, indicating that no retries will be made. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxRetries")] @@ -2725,7 +2726,7 @@ pub enum ComponentDefinitionLifecycleActionsReconfigureCustomHandlerTargetPodSel /// - KB_POD_FQDN: The FQDN of the Pod whose role is being assessed. - KB_SERVICE_PORT: The port used by the database service. - KB_SERVICE_USER: The username with the necessary permissions to interact with the database service. - KB_SERVICE_PASSWORD: The corresponding password for KB_SERVICE_USER to authenticate with the database service. /// Expected output of this action: - On Success: The determined role of the replica, which must align with one of the roles specified in the component definition. - On Failure: An error message, if applicable, indicating why the action failed. /// Note: This field is immutable once it has been set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsRoleProbe { /// Specifies the name of the predefined action handler to be invoked for lifecycle actions. /// Lorry, as a sidecar agent co-located with the database container in the same Pod, includes a suite of built-in action implementations that are tailored to different database engines. These are known as "builtin" handlers, includes: `mysql`, `redis`, `mongodb`, `etcd`, `postgresql`, `official-postgresql`, `apecloud-postgresql`, `wesql`, `oceanbase`, `polardbx`. @@ -2755,7 +2756,7 @@ pub struct ComponentDefinitionLifecycleActionsRoleProbe { /// Specifies a user-defined hook or procedure that is called to perform the specific lifecycle action. It offers a flexible and expandable approach for customizing the behavior of a Component by leveraging tailored actions. /// An Action can be implemented as either an ExecAction or an HTTPAction, with future versions planning to support GRPCAction, thereby accommodating unique logic for different database systems within the Action's framework. /// In future iterations, all built-in handlers are expected to transition to GRPCAction. This change means that Lorry or other sidecar agents will expose the implementation of actions through a GRPC interface for external invocation. Then the controller will interact with these actions via GRPCAction calls. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsRoleProbeCustomHandler { /// Defines the name of the container within the target Pod where the action will be executed. /// This name must correspond to one of the containers defined in `componentDefinition.spec.runtime`. If this field is not specified, the default behavior is to use the first container listed in `componentDefinition.spec.runtime`. @@ -2811,7 +2812,7 @@ pub struct ComponentDefinitionLifecycleActionsRoleProbeCustomHandler { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsRoleProbeCustomHandlerEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -2824,7 +2825,7 @@ pub struct ComponentDefinitionLifecycleActionsRoleProbeCustomHandlerEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsRoleProbeCustomHandlerEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -2841,7 +2842,7 @@ pub struct ComponentDefinitionLifecycleActionsRoleProbeCustomHandlerEnvValueFrom } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsRoleProbeCustomHandlerEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -2854,7 +2855,7 @@ pub struct ComponentDefinitionLifecycleActionsRoleProbeCustomHandlerEnvValueFrom } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsRoleProbeCustomHandlerEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2865,7 +2866,7 @@ pub struct ComponentDefinitionLifecycleActionsRoleProbeCustomHandlerEnvValueFrom } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsRoleProbeCustomHandlerEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2878,7 +2879,7 @@ pub struct ComponentDefinitionLifecycleActionsRoleProbeCustomHandlerEnvValueFrom } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsRoleProbeCustomHandlerEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2892,7 +2893,7 @@ pub struct ComponentDefinitionLifecycleActionsRoleProbeCustomHandlerEnvValueFrom /// Defines the command to run. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsRoleProbeCustomHandlerExec { /// Args represents the arguments that are passed to the `command` for execution. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2906,7 +2907,7 @@ pub struct ComponentDefinitionLifecycleActionsRoleProbeCustomHandlerExec { /// Specifies the HTTP request to perform. /// This field cannot be updated. /// Note: HTTPAction is to be implemented in future version. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsRoleProbeCustomHandlerHttp { /// Indicates the server's domain name or IP address. Defaults to the Pod's IP. Prefer setting the "Host" header in httpHeaders when needed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2928,7 +2929,7 @@ pub struct ComponentDefinitionLifecycleActionsRoleProbeCustomHandlerHttp { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsRoleProbeCustomHandlerHttpHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2939,7 +2940,7 @@ pub struct ComponentDefinitionLifecycleActionsRoleProbeCustomHandlerHttpHttpHead /// Defines the strategy to be taken when retrying the Action after a failure. /// It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsRoleProbeCustomHandlerRetryPolicy { /// Defines the maximum number of retry attempts that should be made for a given Action. This value is set to 0 by default, indicating that no retries will be made. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxRetries")] @@ -2966,7 +2967,7 @@ pub enum ComponentDefinitionLifecycleActionsRoleProbeCustomHandlerTargetPodSelec /// The environment variables with the following prefixes are deprecated and will be removed in future releases: /// - KB_REPLICATION_PRIMARY_POD_ - KB_CONSENSUS_LEADER_POD_ /// Note: This field is immutable once it has been set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsSwitchover { /// Used to define the selectors for the scriptSpecs that need to be referenced. If this field is set, the scripts defined under the 'scripts' field can be invoked or referenced within an Action. /// This field is deprecated from v0.9. This field is maintained for backward compatibility and its use is discouraged. Existing usage should be updated to the current preferred approach to avoid compatibility issues in future releases. @@ -2980,14 +2981,14 @@ pub struct ComponentDefinitionLifecycleActionsSwitchover { pub without_candidate: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsSwitchoverScriptSpecSelectors { /// Represents the name of the ScriptSpec referent. pub name: String, } /// Represents the switchover process for a specified candidate primary or leader instance. Note that only Action.Exec is currently supported, while Action.HTTP is not. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsSwitchoverWithCandidate { /// Defines the name of the container within the target Pod where the action will be executed. /// This name must correspond to one of the containers defined in `componentDefinition.spec.runtime`. If this field is not specified, the default behavior is to use the first container listed in `componentDefinition.spec.runtime`. @@ -3043,7 +3044,7 @@ pub struct ComponentDefinitionLifecycleActionsSwitchoverWithCandidate { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsSwitchoverWithCandidateEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -3056,7 +3057,7 @@ pub struct ComponentDefinitionLifecycleActionsSwitchoverWithCandidateEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsSwitchoverWithCandidateEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -3073,7 +3074,7 @@ pub struct ComponentDefinitionLifecycleActionsSwitchoverWithCandidateEnvValueFro } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsSwitchoverWithCandidateEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -3086,7 +3087,7 @@ pub struct ComponentDefinitionLifecycleActionsSwitchoverWithCandidateEnvValueFro } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsSwitchoverWithCandidateEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3097,7 +3098,7 @@ pub struct ComponentDefinitionLifecycleActionsSwitchoverWithCandidateEnvValueFro } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsSwitchoverWithCandidateEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -3110,7 +3111,7 @@ pub struct ComponentDefinitionLifecycleActionsSwitchoverWithCandidateEnvValueFro } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsSwitchoverWithCandidateEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3124,7 +3125,7 @@ pub struct ComponentDefinitionLifecycleActionsSwitchoverWithCandidateEnvValueFro /// Defines the command to run. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsSwitchoverWithCandidateExec { /// Args represents the arguments that are passed to the `command` for execution. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3138,7 +3139,7 @@ pub struct ComponentDefinitionLifecycleActionsSwitchoverWithCandidateExec { /// Specifies the HTTP request to perform. /// This field cannot be updated. /// Note: HTTPAction is to be implemented in future version. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsSwitchoverWithCandidateHttp { /// Indicates the server's domain name or IP address. Defaults to the Pod's IP. Prefer setting the "Host" header in httpHeaders when needed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3160,7 +3161,7 @@ pub struct ComponentDefinitionLifecycleActionsSwitchoverWithCandidateHttp { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsSwitchoverWithCandidateHttpHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -3171,7 +3172,7 @@ pub struct ComponentDefinitionLifecycleActionsSwitchoverWithCandidateHttpHttpHea /// Defines the strategy to be taken when retrying the Action after a failure. /// It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsSwitchoverWithCandidateRetryPolicy { /// Defines the maximum number of retry attempts that should be made for a given Action. This value is set to 0 by default, indicating that no retries will be made. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxRetries")] @@ -3191,7 +3192,7 @@ pub enum ComponentDefinitionLifecycleActionsSwitchoverWithCandidateTargetPodSele } /// Represents a switchover process that does not involve a specific candidate primary or leader instance. As with the previous field, only Action.Exec is currently supported, not Action.HTTP. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsSwitchoverWithoutCandidate { /// Defines the name of the container within the target Pod where the action will be executed. /// This name must correspond to one of the containers defined in `componentDefinition.spec.runtime`. If this field is not specified, the default behavior is to use the first container listed in `componentDefinition.spec.runtime`. @@ -3247,7 +3248,7 @@ pub struct ComponentDefinitionLifecycleActionsSwitchoverWithoutCandidate { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsSwitchoverWithoutCandidateEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -3260,7 +3261,7 @@ pub struct ComponentDefinitionLifecycleActionsSwitchoverWithoutCandidateEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsSwitchoverWithoutCandidateEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -3277,7 +3278,7 @@ pub struct ComponentDefinitionLifecycleActionsSwitchoverWithoutCandidateEnvValue } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsSwitchoverWithoutCandidateEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -3290,7 +3291,7 @@ pub struct ComponentDefinitionLifecycleActionsSwitchoverWithoutCandidateEnvValue } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsSwitchoverWithoutCandidateEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3301,7 +3302,7 @@ pub struct ComponentDefinitionLifecycleActionsSwitchoverWithoutCandidateEnvValue } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsSwitchoverWithoutCandidateEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -3314,7 +3315,7 @@ pub struct ComponentDefinitionLifecycleActionsSwitchoverWithoutCandidateEnvValue } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsSwitchoverWithoutCandidateEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3328,7 +3329,7 @@ pub struct ComponentDefinitionLifecycleActionsSwitchoverWithoutCandidateEnvValue /// Defines the command to run. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsSwitchoverWithoutCandidateExec { /// Args represents the arguments that are passed to the `command` for execution. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3342,7 +3343,7 @@ pub struct ComponentDefinitionLifecycleActionsSwitchoverWithoutCandidateExec { /// Specifies the HTTP request to perform. /// This field cannot be updated. /// Note: HTTPAction is to be implemented in future version. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsSwitchoverWithoutCandidateHttp { /// Indicates the server's domain name or IP address. Defaults to the Pod's IP. Prefer setting the "Host" header in httpHeaders when needed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3364,7 +3365,7 @@ pub struct ComponentDefinitionLifecycleActionsSwitchoverWithoutCandidateHttp { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsSwitchoverWithoutCandidateHttpHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -3375,7 +3376,7 @@ pub struct ComponentDefinitionLifecycleActionsSwitchoverWithoutCandidateHttpHttp /// Defines the strategy to be taken when retrying the Action after a failure. /// It specifies the conditions under which the Action should be retried and the limits to apply, such as the maximum number of retries and backoff strategy. /// This field cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLifecycleActionsSwitchoverWithoutCandidateRetryPolicy { /// Defines the maximum number of retry attempts that should be made for a given Action. This value is set to 0 by default, indicating that no retries will be made. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxRetries")] @@ -3394,7 +3395,7 @@ pub enum ComponentDefinitionLifecycleActionsSwitchoverWithoutCandidateTargetPodS Ordinal, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionLogConfigs { /// Specifies the paths or patterns identifying where the log files are stored. This field allows the system to locate and manage log files effectively. /// Examples: @@ -3406,7 +3407,7 @@ pub struct ComponentDefinitionLogConfigs { } /// Deprecated since v0.9 monitor is monitoring config which provided by provider. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionMonitor { /// builtIn is a switch to enable KubeBlocks builtIn monitoring. If BuiltIn is set to true, monitor metrics will be scraped automatically. If BuiltIn is set to false, the provider should set ExporterConfig and Sidecar container own. #[serde(default, skip_serializing_if = "Option::is_none", rename = "builtIn")] @@ -3417,7 +3418,7 @@ pub struct ComponentDefinitionMonitor { } /// exporterConfig provided by provider, which specify necessary information to Time Series Database. exporterConfig is valid when builtIn is false. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionMonitorExporterConfig { /// scrapePath is exporter url path for Time Series Database to scrape metrics. #[serde(default, skip_serializing_if = "Option::is_none", rename = "scrapePath")] @@ -3428,7 +3429,7 @@ pub struct ComponentDefinitionMonitorExporterConfig { } /// PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionPolicyRules { /// APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. "" represents the core API group and "*" represents all API groups. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroups")] @@ -3449,7 +3450,7 @@ pub struct ComponentDefinitionPolicyRules { /// Defines the upper limit of the number of replicas supported by the Component. /// It defines the maximum number of replicas that can be created for the Component. This field allows you to set a limit on the scalability of the Component, preventing it from exceeding a certain number of replicas. /// This field is immutable. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionReplicasLimit { /// The maximum limit of replicas. #[serde(rename = "maxReplicas")] @@ -3460,7 +3461,7 @@ pub struct ComponentDefinitionReplicasLimit { } /// ReplicaRole represents a role that can be assumed by a component instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRoles { /// Defines the role's identifier. It is used to set the "apps.kubeblocks.io/role" label value on the corresponding object. /// This field is immutable once set. @@ -3484,7 +3485,7 @@ pub struct ComponentDefinitionRoles { /// This field is intended to define static settings that remain consistent across all instantiated Components. Dynamic settings such as CPU and memory resource limits, as well as scheduling settings (affinity, toleration, priority), may vary among different instantiated Components. They should be specified in the `cluster.spec.componentSpecs` (ClusterComponentSpec). /// Specific instances of a Component may override settings defined here, such as using a different container image or modifying environment variable values. These instance-specific overrides can be specified in `cluster.spec.componentSpecs[*].instances`. /// This field is immutable and cannot be updated once set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntime { /// Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer. #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] @@ -3611,7 +3612,7 @@ pub struct ComponentDefinitionRuntime { } /// If specified, the pod's scheduling constraints -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -3625,7 +3626,7 @@ pub struct ComponentDefinitionRuntimeAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -3636,7 +3637,7 @@ pub struct ComponentDefinitionRuntimeAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: ComponentDefinitionRuntimeAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -3645,7 +3646,7 @@ pub struct ComponentDefinitionRuntimeAffinityNodeAffinityPreferredDuringScheduli } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3656,7 +3657,7 @@ pub struct ComponentDefinitionRuntimeAffinityNodeAffinityPreferredDuringScheduli } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -3668,7 +3669,7 @@ pub struct ComponentDefinitionRuntimeAffinityNodeAffinityPreferredDuringScheduli } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -3680,7 +3681,7 @@ pub struct ComponentDefinitionRuntimeAffinityNodeAffinityPreferredDuringScheduli } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -3688,7 +3689,7 @@ pub struct ComponentDefinitionRuntimeAffinityNodeAffinityRequiredDuringSchedulin } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3699,7 +3700,7 @@ pub struct ComponentDefinitionRuntimeAffinityNodeAffinityRequiredDuringSchedulin } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -3711,7 +3712,7 @@ pub struct ComponentDefinitionRuntimeAffinityNodeAffinityRequiredDuringSchedulin } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -3723,7 +3724,7 @@ pub struct ComponentDefinitionRuntimeAffinityNodeAffinityRequiredDuringSchedulin } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -3734,7 +3735,7 @@ pub struct ComponentDefinitionRuntimeAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -3744,7 +3745,7 @@ pub struct ComponentDefinitionRuntimeAffinityPodAffinityPreferredDuringSchedulin } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -3761,7 +3762,7 @@ pub struct ComponentDefinitionRuntimeAffinityPodAffinityPreferredDuringSchedulin } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3772,7 +3773,7 @@ pub struct ComponentDefinitionRuntimeAffinityPodAffinityPreferredDuringSchedulin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3784,7 +3785,7 @@ pub struct ComponentDefinitionRuntimeAffinityPodAffinityPreferredDuringSchedulin } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3795,7 +3796,7 @@ pub struct ComponentDefinitionRuntimeAffinityPodAffinityPreferredDuringSchedulin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3807,7 +3808,7 @@ pub struct ComponentDefinitionRuntimeAffinityPodAffinityPreferredDuringSchedulin } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -3824,7 +3825,7 @@ pub struct ComponentDefinitionRuntimeAffinityPodAffinityRequiredDuringScheduling } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3835,7 +3836,7 @@ pub struct ComponentDefinitionRuntimeAffinityPodAffinityRequiredDuringScheduling } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3847,7 +3848,7 @@ pub struct ComponentDefinitionRuntimeAffinityPodAffinityRequiredDuringScheduling } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3858,7 +3859,7 @@ pub struct ComponentDefinitionRuntimeAffinityPodAffinityRequiredDuringScheduling } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3870,7 +3871,7 @@ pub struct ComponentDefinitionRuntimeAffinityPodAffinityRequiredDuringScheduling } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -3881,7 +3882,7 @@ pub struct ComponentDefinitionRuntimeAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -3891,7 +3892,7 @@ pub struct ComponentDefinitionRuntimeAffinityPodAntiAffinityPreferredDuringSched } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -3908,7 +3909,7 @@ pub struct ComponentDefinitionRuntimeAffinityPodAntiAffinityPreferredDuringSched } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3919,7 +3920,7 @@ pub struct ComponentDefinitionRuntimeAffinityPodAntiAffinityPreferredDuringSched } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3931,7 +3932,7 @@ pub struct ComponentDefinitionRuntimeAffinityPodAntiAffinityPreferredDuringSched } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3942,7 +3943,7 @@ pub struct ComponentDefinitionRuntimeAffinityPodAntiAffinityPreferredDuringSched } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3954,7 +3955,7 @@ pub struct ComponentDefinitionRuntimeAffinityPodAntiAffinityPreferredDuringSched } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -3971,7 +3972,7 @@ pub struct ComponentDefinitionRuntimeAffinityPodAntiAffinityRequiredDuringSchedu } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3982,7 +3983,7 @@ pub struct ComponentDefinitionRuntimeAffinityPodAntiAffinityRequiredDuringSchedu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3994,7 +3995,7 @@ pub struct ComponentDefinitionRuntimeAffinityPodAntiAffinityRequiredDuringSchedu } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4005,7 +4006,7 @@ pub struct ComponentDefinitionRuntimeAffinityPodAntiAffinityRequiredDuringSchedu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4017,7 +4018,7 @@ pub struct ComponentDefinitionRuntimeAffinityPodAntiAffinityRequiredDuringSchedu } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainers { /// Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4093,7 +4094,7 @@ pub struct ComponentDefinitionRuntimeContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -4106,7 +4107,7 @@ pub struct ComponentDefinitionRuntimeContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -4123,7 +4124,7 @@ pub struct ComponentDefinitionRuntimeContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -4136,7 +4137,7 @@ pub struct ComponentDefinitionRuntimeContainersEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4147,7 +4148,7 @@ pub struct ComponentDefinitionRuntimeContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -4160,7 +4161,7 @@ pub struct ComponentDefinitionRuntimeContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4173,7 +4174,7 @@ pub struct ComponentDefinitionRuntimeContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -4187,7 +4188,7 @@ pub struct ComponentDefinitionRuntimeContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4198,7 +4199,7 @@ pub struct ComponentDefinitionRuntimeContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4209,7 +4210,7 @@ pub struct ComponentDefinitionRuntimeContainersEnvFromSecretRef { } /// Actions that the management system should take in response to container lifecycle events. Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -4220,7 +4221,7 @@ pub struct ComponentDefinitionRuntimeContainersLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4234,7 +4235,7 @@ pub struct ComponentDefinitionRuntimeContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4242,7 +4243,7 @@ pub struct ComponentDefinitionRuntimeContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4261,7 +4262,7 @@ pub struct ComponentDefinitionRuntimeContainersLifecyclePostStartHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -4270,7 +4271,7 @@ pub struct ComponentDefinitionRuntimeContainersLifecyclePostStartHttpGetHttpHead } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4280,7 +4281,7 @@ pub struct ComponentDefinitionRuntimeContainersLifecyclePostStartTcpSocket { } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4294,7 +4295,7 @@ pub struct ComponentDefinitionRuntimeContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4302,7 +4303,7 @@ pub struct ComponentDefinitionRuntimeContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4321,7 +4322,7 @@ pub struct ComponentDefinitionRuntimeContainersLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -4330,7 +4331,7 @@ pub struct ComponentDefinitionRuntimeContainersLifecyclePreStopHttpGetHttpHeader } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4340,7 +4341,7 @@ pub struct ComponentDefinitionRuntimeContainersLifecyclePreStopTcpSocket { } /// Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4375,7 +4376,7 @@ pub struct ComponentDefinitionRuntimeContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4383,7 +4384,7 @@ pub struct ComponentDefinitionRuntimeContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4394,7 +4395,7 @@ pub struct ComponentDefinitionRuntimeContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4413,7 +4414,7 @@ pub struct ComponentDefinitionRuntimeContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -4422,7 +4423,7 @@ pub struct ComponentDefinitionRuntimeContainersLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4432,7 +4433,7 @@ pub struct ComponentDefinitionRuntimeContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -4452,7 +4453,7 @@ pub struct ComponentDefinitionRuntimeContainersPorts { } /// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4487,7 +4488,7 @@ pub struct ComponentDefinitionRuntimeContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4495,7 +4496,7 @@ pub struct ComponentDefinitionRuntimeContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4506,7 +4507,7 @@ pub struct ComponentDefinitionRuntimeContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4525,7 +4526,7 @@ pub struct ComponentDefinitionRuntimeContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -4534,7 +4535,7 @@ pub struct ComponentDefinitionRuntimeContainersReadinessProbeHttpGetHttpHeaders } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4544,7 +4545,7 @@ pub struct ComponentDefinitionRuntimeContainersReadinessProbeTcpSocket { } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. #[serde(rename = "resourceName")] @@ -4555,7 +4556,7 @@ pub struct ComponentDefinitionRuntimeContainersResizePolicy { } /// Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -4571,14 +4572,14 @@ pub struct ComponentDefinitionRuntimeContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -4616,7 +4617,7 @@ pub struct ComponentDefinitionRuntimeContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4627,7 +4628,7 @@ pub struct ComponentDefinitionRuntimeContainersSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4644,7 +4645,7 @@ pub struct ComponentDefinitionRuntimeContainersSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -4656,7 +4657,7 @@ pub struct ComponentDefinitionRuntimeContainersSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -4673,7 +4674,7 @@ pub struct ComponentDefinitionRuntimeContainersSecurityContextWindowsOptions { } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4708,7 +4709,7 @@ pub struct ComponentDefinitionRuntimeContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4716,7 +4717,7 @@ pub struct ComponentDefinitionRuntimeContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4727,7 +4728,7 @@ pub struct ComponentDefinitionRuntimeContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4746,7 +4747,7 @@ pub struct ComponentDefinitionRuntimeContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersStartupProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -4755,7 +4756,7 @@ pub struct ComponentDefinitionRuntimeContainersStartupProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4765,7 +4766,7 @@ pub struct ComponentDefinitionRuntimeContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -4775,7 +4776,7 @@ pub struct ComponentDefinitionRuntimeContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -4797,7 +4798,7 @@ pub struct ComponentDefinitionRuntimeContainersVolumeMounts { } /// Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeDnsConfig { /// A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4811,7 +4812,7 @@ pub struct ComponentDefinitionRuntimeDnsConfig { } /// PodDNSConfigOption defines DNS resolver options of a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeDnsConfigOptions { /// Required. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4822,7 +4823,7 @@ pub struct ComponentDefinitionRuntimeDnsConfigOptions { /// An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation. /// To add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainers { /// Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4902,7 +4903,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -4915,7 +4916,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -4932,7 +4933,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -4945,7 +4946,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersEnvValueFromConfigMapKey } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4956,7 +4957,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -4969,7 +4970,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersEnvValueFromResourceFiel } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4982,7 +4983,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersEnvValueFromSecretKeyRef } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -4996,7 +4997,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5007,7 +5008,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5018,7 +5019,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersEnvFromSecretRef { } /// Lifecycle is not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -5029,7 +5030,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5043,7 +5044,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5051,7 +5052,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5070,7 +5071,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersLifecyclePostStartHttpGe } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -5079,7 +5080,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersLifecyclePostStartHttpGe } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5089,7 +5090,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersLifecyclePostStartTcpSoc } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5103,7 +5104,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5111,7 +5112,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5130,7 +5131,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersLifecyclePreStopHttpGet } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -5139,7 +5140,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersLifecyclePreStopHttpGetH } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5149,7 +5150,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersLifecyclePreStopTcpSocke } /// Probes are not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5184,7 +5185,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5192,7 +5193,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -5203,7 +5204,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5222,7 +5223,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -5231,7 +5232,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersLivenessProbeHttpGetHttp } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5241,7 +5242,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -5261,7 +5262,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersPorts { } /// Probes are not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5296,7 +5297,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5304,7 +5305,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -5315,7 +5316,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5334,7 +5335,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -5343,7 +5344,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersReadinessProbeHttpGetHtt } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5353,7 +5354,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersReadinessProbeTcpSocket } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. #[serde(rename = "resourceName")] @@ -5364,7 +5365,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersResizePolicy { } /// Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -5380,14 +5381,14 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// Optional: SecurityContext defines the security options the ephemeral container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -5425,7 +5426,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5436,7 +5437,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersSecurityContextCapabilit } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5453,7 +5454,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersSecurityContextSeLinuxOp } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -5465,7 +5466,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersSecurityContextSeccompPr } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -5482,7 +5483,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersSecurityContextWindowsOp } /// Probes are not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5517,7 +5518,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5525,7 +5526,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -5536,7 +5537,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5555,7 +5556,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersStartupProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -5564,7 +5565,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersStartupProbeHttpGetHttpH } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5574,7 +5575,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -5584,7 +5585,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeEphemeralContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -5606,7 +5607,7 @@ pub struct ComponentDefinitionRuntimeEphemeralContainersVolumeMounts { } /// HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeHostAliases { /// Hostnames for the above IP address. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5617,7 +5618,7 @@ pub struct ComponentDefinitionRuntimeHostAliases { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeImagePullSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5625,7 +5626,7 @@ pub struct ComponentDefinitionRuntimeImagePullSecrets { } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainers { /// Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5701,7 +5702,7 @@ pub struct ComponentDefinitionRuntimeInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -5714,7 +5715,7 @@ pub struct ComponentDefinitionRuntimeInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -5731,7 +5732,7 @@ pub struct ComponentDefinitionRuntimeInitContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -5744,7 +5745,7 @@ pub struct ComponentDefinitionRuntimeInitContainersEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -5755,7 +5756,7 @@ pub struct ComponentDefinitionRuntimeInitContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -5768,7 +5769,7 @@ pub struct ComponentDefinitionRuntimeInitContainersEnvValueFromResourceFieldRef } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5781,7 +5782,7 @@ pub struct ComponentDefinitionRuntimeInitContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -5795,7 +5796,7 @@ pub struct ComponentDefinitionRuntimeInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5806,7 +5807,7 @@ pub struct ComponentDefinitionRuntimeInitContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5817,7 +5818,7 @@ pub struct ComponentDefinitionRuntimeInitContainersEnvFromSecretRef { } /// Actions that the management system should take in response to container lifecycle events. Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -5828,7 +5829,7 @@ pub struct ComponentDefinitionRuntimeInitContainersLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5842,7 +5843,7 @@ pub struct ComponentDefinitionRuntimeInitContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5850,7 +5851,7 @@ pub struct ComponentDefinitionRuntimeInitContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5869,7 +5870,7 @@ pub struct ComponentDefinitionRuntimeInitContainersLifecyclePostStartHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -5878,7 +5879,7 @@ pub struct ComponentDefinitionRuntimeInitContainersLifecyclePostStartHttpGetHttp } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5888,7 +5889,7 @@ pub struct ComponentDefinitionRuntimeInitContainersLifecyclePostStartTcpSocket { } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5902,7 +5903,7 @@ pub struct ComponentDefinitionRuntimeInitContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5910,7 +5911,7 @@ pub struct ComponentDefinitionRuntimeInitContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5929,7 +5930,7 @@ pub struct ComponentDefinitionRuntimeInitContainersLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -5938,7 +5939,7 @@ pub struct ComponentDefinitionRuntimeInitContainersLifecyclePreStopHttpGetHttpHe } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5948,7 +5949,7 @@ pub struct ComponentDefinitionRuntimeInitContainersLifecyclePreStopTcpSocket { } /// Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5983,7 +5984,7 @@ pub struct ComponentDefinitionRuntimeInitContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5991,7 +5992,7 @@ pub struct ComponentDefinitionRuntimeInitContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -6002,7 +6003,7 @@ pub struct ComponentDefinitionRuntimeInitContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6021,7 +6022,7 @@ pub struct ComponentDefinitionRuntimeInitContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -6030,7 +6031,7 @@ pub struct ComponentDefinitionRuntimeInitContainersLivenessProbeHttpGetHttpHeade } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6040,7 +6041,7 @@ pub struct ComponentDefinitionRuntimeInitContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -6060,7 +6061,7 @@ pub struct ComponentDefinitionRuntimeInitContainersPorts { } /// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6095,7 +6096,7 @@ pub struct ComponentDefinitionRuntimeInitContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6103,7 +6104,7 @@ pub struct ComponentDefinitionRuntimeInitContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -6114,7 +6115,7 @@ pub struct ComponentDefinitionRuntimeInitContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6133,7 +6134,7 @@ pub struct ComponentDefinitionRuntimeInitContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -6142,7 +6143,7 @@ pub struct ComponentDefinitionRuntimeInitContainersReadinessProbeHttpGetHttpHead } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6152,7 +6153,7 @@ pub struct ComponentDefinitionRuntimeInitContainersReadinessProbeTcpSocket { } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. #[serde(rename = "resourceName")] @@ -6163,7 +6164,7 @@ pub struct ComponentDefinitionRuntimeInitContainersResizePolicy { } /// Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -6179,14 +6180,14 @@ pub struct ComponentDefinitionRuntimeInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -6224,7 +6225,7 @@ pub struct ComponentDefinitionRuntimeInitContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6235,7 +6236,7 @@ pub struct ComponentDefinitionRuntimeInitContainersSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6252,7 +6253,7 @@ pub struct ComponentDefinitionRuntimeInitContainersSecurityContextSeLinuxOptions } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -6264,7 +6265,7 @@ pub struct ComponentDefinitionRuntimeInitContainersSecurityContextSeccompProfile } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -6281,7 +6282,7 @@ pub struct ComponentDefinitionRuntimeInitContainersSecurityContextWindowsOptions } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6316,7 +6317,7 @@ pub struct ComponentDefinitionRuntimeInitContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6324,7 +6325,7 @@ pub struct ComponentDefinitionRuntimeInitContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -6335,7 +6336,7 @@ pub struct ComponentDefinitionRuntimeInitContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6354,7 +6355,7 @@ pub struct ComponentDefinitionRuntimeInitContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersStartupProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -6363,7 +6364,7 @@ pub struct ComponentDefinitionRuntimeInitContainersStartupProbeHttpGetHttpHeader } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6373,7 +6374,7 @@ pub struct ComponentDefinitionRuntimeInitContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -6383,7 +6384,7 @@ pub struct ComponentDefinitionRuntimeInitContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -6407,14 +6408,14 @@ pub struct ComponentDefinitionRuntimeInitContainersVolumeMounts { /// Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set. /// If the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions /// If the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeOs { /// Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null pub name: String, } /// PodReadinessGate contains the reference to a pod condition -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeReadinessGates { /// ConditionType refers to a condition in the pod's condition list with matching type. #[serde(rename = "conditionType")] @@ -6422,7 +6423,7 @@ pub struct ComponentDefinitionRuntimeReadinessGates { } /// PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeResourceClaims { /// Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL. pub name: String, @@ -6432,7 +6433,7 @@ pub struct ComponentDefinitionRuntimeResourceClaims { } /// Source describes where to find the ResourceClaim. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeResourceClaimsSource { /// ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceClaimName")] @@ -6445,14 +6446,14 @@ pub struct ComponentDefinitionRuntimeResourceClaimsSource { } /// PodSchedulingGate is associated to a Pod to guard its scheduling. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeSchedulingGates { /// Name of the scheduling gate. Each scheduling gate must have a unique name field. pub name: String, } /// SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -6489,7 +6490,7 @@ pub struct ComponentDefinitionRuntimeSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6506,7 +6507,7 @@ pub struct ComponentDefinitionRuntimeSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -6518,7 +6519,7 @@ pub struct ComponentDefinitionRuntimeSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -6527,7 +6528,7 @@ pub struct ComponentDefinitionRuntimeSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -6544,7 +6545,7 @@ pub struct ComponentDefinitionRuntimeSecurityContextWindowsOptions { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6564,7 +6565,7 @@ pub struct ComponentDefinitionRuntimeTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeTopologySpreadConstraints { /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -6598,7 +6599,7 @@ pub struct ComponentDefinitionRuntimeTopologySpreadConstraints { } /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6609,7 +6610,7 @@ pub struct ComponentDefinitionRuntimeTopologySpreadConstraintsLabelSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6621,7 +6622,7 @@ pub struct ComponentDefinitionRuntimeTopologySpreadConstraintsLabelSelectorMatch } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -6719,7 +6720,7 @@ pub struct ComponentDefinitionRuntimeVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6736,7 +6737,7 @@ pub struct ComponentDefinitionRuntimeVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -6759,7 +6760,7 @@ pub struct ComponentDefinitionRuntimeVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -6773,7 +6774,7 @@ pub struct ComponentDefinitionRuntimeVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -6795,7 +6796,7 @@ pub struct ComponentDefinitionRuntimeVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6803,7 +6804,7 @@ pub struct ComponentDefinitionRuntimeVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6820,7 +6821,7 @@ pub struct ComponentDefinitionRuntimeVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6828,7 +6829,7 @@ pub struct ComponentDefinitionRuntimeVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -6845,7 +6846,7 @@ pub struct ComponentDefinitionRuntimeVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -6857,7 +6858,7 @@ pub struct ComponentDefinitionRuntimeVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -6876,7 +6877,7 @@ pub struct ComponentDefinitionRuntimeVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6884,7 +6885,7 @@ pub struct ComponentDefinitionRuntimeVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -6895,7 +6896,7 @@ pub struct ComponentDefinitionRuntimeVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -6911,7 +6912,7 @@ pub struct ComponentDefinitionRuntimeVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -6922,7 +6923,7 @@ pub struct ComponentDefinitionRuntimeVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -6935,7 +6936,7 @@ pub struct ComponentDefinitionRuntimeVolumesDownwardApiItemsResourceFieldRef { } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6950,7 +6951,7 @@ pub struct ComponentDefinitionRuntimeVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -6964,7 +6965,7 @@ pub struct ComponentDefinitionRuntimeVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6974,7 +6975,7 @@ pub struct ComponentDefinitionRuntimeVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -6989,7 +6990,7 @@ pub struct ComponentDefinitionRuntimeVolumesEphemeralVolumeClaimTemplateMetadata } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -7018,7 +7019,7 @@ pub struct ComponentDefinitionRuntimeVolumesEphemeralVolumeClaimTemplateSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -7030,7 +7031,7 @@ pub struct ComponentDefinitionRuntimeVolumesEphemeralVolumeClaimTemplateSpecData } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -7045,7 +7046,7 @@ pub struct ComponentDefinitionRuntimeVolumesEphemeralVolumeClaimTemplateSpecData } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -7061,14 +7062,14 @@ pub struct ComponentDefinitionRuntimeVolumesEphemeralVolumeClaimTemplateSpecReso } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7079,7 +7080,7 @@ pub struct ComponentDefinitionRuntimeVolumesEphemeralVolumeClaimTemplateSpecSele } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7091,7 +7092,7 @@ pub struct ComponentDefinitionRuntimeVolumesEphemeralVolumeClaimTemplateSpecSele } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -7111,7 +7112,7 @@ pub struct ComponentDefinitionRuntimeVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -7130,7 +7131,7 @@ pub struct ComponentDefinitionRuntimeVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7138,7 +7139,7 @@ pub struct ComponentDefinitionRuntimeVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -7149,7 +7150,7 @@ pub struct ComponentDefinitionRuntimeVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -7166,7 +7167,7 @@ pub struct ComponentDefinitionRuntimeVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7179,7 +7180,7 @@ pub struct ComponentDefinitionRuntimeVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -7191,7 +7192,7 @@ pub struct ComponentDefinitionRuntimeVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -7201,7 +7202,7 @@ pub struct ComponentDefinitionRuntimeVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -7237,7 +7238,7 @@ pub struct ComponentDefinitionRuntimeVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7245,7 +7246,7 @@ pub struct ComponentDefinitionRuntimeVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -7257,7 +7258,7 @@ pub struct ComponentDefinitionRuntimeVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -7268,7 +7269,7 @@ pub struct ComponentDefinitionRuntimeVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -7279,7 +7280,7 @@ pub struct ComponentDefinitionRuntimeVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -7293,7 +7294,7 @@ pub struct ComponentDefinitionRuntimeVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -7304,7 +7305,7 @@ pub struct ComponentDefinitionRuntimeVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -7321,7 +7322,7 @@ pub struct ComponentDefinitionRuntimeVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7335,7 +7336,7 @@ pub struct ComponentDefinitionRuntimeVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -7347,7 +7348,7 @@ pub struct ComponentDefinitionRuntimeVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7355,7 +7356,7 @@ pub struct ComponentDefinitionRuntimeVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -7371,7 +7372,7 @@ pub struct ComponentDefinitionRuntimeVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -7382,7 +7383,7 @@ pub struct ComponentDefinitionRuntimeVolumesProjectedSourcesDownwardApiItemsFiel } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -7395,7 +7396,7 @@ pub struct ComponentDefinitionRuntimeVolumesProjectedSourcesDownwardApiItemsReso } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7409,7 +7410,7 @@ pub struct ComponentDefinitionRuntimeVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -7421,7 +7422,7 @@ pub struct ComponentDefinitionRuntimeVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7434,7 +7435,7 @@ pub struct ComponentDefinitionRuntimeVolumesProjectedSourcesServiceAccountToken } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7455,7 +7456,7 @@ pub struct ComponentDefinitionRuntimeVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -7482,7 +7483,7 @@ pub struct ComponentDefinitionRuntimeVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7490,7 +7491,7 @@ pub struct ComponentDefinitionRuntimeVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -7523,7 +7524,7 @@ pub struct ComponentDefinitionRuntimeVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7531,7 +7532,7 @@ pub struct ComponentDefinitionRuntimeVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -7548,7 +7549,7 @@ pub struct ComponentDefinitionRuntimeVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesSecretItems { /// key is the key to project. pub key: String, @@ -7560,7 +7561,7 @@ pub struct ComponentDefinitionRuntimeVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -7580,7 +7581,7 @@ pub struct ComponentDefinitionRuntimeVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7588,7 +7589,7 @@ pub struct ComponentDefinitionRuntimeVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionRuntimeVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -7604,7 +7605,7 @@ pub struct ComponentDefinitionRuntimeVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionScripts { /// The operator attempts to set default file permissions for scripts (0555) and configurations (0444). However, certain database engines may require different file permissions. You can specify the desired file permissions here. /// Must be specified as an octal value between 0000 and 0777 (inclusive), or as a decimal value between 0 and 511 (inclusive). YAML supports both octal and decimal values for file permissions. @@ -7627,7 +7628,7 @@ pub struct ComponentDefinitionScripts { /// ServiceRefDeclaration represents a reference to a service that can be either provided by a KubeBlocks Cluster or an external service. It acts as a placeholder for the actual service reference, which is determined later when a Cluster is created. /// The purpose of ServiceRefDeclaration is to declare a service dependency without specifying the concrete details of the service. It allows for flexibility and abstraction in defining service references within a Component. By using ServiceRefDeclaration, you can define service dependencies in a declarative manner, enabling loose coupling and easier management of service references across different components and clusters. /// Upon Cluster creation, the ServiceRefDeclaration is bound to an actual service through the ServiceRef field, effectively resolving and connecting to the specified service. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionServiceRefDeclarations { /// Specifies the name of the ServiceRefDeclaration. pub name: String, @@ -7641,7 +7642,7 @@ pub struct ComponentDefinitionServiceRefDeclarations { pub service_ref_declaration_specs: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionServiceRefDeclarationsServiceRefDeclarationSpecs { /// Specifies the type or nature of the service. This should be a well-known application cluster type, such as {mysql, redis, mongodb}. The field is case-insensitive and supports abbreviations for some well-known databases. For instance, both `zk` and `zookeeper` are considered as a ZooKeeper cluster, while `pg`, `postgres`, `postgresql` are all recognized as a PostgreSQL cluster. #[serde(rename = "serviceKind")] @@ -7653,7 +7654,7 @@ pub struct ComponentDefinitionServiceRefDeclarationsServiceRefDeclarationSpecs { /// ComponentService defines a service that would be exposed as an inter-component service within a Cluster. A Service defined in the ComponentService is expected to be accessed by other Components within the same Cluster. /// When a Component needs to use a ComponentService provided by another Component within the same Cluster, it can declare a variable in the `componentDefinition.spec.vars` section and bind it to the specific exposed address of the ComponentService using the `serviceVarRef` field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionServices { /// If ServiceType is LoadBalancer, cloud provider related parameters can be put here More info: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7690,7 +7691,7 @@ pub struct ComponentDefinitionServices { } /// Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionServicesSpec { /// allocateLoadBalancerNodePorts defines if NodePorts will be automatically allocated for services with type LoadBalancer. Default is "true". It may be set to "false" if the cluster load-balancer does not rely on NodePorts. If the caller requests specific NodePorts (by specifying a value), those requests will be respected, regardless of this field. This field may only be set for services with type LoadBalancer and will be cleared if the type is changed to any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] @@ -7754,7 +7755,7 @@ pub struct ComponentDefinitionServicesSpec { } /// ServicePort contains information on service's port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionServicesSpecPorts { /// The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either: /// * Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). @@ -7779,7 +7780,7 @@ pub struct ComponentDefinitionServicesSpecPorts { } /// sessionAffinityConfig contains the configurations of session affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionServicesSpecSessionAffinityConfig { /// clientIP contains the configurations of Client IP based session affinity. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] @@ -7787,14 +7788,14 @@ pub struct ComponentDefinitionServicesSpecSessionAffinityConfig { } /// clientIP contains the configurations of Client IP based session affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionServicesSpecSessionAffinityConfigClientIp { /// timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". Default value is 10800(for 3 hours). #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionSystemAccounts { /// Indicates if this account is the unique system initialization account (e.g., MySQL root). Only one system initialization account is permitted. /// This field is immutable once set. @@ -7819,7 +7820,7 @@ pub struct ComponentDefinitionSystemAccounts { /// Specifies the policy for generating the account's password. /// This field is immutable once set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionSystemAccountsPasswordGenerationPolicy { /// The length of the password. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7849,7 +7850,7 @@ pub enum ComponentDefinitionSystemAccountsPasswordGenerationPolicyLetterCase { /// Refers to the secret from which data will be copied to create the new account. /// This field is immutable once set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionSystemAccountsSecretRef { /// The unique identifier of the secret. pub name: String, @@ -7865,7 +7866,7 @@ pub enum ComponentDefinitionUpdateStrategy { } /// EnvVar represents a variable present in the env of Pod/Action or the template of config/script. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionVars { /// A Go template expression that will be applied to the resolved value of the var. /// The expression will only be evaluated if the var is successfully resolved to a non-credential value. @@ -7888,7 +7889,7 @@ pub struct ComponentDefinitionVars { } /// Source for the variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionVarsValueFrom { /// Selects a defined var of a Component. #[serde(default, skip_serializing_if = "Option::is_none", rename = "componentVarRef")] @@ -7914,7 +7915,7 @@ pub struct ComponentDefinitionVarsValueFrom { } /// Selects a defined var of a Component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionVarsValueFromComponentVarRef { /// CompDef specifies the definition used by the component that the referent object resident in. If not specified, the component itself will be used. #[serde(default, skip_serializing_if = "Option::is_none", rename = "compDef")] @@ -7967,7 +7968,7 @@ pub struct ComponentDefinitionVarsValueFromComponentVarRefMultipleClusterObjectO } /// Define the options for handling combined variables. Valid only when the strategy is set to "combined". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionVarsValueFromComponentVarRefMultipleClusterObjectOptionCombinedOption { /// The flatten format, default is: $(comp-name-1):value,$(comp-name-2):value. #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenFormat")] @@ -7981,7 +7982,7 @@ pub struct ComponentDefinitionVarsValueFromComponentVarRefMultipleClusterObjectO } /// The flatten format, default is: $(comp-name-1):value,$(comp-name-2):value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionVarsValueFromComponentVarRefMultipleClusterObjectOptionCombinedOptionFlattenFormat { /// Pair delimiter. pub delimiter: String, @@ -8014,7 +8015,7 @@ pub enum ComponentDefinitionVarsValueFromComponentVarRefReplicas { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionVarsValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -8027,7 +8028,7 @@ pub struct ComponentDefinitionVarsValueFromConfigMapKeyRef { } /// Selects a defined var of a Credential (SystemAccount). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionVarsValueFromCredentialVarRef { /// CompDef specifies the definition used by the component that the referent object resident in. If not specified, the component itself will be used. #[serde(default, skip_serializing_if = "Option::is_none", rename = "compDef")] @@ -8060,7 +8061,7 @@ pub struct ComponentDefinitionVarsValueFromCredentialVarRefMultipleClusterObject } /// Define the options for handling combined variables. Valid only when the strategy is set to "combined". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionVarsValueFromCredentialVarRefMultipleClusterObjectOptionCombinedOption { /// The flatten format, default is: $(comp-name-1):value,$(comp-name-2):value. #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenFormat")] @@ -8074,7 +8075,7 @@ pub struct ComponentDefinitionVarsValueFromCredentialVarRefMultipleClusterObject } /// The flatten format, default is: $(comp-name-1):value,$(comp-name-2):value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionVarsValueFromCredentialVarRefMultipleClusterObjectOptionCombinedOptionFlattenFormat { /// Pair delimiter. pub delimiter: String, @@ -8107,7 +8108,7 @@ pub enum ComponentDefinitionVarsValueFromCredentialVarRefUsername { } /// Selects a defined var of host-network resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionVarsValueFromHostNetworkVarRef { /// CompDef specifies the definition used by the component that the referent object resident in. If not specified, the component itself will be used. #[serde(default, skip_serializing_if = "Option::is_none", rename = "compDef")] @@ -8127,7 +8128,7 @@ pub struct ComponentDefinitionVarsValueFromHostNetworkVarRef { } /// ContainerVars defines the vars that can be referenced from a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionVarsValueFromHostNetworkVarRefContainer { /// The name of the container. pub name: String, @@ -8137,7 +8138,7 @@ pub struct ComponentDefinitionVarsValueFromHostNetworkVarRefContainer { } /// Container port to reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionVarsValueFromHostNetworkVarRefContainerPort { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -8164,7 +8165,7 @@ pub struct ComponentDefinitionVarsValueFromHostNetworkVarRefMultipleClusterObjec } /// Define the options for handling combined variables. Valid only when the strategy is set to "combined". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionVarsValueFromHostNetworkVarRefMultipleClusterObjectOptionCombinedOption { /// The flatten format, default is: $(comp-name-1):value,$(comp-name-2):value. #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenFormat")] @@ -8178,7 +8179,7 @@ pub struct ComponentDefinitionVarsValueFromHostNetworkVarRefMultipleClusterObjec } /// The flatten format, default is: $(comp-name-1):value,$(comp-name-2):value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionVarsValueFromHostNetworkVarRefMultipleClusterObjectOptionCombinedOptionFlattenFormat { /// Pair delimiter. pub delimiter: String, @@ -8197,7 +8198,7 @@ pub enum ComponentDefinitionVarsValueFromHostNetworkVarRefMultipleClusterObjectO } /// Selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionVarsValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -8210,7 +8211,7 @@ pub struct ComponentDefinitionVarsValueFromSecretKeyRef { } /// Selects a defined var of a ServiceRef. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionVarsValueFromServiceRefVarRef { /// CompDef specifies the definition used by the component that the referent object resident in. If not specified, the component itself will be used. #[serde(default, skip_serializing_if = "Option::is_none", rename = "compDef")] @@ -8266,7 +8267,7 @@ pub struct ComponentDefinitionVarsValueFromServiceRefVarRefMultipleClusterObject } /// Define the options for handling combined variables. Valid only when the strategy is set to "combined". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionVarsValueFromServiceRefVarRefMultipleClusterObjectOptionCombinedOption { /// The flatten format, default is: $(comp-name-1):value,$(comp-name-2):value. #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenFormat")] @@ -8280,7 +8281,7 @@ pub struct ComponentDefinitionVarsValueFromServiceRefVarRefMultipleClusterObject } /// The flatten format, default is: $(comp-name-1):value,$(comp-name-2):value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionVarsValueFromServiceRefVarRefMultipleClusterObjectOptionCombinedOptionFlattenFormat { /// Pair delimiter. pub delimiter: String, @@ -8320,7 +8321,7 @@ pub enum ComponentDefinitionVarsValueFromServiceRefVarRefUsername { } /// Selects a defined var of a Service. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionVarsValueFromServiceVarRef { /// CompDef specifies the definition used by the component that the referent object resident in. If not specified, the component itself will be used. #[serde(default, skip_serializing_if = "Option::is_none", rename = "compDef")] @@ -8372,7 +8373,7 @@ pub struct ComponentDefinitionVarsValueFromServiceVarRefMultipleClusterObjectOpt } /// Define the options for handling combined variables. Valid only when the strategy is set to "combined". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionVarsValueFromServiceVarRefMultipleClusterObjectOptionCombinedOption { /// The flatten format, default is: $(comp-name-1):value,$(comp-name-2):value. #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenFormat")] @@ -8386,7 +8387,7 @@ pub struct ComponentDefinitionVarsValueFromServiceVarRefMultipleClusterObjectOpt } /// The flatten format, default is: $(comp-name-1):value,$(comp-name-2):value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionVarsValueFromServiceVarRefMultipleClusterObjectOptionCombinedOptionFlattenFormat { /// Pair delimiter. pub delimiter: String, @@ -8406,7 +8407,7 @@ pub enum ComponentDefinitionVarsValueFromServiceVarRefMultipleClusterObjectOptio /// Port references a port or node-port defined in the service. /// If the referenced service is a pod-service, there will be multiple service objects matched, and the value will be presented in the following format: service1.name:port1,service2.name:port2... -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionVarsValueFromServiceVarRefPort { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -8423,7 +8424,7 @@ pub enum ComponentDefinitionVarsValueFromServiceVarRefPortOption { Optional, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionVolumes { /// Sets the critical threshold for volume space utilization as a percentage (0-100). /// Exceeding this percentage triggers the system to switch the volume to read-only mode as specified in `componentDefinition.spec.lifecycleActions.readOnly`. This precaution helps prevent space depletion while maintaining read-only access. If the space utilization later falls below this threshold, the system reverts the volume to read-write mode as defined in `componentDefinition.spec.lifecycleActions.readWrite`, restoring full functionality. @@ -8439,7 +8440,7 @@ pub struct ComponentDefinitionVolumes { } /// ComponentDefinitionStatus defines the observed state of ComponentDefinition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComponentDefinitionStatus { /// Provides additional information about the current phase. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/components.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/components.rs index 49898361c..24cf52016 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/components.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/components.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/components.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/components.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/componentversions.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/componentversions.rs index 08254b119..b3b3e00df 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/componentversions.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/componentversions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/componentversions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/componentversions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/configconstraints.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/configconstraints.rs index 4539dc146..0a4ec0a91 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/configconstraints.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/configconstraints.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/configconstraints.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/configconstraints.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -76,7 +76,7 @@ pub struct ConfigConstraintSpec { } /// Defines a list of parameters including their names, default values, descriptions, types, and constraints (permissible values or the range of valid values). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintConfigurationSchema { /// Hold a string that contains a script written in CUE language that defines a list of configuration items. Each item is detailed with its name, default value, description, type (e.g. string, integer, float), and constraints (permissible values or the valid range of values). /// CUE (Configure, Unify, Execute) is a declarative language designed for defining and validating complex data configurations. It is particularly useful in environments like K8s where complex configurations and validation rules are common. @@ -89,7 +89,7 @@ pub struct ConfigConstraintConfigurationSchema { } /// DownwardAPIChangeTriggeredAction defines an action that triggers specific commands in response to changes in Pod labels. For example, a command might be executed when the 'role' label of the Pod is updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintDownwardApiOptions { /// Specifies the command to be triggered when changes are detected in Downward API volume files. It relies on the inotify mechanism in the config-manager sidecar to monitor file changes. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -107,7 +107,7 @@ pub struct ConfigConstraintDownwardApiOptions { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintDownwardApiOptionsItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -123,7 +123,7 @@ pub struct ConfigConstraintDownwardApiOptionsItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintDownwardApiOptionsItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -134,7 +134,7 @@ pub struct ConfigConstraintDownwardApiOptionsItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintDownwardApiOptionsItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -147,7 +147,7 @@ pub struct ConfigConstraintDownwardApiOptionsItemsResourceFieldRef { } /// ScriptConfig object specifies a ConfigMap that contains script files that should be mounted inside the pod. The scripts are mounted as volumes and can be referenced and executed by the DownwardAction to perform specific tasks or configurations. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintDownwardApiOptionsScriptConfig { /// Specifies the namespace for the ConfigMap. If not specified, it defaults to the "default" namespace. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -198,7 +198,7 @@ pub enum ConfigConstraintFormatterConfigFormat { } /// Holds options specific to the 'ini' file format. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintFormatterConfigIniConfig { /// A string that describes the name of the ini section. #[serde(default, skip_serializing_if = "Option::is_none", rename = "sectionName")] @@ -210,7 +210,7 @@ pub struct ConfigConstraintFormatterConfigIniConfig { /// 1. The modified parameters are listed in the `dynamicParameters` field. If `reloadStaticParamsBeforeRestart` is set to true, modifications to `staticParameters` can also trigger a reload. 2. `reloadOptions` is set. /// If `reloadOptions` is not set or the modified parameters are not listed in `dynamicParameters`, dynamic reloading will not be triggered. /// Example: ```yaml reloadOptions: tplScriptTrigger: namespace: kb-system scriptConfigMapRef: mysql-reload-script sync: true ``` -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintReloadOptions { /// Automatically perform the reload when specified conditions are met. #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoTrigger")] @@ -227,7 +227,7 @@ pub struct ConfigConstraintReloadOptions { } /// Automatically perform the reload when specified conditions are met. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintReloadOptionsAutoTrigger { /// The name of the process. #[serde(default, skip_serializing_if = "Option::is_none", rename = "processName")] @@ -235,7 +235,7 @@ pub struct ConfigConstraintReloadOptionsAutoTrigger { } /// Allows to execute a custom shell script to reload the process. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintReloadOptionsShellTrigger { /// Specifies a Go template string for formatting batch input data. It's used when `batchReload` is 'True' to format data passed into STDIN of the script. The template accesses key-value pairs of updated parameters via the '$' variable. This allows for custom formatting of the input data. /// Example template: @@ -265,7 +265,7 @@ pub struct ConfigConstraintReloadOptionsShellTrigger { } /// ScriptConfig object specifies a ConfigMap that contains script files that should be mounted inside the pod. The scripts are mounted as volumes and can be referenced and executed by the dynamic reload. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintReloadOptionsShellTriggerScriptConfig { /// Specifies the namespace for the ConfigMap. If not specified, it defaults to the "default" namespace. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -277,7 +277,7 @@ pub struct ConfigConstraintReloadOptionsShellTriggerScriptConfig { /// Specifies the tools container image used by ShellTrigger for dynamic reload. If the dynamic reload action is triggered by a ShellTrigger, this field is required. This image must contain all necessary tools for executing the ShellTrigger scripts. /// Usually the specified image is referenced by the init container, which is then responsible for copy the tools from the image to a bin volume. This ensures that the tools are available to the 'config-manager' sidecar. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintReloadOptionsShellTriggerToolsSetup { /// Specifies the directory path in the container where the tools-related files are to be copied. This field is typically used with an emptyDir volume to ensure a temporary, empty directory is provided at pod creation. #[serde(rename = "mountPoint")] @@ -288,7 +288,7 @@ pub struct ConfigConstraintReloadOptionsShellTriggerToolsSetup { } /// ToolConfig specifies the settings of an init container that prepare tools for dynamic reload. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintReloadOptionsShellTriggerToolsSetupToolConfigs { /// Indicates whether the tool image should be used as the container image for a sidecar. This is useful for large tool images, such as those for C++ tools, which may depend on numerous libraries (e.g., *.so files). /// If enabled, the tool image is deployed as a sidecar container image. @@ -309,7 +309,7 @@ pub struct ConfigConstraintReloadOptionsShellTriggerToolsSetupToolConfigs { } /// Enables reloading process using a Go template script. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintReloadOptionsTplScriptTrigger { /// Specifies the namespace for the ConfigMap. If not specified, it defaults to the "default" namespace. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -400,7 +400,7 @@ pub enum ConfigConstraintReloadOptionsUnixSignalTriggerSignal { Sigsys, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintScriptConfigs { /// Specifies the namespace for the ConfigMap. If not specified, it defaults to the "default" namespace. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -413,7 +413,7 @@ pub struct ConfigConstraintScriptConfigs { /// Used to match labels on the pod to determine whether a dynamic reload should be performed. /// In some scenarios, only specific pods (e.g., primary replicas) need to undergo a dynamic reload. The `selector` allows you to specify label selectors to target the desired pods for the reload process. /// If the `selector` is not specified or is nil, all pods managed by the workload will be considered for the dynamic reload. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -424,7 +424,7 @@ pub struct ConfigConstraintSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -437,7 +437,7 @@ pub struct ConfigConstraintSelectorMatchExpressions { /// Specifies the tools container image used by ShellTrigger for dynamic reload. If the dynamic reload action is triggered by a ShellTrigger, this field is required. This image must contain all necessary tools for executing the ShellTrigger scripts. /// Usually the specified image is referenced by the init container, which is then responsible for copy the tools from the image to a bin volume. This ensures that the tools are available to the 'config-manager' sidecar. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintToolsImageSpec { /// Specifies the directory path in the container where the tools-related files are to be copied. This field is typically used with an emptyDir volume to ensure a temporary, empty directory is provided at pod creation. #[serde(rename = "mountPoint")] @@ -448,7 +448,7 @@ pub struct ConfigConstraintToolsImageSpec { } /// ToolConfig specifies the settings of an init container that prepare tools for dynamic reload. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintToolsImageSpecToolConfigs { /// Indicates whether the tool image should be used as the container image for a sidecar. This is useful for large tool images, such as those for C++ tools, which may depend on numerous libraries (e.g., *.so files). /// If enabled, the tool image is deployed as a sidecar container image. @@ -469,7 +469,7 @@ pub struct ConfigConstraintToolsImageSpecToolConfigs { } /// ConfigConstraintStatus represents the observed state of a ConfigConstraint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintStatus { /// Provides descriptions for abnormal states. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/configurations.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/configurations.rs index 75f9dfe1b..1bc34e16d 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/configurations.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/configurations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/configurations.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/configurations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// ConfigurationSpec defines the desired state of a Configuration resource. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "apps.kubeblocks.io", version = "v1alpha1", kind = "Configuration", plural = "configurations")] #[kube(namespaced)] #[kube(status = "ConfigurationStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ConfigurationSpec { /// Specifies the name of the Cluster that this configuration is associated with. @@ -34,7 +35,7 @@ pub struct ConfigurationSpec { } /// ConfigurationItemDetail corresponds to settings of a configuration template (a ConfigMap). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigurationConfigItemDetails { /// Specifies the user-defined configuration parameters. /// When provided, the parameter values in `configFileParams` override the default configuration parameters. This allows users to override the default configuration according to their specific needs. @@ -63,7 +64,7 @@ pub struct ConfigurationConfigItemDetails { /// Specifies the user-defined configuration parameters. /// When provided, the parameter values in `configFileParams` override the default configuration parameters. This allows users to override the default configuration according to their specific needs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigurationConfigItemDetailsConfigFileParams { /// Holds the configuration keys and values. This field is a workaround for issues found in kubebuilder and code-generator. Refer to https://github.com/kubernetes-sigs/kubebuilder/issues/528 and https://github.com/kubernetes/code-generator/issues/50 for more details. /// Represents the content of the configuration file. @@ -77,7 +78,7 @@ pub struct ConfigurationConfigItemDetailsConfigFileParams { /// Specifies the name of the configuration template (a ConfigMap), ConfigConstraint, and other miscellaneous options. /// The configuration template is a ConfigMap that contains multiple configuration files. Each configuration file is stored as a key-value pair within the ConfigMap. /// ConfigConstraint allows defining constraints and validation rules for configuration parameters. It ensures that the configuration adheres to certain requirements and limitations. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigurationConfigItemDetailsConfigSpec { /// Specifies the containers to inject the ConfigMap parameters as environment variables. /// This is useful when application images accept parameters through environment variables and generate the final configuration file in the startup script based on these variables. @@ -131,7 +132,7 @@ pub struct ConfigurationConfigItemDetailsConfigSpec { /// The template is rendered inside the pod (by the "config-manager" sidecar container) and merged with the main template's render result to generate the final configuration file. /// This field is intended to handle scenarios where different pods within the same Component have varying configurations. It allows for pod-specific customization of the configuration. /// Note: This field will be deprecated in future versions, and the functionality will be moved to `cluster.spec.componentSpecs[*].instances[*]`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigurationConfigItemDetailsConfigSpecLegacyRenderedConfigSpec { /// Specifies the namespace of the referenced configuration template ConfigMap object. An empty namespace is equivalent to the "default" namespace. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -160,7 +161,7 @@ pub enum ConfigurationConfigItemDetailsConfigSpecLegacyRenderedConfigSpecPolicy /// Specifies the user-defined configuration template. /// When provided, the `importTemplateRef` overrides the default configuration template specified in `configSpec.templateRef`. This allows users to customize the configuration template according to their specific requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigurationConfigItemDetailsImportTemplateRef { /// Specifies the namespace of the referenced configuration template ConfigMap object. An empty namespace is equivalent to the "default" namespace. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -186,7 +187,7 @@ pub enum ConfigurationConfigItemDetailsImportTemplateRefPolicy { } /// ConfigurationStatus represents the observed state of a Configuration resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigurationStatus { /// Provides detailed status information for opsRequest. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -202,7 +203,7 @@ pub struct ConfigurationStatus { pub observed_generation: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigurationStatusConfigurationStatus { /// Represents the last completed revision of the configuration item. This field is optional. #[serde(default, skip_serializing_if = "Option::is_none", rename = "lastDoneRevision")] @@ -240,7 +241,7 @@ pub enum ConfigurationStatusConfigurationStatusPhase { } /// Provides detailed information about the execution of the configuration change. This field is optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigurationStatusConfigurationStatusReconcileDetail { /// Represents the current revision of the configuration item. #[serde(default, skip_serializing_if = "Option::is_none", rename = "currentRevision")] diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/opsdefinitions.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/opsdefinitions.rs index 050e0eae0..4e830e4df 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/opsdefinitions.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/opsdefinitions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/opsdefinitions.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/opsdefinitions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// OpsDefinitionSpec defines the desired state of OpsDefinition. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "apps.kubeblocks.io", version = "v1alpha1", kind = "OpsDefinition", plural = "opsdefinitions")] #[kube(status = "OpsDefinitionStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct OpsDefinitionSpec { /// Specifies a list of OpsAction where each customized action is executed sequentially. @@ -37,7 +38,7 @@ pub struct OpsDefinitionSpec { /// OpsAction specifies a custom action defined in OpsDefinition for execution in a "Custom" OpsRequest. /// OpsAction can be of three types: /// - workload: Creates a Job or Pod to run custom scripts, ideal for isolated or long-running tasks. - exec: Executes commands directly within an existing container using the kubectl exec interface, suitable for immediate, short-lived operations. - resourceModifier: Modifies a K8s object using JSON patches, useful for updating the spec of some resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActions { /// Specifies the configuration for a 'exec' action. It creates a Pod and invokes a 'kubectl exec' to run command inside a specified container with the target Pod. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -62,7 +63,7 @@ pub struct OpsDefinitionActions { } /// Specifies the configuration for a 'exec' action. It creates a Pod and invokes a 'kubectl exec' to run command inside a specified container with the target Pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsExec { /// Specifies the number of retries allowed before marking the action as failed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "backoffLimit")] @@ -80,7 +81,7 @@ pub struct OpsDefinitionActionsExec { /// Specifies the configuration for a 'resourceModifier' action. This action allows for modifications to existing K8s objects. /// Note: This feature has not been implemented yet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsResourceModifier { /// Specifies a method to determine if the action has been completed. /// Note: This feature has not been implemented yet. @@ -95,7 +96,7 @@ pub struct OpsDefinitionActionsResourceModifier { /// Specifies a method to determine if the action has been completed. /// Note: This feature has not been implemented yet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsResourceModifierCompletionProbe { /// Specifies the number of seconds to wait after the resource has been patched before initiating completion probes. The default value is 5 seconds, with a minimum value of 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "initialDelaySeconds")] @@ -112,7 +113,7 @@ pub struct OpsDefinitionActionsResourceModifierCompletionProbe { } /// Executes expressions regularly, based on the value of PeriodSeconds, to determine if the action has been completed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsResourceModifierCompletionProbeMatchExpressions { /// Specifies a failure condition for an action using a Go template expression. Should evaluate to either `true` or `false`. The current resource object is parsed into the Go template. for example, you can use '{{ eq .spec.replicas 1 }}'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -142,7 +143,7 @@ pub enum OpsDefinitionActionsResourceModifierJsonPatchesOp { } /// Specifies the K8s object that is to be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsResourceModifierResource { /// Specifies the group for the resource being referenced. If not specified, the referenced Kind must belong to the core API group. For all third-party types, this is mandatory. #[serde(rename = "apiGroup")] @@ -172,7 +173,7 @@ pub struct OpsDefinitionActionsWorkload { } /// Specifies the PodSpec of the 'workload' action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpec { /// Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer. #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] @@ -299,7 +300,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpec { } /// If specified, the pod's scheduling constraints -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -313,7 +314,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -324,7 +325,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: OpsDefinitionActionsWorkloadPodSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -333,7 +334,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityNodeAffinityPreferredDurin } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -344,7 +345,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityNodeAffinityPreferredDurin } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -356,7 +357,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityNodeAffinityPreferredDurin } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -368,7 +369,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityNodeAffinityPreferredDurin } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -376,7 +377,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityNodeAffinityRequiredDuring } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -387,7 +388,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityNodeAffinityRequiredDuring } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -399,7 +400,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityNodeAffinityRequiredDuring } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -411,7 +412,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityNodeAffinityRequiredDuring } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -422,7 +423,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -432,7 +433,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAffinityPreferredDuring } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -449,7 +450,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAffinityPreferredDuring } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -460,7 +461,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAffinityPreferredDuring } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -472,7 +473,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAffinityPreferredDuring } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -483,7 +484,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAffinityPreferredDuring } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -495,7 +496,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAffinityPreferredDuring } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -512,7 +513,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAffinityRequiredDuringS } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -523,7 +524,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAffinityRequiredDuringS } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -535,7 +536,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAffinityRequiredDuringS } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -546,7 +547,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAffinityRequiredDuringS } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -558,7 +559,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAffinityRequiredDuringS } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -569,7 +570,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -579,7 +580,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAntiAffinityPreferredDu } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -596,7 +597,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAntiAffinityPreferredDu } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -607,7 +608,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAntiAffinityPreferredDu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -619,7 +620,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAntiAffinityPreferredDu } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -630,7 +631,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAntiAffinityPreferredDu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -642,7 +643,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAntiAffinityPreferredDu } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -659,7 +660,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAntiAffinityRequiredDur } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -670,7 +671,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAntiAffinityRequiredDur } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -682,7 +683,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAntiAffinityRequiredDur } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -693,7 +694,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAntiAffinityRequiredDur } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -705,7 +706,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecAffinityPodAntiAffinityRequiredDur } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainers { /// Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -781,7 +782,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -794,7 +795,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -811,7 +812,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -824,7 +825,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersEnvValueFromConfigMapKey } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -835,7 +836,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -848,7 +849,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersEnvValueFromResourceFiel } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -861,7 +862,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersEnvValueFromSecretKeyRef } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -875,7 +876,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -886,7 +887,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -897,7 +898,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersEnvFromSecretRef { } /// Actions that the management system should take in response to container lifecycle events. Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -908,7 +909,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -922,7 +923,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -930,7 +931,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -949,7 +950,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersLifecyclePostStartHttpGe } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -958,7 +959,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersLifecyclePostStartHttpGe } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -968,7 +969,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersLifecyclePostStartTcpSoc } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -982,7 +983,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -990,7 +991,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1009,7 +1010,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersLifecyclePreStopHttpGet } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1018,7 +1019,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersLifecyclePreStopHttpGetH } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1028,7 +1029,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersLifecyclePreStopTcpSocke } /// Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1063,7 +1064,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1071,7 +1072,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1082,7 +1083,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1101,7 +1102,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1110,7 +1111,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersLivenessProbeHttpGetHttp } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1120,7 +1121,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -1140,7 +1141,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersPorts { } /// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1175,7 +1176,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1183,7 +1184,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1194,7 +1195,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1213,7 +1214,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1222,7 +1223,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersReadinessProbeHttpGetHtt } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1232,7 +1233,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersReadinessProbeTcpSocket } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. #[serde(rename = "resourceName")] @@ -1243,7 +1244,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersResizePolicy { } /// Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1259,14 +1260,14 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -1304,7 +1305,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1315,7 +1316,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersSecurityContextCapabilit } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1332,7 +1333,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersSecurityContextSeLinuxOp } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -1344,7 +1345,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersSecurityContextSeccompPr } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -1361,7 +1362,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersSecurityContextWindowsOp } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1396,7 +1397,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1404,7 +1405,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1415,7 +1416,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1434,7 +1435,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersStartupProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1443,7 +1444,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersStartupProbeHttpGetHttpH } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1453,7 +1454,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -1463,7 +1464,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -1485,7 +1486,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecContainersVolumeMounts { } /// Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecDnsConfig { /// A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1499,7 +1500,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecDnsConfig { } /// PodDNSConfigOption defines DNS resolver options of a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecDnsConfigOptions { /// Required. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1510,7 +1511,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecDnsConfigOptions { /// An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation. /// To add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainers { /// Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1590,7 +1591,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -1603,7 +1604,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1620,7 +1621,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1633,7 +1634,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersEnvValueFromCon } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1644,7 +1645,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersEnvValueFromFie } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1657,7 +1658,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersEnvValueFromRes } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1670,7 +1671,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersEnvValueFromSec } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -1684,7 +1685,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1695,7 +1696,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersEnvFromConfigMa } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1706,7 +1707,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersEnvFromSecretRe } /// Lifecycle is not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -1717,7 +1718,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1731,7 +1732,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLifecyclePostSt } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1739,7 +1740,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLifecyclePostSt } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1758,7 +1759,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLifecyclePostSt } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1767,7 +1768,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLifecyclePostSt } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1777,7 +1778,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLifecyclePostSt } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1791,7 +1792,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLifecyclePreSto } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1799,7 +1800,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLifecyclePreSto } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1818,7 +1819,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLifecyclePreSto } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1827,7 +1828,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLifecyclePreSto } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1837,7 +1838,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLifecyclePreSto } /// Probes are not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1872,7 +1873,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1880,7 +1881,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLivenessProbeEx } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1891,7 +1892,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLivenessProbeGr } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1910,7 +1911,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLivenessProbeHt } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1919,7 +1920,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLivenessProbeHt } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1929,7 +1930,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersLivenessProbeTc } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -1949,7 +1950,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersPorts { } /// Probes are not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1984,7 +1985,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersReadinessProbe } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1992,7 +1993,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersReadinessProbeE } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2003,7 +2004,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersReadinessProbeG } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2022,7 +2023,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersReadinessProbeH } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2031,7 +2032,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersReadinessProbeH } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2041,7 +2042,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersReadinessProbeT } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. #[serde(rename = "resourceName")] @@ -2052,7 +2053,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersResizePolicy { } /// Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2068,14 +2069,14 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// Optional: SecurityContext defines the security options the ephemeral container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -2113,7 +2114,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersSecurityContext } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2124,7 +2125,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersSecurityContext } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2141,7 +2142,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersSecurityContext } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -2153,7 +2154,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersSecurityContext } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -2170,7 +2171,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersSecurityContext } /// Probes are not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2205,7 +2206,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2213,7 +2214,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersStartupProbeExe } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2224,7 +2225,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersStartupProbeGrp } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2243,7 +2244,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersStartupProbeHtt } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersStartupProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2252,7 +2253,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersStartupProbeHtt } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2262,7 +2263,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersStartupProbeTcp } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -2272,7 +2273,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -2294,7 +2295,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecEphemeralContainersVolumeMounts { } /// HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecHostAliases { /// Hostnames for the above IP address. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2305,7 +2306,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecHostAliases { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecImagePullSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2313,7 +2314,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecImagePullSecrets { } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainers { /// Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2389,7 +2390,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -2402,7 +2403,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -2419,7 +2420,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -2432,7 +2433,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersEnvValueFromConfigMa } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2443,7 +2444,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersEnvValueFromFieldRef } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2456,7 +2457,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersEnvValueFromResource } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2469,7 +2470,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersEnvValueFromSecretKe } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -2483,7 +2484,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2494,7 +2495,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersEnvFromConfigMapRef } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2505,7 +2506,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersEnvFromSecretRef { } /// Actions that the management system should take in response to container lifecycle events. Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -2516,7 +2517,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2530,7 +2531,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2538,7 +2539,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLifecyclePostStartEx } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2557,7 +2558,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLifecyclePostStartHt } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2566,7 +2567,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLifecyclePostStartHt } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2576,7 +2577,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLifecyclePostStartTc } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2590,7 +2591,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2598,7 +2599,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLifecyclePreStopExec } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2617,7 +2618,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLifecyclePreStopHttp } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2626,7 +2627,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLifecyclePreStopHttp } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2636,7 +2637,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLifecyclePreStopTcpS } /// Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2671,7 +2672,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2679,7 +2680,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2690,7 +2691,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2709,7 +2710,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLivenessProbeHttpGet } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2718,7 +2719,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLivenessProbeHttpGet } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2728,7 +2729,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersLivenessProbeTcpSock } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -2748,7 +2749,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersPorts { } /// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2783,7 +2784,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2791,7 +2792,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2802,7 +2803,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2821,7 +2822,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersReadinessProbeHttpGe } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2830,7 +2831,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersReadinessProbeHttpGe } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2840,7 +2841,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersReadinessProbeTcpSoc } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. #[serde(rename = "resourceName")] @@ -2851,7 +2852,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersResizePolicy { } /// Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2867,14 +2868,14 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -2912,7 +2913,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2923,7 +2924,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersSecurityContextCapab } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2940,7 +2941,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersSecurityContextSeLin } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -2952,7 +2953,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersSecurityContextSecco } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -2969,7 +2970,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersSecurityContextWindo } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3004,7 +3005,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3012,7 +3013,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3023,7 +3024,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3042,7 +3043,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersStartupProbeHttpGet } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersStartupProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -3051,7 +3052,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersStartupProbeHttpGetH } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3061,7 +3062,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersStartupProbeTcpSocke } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -3071,7 +3072,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -3095,14 +3096,14 @@ pub struct OpsDefinitionActionsWorkloadPodSpecInitContainersVolumeMounts { /// Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set. /// If the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions /// If the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecOs { /// Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null pub name: String, } /// PodReadinessGate contains the reference to a pod condition -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecReadinessGates { /// ConditionType refers to a condition in the pod's condition list with matching type. #[serde(rename = "conditionType")] @@ -3110,7 +3111,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecReadinessGates { } /// PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecResourceClaims { /// Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL. pub name: String, @@ -3120,7 +3121,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecResourceClaims { } /// Source describes where to find the ResourceClaim. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecResourceClaimsSource { /// ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceClaimName")] @@ -3133,14 +3134,14 @@ pub struct OpsDefinitionActionsWorkloadPodSpecResourceClaimsSource { } /// PodSchedulingGate is associated to a Pod to guard its scheduling. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecSchedulingGates { /// Name of the scheduling gate. Each scheduling gate must have a unique name field. pub name: String, } /// SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -3177,7 +3178,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3194,7 +3195,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -3206,7 +3207,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -3215,7 +3216,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -3232,7 +3233,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecSecurityContextWindowsOptions { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3252,7 +3253,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecTopologySpreadConstraints { /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -3286,7 +3287,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecTopologySpreadConstraints { } /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3297,7 +3298,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecTopologySpreadConstraintsLabelSele } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3309,7 +3310,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecTopologySpreadConstraintsLabelSele } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -3407,7 +3408,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3424,7 +3425,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -3447,7 +3448,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -3461,7 +3462,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -3483,7 +3484,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3491,7 +3492,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3508,7 +3509,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3516,7 +3517,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -3533,7 +3534,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -3545,7 +3546,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -3564,7 +3565,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3572,7 +3573,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -3583,7 +3584,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -3599,7 +3600,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3610,7 +3611,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -3623,7 +3624,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesDownwardApiItemsResourceFie } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3638,7 +3639,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -3652,7 +3653,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3662,7 +3663,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesEphemeralVolumeClaimTemplat } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3677,7 +3678,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesEphemeralVolumeClaimTemplat } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -3706,7 +3707,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesEphemeralVolumeClaimTemplat } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -3718,7 +3719,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesEphemeralVolumeClaimTemplat } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -3733,7 +3734,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesEphemeralVolumeClaimTemplat } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -3749,14 +3750,14 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesEphemeralVolumeClaimTemplat } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3767,7 +3768,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesEphemeralVolumeClaimTemplat } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3779,7 +3780,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesEphemeralVolumeClaimTemplat } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3799,7 +3800,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -3818,7 +3819,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3826,7 +3827,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -3837,7 +3838,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3854,7 +3855,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3867,7 +3868,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -3879,7 +3880,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -3889,7 +3890,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -3925,7 +3926,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3933,7 +3934,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -3945,7 +3946,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -3956,7 +3957,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3967,7 +3968,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3981,7 +3982,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -3992,7 +3993,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4009,7 +4010,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4023,7 +4024,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -4035,7 +4036,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesProjectedSourcesConfigMapIt } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4043,7 +4044,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesProjectedSourcesDownwardApi } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -4059,7 +4060,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesProjectedSourcesDownwardApi } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4070,7 +4071,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesProjectedSourcesDownwardApi } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -4083,7 +4084,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesProjectedSourcesDownwardApi } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4097,7 +4098,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -4109,7 +4110,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesProjectedSourcesSecretItems } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4122,7 +4123,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesProjectedSourcesServiceAcco } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4143,7 +4144,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4170,7 +4171,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4178,7 +4179,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4211,7 +4212,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4219,7 +4220,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -4236,7 +4237,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesSecretItems { /// key is the key to project. pub key: String, @@ -4248,7 +4249,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4268,7 +4269,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4276,7 +4277,7 @@ pub struct OpsDefinitionActionsWorkloadPodSpecVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionActionsWorkloadPodSpecVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4299,7 +4300,7 @@ pub enum OpsDefinitionActionsWorkloadType { Pod, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionComponentInfos { /// Specifies the account name associated with the Component. If set, the corresponding account username and password are injected into containers' environment variables `KB_ACCOUNT_USERNAME` and `KB_ACCOUNT_PASSWORD`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountName")] @@ -4313,14 +4314,14 @@ pub struct OpsDefinitionComponentInfos { } /// Specifies the schema for validating the data types and value ranges of parameters in OpsActions before their usage. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionParametersSchema { /// Defines the schema for parameters using the OpenAPI v3. The supported property types include: - string - number - integer - array: Note that only items of string type are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "openAPIV3Schema")] pub open_apiv3_schema: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionPodInfoExtractors { /// Specifies a list of environment variables to be extracted from a selected Pod, and injected into the containers executing each OpsAction. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4335,7 +4336,7 @@ pub struct OpsDefinitionPodInfoExtractors { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionPodInfoExtractorsEnv { /// Specifies the name of the environment variable to be injected into Pods executing OpsActions. It must conform to the C_IDENTIFIER format, which includes only alphanumeric characters and underscores, and cannot begin with a digit. pub name: String, @@ -4345,7 +4346,7 @@ pub struct OpsDefinitionPodInfoExtractorsEnv { } /// Specifies the source of the environment variable's value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionPodInfoExtractorsEnvValueFrom { /// Specifies a reference to a specific environment variable within a container. Used to specify the source of the variable, which can be either "env" or "envFrom". #[serde(default, skip_serializing_if = "Option::is_none", rename = "envRef")] @@ -4356,7 +4357,7 @@ pub struct OpsDefinitionPodInfoExtractorsEnvValueFrom { } /// Specifies a reference to a specific environment variable within a container. Used to specify the source of the variable, which can be either "env" or "envFrom". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionPodInfoExtractorsEnvValueFromEnvRef { /// Defines the name of the environment variable. This name can originate from an 'env' entry or be a data key from an 'envFrom' source. #[serde(rename = "envName")] @@ -4367,7 +4368,7 @@ pub struct OpsDefinitionPodInfoExtractorsEnvValueFromEnvRef { } /// Represents the JSONPath expression pointing to the specific data within the JSON structure of the target Pod. It is used to extract precise data locations for operations on the Pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionPodInfoExtractorsEnvValueFromFieldPath { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4378,7 +4379,7 @@ pub struct OpsDefinitionPodInfoExtractorsEnvValueFromFieldPath { } /// Used to select the target Pod from which environment variables and volumes are extracted from its PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionPodInfoExtractorsPodSelector { /// Defines the policy for selecting the target pod when multiple pods match the podSelector. It can be either 'Any' (select any one pod that matches the podSelector) or 'All' (select all pods that match the podSelector). #[serde(default, skip_serializing_if = "Option::is_none", rename = "multiPodSelectionPolicy")] @@ -4396,7 +4397,7 @@ pub enum OpsDefinitionPodInfoExtractorsPodSelectorMultiPodSelectionPolicy { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionPodInfoExtractorsVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -4417,7 +4418,7 @@ pub struct OpsDefinitionPodInfoExtractorsVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionPreConditions { /// Specifies the conditions that must be met for the operation to execute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4425,7 +4426,7 @@ pub struct OpsDefinitionPreConditions { } /// Specifies the conditions that must be met for the operation to execute. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionPreConditionsRule { /// Specifies a Go template expression that determines how the operation can be executed. The return value must be either `true` or `false`. Available built-in objects that can be referenced in the expression include: /// - `params`: Input parameters. - `cluster`: The referenced Cluster object. - `component`: The referenced Component object. @@ -4435,7 +4436,7 @@ pub struct OpsDefinitionPreConditionsRule { } /// OpsDefinitionStatus defines the observed state of OpsDefinition -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsDefinitionStatus { /// Provides additional information about the current phase. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/opsrequests.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/opsrequests.rs index fe1ce04ab..94b8f8b1e 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/opsrequests.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/opsrequests.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/opsrequests.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/opsrequests.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -100,7 +100,7 @@ pub struct OpsRequestSpec { } /// Specifies the parameters to backup a Cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestBackup { /// Specifies the name of BackupMethod. The specified BackupMethod must be defined in the BackupPolicy. #[serde(default, skip_serializing_if = "Option::is_none", rename = "backupMethod")] @@ -134,7 +134,7 @@ pub enum OpsRequestBackupDeletionPolicy { } /// Deprecated: since v0.9, use backup instead. Specifies the parameters to backup a Cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestBackupSpec { /// Specifies the name of BackupMethod. The specified BackupMethod must be defined in the BackupPolicy. #[serde(default, skip_serializing_if = "Option::is_none", rename = "backupMethod")] @@ -168,7 +168,7 @@ pub enum OpsRequestBackupSpecDeletionPolicy { } /// Specifies a custom operation defined by OpsDefinition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestCustom { /// Specifies the components and their parameters for executing custom actions as defined in OpsDefinition. Requires at least one component. pub components: Vec, @@ -186,7 +186,7 @@ pub struct OpsRequestCustom { pub service_account_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestCustomComponents { /// Specifies the name of the Component. #[serde(rename = "componentName")] @@ -196,7 +196,7 @@ pub struct OpsRequestCustomComponents { pub parameters: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestCustomComponentsParameters { /// Specifies the identifier of the parameter as defined in the OpsDefinition. pub name: String, @@ -217,7 +217,7 @@ pub struct OpsRequestExpose { } /// OpsService represents the parameters to dynamically create or remove a ClusterService in the `cluster.spec.services` array. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestExposeServices { /// Contains cloud provider related parameters if ServiceType is LoadBalancer. /// More info: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer. @@ -262,7 +262,7 @@ pub struct OpsRequestExposeServices { } /// ServicePort contains information on service's port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestExposeServicesPorts { /// The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either: /// * Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). @@ -293,7 +293,7 @@ pub enum OpsRequestExposeSwitch { } /// HorizontalScaling defines the parameters of a horizontal scaling operation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScaling { /// Specifies the name of the Component. #[serde(rename = "componentName")] @@ -311,7 +311,7 @@ pub struct OpsRequestHorizontalScaling { } /// InstanceTemplate allows customization of individual replica configurations in a Component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstances { /// Specifies a map of key-value pairs to be merged into the Pod's existing annotations. Existing keys will have their values overwritten, while new keys will be added to the annotations. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -355,7 +355,7 @@ pub struct OpsRequestHorizontalScalingInstances { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -368,7 +368,7 @@ pub struct OpsRequestHorizontalScalingInstancesEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -385,7 +385,7 @@ pub struct OpsRequestHorizontalScalingInstancesEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -398,7 +398,7 @@ pub struct OpsRequestHorizontalScalingInstancesEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -409,7 +409,7 @@ pub struct OpsRequestHorizontalScalingInstancesEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -422,7 +422,7 @@ pub struct OpsRequestHorizontalScalingInstancesEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -435,7 +435,7 @@ pub struct OpsRequestHorizontalScalingInstancesEnvValueFromSecretKeyRef { } /// Specifies an override for the resource requirements of the first container in the Pod. This field allows for customizing resource allocation (CPU, memory, etc.) for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -451,14 +451,14 @@ pub struct OpsRequestHorizontalScalingInstancesResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -477,7 +477,7 @@ pub struct OpsRequestHorizontalScalingInstancesTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumeClaimTemplates { /// Refers to the name of a volumeMount defined in either: /// - `componentDefinition.spec.runtime.containers[*].volumeMounts` - `clusterDefinition.spec.componentDefs[*].podSpec.containers[*].volumeMounts` (deprecated) @@ -491,7 +491,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumeClaimTemplates { /// Defines the desired characteristics of a PersistentVolumeClaim that will be created for the volume with the mount name specified in the `name` field. /// When a Pod is created for this ClusterComponent, a new PVC will be created based on the specification defined in the `spec` field. The PVC will be associated with the volume mount specified by the `name` field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumeClaimTemplatesSpec { /// Contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -508,7 +508,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumeClaimTemplatesSpec { } /// Represents the minimum resources the volume should have. If the RecoverVolumeExpansionFailure feature is enabled, users are allowed to specify resource requirements that are lower than the previous value but must still be higher than the capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumeClaimTemplatesSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -524,14 +524,14 @@ pub struct OpsRequestHorizontalScalingInstancesVolumeClaimTemplatesSpecResources } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumeClaimTemplatesSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -553,7 +553,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -651,7 +651,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -668,7 +668,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -691,7 +691,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -705,7 +705,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -727,7 +727,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -735,7 +735,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -752,7 +752,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -760,7 +760,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -777,7 +777,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -789,7 +789,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -808,7 +808,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -816,7 +816,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -827,7 +827,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -843,7 +843,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -854,7 +854,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -867,7 +867,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesDownwardApiItemsResourceFi } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -882,7 +882,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -896,7 +896,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -906,7 +906,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesEphemeralVolumeClaimTempla } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -921,7 +921,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesEphemeralVolumeClaimTempla } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -950,7 +950,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesEphemeralVolumeClaimTempla } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -962,7 +962,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesEphemeralVolumeClaimTempla } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -977,7 +977,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesEphemeralVolumeClaimTempla } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -993,14 +993,14 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesEphemeralVolumeClaimTempla } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1011,7 +1011,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesEphemeralVolumeClaimTempla } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1023,7 +1023,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesEphemeralVolumeClaimTempla } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1043,7 +1043,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -1062,7 +1062,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1070,7 +1070,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -1081,7 +1081,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1098,7 +1098,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1111,7 +1111,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -1123,7 +1123,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -1133,7 +1133,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -1169,7 +1169,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1177,7 +1177,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -1189,7 +1189,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -1200,7 +1200,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1211,7 +1211,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1225,7 +1225,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1236,7 +1236,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1253,7 +1253,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1267,7 +1267,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesProjectedSourcesConfigMap } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -1279,7 +1279,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesProjectedSourcesConfigMapI } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1287,7 +1287,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesProjectedSourcesDownwardAp } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -1303,7 +1303,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesProjectedSourcesDownwardAp } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1314,7 +1314,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesProjectedSourcesDownwardAp } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1327,7 +1327,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesProjectedSourcesDownwardAp } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1341,7 +1341,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -1353,7 +1353,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesProjectedSourcesSecretItem } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1366,7 +1366,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesProjectedSourcesServiceAcc } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1387,7 +1387,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1414,7 +1414,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1422,7 +1422,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1455,7 +1455,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1463,7 +1463,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1480,7 +1480,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesSecretItems { /// key is the key to project. pub key: String, @@ -1492,7 +1492,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1512,7 +1512,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1520,7 +1520,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestHorizontalScalingInstancesVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1536,7 +1536,7 @@ pub struct OpsRequestHorizontalScalingInstancesVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestRebuildFrom { /// Indicates the name of the Backup custom resource from which to recover the instance. Defaults to an empty PersistentVolume if unspecified. /// Note: - Only full physical backups are supported for multi-replica Components (e.g., 'xtrabackup' for MySQL). - Logical backups (e.g., 'mysqldump' for MySQL) are unsupported in the current version. @@ -1554,7 +1554,7 @@ pub struct OpsRequestRebuildFrom { pub restore_env: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestRebuildFromInstances { /// Pod name of the instance. pub name: String, @@ -1564,7 +1564,7 @@ pub struct OpsRequestRebuildFromInstances { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestRebuildFromRestoreEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -1577,7 +1577,7 @@ pub struct OpsRequestRebuildFromRestoreEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestRebuildFromRestoreEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1594,7 +1594,7 @@ pub struct OpsRequestRebuildFromRestoreEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestRebuildFromRestoreEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1607,7 +1607,7 @@ pub struct OpsRequestRebuildFromRestoreEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestRebuildFromRestoreEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1618,7 +1618,7 @@ pub struct OpsRequestRebuildFromRestoreEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestRebuildFromRestoreEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1631,7 +1631,7 @@ pub struct OpsRequestRebuildFromRestoreEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestRebuildFromRestoreEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1645,7 +1645,7 @@ pub struct OpsRequestRebuildFromRestoreEnvValueFromSecretKeyRef { /// Specifies a component and its configuration updates. /// This field is deprecated and replaced by `reconfigures`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestReconfigure { /// Specifies the name of the Component. #[serde(rename = "componentName")] @@ -1654,7 +1654,7 @@ pub struct OpsRequestReconfigure { pub configurations: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestReconfigureConfigurations { /// Sets the configuration files and their associated parameters that need to be updated. It should contain at least one item. pub keys: Vec, @@ -1665,7 +1665,7 @@ pub struct OpsRequestReconfigureConfigurations { pub policy: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestReconfigureConfigurationsKeys { /// Specifies the content of the entire configuration file. This field is used to update the complete configuration file. /// Either the `parameters` field or the `fileContent` field must be set, but not both. @@ -1679,7 +1679,7 @@ pub struct OpsRequestReconfigureConfigurationsKeys { pub parameters: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestReconfigureConfigurationsKeysParameters { /// Represents the name of the parameter that is to be updated. pub key: String, @@ -1705,7 +1705,7 @@ pub enum OpsRequestReconfigureConfigurationsPolicy { } /// Reconfigure defines the parameters for updating a Component's configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestReconfigures { /// Specifies the name of the Component. #[serde(rename = "componentName")] @@ -1714,7 +1714,7 @@ pub struct OpsRequestReconfigures { pub configurations: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestReconfiguresConfigurations { /// Sets the configuration files and their associated parameters that need to be updated. It should contain at least one item. pub keys: Vec, @@ -1725,7 +1725,7 @@ pub struct OpsRequestReconfiguresConfigurations { pub policy: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestReconfiguresConfigurationsKeys { /// Specifies the content of the entire configuration file. This field is used to update the complete configuration file. /// Either the `parameters` field or the `fileContent` field must be set, but not both. @@ -1739,7 +1739,7 @@ pub struct OpsRequestReconfiguresConfigurationsKeys { pub parameters: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestReconfiguresConfigurationsKeysParameters { /// Represents the name of the parameter that is to be updated. pub key: String, @@ -1765,7 +1765,7 @@ pub enum OpsRequestReconfiguresConfigurationsPolicy { } /// ComponentOps specifies the Component to be operated on. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestRestart { /// Specifies the name of the Component. #[serde(rename = "componentName")] @@ -1773,7 +1773,7 @@ pub struct OpsRequestRestart { } /// Specifies the parameters to restore a Cluster. Note that this restore operation will roll back cluster services. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestRestore { /// Specifies the name of the Backup custom resource. #[serde(rename = "backupName")] @@ -1801,7 +1801,7 @@ pub enum OpsRequestRestoreVolumeRestorePolicy { } /// Deprecated: since v0.9, use restore instead. Specifies the parameters to restore a Cluster. Note that this restore operation will roll back cluster services. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestRestoreSpec { /// Specifies the name of the Backup custom resource. #[serde(rename = "backupName")] @@ -1830,7 +1830,7 @@ pub enum OpsRequestRestoreSpecVolumeRestorePolicy { /// Specifies the image and scripts for executing engine-specific operations such as creating databases or users. It supports limited engines including MySQL, PostgreSQL, Redis, MongoDB. /// ScriptSpec has been replaced by the more versatile OpsDefinition. It is recommended to use OpsDefinition instead. ScriptSpec is deprecated and will be removed in a future version. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestScriptSpec { /// Specifies the name of the Component. #[serde(rename = "componentName")] @@ -1865,7 +1865,7 @@ pub struct OpsRequestScriptSpec { /// All scripts obtained from the sources specified in this field will be executed after any scripts provided in the `script` field. /// Execution order: 1. Scripts provided in the `script` field, in the order of the scripts listed. 2. Scripts imported from ConfigMaps, in the order of the sources listed. 3. Scripts imported from Secrets, in the order of the sources listed. /// Note: this field cannot be modified once set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestScriptSpecScriptFrom { /// A list of ConfigMapKeySelector objects, each specifies a ConfigMap and a key containing the script. /// Note: This field cannot be modified once set. @@ -1878,7 +1878,7 @@ pub struct OpsRequestScriptSpecScriptFrom { } /// Selects a key from a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestScriptSpecScriptFromConfigMapRef { /// The key to select. pub key: String, @@ -1891,7 +1891,7 @@ pub struct OpsRequestScriptSpecScriptFromConfigMapRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestScriptSpecScriptFromSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1904,7 +1904,7 @@ pub struct OpsRequestScriptSpecScriptFromSecretRef { } /// Defines the secret to be used to execute the script. If not specified, the default cluster root credential secret is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestScriptSpecSecret { /// Specifies the name of the secret. pub name: String, @@ -1920,7 +1920,7 @@ pub struct OpsRequestScriptSpecSecret { /// By default, the script is executed on the Pod associated with the service named "{clusterName}-{componentName}", which typically routes to the Pod with the primary/leader role. /// However, some Components, such as Redis, do not synchronize account information between primary and secondary Pods. In these cases, the script must be executed on all replica Pods matching the selector. /// Note: this field cannot be modified once set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestScriptSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1931,7 +1931,7 @@ pub struct OpsRequestScriptSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestScriptSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1942,7 +1942,7 @@ pub struct OpsRequestScriptSpecSelectorMatchExpressions { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestSwitchover { /// Specifies the name of the Component. #[serde(rename = "componentName")] @@ -1977,7 +1977,7 @@ pub enum OpsRequestType { /// Specifies the desired new version of the Cluster. /// Note: This field is immutable once set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestUpgrade { /// Deprecated: since v0.9 because ClusterVersion is deprecated. Specifies the name of the target ClusterVersion for the upgrade. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterVersionRef")] @@ -1987,7 +1987,7 @@ pub struct OpsRequestUpgrade { pub components: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestUpgradeComponents { /// Specifies the name of the ComponentDefinition. #[serde(default, skip_serializing_if = "Option::is_none", rename = "componentDefinitionName")] @@ -2001,7 +2001,7 @@ pub struct OpsRequestUpgradeComponents { } /// VerticalScaling refers to the process of adjusting compute resources (e.g., CPU, memory) allocated to a Component. It defines the parameters required for the operation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestVerticalScaling { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2023,13 +2023,13 @@ pub struct OpsRequestVerticalScaling { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestVerticalScalingClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestVerticalScalingInstances { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2047,14 +2047,14 @@ pub struct OpsRequestVerticalScalingInstances { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestVerticalScalingInstancesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// VolumeExpansion encapsulates the parameters required for a volume expansion operation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestVolumeExpansion { /// Specifies the name of the Component. #[serde(rename = "componentName")] @@ -2067,7 +2067,7 @@ pub struct OpsRequestVolumeExpansion { pub volume_claim_templates: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestVolumeExpansionInstances { /// Refer to the instance template name of the component or sharding. pub name: String, @@ -2076,7 +2076,7 @@ pub struct OpsRequestVolumeExpansionInstances { pub volume_claim_templates: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestVolumeExpansionInstancesVolumeClaimTemplates { /// Specify the name of the volumeClaimTemplate in the Component. The specified name must match one of the volumeClaimTemplates defined in the `clusterComponentSpec.volumeClaimTemplates` field. pub name: String, @@ -2084,7 +2084,7 @@ pub struct OpsRequestVolumeExpansionInstancesVolumeClaimTemplates { pub storage: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestVolumeExpansionVolumeClaimTemplates { /// Specify the name of the volumeClaimTemplate in the Component. The specified name must match one of the volumeClaimTemplates defined in the `clusterComponentSpec.volumeClaimTemplates` field. pub name: String, @@ -2093,7 +2093,7 @@ pub struct OpsRequestVolumeExpansionVolumeClaimTemplates { } /// OpsRequestStatus represents the observed state of an OpsRequest. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatus { /// Records the time when the OpsRequest was cancelled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cancelTimestamp")] @@ -2133,7 +2133,7 @@ pub struct OpsRequestStatus { } /// Records the status information of Components changed due to the OpsRequest. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusComponents { /// Records the timestamp when the Component last transitioned to a "Failed" or "Abnormal" phase. #[serde(default, skip_serializing_if = "Option::is_none", rename = "lastFailedTime")] @@ -2172,7 +2172,7 @@ pub enum OpsRequestStatusComponentsPhase { } /// Records the result of the preConditions check of the opsRequest, which determines subsequent steps. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusComponentsPreCheck { /// Provides explanations related to the preCheck result in a human-readable format. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2250,7 +2250,7 @@ pub enum OpsRequestStatusComponentsWorkloadType { } /// Records the configuration prior to any changes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfiguration { /// Specifies the name of the ClusterVersion. Deprecated and should be removed in the future version. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterVersionRef")] @@ -2261,7 +2261,7 @@ pub struct OpsRequestStatusLastConfiguration { } /// Records the configuration of each Component prior to any changes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponents { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2301,14 +2301,14 @@ pub struct OpsRequestStatusLastConfigurationComponents { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// InstanceTemplate allows customization of individual replica configurations in a Component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstances { /// Specifies a map of key-value pairs to be merged into the Pod's existing annotations. Existing keys will have their values overwritten, while new keys will be added to the annotations. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2352,7 +2352,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstances { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -2365,7 +2365,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -2382,7 +2382,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -2395,7 +2395,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesEnvValueFromConfi } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2406,7 +2406,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesEnvValueFromField } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2419,7 +2419,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesEnvValueFromResou } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2432,7 +2432,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesEnvValueFromSecre } /// Specifies an override for the resource requirements of the first container in the Pod. This field allows for customizing resource allocation (CPU, memory, etc.) for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2448,14 +2448,14 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2474,7 +2474,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumeClaimTemplates { /// Refers to the name of a volumeMount defined in either: /// - `componentDefinition.spec.runtime.containers[*].volumeMounts` - `clusterDefinition.spec.componentDefs[*].podSpec.containers[*].volumeMounts` (deprecated) @@ -2488,7 +2488,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumeClaimTempla /// Defines the desired characteristics of a PersistentVolumeClaim that will be created for the volume with the mount name specified in the `name` field. /// When a Pod is created for this ClusterComponent, a new PVC will be created based on the specification defined in the `spec` field. The PVC will be associated with the volume mount specified by the `name` field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumeClaimTemplatesSpec { /// Contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -2505,7 +2505,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumeClaimTempla } /// Represents the minimum resources the volume should have. If the RecoverVolumeExpansionFailure feature is enabled, users are allowed to specify resource requirements that are lower than the previous value but must still be higher than the capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumeClaimTemplatesSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2521,14 +2521,14 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumeClaimTempla } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumeClaimTemplatesSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -2550,7 +2550,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -2648,7 +2648,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2665,7 +2665,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesAwsElastic } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -2688,7 +2688,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesAzureDisk } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -2702,7 +2702,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesAzureFile } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -2724,7 +2724,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2732,7 +2732,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesCephfsSecr } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2749,7 +2749,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2757,7 +2757,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesCinderSecr } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2774,7 +2774,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesConfigMap } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -2786,7 +2786,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesConfigMapI } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -2805,7 +2805,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2813,7 +2813,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesCsiNodePub } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2824,7 +2824,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesDownwardAp } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -2840,7 +2840,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesDownwardAp } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2851,7 +2851,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesDownwardAp } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2864,7 +2864,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesDownwardAp } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2879,7 +2879,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -2893,7 +2893,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesEphemeral /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2903,7 +2903,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesEphemeralV } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -2918,7 +2918,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesEphemeralV } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -2947,7 +2947,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesEphemeralV } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2959,7 +2959,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesEphemeralV } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2974,7 +2974,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesEphemeralV } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2990,14 +2990,14 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesEphemeralV } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3008,7 +3008,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesEphemeralV } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3020,7 +3020,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesEphemeralV } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3040,7 +3040,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -3059,7 +3059,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesFlexVolume } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3067,7 +3067,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesFlexVolume } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -3078,7 +3078,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3095,7 +3095,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesGcePersist } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3108,7 +3108,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -3120,7 +3120,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesGlusterfs } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -3130,7 +3130,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -3166,7 +3166,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3174,7 +3174,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesIscsiSecre } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -3186,7 +3186,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -3197,7 +3197,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesPersistent } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3208,7 +3208,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesPhotonPers } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3222,7 +3222,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesPortworxVo } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -3233,7 +3233,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesProjected } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3250,7 +3250,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesProjectedS } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3264,7 +3264,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesProjectedS } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -3276,7 +3276,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesProjectedS } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3284,7 +3284,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesProjectedS } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -3300,7 +3300,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesProjectedS } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3311,7 +3311,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesProjectedS } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -3324,7 +3324,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesProjectedS } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3338,7 +3338,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesProjectedS } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -3350,7 +3350,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesProjectedS } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3363,7 +3363,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesProjectedS } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3384,7 +3384,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3411,7 +3411,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3419,7 +3419,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesRbdSecretR } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3452,7 +3452,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3460,7 +3460,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesScaleIoSec } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -3477,7 +3477,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesSecretItems { /// key is the key to project. pub key: String, @@ -3489,7 +3489,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesSecretItem } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3509,7 +3509,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesStorageos } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3517,7 +3517,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesStorageosS } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3533,7 +3533,7 @@ pub struct OpsRequestStatusLastConfigurationComponentsInstancesVolumesVsphereVol pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsServices { /// If ServiceType is LoadBalancer, cloud provider related parameters can be put here. More info: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3559,7 +3559,7 @@ pub enum OpsRequestStatusLastConfigurationComponentsServicesServiceType { LoadBalancer, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusLastConfigurationComponentsVolumeClaimTemplates { /// Specify the name of the volumeClaimTemplate in the Component. The specified name must match one of the volumeClaimTemplates defined in the `clusterComponentSpec.volumeClaimTemplates` field. pub name: String, @@ -3581,7 +3581,7 @@ pub enum OpsRequestStatusPhase { } /// Deprecated: Replaced by ReconfiguringStatusAsComponent. Defines the status information of reconfiguring. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusReconfiguringStatus { /// Describes the reconfiguring detail status. Possible condition types include "Creating", "Init", "Running", "Pending", "Merged", "MergeFailed", "FailedAndPause", "Upgrading", "Deleting", "FailedAndRetry", "Finished", "ReconfigurePersisting", "ReconfigurePersisted". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3591,7 +3591,7 @@ pub struct OpsRequestStatusReconfiguringStatus { pub configuration_status: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusReconfiguringStatusConfigurationStatus { /// Represents the total count of pods intended to be updated by a configuration change. #[serde(default, skip_serializing_if = "Option::is_none", rename = "expectedCount")] @@ -3639,7 +3639,7 @@ pub enum OpsRequestStatusReconfiguringStatusConfigurationStatusUpdatePolicy { } /// Contains the updated parameters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusReconfiguringStatusConfigurationStatusUpdatedParameters { /// Maps newly added configuration files to their content. #[serde(default, skip_serializing_if = "Option::is_none", rename = "addedKeys")] @@ -3653,7 +3653,7 @@ pub struct OpsRequestStatusReconfiguringStatusConfigurationStatusUpdatedParamete } /// Records the status of a reconfiguring operation if `opsRequest.spec.type` equals to "Reconfiguring". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusReconfiguringStatusAsComponent { /// Describes the reconfiguring detail status. Possible condition types include "Creating", "Init", "Running", "Pending", "Merged", "MergeFailed", "FailedAndPause", "Upgrading", "Deleting", "FailedAndRetry", "Finished", "ReconfigurePersisting", "ReconfigurePersisted". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3663,7 +3663,7 @@ pub struct OpsRequestStatusReconfiguringStatusAsComponent { pub configuration_status: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusReconfiguringStatusAsComponentConfigurationStatus { /// Represents the total count of pods intended to be updated by a configuration change. #[serde(default, skip_serializing_if = "Option::is_none", rename = "expectedCount")] @@ -3711,7 +3711,7 @@ pub enum OpsRequestStatusReconfiguringStatusAsComponentConfigurationStatusUpdate } /// Contains the updated parameters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpsRequestStatusReconfiguringStatusAsComponentConfigurationStatusUpdatedParameters { /// Maps newly added configuration files to their content. #[serde(default, skip_serializing_if = "Option::is_none", rename = "addedKeys")] diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/servicedescriptors.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/servicedescriptors.rs index 2dfc13acf..e8c522e16 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/servicedescriptors.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1alpha1/servicedescriptors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/servicedescriptors.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1alpha1/servicedescriptors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1beta1/configconstraints.rs b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1beta1/configconstraints.rs index 6d16bf9ef..bcb94b9f7 100644 --- a/kube-custom-resources-rs/src/apps_kubeblocks_io/v1beta1/configconstraints.rs +++ b/kube-custom-resources-rs/src/apps_kubeblocks_io/v1beta1/configconstraints.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1beta1/configconstraints.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1beta1/configconstraints.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -60,7 +60,7 @@ pub struct ConfigConstraintSpec { } /// DownwardAPIChangeTriggeredAction defines an action that triggers specific commands in response to changes in Pod labels. For example, a command might be executed when the 'role' label of the Pod is updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintDownwardApiChangeTriggeredActions { /// Specifies the command to be triggered when changes are detected in Downward API volume files. It relies on the inotify mechanism in the config-manager sidecar to monitor file changes. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -78,7 +78,7 @@ pub struct ConfigConstraintDownwardApiChangeTriggeredActions { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintDownwardApiChangeTriggeredActionsItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -94,7 +94,7 @@ pub struct ConfigConstraintDownwardApiChangeTriggeredActionsItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintDownwardApiChangeTriggeredActionsItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -105,7 +105,7 @@ pub struct ConfigConstraintDownwardApiChangeTriggeredActionsItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintDownwardApiChangeTriggeredActionsItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -118,7 +118,7 @@ pub struct ConfigConstraintDownwardApiChangeTriggeredActionsItemsResourceFieldRe } /// ScriptConfig object specifies a ConfigMap that contains script files that should be mounted inside the pod. The scripts are mounted as volumes and can be referenced and executed by the DownwardAction to perform specific tasks or configurations. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintDownwardApiChangeTriggeredActionsScriptConfig { /// Specifies the namespace for the ConfigMap. If not specified, it defaults to the "default" namespace. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -169,7 +169,7 @@ pub enum ConfigConstraintFileFormatConfigFormat { } /// Holds options specific to the 'ini' file format. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintFileFormatConfigIniConfig { /// A string that describes the name of the ini section. #[serde(default, skip_serializing_if = "Option::is_none", rename = "sectionName")] @@ -177,7 +177,7 @@ pub struct ConfigConstraintFileFormatConfigIniConfig { } /// Defines a list of parameters including their names, default values, descriptions, types, and constraints (permissible values or the range of valid values). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintParametersSchema { /// Hold a string that contains a script written in CUE language that defines a list of configuration items. Each item is detailed with its name, default value, description, type (e.g. string, integer, float), and constraints (permissible values or the valid range of values). /// CUE (Configure, Unify, Execute) is a declarative language designed for defining and validating complex data configurations. It is particularly useful in environments like K8s where complex configurations and validation rules are common. @@ -197,7 +197,7 @@ pub struct ConfigConstraintParametersSchema { /// 1. The modified parameters are listed in the `dynamicParameters` field. If `dynamicParameterSelectedPolicy` is set to "all", modifications to `staticParameters` can also trigger a reload. 2. `reloadAction` is set. /// If `reloadAction` is not set or the modified parameters are not listed in `dynamicParameters`, dynamic reloading will not be triggered. /// Example: ```yaml dynamicReloadAction: tplScriptTrigger: namespace: kb-system scriptConfigMapRef: mysql-reload-script sync: true ``` -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintReloadAction { /// Automatically perform the reload when specified conditions are met. #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoTrigger")] @@ -219,7 +219,7 @@ pub struct ConfigConstraintReloadAction { } /// Automatically perform the reload when specified conditions are met. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintReloadActionAutoTrigger { /// The name of the process. #[serde(default, skip_serializing_if = "Option::is_none", rename = "processName")] @@ -227,7 +227,7 @@ pub struct ConfigConstraintReloadActionAutoTrigger { } /// Allows to execute a custom shell script to reload the process. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintReloadActionShellTrigger { /// Specifies a Go template string for formatting batch input data. It's used when `batchReload` is 'True' to format data passed into STDIN of the script. The template accesses key-value pairs of updated parameters via the '$' variable. This allows for custom formatting of the input data. /// Example template: @@ -257,7 +257,7 @@ pub struct ConfigConstraintReloadActionShellTrigger { } /// ScriptConfig object specifies a ConfigMap that contains script files that should be mounted inside the pod. The scripts are mounted as volumes and can be referenced and executed by the dynamic reload. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintReloadActionShellTriggerScriptConfig { /// Specifies the namespace for the ConfigMap. If not specified, it defaults to the "default" namespace. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -269,7 +269,7 @@ pub struct ConfigConstraintReloadActionShellTriggerScriptConfig { /// Specifies the tools container image used by ShellTrigger for dynamic reload. If the dynamic reload action is triggered by a ShellTrigger, this field is required. This image must contain all necessary tools for executing the ShellTrigger scripts. /// Usually the specified image is referenced by the init container, which is then responsible for copy the tools from the image to a bin volume. This ensures that the tools are available to the 'config-manager' sidecar. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintReloadActionShellTriggerToolsSetup { /// Specifies the directory path in the container where the tools-related files are to be copied. This field is typically used with an emptyDir volume to ensure a temporary, empty directory is provided at pod creation. #[serde(rename = "mountPoint")] @@ -280,7 +280,7 @@ pub struct ConfigConstraintReloadActionShellTriggerToolsSetup { } /// ToolConfig specifies the settings of an init container that prepare tools for dynamic reload. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintReloadActionShellTriggerToolsSetupToolConfigs { /// Indicates whether the tool image should be used as the container image for a sidecar. This is useful for large tool images, such as those for C++ tools, which may depend on numerous libraries (e.g., *.so files). /// If enabled, the tool image is deployed as a sidecar container image. @@ -303,7 +303,7 @@ pub struct ConfigConstraintReloadActionShellTriggerToolsSetupToolConfigs { /// Used to match labels on the pod to determine whether a dynamic reload should be performed. /// In some scenarios, only specific pods (e.g., primary replicas) need to undergo a dynamic reload. The `reloadedPodSelector` allows you to specify label selectors to target the desired pods for the reload process. /// If the `reloadedPodSelector` is not specified or is nil, all pods managed by the workload will be considered for the dynamic reload. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintReloadActionTargetPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -314,7 +314,7 @@ pub struct ConfigConstraintReloadActionTargetPodSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintReloadActionTargetPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -326,7 +326,7 @@ pub struct ConfigConstraintReloadActionTargetPodSelectorMatchExpressions { } /// Enables reloading process using a Go template script. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintReloadActionTplScriptTrigger { /// Specifies the namespace for the ConfigMap. If not specified, it defaults to the "default" namespace. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -418,7 +418,7 @@ pub enum ConfigConstraintReloadActionUnixSignalTriggerSignal { } /// ConfigConstraintStatus represents the observed state of a ConfigConstraint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConfigConstraintStatus { /// Provides descriptions for abnormal states. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/apps_kubedl_io/v1alpha1/crons.rs b/kube-custom-resources-rs/src/apps_kubedl_io/v1alpha1/crons.rs index 6816dc2e6..72916352a 100644 --- a/kube-custom-resources-rs/src/apps_kubedl_io/v1alpha1/crons.rs +++ b/kube-custom-resources-rs/src/apps_kubedl_io/v1alpha1/crons.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/apps.kubedl.io/v1alpha1/crons.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/apps.kubedl.io/v1alpha1/crons.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_kubeedge_io/v1alpha1/nodegroups.rs b/kube-custom-resources-rs/src/apps_kubeedge_io/v1alpha1/nodegroups.rs index 978d5e319..85db7b330 100644 --- a/kube-custom-resources-rs/src/apps_kubeedge_io/v1alpha1/nodegroups.rs +++ b/kube-custom-resources-rs/src/apps_kubeedge_io/v1alpha1/nodegroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/apps.kubeedge.io/v1alpha1/nodegroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/apps.kubeedge.io/v1alpha1/nodegroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_m88i_io/v1alpha1/nexus.rs b/kube-custom-resources-rs/src/apps_m88i_io/v1alpha1/nexus.rs index a5733d7b3..13b905032 100644 --- a/kube-custom-resources-rs/src/apps_m88i_io/v1alpha1/nexus.rs +++ b/kube-custom-resources-rs/src/apps_m88i_io/v1alpha1/nexus.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/m88i/nexus-operator/apps.m88i.io/v1alpha1/nexus.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/m88i/nexus-operator/apps.m88i.io/v1alpha1/nexus.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/apps_redhat_com/v1alpha1/clusterimpairments.rs b/kube-custom-resources-rs/src/apps_redhat_com/v1alpha1/clusterimpairments.rs index fcf4aab98..e5d97bf87 100644 --- a/kube-custom-resources-rs/src/apps_redhat_com/v1alpha1/clusterimpairments.rs +++ b/kube-custom-resources-rs/src/apps_redhat_com/v1alpha1/clusterimpairments.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/redhat-performance/cluster-impairment-operator/apps.redhat.com/v1alpha1/clusterimpairments.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/redhat-performance/cluster-impairment-operator/apps.redhat.com/v1alpha1/clusterimpairments.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/aquasecurity_github_io/v1alpha1/aquastarboards.rs b/kube-custom-resources-rs/src/aquasecurity_github_io/v1alpha1/aquastarboards.rs index 4683037f1..cf2e0d074 100644 --- a/kube-custom-resources-rs/src/aquasecurity_github_io/v1alpha1/aquastarboards.rs +++ b/kube-custom-resources-rs/src/aquasecurity_github_io/v1alpha1/aquastarboards.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/aquasecurity.github.io/v1alpha1/aquastarboards.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/aquasecurity.github.io/v1alpha1/aquastarboards.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/aquasecurity_github_io/v1alpha1/clusterconfigauditreports.rs b/kube-custom-resources-rs/src/aquasecurity_github_io/v1alpha1/clusterconfigauditreports.rs index a16d5adf3..2b63d7a64 100644 --- a/kube-custom-resources-rs/src/aquasecurity_github_io/v1alpha1/clusterconfigauditreports.rs +++ b/kube-custom-resources-rs/src/aquasecurity_github_io/v1alpha1/clusterconfigauditreports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/aquasecurity.github.io/v1alpha1/clusterconfigauditreports.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/aquasecurity.github.io/v1alpha1/clusterconfigauditreports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/aquasecurity_github_io/v1alpha1/configauditreports.rs b/kube-custom-resources-rs/src/aquasecurity_github_io/v1alpha1/configauditreports.rs index 5449625b4..87a9a391b 100644 --- a/kube-custom-resources-rs/src/aquasecurity_github_io/v1alpha1/configauditreports.rs +++ b/kube-custom-resources-rs/src/aquasecurity_github_io/v1alpha1/configauditreports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/aquasecurity.github.io/v1alpha1/configauditreports.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/aquasecurity.github.io/v1alpha1/configauditreports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/argoproj_io/v1alpha1/applications.rs b/kube-custom-resources-rs/src/argoproj_io/v1alpha1/applications.rs index 6de70cfee..b7f566bb1 100644 --- a/kube-custom-resources-rs/src/argoproj_io/v1alpha1/applications.rs +++ b/kube-custom-resources-rs/src/argoproj_io/v1alpha1/applications.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1alpha1/applications.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1alpha1/applications.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/argoproj_io/v1alpha1/appprojects.rs b/kube-custom-resources-rs/src/argoproj_io/v1alpha1/appprojects.rs index e8f8b1e2b..604771fde 100644 --- a/kube-custom-resources-rs/src/argoproj_io/v1alpha1/appprojects.rs +++ b/kube-custom-resources-rs/src/argoproj_io/v1alpha1/appprojects.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1alpha1/appprojects.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1alpha1/appprojects.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/argoproj_io/v1alpha1/argocdexports.rs b/kube-custom-resources-rs/src/argoproj_io/v1alpha1/argocdexports.rs index ecc3d6934..96dadeae5 100644 --- a/kube-custom-resources-rs/src/argoproj_io/v1alpha1/argocdexports.rs +++ b/kube-custom-resources-rs/src/argoproj_io/v1alpha1/argocdexports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1alpha1/argocdexports.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1alpha1/argocdexports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/argoproj_io/v1alpha1/argocds.rs b/kube-custom-resources-rs/src/argoproj_io/v1alpha1/argocds.rs index 8a0a4f5c1..c6ccae97f 100644 --- a/kube-custom-resources-rs/src/argoproj_io/v1alpha1/argocds.rs +++ b/kube-custom-resources-rs/src/argoproj_io/v1alpha1/argocds.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1alpha1/argocds.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1alpha1/argocds.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/argoproj_io/v1beta1/argocds.rs b/kube-custom-resources-rs/src/argoproj_io/v1beta1/argocds.rs index 692df398b..00a699f97 100644 --- a/kube-custom-resources-rs/src/argoproj_io/v1beta1/argocds.rs +++ b/kube-custom-resources-rs/src/argoproj_io/v1beta1/argocds.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1beta1/argocds.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/argoproj-labs/argocd-operator/argoproj.io/v1beta1/argocds.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/asdb_aerospike_com/v1/aerospikeclusters.rs b/kube-custom-resources-rs/src/asdb_aerospike_com/v1/aerospikeclusters.rs index 0214062e6..cfbe2974f 100644 --- a/kube-custom-resources-rs/src/asdb_aerospike_com/v1/aerospikeclusters.rs +++ b/kube-custom-resources-rs/src/asdb_aerospike_com/v1/aerospikeclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aerospike/aerospike-kubernetes-operator/asdb.aerospike.com/v1/aerospikeclusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aerospike/aerospike-kubernetes-operator/asdb.aerospike.com/v1/aerospikeclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/asdb_aerospike_com/v1beta1/aerospikeclusters.rs b/kube-custom-resources-rs/src/asdb_aerospike_com/v1beta1/aerospikeclusters.rs index 7a0017e1d..f9943585c 100644 --- a/kube-custom-resources-rs/src/asdb_aerospike_com/v1beta1/aerospikeclusters.rs +++ b/kube-custom-resources-rs/src/asdb_aerospike_com/v1beta1/aerospikeclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aerospike/aerospike-kubernetes-operator/asdb.aerospike.com/v1beta1/aerospikeclusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aerospike/aerospike-kubernetes-operator/asdb.aerospike.com/v1beta1/aerospikeclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/atlasmap_io/v1alpha1/atlasmaps.rs b/kube-custom-resources-rs/src/atlasmap_io/v1alpha1/atlasmaps.rs index 1d628455f..dcf938ada 100644 --- a/kube-custom-resources-rs/src/atlasmap_io/v1alpha1/atlasmaps.rs +++ b/kube-custom-resources-rs/src/atlasmap_io/v1alpha1/atlasmaps.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/atlasmap/atlasmap-operator/atlasmap.io/v1alpha1/atlasmaps.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/atlasmap/atlasmap-operator/atlasmap.io/v1alpha1/atlasmaps.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/auth_ops42_org/v1alpha1/awsauthsyncconfigs.rs b/kube-custom-resources-rs/src/auth_ops42_org/v1alpha1/awsauthsyncconfigs.rs index 50218380d..71e4b1632 100644 --- a/kube-custom-resources-rs/src/auth_ops42_org/v1alpha1/awsauthsyncconfigs.rs +++ b/kube-custom-resources-rs/src/auth_ops42_org/v1alpha1/awsauthsyncconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/gp42/aws-auth-operator/auth.ops42.org/v1alpha1/awsauthsyncconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/gp42/aws-auth-operator/auth.ops42.org/v1alpha1/awsauthsyncconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/authzed_com/v1alpha1/spicedbclusters.rs b/kube-custom-resources-rs/src/authzed_com/v1alpha1/spicedbclusters.rs index 55e54a40d..92d5fec1c 100644 --- a/kube-custom-resources-rs/src/authzed_com/v1alpha1/spicedbclusters.rs +++ b/kube-custom-resources-rs/src/authzed_com/v1alpha1/spicedbclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/authzed/spicedb-operator/authzed.com/v1alpha1/spicedbclusters.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/authzed/spicedb-operator/authzed.com/v1alpha1/spicedbclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// ClusterSpec holds the desired state of the cluster. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "authzed.com", version = "v1alpha1", kind = "SpiceDBCluster", plural = "spicedbclusters")] #[kube(namespaced)] #[kube(status = "SpiceDBClusterStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct SpiceDBClusterSpec { /// Channel is a defined series of updates that operator should follow. The operator is configured with a datasource that configures available channels and update paths. If `version` is not specified, then the operator will keep SpiceDB up-to-date with the current head of the channel. If `version` is specified, then the operator will write available updates in the status. @@ -37,7 +38,7 @@ pub struct SpiceDBClusterSpec { } /// Patch represents a single change to apply to generated manifests -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SpiceDBClusterPatches { /// Kind targets an object by its kubernetes Kind name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -47,7 +48,7 @@ pub struct SpiceDBClusterPatches { } /// ClusterStatus communicates the observed state of the cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SpiceDBClusterStatus { /// AvailableVersions is a list of versions that the currently running version can be updated to. Only applies if using an update channel. #[serde(default, skip_serializing_if = "Option::is_none", rename = "availableVersions")] @@ -81,7 +82,7 @@ pub struct SpiceDBClusterStatus { pub version: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SpiceDBClusterStatusAvailableVersions { /// Attributes is an optional set of descriptors for the update, which carry additional information like whether there will be a migration if this version is selected. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -96,7 +97,7 @@ pub struct SpiceDBClusterStatusAvailableVersions { } /// CurrentVersion is a description of the currently selected version from the channel, if an update channel is being used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SpiceDBClusterStatusVersion { /// Attributes is an optional set of descriptors for the update, which carry additional information like whether there will be a migration if this version is selected. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/automation_kubensync_com/v1alpha1/managedresources.rs b/kube-custom-resources-rs/src/automation_kubensync_com/v1alpha1/managedresources.rs index 50497cdd5..b213b29c3 100644 --- a/kube-custom-resources-rs/src/automation_kubensync_com/v1alpha1/managedresources.rs +++ b/kube-custom-resources-rs/src/automation_kubensync_com/v1alpha1/managedresources.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/eryalito/kubensync-operator/automation.kubensync.com/v1alpha1/managedresources.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/eryalito/kubensync-operator/automation.kubensync.com/v1alpha1/managedresources.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/autoscaling_k8s_io/v1/verticalpodautoscalercheckpoints.rs b/kube-custom-resources-rs/src/autoscaling_k8s_io/v1/verticalpodautoscalercheckpoints.rs index 81179baa5..7570b47ba 100644 --- a/kube-custom-resources-rs/src/autoscaling_k8s_io/v1/verticalpodautoscalercheckpoints.rs +++ b/kube-custom-resources-rs/src/autoscaling_k8s_io/v1/verticalpodautoscalercheckpoints.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes/autoscaler/autoscaling.k8s.io/v1/verticalpodautoscalercheckpoints.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes/autoscaler/autoscaling.k8s.io/v1/verticalpodautoscalercheckpoints.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/autoscaling_k8s_io/v1/verticalpodautoscalers.rs b/kube-custom-resources-rs/src/autoscaling_k8s_io/v1/verticalpodautoscalers.rs index d78346e08..f46e517b1 100644 --- a/kube-custom-resources-rs/src/autoscaling_k8s_io/v1/verticalpodautoscalers.rs +++ b/kube-custom-resources-rs/src/autoscaling_k8s_io/v1/verticalpodautoscalers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes/autoscaler/autoscaling.k8s.io/v1/verticalpodautoscalers.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes/autoscaler/autoscaling.k8s.io/v1/verticalpodautoscalers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// Specification of the behavior of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "autoscaling.k8s.io", version = "v1", kind = "VerticalPodAutoscaler", plural = "verticalpodautoscalers")] #[kube(namespaced)] #[kube(status = "VerticalPodAutoscalerStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct VerticalPodAutoscalerSpec { /// Recommender responsible for generating recommendation for this object. List should be empty (then the default recommender will generate the recommendation) or contain exactly one recommender. @@ -35,14 +36,14 @@ pub struct VerticalPodAutoscalerSpec { } /// VerticalPodAutoscalerRecommenderSelector points to a specific Vertical Pod Autoscaler recommender. In the future it might pass parameters to the recommender. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VerticalPodAutoscalerRecommenders { /// Name of the recommender responsible for generating recommendation for this object. pub name: String, } /// Controls how the autoscaler computes recommended resources. The resource policy may be used to set constraints on the recommendations for individual containers. If any individual containers need to be excluded from getting the VPA recommendations, then it must be disabled explicitly by setting mode to "Off" under containerPolicies. If not specified, the autoscaler computes recommended resources for all containers in the pod, without additional constraints. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VerticalPodAutoscalerResourcePolicy { /// Per-container resource policies. #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerPolicies")] @@ -50,7 +51,7 @@ pub struct VerticalPodAutoscalerResourcePolicy { } /// ContainerResourcePolicy controls how autoscaler computes the recommended resources for a specific container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VerticalPodAutoscalerResourcePolicyContainerPolicies { /// Name of the container or DefaultContainerResourcePolicy, in which case the policy is used by the containers that don't have their own policy specified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -87,7 +88,7 @@ pub enum VerticalPodAutoscalerResourcePolicyContainerPoliciesMode { } /// TargetRef points to the controller managing the set of pods for the autoscaler to control - e.g. Deployment, StatefulSet. VerticalPodAutoscaler can be targeted at controller implementing scale subresource (the pod set is retrieved from the controller's ScaleStatus) or some well known controllers (e.g. for DaemonSet the pod set is read from the controller's spec). If VerticalPodAutoscaler cannot use specified target it will report ConfigUnsupported condition. Note that VerticalPodAutoscaler does not require full implementation of scale subresource - it will not use it to modify the replica count. The only thing retrieved is a label selector matching pods grouped by the target resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VerticalPodAutoscalerTargetRef { /// API version of the referent #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -99,7 +100,7 @@ pub struct VerticalPodAutoscalerTargetRef { } /// Describes the rules on how changes are applied to the pods. If not specified, all fields in the `PodUpdatePolicy` are set to their default values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VerticalPodAutoscalerUpdatePolicy { /// EvictionRequirements is a list of EvictionRequirements that need to evaluate to true in order for a Pod to be evicted. If more than one EvictionRequirement is specified, all of them need to be fulfilled to allow eviction. #[serde(default, skip_serializing_if = "Option::is_none", rename = "evictionRequirements")] @@ -139,7 +140,7 @@ pub enum VerticalPodAutoscalerUpdatePolicyUpdateMode { } /// Current information about the autoscaler. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VerticalPodAutoscalerStatus { /// Conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -150,7 +151,7 @@ pub struct VerticalPodAutoscalerStatus { } /// The most recently computed amount of resources recommended by the autoscaler for the controlled pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VerticalPodAutoscalerStatusRecommendation { /// Resources recommended by the autoscaler for each container. #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerRecommendations")] @@ -158,7 +159,7 @@ pub struct VerticalPodAutoscalerStatusRecommendation { } /// RecommendedContainerResources is the recommendation of resources computed by autoscaler for a specific container. Respects the container resource policy if present in the spec. In particular the recommendation is not produced for containers with `ContainerScalingMode` set to 'Off'. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VerticalPodAutoscalerStatusRecommendationContainerRecommendations { /// Name of the container. #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] diff --git a/kube-custom-resources-rs/src/autoscaling_k8s_io/v1beta2/verticalpodautoscalercheckpoints.rs b/kube-custom-resources-rs/src/autoscaling_k8s_io/v1beta2/verticalpodautoscalercheckpoints.rs index ac8743b86..515ee81e4 100644 --- a/kube-custom-resources-rs/src/autoscaling_k8s_io/v1beta2/verticalpodautoscalercheckpoints.rs +++ b/kube-custom-resources-rs/src/autoscaling_k8s_io/v1beta2/verticalpodautoscalercheckpoints.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes/autoscaler/autoscaling.k8s.io/v1beta2/verticalpodautoscalercheckpoints.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes/autoscaler/autoscaling.k8s.io/v1beta2/verticalpodautoscalercheckpoints.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/autoscaling_k8s_io/v1beta2/verticalpodautoscalers.rs b/kube-custom-resources-rs/src/autoscaling_k8s_io/v1beta2/verticalpodautoscalers.rs index 7f0a065dc..31021d23b 100644 --- a/kube-custom-resources-rs/src/autoscaling_k8s_io/v1beta2/verticalpodautoscalers.rs +++ b/kube-custom-resources-rs/src/autoscaling_k8s_io/v1beta2/verticalpodautoscalers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes/autoscaler/autoscaling.k8s.io/v1beta2/verticalpodautoscalers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes/autoscaler/autoscaling.k8s.io/v1beta2/verticalpodautoscalers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/autoscaling_karmada_io/v1alpha1/cronfederatedhpas.rs b/kube-custom-resources-rs/src/autoscaling_karmada_io/v1alpha1/cronfederatedhpas.rs index 444b7e51b..806e5c33f 100644 --- a/kube-custom-resources-rs/src/autoscaling_karmada_io/v1alpha1/cronfederatedhpas.rs +++ b/kube-custom-resources-rs/src/autoscaling_karmada_io/v1alpha1/cronfederatedhpas.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/autoscaling.karmada.io/v1alpha1/cronfederatedhpas.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/autoscaling.karmada.io/v1alpha1/cronfederatedhpas.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/autoscaling_karmada_io/v1alpha1/federatedhpas.rs b/kube-custom-resources-rs/src/autoscaling_karmada_io/v1alpha1/federatedhpas.rs index f401231ac..7acde03be 100644 --- a/kube-custom-resources-rs/src/autoscaling_karmada_io/v1alpha1/federatedhpas.rs +++ b/kube-custom-resources-rs/src/autoscaling_karmada_io/v1alpha1/federatedhpas.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/autoscaling.karmada.io/v1alpha1/federatedhpas.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/autoscaling.karmada.io/v1alpha1/federatedhpas.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/awx_ansible_com/v1beta1/awxbackups.rs b/kube-custom-resources-rs/src/awx_ansible_com/v1beta1/awxbackups.rs index bda8b46cc..36b3fe08c 100644 --- a/kube-custom-resources-rs/src/awx_ansible_com/v1beta1/awxbackups.rs +++ b/kube-custom-resources-rs/src/awx_ansible_com/v1beta1/awxbackups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/ansible/awx-operator/awx.ansible.com/v1beta1/awxbackups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/ansible/awx-operator/awx.ansible.com/v1beta1/awxbackups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/awx_ansible_com/v1beta1/awxrestores.rs b/kube-custom-resources-rs/src/awx_ansible_com/v1beta1/awxrestores.rs index 5de0a99f0..fdf96c2ba 100644 --- a/kube-custom-resources-rs/src/awx_ansible_com/v1beta1/awxrestores.rs +++ b/kube-custom-resources-rs/src/awx_ansible_com/v1beta1/awxrestores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/ansible/awx-operator/awx.ansible.com/v1beta1/awxrestores.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/ansible/awx-operator/awx.ansible.com/v1beta1/awxrestores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/awx_ansible_com/v1beta1/awxs.rs b/kube-custom-resources-rs/src/awx_ansible_com/v1beta1/awxs.rs index adbcd8ede..095339b92 100644 --- a/kube-custom-resources-rs/src/awx_ansible_com/v1beta1/awxs.rs +++ b/kube-custom-resources-rs/src/awx_ansible_com/v1beta1/awxs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/ansible/awx-operator/awx.ansible.com/v1beta1/awxs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/ansible/awx-operator/awx.ansible.com/v1beta1/awxs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/apimgmtapis.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/apimgmtapis.rs index 5ed70f6b3..85bfad63a 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/apimgmtapis.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/apimgmtapis.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/apimgmtapis.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/apimgmtapis.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/apimservices.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/apimservices.rs index 7994d2727..cfc0c8ce7 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/apimservices.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/apimservices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/apimservices.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/apimservices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/appinsights.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/appinsights.rs index fbc838320..a6caa3777 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/appinsights.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/appinsights.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/appinsights.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/appinsights.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/appinsightsapikeys.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/appinsightsapikeys.rs index ff1748a58..ab04101cd 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/appinsightsapikeys.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/appinsightsapikeys.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/appinsightsapikeys.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/appinsightsapikeys.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azureloadbalancers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azureloadbalancers.rs index d07a6197a..bab82c08b 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azureloadbalancers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azureloadbalancers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azureloadbalancers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azureloadbalancers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurenetworkinterfaces.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurenetworkinterfaces.rs index fd9b3ea27..31f0a55cb 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurenetworkinterfaces.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurenetworkinterfaces.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurenetworkinterfaces.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurenetworkinterfaces.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurepublicipaddresses.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurepublicipaddresses.rs index f1136fb6e..c19b8f639 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurepublicipaddresses.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurepublicipaddresses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurepublicipaddresses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurepublicipaddresses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlactions.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlactions.rs index 4b0850af1..a56de2d38 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlactions.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlactions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlactions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlactions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqldatabases.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqldatabases.rs index 8d06de1d6..c3098eb87 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqldatabases.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqldatabases.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqldatabases.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqldatabases.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlfailovergroups.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlfailovergroups.rs index 60c1d3773..8c851e301 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlfailovergroups.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlfailovergroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlfailovergroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlfailovergroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlfirewallrules.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlfirewallrules.rs index aa2934e8d..d0fd61327 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlfirewallrules.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlfirewallrules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlfirewallrules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlfirewallrules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlmanagedusers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlmanagedusers.rs index 315af63d6..ca350bcee 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlmanagedusers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlmanagedusers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlmanagedusers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlmanagedusers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlservers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlservers.rs index b44b995d9..48df2709c 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlservers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlservers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlservers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlservers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlusers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlusers.rs index 6f0141a71..db6ab7a9c 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlusers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlusers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlusers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlusers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlvnetrules.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlvnetrules.rs index db6b8378d..683921ef3 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlvnetrules.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azuresqlvnetrules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlvnetrules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlvnetrules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurevirtualmachineextensions.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurevirtualmachineextensions.rs index ed424f4cb..9f73a8f72 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurevirtualmachineextensions.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurevirtualmachineextensions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurevirtualmachineextensions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurevirtualmachineextensions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurevirtualmachines.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurevirtualmachines.rs index 51c1e7c3a..1128cdd28 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurevirtualmachines.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurevirtualmachines.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurevirtualmachines.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurevirtualmachines.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurevmscalesets.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurevmscalesets.rs index e05da3f59..c2d7451d0 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurevmscalesets.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/azurevmscalesets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurevmscalesets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurevmscalesets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/blobcontainers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/blobcontainers.rs index 3c67fbee6..d22a17b49 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/blobcontainers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/blobcontainers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/blobcontainers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/blobcontainers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/consumergroups.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/consumergroups.rs index e0142e402..c9d454b13 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/consumergroups.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/consumergroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/consumergroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/consumergroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/cosmosdbs.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/cosmosdbs.rs index 1fbb67b71..44fbf2af6 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/cosmosdbs.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/cosmosdbs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/cosmosdbs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/cosmosdbs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/eventhubnamespaces.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/eventhubnamespaces.rs index e76ac2f58..0fafa1a56 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/eventhubnamespaces.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/eventhubnamespaces.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/eventhubnamespaces.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/eventhubnamespaces.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/eventhubs.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/eventhubs.rs index 1734dcc58..2eccde711 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/eventhubs.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/eventhubs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/eventhubs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/eventhubs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/keyvaultkeys.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/keyvaultkeys.rs index b5ff237b2..1a8eb008f 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/keyvaultkeys.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/keyvaultkeys.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/keyvaultkeys.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/keyvaultkeys.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/keyvaults.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/keyvaults.rs index 8db3561ad..09b5d8c10 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/keyvaults.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/keyvaults.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/keyvaults.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/keyvaults.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlaadusers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlaadusers.rs index 32a7e33fe..dac5a6fa8 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlaadusers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlaadusers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlaadusers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlaadusers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqldatabases.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqldatabases.rs index 02e9449ac..9702331dc 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqldatabases.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqldatabases.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqldatabases.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqldatabases.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlfirewallrules.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlfirewallrules.rs index a590fdc63..187bb1090 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlfirewallrules.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlfirewallrules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlfirewallrules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlfirewallrules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlserveradministrators.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlserveradministrators.rs index 91e4de4e7..2f7266dde 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlserveradministrators.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlserveradministrators.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlserveradministrators.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlserveradministrators.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -37,7 +37,7 @@ pub enum MySQLServerAdministratorAdministratorType { } /// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MySQLServerAdministratorStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub completed: Option, diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlservers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlservers.rs index 179851a06..eb605b25a 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlservers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlservers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlservers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlservers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlusers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlusers.rs index 4e4f6159a..939eeb73f 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlusers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlusers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlusers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlusers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlvnetrules.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlvnetrules.rs index 924347e85..1ba7f718f 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlvnetrules.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/mysqlvnetrules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlvnetrules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlvnetrules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqldatabases.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqldatabases.rs index eac0d4db8..c2506617a 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqldatabases.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqldatabases.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqldatabases.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqldatabases.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlfirewallrules.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlfirewallrules.rs index 85daab72f..5ae4a83fb 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlfirewallrules.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlfirewallrules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlfirewallrules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlfirewallrules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlservers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlservers.rs index 306cd3b84..8aa6106c9 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlservers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlservers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlservers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlservers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlusers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlusers.rs index ada3fd76a..b4e32338a 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlusers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlusers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlusers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlusers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlvnetrules.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlvnetrules.rs index 302b5cfd5..271d1801e 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlvnetrules.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/postgresqlvnetrules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlvnetrules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlvnetrules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/rediscacheactions.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/rediscacheactions.rs index 688a91d88..bdaa98085 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/rediscacheactions.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/rediscacheactions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/rediscacheactions.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/rediscacheactions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -49,7 +49,7 @@ pub enum RedisCacheActionActionName { } /// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RedisCacheActionStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub completed: Option, diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/rediscachefirewallrules.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/rediscachefirewallrules.rs index 8f83404b6..47ce67366 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/rediscachefirewallrules.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/rediscachefirewallrules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/rediscachefirewallrules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/rediscachefirewallrules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/resourcegroups.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/resourcegroups.rs index 1d3108639..0910fb1e4 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/resourcegroups.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/resourcegroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/resourcegroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/resourcegroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/storageaccounts.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/storageaccounts.rs index fd7b90188..d5c84d496 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/storageaccounts.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/storageaccounts.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/storageaccounts.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/storageaccounts.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/virtualnetworks.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/virtualnetworks.rs index e270841f7..7fb7165c2 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/virtualnetworks.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha1/virtualnetworks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/virtualnetworks.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/virtualnetworks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/blobcontainers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/blobcontainers.rs index caf80f19c..cc8980733 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/blobcontainers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/blobcontainers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/blobcontainers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/blobcontainers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/mysqlaadusers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/mysqlaadusers.rs index 6107a51d7..7b5cc6402 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/mysqlaadusers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/mysqlaadusers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/mysqlaadusers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/mysqlaadusers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/mysqlservers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/mysqlservers.rs index 77db6314d..b21e73ae6 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/mysqlservers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/mysqlservers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/mysqlservers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/mysqlservers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/mysqlusers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/mysqlusers.rs index 796bfa86a..fe8a3c7af 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/mysqlusers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/mysqlusers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/mysqlusers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/mysqlusers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/postgresqlservers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/postgresqlservers.rs index 3be759d45..798f51cb9 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/postgresqlservers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1alpha2/postgresqlservers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/postgresqlservers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/postgresqlservers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqldatabases.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqldatabases.rs index 46ebeec19..41c746987 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqldatabases.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqldatabases.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqldatabases.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqldatabases.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqlfailovergroups.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqlfailovergroups.rs index 56b86f1e4..91a30330d 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqlfailovergroups.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqlfailovergroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlfailovergroups.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlfailovergroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -50,7 +50,7 @@ pub enum AzureSqlFailoverGroupFailoverPolicy { } /// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AzureSqlFailoverGroupStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub completed: Option, diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqlfirewallrules.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqlfirewallrules.rs index 30f423b67..d594e4829 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqlfirewallrules.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqlfirewallrules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlfirewallrules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlfirewallrules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqlservers.rs b/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqlservers.rs index f13a706bc..0d90a6c1b 100644 --- a/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqlservers.rs +++ b/kube-custom-resources-rs/src/azure_microsoft_com/v1beta1/azuresqlservers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlservers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlservers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/b3scale_infra_run/v1/bbbfrontends.rs b/kube-custom-resources-rs/src/b3scale_infra_run/v1/bbbfrontends.rs index 125eed100..19106fc5e 100644 --- a/kube-custom-resources-rs/src/b3scale_infra_run/v1/bbbfrontends.rs +++ b/kube-custom-resources-rs/src/b3scale_infra_run/v1/bbbfrontends.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/b3scale/b3scale-operator/b3scale.infra.run/v1/bbbfrontends.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/b3scale/b3scale-operator/b3scale.infra.run/v1/bbbfrontends.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// Desired state of the BBBFrontend resource. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "b3scale.infra.run", version = "v1", kind = "BBBFrontend", plural = "bbbfrontends")] #[kube(namespaced)] #[kube(status = "BBBFrontendStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct BBBFrontendSpec { /// Predefined credentials for the B3scale instance @@ -28,7 +29,7 @@ pub struct BBBFrontendSpec { } /// Predefined credentials for the B3scale instance -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BBBFrontendCredentials { /// Predefined key for B3scale instance, will be defined if not set #[serde(default, skip_serializing_if = "Option::is_none")] @@ -39,7 +40,7 @@ pub struct BBBFrontendCredentials { } /// SecretRef is a reference to a key in a Secret resource containing the key to connect to the BBB instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BBBFrontendCredentialsSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. pub key: String, @@ -48,7 +49,7 @@ pub struct BBBFrontendCredentialsSecretRef { } /// Settings defines the B3Scale instance settings -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BBBFrontendSettings { /// See https://github.com/b3scale/b3scale#configure-create-parameter-defaults-and-overrides #[serde(default, skip_serializing_if = "Option::is_none")] @@ -65,7 +66,7 @@ pub struct BBBFrontendSettings { } /// See https://github.com/b3scale/b3scale#middleware-configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BBBFrontendSettingsDefaultPresentation { #[serde(default, skip_serializing_if = "Option::is_none")] pub force: Option, @@ -74,7 +75,7 @@ pub struct BBBFrontendSettingsDefaultPresentation { } /// Status of the BBBFrontend. This is set and managed automatically. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BBBFrontendStatus { /// List of status conditions to indicate the status of the BBB frontend. Known condition types are `Ready`. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/b3scale_io/v1/bbbfrontends.rs b/kube-custom-resources-rs/src/b3scale_io/v1/bbbfrontends.rs index 783b8358e..f90c790de 100644 --- a/kube-custom-resources-rs/src/b3scale_io/v1/bbbfrontends.rs +++ b/kube-custom-resources-rs/src/b3scale_io/v1/bbbfrontends.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/b3scale/b3scale-operator/b3scale.io/v1/bbbfrontends.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/b3scale/b3scale-operator/b3scale.io/v1/bbbfrontends.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/batch_volcano_sh/v1alpha1/jobs.rs b/kube-custom-resources-rs/src/batch_volcano_sh/v1alpha1/jobs.rs index 3ab90b8ab..909a9e61a 100644 --- a/kube-custom-resources-rs/src/batch_volcano_sh/v1alpha1/jobs.rs +++ b/kube-custom-resources-rs/src/batch_volcano_sh/v1alpha1/jobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/volcano-sh/volcano/batch.volcano.sh/v1alpha1/jobs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/volcano-sh/volcano/batch.volcano.sh/v1alpha1/jobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/beat_k8s_elastic_co/v1beta1/beats.rs b/kube-custom-resources-rs/src/beat_k8s_elastic_co/v1beta1/beats.rs index 70a2a802b..057a806bc 100644 --- a/kube-custom-resources-rs/src/beat_k8s_elastic_co/v1beta1/beats.rs +++ b/kube-custom-resources-rs/src/beat_k8s_elastic_co/v1beta1/beats.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/beat.k8s.elastic.co/v1beta1/beats.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/beat.k8s.elastic.co/v1beta1/beats.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/beegfs_csi_netapp_com/v1/beegfsdrivers.rs b/kube-custom-resources-rs/src/beegfs_csi_netapp_com/v1/beegfsdrivers.rs index 899ac4b4a..bb9042c19 100644 --- a/kube-custom-resources-rs/src/beegfs_csi_netapp_com/v1/beegfsdrivers.rs +++ b/kube-custom-resources-rs/src/beegfs_csi_netapp_com/v1/beegfsdrivers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/ThinkParQ/beegfs-csi-driver/beegfs.csi.netapp.com/v1/beegfsdrivers.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/ThinkParQ/beegfs-csi-driver/beegfs.csi.netapp.com/v1/beegfsdrivers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// BeegfsDriverSpec defines the desired state of BeegfsDriver -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "beegfs.csi.netapp.com", version = "v1", kind = "BeegfsDriver", plural = "beegfsdrivers")] #[kube(namespaced)] #[kube(status = "BeegfsDriverStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct BeegfsDriverSpec { /// A structure that allows for default container images and tags to be overridden. Use it in air-gapped networks, @@ -58,7 +59,7 @@ pub struct BeegfsDriverSpec { /// A structure that allows for default container images and tags to be overridden. Use it in air-gapped networks, /// networks with private registry mirrors, or to pin a particular container version. Unless otherwise noted, versions /// other than the default are not supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverContainerImageOverrides { /// Defaults to ghcr.io/thinkparq/beegfs-csi-driver:. #[serde(default, skip_serializing_if = "Option::is_none", rename = "beegfsCsiDriver")] @@ -75,7 +76,7 @@ pub struct BeegfsDriverContainerImageOverrides { } /// Defaults to ghcr.io/thinkparq/beegfs-csi-driver:. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverContainerImageOverridesBeegfsCsiDriver { /// A combination of registry and image (e.g. registry.k8s.io/csi-provisioner or ghcr.io/thinkparq/beegfs-csi-driver). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -86,7 +87,7 @@ pub struct BeegfsDriverContainerImageOverridesBeegfsCsiDriver { } /// Defaults to registry.k8s.io/sig-storage/csi-node-driver-registrar:. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverContainerImageOverridesCsiNodeDriverRegistrar { /// A combination of registry and image (e.g. registry.k8s.io/csi-provisioner or ghcr.io/thinkparq/beegfs-csi-driver). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -97,7 +98,7 @@ pub struct BeegfsDriverContainerImageOverridesCsiNodeDriverRegistrar { } /// Defaults to registry.k8s.io/sig-storage/csi-provisioner:. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverContainerImageOverridesCsiProvisioner { /// A combination of registry and image (e.g. registry.k8s.io/csi-provisioner or ghcr.io/thinkparq/beegfs-csi-driver). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -108,7 +109,7 @@ pub struct BeegfsDriverContainerImageOverridesCsiProvisioner { } /// Defaults to registry.k8s.io/sig-storage/livenessprobe:. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverContainerImageOverridesLivenessProbe { /// A combination of registry and image (e.g. registry.k8s.io/csi-provisioner or ghcr.io/thinkparq/beegfs-csi-driver). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -124,7 +125,7 @@ pub struct BeegfsDriverContainerImageOverridesLivenessProbe { /// controller's beegfs container is the only resource with an override set, only the controller's beegfs container /// cpu limit setting will be overridden. Every other value will use the default setting. Storage resources are not /// used by the BeeGFS CSI driver. Any storage resource values configured will be ignored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverContainerResourceOverrides { /// The resource specifications for the beegfs container of the BeeGFS driver controller pod. /// The default values for requests are (cpu: 100m, memory: 16Mi). @@ -156,7 +157,7 @@ pub struct BeegfsDriverContainerResourceOverrides { /// The resource specifications for the beegfs container of the BeeGFS driver controller pod. /// The default values for requests are (cpu: 100m, memory: 16Mi). /// The default values for limits are (cpu: None, memory: 256Mi). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverContainerResourceOverridesControllerBeegfs { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -182,7 +183,7 @@ pub struct BeegfsDriverContainerResourceOverridesControllerBeegfs { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverContainerResourceOverridesControllerBeegfsClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -193,7 +194,7 @@ pub struct BeegfsDriverContainerResourceOverridesControllerBeegfsClaims { /// The resource specifications for the csi-provisioner container of the BeeGFS driver controller pod. /// The default values for requests are (cpu: 80m, memory: 24Mi) /// The default values for limits are (cpu: None, memory 256Mi) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverContainerResourceOverridesControllerCsiProvisioner { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -219,7 +220,7 @@ pub struct BeegfsDriverContainerResourceOverridesControllerCsiProvisioner { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverContainerResourceOverridesControllerCsiProvisionerClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -230,7 +231,7 @@ pub struct BeegfsDriverContainerResourceOverridesControllerCsiProvisionerClaims /// The resource specifications for the beegfs container of the BeeGFS driver node pod. /// The default values for requests are (cpu: 100m, memory: 20Mi) /// The default values for limits are (cpu: None, memory: 128Mi) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverContainerResourceOverridesNodeBeegfs { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -256,7 +257,7 @@ pub struct BeegfsDriverContainerResourceOverridesNodeBeegfs { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverContainerResourceOverridesNodeBeegfsClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -267,7 +268,7 @@ pub struct BeegfsDriverContainerResourceOverridesNodeBeegfsClaims { /// The resource specifications for the node-driver-registrar container of the BeeGFS driver node pod. /// The default values for requests are (cpu: 80m, memory: 10Mi) /// The default values for limits are (cpu: None, memory 128Mi) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverContainerResourceOverridesNodeDriverRegistrar { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -293,7 +294,7 @@ pub struct BeegfsDriverContainerResourceOverridesNodeDriverRegistrar { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverContainerResourceOverridesNodeDriverRegistrarClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -304,7 +305,7 @@ pub struct BeegfsDriverContainerResourceOverridesNodeDriverRegistrarClaims { /// The resource specifications for the liveness-probe container of the BeeGFS driver node pod. /// The default values for requests are (cpu: 60m, memory: 20Mi) /// The default values for limits are (cpu: None, memory: 128Mi) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverContainerResourceOverridesNodeLivenessProbe { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -330,7 +331,7 @@ pub struct BeegfsDriverContainerResourceOverridesNodeLivenessProbe { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverContainerResourceOverridesNodeLivenessProbeClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -341,7 +342,7 @@ pub struct BeegfsDriverContainerResourceOverridesNodeLivenessProbeClaims { /// The controller service consists of a single Pod. It preferably runs on an infrastructure/master node, but the /// running node must have the beegfs-utils and beegfs-client packages installed. E.g. /// "preferred: node-role.kubernetes.io/master Exists" and/or "required: node.openshift.io/os_id NotIn rhcos". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverNodeAffinityControllerService { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -365,7 +366,7 @@ pub struct BeegfsDriverNodeAffinityControllerService { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverNodeAffinityControllerServicePreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: BeegfsDriverNodeAffinityControllerServicePreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -374,7 +375,7 @@ pub struct BeegfsDriverNodeAffinityControllerServicePreferredDuringSchedulingIgn } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverNodeAffinityControllerServicePreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -386,7 +387,7 @@ pub struct BeegfsDriverNodeAffinityControllerServicePreferredDuringSchedulingIgn /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverNodeAffinityControllerServicePreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -404,7 +405,7 @@ pub struct BeegfsDriverNodeAffinityControllerServicePreferredDuringSchedulingIgn /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverNodeAffinityControllerServicePreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -425,7 +426,7 @@ pub struct BeegfsDriverNodeAffinityControllerServicePreferredDuringSchedulingIgn /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverNodeAffinityControllerServiceRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -435,7 +436,7 @@ pub struct BeegfsDriverNodeAffinityControllerServiceRequiredDuringSchedulingIgno /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverNodeAffinityControllerServiceRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -447,7 +448,7 @@ pub struct BeegfsDriverNodeAffinityControllerServiceRequiredDuringSchedulingIgno /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverNodeAffinityControllerServiceRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -465,7 +466,7 @@ pub struct BeegfsDriverNodeAffinityControllerServiceRequiredDuringSchedulingIgno /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverNodeAffinityControllerServiceRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -484,7 +485,7 @@ pub struct BeegfsDriverNodeAffinityControllerServiceRequiredDuringSchedulingIgno /// The node service consists of one Pod running on each eligible node. It runs on every node expected to host a /// workload that requires BeeGFS. Running nodes must have the beegfs-utils and beegfs-client packages installed. /// E.g. "required: node.openshift.io/os_id NotIn rhcos". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverNodeAffinityNodeService { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -508,7 +509,7 @@ pub struct BeegfsDriverNodeAffinityNodeService { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverNodeAffinityNodeServicePreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: BeegfsDriverNodeAffinityNodeServicePreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -517,7 +518,7 @@ pub struct BeegfsDriverNodeAffinityNodeServicePreferredDuringSchedulingIgnoredDu } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverNodeAffinityNodeServicePreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -529,7 +530,7 @@ pub struct BeegfsDriverNodeAffinityNodeServicePreferredDuringSchedulingIgnoredDu /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverNodeAffinityNodeServicePreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -547,7 +548,7 @@ pub struct BeegfsDriverNodeAffinityNodeServicePreferredDuringSchedulingIgnoredDu /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverNodeAffinityNodeServicePreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -568,7 +569,7 @@ pub struct BeegfsDriverNodeAffinityNodeServicePreferredDuringSchedulingIgnoredDu /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverNodeAffinityNodeServiceRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -578,7 +579,7 @@ pub struct BeegfsDriverNodeAffinityNodeServiceRequiredDuringSchedulingIgnoredDur /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverNodeAffinityNodeServiceRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -590,7 +591,7 @@ pub struct BeegfsDriverNodeAffinityNodeServiceRequiredDuringSchedulingIgnoredDur /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverNodeAffinityNodeServiceRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -608,7 +609,7 @@ pub struct BeegfsDriverNodeAffinityNodeServiceRequiredDuringSchedulingIgnoredDur /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverNodeAffinityNodeServiceRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -627,7 +628,7 @@ pub struct BeegfsDriverNodeAffinityNodeServiceRequiredDuringSchedulingIgnoredDur /// The top level configuration structure containing default configuration (applied to all file systems on all nodes), /// file system specific configuration, and node specific configuration. Fields from node and file system specific /// configurations override fields from the default configuration. Often not required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverPluginConfig { /// The primary configuration structure containing all of the custom configuration (beegfs-client.conf keys/values and /// additional CSI driver specific fields) associated with a single BeeGFS file system except for sysMgmtdHost, which is @@ -650,7 +651,7 @@ pub struct BeegfsDriverPluginConfig { /// specified elsewhere. WARNING: This structure includes a beegfsClientConf field. This field may not be rendered in /// form view by OpenShift or other graphical interfaces, but it can be critical in some environments. Add or modify it /// in YAML view. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverPluginConfigConfig { /// A map of additional key value pairs matching key value pairs in the beegfs-client.conf file. See /// beegfs-client.conf for more details. Values MUST be specified as strings, even if they appear to be integers or @@ -677,7 +678,7 @@ pub struct BeegfsDriverPluginConfigConfig { } /// A file system specific configuration that overrides the default configuration for a specific file system. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverPluginConfigFileSystemSpecificConfigs { /// The primary configuration structure containing all of the custom configuration (beegfs-client.conf keys/values and /// additional CSI driver specific fields) associated with a single BeeGFS file system except for sysMgmtdHost, which is @@ -696,7 +697,7 @@ pub struct BeegfsDriverPluginConfigFileSystemSpecificConfigs { /// specified elsewhere. WARNING: This structure includes a beegfsClientConf field. This field may not be rendered in /// form view by OpenShift or other graphical interfaces, but it can be critical in some environments. Add or modify it /// in YAML view. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverPluginConfigFileSystemSpecificConfigsConfig { /// A map of additional key value pairs matching key value pairs in the beegfs-client.conf file. See /// beegfs-client.conf for more details. Values MUST be specified as strings, even if they appear to be integers or @@ -724,7 +725,7 @@ pub struct BeegfsDriverPluginConfigFileSystemSpecificConfigsConfig { /// A node specific configuration that overrides file system specific configurations and the default configuration on /// specific nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverPluginConfigNodeSpecificConfigs { /// The primary configuration structure containing all of the custom configuration (beegfs-client.conf keys/values and /// additional CSI driver specific fields) associated with a single BeeGFS file system except for sysMgmtdHost, which is @@ -748,7 +749,7 @@ pub struct BeegfsDriverPluginConfigNodeSpecificConfigs { /// specified elsewhere. WARNING: This structure includes a beegfsClientConf field. This field may not be rendered in /// form view by OpenShift or other graphical interfaces, but it can be critical in some environments. Add or modify it /// in YAML view. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverPluginConfigNodeSpecificConfigsConfig { /// A map of additional key value pairs matching key value pairs in the beegfs-client.conf file. See /// beegfs-client.conf for more details. Values MUST be specified as strings, even if they appear to be integers or @@ -775,7 +776,7 @@ pub struct BeegfsDriverPluginConfigNodeSpecificConfigsConfig { } /// A file system specific configuration that overrides the default configuration for a specific file system. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverPluginConfigNodeSpecificConfigsFileSystemSpecificConfigs { /// The primary configuration structure containing all of the custom configuration (beegfs-client.conf keys/values and /// additional CSI driver specific fields) associated with a single BeeGFS file system except for sysMgmtdHost, which is @@ -794,7 +795,7 @@ pub struct BeegfsDriverPluginConfigNodeSpecificConfigsFileSystemSpecificConfigs /// specified elsewhere. WARNING: This structure includes a beegfsClientConf field. This field may not be rendered in /// form view by OpenShift or other graphical interfaces, but it can be critical in some environments. Add or modify it /// in YAML view. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverPluginConfigNodeSpecificConfigsFileSystemSpecificConfigsConfig { /// A map of additional key value pairs matching key value pairs in the beegfs-client.conf file. See /// beegfs-client.conf for more details. Values MUST be specified as strings, even if they appear to be integers or @@ -821,7 +822,7 @@ pub struct BeegfsDriverPluginConfigNodeSpecificConfigsFileSystemSpecificConfigsC } /// BeegfsDriverStatus defines the observed state of BeegfsDriver -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BeegfsDriverStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, diff --git a/kube-custom-resources-rs/src/binding_operators_coreos_com/v1alpha1/bindablekinds.rs b/kube-custom-resources-rs/src/binding_operators_coreos_com/v1alpha1/bindablekinds.rs index 7a359bccd..da25ef690 100644 --- a/kube-custom-resources-rs/src/binding_operators_coreos_com/v1alpha1/bindablekinds.rs +++ b/kube-custom-resources-rs/src/binding_operators_coreos_com/v1alpha1/bindablekinds.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/redhat-developer/service-binding-operator/binding.operators.coreos.com/v1alpha1/bindablekinds.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/redhat-developer/service-binding-operator/binding.operators.coreos.com/v1alpha1/bindablekinds.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/binding_operators_coreos_com/v1alpha1/servicebindings.rs b/kube-custom-resources-rs/src/binding_operators_coreos_com/v1alpha1/servicebindings.rs index 8b0c254ab..334d332d9 100644 --- a/kube-custom-resources-rs/src/binding_operators_coreos_com/v1alpha1/servicebindings.rs +++ b/kube-custom-resources-rs/src/binding_operators_coreos_com/v1alpha1/servicebindings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/redhat-developer/service-binding-operator/binding.operators.coreos.com/v1alpha1/servicebindings.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/redhat-developer/service-binding-operator/binding.operators.coreos.com/v1alpha1/servicebindings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// ServiceBindingSpec defines the desired state of ServiceBinding. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "binding.operators.coreos.com", version = "v1alpha1", kind = "ServiceBinding", plural = "servicebindings")] #[kube(namespaced)] #[kube(status = "ServiceBindingStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ServiceBindingSpec { /// Application identifies the application connecting to the backing service. @@ -41,7 +42,7 @@ pub struct ServiceBindingSpec { } /// Application identifies the application connecting to the backing service. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceBindingApplication { /// BindingPath refers to the paths in the application workload's schema where the binding workload would be referenced. If BindingPath is not specified, then the default path locations are used. The default location for ContainersPath is "spec.template.spec.containers". If SecretPath is not specified, then the name of the secret object does not need to be specified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "bindingPath")] @@ -65,7 +66,7 @@ pub struct ServiceBindingApplication { } /// BindingPath refers to the paths in the application workload's schema where the binding workload would be referenced. If BindingPath is not specified, then the default path locations are used. The default location for ContainersPath is "spec.template.spec.containers". If SecretPath is not specified, then the name of the secret object does not need to be specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceBindingApplicationBindingPath { /// ContainersPath defines the path to the corev1.Containers reference. If BindingPath is not specified, the default location is "spec.template.spec.containers". #[serde(default, skip_serializing_if = "Option::is_none", rename = "containersPath")] @@ -76,7 +77,7 @@ pub struct ServiceBindingApplicationBindingPath { } /// A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceBindingApplicationLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -87,7 +88,7 @@ pub struct ServiceBindingApplicationLabelSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceBindingApplicationLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -99,7 +100,7 @@ pub struct ServiceBindingApplicationLabelSelectorMatchExpressions { } /// ServiceBindingMapping defines a new binding from a set of existing bindings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceBindingMappings { /// Name is the name of new binding. pub name: String, @@ -108,7 +109,7 @@ pub struct ServiceBindingMappings { } /// Service defines the selector based on resource name, version, and resource kind. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceBindingServices { /// Group of the referent. pub group: String, @@ -131,7 +132,7 @@ pub struct ServiceBindingServices { } /// ServiceBindingStatus defines the observed state of ServiceBinding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceBindingStatus { /// Conditions describes the state of the operator's reconciliation functionality. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/bitnami_com/v1alpha1/sealedsecrets.rs b/kube-custom-resources-rs/src/bitnami_com/v1alpha1/sealedsecrets.rs index 392483086..bfb14bcc3 100644 --- a/kube-custom-resources-rs/src/bitnami_com/v1alpha1/sealedsecrets.rs +++ b/kube-custom-resources-rs/src/bitnami_com/v1alpha1/sealedsecrets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/bitnami-labs/sealed-secrets/bitnami.com/v1alpha1/sealedsecrets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/bitnami-labs/sealed-secrets/bitnami.com/v1alpha1/sealedsecrets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/bmc_tinkerbell_org/v1alpha1/jobs.rs b/kube-custom-resources-rs/src/bmc_tinkerbell_org/v1alpha1/jobs.rs index 19d10c751..5cd3468d9 100644 --- a/kube-custom-resources-rs/src/bmc_tinkerbell_org/v1alpha1/jobs.rs +++ b/kube-custom-resources-rs/src/bmc_tinkerbell_org/v1alpha1/jobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/rufio/bmc.tinkerbell.org/v1alpha1/jobs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/rufio/bmc.tinkerbell.org/v1alpha1/jobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/bmc_tinkerbell_org/v1alpha1/machines.rs b/kube-custom-resources-rs/src/bmc_tinkerbell_org/v1alpha1/machines.rs index 10ee1234a..3af308933 100644 --- a/kube-custom-resources-rs/src/bmc_tinkerbell_org/v1alpha1/machines.rs +++ b/kube-custom-resources-rs/src/bmc_tinkerbell_org/v1alpha1/machines.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/rufio/bmc.tinkerbell.org/v1alpha1/machines.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/rufio/bmc.tinkerbell.org/v1alpha1/machines.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/bmc_tinkerbell_org/v1alpha1/tasks.rs b/kube-custom-resources-rs/src/bmc_tinkerbell_org/v1alpha1/tasks.rs index cddd799f1..8c4250138 100644 --- a/kube-custom-resources-rs/src/bmc_tinkerbell_org/v1alpha1/tasks.rs +++ b/kube-custom-resources-rs/src/bmc_tinkerbell_org/v1alpha1/tasks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/rufio/bmc.tinkerbell.org/v1alpha1/tasks.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/rufio/bmc.tinkerbell.org/v1alpha1/tasks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/boskos_k8s_io/v1/dynamicresourcelifecycles.rs b/kube-custom-resources-rs/src/boskos_k8s_io/v1/dynamicresourcelifecycles.rs index 6ada4560d..2256d8739 100644 --- a/kube-custom-resources-rs/src/boskos_k8s_io/v1/dynamicresourcelifecycles.rs +++ b/kube-custom-resources-rs/src/boskos_k8s_io/v1/dynamicresourcelifecycles.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/boskos/boskos.k8s.io/v1/dynamicresourcelifecycles.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/boskos/boskos.k8s.io/v1/dynamicresourcelifecycles.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/boskos_k8s_io/v1/resources.rs b/kube-custom-resources-rs/src/boskos_k8s_io/v1/resources.rs index 964560c74..afa536f1b 100644 --- a/kube-custom-resources-rs/src/boskos_k8s_io/v1/resources.rs +++ b/kube-custom-resources-rs/src/boskos_k8s_io/v1/resources.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/boskos/boskos.k8s.io/v1/resources.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/boskos/boskos.k8s.io/v1/resources.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/bpfprograms.rs b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/bpfprograms.rs index 7c18f6dab..b9a85b446 100644 --- a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/bpfprograms.rs +++ b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/bpfprograms.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/bpfprograms.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/bpfprograms.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { use self::prelude::*; /// BpfProgramSpec defines the desired state of BpfProgram -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "bpfman.io", version = "v1alpha1", kind = "BpfProgram", plural = "bpfprograms")] #[kube(status = "BpfProgramStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct BpfProgramSpec { /// Type specifies the bpf program type @@ -23,7 +24,7 @@ pub struct BpfProgramSpec { } /// BpfProgramStatus defines the observed state of BpfProgram TODO Make these a fixed set of metav1.Condition.types and metav1.Condition.reasons -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BpfProgramStatus { /// Conditions houses the updates regarding the actual implementation of the bpf program on the node Known .status.conditions.type are: "Available", "Progressing", and "Degraded" #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/fentryprograms.rs b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/fentryprograms.rs index d97f843c7..30c65562f 100644 --- a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/fentryprograms.rs +++ b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/fentryprograms.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/fentryprograms.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/fentryprograms.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/fexitprograms.rs b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/fexitprograms.rs index 8d75058fb..741635073 100644 --- a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/fexitprograms.rs +++ b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/fexitprograms.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/fexitprograms.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/fexitprograms.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/kprobeprograms.rs b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/kprobeprograms.rs index 880c853bf..e5f3224b9 100644 --- a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/kprobeprograms.rs +++ b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/kprobeprograms.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/kprobeprograms.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/kprobeprograms.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// KprobeProgramSpec defines the desired state of KprobeProgram -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "bpfman.io", version = "v1alpha1", kind = "KprobeProgram", plural = "kprobeprograms")] #[kube(status = "KprobeProgramStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct KprobeProgramSpec { /// BpfFunctionName is the name of the function that is the entry point for the BPF program @@ -41,7 +42,7 @@ pub struct KprobeProgramSpec { } /// Bytecode configures where the bpf program's bytecode should be loaded from. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KprobeProgramBytecode { /// Image used to specify a bytecode container image. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -52,7 +53,7 @@ pub struct KprobeProgramBytecode { } /// Image used to specify a bytecode container image. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KprobeProgramBytecodeImage { /// PullPolicy describes a policy for if/when to pull a bytecode image. Defaults to IfNotPresent. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -73,7 +74,7 @@ pub enum KprobeProgramBytecodeImageImagepullpolicy { } /// ImagePullSecret is the name of the secret bpfman should use to get remote image repository secrets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KprobeProgramBytecodeImageImagepullsecret { /// Name of the secret which contains the credentials to access the image repository. pub name: String, @@ -82,7 +83,7 @@ pub struct KprobeProgramBytecodeImageImagepullsecret { } /// MapOwnerSelector is used to select the loaded eBPF program this eBPF program will share a map with. The value is a label applied to the BpfProgram to select. The selector must resolve to exactly one instance of a BpfProgram on a given node or the eBPF program will not load. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KprobeProgramMapownerselector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -93,7 +94,7 @@ pub struct KprobeProgramMapownerselector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KprobeProgramMapownerselectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -105,7 +106,7 @@ pub struct KprobeProgramMapownerselectorMatchExpressions { } /// NodeSelector allows the user to specify which nodes to deploy the bpf program to. This field must be specified, to select all nodes use standard metav1.LabelSelector semantics and make it empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KprobeProgramNodeselector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -116,7 +117,7 @@ pub struct KprobeProgramNodeselector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KprobeProgramNodeselectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -128,7 +129,7 @@ pub struct KprobeProgramNodeselectorMatchExpressions { } /// KprobeProgramStatus defines the observed state of KprobeProgram -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KprobeProgramStatus { /// Conditions houses the global cluster state for the KprobeProgram. The explicit condition types are defined internally. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/tcprograms.rs b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/tcprograms.rs index 3ce0d9425..6a6a9e519 100644 --- a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/tcprograms.rs +++ b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/tcprograms.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/tcprograms.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/tcprograms.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -42,7 +42,7 @@ pub struct TcProgramSpec { } /// Bytecode configures where the bpf program's bytecode should be loaded from. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TcProgramBytecode { /// Image used to specify a bytecode container image. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -53,7 +53,7 @@ pub struct TcProgramBytecode { } /// Image used to specify a bytecode container image. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TcProgramBytecodeImage { /// PullPolicy describes a policy for if/when to pull a bytecode image. Defaults to IfNotPresent. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -74,7 +74,7 @@ pub enum TcProgramBytecodeImageImagepullpolicy { } /// ImagePullSecret is the name of the secret bpfman should use to get remote image repository secrets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TcProgramBytecodeImageImagepullsecret { /// Name of the secret which contains the credentials to access the image repository. pub name: String, @@ -92,7 +92,7 @@ pub enum TcProgramDirection { } /// Selector to determine the network interface (or interfaces) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TcProgramInterfaceselector { /// Interfaces refers to a list of network interfaces to attach the BPF program to. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -103,7 +103,7 @@ pub struct TcProgramInterfaceselector { } /// MapOwnerSelector is used to select the loaded eBPF program this eBPF program will share a map with. The value is a label applied to the BpfProgram to select. The selector must resolve to exactly one instance of a BpfProgram on a given node or the eBPF program will not load. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TcProgramMapownerselector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -114,7 +114,7 @@ pub struct TcProgramMapownerselector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TcProgramMapownerselectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -126,7 +126,7 @@ pub struct TcProgramMapownerselectorMatchExpressions { } /// NodeSelector allows the user to specify which nodes to deploy the bpf program to. This field must be specified, to select all nodes use standard metav1.LabelSelector semantics and make it empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TcProgramNodeselector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -137,7 +137,7 @@ pub struct TcProgramNodeselector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TcProgramNodeselectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -149,7 +149,7 @@ pub struct TcProgramNodeselectorMatchExpressions { } /// TcProgramStatus defines the observed state of TcProgram -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TcProgramStatus { /// Conditions houses the global cluster state for the TcProgram. The explicit condition types are defined internally. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/tracepointprograms.rs b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/tracepointprograms.rs index 8a18dc1e8..2719a040e 100644 --- a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/tracepointprograms.rs +++ b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/tracepointprograms.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/tracepointprograms.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/tracepointprograms.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// TracepointProgramSpec defines the desired state of TracepointProgram -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "bpfman.io", version = "v1alpha1", kind = "TracepointProgram", plural = "tracepointprograms")] #[kube(status = "TracepointProgramStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct TracepointProgramSpec { /// BpfFunctionName is the name of the function that is the entry point for the BPF program @@ -35,7 +36,7 @@ pub struct TracepointProgramSpec { } /// Bytecode configures where the bpf program's bytecode should be loaded from. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TracepointProgramBytecode { /// Image used to specify a bytecode container image. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -46,7 +47,7 @@ pub struct TracepointProgramBytecode { } /// Image used to specify a bytecode container image. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TracepointProgramBytecodeImage { /// PullPolicy describes a policy for if/when to pull a bytecode image. Defaults to IfNotPresent. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -67,7 +68,7 @@ pub enum TracepointProgramBytecodeImageImagepullpolicy { } /// ImagePullSecret is the name of the secret bpfman should use to get remote image repository secrets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TracepointProgramBytecodeImageImagepullsecret { /// Name of the secret which contains the credentials to access the image repository. pub name: String, @@ -76,7 +77,7 @@ pub struct TracepointProgramBytecodeImageImagepullsecret { } /// MapOwnerSelector is used to select the loaded eBPF program this eBPF program will share a map with. The value is a label applied to the BpfProgram to select. The selector must resolve to exactly one instance of a BpfProgram on a given node or the eBPF program will not load. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TracepointProgramMapownerselector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -87,7 +88,7 @@ pub struct TracepointProgramMapownerselector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TracepointProgramMapownerselectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -99,7 +100,7 @@ pub struct TracepointProgramMapownerselectorMatchExpressions { } /// NodeSelector allows the user to specify which nodes to deploy the bpf program to. This field must be specified, to select all nodes use standard metav1.LabelSelector semantics and make it empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TracepointProgramNodeselector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -110,7 +111,7 @@ pub struct TracepointProgramNodeselector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TracepointProgramNodeselectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -122,7 +123,7 @@ pub struct TracepointProgramNodeselectorMatchExpressions { } /// TracepointProgramStatus defines the observed state of TracepointProgram -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TracepointProgramStatus { /// Conditions houses the global cluster state for the TracepointProgram. The explicit condition types are defined internally. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/uprobeprograms.rs b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/uprobeprograms.rs index 2cd66c390..a81a53682 100644 --- a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/uprobeprograms.rs +++ b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/uprobeprograms.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/uprobeprograms.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/uprobeprograms.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// UprobeProgramSpec defines the desired state of UprobeProgram -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "bpfman.io", version = "v1alpha1", kind = "UprobeProgram", plural = "uprobeprograms")] #[kube(status = "UprobeProgramStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct UprobeProgramSpec { /// BpfFunctionName is the name of the function that is the entry point for the BPF program @@ -50,7 +51,7 @@ pub struct UprobeProgramSpec { } /// Bytecode configures where the bpf program's bytecode should be loaded from. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UprobeProgramBytecode { /// Image used to specify a bytecode container image. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -61,7 +62,7 @@ pub struct UprobeProgramBytecode { } /// Image used to specify a bytecode container image. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UprobeProgramBytecodeImage { /// PullPolicy describes a policy for if/when to pull a bytecode image. Defaults to IfNotPresent. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -82,7 +83,7 @@ pub enum UprobeProgramBytecodeImageImagepullpolicy { } /// ImagePullSecret is the name of the secret bpfman should use to get remote image repository secrets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UprobeProgramBytecodeImageImagepullsecret { /// Name of the secret which contains the credentials to access the image repository. pub name: String, @@ -91,7 +92,7 @@ pub struct UprobeProgramBytecodeImageImagepullsecret { } /// Containers identifes the set of containers in which to attach the uprobe. If Containers is not specified, the uprobe will be attached in the bpfman-agent container. The ContainerSelector is very flexible and even allows the selection of all containers in a cluster. If an attempt is made to attach uprobes to too many containers, it can have a negative impact on on the cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UprobeProgramContainers { /// Name(s) of container(s). If none are specified, all containers in the pod are selected. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -104,7 +105,7 @@ pub struct UprobeProgramContainers { } /// Target pods. This field must be specified, to select all pods use standard metav1.LabelSelector semantics and make it empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UprobeProgramContainersPods { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -115,7 +116,7 @@ pub struct UprobeProgramContainersPods { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UprobeProgramContainersPodsMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -127,7 +128,7 @@ pub struct UprobeProgramContainersPodsMatchExpressions { } /// MapOwnerSelector is used to select the loaded eBPF program this eBPF program will share a map with. The value is a label applied to the BpfProgram to select. The selector must resolve to exactly one instance of a BpfProgram on a given node or the eBPF program will not load. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UprobeProgramMapownerselector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -138,7 +139,7 @@ pub struct UprobeProgramMapownerselector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UprobeProgramMapownerselectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -150,7 +151,7 @@ pub struct UprobeProgramMapownerselectorMatchExpressions { } /// NodeSelector allows the user to specify which nodes to deploy the bpf program to. This field must be specified, to select all nodes use standard metav1.LabelSelector semantics and make it empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UprobeProgramNodeselector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -161,7 +162,7 @@ pub struct UprobeProgramNodeselector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UprobeProgramNodeselectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -173,7 +174,7 @@ pub struct UprobeProgramNodeselectorMatchExpressions { } /// UprobeProgramStatus defines the observed state of UprobeProgram -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UprobeProgramStatus { /// Conditions houses the global cluster state for the UprobeProgram. The explicit condition types are defined internally. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/xdpprograms.rs b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/xdpprograms.rs index af4c76fa4..11bb0c0ac 100644 --- a/kube-custom-resources-rs/src/bpfman_io/v1alpha1/xdpprograms.rs +++ b/kube-custom-resources-rs/src/bpfman_io/v1alpha1/xdpprograms.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/xdpprograms.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/bpfman/bpfman/bpfman.io/v1alpha1/xdpprograms.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// XdpProgramSpec defines the desired state of XdpProgram -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "bpfman.io", version = "v1alpha1", kind = "XdpProgram", plural = "xdpprograms")] #[kube(status = "XdpProgramStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct XdpProgramSpec { /// BpfFunctionName is the name of the function that is the entry point for the BPF program @@ -39,7 +40,7 @@ pub struct XdpProgramSpec { } /// Bytecode configures where the bpf program's bytecode should be loaded from. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct XdpProgramBytecode { /// Image used to specify a bytecode container image. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -50,7 +51,7 @@ pub struct XdpProgramBytecode { } /// Image used to specify a bytecode container image. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct XdpProgramBytecodeImage { /// PullPolicy describes a policy for if/when to pull a bytecode image. Defaults to IfNotPresent. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -71,7 +72,7 @@ pub enum XdpProgramBytecodeImageImagepullpolicy { } /// ImagePullSecret is the name of the secret bpfman should use to get remote image repository secrets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct XdpProgramBytecodeImageImagepullsecret { /// Name of the secret which contains the credentials to access the image repository. pub name: String, @@ -80,7 +81,7 @@ pub struct XdpProgramBytecodeImageImagepullsecret { } /// Selector to determine the network interface (or interfaces) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct XdpProgramInterfaceselector { /// Interfaces refers to a list of network interfaces to attach the BPF program to. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -91,7 +92,7 @@ pub struct XdpProgramInterfaceselector { } /// MapOwnerSelector is used to select the loaded eBPF program this eBPF program will share a map with. The value is a label applied to the BpfProgram to select. The selector must resolve to exactly one instance of a BpfProgram on a given node or the eBPF program will not load. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct XdpProgramMapownerselector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -102,7 +103,7 @@ pub struct XdpProgramMapownerselector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct XdpProgramMapownerselectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -114,7 +115,7 @@ pub struct XdpProgramMapownerselectorMatchExpressions { } /// NodeSelector allows the user to specify which nodes to deploy the bpf program to. This field must be specified, to select all nodes use standard metav1.LabelSelector semantics and make it empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct XdpProgramNodeselector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -125,7 +126,7 @@ pub struct XdpProgramNodeselector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct XdpProgramNodeselectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -137,7 +138,7 @@ pub struct XdpProgramNodeselectorMatchExpressions { } /// XdpProgramStatus defines the observed state of XdpProgram -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct XdpProgramStatus { /// Conditions houses the global cluster state for the XdpProgram. The explicit condition types are defined internally. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/bus_volcano_sh/v1alpha1/commands.rs b/kube-custom-resources-rs/src/bus_volcano_sh/v1alpha1/commands.rs index 429edc063..752aaecb1 100644 --- a/kube-custom-resources-rs/src/bus_volcano_sh/v1alpha1/commands.rs +++ b/kube-custom-resources-rs/src/bus_volcano_sh/v1alpha1/commands.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/volcano-sh/volcano/bus.volcano.sh/v1alpha1/commands.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/volcano-sh/volcano/bus.volcano.sh/v1alpha1/commands.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cache_kubedl_io/v1alpha1/cachebackends.rs b/kube-custom-resources-rs/src/cache_kubedl_io/v1alpha1/cachebackends.rs index 341e4ce48..8096125bf 100644 --- a/kube-custom-resources-rs/src/cache_kubedl_io/v1alpha1/cachebackends.rs +++ b/kube-custom-resources-rs/src/cache_kubedl_io/v1alpha1/cachebackends.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/cache.kubedl.io/v1alpha1/cachebackends.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/cache.kubedl.io/v1alpha1/cachebackends.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/caching_ibm_com/v1alpha1/varnishclusters.rs b/kube-custom-resources-rs/src/caching_ibm_com/v1alpha1/varnishclusters.rs index b16233c82..265698b3a 100644 --- a/kube-custom-resources-rs/src/caching_ibm_com/v1alpha1/varnishclusters.rs +++ b/kube-custom-resources-rs/src/caching_ibm_com/v1alpha1/varnishclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/IBM/varnish-operator/caching.ibm.com/v1alpha1/varnishclusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/IBM/varnish-operator/caching.ibm.com/v1alpha1/varnishclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/camel_apache_org/v1/builds.rs b/kube-custom-resources-rs/src/camel_apache_org/v1/builds.rs index 6af196e21..3f97c0f62 100644 --- a/kube-custom-resources-rs/src/camel_apache_org/v1/builds.rs +++ b/kube-custom-resources-rs/src/camel_apache_org/v1/builds.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apache/camel-k/camel.apache.org/v1/builds.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apache/camel-k/camel.apache.org/v1/builds.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/camel_apache_org/v1/camelcatalogs.rs b/kube-custom-resources-rs/src/camel_apache_org/v1/camelcatalogs.rs index d4d7677fc..de3b44c3f 100644 --- a/kube-custom-resources-rs/src/camel_apache_org/v1/camelcatalogs.rs +++ b/kube-custom-resources-rs/src/camel_apache_org/v1/camelcatalogs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apache/camel-k/camel.apache.org/v1/camelcatalogs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apache/camel-k/camel.apache.org/v1/camelcatalogs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/camel_apache_org/v1/kamelets.rs b/kube-custom-resources-rs/src/camel_apache_org/v1/kamelets.rs index 2bea51939..2295806af 100644 --- a/kube-custom-resources-rs/src/camel_apache_org/v1/kamelets.rs +++ b/kube-custom-resources-rs/src/camel_apache_org/v1/kamelets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apache/camel-k/camel.apache.org/v1/kamelets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apache/camel-k/camel.apache.org/v1/kamelets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/camel_apache_org/v1alpha1/kamelets.rs b/kube-custom-resources-rs/src/camel_apache_org/v1alpha1/kamelets.rs index f93a54dd3..5effc3cea 100644 --- a/kube-custom-resources-rs/src/camel_apache_org/v1alpha1/kamelets.rs +++ b/kube-custom-resources-rs/src/camel_apache_org/v1alpha1/kamelets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apache/camel-k/camel.apache.org/v1alpha1/kamelets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apache/camel-k/camel.apache.org/v1alpha1/kamelets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/capabilities_3scale_net/v1alpha1/tenants.rs b/kube-custom-resources-rs/src/capabilities_3scale_net/v1alpha1/tenants.rs index 75762f3ea..71680260d 100644 --- a/kube-custom-resources-rs/src/capabilities_3scale_net/v1alpha1/tenants.rs +++ b/kube-custom-resources-rs/src/capabilities_3scale_net/v1alpha1/tenants.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1alpha1/tenants.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1alpha1/tenants.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/activedocs.rs b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/activedocs.rs index d31ec5f4d..33ef03034 100644 --- a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/activedocs.rs +++ b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/activedocs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/activedocs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/activedocs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/applications.rs b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/applications.rs index 4dd55a351..ad858315b 100644 --- a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/applications.rs +++ b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/applications.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/applications.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/applications.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/backends.rs b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/backends.rs index c20acc207..445d9f467 100644 --- a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/backends.rs +++ b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/backends.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/backends.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/backends.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// BackendSpec defines the desired state of Backend -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "capabilities.3scale.net", version = "v1beta1", kind = "Backend", plural = "backends")] #[kube(namespaced)] #[kube(status = "BackendStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct BackendSpec { /// Description is a human readable text of the backend @@ -80,7 +81,7 @@ pub enum BackendMappingRulesHttpMethod { } /// Methods Map: system_name -> MethodSpec system_name attr is unique for all metrics AND methods In other words, if metric's system_name is A, there is no metric or method with system_name A. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackendMethods { #[serde(default, skip_serializing_if = "Option::is_none")] pub description: Option, @@ -89,7 +90,7 @@ pub struct BackendMethods { } /// Metrics Map: system_name -> MetricSpec system_name attr is unique for all metrics AND methods In other words, if metric's system_name is A, there is no metric or method with system_name A. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackendMetrics { #[serde(default, skip_serializing_if = "Option::is_none")] pub description: Option, @@ -100,7 +101,7 @@ pub struct BackendMetrics { } /// ProviderAccountRef references account provider credentials -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackendProviderAccountRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -108,7 +109,7 @@ pub struct BackendProviderAccountRef { } /// BackendStatus defines the observed state of Backend -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackendStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "backendId")] pub backend_id: Option, diff --git a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/custompolicydefinitions.rs b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/custompolicydefinitions.rs index eca46abc1..28f8cafe8 100644 --- a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/custompolicydefinitions.rs +++ b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/custompolicydefinitions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/custompolicydefinitions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/custompolicydefinitions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/developeraccounts.rs b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/developeraccounts.rs index f40a05cd4..786542a66 100644 --- a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/developeraccounts.rs +++ b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/developeraccounts.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/developeraccounts.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/developeraccounts.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/developerusers.rs b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/developerusers.rs index 0c36e17d9..c5f943bcf 100644 --- a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/developerusers.rs +++ b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/developerusers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/developerusers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/developerusers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/openapis.rs b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/openapis.rs index 1f9c0e670..a2114d90c 100644 --- a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/openapis.rs +++ b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/openapis.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/openapis.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/openapis.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// OpenAPISpec defines the desired state of OpenAPI -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "capabilities.3scale.net", version = "v1beta1", kind = "OpenAPI", plural = "openapis")] #[kube(namespaced)] #[kube(status = "OpenAPIStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct OpenAPISpec { /// OIDCSpec defines the desired configuration of OpenID Connect Authentication @@ -83,7 +84,7 @@ pub struct OpenAPIOidc { } /// AuthenticationFlow specifies OAuth2.0 authorization grant type -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpenAPIOidcAuthenticationFlow { #[serde(rename = "directAccessGrantsEnabled")] pub direct_access_grants_enabled: bool, @@ -108,7 +109,7 @@ pub enum OpenAPIOidcCredentials { } /// GatewayResponseSpec defines the desired gateway response configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpenAPIOidcGatewayResponse { /// ErrorAuthFailed specifies the response body when authentication fails #[serde(default, skip_serializing_if = "Option::is_none", rename = "errorAuthFailed")] @@ -149,7 +150,7 @@ pub struct OpenAPIOidcGatewayResponse { } /// IssuerEndpointRef is the reference to OIDC issuer Secret that contains IssuerEndpoint -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpenAPIOidcIssuerEndpointRef { /// name is unique within a namespace to reference a secret resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -178,7 +179,7 @@ pub enum OpenAPIOidcJwtClaimWithClientIdType { } /// SecuritySpec defines the desired state of Authentication Security -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpenAPIOidcSecurity { /// HostHeader Lets you define a custom Host request header. This is needed if your API backend only accepts traffic from a specific host. #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostHeader")] @@ -189,7 +190,7 @@ pub struct OpenAPIOidcSecurity { } /// OpenAPIRef Reference to the OpenAPI Specification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpenAPIOpenapiRef { /// SecretRef refers to the secret object that contains the OpenAPI Document #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretRef")] @@ -200,7 +201,7 @@ pub struct OpenAPIOpenapiRef { } /// SecretRef refers to the secret object that contains the OpenAPI Document -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpenAPIOpenapiRefSecretRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -226,7 +227,7 @@ pub struct OpenAPIOpenapiRefSecretRef { } /// ProviderAccountRef references account provider credentials -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpenAPIProviderAccountRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -234,7 +235,7 @@ pub struct OpenAPIProviderAccountRef { } /// OpenAPIStatus defines the observed state of OpenAPI -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpenAPIStatus { /// BackendResourceNames contains a list of references to the managed 3scale backends #[serde(default, skip_serializing_if = "Option::is_none", rename = "backendResourceNames")] @@ -254,7 +255,7 @@ pub struct OpenAPIStatus { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpenAPIStatusBackendResourceNames { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -262,7 +263,7 @@ pub struct OpenAPIStatusBackendResourceNames { } /// ProductResourceName references the managed 3scale product -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OpenAPIStatusProductResourceName { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/products.rs b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/products.rs index 43265fbf1..0860ec746 100644 --- a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/products.rs +++ b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/products.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/products.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/products.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// ProductSpec defines the desired state of Product -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "capabilities.3scale.net", version = "v1beta1", kind = "Product", plural = "products")] #[kube(namespaced)] #[kube(status = "ProductStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ProductSpec { /// Application Plans Map: system_name -> Application Plan Spec @@ -54,7 +55,7 @@ pub struct ProductSpec { } /// Application Plans Map: system_name -> Application Plan Spec -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductApplicationPlans { /// Set whether or not applications can be created on demand or if approval is required from you before they are activated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "appsRequireApproval")] @@ -94,7 +95,7 @@ pub struct ProductApplicationPlansLimits { } /// Metric or Method Reference -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductApplicationPlansLimitsMetricMethodRef { /// BackendSystemName identifies uniquely the backend Backend reference must be used by the product #[serde(default, skip_serializing_if = "Option::is_none")] @@ -124,7 +125,7 @@ pub enum ProductApplicationPlansLimitsPeriod { } /// PricingRuleSpec defines the cost of each operation performed on an API. Multiple pricing rules on the same metric divide up the ranges of when a pricing rule applies. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductApplicationPlansPricingRules { /// Range From pub from: i64, @@ -139,7 +140,7 @@ pub struct ProductApplicationPlansPricingRules { } /// Metric or Method Reference -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductApplicationPlansPricingRulesMetricMethodRef { /// BackendSystemName identifies uniquely the backend Backend reference must be used by the product #[serde(default, skip_serializing_if = "Option::is_none")] @@ -150,14 +151,14 @@ pub struct ProductApplicationPlansPricingRulesMetricMethodRef { } /// Backend usage will be a map of Map: system_name -> BackendUsageSpec Having system_name as the index, the structure ensures one backend is not used multiple times. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductBackendUsages { #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, } /// Deployment defined 3scale product deployment mode -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeployment { /// ApicastHostedSpec defines the desired state of Product Apicast Hosted #[serde(default, skip_serializing_if = "Option::is_none", rename = "apicastHosted")] @@ -168,7 +169,7 @@ pub struct ProductDeployment { } /// ApicastHostedSpec defines the desired state of Product Apicast Hosted -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeploymentApicastHosted { /// AuthenticationSpec defines the desired state of Product Authentication #[serde(default, skip_serializing_if = "Option::is_none")] @@ -176,7 +177,7 @@ pub struct ProductDeploymentApicastHosted { } /// AuthenticationSpec defines the desired state of Product Authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeploymentApicastHostedAuthentication { /// AppKeyAppIDAuthenticationSpec defines the desired state of AppKey&AppId Authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "appKeyAppID")] @@ -190,7 +191,7 @@ pub struct ProductDeploymentApicastHostedAuthentication { } /// AppKeyAppIDAuthenticationSpec defines the desired state of AppKey&AppId Authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeploymentApicastHostedAuthenticationAppKeyAppId { /// AppID is the name of the parameter that acts of behalf of app id #[serde(default, skip_serializing_if = "Option::is_none", rename = "appID")] @@ -221,7 +222,7 @@ pub enum ProductDeploymentApicastHostedAuthenticationAppKeyAppIdCredentials { } /// GatewayResponseSpec defines the desired gateway response configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeploymentApicastHostedAuthenticationAppKeyAppIdGatewayResponse { /// ErrorAuthFailed specifies the response body when authentication fails #[serde(default, skip_serializing_if = "Option::is_none", rename = "errorAuthFailed")] @@ -262,7 +263,7 @@ pub struct ProductDeploymentApicastHostedAuthenticationAppKeyAppIdGatewayRespons } /// SecuritySpec defines the desired state of Authentication Security -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeploymentApicastHostedAuthenticationAppKeyAppIdSecurity { /// HostHeader Lets you define a custom Host request header. This is needed if your API backend only accepts traffic from a specific host. #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostHeader")] @@ -305,7 +306,7 @@ pub struct ProductDeploymentApicastHostedAuthenticationOidc { } /// AuthenticationFlow specifies OAuth2.0 authorization grant type -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeploymentApicastHostedAuthenticationOidcAuthenticationFlow { #[serde(rename = "directAccessGrantsEnabled")] pub direct_access_grants_enabled: bool, @@ -330,7 +331,7 @@ pub enum ProductDeploymentApicastHostedAuthenticationOidcCredentials { } /// GatewayResponseSpec defines the desired gateway response configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeploymentApicastHostedAuthenticationOidcGatewayResponse { /// ErrorAuthFailed specifies the response body when authentication fails #[serde(default, skip_serializing_if = "Option::is_none", rename = "errorAuthFailed")] @@ -371,7 +372,7 @@ pub struct ProductDeploymentApicastHostedAuthenticationOidcGatewayResponse { } /// IssuerEndpointRef is the reference to OIDC issuer Secret that contains IssuerEndpoint -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeploymentApicastHostedAuthenticationOidcIssuerEndpointRef { /// name is unique within a namespace to reference a secret resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -400,7 +401,7 @@ pub enum ProductDeploymentApicastHostedAuthenticationOidcJwtClaimWithClientIdTyp } /// SecuritySpec defines the desired state of Authentication Security -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeploymentApicastHostedAuthenticationOidcSecurity { /// HostHeader Lets you define a custom Host request header. This is needed if your API backend only accepts traffic from a specific host. #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostHeader")] @@ -411,7 +412,7 @@ pub struct ProductDeploymentApicastHostedAuthenticationOidcSecurity { } /// UserKeyAuthenticationSpec defines the desired state of User Key Authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeploymentApicastHostedAuthenticationUserkey { #[serde(default, skip_serializing_if = "Option::is_none", rename = "authUserKey")] pub auth_user_key: Option, @@ -438,7 +439,7 @@ pub enum ProductDeploymentApicastHostedAuthenticationUserkeyCredentials { } /// GatewayResponseSpec defines the desired gateway response configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeploymentApicastHostedAuthenticationUserkeyGatewayResponse { /// ErrorAuthFailed specifies the response body when authentication fails #[serde(default, skip_serializing_if = "Option::is_none", rename = "errorAuthFailed")] @@ -479,7 +480,7 @@ pub struct ProductDeploymentApicastHostedAuthenticationUserkeyGatewayResponse { } /// SecuritySpec defines the desired state of Authentication Security -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeploymentApicastHostedAuthenticationUserkeySecurity { /// HostHeader Lets you define a custom Host request header. This is needed if your API backend only accepts traffic from a specific host. #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostHeader")] @@ -490,7 +491,7 @@ pub struct ProductDeploymentApicastHostedAuthenticationUserkeySecurity { } /// ApicastSelfManagedSpec defines the desired state of Product Apicast Self Managed -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeploymentApicastSelfManaged { /// AuthenticationSpec defines the desired state of Product Authentication #[serde(default, skip_serializing_if = "Option::is_none")] @@ -502,7 +503,7 @@ pub struct ProductDeploymentApicastSelfManaged { } /// AuthenticationSpec defines the desired state of Product Authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeploymentApicastSelfManagedAuthentication { /// AppKeyAppIDAuthenticationSpec defines the desired state of AppKey&AppId Authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "appKeyAppID")] @@ -516,7 +517,7 @@ pub struct ProductDeploymentApicastSelfManagedAuthentication { } /// AppKeyAppIDAuthenticationSpec defines the desired state of AppKey&AppId Authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeploymentApicastSelfManagedAuthenticationAppKeyAppId { /// AppID is the name of the parameter that acts of behalf of app id #[serde(default, skip_serializing_if = "Option::is_none", rename = "appID")] @@ -547,7 +548,7 @@ pub enum ProductDeploymentApicastSelfManagedAuthenticationAppKeyAppIdCredentials } /// GatewayResponseSpec defines the desired gateway response configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeploymentApicastSelfManagedAuthenticationAppKeyAppIdGatewayResponse { /// ErrorAuthFailed specifies the response body when authentication fails #[serde(default, skip_serializing_if = "Option::is_none", rename = "errorAuthFailed")] @@ -588,7 +589,7 @@ pub struct ProductDeploymentApicastSelfManagedAuthenticationAppKeyAppIdGatewayRe } /// SecuritySpec defines the desired state of Authentication Security -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeploymentApicastSelfManagedAuthenticationAppKeyAppIdSecurity { /// HostHeader Lets you define a custom Host request header. This is needed if your API backend only accepts traffic from a specific host. #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostHeader")] @@ -631,7 +632,7 @@ pub struct ProductDeploymentApicastSelfManagedAuthenticationOidc { } /// AuthenticationFlow specifies OAuth2.0 authorization grant type -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeploymentApicastSelfManagedAuthenticationOidcAuthenticationFlow { #[serde(rename = "directAccessGrantsEnabled")] pub direct_access_grants_enabled: bool, @@ -656,7 +657,7 @@ pub enum ProductDeploymentApicastSelfManagedAuthenticationOidcCredentials { } /// GatewayResponseSpec defines the desired gateway response configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeploymentApicastSelfManagedAuthenticationOidcGatewayResponse { /// ErrorAuthFailed specifies the response body when authentication fails #[serde(default, skip_serializing_if = "Option::is_none", rename = "errorAuthFailed")] @@ -697,7 +698,7 @@ pub struct ProductDeploymentApicastSelfManagedAuthenticationOidcGatewayResponse } /// IssuerEndpointRef is the reference to OIDC issuer Secret that contains IssuerEndpoint -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeploymentApicastSelfManagedAuthenticationOidcIssuerEndpointRef { /// name is unique within a namespace to reference a secret resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -726,7 +727,7 @@ pub enum ProductDeploymentApicastSelfManagedAuthenticationOidcJwtClaimWithClient } /// SecuritySpec defines the desired state of Authentication Security -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeploymentApicastSelfManagedAuthenticationOidcSecurity { /// HostHeader Lets you define a custom Host request header. This is needed if your API backend only accepts traffic from a specific host. #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostHeader")] @@ -737,7 +738,7 @@ pub struct ProductDeploymentApicastSelfManagedAuthenticationOidcSecurity { } /// UserKeyAuthenticationSpec defines the desired state of User Key Authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeploymentApicastSelfManagedAuthenticationUserkey { #[serde(default, skip_serializing_if = "Option::is_none", rename = "authUserKey")] pub auth_user_key: Option, @@ -764,7 +765,7 @@ pub enum ProductDeploymentApicastSelfManagedAuthenticationUserkeyCredentials { } /// GatewayResponseSpec defines the desired gateway response configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeploymentApicastSelfManagedAuthenticationUserkeyGatewayResponse { /// ErrorAuthFailed specifies the response body when authentication fails #[serde(default, skip_serializing_if = "Option::is_none", rename = "errorAuthFailed")] @@ -805,7 +806,7 @@ pub struct ProductDeploymentApicastSelfManagedAuthenticationUserkeyGatewayRespon } /// SecuritySpec defines the desired state of Authentication Security -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductDeploymentApicastSelfManagedAuthenticationUserkeySecurity { /// HostHeader Lets you define a custom Host request header. This is needed if your API backend only accepts traffic from a specific host. #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostHeader")] @@ -852,7 +853,7 @@ pub enum ProductMappingRulesHttpMethod { } /// Methods Map: system_name -> MethodSpec system_name attr is unique for all metrics AND methods In other words, if metric's system_name is A, there is no metric or method with system_name A. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductMethods { #[serde(default, skip_serializing_if = "Option::is_none")] pub description: Option, @@ -861,7 +862,7 @@ pub struct ProductMethods { } /// Metrics Map: system_name -> MetricSpec system_name attr is unique for all metrics AND methods In other words, if metric's system_name is A, there is no metric or method with system_name A. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductMetrics { #[serde(default, skip_serializing_if = "Option::is_none")] pub description: Option, @@ -872,7 +873,7 @@ pub struct ProductMetrics { } /// PolicyConfig defines policy definition -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductPolicies { /// Configuration defines the policy configuration #[serde(default, skip_serializing_if = "Option::is_none")] @@ -889,7 +890,7 @@ pub struct ProductPolicies { } /// ConfigurationRef Secret reference containing policy configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductPoliciesConfigurationRef { /// name is unique within a namespace to reference a secret resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -900,7 +901,7 @@ pub struct ProductPoliciesConfigurationRef { } /// ProviderAccountRef references account provider credentials -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductProviderAccountRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -908,7 +909,7 @@ pub struct ProductProviderAccountRef { } /// ProductStatus defines the observed state of Product -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProductStatus { /// Current state of the 3scale product. Conditions represent the latest available observations of an object's state #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/proxyconfigpromotes.rs b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/proxyconfigpromotes.rs index 240e4db79..692a69ebd 100644 --- a/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/proxyconfigpromotes.rs +++ b/kube-custom-resources-rs/src/capabilities_3scale_net/v1beta1/proxyconfigpromotes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/proxyconfigpromotes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/3scale/3scale-operator/capabilities.3scale.net/v1beta1/proxyconfigpromotes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/capsule_clastix_io/v1alpha1/capsuleconfigurations.rs b/kube-custom-resources-rs/src/capsule_clastix_io/v1alpha1/capsuleconfigurations.rs index 6f97a63fb..f306b3412 100644 --- a/kube-custom-resources-rs/src/capsule_clastix_io/v1alpha1/capsuleconfigurations.rs +++ b/kube-custom-resources-rs/src/capsule_clastix_io/v1alpha1/capsuleconfigurations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/clastix/capsule/capsule.clastix.io/v1alpha1/capsuleconfigurations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/clastix/capsule/capsule.clastix.io/v1alpha1/capsuleconfigurations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/capsule_clastix_io/v1alpha1/tenants.rs b/kube-custom-resources-rs/src/capsule_clastix_io/v1alpha1/tenants.rs index c9f8f1aa3..2bf537514 100644 --- a/kube-custom-resources-rs/src/capsule_clastix_io/v1alpha1/tenants.rs +++ b/kube-custom-resources-rs/src/capsule_clastix_io/v1alpha1/tenants.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/clastix/capsule/capsule.clastix.io/v1alpha1/tenants.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/clastix/capsule/capsule.clastix.io/v1alpha1/tenants.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -48,7 +48,7 @@ pub struct TenantSpec { pub storage_classes: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantAdditionalRoleBindings { #[serde(rename = "clusterRoleName")] pub cluster_role_name: String, @@ -57,7 +57,7 @@ pub struct TenantAdditionalRoleBindings { } /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantAdditionalRoleBindingsSubjects { /// APIGroup holds the API group of the referenced subject. Defaults to "" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io" for User and Group subjects. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -71,7 +71,7 @@ pub struct TenantAdditionalRoleBindingsSubjects { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantContainerRegistries { #[serde(default, skip_serializing_if = "Option::is_none")] pub allowed: Option>, @@ -79,12 +79,12 @@ pub struct TenantContainerRegistries { pub allowed_regex: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantExternalServiceIPs { pub allowed: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantIngressClasses { #[serde(default, skip_serializing_if = "Option::is_none")] pub allowed: Option>, @@ -92,7 +92,7 @@ pub struct TenantIngressClasses { pub allowed_regex: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantIngressHostnames { #[serde(default, skip_serializing_if = "Option::is_none")] pub allowed: Option>, @@ -101,14 +101,14 @@ pub struct TenantIngressHostnames { } /// LimitRangeSpec defines a min/max usage limit for resources that match on kind. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantLimitRanges { /// Limits is the list of LimitRangeItem objects that are enforced. pub limits: Vec, } /// LimitRangeItem defines a min/max usage limit for any resource that matches on kind. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantLimitRangesLimits { /// Default resource requirement limit value by resource name if resource limit is omitted. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -130,7 +130,7 @@ pub struct TenantLimitRangesLimits { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNamespacesMetadata { #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalAnnotations")] pub additional_annotations: Option>, @@ -139,7 +139,7 @@ pub struct TenantNamespacesMetadata { } /// NetworkPolicySpec provides the specification of a NetworkPolicy -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPolicies { /// egress is a list of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 #[serde(default, skip_serializing_if = "Option::is_none")] @@ -156,7 +156,7 @@ pub struct TenantNetworkPolicies { } /// NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8 -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesEgress { /// ports is a list of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -167,7 +167,7 @@ pub struct TenantNetworkPoliciesEgress { } /// NetworkPolicyPort describes a port to allow traffic on -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesEgressPorts { /// endPort indicates that the range of ports from port to endPort if set, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port. #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] @@ -181,7 +181,7 @@ pub struct TenantNetworkPoliciesEgressPorts { } /// NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesEgressTo { /// ipBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ipBlock")] @@ -197,7 +197,7 @@ pub struct TenantNetworkPoliciesEgressTo { } /// ipBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesEgressToIpBlock { /// cidr is a string representing the IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64" pub cidr: String, @@ -208,7 +208,7 @@ pub struct TenantNetworkPoliciesEgressToIpBlock { /// namespaceSelector selects namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. /// If podSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the namespaces selected by namespaceSelector. Otherwise it selects all pods in the namespaces selected by namespaceSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesEgressToNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -219,7 +219,7 @@ pub struct TenantNetworkPoliciesEgressToNamespaceSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesEgressToNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -232,7 +232,7 @@ pub struct TenantNetworkPoliciesEgressToNamespaceSelectorMatchExpressions { /// podSelector is a label selector which selects pods. This field follows standard label selector semantics; if present but empty, it selects all pods. /// If namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the pods matching podSelector in the policy's own namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesEgressToPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -243,7 +243,7 @@ pub struct TenantNetworkPoliciesEgressToPodSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesEgressToPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -255,7 +255,7 @@ pub struct TenantNetworkPoliciesEgressToPodSelectorMatchExpressions { } /// NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesIngress { /// from is a list of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -266,7 +266,7 @@ pub struct TenantNetworkPoliciesIngress { } /// NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesIngressFrom { /// ipBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ipBlock")] @@ -282,7 +282,7 @@ pub struct TenantNetworkPoliciesIngressFrom { } /// ipBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesIngressFromIpBlock { /// cidr is a string representing the IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64" pub cidr: String, @@ -293,7 +293,7 @@ pub struct TenantNetworkPoliciesIngressFromIpBlock { /// namespaceSelector selects namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. /// If podSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the namespaces selected by namespaceSelector. Otherwise it selects all pods in the namespaces selected by namespaceSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesIngressFromNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -304,7 +304,7 @@ pub struct TenantNetworkPoliciesIngressFromNamespaceSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesIngressFromNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -317,7 +317,7 @@ pub struct TenantNetworkPoliciesIngressFromNamespaceSelectorMatchExpressions { /// podSelector is a label selector which selects pods. This field follows standard label selector semantics; if present but empty, it selects all pods. /// If namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the pods matching podSelector in the policy's own namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesIngressFromPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -328,7 +328,7 @@ pub struct TenantNetworkPoliciesIngressFromPodSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesIngressFromPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -340,7 +340,7 @@ pub struct TenantNetworkPoliciesIngressFromPodSelectorMatchExpressions { } /// NetworkPolicyPort describes a port to allow traffic on -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesIngressPorts { /// endPort indicates that the range of ports from port to endPort if set, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port. #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] @@ -354,7 +354,7 @@ pub struct TenantNetworkPoliciesIngressPorts { } /// podSelector selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -365,7 +365,7 @@ pub struct TenantNetworkPoliciesPodSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -391,7 +391,7 @@ pub enum TenantOwnerKind { } /// ResourceQuotaSpec defines the desired hard limits to enforce for Quota. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantResourceQuotas { /// hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -405,7 +405,7 @@ pub struct TenantResourceQuotas { } /// scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantResourceQuotasScopeSelector { /// A list of scope selector requirements by scope of the resources. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -413,7 +413,7 @@ pub struct TenantResourceQuotasScopeSelector { } /// A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantResourceQuotasScopeSelectorMatchExpressions { /// Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. pub operator: String, @@ -425,7 +425,7 @@ pub struct TenantResourceQuotasScopeSelectorMatchExpressions { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantServicesMetadata { #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalAnnotations")] pub additional_annotations: Option>, @@ -433,7 +433,7 @@ pub struct TenantServicesMetadata { pub additional_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantStorageClasses { #[serde(default, skip_serializing_if = "Option::is_none")] pub allowed: Option>, @@ -442,7 +442,7 @@ pub struct TenantStorageClasses { } /// TenantStatus defines the observed state of Tenant. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub namespaces: Option>, diff --git a/kube-custom-resources-rs/src/capsule_clastix_io/v1beta1/tenants.rs b/kube-custom-resources-rs/src/capsule_clastix_io/v1beta1/tenants.rs index 4b9823a08..7a1b937a2 100644 --- a/kube-custom-resources-rs/src/capsule_clastix_io/v1beta1/tenants.rs +++ b/kube-custom-resources-rs/src/capsule_clastix_io/v1beta1/tenants.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/clastix/capsule/capsule.clastix.io/v1beta1/tenants.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/clastix/capsule/capsule.clastix.io/v1beta1/tenants.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// TenantSpec defines the desired state of Tenant. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "capsule.clastix.io", version = "v1beta1", kind = "Tenant", plural = "tenants")] #[kube(status = "TenantStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct TenantSpec { /// Specifies additional RoleBindings assigned to the Tenant. Capsule will ensure that all namespaces in the Tenant always contain the RoleBinding for the given ClusterRole. Optional. @@ -58,7 +59,7 @@ pub struct TenantSpec { pub storage_classes: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantAdditionalRoleBindings { #[serde(rename = "clusterRoleName")] pub cluster_role_name: String, @@ -68,7 +69,7 @@ pub struct TenantAdditionalRoleBindings { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantAdditionalRoleBindingsSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -87,7 +88,7 @@ pub struct TenantAdditionalRoleBindingsSubjects { } /// Specifies the trusted Image Registries assigned to the Tenant. Capsule assures that all Pods resources created in the Tenant can use only one of the allowed trusted registries. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantContainerRegistries { #[serde(default, skip_serializing_if = "Option::is_none")] pub allowed: Option>, @@ -96,7 +97,7 @@ pub struct TenantContainerRegistries { } /// Specifies options for the Ingress resources, such as allowed hostnames and IngressClass. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantIngressOptions { /// Specifies the allowed IngressClasses assigned to the Tenant. Capsule assures that all Ingress resources created in the Tenant can use only one of the allowed IngressClasses. Optional. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowedClasses")] @@ -122,7 +123,7 @@ pub struct TenantIngressOptions { } /// Specifies the allowed IngressClasses assigned to the Tenant. Capsule assures that all Ingress resources created in the Tenant can use only one of the allowed IngressClasses. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantIngressOptionsAllowedClasses { #[serde(default, skip_serializing_if = "Option::is_none")] pub allowed: Option>, @@ -131,7 +132,7 @@ pub struct TenantIngressOptionsAllowedClasses { } /// Specifies the allowed hostnames in Ingresses for the given Tenant. Capsule assures that all Ingress resources created in the Tenant can use only one of the allowed hostnames. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantIngressOptionsAllowedHostnames { #[serde(default, skip_serializing_if = "Option::is_none")] pub allowed: Option>, @@ -149,21 +150,21 @@ pub enum TenantIngressOptionsHostnameCollisionScope { } /// Specifies the resource min/max usage restrictions to the Tenant. The assigned values are inherited by any namespace created in the Tenant. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantLimitRanges { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } /// LimitRangeSpec defines a min/max usage limit for resources that match on kind. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantLimitRangesItems { /// Limits is the list of LimitRangeItem objects that are enforced. pub limits: Vec, } /// LimitRangeItem defines a min/max usage limit for any resource that matches on kind. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantLimitRangesItemsLimits { /// Default resource requirement limit value by resource name if resource limit is omitted. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -186,7 +187,7 @@ pub struct TenantLimitRangesItemsLimits { } /// Specifies options for the Namespaces, such as additional metadata or maximum number of namespaces allowed for that Tenant. Once the namespace quota assigned to the Tenant has been reached, the Tenant owner cannot create further namespaces. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNamespaceOptions { /// Specifies additional labels and annotations the Capsule operator places on any Namespace resource in the Tenant. Optional. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalMetadata")] @@ -197,7 +198,7 @@ pub struct TenantNamespaceOptions { } /// Specifies additional labels and annotations the Capsule operator places on any Namespace resource in the Tenant. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNamespaceOptionsAdditionalMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -206,14 +207,14 @@ pub struct TenantNamespaceOptionsAdditionalMetadata { } /// Specifies the NetworkPolicies assigned to the Tenant. The assigned NetworkPolicies are inherited by any namespace created in the Tenant. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPolicies { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } /// NetworkPolicySpec provides the specification of a NetworkPolicy -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItems { /// egress is a list of egress rules to be applied to the selected pods. Outgoing traffic /// is allowed if there are no NetworkPolicies selecting the pod (and cluster policy @@ -258,7 +259,7 @@ pub struct TenantNetworkPoliciesItems { /// NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods /// matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. /// This type is beta-level in 1.8 -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsEgress { /// ports is a list of destination ports for outgoing traffic. /// Each item in this list is combined using a logical OR. If this field is @@ -277,7 +278,7 @@ pub struct TenantNetworkPoliciesItemsEgress { } /// NetworkPolicyPort describes a port to allow traffic on -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsEgressPorts { /// endPort indicates that the range of ports from port to endPort if set, inclusive, /// should be allowed by the policy. This field cannot be defined if the port field @@ -299,7 +300,7 @@ pub struct TenantNetworkPoliciesItemsEgressPorts { /// NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of /// fields are allowed -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsEgressTo { /// ipBlock defines policy on a particular IPBlock. If this field is set then /// neither of the other fields can be. @@ -327,7 +328,7 @@ pub struct TenantNetworkPoliciesItemsEgressTo { /// ipBlock defines policy on a particular IPBlock. If this field is set then /// neither of the other fields can be. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsEgressToIpBlock { /// cidr is a string representing the IPBlock /// Valid examples are "192.168.1.0/24" or "2001:db8::/64" @@ -346,7 +347,7 @@ pub struct TenantNetworkPoliciesItemsEgressToIpBlock { /// If podSelector is also set, then the NetworkPolicyPeer as a whole selects /// the pods matching podSelector in the namespaces selected by namespaceSelector. /// Otherwise it selects all pods in the namespaces selected by namespaceSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsEgressToNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -360,7 +361,7 @@ pub struct TenantNetworkPoliciesItemsEgressToNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsEgressToNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -382,7 +383,7 @@ pub struct TenantNetworkPoliciesItemsEgressToNamespaceSelectorMatchExpressions { /// If namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects /// the pods matching podSelector in the Namespaces selected by NamespaceSelector. /// Otherwise it selects the pods matching podSelector in the policy's own namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsEgressToPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -396,7 +397,7 @@ pub struct TenantNetworkPoliciesItemsEgressToPodSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsEgressToPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -413,7 +414,7 @@ pub struct TenantNetworkPoliciesItemsEgressToPodSelectorMatchExpressions { /// NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods /// matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsIngress { /// from is a list of sources which should be able to access the pods selected for this rule. /// Items in this list are combined using a logical OR operation. If this field is @@ -433,7 +434,7 @@ pub struct TenantNetworkPoliciesItemsIngress { /// NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of /// fields are allowed -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsIngressFrom { /// ipBlock defines policy on a particular IPBlock. If this field is set then /// neither of the other fields can be. @@ -461,7 +462,7 @@ pub struct TenantNetworkPoliciesItemsIngressFrom { /// ipBlock defines policy on a particular IPBlock. If this field is set then /// neither of the other fields can be. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsIngressFromIpBlock { /// cidr is a string representing the IPBlock /// Valid examples are "192.168.1.0/24" or "2001:db8::/64" @@ -480,7 +481,7 @@ pub struct TenantNetworkPoliciesItemsIngressFromIpBlock { /// If podSelector is also set, then the NetworkPolicyPeer as a whole selects /// the pods matching podSelector in the namespaces selected by namespaceSelector. /// Otherwise it selects all pods in the namespaces selected by namespaceSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsIngressFromNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -494,7 +495,7 @@ pub struct TenantNetworkPoliciesItemsIngressFromNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsIngressFromNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -516,7 +517,7 @@ pub struct TenantNetworkPoliciesItemsIngressFromNamespaceSelectorMatchExpression /// If namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects /// the pods matching podSelector in the Namespaces selected by NamespaceSelector. /// Otherwise it selects the pods matching podSelector in the policy's own namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsIngressFromPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -530,7 +531,7 @@ pub struct TenantNetworkPoliciesItemsIngressFromPodSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsIngressFromPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -546,7 +547,7 @@ pub struct TenantNetworkPoliciesItemsIngressFromPodSelectorMatchExpressions { } /// NetworkPolicyPort describes a port to allow traffic on -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsIngressPorts { /// endPort indicates that the range of ports from port to endPort if set, inclusive, /// should be allowed by the policy. This field cannot be defined if the port field @@ -572,7 +573,7 @@ pub struct TenantNetworkPoliciesItemsIngressPorts { /// the ingress rules for each are combined additively. /// This field is NOT optional and follows standard label selector semantics. /// An empty podSelector matches all pods in this namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -586,7 +587,7 @@ pub struct TenantNetworkPoliciesItemsPodSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -634,7 +635,7 @@ pub enum TenantOwnersProxySettingsKind { } /// Specifies the allowed priorityClasses assigned to the Tenant. Capsule assures that all Pods resources created in the Tenant can use only one of the allowed PriorityClasses. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantPriorityClasses { #[serde(default, skip_serializing_if = "Option::is_none")] pub allowed: Option>, @@ -643,7 +644,7 @@ pub struct TenantPriorityClasses { } /// Specifies a list of ResourceQuota resources assigned to the Tenant. The assigned values are inherited by any namespace created in the Tenant. The Capsule operator aggregates ResourceQuota at Tenant level, so that the hard quota is never crossed for the given Tenant. This permits the Tenant owner to consume resources in the Tenant regardless of the namespace. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantResourceQuotas { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -653,7 +654,7 @@ pub struct TenantResourceQuotas { } /// ResourceQuotaSpec defines the desired hard limits to enforce for Quota. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantResourceQuotasItems { /// hard is the set of desired hard limits for each named resource. /// More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ @@ -673,7 +674,7 @@ pub struct TenantResourceQuotasItems { /// scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota /// but expressed using ScopeSelectorOperator in combination with possible values. /// For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantResourceQuotasItemsScopeSelector { /// A list of scope selector requirements by scope of the resources. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -682,7 +683,7 @@ pub struct TenantResourceQuotasItemsScopeSelector { /// A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator /// that relates the scope name and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantResourceQuotasItemsScopeSelectorMatchExpressions { /// Represents a scope's relationship to a set of values. /// Valid operators are In, NotIn, Exists, DoesNotExist. @@ -706,7 +707,7 @@ pub enum TenantResourceQuotasScope { } /// Specifies options for the Service, such as additional metadata or block of certain type of Services. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantServiceOptions { /// Specifies additional labels and annotations the Capsule operator places on any Service resource in the Tenant. Optional. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalMetadata")] @@ -726,7 +727,7 @@ pub struct TenantServiceOptions { } /// Specifies additional labels and annotations the Capsule operator places on any Service resource in the Tenant. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantServiceOptionsAdditionalMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -735,7 +736,7 @@ pub struct TenantServiceOptionsAdditionalMetadata { } /// Block or deny certain type of Services. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantServiceOptionsAllowedServices { /// Specifies if ExternalName service type resources are allowed for the Tenant. Default is true. Optional. #[serde(default, skip_serializing_if = "Option::is_none", rename = "externalName")] @@ -749,13 +750,13 @@ pub struct TenantServiceOptionsAllowedServices { } /// Specifies the external IPs that can be used in Services with type ClusterIP. An empty list means no IPs are allowed. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantServiceOptionsExternalIPs { pub allowed: Vec, } /// Define the annotations that a Tenant Owner cannot set for their Service resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantServiceOptionsForbiddenAnnotations { #[serde(default, skip_serializing_if = "Option::is_none")] pub denied: Option>, @@ -764,7 +765,7 @@ pub struct TenantServiceOptionsForbiddenAnnotations { } /// Define the labels that a Tenant Owner cannot set for their Service resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantServiceOptionsForbiddenLabels { #[serde(default, skip_serializing_if = "Option::is_none")] pub denied: Option>, @@ -773,7 +774,7 @@ pub struct TenantServiceOptionsForbiddenLabels { } /// Specifies the allowed StorageClasses assigned to the Tenant. Capsule assures that all PersistentVolumeClaim resources created in the Tenant can use only one of the allowed StorageClasses. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantStorageClasses { #[serde(default, skip_serializing_if = "Option::is_none")] pub allowed: Option>, diff --git a/kube-custom-resources-rs/src/capsule_clastix_io/v1beta2/capsuleconfigurations.rs b/kube-custom-resources-rs/src/capsule_clastix_io/v1beta2/capsuleconfigurations.rs index 6aceaf60d..1c134b613 100644 --- a/kube-custom-resources-rs/src/capsule_clastix_io/v1beta2/capsuleconfigurations.rs +++ b/kube-custom-resources-rs/src/capsule_clastix_io/v1beta2/capsuleconfigurations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/clastix/capsule/capsule.clastix.io/v1beta2/capsuleconfigurations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/clastix/capsule/capsule.clastix.io/v1beta2/capsuleconfigurations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/capsule_clastix_io/v1beta2/tenants.rs b/kube-custom-resources-rs/src/capsule_clastix_io/v1beta2/tenants.rs index 3a30cae82..d5c58f190 100644 --- a/kube-custom-resources-rs/src/capsule_clastix_io/v1beta2/tenants.rs +++ b/kube-custom-resources-rs/src/capsule_clastix_io/v1beta2/tenants.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/clastix/capsule/capsule.clastix.io/v1beta2/tenants.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/clastix/capsule/capsule.clastix.io/v1beta2/tenants.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// TenantSpec defines the desired state of Tenant. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "capsule.clastix.io", version = "v1beta2", kind = "Tenant", plural = "tenants")] #[kube(status = "TenantStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct TenantSpec { /// Specifies additional RoleBindings assigned to the Tenant. Capsule will ensure that all namespaces in the Tenant always contain the RoleBinding for the given ClusterRole. Optional. @@ -79,7 +80,7 @@ pub struct TenantSpec { pub storage_classes: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantAdditionalRoleBindings { #[serde(rename = "clusterRoleName")] pub cluster_role_name: String, @@ -89,7 +90,7 @@ pub struct TenantAdditionalRoleBindings { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantAdditionalRoleBindingsSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -108,7 +109,7 @@ pub struct TenantAdditionalRoleBindingsSubjects { } /// Specifies the trusted Image Registries assigned to the Tenant. Capsule assures that all Pods resources created in the Tenant can use only one of the allowed trusted registries. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantContainerRegistries { #[serde(default, skip_serializing_if = "Option::is_none")] pub allowed: Option>, @@ -117,7 +118,7 @@ pub struct TenantContainerRegistries { } /// Specifies options for the Ingress resources, such as allowed hostnames and IngressClass. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantIngressOptions { /// Toggles the ability for Ingress resources created in a Tenant to have a hostname wildcard. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowWildcardHostnames")] @@ -152,7 +153,7 @@ pub struct TenantIngressOptions { /// Capsule assures that all Ingress resources created in the Tenant can use only one of the allowed IngressClasses. /// A default value can be specified, and all the Ingress resources created will inherit the declared class. /// Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantIngressOptionsAllowedClasses { #[serde(default, skip_serializing_if = "Option::is_none")] pub allowed: Option>, @@ -172,7 +173,7 @@ pub struct TenantIngressOptionsAllowedClasses { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantIngressOptionsAllowedClassesMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -188,7 +189,7 @@ pub struct TenantIngressOptionsAllowedClassesMatchExpressions { } /// Specifies the allowed hostnames in Ingresses for the given Tenant. Capsule assures that all Ingress resources created in the Tenant can use only one of the allowed hostnames. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantIngressOptionsAllowedHostnames { #[serde(default, skip_serializing_if = "Option::is_none")] pub allowed: Option>, @@ -206,21 +207,21 @@ pub enum TenantIngressOptionsHostnameCollisionScope { } /// Specifies the resource min/max usage restrictions to the Tenant. The assigned values are inherited by any namespace created in the Tenant. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantLimitRanges { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } /// LimitRangeSpec defines a min/max usage limit for resources that match on kind. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantLimitRangesItems { /// Limits is the list of LimitRangeItem objects that are enforced. pub limits: Vec, } /// LimitRangeItem defines a min/max usage limit for any resource that matches on kind. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantLimitRangesItemsLimits { /// Default resource requirement limit value by resource name if resource limit is omitted. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -243,7 +244,7 @@ pub struct TenantLimitRangesItemsLimits { } /// Specifies options for the Namespaces, such as additional metadata or maximum number of namespaces allowed for that Tenant. Once the namespace quota assigned to the Tenant has been reached, the Tenant owner cannot create further namespaces. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNamespaceOptions { /// Specifies additional labels and annotations the Capsule operator places on any Namespace resource in the Tenant. Optional. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalMetadata")] @@ -260,7 +261,7 @@ pub struct TenantNamespaceOptions { } /// Specifies additional labels and annotations the Capsule operator places on any Namespace resource in the Tenant. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNamespaceOptionsAdditionalMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -269,7 +270,7 @@ pub struct TenantNamespaceOptionsAdditionalMetadata { } /// Define the annotations that a Tenant Owner cannot set for their Namespace resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNamespaceOptionsForbiddenAnnotations { #[serde(default, skip_serializing_if = "Option::is_none")] pub denied: Option>, @@ -278,7 +279,7 @@ pub struct TenantNamespaceOptionsForbiddenAnnotations { } /// Define the labels that a Tenant Owner cannot set for their Namespace resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNamespaceOptionsForbiddenLabels { #[serde(default, skip_serializing_if = "Option::is_none")] pub denied: Option>, @@ -287,14 +288,14 @@ pub struct TenantNamespaceOptionsForbiddenLabels { } /// Specifies the NetworkPolicies assigned to the Tenant. The assigned NetworkPolicies are inherited by any namespace created in the Tenant. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPolicies { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } /// NetworkPolicySpec provides the specification of a NetworkPolicy -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItems { /// egress is a list of egress rules to be applied to the selected pods. Outgoing traffic /// is allowed if there are no NetworkPolicies selecting the pod (and cluster policy @@ -339,7 +340,7 @@ pub struct TenantNetworkPoliciesItems { /// NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods /// matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. /// This type is beta-level in 1.8 -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsEgress { /// ports is a list of destination ports for outgoing traffic. /// Each item in this list is combined using a logical OR. If this field is @@ -358,7 +359,7 @@ pub struct TenantNetworkPoliciesItemsEgress { } /// NetworkPolicyPort describes a port to allow traffic on -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsEgressPorts { /// endPort indicates that the range of ports from port to endPort if set, inclusive, /// should be allowed by the policy. This field cannot be defined if the port field @@ -380,7 +381,7 @@ pub struct TenantNetworkPoliciesItemsEgressPorts { /// NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of /// fields are allowed -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsEgressTo { /// ipBlock defines policy on a particular IPBlock. If this field is set then /// neither of the other fields can be. @@ -408,7 +409,7 @@ pub struct TenantNetworkPoliciesItemsEgressTo { /// ipBlock defines policy on a particular IPBlock. If this field is set then /// neither of the other fields can be. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsEgressToIpBlock { /// cidr is a string representing the IPBlock /// Valid examples are "192.168.1.0/24" or "2001:db8::/64" @@ -427,7 +428,7 @@ pub struct TenantNetworkPoliciesItemsEgressToIpBlock { /// If podSelector is also set, then the NetworkPolicyPeer as a whole selects /// the pods matching podSelector in the namespaces selected by namespaceSelector. /// Otherwise it selects all pods in the namespaces selected by namespaceSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsEgressToNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -441,7 +442,7 @@ pub struct TenantNetworkPoliciesItemsEgressToNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsEgressToNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -463,7 +464,7 @@ pub struct TenantNetworkPoliciesItemsEgressToNamespaceSelectorMatchExpressions { /// If namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects /// the pods matching podSelector in the Namespaces selected by NamespaceSelector. /// Otherwise it selects the pods matching podSelector in the policy's own namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsEgressToPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -477,7 +478,7 @@ pub struct TenantNetworkPoliciesItemsEgressToPodSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsEgressToPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -494,7 +495,7 @@ pub struct TenantNetworkPoliciesItemsEgressToPodSelectorMatchExpressions { /// NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods /// matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsIngress { /// from is a list of sources which should be able to access the pods selected for this rule. /// Items in this list are combined using a logical OR operation. If this field is @@ -514,7 +515,7 @@ pub struct TenantNetworkPoliciesItemsIngress { /// NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of /// fields are allowed -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsIngressFrom { /// ipBlock defines policy on a particular IPBlock. If this field is set then /// neither of the other fields can be. @@ -542,7 +543,7 @@ pub struct TenantNetworkPoliciesItemsIngressFrom { /// ipBlock defines policy on a particular IPBlock. If this field is set then /// neither of the other fields can be. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsIngressFromIpBlock { /// cidr is a string representing the IPBlock /// Valid examples are "192.168.1.0/24" or "2001:db8::/64" @@ -561,7 +562,7 @@ pub struct TenantNetworkPoliciesItemsIngressFromIpBlock { /// If podSelector is also set, then the NetworkPolicyPeer as a whole selects /// the pods matching podSelector in the namespaces selected by namespaceSelector. /// Otherwise it selects all pods in the namespaces selected by namespaceSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsIngressFromNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -575,7 +576,7 @@ pub struct TenantNetworkPoliciesItemsIngressFromNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsIngressFromNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -597,7 +598,7 @@ pub struct TenantNetworkPoliciesItemsIngressFromNamespaceSelectorMatchExpression /// If namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects /// the pods matching podSelector in the Namespaces selected by NamespaceSelector. /// Otherwise it selects the pods matching podSelector in the policy's own namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsIngressFromPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -611,7 +612,7 @@ pub struct TenantNetworkPoliciesItemsIngressFromPodSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsIngressFromPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -627,7 +628,7 @@ pub struct TenantNetworkPoliciesItemsIngressFromPodSelectorMatchExpressions { } /// NetworkPolicyPort describes a port to allow traffic on -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsIngressPorts { /// endPort indicates that the range of ports from port to endPort if set, inclusive, /// should be allowed by the policy. This field cannot be defined if the port field @@ -653,7 +654,7 @@ pub struct TenantNetworkPoliciesItemsIngressPorts { /// the ingress rules for each are combined additively. /// This field is NOT optional and follows standard label selector semantics. /// An empty podSelector matches all pods in this namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -667,7 +668,7 @@ pub struct TenantNetworkPoliciesItemsPodSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantNetworkPoliciesItemsPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -720,7 +721,7 @@ pub enum TenantOwnersProxySettingsKind { } /// Specifies options for the Pods deployed in the Tenant namespaces, such as additional metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantPodOptions { /// Specifies additional labels and annotations the Capsule operator places on any Pod resource in the Tenant. Optional. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalMetadata")] @@ -728,7 +729,7 @@ pub struct TenantPodOptions { } /// Specifies additional labels and annotations the Capsule operator places on any Pod resource in the Tenant. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantPodOptionsAdditionalMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -740,7 +741,7 @@ pub struct TenantPodOptionsAdditionalMetadata { /// Capsule assures that all Pods resources created in the Tenant can use only one of the allowed PriorityClasses. /// A default value can be specified, and all the Pod resources created will inherit the declared class. /// Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantPriorityClasses { #[serde(default, skip_serializing_if = "Option::is_none")] pub allowed: Option>, @@ -760,7 +761,7 @@ pub struct TenantPriorityClasses { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantPriorityClassesMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -776,7 +777,7 @@ pub struct TenantPriorityClassesMatchExpressions { } /// Specifies a list of ResourceQuota resources assigned to the Tenant. The assigned values are inherited by any namespace created in the Tenant. The Capsule operator aggregates ResourceQuota at Tenant level, so that the hard quota is never crossed for the given Tenant. This permits the Tenant owner to consume resources in the Tenant regardless of the namespace. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantResourceQuotas { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -786,7 +787,7 @@ pub struct TenantResourceQuotas { } /// ResourceQuotaSpec defines the desired hard limits to enforce for Quota. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantResourceQuotasItems { /// hard is the set of desired hard limits for each named resource. /// More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ @@ -806,7 +807,7 @@ pub struct TenantResourceQuotasItems { /// scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota /// but expressed using ScopeSelectorOperator in combination with possible values. /// For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantResourceQuotasItemsScopeSelector { /// A list of scope selector requirements by scope of the resources. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -815,7 +816,7 @@ pub struct TenantResourceQuotasItemsScopeSelector { /// A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator /// that relates the scope name and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantResourceQuotasItemsScopeSelectorMatchExpressions { /// Represents a scope's relationship to a set of values. /// Valid operators are In, NotIn, Exists, DoesNotExist. @@ -841,7 +842,7 @@ pub enum TenantResourceQuotasScope { /// Specifies the allowed RuntimeClasses assigned to the Tenant. /// Capsule assures that all Pods resources created in the Tenant can use only one of the allowed RuntimeClasses. /// Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantRuntimeClasses { #[serde(default, skip_serializing_if = "Option::is_none")] pub allowed: Option>, @@ -859,7 +860,7 @@ pub struct TenantRuntimeClasses { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantRuntimeClassesMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -875,7 +876,7 @@ pub struct TenantRuntimeClassesMatchExpressions { } /// Specifies options for the Service, such as additional metadata or block of certain type of Services. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantServiceOptions { /// Specifies additional labels and annotations the Capsule operator places on any Service resource in the Tenant. Optional. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalMetadata")] @@ -895,7 +896,7 @@ pub struct TenantServiceOptions { } /// Specifies additional labels and annotations the Capsule operator places on any Service resource in the Tenant. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantServiceOptionsAdditionalMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -904,7 +905,7 @@ pub struct TenantServiceOptionsAdditionalMetadata { } /// Block or deny certain type of Services. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantServiceOptionsAllowedServices { /// Specifies if ExternalName service type resources are allowed for the Tenant. Default is true. Optional. #[serde(default, skip_serializing_if = "Option::is_none", rename = "externalName")] @@ -918,13 +919,13 @@ pub struct TenantServiceOptionsAllowedServices { } /// Specifies the external IPs that can be used in Services with type ClusterIP. An empty list means no IPs are allowed. Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantServiceOptionsExternalIPs { pub allowed: Vec, } /// Define the annotations that a Tenant Owner cannot set for their Service resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantServiceOptionsForbiddenAnnotations { #[serde(default, skip_serializing_if = "Option::is_none")] pub denied: Option>, @@ -933,7 +934,7 @@ pub struct TenantServiceOptionsForbiddenAnnotations { } /// Define the labels that a Tenant Owner cannot set for their Service resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantServiceOptionsForbiddenLabels { #[serde(default, skip_serializing_if = "Option::is_none")] pub denied: Option>, @@ -945,7 +946,7 @@ pub struct TenantServiceOptionsForbiddenLabels { /// Capsule assures that all PersistentVolumeClaim resources created in the Tenant can use only one of the allowed StorageClasses. /// A default value can be specified, and all the PersistentVolumeClaim resources created will inherit the declared class. /// Optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantStorageClasses { #[serde(default, skip_serializing_if = "Option::is_none")] pub allowed: Option>, @@ -965,7 +966,7 @@ pub struct TenantStorageClasses { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantStorageClassesMatchExpressions { /// key is the label key that the selector applies to. pub key: String, diff --git a/kube-custom-resources-rs/src/cassandra_datastax_com/v1beta1/cassandradatacenters.rs b/kube-custom-resources-rs/src/cassandra_datastax_com/v1beta1/cassandradatacenters.rs index 372fe930c..1711a2bc3 100644 --- a/kube-custom-resources-rs/src/cassandra_datastax_com/v1beta1/cassandradatacenters.rs +++ b/kube-custom-resources-rs/src/cassandra_datastax_com/v1beta1/cassandradatacenters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/k8ssandra/cass-operator/cassandra.datastax.com/v1beta1/cassandradatacenters.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/k8ssandra/cass-operator/cassandra.datastax.com/v1beta1/cassandradatacenters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -182,7 +182,7 @@ pub struct CassandraDatacenterSpec { /// AdditionalServiceConfig allows to define additional parameters that are included in the created Services. Note, user can override values set by cass-operator and doing so could break cass-operator functionality. /// Avoid label "cass-operator" and anything that starts with "cassandra.datastax.com/" -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterAdditionalServiceConfig { /// ServiceConfigAdditions exposes additional options for each service #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalSeedService")] @@ -202,7 +202,7 @@ pub struct CassandraDatacenterAdditionalServiceConfig { } /// ServiceConfigAdditions exposes additional options for each service -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterAdditionalServiceConfigAdditionalSeedService { #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalAnnotations")] pub additional_annotations: Option>, @@ -211,7 +211,7 @@ pub struct CassandraDatacenterAdditionalServiceConfigAdditionalSeedService { } /// ServiceConfigAdditions exposes additional options for each service -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterAdditionalServiceConfigAllpodsService { #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalAnnotations")] pub additional_annotations: Option>, @@ -220,7 +220,7 @@ pub struct CassandraDatacenterAdditionalServiceConfigAllpodsService { } /// ServiceConfigAdditions exposes additional options for each service -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterAdditionalServiceConfigDcService { #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalAnnotations")] pub additional_annotations: Option>, @@ -229,7 +229,7 @@ pub struct CassandraDatacenterAdditionalServiceConfigDcService { } /// ServiceConfigAdditions exposes additional options for each service -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterAdditionalServiceConfigNodePortService { #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalAnnotations")] pub additional_annotations: Option>, @@ -238,7 +238,7 @@ pub struct CassandraDatacenterAdditionalServiceConfigNodePortService { } /// ServiceConfigAdditions exposes additional options for each service -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterAdditionalServiceConfigSeedService { #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalAnnotations")] pub additional_annotations: Option>, @@ -247,7 +247,7 @@ pub struct CassandraDatacenterAdditionalServiceConfigSeedService { } /// CDC allows configuration of the change data capture agent which can run within the Management API container. Use it to send data to Pulsar. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterCdc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cdcConcurrentProcessors")] pub cdc_concurrent_processors: Option, @@ -296,7 +296,7 @@ pub struct CassandraDatacenterCdc { } /// Kubernetes resource requests and limits per server config initialization container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterConfigBuilderResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -322,7 +322,7 @@ pub struct CassandraDatacenterConfigBuilderResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterConfigBuilderResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -330,7 +330,7 @@ pub struct CassandraDatacenterConfigBuilderResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterDseWorkloads { #[serde(default, skip_serializing_if = "Option::is_none", rename = "analyticsEnabled")] pub analytics_enabled: Option, @@ -341,7 +341,7 @@ pub struct CassandraDatacenterDseWorkloads { } /// Config for the Management API certificates -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterManagementApiAuth { #[serde(default, skip_serializing_if = "Option::is_none")] pub insecure: Option, @@ -349,11 +349,11 @@ pub struct CassandraDatacenterManagementApiAuth { pub manual: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterManagementApiAuthInsecure { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterManagementApiAuthManual { #[serde(rename = "clientSecretName")] pub client_secret_name: String, @@ -363,7 +363,7 @@ pub struct CassandraDatacenterManagementApiAuthManual { pub skip_secret_validation: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterNetworking { #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostNetwork")] pub host_network: Option, @@ -371,7 +371,7 @@ pub struct CassandraDatacenterNetworking { pub node_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterNetworkingNodePort { #[serde(default, skip_serializing_if = "Option::is_none")] pub internode: Option, @@ -384,7 +384,7 @@ pub struct CassandraDatacenterNetworkingNodePort { } /// PodTemplate provides customisation options (labels, annotations, affinity rules, resource requests, and so on) for the cassandra pods -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpec { /// Standard object's metadata. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata @@ -398,7 +398,7 @@ pub struct CassandraDatacenterPodTemplateSpec { /// Standard object's metadata. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -414,7 +414,7 @@ pub struct CassandraDatacenterPodTemplateSpecMetadata { /// Specification of the desired behavior of the pod. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpec { /// Optional duration in seconds the pod may be active on the node relative to /// StartTime before the system will actively try to mark it failed and kill associated containers. @@ -681,7 +681,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpec { } /// If specified, the pod's scheduling constraints -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -695,7 +695,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -719,7 +719,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: CassandraDatacenterPodTemplateSpecSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -728,7 +728,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityNodeAffinityPreferredDu } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -740,7 +740,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityNodeAffinityPreferredDu /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -758,7 +758,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityNodeAffinityPreferredDu /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -779,7 +779,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityNodeAffinityPreferredDu /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -789,7 +789,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityNodeAffinityRequiredDur /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -801,7 +801,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityNodeAffinityRequiredDur /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -819,7 +819,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityNodeAffinityRequiredDur /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -836,7 +836,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityNodeAffinityRequiredDur } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -861,7 +861,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -872,7 +872,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAffinityPreferredDur } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -924,7 +924,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAffinityPreferredDur /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -938,7 +938,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAffinityPreferredDur /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -958,7 +958,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAffinityPreferredDur /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -972,7 +972,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAffinityPreferredDur /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -993,7 +993,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAffinityPreferredDur /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1045,7 +1045,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAffinityRequiredDuri /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1059,7 +1059,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAffinityRequiredDuri /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1079,7 +1079,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAffinityRequiredDuri /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1093,7 +1093,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAffinityRequiredDuri /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1109,7 +1109,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAffinityRequiredDuri } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -1134,7 +1134,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1145,7 +1145,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAntiAffinityPreferre } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1197,7 +1197,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAntiAffinityPreferre /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1211,7 +1211,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAntiAffinityPreferre /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1231,7 +1231,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAntiAffinityPreferre /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1245,7 +1245,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAntiAffinityPreferre /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1266,7 +1266,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAntiAffinityPreferre /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1318,7 +1318,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAntiAffinityRequired /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1332,7 +1332,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAntiAffinityRequired /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1352,7 +1352,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAntiAffinityRequired /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1366,7 +1366,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAntiAffinityRequired /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1382,7 +1382,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecAffinityPodAntiAffinityRequired } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainers { /// Arguments to the entrypoint. /// The container image's CMD is used if this is not provided. @@ -1549,7 +1549,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -1570,7 +1570,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1589,7 +1589,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1605,7 +1605,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersEnvValueFromConfigMap /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1617,7 +1617,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersEnvValueFromFieldRef /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1630,7 +1630,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersEnvValueFromResourceF } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1645,7 +1645,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersEnvValueFromSecretKey } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -1659,7 +1659,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -1672,7 +1672,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -1686,7 +1686,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersEnvFromSecretRef { /// Actions that the management system should take in response to container lifecycle events. /// Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, /// the container is terminated and restarted according to its restart policy. @@ -1711,7 +1711,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecycle { /// the container is terminated and restarted according to its restart policy. /// Other management of the container blocks until the hook completes. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1730,7 +1730,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -1742,7 +1742,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecyclePostStartExe } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -1765,7 +1765,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecyclePostStartHtt } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -1775,7 +1775,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecyclePostStartHtt } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecyclePostStartSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -1784,7 +1784,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecyclePostStartSle /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1804,7 +1804,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecyclePostStartTcp /// period (unless delayed by finalizers). Other management of the container blocks until the hook completes /// or until the termination grace period is reached. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1823,7 +1823,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -1835,7 +1835,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecyclePreStopExec } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -1858,7 +1858,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecyclePreStopHttpG } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -1868,7 +1868,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecyclePreStopHttpG } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecyclePreStopSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -1877,7 +1877,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecyclePreStopSleep /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1892,7 +1892,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersLifecyclePreStopTcpSo /// Container will be restarted if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1942,7 +1942,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -1954,7 +1954,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1968,7 +1968,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -1991,7 +1991,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersLivenessProbeHttpGet } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2001,7 +2001,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersLivenessProbeHttpGetH } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2013,7 +2013,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersLivenessProbeTcpSocke } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersPorts { /// Number of port to expose on the pod's IP address. /// This must be a valid port number, 0 < x < 65536. @@ -2043,7 +2043,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersPorts { /// Container will be removed from service endpoints if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2093,7 +2093,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2105,7 +2105,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2119,7 +2119,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2142,7 +2142,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersReadinessProbeHttpGet } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2152,7 +2152,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersReadinessProbeHttpGet } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2164,7 +2164,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersReadinessProbeTcpSock } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. /// Supported values: cpu, memory. @@ -2179,7 +2179,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersResizePolicy { /// Compute Resources required by this container. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -2205,7 +2205,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -2216,7 +2216,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersResourcesClaims { /// SecurityContext defines the security options the container should be run with. /// If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. /// More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -2296,7 +2296,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersSecurityContext { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2311,7 +2311,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersSecurityContextCapabi /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2331,7 +2331,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersSecurityContextSeLinu /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -2354,7 +2354,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersSecurityContextSeccom /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -2385,7 +2385,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersSecurityContextWindow /// when it might take a long time to load data or warm a cache, than during steady-state operation. /// This cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2435,7 +2435,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2447,7 +2447,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2461,7 +2461,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2484,7 +2484,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersStartupProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2494,7 +2494,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersStartupProbeHttpGetHt } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2506,7 +2506,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersStartupProbeTcpSocket } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -2516,7 +2516,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -2549,7 +2549,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecContainersVolumeMounts { /// Specifies the DNS parameters of a pod. /// Parameters specified here will be merged to the generated DNS /// configuration based on DNSPolicy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecDnsConfig { /// A list of DNS name server IP addresses. /// This will be appended to the base nameservers generated from DNSPolicy. @@ -2570,7 +2570,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecDnsConfig { } /// PodDNSConfigOption defines DNS resolver options of a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecDnsConfigOptions { /// Required. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2588,7 +2588,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecDnsConfigOptions { /// /// To add an ephemeral container, use the ephemeralcontainers subresource of an existing /// Pod. Ephemeral containers may not be removed or restarted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainers { /// Arguments to the entrypoint. /// The image's CMD is used if this is not provided. @@ -2729,7 +2729,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -2750,7 +2750,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -2769,7 +2769,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersEnvValueFrom } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -2785,7 +2785,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersEnvValueFrom /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2797,7 +2797,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersEnvValueFrom /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2810,7 +2810,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersEnvValueFrom } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2825,7 +2825,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersEnvValueFrom } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -2839,7 +2839,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -2852,7 +2852,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersEnvFromConfi } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -2865,7 +2865,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersEnvFromSecre } /// Lifecycle is not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, /// the container is terminated and restarted according to its restart policy. @@ -2890,7 +2890,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecycle { /// the container is terminated and restarted according to its restart policy. /// Other management of the container blocks until the hook completes. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2909,7 +2909,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecyclePos } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2921,7 +2921,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecyclePos } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2944,7 +2944,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecyclePos } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2954,7 +2954,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecyclePos } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecyclePostStartSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -2963,7 +2963,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecyclePos /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2983,7 +2983,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecyclePos /// period (unless delayed by finalizers). Other management of the container blocks until the hook completes /// or until the termination grace period is reached. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3002,7 +3002,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecyclePre } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -3014,7 +3014,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecyclePre } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -3037,7 +3037,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecyclePre } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -3047,7 +3047,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecyclePre } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecyclePreStopSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -3056,7 +3056,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecyclePre /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3068,7 +3068,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLifecyclePre } /// Probes are not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3118,7 +3118,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLivenessProb } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -3130,7 +3130,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLivenessProb } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3144,7 +3144,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLivenessProb } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -3167,7 +3167,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLivenessProb } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -3177,7 +3177,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLivenessProb } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3189,7 +3189,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersLivenessProb } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersPorts { /// Number of port to expose on the pod's IP address. /// This must be a valid port number, 0 < x < 65536. @@ -3216,7 +3216,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersPorts { } /// Probes are not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3266,7 +3266,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersReadinessPro } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -3278,7 +3278,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersReadinessPro } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3292,7 +3292,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersReadinessPro } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -3315,7 +3315,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersReadinessPro } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -3325,7 +3325,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersReadinessPro } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3337,7 +3337,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersReadinessPro } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. /// Supported values: cpu, memory. @@ -3351,7 +3351,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersResizePolicy /// Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources /// already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -3377,7 +3377,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -3387,7 +3387,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersResourcesCla /// Optional: SecurityContext defines the security options the ephemeral container should be run with. /// If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -3467,7 +3467,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersSecurityCont /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3482,7 +3482,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersSecurityCont /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3502,7 +3502,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersSecurityCont /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -3525,7 +3525,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersSecurityCont /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -3550,7 +3550,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersSecurityCont } /// Probes are not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3600,7 +3600,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersStartupProbe } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -3612,7 +3612,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersStartupProbe } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3626,7 +3626,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersStartupProbe } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -3649,7 +3649,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersStartupProbe } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersStartupProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -3659,7 +3659,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersStartupProbe } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3671,7 +3671,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersStartupProbe } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -3681,7 +3681,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersVolumeDevice } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -3713,7 +3713,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecEphemeralContainersVolumeMounts /// HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the /// pod's hosts file. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecHostAliases { /// Hostnames for the above IP address. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3725,7 +3725,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecHostAliases { /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecImagePullSecrets { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -3735,7 +3735,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecImagePullSecrets { } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainers { /// Arguments to the entrypoint. /// The container image's CMD is used if this is not provided. @@ -3902,7 +3902,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -3923,7 +3923,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -3942,7 +3942,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -3958,7 +3958,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersEnvValueFromConfi /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3970,7 +3970,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersEnvValueFromField /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -3983,7 +3983,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersEnvValueFromResou } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3998,7 +3998,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersEnvValueFromSecre } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -4012,7 +4012,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -4025,7 +4025,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersEnvFromConfigMapR } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -4039,7 +4039,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersEnvFromSecretRef /// Actions that the management system should take in response to container lifecycle events. /// Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, /// the container is terminated and restarted according to its restart policy. @@ -4064,7 +4064,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecycle { /// the container is terminated and restarted according to its restart policy. /// Other management of the container blocks until the hook completes. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4083,7 +4083,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecyclePostStar } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4095,7 +4095,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecyclePostStar } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4118,7 +4118,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecyclePostStar } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4128,7 +4128,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecyclePostStar } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecyclePostStartSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -4137,7 +4137,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecyclePostStar /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4157,7 +4157,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecyclePostStar /// period (unless delayed by finalizers). Other management of the container blocks until the hook completes /// or until the termination grace period is reached. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4176,7 +4176,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecyclePreStop } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4188,7 +4188,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecyclePreStopE } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4211,7 +4211,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecyclePreStopH } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4221,7 +4221,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecyclePreStopH } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecyclePreStopSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -4230,7 +4230,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecyclePreStopS /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4245,7 +4245,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLifecyclePreStopT /// Container will be restarted if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4295,7 +4295,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4307,7 +4307,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLivenessProbeExec } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4321,7 +4321,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLivenessProbeGrpc } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4344,7 +4344,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLivenessProbeHttp } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4354,7 +4354,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLivenessProbeHttp } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4366,7 +4366,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersLivenessProbeTcpS } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersPorts { /// Number of port to expose on the pod's IP address. /// This must be a valid port number, 0 < x < 65536. @@ -4396,7 +4396,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersPorts { /// Container will be removed from service endpoints if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4446,7 +4446,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4458,7 +4458,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersReadinessProbeExe } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4472,7 +4472,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersReadinessProbeGrp } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4495,7 +4495,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersReadinessProbeHtt } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4505,7 +4505,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersReadinessProbeHtt } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4517,7 +4517,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersReadinessProbeTcp } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. /// Supported values: cpu, memory. @@ -4532,7 +4532,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersResizePolicy { /// Compute Resources required by this container. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -4558,7 +4558,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -4569,7 +4569,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersResourcesClaims { /// SecurityContext defines the security options the container should be run with. /// If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. /// More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -4649,7 +4649,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersSecurityContext { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4664,7 +4664,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersSecurityContextCa /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4684,7 +4684,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersSecurityContextSe /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -4707,7 +4707,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersSecurityContextSe /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -4738,7 +4738,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersSecurityContextWi /// when it might take a long time to load data or warm a cache, than during steady-state operation. /// This cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4788,7 +4788,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4800,7 +4800,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersStartupProbeExec } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4814,7 +4814,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersStartupProbeGrpc } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4837,7 +4837,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersStartupProbeHttpG } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersStartupProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4847,7 +4847,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersStartupProbeHttpG } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4859,7 +4859,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersStartupProbeTcpSo } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -4869,7 +4869,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -4929,7 +4929,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecInitContainersVolumeMounts { /// - spec.containers[*].securityContext.procMount /// - spec.containers[*].securityContext.runAsUser /// - spec.containers[*].securityContext.runAsGroup -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecOs { /// Name is the name of the operating system. The currently supported values are linux and windows. /// Additional value may be defined in future and can be one of: @@ -4939,7 +4939,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecOs { } /// PodReadinessGate contains the reference to a pod condition -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecReadinessGates { /// ConditionType refers to a condition in the pod's condition list with matching type. #[serde(rename = "conditionType")] @@ -4949,7 +4949,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecReadinessGates { /// PodResourceClaim references exactly one ResourceClaim through a ClaimSource. /// It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. /// Containers that need access to the ResourceClaim reference it with this name. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecResourceClaims { /// Name uniquely identifies this resource claim inside the pod. /// This must be a DNS_LABEL. @@ -4960,7 +4960,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecResourceClaims { } /// Source describes where to find the ResourceClaim. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecResourceClaimsSource { /// ResourceClaimName is the name of a ResourceClaim object in the same /// namespace as this pod. @@ -4985,7 +4985,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecResourceClaimsSource { } /// PodSchedulingGate is associated to a Pod to guard its scheduling. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecSchedulingGates { /// Name of the scheduling gate. /// Each scheduling gate must have a unique name field. @@ -4994,7 +4994,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecSchedulingGates { /// SecurityContext holds pod-level security attributes and common container settings. /// Optional: Defaults to empty. See type description for default values of each field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecSecurityContext { /// A special supplemental group that applies to all containers in a pod. /// Some volume types allow the Kubelet to change the ownership of that volume @@ -5083,7 +5083,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecSecurityContext { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5101,7 +5101,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecSecurityContextSeLinuxOptions { /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -5121,7 +5121,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -5133,7 +5133,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -5159,7 +5159,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecSecurityContextWindowsOptions { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -5188,7 +5188,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods @@ -5310,7 +5310,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods /// in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5324,7 +5324,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecTopologySpreadConstraintsLabelS /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5340,7 +5340,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecTopologySpreadConstraintsLabelS } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. @@ -5490,7 +5490,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -5516,7 +5516,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -5542,7 +5542,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force /// the ReadOnly setting in VolumeMounts. @@ -5557,7 +5557,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it @@ -5586,7 +5586,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesCephfs { /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesCephfsSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -5597,7 +5597,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesCephfsSecretRef { /// cinder represents a cinder volume attached and mounted on kubelets host machine. /// More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesCinder { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -5622,7 +5622,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesCinder { /// secretRef is optional: points to a secret object containing parameters used to connect /// to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesCinderSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -5632,7 +5632,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -5663,7 +5663,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -5683,7 +5683,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesCsi { /// driver is the name of the CSI driver that handles this volume. /// Consult with your admin for the correct name as registered in the cluster. @@ -5715,7 +5715,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesCsi { /// NodePublishVolume and NodeUnpublishVolume calls. /// This field is optional, and may be empty if no secret is required. If the /// secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesCsiNodePublishSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -5725,7 +5725,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesCsiNodePublishSecretRef } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a /// Optional: mode bits used to set permissions on created files by default. @@ -5743,7 +5743,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -5765,7 +5765,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -5777,7 +5777,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesDownwardApiItemsFieldRef /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -5791,7 +5791,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesDownwardApiItemsResource /// emptyDir represents a temporary directory that shares a pod's lifetime. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. /// The default is "" which means to use the node's default medium. @@ -5837,7 +5837,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesEmptyDir { /// /// A pod can use both types of ephemeral volumes and /// persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. /// The pod in which this EphemeralVolumeSource is embedded will be the @@ -5891,7 +5891,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesEphemeral { /// /// /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during @@ -5908,7 +5908,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesEphemeralVolumeClaimTemp /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during /// validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -5926,7 +5926,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesEphemeralVolumeClaimTemp /// copied unchanged into the PVC that gets created from this /// template. The same fields as in a PersistentVolumeClaim /// are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -6012,7 +6012,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesEphemeralVolumeClaimTemp /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -6048,7 +6048,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesEphemeralVolumeClaimTemp /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -6071,7 +6071,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesEphemeralVolumeClaimTemp /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesEphemeralVolumeClaimTemplateSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -6086,7 +6086,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesEphemeralVolumeClaimTemp } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6100,7 +6100,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesEphemeralVolumeClaimTemp /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6116,7 +6116,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesEphemeralVolumeClaimTemp } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesFc { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -6142,7 +6142,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesFc { /// flexVolume represents a generic volume resource that is /// provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -6172,7 +6172,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesFlexVolume { /// empty if no secret object is specified. If the secret object /// contains more than one secret, all secrets are passed to the plugin /// scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesFlexVolumeSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -6182,7 +6182,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker /// should be considered as deprecated @@ -6196,7 +6196,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesFlocker { /// gcePersistentDisk represents a GCE Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -6227,7 +6227,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesGcePersistentDisk { /// DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an /// EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir /// into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesGitRepo { /// directory is the target directory name. /// Must not contain or start with '..'. If '.' is supplied, the volume directory will be the @@ -6244,7 +6244,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesGitRepo { /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod @@ -6267,7 +6267,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesGlusterfs { /// --- /// TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not /// mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesHostPath { /// path of the directory on the host. /// If the path is a symlink, it will follow the link to the real path. @@ -6283,7 +6283,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesHostPath { /// iscsi represents an ISCSI Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -6329,7 +6329,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesIscsiSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -6340,7 +6340,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesIscsiSecretRef { /// nfs represents an NFS mount on the host that shares a pod's lifetime /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesNfs { /// path that is exported by the NFS server. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs @@ -6358,7 +6358,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesNfs { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -6371,7 +6371,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -6384,7 +6384,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesPortworxVolume { /// fSType represents the filesystem type to mount /// Must be a filesystem type supported by the host operating system. @@ -6401,7 +6401,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -6417,7 +6417,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSources { /// ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field /// of ClusterTrustBundle objects in an auto-updating file. @@ -6467,7 +6467,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSources { /// comments and block headers are stripped. Certificates are deduplicated. /// The ordering of certificates within the file is arbitrary, and Kubelet /// may change the order over time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSourcesClusterTrustBundle { /// Select all ClusterTrustBundles that match this label selector. Only has /// effect if signerName is set. Mutually-exclusive with name. If unset, @@ -6499,7 +6499,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSourcesClusterT /// effect if signerName is set. Mutually-exclusive with name. If unset, /// interpreted as "match nothing". If set but empty, interpreted as "match /// everything". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSourcesClusterTrustBundleLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6513,7 +6513,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSourcesClusterT /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSourcesClusterTrustBundleLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6529,7 +6529,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSourcesClusterT } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced /// ConfigMap will be projected into the volume as a file whose name is the @@ -6551,7 +6551,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSourcesConfigMa } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -6571,7 +6571,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSourcesConfigMa } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6579,7 +6579,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSourcesDownward } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -6601,7 +6601,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSourcesDownward } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -6613,7 +6613,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSourcesDownward /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -6626,7 +6626,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSourcesDownward } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced /// Secret will be projected into the volume as a file whose name is the @@ -6648,7 +6648,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -6668,7 +6668,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSourcesSecretIt } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token /// must identify itself with an identifier specified in the audience of the @@ -6690,7 +6690,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesProjectedSourcesServiceA } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesQuobyte { /// group to map volume access to /// Default is no group @@ -6718,7 +6718,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesQuobyte { /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -6765,7 +6765,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesRbd { /// overrides keyring. /// Default is nil. /// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesRbdSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -6775,7 +6775,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesScaleIo { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -6816,7 +6816,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesScaleIo { /// secretRef references to the secret for ScaleIO user and other /// sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesScaleIoSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -6827,7 +6827,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesScaleIoSecretRef { /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -6857,7 +6857,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesSecretItems { /// key is the key to project. pub key: String, @@ -6877,7 +6877,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesStorageos { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -6908,7 +6908,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesStorageos { /// secretRef specifies the secret to use for obtaining the StorageOS API /// credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesStorageosSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -6918,7 +6918,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterPodTemplateSpecSpecVolumesVsphereVolume { /// fsType is filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -6937,7 +6937,7 @@ pub struct CassandraDatacenterPodTemplateSpecSpecVolumesVsphereVolume { } /// Rack ... -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacks { /// Affinity rules to set for this rack only. Merged with values from PodTemplateSpec Affinity as well as NodeAffinityLabels. If you wish to override all the default /// PodAntiAffinity rules, set allowMultipleWorkers to true, otherwise defaults are applied and then these Affinity settings are merged. @@ -6955,7 +6955,7 @@ pub struct CassandraDatacenterRacks { /// Affinity rules to set for this rack only. Merged with values from PodTemplateSpec Affinity as well as NodeAffinityLabels. If you wish to override all the default /// PodAntiAffinity rules, set allowMultipleWorkers to true, otherwise defaults are applied and then these Affinity settings are merged. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -6969,7 +6969,7 @@ pub struct CassandraDatacenterRacksAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -6993,7 +6993,7 @@ pub struct CassandraDatacenterRacksAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: CassandraDatacenterRacksAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -7002,7 +7002,7 @@ pub struct CassandraDatacenterRacksAffinityNodeAffinityPreferredDuringScheduling } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7014,7 +7014,7 @@ pub struct CassandraDatacenterRacksAffinityNodeAffinityPreferredDuringScheduling /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -7032,7 +7032,7 @@ pub struct CassandraDatacenterRacksAffinityNodeAffinityPreferredDuringScheduling /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -7053,7 +7053,7 @@ pub struct CassandraDatacenterRacksAffinityNodeAffinityPreferredDuringScheduling /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -7063,7 +7063,7 @@ pub struct CassandraDatacenterRacksAffinityNodeAffinityRequiredDuringSchedulingI /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7075,7 +7075,7 @@ pub struct CassandraDatacenterRacksAffinityNodeAffinityRequiredDuringSchedulingI /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -7093,7 +7093,7 @@ pub struct CassandraDatacenterRacksAffinityNodeAffinityRequiredDuringSchedulingI /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -7110,7 +7110,7 @@ pub struct CassandraDatacenterRacksAffinityNodeAffinityRequiredDuringSchedulingI } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -7135,7 +7135,7 @@ pub struct CassandraDatacenterRacksAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -7146,7 +7146,7 @@ pub struct CassandraDatacenterRacksAffinityPodAffinityPreferredDuringSchedulingI } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -7198,7 +7198,7 @@ pub struct CassandraDatacenterRacksAffinityPodAffinityPreferredDuringSchedulingI /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7212,7 +7212,7 @@ pub struct CassandraDatacenterRacksAffinityPodAffinityPreferredDuringSchedulingI /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7232,7 +7232,7 @@ pub struct CassandraDatacenterRacksAffinityPodAffinityPreferredDuringSchedulingI /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7246,7 +7246,7 @@ pub struct CassandraDatacenterRacksAffinityPodAffinityPreferredDuringSchedulingI /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7267,7 +7267,7 @@ pub struct CassandraDatacenterRacksAffinityPodAffinityPreferredDuringSchedulingI /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -7319,7 +7319,7 @@ pub struct CassandraDatacenterRacksAffinityPodAffinityRequiredDuringSchedulingIg /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7333,7 +7333,7 @@ pub struct CassandraDatacenterRacksAffinityPodAffinityRequiredDuringSchedulingIg /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7353,7 +7353,7 @@ pub struct CassandraDatacenterRacksAffinityPodAffinityRequiredDuringSchedulingIg /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7367,7 +7367,7 @@ pub struct CassandraDatacenterRacksAffinityPodAffinityRequiredDuringSchedulingIg /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7383,7 +7383,7 @@ pub struct CassandraDatacenterRacksAffinityPodAffinityRequiredDuringSchedulingIg } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -7408,7 +7408,7 @@ pub struct CassandraDatacenterRacksAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -7419,7 +7419,7 @@ pub struct CassandraDatacenterRacksAffinityPodAntiAffinityPreferredDuringSchedul } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -7471,7 +7471,7 @@ pub struct CassandraDatacenterRacksAffinityPodAntiAffinityPreferredDuringSchedul /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7485,7 +7485,7 @@ pub struct CassandraDatacenterRacksAffinityPodAntiAffinityPreferredDuringSchedul /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7505,7 +7505,7 @@ pub struct CassandraDatacenterRacksAffinityPodAntiAffinityPreferredDuringSchedul /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7519,7 +7519,7 @@ pub struct CassandraDatacenterRacksAffinityPodAntiAffinityPreferredDuringSchedul /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7540,7 +7540,7 @@ pub struct CassandraDatacenterRacksAffinityPodAntiAffinityPreferredDuringSchedul /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -7592,7 +7592,7 @@ pub struct CassandraDatacenterRacksAffinityPodAntiAffinityRequiredDuringScheduli /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7606,7 +7606,7 @@ pub struct CassandraDatacenterRacksAffinityPodAntiAffinityRequiredDuringScheduli /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7626,7 +7626,7 @@ pub struct CassandraDatacenterRacksAffinityPodAntiAffinityRequiredDuringScheduli /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7640,7 +7640,7 @@ pub struct CassandraDatacenterRacksAffinityPodAntiAffinityRequiredDuringScheduli /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterRacksAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7656,7 +7656,7 @@ pub struct CassandraDatacenterRacksAffinityPodAntiAffinityRequiredDuringScheduli } /// Kubernetes resource requests and limits, per pod -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -7682,7 +7682,7 @@ pub struct CassandraDatacenterResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -7702,7 +7702,7 @@ pub enum CassandraDatacenterServerType { } /// StorageConfig describes the persistent storage request of each server node -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalVolumes")] pub additional_volumes: Option>, @@ -7713,7 +7713,7 @@ pub struct CassandraDatacenterStorageConfig { } /// AdditionalVolumes defines additional storage configurations -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumes { /// Mount path into cassandra container #[serde(rename = "mountPath")] @@ -7729,7 +7729,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumes { } /// PVCSpec is a persistent volume claim spec. Either this or VolumeSource is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesPvcSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -7815,7 +7815,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesPvcSpec { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesPvcSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -7851,7 +7851,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesPvcSpecDataSource { /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesPvcSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -7874,7 +7874,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesPvcSpecDataSourceRef /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesPvcSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -7889,7 +7889,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesPvcSpecResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesPvcSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7903,7 +7903,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesPvcSpecSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesPvcSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7919,7 +7919,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesPvcSpecSelectorMatch } /// VolumeSource to mount the volume from (such as ConfigMap / Secret). This or PVCSpec is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSource { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. @@ -8065,7 +8065,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSource { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -8091,7 +8091,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceAwsElast } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -8117,7 +8117,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceAzureDis } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force /// the ReadOnly setting in VolumeMounts. @@ -8132,7 +8132,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceAzureFil } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it @@ -8161,7 +8161,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceCephfs { /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceCephfsSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -8172,7 +8172,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceCephfsSe /// cinder represents a cinder volume attached and mounted on kubelets host machine. /// More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceCinder { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -8197,7 +8197,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceCinder { /// secretRef is optional: points to a secret object containing parameters used to connect /// to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceCinderSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -8207,7 +8207,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceCinderSe } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -8238,7 +8238,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceConfigMa } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceConfigMapItems { /// key is the key to project. pub key: String, @@ -8258,7 +8258,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceConfigMa } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceCsi { /// driver is the name of the CSI driver that handles this volume. /// Consult with your admin for the correct name as registered in the cluster. @@ -8290,7 +8290,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceCsi { /// NodePublishVolume and NodeUnpublishVolume calls. /// This field is optional, and may be empty if no secret is required. If the /// secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceCsiNodePublishSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -8300,7 +8300,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceCsiNodeP } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceDownwardApi { /// Optional: mode bits to use on created files by default. Must be a /// Optional: mode bits used to set permissions on created files by default. @@ -8318,7 +8318,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceDownward } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -8340,7 +8340,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceDownward } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -8352,7 +8352,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceDownward /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -8366,7 +8366,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceDownward /// emptyDir represents a temporary directory that shares a pod's lifetime. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceEmptyDir { /// medium represents what type of storage medium should back this directory. /// The default is "" which means to use the node's default medium. @@ -8412,7 +8412,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceEmptyDir /// /// A pod can use both types of ephemeral volumes and /// persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. /// The pod in which this EphemeralVolumeSource is embedded will be the @@ -8466,7 +8466,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceEphemera /// /// /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during @@ -8483,7 +8483,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceEphemera /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during /// validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -8501,7 +8501,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceEphemera /// copied unchanged into the PVC that gets created from this /// template. The same fields as in a PersistentVolumeClaim /// are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -8587,7 +8587,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceEphemera /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -8623,7 +8623,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceEphemera /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -8646,7 +8646,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceEphemera /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -8661,7 +8661,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceEphemera } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -8675,7 +8675,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceEphemera /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -8691,7 +8691,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceEphemera } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceFc { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -8717,7 +8717,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceFc { /// flexVolume represents a generic volume resource that is /// provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -8747,7 +8747,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceFlexVolu /// empty if no secret object is specified. If the secret object /// contains more than one secret, all secrets are passed to the plugin /// scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceFlexVolumeSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -8757,7 +8757,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceFlexVolu } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker /// should be considered as deprecated @@ -8771,7 +8771,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceFlocker /// gcePersistentDisk represents a GCE Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -8802,7 +8802,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceGcePersi /// DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an /// EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir /// into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceGitRepo { /// directory is the target directory name. /// Must not contain or start with '..'. If '.' is supplied, the volume directory will be the @@ -8819,7 +8819,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceGitRepo /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod @@ -8842,7 +8842,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceGlusterf /// --- /// TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not /// mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceHostPath { /// path of the directory on the host. /// If the path is a symlink, it will follow the link to the real path. @@ -8858,7 +8858,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceHostPath /// iscsi represents an ISCSI Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -8904,7 +8904,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceIscsiSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -8915,7 +8915,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceIscsiSec /// nfs represents an NFS mount on the host that shares a pod's lifetime /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceNfs { /// path that is exported by the NFS server. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs @@ -8933,7 +8933,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceNfs { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourcePersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -8946,7 +8946,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourcePersiste } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourcePhotonPersistentDisk { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -8959,7 +8959,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourcePhotonPe } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourcePortworxVolume { /// fSType represents the filesystem type to mount /// Must be a filesystem type supported by the host operating system. @@ -8976,7 +8976,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourcePortworx } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjected { /// defaultMode are the mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -8992,7 +8992,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjecte } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjectedSources { /// ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field /// of ClusterTrustBundle objects in an auto-updating file. @@ -9042,7 +9042,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjecte /// comments and block headers are stripped. Certificates are deduplicated. /// The ordering of certificates within the file is arbitrary, and Kubelet /// may change the order over time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjectedSourcesClusterTrustBundle { /// Select all ClusterTrustBundles that match this label selector. Only has /// effect if signerName is set. Mutually-exclusive with name. If unset, @@ -9074,7 +9074,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjecte /// effect if signerName is set. Mutually-exclusive with name. If unset, /// interpreted as "match nothing". If set but empty, interpreted as "match /// everything". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjectedSourcesClusterTrustBundleLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9088,7 +9088,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjecte /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjectedSourcesClusterTrustBundleLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -9104,7 +9104,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjecte } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced /// ConfigMap will be projected into the volume as a file whose name is the @@ -9126,7 +9126,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjecte } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -9146,7 +9146,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjecte } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9154,7 +9154,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjecte } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -9176,7 +9176,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjecte } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -9188,7 +9188,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjecte /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -9201,7 +9201,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjecte } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced /// Secret will be projected into the volume as a file whose name is the @@ -9223,7 +9223,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjecte } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -9243,7 +9243,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjecte } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token /// must identify itself with an identifier specified in the audience of the @@ -9265,7 +9265,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceProjecte } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceQuobyte { /// group to map volume access to /// Default is no group @@ -9293,7 +9293,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceQuobyte /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceRbd { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -9340,7 +9340,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceRbd { /// overrides keyring. /// Default is nil. /// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceRbdSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -9350,7 +9350,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceRbdSecre } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceScaleIo { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -9391,7 +9391,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceScaleIo /// secretRef references to the secret for ScaleIO user and other /// sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceScaleIoSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -9402,7 +9402,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceScaleIoS /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -9432,7 +9432,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceSecretItems { /// key is the key to project. pub key: String, @@ -9452,7 +9452,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceSecretIt } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceStorageos { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -9483,7 +9483,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceStorageo /// secretRef specifies the secret to use for obtaining the StorageOS API /// credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceStorageosSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -9493,7 +9493,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceStorageo } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceVsphereVolume { /// fsType is filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -9513,7 +9513,7 @@ pub struct CassandraDatacenterStorageConfigAdditionalVolumesVolumeSourceVsphereV /// PersistentVolumeClaimSpec describes the common attributes of storage devices /// and allows a Source for provider-specific attributes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigCassandraDataVolumeClaimSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -9599,7 +9599,7 @@ pub struct CassandraDatacenterStorageConfigCassandraDataVolumeClaimSpec { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigCassandraDataVolumeClaimSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -9635,7 +9635,7 @@ pub struct CassandraDatacenterStorageConfigCassandraDataVolumeClaimSpecDataSourc /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigCassandraDataVolumeClaimSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -9658,7 +9658,7 @@ pub struct CassandraDatacenterStorageConfigCassandraDataVolumeClaimSpecDataSourc /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigCassandraDataVolumeClaimSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -9673,7 +9673,7 @@ pub struct CassandraDatacenterStorageConfigCassandraDataVolumeClaimSpecResources } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigCassandraDataVolumeClaimSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9687,7 +9687,7 @@ pub struct CassandraDatacenterStorageConfigCassandraDataVolumeClaimSpecSelector /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStorageConfigCassandraDataVolumeClaimSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -9703,7 +9703,7 @@ pub struct CassandraDatacenterStorageConfigCassandraDataVolumeClaimSpecSelectorM } /// Kubernetes resource requests and limits per system logger container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterSystemLoggerResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -9729,7 +9729,7 @@ pub struct CassandraDatacenterSystemLoggerResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterSystemLoggerResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -9739,7 +9739,7 @@ pub struct CassandraDatacenterSystemLoggerResourcesClaims { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -9767,7 +9767,7 @@ pub struct CassandraDatacenterTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterUsers { #[serde(rename = "secretName")] pub secret_name: String, @@ -9775,7 +9775,7 @@ pub struct CassandraDatacenterUsers { } /// CassandraDatacenterStatus defines the observed state of CassandraDatacenter -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStatus { /// Last known progress state of the Cassandra Operator #[serde(default, skip_serializing_if = "Option::is_none", rename = "cassandraOperatorProgress")] @@ -9814,7 +9814,7 @@ pub struct CassandraDatacenterStatus { pub users_upserted: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStatusNodeStatuses { #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostID")] pub host_id: Option, @@ -9841,7 +9841,7 @@ pub struct CassandraDatacenterStatusNodeStatuses { /// /// Instead of using this type, create a locally provided and used type that is well-focused on your reference. /// For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CassandraDatacenterStatusTrackedTasks { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephblockpoolradosnamespaces.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephblockpoolradosnamespaces.rs index 6e0fcdcc4..7a739dd4b 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephblockpoolradosnamespaces.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephblockpoolradosnamespaces.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephblockpoolradosnamespaces.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephblockpoolradosnamespaces.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephblockpools.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephblockpools.rs index 061f5cac1..7e848d201 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephblockpools.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephblockpools.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephblockpools.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephblockpools.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephbucketnotifications.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephbucketnotifications.rs index 4ce3ed9ae..5709a8b7c 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephbucketnotifications.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephbucketnotifications.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephbucketnotifications.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephbucketnotifications.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// BucketNotificationSpec represent the spec of a Bucket Notification -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "ceph.rook.io", version = "v1", kind = "CephBucketNotification", plural = "cephbucketnotifications")] #[kube(namespaced)] #[kube(status = "CephBucketNotificationStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct CephBucketNotificationSpec { /// List of events that should trigger the notification @@ -29,7 +30,7 @@ pub struct CephBucketNotificationSpec { } /// Spec of notification filter -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CephBucketNotificationFilter { /// Filters based on the object's key #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyFilters")] @@ -63,7 +64,7 @@ pub enum CephBucketNotificationFilterKeyFiltersName { } /// NotificationFilterRule represent a single rule in the Notification Filter spec -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CephBucketNotificationFilterMetadataFilters { /// Name of the metadata or tag pub name: String, @@ -72,7 +73,7 @@ pub struct CephBucketNotificationFilterMetadataFilters { } /// NotificationFilterRule represent a single rule in the Notification Filter spec -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CephBucketNotificationFilterTagFilters { /// Name of the metadata or tag pub name: String, @@ -81,7 +82,7 @@ pub struct CephBucketNotificationFilterTagFilters { } /// Status represents the status of an object -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CephBucketNotificationStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephbuckettopics.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephbuckettopics.rs index c4550ea75..1fcc41827 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephbuckettopics.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephbuckettopics.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephbuckettopics.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephbuckettopics.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephclients.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephclients.rs index c85c72dbe..fa0d13fd3 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephclients.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephclients.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephclients.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephclients.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephcosidrivers.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephcosidrivers.rs index dfd71e61f..101a815eb 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephcosidrivers.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephcosidrivers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephcosidrivers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephcosidrivers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephfilesystemmirrors.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephfilesystemmirrors.rs index 338621761..ecd4ced5f 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephfilesystemmirrors.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephfilesystemmirrors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephfilesystemmirrors.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephfilesystemmirrors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephfilesystems.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephfilesystems.rs index 2eeb4665a..2a02c772b 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephfilesystems.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephfilesystems.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephfilesystems.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephfilesystems.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephfilesystemsubvolumegroups.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephfilesystemsubvolumegroups.rs index 933e37d67..37fd13aa2 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephfilesystemsubvolumegroups.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephfilesystemsubvolumegroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephfilesystemsubvolumegroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephfilesystemsubvolumegroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephnfses.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephnfses.rs index f3ccf1824..93f7c8df9 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephnfses.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephnfses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephnfses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephnfses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectrealms.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectrealms.rs index 38f532db1..7846cc25b 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectrealms.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectrealms.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephobjectrealms.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephobjectrealms.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectstores.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectstores.rs index c490d9d80..98e1e6b14 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectstores.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectstores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephobjectstores.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephobjectstores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectstoreusers.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectstoreusers.rs index f3b9bc2bf..289a3166e 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectstoreusers.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectstoreusers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephobjectstoreusers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephobjectstoreusers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectzonegroups.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectzonegroups.rs index 3f9da97f4..e63b8bd05 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectzonegroups.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectzonegroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephobjectzonegroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephobjectzonegroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectzones.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectzones.rs index d9f684fac..bbe60a033 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectzones.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephobjectzones.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephobjectzones.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephobjectzones.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephrbdmirrors.rs b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephrbdmirrors.rs index a8762f378..27a985fc6 100644 --- a/kube-custom-resources-rs/src/ceph_rook_io/v1/cephrbdmirrors.rs +++ b/kube-custom-resources-rs/src/ceph_rook_io/v1/cephrbdmirrors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephrbdmirrors.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/ceph.rook.io/v1/cephrbdmirrors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cert_manager_io/v1/certificaterequests.rs b/kube-custom-resources-rs/src/cert_manager_io/v1/certificaterequests.rs index 91587e72c..10a7e3b9c 100644 --- a/kube-custom-resources-rs/src/cert_manager_io/v1/certificaterequests.rs +++ b/kube-custom-resources-rs/src/cert_manager_io/v1/certificaterequests.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/certificaterequests.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/certificaterequests.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ use self::prelude::*; /// Specification of the desired state of the CertificateRequest resource. /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "cert-manager.io", version = "v1", kind = "CertificateRequest", plural = "certificaterequests")] #[kube(namespaced)] #[kube(status = "CertificateRequestStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct CertificateRequestSpec { /// Requested 'duration' (i.e. lifetime) of the Certificate. Note that the @@ -94,7 +95,7 @@ pub struct CertificateRequestSpec { /// /// /// The `name` field of the reference must always be specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CertificateRequestIssuerRef { /// Group of the resource being referred to. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -110,7 +111,7 @@ pub struct CertificateRequestIssuerRef { /// This is set and managed automatically. /// Read-only. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CertificateRequestStatus { /// The PEM encoded X.509 certificate of the signer, also known as the CA /// (Certificate Authority). diff --git a/kube-custom-resources-rs/src/cert_manager_io/v1/certificates.rs b/kube-custom-resources-rs/src/cert_manager_io/v1/certificates.rs index 5ab6d078e..6837365a1 100644 --- a/kube-custom-resources-rs/src/cert_manager_io/v1/certificates.rs +++ b/kube-custom-resources-rs/src/cert_manager_io/v1/certificates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/certificates.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/certificates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ use self::prelude::*; /// Specification of the desired state of the Certificate resource. /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "cert-manager.io", version = "v1", kind = "Certificate", plural = "certificates")] #[kube(namespaced)] #[kube(status = "CertificateStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct CertificateSpec { /// Defines extra output formats of the private key and signed certificate chain @@ -212,7 +213,7 @@ pub enum CertificateAdditionalOutputFormatsType { /// /// /// The `name` field of the reference must always be specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CertificateIssuerRef { /// Group of the resource being referred to. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -225,7 +226,7 @@ pub struct CertificateIssuerRef { } /// Additional keystore output formats to be stored in the Certificate's Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CertificateKeystores { /// JKS configures options for storing a JKS keystore in the /// `spec.secretName` Secret resource. @@ -239,7 +240,7 @@ pub struct CertificateKeystores { /// JKS configures options for storing a JKS keystore in the /// `spec.secretName` Secret resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CertificateKeystoresJks { /// Alias specifies the alias of the key in the keystore, required by the JKS format. /// If not provided, the default alias `certificate` will be used. @@ -263,7 +264,7 @@ pub struct CertificateKeystoresJks { /// PasswordSecretRef is a reference to a key in a Secret resource /// containing the password used to encrypt the JKS keystore. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CertificateKeystoresJksPasswordSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -277,7 +278,7 @@ pub struct CertificateKeystoresJksPasswordSecretRef { /// PKCS12 configures options for storing a PKCS12 keystore in the /// `spec.secretName` Secret resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CertificateKeystoresPkcs12 { /// Create enables PKCS12 keystore creation for the Certificate. /// If true, a file named `keystore.p12` will be created in the target @@ -309,7 +310,7 @@ pub struct CertificateKeystoresPkcs12 { /// PasswordSecretRef is a reference to a key in a Secret resource /// containing the password used to encrypt the PKCS12 keystore. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CertificateKeystoresPkcs12PasswordSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -339,7 +340,7 @@ pub enum CertificateKeystoresPkcs12Profile { /// This is an Alpha Feature and is only enabled with the /// `--feature-gates=NameConstraints=true` option set on both /// the controller and webhook components. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CertificateNameConstraints { /// if true then the name constraints are marked critical. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -357,7 +358,7 @@ pub struct CertificateNameConstraints { /// Excluded contains the constraints which must be disallowed. Any name matching a /// restriction in the excluded field is invalid regardless /// of information appearing in the permitted -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CertificateNameConstraintsExcluded { /// DNSDomains is a list of DNS domains that are permitted or excluded. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dnsDomains")] @@ -375,7 +376,7 @@ pub struct CertificateNameConstraintsExcluded { } /// Permitted contains the constraints in which the names must be located. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CertificateNameConstraintsPermitted { /// DNSDomains is a list of DNS domains that are permitted or excluded. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dnsDomains")] @@ -392,7 +393,7 @@ pub struct CertificateNameConstraintsPermitted { pub uri_domains: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CertificateOtherNames { /// OID is the object identifier for the otherName SAN. /// The object identifier must be expressed as a dotted string, for @@ -407,7 +408,7 @@ pub struct CertificateOtherNames { /// Private key options. These include the key algorithm and size, the used /// encoding and the rotation policy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CertificatePrivateKey { /// Algorithm is the private key algorithm of the corresponding private key /// for this certificate. @@ -489,7 +490,7 @@ pub enum CertificatePrivateKeyRotationPolicy { /// SecretTemplate when added or removed. SecretTemplate annotations are added /// in conjunction with, and cannot overwrite, the base set of annotations /// cert-manager sets on the Certificate's Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CertificateSecretTemplate { /// Annotations is a key value map to be copied to the target Kubernetes Secret. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -505,7 +506,7 @@ pub struct CertificateSecretTemplate { /// /// The common name attribute is specified separately in the `commonName` field. /// Cannot be set if the `literalSubject` field is set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CertificateSubject { /// Countries to be used on the Certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -537,7 +538,7 @@ pub struct CertificateSubject { /// This is set and managed automatically. /// Read-only. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CertificateStatus { /// List of status conditions to indicate the status of certificates. /// Known condition types are `Ready` and `Issuing`. diff --git a/kube-custom-resources-rs/src/cert_manager_io/v1/clusterissuers.rs b/kube-custom-resources-rs/src/cert_manager_io/v1/clusterissuers.rs index f02e38574..a3da02394 100644 --- a/kube-custom-resources-rs/src/cert_manager_io/v1/clusterissuers.rs +++ b/kube-custom-resources-rs/src/cert_manager_io/v1/clusterissuers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/clusterissuers.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/clusterissuers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// Desired state of the ClusterIssuer resource. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "cert-manager.io", version = "v1", kind = "ClusterIssuer", plural = "clusterissuers")] #[kube(status = "ClusterIssuerStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterIssuerSpec { /// ACME configures this issuer to communicate with a RFC8555 (ACME) server @@ -43,7 +44,7 @@ pub struct ClusterIssuerSpec { /// ACME configures this issuer to communicate with a RFC8555 (ACME) server /// to obtain signed x509 certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcme { /// Base64-encoded bundle of PEM CAs which can be used to validate the certificate /// chain presented by the ACME server. @@ -127,7 +128,7 @@ pub struct ClusterIssuerAcme { /// server. /// If set, upon registration cert-manager will attempt to associate the given /// external account credentials with the registered ACME account. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeExternalAccountBinding { /// Deprecated: keyAlgorithm field exists for historical compatibility /// reasons and should not be used. The algorithm is now hardcoded to HS256 @@ -169,7 +170,7 @@ pub enum ClusterIssuerAcmeExternalAccountBindingKeyAlgorithm { /// the External Account Binding keyID above. /// The secret key stored in the Secret **must** be un-padded, base64 URL /// encoded data. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeExternalAccountBindingKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -186,7 +187,7 @@ pub struct ClusterIssuerAcmeExternalAccountBindingKeySecretRef { /// Optionally, a `key` may be specified to select a specific entry within /// the named Secret resource. /// If `key` is not specified, a default of `tls.key` will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmePrivateKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -201,7 +202,7 @@ pub struct ClusterIssuerAcmePrivateKeySecretRef { /// An ACMEChallengeSolver describes how to solve ACME challenges for the issuer it is part of. /// A selector may be provided to use different solving strategies for different DNS names. /// Only one of HTTP01 or DNS01 must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolvers { /// Configures cert-manager to attempt to complete authorizations by /// performing the DNS01 challenge flow. @@ -224,7 +225,7 @@ pub struct ClusterIssuerAcmeSolvers { /// Configures cert-manager to attempt to complete authorizations by /// performing the DNS01 challenge flow. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01 { /// Use the 'ACME DNS' (https://github.com/joohoi/acme-dns) API to manage /// DNS01 challenge records. @@ -264,7 +265,7 @@ pub struct ClusterIssuerAcmeSolversDns01 { /// Use the 'ACME DNS' (https://github.com/joohoi/acme-dns) API to manage /// DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01AcmeDns { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. @@ -275,7 +276,7 @@ pub struct ClusterIssuerAcmeSolversDns01AcmeDns { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01AcmeDnsAccountSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -288,7 +289,7 @@ pub struct ClusterIssuerAcmeSolversDns01AcmeDnsAccountSecretRef { } /// Use the Akamai DNS zone management API to manage DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01Akamai { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. @@ -308,7 +309,7 @@ pub struct ClusterIssuerAcmeSolversDns01Akamai { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01AkamaiAccessTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -322,7 +323,7 @@ pub struct ClusterIssuerAcmeSolversDns01AkamaiAccessTokenSecretRef { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01AkamaiClientSecretSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -336,7 +337,7 @@ pub struct ClusterIssuerAcmeSolversDns01AkamaiClientSecretSecretRef { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01AkamaiClientTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -349,7 +350,7 @@ pub struct ClusterIssuerAcmeSolversDns01AkamaiClientTokenSecretRef { } /// Use the Microsoft Azure DNS API to manage DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01AzureDns { /// Auth: Azure Service Principal: /// The ClientID of the Azure Service Principal used to authenticate with Azure DNS. @@ -388,7 +389,7 @@ pub struct ClusterIssuerAcmeSolversDns01AzureDns { /// Auth: Azure Service Principal: /// A reference to a Secret containing the password associated with the Service Principal. /// If set, ClientID and TenantID must also be set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01AzureDnsClientSecretSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -413,7 +414,7 @@ pub enum ClusterIssuerAcmeSolversDns01AzureDnsEnvironment { /// Auth: Azure Workload Identity or Azure Managed Service Identity: /// Settings to enable Azure Workload Identity or Azure Managed Service Identity /// If set, ClientID, ClientSecret and TenantID must not be set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01AzureDnsManagedIdentity { /// client ID of the managed identity, can not be used at the same time as resourceID #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientID")] @@ -425,7 +426,7 @@ pub struct ClusterIssuerAcmeSolversDns01AzureDnsManagedIdentity { } /// Use the Google Cloud DNS API to manage DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01CloudDns { /// HostedZoneName is an optional field that tells cert-manager in which /// Cloud DNS zone the challenge record has to be created. @@ -441,7 +442,7 @@ pub struct ClusterIssuerAcmeSolversDns01CloudDns { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01CloudDnsServiceAccountSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -454,7 +455,7 @@ pub struct ClusterIssuerAcmeSolversDns01CloudDnsServiceAccountSecretRef { } /// Use the Cloudflare API to manage DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01Cloudflare { /// API key to use to authenticate with Cloudflare. /// Note: using an API token to authenticate is now the recommended method @@ -472,7 +473,7 @@ pub struct ClusterIssuerAcmeSolversDns01Cloudflare { /// API key to use to authenticate with Cloudflare. /// Note: using an API token to authenticate is now the recommended method /// as it allows greater control of permissions. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01CloudflareApiKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -485,7 +486,7 @@ pub struct ClusterIssuerAcmeSolversDns01CloudflareApiKeySecretRef { } /// API token used to authenticate with Cloudflare. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01CloudflareApiTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -506,7 +507,7 @@ pub enum ClusterIssuerAcmeSolversDns01CnameStrategy { } /// Use the DigitalOcean DNS API to manage DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01Digitalocean { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. @@ -516,7 +517,7 @@ pub struct ClusterIssuerAcmeSolversDns01Digitalocean { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01DigitaloceanTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -530,7 +531,7 @@ pub struct ClusterIssuerAcmeSolversDns01DigitaloceanTokenSecretRef { /// Use RFC2136 ("Dynamic Updates in the Domain Name System") (https://datatracker.ietf.org/doc/rfc2136/) /// to manage DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01Rfc2136 { /// The IP address or hostname of an authoritative DNS server supporting /// RFC2136 in the form host:port. If the host is an IPv6 address it must be @@ -555,7 +556,7 @@ pub struct ClusterIssuerAcmeSolversDns01Rfc2136 { /// The name of the secret containing the TSIG value. /// If ``tsigKeyName`` is defined, this field is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01Rfc2136TsigSecretSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -568,7 +569,7 @@ pub struct ClusterIssuerAcmeSolversDns01Rfc2136TsigSecretSecretRef { } /// Use the AWS Route53 API to manage DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01Route53 { /// The AccessKeyID is used for authentication. /// Cannot be set when SecretAccessKeyID is set. @@ -611,7 +612,7 @@ pub struct ClusterIssuerAcmeSolversDns01Route53 { /// If neither the Access Key nor Key ID are set, we fall-back to using env /// vars, shared credentials file or AWS Instance metadata, /// see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01Route53AccessKeyIdSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -624,7 +625,7 @@ pub struct ClusterIssuerAcmeSolversDns01Route53AccessKeyIdSecretRef { } /// Auth configures how cert-manager authenticates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01Route53Auth { /// Kubernetes authenticates with Route53 using AssumeRoleWithWebIdentity /// by passing a bound ServiceAccount token. @@ -633,7 +634,7 @@ pub struct ClusterIssuerAcmeSolversDns01Route53Auth { /// Kubernetes authenticates with Route53 using AssumeRoleWithWebIdentity /// by passing a bound ServiceAccount token. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01Route53AuthKubernetes { /// A reference to a service account that will be used to request a bound /// token (also known as "projected token"). To use this field, you must @@ -645,7 +646,7 @@ pub struct ClusterIssuerAcmeSolversDns01Route53AuthKubernetes { /// A reference to a service account that will be used to request a bound /// token (also known as "projected token"). To use this field, you must /// configure an RBAC rule to let cert-manager request a token. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01Route53AuthKubernetesServiceAccountRef { /// TokenAudiences is an optional list of audiences to include in the /// token passed to AWS. The default token consisting of the issuer's namespace @@ -661,7 +662,7 @@ pub struct ClusterIssuerAcmeSolversDns01Route53AuthKubernetesServiceAccountRef { /// If neither the Access Key nor Key ID are set, we fall-back to using env /// vars, shared credentials file or AWS Instance metadata, /// see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01Route53SecretAccessKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -675,7 +676,7 @@ pub struct ClusterIssuerAcmeSolversDns01Route53SecretAccessKeySecretRef { /// Configure an external webhook based DNS01 challenge solver to manage /// DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversDns01Webhook { /// Additional configuration that should be passed to the webhook apiserver /// when challenges are processed. @@ -704,7 +705,7 @@ pub struct ClusterIssuerAcmeSolversDns01Webhook { /// performing the HTTP01 challenge flow. /// It is not possible to obtain certificates for wildcard domain names /// (e.g. `*.example.com`) using the HTTP01 challenge mechanism. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01 { /// The Gateway API is a sig-network community API that models service networking /// in Kubernetes (https://gateway-api.sigs.k8s.io/). The Gateway solver will @@ -724,7 +725,7 @@ pub struct ClusterIssuerAcmeSolversHttp01 { /// in Kubernetes (https://gateway-api.sigs.k8s.io/). The Gateway solver will /// create HTTPRoutes with the specified labels in the same namespace as the challenge. /// This solver is experimental, and fields / behaviour may change in the future. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01GatewayHttpRoute { /// Custom labels that will be applied to HTTPRoutes created by cert-manager /// while solving HTTP-01 challenges. @@ -757,7 +758,7 @@ pub struct ClusterIssuerAcmeSolversHttp01GatewayHttpRoute { /// /// The API object must be valid in the cluster; the Group and Kind must /// be registered in the cluster for this reference to be valid. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01GatewayHttpRouteParentRefs { /// Group is the group of the referent. /// When unspecified, "gateway.networking.k8s.io" is inferred. @@ -887,7 +888,7 @@ pub struct ClusterIssuerAcmeSolversHttp01GatewayHttpRouteParentRefs { /// creating or modifying Ingress resources in order to route requests for /// '/.well-known/acme-challenge/XYZ' to 'challenge solver' pods that are /// provisioned by cert-manager for each Challenge to be completed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01Ingress { /// This field configures the annotation `kubernetes.io/ingress.class` when /// creating Ingress resources to solve ACME challenges that use this @@ -925,7 +926,7 @@ pub struct ClusterIssuerAcmeSolversHttp01Ingress { /// Optional ingress template used to configure the ACME challenge solver /// ingress used for HTTP01 challenges. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressIngressTemplate { /// ObjectMeta overrides for the ingress used to solve HTTP01 challenges. /// Only the 'labels' and 'annotations' fields may be set. @@ -939,7 +940,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressIngressTemplate { /// Only the 'labels' and 'annotations' fields may be set. /// If labels or annotations overlap with in-built values, the values here /// will override the in-built values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressIngressTemplateMetadata { /// Annotations that should be added to the created ACME HTTP01 solver ingress. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -951,7 +952,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressIngressTemplateMetadata { /// Optional pod template used to configure the ACME challenge solver pods /// used for HTTP01 challenges. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplate { /// ObjectMeta overrides for the pod used to solve HTTP01 challenges. /// Only the 'labels' and 'annotations' fields may be set. @@ -970,7 +971,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplate { /// Only the 'labels' and 'annotations' fields may be set. /// If labels or annotations overlap with in-built values, the values here /// will override the in-built values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateMetadata { /// Annotations that should be added to the create ACME HTTP01 solver pods. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -983,7 +984,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateMetadata { /// PodSpec defines overrides for the HTTP01 challenge solver pod. /// Check ACMEChallengeSolverHTTP01IngressPodSpec to find out currently supported fields. /// All other fields will be ignored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpec { /// If specified, the pod's scheduling constraints #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1008,7 +1009,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpec { } /// If specified, the pod's scheduling constraints -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -1022,7 +1023,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -1046,7 +1047,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffin /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -1055,7 +1056,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffin } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1067,7 +1068,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffin /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1085,7 +1086,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffin /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1106,7 +1107,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffin /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -1116,7 +1117,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffin /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1128,7 +1129,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffin /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1146,7 +1147,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffin /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1163,7 +1164,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffin } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -1188,7 +1189,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffini } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1199,7 +1200,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffini } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1251,7 +1252,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffini /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1265,7 +1266,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffini /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1285,7 +1286,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffini /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1299,7 +1300,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffini /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1320,7 +1321,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffini /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1372,7 +1373,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffini /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1386,7 +1387,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffini /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1406,7 +1407,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffini /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1420,7 +1421,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffini /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1436,7 +1437,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffini } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -1461,7 +1462,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAf } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1472,7 +1473,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAf } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1524,7 +1525,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAf /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1538,7 +1539,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAf /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1558,7 +1559,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAf /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1572,7 +1573,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAf /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1593,7 +1594,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAf /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1645,7 +1646,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAf /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1659,7 +1660,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAf /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1679,7 +1680,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAf /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1693,7 +1694,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAf /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1710,7 +1711,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAf /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecImagePullSecrets { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -1725,7 +1726,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecImagePullSecrets /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -1758,7 +1759,7 @@ pub struct ClusterIssuerAcmeSolversHttp01IngressPodTemplateSpecTolerations { /// If not specified, the solver will be treated as the 'default' solver /// with the lowest priority, i.e. if any other solver has a more specific /// match, it will be used instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerAcmeSolversSelector { /// List of DNSNames that this solver will be used to solve. /// If specified and a match is found, a dnsNames selector will take @@ -1789,7 +1790,7 @@ pub struct ClusterIssuerAcmeSolversSelector { /// CA configures this issuer to sign certificates using a signing CA keypair /// stored in a Secret resource. /// This is used to build internal PKIs that are managed by cert-manager. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerCa { /// The CRL distribution points is an X.509 v3 certificate extension which identifies /// the location of the CRL from which the revocation of this certificate can be checked. @@ -1816,7 +1817,7 @@ pub struct ClusterIssuerCa { /// SelfSigned configures this issuer to 'self sign' certificates using the /// private key used to create the CertificateRequest object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerSelfSigned { /// The CRL distribution points is an X.509 v3 certificate extension which identifies /// the location of the CRL from which the revocation of this certificate can be checked. @@ -1827,7 +1828,7 @@ pub struct ClusterIssuerSelfSigned { /// Vault configures this issuer to sign certificates using a HashiCorp Vault /// PKI backend. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerVault { /// Auth configures how cert-manager authenticates with the Vault server. pub auth: ClusterIssuerVaultAuth, @@ -1867,7 +1868,7 @@ pub struct ClusterIssuerVault { } /// Auth configures how cert-manager authenticates with the Vault server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerVaultAuth { /// AppRole authenticates with Vault using the App Role auth mechanism, /// with the role and secret stored in a Kubernetes Secret resource. @@ -1884,7 +1885,7 @@ pub struct ClusterIssuerVaultAuth { /// AppRole authenticates with Vault using the App Role auth mechanism, /// with the role and secret stored in a Kubernetes Secret resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerVaultAuthAppRole { /// Path where the App Role authentication backend is mounted in Vault, e.g: /// "approle" @@ -1905,7 +1906,7 @@ pub struct ClusterIssuerVaultAuthAppRole { /// to authenticate with Vault. /// The `key` field must be specified and denotes which entry within the Secret /// resource is used as the app role secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerVaultAuthAppRoleSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -1919,7 +1920,7 @@ pub struct ClusterIssuerVaultAuthAppRoleSecretRef { /// Kubernetes authenticates with Vault by passing the ServiceAccount /// token stored in the named Secret resource to the Vault server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerVaultAuthKubernetes { /// The Vault mountPath here is the mount path to use when authenticating with /// Vault. For example, setting a value to `/v1/auth/foo`, will use the path @@ -1947,7 +1948,7 @@ pub struct ClusterIssuerVaultAuthKubernetes { /// The required Secret field containing a Kubernetes ServiceAccount JWT used /// for authenticating with Vault. Use of 'ambient credentials' is not /// supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerVaultAuthKubernetesSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -1964,7 +1965,7 @@ pub struct ClusterIssuerVaultAuthKubernetesSecretRef { /// using this field means that you don't rely on statically bound tokens. To /// use this field, you must configure an RBAC rule to let cert-manager /// request a token. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerVaultAuthKubernetesServiceAccountRef { /// TokenAudiences is an optional list of extra audiences to include in the token passed to Vault. The default token /// consisting of the issuer's namespace and name is always included. @@ -1975,7 +1976,7 @@ pub struct ClusterIssuerVaultAuthKubernetesServiceAccountRef { } /// TokenSecretRef authenticates with Vault by presenting a token. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerVaultAuthTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -1993,7 +1994,7 @@ pub struct ClusterIssuerVaultAuthTokenSecretRef { /// If neither CABundle nor CABundleSecretRef are defined, the certificate bundle in /// the cert-manager controller container is used to validate the TLS connection. /// If no key for the Secret is specified, cert-manager will default to 'ca.crt'. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerVaultCaBundleSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -2007,7 +2008,7 @@ pub struct ClusterIssuerVaultCaBundleSecretRef { /// Reference to a Secret containing a PEM-encoded Client Certificate to use when the /// Vault server requires mTLS. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerVaultClientCertSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -2021,7 +2022,7 @@ pub struct ClusterIssuerVaultClientCertSecretRef { /// Reference to a Secret containing a PEM-encoded Client Private Key to use when the /// Vault server requires mTLS. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerVaultClientKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -2035,7 +2036,7 @@ pub struct ClusterIssuerVaultClientKeySecretRef { /// Venafi configures this issuer to sign certificates using a Venafi TPP /// or Venafi Cloud policy zone. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerVenafi { /// Cloud specifies the Venafi cloud configuration settings. /// Only one of TPP or Cloud may be specified. @@ -2054,7 +2055,7 @@ pub struct ClusterIssuerVenafi { /// Cloud specifies the Venafi cloud configuration settings. /// Only one of TPP or Cloud may be specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerVenafiCloud { /// APITokenSecretRef is a secret key selector for the Venafi Cloud API token. #[serde(rename = "apiTokenSecretRef")] @@ -2066,7 +2067,7 @@ pub struct ClusterIssuerVenafiCloud { } /// APITokenSecretRef is a secret key selector for the Venafi Cloud API token. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerVenafiCloudApiTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -2080,7 +2081,7 @@ pub struct ClusterIssuerVenafiCloudApiTokenSecretRef { /// TPP specifies Trust Protection Platform configuration settings. /// Only one of TPP or Cloud may be specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerVenafiTpp { /// Base64-encoded bundle of PEM CAs which will be used to validate the certificate /// chain presented by the TPP server. Only used if using HTTPS; ignored for HTTP. @@ -2101,7 +2102,7 @@ pub struct ClusterIssuerVenafiTpp { /// CredentialsRef is a reference to a Secret containing the username and /// password for the TPP server. /// The secret must contain two keys, 'username' and 'password'. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerVenafiTppCredentialsRef { /// Name of the resource being referred to. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -2109,7 +2110,7 @@ pub struct ClusterIssuerVenafiTppCredentialsRef { } /// Status of the ClusterIssuer. This is set and managed automatically. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerStatus { /// ACME specific status options. /// This field should only be set if the Issuer is configured to use an ACME @@ -2125,7 +2126,7 @@ pub struct ClusterIssuerStatus { /// ACME specific status options. /// This field should only be set if the Issuer is configured to use an ACME /// server to issue certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterIssuerStatusAcme { /// LastPrivateKeyHash is a hash of the private key associated with the latest /// registered ACME account, in order to track changes made to registered account diff --git a/kube-custom-resources-rs/src/cert_manager_io/v1/issuers.rs b/kube-custom-resources-rs/src/cert_manager_io/v1/issuers.rs index c7c02c5d3..3c9602c75 100644 --- a/kube-custom-resources-rs/src/cert_manager_io/v1/issuers.rs +++ b/kube-custom-resources-rs/src/cert_manager_io/v1/issuers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/issuers.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cert-manager/cert-manager/cert-manager.io/v1/issuers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// Desired state of the Issuer resource. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "cert-manager.io", version = "v1", kind = "Issuer", plural = "issuers")] #[kube(namespaced)] #[kube(status = "IssuerStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct IssuerSpec { /// ACME configures this issuer to communicate with a RFC8555 (ACME) server @@ -44,7 +45,7 @@ pub struct IssuerSpec { /// ACME configures this issuer to communicate with a RFC8555 (ACME) server /// to obtain signed x509 certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcme { /// Base64-encoded bundle of PEM CAs which can be used to validate the certificate /// chain presented by the ACME server. @@ -128,7 +129,7 @@ pub struct IssuerAcme { /// server. /// If set, upon registration cert-manager will attempt to associate the given /// external account credentials with the registered ACME account. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeExternalAccountBinding { /// Deprecated: keyAlgorithm field exists for historical compatibility /// reasons and should not be used. The algorithm is now hardcoded to HS256 @@ -170,7 +171,7 @@ pub enum IssuerAcmeExternalAccountBindingKeyAlgorithm { /// the External Account Binding keyID above. /// The secret key stored in the Secret **must** be un-padded, base64 URL /// encoded data. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeExternalAccountBindingKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -187,7 +188,7 @@ pub struct IssuerAcmeExternalAccountBindingKeySecretRef { /// Optionally, a `key` may be specified to select a specific entry within /// the named Secret resource. /// If `key` is not specified, a default of `tls.key` will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmePrivateKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -202,7 +203,7 @@ pub struct IssuerAcmePrivateKeySecretRef { /// An ACMEChallengeSolver describes how to solve ACME challenges for the issuer it is part of. /// A selector may be provided to use different solving strategies for different DNS names. /// Only one of HTTP01 or DNS01 must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolvers { /// Configures cert-manager to attempt to complete authorizations by /// performing the DNS01 challenge flow. @@ -225,7 +226,7 @@ pub struct IssuerAcmeSolvers { /// Configures cert-manager to attempt to complete authorizations by /// performing the DNS01 challenge flow. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01 { /// Use the 'ACME DNS' (https://github.com/joohoi/acme-dns) API to manage /// DNS01 challenge records. @@ -265,7 +266,7 @@ pub struct IssuerAcmeSolversDns01 { /// Use the 'ACME DNS' (https://github.com/joohoi/acme-dns) API to manage /// DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01AcmeDns { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. @@ -276,7 +277,7 @@ pub struct IssuerAcmeSolversDns01AcmeDns { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01AcmeDnsAccountSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -289,7 +290,7 @@ pub struct IssuerAcmeSolversDns01AcmeDnsAccountSecretRef { } /// Use the Akamai DNS zone management API to manage DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01Akamai { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. @@ -309,7 +310,7 @@ pub struct IssuerAcmeSolversDns01Akamai { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01AkamaiAccessTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -323,7 +324,7 @@ pub struct IssuerAcmeSolversDns01AkamaiAccessTokenSecretRef { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01AkamaiClientSecretSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -337,7 +338,7 @@ pub struct IssuerAcmeSolversDns01AkamaiClientSecretSecretRef { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01AkamaiClientTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -350,7 +351,7 @@ pub struct IssuerAcmeSolversDns01AkamaiClientTokenSecretRef { } /// Use the Microsoft Azure DNS API to manage DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01AzureDns { /// Auth: Azure Service Principal: /// The ClientID of the Azure Service Principal used to authenticate with Azure DNS. @@ -389,7 +390,7 @@ pub struct IssuerAcmeSolversDns01AzureDns { /// Auth: Azure Service Principal: /// A reference to a Secret containing the password associated with the Service Principal. /// If set, ClientID and TenantID must also be set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01AzureDnsClientSecretSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -414,7 +415,7 @@ pub enum IssuerAcmeSolversDns01AzureDnsEnvironment { /// Auth: Azure Workload Identity or Azure Managed Service Identity: /// Settings to enable Azure Workload Identity or Azure Managed Service Identity /// If set, ClientID, ClientSecret and TenantID must not be set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01AzureDnsManagedIdentity { /// client ID of the managed identity, can not be used at the same time as resourceID #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientID")] @@ -426,7 +427,7 @@ pub struct IssuerAcmeSolversDns01AzureDnsManagedIdentity { } /// Use the Google Cloud DNS API to manage DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01CloudDns { /// HostedZoneName is an optional field that tells cert-manager in which /// Cloud DNS zone the challenge record has to be created. @@ -442,7 +443,7 @@ pub struct IssuerAcmeSolversDns01CloudDns { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01CloudDnsServiceAccountSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -455,7 +456,7 @@ pub struct IssuerAcmeSolversDns01CloudDnsServiceAccountSecretRef { } /// Use the Cloudflare API to manage DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01Cloudflare { /// API key to use to authenticate with Cloudflare. /// Note: using an API token to authenticate is now the recommended method @@ -473,7 +474,7 @@ pub struct IssuerAcmeSolversDns01Cloudflare { /// API key to use to authenticate with Cloudflare. /// Note: using an API token to authenticate is now the recommended method /// as it allows greater control of permissions. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01CloudflareApiKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -486,7 +487,7 @@ pub struct IssuerAcmeSolversDns01CloudflareApiKeySecretRef { } /// API token used to authenticate with Cloudflare. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01CloudflareApiTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -507,7 +508,7 @@ pub enum IssuerAcmeSolversDns01CnameStrategy { } /// Use the DigitalOcean DNS API to manage DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01Digitalocean { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. @@ -517,7 +518,7 @@ pub struct IssuerAcmeSolversDns01Digitalocean { /// A reference to a specific 'key' within a Secret resource. /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01DigitaloceanTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -531,7 +532,7 @@ pub struct IssuerAcmeSolversDns01DigitaloceanTokenSecretRef { /// Use RFC2136 ("Dynamic Updates in the Domain Name System") (https://datatracker.ietf.org/doc/rfc2136/) /// to manage DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01Rfc2136 { /// The IP address or hostname of an authoritative DNS server supporting /// RFC2136 in the form host:port. If the host is an IPv6 address it must be @@ -556,7 +557,7 @@ pub struct IssuerAcmeSolversDns01Rfc2136 { /// The name of the secret containing the TSIG value. /// If ``tsigKeyName`` is defined, this field is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01Rfc2136TsigSecretSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -569,7 +570,7 @@ pub struct IssuerAcmeSolversDns01Rfc2136TsigSecretSecretRef { } /// Use the AWS Route53 API to manage DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01Route53 { /// The AccessKeyID is used for authentication. /// Cannot be set when SecretAccessKeyID is set. @@ -612,7 +613,7 @@ pub struct IssuerAcmeSolversDns01Route53 { /// If neither the Access Key nor Key ID are set, we fall-back to using env /// vars, shared credentials file or AWS Instance metadata, /// see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01Route53AccessKeyIdSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -625,7 +626,7 @@ pub struct IssuerAcmeSolversDns01Route53AccessKeyIdSecretRef { } /// Auth configures how cert-manager authenticates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01Route53Auth { /// Kubernetes authenticates with Route53 using AssumeRoleWithWebIdentity /// by passing a bound ServiceAccount token. @@ -634,7 +635,7 @@ pub struct IssuerAcmeSolversDns01Route53Auth { /// Kubernetes authenticates with Route53 using AssumeRoleWithWebIdentity /// by passing a bound ServiceAccount token. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01Route53AuthKubernetes { /// A reference to a service account that will be used to request a bound /// token (also known as "projected token"). To use this field, you must @@ -646,7 +647,7 @@ pub struct IssuerAcmeSolversDns01Route53AuthKubernetes { /// A reference to a service account that will be used to request a bound /// token (also known as "projected token"). To use this field, you must /// configure an RBAC rule to let cert-manager request a token. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01Route53AuthKubernetesServiceAccountRef { /// TokenAudiences is an optional list of audiences to include in the /// token passed to AWS. The default token consisting of the issuer's namespace @@ -662,7 +663,7 @@ pub struct IssuerAcmeSolversDns01Route53AuthKubernetesServiceAccountRef { /// If neither the Access Key nor Key ID are set, we fall-back to using env /// vars, shared credentials file or AWS Instance metadata, /// see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01Route53SecretAccessKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -676,7 +677,7 @@ pub struct IssuerAcmeSolversDns01Route53SecretAccessKeySecretRef { /// Configure an external webhook based DNS01 challenge solver to manage /// DNS01 challenge records. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversDns01Webhook { /// Additional configuration that should be passed to the webhook apiserver /// when challenges are processed. @@ -705,7 +706,7 @@ pub struct IssuerAcmeSolversDns01Webhook { /// performing the HTTP01 challenge flow. /// It is not possible to obtain certificates for wildcard domain names /// (e.g. `*.example.com`) using the HTTP01 challenge mechanism. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01 { /// The Gateway API is a sig-network community API that models service networking /// in Kubernetes (https://gateway-api.sigs.k8s.io/). The Gateway solver will @@ -725,7 +726,7 @@ pub struct IssuerAcmeSolversHttp01 { /// in Kubernetes (https://gateway-api.sigs.k8s.io/). The Gateway solver will /// create HTTPRoutes with the specified labels in the same namespace as the challenge. /// This solver is experimental, and fields / behaviour may change in the future. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01GatewayHttpRoute { /// Custom labels that will be applied to HTTPRoutes created by cert-manager /// while solving HTTP-01 challenges. @@ -758,7 +759,7 @@ pub struct IssuerAcmeSolversHttp01GatewayHttpRoute { /// /// The API object must be valid in the cluster; the Group and Kind must /// be registered in the cluster for this reference to be valid. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01GatewayHttpRouteParentRefs { /// Group is the group of the referent. /// When unspecified, "gateway.networking.k8s.io" is inferred. @@ -888,7 +889,7 @@ pub struct IssuerAcmeSolversHttp01GatewayHttpRouteParentRefs { /// creating or modifying Ingress resources in order to route requests for /// '/.well-known/acme-challenge/XYZ' to 'challenge solver' pods that are /// provisioned by cert-manager for each Challenge to be completed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01Ingress { /// This field configures the annotation `kubernetes.io/ingress.class` when /// creating Ingress resources to solve ACME challenges that use this @@ -926,7 +927,7 @@ pub struct IssuerAcmeSolversHttp01Ingress { /// Optional ingress template used to configure the ACME challenge solver /// ingress used for HTTP01 challenges. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressIngressTemplate { /// ObjectMeta overrides for the ingress used to solve HTTP01 challenges. /// Only the 'labels' and 'annotations' fields may be set. @@ -940,7 +941,7 @@ pub struct IssuerAcmeSolversHttp01IngressIngressTemplate { /// Only the 'labels' and 'annotations' fields may be set. /// If labels or annotations overlap with in-built values, the values here /// will override the in-built values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressIngressTemplateMetadata { /// Annotations that should be added to the created ACME HTTP01 solver ingress. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -952,7 +953,7 @@ pub struct IssuerAcmeSolversHttp01IngressIngressTemplateMetadata { /// Optional pod template used to configure the ACME challenge solver pods /// used for HTTP01 challenges. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplate { /// ObjectMeta overrides for the pod used to solve HTTP01 challenges. /// Only the 'labels' and 'annotations' fields may be set. @@ -971,7 +972,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplate { /// Only the 'labels' and 'annotations' fields may be set. /// If labels or annotations overlap with in-built values, the values here /// will override the in-built values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateMetadata { /// Annotations that should be added to the create ACME HTTP01 solver pods. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -984,7 +985,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateMetadata { /// PodSpec defines overrides for the HTTP01 challenge solver pod. /// Check ACMEChallengeSolverHTTP01IngressPodSpec to find out currently supported fields. /// All other fields will be ignored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpec { /// If specified, the pod's scheduling constraints #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1009,7 +1010,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpec { } /// If specified, the pod's scheduling constraints -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -1023,7 +1024,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -1047,7 +1048,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -1056,7 +1057,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityPref } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1068,7 +1069,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityPref /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1086,7 +1087,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityPref /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1107,7 +1108,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityPref /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -1117,7 +1118,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityRequ /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1129,7 +1130,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityRequ /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1147,7 +1148,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityRequ /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1164,7 +1165,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityNodeAffinityRequ } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -1189,7 +1190,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1200,7 +1201,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityPrefe } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1252,7 +1253,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityPrefe /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1266,7 +1267,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityPrefe /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1286,7 +1287,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityPrefe /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1300,7 +1301,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityPrefe /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1321,7 +1322,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityPrefe /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1373,7 +1374,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityRequi /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1387,7 +1388,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityRequi /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1407,7 +1408,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityRequi /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1421,7 +1422,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityRequi /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1437,7 +1438,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityRequi } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -1462,7 +1463,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinity } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1473,7 +1474,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityP } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1525,7 +1526,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityP /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1539,7 +1540,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityP /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1559,7 +1560,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityP /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1573,7 +1574,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityP /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1594,7 +1595,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityP /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1646,7 +1647,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityR /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1660,7 +1661,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityR /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1680,7 +1681,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityR /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1694,7 +1695,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityR /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1711,7 +1712,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAntiAffinityR /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecImagePullSecrets { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -1726,7 +1727,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecImagePullSecrets { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -1759,7 +1760,7 @@ pub struct IssuerAcmeSolversHttp01IngressPodTemplateSpecTolerations { /// If not specified, the solver will be treated as the 'default' solver /// with the lowest priority, i.e. if any other solver has a more specific /// match, it will be used instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerAcmeSolversSelector { /// List of DNSNames that this solver will be used to solve. /// If specified and a match is found, a dnsNames selector will take @@ -1790,7 +1791,7 @@ pub struct IssuerAcmeSolversSelector { /// CA configures this issuer to sign certificates using a signing CA keypair /// stored in a Secret resource. /// This is used to build internal PKIs that are managed by cert-manager. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerCa { /// The CRL distribution points is an X.509 v3 certificate extension which identifies /// the location of the CRL from which the revocation of this certificate can be checked. @@ -1817,7 +1818,7 @@ pub struct IssuerCa { /// SelfSigned configures this issuer to 'self sign' certificates using the /// private key used to create the CertificateRequest object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerSelfSigned { /// The CRL distribution points is an X.509 v3 certificate extension which identifies /// the location of the CRL from which the revocation of this certificate can be checked. @@ -1828,7 +1829,7 @@ pub struct IssuerSelfSigned { /// Vault configures this issuer to sign certificates using a HashiCorp Vault /// PKI backend. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerVault { /// Auth configures how cert-manager authenticates with the Vault server. pub auth: IssuerVaultAuth, @@ -1868,7 +1869,7 @@ pub struct IssuerVault { } /// Auth configures how cert-manager authenticates with the Vault server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerVaultAuth { /// AppRole authenticates with Vault using the App Role auth mechanism, /// with the role and secret stored in a Kubernetes Secret resource. @@ -1885,7 +1886,7 @@ pub struct IssuerVaultAuth { /// AppRole authenticates with Vault using the App Role auth mechanism, /// with the role and secret stored in a Kubernetes Secret resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerVaultAuthAppRole { /// Path where the App Role authentication backend is mounted in Vault, e.g: /// "approle" @@ -1906,7 +1907,7 @@ pub struct IssuerVaultAuthAppRole { /// to authenticate with Vault. /// The `key` field must be specified and denotes which entry within the Secret /// resource is used as the app role secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerVaultAuthAppRoleSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -1920,7 +1921,7 @@ pub struct IssuerVaultAuthAppRoleSecretRef { /// Kubernetes authenticates with Vault by passing the ServiceAccount /// token stored in the named Secret resource to the Vault server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerVaultAuthKubernetes { /// The Vault mountPath here is the mount path to use when authenticating with /// Vault. For example, setting a value to `/v1/auth/foo`, will use the path @@ -1948,7 +1949,7 @@ pub struct IssuerVaultAuthKubernetes { /// The required Secret field containing a Kubernetes ServiceAccount JWT used /// for authenticating with Vault. Use of 'ambient credentials' is not /// supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerVaultAuthKubernetesSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -1965,7 +1966,7 @@ pub struct IssuerVaultAuthKubernetesSecretRef { /// using this field means that you don't rely on statically bound tokens. To /// use this field, you must configure an RBAC rule to let cert-manager /// request a token. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerVaultAuthKubernetesServiceAccountRef { /// TokenAudiences is an optional list of extra audiences to include in the token passed to Vault. The default token /// consisting of the issuer's namespace and name is always included. @@ -1976,7 +1977,7 @@ pub struct IssuerVaultAuthKubernetesServiceAccountRef { } /// TokenSecretRef authenticates with Vault by presenting a token. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerVaultAuthTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -1994,7 +1995,7 @@ pub struct IssuerVaultAuthTokenSecretRef { /// If neither CABundle nor CABundleSecretRef are defined, the certificate bundle in /// the cert-manager controller container is used to validate the TLS connection. /// If no key for the Secret is specified, cert-manager will default to 'ca.crt'. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerVaultCaBundleSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -2008,7 +2009,7 @@ pub struct IssuerVaultCaBundleSecretRef { /// Reference to a Secret containing a PEM-encoded Client Certificate to use when the /// Vault server requires mTLS. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerVaultClientCertSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -2022,7 +2023,7 @@ pub struct IssuerVaultClientCertSecretRef { /// Reference to a Secret containing a PEM-encoded Client Private Key to use when the /// Vault server requires mTLS. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerVaultClientKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -2036,7 +2037,7 @@ pub struct IssuerVaultClientKeySecretRef { /// Venafi configures this issuer to sign certificates using a Venafi TPP /// or Venafi Cloud policy zone. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerVenafi { /// Cloud specifies the Venafi cloud configuration settings. /// Only one of TPP or Cloud may be specified. @@ -2055,7 +2056,7 @@ pub struct IssuerVenafi { /// Cloud specifies the Venafi cloud configuration settings. /// Only one of TPP or Cloud may be specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerVenafiCloud { /// APITokenSecretRef is a secret key selector for the Venafi Cloud API token. #[serde(rename = "apiTokenSecretRef")] @@ -2067,7 +2068,7 @@ pub struct IssuerVenafiCloud { } /// APITokenSecretRef is a secret key selector for the Venafi Cloud API token. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerVenafiCloudApiTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. /// Some instances of this field may be defaulted, in others it may be @@ -2081,7 +2082,7 @@ pub struct IssuerVenafiCloudApiTokenSecretRef { /// TPP specifies Trust Protection Platform configuration settings. /// Only one of TPP or Cloud may be specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerVenafiTpp { /// Base64-encoded bundle of PEM CAs which will be used to validate the certificate /// chain presented by the TPP server. Only used if using HTTPS; ignored for HTTP. @@ -2102,7 +2103,7 @@ pub struct IssuerVenafiTpp { /// CredentialsRef is a reference to a Secret containing the username and /// password for the TPP server. /// The secret must contain two keys, 'username' and 'password'. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerVenafiTppCredentialsRef { /// Name of the resource being referred to. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -2110,7 +2111,7 @@ pub struct IssuerVenafiTppCredentialsRef { } /// Status of the Issuer. This is set and managed automatically. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerStatus { /// ACME specific status options. /// This field should only be set if the Issuer is configured to use an ACME @@ -2126,7 +2127,7 @@ pub struct IssuerStatus { /// ACME specific status options. /// This field should only be set if the Issuer is configured to use an ACME /// server to issue certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IssuerStatusAcme { /// LastPrivateKeyHash is a hash of the private key associated with the latest /// registered ACME account, in order to track changes made to registered account diff --git a/kube-custom-resources-rs/src/chainsaw_kyverno_io/v1alpha1/configurations.rs b/kube-custom-resources-rs/src/chainsaw_kyverno_io/v1alpha1/configurations.rs index c438c93b9..af1bc287b 100644 --- a/kube-custom-resources-rs/src/chainsaw_kyverno_io/v1alpha1/configurations.rs +++ b/kube-custom-resources-rs/src/chainsaw_kyverno_io/v1alpha1/configurations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/chainsaw/chainsaw.kyverno.io/v1alpha1/configurations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/chainsaw/chainsaw.kyverno.io/v1alpha1/configurations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/chainsaw_kyverno_io/v1alpha1/tests.rs b/kube-custom-resources-rs/src/chainsaw_kyverno_io/v1alpha1/tests.rs index 4c7b3061d..dc69a7069 100644 --- a/kube-custom-resources-rs/src/chainsaw_kyverno_io/v1alpha1/tests.rs +++ b/kube-custom-resources-rs/src/chainsaw_kyverno_io/v1alpha1/tests.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/chainsaw/chainsaw.kyverno.io/v1alpha1/tests.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/chainsaw/chainsaw.kyverno.io/v1alpha1/tests.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/chainsaw_kyverno_io/v1alpha2/configurations.rs b/kube-custom-resources-rs/src/chainsaw_kyverno_io/v1alpha2/configurations.rs index d15a16b04..ede3a3dbb 100644 --- a/kube-custom-resources-rs/src/chainsaw_kyverno_io/v1alpha2/configurations.rs +++ b/kube-custom-resources-rs/src/chainsaw_kyverno_io/v1alpha2/configurations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/chainsaw/chainsaw.kyverno.io/v1alpha2/configurations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/chainsaw/chainsaw.kyverno.io/v1alpha2/configurations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/awschaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/awschaos.rs index 41484db2d..d7186a140 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/awschaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/awschaos.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/awschaos.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/awschaos.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -56,7 +56,7 @@ pub enum AWSChaosAction { } /// AWSChaosStatus represents the status of an AWSChaos -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AWSChaosStatus { /// Conditions represents the current global condition of the chaos #[serde(default, skip_serializing_if = "Option::is_none")] @@ -65,7 +65,7 @@ pub struct AWSChaosStatus { pub experiment: AWSChaosStatusExperiment, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AWSChaosStatusConditions { #[serde(default, skip_serializing_if = "Option::is_none")] pub reason: Option, @@ -75,7 +75,7 @@ pub struct AWSChaosStatusConditions { } /// Experiment records the last experiment state. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AWSChaosStatusExperiment { /// Records are used to track the running status #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerRecords")] @@ -84,7 +84,7 @@ pub struct AWSChaosStatusExperiment { pub desired_phase: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AWSChaosStatusExperimentContainerRecords { /// Events are the essential details about the injections and recoveries #[serde(default, skip_serializing_if = "Option::is_none")] @@ -101,7 +101,7 @@ pub struct AWSChaosStatusExperimentContainerRecords { pub selector_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AWSChaosStatusExperimentContainerRecordsEvents { /// Message is the detail message, e.g. the reason why we failed to inject the chaos #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/azurechaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/azurechaos.rs index 181d8c181..c97c9f344 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/azurechaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/azurechaos.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/azurechaos.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/azurechaos.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -56,7 +56,7 @@ pub enum AzureChaosAction { } /// AzureChaosStatus represents the status of an AzureChaos -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AzureChaosStatus { /// Conditions represents the current global condition of the chaos #[serde(default, skip_serializing_if = "Option::is_none")] @@ -65,7 +65,7 @@ pub struct AzureChaosStatus { pub experiment: AzureChaosStatusExperiment, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AzureChaosStatusConditions { #[serde(default, skip_serializing_if = "Option::is_none")] pub reason: Option, @@ -75,7 +75,7 @@ pub struct AzureChaosStatusConditions { } /// Experiment records the last experiment state. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AzureChaosStatusExperiment { /// Records are used to track the running status #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerRecords")] @@ -84,7 +84,7 @@ pub struct AzureChaosStatusExperiment { pub desired_phase: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AzureChaosStatusExperimentContainerRecords { /// Events are the essential details about the injections and recoveries #[serde(default, skip_serializing_if = "Option::is_none")] @@ -101,7 +101,7 @@ pub struct AzureChaosStatusExperimentContainerRecords { pub selector_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AzureChaosStatusExperimentContainerRecordsEvents { /// Message is the detail message, e.g. the reason why we failed to inject the chaos #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/blockchaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/blockchaos.rs index 7f24059f5..1d7979258 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/blockchaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/blockchaos.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/blockchaos.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/blockchaos.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -50,7 +50,7 @@ pub enum BlockChaosAction { } /// Delay defines the delay distribution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BlockChaosDelay { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -77,7 +77,7 @@ pub enum BlockChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BlockChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -109,7 +109,7 @@ pub struct BlockChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BlockChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -121,7 +121,7 @@ pub struct BlockChaosSelectorExpressionSelectors { } /// BlockChaosStatus represents the status of a BlockChaos -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BlockChaosStatus { /// Conditions represents the current global condition of the chaos #[serde(default, skip_serializing_if = "Option::is_none")] @@ -133,7 +133,7 @@ pub struct BlockChaosStatus { pub ids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BlockChaosStatusConditions { #[serde(default, skip_serializing_if = "Option::is_none")] pub reason: Option, @@ -143,7 +143,7 @@ pub struct BlockChaosStatusConditions { } /// Experiment records the last experiment state. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BlockChaosStatusExperiment { /// Records are used to track the running status #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerRecords")] @@ -152,7 +152,7 @@ pub struct BlockChaosStatusExperiment { pub desired_phase: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BlockChaosStatusExperimentContainerRecords { /// Events are the essential details about the injections and recoveries #[serde(default, skip_serializing_if = "Option::is_none")] @@ -169,7 +169,7 @@ pub struct BlockChaosStatusExperimentContainerRecords { pub selector_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BlockChaosStatusExperimentContainerRecordsEvents { /// Message is the detail message, e.g. the reason why we failed to inject the chaos #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/dnschaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/dnschaos.rs index bf5639eca..a3a80c93e 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/dnschaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/dnschaos.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/dnschaos.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/dnschaos.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -65,7 +65,7 @@ pub enum DNSChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DNSChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -97,7 +97,7 @@ pub struct DNSChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DNSChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -109,7 +109,7 @@ pub struct DNSChaosSelectorExpressionSelectors { } /// Most recently observed status of the chaos experiment about pods -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DNSChaosStatus { /// Conditions represents the current global condition of the chaos #[serde(default, skip_serializing_if = "Option::is_none")] @@ -118,7 +118,7 @@ pub struct DNSChaosStatus { pub experiment: DNSChaosStatusExperiment, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DNSChaosStatusConditions { #[serde(default, skip_serializing_if = "Option::is_none")] pub reason: Option, @@ -128,7 +128,7 @@ pub struct DNSChaosStatusConditions { } /// Experiment records the last experiment state. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DNSChaosStatusExperiment { /// Records are used to track the running status #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerRecords")] @@ -137,7 +137,7 @@ pub struct DNSChaosStatusExperiment { pub desired_phase: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DNSChaosStatusExperimentContainerRecords { /// Events are the essential details about the injections and recoveries #[serde(default, skip_serializing_if = "Option::is_none")] @@ -154,7 +154,7 @@ pub struct DNSChaosStatusExperimentContainerRecords { pub selector_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DNSChaosStatusExperimentContainerRecordsEvents { /// Message is the detail message, e.g. the reason why we failed to inject the chaos #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/gcpchaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/gcpchaos.rs index 63a1a4797..e4523df1c 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/gcpchaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/gcpchaos.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/gcpchaos.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/gcpchaos.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -50,7 +50,7 @@ pub enum GCPChaosAction { } /// GCPChaosStatus represents the status of a GCPChaos -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GCPChaosStatus { /// The attached disk info strings. Needed in disk-loss. #[serde(default, skip_serializing_if = "Option::is_none", rename = "attachedDiskStrings")] @@ -62,7 +62,7 @@ pub struct GCPChaosStatus { pub experiment: GCPChaosStatusExperiment, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GCPChaosStatusConditions { #[serde(default, skip_serializing_if = "Option::is_none")] pub reason: Option, @@ -72,7 +72,7 @@ pub struct GCPChaosStatusConditions { } /// Experiment records the last experiment state. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GCPChaosStatusExperiment { /// Records are used to track the running status #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerRecords")] @@ -81,7 +81,7 @@ pub struct GCPChaosStatusExperiment { pub desired_phase: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GCPChaosStatusExperimentContainerRecords { /// Events are the essential details about the injections and recoveries #[serde(default, skip_serializing_if = "Option::is_none")] @@ -98,7 +98,7 @@ pub struct GCPChaosStatusExperimentContainerRecords { pub selector_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GCPChaosStatusExperimentContainerRecordsEvents { /// Message is the detail message, e.g. the reason why we failed to inject the chaos #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/httpchaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/httpchaos.rs index 91d42b09c..7e82de71e 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/httpchaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/httpchaos.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/httpchaos.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/httpchaos.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -81,7 +81,7 @@ pub enum HTTPChaosMode { } /// Patch is a rule to patch some contents in target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPChaosPatch { /// Body is a rule to patch message body of target. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -95,7 +95,7 @@ pub struct HTTPChaosPatch { } /// Body is a rule to patch message body of target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPChaosPatchBody { /// Type represents the patch type, only support `JSON` as [merge patch json](https://tools.ietf.org/html/rfc7396) currently. #[serde(rename = "type")] @@ -105,7 +105,7 @@ pub struct HTTPChaosPatchBody { } /// Replace is a rule to replace some contents in target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPChaosReplace { /// Body is a rule to replace http message body in target. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -128,7 +128,7 @@ pub struct HTTPChaosReplace { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -160,7 +160,7 @@ pub struct HTTPChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -178,7 +178,7 @@ pub enum HTTPChaosTarget { } /// TLS is the tls config, will override PodHttpChaos if there are multiple HTTPChaos experiments are applied -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPChaosTls { /// CAName represents the data name of ca file in secret, `ca.crt` for example #[serde(default, skip_serializing_if = "Option::is_none", rename = "caName")] @@ -197,7 +197,7 @@ pub struct HTTPChaosTls { pub secret_namespace: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPChaosStatus { /// Conditions represents the current global condition of the chaos #[serde(default, skip_serializing_if = "Option::is_none")] @@ -209,7 +209,7 @@ pub struct HTTPChaosStatus { pub instances: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPChaosStatusConditions { #[serde(default, skip_serializing_if = "Option::is_none")] pub reason: Option, @@ -219,7 +219,7 @@ pub struct HTTPChaosStatusConditions { } /// Experiment records the last experiment state. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPChaosStatusExperiment { /// Records are used to track the running status #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerRecords")] @@ -228,7 +228,7 @@ pub struct HTTPChaosStatusExperiment { pub desired_phase: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPChaosStatusExperimentContainerRecords { /// Events are the essential details about the injections and recoveries #[serde(default, skip_serializing_if = "Option::is_none")] @@ -245,7 +245,7 @@ pub struct HTTPChaosStatusExperimentContainerRecords { pub selector_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPChaosStatusExperimentContainerRecordsEvents { /// Message is the detail message, e.g. the reason why we failed to inject the chaos #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/iochaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/iochaos.rs index 7bb80b073..c675c02f3 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/iochaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/iochaos.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/iochaos.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/iochaos.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -75,7 +75,7 @@ pub enum IOChaosAction { } /// Attr defines the overrided attribution -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IOChaosAttr { /// Timespec represents a time #[serde(default, skip_serializing_if = "Option::is_none")] @@ -108,28 +108,28 @@ pub struct IOChaosAttr { } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IOChaosAttrAtime { pub nsec: i64, pub sec: i64, } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IOChaosAttrCtime { pub nsec: i64, pub sec: i64, } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IOChaosAttrMtime { pub nsec: i64, pub sec: i64, } /// Mistake defines what types of incorrectness are injected to IO operations -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IOChaosMistake { /// Filling determines what is filled in the mistake data. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -167,7 +167,7 @@ pub enum IOChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IOChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -199,7 +199,7 @@ pub struct IOChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IOChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -211,7 +211,7 @@ pub struct IOChaosSelectorExpressionSelectors { } /// IOChaosStatus defines the observed state of IOChaos -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IOChaosStatus { /// Conditions represents the current global condition of the chaos #[serde(default, skip_serializing_if = "Option::is_none")] @@ -223,7 +223,7 @@ pub struct IOChaosStatus { pub instances: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IOChaosStatusConditions { #[serde(default, skip_serializing_if = "Option::is_none")] pub reason: Option, @@ -233,7 +233,7 @@ pub struct IOChaosStatusConditions { } /// Experiment records the last experiment state. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IOChaosStatusExperiment { /// Records are used to track the running status #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerRecords")] @@ -242,7 +242,7 @@ pub struct IOChaosStatusExperiment { pub desired_phase: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IOChaosStatusExperimentContainerRecords { /// Events are the essential details about the injections and recoveries #[serde(default, skip_serializing_if = "Option::is_none")] @@ -259,7 +259,7 @@ pub struct IOChaosStatusExperimentContainerRecords { pub selector_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IOChaosStatusExperimentContainerRecordsEvents { /// Message is the detail message, e.g. the reason why we failed to inject the chaos #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/jvmchaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/jvmchaos.rs index 57cd225a1..b9c3b0bdd 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/jvmchaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/jvmchaos.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/jvmchaos.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/jvmchaos.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -114,7 +114,7 @@ pub enum JVMChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JVMChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -146,7 +146,7 @@ pub struct JVMChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JVMChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -158,7 +158,7 @@ pub struct JVMChaosSelectorExpressionSelectors { } /// JVMChaosStatus defines the observed state of JVMChaos -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JVMChaosStatus { /// Conditions represents the current global condition of the chaos #[serde(default, skip_serializing_if = "Option::is_none")] @@ -167,7 +167,7 @@ pub struct JVMChaosStatus { pub experiment: JVMChaosStatusExperiment, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JVMChaosStatusConditions { #[serde(default, skip_serializing_if = "Option::is_none")] pub reason: Option, @@ -177,7 +177,7 @@ pub struct JVMChaosStatusConditions { } /// Experiment records the last experiment state. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JVMChaosStatusExperiment { /// Records are used to track the running status #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerRecords")] @@ -186,7 +186,7 @@ pub struct JVMChaosStatusExperiment { pub desired_phase: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JVMChaosStatusExperimentContainerRecords { /// Events are the essential details about the injections and recoveries #[serde(default, skip_serializing_if = "Option::is_none")] @@ -203,7 +203,7 @@ pub struct JVMChaosStatusExperimentContainerRecords { pub selector_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JVMChaosStatusExperimentContainerRecordsEvents { /// Message is the detail message, e.g. the reason why we failed to inject the chaos #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/kernelchaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/kernelchaos.rs index 5fc8a1773..98f3eb61c 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/kernelchaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/kernelchaos.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/kernelchaos.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/kernelchaos.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -39,7 +39,7 @@ pub struct KernelChaosSpec { } /// FailKernRequest defines the request of kernel injection -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KernelChaosFailKernRequest { /// Callchain indicate a special call chain, such as: ext4_mount -> mount_subtree -> ... -> should_failslab With an optional set of predicates and an optional set of parameters, which used with predicates. You can read call chan and predicate examples from https://github.com/chaos-mesh/bpfki/tree/develop/examples to learn more. If no special call chain, just keep Callchain empty, which means it will fail at any call chain with slab alloc (eg: kmalloc). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -58,7 +58,7 @@ pub struct KernelChaosFailKernRequest { } /// Frame defines the function signature and predicate in function's body -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KernelChaosFailKernRequestCallchain { /// Funcname can be find from kernel source or `/proc/kallsyms`, such as `ext4_mount` #[serde(default, skip_serializing_if = "Option::is_none")] @@ -87,7 +87,7 @@ pub enum KernelChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KernelChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -119,7 +119,7 @@ pub struct KernelChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KernelChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -131,7 +131,7 @@ pub struct KernelChaosSelectorExpressionSelectors { } /// Most recently observed status of the kernel chaos experiment -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KernelChaosStatus { /// Conditions represents the current global condition of the chaos #[serde(default, skip_serializing_if = "Option::is_none")] @@ -140,7 +140,7 @@ pub struct KernelChaosStatus { pub experiment: KernelChaosStatusExperiment, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KernelChaosStatusConditions { #[serde(default, skip_serializing_if = "Option::is_none")] pub reason: Option, @@ -150,7 +150,7 @@ pub struct KernelChaosStatusConditions { } /// Experiment records the last experiment state. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KernelChaosStatusExperiment { /// Records are used to track the running status #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerRecords")] @@ -159,7 +159,7 @@ pub struct KernelChaosStatusExperiment { pub desired_phase: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KernelChaosStatusExperimentContainerRecords { /// Events are the essential details about the injections and recoveries #[serde(default, skip_serializing_if = "Option::is_none")] @@ -176,7 +176,7 @@ pub struct KernelChaosStatusExperimentContainerRecords { pub selector_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KernelChaosStatusExperimentContainerRecordsEvents { /// Message is the detail message, e.g. the reason why we failed to inject the chaos #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/networkchaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/networkchaos.rs index 81e9ae638..ffb80b99f 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/networkchaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/networkchaos.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/networkchaos.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/networkchaos.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -87,7 +87,7 @@ pub enum NetworkChaosAction { } /// Bandwidth represents the detail about bandwidth control action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NetworkChaosBandwidth { /// Buffer is the maximum amount of bytes that tokens can be available for instantaneously. pub buffer: i32, @@ -104,7 +104,7 @@ pub struct NetworkChaosBandwidth { } /// Corrupt represents the detail about corrupt action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NetworkChaosCorrupt { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -112,7 +112,7 @@ pub struct NetworkChaosCorrupt { } /// Delay represents the detail about delay action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NetworkChaosDelay { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -125,7 +125,7 @@ pub struct NetworkChaosDelay { } /// ReorderSpec defines details of packet reorder. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NetworkChaosDelayReorder { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -145,7 +145,7 @@ pub enum NetworkChaosDirection { } /// DuplicateSpec represents the detail about loss action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NetworkChaosDuplicate { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -153,7 +153,7 @@ pub struct NetworkChaosDuplicate { } /// Loss represents the detail about loss action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NetworkChaosLoss { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -176,14 +176,14 @@ pub enum NetworkChaosMode { } /// Rate represents the detail about rate control action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NetworkChaosRate { /// Rate is the speed knob. Allows bit, kbit, mbit, gbit, tbit, bps, kbps, mbps, gbps, tbps unit. bps means bytes per second. pub rate: String, } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NetworkChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -215,7 +215,7 @@ pub struct NetworkChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NetworkChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -254,7 +254,7 @@ pub enum NetworkChaosTargetMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NetworkChaosTargetSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -286,7 +286,7 @@ pub struct NetworkChaosTargetSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NetworkChaosTargetSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -298,7 +298,7 @@ pub struct NetworkChaosTargetSelectorExpressionSelectors { } /// Most recently observed status of the chaos experiment about pods -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NetworkChaosStatus { /// Conditions represents the current global condition of the chaos #[serde(default, skip_serializing_if = "Option::is_none")] @@ -310,7 +310,7 @@ pub struct NetworkChaosStatus { pub instances: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NetworkChaosStatusConditions { #[serde(default, skip_serializing_if = "Option::is_none")] pub reason: Option, @@ -320,7 +320,7 @@ pub struct NetworkChaosStatusConditions { } /// Experiment records the last experiment state. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NetworkChaosStatusExperiment { /// Records are used to track the running status #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerRecords")] @@ -329,7 +329,7 @@ pub struct NetworkChaosStatusExperiment { pub desired_phase: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NetworkChaosStatusExperimentContainerRecords { /// Events are the essential details about the injections and recoveries #[serde(default, skip_serializing_if = "Option::is_none")] @@ -346,7 +346,7 @@ pub struct NetworkChaosStatusExperimentContainerRecords { pub selector_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NetworkChaosStatusExperimentContainerRecordsEvents { /// Message is the detail message, e.g. the reason why we failed to inject the chaos #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/physicalmachinechaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/physicalmachinechaos.rs index 0c1fba595..3c7daad0d 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/physicalmachinechaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/physicalmachinechaos.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/physicalmachinechaos.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/physicalmachinechaos.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -211,7 +211,7 @@ pub enum PhysicalMachineChaosAction { UserDefined, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosClock { /// the identifier of the particular clock on which to act. More clock description in linux kernel can be found in man page of clock_getres, clock_gettime, clock_settime. Muti clock ids should be split with "," #[serde(default, skip_serializing_if = "Option::is_none", rename = "clock-ids-slice")] @@ -224,7 +224,7 @@ pub struct PhysicalMachineChaosClock { pub time_offset: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosDiskFill { /// fill disk by fallocate #[serde(default, skip_serializing_if = "Option::is_none", rename = "fill-by-fallocate")] @@ -237,7 +237,7 @@ pub struct PhysicalMachineChaosDiskFill { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosDiskReadPayload { /// specifies the location to fill data in. if path not provided, payload will read/write from/into a temp file, temp file will be deleted after writing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -250,7 +250,7 @@ pub struct PhysicalMachineChaosDiskReadPayload { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosDiskWritePayload { /// specifies the location to fill data in. if path not provided, payload will read/write from/into a temp file, temp file will be deleted after writing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -263,7 +263,7 @@ pub struct PhysicalMachineChaosDiskWritePayload { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosFileAppend { /// Count is the number of times to append the data. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -276,7 +276,7 @@ pub struct PhysicalMachineChaosFileAppend { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosFileCreate { /// DirName is the directory name to create or delete. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dir-name")] @@ -286,7 +286,7 @@ pub struct PhysicalMachineChaosFileCreate { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosFileDelete { /// DirName is the directory name to create or delete. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dir-name")] @@ -296,7 +296,7 @@ pub struct PhysicalMachineChaosFileDelete { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosFileModify { /// FileName is the name of the file to be created, modified, deleted, renamed, or appended. #[serde(default, skip_serializing_if = "Option::is_none", rename = "file-name")] @@ -306,7 +306,7 @@ pub struct PhysicalMachineChaosFileModify { pub privilege: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosFileRename { /// DestFile is the name to be renamed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dest-file")] @@ -316,7 +316,7 @@ pub struct PhysicalMachineChaosFileRename { pub source_file: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosFileReplace { /// DestStr is the destination string of the file. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dest-string")] @@ -332,7 +332,7 @@ pub struct PhysicalMachineChaosFileReplace { pub origin_string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosHttpAbort { /// Code is a rule to select target by http status code in response #[serde(default, skip_serializing_if = "Option::is_none")] @@ -352,14 +352,14 @@ pub struct PhysicalMachineChaosHttpAbort { pub target: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosHttpConfig { /// The config file path #[serde(default, skip_serializing_if = "Option::is_none")] pub file_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosHttpDelay { /// Code is a rule to select target by http status code in response #[serde(default, skip_serializing_if = "Option::is_none")] @@ -382,7 +382,7 @@ pub struct PhysicalMachineChaosHttpDelay { } /// used for HTTP request, now only support GET -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosHttpRequest { /// The number of requests to send #[serde(default, skip_serializing_if = "Option::is_none")] @@ -395,7 +395,7 @@ pub struct PhysicalMachineChaosHttpRequest { pub url: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosJvmException { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -414,7 +414,7 @@ pub struct PhysicalMachineChaosJvmException { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosJvmGc { /// the pid of Java process which needs to attach #[serde(default, skip_serializing_if = "Option::is_none")] @@ -424,7 +424,7 @@ pub struct PhysicalMachineChaosJvmGc { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosJvmLatency { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -443,7 +443,7 @@ pub struct PhysicalMachineChaosJvmLatency { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosJvmMysql { /// the match database default value is "", means match all database #[serde(default, skip_serializing_if = "Option::is_none")] @@ -471,7 +471,7 @@ pub struct PhysicalMachineChaosJvmMysql { pub table: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosJvmReturn { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -490,7 +490,7 @@ pub struct PhysicalMachineChaosJvmReturn { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosJvmRuleData { /// the pid of Java process which needs to attach #[serde(default, skip_serializing_if = "Option::is_none")] @@ -503,7 +503,7 @@ pub struct PhysicalMachineChaosJvmRuleData { pub rule_data: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosJvmStress { /// the CPU core number need to use, only set it when action is stress #[serde(default, skip_serializing_if = "Option::is_none", rename = "cpu-count")] @@ -519,7 +519,7 @@ pub struct PhysicalMachineChaosJvmStress { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosKafkaFill { /// The host of kafka server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -547,7 +547,7 @@ pub struct PhysicalMachineChaosKafkaFill { pub username: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosKafkaFlood { /// The host of kafka server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -572,7 +572,7 @@ pub struct PhysicalMachineChaosKafkaFlood { pub username: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosKafkaIo { /// The path of server config #[serde(default, skip_serializing_if = "Option::is_none", rename = "configFile")] @@ -603,7 +603,7 @@ pub enum PhysicalMachineChaosMode { RandomMaxPercent, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosNetworkBandwidth { pub buffer: i32, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -620,7 +620,7 @@ pub struct PhysicalMachineChaosNetworkBandwidth { pub rate: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosNetworkCorrupt { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -648,7 +648,7 @@ pub struct PhysicalMachineChaosNetworkCorrupt { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosNetworkDelay { /// only the packet which match the tcp flag can be accepted, others will be dropped. only set when the IPProtocol is tcp, used for partition. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accept-tcp-flags")] @@ -682,7 +682,7 @@ pub struct PhysicalMachineChaosNetworkDelay { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosNetworkDns { /// map this host to specified IP #[serde(default, skip_serializing_if = "Option::is_none", rename = "dns-domain-name")] @@ -695,7 +695,7 @@ pub struct PhysicalMachineChaosNetworkDns { pub dns_server: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosNetworkDown { /// The network interface to impact #[serde(default, skip_serializing_if = "Option::is_none")] @@ -705,7 +705,7 @@ pub struct PhysicalMachineChaosNetworkDown { pub duration: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosNetworkDuplicate { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -733,7 +733,7 @@ pub struct PhysicalMachineChaosNetworkDuplicate { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosNetworkFlood { /// The number of seconds to run the iperf test pub duration: String, @@ -750,7 +750,7 @@ pub struct PhysicalMachineChaosNetworkFlood { pub rate: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosNetworkLoss { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -778,7 +778,7 @@ pub struct PhysicalMachineChaosNetworkLoss { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosNetworkPartition { /// only the packet which match the tcp flag can be accepted, others will be dropped. only set when the IPProtocol is tcp, used for partition. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accept-tcp-flags")] @@ -800,7 +800,7 @@ pub struct PhysicalMachineChaosNetworkPartition { pub ip_protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosProcess { /// the process name or the process ID #[serde(default, skip_serializing_if = "Option::is_none")] @@ -813,7 +813,7 @@ pub struct PhysicalMachineChaosProcess { pub signal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosRedisCacheLimit { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -829,7 +829,7 @@ pub struct PhysicalMachineChaosRedisCacheLimit { pub percent: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosRedisExpiration { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -848,7 +848,7 @@ pub struct PhysicalMachineChaosRedisExpiration { pub password: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosRedisPenetration { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -861,7 +861,7 @@ pub struct PhysicalMachineChaosRedisPenetration { pub request_num: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosRedisRestart { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -880,7 +880,7 @@ pub struct PhysicalMachineChaosRedisRestart { pub redis_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosRedisStop { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -900,7 +900,7 @@ pub struct PhysicalMachineChaosRedisStop { } /// Selector is used to select physical machines that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -923,7 +923,7 @@ pub struct PhysicalMachineChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -934,7 +934,7 @@ pub struct PhysicalMachineChaosSelectorExpressionSelectors { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosStressCpu { /// specifies P percent loading per CPU worker. 0 is effectively a sleep (no load) and 100 is full loading. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -947,7 +947,7 @@ pub struct PhysicalMachineChaosStressCpu { pub workers: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosStressMem { /// extend stress-ng options #[serde(default, skip_serializing_if = "Option::is_none")] @@ -957,7 +957,7 @@ pub struct PhysicalMachineChaosStressMem { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosUserDefined { /// The command to be executed when attack #[serde(default, skip_serializing_if = "Option::is_none", rename = "attackCmd")] @@ -967,7 +967,7 @@ pub struct PhysicalMachineChaosUserDefined { pub recover_cmd: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosVm { /// The name of the VM to be injected #[serde(default, skip_serializing_if = "Option::is_none", rename = "vm-name")] @@ -975,7 +975,7 @@ pub struct PhysicalMachineChaosVm { } /// Most recently observed status of the chaos experiment -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosStatus { /// Conditions represents the current global condition of the chaos #[serde(default, skip_serializing_if = "Option::is_none")] @@ -984,7 +984,7 @@ pub struct PhysicalMachineChaosStatus { pub experiment: PhysicalMachineChaosStatusExperiment, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosStatusConditions { #[serde(default, skip_serializing_if = "Option::is_none")] pub reason: Option, @@ -994,7 +994,7 @@ pub struct PhysicalMachineChaosStatusConditions { } /// Experiment records the last experiment state. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosStatusExperiment { /// Records are used to track the running status #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerRecords")] @@ -1003,7 +1003,7 @@ pub struct PhysicalMachineChaosStatusExperiment { pub desired_phase: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosStatusExperimentContainerRecords { /// Events are the essential details about the injections and recoveries #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1020,7 +1020,7 @@ pub struct PhysicalMachineChaosStatusExperimentContainerRecords { pub selector_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PhysicalMachineChaosStatusExperimentContainerRecordsEvents { /// Message is the detail message, e.g. the reason why we failed to inject the chaos #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/physicalmachines.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/physicalmachines.rs index 58f2aa2c2..14efc0704 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/physicalmachines.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/physicalmachines.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/physicalmachines.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/physicalmachines.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podchaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podchaos.rs index 6d716cabf..90c1a3340 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podchaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podchaos.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/podchaos.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/podchaos.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -67,7 +67,7 @@ pub enum PodChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PodChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -99,7 +99,7 @@ pub struct PodChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PodChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -111,7 +111,7 @@ pub struct PodChaosSelectorExpressionSelectors { } /// Most recently observed status of the chaos experiment about pods -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PodChaosStatus { /// Conditions represents the current global condition of the chaos #[serde(default, skip_serializing_if = "Option::is_none")] @@ -120,7 +120,7 @@ pub struct PodChaosStatus { pub experiment: PodChaosStatusExperiment, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PodChaosStatusConditions { #[serde(default, skip_serializing_if = "Option::is_none")] pub reason: Option, @@ -130,7 +130,7 @@ pub struct PodChaosStatusConditions { } /// Experiment records the last experiment state. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PodChaosStatusExperiment { /// Records are used to track the running status #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerRecords")] @@ -139,7 +139,7 @@ pub struct PodChaosStatusExperiment { pub desired_phase: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PodChaosStatusExperimentContainerRecords { /// Events are the essential details about the injections and recoveries #[serde(default, skip_serializing_if = "Option::is_none")] @@ -156,7 +156,7 @@ pub struct PodChaosStatusExperimentContainerRecords { pub selector_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PodChaosStatusExperimentContainerRecordsEvents { /// Message is the detail message, e.g. the reason why we failed to inject the chaos #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podhttpchaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podhttpchaos.rs index 170d2d866..572e3caf0 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podhttpchaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podhttpchaos.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/podhttpchaos.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/podhttpchaos.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podiochaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podiochaos.rs index ef6dd3aca..1d81cb268 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podiochaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podiochaos.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/podiochaos.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/podiochaos.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podnetworkchaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podnetworkchaos.rs index 3b190a92b..e2d0aa2b3 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podnetworkchaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/podnetworkchaos.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/podnetworkchaos.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/podnetworkchaos.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/remoteclusters.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/remoteclusters.rs index e118d7c2b..8c8182d75 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/remoteclusters.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/remoteclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/remoteclusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/remoteclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/schedules.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/schedules.rs index 078523039..d6fa27b74 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/schedules.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/schedules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/schedules.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/schedules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// ScheduleSpec is the specification of a schedule object -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "chaos-mesh.org", version = "v1alpha1", kind = "Schedule", plural = "schedules")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ScheduleSpec { /// AWSChaosSpec is the content of the specification for an AWSChaos @@ -192,7 +193,7 @@ pub enum ScheduleBlockChaosAction { } /// Delay defines the delay distribution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBlockChaosDelay { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -219,7 +220,7 @@ pub enum ScheduleBlockChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBlockChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -251,7 +252,7 @@ pub struct ScheduleBlockChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBlockChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -320,7 +321,7 @@ pub enum ScheduleDnsChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleDnsChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -352,7 +353,7 @@ pub struct ScheduleDnsChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleDnsChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -466,7 +467,7 @@ pub enum ScheduleHttpChaosMode { } /// Patch is a rule to patch some contents in target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleHttpChaosPatch { /// Body is a rule to patch message body of target. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -480,7 +481,7 @@ pub struct ScheduleHttpChaosPatch { } /// Body is a rule to patch message body of target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleHttpChaosPatchBody { /// Type represents the patch type, only support `JSON` as [merge patch json](https://tools.ietf.org/html/rfc7396) currently. #[serde(rename = "type")] @@ -490,7 +491,7 @@ pub struct ScheduleHttpChaosPatchBody { } /// Replace is a rule to replace some contents in target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleHttpChaosReplace { /// Body is a rule to replace http message body in target. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -513,7 +514,7 @@ pub struct ScheduleHttpChaosReplace { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleHttpChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -545,7 +546,7 @@ pub struct ScheduleHttpChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleHttpChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -563,7 +564,7 @@ pub enum ScheduleHttpChaosTarget { } /// TLS is the tls config, will override PodHttpChaos if there are multiple HTTPChaos experiments are applied -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleHttpChaosTls { /// CAName represents the data name of ca file in secret, `ca.crt` for example #[serde(default, skip_serializing_if = "Option::is_none", rename = "caName")] @@ -643,7 +644,7 @@ pub enum ScheduleIoChaosAction { } /// Attr defines the overrided attribution -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleIoChaosAttr { /// Timespec represents a time #[serde(default, skip_serializing_if = "Option::is_none")] @@ -676,28 +677,28 @@ pub struct ScheduleIoChaosAttr { } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleIoChaosAttrAtime { pub nsec: i64, pub sec: i64, } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleIoChaosAttrCtime { pub nsec: i64, pub sec: i64, } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleIoChaosAttrMtime { pub nsec: i64, pub sec: i64, } /// Mistake defines what types of incorrectness are injected to IO operations -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleIoChaosMistake { /// Filling determines what is filled in the mistake data. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -735,7 +736,7 @@ pub enum ScheduleIoChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleIoChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -767,7 +768,7 @@ pub struct ScheduleIoChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleIoChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -878,7 +879,7 @@ pub enum ScheduleJvmChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleJvmChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -910,7 +911,7 @@ pub struct ScheduleJvmChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleJvmChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -946,7 +947,7 @@ pub struct ScheduleKernelChaos { } /// FailKernRequest defines the request of kernel injection -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleKernelChaosFailKernRequest { /// Callchain indicate a special call chain, such as: ext4_mount -> mount_subtree -> ... -> should_failslab With an optional set of predicates and an optional set of parameters, which used with predicates. You can read call chan and predicate examples from https://github.com/chaos-mesh/bpfki/tree/develop/examples to learn more. If no special call chain, just keep Callchain empty, which means it will fail at any call chain with slab alloc (eg: kmalloc). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -965,7 +966,7 @@ pub struct ScheduleKernelChaosFailKernRequest { } /// Frame defines the function signature and predicate in function's body -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleKernelChaosFailKernRequestCallchain { /// Funcname can be find from kernel source or `/proc/kallsyms`, such as `ext4_mount` #[serde(default, skip_serializing_if = "Option::is_none")] @@ -994,7 +995,7 @@ pub enum ScheduleKernelChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleKernelChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -1026,7 +1027,7 @@ pub struct ScheduleKernelChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleKernelChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -1110,7 +1111,7 @@ pub enum ScheduleNetworkChaosAction { } /// Bandwidth represents the detail about bandwidth control action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleNetworkChaosBandwidth { /// Buffer is the maximum amount of bytes that tokens can be available for instantaneously. pub buffer: i32, @@ -1127,7 +1128,7 @@ pub struct ScheduleNetworkChaosBandwidth { } /// Corrupt represents the detail about corrupt action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleNetworkChaosCorrupt { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -1135,7 +1136,7 @@ pub struct ScheduleNetworkChaosCorrupt { } /// Delay represents the detail about delay action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleNetworkChaosDelay { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -1148,7 +1149,7 @@ pub struct ScheduleNetworkChaosDelay { } /// ReorderSpec defines details of packet reorder. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleNetworkChaosDelayReorder { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -1168,7 +1169,7 @@ pub enum ScheduleNetworkChaosDirection { } /// DuplicateSpec represents the detail about loss action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleNetworkChaosDuplicate { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -1176,7 +1177,7 @@ pub struct ScheduleNetworkChaosDuplicate { } /// Loss represents the detail about loss action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleNetworkChaosLoss { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -1199,14 +1200,14 @@ pub enum ScheduleNetworkChaosMode { } /// Rate represents the detail about rate control action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleNetworkChaosRate { /// Rate is the speed knob. Allows bit, kbit, mbit, gbit, tbit, bps, kbps, mbps, gbps, tbps unit. bps means bytes per second. pub rate: String, } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleNetworkChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -1238,7 +1239,7 @@ pub struct ScheduleNetworkChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleNetworkChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -1277,7 +1278,7 @@ pub enum ScheduleNetworkChaosTargetMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleNetworkChaosTargetSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -1309,7 +1310,7 @@ pub struct ScheduleNetworkChaosTargetSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleNetworkChaosTargetSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -1517,7 +1518,7 @@ pub enum SchedulePhysicalmachineChaosAction { UserDefined, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosClock { /// the identifier of the particular clock on which to act. More clock description in linux kernel can be found in man page of clock_getres, clock_gettime, clock_settime. Muti clock ids should be split with "," #[serde(default, skip_serializing_if = "Option::is_none", rename = "clock-ids-slice")] @@ -1530,7 +1531,7 @@ pub struct SchedulePhysicalmachineChaosClock { pub time_offset: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosDiskFill { /// fill disk by fallocate #[serde(default, skip_serializing_if = "Option::is_none", rename = "fill-by-fallocate")] @@ -1543,7 +1544,7 @@ pub struct SchedulePhysicalmachineChaosDiskFill { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosDiskReadPayload { /// specifies the location to fill data in. if path not provided, payload will read/write from/into a temp file, temp file will be deleted after writing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1556,7 +1557,7 @@ pub struct SchedulePhysicalmachineChaosDiskReadPayload { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosDiskWritePayload { /// specifies the location to fill data in. if path not provided, payload will read/write from/into a temp file, temp file will be deleted after writing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1569,7 +1570,7 @@ pub struct SchedulePhysicalmachineChaosDiskWritePayload { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosFileAppend { /// Count is the number of times to append the data. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1582,7 +1583,7 @@ pub struct SchedulePhysicalmachineChaosFileAppend { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosFileCreate { /// DirName is the directory name to create or delete. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dir-name")] @@ -1592,7 +1593,7 @@ pub struct SchedulePhysicalmachineChaosFileCreate { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosFileDelete { /// DirName is the directory name to create or delete. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dir-name")] @@ -1602,7 +1603,7 @@ pub struct SchedulePhysicalmachineChaosFileDelete { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosFileModify { /// FileName is the name of the file to be created, modified, deleted, renamed, or appended. #[serde(default, skip_serializing_if = "Option::is_none", rename = "file-name")] @@ -1612,7 +1613,7 @@ pub struct SchedulePhysicalmachineChaosFileModify { pub privilege: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosFileRename { /// DestFile is the name to be renamed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dest-file")] @@ -1622,7 +1623,7 @@ pub struct SchedulePhysicalmachineChaosFileRename { pub source_file: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosFileReplace { /// DestStr is the destination string of the file. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dest-string")] @@ -1638,7 +1639,7 @@ pub struct SchedulePhysicalmachineChaosFileReplace { pub origin_string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosHttpAbort { /// Code is a rule to select target by http status code in response #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1658,14 +1659,14 @@ pub struct SchedulePhysicalmachineChaosHttpAbort { pub target: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosHttpConfig { /// The config file path #[serde(default, skip_serializing_if = "Option::is_none")] pub file_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosHttpDelay { /// Code is a rule to select target by http status code in response #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1688,7 +1689,7 @@ pub struct SchedulePhysicalmachineChaosHttpDelay { } /// used for HTTP request, now only support GET -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosHttpRequest { /// The number of requests to send #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1701,7 +1702,7 @@ pub struct SchedulePhysicalmachineChaosHttpRequest { pub url: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosJvmException { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1720,7 +1721,7 @@ pub struct SchedulePhysicalmachineChaosJvmException { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosJvmGc { /// the pid of Java process which needs to attach #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1730,7 +1731,7 @@ pub struct SchedulePhysicalmachineChaosJvmGc { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosJvmLatency { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1749,7 +1750,7 @@ pub struct SchedulePhysicalmachineChaosJvmLatency { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosJvmMysql { /// the match database default value is "", means match all database #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1777,7 +1778,7 @@ pub struct SchedulePhysicalmachineChaosJvmMysql { pub table: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosJvmReturn { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1796,7 +1797,7 @@ pub struct SchedulePhysicalmachineChaosJvmReturn { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosJvmRuleData { /// the pid of Java process which needs to attach #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1809,7 +1810,7 @@ pub struct SchedulePhysicalmachineChaosJvmRuleData { pub rule_data: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosJvmStress { /// the CPU core number need to use, only set it when action is stress #[serde(default, skip_serializing_if = "Option::is_none", rename = "cpu-count")] @@ -1825,7 +1826,7 @@ pub struct SchedulePhysicalmachineChaosJvmStress { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosKafkaFill { /// The host of kafka server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1853,7 +1854,7 @@ pub struct SchedulePhysicalmachineChaosKafkaFill { pub username: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosKafkaFlood { /// The host of kafka server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1878,7 +1879,7 @@ pub struct SchedulePhysicalmachineChaosKafkaFlood { pub username: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosKafkaIo { /// The path of server config #[serde(default, skip_serializing_if = "Option::is_none", rename = "configFile")] @@ -1909,7 +1910,7 @@ pub enum SchedulePhysicalmachineChaosMode { RandomMaxPercent, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosNetworkBandwidth { pub buffer: i32, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1926,7 +1927,7 @@ pub struct SchedulePhysicalmachineChaosNetworkBandwidth { pub rate: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosNetworkCorrupt { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1954,7 +1955,7 @@ pub struct SchedulePhysicalmachineChaosNetworkCorrupt { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosNetworkDelay { /// only the packet which match the tcp flag can be accepted, others will be dropped. only set when the IPProtocol is tcp, used for partition. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accept-tcp-flags")] @@ -1988,7 +1989,7 @@ pub struct SchedulePhysicalmachineChaosNetworkDelay { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosNetworkDns { /// map this host to specified IP #[serde(default, skip_serializing_if = "Option::is_none", rename = "dns-domain-name")] @@ -2001,7 +2002,7 @@ pub struct SchedulePhysicalmachineChaosNetworkDns { pub dns_server: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosNetworkDown { /// The network interface to impact #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2011,7 +2012,7 @@ pub struct SchedulePhysicalmachineChaosNetworkDown { pub duration: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosNetworkDuplicate { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2039,7 +2040,7 @@ pub struct SchedulePhysicalmachineChaosNetworkDuplicate { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosNetworkFlood { /// The number of seconds to run the iperf test pub duration: String, @@ -2056,7 +2057,7 @@ pub struct SchedulePhysicalmachineChaosNetworkFlood { pub rate: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosNetworkLoss { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2084,7 +2085,7 @@ pub struct SchedulePhysicalmachineChaosNetworkLoss { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosNetworkPartition { /// only the packet which match the tcp flag can be accepted, others will be dropped. only set when the IPProtocol is tcp, used for partition. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accept-tcp-flags")] @@ -2106,7 +2107,7 @@ pub struct SchedulePhysicalmachineChaosNetworkPartition { pub ip_protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosProcess { /// the process name or the process ID #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2119,7 +2120,7 @@ pub struct SchedulePhysicalmachineChaosProcess { pub signal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosRedisCacheLimit { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2135,7 +2136,7 @@ pub struct SchedulePhysicalmachineChaosRedisCacheLimit { pub percent: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosRedisExpiration { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2154,7 +2155,7 @@ pub struct SchedulePhysicalmachineChaosRedisExpiration { pub password: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosRedisPenetration { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2167,7 +2168,7 @@ pub struct SchedulePhysicalmachineChaosRedisPenetration { pub request_num: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosRedisRestart { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2186,7 +2187,7 @@ pub struct SchedulePhysicalmachineChaosRedisRestart { pub redis_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosRedisStop { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2206,7 +2207,7 @@ pub struct SchedulePhysicalmachineChaosRedisStop { } /// Selector is used to select physical machines that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -2229,7 +2230,7 @@ pub struct SchedulePhysicalmachineChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -2240,7 +2241,7 @@ pub struct SchedulePhysicalmachineChaosSelectorExpressionSelectors { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosStressCpu { /// specifies P percent loading per CPU worker. 0 is effectively a sleep (no load) and 100 is full loading. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2253,7 +2254,7 @@ pub struct SchedulePhysicalmachineChaosStressCpu { pub workers: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosStressMem { /// extend stress-ng options #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2263,7 +2264,7 @@ pub struct SchedulePhysicalmachineChaosStressMem { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosUserDefined { /// The command to be executed when attack #[serde(default, skip_serializing_if = "Option::is_none", rename = "attackCmd")] @@ -2273,7 +2274,7 @@ pub struct SchedulePhysicalmachineChaosUserDefined { pub recover_cmd: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePhysicalmachineChaosVm { /// The name of the VM to be injected #[serde(default, skip_serializing_if = "Option::is_none", rename = "vm-name")] @@ -2333,7 +2334,7 @@ pub enum SchedulePodChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePodChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -2365,7 +2366,7 @@ pub struct SchedulePodChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePodChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -2419,7 +2420,7 @@ pub enum ScheduleStressChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleStressChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -2451,7 +2452,7 @@ pub struct ScheduleStressChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleStressChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -2463,7 +2464,7 @@ pub struct ScheduleStressChaosSelectorExpressionSelectors { } /// Stressors defines plenty of stressors supported to stress system components out. You can use one or more of them to make up various kinds of stresses. At least one of the stressors should be specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleStressChaosStressors { /// CPUStressor stresses CPU out #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2474,7 +2475,7 @@ pub struct ScheduleStressChaosStressors { } /// CPUStressor stresses CPU out -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleStressChaosStressorsCpu { /// Load specifies P percent loading per CPU worker. 0 is effectively a sleep (no load) and 100 is full loading. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2487,7 +2488,7 @@ pub struct ScheduleStressChaosStressorsCpu { } /// MemoryStressor stresses virtual memory out -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleStressChaosStressorsMemory { /// OOMScoreAdj sets the oom_score_adj of the stress process. See `man 5 proc` to know more about this option. #[serde(default, skip_serializing_if = "Option::is_none", rename = "oomScoreAdj")] @@ -2545,7 +2546,7 @@ pub enum ScheduleTimeChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleTimeChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -2577,7 +2578,7 @@ pub struct ScheduleTimeChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleTimeChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -2588,13 +2589,13 @@ pub struct ScheduleTimeChaosSelectorExpressionSelectors { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflow { pub entry: String, pub templates: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplates { /// AbortWithStatusCheck describe whether to abort the workflow when the failure threshold of StatusCheck is exceeded. Only used when Type is TypeStatusCheck. #[serde(default, skip_serializing_if = "Option::is_none", rename = "abortWithStatusCheck")] @@ -2782,7 +2783,7 @@ pub enum ScheduleWorkflowTemplatesBlockChaosAction { } /// Delay defines the delay distribution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesBlockChaosDelay { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -2809,7 +2810,7 @@ pub enum ScheduleWorkflowTemplatesBlockChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesBlockChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -2841,7 +2842,7 @@ pub struct ScheduleWorkflowTemplatesBlockChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesBlockChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -2852,7 +2853,7 @@ pub struct ScheduleWorkflowTemplatesBlockChaosSelectorExpressionSelectors { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesConditionalBranches { /// Expression is the expression for this conditional branch, expected type of result is boolean. If expression is empty, this branch will always be selected/the template will be spawned. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2912,7 +2913,7 @@ pub enum ScheduleWorkflowTemplatesDnsChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesDnsChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -2944,7 +2945,7 @@ pub struct ScheduleWorkflowTemplatesDnsChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesDnsChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -3058,7 +3059,7 @@ pub enum ScheduleWorkflowTemplatesHttpChaosMode { } /// Patch is a rule to patch some contents in target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesHttpChaosPatch { /// Body is a rule to patch message body of target. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3072,7 +3073,7 @@ pub struct ScheduleWorkflowTemplatesHttpChaosPatch { } /// Body is a rule to patch message body of target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesHttpChaosPatchBody { /// Type represents the patch type, only support `JSON` as [merge patch json](https://tools.ietf.org/html/rfc7396) currently. #[serde(rename = "type")] @@ -3082,7 +3083,7 @@ pub struct ScheduleWorkflowTemplatesHttpChaosPatchBody { } /// Replace is a rule to replace some contents in target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesHttpChaosReplace { /// Body is a rule to replace http message body in target. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3105,7 +3106,7 @@ pub struct ScheduleWorkflowTemplatesHttpChaosReplace { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesHttpChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -3137,7 +3138,7 @@ pub struct ScheduleWorkflowTemplatesHttpChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesHttpChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -3155,7 +3156,7 @@ pub enum ScheduleWorkflowTemplatesHttpChaosTarget { } /// TLS is the tls config, will override PodHttpChaos if there are multiple HTTPChaos experiments are applied -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesHttpChaosTls { /// CAName represents the data name of ca file in secret, `ca.crt` for example #[serde(default, skip_serializing_if = "Option::is_none", rename = "caName")] @@ -3235,7 +3236,7 @@ pub enum ScheduleWorkflowTemplatesIoChaosAction { } /// Attr defines the overrided attribution -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesIoChaosAttr { /// Timespec represents a time #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3268,28 +3269,28 @@ pub struct ScheduleWorkflowTemplatesIoChaosAttr { } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesIoChaosAttrAtime { pub nsec: i64, pub sec: i64, } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesIoChaosAttrCtime { pub nsec: i64, pub sec: i64, } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesIoChaosAttrMtime { pub nsec: i64, pub sec: i64, } /// Mistake defines what types of incorrectness are injected to IO operations -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesIoChaosMistake { /// Filling determines what is filled in the mistake data. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3327,7 +3328,7 @@ pub enum ScheduleWorkflowTemplatesIoChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesIoChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -3359,7 +3360,7 @@ pub struct ScheduleWorkflowTemplatesIoChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesIoChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -3470,7 +3471,7 @@ pub enum ScheduleWorkflowTemplatesJvmChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesJvmChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -3502,7 +3503,7 @@ pub struct ScheduleWorkflowTemplatesJvmChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesJvmChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -3538,7 +3539,7 @@ pub struct ScheduleWorkflowTemplatesKernelChaos { } /// FailKernRequest defines the request of kernel injection -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesKernelChaosFailKernRequest { /// Callchain indicate a special call chain, such as: ext4_mount -> mount_subtree -> ... -> should_failslab With an optional set of predicates and an optional set of parameters, which used with predicates. You can read call chan and predicate examples from https://github.com/chaos-mesh/bpfki/tree/develop/examples to learn more. If no special call chain, just keep Callchain empty, which means it will fail at any call chain with slab alloc (eg: kmalloc). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3557,7 +3558,7 @@ pub struct ScheduleWorkflowTemplatesKernelChaosFailKernRequest { } /// Frame defines the function signature and predicate in function's body -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesKernelChaosFailKernRequestCallchain { /// Funcname can be find from kernel source or `/proc/kallsyms`, such as `ext4_mount` #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3586,7 +3587,7 @@ pub enum ScheduleWorkflowTemplatesKernelChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesKernelChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -3618,7 +3619,7 @@ pub struct ScheduleWorkflowTemplatesKernelChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesKernelChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -3702,7 +3703,7 @@ pub enum ScheduleWorkflowTemplatesNetworkChaosAction { } /// Bandwidth represents the detail about bandwidth control action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesNetworkChaosBandwidth { /// Buffer is the maximum amount of bytes that tokens can be available for instantaneously. pub buffer: i32, @@ -3719,7 +3720,7 @@ pub struct ScheduleWorkflowTemplatesNetworkChaosBandwidth { } /// Corrupt represents the detail about corrupt action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesNetworkChaosCorrupt { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -3727,7 +3728,7 @@ pub struct ScheduleWorkflowTemplatesNetworkChaosCorrupt { } /// Delay represents the detail about delay action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesNetworkChaosDelay { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -3740,7 +3741,7 @@ pub struct ScheduleWorkflowTemplatesNetworkChaosDelay { } /// ReorderSpec defines details of packet reorder. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesNetworkChaosDelayReorder { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -3760,7 +3761,7 @@ pub enum ScheduleWorkflowTemplatesNetworkChaosDirection { } /// DuplicateSpec represents the detail about loss action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesNetworkChaosDuplicate { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -3768,7 +3769,7 @@ pub struct ScheduleWorkflowTemplatesNetworkChaosDuplicate { } /// Loss represents the detail about loss action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesNetworkChaosLoss { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -3791,14 +3792,14 @@ pub enum ScheduleWorkflowTemplatesNetworkChaosMode { } /// Rate represents the detail about rate control action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesNetworkChaosRate { /// Rate is the speed knob. Allows bit, kbit, mbit, gbit, tbit, bps, kbps, mbps, gbps, tbps unit. bps means bytes per second. pub rate: String, } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesNetworkChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -3830,7 +3831,7 @@ pub struct ScheduleWorkflowTemplatesNetworkChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesNetworkChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -3869,7 +3870,7 @@ pub enum ScheduleWorkflowTemplatesNetworkChaosTargetMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesNetworkChaosTargetSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -3901,7 +3902,7 @@ pub struct ScheduleWorkflowTemplatesNetworkChaosTargetSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesNetworkChaosTargetSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -4109,7 +4110,7 @@ pub enum ScheduleWorkflowTemplatesPhysicalmachineChaosAction { UserDefined, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosClock { /// the identifier of the particular clock on which to act. More clock description in linux kernel can be found in man page of clock_getres, clock_gettime, clock_settime. Muti clock ids should be split with "," #[serde(default, skip_serializing_if = "Option::is_none", rename = "clock-ids-slice")] @@ -4122,7 +4123,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosClock { pub time_offset: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosDiskFill { /// fill disk by fallocate #[serde(default, skip_serializing_if = "Option::is_none", rename = "fill-by-fallocate")] @@ -4135,7 +4136,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosDiskFill { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosDiskReadPayload { /// specifies the location to fill data in. if path not provided, payload will read/write from/into a temp file, temp file will be deleted after writing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4148,7 +4149,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosDiskReadPayload { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosDiskWritePayload { /// specifies the location to fill data in. if path not provided, payload will read/write from/into a temp file, temp file will be deleted after writing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4161,7 +4162,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosDiskWritePayload { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosFileAppend { /// Count is the number of times to append the data. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4174,7 +4175,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosFileAppend { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosFileCreate { /// DirName is the directory name to create or delete. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dir-name")] @@ -4184,7 +4185,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosFileCreate { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosFileDelete { /// DirName is the directory name to create or delete. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dir-name")] @@ -4194,7 +4195,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosFileDelete { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosFileModify { /// FileName is the name of the file to be created, modified, deleted, renamed, or appended. #[serde(default, skip_serializing_if = "Option::is_none", rename = "file-name")] @@ -4204,7 +4205,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosFileModify { pub privilege: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosFileRename { /// DestFile is the name to be renamed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dest-file")] @@ -4214,7 +4215,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosFileRename { pub source_file: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosFileReplace { /// DestStr is the destination string of the file. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dest-string")] @@ -4230,7 +4231,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosFileReplace { pub origin_string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosHttpAbort { /// Code is a rule to select target by http status code in response #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4250,14 +4251,14 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosHttpAbort { pub target: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosHttpConfig { /// The config file path #[serde(default, skip_serializing_if = "Option::is_none")] pub file_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosHttpDelay { /// Code is a rule to select target by http status code in response #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4280,7 +4281,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosHttpDelay { } /// used for HTTP request, now only support GET -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosHttpRequest { /// The number of requests to send #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4293,7 +4294,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosHttpRequest { pub url: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosJvmException { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4312,7 +4313,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosJvmException { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosJvmGc { /// the pid of Java process which needs to attach #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4322,7 +4323,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosJvmGc { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosJvmLatency { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4341,7 +4342,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosJvmLatency { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosJvmMysql { /// the match database default value is "", means match all database #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4369,7 +4370,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosJvmMysql { pub table: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosJvmReturn { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4388,7 +4389,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosJvmReturn { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosJvmRuleData { /// the pid of Java process which needs to attach #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4401,7 +4402,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosJvmRuleData { pub rule_data: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosJvmStress { /// the CPU core number need to use, only set it when action is stress #[serde(default, skip_serializing_if = "Option::is_none", rename = "cpu-count")] @@ -4417,7 +4418,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosJvmStress { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosKafkaFill { /// The host of kafka server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4445,7 +4446,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosKafkaFill { pub username: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosKafkaFlood { /// The host of kafka server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4470,7 +4471,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosKafkaFlood { pub username: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosKafkaIo { /// The path of server config #[serde(default, skip_serializing_if = "Option::is_none", rename = "configFile")] @@ -4501,7 +4502,7 @@ pub enum ScheduleWorkflowTemplatesPhysicalmachineChaosMode { RandomMaxPercent, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosNetworkBandwidth { pub buffer: i32, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4518,7 +4519,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosNetworkBandwidth { pub rate: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosNetworkCorrupt { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4546,7 +4547,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosNetworkCorrupt { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosNetworkDelay { /// only the packet which match the tcp flag can be accepted, others will be dropped. only set when the IPProtocol is tcp, used for partition. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accept-tcp-flags")] @@ -4580,7 +4581,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosNetworkDelay { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosNetworkDns { /// map this host to specified IP #[serde(default, skip_serializing_if = "Option::is_none", rename = "dns-domain-name")] @@ -4593,7 +4594,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosNetworkDns { pub dns_server: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosNetworkDown { /// The network interface to impact #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4603,7 +4604,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosNetworkDown { pub duration: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosNetworkDuplicate { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4631,7 +4632,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosNetworkDuplicate { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosNetworkFlood { /// The number of seconds to run the iperf test pub duration: String, @@ -4648,7 +4649,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosNetworkFlood { pub rate: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosNetworkLoss { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4676,7 +4677,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosNetworkLoss { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosNetworkPartition { /// only the packet which match the tcp flag can be accepted, others will be dropped. only set when the IPProtocol is tcp, used for partition. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accept-tcp-flags")] @@ -4698,7 +4699,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosNetworkPartition { pub ip_protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosProcess { /// the process name or the process ID #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4711,7 +4712,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosProcess { pub signal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosRedisCacheLimit { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4727,7 +4728,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosRedisCacheLimit { pub percent: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosRedisExpiration { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4746,7 +4747,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosRedisExpiration { pub password: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosRedisPenetration { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4759,7 +4760,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosRedisPenetration { pub request_num: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosRedisRestart { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4778,7 +4779,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosRedisRestart { pub redis_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosRedisStop { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4798,7 +4799,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosRedisStop { } /// Selector is used to select physical machines that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -4821,7 +4822,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -4832,7 +4833,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosSelectorExpressionSelect pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosStressCpu { /// specifies P percent loading per CPU worker. 0 is effectively a sleep (no load) and 100 is full loading. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4845,7 +4846,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosStressCpu { pub workers: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosStressMem { /// extend stress-ng options #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4855,7 +4856,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosStressMem { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosUserDefined { /// The command to be executed when attack #[serde(default, skip_serializing_if = "Option::is_none", rename = "attackCmd")] @@ -4865,7 +4866,7 @@ pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosUserDefined { pub recover_cmd: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPhysicalmachineChaosVm { /// The name of the VM to be injected #[serde(default, skip_serializing_if = "Option::is_none", rename = "vm-name")] @@ -4925,7 +4926,7 @@ pub enum ScheduleWorkflowTemplatesPodChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPodChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -4957,7 +4958,7 @@ pub struct ScheduleWorkflowTemplatesPodChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesPodChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -4969,7 +4970,7 @@ pub struct ScheduleWorkflowTemplatesPodChaosSelectorExpressionSelectors { } /// Schedule describe the Schedule(describing scheduled chaos) to be injected with chaos nodes. Only used when Type is TypeSchedule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedule { /// AWSChaosSpec is the content of the specification for an AWSChaos #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsChaos")] @@ -5143,7 +5144,7 @@ pub enum ScheduleWorkflowTemplatesScheduleBlockChaosAction { } /// Delay defines the delay distribution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleBlockChaosDelay { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -5170,7 +5171,7 @@ pub enum ScheduleWorkflowTemplatesScheduleBlockChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleBlockChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -5202,7 +5203,7 @@ pub struct ScheduleWorkflowTemplatesScheduleBlockChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleBlockChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -5271,7 +5272,7 @@ pub enum ScheduleWorkflowTemplatesScheduleDnsChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleDnsChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -5303,7 +5304,7 @@ pub struct ScheduleWorkflowTemplatesScheduleDnsChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleDnsChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -5417,7 +5418,7 @@ pub enum ScheduleWorkflowTemplatesScheduleHttpChaosMode { } /// Patch is a rule to patch some contents in target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleHttpChaosPatch { /// Body is a rule to patch message body of target. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5431,7 +5432,7 @@ pub struct ScheduleWorkflowTemplatesScheduleHttpChaosPatch { } /// Body is a rule to patch message body of target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleHttpChaosPatchBody { /// Type represents the patch type, only support `JSON` as [merge patch json](https://tools.ietf.org/html/rfc7396) currently. #[serde(rename = "type")] @@ -5441,7 +5442,7 @@ pub struct ScheduleWorkflowTemplatesScheduleHttpChaosPatchBody { } /// Replace is a rule to replace some contents in target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleHttpChaosReplace { /// Body is a rule to replace http message body in target. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5464,7 +5465,7 @@ pub struct ScheduleWorkflowTemplatesScheduleHttpChaosReplace { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleHttpChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -5496,7 +5497,7 @@ pub struct ScheduleWorkflowTemplatesScheduleHttpChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleHttpChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -5514,7 +5515,7 @@ pub enum ScheduleWorkflowTemplatesScheduleHttpChaosTarget { } /// TLS is the tls config, will override PodHttpChaos if there are multiple HTTPChaos experiments are applied -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleHttpChaosTls { /// CAName represents the data name of ca file in secret, `ca.crt` for example #[serde(default, skip_serializing_if = "Option::is_none", rename = "caName")] @@ -5594,7 +5595,7 @@ pub enum ScheduleWorkflowTemplatesScheduleIoChaosAction { } /// Attr defines the overrided attribution -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleIoChaosAttr { /// Timespec represents a time #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5627,28 +5628,28 @@ pub struct ScheduleWorkflowTemplatesScheduleIoChaosAttr { } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleIoChaosAttrAtime { pub nsec: i64, pub sec: i64, } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleIoChaosAttrCtime { pub nsec: i64, pub sec: i64, } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleIoChaosAttrMtime { pub nsec: i64, pub sec: i64, } /// Mistake defines what types of incorrectness are injected to IO operations -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleIoChaosMistake { /// Filling determines what is filled in the mistake data. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5686,7 +5687,7 @@ pub enum ScheduleWorkflowTemplatesScheduleIoChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleIoChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -5718,7 +5719,7 @@ pub struct ScheduleWorkflowTemplatesScheduleIoChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleIoChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -5829,7 +5830,7 @@ pub enum ScheduleWorkflowTemplatesScheduleJvmChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleJvmChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -5861,7 +5862,7 @@ pub struct ScheduleWorkflowTemplatesScheduleJvmChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleJvmChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -5897,7 +5898,7 @@ pub struct ScheduleWorkflowTemplatesScheduleKernelChaos { } /// FailKernRequest defines the request of kernel injection -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleKernelChaosFailKernRequest { /// Callchain indicate a special call chain, such as: ext4_mount -> mount_subtree -> ... -> should_failslab With an optional set of predicates and an optional set of parameters, which used with predicates. You can read call chan and predicate examples from https://github.com/chaos-mesh/bpfki/tree/develop/examples to learn more. If no special call chain, just keep Callchain empty, which means it will fail at any call chain with slab alloc (eg: kmalloc). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5916,7 +5917,7 @@ pub struct ScheduleWorkflowTemplatesScheduleKernelChaosFailKernRequest { } /// Frame defines the function signature and predicate in function's body -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleKernelChaosFailKernRequestCallchain { /// Funcname can be find from kernel source or `/proc/kallsyms`, such as `ext4_mount` #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5945,7 +5946,7 @@ pub enum ScheduleWorkflowTemplatesScheduleKernelChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleKernelChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -5977,7 +5978,7 @@ pub struct ScheduleWorkflowTemplatesScheduleKernelChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleKernelChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -6061,7 +6062,7 @@ pub enum ScheduleWorkflowTemplatesScheduleNetworkChaosAction { } /// Bandwidth represents the detail about bandwidth control action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleNetworkChaosBandwidth { /// Buffer is the maximum amount of bytes that tokens can be available for instantaneously. pub buffer: i32, @@ -6078,7 +6079,7 @@ pub struct ScheduleWorkflowTemplatesScheduleNetworkChaosBandwidth { } /// Corrupt represents the detail about corrupt action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleNetworkChaosCorrupt { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -6086,7 +6087,7 @@ pub struct ScheduleWorkflowTemplatesScheduleNetworkChaosCorrupt { } /// Delay represents the detail about delay action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleNetworkChaosDelay { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -6099,7 +6100,7 @@ pub struct ScheduleWorkflowTemplatesScheduleNetworkChaosDelay { } /// ReorderSpec defines details of packet reorder. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleNetworkChaosDelayReorder { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -6119,7 +6120,7 @@ pub enum ScheduleWorkflowTemplatesScheduleNetworkChaosDirection { } /// DuplicateSpec represents the detail about loss action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleNetworkChaosDuplicate { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -6127,7 +6128,7 @@ pub struct ScheduleWorkflowTemplatesScheduleNetworkChaosDuplicate { } /// Loss represents the detail about loss action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleNetworkChaosLoss { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -6150,14 +6151,14 @@ pub enum ScheduleWorkflowTemplatesScheduleNetworkChaosMode { } /// Rate represents the detail about rate control action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleNetworkChaosRate { /// Rate is the speed knob. Allows bit, kbit, mbit, gbit, tbit, bps, kbps, mbps, gbps, tbps unit. bps means bytes per second. pub rate: String, } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleNetworkChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -6189,7 +6190,7 @@ pub struct ScheduleWorkflowTemplatesScheduleNetworkChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleNetworkChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -6228,7 +6229,7 @@ pub enum ScheduleWorkflowTemplatesScheduleNetworkChaosTargetMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleNetworkChaosTargetSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -6260,7 +6261,7 @@ pub struct ScheduleWorkflowTemplatesScheduleNetworkChaosTargetSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleNetworkChaosTargetSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -6468,7 +6469,7 @@ pub enum ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosAction { UserDefined, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosClock { /// the identifier of the particular clock on which to act. More clock description in linux kernel can be found in man page of clock_getres, clock_gettime, clock_settime. Muti clock ids should be split with "," #[serde(default, skip_serializing_if = "Option::is_none", rename = "clock-ids-slice")] @@ -6481,7 +6482,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosClock { pub time_offset: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosDiskFill { /// fill disk by fallocate #[serde(default, skip_serializing_if = "Option::is_none", rename = "fill-by-fallocate")] @@ -6494,7 +6495,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosDiskFill { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosDiskReadPayload { /// specifies the location to fill data in. if path not provided, payload will read/write from/into a temp file, temp file will be deleted after writing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6507,7 +6508,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosDiskReadPayload pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosDiskWritePayload { /// specifies the location to fill data in. if path not provided, payload will read/write from/into a temp file, temp file will be deleted after writing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6520,7 +6521,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosDiskWritePayload pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosFileAppend { /// Count is the number of times to append the data. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6533,7 +6534,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosFileAppend { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosFileCreate { /// DirName is the directory name to create or delete. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dir-name")] @@ -6543,7 +6544,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosFileCreate { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosFileDelete { /// DirName is the directory name to create or delete. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dir-name")] @@ -6553,7 +6554,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosFileDelete { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosFileModify { /// FileName is the name of the file to be created, modified, deleted, renamed, or appended. #[serde(default, skip_serializing_if = "Option::is_none", rename = "file-name")] @@ -6563,7 +6564,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosFileModify { pub privilege: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosFileRename { /// DestFile is the name to be renamed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dest-file")] @@ -6573,7 +6574,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosFileRename { pub source_file: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosFileReplace { /// DestStr is the destination string of the file. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dest-string")] @@ -6589,7 +6590,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosFileReplace { pub origin_string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosHttpAbort { /// Code is a rule to select target by http status code in response #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6609,14 +6610,14 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosHttpAbort { pub target: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosHttpConfig { /// The config file path #[serde(default, skip_serializing_if = "Option::is_none")] pub file_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosHttpDelay { /// Code is a rule to select target by http status code in response #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6639,7 +6640,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosHttpDelay { } /// used for HTTP request, now only support GET -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosHttpRequest { /// The number of requests to send #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6652,7 +6653,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosHttpRequest { pub url: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmException { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6671,7 +6672,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmException { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmGc { /// the pid of Java process which needs to attach #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6681,7 +6682,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmGc { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmLatency { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6700,7 +6701,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmLatency { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmMysql { /// the match database default value is "", means match all database #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6728,7 +6729,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmMysql { pub table: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmReturn { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6747,7 +6748,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmReturn { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmRuleData { /// the pid of Java process which needs to attach #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6760,7 +6761,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmRuleData { pub rule_data: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmStress { /// the CPU core number need to use, only set it when action is stress #[serde(default, skip_serializing_if = "Option::is_none", rename = "cpu-count")] @@ -6776,7 +6777,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmStress { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosKafkaFill { /// The host of kafka server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6804,7 +6805,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosKafkaFill { pub username: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosKafkaFlood { /// The host of kafka server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6829,7 +6830,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosKafkaFlood { pub username: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosKafkaIo { /// The path of server config #[serde(default, skip_serializing_if = "Option::is_none", rename = "configFile")] @@ -6860,7 +6861,7 @@ pub enum ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosMode { RandomMaxPercent, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkBandwidth { pub buffer: i32, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6877,7 +6878,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkBandwidth pub rate: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkCorrupt { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6905,7 +6906,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkCorrupt { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkDelay { /// only the packet which match the tcp flag can be accepted, others will be dropped. only set when the IPProtocol is tcp, used for partition. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accept-tcp-flags")] @@ -6939,7 +6940,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkDelay { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkDns { /// map this host to specified IP #[serde(default, skip_serializing_if = "Option::is_none", rename = "dns-domain-name")] @@ -6952,7 +6953,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkDns { pub dns_server: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkDown { /// The network interface to impact #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6962,7 +6963,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkDown { pub duration: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkDuplicate { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6990,7 +6991,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkDuplicate pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkFlood { /// The number of seconds to run the iperf test pub duration: String, @@ -7007,7 +7008,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkFlood { pub rate: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkLoss { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7035,7 +7036,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkLoss { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkPartition { /// only the packet which match the tcp flag can be accepted, others will be dropped. only set when the IPProtocol is tcp, used for partition. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accept-tcp-flags")] @@ -7057,7 +7058,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkPartition pub ip_protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosProcess { /// the process name or the process ID #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7070,7 +7071,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosProcess { pub signal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosRedisCacheLimit { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7086,7 +7087,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosRedisCacheLimit pub percent: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosRedisExpiration { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7105,7 +7106,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosRedisExpiration pub password: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosRedisPenetration { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7118,7 +7119,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosRedisPenetration pub request_num: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosRedisRestart { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7137,7 +7138,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosRedisRestart { pub redis_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosRedisStop { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7157,7 +7158,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosRedisStop { } /// Selector is used to select physical machines that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -7180,7 +7181,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -7191,7 +7192,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosSelectorExpressi pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosStressCpu { /// specifies P percent loading per CPU worker. 0 is effectively a sleep (no load) and 100 is full loading. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7204,7 +7205,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosStressCpu { pub workers: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosStressMem { /// extend stress-ng options #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7214,7 +7215,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosStressMem { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosUserDefined { /// The command to be executed when attack #[serde(default, skip_serializing_if = "Option::is_none", rename = "attackCmd")] @@ -7224,7 +7225,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosUserDefined { pub recover_cmd: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePhysicalmachineChaosVm { /// The name of the VM to be injected #[serde(default, skip_serializing_if = "Option::is_none", rename = "vm-name")] @@ -7284,7 +7285,7 @@ pub enum ScheduleWorkflowTemplatesSchedulePodChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePodChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -7316,7 +7317,7 @@ pub struct ScheduleWorkflowTemplatesSchedulePodChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesSchedulePodChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -7370,7 +7371,7 @@ pub enum ScheduleWorkflowTemplatesScheduleStressChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleStressChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -7402,7 +7403,7 @@ pub struct ScheduleWorkflowTemplatesScheduleStressChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleStressChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -7414,7 +7415,7 @@ pub struct ScheduleWorkflowTemplatesScheduleStressChaosSelectorExpressionSelecto } /// Stressors defines plenty of stressors supported to stress system components out. You can use one or more of them to make up various kinds of stresses. At least one of the stressors should be specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleStressChaosStressors { /// CPUStressor stresses CPU out #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7425,7 +7426,7 @@ pub struct ScheduleWorkflowTemplatesScheduleStressChaosStressors { } /// CPUStressor stresses CPU out -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleStressChaosStressorsCpu { /// Load specifies P percent loading per CPU worker. 0 is effectively a sleep (no load) and 100 is full loading. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7438,7 +7439,7 @@ pub struct ScheduleWorkflowTemplatesScheduleStressChaosStressorsCpu { } /// MemoryStressor stresses virtual memory out -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleStressChaosStressorsMemory { /// OOMScoreAdj sets the oom_score_adj of the stress process. See `man 5 proc` to know more about this option. #[serde(default, skip_serializing_if = "Option::is_none", rename = "oomScoreAdj")] @@ -7496,7 +7497,7 @@ pub enum ScheduleWorkflowTemplatesScheduleTimeChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleTimeChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -7528,7 +7529,7 @@ pub struct ScheduleWorkflowTemplatesScheduleTimeChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesScheduleTimeChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -7570,7 +7571,7 @@ pub struct ScheduleWorkflowTemplatesStatusCheck { pub r#type: ScheduleWorkflowTemplatesStatusCheckType, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesStatusCheckHttp { #[serde(default, skip_serializing_if = "Option::is_none")] pub body: Option, @@ -7586,7 +7587,7 @@ pub struct ScheduleWorkflowTemplatesStatusCheckHttp { } /// Criteria defines how to determine the result of the status check. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesStatusCheckHttpCriteria { /// StatusCode defines the expected http status code for the request. A statusCode string could be a single code (e.g. 200), or an inclusive range (e.g. 200-400, both `200` and `400` are included). #[serde(rename = "statusCode")] @@ -7658,7 +7659,7 @@ pub enum ScheduleWorkflowTemplatesStressChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesStressChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -7690,7 +7691,7 @@ pub struct ScheduleWorkflowTemplatesStressChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesStressChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -7702,7 +7703,7 @@ pub struct ScheduleWorkflowTemplatesStressChaosSelectorExpressionSelectors { } /// Stressors defines plenty of stressors supported to stress system components out. You can use one or more of them to make up various kinds of stresses. At least one of the stressors should be specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesStressChaosStressors { /// CPUStressor stresses CPU out #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7713,7 +7714,7 @@ pub struct ScheduleWorkflowTemplatesStressChaosStressors { } /// CPUStressor stresses CPU out -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesStressChaosStressorsCpu { /// Load specifies P percent loading per CPU worker. 0 is effectively a sleep (no load) and 100 is full loading. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7726,7 +7727,7 @@ pub struct ScheduleWorkflowTemplatesStressChaosStressorsCpu { } /// MemoryStressor stresses virtual memory out -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesStressChaosStressorsMemory { /// OOMScoreAdj sets the oom_score_adj of the stress process. See `man 5 proc` to know more about this option. #[serde(default, skip_serializing_if = "Option::is_none", rename = "oomScoreAdj")] @@ -7742,7 +7743,7 @@ pub struct ScheduleWorkflowTemplatesStressChaosStressorsMemory { } /// Task describes the behavior of the custom task. Only used when Type is TypeTask. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTask { /// Container is the main container image to run in the pod #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7753,7 +7754,7 @@ pub struct ScheduleWorkflowTemplatesTask { } /// Container is the main container image to run in the pod -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainer { /// Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7829,7 +7830,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainer { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -7842,7 +7843,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -7859,7 +7860,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -7872,7 +7873,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -7883,7 +7884,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -7896,7 +7897,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -7909,7 +7910,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -7923,7 +7924,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7934,7 +7935,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7945,7 +7946,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerEnvFromSecretRef { } /// Actions that the management system should take in response to container lifecycle events. Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -7956,7 +7957,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7970,7 +7971,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7978,7 +7979,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7997,7 +7998,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerLifecyclePostStartHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerLifecyclePostStartHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -8006,7 +8007,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerLifecyclePostStartHttpGetHttpHe } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8016,7 +8017,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerLifecyclePostStartTcpSocket { } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8030,7 +8031,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8038,7 +8039,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8057,7 +8058,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerLifecyclePreStopHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -8066,7 +8067,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerLifecyclePreStopHttpGetHttpHead } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8076,7 +8077,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerLifecyclePreStopTcpSocket { } /// Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8111,7 +8112,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8119,7 +8120,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -8130,7 +8131,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8149,7 +8150,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -8158,7 +8159,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerLivenessProbeHttpGetHttpHeaders } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8168,7 +8169,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -8188,7 +8189,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerPorts { } /// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8223,7 +8224,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8231,7 +8232,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -8242,7 +8243,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8261,7 +8262,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -8270,7 +8271,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerReadinessProbeHttpGetHttpHeader } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8280,7 +8281,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerReadinessProbeTcpSocket { } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerResizePolicy { /// Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. #[serde(rename = "resourceName")] @@ -8291,7 +8292,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerResizePolicy { } /// Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -8307,14 +8308,14 @@ pub struct ScheduleWorkflowTemplatesTaskContainerResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -8352,7 +8353,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8363,7 +8364,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8380,7 +8381,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -8392,7 +8393,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -8409,7 +8410,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerSecurityContextWindowsOptions { } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8444,7 +8445,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8452,7 +8453,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -8463,7 +8464,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8482,7 +8483,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerStartupProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -8491,7 +8492,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerStartupProbeHttpGetHttpHeaders } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8501,7 +8502,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -8511,7 +8512,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskContainerVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -8533,7 +8534,7 @@ pub struct ScheduleWorkflowTemplatesTaskContainerVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -8631,7 +8632,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -8648,7 +8649,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -8671,7 +8672,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -8685,7 +8686,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -8707,7 +8708,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8715,7 +8716,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -8732,7 +8733,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8740,7 +8741,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -8757,7 +8758,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -8769,7 +8770,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -8788,7 +8789,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8796,7 +8797,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -8807,7 +8808,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -8823,7 +8824,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -8834,7 +8835,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -8847,7 +8848,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesDownwardApiItemsResourceFieldRef } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8862,7 +8863,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -8876,7 +8877,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8886,12 +8887,12 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -8920,7 +8921,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpec } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -8932,7 +8933,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecD } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -8947,7 +8948,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecD } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -8963,14 +8964,14 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecR } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -8981,7 +8982,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecS } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -8993,7 +8994,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecS } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -9013,7 +9014,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -9032,7 +9033,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9040,7 +9041,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -9051,7 +9052,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -9068,7 +9069,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9081,7 +9082,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -9093,7 +9094,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -9103,7 +9104,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -9139,7 +9140,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9147,7 +9148,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -9159,7 +9160,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -9170,7 +9171,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -9181,7 +9182,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -9195,7 +9196,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -9206,7 +9207,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -9223,7 +9224,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9237,7 +9238,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -9249,7 +9250,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9257,7 +9258,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -9273,7 +9274,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesProjectedSourcesDownwardApiItems } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -9284,7 +9285,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesProjectedSourcesDownwardApiItemsF } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -9297,7 +9298,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesProjectedSourcesDownwardApiItemsR } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9311,7 +9312,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -9323,7 +9324,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9336,7 +9337,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesProjectedSourcesServiceAccountTok } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9357,7 +9358,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -9384,7 +9385,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9392,7 +9393,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -9425,7 +9426,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9433,7 +9434,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -9450,7 +9451,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesSecretItems { /// key is the key to project. pub key: String, @@ -9462,7 +9463,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -9482,7 +9483,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9490,7 +9491,7 @@ pub struct ScheduleWorkflowTemplatesTaskVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTaskVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -9549,7 +9550,7 @@ pub enum ScheduleWorkflowTemplatesTimeChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTimeChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -9581,7 +9582,7 @@ pub struct ScheduleWorkflowTemplatesTimeChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleWorkflowTemplatesTimeChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -9593,7 +9594,7 @@ pub struct ScheduleWorkflowTemplatesTimeChaosSelectorExpressionSelectors { } /// ScheduleStatus is the status of a schedule object -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub active: Option>, @@ -9603,7 +9604,7 @@ pub struct ScheduleStatus { /// ObjectReference contains enough information to let you inspect or modify the referred object. --- New uses of this type are discouraged because of difficulty describing its usage when embedded in APIs. 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage. 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular restrictions like, "must refer only to types A and B" or "UID not honored" or "name must be restricted". Those cannot be well described when embedded. 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen. 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple and the version of the actual struct is irrelevant. 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control. /// Instead of using this type, create a locally provided and used type that is well-focused on your reference. For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleStatusActive { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/statuschecks.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/statuschecks.rs index a6b88cdd3..ed4a2a4bb 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/statuschecks.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/statuschecks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/statuschecks.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/statuschecks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -46,7 +46,7 @@ pub struct StatusCheckSpec { pub r#type: StatusCheckType, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct StatusCheckHttp { #[serde(default, skip_serializing_if = "Option::is_none")] pub body: Option, @@ -62,7 +62,7 @@ pub struct StatusCheckHttp { } /// Criteria defines how to determine the result of the status check. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct StatusCheckHttpCriteria { /// StatusCode defines the expected http status code for the request. A statusCode string could be a single code (e.g. 200), or an inclusive range (e.g. 200-400, both `200` and `400` are included). #[serde(rename = "statusCode")] @@ -92,7 +92,7 @@ pub enum StatusCheckType { } /// Most recently observed status of status check -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct StatusCheckStatus { /// CompletionTime represents time when the status check was completed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "completionTime")] @@ -111,7 +111,7 @@ pub struct StatusCheckStatus { pub start_time: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct StatusCheckStatusConditions { #[serde(rename = "lastProbeTime")] pub last_probe_time: String, @@ -123,7 +123,7 @@ pub struct StatusCheckStatusConditions { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct StatusCheckStatusRecords { pub outcome: String, #[serde(rename = "startTime")] diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/stresschaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/stresschaos.rs index 12c073532..70ed5a67e 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/stresschaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/stresschaos.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/stresschaos.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/stresschaos.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -57,7 +57,7 @@ pub enum StressChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct StressChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -89,7 +89,7 @@ pub struct StressChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct StressChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -101,7 +101,7 @@ pub struct StressChaosSelectorExpressionSelectors { } /// Stressors defines plenty of stressors supported to stress system components out. You can use one or more of them to make up various kinds of stresses. At least one of the stressors should be specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct StressChaosStressors { /// CPUStressor stresses CPU out #[serde(default, skip_serializing_if = "Option::is_none")] @@ -112,7 +112,7 @@ pub struct StressChaosStressors { } /// CPUStressor stresses CPU out -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct StressChaosStressorsCpu { /// Load specifies P percent loading per CPU worker. 0 is effectively a sleep (no load) and 100 is full loading. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -125,7 +125,7 @@ pub struct StressChaosStressorsCpu { } /// MemoryStressor stresses virtual memory out -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct StressChaosStressorsMemory { /// OOMScoreAdj sets the oom_score_adj of the stress process. See `man 5 proc` to know more about this option. #[serde(default, skip_serializing_if = "Option::is_none", rename = "oomScoreAdj")] @@ -141,7 +141,7 @@ pub struct StressChaosStressorsMemory { } /// Most recently observed status of the time chaos experiment -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct StressChaosStatus { /// Conditions represents the current global condition of the chaos #[serde(default, skip_serializing_if = "Option::is_none")] @@ -153,7 +153,7 @@ pub struct StressChaosStatus { pub instances: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct StressChaosStatusConditions { #[serde(default, skip_serializing_if = "Option::is_none")] pub reason: Option, @@ -163,7 +163,7 @@ pub struct StressChaosStatusConditions { } /// Experiment records the last experiment state. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct StressChaosStatusExperiment { /// Records are used to track the running status #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerRecords")] @@ -172,7 +172,7 @@ pub struct StressChaosStatusExperiment { pub desired_phase: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct StressChaosStatusExperimentContainerRecords { /// Events are the essential details about the injections and recoveries #[serde(default, skip_serializing_if = "Option::is_none")] @@ -189,7 +189,7 @@ pub struct StressChaosStatusExperimentContainerRecords { pub selector_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct StressChaosStatusExperimentContainerRecordsEvents { /// Message is the detail message, e.g. the reason why we failed to inject the chaos #[serde(default, skip_serializing_if = "Option::is_none")] @@ -211,7 +211,7 @@ pub enum StressChaosStatusExperimentDesiredPhase { } /// Instances always specifies stressing instances -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct StressChaosStatusInstances { /// MemoryStartTime specifies when the memStress starts #[serde(default, skip_serializing_if = "Option::is_none", rename = "memoryStartTime")] diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/timechaos.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/timechaos.rs index 53b2786d0..a3f3ba8c3 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/timechaos.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/timechaos.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/timechaos.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/timechaos.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -57,7 +57,7 @@ pub enum TimeChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TimeChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -89,7 +89,7 @@ pub struct TimeChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TimeChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -101,7 +101,7 @@ pub struct TimeChaosSelectorExpressionSelectors { } /// Most recently observed status of the time chaos experiment -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TimeChaosStatus { /// Conditions represents the current global condition of the chaos #[serde(default, skip_serializing_if = "Option::is_none")] @@ -110,7 +110,7 @@ pub struct TimeChaosStatus { pub experiment: TimeChaosStatusExperiment, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TimeChaosStatusConditions { #[serde(default, skip_serializing_if = "Option::is_none")] pub reason: Option, @@ -120,7 +120,7 @@ pub struct TimeChaosStatusConditions { } /// Experiment records the last experiment state. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TimeChaosStatusExperiment { /// Records are used to track the running status #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerRecords")] @@ -129,7 +129,7 @@ pub struct TimeChaosStatusExperiment { pub desired_phase: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TimeChaosStatusExperimentContainerRecords { /// Events are the essential details about the injections and recoveries #[serde(default, skip_serializing_if = "Option::is_none")] @@ -146,7 +146,7 @@ pub struct TimeChaosStatusExperimentContainerRecords { pub selector_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TimeChaosStatusExperimentContainerRecordsEvents { /// Message is the detail message, e.g. the reason why we failed to inject the chaos #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/workflownodes.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/workflownodes.rs index 625dc01b7..a621a9519 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/workflownodes.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/workflownodes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/workflownodes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/workflownodes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// Spec defines the behavior of a node of workflow -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "chaos-mesh.org", version = "v1alpha1", kind = "WorkflowNode", plural = "workflownodes")] #[kube(namespaced)] #[kube(status = "WorkflowNodeStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct WorkflowNodeSpec { /// AbortWithStatusCheck describe whether to abort the workflow when the failure threshold of StatusCheck is exceeded. Only used when Type is TypeStatusCheck. @@ -207,7 +208,7 @@ pub enum WorkflowNodeBlockChaosAction { } /// Delay defines the delay distribution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeBlockChaosDelay { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -234,7 +235,7 @@ pub enum WorkflowNodeBlockChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeBlockChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -266,7 +267,7 @@ pub struct WorkflowNodeBlockChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeBlockChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -277,7 +278,7 @@ pub struct WorkflowNodeBlockChaosSelectorExpressionSelectors { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeConditionalBranches { /// Expression is the expression for this conditional branch, expected type of result is boolean. If expression is empty, this branch will always be selected/the template will be spawned. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -337,7 +338,7 @@ pub enum WorkflowNodeDnsChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeDnsChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -369,7 +370,7 @@ pub struct WorkflowNodeDnsChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeDnsChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -483,7 +484,7 @@ pub enum WorkflowNodeHttpChaosMode { } /// Patch is a rule to patch some contents in target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeHttpChaosPatch { /// Body is a rule to patch message body of target. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -497,7 +498,7 @@ pub struct WorkflowNodeHttpChaosPatch { } /// Body is a rule to patch message body of target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeHttpChaosPatchBody { /// Type represents the patch type, only support `JSON` as [merge patch json](https://tools.ietf.org/html/rfc7396) currently. #[serde(rename = "type")] @@ -507,7 +508,7 @@ pub struct WorkflowNodeHttpChaosPatchBody { } /// Replace is a rule to replace some contents in target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeHttpChaosReplace { /// Body is a rule to replace http message body in target. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -530,7 +531,7 @@ pub struct WorkflowNodeHttpChaosReplace { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeHttpChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -562,7 +563,7 @@ pub struct WorkflowNodeHttpChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeHttpChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -580,7 +581,7 @@ pub enum WorkflowNodeHttpChaosTarget { } /// TLS is the tls config, will override PodHttpChaos if there are multiple HTTPChaos experiments are applied -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeHttpChaosTls { /// CAName represents the data name of ca file in secret, `ca.crt` for example #[serde(default, skip_serializing_if = "Option::is_none", rename = "caName")] @@ -660,7 +661,7 @@ pub enum WorkflowNodeIoChaosAction { } /// Attr defines the overrided attribution -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeIoChaosAttr { /// Timespec represents a time #[serde(default, skip_serializing_if = "Option::is_none")] @@ -693,28 +694,28 @@ pub struct WorkflowNodeIoChaosAttr { } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeIoChaosAttrAtime { pub nsec: i64, pub sec: i64, } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeIoChaosAttrCtime { pub nsec: i64, pub sec: i64, } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeIoChaosAttrMtime { pub nsec: i64, pub sec: i64, } /// Mistake defines what types of incorrectness are injected to IO operations -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeIoChaosMistake { /// Filling determines what is filled in the mistake data. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -752,7 +753,7 @@ pub enum WorkflowNodeIoChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeIoChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -784,7 +785,7 @@ pub struct WorkflowNodeIoChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeIoChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -895,7 +896,7 @@ pub enum WorkflowNodeJvmChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeJvmChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -927,7 +928,7 @@ pub struct WorkflowNodeJvmChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeJvmChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -963,7 +964,7 @@ pub struct WorkflowNodeKernelChaos { } /// FailKernRequest defines the request of kernel injection -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeKernelChaosFailKernRequest { /// Callchain indicate a special call chain, such as: ext4_mount -> mount_subtree -> ... -> should_failslab With an optional set of predicates and an optional set of parameters, which used with predicates. You can read call chan and predicate examples from https://github.com/chaos-mesh/bpfki/tree/develop/examples to learn more. If no special call chain, just keep Callchain empty, which means it will fail at any call chain with slab alloc (eg: kmalloc). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -982,7 +983,7 @@ pub struct WorkflowNodeKernelChaosFailKernRequest { } /// Frame defines the function signature and predicate in function's body -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeKernelChaosFailKernRequestCallchain { /// Funcname can be find from kernel source or `/proc/kallsyms`, such as `ext4_mount` #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1011,7 +1012,7 @@ pub enum WorkflowNodeKernelChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeKernelChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -1043,7 +1044,7 @@ pub struct WorkflowNodeKernelChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeKernelChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -1127,7 +1128,7 @@ pub enum WorkflowNodeNetworkChaosAction { } /// Bandwidth represents the detail about bandwidth control action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeNetworkChaosBandwidth { /// Buffer is the maximum amount of bytes that tokens can be available for instantaneously. pub buffer: i32, @@ -1144,7 +1145,7 @@ pub struct WorkflowNodeNetworkChaosBandwidth { } /// Corrupt represents the detail about corrupt action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeNetworkChaosCorrupt { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -1152,7 +1153,7 @@ pub struct WorkflowNodeNetworkChaosCorrupt { } /// Delay represents the detail about delay action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeNetworkChaosDelay { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -1165,7 +1166,7 @@ pub struct WorkflowNodeNetworkChaosDelay { } /// ReorderSpec defines details of packet reorder. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeNetworkChaosDelayReorder { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -1185,7 +1186,7 @@ pub enum WorkflowNodeNetworkChaosDirection { } /// DuplicateSpec represents the detail about loss action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeNetworkChaosDuplicate { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -1193,7 +1194,7 @@ pub struct WorkflowNodeNetworkChaosDuplicate { } /// Loss represents the detail about loss action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeNetworkChaosLoss { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -1216,14 +1217,14 @@ pub enum WorkflowNodeNetworkChaosMode { } /// Rate represents the detail about rate control action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeNetworkChaosRate { /// Rate is the speed knob. Allows bit, kbit, mbit, gbit, tbit, bps, kbps, mbps, gbps, tbps unit. bps means bytes per second. pub rate: String, } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeNetworkChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -1255,7 +1256,7 @@ pub struct WorkflowNodeNetworkChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeNetworkChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -1294,7 +1295,7 @@ pub enum WorkflowNodeNetworkChaosTargetMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeNetworkChaosTargetSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -1326,7 +1327,7 @@ pub struct WorkflowNodeNetworkChaosTargetSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeNetworkChaosTargetSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -1534,7 +1535,7 @@ pub enum WorkflowNodePhysicalmachineChaosAction { UserDefined, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosClock { /// the identifier of the particular clock on which to act. More clock description in linux kernel can be found in man page of clock_getres, clock_gettime, clock_settime. Muti clock ids should be split with "," #[serde(default, skip_serializing_if = "Option::is_none", rename = "clock-ids-slice")] @@ -1547,7 +1548,7 @@ pub struct WorkflowNodePhysicalmachineChaosClock { pub time_offset: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosDiskFill { /// fill disk by fallocate #[serde(default, skip_serializing_if = "Option::is_none", rename = "fill-by-fallocate")] @@ -1560,7 +1561,7 @@ pub struct WorkflowNodePhysicalmachineChaosDiskFill { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosDiskReadPayload { /// specifies the location to fill data in. if path not provided, payload will read/write from/into a temp file, temp file will be deleted after writing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1573,7 +1574,7 @@ pub struct WorkflowNodePhysicalmachineChaosDiskReadPayload { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosDiskWritePayload { /// specifies the location to fill data in. if path not provided, payload will read/write from/into a temp file, temp file will be deleted after writing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1586,7 +1587,7 @@ pub struct WorkflowNodePhysicalmachineChaosDiskWritePayload { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosFileAppend { /// Count is the number of times to append the data. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1599,7 +1600,7 @@ pub struct WorkflowNodePhysicalmachineChaosFileAppend { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosFileCreate { /// DirName is the directory name to create or delete. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dir-name")] @@ -1609,7 +1610,7 @@ pub struct WorkflowNodePhysicalmachineChaosFileCreate { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosFileDelete { /// DirName is the directory name to create or delete. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dir-name")] @@ -1619,7 +1620,7 @@ pub struct WorkflowNodePhysicalmachineChaosFileDelete { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosFileModify { /// FileName is the name of the file to be created, modified, deleted, renamed, or appended. #[serde(default, skip_serializing_if = "Option::is_none", rename = "file-name")] @@ -1629,7 +1630,7 @@ pub struct WorkflowNodePhysicalmachineChaosFileModify { pub privilege: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosFileRename { /// DestFile is the name to be renamed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dest-file")] @@ -1639,7 +1640,7 @@ pub struct WorkflowNodePhysicalmachineChaosFileRename { pub source_file: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosFileReplace { /// DestStr is the destination string of the file. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dest-string")] @@ -1655,7 +1656,7 @@ pub struct WorkflowNodePhysicalmachineChaosFileReplace { pub origin_string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosHttpAbort { /// Code is a rule to select target by http status code in response #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1675,14 +1676,14 @@ pub struct WorkflowNodePhysicalmachineChaosHttpAbort { pub target: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosHttpConfig { /// The config file path #[serde(default, skip_serializing_if = "Option::is_none")] pub file_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosHttpDelay { /// Code is a rule to select target by http status code in response #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1705,7 +1706,7 @@ pub struct WorkflowNodePhysicalmachineChaosHttpDelay { } /// used for HTTP request, now only support GET -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosHttpRequest { /// The number of requests to send #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1718,7 +1719,7 @@ pub struct WorkflowNodePhysicalmachineChaosHttpRequest { pub url: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosJvmException { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1737,7 +1738,7 @@ pub struct WorkflowNodePhysicalmachineChaosJvmException { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosJvmGc { /// the pid of Java process which needs to attach #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1747,7 +1748,7 @@ pub struct WorkflowNodePhysicalmachineChaosJvmGc { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosJvmLatency { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1766,7 +1767,7 @@ pub struct WorkflowNodePhysicalmachineChaosJvmLatency { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosJvmMysql { /// the match database default value is "", means match all database #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1794,7 +1795,7 @@ pub struct WorkflowNodePhysicalmachineChaosJvmMysql { pub table: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosJvmReturn { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1813,7 +1814,7 @@ pub struct WorkflowNodePhysicalmachineChaosJvmReturn { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosJvmRuleData { /// the pid of Java process which needs to attach #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1826,7 +1827,7 @@ pub struct WorkflowNodePhysicalmachineChaosJvmRuleData { pub rule_data: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosJvmStress { /// the CPU core number need to use, only set it when action is stress #[serde(default, skip_serializing_if = "Option::is_none", rename = "cpu-count")] @@ -1842,7 +1843,7 @@ pub struct WorkflowNodePhysicalmachineChaosJvmStress { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosKafkaFill { /// The host of kafka server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1870,7 +1871,7 @@ pub struct WorkflowNodePhysicalmachineChaosKafkaFill { pub username: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosKafkaFlood { /// The host of kafka server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1895,7 +1896,7 @@ pub struct WorkflowNodePhysicalmachineChaosKafkaFlood { pub username: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosKafkaIo { /// The path of server config #[serde(default, skip_serializing_if = "Option::is_none", rename = "configFile")] @@ -1926,7 +1927,7 @@ pub enum WorkflowNodePhysicalmachineChaosMode { RandomMaxPercent, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosNetworkBandwidth { pub buffer: i32, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1943,7 +1944,7 @@ pub struct WorkflowNodePhysicalmachineChaosNetworkBandwidth { pub rate: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosNetworkCorrupt { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1971,7 +1972,7 @@ pub struct WorkflowNodePhysicalmachineChaosNetworkCorrupt { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosNetworkDelay { /// only the packet which match the tcp flag can be accepted, others will be dropped. only set when the IPProtocol is tcp, used for partition. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accept-tcp-flags")] @@ -2005,7 +2006,7 @@ pub struct WorkflowNodePhysicalmachineChaosNetworkDelay { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosNetworkDns { /// map this host to specified IP #[serde(default, skip_serializing_if = "Option::is_none", rename = "dns-domain-name")] @@ -2018,7 +2019,7 @@ pub struct WorkflowNodePhysicalmachineChaosNetworkDns { pub dns_server: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosNetworkDown { /// The network interface to impact #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2028,7 +2029,7 @@ pub struct WorkflowNodePhysicalmachineChaosNetworkDown { pub duration: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosNetworkDuplicate { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2056,7 +2057,7 @@ pub struct WorkflowNodePhysicalmachineChaosNetworkDuplicate { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosNetworkFlood { /// The number of seconds to run the iperf test pub duration: String, @@ -2073,7 +2074,7 @@ pub struct WorkflowNodePhysicalmachineChaosNetworkFlood { pub rate: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosNetworkLoss { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2101,7 +2102,7 @@ pub struct WorkflowNodePhysicalmachineChaosNetworkLoss { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosNetworkPartition { /// only the packet which match the tcp flag can be accepted, others will be dropped. only set when the IPProtocol is tcp, used for partition. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accept-tcp-flags")] @@ -2123,7 +2124,7 @@ pub struct WorkflowNodePhysicalmachineChaosNetworkPartition { pub ip_protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosProcess { /// the process name or the process ID #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2136,7 +2137,7 @@ pub struct WorkflowNodePhysicalmachineChaosProcess { pub signal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosRedisCacheLimit { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2152,7 +2153,7 @@ pub struct WorkflowNodePhysicalmachineChaosRedisCacheLimit { pub percent: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosRedisExpiration { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2171,7 +2172,7 @@ pub struct WorkflowNodePhysicalmachineChaosRedisExpiration { pub password: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosRedisPenetration { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2184,7 +2185,7 @@ pub struct WorkflowNodePhysicalmachineChaosRedisPenetration { pub request_num: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosRedisRestart { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2203,7 +2204,7 @@ pub struct WorkflowNodePhysicalmachineChaosRedisRestart { pub redis_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosRedisStop { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2223,7 +2224,7 @@ pub struct WorkflowNodePhysicalmachineChaosRedisStop { } /// Selector is used to select physical machines that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -2246,7 +2247,7 @@ pub struct WorkflowNodePhysicalmachineChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -2257,7 +2258,7 @@ pub struct WorkflowNodePhysicalmachineChaosSelectorExpressionSelectors { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosStressCpu { /// specifies P percent loading per CPU worker. 0 is effectively a sleep (no load) and 100 is full loading. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2270,7 +2271,7 @@ pub struct WorkflowNodePhysicalmachineChaosStressCpu { pub workers: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosStressMem { /// extend stress-ng options #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2280,7 +2281,7 @@ pub struct WorkflowNodePhysicalmachineChaosStressMem { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosUserDefined { /// The command to be executed when attack #[serde(default, skip_serializing_if = "Option::is_none", rename = "attackCmd")] @@ -2290,7 +2291,7 @@ pub struct WorkflowNodePhysicalmachineChaosUserDefined { pub recover_cmd: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePhysicalmachineChaosVm { /// The name of the VM to be injected #[serde(default, skip_serializing_if = "Option::is_none", rename = "vm-name")] @@ -2350,7 +2351,7 @@ pub enum WorkflowNodePodChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePodChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -2382,7 +2383,7 @@ pub struct WorkflowNodePodChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodePodChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -2394,7 +2395,7 @@ pub struct WorkflowNodePodChaosSelectorExpressionSelectors { } /// ScheduleSpec is the specification of a schedule object -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedule { /// AWSChaosSpec is the content of the specification for an AWSChaos #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsChaos")] @@ -2570,7 +2571,7 @@ pub enum WorkflowNodeScheduleBlockChaosAction { } /// Delay defines the delay distribution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleBlockChaosDelay { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -2597,7 +2598,7 @@ pub enum WorkflowNodeScheduleBlockChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleBlockChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -2629,7 +2630,7 @@ pub struct WorkflowNodeScheduleBlockChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleBlockChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -2698,7 +2699,7 @@ pub enum WorkflowNodeScheduleDnsChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleDnsChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -2730,7 +2731,7 @@ pub struct WorkflowNodeScheduleDnsChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleDnsChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -2844,7 +2845,7 @@ pub enum WorkflowNodeScheduleHttpChaosMode { } /// Patch is a rule to patch some contents in target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleHttpChaosPatch { /// Body is a rule to patch message body of target. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2858,7 +2859,7 @@ pub struct WorkflowNodeScheduleHttpChaosPatch { } /// Body is a rule to patch message body of target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleHttpChaosPatchBody { /// Type represents the patch type, only support `JSON` as [merge patch json](https://tools.ietf.org/html/rfc7396) currently. #[serde(rename = "type")] @@ -2868,7 +2869,7 @@ pub struct WorkflowNodeScheduleHttpChaosPatchBody { } /// Replace is a rule to replace some contents in target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleHttpChaosReplace { /// Body is a rule to replace http message body in target. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2891,7 +2892,7 @@ pub struct WorkflowNodeScheduleHttpChaosReplace { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleHttpChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -2923,7 +2924,7 @@ pub struct WorkflowNodeScheduleHttpChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleHttpChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -2941,7 +2942,7 @@ pub enum WorkflowNodeScheduleHttpChaosTarget { } /// TLS is the tls config, will override PodHttpChaos if there are multiple HTTPChaos experiments are applied -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleHttpChaosTls { /// CAName represents the data name of ca file in secret, `ca.crt` for example #[serde(default, skip_serializing_if = "Option::is_none", rename = "caName")] @@ -3021,7 +3022,7 @@ pub enum WorkflowNodeScheduleIoChaosAction { } /// Attr defines the overrided attribution -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleIoChaosAttr { /// Timespec represents a time #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3054,28 +3055,28 @@ pub struct WorkflowNodeScheduleIoChaosAttr { } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleIoChaosAttrAtime { pub nsec: i64, pub sec: i64, } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleIoChaosAttrCtime { pub nsec: i64, pub sec: i64, } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleIoChaosAttrMtime { pub nsec: i64, pub sec: i64, } /// Mistake defines what types of incorrectness are injected to IO operations -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleIoChaosMistake { /// Filling determines what is filled in the mistake data. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3113,7 +3114,7 @@ pub enum WorkflowNodeScheduleIoChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleIoChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -3145,7 +3146,7 @@ pub struct WorkflowNodeScheduleIoChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleIoChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -3256,7 +3257,7 @@ pub enum WorkflowNodeScheduleJvmChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleJvmChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -3288,7 +3289,7 @@ pub struct WorkflowNodeScheduleJvmChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleJvmChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -3324,7 +3325,7 @@ pub struct WorkflowNodeScheduleKernelChaos { } /// FailKernRequest defines the request of kernel injection -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleKernelChaosFailKernRequest { /// Callchain indicate a special call chain, such as: ext4_mount -> mount_subtree -> ... -> should_failslab With an optional set of predicates and an optional set of parameters, which used with predicates. You can read call chan and predicate examples from https://github.com/chaos-mesh/bpfki/tree/develop/examples to learn more. If no special call chain, just keep Callchain empty, which means it will fail at any call chain with slab alloc (eg: kmalloc). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3343,7 +3344,7 @@ pub struct WorkflowNodeScheduleKernelChaosFailKernRequest { } /// Frame defines the function signature and predicate in function's body -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleKernelChaosFailKernRequestCallchain { /// Funcname can be find from kernel source or `/proc/kallsyms`, such as `ext4_mount` #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3372,7 +3373,7 @@ pub enum WorkflowNodeScheduleKernelChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleKernelChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -3404,7 +3405,7 @@ pub struct WorkflowNodeScheduleKernelChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleKernelChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -3488,7 +3489,7 @@ pub enum WorkflowNodeScheduleNetworkChaosAction { } /// Bandwidth represents the detail about bandwidth control action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleNetworkChaosBandwidth { /// Buffer is the maximum amount of bytes that tokens can be available for instantaneously. pub buffer: i32, @@ -3505,7 +3506,7 @@ pub struct WorkflowNodeScheduleNetworkChaosBandwidth { } /// Corrupt represents the detail about corrupt action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleNetworkChaosCorrupt { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -3513,7 +3514,7 @@ pub struct WorkflowNodeScheduleNetworkChaosCorrupt { } /// Delay represents the detail about delay action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleNetworkChaosDelay { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -3526,7 +3527,7 @@ pub struct WorkflowNodeScheduleNetworkChaosDelay { } /// ReorderSpec defines details of packet reorder. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleNetworkChaosDelayReorder { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -3546,7 +3547,7 @@ pub enum WorkflowNodeScheduleNetworkChaosDirection { } /// DuplicateSpec represents the detail about loss action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleNetworkChaosDuplicate { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -3554,7 +3555,7 @@ pub struct WorkflowNodeScheduleNetworkChaosDuplicate { } /// Loss represents the detail about loss action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleNetworkChaosLoss { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -3577,14 +3578,14 @@ pub enum WorkflowNodeScheduleNetworkChaosMode { } /// Rate represents the detail about rate control action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleNetworkChaosRate { /// Rate is the speed knob. Allows bit, kbit, mbit, gbit, tbit, bps, kbps, mbps, gbps, tbps unit. bps means bytes per second. pub rate: String, } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleNetworkChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -3616,7 +3617,7 @@ pub struct WorkflowNodeScheduleNetworkChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleNetworkChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -3655,7 +3656,7 @@ pub enum WorkflowNodeScheduleNetworkChaosTargetMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleNetworkChaosTargetSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -3687,7 +3688,7 @@ pub struct WorkflowNodeScheduleNetworkChaosTargetSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleNetworkChaosTargetSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -3895,7 +3896,7 @@ pub enum WorkflowNodeSchedulePhysicalmachineChaosAction { UserDefined, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosClock { /// the identifier of the particular clock on which to act. More clock description in linux kernel can be found in man page of clock_getres, clock_gettime, clock_settime. Muti clock ids should be split with "," #[serde(default, skip_serializing_if = "Option::is_none", rename = "clock-ids-slice")] @@ -3908,7 +3909,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosClock { pub time_offset: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosDiskFill { /// fill disk by fallocate #[serde(default, skip_serializing_if = "Option::is_none", rename = "fill-by-fallocate")] @@ -3921,7 +3922,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosDiskFill { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosDiskReadPayload { /// specifies the location to fill data in. if path not provided, payload will read/write from/into a temp file, temp file will be deleted after writing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3934,7 +3935,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosDiskReadPayload { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosDiskWritePayload { /// specifies the location to fill data in. if path not provided, payload will read/write from/into a temp file, temp file will be deleted after writing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3947,7 +3948,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosDiskWritePayload { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosFileAppend { /// Count is the number of times to append the data. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3960,7 +3961,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosFileAppend { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosFileCreate { /// DirName is the directory name to create or delete. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dir-name")] @@ -3970,7 +3971,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosFileCreate { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosFileDelete { /// DirName is the directory name to create or delete. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dir-name")] @@ -3980,7 +3981,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosFileDelete { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosFileModify { /// FileName is the name of the file to be created, modified, deleted, renamed, or appended. #[serde(default, skip_serializing_if = "Option::is_none", rename = "file-name")] @@ -3990,7 +3991,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosFileModify { pub privilege: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosFileRename { /// DestFile is the name to be renamed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dest-file")] @@ -4000,7 +4001,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosFileRename { pub source_file: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosFileReplace { /// DestStr is the destination string of the file. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dest-string")] @@ -4016,7 +4017,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosFileReplace { pub origin_string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosHttpAbort { /// Code is a rule to select target by http status code in response #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4036,14 +4037,14 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosHttpAbort { pub target: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosHttpConfig { /// The config file path #[serde(default, skip_serializing_if = "Option::is_none")] pub file_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosHttpDelay { /// Code is a rule to select target by http status code in response #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4066,7 +4067,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosHttpDelay { } /// used for HTTP request, now only support GET -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosHttpRequest { /// The number of requests to send #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4079,7 +4080,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosHttpRequest { pub url: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosJvmException { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4098,7 +4099,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosJvmException { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosJvmGc { /// the pid of Java process which needs to attach #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4108,7 +4109,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosJvmGc { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosJvmLatency { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4127,7 +4128,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosJvmLatency { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosJvmMysql { /// the match database default value is "", means match all database #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4155,7 +4156,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosJvmMysql { pub table: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosJvmReturn { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4174,7 +4175,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosJvmReturn { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosJvmRuleData { /// the pid of Java process which needs to attach #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4187,7 +4188,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosJvmRuleData { pub rule_data: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosJvmStress { /// the CPU core number need to use, only set it when action is stress #[serde(default, skip_serializing_if = "Option::is_none", rename = "cpu-count")] @@ -4203,7 +4204,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosJvmStress { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosKafkaFill { /// The host of kafka server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4231,7 +4232,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosKafkaFill { pub username: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosKafkaFlood { /// The host of kafka server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4256,7 +4257,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosKafkaFlood { pub username: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosKafkaIo { /// The path of server config #[serde(default, skip_serializing_if = "Option::is_none", rename = "configFile")] @@ -4287,7 +4288,7 @@ pub enum WorkflowNodeSchedulePhysicalmachineChaosMode { RandomMaxPercent, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosNetworkBandwidth { pub buffer: i32, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4304,7 +4305,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosNetworkBandwidth { pub rate: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosNetworkCorrupt { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4332,7 +4333,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosNetworkCorrupt { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosNetworkDelay { /// only the packet which match the tcp flag can be accepted, others will be dropped. only set when the IPProtocol is tcp, used for partition. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accept-tcp-flags")] @@ -4366,7 +4367,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosNetworkDelay { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosNetworkDns { /// map this host to specified IP #[serde(default, skip_serializing_if = "Option::is_none", rename = "dns-domain-name")] @@ -4379,7 +4380,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosNetworkDns { pub dns_server: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosNetworkDown { /// The network interface to impact #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4389,7 +4390,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosNetworkDown { pub duration: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosNetworkDuplicate { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4417,7 +4418,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosNetworkDuplicate { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosNetworkFlood { /// The number of seconds to run the iperf test pub duration: String, @@ -4434,7 +4435,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosNetworkFlood { pub rate: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosNetworkLoss { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4462,7 +4463,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosNetworkLoss { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosNetworkPartition { /// only the packet which match the tcp flag can be accepted, others will be dropped. only set when the IPProtocol is tcp, used for partition. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accept-tcp-flags")] @@ -4484,7 +4485,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosNetworkPartition { pub ip_protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosProcess { /// the process name or the process ID #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4497,7 +4498,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosProcess { pub signal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosRedisCacheLimit { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4513,7 +4514,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosRedisCacheLimit { pub percent: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosRedisExpiration { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4532,7 +4533,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosRedisExpiration { pub password: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosRedisPenetration { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4545,7 +4546,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosRedisPenetration { pub request_num: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosRedisRestart { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4564,7 +4565,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosRedisRestart { pub redis_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosRedisStop { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4584,7 +4585,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosRedisStop { } /// Selector is used to select physical machines that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -4607,7 +4608,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -4618,7 +4619,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosSelectorExpressionSelectors { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosStressCpu { /// specifies P percent loading per CPU worker. 0 is effectively a sleep (no load) and 100 is full loading. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4631,7 +4632,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosStressCpu { pub workers: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosStressMem { /// extend stress-ng options #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4641,7 +4642,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosStressMem { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosUserDefined { /// The command to be executed when attack #[serde(default, skip_serializing_if = "Option::is_none", rename = "attackCmd")] @@ -4651,7 +4652,7 @@ pub struct WorkflowNodeSchedulePhysicalmachineChaosUserDefined { pub recover_cmd: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePhysicalmachineChaosVm { /// The name of the VM to be injected #[serde(default, skip_serializing_if = "Option::is_none", rename = "vm-name")] @@ -4711,7 +4712,7 @@ pub enum WorkflowNodeSchedulePodChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePodChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -4743,7 +4744,7 @@ pub struct WorkflowNodeSchedulePodChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeSchedulePodChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -4797,7 +4798,7 @@ pub enum WorkflowNodeScheduleStressChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleStressChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -4829,7 +4830,7 @@ pub struct WorkflowNodeScheduleStressChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleStressChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -4841,7 +4842,7 @@ pub struct WorkflowNodeScheduleStressChaosSelectorExpressionSelectors { } /// Stressors defines plenty of stressors supported to stress system components out. You can use one or more of them to make up various kinds of stresses. At least one of the stressors should be specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleStressChaosStressors { /// CPUStressor stresses CPU out #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4852,7 +4853,7 @@ pub struct WorkflowNodeScheduleStressChaosStressors { } /// CPUStressor stresses CPU out -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleStressChaosStressorsCpu { /// Load specifies P percent loading per CPU worker. 0 is effectively a sleep (no load) and 100 is full loading. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4865,7 +4866,7 @@ pub struct WorkflowNodeScheduleStressChaosStressorsCpu { } /// MemoryStressor stresses virtual memory out -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleStressChaosStressorsMemory { /// OOMScoreAdj sets the oom_score_adj of the stress process. See `man 5 proc` to know more about this option. #[serde(default, skip_serializing_if = "Option::is_none", rename = "oomScoreAdj")] @@ -4923,7 +4924,7 @@ pub enum WorkflowNodeScheduleTimeChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleTimeChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -4955,7 +4956,7 @@ pub struct WorkflowNodeScheduleTimeChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleTimeChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -4966,13 +4967,13 @@ pub struct WorkflowNodeScheduleTimeChaosSelectorExpressionSelectors { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflow { pub entry: String, pub templates: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplates { /// AbortWithStatusCheck describe whether to abort the workflow when the failure threshold of StatusCheck is exceeded. Only used when Type is TypeStatusCheck. #[serde(default, skip_serializing_if = "Option::is_none", rename = "abortWithStatusCheck")] @@ -5160,7 +5161,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesBlockChaosAction { } /// Delay defines the delay distribution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesBlockChaosDelay { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -5187,7 +5188,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesBlockChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesBlockChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -5219,7 +5220,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesBlockChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesBlockChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -5230,7 +5231,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesBlockChaosSelectorExpressionSele pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesConditionalBranches { /// Expression is the expression for this conditional branch, expected type of result is boolean. If expression is empty, this branch will always be selected/the template will be spawned. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5290,7 +5291,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesDnsChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesDnsChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -5322,7 +5323,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesDnsChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesDnsChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -5436,7 +5437,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesHttpChaosMode { } /// Patch is a rule to patch some contents in target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesHttpChaosPatch { /// Body is a rule to patch message body of target. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5450,7 +5451,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesHttpChaosPatch { } /// Body is a rule to patch message body of target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesHttpChaosPatchBody { /// Type represents the patch type, only support `JSON` as [merge patch json](https://tools.ietf.org/html/rfc7396) currently. #[serde(rename = "type")] @@ -5460,7 +5461,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesHttpChaosPatchBody { } /// Replace is a rule to replace some contents in target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesHttpChaosReplace { /// Body is a rule to replace http message body in target. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5483,7 +5484,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesHttpChaosReplace { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesHttpChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -5515,7 +5516,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesHttpChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesHttpChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -5533,7 +5534,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesHttpChaosTarget { } /// TLS is the tls config, will override PodHttpChaos if there are multiple HTTPChaos experiments are applied -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesHttpChaosTls { /// CAName represents the data name of ca file in secret, `ca.crt` for example #[serde(default, skip_serializing_if = "Option::is_none", rename = "caName")] @@ -5613,7 +5614,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesIoChaosAction { } /// Attr defines the overrided attribution -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesIoChaosAttr { /// Timespec represents a time #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5646,28 +5647,28 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesIoChaosAttr { } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesIoChaosAttrAtime { pub nsec: i64, pub sec: i64, } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesIoChaosAttrCtime { pub nsec: i64, pub sec: i64, } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesIoChaosAttrMtime { pub nsec: i64, pub sec: i64, } /// Mistake defines what types of incorrectness are injected to IO operations -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesIoChaosMistake { /// Filling determines what is filled in the mistake data. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5705,7 +5706,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesIoChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesIoChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -5737,7 +5738,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesIoChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesIoChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -5848,7 +5849,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesJvmChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesJvmChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -5880,7 +5881,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesJvmChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesJvmChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -5916,7 +5917,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesKernelChaos { } /// FailKernRequest defines the request of kernel injection -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesKernelChaosFailKernRequest { /// Callchain indicate a special call chain, such as: ext4_mount -> mount_subtree -> ... -> should_failslab With an optional set of predicates and an optional set of parameters, which used with predicates. You can read call chan and predicate examples from https://github.com/chaos-mesh/bpfki/tree/develop/examples to learn more. If no special call chain, just keep Callchain empty, which means it will fail at any call chain with slab alloc (eg: kmalloc). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5935,7 +5936,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesKernelChaosFailKernRequest { } /// Frame defines the function signature and predicate in function's body -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesKernelChaosFailKernRequestCallchain { /// Funcname can be find from kernel source or `/proc/kallsyms`, such as `ext4_mount` #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5964,7 +5965,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesKernelChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesKernelChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -5996,7 +5997,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesKernelChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesKernelChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -6080,7 +6081,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesNetworkChaosAction { } /// Bandwidth represents the detail about bandwidth control action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesNetworkChaosBandwidth { /// Buffer is the maximum amount of bytes that tokens can be available for instantaneously. pub buffer: i32, @@ -6097,7 +6098,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesNetworkChaosBandwidth { } /// Corrupt represents the detail about corrupt action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesNetworkChaosCorrupt { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -6105,7 +6106,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesNetworkChaosCorrupt { } /// Delay represents the detail about delay action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesNetworkChaosDelay { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -6118,7 +6119,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesNetworkChaosDelay { } /// ReorderSpec defines details of packet reorder. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesNetworkChaosDelayReorder { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -6138,7 +6139,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesNetworkChaosDirection { } /// DuplicateSpec represents the detail about loss action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesNetworkChaosDuplicate { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -6146,7 +6147,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesNetworkChaosDuplicate { } /// Loss represents the detail about loss action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesNetworkChaosLoss { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -6169,14 +6170,14 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesNetworkChaosMode { } /// Rate represents the detail about rate control action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesNetworkChaosRate { /// Rate is the speed knob. Allows bit, kbit, mbit, gbit, tbit, bps, kbps, mbps, gbps, tbps unit. bps means bytes per second. pub rate: String, } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesNetworkChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -6208,7 +6209,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesNetworkChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesNetworkChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -6247,7 +6248,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesNetworkChaosTargetMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesNetworkChaosTargetSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -6279,7 +6280,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesNetworkChaosTargetSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesNetworkChaosTargetSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -6487,7 +6488,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosAction { UserDefined, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosClock { /// the identifier of the particular clock on which to act. More clock description in linux kernel can be found in man page of clock_getres, clock_gettime, clock_settime. Muti clock ids should be split with "," #[serde(default, skip_serializing_if = "Option::is_none", rename = "clock-ids-slice")] @@ -6500,7 +6501,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosClock { pub time_offset: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosDiskFill { /// fill disk by fallocate #[serde(default, skip_serializing_if = "Option::is_none", rename = "fill-by-fallocate")] @@ -6513,7 +6514,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosDiskFill { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosDiskReadPayload { /// specifies the location to fill data in. if path not provided, payload will read/write from/into a temp file, temp file will be deleted after writing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6526,7 +6527,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosDiskReadPayl pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosDiskWritePayload { /// specifies the location to fill data in. if path not provided, payload will read/write from/into a temp file, temp file will be deleted after writing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6539,7 +6540,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosDiskWritePay pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosFileAppend { /// Count is the number of times to append the data. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6552,7 +6553,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosFileAppend { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosFileCreate { /// DirName is the directory name to create or delete. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dir-name")] @@ -6562,7 +6563,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosFileCreate { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosFileDelete { /// DirName is the directory name to create or delete. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dir-name")] @@ -6572,7 +6573,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosFileDelete { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosFileModify { /// FileName is the name of the file to be created, modified, deleted, renamed, or appended. #[serde(default, skip_serializing_if = "Option::is_none", rename = "file-name")] @@ -6582,7 +6583,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosFileModify { pub privilege: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosFileRename { /// DestFile is the name to be renamed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dest-file")] @@ -6592,7 +6593,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosFileRename { pub source_file: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosFileReplace { /// DestStr is the destination string of the file. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dest-string")] @@ -6608,7 +6609,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosFileReplace pub origin_string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosHttpAbort { /// Code is a rule to select target by http status code in response #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6628,14 +6629,14 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosHttpAbort { pub target: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosHttpConfig { /// The config file path #[serde(default, skip_serializing_if = "Option::is_none")] pub file_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosHttpDelay { /// Code is a rule to select target by http status code in response #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6658,7 +6659,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosHttpDelay { } /// used for HTTP request, now only support GET -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosHttpRequest { /// The number of requests to send #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6671,7 +6672,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosHttpRequest pub url: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosJvmException { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6690,7 +6691,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosJvmException pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosJvmGc { /// the pid of Java process which needs to attach #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6700,7 +6701,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosJvmGc { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosJvmLatency { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6719,7 +6720,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosJvmLatency { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosJvmMysql { /// the match database default value is "", means match all database #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6747,7 +6748,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosJvmMysql { pub table: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosJvmReturn { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6766,7 +6767,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosJvmReturn { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosJvmRuleData { /// the pid of Java process which needs to attach #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6779,7 +6780,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosJvmRuleData pub rule_data: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosJvmStress { /// the CPU core number need to use, only set it when action is stress #[serde(default, skip_serializing_if = "Option::is_none", rename = "cpu-count")] @@ -6795,7 +6796,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosJvmStress { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosKafkaFill { /// The host of kafka server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6823,7 +6824,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosKafkaFill { pub username: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosKafkaFlood { /// The host of kafka server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6848,7 +6849,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosKafkaFlood { pub username: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosKafkaIo { /// The path of server config #[serde(default, skip_serializing_if = "Option::is_none", rename = "configFile")] @@ -6879,7 +6880,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosMode { RandomMaxPercent, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosNetworkBandwidth { pub buffer: i32, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6896,7 +6897,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosNetworkBandw pub rate: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosNetworkCorrupt { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6924,7 +6925,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosNetworkCorru pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosNetworkDelay { /// only the packet which match the tcp flag can be accepted, others will be dropped. only set when the IPProtocol is tcp, used for partition. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accept-tcp-flags")] @@ -6958,7 +6959,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosNetworkDelay pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosNetworkDns { /// map this host to specified IP #[serde(default, skip_serializing_if = "Option::is_none", rename = "dns-domain-name")] @@ -6971,7 +6972,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosNetworkDns { pub dns_server: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosNetworkDown { /// The network interface to impact #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6981,7 +6982,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosNetworkDown pub duration: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosNetworkDuplicate { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7009,7 +7010,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosNetworkDupli pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosNetworkFlood { /// The number of seconds to run the iperf test pub duration: String, @@ -7026,7 +7027,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosNetworkFlood pub rate: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosNetworkLoss { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7054,7 +7055,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosNetworkLoss pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosNetworkPartition { /// only the packet which match the tcp flag can be accepted, others will be dropped. only set when the IPProtocol is tcp, used for partition. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accept-tcp-flags")] @@ -7076,7 +7077,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosNetworkParti pub ip_protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosProcess { /// the process name or the process ID #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7089,7 +7090,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosProcess { pub signal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosRedisCacheLimit { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7105,7 +7106,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosRedisCacheLi pub percent: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosRedisExpiration { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7124,7 +7125,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosRedisExpirat pub password: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosRedisPenetration { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7137,7 +7138,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosRedisPenetra pub request_num: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosRedisRestart { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7156,7 +7157,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosRedisRestart pub redis_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosRedisStop { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7176,7 +7177,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosRedisStop { } /// Selector is used to select physical machines that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -7199,7 +7200,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -7210,7 +7211,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosSelectorExpr pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosStressCpu { /// specifies P percent loading per CPU worker. 0 is effectively a sleep (no load) and 100 is full loading. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7223,7 +7224,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosStressCpu { pub workers: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosStressMem { /// extend stress-ng options #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7233,7 +7234,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosStressMem { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosUserDefined { /// The command to be executed when attack #[serde(default, skip_serializing_if = "Option::is_none", rename = "attackCmd")] @@ -7243,7 +7244,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosUserDefined pub recover_cmd: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPhysicalmachineChaosVm { /// The name of the VM to be injected #[serde(default, skip_serializing_if = "Option::is_none", rename = "vm-name")] @@ -7303,7 +7304,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesPodChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPodChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -7335,7 +7336,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPodChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesPodChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -7347,7 +7348,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesPodChaosSelectorExpressionSelect } /// Schedule describe the Schedule(describing scheduled chaos) to be injected with chaos nodes. Only used when Type is TypeSchedule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedule { /// AWSChaosSpec is the content of the specification for an AWSChaos #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsChaos")] @@ -7521,7 +7522,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesScheduleBlockChaosAction { } /// Delay defines the delay distribution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleBlockChaosDelay { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -7548,7 +7549,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesScheduleBlockChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleBlockChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -7580,7 +7581,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleBlockChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleBlockChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -7649,7 +7650,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesScheduleDnsChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleDnsChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -7681,7 +7682,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleDnsChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleDnsChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -7795,7 +7796,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesScheduleHttpChaosMode { } /// Patch is a rule to patch some contents in target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleHttpChaosPatch { /// Body is a rule to patch message body of target. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7809,7 +7810,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleHttpChaosPatch { } /// Body is a rule to patch message body of target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleHttpChaosPatchBody { /// Type represents the patch type, only support `JSON` as [merge patch json](https://tools.ietf.org/html/rfc7396) currently. #[serde(rename = "type")] @@ -7819,7 +7820,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleHttpChaosPatchBody { } /// Replace is a rule to replace some contents in target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleHttpChaosReplace { /// Body is a rule to replace http message body in target. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7842,7 +7843,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleHttpChaosReplace { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleHttpChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -7874,7 +7875,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleHttpChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleHttpChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -7892,7 +7893,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesScheduleHttpChaosTarget { } /// TLS is the tls config, will override PodHttpChaos if there are multiple HTTPChaos experiments are applied -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleHttpChaosTls { /// CAName represents the data name of ca file in secret, `ca.crt` for example #[serde(default, skip_serializing_if = "Option::is_none", rename = "caName")] @@ -7972,7 +7973,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesScheduleIoChaosAction { } /// Attr defines the overrided attribution -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleIoChaosAttr { /// Timespec represents a time #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8005,28 +8006,28 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleIoChaosAttr { } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleIoChaosAttrAtime { pub nsec: i64, pub sec: i64, } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleIoChaosAttrCtime { pub nsec: i64, pub sec: i64, } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleIoChaosAttrMtime { pub nsec: i64, pub sec: i64, } /// Mistake defines what types of incorrectness are injected to IO operations -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleIoChaosMistake { /// Filling determines what is filled in the mistake data. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8064,7 +8065,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesScheduleIoChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleIoChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -8096,7 +8097,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleIoChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleIoChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -8207,7 +8208,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesScheduleJvmChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleJvmChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -8239,7 +8240,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleJvmChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleJvmChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -8275,7 +8276,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleKernelChaos { } /// FailKernRequest defines the request of kernel injection -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleKernelChaosFailKernRequest { /// Callchain indicate a special call chain, such as: ext4_mount -> mount_subtree -> ... -> should_failslab With an optional set of predicates and an optional set of parameters, which used with predicates. You can read call chan and predicate examples from https://github.com/chaos-mesh/bpfki/tree/develop/examples to learn more. If no special call chain, just keep Callchain empty, which means it will fail at any call chain with slab alloc (eg: kmalloc). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8294,7 +8295,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleKernelChaosFailKernReque } /// Frame defines the function signature and predicate in function's body -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleKernelChaosFailKernRequestCallchain { /// Funcname can be find from kernel source or `/proc/kallsyms`, such as `ext4_mount` #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8323,7 +8324,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesScheduleKernelChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleKernelChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -8355,7 +8356,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleKernelChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleKernelChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -8439,7 +8440,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesScheduleNetworkChaosAction { } /// Bandwidth represents the detail about bandwidth control action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleNetworkChaosBandwidth { /// Buffer is the maximum amount of bytes that tokens can be available for instantaneously. pub buffer: i32, @@ -8456,7 +8457,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleNetworkChaosBandwidth { } /// Corrupt represents the detail about corrupt action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleNetworkChaosCorrupt { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -8464,7 +8465,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleNetworkChaosCorrupt { } /// Delay represents the detail about delay action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleNetworkChaosDelay { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -8477,7 +8478,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleNetworkChaosDelay { } /// ReorderSpec defines details of packet reorder. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleNetworkChaosDelayReorder { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -8497,7 +8498,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesScheduleNetworkChaosDirection { } /// DuplicateSpec represents the detail about loss action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleNetworkChaosDuplicate { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -8505,7 +8506,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleNetworkChaosDuplicate { } /// Loss represents the detail about loss action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleNetworkChaosLoss { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -8528,14 +8529,14 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesScheduleNetworkChaosMode { } /// Rate represents the detail about rate control action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleNetworkChaosRate { /// Rate is the speed knob. Allows bit, kbit, mbit, gbit, tbit, bps, kbps, mbps, gbps, tbps unit. bps means bytes per second. pub rate: String, } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleNetworkChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -8567,7 +8568,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleNetworkChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleNetworkChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -8606,7 +8607,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesScheduleNetworkChaosTargetMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleNetworkChaosTargetSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -8638,7 +8639,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleNetworkChaosTargetSelect } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleNetworkChaosTargetSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -8846,7 +8847,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosAction UserDefined, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosClock { /// the identifier of the particular clock on which to act. More clock description in linux kernel can be found in man page of clock_getres, clock_gettime, clock_settime. Muti clock ids should be split with "," #[serde(default, skip_serializing_if = "Option::is_none", rename = "clock-ids-slice")] @@ -8859,7 +8860,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosCloc pub time_offset: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosDiskFill { /// fill disk by fallocate #[serde(default, skip_serializing_if = "Option::is_none", rename = "fill-by-fallocate")] @@ -8872,7 +8873,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosDisk pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosDiskReadPayload { /// specifies the location to fill data in. if path not provided, payload will read/write from/into a temp file, temp file will be deleted after writing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8885,7 +8886,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosDisk pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosDiskWritePayload { /// specifies the location to fill data in. if path not provided, payload will read/write from/into a temp file, temp file will be deleted after writing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8898,7 +8899,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosDisk pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosFileAppend { /// Count is the number of times to append the data. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8911,7 +8912,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosFile pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosFileCreate { /// DirName is the directory name to create or delete. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dir-name")] @@ -8921,7 +8922,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosFile pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosFileDelete { /// DirName is the directory name to create or delete. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dir-name")] @@ -8931,7 +8932,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosFile pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosFileModify { /// FileName is the name of the file to be created, modified, deleted, renamed, or appended. #[serde(default, skip_serializing_if = "Option::is_none", rename = "file-name")] @@ -8941,7 +8942,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosFile pub privilege: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosFileRename { /// DestFile is the name to be renamed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dest-file")] @@ -8951,7 +8952,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosFile pub source_file: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosFileReplace { /// DestStr is the destination string of the file. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dest-string")] @@ -8967,7 +8968,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosFile pub origin_string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosHttpAbort { /// Code is a rule to select target by http status code in response #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8987,14 +8988,14 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosHttp pub target: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosHttpConfig { /// The config file path #[serde(default, skip_serializing_if = "Option::is_none")] pub file_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosHttpDelay { /// Code is a rule to select target by http status code in response #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9017,7 +9018,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosHttp } /// used for HTTP request, now only support GET -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosHttpRequest { /// The number of requests to send #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9030,7 +9031,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosHttp pub url: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmException { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9049,7 +9050,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmE pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmGc { /// the pid of Java process which needs to attach #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9059,7 +9060,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmG pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmLatency { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9078,7 +9079,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmL pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmMysql { /// the match database default value is "", means match all database #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9106,7 +9107,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmM pub table: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmReturn { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9125,7 +9126,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmR pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmRuleData { /// the pid of Java process which needs to attach #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9138,7 +9139,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmR pub rule_data: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmStress { /// the CPU core number need to use, only set it when action is stress #[serde(default, skip_serializing_if = "Option::is_none", rename = "cpu-count")] @@ -9154,7 +9155,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosJvmS pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosKafkaFill { /// The host of kafka server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9182,7 +9183,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosKafk pub username: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosKafkaFlood { /// The host of kafka server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9207,7 +9208,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosKafk pub username: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosKafkaIo { /// The path of server config #[serde(default, skip_serializing_if = "Option::is_none", rename = "configFile")] @@ -9238,7 +9239,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosMode { RandomMaxPercent, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkBandwidth { pub buffer: i32, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9255,7 +9256,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetw pub rate: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkCorrupt { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9283,7 +9284,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetw pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkDelay { /// only the packet which match the tcp flag can be accepted, others will be dropped. only set when the IPProtocol is tcp, used for partition. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accept-tcp-flags")] @@ -9317,7 +9318,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetw pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkDns { /// map this host to specified IP #[serde(default, skip_serializing_if = "Option::is_none", rename = "dns-domain-name")] @@ -9330,7 +9331,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetw pub dns_server: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkDown { /// The network interface to impact #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9340,7 +9341,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetw pub duration: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkDuplicate { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9368,7 +9369,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetw pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkFlood { /// The number of seconds to run the iperf test pub duration: String, @@ -9385,7 +9386,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetw pub rate: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkLoss { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9413,7 +9414,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetw pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetworkPartition { /// only the packet which match the tcp flag can be accepted, others will be dropped. only set when the IPProtocol is tcp, used for partition. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accept-tcp-flags")] @@ -9435,7 +9436,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosNetw pub ip_protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosProcess { /// the process name or the process ID #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9448,7 +9449,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosProc pub signal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosRedisCacheLimit { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9464,7 +9465,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosRedi pub percent: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosRedisExpiration { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9483,7 +9484,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosRedi pub password: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosRedisPenetration { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9496,7 +9497,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosRedi pub request_num: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosRedisRestart { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9515,7 +9516,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosRedi pub redis_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosRedisStop { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9535,7 +9536,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosRedi } /// Selector is used to select physical machines that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -9558,7 +9559,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosSele } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -9569,7 +9570,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosSele pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosStressCpu { /// specifies P percent loading per CPU worker. 0 is effectively a sleep (no load) and 100 is full loading. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9582,7 +9583,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosStre pub workers: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosStressMem { /// extend stress-ng options #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9592,7 +9593,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosStre pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosUserDefined { /// The command to be executed when attack #[serde(default, skip_serializing_if = "Option::is_none", rename = "attackCmd")] @@ -9602,7 +9603,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosUser pub recover_cmd: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePhysicalmachineChaosVm { /// The name of the VM to be injected #[serde(default, skip_serializing_if = "Option::is_none", rename = "vm-name")] @@ -9662,7 +9663,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesSchedulePodChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePodChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -9694,7 +9695,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePodChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesSchedulePodChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -9748,7 +9749,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesScheduleStressChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleStressChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -9780,7 +9781,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleStressChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleStressChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -9792,7 +9793,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleStressChaosSelectorExpre } /// Stressors defines plenty of stressors supported to stress system components out. You can use one or more of them to make up various kinds of stresses. At least one of the stressors should be specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleStressChaosStressors { /// CPUStressor stresses CPU out #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9803,7 +9804,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleStressChaosStressors { } /// CPUStressor stresses CPU out -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleStressChaosStressorsCpu { /// Load specifies P percent loading per CPU worker. 0 is effectively a sleep (no load) and 100 is full loading. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9816,7 +9817,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleStressChaosStressorsCpu } /// MemoryStressor stresses virtual memory out -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleStressChaosStressorsMemory { /// OOMScoreAdj sets the oom_score_adj of the stress process. See `man 5 proc` to know more about this option. #[serde(default, skip_serializing_if = "Option::is_none", rename = "oomScoreAdj")] @@ -9874,7 +9875,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesScheduleTimeChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleTimeChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -9906,7 +9907,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleTimeChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesScheduleTimeChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -9948,7 +9949,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesStatusCheck { pub r#type: WorkflowNodeScheduleWorkflowTemplatesStatusCheckType, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesStatusCheckHttp { #[serde(default, skip_serializing_if = "Option::is_none")] pub body: Option, @@ -9964,7 +9965,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesStatusCheckHttp { } /// Criteria defines how to determine the result of the status check. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesStatusCheckHttpCriteria { /// StatusCode defines the expected http status code for the request. A statusCode string could be a single code (e.g. 200), or an inclusive range (e.g. 200-400, both `200` and `400` are included). #[serde(rename = "statusCode")] @@ -10036,7 +10037,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesStressChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesStressChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -10068,7 +10069,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesStressChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesStressChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -10080,7 +10081,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesStressChaosSelectorExpressionSel } /// Stressors defines plenty of stressors supported to stress system components out. You can use one or more of them to make up various kinds of stresses. At least one of the stressors should be specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesStressChaosStressors { /// CPUStressor stresses CPU out #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10091,7 +10092,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesStressChaosStressors { } /// CPUStressor stresses CPU out -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesStressChaosStressorsCpu { /// Load specifies P percent loading per CPU worker. 0 is effectively a sleep (no load) and 100 is full loading. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10104,7 +10105,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesStressChaosStressorsCpu { } /// MemoryStressor stresses virtual memory out -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesStressChaosStressorsMemory { /// OOMScoreAdj sets the oom_score_adj of the stress process. See `man 5 proc` to know more about this option. #[serde(default, skip_serializing_if = "Option::is_none", rename = "oomScoreAdj")] @@ -10120,7 +10121,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesStressChaosStressorsMemory { } /// Task describes the behavior of the custom task. Only used when Type is TypeTask. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTask { /// Container is the main container image to run in the pod #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10131,7 +10132,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTask { } /// Container is the main container image to run in the pod -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainer { /// Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10207,7 +10208,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainer { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -10220,7 +10221,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -10237,7 +10238,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -10250,7 +10251,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerEnvValueFromConfigM } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -10261,7 +10262,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerEnvValueFromFieldRe } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -10274,7 +10275,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerEnvValueFromResourc } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -10287,7 +10288,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerEnvValueFromSecretK } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -10301,7 +10302,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10312,7 +10313,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerEnvFromConfigMapRef } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10323,7 +10324,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerEnvFromSecretRef { } /// Actions that the management system should take in response to container lifecycle events. Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -10334,7 +10335,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10348,7 +10349,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLifecyclePostStart } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10356,7 +10357,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLifecyclePostStartE } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10375,7 +10376,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLifecyclePostStartH } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLifecyclePostStartHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -10384,7 +10385,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLifecyclePostStartH } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10394,7 +10395,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLifecyclePostStartT } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10408,7 +10409,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10416,7 +10417,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLifecyclePreStopExe } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10435,7 +10436,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLifecyclePreStopHtt } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLifecyclePreStopHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -10444,7 +10445,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLifecyclePreStopHtt } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10454,7 +10455,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLifecyclePreStopTcp } /// Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10489,7 +10490,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10497,7 +10498,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -10508,7 +10509,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10527,7 +10528,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLivenessProbeHttpGe } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -10536,7 +10537,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLivenessProbeHttpGe } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10546,7 +10547,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerLivenessProbeTcpSoc } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -10566,7 +10567,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerPorts { } /// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10601,7 +10602,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10609,7 +10610,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerReadinessProbeExec } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -10620,7 +10621,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerReadinessProbeGrpc } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10639,7 +10640,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerReadinessProbeHttpG } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -10648,7 +10649,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerReadinessProbeHttpG } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10658,7 +10659,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerReadinessProbeTcpSo } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerResizePolicy { /// Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. #[serde(rename = "resourceName")] @@ -10669,7 +10670,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerResizePolicy { } /// Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -10685,14 +10686,14 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -10730,7 +10731,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10741,7 +10742,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerSecurityContextCapa } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10758,7 +10759,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerSecurityContextSeLi } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -10770,7 +10771,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerSecurityContextSecc } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -10787,7 +10788,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerSecurityContextWind } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10822,7 +10823,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10830,7 +10831,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -10841,7 +10842,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10860,7 +10861,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerStartupProbeHttpGet } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerStartupProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -10869,7 +10870,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerStartupProbeHttpGet } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10879,7 +10880,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerStartupProbeTcpSock } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -10889,7 +10890,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -10911,7 +10912,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskContainerVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -11009,7 +11010,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -11026,7 +11027,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesAwsElasticBlockStore } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -11049,7 +11050,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -11063,7 +11064,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -11085,7 +11086,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11093,7 +11094,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -11110,7 +11111,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11118,7 +11119,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -11135,7 +11136,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -11147,7 +11148,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -11166,7 +11167,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11174,7 +11175,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesCsiNodePublishSecretR } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -11185,7 +11186,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -11201,7 +11202,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -11212,7 +11213,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesDownwardApiItemsField } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -11225,7 +11226,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesDownwardApiItemsResou } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11240,7 +11241,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -11254,7 +11255,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11264,12 +11265,12 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimT } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -11298,7 +11299,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimT } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -11310,7 +11311,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimT } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -11325,7 +11326,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimT } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -11341,14 +11342,14 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimT } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11359,7 +11360,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimT } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11371,7 +11372,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesEphemeralVolumeClaimT } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -11391,7 +11392,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -11410,7 +11411,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11418,7 +11419,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -11429,7 +11430,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -11446,7 +11447,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11459,7 +11460,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -11471,7 +11472,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -11481,7 +11482,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -11517,7 +11518,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11525,7 +11526,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -11537,7 +11538,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -11548,7 +11549,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesPersistentVolumeClaim } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -11559,7 +11560,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesPhotonPersistentDisk } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -11573,7 +11574,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -11584,7 +11585,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -11601,7 +11602,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11615,7 +11616,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesProjectedSourcesConfi } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -11627,7 +11628,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesProjectedSourcesConfi } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11635,7 +11636,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesProjectedSourcesDownw } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -11651,7 +11652,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesProjectedSourcesDownw } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -11662,7 +11663,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesProjectedSourcesDownw } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -11675,7 +11676,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesProjectedSourcesDownw } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11689,7 +11690,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesProjectedSourcesSecre } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -11701,7 +11702,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesProjectedSourcesSecre } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11714,7 +11715,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesProjectedSourcesServi } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11735,7 +11736,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -11762,7 +11763,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11770,7 +11771,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -11803,7 +11804,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11811,7 +11812,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -11828,7 +11829,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesSecretItems { /// key is the key to project. pub key: String, @@ -11840,7 +11841,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -11860,7 +11861,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11868,7 +11869,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTaskVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -11927,7 +11928,7 @@ pub enum WorkflowNodeScheduleWorkflowTemplatesTimeChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTimeChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -11959,7 +11960,7 @@ pub struct WorkflowNodeScheduleWorkflowTemplatesTimeChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeScheduleWorkflowTemplatesTimeChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -12001,7 +12002,7 @@ pub struct WorkflowNodeStatusCheck { pub r#type: WorkflowNodeStatusCheckType, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeStatusCheckHttp { #[serde(default, skip_serializing_if = "Option::is_none")] pub body: Option, @@ -12017,7 +12018,7 @@ pub struct WorkflowNodeStatusCheckHttp { } /// Criteria defines how to determine the result of the status check. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeStatusCheckHttpCriteria { /// StatusCode defines the expected http status code for the request. A statusCode string could be a single code (e.g. 200), or an inclusive range (e.g. 200-400, both `200` and `400` are included). #[serde(rename = "statusCode")] @@ -12089,7 +12090,7 @@ pub enum WorkflowNodeStressChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeStressChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -12121,7 +12122,7 @@ pub struct WorkflowNodeStressChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeStressChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -12133,7 +12134,7 @@ pub struct WorkflowNodeStressChaosSelectorExpressionSelectors { } /// Stressors defines plenty of stressors supported to stress system components out. You can use one or more of them to make up various kinds of stresses. At least one of the stressors should be specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeStressChaosStressors { /// CPUStressor stresses CPU out #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12144,7 +12145,7 @@ pub struct WorkflowNodeStressChaosStressors { } /// CPUStressor stresses CPU out -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeStressChaosStressorsCpu { /// Load specifies P percent loading per CPU worker. 0 is effectively a sleep (no load) and 100 is full loading. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12157,7 +12158,7 @@ pub struct WorkflowNodeStressChaosStressorsCpu { } /// MemoryStressor stresses virtual memory out -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeStressChaosStressorsMemory { /// OOMScoreAdj sets the oom_score_adj of the stress process. See `man 5 proc` to know more about this option. #[serde(default, skip_serializing_if = "Option::is_none", rename = "oomScoreAdj")] @@ -12172,7 +12173,7 @@ pub struct WorkflowNodeStressChaosStressorsMemory { pub workers: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTask { /// Container is the main container image to run in the pod #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12183,7 +12184,7 @@ pub struct WorkflowNodeTask { } /// Container is the main container image to run in the pod -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainer { /// Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12259,7 +12260,7 @@ pub struct WorkflowNodeTaskContainer { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -12272,7 +12273,7 @@ pub struct WorkflowNodeTaskContainerEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -12289,7 +12290,7 @@ pub struct WorkflowNodeTaskContainerEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -12302,7 +12303,7 @@ pub struct WorkflowNodeTaskContainerEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -12313,7 +12314,7 @@ pub struct WorkflowNodeTaskContainerEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -12326,7 +12327,7 @@ pub struct WorkflowNodeTaskContainerEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -12339,7 +12340,7 @@ pub struct WorkflowNodeTaskContainerEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -12353,7 +12354,7 @@ pub struct WorkflowNodeTaskContainerEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12364,7 +12365,7 @@ pub struct WorkflowNodeTaskContainerEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12375,7 +12376,7 @@ pub struct WorkflowNodeTaskContainerEnvFromSecretRef { } /// Actions that the management system should take in response to container lifecycle events. Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -12386,7 +12387,7 @@ pub struct WorkflowNodeTaskContainerLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12400,7 +12401,7 @@ pub struct WorkflowNodeTaskContainerLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12408,7 +12409,7 @@ pub struct WorkflowNodeTaskContainerLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12427,7 +12428,7 @@ pub struct WorkflowNodeTaskContainerLifecyclePostStartHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerLifecyclePostStartHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -12436,7 +12437,7 @@ pub struct WorkflowNodeTaskContainerLifecyclePostStartHttpGetHttpHeaders { } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12446,7 +12447,7 @@ pub struct WorkflowNodeTaskContainerLifecyclePostStartTcpSocket { } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12460,7 +12461,7 @@ pub struct WorkflowNodeTaskContainerLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12468,7 +12469,7 @@ pub struct WorkflowNodeTaskContainerLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12487,7 +12488,7 @@ pub struct WorkflowNodeTaskContainerLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerLifecyclePreStopHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -12496,7 +12497,7 @@ pub struct WorkflowNodeTaskContainerLifecyclePreStopHttpGetHttpHeaders { } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12506,7 +12507,7 @@ pub struct WorkflowNodeTaskContainerLifecyclePreStopTcpSocket { } /// Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12541,7 +12542,7 @@ pub struct WorkflowNodeTaskContainerLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12549,7 +12550,7 @@ pub struct WorkflowNodeTaskContainerLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -12560,7 +12561,7 @@ pub struct WorkflowNodeTaskContainerLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12579,7 +12580,7 @@ pub struct WorkflowNodeTaskContainerLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -12588,7 +12589,7 @@ pub struct WorkflowNodeTaskContainerLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12598,7 +12599,7 @@ pub struct WorkflowNodeTaskContainerLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -12618,7 +12619,7 @@ pub struct WorkflowNodeTaskContainerPorts { } /// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12653,7 +12654,7 @@ pub struct WorkflowNodeTaskContainerReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12661,7 +12662,7 @@ pub struct WorkflowNodeTaskContainerReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -12672,7 +12673,7 @@ pub struct WorkflowNodeTaskContainerReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12691,7 +12692,7 @@ pub struct WorkflowNodeTaskContainerReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -12700,7 +12701,7 @@ pub struct WorkflowNodeTaskContainerReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12710,7 +12711,7 @@ pub struct WorkflowNodeTaskContainerReadinessProbeTcpSocket { } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerResizePolicy { /// Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. #[serde(rename = "resourceName")] @@ -12721,7 +12722,7 @@ pub struct WorkflowNodeTaskContainerResizePolicy { } /// Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -12737,14 +12738,14 @@ pub struct WorkflowNodeTaskContainerResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -12782,7 +12783,7 @@ pub struct WorkflowNodeTaskContainerSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12793,7 +12794,7 @@ pub struct WorkflowNodeTaskContainerSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12810,7 +12811,7 @@ pub struct WorkflowNodeTaskContainerSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -12822,7 +12823,7 @@ pub struct WorkflowNodeTaskContainerSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -12839,7 +12840,7 @@ pub struct WorkflowNodeTaskContainerSecurityContextWindowsOptions { } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12874,7 +12875,7 @@ pub struct WorkflowNodeTaskContainerStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12882,7 +12883,7 @@ pub struct WorkflowNodeTaskContainerStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -12893,7 +12894,7 @@ pub struct WorkflowNodeTaskContainerStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12912,7 +12913,7 @@ pub struct WorkflowNodeTaskContainerStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerStartupProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -12921,7 +12922,7 @@ pub struct WorkflowNodeTaskContainerStartupProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12931,7 +12932,7 @@ pub struct WorkflowNodeTaskContainerStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -12941,7 +12942,7 @@ pub struct WorkflowNodeTaskContainerVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskContainerVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -12963,7 +12964,7 @@ pub struct WorkflowNodeTaskContainerVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -13061,7 +13062,7 @@ pub struct WorkflowNodeTaskVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -13078,7 +13079,7 @@ pub struct WorkflowNodeTaskVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -13101,7 +13102,7 @@ pub struct WorkflowNodeTaskVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -13115,7 +13116,7 @@ pub struct WorkflowNodeTaskVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -13137,7 +13138,7 @@ pub struct WorkflowNodeTaskVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13145,7 +13146,7 @@ pub struct WorkflowNodeTaskVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -13162,7 +13163,7 @@ pub struct WorkflowNodeTaskVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13170,7 +13171,7 @@ pub struct WorkflowNodeTaskVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -13187,7 +13188,7 @@ pub struct WorkflowNodeTaskVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -13199,7 +13200,7 @@ pub struct WorkflowNodeTaskVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -13218,7 +13219,7 @@ pub struct WorkflowNodeTaskVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13226,7 +13227,7 @@ pub struct WorkflowNodeTaskVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -13237,7 +13238,7 @@ pub struct WorkflowNodeTaskVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -13253,7 +13254,7 @@ pub struct WorkflowNodeTaskVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -13264,7 +13265,7 @@ pub struct WorkflowNodeTaskVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -13277,7 +13278,7 @@ pub struct WorkflowNodeTaskVolumesDownwardApiItemsResourceFieldRef { } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13292,7 +13293,7 @@ pub struct WorkflowNodeTaskVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -13306,7 +13307,7 @@ pub struct WorkflowNodeTaskVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13316,12 +13317,12 @@ pub struct WorkflowNodeTaskVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -13350,7 +13351,7 @@ pub struct WorkflowNodeTaskVolumesEphemeralVolumeClaimTemplateSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -13362,7 +13363,7 @@ pub struct WorkflowNodeTaskVolumesEphemeralVolumeClaimTemplateSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -13377,7 +13378,7 @@ pub struct WorkflowNodeTaskVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -13393,14 +13394,14 @@ pub struct WorkflowNodeTaskVolumesEphemeralVolumeClaimTemplateSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -13411,7 +13412,7 @@ pub struct WorkflowNodeTaskVolumesEphemeralVolumeClaimTemplateSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -13423,7 +13424,7 @@ pub struct WorkflowNodeTaskVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchE } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -13443,7 +13444,7 @@ pub struct WorkflowNodeTaskVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -13462,7 +13463,7 @@ pub struct WorkflowNodeTaskVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13470,7 +13471,7 @@ pub struct WorkflowNodeTaskVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -13481,7 +13482,7 @@ pub struct WorkflowNodeTaskVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -13498,7 +13499,7 @@ pub struct WorkflowNodeTaskVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13511,7 +13512,7 @@ pub struct WorkflowNodeTaskVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -13523,7 +13524,7 @@ pub struct WorkflowNodeTaskVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -13533,7 +13534,7 @@ pub struct WorkflowNodeTaskVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -13569,7 +13570,7 @@ pub struct WorkflowNodeTaskVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13577,7 +13578,7 @@ pub struct WorkflowNodeTaskVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -13589,7 +13590,7 @@ pub struct WorkflowNodeTaskVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -13600,7 +13601,7 @@ pub struct WorkflowNodeTaskVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -13611,7 +13612,7 @@ pub struct WorkflowNodeTaskVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -13625,7 +13626,7 @@ pub struct WorkflowNodeTaskVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -13636,7 +13637,7 @@ pub struct WorkflowNodeTaskVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -13653,7 +13654,7 @@ pub struct WorkflowNodeTaskVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13667,7 +13668,7 @@ pub struct WorkflowNodeTaskVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -13679,7 +13680,7 @@ pub struct WorkflowNodeTaskVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13687,7 +13688,7 @@ pub struct WorkflowNodeTaskVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -13703,7 +13704,7 @@ pub struct WorkflowNodeTaskVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -13714,7 +13715,7 @@ pub struct WorkflowNodeTaskVolumesProjectedSourcesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -13727,7 +13728,7 @@ pub struct WorkflowNodeTaskVolumesProjectedSourcesDownwardApiItemsResourceFieldR } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13741,7 +13742,7 @@ pub struct WorkflowNodeTaskVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -13753,7 +13754,7 @@ pub struct WorkflowNodeTaskVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13766,7 +13767,7 @@ pub struct WorkflowNodeTaskVolumesProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13787,7 +13788,7 @@ pub struct WorkflowNodeTaskVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -13814,7 +13815,7 @@ pub struct WorkflowNodeTaskVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13822,7 +13823,7 @@ pub struct WorkflowNodeTaskVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -13855,7 +13856,7 @@ pub struct WorkflowNodeTaskVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13863,7 +13864,7 @@ pub struct WorkflowNodeTaskVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -13880,7 +13881,7 @@ pub struct WorkflowNodeTaskVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesSecretItems { /// key is the key to project. pub key: String, @@ -13892,7 +13893,7 @@ pub struct WorkflowNodeTaskVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -13912,7 +13913,7 @@ pub struct WorkflowNodeTaskVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13920,7 +13921,7 @@ pub struct WorkflowNodeTaskVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTaskVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -13979,7 +13980,7 @@ pub enum WorkflowNodeTimeChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTimeChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -14011,7 +14012,7 @@ pub struct WorkflowNodeTimeChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeTimeChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -14023,7 +14024,7 @@ pub struct WorkflowNodeTimeChaosSelectorExpressionSelectors { } /// Most recently observed status of the workflow node -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeStatus { /// ActiveChildren means the created children node #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeChildren")] @@ -14043,7 +14044,7 @@ pub struct WorkflowNodeStatus { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeStatusActiveChildren { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -14051,7 +14052,7 @@ pub struct WorkflowNodeStatusActiveChildren { } /// ChaosResource refs to the real chaos CR object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeStatusChaosResource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -14063,7 +14064,7 @@ pub struct WorkflowNodeStatusChaosResource { } /// ConditionalBranchesStatus records the evaluation result of each ConditionalBranch -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeStatusConditionalBranchesStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub branches: Option>, @@ -14071,14 +14072,14 @@ pub struct WorkflowNodeStatusConditionalBranchesStatus { pub context: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeStatusConditionalBranchesStatusBranches { #[serde(rename = "evaluationResult")] pub evaluation_result: String, pub target: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeStatusConditions { pub reason: String, pub status: String, @@ -14087,7 +14088,7 @@ pub struct WorkflowNodeStatusConditions { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowNodeStatusFinishedChildren { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/workflows.rs b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/workflows.rs index 50a3da05a..fedb7d0f8 100644 --- a/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/workflows.rs +++ b/kube-custom-resources-rs/src/chaos_mesh_org/v1alpha1/workflows.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/workflows.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/chaos-mesh/chaos-mesh/chaos-mesh.org/v1alpha1/workflows.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,18 +12,19 @@ mod prelude { use self::prelude::*; /// Spec defines the behavior of a workflow -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "chaos-mesh.org", version = "v1alpha1", kind = "Workflow", plural = "workflows")] #[kube(namespaced)] #[kube(status = "WorkflowStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct WorkflowSpec { pub entry: String, pub templates: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplates { /// AbortWithStatusCheck describe whether to abort the workflow when the failure threshold of StatusCheck is exceeded. Only used when Type is TypeStatusCheck. #[serde(default, skip_serializing_if = "Option::is_none", rename = "abortWithStatusCheck")] @@ -211,7 +212,7 @@ pub enum WorkflowTemplatesBlockChaosAction { } /// Delay defines the delay distribution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesBlockChaosDelay { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -238,7 +239,7 @@ pub enum WorkflowTemplatesBlockChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesBlockChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -270,7 +271,7 @@ pub struct WorkflowTemplatesBlockChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesBlockChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -281,7 +282,7 @@ pub struct WorkflowTemplatesBlockChaosSelectorExpressionSelectors { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesConditionalBranches { /// Expression is the expression for this conditional branch, expected type of result is boolean. If expression is empty, this branch will always be selected/the template will be spawned. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -341,7 +342,7 @@ pub enum WorkflowTemplatesDnsChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesDnsChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -373,7 +374,7 @@ pub struct WorkflowTemplatesDnsChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesDnsChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -487,7 +488,7 @@ pub enum WorkflowTemplatesHttpChaosMode { } /// Patch is a rule to patch some contents in target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesHttpChaosPatch { /// Body is a rule to patch message body of target. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -501,7 +502,7 @@ pub struct WorkflowTemplatesHttpChaosPatch { } /// Body is a rule to patch message body of target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesHttpChaosPatchBody { /// Type represents the patch type, only support `JSON` as [merge patch json](https://tools.ietf.org/html/rfc7396) currently. #[serde(rename = "type")] @@ -511,7 +512,7 @@ pub struct WorkflowTemplatesHttpChaosPatchBody { } /// Replace is a rule to replace some contents in target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesHttpChaosReplace { /// Body is a rule to replace http message body in target. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -534,7 +535,7 @@ pub struct WorkflowTemplatesHttpChaosReplace { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesHttpChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -566,7 +567,7 @@ pub struct WorkflowTemplatesHttpChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesHttpChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -584,7 +585,7 @@ pub enum WorkflowTemplatesHttpChaosTarget { } /// TLS is the tls config, will override PodHttpChaos if there are multiple HTTPChaos experiments are applied -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesHttpChaosTls { /// CAName represents the data name of ca file in secret, `ca.crt` for example #[serde(default, skip_serializing_if = "Option::is_none", rename = "caName")] @@ -664,7 +665,7 @@ pub enum WorkflowTemplatesIoChaosAction { } /// Attr defines the overrided attribution -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesIoChaosAttr { /// Timespec represents a time #[serde(default, skip_serializing_if = "Option::is_none")] @@ -697,28 +698,28 @@ pub struct WorkflowTemplatesIoChaosAttr { } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesIoChaosAttrAtime { pub nsec: i64, pub sec: i64, } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesIoChaosAttrCtime { pub nsec: i64, pub sec: i64, } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesIoChaosAttrMtime { pub nsec: i64, pub sec: i64, } /// Mistake defines what types of incorrectness are injected to IO operations -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesIoChaosMistake { /// Filling determines what is filled in the mistake data. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -756,7 +757,7 @@ pub enum WorkflowTemplatesIoChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesIoChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -788,7 +789,7 @@ pub struct WorkflowTemplatesIoChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesIoChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -899,7 +900,7 @@ pub enum WorkflowTemplatesJvmChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesJvmChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -931,7 +932,7 @@ pub struct WorkflowTemplatesJvmChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesJvmChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -967,7 +968,7 @@ pub struct WorkflowTemplatesKernelChaos { } /// FailKernRequest defines the request of kernel injection -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesKernelChaosFailKernRequest { /// Callchain indicate a special call chain, such as: ext4_mount -> mount_subtree -> ... -> should_failslab With an optional set of predicates and an optional set of parameters, which used with predicates. You can read call chan and predicate examples from https://github.com/chaos-mesh/bpfki/tree/develop/examples to learn more. If no special call chain, just keep Callchain empty, which means it will fail at any call chain with slab alloc (eg: kmalloc). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -986,7 +987,7 @@ pub struct WorkflowTemplatesKernelChaosFailKernRequest { } /// Frame defines the function signature and predicate in function's body -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesKernelChaosFailKernRequestCallchain { /// Funcname can be find from kernel source or `/proc/kallsyms`, such as `ext4_mount` #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1015,7 +1016,7 @@ pub enum WorkflowTemplatesKernelChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesKernelChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -1047,7 +1048,7 @@ pub struct WorkflowTemplatesKernelChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesKernelChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -1131,7 +1132,7 @@ pub enum WorkflowTemplatesNetworkChaosAction { } /// Bandwidth represents the detail about bandwidth control action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesNetworkChaosBandwidth { /// Buffer is the maximum amount of bytes that tokens can be available for instantaneously. pub buffer: i32, @@ -1148,7 +1149,7 @@ pub struct WorkflowTemplatesNetworkChaosBandwidth { } /// Corrupt represents the detail about corrupt action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesNetworkChaosCorrupt { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -1156,7 +1157,7 @@ pub struct WorkflowTemplatesNetworkChaosCorrupt { } /// Delay represents the detail about delay action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesNetworkChaosDelay { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -1169,7 +1170,7 @@ pub struct WorkflowTemplatesNetworkChaosDelay { } /// ReorderSpec defines details of packet reorder. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesNetworkChaosDelayReorder { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -1189,7 +1190,7 @@ pub enum WorkflowTemplatesNetworkChaosDirection { } /// DuplicateSpec represents the detail about loss action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesNetworkChaosDuplicate { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -1197,7 +1198,7 @@ pub struct WorkflowTemplatesNetworkChaosDuplicate { } /// Loss represents the detail about loss action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesNetworkChaosLoss { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -1220,14 +1221,14 @@ pub enum WorkflowTemplatesNetworkChaosMode { } /// Rate represents the detail about rate control action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesNetworkChaosRate { /// Rate is the speed knob. Allows bit, kbit, mbit, gbit, tbit, bps, kbps, mbps, gbps, tbps unit. bps means bytes per second. pub rate: String, } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesNetworkChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -1259,7 +1260,7 @@ pub struct WorkflowTemplatesNetworkChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesNetworkChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -1298,7 +1299,7 @@ pub enum WorkflowTemplatesNetworkChaosTargetMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesNetworkChaosTargetSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -1330,7 +1331,7 @@ pub struct WorkflowTemplatesNetworkChaosTargetSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesNetworkChaosTargetSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -1538,7 +1539,7 @@ pub enum WorkflowTemplatesPhysicalmachineChaosAction { UserDefined, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosClock { /// the identifier of the particular clock on which to act. More clock description in linux kernel can be found in man page of clock_getres, clock_gettime, clock_settime. Muti clock ids should be split with "," #[serde(default, skip_serializing_if = "Option::is_none", rename = "clock-ids-slice")] @@ -1551,7 +1552,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosClock { pub time_offset: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosDiskFill { /// fill disk by fallocate #[serde(default, skip_serializing_if = "Option::is_none", rename = "fill-by-fallocate")] @@ -1564,7 +1565,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosDiskFill { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosDiskReadPayload { /// specifies the location to fill data in. if path not provided, payload will read/write from/into a temp file, temp file will be deleted after writing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1577,7 +1578,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosDiskReadPayload { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosDiskWritePayload { /// specifies the location to fill data in. if path not provided, payload will read/write from/into a temp file, temp file will be deleted after writing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1590,7 +1591,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosDiskWritePayload { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosFileAppend { /// Count is the number of times to append the data. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1603,7 +1604,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosFileAppend { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosFileCreate { /// DirName is the directory name to create or delete. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dir-name")] @@ -1613,7 +1614,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosFileCreate { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosFileDelete { /// DirName is the directory name to create or delete. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dir-name")] @@ -1623,7 +1624,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosFileDelete { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosFileModify { /// FileName is the name of the file to be created, modified, deleted, renamed, or appended. #[serde(default, skip_serializing_if = "Option::is_none", rename = "file-name")] @@ -1633,7 +1634,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosFileModify { pub privilege: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosFileRename { /// DestFile is the name to be renamed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dest-file")] @@ -1643,7 +1644,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosFileRename { pub source_file: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosFileReplace { /// DestStr is the destination string of the file. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dest-string")] @@ -1659,7 +1660,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosFileReplace { pub origin_string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosHttpAbort { /// Code is a rule to select target by http status code in response #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1679,14 +1680,14 @@ pub struct WorkflowTemplatesPhysicalmachineChaosHttpAbort { pub target: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosHttpConfig { /// The config file path #[serde(default, skip_serializing_if = "Option::is_none")] pub file_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosHttpDelay { /// Code is a rule to select target by http status code in response #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1709,7 +1710,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosHttpDelay { } /// used for HTTP request, now only support GET -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosHttpRequest { /// The number of requests to send #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1722,7 +1723,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosHttpRequest { pub url: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosJvmException { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1741,7 +1742,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosJvmException { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosJvmGc { /// the pid of Java process which needs to attach #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1751,7 +1752,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosJvmGc { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosJvmLatency { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1770,7 +1771,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosJvmLatency { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosJvmMysql { /// the match database default value is "", means match all database #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1798,7 +1799,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosJvmMysql { pub table: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosJvmReturn { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1817,7 +1818,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosJvmReturn { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosJvmRuleData { /// the pid of Java process which needs to attach #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1830,7 +1831,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosJvmRuleData { pub rule_data: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosJvmStress { /// the CPU core number need to use, only set it when action is stress #[serde(default, skip_serializing_if = "Option::is_none", rename = "cpu-count")] @@ -1846,7 +1847,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosJvmStress { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosKafkaFill { /// The host of kafka server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1874,7 +1875,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosKafkaFill { pub username: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosKafkaFlood { /// The host of kafka server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1899,7 +1900,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosKafkaFlood { pub username: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosKafkaIo { /// The path of server config #[serde(default, skip_serializing_if = "Option::is_none", rename = "configFile")] @@ -1930,7 +1931,7 @@ pub enum WorkflowTemplatesPhysicalmachineChaosMode { RandomMaxPercent, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosNetworkBandwidth { pub buffer: i32, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1947,7 +1948,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosNetworkBandwidth { pub rate: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosNetworkCorrupt { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1975,7 +1976,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosNetworkCorrupt { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosNetworkDelay { /// only the packet which match the tcp flag can be accepted, others will be dropped. only set when the IPProtocol is tcp, used for partition. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accept-tcp-flags")] @@ -2009,7 +2010,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosNetworkDelay { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosNetworkDns { /// map this host to specified IP #[serde(default, skip_serializing_if = "Option::is_none", rename = "dns-domain-name")] @@ -2022,7 +2023,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosNetworkDns { pub dns_server: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosNetworkDown { /// The network interface to impact #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2032,7 +2033,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosNetworkDown { pub duration: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosNetworkDuplicate { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2060,7 +2061,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosNetworkDuplicate { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosNetworkFlood { /// The number of seconds to run the iperf test pub duration: String, @@ -2077,7 +2078,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosNetworkFlood { pub rate: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosNetworkLoss { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2105,7 +2106,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosNetworkLoss { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosNetworkPartition { /// only the packet which match the tcp flag can be accepted, others will be dropped. only set when the IPProtocol is tcp, used for partition. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accept-tcp-flags")] @@ -2127,7 +2128,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosNetworkPartition { pub ip_protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosProcess { /// the process name or the process ID #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2140,7 +2141,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosProcess { pub signal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosRedisCacheLimit { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2156,7 +2157,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosRedisCacheLimit { pub percent: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosRedisExpiration { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2175,7 +2176,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosRedisExpiration { pub password: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosRedisPenetration { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2188,7 +2189,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosRedisPenetration { pub request_num: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosRedisRestart { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2207,7 +2208,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosRedisRestart { pub redis_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosRedisStop { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2227,7 +2228,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosRedisStop { } /// Selector is used to select physical machines that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -2250,7 +2251,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -2261,7 +2262,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosSelectorExpressionSelectors { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosStressCpu { /// specifies P percent loading per CPU worker. 0 is effectively a sleep (no load) and 100 is full loading. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2274,7 +2275,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosStressCpu { pub workers: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosStressMem { /// extend stress-ng options #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2284,7 +2285,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosStressMem { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosUserDefined { /// The command to be executed when attack #[serde(default, skip_serializing_if = "Option::is_none", rename = "attackCmd")] @@ -2294,7 +2295,7 @@ pub struct WorkflowTemplatesPhysicalmachineChaosUserDefined { pub recover_cmd: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPhysicalmachineChaosVm { /// The name of the VM to be injected #[serde(default, skip_serializing_if = "Option::is_none", rename = "vm-name")] @@ -2354,7 +2355,7 @@ pub enum WorkflowTemplatesPodChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPodChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -2386,7 +2387,7 @@ pub struct WorkflowTemplatesPodChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesPodChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -2398,7 +2399,7 @@ pub struct WorkflowTemplatesPodChaosSelectorExpressionSelectors { } /// Schedule describe the Schedule(describing scheduled chaos) to be injected with chaos nodes. Only used when Type is TypeSchedule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedule { /// AWSChaosSpec is the content of the specification for an AWSChaos #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsChaos")] @@ -2572,7 +2573,7 @@ pub enum WorkflowTemplatesScheduleBlockChaosAction { } /// Delay defines the delay distribution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleBlockChaosDelay { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -2599,7 +2600,7 @@ pub enum WorkflowTemplatesScheduleBlockChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleBlockChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -2631,7 +2632,7 @@ pub struct WorkflowTemplatesScheduleBlockChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleBlockChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -2700,7 +2701,7 @@ pub enum WorkflowTemplatesScheduleDnsChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleDnsChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -2732,7 +2733,7 @@ pub struct WorkflowTemplatesScheduleDnsChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleDnsChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -2846,7 +2847,7 @@ pub enum WorkflowTemplatesScheduleHttpChaosMode { } /// Patch is a rule to patch some contents in target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleHttpChaosPatch { /// Body is a rule to patch message body of target. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2860,7 +2861,7 @@ pub struct WorkflowTemplatesScheduleHttpChaosPatch { } /// Body is a rule to patch message body of target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleHttpChaosPatchBody { /// Type represents the patch type, only support `JSON` as [merge patch json](https://tools.ietf.org/html/rfc7396) currently. #[serde(rename = "type")] @@ -2870,7 +2871,7 @@ pub struct WorkflowTemplatesScheduleHttpChaosPatchBody { } /// Replace is a rule to replace some contents in target. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleHttpChaosReplace { /// Body is a rule to replace http message body in target. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2893,7 +2894,7 @@ pub struct WorkflowTemplatesScheduleHttpChaosReplace { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleHttpChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -2925,7 +2926,7 @@ pub struct WorkflowTemplatesScheduleHttpChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleHttpChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -2943,7 +2944,7 @@ pub enum WorkflowTemplatesScheduleHttpChaosTarget { } /// TLS is the tls config, will override PodHttpChaos if there are multiple HTTPChaos experiments are applied -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleHttpChaosTls { /// CAName represents the data name of ca file in secret, `ca.crt` for example #[serde(default, skip_serializing_if = "Option::is_none", rename = "caName")] @@ -3023,7 +3024,7 @@ pub enum WorkflowTemplatesScheduleIoChaosAction { } /// Attr defines the overrided attribution -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleIoChaosAttr { /// Timespec represents a time #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3056,28 +3057,28 @@ pub struct WorkflowTemplatesScheduleIoChaosAttr { } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleIoChaosAttrAtime { pub nsec: i64, pub sec: i64, } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleIoChaosAttrCtime { pub nsec: i64, pub sec: i64, } /// Timespec represents a time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleIoChaosAttrMtime { pub nsec: i64, pub sec: i64, } /// Mistake defines what types of incorrectness are injected to IO operations -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleIoChaosMistake { /// Filling determines what is filled in the mistake data. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3115,7 +3116,7 @@ pub enum WorkflowTemplatesScheduleIoChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleIoChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -3147,7 +3148,7 @@ pub struct WorkflowTemplatesScheduleIoChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleIoChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -3258,7 +3259,7 @@ pub enum WorkflowTemplatesScheduleJvmChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleJvmChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -3290,7 +3291,7 @@ pub struct WorkflowTemplatesScheduleJvmChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleJvmChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -3326,7 +3327,7 @@ pub struct WorkflowTemplatesScheduleKernelChaos { } /// FailKernRequest defines the request of kernel injection -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleKernelChaosFailKernRequest { /// Callchain indicate a special call chain, such as: ext4_mount -> mount_subtree -> ... -> should_failslab With an optional set of predicates and an optional set of parameters, which used with predicates. You can read call chan and predicate examples from https://github.com/chaos-mesh/bpfki/tree/develop/examples to learn more. If no special call chain, just keep Callchain empty, which means it will fail at any call chain with slab alloc (eg: kmalloc). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3345,7 +3346,7 @@ pub struct WorkflowTemplatesScheduleKernelChaosFailKernRequest { } /// Frame defines the function signature and predicate in function's body -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleKernelChaosFailKernRequestCallchain { /// Funcname can be find from kernel source or `/proc/kallsyms`, such as `ext4_mount` #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3374,7 +3375,7 @@ pub enum WorkflowTemplatesScheduleKernelChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleKernelChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -3406,7 +3407,7 @@ pub struct WorkflowTemplatesScheduleKernelChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleKernelChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -3490,7 +3491,7 @@ pub enum WorkflowTemplatesScheduleNetworkChaosAction { } /// Bandwidth represents the detail about bandwidth control action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleNetworkChaosBandwidth { /// Buffer is the maximum amount of bytes that tokens can be available for instantaneously. pub buffer: i32, @@ -3507,7 +3508,7 @@ pub struct WorkflowTemplatesScheduleNetworkChaosBandwidth { } /// Corrupt represents the detail about corrupt action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleNetworkChaosCorrupt { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -3515,7 +3516,7 @@ pub struct WorkflowTemplatesScheduleNetworkChaosCorrupt { } /// Delay represents the detail about delay action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleNetworkChaosDelay { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -3528,7 +3529,7 @@ pub struct WorkflowTemplatesScheduleNetworkChaosDelay { } /// ReorderSpec defines details of packet reorder. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleNetworkChaosDelayReorder { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -3548,7 +3549,7 @@ pub enum WorkflowTemplatesScheduleNetworkChaosDirection { } /// DuplicateSpec represents the detail about loss action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleNetworkChaosDuplicate { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -3556,7 +3557,7 @@ pub struct WorkflowTemplatesScheduleNetworkChaosDuplicate { } /// Loss represents the detail about loss action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleNetworkChaosLoss { #[serde(default, skip_serializing_if = "Option::is_none")] pub correlation: Option, @@ -3579,14 +3580,14 @@ pub enum WorkflowTemplatesScheduleNetworkChaosMode { } /// Rate represents the detail about rate control action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleNetworkChaosRate { /// Rate is the speed knob. Allows bit, kbit, mbit, gbit, tbit, bps, kbps, mbps, gbps, tbps unit. bps means bytes per second. pub rate: String, } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleNetworkChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -3618,7 +3619,7 @@ pub struct WorkflowTemplatesScheduleNetworkChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleNetworkChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -3657,7 +3658,7 @@ pub enum WorkflowTemplatesScheduleNetworkChaosTargetMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleNetworkChaosTargetSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -3689,7 +3690,7 @@ pub struct WorkflowTemplatesScheduleNetworkChaosTargetSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleNetworkChaosTargetSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -3897,7 +3898,7 @@ pub enum WorkflowTemplatesSchedulePhysicalmachineChaosAction { UserDefined, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosClock { /// the identifier of the particular clock on which to act. More clock description in linux kernel can be found in man page of clock_getres, clock_gettime, clock_settime. Muti clock ids should be split with "," #[serde(default, skip_serializing_if = "Option::is_none", rename = "clock-ids-slice")] @@ -3910,7 +3911,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosClock { pub time_offset: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosDiskFill { /// fill disk by fallocate #[serde(default, skip_serializing_if = "Option::is_none", rename = "fill-by-fallocate")] @@ -3923,7 +3924,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosDiskFill { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosDiskReadPayload { /// specifies the location to fill data in. if path not provided, payload will read/write from/into a temp file, temp file will be deleted after writing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3936,7 +3937,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosDiskReadPayload { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosDiskWritePayload { /// specifies the location to fill data in. if path not provided, payload will read/write from/into a temp file, temp file will be deleted after writing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3949,7 +3950,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosDiskWritePayload { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosFileAppend { /// Count is the number of times to append the data. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3962,7 +3963,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosFileAppend { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosFileCreate { /// DirName is the directory name to create or delete. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dir-name")] @@ -3972,7 +3973,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosFileCreate { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosFileDelete { /// DirName is the directory name to create or delete. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dir-name")] @@ -3982,7 +3983,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosFileDelete { pub file_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosFileModify { /// FileName is the name of the file to be created, modified, deleted, renamed, or appended. #[serde(default, skip_serializing_if = "Option::is_none", rename = "file-name")] @@ -3992,7 +3993,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosFileModify { pub privilege: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosFileRename { /// DestFile is the name to be renamed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dest-file")] @@ -4002,7 +4003,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosFileRename { pub source_file: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosFileReplace { /// DestStr is the destination string of the file. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dest-string")] @@ -4018,7 +4019,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosFileReplace { pub origin_string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosHttpAbort { /// Code is a rule to select target by http status code in response #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4038,14 +4039,14 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosHttpAbort { pub target: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosHttpConfig { /// The config file path #[serde(default, skip_serializing_if = "Option::is_none")] pub file_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosHttpDelay { /// Code is a rule to select target by http status code in response #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4068,7 +4069,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosHttpDelay { } /// used for HTTP request, now only support GET -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosHttpRequest { /// The number of requests to send #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4081,7 +4082,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosHttpRequest { pub url: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosJvmException { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4100,7 +4101,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosJvmException { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosJvmGc { /// the pid of Java process which needs to attach #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4110,7 +4111,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosJvmGc { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosJvmLatency { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4129,7 +4130,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosJvmLatency { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosJvmMysql { /// the match database default value is "", means match all database #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4157,7 +4158,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosJvmMysql { pub table: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosJvmReturn { /// Java class #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4176,7 +4177,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosJvmReturn { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosJvmRuleData { /// the pid of Java process which needs to attach #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4189,7 +4190,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosJvmRuleData { pub rule_data: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosJvmStress { /// the CPU core number need to use, only set it when action is stress #[serde(default, skip_serializing_if = "Option::is_none", rename = "cpu-count")] @@ -4205,7 +4206,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosJvmStress { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosKafkaFill { /// The host of kafka server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4233,7 +4234,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosKafkaFill { pub username: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosKafkaFlood { /// The host of kafka server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4258,7 +4259,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosKafkaFlood { pub username: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosKafkaIo { /// The path of server config #[serde(default, skip_serializing_if = "Option::is_none", rename = "configFile")] @@ -4289,7 +4290,7 @@ pub enum WorkflowTemplatesSchedulePhysicalmachineChaosMode { RandomMaxPercent, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosNetworkBandwidth { pub buffer: i32, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4306,7 +4307,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosNetworkBandwidth { pub rate: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosNetworkCorrupt { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4334,7 +4335,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosNetworkCorrupt { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosNetworkDelay { /// only the packet which match the tcp flag can be accepted, others will be dropped. only set when the IPProtocol is tcp, used for partition. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accept-tcp-flags")] @@ -4368,7 +4369,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosNetworkDelay { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosNetworkDns { /// map this host to specified IP #[serde(default, skip_serializing_if = "Option::is_none", rename = "dns-domain-name")] @@ -4381,7 +4382,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosNetworkDns { pub dns_server: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosNetworkDown { /// The network interface to impact #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4391,7 +4392,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosNetworkDown { pub duration: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosNetworkDuplicate { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4419,7 +4420,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosNetworkDuplicate { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosNetworkFlood { /// The number of seconds to run the iperf test pub duration: String, @@ -4436,7 +4437,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosNetworkFlood { pub rate: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosNetworkLoss { /// correlation is percentage (10 is 10%) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4464,7 +4465,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosNetworkLoss { pub source_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosNetworkPartition { /// only the packet which match the tcp flag can be accepted, others will be dropped. only set when the IPProtocol is tcp, used for partition. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accept-tcp-flags")] @@ -4486,7 +4487,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosNetworkPartition { pub ip_protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosProcess { /// the process name or the process ID #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4499,7 +4500,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosProcess { pub signal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosRedisCacheLimit { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4515,7 +4516,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosRedisCacheLimit { pub percent: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosRedisExpiration { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4534,7 +4535,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosRedisExpiration { pub password: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosRedisPenetration { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4547,7 +4548,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosRedisPenetration { pub request_num: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosRedisRestart { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4566,7 +4567,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosRedisRestart { pub redis_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosRedisStop { /// The adress of Redis server #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4586,7 +4587,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosRedisStop { } /// Selector is used to select physical machines that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -4609,7 +4610,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -4620,7 +4621,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosSelectorExpressionSelect pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosStressCpu { /// specifies P percent loading per CPU worker. 0 is effectively a sleep (no load) and 100 is full loading. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4633,7 +4634,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosStressCpu { pub workers: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosStressMem { /// extend stress-ng options #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4643,7 +4644,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosStressMem { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosUserDefined { /// The command to be executed when attack #[serde(default, skip_serializing_if = "Option::is_none", rename = "attackCmd")] @@ -4653,7 +4654,7 @@ pub struct WorkflowTemplatesSchedulePhysicalmachineChaosUserDefined { pub recover_cmd: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePhysicalmachineChaosVm { /// The name of the VM to be injected #[serde(default, skip_serializing_if = "Option::is_none", rename = "vm-name")] @@ -4713,7 +4714,7 @@ pub enum WorkflowTemplatesSchedulePodChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePodChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -4745,7 +4746,7 @@ pub struct WorkflowTemplatesSchedulePodChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesSchedulePodChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -4799,7 +4800,7 @@ pub enum WorkflowTemplatesScheduleStressChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleStressChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -4831,7 +4832,7 @@ pub struct WorkflowTemplatesScheduleStressChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleStressChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -4843,7 +4844,7 @@ pub struct WorkflowTemplatesScheduleStressChaosSelectorExpressionSelectors { } /// Stressors defines plenty of stressors supported to stress system components out. You can use one or more of them to make up various kinds of stresses. At least one of the stressors should be specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleStressChaosStressors { /// CPUStressor stresses CPU out #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4854,7 +4855,7 @@ pub struct WorkflowTemplatesScheduleStressChaosStressors { } /// CPUStressor stresses CPU out -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleStressChaosStressorsCpu { /// Load specifies P percent loading per CPU worker. 0 is effectively a sleep (no load) and 100 is full loading. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4867,7 +4868,7 @@ pub struct WorkflowTemplatesScheduleStressChaosStressorsCpu { } /// MemoryStressor stresses virtual memory out -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleStressChaosStressorsMemory { /// OOMScoreAdj sets the oom_score_adj of the stress process. See `man 5 proc` to know more about this option. #[serde(default, skip_serializing_if = "Option::is_none", rename = "oomScoreAdj")] @@ -4925,7 +4926,7 @@ pub enum WorkflowTemplatesScheduleTimeChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleTimeChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -4957,7 +4958,7 @@ pub struct WorkflowTemplatesScheduleTimeChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesScheduleTimeChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -4999,7 +5000,7 @@ pub struct WorkflowTemplatesStatusCheck { pub r#type: WorkflowTemplatesStatusCheckType, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesStatusCheckHttp { #[serde(default, skip_serializing_if = "Option::is_none")] pub body: Option, @@ -5015,7 +5016,7 @@ pub struct WorkflowTemplatesStatusCheckHttp { } /// Criteria defines how to determine the result of the status check. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesStatusCheckHttpCriteria { /// StatusCode defines the expected http status code for the request. A statusCode string could be a single code (e.g. 200), or an inclusive range (e.g. 200-400, both `200` and `400` are included). #[serde(rename = "statusCode")] @@ -5087,7 +5088,7 @@ pub enum WorkflowTemplatesStressChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesStressChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -5119,7 +5120,7 @@ pub struct WorkflowTemplatesStressChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesStressChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -5131,7 +5132,7 @@ pub struct WorkflowTemplatesStressChaosSelectorExpressionSelectors { } /// Stressors defines plenty of stressors supported to stress system components out. You can use one or more of them to make up various kinds of stresses. At least one of the stressors should be specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesStressChaosStressors { /// CPUStressor stresses CPU out #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5142,7 +5143,7 @@ pub struct WorkflowTemplatesStressChaosStressors { } /// CPUStressor stresses CPU out -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesStressChaosStressorsCpu { /// Load specifies P percent loading per CPU worker. 0 is effectively a sleep (no load) and 100 is full loading. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5155,7 +5156,7 @@ pub struct WorkflowTemplatesStressChaosStressorsCpu { } /// MemoryStressor stresses virtual memory out -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesStressChaosStressorsMemory { /// OOMScoreAdj sets the oom_score_adj of the stress process. See `man 5 proc` to know more about this option. #[serde(default, skip_serializing_if = "Option::is_none", rename = "oomScoreAdj")] @@ -5171,7 +5172,7 @@ pub struct WorkflowTemplatesStressChaosStressorsMemory { } /// Task describes the behavior of the custom task. Only used when Type is TypeTask. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTask { /// Container is the main container image to run in the pod #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5182,7 +5183,7 @@ pub struct WorkflowTemplatesTask { } /// Container is the main container image to run in the pod -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainer { /// Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5258,7 +5259,7 @@ pub struct WorkflowTemplatesTaskContainer { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -5271,7 +5272,7 @@ pub struct WorkflowTemplatesTaskContainerEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -5288,7 +5289,7 @@ pub struct WorkflowTemplatesTaskContainerEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -5301,7 +5302,7 @@ pub struct WorkflowTemplatesTaskContainerEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -5312,7 +5313,7 @@ pub struct WorkflowTemplatesTaskContainerEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -5325,7 +5326,7 @@ pub struct WorkflowTemplatesTaskContainerEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5338,7 +5339,7 @@ pub struct WorkflowTemplatesTaskContainerEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -5352,7 +5353,7 @@ pub struct WorkflowTemplatesTaskContainerEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5363,7 +5364,7 @@ pub struct WorkflowTemplatesTaskContainerEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5374,7 +5375,7 @@ pub struct WorkflowTemplatesTaskContainerEnvFromSecretRef { } /// Actions that the management system should take in response to container lifecycle events. Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -5385,7 +5386,7 @@ pub struct WorkflowTemplatesTaskContainerLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5399,7 +5400,7 @@ pub struct WorkflowTemplatesTaskContainerLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5407,7 +5408,7 @@ pub struct WorkflowTemplatesTaskContainerLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5426,7 +5427,7 @@ pub struct WorkflowTemplatesTaskContainerLifecyclePostStartHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerLifecyclePostStartHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -5435,7 +5436,7 @@ pub struct WorkflowTemplatesTaskContainerLifecyclePostStartHttpGetHttpHeaders { } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5445,7 +5446,7 @@ pub struct WorkflowTemplatesTaskContainerLifecyclePostStartTcpSocket { } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5459,7 +5460,7 @@ pub struct WorkflowTemplatesTaskContainerLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5467,7 +5468,7 @@ pub struct WorkflowTemplatesTaskContainerLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5486,7 +5487,7 @@ pub struct WorkflowTemplatesTaskContainerLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerLifecyclePreStopHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -5495,7 +5496,7 @@ pub struct WorkflowTemplatesTaskContainerLifecyclePreStopHttpGetHttpHeaders { } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5505,7 +5506,7 @@ pub struct WorkflowTemplatesTaskContainerLifecyclePreStopTcpSocket { } /// Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5540,7 +5541,7 @@ pub struct WorkflowTemplatesTaskContainerLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5548,7 +5549,7 @@ pub struct WorkflowTemplatesTaskContainerLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -5559,7 +5560,7 @@ pub struct WorkflowTemplatesTaskContainerLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5578,7 +5579,7 @@ pub struct WorkflowTemplatesTaskContainerLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -5587,7 +5588,7 @@ pub struct WorkflowTemplatesTaskContainerLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5597,7 +5598,7 @@ pub struct WorkflowTemplatesTaskContainerLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -5617,7 +5618,7 @@ pub struct WorkflowTemplatesTaskContainerPorts { } /// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5652,7 +5653,7 @@ pub struct WorkflowTemplatesTaskContainerReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5660,7 +5661,7 @@ pub struct WorkflowTemplatesTaskContainerReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -5671,7 +5672,7 @@ pub struct WorkflowTemplatesTaskContainerReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5690,7 +5691,7 @@ pub struct WorkflowTemplatesTaskContainerReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -5699,7 +5700,7 @@ pub struct WorkflowTemplatesTaskContainerReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5709,7 +5710,7 @@ pub struct WorkflowTemplatesTaskContainerReadinessProbeTcpSocket { } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerResizePolicy { /// Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. #[serde(rename = "resourceName")] @@ -5720,7 +5721,7 @@ pub struct WorkflowTemplatesTaskContainerResizePolicy { } /// Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -5736,14 +5737,14 @@ pub struct WorkflowTemplatesTaskContainerResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -5781,7 +5782,7 @@ pub struct WorkflowTemplatesTaskContainerSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5792,7 +5793,7 @@ pub struct WorkflowTemplatesTaskContainerSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5809,7 +5810,7 @@ pub struct WorkflowTemplatesTaskContainerSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -5821,7 +5822,7 @@ pub struct WorkflowTemplatesTaskContainerSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -5838,7 +5839,7 @@ pub struct WorkflowTemplatesTaskContainerSecurityContextWindowsOptions { } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5873,7 +5874,7 @@ pub struct WorkflowTemplatesTaskContainerStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5881,7 +5882,7 @@ pub struct WorkflowTemplatesTaskContainerStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -5892,7 +5893,7 @@ pub struct WorkflowTemplatesTaskContainerStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5911,7 +5912,7 @@ pub struct WorkflowTemplatesTaskContainerStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerStartupProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -5920,7 +5921,7 @@ pub struct WorkflowTemplatesTaskContainerStartupProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5930,7 +5931,7 @@ pub struct WorkflowTemplatesTaskContainerStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -5940,7 +5941,7 @@ pub struct WorkflowTemplatesTaskContainerVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskContainerVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -5962,7 +5963,7 @@ pub struct WorkflowTemplatesTaskContainerVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -6060,7 +6061,7 @@ pub struct WorkflowTemplatesTaskVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6077,7 +6078,7 @@ pub struct WorkflowTemplatesTaskVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -6100,7 +6101,7 @@ pub struct WorkflowTemplatesTaskVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -6114,7 +6115,7 @@ pub struct WorkflowTemplatesTaskVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -6136,7 +6137,7 @@ pub struct WorkflowTemplatesTaskVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6144,7 +6145,7 @@ pub struct WorkflowTemplatesTaskVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6161,7 +6162,7 @@ pub struct WorkflowTemplatesTaskVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6169,7 +6170,7 @@ pub struct WorkflowTemplatesTaskVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -6186,7 +6187,7 @@ pub struct WorkflowTemplatesTaskVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -6198,7 +6199,7 @@ pub struct WorkflowTemplatesTaskVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -6217,7 +6218,7 @@ pub struct WorkflowTemplatesTaskVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6225,7 +6226,7 @@ pub struct WorkflowTemplatesTaskVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -6236,7 +6237,7 @@ pub struct WorkflowTemplatesTaskVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -6252,7 +6253,7 @@ pub struct WorkflowTemplatesTaskVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -6263,7 +6264,7 @@ pub struct WorkflowTemplatesTaskVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -6276,7 +6277,7 @@ pub struct WorkflowTemplatesTaskVolumesDownwardApiItemsResourceFieldRef { } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6291,7 +6292,7 @@ pub struct WorkflowTemplatesTaskVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -6305,7 +6306,7 @@ pub struct WorkflowTemplatesTaskVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6315,12 +6316,12 @@ pub struct WorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -6349,7 +6350,7 @@ pub struct WorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -6361,7 +6362,7 @@ pub struct WorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecDataSourc } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -6376,7 +6377,7 @@ pub struct WorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecDataSourc } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -6392,14 +6393,14 @@ pub struct WorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecResources } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6410,7 +6411,7 @@ pub struct WorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecSelector } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6422,7 +6423,7 @@ pub struct WorkflowTemplatesTaskVolumesEphemeralVolumeClaimTemplateSpecSelectorM } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6442,7 +6443,7 @@ pub struct WorkflowTemplatesTaskVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -6461,7 +6462,7 @@ pub struct WorkflowTemplatesTaskVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6469,7 +6470,7 @@ pub struct WorkflowTemplatesTaskVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -6480,7 +6481,7 @@ pub struct WorkflowTemplatesTaskVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6497,7 +6498,7 @@ pub struct WorkflowTemplatesTaskVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6510,7 +6511,7 @@ pub struct WorkflowTemplatesTaskVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -6522,7 +6523,7 @@ pub struct WorkflowTemplatesTaskVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -6532,7 +6533,7 @@ pub struct WorkflowTemplatesTaskVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -6568,7 +6569,7 @@ pub struct WorkflowTemplatesTaskVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6576,7 +6577,7 @@ pub struct WorkflowTemplatesTaskVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -6588,7 +6589,7 @@ pub struct WorkflowTemplatesTaskVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -6599,7 +6600,7 @@ pub struct WorkflowTemplatesTaskVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6610,7 +6611,7 @@ pub struct WorkflowTemplatesTaskVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6624,7 +6625,7 @@ pub struct WorkflowTemplatesTaskVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -6635,7 +6636,7 @@ pub struct WorkflowTemplatesTaskVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -6652,7 +6653,7 @@ pub struct WorkflowTemplatesTaskVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6666,7 +6667,7 @@ pub struct WorkflowTemplatesTaskVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -6678,7 +6679,7 @@ pub struct WorkflowTemplatesTaskVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6686,7 +6687,7 @@ pub struct WorkflowTemplatesTaskVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -6702,7 +6703,7 @@ pub struct WorkflowTemplatesTaskVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -6713,7 +6714,7 @@ pub struct WorkflowTemplatesTaskVolumesProjectedSourcesDownwardApiItemsFieldRef } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -6726,7 +6727,7 @@ pub struct WorkflowTemplatesTaskVolumesProjectedSourcesDownwardApiItemsResourceF } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6740,7 +6741,7 @@ pub struct WorkflowTemplatesTaskVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -6752,7 +6753,7 @@ pub struct WorkflowTemplatesTaskVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6765,7 +6766,7 @@ pub struct WorkflowTemplatesTaskVolumesProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6786,7 +6787,7 @@ pub struct WorkflowTemplatesTaskVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6813,7 +6814,7 @@ pub struct WorkflowTemplatesTaskVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6821,7 +6822,7 @@ pub struct WorkflowTemplatesTaskVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6854,7 +6855,7 @@ pub struct WorkflowTemplatesTaskVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6862,7 +6863,7 @@ pub struct WorkflowTemplatesTaskVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -6879,7 +6880,7 @@ pub struct WorkflowTemplatesTaskVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesSecretItems { /// key is the key to project. pub key: String, @@ -6891,7 +6892,7 @@ pub struct WorkflowTemplatesTaskVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6911,7 +6912,7 @@ pub struct WorkflowTemplatesTaskVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6919,7 +6920,7 @@ pub struct WorkflowTemplatesTaskVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTaskVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6978,7 +6979,7 @@ pub enum WorkflowTemplatesTimeChaosMode { } /// Selector is used to select pods that are used to inject chaos action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTimeChaosSelector { /// Map of string keys and values that can be used to select objects. A selector based on annotations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationSelectors")] @@ -7010,7 +7011,7 @@ pub struct WorkflowTemplatesTimeChaosSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowTemplatesTimeChaosSelectorExpressionSelectors { /// key is the label key that the selector applies to. pub key: String, @@ -7022,7 +7023,7 @@ pub struct WorkflowTemplatesTimeChaosSelectorExpressionSelectors { } /// Most recently observed status of the workflow -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowStatus { /// Represents the latest available observations of a workflow's current state. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7035,7 +7036,7 @@ pub struct WorkflowStatus { pub start_time: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkflowStatusConditions { pub reason: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "startTime")] diff --git a/kube-custom-resources-rs/src/chaosblade_io/v1alpha1/chaosblades.rs b/kube-custom-resources-rs/src/chaosblade_io/v1alpha1/chaosblades.rs index 291140bb0..eddb96a46 100644 --- a/kube-custom-resources-rs/src/chaosblade_io/v1alpha1/chaosblades.rs +++ b/kube-custom-resources-rs/src/chaosblade_io/v1alpha1/chaosblades.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/chaosblade-io/chaosblade-operator/chaosblade.io/v1alpha1/chaosblades.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/chaosblade-io/chaosblade-operator/chaosblade.io/v1alpha1/chaosblades.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/charts_amd_com/v1alpha1/amdgpus.rs b/kube-custom-resources-rs/src/charts_amd_com/v1alpha1/amdgpus.rs index 867bb8185..cc5da9dd7 100644 --- a/kube-custom-resources-rs/src/charts_amd_com/v1alpha1/amdgpus.rs +++ b/kube-custom-resources-rs/src/charts_amd_com/v1alpha1/amdgpus.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/ROCm/gpu-operator/charts.amd.com/v1alpha1/amdgpus.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/ROCm/gpu-operator/charts.amd.com/v1alpha1/amdgpus.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/charts_flagsmith_com/v1alpha1/flagsmiths.rs b/kube-custom-resources-rs/src/charts_flagsmith_com/v1alpha1/flagsmiths.rs index ab055e5c1..615926c56 100644 --- a/kube-custom-resources-rs/src/charts_flagsmith_com/v1alpha1/flagsmiths.rs +++ b/kube-custom-resources-rs/src/charts_flagsmith_com/v1alpha1/flagsmiths.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Flagsmith/flagsmith-operator/charts.flagsmith.com/v1alpha1/flagsmiths.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Flagsmith/flagsmith-operator/charts.flagsmith.com/v1alpha1/flagsmiths.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/charts_helm_k8s_io/v1alpha1/snykmonitors.rs b/kube-custom-resources-rs/src/charts_helm_k8s_io/v1alpha1/snykmonitors.rs index 587007892..776238acc 100644 --- a/kube-custom-resources-rs/src/charts_helm_k8s_io/v1alpha1/snykmonitors.rs +++ b/kube-custom-resources-rs/src/charts_helm_k8s_io/v1alpha1/snykmonitors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/snyk/kubernetes-monitor/charts.helm.k8s.io/v1alpha1/snykmonitors.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/snyk/kubernetes-monitor/charts.helm.k8s.io/v1alpha1/snykmonitors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/charts_opdev_io/v1alpha1/synapses.rs b/kube-custom-resources-rs/src/charts_opdev_io/v1alpha1/synapses.rs index 5636295de..bb1bdaa5f 100644 --- a/kube-custom-resources-rs/src/charts_opdev_io/v1alpha1/synapses.rs +++ b/kube-custom-resources-rs/src/charts_opdev_io/v1alpha1/synapses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/opdev/synapse-helm/charts.opdev.io/v1alpha1/synapses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/opdev/synapse-helm/charts.opdev.io/v1alpha1/synapses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/charts_operatorhub_io/v1alpha1/cockroachdbs.rs b/kube-custom-resources-rs/src/charts_operatorhub_io/v1alpha1/cockroachdbs.rs index 84b9fb50a..69749dacb 100644 --- a/kube-custom-resources-rs/src/charts_operatorhub_io/v1alpha1/cockroachdbs.rs +++ b/kube-custom-resources-rs/src/charts_operatorhub_io/v1alpha1/cockroachdbs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/dmesser/cockroachdb-operator/charts.operatorhub.io/v1alpha1/cockroachdbs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/dmesser/cockroachdb-operator/charts.operatorhub.io/v1alpha1/cockroachdbs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/che_eclipse_org/v1alpha1/kubernetesimagepullers.rs b/kube-custom-resources-rs/src/che_eclipse_org/v1alpha1/kubernetesimagepullers.rs index 2df1f0a5c..556d224f4 100644 --- a/kube-custom-resources-rs/src/che_eclipse_org/v1alpha1/kubernetesimagepullers.rs +++ b/kube-custom-resources-rs/src/che_eclipse_org/v1alpha1/kubernetesimagepullers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/che-incubator/kubernetes-image-puller-operator/che.eclipse.org/v1alpha1/kubernetesimagepullers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/che-incubator/kubernetes-image-puller-operator/che.eclipse.org/v1alpha1/kubernetesimagepullers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/chisel_operator_io/v1/exitnodeprovisioners.rs b/kube-custom-resources-rs/src/chisel_operator_io/v1/exitnodeprovisioners.rs index 51931189a..2a9efb142 100644 --- a/kube-custom-resources-rs/src/chisel_operator_io/v1/exitnodeprovisioners.rs +++ b/kube-custom-resources-rs/src/chisel_operator_io/v1/exitnodeprovisioners.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/FyraLabs/chisel-operator/chisel-operator.io/v1/exitnodeprovisioners.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/FyraLabs/chisel-operator/chisel-operator.io/v1/exitnodeprovisioners.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/chisel_operator_io/v1/exitnodes.rs b/kube-custom-resources-rs/src/chisel_operator_io/v1/exitnodes.rs index af88b9655..3c86f63f8 100644 --- a/kube-custom-resources-rs/src/chisel_operator_io/v1/exitnodes.rs +++ b/kube-custom-resources-rs/src/chisel_operator_io/v1/exitnodes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/FyraLabs/chisel-operator/chisel-operator.io/v1/exitnodes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/FyraLabs/chisel-operator/chisel-operator.io/v1/exitnodes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cilium_io/v2/ciliumclusterwidenetworkpolicies.rs b/kube-custom-resources-rs/src/cilium_io/v2/ciliumclusterwidenetworkpolicies.rs index 9ac30da0b..b7a67c038 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2/ciliumclusterwidenetworkpolicies.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2/ciliumclusterwidenetworkpolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2/ciliumclusterwidenetworkpolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2/ciliumclusterwidenetworkpolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// Spec is the desired Cilium specific rule specification. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "cilium.io", version = "v2", kind = "CiliumClusterwideNetworkPolicy", plural = "ciliumclusterwidenetworkpolicies")] #[kube(status = "CiliumClusterwideNetworkPolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct CiliumClusterwideNetworkPolicySpec { /// Description is a free form string, it can be used by the creator of the rule to store human readable explanation of the purpose of this rule. Rules cannot be identified by comment. @@ -54,7 +55,7 @@ pub struct CiliumClusterwideNetworkPolicySpec { /// - All members of this structure are optional. If omitted or empty, the member will have no effect on the rule. /// - If multiple members of the structure are specified, then all members must match in order for the rule to take effect. The exception to this rule is the ToRequires member; the effects of any Requires field in any rule will apply to all other rules as well. /// - ToEndpoints, ToCIDR, ToCIDRSet, ToEntities, ToServices and ToGroups are mutually exclusive. Only one of these members may be present within an individual rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgress { /// Authentication is the required authentication type for the allowed traffic, if any. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -121,7 +122,7 @@ pub enum CiliumClusterwideNetworkPolicyEgressAuthenticationMode { } /// ICMPRule is a list of ICMP fields. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressIcmps { /// Fields is a list of ICMP fields. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -129,7 +130,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressIcmps { } /// ICMPField is a ICMP field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressIcmpsFields { /// Family is a IP address version. Currently, we support `IPv4` and `IPv6`. `IPv4` is set as default. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -147,7 +148,7 @@ pub enum CiliumClusterwideNetworkPolicyEgressIcmpsFieldsFamily { } /// CIDRRule is a rule that specifies a CIDR prefix to/from which outside communication is allowed, along with an optional list of subnets within that CIDR prefix to/from which outside communication is not allowed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToCidrSet { /// CIDR is a CIDR prefix / IP Block. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -161,7 +162,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressToCidrSet { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToEndpoints { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -192,7 +193,7 @@ pub enum CiliumClusterwideNetworkPolicyEgressToEndpointsMatchExpressionsOperator DoesNotExist, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToFqdNs { /// MatchName matches literal DNS names. A trailing "." is automatically added when missing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchName")] @@ -204,7 +205,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressToFqdNs { } /// Groups structure to store all kinds of new integrations that needs a new derivative policy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToGroups { /// AWSGroup is an structure that can be used to whitelisting information from AWS integration #[serde(default, skip_serializing_if = "Option::is_none")] @@ -212,7 +213,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressToGroups { } /// AWSGroup is an structure that can be used to whitelisting information from AWS integration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToGroupsAws { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option>, @@ -225,7 +226,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressToGroupsAws { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToNodes { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -257,7 +258,7 @@ pub enum CiliumClusterwideNetworkPolicyEgressToNodesMatchExpressionsOperator { } /// PortRule is a list of ports/protocol combinations with optional Layer 7 rules which must be met. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToPorts { /// listener specifies the name of a custom Envoy listener to which this traffic should be redirected to. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -280,7 +281,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressToPorts { } /// listener specifies the name of a custom Envoy listener to which this traffic should be redirected to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToPortsListener { /// EnvoyConfig is a reference to the CEC or CCEC resource in which the listener is defined. #[serde(rename = "envoyConfig")] @@ -293,7 +294,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressToPortsListener { } /// EnvoyConfig is a reference to the CEC or CCEC resource in which the listener is defined. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToPortsListenerEnvoyConfig { /// Kind is the resource type being referred to. Defaults to CiliumEnvoyConfig or CiliumClusterwideEnvoyConfig for CiliumNetworkPolicy and CiliumClusterwideNetworkPolicy, respectively. The only case this is currently explicitly needed is when referring to a CiliumClusterwideEnvoyConfig from CiliumNetworkPolicy, as using a namespaced listener from a cluster scoped policy is not allowed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -310,7 +311,7 @@ pub enum CiliumClusterwideNetworkPolicyEgressToPortsListenerEnvoyConfigKind { } /// OriginatingTLS is the TLS context for the connections originated by the L7 proxy. For egress policy this specifies the client-side TLS parameters for the upstream connection originating from the L7 proxy to the remote destination. For ingress policy this specifies the client-side TLS parameters for the connection from the L7 proxy to the local endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToPortsOriginatingTls { /// Certificate is the file name or k8s secret item name for the certificate chain. If omitted, 'tls.crt' is assumed, if it exists. If given, the item must exist. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -326,7 +327,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressToPortsOriginatingTls { } /// Secret is the secret that contains the certificates and private key for the TLS context. By default, Cilium will search in this secret for the following items: - 'ca.crt' - Which represents the trusted CA to verify remote source. - 'tls.crt' - Which represents the public key certificate. - 'tls.key' - Which represents the private key matching the public key certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToPortsOriginatingTlsSecret { /// Name is the name of the secret. pub name: String, @@ -336,7 +337,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressToPortsOriginatingTlsSecret { } /// PortProtocol specifies an L4 port with an optional transport protocol -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToPortsPorts { /// EndPort can only be an L4 port number. #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] @@ -364,7 +365,7 @@ pub enum CiliumClusterwideNetworkPolicyEgressToPortsPortsProtocol { } /// Rules is a list of additional port level rules which must be met in order for the PortRule to allow the traffic. If omitted or empty, no layer 7 rules are enforced. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToPortsRules { /// DNS-specific rules. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -384,7 +385,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressToPortsRules { } /// PortRuleDNS is a list of allowed DNS lookups. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToPortsRulesDns { /// MatchName matches literal DNS names. A trailing "." is automatically added when missing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchName")] @@ -397,7 +398,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressToPortsRulesDns { /// PortRuleHTTP is a list of HTTP protocol constraints. All fields are optional, if all fields are empty or missing, the rule does not have any effect. /// All fields of this type are extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToPortsRulesHttp { /// HeaderMatches is a list of HTTP headers which must be present and match against the given values. Mismatch field can be used to specify what to do when there is no match. #[serde(default, skip_serializing_if = "Option::is_none", rename = "headerMatches")] @@ -420,7 +421,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressToPortsRulesHttp { } /// HeaderMatch extends the HeaderValue for matching requirement of a named header field against an immediate string, a secret value, or a regex. If none of the optional fields is present, then the header value is not matched, only presence of the header is enough. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToPortsRulesHttpHeaderMatches { /// Mismatch identifies what to do in case there is no match. The default is to drop the request. Otherwise the overall rule is still considered as matching, but the mismatches are logged in the access log. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -449,7 +450,7 @@ pub enum CiliumClusterwideNetworkPolicyEgressToPortsRulesHttpHeaderMatchesMismat } /// Secret refers to a secret that contains the value to be matched against. The secret must only contain one entry. If the referred secret does not exist, and there is no "Value" specified, the match will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToPortsRulesHttpHeaderMatchesSecret { /// Name is the name of the secret. pub name: String, @@ -459,7 +460,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressToPortsRulesHttpHeaderMatchesSecr } /// PortRule is a list of Kafka protocol constraints. All fields are optional, if all fields are empty or missing, the rule will match all Kafka messages. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToPortsRulesKafka { /// APIKey is a case-insensitive string matched against the key of a request, e.g. "produce", "fetch", "createtopic", "deletetopic", et al Reference: https://kafka.apache.org/protocol#protocol_api_keys /// If omitted or empty, and if Role is not specified, then all keys are allowed. @@ -498,7 +499,7 @@ pub enum CiliumClusterwideNetworkPolicyEgressToPortsRulesKafkaRole { } /// TerminatingTLS is the TLS context for the connection terminated by the L7 proxy. For egress policy this specifies the server-side TLS parameters to be applied on the connections originated from the local endpoint and terminated by the L7 proxy. For ingress policy this specifies the server-side TLS parameters to be applied on the connections originated from a remote source and terminated by the L7 proxy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToPortsTerminatingTls { /// Certificate is the file name or k8s secret item name for the certificate chain. If omitted, 'tls.crt' is assumed, if it exists. If given, the item must exist. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -514,7 +515,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressToPortsTerminatingTls { } /// Secret is the secret that contains the certificates and private key for the TLS context. By default, Cilium will search in this secret for the following items: - 'ca.crt' - Which represents the trusted CA to verify remote source. - 'tls.crt' - Which represents the public key certificate. - 'tls.key' - Which represents the private key matching the public key certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToPortsTerminatingTlsSecret { /// Name is the name of the secret. pub name: String, @@ -524,7 +525,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressToPortsTerminatingTlsSecret { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToRequires { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -556,7 +557,7 @@ pub enum CiliumClusterwideNetworkPolicyEgressToRequiresMatchExpressionsOperator } /// Service wraps around selectors for services -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToServices { /// K8sService selects service by name and namespace pair #[serde(default, skip_serializing_if = "Option::is_none", rename = "k8sService")] @@ -567,7 +568,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressToServices { } /// K8sService selects service by name and namespace pair -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToServicesK8sService { #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, @@ -576,7 +577,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressToServicesK8sService { } /// K8sServiceSelector selects services by k8s labels and namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToServicesK8sServiceSelector { #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, @@ -585,7 +586,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressToServicesK8sServiceSelector { } /// ServiceSelector is a label selector for k8s services -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressToServicesK8sServiceSelectorSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -620,7 +621,7 @@ pub enum CiliumClusterwideNetworkPolicyEgressToServicesK8sServiceSelectorSelecto /// - All members of this structure are optional. If omitted or empty, the member will have no effect on the rule. /// - If multiple members of the structure are specified, then all members must match in order for the rule to take effect. The exception to this rule is the ToRequires member; the effects of any Requires field in any rule will apply to all other rules as well. /// - ToEndpoints, ToCIDR, ToCIDRSet, ToEntities, ToServices and ToGroups are mutually exclusive. Only one of these members may be present within an individual rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressDeny { /// ICMPs is a list of ICMP rule identified by type number which the endpoint subject to the rule is not allowed to connect to. /// Example: Any endpoint with the label "app=httpd" is not allowed to initiate type 8 ICMP connections. @@ -663,7 +664,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressDeny { } /// ICMPRule is a list of ICMP fields. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressDenyIcmps { /// Fields is a list of ICMP fields. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -671,7 +672,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressDenyIcmps { } /// ICMPField is a ICMP field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressDenyIcmpsFields { /// Family is a IP address version. Currently, we support `IPv4` and `IPv6`. `IPv4` is set as default. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -689,7 +690,7 @@ pub enum CiliumClusterwideNetworkPolicyEgressDenyIcmpsFieldsFamily { } /// CIDRRule is a rule that specifies a CIDR prefix to/from which outside communication is allowed, along with an optional list of subnets within that CIDR prefix to/from which outside communication is not allowed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressDenyToCidrSet { /// CIDR is a CIDR prefix / IP Block. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -703,7 +704,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressDenyToCidrSet { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressDenyToEndpoints { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -735,7 +736,7 @@ pub enum CiliumClusterwideNetworkPolicyEgressDenyToEndpointsMatchExpressionsOper } /// Groups structure to store all kinds of new integrations that needs a new derivative policy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressDenyToGroups { /// AWSGroup is an structure that can be used to whitelisting information from AWS integration #[serde(default, skip_serializing_if = "Option::is_none")] @@ -743,7 +744,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressDenyToGroups { } /// AWSGroup is an structure that can be used to whitelisting information from AWS integration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressDenyToGroupsAws { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option>, @@ -756,7 +757,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressDenyToGroupsAws { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressDenyToNodes { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -788,7 +789,7 @@ pub enum CiliumClusterwideNetworkPolicyEgressDenyToNodesMatchExpressionsOperator } /// PortDenyRule is a list of ports/protocol that should be used for deny policies. This structure lacks the L7Rules since it's not supported in deny policies. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressDenyToPorts { /// Ports is a list of L4 port/protocol #[serde(default, skip_serializing_if = "Option::is_none")] @@ -796,7 +797,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressDenyToPorts { } /// PortProtocol specifies an L4 port with an optional transport protocol -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressDenyToPortsPorts { /// EndPort can only be an L4 port number. #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] @@ -824,7 +825,7 @@ pub enum CiliumClusterwideNetworkPolicyEgressDenyToPortsPortsProtocol { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressDenyToRequires { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -856,7 +857,7 @@ pub enum CiliumClusterwideNetworkPolicyEgressDenyToRequiresMatchExpressionsOpera } /// Service wraps around selectors for services -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressDenyToServices { /// K8sService selects service by name and namespace pair #[serde(default, skip_serializing_if = "Option::is_none", rename = "k8sService")] @@ -867,7 +868,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressDenyToServices { } /// K8sService selects service by name and namespace pair -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressDenyToServicesK8sService { #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, @@ -876,7 +877,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressDenyToServicesK8sService { } /// K8sServiceSelector selects services by k8s labels and namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressDenyToServicesK8sServiceSelector { #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, @@ -885,7 +886,7 @@ pub struct CiliumClusterwideNetworkPolicyEgressDenyToServicesK8sServiceSelector } /// ServiceSelector is a label selector for k8s services -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEgressDenyToServicesK8sServiceSelectorSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -920,7 +921,7 @@ pub enum CiliumClusterwideNetworkPolicyEgressDenyToServicesK8sServiceSelectorSel /// If not specified, the default is true for each traffic direction that has rules, and false otherwise. For example, if a policy only has Ingress or IngressDeny rules, then the default for ingress is true and egress is false. /// If multiple policies apply to an endpoint, that endpoint's default deny will be enabled if any policy requests it. /// This is useful for creating broad-based network policies that will not cause endpoints to enter default-deny mode. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEnableDefaultDeny { /// Whether or not the endpoint should have a default-deny rule applied to egress traffic. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -931,7 +932,7 @@ pub struct CiliumClusterwideNetworkPolicyEnableDefaultDeny { } /// EndpointSelector selects all endpoints which should be subject to this rule. EndpointSelector and NodeSelector cannot be both empty and are mutually exclusive. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyEndpointSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -966,7 +967,7 @@ pub enum CiliumClusterwideNetworkPolicyEndpointSelectorMatchExpressionsOperator /// - All members of this structure are optional. If omitted or empty, the member will have no effect on the rule. /// - If multiple members are set, all of them need to match in order for the rule to take effect. The exception to this rule is FromRequires field; the effects of any Requires field in any rule will apply to all other rules as well. /// - FromEndpoints, FromCIDR, FromCIDRSet and FromEntities are mutually exclusive. Only one of these members may be present within an individual rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngress { /// Authentication is the required authentication type for the allowed traffic, if any. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1026,7 +1027,7 @@ pub enum CiliumClusterwideNetworkPolicyIngressAuthenticationMode { } /// CIDRRule is a rule that specifies a CIDR prefix to/from which outside communication is allowed, along with an optional list of subnets within that CIDR prefix to/from which outside communication is not allowed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressFromCidrSet { /// CIDR is a CIDR prefix / IP Block. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1040,7 +1041,7 @@ pub struct CiliumClusterwideNetworkPolicyIngressFromCidrSet { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressFromEndpoints { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1072,7 +1073,7 @@ pub enum CiliumClusterwideNetworkPolicyIngressFromEndpointsMatchExpressionsOpera } /// Groups structure to store all kinds of new integrations that needs a new derivative policy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressFromGroups { /// AWSGroup is an structure that can be used to whitelisting information from AWS integration #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1080,7 +1081,7 @@ pub struct CiliumClusterwideNetworkPolicyIngressFromGroups { } /// AWSGroup is an structure that can be used to whitelisting information from AWS integration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressFromGroupsAws { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option>, @@ -1093,7 +1094,7 @@ pub struct CiliumClusterwideNetworkPolicyIngressFromGroupsAws { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressFromNodes { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1125,7 +1126,7 @@ pub enum CiliumClusterwideNetworkPolicyIngressFromNodesMatchExpressionsOperator } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressFromRequires { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1157,7 +1158,7 @@ pub enum CiliumClusterwideNetworkPolicyIngressFromRequiresMatchExpressionsOperat } /// ICMPRule is a list of ICMP fields. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressIcmps { /// Fields is a list of ICMP fields. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1165,7 +1166,7 @@ pub struct CiliumClusterwideNetworkPolicyIngressIcmps { } /// ICMPField is a ICMP field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressIcmpsFields { /// Family is a IP address version. Currently, we support `IPv4` and `IPv6`. `IPv4` is set as default. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1183,7 +1184,7 @@ pub enum CiliumClusterwideNetworkPolicyIngressIcmpsFieldsFamily { } /// PortRule is a list of ports/protocol combinations with optional Layer 7 rules which must be met. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressToPorts { /// listener specifies the name of a custom Envoy listener to which this traffic should be redirected to. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1206,7 +1207,7 @@ pub struct CiliumClusterwideNetworkPolicyIngressToPorts { } /// listener specifies the name of a custom Envoy listener to which this traffic should be redirected to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressToPortsListener { /// EnvoyConfig is a reference to the CEC or CCEC resource in which the listener is defined. #[serde(rename = "envoyConfig")] @@ -1219,7 +1220,7 @@ pub struct CiliumClusterwideNetworkPolicyIngressToPortsListener { } /// EnvoyConfig is a reference to the CEC or CCEC resource in which the listener is defined. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressToPortsListenerEnvoyConfig { /// Kind is the resource type being referred to. Defaults to CiliumEnvoyConfig or CiliumClusterwideEnvoyConfig for CiliumNetworkPolicy and CiliumClusterwideNetworkPolicy, respectively. The only case this is currently explicitly needed is when referring to a CiliumClusterwideEnvoyConfig from CiliumNetworkPolicy, as using a namespaced listener from a cluster scoped policy is not allowed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1236,7 +1237,7 @@ pub enum CiliumClusterwideNetworkPolicyIngressToPortsListenerEnvoyConfigKind { } /// OriginatingTLS is the TLS context for the connections originated by the L7 proxy. For egress policy this specifies the client-side TLS parameters for the upstream connection originating from the L7 proxy to the remote destination. For ingress policy this specifies the client-side TLS parameters for the connection from the L7 proxy to the local endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressToPortsOriginatingTls { /// Certificate is the file name or k8s secret item name for the certificate chain. If omitted, 'tls.crt' is assumed, if it exists. If given, the item must exist. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1252,7 +1253,7 @@ pub struct CiliumClusterwideNetworkPolicyIngressToPortsOriginatingTls { } /// Secret is the secret that contains the certificates and private key for the TLS context. By default, Cilium will search in this secret for the following items: - 'ca.crt' - Which represents the trusted CA to verify remote source. - 'tls.crt' - Which represents the public key certificate. - 'tls.key' - Which represents the private key matching the public key certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressToPortsOriginatingTlsSecret { /// Name is the name of the secret. pub name: String, @@ -1262,7 +1263,7 @@ pub struct CiliumClusterwideNetworkPolicyIngressToPortsOriginatingTlsSecret { } /// PortProtocol specifies an L4 port with an optional transport protocol -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressToPortsPorts { /// EndPort can only be an L4 port number. #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] @@ -1290,7 +1291,7 @@ pub enum CiliumClusterwideNetworkPolicyIngressToPortsPortsProtocol { } /// Rules is a list of additional port level rules which must be met in order for the PortRule to allow the traffic. If omitted or empty, no layer 7 rules are enforced. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressToPortsRules { /// DNS-specific rules. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1310,7 +1311,7 @@ pub struct CiliumClusterwideNetworkPolicyIngressToPortsRules { } /// PortRuleDNS is a list of allowed DNS lookups. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressToPortsRulesDns { /// MatchName matches literal DNS names. A trailing "." is automatically added when missing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchName")] @@ -1323,7 +1324,7 @@ pub struct CiliumClusterwideNetworkPolicyIngressToPortsRulesDns { /// PortRuleHTTP is a list of HTTP protocol constraints. All fields are optional, if all fields are empty or missing, the rule does not have any effect. /// All fields of this type are extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressToPortsRulesHttp { /// HeaderMatches is a list of HTTP headers which must be present and match against the given values. Mismatch field can be used to specify what to do when there is no match. #[serde(default, skip_serializing_if = "Option::is_none", rename = "headerMatches")] @@ -1346,7 +1347,7 @@ pub struct CiliumClusterwideNetworkPolicyIngressToPortsRulesHttp { } /// HeaderMatch extends the HeaderValue for matching requirement of a named header field against an immediate string, a secret value, or a regex. If none of the optional fields is present, then the header value is not matched, only presence of the header is enough. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressToPortsRulesHttpHeaderMatches { /// Mismatch identifies what to do in case there is no match. The default is to drop the request. Otherwise the overall rule is still considered as matching, but the mismatches are logged in the access log. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1375,7 +1376,7 @@ pub enum CiliumClusterwideNetworkPolicyIngressToPortsRulesHttpHeaderMatchesMisma } /// Secret refers to a secret that contains the value to be matched against. The secret must only contain one entry. If the referred secret does not exist, and there is no "Value" specified, the match will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressToPortsRulesHttpHeaderMatchesSecret { /// Name is the name of the secret. pub name: String, @@ -1385,7 +1386,7 @@ pub struct CiliumClusterwideNetworkPolicyIngressToPortsRulesHttpHeaderMatchesSec } /// PortRule is a list of Kafka protocol constraints. All fields are optional, if all fields are empty or missing, the rule will match all Kafka messages. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressToPortsRulesKafka { /// APIKey is a case-insensitive string matched against the key of a request, e.g. "produce", "fetch", "createtopic", "deletetopic", et al Reference: https://kafka.apache.org/protocol#protocol_api_keys /// If omitted or empty, and if Role is not specified, then all keys are allowed. @@ -1424,7 +1425,7 @@ pub enum CiliumClusterwideNetworkPolicyIngressToPortsRulesKafkaRole { } /// TerminatingTLS is the TLS context for the connection terminated by the L7 proxy. For egress policy this specifies the server-side TLS parameters to be applied on the connections originated from the local endpoint and terminated by the L7 proxy. For ingress policy this specifies the server-side TLS parameters to be applied on the connections originated from a remote source and terminated by the L7 proxy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressToPortsTerminatingTls { /// Certificate is the file name or k8s secret item name for the certificate chain. If omitted, 'tls.crt' is assumed, if it exists. If given, the item must exist. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1440,7 +1441,7 @@ pub struct CiliumClusterwideNetworkPolicyIngressToPortsTerminatingTls { } /// Secret is the secret that contains the certificates and private key for the TLS context. By default, Cilium will search in this secret for the following items: - 'ca.crt' - Which represents the trusted CA to verify remote source. - 'tls.crt' - Which represents the public key certificate. - 'tls.key' - Which represents the private key matching the public key certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressToPortsTerminatingTlsSecret { /// Name is the name of the secret. pub name: String, @@ -1453,7 +1454,7 @@ pub struct CiliumClusterwideNetworkPolicyIngressToPortsTerminatingTlsSecret { /// - All members of this structure are optional. If omitted or empty, the member will have no effect on the rule. /// - If multiple members are set, all of them need to match in order for the rule to take effect. The exception to this rule is FromRequires field; the effects of any Requires field in any rule will apply to all other rules as well. /// - FromEndpoints, FromCIDR, FromCIDRSet, FromGroups and FromEntities are mutually exclusive. Only one of these members may be present within an individual rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressDeny { /// FromCIDR is a list of IP blocks which the endpoint subject to the rule is allowed to receive connections from. Only connections which do *not* originate from the cluster or from the local host are subject to CIDR rules. In order to allow in-cluster connectivity, use the FromEndpoints field. This will match on the source IP address of incoming connections. Adding a prefix into FromCIDR or into FromCIDRSet with no ExcludeCIDRs is equivalent. Overlaps are allowed between FromCIDR and FromCIDRSet. /// Example: Any endpoint with the label "app=my-legacy-pet" is allowed to receive connections from 10.3.9.1 @@ -1492,7 +1493,7 @@ pub struct CiliumClusterwideNetworkPolicyIngressDeny { } /// CIDRRule is a rule that specifies a CIDR prefix to/from which outside communication is allowed, along with an optional list of subnets within that CIDR prefix to/from which outside communication is not allowed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressDenyFromCidrSet { /// CIDR is a CIDR prefix / IP Block. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1506,7 +1507,7 @@ pub struct CiliumClusterwideNetworkPolicyIngressDenyFromCidrSet { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressDenyFromEndpoints { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1538,7 +1539,7 @@ pub enum CiliumClusterwideNetworkPolicyIngressDenyFromEndpointsMatchExpressionsO } /// Groups structure to store all kinds of new integrations that needs a new derivative policy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressDenyFromGroups { /// AWSGroup is an structure that can be used to whitelisting information from AWS integration #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1546,7 +1547,7 @@ pub struct CiliumClusterwideNetworkPolicyIngressDenyFromGroups { } /// AWSGroup is an structure that can be used to whitelisting information from AWS integration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressDenyFromGroupsAws { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option>, @@ -1559,7 +1560,7 @@ pub struct CiliumClusterwideNetworkPolicyIngressDenyFromGroupsAws { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressDenyFromNodes { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1591,7 +1592,7 @@ pub enum CiliumClusterwideNetworkPolicyIngressDenyFromNodesMatchExpressionsOpera } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressDenyFromRequires { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1623,7 +1624,7 @@ pub enum CiliumClusterwideNetworkPolicyIngressDenyFromRequiresMatchExpressionsOp } /// ICMPRule is a list of ICMP fields. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressDenyIcmps { /// Fields is a list of ICMP fields. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1631,7 +1632,7 @@ pub struct CiliumClusterwideNetworkPolicyIngressDenyIcmps { } /// ICMPField is a ICMP field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressDenyIcmpsFields { /// Family is a IP address version. Currently, we support `IPv4` and `IPv6`. `IPv4` is set as default. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1649,7 +1650,7 @@ pub enum CiliumClusterwideNetworkPolicyIngressDenyIcmpsFieldsFamily { } /// PortDenyRule is a list of ports/protocol that should be used for deny policies. This structure lacks the L7Rules since it's not supported in deny policies. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressDenyToPorts { /// Ports is a list of L4 port/protocol #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1657,7 +1658,7 @@ pub struct CiliumClusterwideNetworkPolicyIngressDenyToPorts { } /// PortProtocol specifies an L4 port with an optional transport protocol -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyIngressDenyToPortsPorts { /// EndPort can only be an L4 port number. #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] @@ -1685,7 +1686,7 @@ pub enum CiliumClusterwideNetworkPolicyIngressDenyToPortsPortsProtocol { } /// Label is the Cilium's representation of a container label. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyLabels { pub key: String, /// Source can be one of the above values (e.g.: LabelSourceContainer). @@ -1696,7 +1697,7 @@ pub struct CiliumClusterwideNetworkPolicyLabels { } /// NodeSelector selects all nodes which should be subject to this rule. EndpointSelector and NodeSelector cannot be both empty and are mutually exclusive. Can only be used in CiliumClusterwideNetworkPolicies. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyNodeSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1730,7 +1731,7 @@ pub enum CiliumClusterwideNetworkPolicyNodeSelectorMatchExpressionsOperator { /// Rule is a policy rule which must be applied to all endpoints which match the labels contained in the endpointSelector /// Each rule is split into an ingress section which contains all rules applicable at ingress, and an egress section applicable at egress. For rule types such as `L4Rule` and `CIDR` which can be applied at both ingress and egress, both ingress and egress side have to either specifically allow the connection or one side has to be omitted. /// Either ingress, egress, or both can be provided. If both ingress and egress are omitted, the rule has no effect. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicys { /// Description is a free form string, it can be used by the creator of the rule to store human readable explanation of the purpose of this rule. Rules cannot be identified by comment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1768,7 +1769,7 @@ pub struct CiliumClusterwideNetworkPolicys { /// - All members of this structure are optional. If omitted or empty, the member will have no effect on the rule. /// - If multiple members of the structure are specified, then all members must match in order for the rule to take effect. The exception to this rule is the ToRequires member; the effects of any Requires field in any rule will apply to all other rules as well. /// - ToEndpoints, ToCIDR, ToCIDRSet, ToEntities, ToServices and ToGroups are mutually exclusive. Only one of these members may be present within an individual rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgress { /// Authentication is the required authentication type for the allowed traffic, if any. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1835,7 +1836,7 @@ pub enum CiliumClusterwideNetworkPolicysEgressAuthenticationMode { } /// ICMPRule is a list of ICMP fields. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressIcmps { /// Fields is a list of ICMP fields. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1843,7 +1844,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressIcmps { } /// ICMPField is a ICMP field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressIcmpsFields { /// Family is a IP address version. Currently, we support `IPv4` and `IPv6`. `IPv4` is set as default. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1861,7 +1862,7 @@ pub enum CiliumClusterwideNetworkPolicysEgressIcmpsFieldsFamily { } /// CIDRRule is a rule that specifies a CIDR prefix to/from which outside communication is allowed, along with an optional list of subnets within that CIDR prefix to/from which outside communication is not allowed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToCidrSet { /// CIDR is a CIDR prefix / IP Block. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1875,7 +1876,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressToCidrSet { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToEndpoints { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1906,7 +1907,7 @@ pub enum CiliumClusterwideNetworkPolicysEgressToEndpointsMatchExpressionsOperato DoesNotExist, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToFqdNs { /// MatchName matches literal DNS names. A trailing "." is automatically added when missing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchName")] @@ -1918,7 +1919,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressToFqdNs { } /// Groups structure to store all kinds of new integrations that needs a new derivative policy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToGroups { /// AWSGroup is an structure that can be used to whitelisting information from AWS integration #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1926,7 +1927,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressToGroups { } /// AWSGroup is an structure that can be used to whitelisting information from AWS integration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToGroupsAws { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option>, @@ -1939,7 +1940,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressToGroupsAws { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToNodes { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1971,7 +1972,7 @@ pub enum CiliumClusterwideNetworkPolicysEgressToNodesMatchExpressionsOperator { } /// PortRule is a list of ports/protocol combinations with optional Layer 7 rules which must be met. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToPorts { /// listener specifies the name of a custom Envoy listener to which this traffic should be redirected to. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1994,7 +1995,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressToPorts { } /// listener specifies the name of a custom Envoy listener to which this traffic should be redirected to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToPortsListener { /// EnvoyConfig is a reference to the CEC or CCEC resource in which the listener is defined. #[serde(rename = "envoyConfig")] @@ -2007,7 +2008,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressToPortsListener { } /// EnvoyConfig is a reference to the CEC or CCEC resource in which the listener is defined. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToPortsListenerEnvoyConfig { /// Kind is the resource type being referred to. Defaults to CiliumEnvoyConfig or CiliumClusterwideEnvoyConfig for CiliumNetworkPolicy and CiliumClusterwideNetworkPolicy, respectively. The only case this is currently explicitly needed is when referring to a CiliumClusterwideEnvoyConfig from CiliumNetworkPolicy, as using a namespaced listener from a cluster scoped policy is not allowed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2024,7 +2025,7 @@ pub enum CiliumClusterwideNetworkPolicysEgressToPortsListenerEnvoyConfigKind { } /// OriginatingTLS is the TLS context for the connections originated by the L7 proxy. For egress policy this specifies the client-side TLS parameters for the upstream connection originating from the L7 proxy to the remote destination. For ingress policy this specifies the client-side TLS parameters for the connection from the L7 proxy to the local endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToPortsOriginatingTls { /// Certificate is the file name or k8s secret item name for the certificate chain. If omitted, 'tls.crt' is assumed, if it exists. If given, the item must exist. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2040,7 +2041,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressToPortsOriginatingTls { } /// Secret is the secret that contains the certificates and private key for the TLS context. By default, Cilium will search in this secret for the following items: - 'ca.crt' - Which represents the trusted CA to verify remote source. - 'tls.crt' - Which represents the public key certificate. - 'tls.key' - Which represents the private key matching the public key certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToPortsOriginatingTlsSecret { /// Name is the name of the secret. pub name: String, @@ -2050,7 +2051,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressToPortsOriginatingTlsSecret { } /// PortProtocol specifies an L4 port with an optional transport protocol -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToPortsPorts { /// EndPort can only be an L4 port number. #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] @@ -2078,7 +2079,7 @@ pub enum CiliumClusterwideNetworkPolicysEgressToPortsPortsProtocol { } /// Rules is a list of additional port level rules which must be met in order for the PortRule to allow the traffic. If omitted or empty, no layer 7 rules are enforced. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToPortsRules { /// DNS-specific rules. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2098,7 +2099,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressToPortsRules { } /// PortRuleDNS is a list of allowed DNS lookups. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToPortsRulesDns { /// MatchName matches literal DNS names. A trailing "." is automatically added when missing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchName")] @@ -2111,7 +2112,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressToPortsRulesDns { /// PortRuleHTTP is a list of HTTP protocol constraints. All fields are optional, if all fields are empty or missing, the rule does not have any effect. /// All fields of this type are extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToPortsRulesHttp { /// HeaderMatches is a list of HTTP headers which must be present and match against the given values. Mismatch field can be used to specify what to do when there is no match. #[serde(default, skip_serializing_if = "Option::is_none", rename = "headerMatches")] @@ -2134,7 +2135,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressToPortsRulesHttp { } /// HeaderMatch extends the HeaderValue for matching requirement of a named header field against an immediate string, a secret value, or a regex. If none of the optional fields is present, then the header value is not matched, only presence of the header is enough. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToPortsRulesHttpHeaderMatches { /// Mismatch identifies what to do in case there is no match. The default is to drop the request. Otherwise the overall rule is still considered as matching, but the mismatches are logged in the access log. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2163,7 +2164,7 @@ pub enum CiliumClusterwideNetworkPolicysEgressToPortsRulesHttpHeaderMatchesMisma } /// Secret refers to a secret that contains the value to be matched against. The secret must only contain one entry. If the referred secret does not exist, and there is no "Value" specified, the match will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToPortsRulesHttpHeaderMatchesSecret { /// Name is the name of the secret. pub name: String, @@ -2173,7 +2174,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressToPortsRulesHttpHeaderMatchesSec } /// PortRule is a list of Kafka protocol constraints. All fields are optional, if all fields are empty or missing, the rule will match all Kafka messages. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToPortsRulesKafka { /// APIKey is a case-insensitive string matched against the key of a request, e.g. "produce", "fetch", "createtopic", "deletetopic", et al Reference: https://kafka.apache.org/protocol#protocol_api_keys /// If omitted or empty, and if Role is not specified, then all keys are allowed. @@ -2212,7 +2213,7 @@ pub enum CiliumClusterwideNetworkPolicysEgressToPortsRulesKafkaRole { } /// TerminatingTLS is the TLS context for the connection terminated by the L7 proxy. For egress policy this specifies the server-side TLS parameters to be applied on the connections originated from the local endpoint and terminated by the L7 proxy. For ingress policy this specifies the server-side TLS parameters to be applied on the connections originated from a remote source and terminated by the L7 proxy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToPortsTerminatingTls { /// Certificate is the file name or k8s secret item name for the certificate chain. If omitted, 'tls.crt' is assumed, if it exists. If given, the item must exist. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2228,7 +2229,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressToPortsTerminatingTls { } /// Secret is the secret that contains the certificates and private key for the TLS context. By default, Cilium will search in this secret for the following items: - 'ca.crt' - Which represents the trusted CA to verify remote source. - 'tls.crt' - Which represents the public key certificate. - 'tls.key' - Which represents the private key matching the public key certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToPortsTerminatingTlsSecret { /// Name is the name of the secret. pub name: String, @@ -2238,7 +2239,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressToPortsTerminatingTlsSecret { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToRequires { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2270,7 +2271,7 @@ pub enum CiliumClusterwideNetworkPolicysEgressToRequiresMatchExpressionsOperator } /// Service wraps around selectors for services -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToServices { /// K8sService selects service by name and namespace pair #[serde(default, skip_serializing_if = "Option::is_none", rename = "k8sService")] @@ -2281,7 +2282,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressToServices { } /// K8sService selects service by name and namespace pair -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToServicesK8sService { #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, @@ -2290,7 +2291,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressToServicesK8sService { } /// K8sServiceSelector selects services by k8s labels and namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToServicesK8sServiceSelector { #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, @@ -2299,7 +2300,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressToServicesK8sServiceSelector { } /// ServiceSelector is a label selector for k8s services -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressToServicesK8sServiceSelectorSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2334,7 +2335,7 @@ pub enum CiliumClusterwideNetworkPolicysEgressToServicesK8sServiceSelectorSelect /// - All members of this structure are optional. If omitted or empty, the member will have no effect on the rule. /// - If multiple members of the structure are specified, then all members must match in order for the rule to take effect. The exception to this rule is the ToRequires member; the effects of any Requires field in any rule will apply to all other rules as well. /// - ToEndpoints, ToCIDR, ToCIDRSet, ToEntities, ToServices and ToGroups are mutually exclusive. Only one of these members may be present within an individual rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressDeny { /// ICMPs is a list of ICMP rule identified by type number which the endpoint subject to the rule is not allowed to connect to. /// Example: Any endpoint with the label "app=httpd" is not allowed to initiate type 8 ICMP connections. @@ -2377,7 +2378,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressDeny { } /// ICMPRule is a list of ICMP fields. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressDenyIcmps { /// Fields is a list of ICMP fields. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2385,7 +2386,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressDenyIcmps { } /// ICMPField is a ICMP field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressDenyIcmpsFields { /// Family is a IP address version. Currently, we support `IPv4` and `IPv6`. `IPv4` is set as default. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2403,7 +2404,7 @@ pub enum CiliumClusterwideNetworkPolicysEgressDenyIcmpsFieldsFamily { } /// CIDRRule is a rule that specifies a CIDR prefix to/from which outside communication is allowed, along with an optional list of subnets within that CIDR prefix to/from which outside communication is not allowed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressDenyToCidrSet { /// CIDR is a CIDR prefix / IP Block. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2417,7 +2418,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressDenyToCidrSet { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressDenyToEndpoints { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2449,7 +2450,7 @@ pub enum CiliumClusterwideNetworkPolicysEgressDenyToEndpointsMatchExpressionsOpe } /// Groups structure to store all kinds of new integrations that needs a new derivative policy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressDenyToGroups { /// AWSGroup is an structure that can be used to whitelisting information from AWS integration #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2457,7 +2458,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressDenyToGroups { } /// AWSGroup is an structure that can be used to whitelisting information from AWS integration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressDenyToGroupsAws { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option>, @@ -2470,7 +2471,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressDenyToGroupsAws { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressDenyToNodes { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2502,7 +2503,7 @@ pub enum CiliumClusterwideNetworkPolicysEgressDenyToNodesMatchExpressionsOperato } /// PortDenyRule is a list of ports/protocol that should be used for deny policies. This structure lacks the L7Rules since it's not supported in deny policies. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressDenyToPorts { /// Ports is a list of L4 port/protocol #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2510,7 +2511,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressDenyToPorts { } /// PortProtocol specifies an L4 port with an optional transport protocol -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressDenyToPortsPorts { /// EndPort can only be an L4 port number. #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] @@ -2538,7 +2539,7 @@ pub enum CiliumClusterwideNetworkPolicysEgressDenyToPortsPortsProtocol { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressDenyToRequires { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2570,7 +2571,7 @@ pub enum CiliumClusterwideNetworkPolicysEgressDenyToRequiresMatchExpressionsOper } /// Service wraps around selectors for services -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressDenyToServices { /// K8sService selects service by name and namespace pair #[serde(default, skip_serializing_if = "Option::is_none", rename = "k8sService")] @@ -2581,7 +2582,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressDenyToServices { } /// K8sService selects service by name and namespace pair -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressDenyToServicesK8sService { #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, @@ -2590,7 +2591,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressDenyToServicesK8sService { } /// K8sServiceSelector selects services by k8s labels and namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressDenyToServicesK8sServiceSelector { #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, @@ -2599,7 +2600,7 @@ pub struct CiliumClusterwideNetworkPolicysEgressDenyToServicesK8sServiceSelector } /// ServiceSelector is a label selector for k8s services -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEgressDenyToServicesK8sServiceSelectorSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2634,7 +2635,7 @@ pub enum CiliumClusterwideNetworkPolicysEgressDenyToServicesK8sServiceSelectorSe /// If not specified, the default is true for each traffic direction that has rules, and false otherwise. For example, if a policy only has Ingress or IngressDeny rules, then the default for ingress is true and egress is false. /// If multiple policies apply to an endpoint, that endpoint's default deny will be enabled if any policy requests it. /// This is useful for creating broad-based network policies that will not cause endpoints to enter default-deny mode. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEnableDefaultDeny { /// Whether or not the endpoint should have a default-deny rule applied to egress traffic. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2645,7 +2646,7 @@ pub struct CiliumClusterwideNetworkPolicysEnableDefaultDeny { } /// EndpointSelector selects all endpoints which should be subject to this rule. EndpointSelector and NodeSelector cannot be both empty and are mutually exclusive. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysEndpointSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2680,7 +2681,7 @@ pub enum CiliumClusterwideNetworkPolicysEndpointSelectorMatchExpressionsOperator /// - All members of this structure are optional. If omitted or empty, the member will have no effect on the rule. /// - If multiple members are set, all of them need to match in order for the rule to take effect. The exception to this rule is FromRequires field; the effects of any Requires field in any rule will apply to all other rules as well. /// - FromEndpoints, FromCIDR, FromCIDRSet and FromEntities are mutually exclusive. Only one of these members may be present within an individual rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngress { /// Authentication is the required authentication type for the allowed traffic, if any. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2740,7 +2741,7 @@ pub enum CiliumClusterwideNetworkPolicysIngressAuthenticationMode { } /// CIDRRule is a rule that specifies a CIDR prefix to/from which outside communication is allowed, along with an optional list of subnets within that CIDR prefix to/from which outside communication is not allowed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressFromCidrSet { /// CIDR is a CIDR prefix / IP Block. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2754,7 +2755,7 @@ pub struct CiliumClusterwideNetworkPolicysIngressFromCidrSet { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressFromEndpoints { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2786,7 +2787,7 @@ pub enum CiliumClusterwideNetworkPolicysIngressFromEndpointsMatchExpressionsOper } /// Groups structure to store all kinds of new integrations that needs a new derivative policy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressFromGroups { /// AWSGroup is an structure that can be used to whitelisting information from AWS integration #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2794,7 +2795,7 @@ pub struct CiliumClusterwideNetworkPolicysIngressFromGroups { } /// AWSGroup is an structure that can be used to whitelisting information from AWS integration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressFromGroupsAws { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option>, @@ -2807,7 +2808,7 @@ pub struct CiliumClusterwideNetworkPolicysIngressFromGroupsAws { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressFromNodes { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2839,7 +2840,7 @@ pub enum CiliumClusterwideNetworkPolicysIngressFromNodesMatchExpressionsOperator } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressFromRequires { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2871,7 +2872,7 @@ pub enum CiliumClusterwideNetworkPolicysIngressFromRequiresMatchExpressionsOpera } /// ICMPRule is a list of ICMP fields. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressIcmps { /// Fields is a list of ICMP fields. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2879,7 +2880,7 @@ pub struct CiliumClusterwideNetworkPolicysIngressIcmps { } /// ICMPField is a ICMP field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressIcmpsFields { /// Family is a IP address version. Currently, we support `IPv4` and `IPv6`. `IPv4` is set as default. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2897,7 +2898,7 @@ pub enum CiliumClusterwideNetworkPolicysIngressIcmpsFieldsFamily { } /// PortRule is a list of ports/protocol combinations with optional Layer 7 rules which must be met. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressToPorts { /// listener specifies the name of a custom Envoy listener to which this traffic should be redirected to. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2920,7 +2921,7 @@ pub struct CiliumClusterwideNetworkPolicysIngressToPorts { } /// listener specifies the name of a custom Envoy listener to which this traffic should be redirected to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressToPortsListener { /// EnvoyConfig is a reference to the CEC or CCEC resource in which the listener is defined. #[serde(rename = "envoyConfig")] @@ -2933,7 +2934,7 @@ pub struct CiliumClusterwideNetworkPolicysIngressToPortsListener { } /// EnvoyConfig is a reference to the CEC or CCEC resource in which the listener is defined. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressToPortsListenerEnvoyConfig { /// Kind is the resource type being referred to. Defaults to CiliumEnvoyConfig or CiliumClusterwideEnvoyConfig for CiliumNetworkPolicy and CiliumClusterwideNetworkPolicy, respectively. The only case this is currently explicitly needed is when referring to a CiliumClusterwideEnvoyConfig from CiliumNetworkPolicy, as using a namespaced listener from a cluster scoped policy is not allowed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2950,7 +2951,7 @@ pub enum CiliumClusterwideNetworkPolicysIngressToPortsListenerEnvoyConfigKind { } /// OriginatingTLS is the TLS context for the connections originated by the L7 proxy. For egress policy this specifies the client-side TLS parameters for the upstream connection originating from the L7 proxy to the remote destination. For ingress policy this specifies the client-side TLS parameters for the connection from the L7 proxy to the local endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressToPortsOriginatingTls { /// Certificate is the file name or k8s secret item name for the certificate chain. If omitted, 'tls.crt' is assumed, if it exists. If given, the item must exist. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2966,7 +2967,7 @@ pub struct CiliumClusterwideNetworkPolicysIngressToPortsOriginatingTls { } /// Secret is the secret that contains the certificates and private key for the TLS context. By default, Cilium will search in this secret for the following items: - 'ca.crt' - Which represents the trusted CA to verify remote source. - 'tls.crt' - Which represents the public key certificate. - 'tls.key' - Which represents the private key matching the public key certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressToPortsOriginatingTlsSecret { /// Name is the name of the secret. pub name: String, @@ -2976,7 +2977,7 @@ pub struct CiliumClusterwideNetworkPolicysIngressToPortsOriginatingTlsSecret { } /// PortProtocol specifies an L4 port with an optional transport protocol -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressToPortsPorts { /// EndPort can only be an L4 port number. #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] @@ -3004,7 +3005,7 @@ pub enum CiliumClusterwideNetworkPolicysIngressToPortsPortsProtocol { } /// Rules is a list of additional port level rules which must be met in order for the PortRule to allow the traffic. If omitted or empty, no layer 7 rules are enforced. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressToPortsRules { /// DNS-specific rules. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3024,7 +3025,7 @@ pub struct CiliumClusterwideNetworkPolicysIngressToPortsRules { } /// PortRuleDNS is a list of allowed DNS lookups. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressToPortsRulesDns { /// MatchName matches literal DNS names. A trailing "." is automatically added when missing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchName")] @@ -3037,7 +3038,7 @@ pub struct CiliumClusterwideNetworkPolicysIngressToPortsRulesDns { /// PortRuleHTTP is a list of HTTP protocol constraints. All fields are optional, if all fields are empty or missing, the rule does not have any effect. /// All fields of this type are extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressToPortsRulesHttp { /// HeaderMatches is a list of HTTP headers which must be present and match against the given values. Mismatch field can be used to specify what to do when there is no match. #[serde(default, skip_serializing_if = "Option::is_none", rename = "headerMatches")] @@ -3060,7 +3061,7 @@ pub struct CiliumClusterwideNetworkPolicysIngressToPortsRulesHttp { } /// HeaderMatch extends the HeaderValue for matching requirement of a named header field against an immediate string, a secret value, or a regex. If none of the optional fields is present, then the header value is not matched, only presence of the header is enough. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressToPortsRulesHttpHeaderMatches { /// Mismatch identifies what to do in case there is no match. The default is to drop the request. Otherwise the overall rule is still considered as matching, but the mismatches are logged in the access log. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3089,7 +3090,7 @@ pub enum CiliumClusterwideNetworkPolicysIngressToPortsRulesHttpHeaderMatchesMism } /// Secret refers to a secret that contains the value to be matched against. The secret must only contain one entry. If the referred secret does not exist, and there is no "Value" specified, the match will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressToPortsRulesHttpHeaderMatchesSecret { /// Name is the name of the secret. pub name: String, @@ -3099,7 +3100,7 @@ pub struct CiliumClusterwideNetworkPolicysIngressToPortsRulesHttpHeaderMatchesSe } /// PortRule is a list of Kafka protocol constraints. All fields are optional, if all fields are empty or missing, the rule will match all Kafka messages. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressToPortsRulesKafka { /// APIKey is a case-insensitive string matched against the key of a request, e.g. "produce", "fetch", "createtopic", "deletetopic", et al Reference: https://kafka.apache.org/protocol#protocol_api_keys /// If omitted or empty, and if Role is not specified, then all keys are allowed. @@ -3138,7 +3139,7 @@ pub enum CiliumClusterwideNetworkPolicysIngressToPortsRulesKafkaRole { } /// TerminatingTLS is the TLS context for the connection terminated by the L7 proxy. For egress policy this specifies the server-side TLS parameters to be applied on the connections originated from the local endpoint and terminated by the L7 proxy. For ingress policy this specifies the server-side TLS parameters to be applied on the connections originated from a remote source and terminated by the L7 proxy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressToPortsTerminatingTls { /// Certificate is the file name or k8s secret item name for the certificate chain. If omitted, 'tls.crt' is assumed, if it exists. If given, the item must exist. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3154,7 +3155,7 @@ pub struct CiliumClusterwideNetworkPolicysIngressToPortsTerminatingTls { } /// Secret is the secret that contains the certificates and private key for the TLS context. By default, Cilium will search in this secret for the following items: - 'ca.crt' - Which represents the trusted CA to verify remote source. - 'tls.crt' - Which represents the public key certificate. - 'tls.key' - Which represents the private key matching the public key certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressToPortsTerminatingTlsSecret { /// Name is the name of the secret. pub name: String, @@ -3167,7 +3168,7 @@ pub struct CiliumClusterwideNetworkPolicysIngressToPortsTerminatingTlsSecret { /// - All members of this structure are optional. If omitted or empty, the member will have no effect on the rule. /// - If multiple members are set, all of them need to match in order for the rule to take effect. The exception to this rule is FromRequires field; the effects of any Requires field in any rule will apply to all other rules as well. /// - FromEndpoints, FromCIDR, FromCIDRSet, FromGroups and FromEntities are mutually exclusive. Only one of these members may be present within an individual rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressDeny { /// FromCIDR is a list of IP blocks which the endpoint subject to the rule is allowed to receive connections from. Only connections which do *not* originate from the cluster or from the local host are subject to CIDR rules. In order to allow in-cluster connectivity, use the FromEndpoints field. This will match on the source IP address of incoming connections. Adding a prefix into FromCIDR or into FromCIDRSet with no ExcludeCIDRs is equivalent. Overlaps are allowed between FromCIDR and FromCIDRSet. /// Example: Any endpoint with the label "app=my-legacy-pet" is allowed to receive connections from 10.3.9.1 @@ -3206,7 +3207,7 @@ pub struct CiliumClusterwideNetworkPolicysIngressDeny { } /// CIDRRule is a rule that specifies a CIDR prefix to/from which outside communication is allowed, along with an optional list of subnets within that CIDR prefix to/from which outside communication is not allowed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressDenyFromCidrSet { /// CIDR is a CIDR prefix / IP Block. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3220,7 +3221,7 @@ pub struct CiliumClusterwideNetworkPolicysIngressDenyFromCidrSet { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressDenyFromEndpoints { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3252,7 +3253,7 @@ pub enum CiliumClusterwideNetworkPolicysIngressDenyFromEndpointsMatchExpressions } /// Groups structure to store all kinds of new integrations that needs a new derivative policy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressDenyFromGroups { /// AWSGroup is an structure that can be used to whitelisting information from AWS integration #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3260,7 +3261,7 @@ pub struct CiliumClusterwideNetworkPolicysIngressDenyFromGroups { } /// AWSGroup is an structure that can be used to whitelisting information from AWS integration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressDenyFromGroupsAws { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option>, @@ -3273,7 +3274,7 @@ pub struct CiliumClusterwideNetworkPolicysIngressDenyFromGroupsAws { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressDenyFromNodes { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3305,7 +3306,7 @@ pub enum CiliumClusterwideNetworkPolicysIngressDenyFromNodesMatchExpressionsOper } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressDenyFromRequires { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3337,7 +3338,7 @@ pub enum CiliumClusterwideNetworkPolicysIngressDenyFromRequiresMatchExpressionsO } /// ICMPRule is a list of ICMP fields. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressDenyIcmps { /// Fields is a list of ICMP fields. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3345,7 +3346,7 @@ pub struct CiliumClusterwideNetworkPolicysIngressDenyIcmps { } /// ICMPField is a ICMP field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressDenyIcmpsFields { /// Family is a IP address version. Currently, we support `IPv4` and `IPv6`. `IPv4` is set as default. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3363,7 +3364,7 @@ pub enum CiliumClusterwideNetworkPolicysIngressDenyIcmpsFieldsFamily { } /// PortDenyRule is a list of ports/protocol that should be used for deny policies. This structure lacks the L7Rules since it's not supported in deny policies. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressDenyToPorts { /// Ports is a list of L4 port/protocol #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3371,7 +3372,7 @@ pub struct CiliumClusterwideNetworkPolicysIngressDenyToPorts { } /// PortProtocol specifies an L4 port with an optional transport protocol -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysIngressDenyToPortsPorts { /// EndPort can only be an L4 port number. #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] @@ -3399,7 +3400,7 @@ pub enum CiliumClusterwideNetworkPolicysIngressDenyToPortsPortsProtocol { } /// Label is the Cilium's representation of a container label. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysLabels { pub key: String, /// Source can be one of the above values (e.g.: LabelSourceContainer). @@ -3410,7 +3411,7 @@ pub struct CiliumClusterwideNetworkPolicysLabels { } /// NodeSelector selects all nodes which should be subject to this rule. EndpointSelector and NodeSelector cannot be both empty and are mutually exclusive. Can only be used in CiliumClusterwideNetworkPolicies. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicysNodeSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3443,7 +3444,7 @@ pub enum CiliumClusterwideNetworkPolicysNodeSelectorMatchExpressionsOperator { /// Status is the status of the Cilium policy rule. /// The reason this field exists in this structure is due a bug in the k8s code-generator that doesn't create a `UpdateStatus` method because the field does not exist in the structure. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyStatus { /// DerivativePolicies is the status of all policies derived from the Cilium policy #[serde(default, skip_serializing_if = "Option::is_none", rename = "derivativePolicies")] @@ -3454,7 +3455,7 @@ pub struct CiliumClusterwideNetworkPolicyStatus { } /// DerivativePolicies is the status of all policies derived from the Cilium policy -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyStatusDerivativePolicies { /// Annotations corresponds to the Annotations in the ObjectMeta of the CNP that have been realized on the node for CNP. That is, if a CNP has been imported and has been assigned annotation X=Y by the user, Annotations in CiliumNetworkPolicyNodeStatus will be X=Y once the CNP that was imported corresponding to Annotation X=Y has been realized on the node. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3477,7 +3478,7 @@ pub struct CiliumClusterwideNetworkPolicyStatusDerivativePolicies { } /// Nodes is the Cilium policy status for each node -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumClusterwideNetworkPolicyStatusNodes { /// Annotations corresponds to the Annotations in the ObjectMeta of the CNP that have been realized on the node for CNP. That is, if a CNP has been imported and has been assigned annotation X=Y by the user, Annotations in CiliumNetworkPolicyNodeStatus will be X=Y once the CNP that was imported corresponding to Annotation X=Y has been realized on the node. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/cilium_io/v2/ciliumegressgatewaypolicies.rs b/kube-custom-resources-rs/src/cilium_io/v2/ciliumegressgatewaypolicies.rs index 7d2381e3d..2a307d076 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2/ciliumegressgatewaypolicies.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2/ciliumegressgatewaypolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2/ciliumegressgatewaypolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2/ciliumegressgatewaypolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,9 +10,10 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "cilium.io", version = "v2", kind = "CiliumEgressGatewayPolicy", plural = "ciliumegressgatewaypolicies")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct CiliumEgressGatewayPolicySpec { /// DestinationCIDRs is a list of destination CIDRs for destination IP addresses. If a destination IP matches any one CIDR, it will be selected. @@ -29,7 +30,7 @@ pub struct CiliumEgressGatewayPolicySpec { } /// EgressGateway is the gateway node responsible for SNATing traffic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumEgressGatewayPolicyEgressGateway { /// EgressIP is the source IP address that the egress traffic is SNATed with. /// Example: When set to "192.168.1.100", matching egress traffic will be redirected to the node matching the NodeSelector field and SNATed with IP address 192.168.1.100. @@ -47,7 +48,7 @@ pub struct CiliumEgressGatewayPolicyEgressGateway { } /// This is a label selector which selects the node that should act as egress gateway for the given policy. In case multiple nodes are selected, only the first one in the lexical ordering over the node names will be used. This field follows standard label selector semantics. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumEgressGatewayPolicyEgressGatewayNodeSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -78,7 +79,7 @@ pub enum CiliumEgressGatewayPolicyEgressGatewayNodeSelectorMatchExpressionsOpera DoesNotExist, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumEgressGatewayPolicySelectors { /// Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. #[serde(default, skip_serializing_if = "Option::is_none", rename = "namespaceSelector")] @@ -89,7 +90,7 @@ pub struct CiliumEgressGatewayPolicySelectors { } /// Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumEgressGatewayPolicySelectorsNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -121,7 +122,7 @@ pub enum CiliumEgressGatewayPolicySelectorsNamespaceSelectorMatchExpressionsOper } /// This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumEgressGatewayPolicySelectorsPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] diff --git a/kube-custom-resources-rs/src/cilium_io/v2/ciliumendpoints.rs b/kube-custom-resources-rs/src/cilium_io/v2/ciliumendpoints.rs index aa38d244f..3b2bca0ab 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2/ciliumendpoints.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2/ciliumendpoints.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2/ciliumendpoints.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2/ciliumendpoints.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cilium_io/v2/ciliumexternalworkloads.rs b/kube-custom-resources-rs/src/cilium_io/v2/ciliumexternalworkloads.rs index 0b83df01e..f865c0707 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2/ciliumexternalworkloads.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2/ciliumexternalworkloads.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2/ciliumexternalworkloads.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2/ciliumexternalworkloads.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cilium_io/v2/ciliumidentities.rs b/kube-custom-resources-rs/src/cilium_io/v2/ciliumidentities.rs index b46567b3d..e4ad0e4c5 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2/ciliumidentities.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2/ciliumidentities.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2/ciliumidentities.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2/ciliumidentities.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cilium_io/v2/ciliumlocalredirectpolicies.rs b/kube-custom-resources-rs/src/cilium_io/v2/ciliumlocalredirectpolicies.rs index b3e4929e9..5cfb88525 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2/ciliumlocalredirectpolicies.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2/ciliumlocalredirectpolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2/ciliumlocalredirectpolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2/ciliumlocalredirectpolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { use self::prelude::*; /// Spec is the desired behavior of the local redirect policy. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "cilium.io", version = "v2", kind = "CiliumLocalRedirectPolicy", plural = "ciliumlocalredirectpolicies")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct CiliumLocalRedirectPolicySpec { /// Description can be used by the creator of the policy to describe the purpose of this policy. @@ -34,7 +35,7 @@ pub struct CiliumLocalRedirectPolicySpec { } /// RedirectBackend specifies backend configuration to redirect traffic to. It can not be empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumLocalRedirectPolicyRedirectBackend { /// LocalEndpointSelector selects node local pod(s) where traffic is redirected to. #[serde(rename = "localEndpointSelector")] @@ -45,7 +46,7 @@ pub struct CiliumLocalRedirectPolicyRedirectBackend { } /// LocalEndpointSelector selects node local pod(s) where traffic is redirected to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumLocalRedirectPolicyRedirectBackendLocalEndpointSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -98,7 +99,7 @@ pub enum CiliumLocalRedirectPolicyRedirectBackendToPortsProtocol { } /// RedirectFrontend specifies frontend configuration to redirect traffic from. It can not be empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumLocalRedirectPolicyRedirectFrontend { /// AddressMatcher is a tuple {IP, port, protocol} that matches traffic to be redirected. #[serde(default, skip_serializing_if = "Option::is_none", rename = "addressMatcher")] @@ -109,7 +110,7 @@ pub struct CiliumLocalRedirectPolicyRedirectFrontend { } /// AddressMatcher is a tuple {IP, port, protocol} that matches traffic to be redirected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumLocalRedirectPolicyRedirectFrontendAddressMatcher { /// IP is a destination ip address for traffic to be redirected. /// Example: When it is set to "169.254.169.254", traffic destined to "169.254.169.254" is redirected. @@ -142,7 +143,7 @@ pub enum CiliumLocalRedirectPolicyRedirectFrontendAddressMatcherToPortsProtocol } /// ServiceMatcher specifies Kubernetes service and port that matches traffic to be redirected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumLocalRedirectPolicyRedirectFrontendServiceMatcher { /// Namespace is the Kubernetes service namespace. The service namespace must match the namespace of the parent Local Redirect Policy. For Cluster-wide Local Redirect Policy, this can be any namespace. pub namespace: String, @@ -177,7 +178,7 @@ pub enum CiliumLocalRedirectPolicyRedirectFrontendServiceMatcherToPortsProtocol } /// Status is the most recent status of the local redirect policy. It is a read-only field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumLocalRedirectPolicyStatus { /// TODO Define status(aditi) #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/cilium_io/v2/ciliumnetworkpolicies.rs b/kube-custom-resources-rs/src/cilium_io/v2/ciliumnetworkpolicies.rs index fccd15f41..7a01a69e2 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2/ciliumnetworkpolicies.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2/ciliumnetworkpolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2/ciliumnetworkpolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2/ciliumnetworkpolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// Spec is the desired Cilium specific rule specification. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "cilium.io", version = "v2", kind = "CiliumNetworkPolicy", plural = "ciliumnetworkpolicies")] #[kube(namespaced)] #[kube(status = "CiliumNetworkPolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct CiliumNetworkPolicySpec { /// Description is a free form string, it can be used by the creator of the rule to store human readable explanation of the purpose of this rule. Rules cannot be identified by comment. @@ -55,7 +56,7 @@ pub struct CiliumNetworkPolicySpec { /// - All members of this structure are optional. If omitted or empty, the member will have no effect on the rule. /// - If multiple members of the structure are specified, then all members must match in order for the rule to take effect. The exception to this rule is the ToRequires member; the effects of any Requires field in any rule will apply to all other rules as well. /// - ToEndpoints, ToCIDR, ToCIDRSet, ToEntities, ToServices and ToGroups are mutually exclusive. Only one of these members may be present within an individual rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgress { /// Authentication is the required authentication type for the allowed traffic, if any. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -122,7 +123,7 @@ pub enum CiliumNetworkPolicyEgressAuthenticationMode { } /// ICMPRule is a list of ICMP fields. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressIcmps { /// Fields is a list of ICMP fields. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -130,7 +131,7 @@ pub struct CiliumNetworkPolicyEgressIcmps { } /// ICMPField is a ICMP field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressIcmpsFields { /// Family is a IP address version. Currently, we support `IPv4` and `IPv6`. `IPv4` is set as default. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -148,7 +149,7 @@ pub enum CiliumNetworkPolicyEgressIcmpsFieldsFamily { } /// CIDRRule is a rule that specifies a CIDR prefix to/from which outside communication is allowed, along with an optional list of subnets within that CIDR prefix to/from which outside communication is not allowed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToCidrSet { /// CIDR is a CIDR prefix / IP Block. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -162,7 +163,7 @@ pub struct CiliumNetworkPolicyEgressToCidrSet { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToEndpoints { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -193,7 +194,7 @@ pub enum CiliumNetworkPolicyEgressToEndpointsMatchExpressionsOperator { DoesNotExist, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToFqdNs { /// MatchName matches literal DNS names. A trailing "." is automatically added when missing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchName")] @@ -205,7 +206,7 @@ pub struct CiliumNetworkPolicyEgressToFqdNs { } /// Groups structure to store all kinds of new integrations that needs a new derivative policy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToGroups { /// AWSGroup is an structure that can be used to whitelisting information from AWS integration #[serde(default, skip_serializing_if = "Option::is_none")] @@ -213,7 +214,7 @@ pub struct CiliumNetworkPolicyEgressToGroups { } /// AWSGroup is an structure that can be used to whitelisting information from AWS integration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToGroupsAws { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option>, @@ -226,7 +227,7 @@ pub struct CiliumNetworkPolicyEgressToGroupsAws { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToNodes { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -258,7 +259,7 @@ pub enum CiliumNetworkPolicyEgressToNodesMatchExpressionsOperator { } /// PortRule is a list of ports/protocol combinations with optional Layer 7 rules which must be met. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToPorts { /// listener specifies the name of a custom Envoy listener to which this traffic should be redirected to. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -281,7 +282,7 @@ pub struct CiliumNetworkPolicyEgressToPorts { } /// listener specifies the name of a custom Envoy listener to which this traffic should be redirected to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToPortsListener { /// EnvoyConfig is a reference to the CEC or CCEC resource in which the listener is defined. #[serde(rename = "envoyConfig")] @@ -294,7 +295,7 @@ pub struct CiliumNetworkPolicyEgressToPortsListener { } /// EnvoyConfig is a reference to the CEC or CCEC resource in which the listener is defined. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToPortsListenerEnvoyConfig { /// Kind is the resource type being referred to. Defaults to CiliumEnvoyConfig or CiliumClusterwideEnvoyConfig for CiliumNetworkPolicy and CiliumClusterwideNetworkPolicy, respectively. The only case this is currently explicitly needed is when referring to a CiliumClusterwideEnvoyConfig from CiliumNetworkPolicy, as using a namespaced listener from a cluster scoped policy is not allowed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -311,7 +312,7 @@ pub enum CiliumNetworkPolicyEgressToPortsListenerEnvoyConfigKind { } /// OriginatingTLS is the TLS context for the connections originated by the L7 proxy. For egress policy this specifies the client-side TLS parameters for the upstream connection originating from the L7 proxy to the remote destination. For ingress policy this specifies the client-side TLS parameters for the connection from the L7 proxy to the local endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToPortsOriginatingTls { /// Certificate is the file name or k8s secret item name for the certificate chain. If omitted, 'tls.crt' is assumed, if it exists. If given, the item must exist. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -327,7 +328,7 @@ pub struct CiliumNetworkPolicyEgressToPortsOriginatingTls { } /// Secret is the secret that contains the certificates and private key for the TLS context. By default, Cilium will search in this secret for the following items: - 'ca.crt' - Which represents the trusted CA to verify remote source. - 'tls.crt' - Which represents the public key certificate. - 'tls.key' - Which represents the private key matching the public key certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToPortsOriginatingTlsSecret { /// Name is the name of the secret. pub name: String, @@ -337,7 +338,7 @@ pub struct CiliumNetworkPolicyEgressToPortsOriginatingTlsSecret { } /// PortProtocol specifies an L4 port with an optional transport protocol -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToPortsPorts { /// EndPort can only be an L4 port number. #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] @@ -365,7 +366,7 @@ pub enum CiliumNetworkPolicyEgressToPortsPortsProtocol { } /// Rules is a list of additional port level rules which must be met in order for the PortRule to allow the traffic. If omitted or empty, no layer 7 rules are enforced. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToPortsRules { /// DNS-specific rules. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -385,7 +386,7 @@ pub struct CiliumNetworkPolicyEgressToPortsRules { } /// PortRuleDNS is a list of allowed DNS lookups. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToPortsRulesDns { /// MatchName matches literal DNS names. A trailing "." is automatically added when missing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchName")] @@ -398,7 +399,7 @@ pub struct CiliumNetworkPolicyEgressToPortsRulesDns { /// PortRuleHTTP is a list of HTTP protocol constraints. All fields are optional, if all fields are empty or missing, the rule does not have any effect. /// All fields of this type are extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToPortsRulesHttp { /// HeaderMatches is a list of HTTP headers which must be present and match against the given values. Mismatch field can be used to specify what to do when there is no match. #[serde(default, skip_serializing_if = "Option::is_none", rename = "headerMatches")] @@ -421,7 +422,7 @@ pub struct CiliumNetworkPolicyEgressToPortsRulesHttp { } /// HeaderMatch extends the HeaderValue for matching requirement of a named header field against an immediate string, a secret value, or a regex. If none of the optional fields is present, then the header value is not matched, only presence of the header is enough. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToPortsRulesHttpHeaderMatches { /// Mismatch identifies what to do in case there is no match. The default is to drop the request. Otherwise the overall rule is still considered as matching, but the mismatches are logged in the access log. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -450,7 +451,7 @@ pub enum CiliumNetworkPolicyEgressToPortsRulesHttpHeaderMatchesMismatch { } /// Secret refers to a secret that contains the value to be matched against. The secret must only contain one entry. If the referred secret does not exist, and there is no "Value" specified, the match will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToPortsRulesHttpHeaderMatchesSecret { /// Name is the name of the secret. pub name: String, @@ -460,7 +461,7 @@ pub struct CiliumNetworkPolicyEgressToPortsRulesHttpHeaderMatchesSecret { } /// PortRule is a list of Kafka protocol constraints. All fields are optional, if all fields are empty or missing, the rule will match all Kafka messages. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToPortsRulesKafka { /// APIKey is a case-insensitive string matched against the key of a request, e.g. "produce", "fetch", "createtopic", "deletetopic", et al Reference: https://kafka.apache.org/protocol#protocol_api_keys /// If omitted or empty, and if Role is not specified, then all keys are allowed. @@ -499,7 +500,7 @@ pub enum CiliumNetworkPolicyEgressToPortsRulesKafkaRole { } /// TerminatingTLS is the TLS context for the connection terminated by the L7 proxy. For egress policy this specifies the server-side TLS parameters to be applied on the connections originated from the local endpoint and terminated by the L7 proxy. For ingress policy this specifies the server-side TLS parameters to be applied on the connections originated from a remote source and terminated by the L7 proxy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToPortsTerminatingTls { /// Certificate is the file name or k8s secret item name for the certificate chain. If omitted, 'tls.crt' is assumed, if it exists. If given, the item must exist. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -515,7 +516,7 @@ pub struct CiliumNetworkPolicyEgressToPortsTerminatingTls { } /// Secret is the secret that contains the certificates and private key for the TLS context. By default, Cilium will search in this secret for the following items: - 'ca.crt' - Which represents the trusted CA to verify remote source. - 'tls.crt' - Which represents the public key certificate. - 'tls.key' - Which represents the private key matching the public key certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToPortsTerminatingTlsSecret { /// Name is the name of the secret. pub name: String, @@ -525,7 +526,7 @@ pub struct CiliumNetworkPolicyEgressToPortsTerminatingTlsSecret { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToRequires { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -557,7 +558,7 @@ pub enum CiliumNetworkPolicyEgressToRequiresMatchExpressionsOperator { } /// Service wraps around selectors for services -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToServices { /// K8sService selects service by name and namespace pair #[serde(default, skip_serializing_if = "Option::is_none", rename = "k8sService")] @@ -568,7 +569,7 @@ pub struct CiliumNetworkPolicyEgressToServices { } /// K8sService selects service by name and namespace pair -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToServicesK8sService { #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, @@ -577,7 +578,7 @@ pub struct CiliumNetworkPolicyEgressToServicesK8sService { } /// K8sServiceSelector selects services by k8s labels and namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToServicesK8sServiceSelector { #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, @@ -586,7 +587,7 @@ pub struct CiliumNetworkPolicyEgressToServicesK8sServiceSelector { } /// ServiceSelector is a label selector for k8s services -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressToServicesK8sServiceSelectorSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -621,7 +622,7 @@ pub enum CiliumNetworkPolicyEgressToServicesK8sServiceSelectorSelectorMatchExpre /// - All members of this structure are optional. If omitted or empty, the member will have no effect on the rule. /// - If multiple members of the structure are specified, then all members must match in order for the rule to take effect. The exception to this rule is the ToRequires member; the effects of any Requires field in any rule will apply to all other rules as well. /// - ToEndpoints, ToCIDR, ToCIDRSet, ToEntities, ToServices and ToGroups are mutually exclusive. Only one of these members may be present within an individual rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressDeny { /// ICMPs is a list of ICMP rule identified by type number which the endpoint subject to the rule is not allowed to connect to. /// Example: Any endpoint with the label "app=httpd" is not allowed to initiate type 8 ICMP connections. @@ -664,7 +665,7 @@ pub struct CiliumNetworkPolicyEgressDeny { } /// ICMPRule is a list of ICMP fields. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressDenyIcmps { /// Fields is a list of ICMP fields. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -672,7 +673,7 @@ pub struct CiliumNetworkPolicyEgressDenyIcmps { } /// ICMPField is a ICMP field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressDenyIcmpsFields { /// Family is a IP address version. Currently, we support `IPv4` and `IPv6`. `IPv4` is set as default. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -690,7 +691,7 @@ pub enum CiliumNetworkPolicyEgressDenyIcmpsFieldsFamily { } /// CIDRRule is a rule that specifies a CIDR prefix to/from which outside communication is allowed, along with an optional list of subnets within that CIDR prefix to/from which outside communication is not allowed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressDenyToCidrSet { /// CIDR is a CIDR prefix / IP Block. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -704,7 +705,7 @@ pub struct CiliumNetworkPolicyEgressDenyToCidrSet { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressDenyToEndpoints { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -736,7 +737,7 @@ pub enum CiliumNetworkPolicyEgressDenyToEndpointsMatchExpressionsOperator { } /// Groups structure to store all kinds of new integrations that needs a new derivative policy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressDenyToGroups { /// AWSGroup is an structure that can be used to whitelisting information from AWS integration #[serde(default, skip_serializing_if = "Option::is_none")] @@ -744,7 +745,7 @@ pub struct CiliumNetworkPolicyEgressDenyToGroups { } /// AWSGroup is an structure that can be used to whitelisting information from AWS integration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressDenyToGroupsAws { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option>, @@ -757,7 +758,7 @@ pub struct CiliumNetworkPolicyEgressDenyToGroupsAws { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressDenyToNodes { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -789,7 +790,7 @@ pub enum CiliumNetworkPolicyEgressDenyToNodesMatchExpressionsOperator { } /// PortDenyRule is a list of ports/protocol that should be used for deny policies. This structure lacks the L7Rules since it's not supported in deny policies. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressDenyToPorts { /// Ports is a list of L4 port/protocol #[serde(default, skip_serializing_if = "Option::is_none")] @@ -797,7 +798,7 @@ pub struct CiliumNetworkPolicyEgressDenyToPorts { } /// PortProtocol specifies an L4 port with an optional transport protocol -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressDenyToPortsPorts { /// EndPort can only be an L4 port number. #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] @@ -825,7 +826,7 @@ pub enum CiliumNetworkPolicyEgressDenyToPortsPortsProtocol { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressDenyToRequires { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -857,7 +858,7 @@ pub enum CiliumNetworkPolicyEgressDenyToRequiresMatchExpressionsOperator { } /// Service wraps around selectors for services -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressDenyToServices { /// K8sService selects service by name and namespace pair #[serde(default, skip_serializing_if = "Option::is_none", rename = "k8sService")] @@ -868,7 +869,7 @@ pub struct CiliumNetworkPolicyEgressDenyToServices { } /// K8sService selects service by name and namespace pair -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressDenyToServicesK8sService { #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, @@ -877,7 +878,7 @@ pub struct CiliumNetworkPolicyEgressDenyToServicesK8sService { } /// K8sServiceSelector selects services by k8s labels and namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressDenyToServicesK8sServiceSelector { #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, @@ -886,7 +887,7 @@ pub struct CiliumNetworkPolicyEgressDenyToServicesK8sServiceSelector { } /// ServiceSelector is a label selector for k8s services -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEgressDenyToServicesK8sServiceSelectorSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -921,7 +922,7 @@ pub enum CiliumNetworkPolicyEgressDenyToServicesK8sServiceSelectorSelectorMatchE /// If not specified, the default is true for each traffic direction that has rules, and false otherwise. For example, if a policy only has Ingress or IngressDeny rules, then the default for ingress is true and egress is false. /// If multiple policies apply to an endpoint, that endpoint's default deny will be enabled if any policy requests it. /// This is useful for creating broad-based network policies that will not cause endpoints to enter default-deny mode. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEnableDefaultDeny { /// Whether or not the endpoint should have a default-deny rule applied to egress traffic. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -932,7 +933,7 @@ pub struct CiliumNetworkPolicyEnableDefaultDeny { } /// EndpointSelector selects all endpoints which should be subject to this rule. EndpointSelector and NodeSelector cannot be both empty and are mutually exclusive. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyEndpointSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -967,7 +968,7 @@ pub enum CiliumNetworkPolicyEndpointSelectorMatchExpressionsOperator { /// - All members of this structure are optional. If omitted or empty, the member will have no effect on the rule. /// - If multiple members are set, all of them need to match in order for the rule to take effect. The exception to this rule is FromRequires field; the effects of any Requires field in any rule will apply to all other rules as well. /// - FromEndpoints, FromCIDR, FromCIDRSet and FromEntities are mutually exclusive. Only one of these members may be present within an individual rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngress { /// Authentication is the required authentication type for the allowed traffic, if any. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1027,7 +1028,7 @@ pub enum CiliumNetworkPolicyIngressAuthenticationMode { } /// CIDRRule is a rule that specifies a CIDR prefix to/from which outside communication is allowed, along with an optional list of subnets within that CIDR prefix to/from which outside communication is not allowed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressFromCidrSet { /// CIDR is a CIDR prefix / IP Block. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1041,7 +1042,7 @@ pub struct CiliumNetworkPolicyIngressFromCidrSet { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressFromEndpoints { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1073,7 +1074,7 @@ pub enum CiliumNetworkPolicyIngressFromEndpointsMatchExpressionsOperator { } /// Groups structure to store all kinds of new integrations that needs a new derivative policy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressFromGroups { /// AWSGroup is an structure that can be used to whitelisting information from AWS integration #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1081,7 +1082,7 @@ pub struct CiliumNetworkPolicyIngressFromGroups { } /// AWSGroup is an structure that can be used to whitelisting information from AWS integration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressFromGroupsAws { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option>, @@ -1094,7 +1095,7 @@ pub struct CiliumNetworkPolicyIngressFromGroupsAws { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressFromNodes { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1126,7 +1127,7 @@ pub enum CiliumNetworkPolicyIngressFromNodesMatchExpressionsOperator { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressFromRequires { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1158,7 +1159,7 @@ pub enum CiliumNetworkPolicyIngressFromRequiresMatchExpressionsOperator { } /// ICMPRule is a list of ICMP fields. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressIcmps { /// Fields is a list of ICMP fields. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1166,7 +1167,7 @@ pub struct CiliumNetworkPolicyIngressIcmps { } /// ICMPField is a ICMP field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressIcmpsFields { /// Family is a IP address version. Currently, we support `IPv4` and `IPv6`. `IPv4` is set as default. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1184,7 +1185,7 @@ pub enum CiliumNetworkPolicyIngressIcmpsFieldsFamily { } /// PortRule is a list of ports/protocol combinations with optional Layer 7 rules which must be met. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressToPorts { /// listener specifies the name of a custom Envoy listener to which this traffic should be redirected to. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1207,7 +1208,7 @@ pub struct CiliumNetworkPolicyIngressToPorts { } /// listener specifies the name of a custom Envoy listener to which this traffic should be redirected to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressToPortsListener { /// EnvoyConfig is a reference to the CEC or CCEC resource in which the listener is defined. #[serde(rename = "envoyConfig")] @@ -1220,7 +1221,7 @@ pub struct CiliumNetworkPolicyIngressToPortsListener { } /// EnvoyConfig is a reference to the CEC or CCEC resource in which the listener is defined. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressToPortsListenerEnvoyConfig { /// Kind is the resource type being referred to. Defaults to CiliumEnvoyConfig or CiliumClusterwideEnvoyConfig for CiliumNetworkPolicy and CiliumClusterwideNetworkPolicy, respectively. The only case this is currently explicitly needed is when referring to a CiliumClusterwideEnvoyConfig from CiliumNetworkPolicy, as using a namespaced listener from a cluster scoped policy is not allowed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1237,7 +1238,7 @@ pub enum CiliumNetworkPolicyIngressToPortsListenerEnvoyConfigKind { } /// OriginatingTLS is the TLS context for the connections originated by the L7 proxy. For egress policy this specifies the client-side TLS parameters for the upstream connection originating from the L7 proxy to the remote destination. For ingress policy this specifies the client-side TLS parameters for the connection from the L7 proxy to the local endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressToPortsOriginatingTls { /// Certificate is the file name or k8s secret item name for the certificate chain. If omitted, 'tls.crt' is assumed, if it exists. If given, the item must exist. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1253,7 +1254,7 @@ pub struct CiliumNetworkPolicyIngressToPortsOriginatingTls { } /// Secret is the secret that contains the certificates and private key for the TLS context. By default, Cilium will search in this secret for the following items: - 'ca.crt' - Which represents the trusted CA to verify remote source. - 'tls.crt' - Which represents the public key certificate. - 'tls.key' - Which represents the private key matching the public key certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressToPortsOriginatingTlsSecret { /// Name is the name of the secret. pub name: String, @@ -1263,7 +1264,7 @@ pub struct CiliumNetworkPolicyIngressToPortsOriginatingTlsSecret { } /// PortProtocol specifies an L4 port with an optional transport protocol -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressToPortsPorts { /// EndPort can only be an L4 port number. #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] @@ -1291,7 +1292,7 @@ pub enum CiliumNetworkPolicyIngressToPortsPortsProtocol { } /// Rules is a list of additional port level rules which must be met in order for the PortRule to allow the traffic. If omitted or empty, no layer 7 rules are enforced. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressToPortsRules { /// DNS-specific rules. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1311,7 +1312,7 @@ pub struct CiliumNetworkPolicyIngressToPortsRules { } /// PortRuleDNS is a list of allowed DNS lookups. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressToPortsRulesDns { /// MatchName matches literal DNS names. A trailing "." is automatically added when missing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchName")] @@ -1324,7 +1325,7 @@ pub struct CiliumNetworkPolicyIngressToPortsRulesDns { /// PortRuleHTTP is a list of HTTP protocol constraints. All fields are optional, if all fields are empty or missing, the rule does not have any effect. /// All fields of this type are extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressToPortsRulesHttp { /// HeaderMatches is a list of HTTP headers which must be present and match against the given values. Mismatch field can be used to specify what to do when there is no match. #[serde(default, skip_serializing_if = "Option::is_none", rename = "headerMatches")] @@ -1347,7 +1348,7 @@ pub struct CiliumNetworkPolicyIngressToPortsRulesHttp { } /// HeaderMatch extends the HeaderValue for matching requirement of a named header field against an immediate string, a secret value, or a regex. If none of the optional fields is present, then the header value is not matched, only presence of the header is enough. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressToPortsRulesHttpHeaderMatches { /// Mismatch identifies what to do in case there is no match. The default is to drop the request. Otherwise the overall rule is still considered as matching, but the mismatches are logged in the access log. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1376,7 +1377,7 @@ pub enum CiliumNetworkPolicyIngressToPortsRulesHttpHeaderMatchesMismatch { } /// Secret refers to a secret that contains the value to be matched against. The secret must only contain one entry. If the referred secret does not exist, and there is no "Value" specified, the match will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressToPortsRulesHttpHeaderMatchesSecret { /// Name is the name of the secret. pub name: String, @@ -1386,7 +1387,7 @@ pub struct CiliumNetworkPolicyIngressToPortsRulesHttpHeaderMatchesSecret { } /// PortRule is a list of Kafka protocol constraints. All fields are optional, if all fields are empty or missing, the rule will match all Kafka messages. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressToPortsRulesKafka { /// APIKey is a case-insensitive string matched against the key of a request, e.g. "produce", "fetch", "createtopic", "deletetopic", et al Reference: https://kafka.apache.org/protocol#protocol_api_keys /// If omitted or empty, and if Role is not specified, then all keys are allowed. @@ -1425,7 +1426,7 @@ pub enum CiliumNetworkPolicyIngressToPortsRulesKafkaRole { } /// TerminatingTLS is the TLS context for the connection terminated by the L7 proxy. For egress policy this specifies the server-side TLS parameters to be applied on the connections originated from the local endpoint and terminated by the L7 proxy. For ingress policy this specifies the server-side TLS parameters to be applied on the connections originated from a remote source and terminated by the L7 proxy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressToPortsTerminatingTls { /// Certificate is the file name or k8s secret item name for the certificate chain. If omitted, 'tls.crt' is assumed, if it exists. If given, the item must exist. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1441,7 +1442,7 @@ pub struct CiliumNetworkPolicyIngressToPortsTerminatingTls { } /// Secret is the secret that contains the certificates and private key for the TLS context. By default, Cilium will search in this secret for the following items: - 'ca.crt' - Which represents the trusted CA to verify remote source. - 'tls.crt' - Which represents the public key certificate. - 'tls.key' - Which represents the private key matching the public key certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressToPortsTerminatingTlsSecret { /// Name is the name of the secret. pub name: String, @@ -1454,7 +1455,7 @@ pub struct CiliumNetworkPolicyIngressToPortsTerminatingTlsSecret { /// - All members of this structure are optional. If omitted or empty, the member will have no effect on the rule. /// - If multiple members are set, all of them need to match in order for the rule to take effect. The exception to this rule is FromRequires field; the effects of any Requires field in any rule will apply to all other rules as well. /// - FromEndpoints, FromCIDR, FromCIDRSet, FromGroups and FromEntities are mutually exclusive. Only one of these members may be present within an individual rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressDeny { /// FromCIDR is a list of IP blocks which the endpoint subject to the rule is allowed to receive connections from. Only connections which do *not* originate from the cluster or from the local host are subject to CIDR rules. In order to allow in-cluster connectivity, use the FromEndpoints field. This will match on the source IP address of incoming connections. Adding a prefix into FromCIDR or into FromCIDRSet with no ExcludeCIDRs is equivalent. Overlaps are allowed between FromCIDR and FromCIDRSet. /// Example: Any endpoint with the label "app=my-legacy-pet" is allowed to receive connections from 10.3.9.1 @@ -1493,7 +1494,7 @@ pub struct CiliumNetworkPolicyIngressDeny { } /// CIDRRule is a rule that specifies a CIDR prefix to/from which outside communication is allowed, along with an optional list of subnets within that CIDR prefix to/from which outside communication is not allowed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressDenyFromCidrSet { /// CIDR is a CIDR prefix / IP Block. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1507,7 +1508,7 @@ pub struct CiliumNetworkPolicyIngressDenyFromCidrSet { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressDenyFromEndpoints { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1539,7 +1540,7 @@ pub enum CiliumNetworkPolicyIngressDenyFromEndpointsMatchExpressionsOperator { } /// Groups structure to store all kinds of new integrations that needs a new derivative policy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressDenyFromGroups { /// AWSGroup is an structure that can be used to whitelisting information from AWS integration #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1547,7 +1548,7 @@ pub struct CiliumNetworkPolicyIngressDenyFromGroups { } /// AWSGroup is an structure that can be used to whitelisting information from AWS integration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressDenyFromGroupsAws { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option>, @@ -1560,7 +1561,7 @@ pub struct CiliumNetworkPolicyIngressDenyFromGroupsAws { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressDenyFromNodes { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1592,7 +1593,7 @@ pub enum CiliumNetworkPolicyIngressDenyFromNodesMatchExpressionsOperator { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressDenyFromRequires { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1624,7 +1625,7 @@ pub enum CiliumNetworkPolicyIngressDenyFromRequiresMatchExpressionsOperator { } /// ICMPRule is a list of ICMP fields. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressDenyIcmps { /// Fields is a list of ICMP fields. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1632,7 +1633,7 @@ pub struct CiliumNetworkPolicyIngressDenyIcmps { } /// ICMPField is a ICMP field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressDenyIcmpsFields { /// Family is a IP address version. Currently, we support `IPv4` and `IPv6`. `IPv4` is set as default. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1650,7 +1651,7 @@ pub enum CiliumNetworkPolicyIngressDenyIcmpsFieldsFamily { } /// PortDenyRule is a list of ports/protocol that should be used for deny policies. This structure lacks the L7Rules since it's not supported in deny policies. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressDenyToPorts { /// Ports is a list of L4 port/protocol #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1658,7 +1659,7 @@ pub struct CiliumNetworkPolicyIngressDenyToPorts { } /// PortProtocol specifies an L4 port with an optional transport protocol -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyIngressDenyToPortsPorts { /// EndPort can only be an L4 port number. #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] @@ -1686,7 +1687,7 @@ pub enum CiliumNetworkPolicyIngressDenyToPortsPortsProtocol { } /// Label is the Cilium's representation of a container label. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyLabels { pub key: String, /// Source can be one of the above values (e.g.: LabelSourceContainer). @@ -1697,7 +1698,7 @@ pub struct CiliumNetworkPolicyLabels { } /// NodeSelector selects all nodes which should be subject to this rule. EndpointSelector and NodeSelector cannot be both empty and are mutually exclusive. Can only be used in CiliumClusterwideNetworkPolicies. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyNodeSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1731,7 +1732,7 @@ pub enum CiliumNetworkPolicyNodeSelectorMatchExpressionsOperator { /// Rule is a policy rule which must be applied to all endpoints which match the labels contained in the endpointSelector /// Each rule is split into an ingress section which contains all rules applicable at ingress, and an egress section applicable at egress. For rule types such as `L4Rule` and `CIDR` which can be applied at both ingress and egress, both ingress and egress side have to either specifically allow the connection or one side has to be omitted. /// Either ingress, egress, or both can be provided. If both ingress and egress are omitted, the rule has no effect. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicys { /// Description is a free form string, it can be used by the creator of the rule to store human readable explanation of the purpose of this rule. Rules cannot be identified by comment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1769,7 +1770,7 @@ pub struct CiliumNetworkPolicys { /// - All members of this structure are optional. If omitted or empty, the member will have no effect on the rule. /// - If multiple members of the structure are specified, then all members must match in order for the rule to take effect. The exception to this rule is the ToRequires member; the effects of any Requires field in any rule will apply to all other rules as well. /// - ToEndpoints, ToCIDR, ToCIDRSet, ToEntities, ToServices and ToGroups are mutually exclusive. Only one of these members may be present within an individual rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgress { /// Authentication is the required authentication type for the allowed traffic, if any. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1836,7 +1837,7 @@ pub enum CiliumNetworkPolicysEgressAuthenticationMode { } /// ICMPRule is a list of ICMP fields. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressIcmps { /// Fields is a list of ICMP fields. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1844,7 +1845,7 @@ pub struct CiliumNetworkPolicysEgressIcmps { } /// ICMPField is a ICMP field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressIcmpsFields { /// Family is a IP address version. Currently, we support `IPv4` and `IPv6`. `IPv4` is set as default. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1862,7 +1863,7 @@ pub enum CiliumNetworkPolicysEgressIcmpsFieldsFamily { } /// CIDRRule is a rule that specifies a CIDR prefix to/from which outside communication is allowed, along with an optional list of subnets within that CIDR prefix to/from which outside communication is not allowed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToCidrSet { /// CIDR is a CIDR prefix / IP Block. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1876,7 +1877,7 @@ pub struct CiliumNetworkPolicysEgressToCidrSet { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToEndpoints { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1907,7 +1908,7 @@ pub enum CiliumNetworkPolicysEgressToEndpointsMatchExpressionsOperator { DoesNotExist, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToFqdNs { /// MatchName matches literal DNS names. A trailing "." is automatically added when missing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchName")] @@ -1919,7 +1920,7 @@ pub struct CiliumNetworkPolicysEgressToFqdNs { } /// Groups structure to store all kinds of new integrations that needs a new derivative policy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToGroups { /// AWSGroup is an structure that can be used to whitelisting information from AWS integration #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1927,7 +1928,7 @@ pub struct CiliumNetworkPolicysEgressToGroups { } /// AWSGroup is an structure that can be used to whitelisting information from AWS integration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToGroupsAws { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option>, @@ -1940,7 +1941,7 @@ pub struct CiliumNetworkPolicysEgressToGroupsAws { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToNodes { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1972,7 +1973,7 @@ pub enum CiliumNetworkPolicysEgressToNodesMatchExpressionsOperator { } /// PortRule is a list of ports/protocol combinations with optional Layer 7 rules which must be met. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToPorts { /// listener specifies the name of a custom Envoy listener to which this traffic should be redirected to. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1995,7 +1996,7 @@ pub struct CiliumNetworkPolicysEgressToPorts { } /// listener specifies the name of a custom Envoy listener to which this traffic should be redirected to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToPortsListener { /// EnvoyConfig is a reference to the CEC or CCEC resource in which the listener is defined. #[serde(rename = "envoyConfig")] @@ -2008,7 +2009,7 @@ pub struct CiliumNetworkPolicysEgressToPortsListener { } /// EnvoyConfig is a reference to the CEC or CCEC resource in which the listener is defined. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToPortsListenerEnvoyConfig { /// Kind is the resource type being referred to. Defaults to CiliumEnvoyConfig or CiliumClusterwideEnvoyConfig for CiliumNetworkPolicy and CiliumClusterwideNetworkPolicy, respectively. The only case this is currently explicitly needed is when referring to a CiliumClusterwideEnvoyConfig from CiliumNetworkPolicy, as using a namespaced listener from a cluster scoped policy is not allowed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2025,7 +2026,7 @@ pub enum CiliumNetworkPolicysEgressToPortsListenerEnvoyConfigKind { } /// OriginatingTLS is the TLS context for the connections originated by the L7 proxy. For egress policy this specifies the client-side TLS parameters for the upstream connection originating from the L7 proxy to the remote destination. For ingress policy this specifies the client-side TLS parameters for the connection from the L7 proxy to the local endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToPortsOriginatingTls { /// Certificate is the file name or k8s secret item name for the certificate chain. If omitted, 'tls.crt' is assumed, if it exists. If given, the item must exist. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2041,7 +2042,7 @@ pub struct CiliumNetworkPolicysEgressToPortsOriginatingTls { } /// Secret is the secret that contains the certificates and private key for the TLS context. By default, Cilium will search in this secret for the following items: - 'ca.crt' - Which represents the trusted CA to verify remote source. - 'tls.crt' - Which represents the public key certificate. - 'tls.key' - Which represents the private key matching the public key certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToPortsOriginatingTlsSecret { /// Name is the name of the secret. pub name: String, @@ -2051,7 +2052,7 @@ pub struct CiliumNetworkPolicysEgressToPortsOriginatingTlsSecret { } /// PortProtocol specifies an L4 port with an optional transport protocol -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToPortsPorts { /// EndPort can only be an L4 port number. #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] @@ -2079,7 +2080,7 @@ pub enum CiliumNetworkPolicysEgressToPortsPortsProtocol { } /// Rules is a list of additional port level rules which must be met in order for the PortRule to allow the traffic. If omitted or empty, no layer 7 rules are enforced. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToPortsRules { /// DNS-specific rules. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2099,7 +2100,7 @@ pub struct CiliumNetworkPolicysEgressToPortsRules { } /// PortRuleDNS is a list of allowed DNS lookups. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToPortsRulesDns { /// MatchName matches literal DNS names. A trailing "." is automatically added when missing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchName")] @@ -2112,7 +2113,7 @@ pub struct CiliumNetworkPolicysEgressToPortsRulesDns { /// PortRuleHTTP is a list of HTTP protocol constraints. All fields are optional, if all fields are empty or missing, the rule does not have any effect. /// All fields of this type are extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToPortsRulesHttp { /// HeaderMatches is a list of HTTP headers which must be present and match against the given values. Mismatch field can be used to specify what to do when there is no match. #[serde(default, skip_serializing_if = "Option::is_none", rename = "headerMatches")] @@ -2135,7 +2136,7 @@ pub struct CiliumNetworkPolicysEgressToPortsRulesHttp { } /// HeaderMatch extends the HeaderValue for matching requirement of a named header field against an immediate string, a secret value, or a regex. If none of the optional fields is present, then the header value is not matched, only presence of the header is enough. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToPortsRulesHttpHeaderMatches { /// Mismatch identifies what to do in case there is no match. The default is to drop the request. Otherwise the overall rule is still considered as matching, but the mismatches are logged in the access log. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2164,7 +2165,7 @@ pub enum CiliumNetworkPolicysEgressToPortsRulesHttpHeaderMatchesMismatch { } /// Secret refers to a secret that contains the value to be matched against. The secret must only contain one entry. If the referred secret does not exist, and there is no "Value" specified, the match will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToPortsRulesHttpHeaderMatchesSecret { /// Name is the name of the secret. pub name: String, @@ -2174,7 +2175,7 @@ pub struct CiliumNetworkPolicysEgressToPortsRulesHttpHeaderMatchesSecret { } /// PortRule is a list of Kafka protocol constraints. All fields are optional, if all fields are empty or missing, the rule will match all Kafka messages. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToPortsRulesKafka { /// APIKey is a case-insensitive string matched against the key of a request, e.g. "produce", "fetch", "createtopic", "deletetopic", et al Reference: https://kafka.apache.org/protocol#protocol_api_keys /// If omitted or empty, and if Role is not specified, then all keys are allowed. @@ -2213,7 +2214,7 @@ pub enum CiliumNetworkPolicysEgressToPortsRulesKafkaRole { } /// TerminatingTLS is the TLS context for the connection terminated by the L7 proxy. For egress policy this specifies the server-side TLS parameters to be applied on the connections originated from the local endpoint and terminated by the L7 proxy. For ingress policy this specifies the server-side TLS parameters to be applied on the connections originated from a remote source and terminated by the L7 proxy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToPortsTerminatingTls { /// Certificate is the file name or k8s secret item name for the certificate chain. If omitted, 'tls.crt' is assumed, if it exists. If given, the item must exist. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2229,7 +2230,7 @@ pub struct CiliumNetworkPolicysEgressToPortsTerminatingTls { } /// Secret is the secret that contains the certificates and private key for the TLS context. By default, Cilium will search in this secret for the following items: - 'ca.crt' - Which represents the trusted CA to verify remote source. - 'tls.crt' - Which represents the public key certificate. - 'tls.key' - Which represents the private key matching the public key certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToPortsTerminatingTlsSecret { /// Name is the name of the secret. pub name: String, @@ -2239,7 +2240,7 @@ pub struct CiliumNetworkPolicysEgressToPortsTerminatingTlsSecret { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToRequires { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2271,7 +2272,7 @@ pub enum CiliumNetworkPolicysEgressToRequiresMatchExpressionsOperator { } /// Service wraps around selectors for services -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToServices { /// K8sService selects service by name and namespace pair #[serde(default, skip_serializing_if = "Option::is_none", rename = "k8sService")] @@ -2282,7 +2283,7 @@ pub struct CiliumNetworkPolicysEgressToServices { } /// K8sService selects service by name and namespace pair -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToServicesK8sService { #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, @@ -2291,7 +2292,7 @@ pub struct CiliumNetworkPolicysEgressToServicesK8sService { } /// K8sServiceSelector selects services by k8s labels and namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToServicesK8sServiceSelector { #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, @@ -2300,7 +2301,7 @@ pub struct CiliumNetworkPolicysEgressToServicesK8sServiceSelector { } /// ServiceSelector is a label selector for k8s services -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressToServicesK8sServiceSelectorSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2335,7 +2336,7 @@ pub enum CiliumNetworkPolicysEgressToServicesK8sServiceSelectorSelectorMatchExpr /// - All members of this structure are optional. If omitted or empty, the member will have no effect on the rule. /// - If multiple members of the structure are specified, then all members must match in order for the rule to take effect. The exception to this rule is the ToRequires member; the effects of any Requires field in any rule will apply to all other rules as well. /// - ToEndpoints, ToCIDR, ToCIDRSet, ToEntities, ToServices and ToGroups are mutually exclusive. Only one of these members may be present within an individual rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressDeny { /// ICMPs is a list of ICMP rule identified by type number which the endpoint subject to the rule is not allowed to connect to. /// Example: Any endpoint with the label "app=httpd" is not allowed to initiate type 8 ICMP connections. @@ -2378,7 +2379,7 @@ pub struct CiliumNetworkPolicysEgressDeny { } /// ICMPRule is a list of ICMP fields. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressDenyIcmps { /// Fields is a list of ICMP fields. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2386,7 +2387,7 @@ pub struct CiliumNetworkPolicysEgressDenyIcmps { } /// ICMPField is a ICMP field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressDenyIcmpsFields { /// Family is a IP address version. Currently, we support `IPv4` and `IPv6`. `IPv4` is set as default. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2404,7 +2405,7 @@ pub enum CiliumNetworkPolicysEgressDenyIcmpsFieldsFamily { } /// CIDRRule is a rule that specifies a CIDR prefix to/from which outside communication is allowed, along with an optional list of subnets within that CIDR prefix to/from which outside communication is not allowed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressDenyToCidrSet { /// CIDR is a CIDR prefix / IP Block. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2418,7 +2419,7 @@ pub struct CiliumNetworkPolicysEgressDenyToCidrSet { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressDenyToEndpoints { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2450,7 +2451,7 @@ pub enum CiliumNetworkPolicysEgressDenyToEndpointsMatchExpressionsOperator { } /// Groups structure to store all kinds of new integrations that needs a new derivative policy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressDenyToGroups { /// AWSGroup is an structure that can be used to whitelisting information from AWS integration #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2458,7 +2459,7 @@ pub struct CiliumNetworkPolicysEgressDenyToGroups { } /// AWSGroup is an structure that can be used to whitelisting information from AWS integration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressDenyToGroupsAws { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option>, @@ -2471,7 +2472,7 @@ pub struct CiliumNetworkPolicysEgressDenyToGroupsAws { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressDenyToNodes { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2503,7 +2504,7 @@ pub enum CiliumNetworkPolicysEgressDenyToNodesMatchExpressionsOperator { } /// PortDenyRule is a list of ports/protocol that should be used for deny policies. This structure lacks the L7Rules since it's not supported in deny policies. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressDenyToPorts { /// Ports is a list of L4 port/protocol #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2511,7 +2512,7 @@ pub struct CiliumNetworkPolicysEgressDenyToPorts { } /// PortProtocol specifies an L4 port with an optional transport protocol -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressDenyToPortsPorts { /// EndPort can only be an L4 port number. #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] @@ -2539,7 +2540,7 @@ pub enum CiliumNetworkPolicysEgressDenyToPortsPortsProtocol { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressDenyToRequires { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2571,7 +2572,7 @@ pub enum CiliumNetworkPolicysEgressDenyToRequiresMatchExpressionsOperator { } /// Service wraps around selectors for services -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressDenyToServices { /// K8sService selects service by name and namespace pair #[serde(default, skip_serializing_if = "Option::is_none", rename = "k8sService")] @@ -2582,7 +2583,7 @@ pub struct CiliumNetworkPolicysEgressDenyToServices { } /// K8sService selects service by name and namespace pair -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressDenyToServicesK8sService { #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, @@ -2591,7 +2592,7 @@ pub struct CiliumNetworkPolicysEgressDenyToServicesK8sService { } /// K8sServiceSelector selects services by k8s labels and namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressDenyToServicesK8sServiceSelector { #[serde(default, skip_serializing_if = "Option::is_none")] pub namespace: Option, @@ -2600,7 +2601,7 @@ pub struct CiliumNetworkPolicysEgressDenyToServicesK8sServiceSelector { } /// ServiceSelector is a label selector for k8s services -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEgressDenyToServicesK8sServiceSelectorSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2635,7 +2636,7 @@ pub enum CiliumNetworkPolicysEgressDenyToServicesK8sServiceSelectorSelectorMatch /// If not specified, the default is true for each traffic direction that has rules, and false otherwise. For example, if a policy only has Ingress or IngressDeny rules, then the default for ingress is true and egress is false. /// If multiple policies apply to an endpoint, that endpoint's default deny will be enabled if any policy requests it. /// This is useful for creating broad-based network policies that will not cause endpoints to enter default-deny mode. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEnableDefaultDeny { /// Whether or not the endpoint should have a default-deny rule applied to egress traffic. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2646,7 +2647,7 @@ pub struct CiliumNetworkPolicysEnableDefaultDeny { } /// EndpointSelector selects all endpoints which should be subject to this rule. EndpointSelector and NodeSelector cannot be both empty and are mutually exclusive. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysEndpointSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2681,7 +2682,7 @@ pub enum CiliumNetworkPolicysEndpointSelectorMatchExpressionsOperator { /// - All members of this structure are optional. If omitted or empty, the member will have no effect on the rule. /// - If multiple members are set, all of them need to match in order for the rule to take effect. The exception to this rule is FromRequires field; the effects of any Requires field in any rule will apply to all other rules as well. /// - FromEndpoints, FromCIDR, FromCIDRSet and FromEntities are mutually exclusive. Only one of these members may be present within an individual rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngress { /// Authentication is the required authentication type for the allowed traffic, if any. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2741,7 +2742,7 @@ pub enum CiliumNetworkPolicysIngressAuthenticationMode { } /// CIDRRule is a rule that specifies a CIDR prefix to/from which outside communication is allowed, along with an optional list of subnets within that CIDR prefix to/from which outside communication is not allowed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressFromCidrSet { /// CIDR is a CIDR prefix / IP Block. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2755,7 +2756,7 @@ pub struct CiliumNetworkPolicysIngressFromCidrSet { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressFromEndpoints { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2787,7 +2788,7 @@ pub enum CiliumNetworkPolicysIngressFromEndpointsMatchExpressionsOperator { } /// Groups structure to store all kinds of new integrations that needs a new derivative policy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressFromGroups { /// AWSGroup is an structure that can be used to whitelisting information from AWS integration #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2795,7 +2796,7 @@ pub struct CiliumNetworkPolicysIngressFromGroups { } /// AWSGroup is an structure that can be used to whitelisting information from AWS integration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressFromGroupsAws { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option>, @@ -2808,7 +2809,7 @@ pub struct CiliumNetworkPolicysIngressFromGroupsAws { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressFromNodes { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2840,7 +2841,7 @@ pub enum CiliumNetworkPolicysIngressFromNodesMatchExpressionsOperator { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressFromRequires { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2872,7 +2873,7 @@ pub enum CiliumNetworkPolicysIngressFromRequiresMatchExpressionsOperator { } /// ICMPRule is a list of ICMP fields. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressIcmps { /// Fields is a list of ICMP fields. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2880,7 +2881,7 @@ pub struct CiliumNetworkPolicysIngressIcmps { } /// ICMPField is a ICMP field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressIcmpsFields { /// Family is a IP address version. Currently, we support `IPv4` and `IPv6`. `IPv4` is set as default. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2898,7 +2899,7 @@ pub enum CiliumNetworkPolicysIngressIcmpsFieldsFamily { } /// PortRule is a list of ports/protocol combinations with optional Layer 7 rules which must be met. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressToPorts { /// listener specifies the name of a custom Envoy listener to which this traffic should be redirected to. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2921,7 +2922,7 @@ pub struct CiliumNetworkPolicysIngressToPorts { } /// listener specifies the name of a custom Envoy listener to which this traffic should be redirected to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressToPortsListener { /// EnvoyConfig is a reference to the CEC or CCEC resource in which the listener is defined. #[serde(rename = "envoyConfig")] @@ -2934,7 +2935,7 @@ pub struct CiliumNetworkPolicysIngressToPortsListener { } /// EnvoyConfig is a reference to the CEC or CCEC resource in which the listener is defined. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressToPortsListenerEnvoyConfig { /// Kind is the resource type being referred to. Defaults to CiliumEnvoyConfig or CiliumClusterwideEnvoyConfig for CiliumNetworkPolicy and CiliumClusterwideNetworkPolicy, respectively. The only case this is currently explicitly needed is when referring to a CiliumClusterwideEnvoyConfig from CiliumNetworkPolicy, as using a namespaced listener from a cluster scoped policy is not allowed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2951,7 +2952,7 @@ pub enum CiliumNetworkPolicysIngressToPortsListenerEnvoyConfigKind { } /// OriginatingTLS is the TLS context for the connections originated by the L7 proxy. For egress policy this specifies the client-side TLS parameters for the upstream connection originating from the L7 proxy to the remote destination. For ingress policy this specifies the client-side TLS parameters for the connection from the L7 proxy to the local endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressToPortsOriginatingTls { /// Certificate is the file name or k8s secret item name for the certificate chain. If omitted, 'tls.crt' is assumed, if it exists. If given, the item must exist. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2967,7 +2968,7 @@ pub struct CiliumNetworkPolicysIngressToPortsOriginatingTls { } /// Secret is the secret that contains the certificates and private key for the TLS context. By default, Cilium will search in this secret for the following items: - 'ca.crt' - Which represents the trusted CA to verify remote source. - 'tls.crt' - Which represents the public key certificate. - 'tls.key' - Which represents the private key matching the public key certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressToPortsOriginatingTlsSecret { /// Name is the name of the secret. pub name: String, @@ -2977,7 +2978,7 @@ pub struct CiliumNetworkPolicysIngressToPortsOriginatingTlsSecret { } /// PortProtocol specifies an L4 port with an optional transport protocol -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressToPortsPorts { /// EndPort can only be an L4 port number. #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] @@ -3005,7 +3006,7 @@ pub enum CiliumNetworkPolicysIngressToPortsPortsProtocol { } /// Rules is a list of additional port level rules which must be met in order for the PortRule to allow the traffic. If omitted or empty, no layer 7 rules are enforced. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressToPortsRules { /// DNS-specific rules. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3025,7 +3026,7 @@ pub struct CiliumNetworkPolicysIngressToPortsRules { } /// PortRuleDNS is a list of allowed DNS lookups. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressToPortsRulesDns { /// MatchName matches literal DNS names. A trailing "." is automatically added when missing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchName")] @@ -3038,7 +3039,7 @@ pub struct CiliumNetworkPolicysIngressToPortsRulesDns { /// PortRuleHTTP is a list of HTTP protocol constraints. All fields are optional, if all fields are empty or missing, the rule does not have any effect. /// All fields of this type are extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressToPortsRulesHttp { /// HeaderMatches is a list of HTTP headers which must be present and match against the given values. Mismatch field can be used to specify what to do when there is no match. #[serde(default, skip_serializing_if = "Option::is_none", rename = "headerMatches")] @@ -3061,7 +3062,7 @@ pub struct CiliumNetworkPolicysIngressToPortsRulesHttp { } /// HeaderMatch extends the HeaderValue for matching requirement of a named header field against an immediate string, a secret value, or a regex. If none of the optional fields is present, then the header value is not matched, only presence of the header is enough. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressToPortsRulesHttpHeaderMatches { /// Mismatch identifies what to do in case there is no match. The default is to drop the request. Otherwise the overall rule is still considered as matching, but the mismatches are logged in the access log. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3090,7 +3091,7 @@ pub enum CiliumNetworkPolicysIngressToPortsRulesHttpHeaderMatchesMismatch { } /// Secret refers to a secret that contains the value to be matched against. The secret must only contain one entry. If the referred secret does not exist, and there is no "Value" specified, the match will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressToPortsRulesHttpHeaderMatchesSecret { /// Name is the name of the secret. pub name: String, @@ -3100,7 +3101,7 @@ pub struct CiliumNetworkPolicysIngressToPortsRulesHttpHeaderMatchesSecret { } /// PortRule is a list of Kafka protocol constraints. All fields are optional, if all fields are empty or missing, the rule will match all Kafka messages. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressToPortsRulesKafka { /// APIKey is a case-insensitive string matched against the key of a request, e.g. "produce", "fetch", "createtopic", "deletetopic", et al Reference: https://kafka.apache.org/protocol#protocol_api_keys /// If omitted or empty, and if Role is not specified, then all keys are allowed. @@ -3139,7 +3140,7 @@ pub enum CiliumNetworkPolicysIngressToPortsRulesKafkaRole { } /// TerminatingTLS is the TLS context for the connection terminated by the L7 proxy. For egress policy this specifies the server-side TLS parameters to be applied on the connections originated from the local endpoint and terminated by the L7 proxy. For ingress policy this specifies the server-side TLS parameters to be applied on the connections originated from a remote source and terminated by the L7 proxy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressToPortsTerminatingTls { /// Certificate is the file name or k8s secret item name for the certificate chain. If omitted, 'tls.crt' is assumed, if it exists. If given, the item must exist. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3155,7 +3156,7 @@ pub struct CiliumNetworkPolicysIngressToPortsTerminatingTls { } /// Secret is the secret that contains the certificates and private key for the TLS context. By default, Cilium will search in this secret for the following items: - 'ca.crt' - Which represents the trusted CA to verify remote source. - 'tls.crt' - Which represents the public key certificate. - 'tls.key' - Which represents the private key matching the public key certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressToPortsTerminatingTlsSecret { /// Name is the name of the secret. pub name: String, @@ -3168,7 +3169,7 @@ pub struct CiliumNetworkPolicysIngressToPortsTerminatingTlsSecret { /// - All members of this structure are optional. If omitted or empty, the member will have no effect on the rule. /// - If multiple members are set, all of them need to match in order for the rule to take effect. The exception to this rule is FromRequires field; the effects of any Requires field in any rule will apply to all other rules as well. /// - FromEndpoints, FromCIDR, FromCIDRSet, FromGroups and FromEntities are mutually exclusive. Only one of these members may be present within an individual rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressDeny { /// FromCIDR is a list of IP blocks which the endpoint subject to the rule is allowed to receive connections from. Only connections which do *not* originate from the cluster or from the local host are subject to CIDR rules. In order to allow in-cluster connectivity, use the FromEndpoints field. This will match on the source IP address of incoming connections. Adding a prefix into FromCIDR or into FromCIDRSet with no ExcludeCIDRs is equivalent. Overlaps are allowed between FromCIDR and FromCIDRSet. /// Example: Any endpoint with the label "app=my-legacy-pet" is allowed to receive connections from 10.3.9.1 @@ -3207,7 +3208,7 @@ pub struct CiliumNetworkPolicysIngressDeny { } /// CIDRRule is a rule that specifies a CIDR prefix to/from which outside communication is allowed, along with an optional list of subnets within that CIDR prefix to/from which outside communication is not allowed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressDenyFromCidrSet { /// CIDR is a CIDR prefix / IP Block. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3221,7 +3222,7 @@ pub struct CiliumNetworkPolicysIngressDenyFromCidrSet { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressDenyFromEndpoints { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3253,7 +3254,7 @@ pub enum CiliumNetworkPolicysIngressDenyFromEndpointsMatchExpressionsOperator { } /// Groups structure to store all kinds of new integrations that needs a new derivative policy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressDenyFromGroups { /// AWSGroup is an structure that can be used to whitelisting information from AWS integration #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3261,7 +3262,7 @@ pub struct CiliumNetworkPolicysIngressDenyFromGroups { } /// AWSGroup is an structure that can be used to whitelisting information from AWS integration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressDenyFromGroupsAws { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option>, @@ -3274,7 +3275,7 @@ pub struct CiliumNetworkPolicysIngressDenyFromGroupsAws { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressDenyFromNodes { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3306,7 +3307,7 @@ pub enum CiliumNetworkPolicysIngressDenyFromNodesMatchExpressionsOperator { } /// EndpointSelector is a wrapper for k8s LabelSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressDenyFromRequires { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3338,7 +3339,7 @@ pub enum CiliumNetworkPolicysIngressDenyFromRequiresMatchExpressionsOperator { } /// ICMPRule is a list of ICMP fields. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressDenyIcmps { /// Fields is a list of ICMP fields. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3346,7 +3347,7 @@ pub struct CiliumNetworkPolicysIngressDenyIcmps { } /// ICMPField is a ICMP field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressDenyIcmpsFields { /// Family is a IP address version. Currently, we support `IPv4` and `IPv6`. `IPv4` is set as default. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3364,7 +3365,7 @@ pub enum CiliumNetworkPolicysIngressDenyIcmpsFieldsFamily { } /// PortDenyRule is a list of ports/protocol that should be used for deny policies. This structure lacks the L7Rules since it's not supported in deny policies. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressDenyToPorts { /// Ports is a list of L4 port/protocol #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3372,7 +3373,7 @@ pub struct CiliumNetworkPolicysIngressDenyToPorts { } /// PortProtocol specifies an L4 port with an optional transport protocol -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysIngressDenyToPortsPorts { /// EndPort can only be an L4 port number. #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] @@ -3400,7 +3401,7 @@ pub enum CiliumNetworkPolicysIngressDenyToPortsPortsProtocol { } /// Label is the Cilium's representation of a container label. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysLabels { pub key: String, /// Source can be one of the above values (e.g.: LabelSourceContainer). @@ -3411,7 +3412,7 @@ pub struct CiliumNetworkPolicysLabels { } /// NodeSelector selects all nodes which should be subject to this rule. EndpointSelector and NodeSelector cannot be both empty and are mutually exclusive. Can only be used in CiliumClusterwideNetworkPolicies. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicysNodeSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3443,7 +3444,7 @@ pub enum CiliumNetworkPolicysNodeSelectorMatchExpressionsOperator { } /// Status is the status of the Cilium policy rule -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyStatus { /// DerivativePolicies is the status of all policies derived from the Cilium policy #[serde(default, skip_serializing_if = "Option::is_none", rename = "derivativePolicies")] @@ -3454,7 +3455,7 @@ pub struct CiliumNetworkPolicyStatus { } /// DerivativePolicies is the status of all policies derived from the Cilium policy -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyStatusDerivativePolicies { /// Annotations corresponds to the Annotations in the ObjectMeta of the CNP that have been realized on the node for CNP. That is, if a CNP has been imported and has been assigned annotation X=Y by the user, Annotations in CiliumNetworkPolicyNodeStatus will be X=Y once the CNP that was imported corresponding to Annotation X=Y has been realized on the node. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3477,7 +3478,7 @@ pub struct CiliumNetworkPolicyStatusDerivativePolicies { } /// Nodes is the Cilium policy status for each node -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumNetworkPolicyStatusNodes { /// Annotations corresponds to the Annotations in the ObjectMeta of the CNP that have been realized on the node for CNP. That is, if a CNP has been imported and has been assigned annotation X=Y by the user, Annotations in CiliumNetworkPolicyNodeStatus will be X=Y once the CNP that was imported corresponding to Annotation X=Y has been realized on the node. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/cilium_io/v2/ciliumnodes.rs b/kube-custom-resources-rs/src/cilium_io/v2/ciliumnodes.rs index c0f3c398b..3caf8cf74 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2/ciliumnodes.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2/ciliumnodes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2/ciliumnodes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2/ciliumnodes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumbgppeeringpolicies.rs b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumbgppeeringpolicies.rs index d66fbdd99..13f8e5c1a 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumbgppeeringpolicies.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumbgppeeringpolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumbgppeeringpolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumbgppeeringpolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,9 +11,10 @@ mod prelude { use self::prelude::*; /// Spec is a human readable description of a BGP peering policy -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "cilium.io", version = "v2alpha1", kind = "CiliumBGPPeeringPolicy", plural = "ciliumbgppeeringpolicies")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct CiliumBGPPeeringPolicySpec { /// NodeSelector selects a group of nodes where this BGP Peering Policy applies. @@ -27,7 +28,7 @@ pub struct CiliumBGPPeeringPolicySpec { /// NodeSelector selects a group of nodes where this BGP Peering Policy applies. /// If empty / nil this policy applies to all nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumBGPPeeringPolicyNodeSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -59,7 +60,7 @@ pub enum CiliumBGPPeeringPolicyNodeSelectorMatchExpressionsOperator { } /// CiliumBGPVirtualRouter defines a discrete BGP virtual router configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumBGPPeeringPolicyVirtualRouters { /// ExportPodCIDR determines whether to export the Node's private CIDR block to the configured neighbors. #[serde(default, skip_serializing_if = "Option::is_none", rename = "exportPodCIDR")] @@ -84,7 +85,7 @@ pub struct CiliumBGPPeeringPolicyVirtualRouters { } /// CiliumBGPNeighbor is a neighboring peer for use in a CiliumBGPVirtualRouter configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumBGPPeeringPolicyVirtualRoutersNeighbors { /// AdvertisedPathAttributes can be used to apply additional path attributes to selected routes when advertising them to the peer. If empty / nil, no additional path attributes are advertised. #[serde(default, skip_serializing_if = "Option::is_none", rename = "advertisedPathAttributes")] @@ -140,7 +141,7 @@ pub struct CiliumBGPPeeringPolicyVirtualRoutersNeighborsAdvertisedPathAttributes } /// Communities defines a set of community values advertised in the supported BGP Communities path attributes. If nil / not set, no BGP Communities path attribute will be advertised. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumBGPPeeringPolicyVirtualRoutersNeighborsAdvertisedPathAttributesCommunities { /// Large holds a list of the BGP Large Communities Attribute (RFC 8092) values. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -154,7 +155,7 @@ pub struct CiliumBGPPeeringPolicyVirtualRoutersNeighborsAdvertisedPathAttributes } /// Selector selects a group of objects of the SelectorType resulting into routes that will be announced with the configured Attributes. If nil / not set, all objects of the SelectorType are selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumBGPPeeringPolicyVirtualRoutersNeighborsAdvertisedPathAttributesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -256,7 +257,7 @@ pub enum CiliumBGPPeeringPolicyVirtualRoutersNeighborsFamiliesSafi { } /// GracefulRestart defines graceful restart parameters which are negotiated with this neighbor. If empty / nil, the graceful restart capability is disabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumBGPPeeringPolicyVirtualRoutersNeighborsGracefulRestart { /// Enabled flag, when set enables graceful restart capability. pub enabled: bool, @@ -267,7 +268,7 @@ pub struct CiliumBGPPeeringPolicyVirtualRoutersNeighborsGracefulRestart { /// PodIPPoolSelector selects CiliumPodIPPools based on labels. The virtual router will announce allocated CIDRs of matching CiliumPodIPPools. /// If empty / nil no CiliumPodIPPools will be announced. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumBGPPeeringPolicyVirtualRoutersPodIpPoolSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -301,7 +302,7 @@ pub enum CiliumBGPPeeringPolicyVirtualRoutersPodIpPoolSelectorMatchExpressionsOp /// ServiceSelector selects a group of load balancer services which this virtual router will announce. The loadBalancerClass for a service must be nil or specify a class supported by Cilium, e.g. "io.cilium/bgp-control-plane". Refer to the following document for additional details regarding load balancer classes: /// https://kubernetes.io/docs/concepts/services-networking/service/#load-balancer-class /// If empty / nil no services will be announced. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumBGPPeeringPolicyVirtualRoutersServiceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] diff --git a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumcidrgroups.rs b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumcidrgroups.rs index 9633974f7..c2ec9a117 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumcidrgroups.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumcidrgroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumcidrgroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumcidrgroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumendpointslices.rs b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumendpointslices.rs index d8bde0552..75f40b238 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumendpointslices.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumendpointslices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumendpointslices.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumendpointslices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliuml2announcementpolicies.rs b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliuml2announcementpolicies.rs index 24eb21d6f..35ba286a9 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliuml2announcementpolicies.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliuml2announcementpolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliuml2announcementpolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliuml2announcementpolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// Spec is a human readable description of a L2 announcement policy -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "cilium.io", version = "v2alpha1", kind = "CiliumL2AnnouncementPolicy", plural = "ciliuml2announcementpolicies")] #[kube(status = "CiliumL2AnnouncementPolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct CiliumL2AnnouncementPolicySpec { /// If true, the external IPs of the services are announced @@ -41,7 +42,7 @@ pub struct CiliumL2AnnouncementPolicySpec { /// NodeSelector selects a group of nodes which will announce the IPs for the services selected by the service selector. /// If nil this policy applies to all nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumL2AnnouncementPolicyNodeSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -75,7 +76,7 @@ pub enum CiliumL2AnnouncementPolicyNodeSelectorMatchExpressionsOperator { /// ServiceSelector selects a set of services which will be announced over L2 networks. The loadBalancerClass for a service must be nil or specify a supported class, e.g. "io.cilium/l2-announcer". Refer to the following document for additional details regarding load balancer classes: /// https://kubernetes.io/docs/concepts/services-networking/service/#load-balancer-class /// If nil this policy applies to all services. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumL2AnnouncementPolicyServiceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -107,7 +108,7 @@ pub enum CiliumL2AnnouncementPolicyServiceSelectorMatchExpressionsOperator { } /// Status is the status of the policy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumL2AnnouncementPolicyStatus { /// Current service state #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumloadbalancerippools.rs b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumloadbalancerippools.rs index f0c807565..2466afcf9 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumloadbalancerippools.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumloadbalancerippools.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumloadbalancerippools.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumloadbalancerippools.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// Spec is a human readable description for a BGP load balancer ip pool. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "cilium.io", version = "v2alpha1", kind = "CiliumLoadBalancerIPPool", plural = "ciliumloadbalancerippools")] #[kube(status = "CiliumLoadBalancerIPPoolStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct CiliumLoadBalancerIPPoolSpec { /// AllowFirstLastIPs, if set to `yes` means that the first and last IPs of each CIDR will be allocatable. If `no` or undefined, these IPs will be reserved. This field is ignored for /{31,32} and /{127,128} CIDRs since reserving the first and last IPs would make the CIDRs unusable. @@ -43,7 +44,7 @@ pub enum CiliumLoadBalancerIPPoolAllowFirstLastIPs { } /// CiliumLoadBalancerIPPoolIPBlock describes a single IP block. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumLoadBalancerIPPoolBlocks { #[serde(default, skip_serializing_if = "Option::is_none")] pub cidr: Option, @@ -54,7 +55,7 @@ pub struct CiliumLoadBalancerIPPoolBlocks { } /// CiliumLoadBalancerIPPoolIPBlock describes a single IP block. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumLoadBalancerIPPoolCidrs { #[serde(default, skip_serializing_if = "Option::is_none")] pub cidr: Option, @@ -65,7 +66,7 @@ pub struct CiliumLoadBalancerIPPoolCidrs { } /// ServiceSelector selects a set of services which are eligible to receive IPs from this -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumLoadBalancerIPPoolServiceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -98,7 +99,7 @@ pub enum CiliumLoadBalancerIPPoolServiceSelectorMatchExpressionsOperator { /// Status is the status of the IP Pool. /// It might be possible for users to define overlapping IP Pools, we can't validate or enforce non-overlapping pools during object creation. The Cilium operator will do this validation and update the status to reflect the ability to allocate IPs from this pool. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CiliumLoadBalancerIPPoolStatus { /// Current service state #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumnodeconfigs.rs b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumnodeconfigs.rs index 1ee313a21..d79186c44 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumnodeconfigs.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumnodeconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumnodeconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumnodeconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumpodippools.rs b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumpodippools.rs index c7d99cc76..cde946587 100644 --- a/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumpodippools.rs +++ b/kube-custom-resources-rs/src/cilium_io/v2alpha1/ciliumpodippools.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumpodippools.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cilium/cilium/cilium.io/v2alpha1/ciliumpodippools.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/claudie_io/v1beta1/inputmanifests.rs b/kube-custom-resources-rs/src/claudie_io/v1beta1/inputmanifests.rs index 561283078..a54b904d6 100644 --- a/kube-custom-resources-rs/src/claudie_io/v1beta1/inputmanifests.rs +++ b/kube-custom-resources-rs/src/claudie_io/v1beta1/inputmanifests.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/berops/claudie/claudie.io/v1beta1/inputmanifests.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/berops/claudie/claudie.io/v1beta1/inputmanifests.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// Specification of the desired behaviour of the InputManifest -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "claudie.io", version = "v1beta1", kind = "InputManifest", plural = "inputmanifests")] #[kube(namespaced)] #[kube(status = "InputManifestStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct InputManifestSpec { /// Kubernetes list of Kubernetes cluster this manifest will manage. @@ -33,7 +34,7 @@ pub struct InputManifestSpec { } /// Kubernetes list of Kubernetes cluster this manifest will manage. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputManifestKubernetes { /// List of Kubernetes clusters Claudie will create. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -41,7 +42,7 @@ pub struct InputManifestKubernetes { } /// Collection of data used to define a Kubernetes cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputManifestKubernetesClusters { /// Name of the Kubernetes cluster. Each cluster will have a random hash appended to the name, so the whole name will be of format -. pub name: String, @@ -54,7 +55,7 @@ pub struct InputManifestKubernetesClusters { } /// List of nodepool names this cluster will use. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputManifestKubernetesClustersPools { /// List of nodepool names, that will represent compute nodes. pub compute: Vec, @@ -63,7 +64,7 @@ pub struct InputManifestKubernetesClustersPools { } /// LoadBalancers list of loadbalancer clusters the Kubernetes clusters may use. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputManifestLoadBalancers { /// A list of load balancers clusters. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -74,7 +75,7 @@ pub struct InputManifestLoadBalancers { } /// Collection of data used to define a loadbalancer cluster. Defines loadbalancer clusters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputManifestLoadBalancersClusters { /// Specification of the loadbalancer's DNS record. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -91,7 +92,7 @@ pub struct InputManifestLoadBalancersClusters { } /// Specification of the loadbalancer's DNS record. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputManifestLoadBalancersClustersDns { /// DNS zone inside of which the records will be created. GCP/AWS/OCI/Azure/Cloudflare/Hetzner DNS zone is accepted #[serde(rename = "dnsZone")] @@ -130,7 +131,7 @@ pub enum InputManifestLoadBalancersRolesProtocol { } /// NodePool is a map of dynamic nodepools and static nodepools which will be used to form kubernetes or loadbalancer clusters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputManifestNodePools { /// Dynamic nodepools define nodepools dynamically created by Claudie. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -142,7 +143,7 @@ pub struct InputManifestNodePools { /// DynamicNodePool List of dynamically to-be-created nodepools of not yet existing machines, used for Kubernetes or loadbalancer clusters. These are only blueprints, and will only be created per reference in kubernetes or loadBalancer clusters. /// E.g. if the nodepool isn't used, it won't even be created. Or if the same nodepool is used in two different clusters, it will be created twice. In OOP analogy, a dynamic nodepool would be a class that would get instantiated N >= 0 times depending on which clusters reference it. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputManifestNodePoolsDynamic { /// User defined annotations for this nodepool. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -178,7 +179,7 @@ pub struct InputManifestNodePoolsDynamic { } /// Autoscaler configuration for this nodepool. Mutually exclusive with count. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputManifestNodePoolsDynamicAutoscaler { /// Maximum number of nodes in nodepool. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -189,7 +190,7 @@ pub struct InputManifestNodePoolsDynamicAutoscaler { } /// MachineSpec further describe the properties of the selected server type. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputManifestNodePoolsDynamicMachineSpec { /// CpuCount specifies the number of CPU cores to be used. #[serde(rename = "cpuCount")] @@ -198,7 +199,7 @@ pub struct InputManifestNodePoolsDynamicMachineSpec { } /// Collection of provider data to be used while creating the nodepool. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputManifestNodePoolsDynamicProviderSpec { /// Name of the provider instance specified in providers pub name: String, @@ -210,7 +211,7 @@ pub struct InputManifestNodePoolsDynamicProviderSpec { } /// The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputManifestNodePoolsDynamicTaints { /// Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute. pub effect: String, @@ -225,7 +226,7 @@ pub struct InputManifestNodePoolsDynamicTaints { } /// StaticNodePool defines nodepool of already existing nodes, managed outside of Claudie. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputManifestNodePoolsStatic { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -240,7 +241,7 @@ pub struct InputManifestNodePoolsStatic { } /// StaticNode defines a single static node for a particular static nodepool. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputManifestNodePoolsStaticNodes { /// Endpoint under which Claudie will access this node. pub endpoint: String, @@ -253,7 +254,7 @@ pub struct InputManifestNodePoolsStaticNodes { } /// Secret reference to the private key of the node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputManifestNodePoolsStaticNodesSecretRef { /// name is unique within a namespace to reference a secret resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -264,7 +265,7 @@ pub struct InputManifestNodePoolsStaticNodesSecretRef { } /// The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputManifestNodePoolsStaticTaints { /// Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute. pub effect: String, @@ -313,7 +314,7 @@ pub enum InputManifestProvidersProviderType { } /// SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputManifestProvidersSecretRef { /// name is unique within a namespace to reference a secret resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -324,7 +325,7 @@ pub struct InputManifestProvidersSecretRef { } /// Most recently observed status of the InputManifest -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputManifestStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub clusters: Option>, @@ -332,7 +333,7 @@ pub struct InputManifestStatus { pub state: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputManifestStatusClusters { #[serde(default, skip_serializing_if = "Option::is_none")] pub message: Option, diff --git a/kube-custom-resources-rs/src/cloudformation_linki_space/v1alpha1/stacks.rs b/kube-custom-resources-rs/src/cloudformation_linki_space/v1alpha1/stacks.rs index 8d41091e4..065347cb9 100644 --- a/kube-custom-resources-rs/src/cloudformation_linki_space/v1alpha1/stacks.rs +++ b/kube-custom-resources-rs/src/cloudformation_linki_space/v1alpha1/stacks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/linki/cloudformation-operator/cloudformation.linki.space/v1alpha1/stacks.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/linki/cloudformation-operator/cloudformation.linki.space/v1alpha1/stacks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/cachepolicies.rs b/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/cachepolicies.rs index 250502e55..d9dadb1aa 100644 --- a/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/cachepolicies.rs +++ b/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/cachepolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudfront-controller/cloudfront.services.k8s.aws/v1alpha1/cachepolicies.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudfront-controller/cloudfront.services.k8s.aws/v1alpha1/cachepolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/distributions.rs b/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/distributions.rs index 09a34577f..07e116ff3 100644 --- a/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/distributions.rs +++ b/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/distributions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudfront-controller/cloudfront.services.k8s.aws/v1alpha1/distributions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudfront-controller/cloudfront.services.k8s.aws/v1alpha1/distributions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/functions.rs b/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/functions.rs index 264cdbb7f..c282966b8 100644 --- a/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/functions.rs +++ b/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/functions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudfront-controller/cloudfront.services.k8s.aws/v1alpha1/functions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudfront-controller/cloudfront.services.k8s.aws/v1alpha1/functions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/originrequestpolicies.rs b/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/originrequestpolicies.rs index 855e92369..495f53433 100644 --- a/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/originrequestpolicies.rs +++ b/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/originrequestpolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudfront-controller/cloudfront.services.k8s.aws/v1alpha1/originrequestpolicies.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudfront-controller/cloudfront.services.k8s.aws/v1alpha1/originrequestpolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/responseheaderspolicies.rs b/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/responseheaderspolicies.rs index 193d577b3..b10a673ba 100644 --- a/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/responseheaderspolicies.rs +++ b/kube-custom-resources-rs/src/cloudfront_services_k8s_aws/v1alpha1/responseheaderspolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudfront-controller/cloudfront.services.k8s.aws/v1alpha1/responseheaderspolicies.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudfront-controller/cloudfront.services.k8s.aws/v1alpha1/responseheaderspolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cloudtrail_services_k8s_aws/v1alpha1/eventdatastores.rs b/kube-custom-resources-rs/src/cloudtrail_services_k8s_aws/v1alpha1/eventdatastores.rs index 2426805b2..3fb8495eb 100644 --- a/kube-custom-resources-rs/src/cloudtrail_services_k8s_aws/v1alpha1/eventdatastores.rs +++ b/kube-custom-resources-rs/src/cloudtrail_services_k8s_aws/v1alpha1/eventdatastores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudtrail-controller/cloudtrail.services.k8s.aws/v1alpha1/eventdatastores.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudtrail-controller/cloudtrail.services.k8s.aws/v1alpha1/eventdatastores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cloudtrail_services_k8s_aws/v1alpha1/trails.rs b/kube-custom-resources-rs/src/cloudtrail_services_k8s_aws/v1alpha1/trails.rs index 1db7f1a86..9d0d00c45 100644 --- a/kube-custom-resources-rs/src/cloudtrail_services_k8s_aws/v1alpha1/trails.rs +++ b/kube-custom-resources-rs/src/cloudtrail_services_k8s_aws/v1alpha1/trails.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudtrail-controller/cloudtrail.services.k8s.aws/v1alpha1/trails.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudtrail-controller/cloudtrail.services.k8s.aws/v1alpha1/trails.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cloudwatch_aws_amazon_com/v1alpha1/amazoncloudwatchagents.rs b/kube-custom-resources-rs/src/cloudwatch_aws_amazon_com/v1alpha1/amazoncloudwatchagents.rs index 4da67e0d8..21992676b 100644 --- a/kube-custom-resources-rs/src/cloudwatch_aws_amazon_com/v1alpha1/amazoncloudwatchagents.rs +++ b/kube-custom-resources-rs/src/cloudwatch_aws_amazon_com/v1alpha1/amazoncloudwatchagents.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/amazon-cloudwatch-agent-operator/cloudwatch.aws.amazon.com/v1alpha1/amazoncloudwatchagents.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/amazon-cloudwatch-agent-operator/cloudwatch.aws.amazon.com/v1alpha1/amazoncloudwatchagents.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cloudwatch_aws_amazon_com/v1alpha1/instrumentations.rs b/kube-custom-resources-rs/src/cloudwatch_aws_amazon_com/v1alpha1/instrumentations.rs index ae77be29f..11db43ce4 100644 --- a/kube-custom-resources-rs/src/cloudwatch_aws_amazon_com/v1alpha1/instrumentations.rs +++ b/kube-custom-resources-rs/src/cloudwatch_aws_amazon_com/v1alpha1/instrumentations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/amazon-cloudwatch-agent-operator/cloudwatch.aws.amazon.com/v1alpha1/instrumentations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/amazon-cloudwatch-agent-operator/cloudwatch.aws.amazon.com/v1alpha1/instrumentations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cloudwatch_services_k8s_aws/v1alpha1/metricalarms.rs b/kube-custom-resources-rs/src/cloudwatch_services_k8s_aws/v1alpha1/metricalarms.rs index 4165b6c02..2ad409448 100644 --- a/kube-custom-resources-rs/src/cloudwatch_services_k8s_aws/v1alpha1/metricalarms.rs +++ b/kube-custom-resources-rs/src/cloudwatch_services_k8s_aws/v1alpha1/metricalarms.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudwatch-controller/cloudwatch.services.k8s.aws/v1alpha1/metricalarms.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudwatch-controller/cloudwatch.services.k8s.aws/v1alpha1/metricalarms.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cloudwatchlogs_services_k8s_aws/v1alpha1/loggroups.rs b/kube-custom-resources-rs/src/cloudwatchlogs_services_k8s_aws/v1alpha1/loggroups.rs index 9036c00b4..84221fecd 100644 --- a/kube-custom-resources-rs/src/cloudwatchlogs_services_k8s_aws/v1alpha1/loggroups.rs +++ b/kube-custom-resources-rs/src/cloudwatchlogs_services_k8s_aws/v1alpha1/loggroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudwatchlogs-controller/cloudwatchlogs.services.k8s.aws/v1alpha1/loggroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/cloudwatchlogs-controller/cloudwatchlogs.services.k8s.aws/v1alpha1/loggroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cluster_clusterpedia_io/v1alpha2/clustersyncresources.rs b/kube-custom-resources-rs/src/cluster_clusterpedia_io/v1alpha2/clustersyncresources.rs index 3adf194a5..4991cc196 100644 --- a/kube-custom-resources-rs/src/cluster_clusterpedia_io/v1alpha2/clustersyncresources.rs +++ b/kube-custom-resources-rs/src/cluster_clusterpedia_io/v1alpha2/clustersyncresources.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/clusterpedia-io/clusterpedia/cluster.clusterpedia.io/v1alpha2/clustersyncresources.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/clusterpedia-io/clusterpedia/cluster.clusterpedia.io/v1alpha2/clustersyncresources.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cluster_clusterpedia_io/v1alpha2/pediaclusters.rs b/kube-custom-resources-rs/src/cluster_clusterpedia_io/v1alpha2/pediaclusters.rs index da28e0e53..669265195 100644 --- a/kube-custom-resources-rs/src/cluster_clusterpedia_io/v1alpha2/pediaclusters.rs +++ b/kube-custom-resources-rs/src/cluster_clusterpedia_io/v1alpha2/pediaclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/clusterpedia-io/clusterpedia/cluster.clusterpedia.io/v1alpha2/pediaclusters.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/clusterpedia-io/clusterpedia/cluster.clusterpedia.io/v1alpha2/pediaclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,10 +10,11 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "cluster.clusterpedia.io", version = "v1alpha2", kind = "PediaCluster", plural = "pediaclusters")] #[kube(status = "PediaClusterStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PediaClusterSpec { #[serde(default, skip_serializing_if = "Option::is_none")] @@ -38,7 +39,7 @@ pub struct PediaClusterSpec { pub token_data: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PediaClusterSyncResources { pub group: String, pub resources: Vec, @@ -46,7 +47,7 @@ pub struct PediaClusterSyncResources { pub versions: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PediaClusterStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub apiserver: Option, @@ -60,13 +61,13 @@ pub struct PediaClusterStatus { pub version: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PediaClusterStatusSyncResources { pub group: String, pub resources: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PediaClusterStatusSyncResourcesResources { pub kind: String, pub name: String, @@ -75,7 +76,7 @@ pub struct PediaClusterStatusSyncResourcesResources { pub sync_conditions: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PediaClusterStatusSyncResourcesResourcesSyncConditions { #[serde(rename = "lastTransitionTime")] pub last_transition_time: String, diff --git a/kube-custom-resources-rs/src/cluster_ipfs_io/v1alpha1/circuitrelays.rs b/kube-custom-resources-rs/src/cluster_ipfs_io/v1alpha1/circuitrelays.rs index a6439f7c3..111afc982 100644 --- a/kube-custom-resources-rs/src/cluster_ipfs_io/v1alpha1/circuitrelays.rs +++ b/kube-custom-resources-rs/src/cluster_ipfs_io/v1alpha1/circuitrelays.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/ipfs-cluster/ipfs-operator/cluster.ipfs.io/v1alpha1/circuitrelays.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/ipfs-cluster/ipfs-operator/cluster.ipfs.io/v1alpha1/circuitrelays.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cluster_ipfs_io/v1alpha1/ipfsclusters.rs b/kube-custom-resources-rs/src/cluster_ipfs_io/v1alpha1/ipfsclusters.rs index a5a0c7833..5987ab404 100644 --- a/kube-custom-resources-rs/src/cluster_ipfs_io/v1alpha1/ipfsclusters.rs +++ b/kube-custom-resources-rs/src/cluster_ipfs_io/v1alpha1/ipfsclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/ipfs-cluster/ipfs-operator/cluster.ipfs.io/v1alpha1/ipfsclusters.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/ipfs-cluster/ipfs-operator/cluster.ipfs.io/v1alpha1/ipfsclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// IpfsClusterSpec defines the desired state of the IpfsCluster. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "cluster.ipfs.io", version = "v1alpha1", kind = "IpfsCluster", plural = "ipfsclusters")] #[kube(namespaced)] #[kube(status = "IpfsClusterStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct IpfsClusterSpec { /// clusterStorage defines the amount of storage to be used by IPFS Cluster. @@ -41,14 +42,14 @@ pub struct IpfsClusterSpec { pub reprovider: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IpfsClusterFollows { pub name: String, pub template: String, } /// ipfsResources specifies the resource requirements for each IPFS container. If this value is omitted, then the operator will automatically determine these settings based on the storage sizes used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IpfsClusterIpfsResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -59,7 +60,7 @@ pub struct IpfsClusterIpfsResources { } /// networking defines network configuration settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IpfsClusterNetworking { /// circuitRelays defines how many CircuitRelays should be created. #[serde(rename = "circuitRelays")] @@ -70,7 +71,7 @@ pub struct IpfsClusterNetworking { } /// reprovider Describes the settings that each IPFS node should use when reproviding content. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IpfsClusterReprovider { /// Interval sets the time between rounds of reproviding local content to the routing system. Defaults to '12h'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -91,7 +92,7 @@ pub enum IpfsClusterReproviderStrategy { Roots, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IpfsClusterStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "circuitRelays")] pub circuit_relays: Option>, diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/clusters.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/clusters.rs index 0aa957939..ac95b47b8 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/clusters.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/clusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha3/clusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha3/clusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinedeployments.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinedeployments.rs index d3c690737..787f377c2 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinedeployments.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinedeployments.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha3/machinedeployments.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha3/machinedeployments.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinehealthchecks.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinehealthchecks.rs index c0f1a0291..e8070c91e 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinehealthchecks.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinehealthchecks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha3/machinehealthchecks.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha3/machinehealthchecks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinepools.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinepools.rs index b33f9bb5a..199e9e339 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinepools.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinepools.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha3/machinepools.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha3/machinepools.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machines.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machines.rs index ed7c78af5..df87eec8e 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machines.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machines.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha3/machines.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha3/machines.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinesets.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinesets.rs index b47741a28..d6fdebfc5 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinesets.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha3/machinesets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha3/machinesets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha3/machinesets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/clusterclasses.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/clusterclasses.rs index 58b19bfaf..68fddbd08 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/clusterclasses.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/clusterclasses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha4/clusterclasses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha4/clusterclasses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/clusters.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/clusters.rs index 31db0bf49..27967355e 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/clusters.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/clusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha4/clusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha4/clusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinedeployments.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinedeployments.rs index f75aca92c..df6871f27 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinedeployments.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinedeployments.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha4/machinedeployments.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha4/machinedeployments.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinehealthchecks.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinehealthchecks.rs index 3a9d5aa23..6d1a4ba68 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinehealthchecks.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinehealthchecks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha4/machinehealthchecks.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha4/machinehealthchecks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinepools.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinepools.rs index 8bb626d61..a7cf8f320 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinepools.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinepools.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha4/machinepools.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha4/machinepools.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machines.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machines.rs index c67929095..2daa0b11b 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machines.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machines.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha4/machines.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha4/machines.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinesets.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinesets.rs index a1cec859d..47c000a64 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinesets.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1alpha4/machinesets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha4/machinesets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1alpha4/machinesets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/clusterclasses.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/clusterclasses.rs index bc4a41da5..4b2973677 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/clusterclasses.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/clusterclasses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/clusterclasses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/clusterclasses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/clusters.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/clusters.rs index 55b8aa5cf..5ac9d03a5 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/clusters.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/clusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/clusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/clusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinedeployments.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinedeployments.rs index d04ff8faf..83d1013a8 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinedeployments.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinedeployments.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/machinedeployments.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/machinedeployments.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinehealthchecks.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinehealthchecks.rs index 634667ff3..b4d3f5fa0 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinehealthchecks.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinehealthchecks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/machinehealthchecks.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/machinehealthchecks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinepools.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinepools.rs index e447b2840..72f5f50a7 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinepools.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinepools.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/machinepools.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/machinepools.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machines.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machines.rs index f7993324c..d19c18559 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machines.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machines.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/machines.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/machines.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinesets.rs b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinesets.rs index 98ec8a0c9..c87eac8d8 100644 --- a/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinesets.rs +++ b/kube-custom-resources-rs/src/cluster_x_k8s_io/v1beta1/machinesets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/machinesets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/cluster.x-k8s.io/v1beta1/machinesets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/clusters_clusternet_io/v1beta1/clusterregistrationrequests.rs b/kube-custom-resources-rs/src/clusters_clusternet_io/v1beta1/clusterregistrationrequests.rs index a030a1bf3..8e39ec816 100644 --- a/kube-custom-resources-rs/src/clusters_clusternet_io/v1beta1/clusterregistrationrequests.rs +++ b/kube-custom-resources-rs/src/clusters_clusternet_io/v1beta1/clusterregistrationrequests.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/clusters.clusternet.io/v1beta1/clusterregistrationrequests.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/clusters.clusternet.io/v1beta1/clusterregistrationrequests.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/clusters_clusternet_io/v1beta1/managedclusters.rs b/kube-custom-resources-rs/src/clusters_clusternet_io/v1beta1/managedclusters.rs index 5dcbe7da8..50940ff2a 100644 --- a/kube-custom-resources-rs/src/clusters_clusternet_io/v1beta1/managedclusters.rs +++ b/kube-custom-resources-rs/src/clusters_clusternet_io/v1beta1/managedclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/clusters.clusternet.io/v1beta1/managedclusters.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/clusters.clusternet.io/v1beta1/managedclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -54,7 +54,7 @@ pub enum ManagedClusterSyncMode { /// The node this Taint is attached to has the "effect" on /// any pod that does not tolerate the Taint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagedClusterTaints { /// Required. The effect of the taint on pods /// that do not tolerate the taint. @@ -72,7 +72,7 @@ pub struct ManagedClusterTaints { } /// ManagedClusterStatus defines the observed state of ManagedCluster -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagedClusterStatus { /// agentVersion is the clusternet agent version of the sub cluster #[serde(default, skip_serializing_if = "Option::is_none", rename = "agentVersion")] @@ -155,7 +155,7 @@ pub struct ManagedClusterStatus { } /// NodeStatistics is the info summary of nodes in the cluster -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagedClusterStatusNodeStatistics { /// LostNodes is the number of states lost nodes in the cluster #[serde(default, skip_serializing_if = "Option::is_none", rename = "lostNodes")] @@ -172,7 +172,7 @@ pub struct ManagedClusterStatusNodeStatistics { } /// PodStatistics is the info summary of pods in the cluster -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagedClusterStatusPodStatistics { /// RunningPods is the number of running pods in the cluster #[serde(default, skip_serializing_if = "Option::is_none", rename = "runningPods")] @@ -183,7 +183,7 @@ pub struct ManagedClusterStatusPodStatistics { } /// ResourceUsage is the cpu(m) and memory(Mi) already used in the cluster -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagedClusterStatusResourceUsage { /// CpuUsage is the total cpu(m) already used in the whole cluster, k8s reserved not include #[serde(default, skip_serializing_if = "Option::is_none", rename = "cpuUsage")] diff --git a/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplateinstances.rs b/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplateinstances.rs index 68a08aed8..798b4557c 100644 --- a/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplateinstances.rs +++ b/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplateinstances.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/stolostron/cluster-templates-operator/clustertemplate.openshift.io/v1alpha1/clustertemplateinstances.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/stolostron/cluster-templates-operator/clustertemplate.openshift.io/v1alpha1/clustertemplateinstances.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,11 +10,12 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "clustertemplate.openshift.io", version = "v1alpha1", kind = "ClusterTemplateInstance", plural = "clustertemplateinstances")] #[kube(namespaced)] #[kube(status = "ClusterTemplateInstanceStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterTemplateInstanceSpec { /// A reference to ClusterTemplate which will be used for installing and setting up the cluster @@ -28,7 +29,7 @@ pub struct ClusterTemplateInstanceSpec { pub parameters: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTemplateInstanceParameters { /// Name of the application set to which parameter is applied #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterSetup")] @@ -39,7 +40,7 @@ pub struct ClusterTemplateInstanceParameters { pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTemplateInstanceStatus { /// A reference for secret which contains username and password under keys "username" and "password" #[serde(default, skip_serializing_if = "Option::is_none", rename = "adminPassword")] @@ -74,14 +75,14 @@ pub struct ClusterTemplateInstanceStatus { } /// A reference for secret which contains username and password under keys "username" and "password" -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTemplateInstanceStatusAdminPassword { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTemplateInstanceStatusClusterSetup { /// Description of the cluster setup status pub message: String, @@ -92,7 +93,7 @@ pub struct ClusterTemplateInstanceStatusClusterSetup { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTemplateInstanceStatusClusterSetupSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -100,7 +101,7 @@ pub struct ClusterTemplateInstanceStatusClusterSetupSecrets { } /// A reference for secret which contains kubeconfig under key "kubeconfig" -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTemplateInstanceStatusKubeconfig { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -108,7 +109,7 @@ pub struct ClusterTemplateInstanceStatusKubeconfig { } /// A reference to ManagedCluster resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTemplateInstanceStatusManagedCluster { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplatequotas.rs b/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplatequotas.rs index fb91e1f0e..52cb6ae59 100644 --- a/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplatequotas.rs +++ b/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplatequotas.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/stolostron/cluster-templates-operator/clustertemplate.openshift.io/v1alpha1/clustertemplatequotas.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/stolostron/cluster-templates-operator/clustertemplate.openshift.io/v1alpha1/clustertemplatequotas.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplates.rs b/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplates.rs index 2254b550a..3205d7c4f 100644 --- a/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplates.rs +++ b/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/stolostron/cluster-templates-operator/clustertemplate.openshift.io/v1alpha1/clustertemplates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/stolostron/cluster-templates-operator/clustertemplate.openshift.io/v1alpha1/clustertemplates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplatesetup.rs b/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplatesetup.rs index bcfc01dec..c01c28448 100644 --- a/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplatesetup.rs +++ b/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/clustertemplatesetup.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/stolostron/cluster-templates-operator/clustertemplate.openshift.io/v1alpha1/clustertemplatesetup.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/stolostron/cluster-templates-operator/clustertemplate.openshift.io/v1alpha1/clustertemplatesetup.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/config.rs b/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/config.rs index 95fe2e6c4..6fd8ab48f 100644 --- a/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/config.rs +++ b/kube-custom-resources-rs/src/clustertemplate_openshift_io/v1alpha1/config.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/stolostron/cluster-templates-operator/clustertemplate.openshift.io/v1alpha1/config.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/stolostron/cluster-templates-operator/clustertemplate.openshift.io/v1alpha1/config.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/confidentialcontainers_org/v1beta1/ccruntimes.rs b/kube-custom-resources-rs/src/confidentialcontainers_org/v1beta1/ccruntimes.rs index d2f224e46..3617aedd6 100644 --- a/kube-custom-resources-rs/src/confidentialcontainers_org/v1beta1/ccruntimes.rs +++ b/kube-custom-resources-rs/src/confidentialcontainers_org/v1beta1/ccruntimes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/confidential-containers/operator/confidentialcontainers.org/v1beta1/ccruntimes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/confidential-containers/operator/confidentialcontainers.org/v1beta1/ccruntimes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -28,7 +28,7 @@ pub struct CcRuntimeSpec { } /// CcNodeSelector is used to select the worker nodes to deploy the runtime if not specified, all worker nodes are selected -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeCcNodeSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -39,7 +39,7 @@ pub struct CcRuntimeCcNodeSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeCcNodeSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -119,7 +119,7 @@ pub struct CcRuntimeConfig { } /// This specifies the registry secret to pull of the container images -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigImagePullSecret { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -127,7 +127,7 @@ pub struct CcRuntimeConfigImagePullSecret { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigEnvironmentVariables { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -140,7 +140,7 @@ pub struct CcRuntimeConfigEnvironmentVariables { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigEnvironmentVariablesValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -157,7 +157,7 @@ pub struct CcRuntimeConfigEnvironmentVariablesValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigEnvironmentVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -170,7 +170,7 @@ pub struct CcRuntimeConfigEnvironmentVariablesValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigEnvironmentVariablesValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -181,7 +181,7 @@ pub struct CcRuntimeConfigEnvironmentVariablesValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigEnvironmentVariablesValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -194,7 +194,7 @@ pub struct CcRuntimeConfigEnvironmentVariablesValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigEnvironmentVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -216,7 +216,7 @@ pub enum CcRuntimeConfigInstallType { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -238,7 +238,7 @@ pub struct CcRuntimeConfigInstallerVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -336,7 +336,7 @@ pub struct CcRuntimeConfigInstallerVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -353,7 +353,7 @@ pub struct CcRuntimeConfigInstallerVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -376,7 +376,7 @@ pub struct CcRuntimeConfigInstallerVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -390,7 +390,7 @@ pub struct CcRuntimeConfigInstallerVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -412,7 +412,7 @@ pub struct CcRuntimeConfigInstallerVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -420,7 +420,7 @@ pub struct CcRuntimeConfigInstallerVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -437,7 +437,7 @@ pub struct CcRuntimeConfigInstallerVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -445,7 +445,7 @@ pub struct CcRuntimeConfigInstallerVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -462,7 +462,7 @@ pub struct CcRuntimeConfigInstallerVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -474,7 +474,7 @@ pub struct CcRuntimeConfigInstallerVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -493,7 +493,7 @@ pub struct CcRuntimeConfigInstallerVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -501,7 +501,7 @@ pub struct CcRuntimeConfigInstallerVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -512,7 +512,7 @@ pub struct CcRuntimeConfigInstallerVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -528,7 +528,7 @@ pub struct CcRuntimeConfigInstallerVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -539,7 +539,7 @@ pub struct CcRuntimeConfigInstallerVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -552,7 +552,7 @@ pub struct CcRuntimeConfigInstallerVolumesDownwardApiItemsResourceFieldRef { } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -567,7 +567,7 @@ pub struct CcRuntimeConfigInstallerVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -581,7 +581,7 @@ pub struct CcRuntimeConfigInstallerVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -591,12 +591,12 @@ pub struct CcRuntimeConfigInstallerVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -625,7 +625,7 @@ pub struct CcRuntimeConfigInstallerVolumesEphemeralVolumeClaimTemplateSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -637,7 +637,7 @@ pub struct CcRuntimeConfigInstallerVolumesEphemeralVolumeClaimTemplateSpecDataSo } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -652,7 +652,7 @@ pub struct CcRuntimeConfigInstallerVolumesEphemeralVolumeClaimTemplateSpecDataSo } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -668,14 +668,14 @@ pub struct CcRuntimeConfigInstallerVolumesEphemeralVolumeClaimTemplateSpecResour } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -686,7 +686,7 @@ pub struct CcRuntimeConfigInstallerVolumesEphemeralVolumeClaimTemplateSpecSelect } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -698,7 +698,7 @@ pub struct CcRuntimeConfigInstallerVolumesEphemeralVolumeClaimTemplateSpecSelect } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -718,7 +718,7 @@ pub struct CcRuntimeConfigInstallerVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -737,7 +737,7 @@ pub struct CcRuntimeConfigInstallerVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -745,7 +745,7 @@ pub struct CcRuntimeConfigInstallerVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -756,7 +756,7 @@ pub struct CcRuntimeConfigInstallerVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -773,7 +773,7 @@ pub struct CcRuntimeConfigInstallerVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -786,7 +786,7 @@ pub struct CcRuntimeConfigInstallerVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -798,7 +798,7 @@ pub struct CcRuntimeConfigInstallerVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -808,7 +808,7 @@ pub struct CcRuntimeConfigInstallerVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -844,7 +844,7 @@ pub struct CcRuntimeConfigInstallerVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -852,7 +852,7 @@ pub struct CcRuntimeConfigInstallerVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -864,7 +864,7 @@ pub struct CcRuntimeConfigInstallerVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -875,7 +875,7 @@ pub struct CcRuntimeConfigInstallerVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -886,7 +886,7 @@ pub struct CcRuntimeConfigInstallerVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -900,7 +900,7 @@ pub struct CcRuntimeConfigInstallerVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -911,7 +911,7 @@ pub struct CcRuntimeConfigInstallerVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -928,7 +928,7 @@ pub struct CcRuntimeConfigInstallerVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -942,7 +942,7 @@ pub struct CcRuntimeConfigInstallerVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -954,7 +954,7 @@ pub struct CcRuntimeConfigInstallerVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -962,7 +962,7 @@ pub struct CcRuntimeConfigInstallerVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -978,7 +978,7 @@ pub struct CcRuntimeConfigInstallerVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -989,7 +989,7 @@ pub struct CcRuntimeConfigInstallerVolumesProjectedSourcesDownwardApiItemsFieldR } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1002,7 +1002,7 @@ pub struct CcRuntimeConfigInstallerVolumesProjectedSourcesDownwardApiItemsResour } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1016,7 +1016,7 @@ pub struct CcRuntimeConfigInstallerVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -1028,7 +1028,7 @@ pub struct CcRuntimeConfigInstallerVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1041,7 +1041,7 @@ pub struct CcRuntimeConfigInstallerVolumesProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1062,7 +1062,7 @@ pub struct CcRuntimeConfigInstallerVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1089,7 +1089,7 @@ pub struct CcRuntimeConfigInstallerVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1097,7 +1097,7 @@ pub struct CcRuntimeConfigInstallerVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1130,7 +1130,7 @@ pub struct CcRuntimeConfigInstallerVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1138,7 +1138,7 @@ pub struct CcRuntimeConfigInstallerVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1155,7 +1155,7 @@ pub struct CcRuntimeConfigInstallerVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesSecretItems { /// key is the key to project. pub key: String, @@ -1167,7 +1167,7 @@ pub struct CcRuntimeConfigInstallerVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1187,7 +1187,7 @@ pub struct CcRuntimeConfigInstallerVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1195,7 +1195,7 @@ pub struct CcRuntimeConfigInstallerVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigInstallerVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1212,7 +1212,7 @@ pub struct CcRuntimeConfigInstallerVolumesVsphereVolume { } /// This specifies the configuration for the post-uninstall daemonset -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstall { /// This specifies the command executes before UnInstallCmd #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1232,7 +1232,7 @@ pub struct CcRuntimeConfigPostUninstall { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallEnvironmentVariables { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -1245,7 +1245,7 @@ pub struct CcRuntimeConfigPostUninstallEnvironmentVariables { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallEnvironmentVariablesValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1262,7 +1262,7 @@ pub struct CcRuntimeConfigPostUninstallEnvironmentVariablesValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallEnvironmentVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1275,7 +1275,7 @@ pub struct CcRuntimeConfigPostUninstallEnvironmentVariablesValueFromConfigMapKey } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallEnvironmentVariablesValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1286,7 +1286,7 @@ pub struct CcRuntimeConfigPostUninstallEnvironmentVariablesValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallEnvironmentVariablesValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1299,7 +1299,7 @@ pub struct CcRuntimeConfigPostUninstallEnvironmentVariablesValueFromResourceFiel } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallEnvironmentVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1312,7 +1312,7 @@ pub struct CcRuntimeConfigPostUninstallEnvironmentVariablesValueFromSecretKeyRef } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -1334,7 +1334,7 @@ pub struct CcRuntimeConfigPostUninstallVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -1432,7 +1432,7 @@ pub struct CcRuntimeConfigPostUninstallVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1449,7 +1449,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -1472,7 +1472,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -1486,7 +1486,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -1508,7 +1508,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1516,7 +1516,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1533,7 +1533,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1541,7 +1541,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1558,7 +1558,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -1570,7 +1570,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -1589,7 +1589,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1597,7 +1597,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1608,7 +1608,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -1624,7 +1624,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1635,7 +1635,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1648,7 +1648,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesDownwardApiItemsResourceFieldRef { } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1663,7 +1663,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -1677,7 +1677,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1687,12 +1687,12 @@ pub struct CcRuntimeConfigPostUninstallVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -1721,7 +1721,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesEphemeralVolumeClaimTemplateSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1733,7 +1733,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesEphemeralVolumeClaimTemplateSpecDa } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1748,7 +1748,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesEphemeralVolumeClaimTemplateSpecDa } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1764,14 +1764,14 @@ pub struct CcRuntimeConfigPostUninstallVolumesEphemeralVolumeClaimTemplateSpecRe } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1782,7 +1782,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesEphemeralVolumeClaimTemplateSpecSe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1794,7 +1794,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesEphemeralVolumeClaimTemplateSpecSe } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1814,7 +1814,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -1833,7 +1833,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1841,7 +1841,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -1852,7 +1852,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1869,7 +1869,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1882,7 +1882,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -1894,7 +1894,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -1904,7 +1904,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -1940,7 +1940,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1948,7 +1948,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -1960,7 +1960,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -1971,7 +1971,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1982,7 +1982,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1996,7 +1996,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2007,7 +2007,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2024,7 +2024,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2038,7 +2038,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -2050,7 +2050,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2058,7 +2058,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -2074,7 +2074,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2085,7 +2085,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesProjectedSourcesDownwardApiItemsFi } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2098,7 +2098,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesProjectedSourcesDownwardApiItemsRe } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2112,7 +2112,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -2124,7 +2124,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2137,7 +2137,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesProjectedSourcesServiceAccountToke } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2158,7 +2158,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2185,7 +2185,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2193,7 +2193,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2226,7 +2226,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2234,7 +2234,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2251,7 +2251,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesSecretItems { /// key is the key to project. pub key: String, @@ -2263,7 +2263,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2283,7 +2283,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2291,7 +2291,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPostUninstallVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2308,7 +2308,7 @@ pub struct CcRuntimeConfigPostUninstallVolumesVsphereVolume { } /// This specifies the configuration for the pre-install daemonset -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstall { /// This specifies the command executes before InstallCmd #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2328,7 +2328,7 @@ pub struct CcRuntimeConfigPreInstall { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallEnvironmentVariables { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -2341,7 +2341,7 @@ pub struct CcRuntimeConfigPreInstallEnvironmentVariables { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallEnvironmentVariablesValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -2358,7 +2358,7 @@ pub struct CcRuntimeConfigPreInstallEnvironmentVariablesValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallEnvironmentVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -2371,7 +2371,7 @@ pub struct CcRuntimeConfigPreInstallEnvironmentVariablesValueFromConfigMapKeyRef } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallEnvironmentVariablesValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2382,7 +2382,7 @@ pub struct CcRuntimeConfigPreInstallEnvironmentVariablesValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallEnvironmentVariablesValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2395,7 +2395,7 @@ pub struct CcRuntimeConfigPreInstallEnvironmentVariablesValueFromResourceFieldRe } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallEnvironmentVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2408,7 +2408,7 @@ pub struct CcRuntimeConfigPreInstallEnvironmentVariablesValueFromSecretKeyRef { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -2430,7 +2430,7 @@ pub struct CcRuntimeConfigPreInstallVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -2528,7 +2528,7 @@ pub struct CcRuntimeConfigPreInstallVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2545,7 +2545,7 @@ pub struct CcRuntimeConfigPreInstallVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -2568,7 +2568,7 @@ pub struct CcRuntimeConfigPreInstallVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -2582,7 +2582,7 @@ pub struct CcRuntimeConfigPreInstallVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -2604,7 +2604,7 @@ pub struct CcRuntimeConfigPreInstallVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2612,7 +2612,7 @@ pub struct CcRuntimeConfigPreInstallVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2629,7 +2629,7 @@ pub struct CcRuntimeConfigPreInstallVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2637,7 +2637,7 @@ pub struct CcRuntimeConfigPreInstallVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2654,7 +2654,7 @@ pub struct CcRuntimeConfigPreInstallVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -2666,7 +2666,7 @@ pub struct CcRuntimeConfigPreInstallVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -2685,7 +2685,7 @@ pub struct CcRuntimeConfigPreInstallVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2693,7 +2693,7 @@ pub struct CcRuntimeConfigPreInstallVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2704,7 +2704,7 @@ pub struct CcRuntimeConfigPreInstallVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -2720,7 +2720,7 @@ pub struct CcRuntimeConfigPreInstallVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2731,7 +2731,7 @@ pub struct CcRuntimeConfigPreInstallVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2744,7 +2744,7 @@ pub struct CcRuntimeConfigPreInstallVolumesDownwardApiItemsResourceFieldRef { } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2759,7 +2759,7 @@ pub struct CcRuntimeConfigPreInstallVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -2773,7 +2773,7 @@ pub struct CcRuntimeConfigPreInstallVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2783,12 +2783,12 @@ pub struct CcRuntimeConfigPreInstallVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -2817,7 +2817,7 @@ pub struct CcRuntimeConfigPreInstallVolumesEphemeralVolumeClaimTemplateSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2829,7 +2829,7 @@ pub struct CcRuntimeConfigPreInstallVolumesEphemeralVolumeClaimTemplateSpecDataS } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2844,7 +2844,7 @@ pub struct CcRuntimeConfigPreInstallVolumesEphemeralVolumeClaimTemplateSpecDataS } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2860,14 +2860,14 @@ pub struct CcRuntimeConfigPreInstallVolumesEphemeralVolumeClaimTemplateSpecResou } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2878,7 +2878,7 @@ pub struct CcRuntimeConfigPreInstallVolumesEphemeralVolumeClaimTemplateSpecSelec } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2890,7 +2890,7 @@ pub struct CcRuntimeConfigPreInstallVolumesEphemeralVolumeClaimTemplateSpecSelec } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2910,7 +2910,7 @@ pub struct CcRuntimeConfigPreInstallVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -2929,7 +2929,7 @@ pub struct CcRuntimeConfigPreInstallVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2937,7 +2937,7 @@ pub struct CcRuntimeConfigPreInstallVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -2948,7 +2948,7 @@ pub struct CcRuntimeConfigPreInstallVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2965,7 +2965,7 @@ pub struct CcRuntimeConfigPreInstallVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2978,7 +2978,7 @@ pub struct CcRuntimeConfigPreInstallVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -2990,7 +2990,7 @@ pub struct CcRuntimeConfigPreInstallVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -3000,7 +3000,7 @@ pub struct CcRuntimeConfigPreInstallVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -3036,7 +3036,7 @@ pub struct CcRuntimeConfigPreInstallVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3044,7 +3044,7 @@ pub struct CcRuntimeConfigPreInstallVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -3056,7 +3056,7 @@ pub struct CcRuntimeConfigPreInstallVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -3067,7 +3067,7 @@ pub struct CcRuntimeConfigPreInstallVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3078,7 +3078,7 @@ pub struct CcRuntimeConfigPreInstallVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3092,7 +3092,7 @@ pub struct CcRuntimeConfigPreInstallVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -3103,7 +3103,7 @@ pub struct CcRuntimeConfigPreInstallVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3120,7 +3120,7 @@ pub struct CcRuntimeConfigPreInstallVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3134,7 +3134,7 @@ pub struct CcRuntimeConfigPreInstallVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -3146,7 +3146,7 @@ pub struct CcRuntimeConfigPreInstallVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3154,7 +3154,7 @@ pub struct CcRuntimeConfigPreInstallVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -3170,7 +3170,7 @@ pub struct CcRuntimeConfigPreInstallVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3181,7 +3181,7 @@ pub struct CcRuntimeConfigPreInstallVolumesProjectedSourcesDownwardApiItemsField } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -3194,7 +3194,7 @@ pub struct CcRuntimeConfigPreInstallVolumesProjectedSourcesDownwardApiItemsResou } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3208,7 +3208,7 @@ pub struct CcRuntimeConfigPreInstallVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -3220,7 +3220,7 @@ pub struct CcRuntimeConfigPreInstallVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3233,7 +3233,7 @@ pub struct CcRuntimeConfigPreInstallVolumesProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3254,7 +3254,7 @@ pub struct CcRuntimeConfigPreInstallVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3281,7 +3281,7 @@ pub struct CcRuntimeConfigPreInstallVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3289,7 +3289,7 @@ pub struct CcRuntimeConfigPreInstallVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3322,7 +3322,7 @@ pub struct CcRuntimeConfigPreInstallVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3330,7 +3330,7 @@ pub struct CcRuntimeConfigPreInstallVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -3347,7 +3347,7 @@ pub struct CcRuntimeConfigPreInstallVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesSecretItems { /// key is the key to project. pub key: String, @@ -3359,7 +3359,7 @@ pub struct CcRuntimeConfigPreInstallVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3379,7 +3379,7 @@ pub struct CcRuntimeConfigPreInstallVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3387,7 +3387,7 @@ pub struct CcRuntimeConfigPreInstallVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigPreInstallVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3404,7 +3404,7 @@ pub struct CcRuntimeConfigPreInstallVolumesVsphereVolume { } /// RuntimeClass holds the name and the snapshotter to be used by a runtime class -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeConfigRuntimeClasses { /// Name of the runtime class pub name: String, @@ -3445,7 +3445,7 @@ pub struct CcRuntimeStatus { } /// InstallationStatus reflects the status of the ongoing runtime installation -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeStatusInstallationStatus { /// Completed reflects the status of nodes that have completed the installation #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3459,7 +3459,7 @@ pub struct CcRuntimeStatusInstallationStatus { } /// Completed reflects the status of nodes that have completed the installation -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeStatusInstallationStatusCompleted { /// CompletedNodesCount reflects the number of nodes that have completed install operation #[serde(default, skip_serializing_if = "Option::is_none", rename = "completedNodesCount")] @@ -3470,7 +3470,7 @@ pub struct CcRuntimeStatusInstallationStatusCompleted { } /// Failed reflects the status of nodes that have failed installation -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeStatusInstallationStatusFailed { /// FailedNodesCount reflects the number of nodes that have failed installation #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedNodesCount")] @@ -3481,7 +3481,7 @@ pub struct CcRuntimeStatusInstallationStatusFailed { } /// FailedNodeStatus holds the name and the error message of the failed node -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeStatusInstallationStatusFailedFailedNodesList { /// Error message of the failed node reported by the installation daemon pub error: String, @@ -3490,7 +3490,7 @@ pub struct CcRuntimeStatusInstallationStatusFailedFailedNodesList { } /// InProgress reflects the status of nodes that are in the process of installation -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeStatusInstallationStatusInProgress { #[serde(default, skip_serializing_if = "Option::is_none", rename = "binariesInstallNodesList")] pub binaries_install_nodes_list: Option>, @@ -3509,7 +3509,7 @@ pub enum CcRuntimeStatusRuntimeName { } /// UnInstallationStatus reflects the status of the ongoing runtime uninstallation -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeStatusUnInstallationStatus { /// Completed reflects the status of nodes that have completed the uninstallation operation #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3523,7 +3523,7 @@ pub struct CcRuntimeStatusUnInstallationStatus { } /// Completed reflects the status of nodes that have completed the uninstallation operation -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeStatusUnInstallationStatusCompleted { /// CompletedNodesCount reflects the number of nodes that have completed install operation #[serde(default, skip_serializing_if = "Option::is_none", rename = "completedNodesCount")] @@ -3534,7 +3534,7 @@ pub struct CcRuntimeStatusUnInstallationStatusCompleted { } /// Failed reflects the status of nodes that have failed uninstallation -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeStatusUnInstallationStatusFailed { /// FailedNodesCount reflects the number of nodes that have failed installation #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedNodesCount")] @@ -3545,7 +3545,7 @@ pub struct CcRuntimeStatusUnInstallationStatusFailed { } /// FailedNodeStatus holds the name and the error message of the failed node -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeStatusUnInstallationStatusFailedFailedNodesList { /// Error message of the failed node reported by the installation daemon pub error: String, @@ -3554,7 +3554,7 @@ pub struct CcRuntimeStatusUnInstallationStatusFailedFailedNodesList { } /// InProgress reflects the status of nodes that are in the process of uninstallation -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeStatusUnInstallationStatusInProgress { #[serde(default, skip_serializing_if = "Option::is_none", rename = "binariesUninstallNodesList")] pub binaries_uninstall_nodes_list: Option>, @@ -3564,7 +3564,7 @@ pub struct CcRuntimeStatusUnInstallationStatusInProgress { } /// Upgradestatus reflects the status of the ongoing runtime upgrade -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CcRuntimeStatusUpgradeStatus { } diff --git a/kube-custom-resources-rs/src/config_gatekeeper_sh/v1alpha1/configs.rs b/kube-custom-resources-rs/src/config_gatekeeper_sh/v1alpha1/configs.rs index f2a65df24..92088c675 100644 --- a/kube-custom-resources-rs/src/config_gatekeeper_sh/v1alpha1/configs.rs +++ b/kube-custom-resources-rs/src/config_gatekeeper_sh/v1alpha1/configs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/config.gatekeeper.sh/v1alpha1/configs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/config.gatekeeper.sh/v1alpha1/configs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/config_grafana_com/v1/projectconfigs.rs b/kube-custom-resources-rs/src/config_grafana_com/v1/projectconfigs.rs index 7d8f271e8..a331e1d49 100644 --- a/kube-custom-resources-rs/src/config_grafana_com/v1/projectconfigs.rs +++ b/kube-custom-resources-rs/src/config_grafana_com/v1/projectconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/config.grafana.com/v1/projectconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/config.grafana.com/v1/projectconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/config_karmada_io/v1alpha1/resourceinterpretercustomizations.rs b/kube-custom-resources-rs/src/config_karmada_io/v1alpha1/resourceinterpretercustomizations.rs index ba3774c7d..fd7070fb5 100644 --- a/kube-custom-resources-rs/src/config_karmada_io/v1alpha1/resourceinterpretercustomizations.rs +++ b/kube-custom-resources-rs/src/config_karmada_io/v1alpha1/resourceinterpretercustomizations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/config.karmada.io/v1alpha1/resourceinterpretercustomizations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/config.karmada.io/v1alpha1/resourceinterpretercustomizations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/config_karmada_io/v1alpha1/resourceinterpreterwebhookconfigurations.rs b/kube-custom-resources-rs/src/config_karmada_io/v1alpha1/resourceinterpreterwebhookconfigurations.rs index 18db53a39..1de8af890 100644 --- a/kube-custom-resources-rs/src/config_karmada_io/v1alpha1/resourceinterpreterwebhookconfigurations.rs +++ b/kube-custom-resources-rs/src/config_karmada_io/v1alpha1/resourceinterpreterwebhookconfigurations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/config.karmada.io/v1alpha1/resourceinterpreterwebhookconfigurations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/config.karmada.io/v1alpha1/resourceinterpreterwebhookconfigurations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/config_koordinator_sh/v1alpha1/clustercolocationprofiles.rs b/kube-custom-resources-rs/src/config_koordinator_sh/v1alpha1/clustercolocationprofiles.rs index 321c0448c..0f2bb6a5e 100644 --- a/kube-custom-resources-rs/src/config_koordinator_sh/v1alpha1/clustercolocationprofiles.rs +++ b/kube-custom-resources-rs/src/config_koordinator_sh/v1alpha1/clustercolocationprofiles.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/koordinator-sh/koordinator/config.koordinator.sh/v1alpha1/clustercolocationprofiles.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/koordinator-sh/koordinator/config.koordinator.sh/v1alpha1/clustercolocationprofiles.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/config_storageos_com/v1/operatorconfigs.rs b/kube-custom-resources-rs/src/config_storageos_com/v1/operatorconfigs.rs index 2c8aae9ea..376eeb679 100644 --- a/kube-custom-resources-rs/src/config_storageos_com/v1/operatorconfigs.rs +++ b/kube-custom-resources-rs/src/config_storageos_com/v1/operatorconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/storageos/operator/config.storageos.com/v1/operatorconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/storageos/operator/config.storageos.com/v1/operatorconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/control_k8ssandra_io/v1alpha1/cassandratasks.rs b/kube-custom-resources-rs/src/control_k8ssandra_io/v1alpha1/cassandratasks.rs index 44d7f38fc..c47c4370d 100644 --- a/kube-custom-resources-rs/src/control_k8ssandra_io/v1alpha1/cassandratasks.rs +++ b/kube-custom-resources-rs/src/control_k8ssandra_io/v1alpha1/cassandratasks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/k8ssandra/cass-operator/control.k8ssandra.io/v1alpha1/cassandratasks.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/k8ssandra/cass-operator/control.k8ssandra.io/v1alpha1/cassandratasks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clustercollectedstatuses.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clustercollectedstatuses.rs index d9a90cc67..c08d2a674 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clustercollectedstatuses.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clustercollectedstatuses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/clustercollectedstatuses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/clustercollectedstatuses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusterfederatedobjects.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusterfederatedobjects.rs index b171075c9..b26f799df 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusterfederatedobjects.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusterfederatedobjects.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/clusterfederatedobjects.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/clusterfederatedobjects.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusteroverridepolicies.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusteroverridepolicies.rs index 35eba8da0..e915f52bf 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusteroverridepolicies.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusteroverridepolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/clusteroverridepolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/clusteroverridepolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,10 +10,11 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "core.kubeadmiral.io", version = "v1alpha1", kind = "ClusterOverridePolicy", plural = "clusteroverridepolicies")] #[kube(status = "ClusterOverridePolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterOverridePolicySpec { /// OverrideRules specify the override rules. Each rule specifies the overriders and the clusters these overriders should be applied to. @@ -21,7 +22,7 @@ pub struct ClusterOverridePolicySpec { pub override_rules: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyOverrideRules { /// Overriders specify the overriders to be applied in the target clusters. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -32,7 +33,7 @@ pub struct ClusterOverridePolicyOverrideRules { } /// Overriders specify the overriders to be applied in the target clusters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyOverrideRulesOverriders { /// Annotation specifies overriders that apply to the resource annotations. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -55,7 +56,7 @@ pub struct ClusterOverridePolicyOverrideRulesOverriders { } /// StringMapOverrider represents the rules dedicated to handling resource labels/annotations -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyOverrideRulesOverridersAnnotations { /// Operator specifies the operation. If omitted, defaults to "overwrite". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -75,7 +76,7 @@ pub enum ClusterOverridePolicyOverrideRulesOverridersAnnotationsOperator { Delete, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyOverrideRulesOverridersArgs { /// ContainerName targets the specified container or init container in the pod template. #[serde(rename = "containerName")] @@ -97,7 +98,7 @@ pub enum ClusterOverridePolicyOverrideRulesOverridersArgsOperator { Delete, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyOverrideRulesOverridersCommand { /// ContainerName targets the specified container or init container in the pod template. #[serde(rename = "containerName")] @@ -119,7 +120,7 @@ pub enum ClusterOverridePolicyOverrideRulesOverridersCommandOperator { Delete, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyOverrideRulesOverridersImage { /// ContainerNames are ignored when ImagePath is set. If empty, the image override rule applies to all containers. Otherwise, this override targets the specified container(s) or init container(s) in the pod template. #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerNames")] @@ -163,7 +164,7 @@ pub enum ClusterOverridePolicyOverrideRulesOverridersImageOperationsOperator { Delete, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyOverrideRulesOverridersJsonpatch { /// Operator specifies the operation. If omitted, defaults to "replace". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -176,7 +177,7 @@ pub struct ClusterOverridePolicyOverrideRulesOverridersJsonpatch { } /// StringMapOverrider represents the rules dedicated to handling resource labels/annotations -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyOverrideRulesOverridersLabels { /// Operator specifies the operation. If omitted, defaults to "overwrite". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -197,7 +198,7 @@ pub enum ClusterOverridePolicyOverrideRulesOverridersLabelsOperator { } /// TargetClusters selects the clusters in which the overriders in this rule should be applied. If multiple types of selectors are specified, the overall result is the intersection of all of them. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyOverrideRulesTargetClusters { /// ClusterAffinity selects FederatedClusters by matching their labels and fields against expressions. If multiple terms are specified, their results are ORed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterAffinity")] @@ -210,7 +211,7 @@ pub struct ClusterOverridePolicyOverrideRulesTargetClusters { pub clusters: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyOverrideRulesTargetClustersClusterAffinity { /// A list of cluster selector requirements by cluster labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -260,7 +261,7 @@ pub enum ClusterOverridePolicyOverrideRulesTargetClustersClusterAffinityMatchFie Lt, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "refCount")] pub ref_count: Option, @@ -268,7 +269,7 @@ pub struct ClusterOverridePolicyStatus { pub typed_ref_count: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyStatusTypedRefCount { pub count: i64, #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusterpropagatedversions.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusterpropagatedversions.rs index 85d0e0164..4c57a75d4 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusterpropagatedversions.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusterpropagatedversions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/clusterpropagatedversions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/clusterpropagatedversions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusterpropagationpolicies.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusterpropagationpolicies.rs index 76796e3d9..a8bf7ca2c 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusterpropagationpolicies.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/clusterpropagationpolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/clusterpropagationpolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/clusterpropagationpolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -52,7 +52,7 @@ pub struct ClusterPropagationPolicySpec { } /// Configures behaviors related to auto migration. If absent, auto migration will be disabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPropagationPolicyAutoMigration { /// Besides starting new replicas in other cluster(s), whether to keep the unschedulable replicas in the original cluster so we can go back to the desired state when the cluster recovers. #[serde(default, skip_serializing_if = "Option::is_none", rename = "keepUnschedulableReplicas")] @@ -63,14 +63,14 @@ pub struct ClusterPropagationPolicyAutoMigration { } /// When a replica should be subject to auto migration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPropagationPolicyAutoMigrationWhen { /// A pod will be subject to auto migration if it remains unschedulable beyond this duration. Duration should be specified in a format that can be parsed by Go's time.ParseDuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "podUnschedulableFor")] pub pod_unschedulable_for: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPropagationPolicyClusterAffinity { /// A list of cluster selector requirements by cluster labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -121,7 +121,7 @@ pub enum ClusterPropagationPolicyClusterAffinityMatchFieldsOperator { } /// DesiredPlacement describes a cluster that a federated object can be propagated to and its propagation preferences. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPropagationPolicyPlacement { /// Cluster is the name of the FederatedCluster to propagate to. pub cluster: String, @@ -131,7 +131,7 @@ pub struct ClusterPropagationPolicyPlacement { } /// Preferences contains the cluster's propagation preferences. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPropagationPolicyPlacementPreferences { /// Maximum number of replicas that should be assigned to this cluster workload object. Unbounded if no value provided (default). #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxReplicas")] @@ -154,7 +154,7 @@ pub enum ClusterPropagationPolicyReplicasStrategy { } /// Configures behaviors related to rescheduling. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPropagationPolicyReschedulePolicy { /// DisableRescheduling determines if a federated object can be rescheduled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "disableRescheduling")] @@ -168,7 +168,7 @@ pub struct ClusterPropagationPolicyReschedulePolicy { } /// Configures behaviors related to replica rescheduling. Default set via a post-generation patch. See patch file for details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPropagationPolicyReschedulePolicyReplicaRescheduling { /// If set to true, the scheduler will attempt to prevent migrating existing replicas during rescheduling. In order to do so, replica scheduling preferences might not be fully respected. If set to false, the scheduler will always rebalance the replicas based on the specified preferences, which might cause temporary service disruption. #[serde(default, skip_serializing_if = "Option::is_none", rename = "avoidDisruption")] @@ -176,7 +176,7 @@ pub struct ClusterPropagationPolicyReschedulePolicyReplicaRescheduling { } /// When the related objects should be subject to reschedule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPropagationPolicyReschedulePolicyRescheduleWhen { /// If set to true, changes to clusters' enabled list of api resources will trigger rescheduling. It set to false, the scheduler will reschedule only when other options are triggered or the replicas or the requested resources of the template changed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterAPIResourcesChanged")] @@ -199,7 +199,7 @@ pub enum ClusterPropagationPolicySchedulingMode { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPropagationPolicyTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -218,7 +218,7 @@ pub struct ClusterPropagationPolicyTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPropagationPolicyStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "refCount")] pub ref_count: Option, @@ -226,7 +226,7 @@ pub struct ClusterPropagationPolicyStatus { pub typed_ref_count: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPropagationPolicyStatusTypedRefCount { pub count: i64, #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/collectedstatuses.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/collectedstatuses.rs index 6fbcc98e8..13c5c6869 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/collectedstatuses.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/collectedstatuses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/collectedstatuses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/collectedstatuses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/federatedclusters.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/federatedclusters.rs index a628aefad..56468928c 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/federatedclusters.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/federatedclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/federatedclusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/federatedclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/federatedobjects.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/federatedobjects.rs index 4a1ab806f..236a679f2 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/federatedobjects.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/federatedobjects.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/federatedobjects.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/federatedobjects.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/federatedtypeconfigs.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/federatedtypeconfigs.rs index 783b4e436..adbae8653 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/federatedtypeconfigs.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/federatedtypeconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/federatedtypeconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/federatedtypeconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/overridepolicies.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/overridepolicies.rs index ff6a8737f..1402662ee 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/overridepolicies.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/overridepolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/overridepolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/overridepolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,11 +10,12 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "core.kubeadmiral.io", version = "v1alpha1", kind = "OverridePolicy", plural = "overridepolicies")] #[kube(namespaced)] #[kube(status = "OverridePolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct OverridePolicySpec { /// OverrideRules specify the override rules. Each rule specifies the overriders and the clusters these overriders should be applied to. @@ -22,7 +23,7 @@ pub struct OverridePolicySpec { pub override_rules: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyOverrideRules { /// Overriders specify the overriders to be applied in the target clusters. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -33,7 +34,7 @@ pub struct OverridePolicyOverrideRules { } /// Overriders specify the overriders to be applied in the target clusters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyOverrideRulesOverriders { /// Annotation specifies overriders that apply to the resource annotations. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -56,7 +57,7 @@ pub struct OverridePolicyOverrideRulesOverriders { } /// StringMapOverrider represents the rules dedicated to handling resource labels/annotations -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyOverrideRulesOverridersAnnotations { /// Operator specifies the operation. If omitted, defaults to "overwrite". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -76,7 +77,7 @@ pub enum OverridePolicyOverrideRulesOverridersAnnotationsOperator { Delete, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyOverrideRulesOverridersArgs { /// ContainerName targets the specified container or init container in the pod template. #[serde(rename = "containerName")] @@ -98,7 +99,7 @@ pub enum OverridePolicyOverrideRulesOverridersArgsOperator { Delete, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyOverrideRulesOverridersCommand { /// ContainerName targets the specified container or init container in the pod template. #[serde(rename = "containerName")] @@ -120,7 +121,7 @@ pub enum OverridePolicyOverrideRulesOverridersCommandOperator { Delete, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyOverrideRulesOverridersImage { /// ContainerNames are ignored when ImagePath is set. If empty, the image override rule applies to all containers. Otherwise, this override targets the specified container(s) or init container(s) in the pod template. #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerNames")] @@ -164,7 +165,7 @@ pub enum OverridePolicyOverrideRulesOverridersImageOperationsOperator { Delete, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyOverrideRulesOverridersJsonpatch { /// Operator specifies the operation. If omitted, defaults to "replace". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -177,7 +178,7 @@ pub struct OverridePolicyOverrideRulesOverridersJsonpatch { } /// StringMapOverrider represents the rules dedicated to handling resource labels/annotations -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyOverrideRulesOverridersLabels { /// Operator specifies the operation. If omitted, defaults to "overwrite". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -198,7 +199,7 @@ pub enum OverridePolicyOverrideRulesOverridersLabelsOperator { } /// TargetClusters selects the clusters in which the overriders in this rule should be applied. If multiple types of selectors are specified, the overall result is the intersection of all of them. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyOverrideRulesTargetClusters { /// ClusterAffinity selects FederatedClusters by matching their labels and fields against expressions. If multiple terms are specified, their results are ORed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterAffinity")] @@ -211,7 +212,7 @@ pub struct OverridePolicyOverrideRulesTargetClusters { pub clusters: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyOverrideRulesTargetClustersClusterAffinity { /// A list of cluster selector requirements by cluster labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -261,7 +262,7 @@ pub enum OverridePolicyOverrideRulesTargetClustersClusterAffinityMatchFieldsOper Lt, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "refCount")] pub ref_count: Option, @@ -269,7 +270,7 @@ pub struct OverridePolicyStatus { pub typed_ref_count: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyStatusTypedRefCount { pub count: i64, #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/propagatedversions.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/propagatedversions.rs index 423bbfbbe..beb723755 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/propagatedversions.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/propagatedversions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/propagatedversions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/propagatedversions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/propagationpolicies.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/propagationpolicies.rs index 6a719c04a..2084d6548 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/propagationpolicies.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/propagationpolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/propagationpolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/propagationpolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -53,7 +53,7 @@ pub struct PropagationPolicySpec { } /// Configures behaviors related to auto migration. If absent, auto migration will be disabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PropagationPolicyAutoMigration { /// Besides starting new replicas in other cluster(s), whether to keep the unschedulable replicas in the original cluster so we can go back to the desired state when the cluster recovers. #[serde(default, skip_serializing_if = "Option::is_none", rename = "keepUnschedulableReplicas")] @@ -64,14 +64,14 @@ pub struct PropagationPolicyAutoMigration { } /// When a replica should be subject to auto migration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PropagationPolicyAutoMigrationWhen { /// A pod will be subject to auto migration if it remains unschedulable beyond this duration. Duration should be specified in a format that can be parsed by Go's time.ParseDuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "podUnschedulableFor")] pub pod_unschedulable_for: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PropagationPolicyClusterAffinity { /// A list of cluster selector requirements by cluster labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -122,7 +122,7 @@ pub enum PropagationPolicyClusterAffinityMatchFieldsOperator { } /// DesiredPlacement describes a cluster that a federated object can be propagated to and its propagation preferences. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PropagationPolicyPlacement { /// Cluster is the name of the FederatedCluster to propagate to. pub cluster: String, @@ -132,7 +132,7 @@ pub struct PropagationPolicyPlacement { } /// Preferences contains the cluster's propagation preferences. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PropagationPolicyPlacementPreferences { /// Maximum number of replicas that should be assigned to this cluster workload object. Unbounded if no value provided (default). #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxReplicas")] @@ -155,7 +155,7 @@ pub enum PropagationPolicyReplicasStrategy { } /// Configures behaviors related to rescheduling. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PropagationPolicyReschedulePolicy { /// DisableRescheduling determines if a federated object can be rescheduled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "disableRescheduling")] @@ -169,7 +169,7 @@ pub struct PropagationPolicyReschedulePolicy { } /// Configures behaviors related to replica rescheduling. Default set via a post-generation patch. See patch file for details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PropagationPolicyReschedulePolicyReplicaRescheduling { /// If set to true, the scheduler will attempt to prevent migrating existing replicas during rescheduling. In order to do so, replica scheduling preferences might not be fully respected. If set to false, the scheduler will always rebalance the replicas based on the specified preferences, which might cause temporary service disruption. #[serde(default, skip_serializing_if = "Option::is_none", rename = "avoidDisruption")] @@ -177,7 +177,7 @@ pub struct PropagationPolicyReschedulePolicyReplicaRescheduling { } /// When the related objects should be subject to reschedule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PropagationPolicyReschedulePolicyRescheduleWhen { /// If set to true, changes to clusters' enabled list of api resources will trigger rescheduling. It set to false, the scheduler will reschedule only when other options are triggered or the replicas or the requested resources of the template changed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterAPIResourcesChanged")] @@ -200,7 +200,7 @@ pub enum PropagationPolicySchedulingMode { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PropagationPolicyTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -219,7 +219,7 @@ pub struct PropagationPolicyTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PropagationPolicyStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "refCount")] pub ref_count: Option, @@ -227,7 +227,7 @@ pub struct PropagationPolicyStatus { pub typed_ref_count: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PropagationPolicyStatusTypedRefCount { pub count: i64, #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/schedulerpluginwebhookconfigurations.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/schedulerpluginwebhookconfigurations.rs index f08e6a3dc..9468e75f8 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/schedulerpluginwebhookconfigurations.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/schedulerpluginwebhookconfigurations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/schedulerpluginwebhookconfigurations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/schedulerpluginwebhookconfigurations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/schedulingprofiles.rs b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/schedulingprofiles.rs index 1d0d0bfb7..914874c71 100644 --- a/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/schedulingprofiles.rs +++ b/kube-custom-resources-rs/src/core_kubeadmiral_io/v1alpha1/schedulingprofiles.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/schedulingprofiles.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubewharf/kubeadmiral/core.kubeadmiral.io/v1alpha1/schedulingprofiles.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/core_linuxsuren_github_com/v1alpha1/atests.rs b/kube-custom-resources-rs/src/core_linuxsuren_github_com/v1alpha1/atests.rs index b403e925d..f74e42723 100644 --- a/kube-custom-resources-rs/src/core_linuxsuren_github_com/v1alpha1/atests.rs +++ b/kube-custom-resources-rs/src/core_linuxsuren_github_com/v1alpha1/atests.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/LinuxSuRen/api-testing/core.linuxsuren.github.com/v1alpha1/atests.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/LinuxSuRen/api-testing/core.linuxsuren.github.com/v1alpha1/atests.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/core_openfeature_dev/v1alpha1/featureflagconfigurations.rs b/kube-custom-resources-rs/src/core_openfeature_dev/v1alpha1/featureflagconfigurations.rs index edcdb7388..0b07b6c7c 100644 --- a/kube-custom-resources-rs/src/core_openfeature_dev/v1alpha1/featureflagconfigurations.rs +++ b/kube-custom-resources-rs/src/core_openfeature_dev/v1alpha1/featureflagconfigurations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-feature/open-feature-operator/core.openfeature.dev/v1alpha1/featureflagconfigurations.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-feature/open-feature-operator/core.openfeature.dev/v1alpha1/featureflagconfigurations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { use self::prelude::*; /// FeatureFlagConfigurationSpec defines the desired state of FeatureFlagConfiguration -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "core.openfeature.dev", version = "v1alpha1", kind = "FeatureFlagConfiguration", plural = "featureflagconfigurations")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct FeatureFlagConfigurationSpec { /// FeatureFlagSpec is the json representation of the feature flag @@ -32,7 +33,7 @@ pub struct FeatureFlagConfigurationSpec { } /// FlagDSpec [DEPRECATED]: superseded by FlagSourceConfiguration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationFlagDSpec { #[serde(default, skip_serializing_if = "Option::is_none")] pub envs: Option>, @@ -41,7 +42,7 @@ pub struct FeatureFlagConfigurationFlagDSpec { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationFlagDSpecEnvs { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -62,7 +63,7 @@ pub struct FeatureFlagConfigurationFlagDSpecEnvs { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationFlagDSpecEnvsValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -81,7 +82,7 @@ pub struct FeatureFlagConfigurationFlagDSpecEnvsValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationFlagDSpecEnvsValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -97,7 +98,7 @@ pub struct FeatureFlagConfigurationFlagDSpecEnvsValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationFlagDSpecEnvsValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -109,7 +110,7 @@ pub struct FeatureFlagConfigurationFlagDSpecEnvsValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationFlagDSpecEnvsValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -122,7 +123,7 @@ pub struct FeatureFlagConfigurationFlagDSpecEnvsValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationFlagDSpecEnvsValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -178,7 +179,7 @@ pub struct FeatureFlagConfigurationServiceProvider { /// /// Instead of using this type, create a locally provided and used type that is well-focused on your reference. /// For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationServiceProviderCredentials { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -223,7 +224,7 @@ pub enum FeatureFlagConfigurationServiceProviderName { } /// SyncProvider [DEPRECATED]: superseded by FlagSourceConfiguration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationSyncProvider { /// HttpSyncConfiguration defines the desired configuration for a http sync #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpSyncConfiguration")] @@ -232,7 +233,7 @@ pub struct FeatureFlagConfigurationSyncProvider { } /// HttpSyncConfiguration defines the desired configuration for a http sync -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationSyncProviderHttpSyncConfiguration { #[serde(default, skip_serializing_if = "Option::is_none", rename = "bearerToken")] pub bearer_token: Option, @@ -241,7 +242,7 @@ pub struct FeatureFlagConfigurationSyncProviderHttpSyncConfiguration { } /// FeatureFlagConfigurationStatus defines the observed state of FeatureFlagConfiguration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationStatus { } diff --git a/kube-custom-resources-rs/src/core_openfeature_dev/v1alpha2/featureflagconfigurations.rs b/kube-custom-resources-rs/src/core_openfeature_dev/v1alpha2/featureflagconfigurations.rs index 4dc5087dc..ebc51acc6 100644 --- a/kube-custom-resources-rs/src/core_openfeature_dev/v1alpha2/featureflagconfigurations.rs +++ b/kube-custom-resources-rs/src/core_openfeature_dev/v1alpha2/featureflagconfigurations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-feature/open-feature-operator/core.openfeature.dev/v1alpha2/featureflagconfigurations.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-feature/open-feature-operator/core.openfeature.dev/v1alpha2/featureflagconfigurations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// FeatureFlagConfigurationSpec defines the desired state of FeatureFlagConfiguration -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "core.openfeature.dev", version = "v1alpha2", kind = "FeatureFlagConfiguration", plural = "featureflagconfigurations")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct FeatureFlagConfigurationSpec { /// FeatureFlagSpec is the structured representation of the feature flag specification @@ -36,14 +37,14 @@ pub struct FeatureFlagConfigurationSpec { } /// FeatureFlagSpec is the structured representation of the feature flag specification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationFeatureFlagSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "$evaluators")] pub evaluators: Option>, pub flags: BTreeMap, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationFeatureFlagSpecFlags { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultVariant")] pub default_variant: Option, @@ -65,14 +66,14 @@ pub enum FeatureFlagConfigurationFeatureFlagSpecFlagsState { } /// FlagDSpec [DEPRECATED]: superseded by FlagSourceConfiguration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationFlagDSpec { #[serde(default, skip_serializing_if = "Option::is_none")] pub envs: Option>, } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationFlagDSpecEnvs { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -93,7 +94,7 @@ pub struct FeatureFlagConfigurationFlagDSpecEnvs { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationFlagDSpecEnvsValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -112,7 +113,7 @@ pub struct FeatureFlagConfigurationFlagDSpecEnvsValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationFlagDSpecEnvsValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -128,7 +129,7 @@ pub struct FeatureFlagConfigurationFlagDSpecEnvsValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationFlagDSpecEnvsValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -140,7 +141,7 @@ pub struct FeatureFlagConfigurationFlagDSpecEnvsValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationFlagDSpecEnvsValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -153,7 +154,7 @@ pub struct FeatureFlagConfigurationFlagDSpecEnvsValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationFlagDSpecEnvsValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -168,7 +169,7 @@ pub struct FeatureFlagConfigurationFlagDSpecEnvsValueFromSecretKeyRef { } /// Resources defines flagd sidecar resources. Default to operator sidecar-cpu-* and sidecar-ram-* flags. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -194,7 +195,7 @@ pub struct FeatureFlagConfigurationResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -244,7 +245,7 @@ pub struct FeatureFlagConfigurationServiceProvider { /// /// Instead of using this type, create a locally provided and used type that is well-focused on your reference. /// For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationServiceProviderCredentials { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -289,7 +290,7 @@ pub enum FeatureFlagConfigurationServiceProviderName { } /// SyncProvider [DEPRECATED]: superseded by FlagSourceConfiguration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationSyncProvider { /// HttpSyncConfiguration defines the desired configuration for a http sync #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpSyncConfiguration")] @@ -298,7 +299,7 @@ pub struct FeatureFlagConfigurationSyncProvider { } /// HttpSyncConfiguration defines the desired configuration for a http sync -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationSyncProviderHttpSyncConfiguration { #[serde(default, skip_serializing_if = "Option::is_none", rename = "bearerToken")] pub bearer_token: Option, @@ -307,7 +308,7 @@ pub struct FeatureFlagConfigurationSyncProviderHttpSyncConfiguration { } /// FeatureFlagConfigurationStatus defines the observed state of FeatureFlagConfiguration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FeatureFlagConfigurationStatus { } diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseautoscalers.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseautoscalers.rs index 5746d5674..c6a7d1e59 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseautoscalers.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseautoscalers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaseautoscalers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaseautoscalers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasebackuprestores.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasebackuprestores.rs index b605a9e6d..6429f4b28 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasebackuprestores.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasebackuprestores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasebackuprestores.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasebackuprestores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasebackups.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasebackups.rs index 6ea21e2db..6fb656cf0 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasebackups.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasebackups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasebackups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasebackups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasebuckets.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasebuckets.rs index 119d5999b..3a23f9d5e 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasebuckets.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasebuckets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasebuckets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasebuckets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseclusters.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseclusters.rs index 33a1e6fa7..57caa1206 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseclusters.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaseclusters.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaseclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,10 +13,11 @@ mod prelude { use self::prelude::*; /// ClusterSpec is the specification for a CouchbaseCluster resources, and allows the cluster to be customized. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "couchbase.com", version = "v2", kind = "CouchbaseCluster", plural = "couchbaseclusters")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct CouchbaseClusterSpec { /// AntiAffinity forces the Operator to schedule different Couchbase server pods on different Kubernetes nodes. Anti-affinity reduces the likelihood of unrecoverable failure in the event of a node issue. Use of anti-affinity is highly recommended for production clusters. @@ -102,7 +103,7 @@ pub struct CouchbaseClusterSpec { } /// AutoResourceAllocation populates pod resource requests based on the services running on that pod. When enabled, this feature will calculate the memory request as the total of service allocations defined in `spec.cluster`, plus an overhead defined by `spec.autoResourceAllocation.overheadPercent`.Changing individual allocations for a service will cause a cluster upgrade as allocations are modified in the underlying pods. This field also allows default pod CPU requests and limits to be applied. All resource allocations can be overridden by explicitly configuring them in the `spec.servers.resources` field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterAutoResourceAllocation { /// CPULimits automatically populates the CPU limits across all Couchbase server pods. This field defaults to "4" CPUs. Explicitly specifying the CPU limit for a particular server class will override this value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#resource-units-in-kubernetes #[serde(default, skip_serializing_if = "Option::is_none", rename = "cpuLimits")] @@ -119,7 +120,7 @@ pub struct CouchbaseClusterAutoResourceAllocation { } /// Backup defines whether the Operator should manage automated backups, and how to lookup backup resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterBackup { /// Annotations defines additional annotations to appear on the backup/restore pods. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -162,7 +163,7 @@ pub struct CouchbaseClusterBackup { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterBackupImagePullSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -170,7 +171,7 @@ pub struct CouchbaseClusterBackupImagePullSecrets { } /// Deprecated: by CouchbaseBackup.spec.objectStore.Endpoint ObjectEndpoint contains the configuration for connecting to a custom S3 compliant object store. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterBackupObjectEndpoint { /// The name of the secret, in this namespace, that contains the CA certificate for verification of a TLS endpoint The secret must have the key with the name "tls.crt" #[serde(default, skip_serializing_if = "Option::is_none")] @@ -184,7 +185,7 @@ pub struct CouchbaseClusterBackupObjectEndpoint { } /// Resources is the resource requirements for the backup and restore containers. Will be populated by defaults if not specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterBackupResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -195,7 +196,7 @@ pub struct CouchbaseClusterBackupResources { } /// Selector allows CouchbaseBackup and CouchbaseBackupRestore resources to be filtered based on labels. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterBackupSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -206,7 +207,7 @@ pub struct CouchbaseClusterBackupSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterBackupSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -218,7 +219,7 @@ pub struct CouchbaseClusterBackupSelectorMatchExpressions { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterBackupTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -238,7 +239,7 @@ pub struct CouchbaseClusterBackupTolerations { } /// Buckets defines whether the Operator should manage buckets, and how to lookup bucket resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterBuckets { /// Managed defines whether buckets are managed by the Operator (true), or user managed (false). When Operator managed, all buckets must be defined with either CouchbaseBucket, CouchbaseEphemeralBucket or CouchbaseMemcachedBucket resources. Manual addition of buckets will be reverted by the Operator. When user managed, the Operator will not interrogate buckets at all. This field defaults to false. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -252,7 +253,7 @@ pub struct CouchbaseClusterBuckets { } /// Selector is a label selector used to list buckets in the namespace that are managed by the Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterBucketsSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -263,7 +264,7 @@ pub struct CouchbaseClusterBucketsSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterBucketsSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -275,7 +276,7 @@ pub struct CouchbaseClusterBucketsSelectorMatchExpressions { } /// ClusterSettings define Couchbase cluster-wide settings such as memory allocation, failover characteristics and index settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterCluster { /// AnalyticsServiceMemQuota is the amount of memory that should be allocated to the analytics service. This value is per-pod, and only applicable to pods belonging to server classes running the analytics service. This field must be a quantity greater than or equal to 1Gi. This field defaults to 1Gi. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#resource-units-in-kubernetes #[serde(default, skip_serializing_if = "Option::is_none", rename = "analyticsServiceMemoryQuota")] @@ -331,7 +332,7 @@ pub struct CouchbaseClusterCluster { } /// AutoCompaction allows the configuration of auto-compaction, including on what conditions disk space is reclaimed and when it is allowed to run. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterClusterAutoCompaction { /// DatabaseFragmentationThreshold defines triggers for when database compaction should start. #[serde(default, skip_serializing_if = "Option::is_none", rename = "databaseFragmentationThreshold")] @@ -351,7 +352,7 @@ pub struct CouchbaseClusterClusterAutoCompaction { } /// DatabaseFragmentationThreshold defines triggers for when database compaction should start. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterClusterAutoCompactionDatabaseFragmentationThreshold { /// Percent is the percentage of disk fragmentation after which to decompaction will be triggered. This field must be in the range 2-100, defaulting to 30. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -362,7 +363,7 @@ pub struct CouchbaseClusterClusterAutoCompactionDatabaseFragmentationThreshold { } /// TimeWindow allows restriction of when compaction can occur. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterClusterAutoCompactionTimeWindow { /// AbortCompactionOutsideWindow stops compaction processes when the process moves outside the window. #[serde(default, skip_serializing_if = "Option::is_none", rename = "abortCompactionOutsideWindow")] @@ -376,7 +377,7 @@ pub struct CouchbaseClusterClusterAutoCompactionTimeWindow { } /// ViewFragmentationThreshold defines triggers for when view compaction should start. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterClusterAutoCompactionViewFragmentationThreshold { /// Percent is the percentage of disk fragmentation after which to decompaction will be triggered. This field must be in the range 2-100, defaulting to 30. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -387,7 +388,7 @@ pub struct CouchbaseClusterClusterAutoCompactionViewFragmentationThreshold { } /// Data allows the data service to be configured. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterClusterData { /// AuxIOThreads allows the number of threads used by the data service, per pod, to be altered. This indicates the number of threads that are to be used in the AuxIO thread pool to run auxiliary I/O tasks. This value must be between 4 and 64 threads, and should only be increased where there are sufficient CPU resources allocated for their use. If not specified, this defaults to the default value set by Couchbase Server. #[serde(default, skip_serializing_if = "Option::is_none", rename = "auxIOThreads")] @@ -413,7 +414,7 @@ pub enum CouchbaseClusterClusterIndexStorageSetting { } /// Indexer allows the indexer to be configured. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterClusterIndexer { /// LogLevel controls the verbosity of indexer logs. This field must be one of "silent", "fatal", "error", "warn", "info", "verbose", "timing", "debug" or "trace", defaulting to "info". #[serde(default, skip_serializing_if = "Option::is_none", rename = "logLevel")] @@ -474,7 +475,7 @@ pub enum CouchbaseClusterClusterIndexerStorageMode { } /// Query allows the query service to be configured. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterClusterQuery { /// BackfillEnabled allows the query service to backfill. #[serde(default, skip_serializing_if = "Option::is_none", rename = "backfillEnabled")] @@ -494,7 +495,7 @@ pub enum CouchbaseClusterHibernationStrategy { } /// Logging defines Operator logging options. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterLogging { /// Used to manage the audit configuration directly #[serde(default, skip_serializing_if = "Option::is_none")] @@ -511,7 +512,7 @@ pub struct CouchbaseClusterLogging { } /// Used to manage the audit configuration directly -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterLoggingAudit { /// The list of event ids to disable for auditing purposes. This is passed to the REST API with no verification by the operator. Refer to the documentation for details: https://docs.couchbase.com/server/current/audit-event-reference/audit-event-reference.html #[serde(default, skip_serializing_if = "Option::is_none", rename = "disabledEvents")] @@ -531,7 +532,7 @@ pub struct CouchbaseClusterLoggingAudit { } /// Handle all optional garbage collection (GC) configuration for the audit functionality. This is not part of the audit REST API, it is intended to handle GC automatically for the audit logs. By default the Couchbase Server rotates the audit logs but does not clean up the rotated logs. This is left as an operation for the cluster administrator to manage, the operator allows for us to automate this: https://docs.couchbase.com/server/current/manage/manage-security/manage-auditing.html -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterLoggingAuditGarbageCollection { /// Provide the sidecar configuration required (if so desired) to automatically clean up audit logs. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -539,7 +540,7 @@ pub struct CouchbaseClusterLoggingAuditGarbageCollection { } /// Provide the sidecar configuration required (if so desired) to automatically clean up audit logs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterLoggingAuditGarbageCollectionSidecar { /// The minimum age of rotated log files to remove, defaults to one hour. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -559,7 +560,7 @@ pub struct CouchbaseClusterLoggingAuditGarbageCollectionSidecar { } /// Resources is the resource requirements for the cleanup container. Will be populated by Kubernetes defaults if not specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterLoggingAuditGarbageCollectionSidecarResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -570,7 +571,7 @@ pub struct CouchbaseClusterLoggingAuditGarbageCollectionSidecarResources { } /// The interval to optionally rotate the audit log. This is passed to the REST API, see here for details: https://docs.couchbase.com/server/current/manage/manage-security/manage-auditing.html -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterLoggingAuditRotation { /// The interval at which to rotate log files, defaults to 15 minutes. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -581,7 +582,7 @@ pub struct CouchbaseClusterLoggingAuditRotation { } /// Specification of all logging configuration required to manage the sidecar containers in each pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterLoggingServer { /// ConfigurationName is the name of the Secret to use holding the logging configuration in the namespace. A Secret is used to ensure we can safely store credentials but this can be populated from plaintext if acceptable too. If it does not exist then one will be created with defaults in the namespace so it can be easily updated whilst running. Note that if running multiple clusters in the same kubernetes namespace then you should use a separate Secret for each, otherwise the first cluster will take ownership (if created) and the Secret will be cleaned up when that cluster is removed. If running clusters in separate namespaces then they will be separate Secrets anyway. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configurationName")] @@ -598,7 +599,7 @@ pub struct CouchbaseClusterLoggingServer { } /// Any specific logging sidecar container configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterLoggingServerSidecar { /// ConfigurationMountPath is the location to mount the ConfigurationName Secret into the image. If another log shipping image is used that needs a different mount then modify this. Note that the configuration file must be called 'fluent-bit.conf' at the root of this path, there is no provision for overriding the name of the config file passed as the COUCHBASE_LOGS_CONFIG_FILE environment variable. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configurationMountPath")] @@ -612,7 +613,7 @@ pub struct CouchbaseClusterLoggingServerSidecar { } /// Resources is the resource requirements for the sidecar container. Will be populated by Kubernetes defaults if not specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterLoggingServerSidecarResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -623,7 +624,7 @@ pub struct CouchbaseClusterLoggingServerSidecarResources { } /// Monitoring defines any Operator managed integration into 3rd party monitoring infrastructure. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterMonitoring { /// Prometheus provides integration with Prometheus monitoring. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -631,7 +632,7 @@ pub struct CouchbaseClusterMonitoring { } /// Prometheus provides integration with Prometheus monitoring. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterMonitoringPrometheus { /// AuthorizationSecret is the name of a Kubernetes secret that contains a bearer token to authorize GET requests to the metrics endpoint #[serde(default, skip_serializing_if = "Option::is_none", rename = "authorizationSecret")] @@ -650,7 +651,7 @@ pub struct CouchbaseClusterMonitoringPrometheus { } /// Resources is the resource requirements for the metrics container. Will be populated by Kubernetes defaults if not specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterMonitoringPrometheusResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -661,7 +662,7 @@ pub struct CouchbaseClusterMonitoringPrometheusResources { } /// Networking defines Couchbase cluster networking options such as network topology, TLS and DDNS settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterNetworking { /// AddressFamily allows the manual selection of the address family to use. When this field is not set, Couchbase server will default to using IPv4 for internal communication and also support IPv6 on dual stack systems. Setting this field to either IPv4 or IPv6 will force Couchbase to use the selected protocol for internal communication, and also disable all other protocols to provide added security and simplicty when defining firewall rules. Disabling of address families is only supported in Couchbase Server 7.0.2+. #[serde(default, skip_serializing_if = "Option::is_none", rename = "addressFamily")] @@ -730,7 +731,7 @@ pub enum CouchbaseClusterNetworkingAddressFamily { } /// AdminConsoleServiceTemplate provides a template used by the Operator to create and manage the admin console service. This allows services to be annotated, the service type defined and any other options that Kubernetes provides. When using a LoadBalancer service type, TLS and dynamic DNS must also be enabled. The Operator reserves the right to modify or replace any field. More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#service-v1-core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterNetworkingAdminConsoleServiceTemplate { /// Standard objects metadata. This is a curated version for use with Couchbase resource templates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -741,7 +742,7 @@ pub struct CouchbaseClusterNetworkingAdminConsoleServiceTemplate { } /// Standard objects metadata. This is a curated version for use with Couchbase resource templates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterNetworkingAdminConsoleServiceTemplateMetadata { /// Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations #[serde(default, skip_serializing_if = "Option::is_none")] @@ -752,7 +753,7 @@ pub struct CouchbaseClusterNetworkingAdminConsoleServiceTemplateMetadata { } /// ServiceSpec describes the attributes that a user creates on a service. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterNetworkingAdminConsoleServiceTemplateSpec { /// allocateLoadBalancerNodePorts defines if NodePorts will be automatically allocated for services with type LoadBalancer. Default is "true". It may be set to "false" if the cluster load-balancer does not rely on NodePorts. If the caller requests specific NodePorts (by specifying a value), those requests will be respected, regardless of this field. This field may only be set for services with type LoadBalancer and will be cleared if the type is changed to any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] @@ -807,7 +808,7 @@ pub struct CouchbaseClusterNetworkingAdminConsoleServiceTemplateSpec { } /// sessionAffinityConfig contains the configurations of session affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterNetworkingAdminConsoleServiceTemplateSpecSessionAffinityConfig { /// clientIP contains the configurations of Client IP based session affinity. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] @@ -815,7 +816,7 @@ pub struct CouchbaseClusterNetworkingAdminConsoleServiceTemplateSpecSessionAffin } /// clientIP contains the configurations of Client IP based session affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterNetworkingAdminConsoleServiceTemplateSpecSessionAffinityConfigClientIp { /// timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". Default value is 10800(for 3 hours). #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] @@ -830,7 +831,7 @@ pub enum CouchbaseClusterNetworkingAdminConsoleServiceType { } /// DEVELOPER PREVIEW - This feature is in developer preview. CloudNativeGateway is used to provision a gRPC gateway proxying a Couchbase cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterNetworkingCloudNativeGateway { /// DEVELOPER PREVIEW - This feature is in developer preview. Image is the Cloud Native Gateway image to be used to run the sidecar container. No validation is carried out as this can be any arbitrary repo and tag. TODO: provide a default kubebuilder default image tag as field is mandatory. pub image: String, @@ -840,7 +841,7 @@ pub struct CouchbaseClusterNetworkingCloudNativeGateway { } /// DEVELOPER PREVIEW - This feature is in developer preview. TLS defines the TLS configuration for the Cloud Native Gateway server including server and client certificate configuration, and TLS security policies. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterNetworkingCloudNativeGatewayTls { /// DEVELOPER PREVIEW - This feature is in developer preview. ServerSecretName specifies the secret name, in the same namespace as the cluster, that contains Cloud Native Gateway gRPC server TLS data. The secret is expected to contain "tls.crt" and "tls.key" as per the kubernetes.io/tls secret type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "serverSecretName")] @@ -848,7 +849,7 @@ pub struct CouchbaseClusterNetworkingCloudNativeGatewayTls { } /// DNS defines information required for Dynamic DNS support. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterNetworkingDns { /// Domain is the domain to create pods in. When populated the Operator will annotate the admin console and per-pod services with the key "external-dns.alpha.kubernetes.io/hostname". These annotations can be used directly by a Kubernetes External-DNS controller to replicate load balancer service IP addresses into a public DNS server. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -856,7 +857,7 @@ pub struct CouchbaseClusterNetworkingDns { } /// ExposedFeatureServiceTemplate provides a template used by the Operator to create and manage per-pod services. This allows services to be annotated, the service type defined and any other options that Kubernetes provides. When using a LoadBalancer service type, TLS and dynamic DNS must also be enabled. The Operator reserves the right to modify or replace any field. More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#service-v1-core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterNetworkingExposedFeatureServiceTemplate { /// Standard objects metadata. This is a curated version for use with Couchbase resource templates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -867,7 +868,7 @@ pub struct CouchbaseClusterNetworkingExposedFeatureServiceTemplate { } /// Standard objects metadata. This is a curated version for use with Couchbase resource templates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterNetworkingExposedFeatureServiceTemplateMetadata { /// Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations #[serde(default, skip_serializing_if = "Option::is_none")] @@ -878,7 +879,7 @@ pub struct CouchbaseClusterNetworkingExposedFeatureServiceTemplateMetadata { } /// ServiceSpec describes the attributes that a user creates on a service. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterNetworkingExposedFeatureServiceTemplateSpec { /// allocateLoadBalancerNodePorts defines if NodePorts will be automatically allocated for services with type LoadBalancer. Default is "true". It may be set to "false" if the cluster load-balancer does not rely on NodePorts. If the caller requests specific NodePorts (by specifying a value), those requests will be respected, regardless of this field. This field may only be set for services with type LoadBalancer and will be cleared if the type is changed to any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] @@ -933,7 +934,7 @@ pub struct CouchbaseClusterNetworkingExposedFeatureServiceTemplateSpec { } /// sessionAffinityConfig contains the configurations of session affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterNetworkingExposedFeatureServiceTemplateSpecSessionAffinityConfig { /// clientIP contains the configurations of Client IP based session affinity. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] @@ -941,7 +942,7 @@ pub struct CouchbaseClusterNetworkingExposedFeatureServiceTemplateSpecSessionAff } /// clientIP contains the configurations of Client IP based session affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterNetworkingExposedFeatureServiceTemplateSpecSessionAffinityConfigClientIp { /// timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". Default value is 10800(for 3 hours). #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] @@ -969,7 +970,7 @@ pub enum CouchbaseClusterNetworkingNetworkPlatform { } /// TLS defines the TLS configuration for the cluster including server and client certificate configuration, and TLS security policies. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterNetworkingTls { /// AllowPlainTextCertReload allows the reload of TLS certificates in plain text. This option should only be enabled as a means to recover connectivity with server in the event that any of the server certificates expire. When enabled the Operator only attempts plain text cert reloading when expired certificates are detected. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPlainTextCertReload")] @@ -1004,7 +1005,7 @@ pub struct CouchbaseClusterNetworkingTls { } /// ClientCertificatePath defines how to extract a username from a client ceritficate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterNetworkingTlsClientCertificatePaths { /// Delimiter if specified allows a suffix to be stripped from the username, once extracted from the certificate path. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1034,7 +1035,7 @@ pub enum CouchbaseClusterNetworkingTlsNodeToNodeEncryption { } /// PassphraseConfig configures the passphrase key to use with encrypted certificates. The passphrase may be registered with Couchbase Server using a local script or a rest endpoint. Private key encryption is only available on Couchbase Server versions 7.1 and greater. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterNetworkingTlsPassphrase { /// PassphraseRestConfig is the configuration to register a private key passphrase with a rest endpoint. When the private key is accessed, Couchbase Server attempts to extract the password by means of the specified endpoint. The response status must be 200 and the response text must be the exact passphrase excluding newlines and extraneous spaces. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1045,7 +1046,7 @@ pub struct CouchbaseClusterNetworkingTlsPassphrase { } /// PassphraseRestConfig is the configuration to register a private key passphrase with a rest endpoint. When the private key is accessed, Couchbase Server attempts to extract the password by means of the specified endpoint. The response status must be 200 and the response text must be the exact passphrase excluding newlines and extraneous spaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterNetworkingTlsPassphraseRest { /// AddressFamily is the address family to use. By default inet (meaning IPV4) is used. #[serde(default, skip_serializing_if = "Option::is_none", rename = "addressFamily")] @@ -1073,14 +1074,14 @@ pub enum CouchbaseClusterNetworkingTlsPassphraseRestAddressFamily { } /// PassphraseScriptConfig is the configuration to register a private key passphrase with a script. The Operator auto-provisions the underlying script so this config simply provides a mechanism to perform the decryption of the Couchbase Private Key using a local script. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterNetworkingTlsPassphraseScript { /// Secret is the secret containing the passphrase string. The secret is expected to contain "passphrase" key with the passphrase string as a value. pub secret: String, } /// SecretSource enables the user to specify a secret conforming to the Kubernetes TLS secret specification that is used for the Couchbase server certificate, and optionally the Operator's client certificate, providing cert-manager compatibility without having to specify a separate root CA. A server CA certificate must be supplied by one of the provided methods. Certificates referred to must conform to the keys of well-known type "kubernetes.io/tls" with "tls.crt" and "tls.key". If the "tls.key" is an encrypted private key then the secret type can be the generic Opaque type since "kubernetes.io/tls" type secrets cannot verify encrypted keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterNetworkingTlsSecretSource { /// ClientSecretName specifies the secret name, in the same namespace as the cluster, the contains client TLS data. The secret is expected to contain "tls.crt" and "tls.key" as per the Kubernetes.io/tls secret type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientSecretName")] @@ -1091,7 +1092,7 @@ pub struct CouchbaseClusterNetworkingTlsSecretSource { } /// DEPRECATED - by couchbaseclusters.spec.networking.tls.secretSource. Static enables user to generate static x509 certificates and keys, put them into Kubernetes secrets, and specify them here. Static secrets are Couchbase specific, and follow no well-known standards. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterNetworkingTlsStatic { /// OperatorSecret is a secret name containing TLS certs used by operator to talk securely to this cluster. The secret must contain a CA certificate (data key ca.crt). If client authentication is enabled, then the secret must also contain a client certificate chain (data key "couchbase-operator.crt") and private key (data key "couchbase-operator.key"). #[serde(default, skip_serializing_if = "Option::is_none", rename = "operatorSecret")] @@ -1133,7 +1134,7 @@ pub enum CouchbaseClusterRecoveryPolicy { } /// When `spec.upgradeStrategy` is set to `RollingUpgrade` it will, by default, upgrade one pod at a time. If this field is specified then that number can be increased. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterRollingUpgrade { /// MaxUpgradable allows the number of pods affected by an upgrade at any one time to be increased. By default a rolling upgrade will upgrade one pod at a time. This field allows that limit to be removed. This field must be greater than zero. The smallest of `maxUpgradable` and `maxUpgradablePercent` takes precedence if both are defined. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUpgradable")] @@ -1144,7 +1145,7 @@ pub struct CouchbaseClusterRollingUpgrade { } /// Security defines Couchbase cluster security options such as the administrator account username and password, and user RBAC settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterSecurity { /// AdminSecret is the name of a Kubernetes secret to use for administrator authentication. The admin secret must contain the keys "username" and "password". The password data must be at least 6 characters in length, and not contain the any of the characters `()<>,;:\"/[]?={}`. #[serde(rename = "adminSecret")] @@ -1167,7 +1168,7 @@ pub struct CouchbaseClusterSecurity { } /// LDAP provides settings to authenticate and authorize LDAP users with Couchbase Server. When specified, the Operator keeps these settings in sync with Cocuhbase Server's LDAP configuration. Leave empty to manually manage LDAP configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterSecurityLdap { /// AuthenticationEnabled allows users who attempt to access Couchbase Server without having been added as local users to be authenticated against the specified LDAP Host(s). #[serde(default, skip_serializing_if = "Option::is_none", rename = "authenticationEnabled")] @@ -1225,7 +1226,7 @@ pub enum CouchbaseClusterSecurityLdapEncryption { } /// User to distinguished name (DN) mapping. If none is specified, the username is used as the user’s distinguished name. More info: https://docs.couchbase.com/server/current/manage/manage-security/configure-ldap.html -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterSecurityLdapUserDnMapping { /// Query is the LDAP query to run to map from Couchbase user to LDAP distinguished name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1236,7 +1237,7 @@ pub struct CouchbaseClusterSecurityLdapUserDnMapping { } /// PodSecurityContext allows the configuration of the security context for all Couchbase server pods. When using persistent volumes you may need to set the fsGroup field in order to write to the volume. For non-root clusters you must also set runAsUser to 1000, corresponding to the Couchbase user in official container images. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterSecurityPodSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -1273,7 +1274,7 @@ pub struct CouchbaseClusterSecurityPodSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterSecurityPodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1290,7 +1291,7 @@ pub struct CouchbaseClusterSecurityPodSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterSecurityPodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -1302,7 +1303,7 @@ pub struct CouchbaseClusterSecurityPodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterSecurityPodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -1311,7 +1312,7 @@ pub struct CouchbaseClusterSecurityPodSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterSecurityPodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -1328,7 +1329,7 @@ pub struct CouchbaseClusterSecurityPodSecurityContextWindowsOptions { } /// RBAC is the options provided for enabling and selecting RBAC User resources to manage. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterSecurityRbac { /// Managed defines whether RBAC is managed by us or the clients. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1339,7 +1340,7 @@ pub struct CouchbaseClusterSecurityRbac { } /// Selector is a label selector used to list RBAC resources in the namespace that are managed by the Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterSecurityRbacSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1350,7 +1351,7 @@ pub struct CouchbaseClusterSecurityRbacSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterSecurityRbacSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1362,7 +1363,7 @@ pub struct CouchbaseClusterSecurityRbacSelectorMatchExpressions { } /// SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. Use securityContext.allowPrivilegeEscalation field to grant more privileges than its parent process. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterSecuritySecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -1400,7 +1401,7 @@ pub struct CouchbaseClusterSecuritySecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterSecuritySecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1411,7 +1412,7 @@ pub struct CouchbaseClusterSecuritySecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterSecuritySecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1428,7 +1429,7 @@ pub struct CouchbaseClusterSecuritySecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterSecuritySecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -1440,7 +1441,7 @@ pub struct CouchbaseClusterSecuritySecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterSecuritySecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -1457,7 +1458,7 @@ pub struct CouchbaseClusterSecuritySecurityContextWindowsOptions { } /// DEPRECATED - by spec.security.securityContext SecurityContext allows the configuration of the security context for all Couchbase server pods. When using persistent volumes you may need to set the fsGroup field in order to write to the volume. For non-root clusters you must also set runAsUser to 1000, corresponding to the Couchbase user in official container images. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -1494,7 +1495,7 @@ pub struct CouchbaseClusterSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1511,7 +1512,7 @@ pub struct CouchbaseClusterSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -1523,7 +1524,7 @@ pub struct CouchbaseClusterSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -1532,7 +1533,7 @@ pub struct CouchbaseClusterSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -1548,7 +1549,7 @@ pub struct CouchbaseClusterSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServers { /// AutoscaledEnabled defines whether the autoscaling feature is enabled for this class. When true, the Operator will create a CouchbaseAutoscaler resource for this server class. The CouchbaseAutoscaler implements the Kubernetes scale API and can be controlled by the Kubernetes horizontal pod autoscaler (HPA). #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoscaleEnabled")] @@ -1580,7 +1581,7 @@ pub struct CouchbaseClusterServers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -1593,7 +1594,7 @@ pub struct CouchbaseClusterServersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1610,7 +1611,7 @@ pub struct CouchbaseClusterServersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1623,7 +1624,7 @@ pub struct CouchbaseClusterServersEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1634,7 +1635,7 @@ pub struct CouchbaseClusterServersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1647,7 +1648,7 @@ pub struct CouchbaseClusterServersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1660,7 +1661,7 @@ pub struct CouchbaseClusterServersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -1674,7 +1675,7 @@ pub struct CouchbaseClusterServersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1685,7 +1686,7 @@ pub struct CouchbaseClusterServersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1696,7 +1697,7 @@ pub struct CouchbaseClusterServersEnvFromSecretRef { } /// Pod defines a template used to create pod for each Couchbase server instance. Modifying pod metadata such as labels and annotations will update the pod in-place. Any other modification will result in a cluster upgrade in order to fulfill the request. The Operator reserves the right to modify or replace any field. More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#pod-v1-core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPod { /// Standard objects metadata. This is a curated version for use with Couchbase resource templates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1707,7 +1708,7 @@ pub struct CouchbaseClusterServersPod { } /// Standard objects metadata. This is a curated version for use with Couchbase resource templates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodMetadata { /// Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1718,7 +1719,7 @@ pub struct CouchbaseClusterServersPodMetadata { } /// PodSpec is a description of a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpec { /// Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer. #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] @@ -1806,7 +1807,7 @@ pub struct CouchbaseClusterServersPodSpec { } /// If specified, the pod's scheduling constraints -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -1820,7 +1821,7 @@ pub struct CouchbaseClusterServersPodSpecAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -1831,7 +1832,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: CouchbaseClusterServersPodSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -1840,7 +1841,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityNodeAffinityPreferredDuringSche } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1851,7 +1852,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityNodeAffinityPreferredDuringSche } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1863,7 +1864,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityNodeAffinityPreferredDuringSche } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1875,7 +1876,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityNodeAffinityPreferredDuringSche } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -1883,7 +1884,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityNodeAffinityRequiredDuringSched } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1894,7 +1895,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityNodeAffinityRequiredDuringSched } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1906,7 +1907,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityNodeAffinityRequiredDuringSched } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1918,7 +1919,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityNodeAffinityRequiredDuringSched } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -1929,7 +1930,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1939,7 +1940,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityPodAffinityPreferredDuringSched } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1956,7 +1957,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityPodAffinityPreferredDuringSched } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1967,7 +1968,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityPodAffinityPreferredDuringSched } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1979,7 +1980,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityPodAffinityPreferredDuringSched } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1990,7 +1991,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityPodAffinityPreferredDuringSched } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2002,7 +2003,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityPodAffinityPreferredDuringSched } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2019,7 +2020,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityPodAffinityRequiredDuringSchedu } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2030,7 +2031,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityPodAffinityRequiredDuringSchedu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2042,7 +2043,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityPodAffinityRequiredDuringSchedu } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2053,7 +2054,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityPodAffinityRequiredDuringSchedu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2065,7 +2066,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityPodAffinityRequiredDuringSchedu } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -2076,7 +2077,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -2086,7 +2087,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityPodAntiAffinityPreferredDuringS } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2103,7 +2104,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityPodAntiAffinityPreferredDuringS } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2114,7 +2115,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityPodAntiAffinityPreferredDuringS } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2126,7 +2127,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityPodAntiAffinityPreferredDuringS } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2137,7 +2138,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityPodAntiAffinityPreferredDuringS } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2149,7 +2150,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityPodAntiAffinityPreferredDuringS } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2166,7 +2167,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityPodAntiAffinityRequiredDuringSc } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2177,7 +2178,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityPodAntiAffinityRequiredDuringSc } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2189,7 +2190,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityPodAntiAffinityRequiredDuringSc } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2200,7 +2201,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityPodAntiAffinityRequiredDuringSc } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2212,7 +2213,7 @@ pub struct CouchbaseClusterServersPodSpecAffinityPodAntiAffinityRequiredDuringSc } /// Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecDnsConfig { /// A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2226,7 +2227,7 @@ pub struct CouchbaseClusterServersPodSpecDnsConfig { } /// PodDNSConfigOption defines DNS resolver options of a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecDnsConfigOptions { /// Required. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2236,7 +2237,7 @@ pub struct CouchbaseClusterServersPodSpecDnsConfigOptions { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecImagePullSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2246,14 +2247,14 @@ pub struct CouchbaseClusterServersPodSpecImagePullSecrets { /// Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set. /// If the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions /// If the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecOs { /// Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null pub name: String, } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2273,7 +2274,7 @@ pub struct CouchbaseClusterServersPodSpecTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecTopologySpreadConstraints { /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2306,7 +2307,7 @@ pub struct CouchbaseClusterServersPodSpecTopologySpreadConstraints { } /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2317,7 +2318,7 @@ pub struct CouchbaseClusterServersPodSpecTopologySpreadConstraintsLabelSelector } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersPodSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2329,7 +2330,7 @@ pub struct CouchbaseClusterServersPodSpecTopologySpreadConstraintsLabelSelectorM } /// Resources are the resource requirements for the Couchbase server container. This field overrides any automatic allocation as defined by `spec.autoResourceAllocation`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2340,7 +2341,7 @@ pub struct CouchbaseClusterServersResources { } /// VolumeMounts define persistent volume claims to attach to pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterServersVolumeMounts { /// AnalyticsClaims are persistent volumes that encompass analytics storage associated with the analytics service. Analytics claims can only be used on server classes running the analytics service, and must be used in conjunction with the default claim. This field allows the analytics service to use different storage media (e.g. SSD), and scale horizontally, to improve performance of this service. This field references a volume claim template name as defined in "spec.volumeClaimTemplates". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2366,7 +2367,7 @@ pub enum CouchbaseClusterUpgradeStrategy { ImmediateUpgrade, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterVolumeClaimTemplates { /// Standard objects metadata. This is a curated version for use with Couchbase resource templates. pub metadata: CouchbaseClusterVolumeClaimTemplatesMetadata, @@ -2375,7 +2376,7 @@ pub struct CouchbaseClusterVolumeClaimTemplates { } /// Standard objects metadata. This is a curated version for use with Couchbase resource templates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterVolumeClaimTemplatesMetadata { /// Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2388,7 +2389,7 @@ pub struct CouchbaseClusterVolumeClaimTemplatesMetadata { } /// PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterVolumeClaimTemplatesSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -2414,7 +2415,7 @@ pub struct CouchbaseClusterVolumeClaimTemplatesSpec { } /// dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local 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, 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. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterVolumeClaimTemplatesSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2426,7 +2427,7 @@ pub struct CouchbaseClusterVolumeClaimTemplatesSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterVolumeClaimTemplatesSpecResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2437,7 +2438,7 @@ pub struct CouchbaseClusterVolumeClaimTemplatesSpecResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterVolumeClaimTemplatesSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2448,7 +2449,7 @@ pub struct CouchbaseClusterVolumeClaimTemplatesSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterVolumeClaimTemplatesSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2460,7 +2461,7 @@ pub struct CouchbaseClusterVolumeClaimTemplatesSpecSelectorMatchExpressions { } /// XDCR defines whether the Operator should manage XDCR, remote clusters and how to lookup replication resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterXdcr { /// Managed defines whether XDCR is managed by the operator or not. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2471,7 +2472,7 @@ pub struct CouchbaseClusterXdcr { } /// RemoteCluster is a reference to a remote cluster for XDCR. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterXdcrRemoteClusters { /// AuthenticationSecret is a secret used to authenticate when establishing a remote connection. It is only required when not using mTLS. The secret must contain a username (secret key "username") and password (secret key "password"). #[serde(default, skip_serializing_if = "Option::is_none", rename = "authenticationSecret")] @@ -2491,7 +2492,7 @@ pub struct CouchbaseClusterXdcrRemoteClusters { } /// Replications are replication streams from this cluster to the remote one. This field defines how to look up CouchbaseReplication resources. By default any CouchbaseReplication resources in the namespace will be considered. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterXdcrRemoteClustersReplications { /// Selector allows CouchbaseReplication resources to be filtered based on labels. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2499,7 +2500,7 @@ pub struct CouchbaseClusterXdcrRemoteClustersReplications { } /// Selector allows CouchbaseReplication resources to be filtered based on labels. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterXdcrRemoteClustersReplicationsSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2510,7 +2511,7 @@ pub struct CouchbaseClusterXdcrRemoteClustersReplicationsSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterXdcrRemoteClustersReplicationsSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2522,14 +2523,14 @@ pub struct CouchbaseClusterXdcrRemoteClustersReplicationsSelectorMatchExpression } /// TLS if specified references a resource containing the necessary certificate data for an encrypted connection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterXdcrRemoteClustersTls { /// Secret references a secret containing the CA certificate (data key "ca"), and optionally a client certificate (data key "certificate") and key (data key "key"). pub secret: String, } /// ClusterStatus defines any read-only status fields for the Couchbase server cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterStatus { /// Allocations shows memory allocations within server classes. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2566,7 +2567,7 @@ pub struct CouchbaseClusterStatus { } /// ServerClassStatus summarizes memory allocations to make configuration easier. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterStatusAllocations { /// AllocatedMemory defines the total memory allocated for constrained Couchbase services. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#resource-units-in-kubernetes #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocatedMemory")] @@ -2602,7 +2603,7 @@ pub struct CouchbaseClusterStatusAllocations { pub unused_memory_percent: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterStatusBuckets { /// CompressionMode defines how documents are compressed. #[serde(rename = "compressionMode")] @@ -2640,7 +2641,7 @@ pub struct CouchbaseClusterStatusBuckets { } /// Members are the Couchbase members in the cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseClusterStatusMembers { /// Ready are the Couchbase members that are clustered and ready to serve client requests. The member names are the same as the Couchbase pod names. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasecollectiongroups.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasecollectiongroups.rs index 4acf8f2d1..633719d1d 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasecollectiongroups.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasecollectiongroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasecollectiongroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasecollectiongroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasecollections.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasecollections.rs index 844d59468..379917379 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasecollections.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasecollections.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasecollections.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasecollections.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseephemeralbuckets.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseephemeralbuckets.rs index 879704e11..2ea9fca88 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseephemeralbuckets.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseephemeralbuckets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaseephemeralbuckets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaseephemeralbuckets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasegroups.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasegroups.rs index b439a908e..602b40a22 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasegroups.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasegroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasegroups.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasegroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { use self::prelude::*; /// CouchbaseGroupSpec allows the specification of Couchbase group configuration. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "couchbase.com", version = "v2", kind = "CouchbaseGroup", plural = "couchbasegroups")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct CouchbaseGroupSpec { /// LDAPGroupRef is a reference to an LDAP group. @@ -43,7 +44,7 @@ pub struct CouchbaseGroupRoles { } /// Bucket level access to apply to specified role. The bucket must exist. When not specified, the bucket field will be checked. If both are empty and the role can be scoped to a specific bucket, the role will apply to all buckets in the cluster -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseGroupRolesBuckets { /// Resources is an explicit list of named bucket resources that will be considered for inclusion in this role. If a resource reference doesn't match a resource, then no error conditions are raised due to undefined resource creation ordering and eventual consistency. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -53,7 +54,7 @@ pub struct CouchbaseGroupRolesBuckets { pub selector: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseGroupRolesBucketsResources { /// Kind indicates the kind of resource that is being referenced. A Role can only reference `CouchbaseBucket` kind. This field defaults to `CouchbaseBucket` if not specified. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -68,7 +69,7 @@ pub enum CouchbaseGroupRolesBucketsResourcesKind { } /// Selector allows resources to be implicitly considered for inclusion in this role. More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#labelselector-v1-meta -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseGroupRolesBucketsSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -79,7 +80,7 @@ pub struct CouchbaseGroupRolesBucketsSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseGroupRolesBucketsSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -91,7 +92,7 @@ pub struct CouchbaseGroupRolesBucketsSelectorMatchExpressions { } /// Collection level access to apply to the specified role. The collection must exist. When not specified, the role is subject to scope or bucket level access. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseGroupRolesCollections { /// Resources is an explicit list of named resources that will be considered for inclusion in this collection or collections. If a resource reference doesn't match a resource, then no error conditions are raised due to undefined resource creation ordering and eventual consistency. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -101,7 +102,7 @@ pub struct CouchbaseGroupRolesCollections { pub selector: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseGroupRolesCollectionsResources { /// Kind indicates the kind of resource that is being referenced. A scope can only reference `CouchbaseCollection` and `CouchbaseCollectionGroup` resource kinds. This field defaults to `CouchbaseCollection` if not specified. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -117,7 +118,7 @@ pub enum CouchbaseGroupRolesCollectionsResourcesKind { } /// Selector allows resources to be implicitly considered for inclusion in this collection or collections. More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#labelselector-v1-meta -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseGroupRolesCollectionsSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -128,7 +129,7 @@ pub struct CouchbaseGroupRolesCollectionsSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseGroupRolesCollectionsSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -240,7 +241,7 @@ pub enum CouchbaseGroupRolesName { } /// Scope level access to apply to specified role. The scope must exist. When not specified, the role will apply to selected bucket or all buckets in the cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseGroupRolesScopes { /// Resources is an explicit list of named resources that will be considered for inclusion in this scope or scopes. If a resource reference doesn't match a resource, then no error conditions are raised due to undefined resource creation ordering and eventual consistency. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -250,7 +251,7 @@ pub struct CouchbaseGroupRolesScopes { pub selector: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseGroupRolesScopesResources { /// Kind indicates the kind of resource that is being referenced. A scope can only reference `CouchbaseScope` and `CouchbaseScopeGroup` resource kinds. This field defaults to `CouchbaseScope` if not specified. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -266,7 +267,7 @@ pub enum CouchbaseGroupRolesScopesResourcesKind { } /// Selector allows resources to be implicitly considered for inclusion in this scope or scopes. More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#labelselector-v1-meta -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseGroupRolesScopesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -277,7 +278,7 @@ pub struct CouchbaseGroupRolesScopesSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CouchbaseGroupRolesScopesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasememcachedbuckets.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasememcachedbuckets.rs index 608e72350..a554a9d84 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasememcachedbuckets.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasememcachedbuckets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasememcachedbuckets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasememcachedbuckets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasemigrationreplications.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasemigrationreplications.rs index 4552f5307..39528399d 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasemigrationreplications.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasemigrationreplications.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasemigrationreplications.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasemigrationreplications.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasereplications.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasereplications.rs index 304f63ba1..7467a4a4e 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasereplications.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasereplications.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasereplications.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasereplications.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbaserolebindings.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbaserolebindings.rs index ceaaaa66a..d73b34a79 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbaserolebindings.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbaserolebindings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaserolebindings.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaserolebindings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasescopegroups.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasescopegroups.rs index 2161cb6de..ec1bf05fc 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasescopegroups.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasescopegroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasescopegroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasescopegroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasescopes.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasescopes.rs index 1331eff14..32abd4c31 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbasescopes.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbasescopes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasescopes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbasescopes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseusers.rs b/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseusers.rs index ea353aa0d..4718596e3 100644 --- a/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseusers.rs +++ b/kube-custom-resources-rs/src/couchbase_com/v2/couchbaseusers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaseusers.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/couchbase-partners/helm-charts/couchbase.com/v2/couchbaseusers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/craftypath_github_io/v1alpha1/sopssecrets.rs b/kube-custom-resources-rs/src/craftypath_github_io/v1alpha1/sopssecrets.rs index ca4ff5052..3063f8ca8 100644 --- a/kube-custom-resources-rs/src/craftypath_github_io/v1alpha1/sopssecrets.rs +++ b/kube-custom-resources-rs/src/craftypath_github_io/v1alpha1/sopssecrets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/craftypath/sops-operator/craftypath.github.io/v1alpha1/sopssecrets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/craftypath/sops-operator/craftypath.github.io/v1alpha1/sopssecrets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/crane_konveyor_io/v1alpha1/operatorconfigs.rs b/kube-custom-resources-rs/src/crane_konveyor_io/v1alpha1/operatorconfigs.rs index 28e6499f5..8613bb430 100644 --- a/kube-custom-resources-rs/src/crane_konveyor_io/v1alpha1/operatorconfigs.rs +++ b/kube-custom-resources-rs/src/crane_konveyor_io/v1alpha1/operatorconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/migtools/crane-operator/crane.konveyor.io/v1alpha1/operatorconfigs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/migtools/crane-operator/crane.konveyor.io/v1alpha1/operatorconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,16 +11,17 @@ mod prelude { use self::prelude::*; /// OperatorConfigSpec defines the desired state of OperatorConfig -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "crane.konveyor.io", version = "v1alpha1", kind = "OperatorConfig", plural = "operatorconfigs")] #[kube(status = "OperatorConfigStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct OperatorConfigSpec { } /// OperatorConfigStatus defines the observed state of OperatorConfig -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OperatorConfigStatus { /// Conditions for operator config status pub conditions: Vec, diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/bgpconfigurations.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/bgpconfigurations.rs index fb874bffe..07d232861 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/bgpconfigurations.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/bgpconfigurations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/bgpconfigurations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/bgpconfigurations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/bgpfilters.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/bgpfilters.rs index e52538c59..1fcf8d150 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/bgpfilters.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/bgpfilters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/bgpfilters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/bgpfilters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/bgppeers.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/bgppeers.rs index ba303603f..411120c2e 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/bgppeers.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/bgppeers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/bgppeers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/bgppeers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/blockaffinities.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/blockaffinities.rs index d3d9b0cd1..5b8327f98 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/blockaffinities.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/blockaffinities.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/blockaffinities.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/blockaffinities.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/caliconodestatuses.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/caliconodestatuses.rs index 37fb10a6d..43cd653ba 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/caliconodestatuses.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/caliconodestatuses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/caliconodestatuses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/caliconodestatuses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/clusterinformations.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/clusterinformations.rs index d2cd064b3..33a575962 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/clusterinformations.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/clusterinformations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/clusterinformations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/clusterinformations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/globalnetworksets.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/globalnetworksets.rs index 599d8ade8..5fdb892f0 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/globalnetworksets.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/globalnetworksets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/globalnetworksets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/globalnetworksets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/hostendpoints.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/hostendpoints.rs index ee482edde..68acb6713 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/hostendpoints.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/hostendpoints.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/hostendpoints.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/hostendpoints.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipamblocks.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipamblocks.rs index 296e0f057..eeec05c8e 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipamblocks.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipamblocks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/ipamblocks.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/ipamblocks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipamconfigs.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipamconfigs.rs index 6ccb95711..c1aa0d858 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipamconfigs.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipamconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/ipamconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/ipamconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipamhandles.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipamhandles.rs index 8287dd9f0..3e93d6d36 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipamhandles.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipamhandles.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/ipamhandles.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/ipamhandles.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ippools.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ippools.rs index cfb55ff2c..344fab671 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ippools.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ippools.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/ippools.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/ippools.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipreservations.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipreservations.rs index f8597915f..020d24cfd 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipreservations.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/ipreservations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/ipreservations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/ipreservations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/kubecontrollersconfigurations.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/kubecontrollersconfigurations.rs index c5a8237dc..f873f4d15 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/kubecontrollersconfigurations.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/kubecontrollersconfigurations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/kubecontrollersconfigurations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/kubecontrollersconfigurations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/networksets.rs b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/networksets.rs index ceec76db5..5d657208e 100644 --- a/kube-custom-resources-rs/src/crd_projectcalico_org/v1/networksets.rs +++ b/kube-custom-resources-rs/src/crd_projectcalico_org/v1/networksets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/networksets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/networksets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/alluxioruntimes.rs b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/alluxioruntimes.rs index 89543c459..92ee047c2 100644 --- a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/alluxioruntimes.rs +++ b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/alluxioruntimes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/alluxioruntimes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/alluxioruntimes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// AlluxioRuntimeSpec defines the desired state of AlluxioRuntime -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "data.fluid.io", version = "v1alpha1", kind = "AlluxioRuntime", plural = "alluxioruntimes")] #[kube(namespaced)] #[kube(status = "AlluxioRuntimeStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct AlluxioRuntimeSpec { /// The version information that instructs fluid to orchestrate a particular version of Alluxio. @@ -80,7 +81,7 @@ pub struct AlluxioRuntimeSpec { } /// The version information that instructs fluid to orchestrate a particular version of Alluxio. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeAlluxioVersion { /// Image (e.g. alluxio/alluxio) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -94,7 +95,7 @@ pub struct AlluxioRuntimeAlluxioVersion { } /// The component spec of Alluxio API Gateway -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeApiGateway { /// Enabled or Disabled for the components. For now, only API Gateway is enabled or disabled. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -141,7 +142,7 @@ pub enum AlluxioRuntimeApiGatewayNetworkMode { } /// PodMetadata defines labels and annotations that will be propagated to Alluxio's pods -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeApiGatewayPodMetadata { /// Annotations are annotations of pod specification #[serde(default, skip_serializing_if = "Option::is_none")] @@ -152,7 +153,7 @@ pub struct AlluxioRuntimeApiGatewayPodMetadata { } /// Resources that will be requested by the Alluxio component.

Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeApiGatewayResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -168,14 +169,14 @@ pub struct AlluxioRuntimeApiGatewayResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeApiGatewayResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeApiGatewayVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -197,7 +198,7 @@ pub struct AlluxioRuntimeApiGatewayVolumeMounts { } /// Management strategies for the dataset to which the runtime is bound -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeData { /// Pin the dataset or not. Refer to Alluxio User-CLI pin #[serde(default, skip_serializing_if = "Option::is_none")] @@ -208,7 +209,7 @@ pub struct AlluxioRuntimeData { } /// The component spec of Alluxio Fuse -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeFuse { /// Arguments that will be passed to Alluxio Fuse #[serde(default, skip_serializing_if = "Option::is_none")] @@ -261,7 +262,7 @@ pub enum AlluxioRuntimeFuseNetworkMode { } /// PodMetadata defines labels and annotations that will be propagated to Alluxio's fuse pods -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeFusePodMetadata { /// Annotations are annotations of pod specification #[serde(default, skip_serializing_if = "Option::is_none")] @@ -272,7 +273,7 @@ pub struct AlluxioRuntimeFusePodMetadata { } /// Resources that will be requested by Alluxio Fuse.

Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeFuseResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -288,14 +289,14 @@ pub struct AlluxioRuntimeFuseResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeFuseResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeFuseVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -317,7 +318,7 @@ pub struct AlluxioRuntimeFuseVolumeMounts { } /// The spec of init users -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeInitUsers { /// Environment variables that will be used by initialize the users for runtime #[serde(default, skip_serializing_if = "Option::is_none")] @@ -337,7 +338,7 @@ pub struct AlluxioRuntimeInitUsers { } /// Resources that will be requested by initialize the users for runtime.

Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeInitUsersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -353,14 +354,14 @@ pub struct AlluxioRuntimeInitUsersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeInitUsersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The component spec of Alluxio job master -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeJobMaster { /// Enabled or Disabled for the components. For now, only API Gateway is enabled or disabled. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -407,7 +408,7 @@ pub enum AlluxioRuntimeJobMasterNetworkMode { } /// PodMetadata defines labels and annotations that will be propagated to Alluxio's pods -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeJobMasterPodMetadata { /// Annotations are annotations of pod specification #[serde(default, skip_serializing_if = "Option::is_none")] @@ -418,7 +419,7 @@ pub struct AlluxioRuntimeJobMasterPodMetadata { } /// Resources that will be requested by the Alluxio component.

Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeJobMasterResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -434,14 +435,14 @@ pub struct AlluxioRuntimeJobMasterResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeJobMasterResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeJobMasterVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -463,7 +464,7 @@ pub struct AlluxioRuntimeJobMasterVolumeMounts { } /// The component spec of Alluxio job Worker -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeJobWorker { /// Enabled or Disabled for the components. For now, only API Gateway is enabled or disabled. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -510,7 +511,7 @@ pub enum AlluxioRuntimeJobWorkerNetworkMode { } /// PodMetadata defines labels and annotations that will be propagated to Alluxio's pods -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeJobWorkerPodMetadata { /// Annotations are annotations of pod specification #[serde(default, skip_serializing_if = "Option::is_none")] @@ -521,7 +522,7 @@ pub struct AlluxioRuntimeJobWorkerPodMetadata { } /// Resources that will be requested by the Alluxio component.

Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeJobWorkerResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -537,14 +538,14 @@ pub struct AlluxioRuntimeJobWorkerResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeJobWorkerResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeJobWorkerVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -566,7 +567,7 @@ pub struct AlluxioRuntimeJobWorkerVolumeMounts { } /// RuntimeManagement defines policies when managing the runtime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeManagement { /// CleanCachePolicy defines the policy of cleaning cache when shutting down the runtime #[serde(default, skip_serializing_if = "Option::is_none", rename = "cleanCachePolicy")] @@ -577,7 +578,7 @@ pub struct AlluxioRuntimeManagement { } /// CleanCachePolicy defines the policy of cleaning cache when shutting down the runtime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeManagementCleanCachePolicy { /// Optional duration in seconds the cache needs to clean gracefully. May be decreased in delete runtime request. Value must be non-negative integer. The value zero indicates clean immediately via the timeout command (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with timeout command. Set this value longer than the expected cleanup time for your process. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gracePeriodSeconds")] @@ -588,7 +589,7 @@ pub struct AlluxioRuntimeManagementCleanCachePolicy { } /// MetadataSyncPolicy defines the policy of syncing metadata when setting up the runtime. If not set, -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeManagementMetadataSyncPolicy { /// AutoSync enables automatic metadata sync when setting up a runtime. If not set, it defaults to true. #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoSync")] @@ -596,7 +597,7 @@ pub struct AlluxioRuntimeManagementMetadataSyncPolicy { } /// The component spec of Alluxio master -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeMaster { /// Enabled or Disabled for the components. For now, only API Gateway is enabled or disabled. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -643,7 +644,7 @@ pub enum AlluxioRuntimeMasterNetworkMode { } /// PodMetadata defines labels and annotations that will be propagated to Alluxio's pods -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeMasterPodMetadata { /// Annotations are annotations of pod specification #[serde(default, skip_serializing_if = "Option::is_none")] @@ -654,7 +655,7 @@ pub struct AlluxioRuntimeMasterPodMetadata { } /// Resources that will be requested by the Alluxio component.

Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeMasterResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -670,14 +671,14 @@ pub struct AlluxioRuntimeMasterResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeMasterResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeMasterVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -699,7 +700,7 @@ pub struct AlluxioRuntimeMasterVolumeMounts { } /// PodMetadata defines labels and annotations that will be propagated to Alluxio's pods -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimePodMetadata { /// Annotations are annotations of pod specification #[serde(default, skip_serializing_if = "Option::is_none")] @@ -710,7 +711,7 @@ pub struct AlluxioRuntimePodMetadata { } /// Manage the user to run Alluxio Runtime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeRunAs { /// The gid to run the alluxio runtime pub gid: i64, @@ -723,7 +724,7 @@ pub struct AlluxioRuntimeRunAs { } /// Tiered storage used by Alluxio -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstore { /// configurations for multiple tiers #[serde(default, skip_serializing_if = "Option::is_none")] @@ -770,7 +771,7 @@ pub enum AlluxioRuntimeTieredstoreLevelsMediumtype { } /// VolumeSource is the volume source of the tier. It follows the form of corev1.VolumeSource. For now, users should only specify VolumeSource when VolumeType is set to emptyDir. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSource { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -866,7 +867,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSource { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -883,7 +884,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -906,7 +907,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -920,7 +921,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -942,7 +943,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -950,7 +951,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -967,7 +968,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -975,7 +976,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -992,7 +993,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceConfigMapItems { /// key is the key to project. pub key: String, @@ -1004,7 +1005,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -1023,7 +1024,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1031,7 +1032,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1042,7 +1043,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -1058,7 +1059,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1069,7 +1070,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1082,7 +1083,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceDownwardApiItemsResourceFi } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1097,7 +1098,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -1111,7 +1112,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1121,12 +1122,12 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTempla } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -1155,7 +1156,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTempla } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1167,7 +1168,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTempla } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1182,7 +1183,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTempla } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1198,14 +1199,14 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTempla } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1216,7 +1217,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTempla } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1228,7 +1229,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTempla } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1248,7 +1249,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -1267,7 +1268,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1275,7 +1276,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -1286,7 +1287,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1303,7 +1304,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1316,7 +1317,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -1328,7 +1329,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -1338,7 +1339,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -1374,7 +1375,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1382,7 +1383,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -1394,7 +1395,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourcePersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -1405,7 +1406,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourcePersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourcePhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1416,7 +1417,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourcePhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourcePortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1430,7 +1431,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourcePortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1441,7 +1442,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1458,7 +1459,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1472,7 +1473,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesConfigMap } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -1484,7 +1485,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesConfigMapI } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1492,7 +1493,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardAp } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -1508,7 +1509,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardAp } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1519,7 +1520,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardAp } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1532,7 +1533,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardAp } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1546,7 +1547,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -1558,7 +1559,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesSecretItem } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1571,7 +1572,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesServiceAcc } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1592,7 +1593,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1619,7 +1620,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1627,7 +1628,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1660,7 +1661,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1668,7 +1669,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1685,7 +1686,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceSecretItems { /// key is the key to project. pub key: String, @@ -1697,7 +1698,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1717,7 +1718,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1725,7 +1726,7 @@ pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeTieredstoreLevelsVolumeSourceVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1751,7 +1752,7 @@ pub enum AlluxioRuntimeTieredstoreLevelsVolumeType { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -1849,7 +1850,7 @@ pub struct AlluxioRuntimeVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1866,7 +1867,7 @@ pub struct AlluxioRuntimeVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -1889,7 +1890,7 @@ pub struct AlluxioRuntimeVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -1903,7 +1904,7 @@ pub struct AlluxioRuntimeVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -1925,7 +1926,7 @@ pub struct AlluxioRuntimeVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1933,7 +1934,7 @@ pub struct AlluxioRuntimeVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1950,7 +1951,7 @@ pub struct AlluxioRuntimeVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1958,7 +1959,7 @@ pub struct AlluxioRuntimeVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1975,7 +1976,7 @@ pub struct AlluxioRuntimeVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -1987,7 +1988,7 @@ pub struct AlluxioRuntimeVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -2006,7 +2007,7 @@ pub struct AlluxioRuntimeVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2014,7 +2015,7 @@ pub struct AlluxioRuntimeVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2025,7 +2026,7 @@ pub struct AlluxioRuntimeVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -2041,7 +2042,7 @@ pub struct AlluxioRuntimeVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2052,7 +2053,7 @@ pub struct AlluxioRuntimeVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2065,7 +2066,7 @@ pub struct AlluxioRuntimeVolumesDownwardApiItemsResourceFieldRef { } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2080,7 +2081,7 @@ pub struct AlluxioRuntimeVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -2094,7 +2095,7 @@ pub struct AlluxioRuntimeVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2104,12 +2105,12 @@ pub struct AlluxioRuntimeVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -2138,7 +2139,7 @@ pub struct AlluxioRuntimeVolumesEphemeralVolumeClaimTemplateSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2150,7 +2151,7 @@ pub struct AlluxioRuntimeVolumesEphemeralVolumeClaimTemplateSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2165,7 +2166,7 @@ pub struct AlluxioRuntimeVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2181,14 +2182,14 @@ pub struct AlluxioRuntimeVolumesEphemeralVolumeClaimTemplateSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2199,7 +2200,7 @@ pub struct AlluxioRuntimeVolumesEphemeralVolumeClaimTemplateSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2211,7 +2212,7 @@ pub struct AlluxioRuntimeVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExp } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2231,7 +2232,7 @@ pub struct AlluxioRuntimeVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -2250,7 +2251,7 @@ pub struct AlluxioRuntimeVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2258,7 +2259,7 @@ pub struct AlluxioRuntimeVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -2269,7 +2270,7 @@ pub struct AlluxioRuntimeVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2286,7 +2287,7 @@ pub struct AlluxioRuntimeVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2299,7 +2300,7 @@ pub struct AlluxioRuntimeVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -2311,7 +2312,7 @@ pub struct AlluxioRuntimeVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -2321,7 +2322,7 @@ pub struct AlluxioRuntimeVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -2357,7 +2358,7 @@ pub struct AlluxioRuntimeVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2365,7 +2366,7 @@ pub struct AlluxioRuntimeVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -2377,7 +2378,7 @@ pub struct AlluxioRuntimeVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -2388,7 +2389,7 @@ pub struct AlluxioRuntimeVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2399,7 +2400,7 @@ pub struct AlluxioRuntimeVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2413,7 +2414,7 @@ pub struct AlluxioRuntimeVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2424,7 +2425,7 @@ pub struct AlluxioRuntimeVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2441,7 +2442,7 @@ pub struct AlluxioRuntimeVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2455,7 +2456,7 @@ pub struct AlluxioRuntimeVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -2467,7 +2468,7 @@ pub struct AlluxioRuntimeVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2475,7 +2476,7 @@ pub struct AlluxioRuntimeVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -2491,7 +2492,7 @@ pub struct AlluxioRuntimeVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2502,7 +2503,7 @@ pub struct AlluxioRuntimeVolumesProjectedSourcesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2515,7 +2516,7 @@ pub struct AlluxioRuntimeVolumesProjectedSourcesDownwardApiItemsResourceFieldRef } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2529,7 +2530,7 @@ pub struct AlluxioRuntimeVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -2541,7 +2542,7 @@ pub struct AlluxioRuntimeVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2554,7 +2555,7 @@ pub struct AlluxioRuntimeVolumesProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2575,7 +2576,7 @@ pub struct AlluxioRuntimeVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2602,7 +2603,7 @@ pub struct AlluxioRuntimeVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2610,7 +2611,7 @@ pub struct AlluxioRuntimeVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2643,7 +2644,7 @@ pub struct AlluxioRuntimeVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2651,7 +2652,7 @@ pub struct AlluxioRuntimeVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2668,7 +2669,7 @@ pub struct AlluxioRuntimeVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesSecretItems { /// key is the key to project. pub key: String, @@ -2680,7 +2681,7 @@ pub struct AlluxioRuntimeVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2700,7 +2701,7 @@ pub struct AlluxioRuntimeVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2708,7 +2709,7 @@ pub struct AlluxioRuntimeVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2725,7 +2726,7 @@ pub struct AlluxioRuntimeVolumesVsphereVolume { } /// The component spec of Alluxio worker -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeWorker { /// Enabled or Disabled for the components. For now, only API Gateway is enabled or disabled. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2772,7 +2773,7 @@ pub enum AlluxioRuntimeWorkerNetworkMode { } /// PodMetadata defines labels and annotations that will be propagated to Alluxio's pods -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeWorkerPodMetadata { /// Annotations are annotations of pod specification #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2783,7 +2784,7 @@ pub struct AlluxioRuntimeWorkerPodMetadata { } /// Resources that will be requested by the Alluxio component.

Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeWorkerResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2799,14 +2800,14 @@ pub struct AlluxioRuntimeWorkerResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeWorkerResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeWorkerVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -2828,7 +2829,7 @@ pub struct AlluxioRuntimeWorkerVolumeMounts { } /// RuntimeStatus defines the observed state of Runtime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeStatus { /// APIGatewayStatus represents rest api gateway status #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGateway")] @@ -2917,7 +2918,7 @@ pub struct AlluxioRuntimeStatus { } /// APIGatewayStatus represents rest api gateway status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeStatusApiGateway { /// Endpoint for accessing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2925,7 +2926,7 @@ pub struct AlluxioRuntimeStatusApiGateway { } /// CacheAffinity represents the runtime worker pods node affinity including node selector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeStatusCacheAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -2936,7 +2937,7 @@ pub struct AlluxioRuntimeStatusCacheAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: AlluxioRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -2945,7 +2946,7 @@ pub struct AlluxioRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuri } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2956,7 +2957,7 @@ pub struct AlluxioRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuri } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -2968,7 +2969,7 @@ pub struct AlluxioRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuri } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -2980,7 +2981,7 @@ pub struct AlluxioRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuri } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -2988,7 +2989,7 @@ pub struct AlluxioRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDurin } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2999,7 +3000,7 @@ pub struct AlluxioRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDurin } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -3011,7 +3012,7 @@ pub struct AlluxioRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDurin } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -3023,7 +3024,7 @@ pub struct AlluxioRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDurin } /// Mount describes a mounting.
Refer to Alluxio Storage Integrations for more info -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeStatusMounts { /// The secret information #[serde(default, skip_serializing_if = "Option::is_none", rename = "encryptOptions")] @@ -3048,7 +3049,7 @@ pub struct AlluxioRuntimeStatusMounts { pub shared: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeStatusMountsEncryptOptions { /// The name of encryptOption pub name: String, @@ -3058,7 +3059,7 @@ pub struct AlluxioRuntimeStatusMountsEncryptOptions { } /// The valueFrom of encryptOption -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeStatusMountsEncryptOptionsValueFrom { /// The encryptInfo obtained from secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -3066,7 +3067,7 @@ pub struct AlluxioRuntimeStatusMountsEncryptOptionsValueFrom { } /// The encryptInfo obtained from secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlluxioRuntimeStatusMountsEncryptOptionsValueFromSecretKeyRef { /// The required key in the secret #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/databackups.rs b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/databackups.rs index affab917a..2e82572f4 100644 --- a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/databackups.rs +++ b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/databackups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/databackups.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/databackups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// DataBackupSpec defines the desired state of DataBackup -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "data.fluid.io", version = "v1alpha1", kind = "DataBackup", plural = "databackups")] #[kube(namespaced)] #[kube(status = "DataBackupStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct DataBackupSpec { /// BackupPath defines the target path to save data of the DataBackup @@ -55,7 +56,7 @@ pub struct DataBackupRunAfter { } /// AffinityStrategy specifies the pod affinity strategy with the referent operation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataBackupRunAfterAffinityStrategy { /// Policy one of: "", "Require", "Prefer" #[serde(default, skip_serializing_if = "Option::is_none")] @@ -67,14 +68,14 @@ pub struct DataBackupRunAfterAffinityStrategy { } /// Prefer defines the label key and weight for generating a PreferredSchedulingTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataBackupRunAfterAffinityStrategyPrefers { pub name: String, pub weight: i32, } /// Require defines the label key for generating a NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataBackupRunAfterAffinityStrategyRequires { pub name: String, } @@ -89,7 +90,7 @@ pub enum DataBackupRunAfterKind { } /// Manage the user to run Alluxio DataBackup -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataBackupRunAs { /// The gid to run the alluxio runtime pub gid: i64, @@ -102,7 +103,7 @@ pub struct DataBackupRunAs { } /// OperationStatus defines the observed state of operation -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataBackupStatus { /// Conditions consists of transition information on operation's Phase pub conditions: Vec, @@ -128,7 +129,7 @@ pub struct DataBackupStatus { } /// NodeAffinity records the node affinity for operation pods -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataBackupStatusNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -139,7 +140,7 @@ pub struct DataBackupStatusNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataBackupStatusNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: DataBackupStatusNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -148,7 +149,7 @@ pub struct DataBackupStatusNodeAffinityPreferredDuringSchedulingIgnoredDuringExe } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataBackupStatusNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -159,7 +160,7 @@ pub struct DataBackupStatusNodeAffinityPreferredDuringSchedulingIgnoredDuringExe } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataBackupStatusNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -171,7 +172,7 @@ pub struct DataBackupStatusNodeAffinityPreferredDuringSchedulingIgnoredDuringExe } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataBackupStatusNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -183,7 +184,7 @@ pub struct DataBackupStatusNodeAffinityPreferredDuringSchedulingIgnoredDuringExe } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataBackupStatusNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -191,7 +192,7 @@ pub struct DataBackupStatusNodeAffinityRequiredDuringSchedulingIgnoredDuringExec } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataBackupStatusNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -202,7 +203,7 @@ pub struct DataBackupStatusNodeAffinityRequiredDuringSchedulingIgnoredDuringExec } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataBackupStatusNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -214,7 +215,7 @@ pub struct DataBackupStatusNodeAffinityRequiredDuringSchedulingIgnoredDuringExec } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataBackupStatusNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -226,7 +227,7 @@ pub struct DataBackupStatusNodeAffinityRequiredDuringSchedulingIgnoredDuringExec } /// WaitingStatus stores information about waiting operation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataBackupStatusWaitingFor { /// OperationComplete indicates if the preceding operation is complete #[serde(default, skip_serializing_if = "Option::is_none", rename = "operationComplete")] diff --git a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/dataloads.rs b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/dataloads.rs index 75e79e7ad..7d21c3c6d 100644 --- a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/dataloads.rs +++ b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/dataloads.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/dataloads.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/dataloads.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// DataLoadSpec defines the desired state of DataLoad -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "data.fluid.io", version = "v1alpha1", kind = "DataLoad", plural = "dataloads")] #[kube(namespaced)] #[kube(status = "DataLoadStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct DataLoadSpec { /// Affinity defines affinity for DataLoad pod @@ -65,7 +66,7 @@ pub struct DataLoadSpec { } /// Affinity defines affinity for DataLoad pod -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -79,7 +80,7 @@ pub struct DataLoadAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -90,7 +91,7 @@ pub struct DataLoadAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: DataLoadAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -99,7 +100,7 @@ pub struct DataLoadAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExe } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -110,7 +111,7 @@ pub struct DataLoadAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExe } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -122,7 +123,7 @@ pub struct DataLoadAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExe } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -134,7 +135,7 @@ pub struct DataLoadAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExe } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -142,7 +143,7 @@ pub struct DataLoadAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExec } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -153,7 +154,7 @@ pub struct DataLoadAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExec } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -165,7 +166,7 @@ pub struct DataLoadAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExec } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -177,7 +178,7 @@ pub struct DataLoadAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExec } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -188,7 +189,7 @@ pub struct DataLoadAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -198,7 +199,7 @@ pub struct DataLoadAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExec } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -215,7 +216,7 @@ pub struct DataLoadAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExec } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -226,7 +227,7 @@ pub struct DataLoadAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExec } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -238,7 +239,7 @@ pub struct DataLoadAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExec } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -249,7 +250,7 @@ pub struct DataLoadAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExec } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -261,7 +262,7 @@ pub struct DataLoadAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExec } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -278,7 +279,7 @@ pub struct DataLoadAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecu } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -289,7 +290,7 @@ pub struct DataLoadAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -301,7 +302,7 @@ pub struct DataLoadAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecu } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -312,7 +313,7 @@ pub struct DataLoadAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -324,7 +325,7 @@ pub struct DataLoadAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecu } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -335,7 +336,7 @@ pub struct DataLoadAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -345,7 +346,7 @@ pub struct DataLoadAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuring } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -362,7 +363,7 @@ pub struct DataLoadAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuring } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -373,7 +374,7 @@ pub struct DataLoadAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuring } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -385,7 +386,7 @@ pub struct DataLoadAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuring } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -396,7 +397,7 @@ pub struct DataLoadAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuring } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -408,7 +409,7 @@ pub struct DataLoadAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuring } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -425,7 +426,7 @@ pub struct DataLoadAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringE } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -436,7 +437,7 @@ pub struct DataLoadAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringE } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -448,7 +449,7 @@ pub struct DataLoadAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringE } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -459,7 +460,7 @@ pub struct DataLoadAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringE } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -471,7 +472,7 @@ pub struct DataLoadAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringE } /// Dataset defines the target dataset of the DataLoad -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadDataset { /// Name defines name of the target dataset pub name: String, @@ -481,7 +482,7 @@ pub struct DataLoadDataset { } /// PodMetadata defines labels and annotations that will be propagated to DataLoad pods -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadPodMetadata { /// Annotations are annotations of pod specification #[serde(default, skip_serializing_if = "Option::is_none")] @@ -500,7 +501,7 @@ pub enum DataLoadPolicy { } /// Resources that will be requested by the DataLoad job.
-#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -516,7 +517,7 @@ pub struct DataLoadResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, @@ -541,7 +542,7 @@ pub struct DataLoadRunAfter { } /// AffinityStrategy specifies the pod affinity strategy with the referent operation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadRunAfterAffinityStrategy { /// Policy one of: "", "Require", "Prefer" #[serde(default, skip_serializing_if = "Option::is_none")] @@ -553,14 +554,14 @@ pub struct DataLoadRunAfterAffinityStrategy { } /// Prefer defines the label key and weight for generating a PreferredSchedulingTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadRunAfterAffinityStrategyPrefers { pub name: String, pub weight: i32, } /// Require defines the label key for generating a NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadRunAfterAffinityStrategyRequires { pub name: String, } @@ -575,7 +576,7 @@ pub enum DataLoadRunAfterKind { } /// TargetPath defines the target path of the DataLoad -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadTarget { /// Path defines path to be load pub path: String, @@ -585,7 +586,7 @@ pub struct DataLoadTarget { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -605,7 +606,7 @@ pub struct DataLoadTolerations { } /// OperationStatus defines the observed state of operation -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadStatus { /// Conditions consists of transition information on operation's Phase pub conditions: Vec, @@ -631,7 +632,7 @@ pub struct DataLoadStatus { } /// NodeAffinity records the node affinity for operation pods -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadStatusNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -642,7 +643,7 @@ pub struct DataLoadStatusNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadStatusNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: DataLoadStatusNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -651,7 +652,7 @@ pub struct DataLoadStatusNodeAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadStatusNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -662,7 +663,7 @@ pub struct DataLoadStatusNodeAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadStatusNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -674,7 +675,7 @@ pub struct DataLoadStatusNodeAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadStatusNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -686,7 +687,7 @@ pub struct DataLoadStatusNodeAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadStatusNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -694,7 +695,7 @@ pub struct DataLoadStatusNodeAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadStatusNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -705,7 +706,7 @@ pub struct DataLoadStatusNodeAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadStatusNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -717,7 +718,7 @@ pub struct DataLoadStatusNodeAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadStatusNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -729,7 +730,7 @@ pub struct DataLoadStatusNodeAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// WaitingStatus stores information about waiting operation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataLoadStatusWaitingFor { /// OperationComplete indicates if the preceding operation is complete #[serde(default, skip_serializing_if = "Option::is_none", rename = "operationComplete")] diff --git a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/datasets.rs b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/datasets.rs index 6bcc42ebb..4717df35c 100644 --- a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/datasets.rs +++ b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/datasets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/datasets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/datasets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/goosefsruntimes.rs b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/goosefsruntimes.rs index 1aaf2c5ac..d85335fec 100644 --- a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/goosefsruntimes.rs +++ b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/goosefsruntimes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/goosefsruntimes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/goosefsruntimes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// GooseFSRuntimeSpec defines the desired state of GooseFSRuntime -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "data.fluid.io", version = "v1alpha1", kind = "GooseFSRuntime", plural = "goosefsruntimes")] #[kube(namespaced)] #[kube(status = "GooseFSRuntimeStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct GooseFSRuntimeSpec { /// The component spec of GooseFS API Gateway @@ -74,7 +75,7 @@ pub struct GooseFSRuntimeSpec { } /// The component spec of GooseFS API Gateway -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeApiGateway { /// Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations #[serde(default, skip_serializing_if = "Option::is_none")] @@ -106,7 +107,7 @@ pub struct GooseFSRuntimeApiGateway { } /// Resources that will be requested by the GooseFS component.

Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeApiGatewayResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -122,14 +123,14 @@ pub struct GooseFSRuntimeApiGatewayResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeApiGatewayResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// CleanCachePolicy defines cleanCache Policy -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeCleanCachePolicy { /// Optional duration in seconds the cache needs to clean gracefully. May be decreased in delete runtime request. Value must be non-negative integer. The value zero indicates clean immediately via the timeout command (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with timeout command. Set this value longer than the expected cleanup time for your process. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gracePeriodSeconds")] @@ -140,7 +141,7 @@ pub struct GooseFSRuntimeCleanCachePolicy { } /// Management strategies for the dataset to which the runtime is bound -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeData { /// Pin the dataset or not. Refer to Alluxio User-CLI pin #[serde(default, skip_serializing_if = "Option::is_none")] @@ -151,7 +152,7 @@ pub struct GooseFSRuntimeData { } /// The component spec of GooseFS Fuse -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeFuse { /// Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations #[serde(default, skip_serializing_if = "Option::is_none")] @@ -189,7 +190,7 @@ pub struct GooseFSRuntimeFuse { } /// Resources that will be requested by GooseFS Fuse.

Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeFuseResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -205,14 +206,14 @@ pub struct GooseFSRuntimeFuseResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeFuseResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The version information that instructs fluid to orchestrate a particular version of GooseFS. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeGoosefsVersion { /// Image (e.g. alluxio/alluxio) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -226,7 +227,7 @@ pub struct GooseFSRuntimeGoosefsVersion { } /// The spec of init users -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeInitUsers { /// Environment variables that will be used by initialize the users for runtime #[serde(default, skip_serializing_if = "Option::is_none")] @@ -246,7 +247,7 @@ pub struct GooseFSRuntimeInitUsers { } /// Resources that will be requested by initialize the users for runtime.

Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeInitUsersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -262,14 +263,14 @@ pub struct GooseFSRuntimeInitUsersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeInitUsersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The component spec of GooseFS job master -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeJobMaster { /// Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations #[serde(default, skip_serializing_if = "Option::is_none")] @@ -301,7 +302,7 @@ pub struct GooseFSRuntimeJobMaster { } /// Resources that will be requested by the GooseFS component.

Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeJobMasterResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -317,14 +318,14 @@ pub struct GooseFSRuntimeJobMasterResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeJobMasterResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The component spec of GooseFS job Worker -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeJobWorker { /// Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations #[serde(default, skip_serializing_if = "Option::is_none")] @@ -356,7 +357,7 @@ pub struct GooseFSRuntimeJobWorker { } /// Resources that will be requested by the GooseFS component.

Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeJobWorkerResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -372,14 +373,14 @@ pub struct GooseFSRuntimeJobWorkerResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeJobWorkerResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The component spec of GooseFS master -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeMaster { /// Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations #[serde(default, skip_serializing_if = "Option::is_none")] @@ -411,7 +412,7 @@ pub struct GooseFSRuntimeMaster { } /// Resources that will be requested by the GooseFS component.

Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeMasterResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -427,14 +428,14 @@ pub struct GooseFSRuntimeMasterResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeMasterResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// Manage the user to run GooseFS Runtime GooseFS support POSIX-ACL and Apache Ranger to manager authorization TODO(chrisydxie@tencent.com) Support Apache Ranger. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeRunAs { /// The gid to run the alluxio runtime pub gid: i64, @@ -447,7 +448,7 @@ pub struct GooseFSRuntimeRunAs { } /// Tiered storage used by GooseFS -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstore { /// configurations for multiple tiers #[serde(default, skip_serializing_if = "Option::is_none")] @@ -494,7 +495,7 @@ pub enum GooseFSRuntimeTieredstoreLevelsMediumtype { } /// VolumeSource is the volume source of the tier. It follows the form of corev1.VolumeSource. For now, users should only specify VolumeSource when VolumeType is set to emptyDir. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSource { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -590,7 +591,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSource { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -607,7 +608,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -630,7 +631,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -644,7 +645,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -666,7 +667,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -674,7 +675,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -691,7 +692,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -699,7 +700,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -716,7 +717,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceConfigMapItems { /// key is the key to project. pub key: String, @@ -728,7 +729,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -747,7 +748,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -755,7 +756,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -766,7 +767,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -782,7 +783,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -793,7 +794,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -806,7 +807,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceDownwardApiItemsResourceFi } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -821,7 +822,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -835,7 +836,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -845,12 +846,12 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTempla } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -879,7 +880,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTempla } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -891,7 +892,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTempla } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -906,7 +907,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTempla } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -922,14 +923,14 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTempla } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -940,7 +941,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTempla } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -952,7 +953,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTempla } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -972,7 +973,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -991,7 +992,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -999,7 +1000,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -1010,7 +1011,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1027,7 +1028,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1040,7 +1041,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -1052,7 +1053,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -1062,7 +1063,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -1098,7 +1099,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1106,7 +1107,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -1118,7 +1119,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourcePersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -1129,7 +1130,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourcePersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourcePhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1140,7 +1141,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourcePhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourcePortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1154,7 +1155,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourcePortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1165,7 +1166,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1182,7 +1183,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1196,7 +1197,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesConfigMap } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -1208,7 +1209,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesConfigMapI } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1216,7 +1217,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardAp } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -1232,7 +1233,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardAp } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1243,7 +1244,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardAp } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1256,7 +1257,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardAp } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1270,7 +1271,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -1282,7 +1283,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesSecretItem } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1295,7 +1296,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesServiceAcc } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1316,7 +1317,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1343,7 +1344,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1351,7 +1352,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1384,7 +1385,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1392,7 +1393,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1409,7 +1410,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceSecretItems { /// key is the key to project. pub key: String, @@ -1421,7 +1422,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1441,7 +1442,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1449,7 +1450,7 @@ pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeTieredstoreLevelsVolumeSourceVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1475,7 +1476,7 @@ pub enum GooseFSRuntimeTieredstoreLevelsVolumeType { } /// The component spec of GooseFS worker -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeWorker { /// Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1507,7 +1508,7 @@ pub struct GooseFSRuntimeWorker { } /// Resources that will be requested by the GooseFS component.

Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeWorkerResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1523,14 +1524,14 @@ pub struct GooseFSRuntimeWorkerResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeWorkerResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// RuntimeStatus defines the observed state of Runtime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeStatus { /// APIGatewayStatus represents rest api gateway status #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGateway")] @@ -1619,7 +1620,7 @@ pub struct GooseFSRuntimeStatus { } /// APIGatewayStatus represents rest api gateway status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeStatusApiGateway { /// Endpoint for accessing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1627,7 +1628,7 @@ pub struct GooseFSRuntimeStatusApiGateway { } /// CacheAffinity represents the runtime worker pods node affinity including node selector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeStatusCacheAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -1638,7 +1639,7 @@ pub struct GooseFSRuntimeStatusCacheAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: GooseFSRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -1647,7 +1648,7 @@ pub struct GooseFSRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuri } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1658,7 +1659,7 @@ pub struct GooseFSRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuri } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1670,7 +1671,7 @@ pub struct GooseFSRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuri } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1682,7 +1683,7 @@ pub struct GooseFSRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuri } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -1690,7 +1691,7 @@ pub struct GooseFSRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDurin } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1701,7 +1702,7 @@ pub struct GooseFSRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDurin } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1713,7 +1714,7 @@ pub struct GooseFSRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDurin } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1725,7 +1726,7 @@ pub struct GooseFSRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDurin } /// Mount describes a mounting.
Refer to Alluxio Storage Integrations for more info -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeStatusMounts { /// The secret information #[serde(default, skip_serializing_if = "Option::is_none", rename = "encryptOptions")] @@ -1750,7 +1751,7 @@ pub struct GooseFSRuntimeStatusMounts { pub shared: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeStatusMountsEncryptOptions { /// The name of encryptOption pub name: String, @@ -1760,7 +1761,7 @@ pub struct GooseFSRuntimeStatusMountsEncryptOptions { } /// The valueFrom of encryptOption -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeStatusMountsEncryptOptionsValueFrom { /// The encryptInfo obtained from secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1768,7 +1769,7 @@ pub struct GooseFSRuntimeStatusMountsEncryptOptionsValueFrom { } /// The encryptInfo obtained from secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GooseFSRuntimeStatusMountsEncryptOptionsValueFromSecretKeyRef { /// The required key in the secret #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/jindoruntimes.rs b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/jindoruntimes.rs index e584dab60..2a43ff4fd 100644 --- a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/jindoruntimes.rs +++ b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/jindoruntimes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/jindoruntimes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/jindoruntimes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// JindoRuntimeSpec defines the desired state of JindoRuntime -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "data.fluid.io", version = "v1alpha1", kind = "JindoRuntime", plural = "jindoruntimes")] #[kube(namespaced)] #[kube(status = "JindoRuntimeStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct JindoRuntimeSpec { /// CleanCachePolicy defines cleanCache Policy @@ -71,7 +72,7 @@ pub struct JindoRuntimeSpec { } /// CleanCachePolicy defines cleanCache Policy -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeCleanCachePolicy { /// Optional duration in seconds the cache needs to clean gracefully. May be decreased in delete runtime request. Value must be non-negative integer. The value zero indicates clean immediately via the timeout command (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with timeout command. Set this value longer than the expected cleanup time for your process. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gracePeriodSeconds")] @@ -82,7 +83,7 @@ pub struct JindoRuntimeCleanCachePolicy { } /// The component spec of Jindo Fuse -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeFuse { /// Arguments that will be passed to Jindo Fuse #[serde(default, skip_serializing_if = "Option::is_none")] @@ -128,7 +129,7 @@ pub struct JindoRuntimeFuse { } /// PodMetadata defines labels and annotations that will be propagated to Jindo's fuse pods -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeFusePodMetadata { /// Annotations are annotations of pod specification #[serde(default, skip_serializing_if = "Option::is_none")] @@ -139,7 +140,7 @@ pub struct JindoRuntimeFusePodMetadata { } /// Resources that will be requested by Jindo Fuse.

Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeFuseResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -155,14 +156,14 @@ pub struct JindoRuntimeFuseResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeFuseResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeFuseTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -182,7 +183,7 @@ pub struct JindoRuntimeFuseTolerations { } /// The version information that instructs fluid to orchestrate a particular version of Jindo. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeJindoVersion { /// Image (e.g. alluxio/alluxio) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -196,7 +197,7 @@ pub struct JindoRuntimeJindoVersion { } /// The component spec of Jindo master -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeMaster { /// If disable JindoFS master or worker #[serde(default, skip_serializing_if = "Option::is_none")] @@ -233,7 +234,7 @@ pub struct JindoRuntimeMaster { } /// PodMetadata defines labels and annotations that will be propagated to Jindo's pods -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeMasterPodMetadata { /// Annotations are annotations of pod specification #[serde(default, skip_serializing_if = "Option::is_none")] @@ -244,7 +245,7 @@ pub struct JindoRuntimeMasterPodMetadata { } /// Resources that will be requested by the Jindo component.

Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeMasterResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -260,14 +261,14 @@ pub struct JindoRuntimeMasterResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeMasterResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeMasterTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -287,7 +288,7 @@ pub struct JindoRuntimeMasterTolerations { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeMasterVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -318,7 +319,7 @@ pub enum JindoRuntimeNetworkmode { } /// PodMetadata defines labels and annotations that will be propagated to all Jindo's fuse pods -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimePodMetadata { /// Annotations are annotations of pod specification #[serde(default, skip_serializing_if = "Option::is_none")] @@ -329,7 +330,7 @@ pub struct JindoRuntimePodMetadata { } /// Manage the user to run Jindo Runtime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeRunAs { /// The gid to run the alluxio runtime pub gid: i64, @@ -342,7 +343,7 @@ pub struct JindoRuntimeRunAs { } /// Tiered storage used by Jindo -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstore { /// configurations for multiple tiers #[serde(default, skip_serializing_if = "Option::is_none")] @@ -389,7 +390,7 @@ pub enum JindoRuntimeTieredstoreLevelsMediumtype { } /// VolumeSource is the volume source of the tier. It follows the form of corev1.VolumeSource. For now, users should only specify VolumeSource when VolumeType is set to emptyDir. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSource { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -485,7 +486,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSource { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -502,7 +503,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -525,7 +526,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -539,7 +540,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -561,7 +562,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -569,7 +570,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -586,7 +587,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -594,7 +595,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -611,7 +612,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceConfigMapItems { /// key is the key to project. pub key: String, @@ -623,7 +624,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -642,7 +643,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -650,7 +651,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -661,7 +662,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -677,7 +678,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -688,7 +689,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -701,7 +702,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceDownwardApiItemsResourceFiel } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -716,7 +717,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -730,7 +731,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -740,12 +741,12 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplate } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -774,7 +775,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplate } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -786,7 +787,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplate } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -801,7 +802,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplate } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -817,14 +818,14 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplate } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -835,7 +836,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplate } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -847,7 +848,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplate } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -867,7 +868,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -886,7 +887,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -894,7 +895,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -905,7 +906,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -922,7 +923,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -935,7 +936,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -947,7 +948,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -957,7 +958,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -993,7 +994,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1001,7 +1002,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -1013,7 +1014,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourcePersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -1024,7 +1025,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourcePersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourcePhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1035,7 +1036,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourcePhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourcePortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1049,7 +1050,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourcePortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1060,7 +1061,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1077,7 +1078,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1091,7 +1092,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -1103,7 +1104,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesConfigMapIte } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1111,7 +1112,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApi } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -1127,7 +1128,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApiI } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1138,7 +1139,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApiI } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1151,7 +1152,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApiI } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1165,7 +1166,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -1177,7 +1178,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesSecretItems } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1190,7 +1191,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesServiceAccou } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1211,7 +1212,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1238,7 +1239,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1246,7 +1247,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1279,7 +1280,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1287,7 +1288,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1304,7 +1305,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceSecretItems { /// key is the key to project. pub key: String, @@ -1316,7 +1317,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1336,7 +1337,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1344,7 +1345,7 @@ pub struct JindoRuntimeTieredstoreLevelsVolumeSourceStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeTieredstoreLevelsVolumeSourceVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1370,7 +1371,7 @@ pub enum JindoRuntimeTieredstoreLevelsVolumeType { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -1468,7 +1469,7 @@ pub struct JindoRuntimeVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1485,7 +1486,7 @@ pub struct JindoRuntimeVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -1508,7 +1509,7 @@ pub struct JindoRuntimeVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -1522,7 +1523,7 @@ pub struct JindoRuntimeVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -1544,7 +1545,7 @@ pub struct JindoRuntimeVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1552,7 +1553,7 @@ pub struct JindoRuntimeVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1569,7 +1570,7 @@ pub struct JindoRuntimeVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1577,7 +1578,7 @@ pub struct JindoRuntimeVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1594,7 +1595,7 @@ pub struct JindoRuntimeVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -1606,7 +1607,7 @@ pub struct JindoRuntimeVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -1625,7 +1626,7 @@ pub struct JindoRuntimeVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1633,7 +1634,7 @@ pub struct JindoRuntimeVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1644,7 +1645,7 @@ pub struct JindoRuntimeVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -1660,7 +1661,7 @@ pub struct JindoRuntimeVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1671,7 +1672,7 @@ pub struct JindoRuntimeVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1684,7 +1685,7 @@ pub struct JindoRuntimeVolumesDownwardApiItemsResourceFieldRef { } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1699,7 +1700,7 @@ pub struct JindoRuntimeVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -1713,7 +1714,7 @@ pub struct JindoRuntimeVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1723,12 +1724,12 @@ pub struct JindoRuntimeVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -1757,7 +1758,7 @@ pub struct JindoRuntimeVolumesEphemeralVolumeClaimTemplateSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1769,7 +1770,7 @@ pub struct JindoRuntimeVolumesEphemeralVolumeClaimTemplateSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1784,7 +1785,7 @@ pub struct JindoRuntimeVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1800,14 +1801,14 @@ pub struct JindoRuntimeVolumesEphemeralVolumeClaimTemplateSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1818,7 +1819,7 @@ pub struct JindoRuntimeVolumesEphemeralVolumeClaimTemplateSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1830,7 +1831,7 @@ pub struct JindoRuntimeVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpre } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1850,7 +1851,7 @@ pub struct JindoRuntimeVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -1869,7 +1870,7 @@ pub struct JindoRuntimeVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1877,7 +1878,7 @@ pub struct JindoRuntimeVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -1888,7 +1889,7 @@ pub struct JindoRuntimeVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1905,7 +1906,7 @@ pub struct JindoRuntimeVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1918,7 +1919,7 @@ pub struct JindoRuntimeVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -1930,7 +1931,7 @@ pub struct JindoRuntimeVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -1940,7 +1941,7 @@ pub struct JindoRuntimeVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -1976,7 +1977,7 @@ pub struct JindoRuntimeVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1984,7 +1985,7 @@ pub struct JindoRuntimeVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -1996,7 +1997,7 @@ pub struct JindoRuntimeVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -2007,7 +2008,7 @@ pub struct JindoRuntimeVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2018,7 +2019,7 @@ pub struct JindoRuntimeVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2032,7 +2033,7 @@ pub struct JindoRuntimeVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2043,7 +2044,7 @@ pub struct JindoRuntimeVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2060,7 +2061,7 @@ pub struct JindoRuntimeVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2074,7 +2075,7 @@ pub struct JindoRuntimeVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -2086,7 +2087,7 @@ pub struct JindoRuntimeVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2094,7 +2095,7 @@ pub struct JindoRuntimeVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -2110,7 +2111,7 @@ pub struct JindoRuntimeVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2121,7 +2122,7 @@ pub struct JindoRuntimeVolumesProjectedSourcesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2134,7 +2135,7 @@ pub struct JindoRuntimeVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2148,7 +2149,7 @@ pub struct JindoRuntimeVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -2160,7 +2161,7 @@ pub struct JindoRuntimeVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2173,7 +2174,7 @@ pub struct JindoRuntimeVolumesProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2194,7 +2195,7 @@ pub struct JindoRuntimeVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2221,7 +2222,7 @@ pub struct JindoRuntimeVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2229,7 +2230,7 @@ pub struct JindoRuntimeVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2262,7 +2263,7 @@ pub struct JindoRuntimeVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2270,7 +2271,7 @@ pub struct JindoRuntimeVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2287,7 +2288,7 @@ pub struct JindoRuntimeVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesSecretItems { /// key is the key to project. pub key: String, @@ -2299,7 +2300,7 @@ pub struct JindoRuntimeVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2319,7 +2320,7 @@ pub struct JindoRuntimeVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2327,7 +2328,7 @@ pub struct JindoRuntimeVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2344,7 +2345,7 @@ pub struct JindoRuntimeVolumesVsphereVolume { } /// The component spec of Jindo worker -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeWorker { /// If disable JindoFS master or worker #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2381,7 +2382,7 @@ pub struct JindoRuntimeWorker { } /// PodMetadata defines labels and annotations that will be propagated to Jindo's pods -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeWorkerPodMetadata { /// Annotations are annotations of pod specification #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2392,7 +2393,7 @@ pub struct JindoRuntimeWorkerPodMetadata { } /// Resources that will be requested by the Jindo component.

Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeWorkerResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2408,14 +2409,14 @@ pub struct JindoRuntimeWorkerResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeWorkerResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeWorkerTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2435,7 +2436,7 @@ pub struct JindoRuntimeWorkerTolerations { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeWorkerVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -2457,7 +2458,7 @@ pub struct JindoRuntimeWorkerVolumeMounts { } /// RuntimeStatus defines the observed state of Runtime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeStatus { /// APIGatewayStatus represents rest api gateway status #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGateway")] @@ -2546,7 +2547,7 @@ pub struct JindoRuntimeStatus { } /// APIGatewayStatus represents rest api gateway status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeStatusApiGateway { /// Endpoint for accessing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2554,7 +2555,7 @@ pub struct JindoRuntimeStatusApiGateway { } /// CacheAffinity represents the runtime worker pods node affinity including node selector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeStatusCacheAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -2565,7 +2566,7 @@ pub struct JindoRuntimeStatusCacheAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: JindoRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -2574,7 +2575,7 @@ pub struct JindoRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuring } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2585,7 +2586,7 @@ pub struct JindoRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuring } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -2597,7 +2598,7 @@ pub struct JindoRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuring } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -2609,7 +2610,7 @@ pub struct JindoRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuring } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -2617,7 +2618,7 @@ pub struct JindoRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringE } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2628,7 +2629,7 @@ pub struct JindoRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringE } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -2640,7 +2641,7 @@ pub struct JindoRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringE } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -2652,7 +2653,7 @@ pub struct JindoRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringE } /// Mount describes a mounting.
Refer to Alluxio Storage Integrations for more info -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeStatusMounts { /// The secret information #[serde(default, skip_serializing_if = "Option::is_none", rename = "encryptOptions")] @@ -2677,7 +2678,7 @@ pub struct JindoRuntimeStatusMounts { pub shared: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeStatusMountsEncryptOptions { /// The name of encryptOption pub name: String, @@ -2687,7 +2688,7 @@ pub struct JindoRuntimeStatusMountsEncryptOptions { } /// The valueFrom of encryptOption -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeStatusMountsEncryptOptionsValueFrom { /// The encryptInfo obtained from secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -2695,7 +2696,7 @@ pub struct JindoRuntimeStatusMountsEncryptOptionsValueFrom { } /// The encryptInfo obtained from secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JindoRuntimeStatusMountsEncryptOptionsValueFromSecretKeyRef { /// The required key in the secret #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/juicefsruntimes.rs b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/juicefsruntimes.rs index cf0d8e383..90c1a8d15 100644 --- a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/juicefsruntimes.rs +++ b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/juicefsruntimes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/juicefsruntimes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/juicefsruntimes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// JuiceFSRuntimeSpec defines the desired state of JuiceFSRuntime -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "data.fluid.io", version = "v1alpha1", kind = "JuiceFSRuntime", plural = "juicefsruntimes")] #[kube(namespaced)] #[kube(status = "JuiceFSRuntimeStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct JuiceFSRuntimeSpec { /// CleanCachePolicy defines cleanCache Policy @@ -65,7 +66,7 @@ pub struct JuiceFSRuntimeSpec { } /// CleanCachePolicy defines cleanCache Policy -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeCleanCachePolicy { /// Optional duration in seconds the cache needs to clean gracefully. May be decreased in delete runtime request. Value must be non-negative integer. The value zero indicates clean immediately via the timeout command (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with timeout command. Set this value longer than the expected cleanup time for your process. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gracePeriodSeconds")] @@ -76,7 +77,7 @@ pub struct JuiceFSRuntimeCleanCachePolicy { } /// Desired state for JuiceFS Fuse -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeFuse { /// CleanPolicy decides when to clean Juicefs Fuse pods. Currently Fluid supports two policies: OnDemand and OnRuntimeDeleted OnDemand cleans fuse pod once th fuse pod on some node is not needed OnRuntimeDeleted cleans fuse pod only when the cache runtime is deleted Defaults to OnDemand #[serde(default, skip_serializing_if = "Option::is_none", rename = "cleanPolicy")] @@ -114,7 +115,7 @@ pub struct JuiceFSRuntimeFuse { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeFuseEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -127,7 +128,7 @@ pub struct JuiceFSRuntimeFuseEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeFuseEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -144,7 +145,7 @@ pub struct JuiceFSRuntimeFuseEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeFuseEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -157,7 +158,7 @@ pub struct JuiceFSRuntimeFuseEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeFuseEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -168,7 +169,7 @@ pub struct JuiceFSRuntimeFuseEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeFuseEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -181,7 +182,7 @@ pub struct JuiceFSRuntimeFuseEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeFuseEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -203,7 +204,7 @@ pub enum JuiceFSRuntimeFuseNetworkMode { } /// PodMetadata defines labels and annotations that will be propagated to JuiceFs's pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeFusePodMetadata { /// Annotations are annotations of pod specification #[serde(default, skip_serializing_if = "Option::is_none")] @@ -214,7 +215,7 @@ pub struct JuiceFSRuntimeFusePodMetadata { } /// Resources that will be requested by JuiceFS Fuse. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeFuseResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -230,14 +231,14 @@ pub struct JuiceFSRuntimeFuseResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeFuseResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeFuseVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -259,7 +260,7 @@ pub struct JuiceFSRuntimeFuseVolumeMounts { } /// The spec of init users -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeInitUsers { /// Environment variables that will be used by initialize the users for runtime #[serde(default, skip_serializing_if = "Option::is_none")] @@ -279,7 +280,7 @@ pub struct JuiceFSRuntimeInitUsers { } /// Resources that will be requested by initialize the users for runtime.

Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeInitUsersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -295,14 +296,14 @@ pub struct JuiceFSRuntimeInitUsersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeInitUsersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The component spec of JuiceFS job Worker -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeJobWorker { /// Enabled or Disabled for the components. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -337,7 +338,7 @@ pub struct JuiceFSRuntimeJobWorker { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeJobWorkerEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -350,7 +351,7 @@ pub struct JuiceFSRuntimeJobWorkerEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeJobWorkerEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -367,7 +368,7 @@ pub struct JuiceFSRuntimeJobWorkerEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeJobWorkerEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -380,7 +381,7 @@ pub struct JuiceFSRuntimeJobWorkerEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeJobWorkerEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -391,7 +392,7 @@ pub struct JuiceFSRuntimeJobWorkerEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeJobWorkerEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -404,7 +405,7 @@ pub struct JuiceFSRuntimeJobWorkerEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeJobWorkerEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -426,7 +427,7 @@ pub enum JuiceFSRuntimeJobWorkerNetworkMode { } /// PodMetadata defines labels and annotations that will be propagated to JuiceFs's pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeJobWorkerPodMetadata { /// Annotations are annotations of pod specification #[serde(default, skip_serializing_if = "Option::is_none")] @@ -437,7 +438,7 @@ pub struct JuiceFSRuntimeJobWorkerPodMetadata { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeJobWorkerPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -457,7 +458,7 @@ pub struct JuiceFSRuntimeJobWorkerPorts { } /// Resources that will be requested by the JuiceFS component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeJobWorkerResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -473,14 +474,14 @@ pub struct JuiceFSRuntimeJobWorkerResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeJobWorkerResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeJobWorkerVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -502,7 +503,7 @@ pub struct JuiceFSRuntimeJobWorkerVolumeMounts { } /// The version information that instructs fluid to orchestrate a particular version of JuiceFS. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeJuicefsVersion { /// Image (e.g. alluxio/alluxio) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -516,7 +517,7 @@ pub struct JuiceFSRuntimeJuicefsVersion { } /// The component spec of JuiceFS master -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeMaster { /// Enabled or Disabled for the components. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -551,7 +552,7 @@ pub struct JuiceFSRuntimeMaster { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeMasterEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -564,7 +565,7 @@ pub struct JuiceFSRuntimeMasterEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeMasterEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -581,7 +582,7 @@ pub struct JuiceFSRuntimeMasterEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeMasterEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -594,7 +595,7 @@ pub struct JuiceFSRuntimeMasterEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeMasterEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -605,7 +606,7 @@ pub struct JuiceFSRuntimeMasterEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeMasterEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -618,7 +619,7 @@ pub struct JuiceFSRuntimeMasterEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeMasterEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -640,7 +641,7 @@ pub enum JuiceFSRuntimeMasterNetworkMode { } /// PodMetadata defines labels and annotations that will be propagated to JuiceFs's pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeMasterPodMetadata { /// Annotations are annotations of pod specification #[serde(default, skip_serializing_if = "Option::is_none")] @@ -651,7 +652,7 @@ pub struct JuiceFSRuntimeMasterPodMetadata { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeMasterPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -671,7 +672,7 @@ pub struct JuiceFSRuntimeMasterPorts { } /// Resources that will be requested by the JuiceFS component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeMasterResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -687,14 +688,14 @@ pub struct JuiceFSRuntimeMasterResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeMasterResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeMasterVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -716,7 +717,7 @@ pub struct JuiceFSRuntimeMasterVolumeMounts { } /// PodMetadata defines labels and annotations that will be propagated to JuiceFs's pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimePodMetadata { /// Annotations are annotations of pod specification #[serde(default, skip_serializing_if = "Option::is_none")] @@ -727,7 +728,7 @@ pub struct JuiceFSRuntimePodMetadata { } /// Manage the user to run Juicefs Runtime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeRunAs { /// The gid to run the alluxio runtime pub gid: i64, @@ -740,7 +741,7 @@ pub struct JuiceFSRuntimeRunAs { } /// Tiered storage used by JuiceFS -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstore { /// configurations for multiple tiers #[serde(default, skip_serializing_if = "Option::is_none")] @@ -787,7 +788,7 @@ pub enum JuiceFSRuntimeTieredstoreLevelsMediumtype { } /// VolumeSource is the volume source of the tier. It follows the form of corev1.VolumeSource. For now, users should only specify VolumeSource when VolumeType is set to emptyDir. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSource { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -883,7 +884,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSource { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -900,7 +901,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -923,7 +924,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -937,7 +938,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -959,7 +960,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -967,7 +968,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -984,7 +985,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -992,7 +993,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1009,7 +1010,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceConfigMapItems { /// key is the key to project. pub key: String, @@ -1021,7 +1022,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -1040,7 +1041,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1048,7 +1049,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1059,7 +1060,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -1075,7 +1076,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1086,7 +1087,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1099,7 +1100,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceDownwardApiItemsResourceFi } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1114,7 +1115,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -1128,7 +1129,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1138,12 +1139,12 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTempla } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -1172,7 +1173,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTempla } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1184,7 +1185,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTempla } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1199,7 +1200,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTempla } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1215,14 +1216,14 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTempla } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1233,7 +1234,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTempla } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1245,7 +1246,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTempla } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1265,7 +1266,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -1284,7 +1285,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1292,7 +1293,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -1303,7 +1304,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1320,7 +1321,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1333,7 +1334,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -1345,7 +1346,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -1355,7 +1356,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -1391,7 +1392,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1399,7 +1400,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -1411,7 +1412,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourcePersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -1422,7 +1423,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourcePersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourcePhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1433,7 +1434,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourcePhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourcePortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1447,7 +1448,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourcePortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1458,7 +1459,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1475,7 +1476,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1489,7 +1490,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesConfigMap } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -1501,7 +1502,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesConfigMapI } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1509,7 +1510,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardAp } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -1525,7 +1526,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardAp } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1536,7 +1537,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardAp } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1549,7 +1550,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardAp } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1563,7 +1564,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -1575,7 +1576,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesSecretItem } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1588,7 +1589,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesServiceAcc } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1609,7 +1610,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1636,7 +1637,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1644,7 +1645,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1677,7 +1678,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1685,7 +1686,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1702,7 +1703,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceSecretItems { /// key is the key to project. pub key: String, @@ -1714,7 +1715,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1734,7 +1735,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1742,7 +1743,7 @@ pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeTieredstoreLevelsVolumeSourceVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1768,7 +1769,7 @@ pub enum JuiceFSRuntimeTieredstoreLevelsVolumeType { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -1866,7 +1867,7 @@ pub struct JuiceFSRuntimeVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1883,7 +1884,7 @@ pub struct JuiceFSRuntimeVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -1906,7 +1907,7 @@ pub struct JuiceFSRuntimeVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -1920,7 +1921,7 @@ pub struct JuiceFSRuntimeVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -1942,7 +1943,7 @@ pub struct JuiceFSRuntimeVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1950,7 +1951,7 @@ pub struct JuiceFSRuntimeVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1967,7 +1968,7 @@ pub struct JuiceFSRuntimeVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1975,7 +1976,7 @@ pub struct JuiceFSRuntimeVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1992,7 +1993,7 @@ pub struct JuiceFSRuntimeVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -2004,7 +2005,7 @@ pub struct JuiceFSRuntimeVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -2023,7 +2024,7 @@ pub struct JuiceFSRuntimeVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2031,7 +2032,7 @@ pub struct JuiceFSRuntimeVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2042,7 +2043,7 @@ pub struct JuiceFSRuntimeVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -2058,7 +2059,7 @@ pub struct JuiceFSRuntimeVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2069,7 +2070,7 @@ pub struct JuiceFSRuntimeVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2082,7 +2083,7 @@ pub struct JuiceFSRuntimeVolumesDownwardApiItemsResourceFieldRef { } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2097,7 +2098,7 @@ pub struct JuiceFSRuntimeVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -2111,7 +2112,7 @@ pub struct JuiceFSRuntimeVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2121,12 +2122,12 @@ pub struct JuiceFSRuntimeVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -2155,7 +2156,7 @@ pub struct JuiceFSRuntimeVolumesEphemeralVolumeClaimTemplateSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2167,7 +2168,7 @@ pub struct JuiceFSRuntimeVolumesEphemeralVolumeClaimTemplateSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2182,7 +2183,7 @@ pub struct JuiceFSRuntimeVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2198,14 +2199,14 @@ pub struct JuiceFSRuntimeVolumesEphemeralVolumeClaimTemplateSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2216,7 +2217,7 @@ pub struct JuiceFSRuntimeVolumesEphemeralVolumeClaimTemplateSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2228,7 +2229,7 @@ pub struct JuiceFSRuntimeVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExp } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2248,7 +2249,7 @@ pub struct JuiceFSRuntimeVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -2267,7 +2268,7 @@ pub struct JuiceFSRuntimeVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2275,7 +2276,7 @@ pub struct JuiceFSRuntimeVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -2286,7 +2287,7 @@ pub struct JuiceFSRuntimeVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2303,7 +2304,7 @@ pub struct JuiceFSRuntimeVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2316,7 +2317,7 @@ pub struct JuiceFSRuntimeVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -2328,7 +2329,7 @@ pub struct JuiceFSRuntimeVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -2338,7 +2339,7 @@ pub struct JuiceFSRuntimeVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -2374,7 +2375,7 @@ pub struct JuiceFSRuntimeVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2382,7 +2383,7 @@ pub struct JuiceFSRuntimeVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -2394,7 +2395,7 @@ pub struct JuiceFSRuntimeVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -2405,7 +2406,7 @@ pub struct JuiceFSRuntimeVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2416,7 +2417,7 @@ pub struct JuiceFSRuntimeVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2430,7 +2431,7 @@ pub struct JuiceFSRuntimeVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2441,7 +2442,7 @@ pub struct JuiceFSRuntimeVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2458,7 +2459,7 @@ pub struct JuiceFSRuntimeVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2472,7 +2473,7 @@ pub struct JuiceFSRuntimeVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -2484,7 +2485,7 @@ pub struct JuiceFSRuntimeVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2492,7 +2493,7 @@ pub struct JuiceFSRuntimeVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -2508,7 +2509,7 @@ pub struct JuiceFSRuntimeVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2519,7 +2520,7 @@ pub struct JuiceFSRuntimeVolumesProjectedSourcesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2532,7 +2533,7 @@ pub struct JuiceFSRuntimeVolumesProjectedSourcesDownwardApiItemsResourceFieldRef } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2546,7 +2547,7 @@ pub struct JuiceFSRuntimeVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -2558,7 +2559,7 @@ pub struct JuiceFSRuntimeVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2571,7 +2572,7 @@ pub struct JuiceFSRuntimeVolumesProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2592,7 +2593,7 @@ pub struct JuiceFSRuntimeVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2619,7 +2620,7 @@ pub struct JuiceFSRuntimeVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2627,7 +2628,7 @@ pub struct JuiceFSRuntimeVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2660,7 +2661,7 @@ pub struct JuiceFSRuntimeVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2668,7 +2669,7 @@ pub struct JuiceFSRuntimeVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2685,7 +2686,7 @@ pub struct JuiceFSRuntimeVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesSecretItems { /// key is the key to project. pub key: String, @@ -2697,7 +2698,7 @@ pub struct JuiceFSRuntimeVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2717,7 +2718,7 @@ pub struct JuiceFSRuntimeVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2725,7 +2726,7 @@ pub struct JuiceFSRuntimeVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2742,7 +2743,7 @@ pub struct JuiceFSRuntimeVolumesVsphereVolume { } /// The component spec of JuiceFS worker -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeWorker { /// Enabled or Disabled for the components. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2777,7 +2778,7 @@ pub struct JuiceFSRuntimeWorker { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeWorkerEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -2790,7 +2791,7 @@ pub struct JuiceFSRuntimeWorkerEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeWorkerEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -2807,7 +2808,7 @@ pub struct JuiceFSRuntimeWorkerEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeWorkerEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -2820,7 +2821,7 @@ pub struct JuiceFSRuntimeWorkerEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeWorkerEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2831,7 +2832,7 @@ pub struct JuiceFSRuntimeWorkerEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeWorkerEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2844,7 +2845,7 @@ pub struct JuiceFSRuntimeWorkerEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeWorkerEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2866,7 +2867,7 @@ pub enum JuiceFSRuntimeWorkerNetworkMode { } /// PodMetadata defines labels and annotations that will be propagated to JuiceFs's pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeWorkerPodMetadata { /// Annotations are annotations of pod specification #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2877,7 +2878,7 @@ pub struct JuiceFSRuntimeWorkerPodMetadata { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeWorkerPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -2897,7 +2898,7 @@ pub struct JuiceFSRuntimeWorkerPorts { } /// Resources that will be requested by the JuiceFS component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeWorkerResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2913,14 +2914,14 @@ pub struct JuiceFSRuntimeWorkerResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeWorkerResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeWorkerVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -2942,7 +2943,7 @@ pub struct JuiceFSRuntimeWorkerVolumeMounts { } /// RuntimeStatus defines the observed state of Runtime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeStatus { /// APIGatewayStatus represents rest api gateway status #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGateway")] @@ -3031,7 +3032,7 @@ pub struct JuiceFSRuntimeStatus { } /// APIGatewayStatus represents rest api gateway status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeStatusApiGateway { /// Endpoint for accessing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3039,7 +3040,7 @@ pub struct JuiceFSRuntimeStatusApiGateway { } /// CacheAffinity represents the runtime worker pods node affinity including node selector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeStatusCacheAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -3050,7 +3051,7 @@ pub struct JuiceFSRuntimeStatusCacheAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: JuiceFSRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -3059,7 +3060,7 @@ pub struct JuiceFSRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuri } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3070,7 +3071,7 @@ pub struct JuiceFSRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuri } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -3082,7 +3083,7 @@ pub struct JuiceFSRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuri } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -3094,7 +3095,7 @@ pub struct JuiceFSRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuri } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -3102,7 +3103,7 @@ pub struct JuiceFSRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDurin } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3113,7 +3114,7 @@ pub struct JuiceFSRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDurin } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -3125,7 +3126,7 @@ pub struct JuiceFSRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDurin } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -3137,7 +3138,7 @@ pub struct JuiceFSRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDurin } /// Mount describes a mounting.
Refer to Alluxio Storage Integrations for more info -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeStatusMounts { /// The secret information #[serde(default, skip_serializing_if = "Option::is_none", rename = "encryptOptions")] @@ -3162,7 +3163,7 @@ pub struct JuiceFSRuntimeStatusMounts { pub shared: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeStatusMountsEncryptOptions { /// The name of encryptOption pub name: String, @@ -3172,7 +3173,7 @@ pub struct JuiceFSRuntimeStatusMountsEncryptOptions { } /// The valueFrom of encryptOption -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeStatusMountsEncryptOptionsValueFrom { /// The encryptInfo obtained from secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -3180,7 +3181,7 @@ pub struct JuiceFSRuntimeStatusMountsEncryptOptionsValueFrom { } /// The encryptInfo obtained from secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JuiceFSRuntimeStatusMountsEncryptOptionsValueFromSecretKeyRef { /// The required key in the secret #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/thinruntimeprofiles.rs b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/thinruntimeprofiles.rs index 1aeecbbaa..6bcd0cd9f 100644 --- a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/thinruntimeprofiles.rs +++ b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/thinruntimeprofiles.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/thinruntimeprofiles.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/thinruntimeprofiles.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/thinruntimes.rs b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/thinruntimes.rs index 5c288ee7a..d12dd4b0b 100644 --- a/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/thinruntimes.rs +++ b/kube-custom-resources-rs/src/data_fluid_io/v1alpha1/thinruntimes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/thinruntimes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluid-cloudnative/fluid/data.fluid.io/v1alpha1/thinruntimes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// ThinRuntimeSpec defines the desired state of ThinRuntime -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "data.fluid.io", version = "v1alpha1", kind = "ThinRuntime", plural = "thinruntimes")] #[kube(namespaced)] #[kube(status = "ThinRuntimeStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ThinRuntimeSpec { /// Disable monitoring for Runtime Prometheus is enabled by default @@ -50,7 +51,7 @@ pub struct ThinRuntimeSpec { } /// The component spec of thinRuntime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeFuse { /// Arguments that will be passed to thinRuntime Fuse #[serde(default, skip_serializing_if = "Option::is_none")] @@ -100,7 +101,7 @@ pub struct ThinRuntimeFuse { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeFuseEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -113,7 +114,7 @@ pub struct ThinRuntimeFuseEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeFuseEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -130,7 +131,7 @@ pub struct ThinRuntimeFuseEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeFuseEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -143,7 +144,7 @@ pub struct ThinRuntimeFuseEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeFuseEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -154,7 +155,7 @@ pub struct ThinRuntimeFuseEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeFuseEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -167,7 +168,7 @@ pub struct ThinRuntimeFuseEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeFuseEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -180,7 +181,7 @@ pub struct ThinRuntimeFuseEnvValueFromSecretKeyRef { } /// livenessProbe of thin fuse pod -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeFuseLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -215,7 +216,7 @@ pub struct ThinRuntimeFuseLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeFuseLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -223,7 +224,7 @@ pub struct ThinRuntimeFuseLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeFuseLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -234,7 +235,7 @@ pub struct ThinRuntimeFuseLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeFuseLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -253,7 +254,7 @@ pub struct ThinRuntimeFuseLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeFuseLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -262,7 +263,7 @@ pub struct ThinRuntimeFuseLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeFuseLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -281,7 +282,7 @@ pub enum ThinRuntimeFuseNetworkMode { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeFusePorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -301,7 +302,7 @@ pub struct ThinRuntimeFusePorts { } /// readinessProbe of thin fuse pod -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeFuseReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -336,7 +337,7 @@ pub struct ThinRuntimeFuseReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeFuseReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -344,7 +345,7 @@ pub struct ThinRuntimeFuseReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeFuseReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -355,7 +356,7 @@ pub struct ThinRuntimeFuseReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeFuseReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -374,7 +375,7 @@ pub struct ThinRuntimeFuseReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeFuseReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -383,7 +384,7 @@ pub struct ThinRuntimeFuseReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeFuseReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -393,7 +394,7 @@ pub struct ThinRuntimeFuseReadinessProbeTcpSocket { } /// Resources that will be requested by thinRuntime Fuse. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeFuseResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -409,14 +410,14 @@ pub struct ThinRuntimeFuseResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeFuseResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeFuseVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -438,7 +439,7 @@ pub struct ThinRuntimeFuseVolumeMounts { } /// RuntimeManagement defines policies when managing the runtime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeManagement { /// CleanCachePolicy defines the policy of cleaning cache when shutting down the runtime #[serde(default, skip_serializing_if = "Option::is_none", rename = "cleanCachePolicy")] @@ -449,7 +450,7 @@ pub struct ThinRuntimeManagement { } /// CleanCachePolicy defines the policy of cleaning cache when shutting down the runtime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeManagementCleanCachePolicy { /// Optional duration in seconds the cache needs to clean gracefully. May be decreased in delete runtime request. Value must be non-negative integer. The value zero indicates clean immediately via the timeout command (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with timeout command. Set this value longer than the expected cleanup time for your process. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gracePeriodSeconds")] @@ -460,7 +461,7 @@ pub struct ThinRuntimeManagementCleanCachePolicy { } /// MetadataSyncPolicy defines the policy of syncing metadata when setting up the runtime. If not set, -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeManagementMetadataSyncPolicy { /// AutoSync enables automatic metadata sync when setting up a runtime. If not set, it defaults to true. #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoSync")] @@ -468,7 +469,7 @@ pub struct ThinRuntimeManagementMetadataSyncPolicy { } /// Manage the user to run Runtime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeRunAs { /// The gid to run the alluxio runtime pub gid: i64, @@ -481,7 +482,7 @@ pub struct ThinRuntimeRunAs { } /// Tiered storage -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstore { /// configurations for multiple tiers #[serde(default, skip_serializing_if = "Option::is_none")] @@ -528,7 +529,7 @@ pub enum ThinRuntimeTieredstoreLevelsMediumtype { } /// VolumeSource is the volume source of the tier. It follows the form of corev1.VolumeSource. For now, users should only specify VolumeSource when VolumeType is set to emptyDir. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSource { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -624,7 +625,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSource { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -641,7 +642,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -664,7 +665,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -678,7 +679,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -700,7 +701,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -708,7 +709,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -725,7 +726,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -733,7 +734,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -750,7 +751,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceConfigMapItems { /// key is the key to project. pub key: String, @@ -762,7 +763,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -781,7 +782,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -789,7 +790,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -800,7 +801,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -816,7 +817,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -827,7 +828,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -840,7 +841,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceDownwardApiItemsResourceField } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -855,7 +856,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -869,7 +870,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -879,12 +880,12 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplate } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -913,7 +914,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateS } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -925,7 +926,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateS } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -940,7 +941,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateS } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -956,14 +957,14 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateS } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -974,7 +975,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateS } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -986,7 +987,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceEphemeralVolumeClaimTemplateS } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1006,7 +1007,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -1025,7 +1026,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1033,7 +1034,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -1044,7 +1045,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1061,7 +1062,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1074,7 +1075,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -1086,7 +1087,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -1096,7 +1097,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -1132,7 +1133,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1140,7 +1141,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -1152,7 +1153,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourcePersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -1163,7 +1164,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourcePersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourcePhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1174,7 +1175,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourcePhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourcePortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1188,7 +1189,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourcePortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1199,7 +1200,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1216,7 +1217,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1230,7 +1231,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -1242,7 +1243,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesConfigMapItem } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1250,7 +1251,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -1266,7 +1267,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApiIt } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1277,7 +1278,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApiIt } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1290,7 +1291,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesDownwardApiIt } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1304,7 +1305,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -1316,7 +1317,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1329,7 +1330,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceProjectedSourcesServiceAccoun } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1350,7 +1351,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1377,7 +1378,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1385,7 +1386,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1418,7 +1419,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1426,7 +1427,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1443,7 +1444,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceSecretItems { /// key is the key to project. pub key: String, @@ -1455,7 +1456,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1475,7 +1476,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1483,7 +1484,7 @@ pub struct ThinRuntimeTieredstoreLevelsVolumeSourceStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeTieredstoreLevelsVolumeSourceVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1509,7 +1510,7 @@ pub enum ThinRuntimeTieredstoreLevelsVolumeType { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -1607,7 +1608,7 @@ pub struct ThinRuntimeVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1624,7 +1625,7 @@ pub struct ThinRuntimeVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -1647,7 +1648,7 @@ pub struct ThinRuntimeVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -1661,7 +1662,7 @@ pub struct ThinRuntimeVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -1683,7 +1684,7 @@ pub struct ThinRuntimeVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1691,7 +1692,7 @@ pub struct ThinRuntimeVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1708,7 +1709,7 @@ pub struct ThinRuntimeVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1716,7 +1717,7 @@ pub struct ThinRuntimeVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1733,7 +1734,7 @@ pub struct ThinRuntimeVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -1745,7 +1746,7 @@ pub struct ThinRuntimeVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -1764,7 +1765,7 @@ pub struct ThinRuntimeVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1772,7 +1773,7 @@ pub struct ThinRuntimeVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1783,7 +1784,7 @@ pub struct ThinRuntimeVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -1799,7 +1800,7 @@ pub struct ThinRuntimeVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1810,7 +1811,7 @@ pub struct ThinRuntimeVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1823,7 +1824,7 @@ pub struct ThinRuntimeVolumesDownwardApiItemsResourceFieldRef { } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1838,7 +1839,7 @@ pub struct ThinRuntimeVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -1852,7 +1853,7 @@ pub struct ThinRuntimeVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1862,12 +1863,12 @@ pub struct ThinRuntimeVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -1896,7 +1897,7 @@ pub struct ThinRuntimeVolumesEphemeralVolumeClaimTemplateSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1908,7 +1909,7 @@ pub struct ThinRuntimeVolumesEphemeralVolumeClaimTemplateSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1923,7 +1924,7 @@ pub struct ThinRuntimeVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1939,14 +1940,14 @@ pub struct ThinRuntimeVolumesEphemeralVolumeClaimTemplateSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1957,7 +1958,7 @@ pub struct ThinRuntimeVolumesEphemeralVolumeClaimTemplateSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1969,7 +1970,7 @@ pub struct ThinRuntimeVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpres } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1989,7 +1990,7 @@ pub struct ThinRuntimeVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -2008,7 +2009,7 @@ pub struct ThinRuntimeVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2016,7 +2017,7 @@ pub struct ThinRuntimeVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -2027,7 +2028,7 @@ pub struct ThinRuntimeVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2044,7 +2045,7 @@ pub struct ThinRuntimeVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2057,7 +2058,7 @@ pub struct ThinRuntimeVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -2069,7 +2070,7 @@ pub struct ThinRuntimeVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -2079,7 +2080,7 @@ pub struct ThinRuntimeVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -2115,7 +2116,7 @@ pub struct ThinRuntimeVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2123,7 +2124,7 @@ pub struct ThinRuntimeVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -2135,7 +2136,7 @@ pub struct ThinRuntimeVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -2146,7 +2147,7 @@ pub struct ThinRuntimeVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2157,7 +2158,7 @@ pub struct ThinRuntimeVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2171,7 +2172,7 @@ pub struct ThinRuntimeVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2182,7 +2183,7 @@ pub struct ThinRuntimeVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2199,7 +2200,7 @@ pub struct ThinRuntimeVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2213,7 +2214,7 @@ pub struct ThinRuntimeVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -2225,7 +2226,7 @@ pub struct ThinRuntimeVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2233,7 +2234,7 @@ pub struct ThinRuntimeVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -2249,7 +2250,7 @@ pub struct ThinRuntimeVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2260,7 +2261,7 @@ pub struct ThinRuntimeVolumesProjectedSourcesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2273,7 +2274,7 @@ pub struct ThinRuntimeVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2287,7 +2288,7 @@ pub struct ThinRuntimeVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -2299,7 +2300,7 @@ pub struct ThinRuntimeVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2312,7 +2313,7 @@ pub struct ThinRuntimeVolumesProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2333,7 +2334,7 @@ pub struct ThinRuntimeVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2360,7 +2361,7 @@ pub struct ThinRuntimeVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2368,7 +2369,7 @@ pub struct ThinRuntimeVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2401,7 +2402,7 @@ pub struct ThinRuntimeVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2409,7 +2410,7 @@ pub struct ThinRuntimeVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2426,7 +2427,7 @@ pub struct ThinRuntimeVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesSecretItems { /// key is the key to project. pub key: String, @@ -2438,7 +2439,7 @@ pub struct ThinRuntimeVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2458,7 +2459,7 @@ pub struct ThinRuntimeVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2466,7 +2467,7 @@ pub struct ThinRuntimeVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2483,7 +2484,7 @@ pub struct ThinRuntimeVolumesVsphereVolume { } /// The component spec of worker -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeWorker { /// Enabled or Disabled for the components. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2527,7 +2528,7 @@ pub struct ThinRuntimeWorker { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeWorkerEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -2540,7 +2541,7 @@ pub struct ThinRuntimeWorkerEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeWorkerEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -2557,7 +2558,7 @@ pub struct ThinRuntimeWorkerEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeWorkerEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -2570,7 +2571,7 @@ pub struct ThinRuntimeWorkerEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeWorkerEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2581,7 +2582,7 @@ pub struct ThinRuntimeWorkerEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeWorkerEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2594,7 +2595,7 @@ pub struct ThinRuntimeWorkerEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeWorkerEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2607,7 +2608,7 @@ pub struct ThinRuntimeWorkerEnvValueFromSecretKeyRef { } /// livenessProbe of thin fuse pod -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeWorkerLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2642,7 +2643,7 @@ pub struct ThinRuntimeWorkerLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeWorkerLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2650,7 +2651,7 @@ pub struct ThinRuntimeWorkerLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeWorkerLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2661,7 +2662,7 @@ pub struct ThinRuntimeWorkerLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeWorkerLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2680,7 +2681,7 @@ pub struct ThinRuntimeWorkerLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeWorkerLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2689,7 +2690,7 @@ pub struct ThinRuntimeWorkerLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeWorkerLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2708,7 +2709,7 @@ pub enum ThinRuntimeWorkerNetworkMode { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeWorkerPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -2728,7 +2729,7 @@ pub struct ThinRuntimeWorkerPorts { } /// readinessProbe of thin fuse pod -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeWorkerReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2763,7 +2764,7 @@ pub struct ThinRuntimeWorkerReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeWorkerReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2771,7 +2772,7 @@ pub struct ThinRuntimeWorkerReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeWorkerReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2782,7 +2783,7 @@ pub struct ThinRuntimeWorkerReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeWorkerReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2801,7 +2802,7 @@ pub struct ThinRuntimeWorkerReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeWorkerReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2810,7 +2811,7 @@ pub struct ThinRuntimeWorkerReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeWorkerReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2820,7 +2821,7 @@ pub struct ThinRuntimeWorkerReadinessProbeTcpSocket { } /// Resources that will be requested by thinRuntime component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeWorkerResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2836,14 +2837,14 @@ pub struct ThinRuntimeWorkerResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeWorkerResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeWorkerVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -2865,7 +2866,7 @@ pub struct ThinRuntimeWorkerVolumeMounts { } /// RuntimeStatus defines the observed state of Runtime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeStatus { /// APIGatewayStatus represents rest api gateway status #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGateway")] @@ -2954,7 +2955,7 @@ pub struct ThinRuntimeStatus { } /// APIGatewayStatus represents rest api gateway status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeStatusApiGateway { /// Endpoint for accessing #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2962,7 +2963,7 @@ pub struct ThinRuntimeStatusApiGateway { } /// CacheAffinity represents the runtime worker pods node affinity including node selector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeStatusCacheAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -2973,7 +2974,7 @@ pub struct ThinRuntimeStatusCacheAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: ThinRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -2982,7 +2983,7 @@ pub struct ThinRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringE } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2993,7 +2994,7 @@ pub struct ThinRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringE } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -3005,7 +3006,7 @@ pub struct ThinRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringE } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -3017,7 +3018,7 @@ pub struct ThinRuntimeStatusCacheAffinityPreferredDuringSchedulingIgnoredDuringE } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -3025,7 +3026,7 @@ pub struct ThinRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3036,7 +3037,7 @@ pub struct ThinRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -3048,7 +3049,7 @@ pub struct ThinRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -3060,7 +3061,7 @@ pub struct ThinRuntimeStatusCacheAffinityRequiredDuringSchedulingIgnoredDuringEx } /// Mount describes a mounting.
Refer to Alluxio Storage Integrations for more info -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeStatusMounts { /// The secret information #[serde(default, skip_serializing_if = "Option::is_none", rename = "encryptOptions")] @@ -3085,7 +3086,7 @@ pub struct ThinRuntimeStatusMounts { pub shared: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeStatusMountsEncryptOptions { /// The name of encryptOption pub name: String, @@ -3095,7 +3096,7 @@ pub struct ThinRuntimeStatusMountsEncryptOptions { } /// The valueFrom of encryptOption -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeStatusMountsEncryptOptionsValueFrom { /// The encryptInfo obtained from secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -3103,7 +3104,7 @@ pub struct ThinRuntimeStatusMountsEncryptOptionsValueFrom { } /// The encryptInfo obtained from secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThinRuntimeStatusMountsEncryptOptionsValueFromSecretKeyRef { /// The required key in the secret #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/databases_schemahero_io/v1alpha4/databases.rs b/kube-custom-resources-rs/src/databases_schemahero_io/v1alpha4/databases.rs index 75230af50..6ac88c4ab 100644 --- a/kube-custom-resources-rs/src/databases_schemahero_io/v1alpha4/databases.rs +++ b/kube-custom-resources-rs/src/databases_schemahero_io/v1alpha4/databases.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/schemahero/schemahero/databases.schemahero.io/v1alpha4/databases.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/schemahero/schemahero/databases.schemahero.io/v1alpha4/databases.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/databases_spotahome_com/v1/redisfailovers.rs b/kube-custom-resources-rs/src/databases_spotahome_com/v1/redisfailovers.rs index 0b93fe5f2..46636a50c 100644 --- a/kube-custom-resources-rs/src/databases_spotahome_com/v1/redisfailovers.rs +++ b/kube-custom-resources-rs/src/databases_spotahome_com/v1/redisfailovers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/spotahome/redis-operator/databases.spotahome.com/v1/redisfailovers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/spotahome/redis-operator/databases.spotahome.com/v1/redisfailovers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogagents.rs b/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogagents.rs index 8de69cc4d..ff7c03c5c 100644 --- a/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogagents.rs +++ b/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogagents.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/DataDog/datadog-operator/datadoghq.com/v1alpha1/datadogagents.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/DataDog/datadog-operator/datadoghq.com/v1alpha1/datadogagents.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogmetrics.rs b/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogmetrics.rs index 3f23f2c7c..e0574d9e7 100644 --- a/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogmetrics.rs +++ b/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogmetrics.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/DataDog/datadog-operator/datadoghq.com/v1alpha1/datadogmetrics.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/DataDog/datadog-operator/datadoghq.com/v1alpha1/datadogmetrics.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogmonitors.rs b/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogmonitors.rs index 19257b4cd..887afc4fa 100644 --- a/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogmonitors.rs +++ b/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogmonitors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/DataDog/datadog-operator/datadoghq.com/v1alpha1/datadogmonitors.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/DataDog/datadog-operator/datadoghq.com/v1alpha1/datadogmonitors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogslos.rs b/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogslos.rs index 7c46bcc98..0950fa003 100644 --- a/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogslos.rs +++ b/kube-custom-resources-rs/src/datadoghq_com/v1alpha1/datadogslos.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/DataDog/datadog-operator/datadoghq.com/v1alpha1/datadogslos.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/DataDog/datadog-operator/datadoghq.com/v1alpha1/datadogslos.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "datadoghq.com", version = "v1alpha1", kind = "DatadogSLO", plural = "datadogslos")] #[kube(namespaced)] #[kube(status = "DatadogSLOStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct DatadogSLOSpec { /// ControllerOptions are the optional parameters in the DatadogSLO controller @@ -52,7 +53,7 @@ pub struct DatadogSLOSpec { } /// ControllerOptions are the optional parameters in the DatadogSLO controller -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogSLOControllerOptions { /// DisableRequiredTags disables the automatic addition of required tags to SLOs. #[serde(default, skip_serializing_if = "Option::is_none", rename = "disableRequiredTags")] @@ -60,7 +61,7 @@ pub struct DatadogSLOControllerOptions { } /// Query is the query for a metric-based SLO. Required if type is metric. Note that only the `sum by` aggregator is allowed, which sums all request counts. `Average`, `max`, nor `min` request aggregators are not supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogSLOQuery { /// Denominator is a Datadog metric query for total (valid) events. pub denominator: String, @@ -69,7 +70,7 @@ pub struct DatadogSLOQuery { } /// DatadogSLOStatus defines the observed state of a DatadogSLO. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogSLOStatus { /// Conditions represents the latest available observations of the state of a DatadogSLO. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/datadoghq_com/v2alpha1/datadogagents.rs b/kube-custom-resources-rs/src/datadoghq_com/v2alpha1/datadogagents.rs index 9776fe6d3..7bcee5d03 100644 --- a/kube-custom-resources-rs/src/datadoghq_com/v2alpha1/datadogagents.rs +++ b/kube-custom-resources-rs/src/datadoghq_com/v2alpha1/datadogagents.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/DataDog/datadog-operator/datadoghq.com/v2alpha1/datadogagents.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/DataDog/datadog-operator/datadoghq.com/v2alpha1/datadogagents.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// DatadogAgentSpec defines the desired state of DatadogAgent -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "datadoghq.com", version = "v2alpha1", kind = "DatadogAgent", plural = "datadogagents")] #[kube(namespaced)] #[kube(status = "DatadogAgentStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct DatadogAgentSpec { /// Features running on the Agent and Cluster Agent @@ -32,7 +33,7 @@ pub struct DatadogAgentSpec { } /// Features running on the Agent and Cluster Agent -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeatures { /// AdmissionController configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "admissionController")] @@ -106,7 +107,7 @@ pub struct DatadogAgentFeatures { } /// AdmissionController configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesAdmissionController { /// AgentCommunicationMode corresponds to the mode used by the Datadog application libraries to communicate with the Agent. It can be "hostip", "service", or "socket". #[serde(default, skip_serializing_if = "Option::is_none", rename = "agentCommunicationMode")] @@ -129,7 +130,7 @@ pub struct DatadogAgentFeaturesAdmissionController { } /// APM (Application Performance Monitoring) configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesApm { /// Enabled enables Application Performance Monitoring. Default: true #[serde(default, skip_serializing_if = "Option::is_none")] @@ -143,7 +144,7 @@ pub struct DatadogAgentFeaturesApm { } /// HostPortConfig contains host port configuration. Enabled Default: false Port Default: 8126 -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesApmHostPortConfig { /// Enabled enables host port configuration Default: false #[serde(default, skip_serializing_if = "Option::is_none")] @@ -154,7 +155,7 @@ pub struct DatadogAgentFeaturesApmHostPortConfig { } /// UnixDomainSocketConfig contains socket configuration. See also: https://docs.datadoghq.com/agent/kubernetes/apm/?tab=helm#agent-environment-variables Enabled Default: true Path Default: `/var/run/datadog/apm.socket` -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesApmUnixDomainSocketConfig { /// Enabled enables Unix Domain Socket. Default: true #[serde(default, skip_serializing_if = "Option::is_none")] @@ -165,7 +166,7 @@ pub struct DatadogAgentFeaturesApmUnixDomainSocketConfig { } /// ClusterChecks configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesClusterChecks { /// Enables Cluster Checks scheduling in the Cluster Agent. Default: true #[serde(default, skip_serializing_if = "Option::is_none")] @@ -176,7 +177,7 @@ pub struct DatadogAgentFeaturesClusterChecks { } /// CSPM (Cloud Security Posture Management) configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesCspm { /// CheckInterval defines the check interval. #[serde(default, skip_serializing_if = "Option::is_none", rename = "checkInterval")] @@ -193,7 +194,7 @@ pub struct DatadogAgentFeaturesCspm { } /// CustomBenchmarks contains CSPM benchmarks. The content of the ConfigMap will be merged with the benchmarks bundled with the agent. Any benchmarks with the same name as those existing in the agent will take precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesCspmCustomBenchmarks { /// ConfigData corresponds to the configuration file content. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configData")] @@ -204,7 +205,7 @@ pub struct DatadogAgentFeaturesCspmCustomBenchmarks { } /// ConfigMap references an existing ConfigMap with the configuration file content. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesCspmCustomBenchmarksConfigMap { /// Items maps a ConfigMap data `key` to a file `path` mount. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -215,7 +216,7 @@ pub struct DatadogAgentFeaturesCspmCustomBenchmarksConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesCspmCustomBenchmarksConfigMapItems { /// The key to project. pub key: String, @@ -227,7 +228,7 @@ pub struct DatadogAgentFeaturesCspmCustomBenchmarksConfigMapItems { } /// HostBenchmarks contains configuration for host benchmarks. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesCspmHostBenchmarks { /// Enabled enables host benchmarks. Default: false #[serde(default, skip_serializing_if = "Option::is_none")] @@ -235,7 +236,7 @@ pub struct DatadogAgentFeaturesCspmHostBenchmarks { } /// CWS (Cloud Workload Security) configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesCws { /// CustomPolicies contains security policies. The content of the ConfigMap will be merged with the policies bundled with the agent. Any policies with the same name as those existing in the agent will take precedence. #[serde(default, skip_serializing_if = "Option::is_none", rename = "customPolicies")] @@ -255,7 +256,7 @@ pub struct DatadogAgentFeaturesCws { } /// CustomPolicies contains security policies. The content of the ConfigMap will be merged with the policies bundled with the agent. Any policies with the same name as those existing in the agent will take precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesCwsCustomPolicies { /// ConfigData corresponds to the configuration file content. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configData")] @@ -266,7 +267,7 @@ pub struct DatadogAgentFeaturesCwsCustomPolicies { } /// ConfigMap references an existing ConfigMap with the configuration file content. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesCwsCustomPoliciesConfigMap { /// Items maps a ConfigMap data `key` to a file `path` mount. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -277,7 +278,7 @@ pub struct DatadogAgentFeaturesCwsCustomPoliciesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesCwsCustomPoliciesConfigMapItems { /// The key to project. pub key: String, @@ -288,21 +289,21 @@ pub struct DatadogAgentFeaturesCwsCustomPoliciesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesCwsNetwork { /// Enabled enables Cloud Workload Security Network detections. Default: true #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesCwsRemoteConfiguration { /// Enabled enables Remote Configuration for Cloud Workload Security. Default: true #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesCwsSecurityProfiles { /// Enabled enables Security Profiles collection for Cloud Workload Security. Default: true #[serde(default, skip_serializing_if = "Option::is_none")] @@ -310,7 +311,7 @@ pub struct DatadogAgentFeaturesCwsSecurityProfiles { } /// Dogstatsd configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesDogstatsd { /// HostPortConfig contains host port configuration. Enabled Default: false Port Default: 8125 #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostPortConfig")] @@ -330,7 +331,7 @@ pub struct DatadogAgentFeaturesDogstatsd { } /// HostPortConfig contains host port configuration. Enabled Default: false Port Default: 8125 -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesDogstatsdHostPortConfig { /// Enabled enables host port configuration Default: false #[serde(default, skip_serializing_if = "Option::is_none")] @@ -341,7 +342,7 @@ pub struct DatadogAgentFeaturesDogstatsdHostPortConfig { } /// Configure the Dogstasd Mapper Profiles. Can be passed as raw data or via a json encoded string in a config map. See also: https://docs.datadoghq.com/developers/dogstatsd/dogstatsd_mapper/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesDogstatsdMapperProfiles { /// ConfigData corresponds to the configuration file content. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configData")] @@ -352,7 +353,7 @@ pub struct DatadogAgentFeaturesDogstatsdMapperProfiles { } /// ConfigMap references an existing ConfigMap with the configuration file content. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesDogstatsdMapperProfilesConfigMap { /// Items maps a ConfigMap data `key` to a file `path` mount. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -363,7 +364,7 @@ pub struct DatadogAgentFeaturesDogstatsdMapperProfilesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesDogstatsdMapperProfilesConfigMapItems { /// The key to project. pub key: String, @@ -375,7 +376,7 @@ pub struct DatadogAgentFeaturesDogstatsdMapperProfilesConfigMapItems { } /// UnixDomainSocketConfig contains socket configuration. See also: https://docs.datadoghq.com/agent/kubernetes/apm/?tab=helm#agent-environment-variables Enabled Default: true Path Default: `/var/run/datadog/dsd.socket` -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesDogstatsdUnixDomainSocketConfig { /// Enabled enables Unix Domain Socket. Default: true #[serde(default, skip_serializing_if = "Option::is_none")] @@ -386,7 +387,7 @@ pub struct DatadogAgentFeaturesDogstatsdUnixDomainSocketConfig { } /// EBPFCheck configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesEbpfCheck { /// Enables the eBPF check. Default: false #[serde(default, skip_serializing_if = "Option::is_none")] @@ -394,7 +395,7 @@ pub struct DatadogAgentFeaturesEbpfCheck { } /// EventCollection configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesEventCollection { /// CollectKubernetesEvents enables Kubernetes event collection. Default: true #[serde(default, skip_serializing_if = "Option::is_none", rename = "collectKubernetesEvents")] @@ -402,7 +403,7 @@ pub struct DatadogAgentFeaturesEventCollection { } /// ExternalMetricsServer configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesExternalMetricsServer { /// Enabled enables the External Metrics Server. Default: false #[serde(default, skip_serializing_if = "Option::is_none")] @@ -425,7 +426,7 @@ pub struct DatadogAgentFeaturesExternalMetricsServer { } /// Override the API endpoint for the External Metrics Server. URL Default: "https://app.datadoghq.com". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesExternalMetricsServerEndpoint { /// Credentials defines the Datadog credentials used to submit data to/query data from Datadog. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -436,7 +437,7 @@ pub struct DatadogAgentFeaturesExternalMetricsServerEndpoint { } /// Credentials defines the Datadog credentials used to submit data to/query data from Datadog. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesExternalMetricsServerEndpointCredentials { /// APIKey configures your Datadog API key. See also: https://app.datadoghq.com/account/settings#agent/kubernetes #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiKey")] @@ -453,7 +454,7 @@ pub struct DatadogAgentFeaturesExternalMetricsServerEndpointCredentials { } /// APISecret references an existing Secret which stores the API key instead of creating a new one. If set, this parameter takes precedence over "APIKey". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesExternalMetricsServerEndpointCredentialsApiSecret { /// KeyName is the key of the secret to use. #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyName")] @@ -464,7 +465,7 @@ pub struct DatadogAgentFeaturesExternalMetricsServerEndpointCredentialsApiSecret } /// AppSecret references an existing Secret which stores the application key instead of creating a new one. If set, this parameter takes precedence over "AppKey". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesExternalMetricsServerEndpointCredentialsAppSecret { /// KeyName is the key of the secret to use. #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyName")] @@ -475,7 +476,7 @@ pub struct DatadogAgentFeaturesExternalMetricsServerEndpointCredentialsAppSecret } /// KubeStateMetricsCore check configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesKubeStateMetricsCore { /// Conf overrides the configuration for the default Kubernetes State Metrics Core check. This must point to a ConfigMap containing a valid cluster check configuration. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -486,7 +487,7 @@ pub struct DatadogAgentFeaturesKubeStateMetricsCore { } /// Conf overrides the configuration for the default Kubernetes State Metrics Core check. This must point to a ConfigMap containing a valid cluster check configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesKubeStateMetricsCoreConf { /// ConfigData corresponds to the configuration file content. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configData")] @@ -497,7 +498,7 @@ pub struct DatadogAgentFeaturesKubeStateMetricsCoreConf { } /// ConfigMap references an existing ConfigMap with the configuration file content. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesKubeStateMetricsCoreConfConfigMap { /// Items maps a ConfigMap data `key` to a file `path` mount. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -508,7 +509,7 @@ pub struct DatadogAgentFeaturesKubeStateMetricsCoreConfConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesKubeStateMetricsCoreConfConfigMapItems { /// The key to project. pub key: String, @@ -520,7 +521,7 @@ pub struct DatadogAgentFeaturesKubeStateMetricsCoreConfConfigMapItems { } /// LiveContainerCollection configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesLiveContainerCollection { /// Enables container collection for the Live Container View. Default: true #[serde(default, skip_serializing_if = "Option::is_none")] @@ -528,7 +529,7 @@ pub struct DatadogAgentFeaturesLiveContainerCollection { } /// LiveProcessCollection configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesLiveProcessCollection { /// Enabled enables Process monitoring. Default: false #[serde(default, skip_serializing_if = "Option::is_none")] @@ -542,7 +543,7 @@ pub struct DatadogAgentFeaturesLiveProcessCollection { } /// LogCollection configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesLogCollection { /// ContainerCollectAll enables Log collection from all containers. Default: false #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerCollectAll")] @@ -571,7 +572,7 @@ pub struct DatadogAgentFeaturesLogCollection { } /// NPM (Network Performance Monitoring) configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesNpm { /// CollectDNSStats enables DNS stat collection. Default: false #[serde(default, skip_serializing_if = "Option::is_none", rename = "collectDNSStats")] @@ -585,7 +586,7 @@ pub struct DatadogAgentFeaturesNpm { } /// OOMKill configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesOomKill { /// Enables the OOMKill eBPF-based check. Default: false #[serde(default, skip_serializing_if = "Option::is_none")] @@ -593,7 +594,7 @@ pub struct DatadogAgentFeaturesOomKill { } /// OrchestratorExplorer check configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesOrchestratorExplorer { /// Conf overrides the configuration for the default Orchestrator Explorer check. This must point to a ConfigMap containing a valid cluster check configuration. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -616,7 +617,7 @@ pub struct DatadogAgentFeaturesOrchestratorExplorer { } /// Conf overrides the configuration for the default Orchestrator Explorer check. This must point to a ConfigMap containing a valid cluster check configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesOrchestratorExplorerConf { /// ConfigData corresponds to the configuration file content. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configData")] @@ -627,7 +628,7 @@ pub struct DatadogAgentFeaturesOrchestratorExplorerConf { } /// ConfigMap references an existing ConfigMap with the configuration file content. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesOrchestratorExplorerConfConfigMap { /// Items maps a ConfigMap data `key` to a file `path` mount. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -638,7 +639,7 @@ pub struct DatadogAgentFeaturesOrchestratorExplorerConfConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesOrchestratorExplorerConfConfigMapItems { /// The key to project. pub key: String, @@ -650,7 +651,7 @@ pub struct DatadogAgentFeaturesOrchestratorExplorerConfConfigMapItems { } /// OTLP ingest configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesOtlp { /// Receiver contains configuration for the OTLP ingest receiver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -658,7 +659,7 @@ pub struct DatadogAgentFeaturesOtlp { } /// Receiver contains configuration for the OTLP ingest receiver. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesOtlpReceiver { /// Protocols contains configuration for the OTLP ingest receiver protocols. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -666,7 +667,7 @@ pub struct DatadogAgentFeaturesOtlpReceiver { } /// Protocols contains configuration for the OTLP ingest receiver protocols. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesOtlpReceiverProtocols { /// GRPC contains configuration for the OTLP ingest OTLP/gRPC receiver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -677,7 +678,7 @@ pub struct DatadogAgentFeaturesOtlpReceiverProtocols { } /// GRPC contains configuration for the OTLP ingest OTLP/gRPC receiver. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesOtlpReceiverProtocolsGrpc { /// Enable the OTLP/gRPC endpoint. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -688,7 +689,7 @@ pub struct DatadogAgentFeaturesOtlpReceiverProtocolsGrpc { } /// HTTP contains configuration for the OTLP ingest OTLP/HTTP receiver. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesOtlpReceiverProtocolsHttp { /// Enable the OTLP/HTTP endpoint. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -699,7 +700,7 @@ pub struct DatadogAgentFeaturesOtlpReceiverProtocolsHttp { } /// ProcessDiscovery configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesProcessDiscovery { /// Enabled enables the Process Discovery check in the Agent. Default: true #[serde(default, skip_serializing_if = "Option::is_none")] @@ -707,7 +708,7 @@ pub struct DatadogAgentFeaturesProcessDiscovery { } /// PrometheusScrape configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesPrometheusScrape { /// AdditionalConfigs allows adding advanced Prometheus check configurations with custom discovery rules. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalConfigs")] @@ -724,7 +725,7 @@ pub struct DatadogAgentFeaturesPrometheusScrape { } /// Remote Configuration configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesRemoteConfiguration { /// Enable this option to activate Remote Configuration. Default: true #[serde(default, skip_serializing_if = "Option::is_none")] @@ -732,7 +733,7 @@ pub struct DatadogAgentFeaturesRemoteConfiguration { } /// SBOM collection configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesSbom { /// SBOMTypeConfig contains configuration for a SBOM collection type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerImage")] @@ -746,7 +747,7 @@ pub struct DatadogAgentFeaturesSbom { } /// SBOMTypeConfig contains configuration for a SBOM collection type. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesSbomContainerImage { /// Analyzers to use for SBOM collection. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -757,7 +758,7 @@ pub struct DatadogAgentFeaturesSbomContainerImage { } /// SBOMTypeConfig contains configuration for a SBOM collection type. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesSbomHost { /// Analyzers to use for SBOM collection. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -768,7 +769,7 @@ pub struct DatadogAgentFeaturesSbomHost { } /// TCPQueueLength configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesTcpQueueLength { /// Enables the TCP queue length eBPF-based check. Default: false #[serde(default, skip_serializing_if = "Option::is_none")] @@ -776,7 +777,7 @@ pub struct DatadogAgentFeaturesTcpQueueLength { } /// USM (Universal Service Monitoring) configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentFeaturesUsm { /// Enabled enables Universal Service Monitoring. Default: false #[serde(default, skip_serializing_if = "Option::is_none")] @@ -784,7 +785,7 @@ pub struct DatadogAgentFeaturesUsm { } /// Global settings to configure the agents -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentGlobal { /// ClusterAgentToken is the token for communication between the NodeAgent and ClusterAgent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterAgentToken")] @@ -849,7 +850,7 @@ pub struct DatadogAgentGlobal { } /// ClusterAgentTokenSecret is the secret containing the Cluster Agent token. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentGlobalClusterAgentTokenSecret { /// KeyName is the key of the secret to use. #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyName")] @@ -860,7 +861,7 @@ pub struct DatadogAgentGlobalClusterAgentTokenSecret { } /// Credentials defines the Datadog credentials used to submit data to/query data from Datadog. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentGlobalCredentials { /// APIKey configures your Datadog API key. See also: https://app.datadoghq.com/account/settings#agent/kubernetes #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiKey")] @@ -877,7 +878,7 @@ pub struct DatadogAgentGlobalCredentials { } /// APISecret references an existing Secret which stores the API key instead of creating a new one. If set, this parameter takes precedence over "APIKey". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentGlobalCredentialsApiSecret { /// KeyName is the key of the secret to use. #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyName")] @@ -888,7 +889,7 @@ pub struct DatadogAgentGlobalCredentialsApiSecret { } /// AppSecret references an existing Secret which stores the application key instead of creating a new one. If set, this parameter takes precedence over "AppKey". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentGlobalCredentialsAppSecret { /// KeyName is the key of the secret to use. #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyName")] @@ -899,7 +900,7 @@ pub struct DatadogAgentGlobalCredentialsAppSecret { } /// Endpoint is the Datadog intake URL the Agent data are sent to. Only set this option if you need the Agent to send data to a custom URL. Overrides the site setting defined in `Site`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentGlobalEndpoint { /// Credentials defines the Datadog credentials used to submit data to/query data from Datadog. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -910,7 +911,7 @@ pub struct DatadogAgentGlobalEndpoint { } /// Credentials defines the Datadog credentials used to submit data to/query data from Datadog. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentGlobalEndpointCredentials { /// APIKey configures your Datadog API key. See also: https://app.datadoghq.com/account/settings#agent/kubernetes #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiKey")] @@ -927,7 +928,7 @@ pub struct DatadogAgentGlobalEndpointCredentials { } /// APISecret references an existing Secret which stores the API key instead of creating a new one. If set, this parameter takes precedence over "APIKey". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentGlobalEndpointCredentialsApiSecret { /// KeyName is the key of the secret to use. #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyName")] @@ -938,7 +939,7 @@ pub struct DatadogAgentGlobalEndpointCredentialsApiSecret { } /// AppSecret references an existing Secret which stores the application key instead of creating a new one. If set, this parameter takes precedence over "AppKey". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentGlobalEndpointCredentialsAppSecret { /// KeyName is the key of the secret to use. #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyName")] @@ -949,7 +950,7 @@ pub struct DatadogAgentGlobalEndpointCredentialsAppSecret { } /// Kubelet contains the kubelet configuration parameters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentGlobalKubelet { /// AgentCAPath is the container path where the kubelet CA certificate is stored. Default: '/var/run/host-kubelet-ca.crt' if hostCAPath is set, else '/var/run/secrets/kubernetes.io/serviceaccount/ca.crt' #[serde(default, skip_serializing_if = "Option::is_none", rename = "agentCAPath")] @@ -966,7 +967,7 @@ pub struct DatadogAgentGlobalKubelet { } /// Host overrides the host used to contact kubelet API (default to status.hostIP). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentGlobalKubeletHost { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -983,7 +984,7 @@ pub struct DatadogAgentGlobalKubeletHost { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentGlobalKubeletHostConfigMapKeyRef { /// The key to select. pub key: String, @@ -996,7 +997,7 @@ pub struct DatadogAgentGlobalKubeletHostConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentGlobalKubeletHostFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1007,7 +1008,7 @@ pub struct DatadogAgentGlobalKubeletHostFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentGlobalKubeletHostResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1020,7 +1021,7 @@ pub struct DatadogAgentGlobalKubeletHostResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentGlobalKubeletHostSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1033,7 +1034,7 @@ pub struct DatadogAgentGlobalKubeletHostSecretKeyRef { } /// LocalService contains configuration to customize the internal traffic policy service. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentGlobalLocalService { /// ForceEnableLocalService forces the creation of the internal traffic policy service to target the agent running on the local node. This parameter only applies to Kubernetes 1.21, where the feature is in alpha and is disabled by default. (On Kubernetes 1.22+, the feature entered beta and the internal traffic service is created by default, so this parameter is ignored.) Default: false #[serde(default, skip_serializing_if = "Option::is_none", rename = "forceEnableLocalService")] @@ -1044,7 +1045,7 @@ pub struct DatadogAgentGlobalLocalService { } /// NetworkPolicy contains the network configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentGlobalNetworkPolicy { /// Create defines whether to create a NetworkPolicy for the current deployment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1058,7 +1059,7 @@ pub struct DatadogAgentGlobalNetworkPolicy { } /// A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentGlobalNetworkPolicyDnsSelectorEndpoints { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1069,7 +1070,7 @@ pub struct DatadogAgentGlobalNetworkPolicyDnsSelectorEndpoints { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentGlobalNetworkPolicyDnsSelectorEndpointsMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1081,7 +1082,7 @@ pub struct DatadogAgentGlobalNetworkPolicyDnsSelectorEndpointsMatchExpressions { } /// Override the default configurations of the agents -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverride { /// If specified, the pod's scheduling constraints. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1149,7 +1150,7 @@ pub struct DatadogAgentOverride { } /// If specified, the pod's scheduling constraints. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -1163,7 +1164,7 @@ pub struct DatadogAgentOverrideAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -1174,7 +1175,7 @@ pub struct DatadogAgentOverrideAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: DatadogAgentOverrideAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -1183,7 +1184,7 @@ pub struct DatadogAgentOverrideAffinityNodeAffinityPreferredDuringSchedulingIgno } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1194,7 +1195,7 @@ pub struct DatadogAgentOverrideAffinityNodeAffinityPreferredDuringSchedulingIgno } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1206,7 +1207,7 @@ pub struct DatadogAgentOverrideAffinityNodeAffinityPreferredDuringSchedulingIgno } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1218,7 +1219,7 @@ pub struct DatadogAgentOverrideAffinityNodeAffinityPreferredDuringSchedulingIgno } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -1226,7 +1227,7 @@ pub struct DatadogAgentOverrideAffinityNodeAffinityRequiredDuringSchedulingIgnor } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1237,7 +1238,7 @@ pub struct DatadogAgentOverrideAffinityNodeAffinityRequiredDuringSchedulingIgnor } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1249,7 +1250,7 @@ pub struct DatadogAgentOverrideAffinityNodeAffinityRequiredDuringSchedulingIgnor } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1261,7 +1262,7 @@ pub struct DatadogAgentOverrideAffinityNodeAffinityRequiredDuringSchedulingIgnor } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -1272,7 +1273,7 @@ pub struct DatadogAgentOverrideAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1282,7 +1283,7 @@ pub struct DatadogAgentOverrideAffinityPodAffinityPreferredDuringSchedulingIgnor } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1299,7 +1300,7 @@ pub struct DatadogAgentOverrideAffinityPodAffinityPreferredDuringSchedulingIgnor } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1310,7 +1311,7 @@ pub struct DatadogAgentOverrideAffinityPodAffinityPreferredDuringSchedulingIgnor } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1322,7 +1323,7 @@ pub struct DatadogAgentOverrideAffinityPodAffinityPreferredDuringSchedulingIgnor } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. This field is beta-level and is only honored when PodAffinityNamespaceSelector feature is enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1333,7 +1334,7 @@ pub struct DatadogAgentOverrideAffinityPodAffinityPreferredDuringSchedulingIgnor } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1345,7 +1346,7 @@ pub struct DatadogAgentOverrideAffinityPodAffinityPreferredDuringSchedulingIgnor } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1362,7 +1363,7 @@ pub struct DatadogAgentOverrideAffinityPodAffinityRequiredDuringSchedulingIgnore } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1373,7 +1374,7 @@ pub struct DatadogAgentOverrideAffinityPodAffinityRequiredDuringSchedulingIgnore } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1385,7 +1386,7 @@ pub struct DatadogAgentOverrideAffinityPodAffinityRequiredDuringSchedulingIgnore } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. This field is beta-level and is only honored when PodAffinityNamespaceSelector feature is enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1396,7 +1397,7 @@ pub struct DatadogAgentOverrideAffinityPodAffinityRequiredDuringSchedulingIgnore } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1408,7 +1409,7 @@ pub struct DatadogAgentOverrideAffinityPodAffinityRequiredDuringSchedulingIgnore } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -1419,7 +1420,7 @@ pub struct DatadogAgentOverrideAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1429,7 +1430,7 @@ pub struct DatadogAgentOverrideAffinityPodAntiAffinityPreferredDuringSchedulingI } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1446,7 +1447,7 @@ pub struct DatadogAgentOverrideAffinityPodAntiAffinityPreferredDuringSchedulingI } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1457,7 +1458,7 @@ pub struct DatadogAgentOverrideAffinityPodAntiAffinityPreferredDuringSchedulingI } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1469,7 +1470,7 @@ pub struct DatadogAgentOverrideAffinityPodAntiAffinityPreferredDuringSchedulingI } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. This field is beta-level and is only honored when PodAffinityNamespaceSelector feature is enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1480,7 +1481,7 @@ pub struct DatadogAgentOverrideAffinityPodAntiAffinityPreferredDuringSchedulingI } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1492,7 +1493,7 @@ pub struct DatadogAgentOverrideAffinityPodAntiAffinityPreferredDuringSchedulingI } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1509,7 +1510,7 @@ pub struct DatadogAgentOverrideAffinityPodAntiAffinityRequiredDuringSchedulingIg } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1520,7 +1521,7 @@ pub struct DatadogAgentOverrideAffinityPodAntiAffinityRequiredDuringSchedulingIg } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1532,7 +1533,7 @@ pub struct DatadogAgentOverrideAffinityPodAntiAffinityRequiredDuringSchedulingIg } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. This field is beta-level and is only honored when PodAffinityNamespaceSelector feature is enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1543,7 +1544,7 @@ pub struct DatadogAgentOverrideAffinityPodAntiAffinityRequiredDuringSchedulingIg } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1555,7 +1556,7 @@ pub struct DatadogAgentOverrideAffinityPodAntiAffinityRequiredDuringSchedulingIg } /// Configure the basic configurations for each Agent container. Valid Agent container names are: `agent`, `cluster-agent`, `init-config`, `init-volume`, `process-agent`, `seccomp-setup`, `security-agent`, `system-probe`, `trace-agent`, and `all`. Configuration under `all` applies to all configured containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainers { /// AppArmorProfileName specifies an apparmor profile. #[serde(default, skip_serializing_if = "Option::is_none", rename = "appArmorProfileName")] @@ -1599,7 +1600,7 @@ pub struct DatadogAgentOverrideContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -1612,7 +1613,7 @@ pub struct DatadogAgentOverrideContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1629,7 +1630,7 @@ pub struct DatadogAgentOverrideContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1642,7 +1643,7 @@ pub struct DatadogAgentOverrideContainersEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1653,7 +1654,7 @@ pub struct DatadogAgentOverrideContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1666,7 +1667,7 @@ pub struct DatadogAgentOverrideContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1679,7 +1680,7 @@ pub struct DatadogAgentOverrideContainersEnvValueFromSecretKeyRef { } /// Configure the Liveness Probe of the container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1714,7 +1715,7 @@ pub struct DatadogAgentOverrideContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1722,7 +1723,7 @@ pub struct DatadogAgentOverrideContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is an alpha field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1733,7 +1734,7 @@ pub struct DatadogAgentOverrideContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1752,7 +1753,7 @@ pub struct DatadogAgentOverrideContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersLivenessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -1761,7 +1762,7 @@ pub struct DatadogAgentOverrideContainersLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1771,7 +1772,7 @@ pub struct DatadogAgentOverrideContainersLivenessProbeTcpSocket { } /// Configure the Readiness Probe of the container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1806,7 +1807,7 @@ pub struct DatadogAgentOverrideContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1814,7 +1815,7 @@ pub struct DatadogAgentOverrideContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is an alpha field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1825,7 +1826,7 @@ pub struct DatadogAgentOverrideContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1844,7 +1845,7 @@ pub struct DatadogAgentOverrideContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersReadinessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -1853,7 +1854,7 @@ pub struct DatadogAgentOverrideContainersReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1863,7 +1864,7 @@ pub struct DatadogAgentOverrideContainersReadinessProbeTcpSocket { } /// Specify the Request and Limits of the pods To get guaranteed QoS class, specify requests and limits equal. See also: http://kubernetes.io/docs/user-guide/compute-resources/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1874,7 +1875,7 @@ pub struct DatadogAgentOverrideContainersResources { } /// Seccomp configurations to override Operator actions. For all other Seccomp Profile manipulation, use SecurityContext. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersSeccompConfig { /// CustomProfile specifies a ConfigMap containing a custom Seccomp Profile. ConfigMap data must either have the key `system-probe-seccomp.json` or CustomProfile.Items must include a corev1.KeytoPath that maps the key to the path `system-probe-seccomp.json`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "customProfile")] @@ -1885,7 +1886,7 @@ pub struct DatadogAgentOverrideContainersSeccompConfig { } /// CustomProfile specifies a ConfigMap containing a custom Seccomp Profile. ConfigMap data must either have the key `system-probe-seccomp.json` or CustomProfile.Items must include a corev1.KeytoPath that maps the key to the path `system-probe-seccomp.json`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersSeccompConfigCustomProfile { /// ConfigData corresponds to the configuration file content. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configData")] @@ -1896,7 +1897,7 @@ pub struct DatadogAgentOverrideContainersSeccompConfigCustomProfile { } /// ConfigMap references an existing ConfigMap with the configuration file content. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersSeccompConfigCustomProfileConfigMap { /// Items maps a ConfigMap data `key` to a file `path` mount. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1907,7 +1908,7 @@ pub struct DatadogAgentOverrideContainersSeccompConfigCustomProfileConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersSeccompConfigCustomProfileConfigMapItems { /// The key to project. pub key: String, @@ -1919,7 +1920,7 @@ pub struct DatadogAgentOverrideContainersSeccompConfigCustomProfileConfigMapItem } /// Container-level SecurityContext. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -1957,7 +1958,7 @@ pub struct DatadogAgentOverrideContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1968,7 +1969,7 @@ pub struct DatadogAgentOverrideContainersSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1985,7 +1986,7 @@ pub struct DatadogAgentOverrideContainersSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -1997,7 +1998,7 @@ pub struct DatadogAgentOverrideContainersSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -2014,7 +2015,7 @@ pub struct DatadogAgentOverrideContainersSecurityContextWindowsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -2036,7 +2037,7 @@ pub struct DatadogAgentOverrideContainersVolumeMounts { } /// CustomConfiguration allows to specify custom configuration files for `datadog.yaml`, `datadog-cluster.yaml`, `security-agent.yaml`, and `system-probe.yaml`. The content is merged with configuration generated by the Datadog Operator, with priority given to custom configuration. WARNING: It is possible to override values set in the `DatadogAgent`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideCustomConfigurations { /// ConfigData corresponds to the configuration file content. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configData")] @@ -2047,7 +2048,7 @@ pub struct DatadogAgentOverrideCustomConfigurations { } /// ConfigMap references an existing ConfigMap with the configuration file content. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideCustomConfigurationsConfigMap { /// Items maps a ConfigMap data `key` to a file `path` mount. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2058,7 +2059,7 @@ pub struct DatadogAgentOverrideCustomConfigurationsConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideCustomConfigurationsConfigMapItems { /// The key to project. pub key: String, @@ -2070,7 +2071,7 @@ pub struct DatadogAgentOverrideCustomConfigurationsConfigMapItems { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -2083,7 +2084,7 @@ pub struct DatadogAgentOverrideEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -2100,7 +2101,7 @@ pub struct DatadogAgentOverrideEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -2113,7 +2114,7 @@ pub struct DatadogAgentOverrideEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2124,7 +2125,7 @@ pub struct DatadogAgentOverrideEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2137,7 +2138,7 @@ pub struct DatadogAgentOverrideEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2150,7 +2151,7 @@ pub struct DatadogAgentOverrideEnvValueFromSecretKeyRef { } /// Checksd configuration allowing to specify custom checks placed under /etc/datadog-agent/checks.d/ See https://docs.datadoghq.com/agent/guide/agent-configuration-files/?tab=agentv6 for more details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideExtraChecksd { /// ConfigDataMap corresponds to the content of the configuration files. The key should be the filename the contents get mounted to; for instance check.py or check.yaml. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configDataMap")] @@ -2161,7 +2162,7 @@ pub struct DatadogAgentOverrideExtraChecksd { } /// ConfigMap references an existing ConfigMap with the content of the configuration files. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideExtraChecksdConfigMap { /// Items maps a ConfigMap data `key` to a file `path` mount. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2172,7 +2173,7 @@ pub struct DatadogAgentOverrideExtraChecksdConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideExtraChecksdConfigMapItems { /// The key to project. pub key: String, @@ -2184,7 +2185,7 @@ pub struct DatadogAgentOverrideExtraChecksdConfigMapItems { } /// Confd configuration allowing to specify config files for custom checks placed under /etc/datadog-agent/conf.d/. See https://docs.datadoghq.com/agent/guide/agent-configuration-files/?tab=agentv6 for more details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideExtraConfd { /// ConfigDataMap corresponds to the content of the configuration files. The key should be the filename the contents get mounted to; for instance check.py or check.yaml. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configDataMap")] @@ -2195,7 +2196,7 @@ pub struct DatadogAgentOverrideExtraConfd { } /// ConfigMap references an existing ConfigMap with the content of the configuration files. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideExtraConfdConfigMap { /// Items maps a ConfigMap data `key` to a file `path` mount. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2206,7 +2207,7 @@ pub struct DatadogAgentOverrideExtraConfdConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideExtraConfdConfigMapItems { /// The key to project. pub key: String, @@ -2218,7 +2219,7 @@ pub struct DatadogAgentOverrideExtraConfdConfigMapItems { } /// The container image of the different components (Datadog Agent, Cluster Agent, Cluster Check Runner). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideImage { /// Define whether the Agent image should support JMX. To be used if the Name field does not correspond to a full image string. #[serde(default, skip_serializing_if = "Option::is_none", rename = "jmxEnabled")] @@ -2238,7 +2239,7 @@ pub struct DatadogAgentOverrideImage { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideImagePullSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2246,7 +2247,7 @@ pub struct DatadogAgentOverrideImagePullSecrets { } /// Pod-level SecurityContext. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -2283,7 +2284,7 @@ pub struct DatadogAgentOverrideSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2300,7 +2301,7 @@ pub struct DatadogAgentOverrideSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -2312,7 +2313,7 @@ pub struct DatadogAgentOverrideSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -2321,7 +2322,7 @@ pub struct DatadogAgentOverrideSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -2338,7 +2339,7 @@ pub struct DatadogAgentOverrideSecurityContextWindowsOptions { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2358,7 +2359,7 @@ pub struct DatadogAgentOverrideTolerations { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumes { /// AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -2456,7 +2457,7 @@ pub struct DatadogAgentOverrideVolumes { } /// AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesAwsElasticBlockStore { /// Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2473,7 +2474,7 @@ pub struct DatadogAgentOverrideVolumesAwsElasticBlockStore { } /// AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesAzureDisk { /// Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -2496,7 +2497,7 @@ pub struct DatadogAgentOverrideVolumesAzureDisk { } /// AzureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesAzureFile { /// Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -2510,7 +2511,7 @@ pub struct DatadogAgentOverrideVolumesAzureFile { } /// CephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesCephfs { /// Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -2532,7 +2533,7 @@ pub struct DatadogAgentOverrideVolumesCephfs { } /// Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2540,7 +2541,7 @@ pub struct DatadogAgentOverrideVolumesCephfsSecretRef { } /// Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesCinder { /// Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2557,7 +2558,7 @@ pub struct DatadogAgentOverrideVolumesCinder { } /// Optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2565,7 +2566,7 @@ pub struct DatadogAgentOverrideVolumesCinderSecretRef { } /// ConfigMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesConfigMap { /// Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2582,7 +2583,7 @@ pub struct DatadogAgentOverrideVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesConfigMapItems { /// The key to project. pub key: String, @@ -2594,7 +2595,7 @@ pub struct DatadogAgentOverrideVolumesConfigMapItems { } /// CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesCsi { /// Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -2613,7 +2614,7 @@ pub struct DatadogAgentOverrideVolumesCsi { } /// NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2621,7 +2622,7 @@ pub struct DatadogAgentOverrideVolumesCsiNodePublishSecretRef { } /// DownwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2632,7 +2633,7 @@ pub struct DatadogAgentOverrideVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -2648,7 +2649,7 @@ pub struct DatadogAgentOverrideVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2659,7 +2660,7 @@ pub struct DatadogAgentOverrideVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2672,7 +2673,7 @@ pub struct DatadogAgentOverrideVolumesDownwardApiItemsResourceFieldRef { } /// EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesEmptyDir { /// What type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2687,7 +2688,7 @@ pub struct DatadogAgentOverrideVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -2701,7 +2702,7 @@ pub struct DatadogAgentOverrideVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2711,12 +2712,12 @@ pub struct DatadogAgentOverrideVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesEphemeralVolumeClaimTemplateSpec { /// AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -2745,7 +2746,7 @@ pub struct DatadogAgentOverrideVolumesEphemeralVolumeClaimTemplateSpec { } /// This 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. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2757,7 +2758,7 @@ pub struct DatadogAgentOverrideVolumesEphemeralVolumeClaimTemplateSpecDataSource } /// Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local 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, 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. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Alpha) Using this field requires the AnyVolumeDataSource feature gate to be enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2769,7 +2770,7 @@ pub struct DatadogAgentOverrideVolumesEphemeralVolumeClaimTemplateSpecDataSource } /// Resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesEphemeralVolumeClaimTemplateSpecResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2780,7 +2781,7 @@ pub struct DatadogAgentOverrideVolumesEphemeralVolumeClaimTemplateSpecResources } /// A label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2791,7 +2792,7 @@ pub struct DatadogAgentOverrideVolumesEphemeralVolumeClaimTemplateSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2803,7 +2804,7 @@ pub struct DatadogAgentOverrideVolumesEphemeralVolumeClaimTemplateSpecSelectorMa } /// FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesFc { /// Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2823,7 +2824,7 @@ pub struct DatadogAgentOverrideVolumesFc { } /// FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesFlexVolume { /// Driver is the name of the driver to use for this volume. pub driver: String, @@ -2842,7 +2843,7 @@ pub struct DatadogAgentOverrideVolumesFlexVolume { } /// Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2850,7 +2851,7 @@ pub struct DatadogAgentOverrideVolumesFlexVolumeSecretRef { } /// Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesFlocker { /// Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -2861,7 +2862,7 @@ pub struct DatadogAgentOverrideVolumesFlocker { } /// GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesGcePersistentDisk { /// Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2878,7 +2879,7 @@ pub struct DatadogAgentOverrideVolumesGcePersistentDisk { } /// GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesGitRepo { /// Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2891,7 +2892,7 @@ pub struct DatadogAgentOverrideVolumesGitRepo { } /// Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesGlusterfs { /// EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -2903,7 +2904,7 @@ pub struct DatadogAgentOverrideVolumesGlusterfs { } /// HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesHostPath { /// Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -2913,7 +2914,7 @@ pub struct DatadogAgentOverrideVolumesHostPath { } /// ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesIscsi { /// whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -2949,7 +2950,7 @@ pub struct DatadogAgentOverrideVolumesIscsi { } /// CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2957,7 +2958,7 @@ pub struct DatadogAgentOverrideVolumesIscsiSecretRef { } /// NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesNfs { /// Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -2969,7 +2970,7 @@ pub struct DatadogAgentOverrideVolumesNfs { } /// PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesPersistentVolumeClaim { /// ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -2980,7 +2981,7 @@ pub struct DatadogAgentOverrideVolumesPersistentVolumeClaim { } /// PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesPhotonPersistentDisk { /// Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2991,7 +2992,7 @@ pub struct DatadogAgentOverrideVolumesPhotonPersistentDisk { } /// PortworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesPortworxVolume { /// FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3005,7 +3006,7 @@ pub struct DatadogAgentOverrideVolumesPortworxVolume { } /// Items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesProjected { /// Mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -3016,7 +3017,7 @@ pub struct DatadogAgentOverrideVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesProjectedSources { /// information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3033,7 +3034,7 @@ pub struct DatadogAgentOverrideVolumesProjectedSources { } /// information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesProjectedSourcesConfigMap { /// If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3047,7 +3048,7 @@ pub struct DatadogAgentOverrideVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesProjectedSourcesConfigMapItems { /// The key to project. pub key: String, @@ -3059,7 +3060,7 @@ pub struct DatadogAgentOverrideVolumesProjectedSourcesConfigMapItems { } /// information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3067,7 +3068,7 @@ pub struct DatadogAgentOverrideVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -3083,7 +3084,7 @@ pub struct DatadogAgentOverrideVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3094,7 +3095,7 @@ pub struct DatadogAgentOverrideVolumesProjectedSourcesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -3107,7 +3108,7 @@ pub struct DatadogAgentOverrideVolumesProjectedSourcesDownwardApiItemsResourceFi } /// information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesProjectedSourcesSecret { /// If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3121,7 +3122,7 @@ pub struct DatadogAgentOverrideVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesProjectedSourcesSecretItems { /// The key to project. pub key: String, @@ -3133,7 +3134,7 @@ pub struct DatadogAgentOverrideVolumesProjectedSourcesSecretItems { } /// information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesProjectedSourcesServiceAccountToken { /// Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3146,7 +3147,7 @@ pub struct DatadogAgentOverrideVolumesProjectedSourcesServiceAccountToken { } /// Quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesQuobyte { /// Group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3167,7 +3168,7 @@ pub struct DatadogAgentOverrideVolumesQuobyte { } /// RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesRbd { /// Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3194,7 +3195,7 @@ pub struct DatadogAgentOverrideVolumesRbd { } /// SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3202,7 +3203,7 @@ pub struct DatadogAgentOverrideVolumesRbdSecretRef { } /// ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesScaleIo { /// Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3235,7 +3236,7 @@ pub struct DatadogAgentOverrideVolumesScaleIo { } /// SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3243,7 +3244,7 @@ pub struct DatadogAgentOverrideVolumesScaleIoSecretRef { } /// Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesSecret { /// Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -3260,7 +3261,7 @@ pub struct DatadogAgentOverrideVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesSecretItems { /// The key to project. pub key: String, @@ -3272,7 +3273,7 @@ pub struct DatadogAgentOverrideVolumesSecretItems { } /// StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesStorageos { /// Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3292,7 +3293,7 @@ pub struct DatadogAgentOverrideVolumesStorageos { } /// SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3300,7 +3301,7 @@ pub struct DatadogAgentOverrideVolumesStorageosSecretRef { } /// VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentOverrideVolumesVsphereVolume { /// Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3317,7 +3318,7 @@ pub struct DatadogAgentOverrideVolumesVsphereVolume { } /// DatadogAgentStatus defines the observed state of DatadogAgent. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentStatus { /// The combined actual state of all Agents as daemonsets or extended daemonsets. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3337,7 +3338,7 @@ pub struct DatadogAgentStatus { } /// The combined actual state of all Agents as daemonsets or extended daemonsets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentStatusAgent { /// Number of available pods in the DaemonSet. pub available: i32, @@ -3368,7 +3369,7 @@ pub struct DatadogAgentStatusAgent { } /// DaemonSetStatus defines the observed state of Agent running as DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentStatusAgentList { /// Number of available pods in the DaemonSet. pub available: i32, @@ -3399,7 +3400,7 @@ pub struct DatadogAgentStatusAgentList { } /// The actual state of the Cluster Agent as a deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentStatusClusterAgent { /// Total number of available pods (ready for at least minReadySeconds) targeted by this Deployment. #[serde(default, skip_serializing_if = "Option::is_none", rename = "availableReplicas")] @@ -3437,7 +3438,7 @@ pub struct DatadogAgentStatusClusterAgent { } /// The actual state of the Cluster Checks Runner as a deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatadogAgentStatusClusterChecksRunner { /// Total number of available pods (ready for at least minReadySeconds) targeted by this Deployment. #[serde(default, skip_serializing_if = "Option::is_none", rename = "availableReplicas")] diff --git a/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/actionsets.rs b/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/actionsets.rs index 8d3245806..0d607cd05 100644 --- a/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/actionsets.rs +++ b/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/actionsets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/actionsets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/actionsets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backuppolicies.rs b/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backuppolicies.rs index dfd31cfa8..ed44e497d 100644 --- a/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backuppolicies.rs +++ b/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backuppolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/backuppolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/backuppolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// BackupPolicySpec defines the desired state of BackupPolicy -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "dataprotection.kubeblocks.io", version = "v1alpha1", kind = "BackupPolicy", plural = "backuppolicies")] #[kube(namespaced)] #[kube(status = "BackupPolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct BackupPolicySpec { /// Specifies the number of retries before marking the backup as failed. @@ -48,7 +49,7 @@ pub struct BackupPolicySpec { } /// BackupMethod defines the backup method. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethods { /// Refers to the ActionSet object that defines the backup actions. For volume snapshot backup, the actionSet is not required, the controller will use the CSI volume snapshotter to create the snapshot. #[serde(default, skip_serializing_if = "Option::is_none", rename = "actionSetName")] @@ -76,7 +77,7 @@ pub struct BackupPolicyBackupMethods { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -89,7 +90,7 @@ pub struct BackupPolicyBackupMethodsEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -106,7 +107,7 @@ pub struct BackupPolicyBackupMethodsEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -119,7 +120,7 @@ pub struct BackupPolicyBackupMethodsEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -130,7 +131,7 @@ pub struct BackupPolicyBackupMethodsEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -143,7 +144,7 @@ pub struct BackupPolicyBackupMethodsEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -156,7 +157,7 @@ pub struct BackupPolicyBackupMethodsEnvValueFromSecretKeyRef { } /// Specifies runtime settings for the backup workload container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsRuntimeSettings { /// Specifies the resource required by container. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -164,7 +165,7 @@ pub struct BackupPolicyBackupMethodsRuntimeSettings { } /// Specifies the resource required by container. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsRuntimeSettingsResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -180,14 +181,14 @@ pub struct BackupPolicyBackupMethodsRuntimeSettingsResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsRuntimeSettingsResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// Specifies the target information to back up, it will override the target in backup policy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsTarget { /// Specifies the connection credential to connect to the target database cluster. #[serde(default, skip_serializing_if = "Option::is_none", rename = "connectionCredential")] @@ -207,7 +208,7 @@ pub struct BackupPolicyBackupMethodsTarget { } /// Specifies the connection credential to connect to the target database cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsTargetConnectionCredential { /// Specifies the map key of the host in the connection credential secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostKey")] @@ -227,7 +228,7 @@ pub struct BackupPolicyBackupMethodsTargetConnectionCredential { } /// Used to find the target pod. The volumes of the target pod will be backed up. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsTargetPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -242,7 +243,7 @@ pub struct BackupPolicyBackupMethodsTargetPodSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsTargetPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -261,7 +262,7 @@ pub enum BackupPolicyBackupMethodsTargetPodSelectorStrategy { } /// Specifies the kubernetes resources to back up. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsTargetResources { /// excluded is a slice of namespaced-scoped resource type names to exclude in the kubernetes resources. The default value is empty. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -275,7 +276,7 @@ pub struct BackupPolicyBackupMethodsTargetResources { } /// A metav1.LabelSelector to filter the target kubernetes resources that need to be backed up. If not set, will do not back up any kubernetes resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsTargetResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -286,7 +287,7 @@ pub struct BackupPolicyBackupMethodsTargetResourcesSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsTargetResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -298,7 +299,7 @@ pub struct BackupPolicyBackupMethodsTargetResourcesSelectorMatchExpressions { } /// Specifies which volumes from the target should be mounted in the backup workload. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsTargetVolumes { /// Specifies the mount for the volumes specified in `volumes` section. #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeMounts")] @@ -309,7 +310,7 @@ pub struct BackupPolicyBackupMethodsTargetVolumes { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsTargetVolumesVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -330,7 +331,7 @@ pub struct BackupPolicyBackupMethodsTargetVolumesVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsTargets { /// Specifies the connection credential to connect to the target database cluster. #[serde(default, skip_serializing_if = "Option::is_none", rename = "connectionCredential")] @@ -350,7 +351,7 @@ pub struct BackupPolicyBackupMethodsTargets { } /// Specifies the connection credential to connect to the target database cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsTargetsConnectionCredential { /// Specifies the map key of the host in the connection credential secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostKey")] @@ -370,7 +371,7 @@ pub struct BackupPolicyBackupMethodsTargetsConnectionCredential { } /// Used to find the target pod. The volumes of the target pod will be backed up. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsTargetsPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -385,7 +386,7 @@ pub struct BackupPolicyBackupMethodsTargetsPodSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsTargetsPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -404,7 +405,7 @@ pub enum BackupPolicyBackupMethodsTargetsPodSelectorStrategy { } /// Specifies the kubernetes resources to back up. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsTargetsResources { /// excluded is a slice of namespaced-scoped resource type names to exclude in the kubernetes resources. The default value is empty. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -418,7 +419,7 @@ pub struct BackupPolicyBackupMethodsTargetsResources { } /// A metav1.LabelSelector to filter the target kubernetes resources that need to be backed up. If not set, will do not back up any kubernetes resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsTargetsResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -429,7 +430,7 @@ pub struct BackupPolicyBackupMethodsTargetsResourcesSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyBackupMethodsTargetsResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -463,7 +464,7 @@ pub enum BackupPolicyEncryptionConfigAlgorithm { } /// Selects the key of a secret in the current namespace, the value of the secret is used as the encryption key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyEncryptionConfigPassPhraseSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -476,7 +477,7 @@ pub struct BackupPolicyEncryptionConfigPassPhraseSecretKeyRef { } /// Specifies the target information to back up, such as the target pod, the cluster connection credential. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyTarget { /// Specifies the connection credential to connect to the target database cluster. #[serde(default, skip_serializing_if = "Option::is_none", rename = "connectionCredential")] @@ -496,7 +497,7 @@ pub struct BackupPolicyTarget { } /// Specifies the connection credential to connect to the target database cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyTargetConnectionCredential { /// Specifies the map key of the host in the connection credential secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostKey")] @@ -516,7 +517,7 @@ pub struct BackupPolicyTargetConnectionCredential { } /// Used to find the target pod. The volumes of the target pod will be backed up. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyTargetPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -531,7 +532,7 @@ pub struct BackupPolicyTargetPodSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyTargetPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -550,7 +551,7 @@ pub enum BackupPolicyTargetPodSelectorStrategy { } /// Specifies the kubernetes resources to back up. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyTargetResources { /// excluded is a slice of namespaced-scoped resource type names to exclude in the kubernetes resources. The default value is empty. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -564,7 +565,7 @@ pub struct BackupPolicyTargetResources { } /// A metav1.LabelSelector to filter the target kubernetes resources that need to be backed up. If not set, will do not back up any kubernetes resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyTargetResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -575,7 +576,7 @@ pub struct BackupPolicyTargetResourcesSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyTargetResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -586,7 +587,7 @@ pub struct BackupPolicyTargetResourcesSelectorMatchExpressions { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyTargets { /// Specifies the connection credential to connect to the target database cluster. #[serde(default, skip_serializing_if = "Option::is_none", rename = "connectionCredential")] @@ -606,7 +607,7 @@ pub struct BackupPolicyTargets { } /// Specifies the connection credential to connect to the target database cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyTargetsConnectionCredential { /// Specifies the map key of the host in the connection credential secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostKey")] @@ -626,7 +627,7 @@ pub struct BackupPolicyTargetsConnectionCredential { } /// Used to find the target pod. The volumes of the target pod will be backed up. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyTargetsPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -641,7 +642,7 @@ pub struct BackupPolicyTargetsPodSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyTargetsPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -660,7 +661,7 @@ pub enum BackupPolicyTargetsPodSelectorStrategy { } /// Specifies the kubernetes resources to back up. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyTargetsResources { /// excluded is a slice of namespaced-scoped resource type names to exclude in the kubernetes resources. The default value is empty. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -674,7 +675,7 @@ pub struct BackupPolicyTargetsResources { } /// A metav1.LabelSelector to filter the target kubernetes resources that need to be backed up. If not set, will do not back up any kubernetes resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyTargetsResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -685,7 +686,7 @@ pub struct BackupPolicyTargetsResourcesSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyTargetsResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -697,7 +698,7 @@ pub struct BackupPolicyTargetsResourcesSelectorMatchExpressions { } /// BackupPolicyStatus defines the observed state of BackupPolicy -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPolicyStatus { /// A human-readable message indicating details about why the BackupPolicy is in this phase. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backuprepos.rs b/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backuprepos.rs index 56d4d42eb..0d2394141 100644 --- a/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backuprepos.rs +++ b/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backuprepos.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/backuprepos.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/backuprepos.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -50,7 +50,7 @@ pub enum BackupRepoAccessMethod { } /// References to the secret that holds the credentials for the `StorageProvider`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupRepoCredential { /// name is unique within a namespace to reference a secret resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -68,7 +68,7 @@ pub enum BackupRepoPvReclaimPolicy { } /// BackupRepoStatus defines the observed state of `BackupRepo`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupRepoStatus { /// Represents the name of the PVC that stores backup data. #[serde(default, skip_serializing_if = "Option::is_none", rename = "backupPVCName")] @@ -97,7 +97,7 @@ pub struct BackupRepoStatus { } /// Refers to the generated secret for the `StorageProvider`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupRepoStatusGeneratedCsiDriverSecret { /// name is unique within a namespace to reference a secret resource. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backups.rs b/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backups.rs index b100f3d58..54ab1fda4 100644 --- a/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backups.rs +++ b/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/backups.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/backups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// BackupSpec defines the desired state of Backup. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "dataprotection.kubeblocks.io", version = "v1alpha1", kind = "Backup", plural = "backups")] #[kube(namespaced)] #[kube(status = "BackupStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct BackupSpec { /// Specifies the backup method name that is defined in the backup policy. @@ -41,7 +42,7 @@ pub struct BackupSpec { } /// BackupStatus defines the observed state of Backup. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatus { /// Records the actions status for this backup. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -105,7 +106,7 @@ pub struct BackupStatus { pub volume_snapshots: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusActions { /// The type of the action. #[serde(default, skip_serializing_if = "Option::is_none", rename = "actionType")] @@ -146,7 +147,7 @@ pub struct BackupStatusActions { } /// The object reference for the action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusActionsObjectRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -172,7 +173,7 @@ pub struct BackupStatusActionsObjectRef { } /// Records the time range of backed up data, for PITR, this is the time range of recoverable data. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusActionsTimeRange { /// Records the end time of the backup, in Coordinated Universal Time (UTC). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -185,7 +186,7 @@ pub struct BackupStatusActionsTimeRange { pub time_zone: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusActionsVolumeSnapshots { /// The name of the volume snapshot content. #[serde(default, skip_serializing_if = "Option::is_none", rename = "contentName")] @@ -205,7 +206,7 @@ pub struct BackupStatusActionsVolumeSnapshots { } /// Records the backup method information for this backup. Refer to BackupMethod for more details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethod { /// Refers to the ActionSet object that defines the backup actions. For volume snapshot backup, the actionSet is not required, the controller will use the CSI volume snapshotter to create the snapshot. #[serde(default, skip_serializing_if = "Option::is_none", rename = "actionSetName")] @@ -233,7 +234,7 @@ pub struct BackupStatusBackupMethod { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -246,7 +247,7 @@ pub struct BackupStatusBackupMethodEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -263,7 +264,7 @@ pub struct BackupStatusBackupMethodEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -276,7 +277,7 @@ pub struct BackupStatusBackupMethodEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -287,7 +288,7 @@ pub struct BackupStatusBackupMethodEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -300,7 +301,7 @@ pub struct BackupStatusBackupMethodEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -313,7 +314,7 @@ pub struct BackupStatusBackupMethodEnvValueFromSecretKeyRef { } /// Specifies runtime settings for the backup workload container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodRuntimeSettings { /// Specifies the resource required by container. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -321,7 +322,7 @@ pub struct BackupStatusBackupMethodRuntimeSettings { } /// Specifies the resource required by container. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodRuntimeSettingsResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -337,14 +338,14 @@ pub struct BackupStatusBackupMethodRuntimeSettingsResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodRuntimeSettingsResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// Specifies the target information to back up, it will override the target in backup policy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodTarget { /// Specifies the connection credential to connect to the target database cluster. #[serde(default, skip_serializing_if = "Option::is_none", rename = "connectionCredential")] @@ -364,7 +365,7 @@ pub struct BackupStatusBackupMethodTarget { } /// Specifies the connection credential to connect to the target database cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodTargetConnectionCredential { /// Specifies the map key of the host in the connection credential secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostKey")] @@ -384,7 +385,7 @@ pub struct BackupStatusBackupMethodTargetConnectionCredential { } /// Used to find the target pod. The volumes of the target pod will be backed up. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodTargetPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -399,7 +400,7 @@ pub struct BackupStatusBackupMethodTargetPodSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodTargetPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -418,7 +419,7 @@ pub enum BackupStatusBackupMethodTargetPodSelectorStrategy { } /// Specifies the kubernetes resources to back up. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodTargetResources { /// excluded is a slice of namespaced-scoped resource type names to exclude in the kubernetes resources. The default value is empty. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -432,7 +433,7 @@ pub struct BackupStatusBackupMethodTargetResources { } /// A metav1.LabelSelector to filter the target kubernetes resources that need to be backed up. If not set, will do not back up any kubernetes resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodTargetResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -443,7 +444,7 @@ pub struct BackupStatusBackupMethodTargetResourcesSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodTargetResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -455,7 +456,7 @@ pub struct BackupStatusBackupMethodTargetResourcesSelectorMatchExpressions { } /// Specifies which volumes from the target should be mounted in the backup workload. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodTargetVolumes { /// Specifies the mount for the volumes specified in `volumes` section. #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeMounts")] @@ -466,7 +467,7 @@ pub struct BackupStatusBackupMethodTargetVolumes { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodTargetVolumesVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -487,7 +488,7 @@ pub struct BackupStatusBackupMethodTargetVolumesVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodTargets { /// Specifies the connection credential to connect to the target database cluster. #[serde(default, skip_serializing_if = "Option::is_none", rename = "connectionCredential")] @@ -507,7 +508,7 @@ pub struct BackupStatusBackupMethodTargets { } /// Specifies the connection credential to connect to the target database cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodTargetsConnectionCredential { /// Specifies the map key of the host in the connection credential secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostKey")] @@ -527,7 +528,7 @@ pub struct BackupStatusBackupMethodTargetsConnectionCredential { } /// Used to find the target pod. The volumes of the target pod will be backed up. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodTargetsPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -542,7 +543,7 @@ pub struct BackupStatusBackupMethodTargetsPodSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodTargetsPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -561,7 +562,7 @@ pub enum BackupStatusBackupMethodTargetsPodSelectorStrategy { } /// Specifies the kubernetes resources to back up. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodTargetsResources { /// excluded is a slice of namespaced-scoped resource type names to exclude in the kubernetes resources. The default value is empty. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -575,7 +576,7 @@ pub struct BackupStatusBackupMethodTargetsResources { } /// A metav1.LabelSelector to filter the target kubernetes resources that need to be backed up. If not set, will do not back up any kubernetes resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodTargetsResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -586,7 +587,7 @@ pub struct BackupStatusBackupMethodTargetsResourcesSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusBackupMethodTargetsResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -620,7 +621,7 @@ pub enum BackupStatusEncryptionConfigAlgorithm { } /// Selects the key of a secret in the current namespace, the value of the secret is used as the encryption key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusEncryptionConfigPassPhraseSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -644,7 +645,7 @@ pub enum BackupStatusPhase { } /// Records the target information for this backup. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusTarget { /// Specifies the connection credential to connect to the target database cluster. #[serde(default, skip_serializing_if = "Option::is_none", rename = "connectionCredential")] @@ -667,7 +668,7 @@ pub struct BackupStatusTarget { } /// Specifies the connection credential to connect to the target database cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusTargetConnectionCredential { /// Specifies the map key of the host in the connection credential secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostKey")] @@ -687,7 +688,7 @@ pub struct BackupStatusTargetConnectionCredential { } /// Used to find the target pod. The volumes of the target pod will be backed up. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusTargetPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -702,7 +703,7 @@ pub struct BackupStatusTargetPodSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusTargetPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -721,7 +722,7 @@ pub enum BackupStatusTargetPodSelectorStrategy { } /// Specifies the kubernetes resources to back up. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusTargetResources { /// excluded is a slice of namespaced-scoped resource type names to exclude in the kubernetes resources. The default value is empty. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -735,7 +736,7 @@ pub struct BackupStatusTargetResources { } /// A metav1.LabelSelector to filter the target kubernetes resources that need to be backed up. If not set, will do not back up any kubernetes resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusTargetResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -746,7 +747,7 @@ pub struct BackupStatusTargetResourcesSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusTargetResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -757,7 +758,7 @@ pub struct BackupStatusTargetResourcesSelectorMatchExpressions { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusTargets { /// Specifies the connection credential to connect to the target database cluster. #[serde(default, skip_serializing_if = "Option::is_none", rename = "connectionCredential")] @@ -780,7 +781,7 @@ pub struct BackupStatusTargets { } /// Specifies the connection credential to connect to the target database cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusTargetsConnectionCredential { /// Specifies the map key of the host in the connection credential secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostKey")] @@ -800,7 +801,7 @@ pub struct BackupStatusTargetsConnectionCredential { } /// Used to find the target pod. The volumes of the target pod will be backed up. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusTargetsPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -815,7 +816,7 @@ pub struct BackupStatusTargetsPodSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusTargetsPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -834,7 +835,7 @@ pub enum BackupStatusTargetsPodSelectorStrategy { } /// Specifies the kubernetes resources to back up. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusTargetsResources { /// excluded is a slice of namespaced-scoped resource type names to exclude in the kubernetes resources. The default value is empty. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -848,7 +849,7 @@ pub struct BackupStatusTargetsResources { } /// A metav1.LabelSelector to filter the target kubernetes resources that need to be backed up. If not set, will do not back up any kubernetes resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusTargetsResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -859,7 +860,7 @@ pub struct BackupStatusTargetsResourcesSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusTargetsResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -871,7 +872,7 @@ pub struct BackupStatusTargetsResourcesSelectorMatchExpressions { } /// Records the time range of the data backed up. For Point-in-Time Recovery (PITR), this is the time range of recoverable data. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusTimeRange { /// Records the end time of the backup, in Coordinated Universal Time (UTC). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -884,7 +885,7 @@ pub struct BackupStatusTimeRange { pub time_zone: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatusVolumeSnapshots { /// The name of the volume snapshot content. #[serde(default, skip_serializing_if = "Option::is_none", rename = "contentName")] diff --git a/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backupschedules.rs b/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backupschedules.rs index 9813361ca..40b8a33c0 100644 --- a/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backupschedules.rs +++ b/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/backupschedules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/backupschedules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/backupschedules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/restores.rs b/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/restores.rs index cd849c2d8..ebfcf37b0 100644 --- a/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/restores.rs +++ b/kube-custom-resources-rs/src/dataprotection_kubeblocks_io/v1alpha1/restores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/restores.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/dataprotection.kubeblocks.io/v1alpha1/restores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// RestoreSpec defines the desired state of Restore -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "dataprotection.kubeblocks.io", version = "v1alpha1", kind = "Restore", plural = "restores")] #[kube(namespaced)] #[kube(status = "RestoreStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct RestoreSpec { /// Specifies the number of retries before marking the restore failed. @@ -52,7 +53,7 @@ pub struct RestoreSpec { /// Specifies the backup to be restored. The restore behavior is based on the backup type: /// 1. Full: will be restored the full backup directly. 2. Incremental: will be restored sequentially from the most recent full backup of this incremental backup. 3. Differential: will be restored sequentially from the parent backup of the differential backup. 4. Continuous: will find the most recent full backup at this time point and the continuous backups after it to restore. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackup { /// Specifies the backup name. pub name: String, @@ -64,7 +65,7 @@ pub struct RestoreBackup { } /// Specifies the required resources of restore job's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreContainerResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -80,14 +81,14 @@ pub struct RestoreContainerResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreContainerResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -100,7 +101,7 @@ pub struct RestoreEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -117,7 +118,7 @@ pub struct RestoreEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -130,7 +131,7 @@ pub struct RestoreEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -141,7 +142,7 @@ pub struct RestoreEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -154,7 +155,7 @@ pub struct RestoreEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -191,7 +192,7 @@ pub struct RestorePrepareDataConfig { } /// Specifies the configuration when using `persistentVolumeClaim.spec.dataSourceRef` method for restoring. Describes the source volume of the backup targetVolumes and the mount path in the restoring container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigDataSourceRef { /// Specifies the path within the restoring container at which the volume should be mounted. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] @@ -202,7 +203,7 @@ pub struct RestorePrepareDataConfigDataSourceRef { } /// Specifies the restore policy, which is required when the pod selection strategy for the source target is 'All'. This field is ignored if the pod selection strategy is 'Any'. optional -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigRequiredPolicyForAllPodSelection { /// Specifies the data restore policy. Options include: - OneToMany: Enables restoration of all volumes from a single data copy of the original target instance. The 'sourceOfOneToMany' field must be set when using this policy. - OneToOne: Restricts data restoration such that each data piece can only be restored to a single target instance. This is the default policy. When the number of target instances specified for restoration surpasses the count of original backup target instances. #[serde(rename = "dataRestorePolicy")] @@ -213,7 +214,7 @@ pub struct RestorePrepareDataConfigRequiredPolicyForAllPodSelection { } /// Specifies the name of the source target pod. This field is mandatory when the DataRestorePolicy is configured to 'OneToMany'. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigRequiredPolicyForAllPodSelectionSourceOfOneToMany { /// Specifies the name of the source target pod. #[serde(rename = "targetPodName")] @@ -221,7 +222,7 @@ pub struct RestorePrepareDataConfigRequiredPolicyForAllPodSelectionSourceOfOneTo } /// Specifies the scheduling spec for the restoring pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpec { /// Contains a group of affinity scheduling rules. Refer to https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -244,7 +245,7 @@ pub struct RestorePrepareDataConfigSchedulingSpec { } /// Contains a group of affinity scheduling rules. Refer to https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -258,7 +259,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -269,7 +270,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: RestorePrepareDataConfigSchedulingSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -278,7 +279,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityNodeAffinityPreferredDu } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -289,7 +290,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityNodeAffinityPreferredDu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -301,7 +302,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityNodeAffinityPreferredDu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -313,7 +314,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityNodeAffinityPreferredDu } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -321,7 +322,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityNodeAffinityRequiredDur } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -332,7 +333,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityNodeAffinityRequiredDur } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -344,7 +345,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityNodeAffinityRequiredDur } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -356,7 +357,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityNodeAffinityRequiredDur } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -367,7 +368,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -377,7 +378,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAffinityPreferredDur } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -394,7 +395,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAffinityPreferredDur } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -405,7 +406,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAffinityPreferredDur } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -417,7 +418,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAffinityPreferredDur } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -428,7 +429,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAffinityPreferredDur } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -440,7 +441,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAffinityPreferredDur } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -457,7 +458,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAffinityRequiredDuri } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -468,7 +469,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAffinityRequiredDuri } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -480,7 +481,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAffinityRequiredDuri } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -491,7 +492,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAffinityRequiredDuri } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -503,7 +504,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAffinityRequiredDuri } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -514,7 +515,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -524,7 +525,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAntiAffinityPreferre } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -541,7 +542,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAntiAffinityPreferre } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -552,7 +553,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAntiAffinityPreferre } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -564,7 +565,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAntiAffinityPreferre } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -575,7 +576,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAntiAffinityPreferre } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -587,7 +588,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAntiAffinityPreferre } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -604,7 +605,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAntiAffinityRequired } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -615,7 +616,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAntiAffinityRequired } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -627,7 +628,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAntiAffinityRequired } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -638,7 +639,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAntiAffinityRequired } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -650,7 +651,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecAffinityPodAntiAffinityRequired } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -670,7 +671,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecTopologySpreadConstraints { /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -704,7 +705,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecTopologySpreadConstraints { } /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -715,7 +716,7 @@ pub struct RestorePrepareDataConfigSchedulingSpecTopologySpreadConstraintsLabelS } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigSchedulingSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -733,7 +734,7 @@ pub enum RestorePrepareDataConfigVolumeClaimRestorePolicy { Serial, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigVolumeClaims { /// Specifies the standard metadata for the object. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata pub metadata: RestorePrepareDataConfigVolumeClaimsMetadata, @@ -749,7 +750,7 @@ pub struct RestorePrepareDataConfigVolumeClaims { } /// Specifies the standard metadata for the object. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigVolumeClaimsMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -764,7 +765,7 @@ pub struct RestorePrepareDataConfigVolumeClaimsMetadata { } /// Defines the desired characteristics of a persistent volume claim. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigVolumeClaimsVolumeClaimSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -793,7 +794,7 @@ pub struct RestorePrepareDataConfigVolumeClaimsVolumeClaimSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigVolumeClaimsVolumeClaimSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -805,7 +806,7 @@ pub struct RestorePrepareDataConfigVolumeClaimsVolumeClaimSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigVolumeClaimsVolumeClaimSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -820,7 +821,7 @@ pub struct RestorePrepareDataConfigVolumeClaimsVolumeClaimSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigVolumeClaimsVolumeClaimSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -836,14 +837,14 @@ pub struct RestorePrepareDataConfigVolumeClaimsVolumeClaimSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigVolumeClaimsVolumeClaimSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigVolumeClaimsVolumeClaimSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -854,7 +855,7 @@ pub struct RestorePrepareDataConfigVolumeClaimsVolumeClaimSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigVolumeClaimsVolumeClaimSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -866,7 +867,7 @@ pub struct RestorePrepareDataConfigVolumeClaimsVolumeClaimSpecSelectorMatchExpre } /// Defines a template to build persistent Volume claims that need to be restored. These claims will be created in an orderly manner based on the number of replicas or reused if they already exist. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigVolumeClaimsTemplate { /// Specifies the replicas of persistent volume claim that need to be created and restored. The format of the created claim name is `$(template-name)-$(index)`. pub replicas: i32, @@ -877,7 +878,7 @@ pub struct RestorePrepareDataConfigVolumeClaimsTemplate { pub templates: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigVolumeClaimsTemplateTemplates { /// Specifies the standard metadata for the object. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata pub metadata: RestorePrepareDataConfigVolumeClaimsTemplateTemplatesMetadata, @@ -893,7 +894,7 @@ pub struct RestorePrepareDataConfigVolumeClaimsTemplateTemplates { } /// Specifies the standard metadata for the object. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigVolumeClaimsTemplateTemplatesMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -908,7 +909,7 @@ pub struct RestorePrepareDataConfigVolumeClaimsTemplateTemplatesMetadata { } /// Defines the desired characteristics of a persistent volume claim. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigVolumeClaimsTemplateTemplatesVolumeClaimSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -937,7 +938,7 @@ pub struct RestorePrepareDataConfigVolumeClaimsTemplateTemplatesVolumeClaimSpec } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigVolumeClaimsTemplateTemplatesVolumeClaimSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -949,7 +950,7 @@ pub struct RestorePrepareDataConfigVolumeClaimsTemplateTemplatesVolumeClaimSpecD } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigVolumeClaimsTemplateTemplatesVolumeClaimSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -964,7 +965,7 @@ pub struct RestorePrepareDataConfigVolumeClaimsTemplateTemplatesVolumeClaimSpecD } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigVolumeClaimsTemplateTemplatesVolumeClaimSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -980,14 +981,14 @@ pub struct RestorePrepareDataConfigVolumeClaimsTemplateTemplatesVolumeClaimSpecR } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigVolumeClaimsTemplateTemplatesVolumeClaimSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigVolumeClaimsTemplateTemplatesVolumeClaimSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -998,7 +999,7 @@ pub struct RestorePrepareDataConfigVolumeClaimsTemplateTemplatesVolumeClaimSpecS } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePrepareDataConfigVolumeClaimsTemplateTemplatesVolumeClaimSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1010,7 +1011,7 @@ pub struct RestorePrepareDataConfigVolumeClaimsTemplateTemplatesVolumeClaimSpecS } /// Configuration for the action of "postReady" phase. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreReadyConfig { /// Defines the credential template used to create a connection credential. #[serde(default, skip_serializing_if = "Option::is_none", rename = "connectionCredential")] @@ -1027,7 +1028,7 @@ pub struct RestoreReadyConfig { } /// Defines the credential template used to create a connection credential. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreReadyConfigConnectionCredential { /// Specifies the map key of the host in the connection credential secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "hostKey")] @@ -1047,7 +1048,7 @@ pub struct RestoreReadyConfigConnectionCredential { } /// Specifies the configuration for an exec action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreReadyConfigExecAction { /// Defines the pods that need to be executed for the exec action. Execution will occur on all pods that meet the conditions. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1055,7 +1056,7 @@ pub struct RestoreReadyConfigExecAction { } /// Defines the pods that need to be executed for the exec action. Execution will occur on all pods that meet the conditions. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreReadyConfigExecActionTarget { /// Executes kubectl in all selected pods. #[serde(rename = "podSelector")] @@ -1063,7 +1064,7 @@ pub struct RestoreReadyConfigExecActionTarget { } /// Executes kubectl in all selected pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreReadyConfigExecActionTargetPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1074,7 +1075,7 @@ pub struct RestoreReadyConfigExecActionTargetPodSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreReadyConfigExecActionTargetPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1086,7 +1087,7 @@ pub struct RestoreReadyConfigExecActionTargetPodSelectorMatchExpressions { } /// Specifies the configuration for a job action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreReadyConfigJobAction { /// Specifies the restore policy, which is required when the pod selection strategy for the source target is 'All'. This field is ignored if the pod selection strategy is 'Any'. optional #[serde(default, skip_serializing_if = "Option::is_none", rename = "requiredPolicyForAllPodSelection")] @@ -1096,7 +1097,7 @@ pub struct RestoreReadyConfigJobAction { } /// Specifies the restore policy, which is required when the pod selection strategy for the source target is 'All'. This field is ignored if the pod selection strategy is 'Any'. optional -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreReadyConfigJobActionRequiredPolicyForAllPodSelection { /// Specifies the data restore policy. Options include: - OneToMany: Enables restoration of all volumes from a single data copy of the original target instance. The 'sourceOfOneToMany' field must be set when using this policy. - OneToOne: Restricts data restoration such that each data piece can only be restored to a single target instance. This is the default policy. When the number of target instances specified for restoration surpasses the count of original backup target instances. #[serde(rename = "dataRestorePolicy")] @@ -1107,7 +1108,7 @@ pub struct RestoreReadyConfigJobActionRequiredPolicyForAllPodSelection { } /// Specifies the name of the source target pod. This field is mandatory when the DataRestorePolicy is configured to 'OneToMany'. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreReadyConfigJobActionRequiredPolicyForAllPodSelectionSourceOfOneToMany { /// Specifies the name of the source target pod. #[serde(rename = "targetPodName")] @@ -1115,7 +1116,7 @@ pub struct RestoreReadyConfigJobActionRequiredPolicyForAllPodSelectionSourceOfOn } /// Defines the pods that needs to be executed for the job action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreReadyConfigJobActionTarget { /// Selects one of the pods, identified by labels, to build the job spec. This includes mounting required volumes and injecting built-in environment variables of the selected pod. #[serde(rename = "podSelector")] @@ -1126,7 +1127,7 @@ pub struct RestoreReadyConfigJobActionTarget { } /// Selects one of the pods, identified by labels, to build the job spec. This includes mounting required volumes and injecting built-in environment variables of the selected pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreReadyConfigJobActionTargetPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1141,7 +1142,7 @@ pub struct RestoreReadyConfigJobActionTargetPodSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreReadyConfigJobActionTargetPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1160,7 +1161,7 @@ pub enum RestoreReadyConfigJobActionTargetPodSelectorStrategy { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreReadyConfigJobActionTargetVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -1182,7 +1183,7 @@ pub struct RestoreReadyConfigJobActionTargetVolumeMounts { } /// Defines a periodic probe of the service readiness. The controller will perform postReadyHooks of BackupScript.spec.restore after the service readiness when readinessProbe is configured. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreReadyConfigReadinessProbe { /// Specifies the action to take. pub exec: RestoreReadyConfigReadinessProbeExec, @@ -1198,7 +1199,7 @@ pub struct RestoreReadyConfigReadinessProbe { } /// Specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreReadyConfigReadinessProbeExec { /// Refers to the container command. pub command: Vec, @@ -1207,14 +1208,14 @@ pub struct RestoreReadyConfigReadinessProbeExec { } /// Restores the specified resources of Kubernetes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreResources { /// Restores the specified resources. #[serde(default, skip_serializing_if = "Option::is_none")] pub included: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreResourcesIncluded { #[serde(rename = "groupResource")] pub group_resource: String, @@ -1224,7 +1225,7 @@ pub struct RestoreResourcesIncluded { } /// Selects the specified resource for recovery by label. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreResourcesIncludedLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1235,7 +1236,7 @@ pub struct RestoreResourcesIncludedLabelSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreResourcesIncludedLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1247,7 +1248,7 @@ pub struct RestoreResourcesIncludedLabelSelectorMatchExpressions { } /// RestoreStatus defines the observed state of Restore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreStatus { /// Records all restore actions performed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1270,7 +1271,7 @@ pub struct RestoreStatus { } /// Records all restore actions performed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreStatusActions { /// Records the actions for the postReady phase. #[serde(default, skip_serializing_if = "Option::is_none", rename = "postReady")] @@ -1280,7 +1281,7 @@ pub struct RestoreStatusActions { pub prepare_data: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreStatusActionsPostReady { /// Describes which backup's restore action belongs to. #[serde(rename = "backupName")] @@ -1311,7 +1312,7 @@ pub enum RestoreStatusActionsPostReadyStatus { Failed, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreStatusActionsPrepareData { /// Describes which backup's restore action belongs to. #[serde(rename = "backupName")] diff --git a/kube-custom-resources-rs/src/designer_kaoto_io/v1alpha1/kaotoes.rs b/kube-custom-resources-rs/src/designer_kaoto_io/v1alpha1/kaotoes.rs index ef9eeb9e4..de240d464 100644 --- a/kube-custom-resources-rs/src/designer_kaoto_io/v1alpha1/kaotoes.rs +++ b/kube-custom-resources-rs/src/designer_kaoto_io/v1alpha1/kaotoes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/KaotoIO/kaoto-operator/designer.kaoto.io/v1alpha1/kaotoes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/KaotoIO/kaoto-operator/designer.kaoto.io/v1alpha1/kaotoes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// KaotoSpec defines the desired state of Kaoto. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "designer.kaoto.io", version = "v1alpha1", kind = "Kaoto", plural = "kaotoes")] #[kube(namespaced)] #[kube(status = "KaotoStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct KaotoSpec { #[serde(default, skip_serializing_if = "Option::is_none")] @@ -24,7 +25,7 @@ pub struct KaotoSpec { pub ingress: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KaotoIngress { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -33,7 +34,7 @@ pub struct KaotoIngress { } /// KaotoStatus defines the observed state of Kaoto. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KaotoStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, diff --git a/kube-custom-resources-rs/src/devices_kubeedge_io/v1alpha2/devicemodels.rs b/kube-custom-resources-rs/src/devices_kubeedge_io/v1alpha2/devicemodels.rs index e2d049e3b..b0ee2e576 100644 --- a/kube-custom-resources-rs/src/devices_kubeedge_io/v1alpha2/devicemodels.rs +++ b/kube-custom-resources-rs/src/devices_kubeedge_io/v1alpha2/devicemodels.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/devices.kubeedge.io/v1alpha2/devicemodels.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/devices.kubeedge.io/v1alpha2/devicemodels.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/devices_kubeedge_io/v1alpha2/devices.rs b/kube-custom-resources-rs/src/devices_kubeedge_io/v1alpha2/devices.rs index fc881ac53..eb731fcae 100644 --- a/kube-custom-resources-rs/src/devices_kubeedge_io/v1alpha2/devices.rs +++ b/kube-custom-resources-rs/src/devices_kubeedge_io/v1alpha2/devices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/devices.kubeedge.io/v1alpha2/devices.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/devices.kubeedge.io/v1alpha2/devices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/devices_kubeedge_io/v1beta1/devicemodels.rs b/kube-custom-resources-rs/src/devices_kubeedge_io/v1beta1/devicemodels.rs index ebaa7be56..f97b6d7a7 100644 --- a/kube-custom-resources-rs/src/devices_kubeedge_io/v1beta1/devicemodels.rs +++ b/kube-custom-resources-rs/src/devices_kubeedge_io/v1beta1/devicemodels.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/devices.kubeedge.io/v1beta1/devicemodels.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/devices.kubeedge.io/v1beta1/devicemodels.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/devices_kubeedge_io/v1beta1/devices.rs b/kube-custom-resources-rs/src/devices_kubeedge_io/v1beta1/devices.rs index 203a8ff37..2ca16ccc2 100644 --- a/kube-custom-resources-rs/src/devices_kubeedge_io/v1beta1/devices.rs +++ b/kube-custom-resources-rs/src/devices_kubeedge_io/v1beta1/devices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/devices.kubeedge.io/v1beta1/devices.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/devices.kubeedge.io/v1beta1/devices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/devops_kubesphere_io/v1alpha1/releasercontrollers.rs b/kube-custom-resources-rs/src/devops_kubesphere_io/v1alpha1/releasercontrollers.rs index cb593cd85..19f65d8d1 100644 --- a/kube-custom-resources-rs/src/devops_kubesphere_io/v1alpha1/releasercontrollers.rs +++ b/kube-custom-resources-rs/src/devops_kubesphere_io/v1alpha1/releasercontrollers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubesphere-sigs/ks-releaser-operator/devops.kubesphere.io/v1alpha1/releasercontrollers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubesphere-sigs/ks-releaser-operator/devops.kubesphere.io/v1alpha1/releasercontrollers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/devops_kubesphere_io/v1alpha1/releasers.rs b/kube-custom-resources-rs/src/devops_kubesphere_io/v1alpha1/releasers.rs index 577f42e9d..851dac128 100644 --- a/kube-custom-resources-rs/src/devops_kubesphere_io/v1alpha1/releasers.rs +++ b/kube-custom-resources-rs/src/devops_kubesphere_io/v1alpha1/releasers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubesphere-sigs/ks-releaser-operator/devops.kubesphere.io/v1alpha1/releasers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubesphere-sigs/ks-releaser-operator/devops.kubesphere.io/v1alpha1/releasers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/dex_coreos_com/v1/authcodes.rs b/kube-custom-resources-rs/src/dex_coreos_com/v1/authcodes.rs index c8e943bbd..c59f40997 100644 --- a/kube-custom-resources-rs/src/dex_coreos_com/v1/authcodes.rs +++ b/kube-custom-resources-rs/src/dex_coreos_com/v1/authcodes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/authcodes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/authcodes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/dex_coreos_com/v1/authrequests.rs b/kube-custom-resources-rs/src/dex_coreos_com/v1/authrequests.rs index 8dae9a6b6..00b4cb046 100644 --- a/kube-custom-resources-rs/src/dex_coreos_com/v1/authrequests.rs +++ b/kube-custom-resources-rs/src/dex_coreos_com/v1/authrequests.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/authrequests.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/authrequests.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/dex_coreos_com/v1/connectors.rs b/kube-custom-resources-rs/src/dex_coreos_com/v1/connectors.rs index c63a8ca73..4ff23ba46 100644 --- a/kube-custom-resources-rs/src/dex_coreos_com/v1/connectors.rs +++ b/kube-custom-resources-rs/src/dex_coreos_com/v1/connectors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/connectors.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/connectors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/dex_coreos_com/v1/devicerequests.rs b/kube-custom-resources-rs/src/dex_coreos_com/v1/devicerequests.rs index 2551e9746..8383229cf 100644 --- a/kube-custom-resources-rs/src/dex_coreos_com/v1/devicerequests.rs +++ b/kube-custom-resources-rs/src/dex_coreos_com/v1/devicerequests.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/devicerequests.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/devicerequests.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/dex_coreos_com/v1/devicetokens.rs b/kube-custom-resources-rs/src/dex_coreos_com/v1/devicetokens.rs index e3f5390cf..3860291a7 100644 --- a/kube-custom-resources-rs/src/dex_coreos_com/v1/devicetokens.rs +++ b/kube-custom-resources-rs/src/dex_coreos_com/v1/devicetokens.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/devicetokens.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/devicetokens.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/dex_coreos_com/v1/oauth2clients.rs b/kube-custom-resources-rs/src/dex_coreos_com/v1/oauth2clients.rs index 2a8bfd134..8b8085c55 100644 --- a/kube-custom-resources-rs/src/dex_coreos_com/v1/oauth2clients.rs +++ b/kube-custom-resources-rs/src/dex_coreos_com/v1/oauth2clients.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/oauth2clients.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/oauth2clients.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/dex_coreos_com/v1/offlinesessionses.rs b/kube-custom-resources-rs/src/dex_coreos_com/v1/offlinesessionses.rs index 0a5588b99..dbf194be5 100644 --- a/kube-custom-resources-rs/src/dex_coreos_com/v1/offlinesessionses.rs +++ b/kube-custom-resources-rs/src/dex_coreos_com/v1/offlinesessionses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/offlinesessionses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/offlinesessionses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/dex_coreos_com/v1/passwords.rs b/kube-custom-resources-rs/src/dex_coreos_com/v1/passwords.rs index c81e335c8..b26cfb6c1 100644 --- a/kube-custom-resources-rs/src/dex_coreos_com/v1/passwords.rs +++ b/kube-custom-resources-rs/src/dex_coreos_com/v1/passwords.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/passwords.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/passwords.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/dex_coreos_com/v1/refreshtokens.rs b/kube-custom-resources-rs/src/dex_coreos_com/v1/refreshtokens.rs index 09af2bd24..cf6326b6a 100644 --- a/kube-custom-resources-rs/src/dex_coreos_com/v1/refreshtokens.rs +++ b/kube-custom-resources-rs/src/dex_coreos_com/v1/refreshtokens.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/refreshtokens.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/refreshtokens.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/dex_coreos_com/v1/signingkeies.rs b/kube-custom-resources-rs/src/dex_coreos_com/v1/signingkeies.rs index df8f60e7e..05e3305ea 100644 --- a/kube-custom-resources-rs/src/dex_coreos_com/v1/signingkeies.rs +++ b/kube-custom-resources-rs/src/dex_coreos_com/v1/signingkeies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/signingkeies.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/dexidp/dex/dex.coreos.com/v1/signingkeies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/dex_gpu_ninja_com/v1alpha1/dexidentityproviders.rs b/kube-custom-resources-rs/src/dex_gpu_ninja_com/v1alpha1/dexidentityproviders.rs index c13058f14..0a2228e91 100644 --- a/kube-custom-resources-rs/src/dex_gpu_ninja_com/v1alpha1/dexidentityproviders.rs +++ b/kube-custom-resources-rs/src/dex_gpu_ninja_com/v1alpha1/dexidentityproviders.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/gpu-ninja/dex-operator/dex.gpu-ninja.com/v1alpha1/dexidentityproviders.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/gpu-ninja/dex-operator/dex.gpu-ninja.com/v1alpha1/dexidentityproviders.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -69,7 +69,7 @@ pub struct DexIdentityProviderSpec { } /// ClientCertificateSecretRef is an optional reference to a secret containing a client certificate that the operator can use for connecting to the Dex API gRPC server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderClientCertificateSecretRef { /// Name is the name of the secret. pub name: String, @@ -94,7 +94,7 @@ pub struct DexIdentityProviderConnectors { } /// LDAP holds configuration for the LDAP connector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderConnectorsLdap { /// BindPasswordSecretRef is a reference to a secret containing the bind password. The connector uses these credentials to search for users and groups. #[serde(rename = "bindPasswordSecretRef")] @@ -131,28 +131,28 @@ pub struct DexIdentityProviderConnectorsLdap { } /// BindPasswordSecretRef is a reference to a secret containing the bind password. The connector uses these credentials to search for users and groups. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderConnectorsLdapBindPasswordSecretRef { /// Name is the name of the secret. pub name: String, } /// CASecretRef is an optional reference to a secret containing the CA certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderConnectorsLdapCaSecretRef { /// Name is the name of the secret. pub name: String, } /// ClientCertificateSecretRef is an optional reference to a secret containing the client certificate and key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderConnectorsLdapClientCertificateSecretRef { /// Name is the name of the secret. pub name: String, } /// GroupSearch contains configuration for searching LDAP groups. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderConnectorsLdapGroupSearch { /// BaseDN to start the search from. For example "cn=groups,dc=example,dc=com" #[serde(rename = "baseDN")] @@ -183,7 +183,7 @@ pub enum DexIdentityProviderConnectorsLdapGroupSearchScope { } /// DexIdentityProviderConnectorLDAPGroupSearchUserMatcher holds information about user and group matching. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderConnectorsLdapGroupSearchUserMatchers { /// GroupAttr is the attribute to match against the group ID. #[serde(rename = "groupAttr")] @@ -194,7 +194,7 @@ pub struct DexIdentityProviderConnectorsLdapGroupSearchUserMatchers { } /// UserSearch contains configuration for searching LDAP users. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderConnectorsLdapUserSearch { /// BaseDN to start the search from. For example "cn=users,dc=example,dc=com" #[serde(rename = "baseDN")] @@ -234,7 +234,7 @@ pub enum DexIdentityProviderConnectorsLdapUserSearchScope { } /// OIDC holds configuration for the OIDC connector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderConnectorsOidc { /// AcrValues (Authentication Context Class Reference Values) that specifies the Authentication Context Class Values within the Authentication Request that the Authorization Server is being requested to use for processing requests from this Client, with the values appearing in order of preference. #[serde(default, skip_serializing_if = "Option::is_none", rename = "acrValues")] @@ -287,14 +287,14 @@ pub struct DexIdentityProviderConnectorsOidc { } /// CASecretRef is an optional reference to a secret containing the CA certificate. Only required if your provider uses a self-signed certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderConnectorsOidcCaSecretRef { /// Name is the name of the secret. pub name: String, } /// ClaimMapping is used to map non-standard claims to standard claims. Some providers return non-standard claims (eg. mail). https://openid.net/specs/openid-connect-core-1_0.html#Claims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderConnectorsOidcClaimMapping { /// EmailKey is the key which contains the email claims, defaults to "email". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -308,7 +308,7 @@ pub struct DexIdentityProviderConnectorsOidcClaimMapping { } /// ClientSecretRef is a reference to a secret containing the OAuth client id and secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderConnectorsOidcClientSecretRef { /// Name is the name of the secret. pub name: String, @@ -324,7 +324,7 @@ pub enum DexIdentityProviderConnectorsType { } /// Expiry holds configuration for tokens, signing keys, etc. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderExpiry { /// AuthRequests defines the duration of time for which the AuthRequests will be valid. #[serde(default, skip_serializing_if = "Option::is_none", rename = "authRequests")] @@ -344,7 +344,7 @@ pub struct DexIdentityProviderExpiry { } /// RefreshTokens defines refresh tokens expiry policy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderExpiryRefreshTokens { /// AbsoluteLifetime defines the duration of time after which a refresh token will expire. #[serde(default, skip_serializing_if = "Option::is_none", rename = "absoluteLifetime")] @@ -361,7 +361,7 @@ pub struct DexIdentityProviderExpiryRefreshTokens { } /// Frontend holds the web server's frontend templates and asset configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderFrontend { /// Dir is a file path to static web assets. /// It is expected to contain the following directories: * static - Static static served at "( issuer URL )/static". * templates - HTML templates controlled by dex. * themes/(theme) - Static static served at "( issuer URL )/theme". @@ -379,7 +379,7 @@ pub struct DexIdentityProviderFrontend { } /// GRPC holds configuration for the Dex API gRPC server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderGrpc { /// Annotations is an optional map of additional annotations to add to the Dex API gRPC service. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -396,21 +396,21 @@ pub struct DexIdentityProviderGrpc { } /// CertificateSecretRef is an optional reference to a secret containing the TLS certificate and key to use for the Dex API gRPC server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderGrpcCertificateSecretRef { /// Name is the name of the secret. pub name: String, } /// ClientCASecretRef is an optional reference to a secret containing the client CA. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderGrpcClientCaSecretRef { /// Name is the name of the secret. pub name: String, } /// Ingress is the optional ingress configuration for the Dex identity provider. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderIngress { /// Annotations is an optional map of additional annotations to add to the ingress. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -428,7 +428,7 @@ pub struct DexIdentityProviderIngress { } /// DexIdentityProviderIngressHostSpec is the ingress host configuration for a Dex identity provider. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderIngressHosts { /// Host is the host to route traffic to the Dex identity provider. pub host: String, @@ -455,7 +455,7 @@ pub enum DexIdentityProviderIngressHostsPathsPathType { } /// IngressTLS describes the transport layer security associated with an ingress. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderIngressTls { /// hosts is a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -466,7 +466,7 @@ pub struct DexIdentityProviderIngressTls { } /// Logger holds configuration required to customize logging for dex. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderLogger { /// Format specifies the format to be used for logging. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -477,7 +477,7 @@ pub struct DexIdentityProviderLogger { } /// Metrics holds configuration for metrics. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderMetrics { /// Enabled enables Prometheus metric scraping. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -488,7 +488,7 @@ pub struct DexIdentityProviderMetrics { } /// OAuth2 holds configuration for OAuth2. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderOauth2 { /// AlwaysShowLoginScreen, if specified, show the connector selection screen even if there's only one. #[serde(default, skip_serializing_if = "Option::is_none", rename = "alwaysShowLoginScreen")] @@ -508,7 +508,7 @@ pub struct DexIdentityProviderOauth2 { } /// Resources allows specifying the resource requirements for the Dex identity provider container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -524,7 +524,7 @@ pub struct DexIdentityProviderResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, @@ -545,7 +545,7 @@ pub struct DexIdentityProviderStorage { } /// Postgres holds the configuration for the postgres storage type. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderStoragePostgres { /// ConnMaxLifetime is the maximum amount of time a connection may be reused (default forever). #[serde(default, skip_serializing_if = "Option::is_none", rename = "connMaxLifetime")] @@ -574,14 +574,14 @@ pub struct DexIdentityProviderStoragePostgres { } /// CredentialsSecretRef is a reference to a secret containing the username and password to use for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderStoragePostgresCredentialsSecretRef { /// Name is the name of the secret. pub name: String, } /// SSL holds optional TLS configuration for postgres. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderStoragePostgresSsl { /// CASecretRef is an optional reference to a secret containing the CA certificate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "caSecretRef")] @@ -598,21 +598,21 @@ pub struct DexIdentityProviderStoragePostgresSsl { } /// CASecretRef is an optional reference to a secret containing the CA certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderStoragePostgresSslCaSecretRef { /// Name is the name of the secret. pub name: String, } /// ClientCertificateSecretRef is an optional reference to a secret containing the client certificate and key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderStoragePostgresSslClientCertificateSecretRef { /// Name is the name of the secret. pub name: String, } /// Sqlite3 holds the configuration for the sqlite3 storage type. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderStorageSqlite3 { /// File is the path to the sqlite3 database file. pub file: String, @@ -630,7 +630,7 @@ pub enum DexIdentityProviderStorageType { } /// PersistentVolumeClaim is a user's request for and claim to a persistent volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderVolumeClaimTemplates { /// 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 #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -650,7 +650,7 @@ pub struct DexIdentityProviderVolumeClaimTemplates { } /// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderVolumeClaimTemplatesMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -665,7 +665,7 @@ pub struct DexIdentityProviderVolumeClaimTemplatesMetadata { } /// spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderVolumeClaimTemplatesSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -694,7 +694,7 @@ pub struct DexIdentityProviderVolumeClaimTemplatesSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderVolumeClaimTemplatesSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -706,7 +706,7 @@ pub struct DexIdentityProviderVolumeClaimTemplatesSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderVolumeClaimTemplatesSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -721,7 +721,7 @@ pub struct DexIdentityProviderVolumeClaimTemplatesSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderVolumeClaimTemplatesSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -737,14 +737,14 @@ pub struct DexIdentityProviderVolumeClaimTemplatesSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderVolumeClaimTemplatesSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderVolumeClaimTemplatesSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -755,7 +755,7 @@ pub struct DexIdentityProviderVolumeClaimTemplatesSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderVolumeClaimTemplatesSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -767,7 +767,7 @@ pub struct DexIdentityProviderVolumeClaimTemplatesSpecSelectorMatchExpressions { } /// status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderVolumeClaimTemplatesStatus { /// accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -796,7 +796,7 @@ pub struct DexIdentityProviderVolumeClaimTemplatesStatus { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -818,7 +818,7 @@ pub struct DexIdentityProviderVolumeMounts { } /// Web holds configuration for the web server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderWeb { /// AllowedOrigins is a list of allowed origins for CORS requests. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowedOrigins")] @@ -832,14 +832,14 @@ pub struct DexIdentityProviderWeb { } /// CertificateSecretRef is an optional reference to a secret containing the TLS certificate and key to use for HTTPS. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderWebCertificateSecretRef { /// Name is the name of the secret. pub name: String, } /// DexIdentityProviderStatus defines the observed state of the Dex identity provider. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderStatus { /// ClientRefs is a list of clients that are using this DexIdentityProvider. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientRefs")] @@ -855,7 +855,7 @@ pub struct DexIdentityProviderStatus { pub phase: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DexIdentityProviderStatusClientRefs { /// Name of the referenced DexOAuth2Client. pub name: String, diff --git a/kube-custom-resources-rs/src/dex_gpu_ninja_com/v1alpha1/dexoauth2clients.rs b/kube-custom-resources-rs/src/dex_gpu_ninja_com/v1alpha1/dexoauth2clients.rs index a39b8419e..ed72664f3 100644 --- a/kube-custom-resources-rs/src/dex_gpu_ninja_com/v1alpha1/dexoauth2clients.rs +++ b/kube-custom-resources-rs/src/dex_gpu_ninja_com/v1alpha1/dexoauth2clients.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/gpu-ninja/dex-operator/dex.gpu-ninja.com/v1alpha1/dexoauth2clients.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/gpu-ninja/dex-operator/dex.gpu-ninja.com/v1alpha1/dexoauth2clients.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/dex_gpu_ninja_com/v1alpha1/dexusers.rs b/kube-custom-resources-rs/src/dex_gpu_ninja_com/v1alpha1/dexusers.rs index 713ff2e25..a9c302fd7 100644 --- a/kube-custom-resources-rs/src/dex_gpu_ninja_com/v1alpha1/dexusers.rs +++ b/kube-custom-resources-rs/src/dex_gpu_ninja_com/v1alpha1/dexusers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/gpu-ninja/dex-operator/dex.gpu-ninja.com/v1alpha1/dexusers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/gpu-ninja/dex-operator/dex.gpu-ninja.com/v1alpha1/dexusers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/digitalis_io/v1/valssecrets.rs b/kube-custom-resources-rs/src/digitalis_io/v1/valssecrets.rs index a498d3d56..ad6647e49 100644 --- a/kube-custom-resources-rs/src/digitalis_io/v1/valssecrets.rs +++ b/kube-custom-resources-rs/src/digitalis_io/v1/valssecrets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/digitalis-io/vals-operator/digitalis.io/v1/valssecrets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/digitalis-io/vals-operator/digitalis.io/v1/valssecrets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/digitalis_io/v1beta1/dbsecrets.rs b/kube-custom-resources-rs/src/digitalis_io/v1beta1/dbsecrets.rs index c6ae771cd..11216bb0d 100644 --- a/kube-custom-resources-rs/src/digitalis_io/v1beta1/dbsecrets.rs +++ b/kube-custom-resources-rs/src/digitalis_io/v1beta1/dbsecrets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/digitalis-io/vals-operator/digitalis.io/v1beta1/dbsecrets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/digitalis-io/vals-operator/digitalis.io/v1beta1/dbsecrets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/documentdb_services_k8s_aws/v1alpha1/dbclusters.rs b/kube-custom-resources-rs/src/documentdb_services_k8s_aws/v1alpha1/dbclusters.rs index 5f63ccdd9..a840e80d5 100644 --- a/kube-custom-resources-rs/src/documentdb_services_k8s_aws/v1alpha1/dbclusters.rs +++ b/kube-custom-resources-rs/src/documentdb_services_k8s_aws/v1alpha1/dbclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/documentdb-controller/documentdb.services.k8s.aws/v1alpha1/dbclusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/documentdb-controller/documentdb.services.k8s.aws/v1alpha1/dbclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/documentdb_services_k8s_aws/v1alpha1/dbinstances.rs b/kube-custom-resources-rs/src/documentdb_services_k8s_aws/v1alpha1/dbinstances.rs index a42ac1ce7..5727f389b 100644 --- a/kube-custom-resources-rs/src/documentdb_services_k8s_aws/v1alpha1/dbinstances.rs +++ b/kube-custom-resources-rs/src/documentdb_services_k8s_aws/v1alpha1/dbinstances.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/documentdb-controller/documentdb.services.k8s.aws/v1alpha1/dbinstances.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/documentdb-controller/documentdb.services.k8s.aws/v1alpha1/dbinstances.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/documentdb_services_k8s_aws/v1alpha1/dbsubnetgroups.rs b/kube-custom-resources-rs/src/documentdb_services_k8s_aws/v1alpha1/dbsubnetgroups.rs index 17cdc18f6..5eb5f343b 100644 --- a/kube-custom-resources-rs/src/documentdb_services_k8s_aws/v1alpha1/dbsubnetgroups.rs +++ b/kube-custom-resources-rs/src/documentdb_services_k8s_aws/v1alpha1/dbsubnetgroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/documentdb-controller/documentdb.services.k8s.aws/v1alpha1/dbsubnetgroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/documentdb-controller/documentdb.services.k8s.aws/v1alpha1/dbsubnetgroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/druid_apache_org/v1alpha1/druids.rs b/kube-custom-resources-rs/src/druid_apache_org/v1alpha1/druids.rs index 7aef85a47..15844f058 100644 --- a/kube-custom-resources-rs/src/druid_apache_org/v1alpha1/druids.rs +++ b/kube-custom-resources-rs/src/druid_apache_org/v1alpha1/druids.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/datainfrahq/druid-operator/druid.apache.org/v1alpha1/druids.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/datainfrahq/druid-operator/druid.apache.org/v1alpha1/druids.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// DruidSpec defines the desired state of the Druid cluster. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "druid.apache.org", version = "v1alpha1", kind = "Druid", plural = "druids")] #[kube(namespaced)] #[kube(status = "DruidStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct DruidSpec { /// AdditionalContainer defines additional sidecar containers to be deployed with the `Druid` pods. @@ -157,7 +158,7 @@ pub struct DruidSpec { } /// AdditionalContainer defines additional sidecar containers to be deployed with the `Druid` pods. (will be part of Kubernetes native in the future: https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/753-sidecar-containers/README.md#summary). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAdditionalContainer { /// Args Arguments to call the command. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -193,7 +194,7 @@ pub struct DruidAdditionalContainer { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAdditionalContainerEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -206,7 +207,7 @@ pub struct DruidAdditionalContainerEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAdditionalContainerEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -223,7 +224,7 @@ pub struct DruidAdditionalContainerEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAdditionalContainerEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -236,7 +237,7 @@ pub struct DruidAdditionalContainerEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAdditionalContainerEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -247,7 +248,7 @@ pub struct DruidAdditionalContainerEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAdditionalContainerEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -260,7 +261,7 @@ pub struct DruidAdditionalContainerEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAdditionalContainerEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -273,7 +274,7 @@ pub struct DruidAdditionalContainerEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAdditionalContainerEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -287,7 +288,7 @@ pub struct DruidAdditionalContainerEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAdditionalContainerEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -298,7 +299,7 @@ pub struct DruidAdditionalContainerEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAdditionalContainerEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -309,7 +310,7 @@ pub struct DruidAdditionalContainerEnvFromSecretRef { } /// Resources Kubernetes Native `resources` specification. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAdditionalContainerResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -325,14 +326,14 @@ pub struct DruidAdditionalContainerResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAdditionalContainerResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// ContainerSecurityContext If not present, will be taken from top level pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAdditionalContainerSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -370,7 +371,7 @@ pub struct DruidAdditionalContainerSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAdditionalContainerSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -381,7 +382,7 @@ pub struct DruidAdditionalContainerSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAdditionalContainerSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -398,7 +399,7 @@ pub struct DruidAdditionalContainerSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAdditionalContainerSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -410,7 +411,7 @@ pub struct DruidAdditionalContainerSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAdditionalContainerSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -427,7 +428,7 @@ pub struct DruidAdditionalContainerSecurityContextWindowsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAdditionalContainerVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -449,7 +450,7 @@ pub struct DruidAdditionalContainerVolumeMounts { } /// Affinity Kubernetes native `affinity` specification. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -463,7 +464,7 @@ pub struct DruidAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -474,7 +475,7 @@ pub struct DruidAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: DruidAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -483,7 +484,7 @@ pub struct DruidAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecut } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -494,7 +495,7 @@ pub struct DruidAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecut } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -506,7 +507,7 @@ pub struct DruidAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecut } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -518,7 +519,7 @@ pub struct DruidAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecut } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -526,7 +527,7 @@ pub struct DruidAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecuti } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -537,7 +538,7 @@ pub struct DruidAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecuti } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -549,7 +550,7 @@ pub struct DruidAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecuti } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -561,7 +562,7 @@ pub struct DruidAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecuti } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -572,7 +573,7 @@ pub struct DruidAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -582,7 +583,7 @@ pub struct DruidAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecuti } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -599,7 +600,7 @@ pub struct DruidAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecuti } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -610,7 +611,7 @@ pub struct DruidAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecuti } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -622,7 +623,7 @@ pub struct DruidAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecuti } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -633,7 +634,7 @@ pub struct DruidAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecuti } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -645,7 +646,7 @@ pub struct DruidAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecuti } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -662,7 +663,7 @@ pub struct DruidAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutio } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -673,7 +674,7 @@ pub struct DruidAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutio } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -685,7 +686,7 @@ pub struct DruidAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutio } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -696,7 +697,7 @@ pub struct DruidAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutio } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -708,7 +709,7 @@ pub struct DruidAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutio } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -719,7 +720,7 @@ pub struct DruidAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -729,7 +730,7 @@ pub struct DruidAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExe } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -746,7 +747,7 @@ pub struct DruidAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExe } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -757,7 +758,7 @@ pub struct DruidAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -769,7 +770,7 @@ pub struct DruidAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExe } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -780,7 +781,7 @@ pub struct DruidAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -792,7 +793,7 @@ pub struct DruidAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExe } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -809,7 +810,7 @@ pub struct DruidAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExec } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -820,7 +821,7 @@ pub struct DruidAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExec } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -832,7 +833,7 @@ pub struct DruidAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExec } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -843,7 +844,7 @@ pub struct DruidAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExec } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -855,7 +856,7 @@ pub struct DruidAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExec } /// ContainerSecurityContext -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidContainerSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -893,7 +894,7 @@ pub struct DruidContainerSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidContainerSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -904,7 +905,7 @@ pub struct DruidContainerSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidContainerSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -921,7 +922,7 @@ pub struct DruidContainerSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidContainerSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -933,7 +934,7 @@ pub struct DruidContainerSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidContainerSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -950,7 +951,7 @@ pub struct DruidContainerSecurityContextWindowsOptions { } /// DeepStorage IGNORED (Future API): In order to make Druid dependency setup extensible from within Druid operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidDeepStorage { /// RawMessage is a raw encoded JSON value. It implements Marshaler and Unmarshaler and can be used to delay JSON decoding or precompute a JSON encoding. pub spec: String, @@ -959,7 +960,7 @@ pub struct DruidDeepStorage { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -972,7 +973,7 @@ pub struct DruidEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -989,7 +990,7 @@ pub struct DruidEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1002,7 +1003,7 @@ pub struct DruidEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1013,7 +1014,7 @@ pub struct DruidEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1026,7 +1027,7 @@ pub struct DruidEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1039,7 +1040,7 @@ pub struct DruidEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -1053,7 +1054,7 @@ pub struct DruidEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1064,7 +1065,7 @@ pub struct DruidEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1076,7 +1077,7 @@ pub struct DruidEnvFromSecretRef { /// ObjectReference contains enough information to let you inspect or modify the referred object. --- New uses of this type are discouraged because of difficulty describing its usage when embedded in APIs. 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage. 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular restrictions like, "must refer only to types A and B" or "UID not honored" or "name must be restricted". Those cannot be well described when embedded. 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen. 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple and the version of the actual struct is irrelevant. 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control. /// Instead of using this type, create a locally provided and used type that is well-focused on your reference. For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidExtraCommonConfig { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1102,7 +1103,7 @@ pub struct DruidExtraCommonConfig { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidImagePullSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1110,7 +1111,7 @@ pub struct DruidImagePullSecrets { } /// LivenessProbe Port is set to `druid.port` if not specified with httpGet handler. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1145,7 +1146,7 @@ pub struct DruidLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1153,7 +1154,7 @@ pub struct DruidLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1164,7 +1165,7 @@ pub struct DruidLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1183,7 +1184,7 @@ pub struct DruidLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1192,7 +1193,7 @@ pub struct DruidLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1202,7 +1203,7 @@ pub struct DruidLivenessProbeTcpSocket { } /// MetadataStore IGNORED (Future API): In order to make Druid dependency setup extensible from within Druid operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidMetadataStore { /// RawMessage is a raw encoded JSON value. It implements Marshaler and Unmarshaler and can be used to delay JSON decoding or precompute a JSON encoding. pub spec: String, @@ -1211,7 +1212,7 @@ pub struct DruidMetadataStore { } /// Nodes a list of `Druid` Node types and their configurations. `DruidSpec` is used to create Kubernetes workload specs. Many of the fields above can be overridden at the specific `NodeSpec` level. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodes { /// Operator deploys the sidecar container based on these properties. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalContainer")] @@ -1351,7 +1352,7 @@ pub struct DruidNodes { } /// AdditionalContainer defines additional sidecar containers to be deployed with the `Druid` pods. (will be part of Kubernetes native in the future: https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/753-sidecar-containers/README.md#summary). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAdditionalContainer { /// Args Arguments to call the command. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1387,7 +1388,7 @@ pub struct DruidNodesAdditionalContainer { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAdditionalContainerEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -1400,7 +1401,7 @@ pub struct DruidNodesAdditionalContainerEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAdditionalContainerEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1417,7 +1418,7 @@ pub struct DruidNodesAdditionalContainerEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAdditionalContainerEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1430,7 +1431,7 @@ pub struct DruidNodesAdditionalContainerEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAdditionalContainerEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1441,7 +1442,7 @@ pub struct DruidNodesAdditionalContainerEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAdditionalContainerEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1454,7 +1455,7 @@ pub struct DruidNodesAdditionalContainerEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAdditionalContainerEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1467,7 +1468,7 @@ pub struct DruidNodesAdditionalContainerEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAdditionalContainerEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -1481,7 +1482,7 @@ pub struct DruidNodesAdditionalContainerEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAdditionalContainerEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1492,7 +1493,7 @@ pub struct DruidNodesAdditionalContainerEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAdditionalContainerEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1503,7 +1504,7 @@ pub struct DruidNodesAdditionalContainerEnvFromSecretRef { } /// Resources Kubernetes Native `resources` specification. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAdditionalContainerResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1519,14 +1520,14 @@ pub struct DruidNodesAdditionalContainerResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAdditionalContainerResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// ContainerSecurityContext If not present, will be taken from top level pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAdditionalContainerSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -1564,7 +1565,7 @@ pub struct DruidNodesAdditionalContainerSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAdditionalContainerSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1575,7 +1576,7 @@ pub struct DruidNodesAdditionalContainerSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAdditionalContainerSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1592,7 +1593,7 @@ pub struct DruidNodesAdditionalContainerSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAdditionalContainerSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -1604,7 +1605,7 @@ pub struct DruidNodesAdditionalContainerSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAdditionalContainerSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -1621,7 +1622,7 @@ pub struct DruidNodesAdditionalContainerSecurityContextWindowsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAdditionalContainerVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -1643,7 +1644,7 @@ pub struct DruidNodesAdditionalContainerVolumeMounts { } /// Affinity Kubernetes native `affinity` specification. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -1657,7 +1658,7 @@ pub struct DruidNodesAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -1668,7 +1669,7 @@ pub struct DruidNodesAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: DruidNodesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -1677,7 +1678,7 @@ pub struct DruidNodesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringE } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1688,7 +1689,7 @@ pub struct DruidNodesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringE } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1700,7 +1701,7 @@ pub struct DruidNodesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringE } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1712,7 +1713,7 @@ pub struct DruidNodesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringE } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -1720,7 +1721,7 @@ pub struct DruidNodesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1731,7 +1732,7 @@ pub struct DruidNodesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1743,7 +1744,7 @@ pub struct DruidNodesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1755,7 +1756,7 @@ pub struct DruidNodesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringEx } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -1766,7 +1767,7 @@ pub struct DruidNodesAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1776,7 +1777,7 @@ pub struct DruidNodesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1793,7 +1794,7 @@ pub struct DruidNodesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1804,7 +1805,7 @@ pub struct DruidNodesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1816,7 +1817,7 @@ pub struct DruidNodesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1827,7 +1828,7 @@ pub struct DruidNodesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1839,7 +1840,7 @@ pub struct DruidNodesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1856,7 +1857,7 @@ pub struct DruidNodesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1867,7 +1868,7 @@ pub struct DruidNodesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1879,7 +1880,7 @@ pub struct DruidNodesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1890,7 +1891,7 @@ pub struct DruidNodesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1902,7 +1903,7 @@ pub struct DruidNodesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExe } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -1913,7 +1914,7 @@ pub struct DruidNodesAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1923,7 +1924,7 @@ pub struct DruidNodesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1940,7 +1941,7 @@ pub struct DruidNodesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1951,7 +1952,7 @@ pub struct DruidNodesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1963,7 +1964,7 @@ pub struct DruidNodesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1974,7 +1975,7 @@ pub struct DruidNodesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1986,7 +1987,7 @@ pub struct DruidNodesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2003,7 +2004,7 @@ pub struct DruidNodesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDurin } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2014,7 +2015,7 @@ pub struct DruidNodesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDurin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2026,7 +2027,7 @@ pub struct DruidNodesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDurin } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2037,7 +2038,7 @@ pub struct DruidNodesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDurin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2049,7 +2050,7 @@ pub struct DruidNodesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDurin } /// ContainerSecurityContext -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesContainerSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -2087,7 +2088,7 @@ pub struct DruidNodesContainerSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesContainerSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2098,7 +2099,7 @@ pub struct DruidNodesContainerSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesContainerSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2115,7 +2116,7 @@ pub struct DruidNodesContainerSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesContainerSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -2127,7 +2128,7 @@ pub struct DruidNodesContainerSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesContainerSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -2144,7 +2145,7 @@ pub struct DruidNodesContainerSecurityContextWindowsOptions { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -2157,7 +2158,7 @@ pub struct DruidNodesEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -2174,7 +2175,7 @@ pub struct DruidNodesEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -2187,7 +2188,7 @@ pub struct DruidNodesEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2198,7 +2199,7 @@ pub struct DruidNodesEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2211,7 +2212,7 @@ pub struct DruidNodesEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2224,7 +2225,7 @@ pub struct DruidNodesEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -2238,7 +2239,7 @@ pub struct DruidNodesEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2249,7 +2250,7 @@ pub struct DruidNodesEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2260,7 +2261,7 @@ pub struct DruidNodesEnvFromSecretRef { } /// HPAutoScaler Kubernetes Native `HorizontalPodAutoscaler` specification. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscaler { /// behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2280,7 +2281,7 @@ pub struct DruidNodesHpAutoscaler { } /// behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerBehavior { /// scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used). #[serde(default, skip_serializing_if = "Option::is_none", rename = "scaleDown")] @@ -2291,7 +2292,7 @@ pub struct DruidNodesHpAutoscalerBehavior { } /// scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerBehaviorScaleDown { /// policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2305,7 +2306,7 @@ pub struct DruidNodesHpAutoscalerBehaviorScaleDown { } /// HPAScalingPolicy is a single policy which must hold true for a specified past interval. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerBehaviorScaleDownPolicies { /// periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min). #[serde(rename = "periodSeconds")] @@ -2318,7 +2319,7 @@ pub struct DruidNodesHpAutoscalerBehaviorScaleDownPolicies { } /// scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of: * increase no more than 4 pods per 60 seconds * double the number of pods per 60 seconds No stabilization is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerBehaviorScaleUp { /// policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2332,7 +2333,7 @@ pub struct DruidNodesHpAutoscalerBehaviorScaleUp { } /// HPAScalingPolicy is a single policy which must hold true for a specified past interval. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerBehaviorScaleUpPolicies { /// periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min). #[serde(rename = "periodSeconds")] @@ -2345,7 +2346,7 @@ pub struct DruidNodesHpAutoscalerBehaviorScaleUpPolicies { } /// MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerMetrics { /// containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag. #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerResource")] @@ -2368,7 +2369,7 @@ pub struct DruidNodesHpAutoscalerMetrics { } /// containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerMetricsContainerResource { /// container is the name of the container in the pods of the scaling target pub container: String, @@ -2379,7 +2380,7 @@ pub struct DruidNodesHpAutoscalerMetricsContainerResource { } /// target specifies the target value for the given metric -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerMetricsContainerResourceTarget { /// averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] @@ -2396,7 +2397,7 @@ pub struct DruidNodesHpAutoscalerMetricsContainerResourceTarget { } /// external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerMetricsExternal { /// metric identifies the target metric by name and selector pub metric: DruidNodesHpAutoscalerMetricsExternalMetric, @@ -2405,7 +2406,7 @@ pub struct DruidNodesHpAutoscalerMetricsExternal { } /// metric identifies the target metric by name and selector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerMetricsExternalMetric { /// name is the name of the given metric pub name: String, @@ -2415,7 +2416,7 @@ pub struct DruidNodesHpAutoscalerMetricsExternalMetric { } /// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerMetricsExternalMetricSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2426,7 +2427,7 @@ pub struct DruidNodesHpAutoscalerMetricsExternalMetricSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerMetricsExternalMetricSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2438,7 +2439,7 @@ pub struct DruidNodesHpAutoscalerMetricsExternalMetricSelectorMatchExpressions { } /// target specifies the target value for the given metric -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerMetricsExternalTarget { /// averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] @@ -2455,7 +2456,7 @@ pub struct DruidNodesHpAutoscalerMetricsExternalTarget { } /// object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerMetricsObject { /// describedObject specifies the descriptions of a object,such as kind,name apiVersion #[serde(rename = "describedObject")] @@ -2467,7 +2468,7 @@ pub struct DruidNodesHpAutoscalerMetricsObject { } /// describedObject specifies the descriptions of a object,such as kind,name apiVersion -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerMetricsObjectDescribedObject { /// apiVersion is the API version of the referent #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2479,7 +2480,7 @@ pub struct DruidNodesHpAutoscalerMetricsObjectDescribedObject { } /// metric identifies the target metric by name and selector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerMetricsObjectMetric { /// name is the name of the given metric pub name: String, @@ -2489,7 +2490,7 @@ pub struct DruidNodesHpAutoscalerMetricsObjectMetric { } /// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerMetricsObjectMetricSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2500,7 +2501,7 @@ pub struct DruidNodesHpAutoscalerMetricsObjectMetricSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerMetricsObjectMetricSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2512,7 +2513,7 @@ pub struct DruidNodesHpAutoscalerMetricsObjectMetricSelectorMatchExpressions { } /// target specifies the target value for the given metric -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerMetricsObjectTarget { /// averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] @@ -2529,7 +2530,7 @@ pub struct DruidNodesHpAutoscalerMetricsObjectTarget { } /// pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerMetricsPods { /// metric identifies the target metric by name and selector pub metric: DruidNodesHpAutoscalerMetricsPodsMetric, @@ -2538,7 +2539,7 @@ pub struct DruidNodesHpAutoscalerMetricsPods { } /// metric identifies the target metric by name and selector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerMetricsPodsMetric { /// name is the name of the given metric pub name: String, @@ -2548,7 +2549,7 @@ pub struct DruidNodesHpAutoscalerMetricsPodsMetric { } /// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerMetricsPodsMetricSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2559,7 +2560,7 @@ pub struct DruidNodesHpAutoscalerMetricsPodsMetricSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerMetricsPodsMetricSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2571,7 +2572,7 @@ pub struct DruidNodesHpAutoscalerMetricsPodsMetricSelectorMatchExpressions { } /// target specifies the target value for the given metric -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerMetricsPodsTarget { /// averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] @@ -2588,7 +2589,7 @@ pub struct DruidNodesHpAutoscalerMetricsPodsTarget { } /// resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerMetricsResource { /// name is the name of the resource in question. pub name: String, @@ -2597,7 +2598,7 @@ pub struct DruidNodesHpAutoscalerMetricsResource { } /// target specifies the target value for the given metric -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerMetricsResourceTarget { /// averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] @@ -2614,7 +2615,7 @@ pub struct DruidNodesHpAutoscalerMetricsResourceTarget { } /// scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesHpAutoscalerScaleTargetRef { /// apiVersion is the API version of the referent #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2626,7 +2627,7 @@ pub struct DruidNodesHpAutoscalerScaleTargetRef { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesImagePullSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2634,7 +2635,7 @@ pub struct DruidNodesImagePullSecrets { } /// Ingress Kubernetes Native `Ingress` specification. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesIngress { /// defaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultBackend")] @@ -2651,7 +2652,7 @@ pub struct DruidNodesIngress { } /// defaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesIngressDefaultBackend { /// resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2662,7 +2663,7 @@ pub struct DruidNodesIngressDefaultBackend { } /// resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesIngressDefaultBackendResource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2674,7 +2675,7 @@ pub struct DruidNodesIngressDefaultBackendResource { } /// service references a service as a backend. This is a mutually exclusive setting with "Resource". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesIngressDefaultBackendService { /// name is the referenced service. The service must exist in the same namespace as the Ingress object. pub name: String, @@ -2684,7 +2685,7 @@ pub struct DruidNodesIngressDefaultBackendService { } /// port of the referenced service. A port name or port number is required for a IngressServiceBackend. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesIngressDefaultBackendServicePort { /// name is the name of the port on the Service. This is a mutually exclusive setting with "Number". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2695,7 +2696,7 @@ pub struct DruidNodesIngressDefaultBackendServicePort { } /// IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesIngressRules { /// host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the "host" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the IP in the Spec of the parent Ingress. 2. The `:` delimiter is not respected because ports are not allowed. Currently the port of an Ingress is implicitly :80 for http and :443 for https. Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue. /// host can be "precise" which is a domain name without the terminating dot of a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. "*.foo.com"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*"). Requests will be matched against the Host field in the following way: 1. If host is precise, the request matches this rule if the http host header is equal to Host. 2. If host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule. @@ -2707,14 +2708,14 @@ pub struct DruidNodesIngressRules { } /// HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesIngressRulesHttp { /// paths is a collection of paths that map requests to backends. pub paths: Vec, } /// HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesIngressRulesHttpPaths { /// backend defines the referenced service endpoint to which the traffic will be forwarded to. pub backend: DruidNodesIngressRulesHttpPathsBackend, @@ -2727,7 +2728,7 @@ pub struct DruidNodesIngressRulesHttpPaths { } /// backend defines the referenced service endpoint to which the traffic will be forwarded to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesIngressRulesHttpPathsBackend { /// resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2738,7 +2739,7 @@ pub struct DruidNodesIngressRulesHttpPathsBackend { } /// resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesIngressRulesHttpPathsBackendResource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2750,7 +2751,7 @@ pub struct DruidNodesIngressRulesHttpPathsBackendResource { } /// service references a service as a backend. This is a mutually exclusive setting with "Resource". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesIngressRulesHttpPathsBackendService { /// name is the referenced service. The service must exist in the same namespace as the Ingress object. pub name: String, @@ -2760,7 +2761,7 @@ pub struct DruidNodesIngressRulesHttpPathsBackendService { } /// port of the referenced service. A port name or port number is required for a IngressServiceBackend. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesIngressRulesHttpPathsBackendServicePort { /// name is the name of the port on the Service. This is a mutually exclusive setting with "Number". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2771,7 +2772,7 @@ pub struct DruidNodesIngressRulesHttpPathsBackendServicePort { } /// IngressTLS describes the transport layer security associated with an ingress. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesIngressTls { /// hosts is a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2782,7 +2783,7 @@ pub struct DruidNodesIngressTls { } /// Lifecycle -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -2793,7 +2794,7 @@ pub struct DruidNodesLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2807,7 +2808,7 @@ pub struct DruidNodesLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2815,7 +2816,7 @@ pub struct DruidNodesLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2834,7 +2835,7 @@ pub struct DruidNodesLifecyclePostStartHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesLifecyclePostStartHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2843,7 +2844,7 @@ pub struct DruidNodesLifecyclePostStartHttpGetHttpHeaders { } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2853,7 +2854,7 @@ pub struct DruidNodesLifecyclePostStartTcpSocket { } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2867,7 +2868,7 @@ pub struct DruidNodesLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2875,7 +2876,7 @@ pub struct DruidNodesLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2894,7 +2895,7 @@ pub struct DruidNodesLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesLifecyclePreStopHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2903,7 +2904,7 @@ pub struct DruidNodesLifecyclePreStopHttpGetHttpHeaders { } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2913,7 +2914,7 @@ pub struct DruidNodesLifecyclePreStopTcpSocket { } /// LivenessProbe Port is set to `druid.port` if not specified with httpGet handler. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2948,7 +2949,7 @@ pub struct DruidNodesLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2956,7 +2957,7 @@ pub struct DruidNodesLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2967,7 +2968,7 @@ pub struct DruidNodesLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2986,7 +2987,7 @@ pub struct DruidNodesLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2995,7 +2996,7 @@ pub struct DruidNodesLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3024,7 +3025,7 @@ pub enum DruidNodesNodeType { } /// PersistentVolumeClaim is a user's request for and claim to a persistent volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesPersistentVolumeClaim { /// 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 #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3044,7 +3045,7 @@ pub struct DruidNodesPersistentVolumeClaim { } /// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesPersistentVolumeClaimMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3059,7 +3060,7 @@ pub struct DruidNodesPersistentVolumeClaimMetadata { } /// spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesPersistentVolumeClaimSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -3088,7 +3089,7 @@ pub struct DruidNodesPersistentVolumeClaimSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesPersistentVolumeClaimSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -3100,7 +3101,7 @@ pub struct DruidNodesPersistentVolumeClaimSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesPersistentVolumeClaimSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -3115,7 +3116,7 @@ pub struct DruidNodesPersistentVolumeClaimSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesPersistentVolumeClaimSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -3131,14 +3132,14 @@ pub struct DruidNodesPersistentVolumeClaimSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesPersistentVolumeClaimSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesPersistentVolumeClaimSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3149,7 +3150,7 @@ pub struct DruidNodesPersistentVolumeClaimSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesPersistentVolumeClaimSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3161,7 +3162,7 @@ pub struct DruidNodesPersistentVolumeClaimSpecSelectorMatchExpressions { } /// status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesPersistentVolumeClaimStatus { /// accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -3184,7 +3185,7 @@ pub struct DruidNodesPersistentVolumeClaimStatus { } /// PodDisruptionBudgetSpec Kubernetes native `podDisruptionBudget` specification. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesPodDisruptionBudgetSpec { /// An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] @@ -3206,7 +3207,7 @@ pub struct DruidNodesPodDisruptionBudgetSpec { } /// Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesPodDisruptionBudgetSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3217,7 +3218,7 @@ pub struct DruidNodesPodDisruptionBudgetSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesPodDisruptionBudgetSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3229,7 +3230,7 @@ pub struct DruidNodesPodDisruptionBudgetSpecSelectorMatchExpressions { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -3249,7 +3250,7 @@ pub struct DruidNodesPorts { } /// ReadinessProbe Port is set to `druid.port` if not specified with httpGet handler. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3284,7 +3285,7 @@ pub struct DruidNodesReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3292,7 +3293,7 @@ pub struct DruidNodesReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3303,7 +3304,7 @@ pub struct DruidNodesReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3322,7 +3323,7 @@ pub struct DruidNodesReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -3331,7 +3332,7 @@ pub struct DruidNodesReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3341,7 +3342,7 @@ pub struct DruidNodesReadinessProbeTcpSocket { } /// Resources Kubernetes Native `resources` specification. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -3357,14 +3358,14 @@ pub struct DruidNodesResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// PodSecurityContext Overrides `securityContext` at top level. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -3401,7 +3402,7 @@ pub struct DruidNodesSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3418,7 +3419,7 @@ pub struct DruidNodesSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -3430,7 +3431,7 @@ pub struct DruidNodesSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -3439,7 +3440,7 @@ pub struct DruidNodesSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -3456,7 +3457,7 @@ pub struct DruidNodesSecurityContextWindowsOptions { } /// Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesServices { /// 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 #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3476,7 +3477,7 @@ pub struct DruidNodesServices { } /// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesServicesMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3491,7 +3492,7 @@ pub struct DruidNodesServicesMetadata { } /// Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesServicesSpec { /// allocateLoadBalancerNodePorts defines if NodePorts will be automatically allocated for services with type LoadBalancer. Default is "true". It may be set to "false" if the cluster load-balancer does not rely on NodePorts. If the caller requests specific NodePorts (by specifying a value), those requests will be respected, regardless of this field. This field may only be set for services with type LoadBalancer and will be cleared if the type is changed to any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] @@ -3555,7 +3556,7 @@ pub struct DruidNodesServicesSpec { } /// ServicePort contains information on service's port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesServicesSpecPorts { /// The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. #[serde(default, skip_serializing_if = "Option::is_none", rename = "appProtocol")] @@ -3577,7 +3578,7 @@ pub struct DruidNodesServicesSpecPorts { } /// sessionAffinityConfig contains the configurations of session affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesServicesSpecSessionAffinityConfig { /// clientIP contains the configurations of Client IP based session affinity. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] @@ -3585,7 +3586,7 @@ pub struct DruidNodesServicesSpecSessionAffinityConfig { } /// clientIP contains the configurations of Client IP based session affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesServicesSpecSessionAffinityConfigClientIp { /// timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". Default value is 10800(for 3 hours). #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] @@ -3593,7 +3594,7 @@ pub struct DruidNodesServicesSpecSessionAffinityConfigClientIp { } /// Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesServicesStatus { /// Current service state #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3604,7 +3605,7 @@ pub struct DruidNodesServicesStatus { } /// LoadBalancer contains the current status of the load-balancer, if one is present. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesServicesStatusLoadBalancer { /// Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3612,7 +3613,7 @@ pub struct DruidNodesServicesStatusLoadBalancer { } /// LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesServicesStatusLoadBalancerIngress { /// Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3625,7 +3626,7 @@ pub struct DruidNodesServicesStatusLoadBalancerIngress { pub ports: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesServicesStatusLoadBalancerIngressPorts { /// Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names - cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase. --- The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3637,7 +3638,7 @@ pub struct DruidNodesServicesStatusLoadBalancerIngressPorts { } /// StartUpProbe -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesStartUpProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3672,7 +3673,7 @@ pub struct DruidNodesStartUpProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesStartUpProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3680,7 +3681,7 @@ pub struct DruidNodesStartUpProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesStartUpProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3691,7 +3692,7 @@ pub struct DruidNodesStartUpProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesStartUpProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3710,7 +3711,7 @@ pub struct DruidNodesStartUpProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesStartUpProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -3719,7 +3720,7 @@ pub struct DruidNodesStartUpProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesStartUpProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3729,7 +3730,7 @@ pub struct DruidNodesStartUpProbeTcpSocket { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3749,7 +3750,7 @@ pub struct DruidNodesTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesTopologySpreadConstraints { /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -3783,7 +3784,7 @@ pub struct DruidNodesTopologySpreadConstraints { } /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3794,7 +3795,7 @@ pub struct DruidNodesTopologySpreadConstraintsLabelSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3806,7 +3807,7 @@ pub struct DruidNodesTopologySpreadConstraintsLabelSelectorMatchExpressions { } /// UpdateStrategy -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesUpdateStrategy { /// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. #[serde(default, skip_serializing_if = "Option::is_none", rename = "rollingUpdate")] @@ -3817,7 +3818,7 @@ pub struct DruidNodesUpdateStrategy { } /// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesUpdateStrategyRollingUpdate { /// The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0. Defaults to 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] @@ -3828,7 +3829,7 @@ pub struct DruidNodesUpdateStrategyRollingUpdate { } /// PersistentVolumeClaim is a user's request for and claim to a persistent volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumeClaimTemplates { /// 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 #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3848,7 +3849,7 @@ pub struct DruidNodesVolumeClaimTemplates { } /// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumeClaimTemplatesMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3863,7 +3864,7 @@ pub struct DruidNodesVolumeClaimTemplatesMetadata { } /// spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumeClaimTemplatesSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -3892,7 +3893,7 @@ pub struct DruidNodesVolumeClaimTemplatesSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumeClaimTemplatesSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -3904,7 +3905,7 @@ pub struct DruidNodesVolumeClaimTemplatesSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumeClaimTemplatesSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -3919,7 +3920,7 @@ pub struct DruidNodesVolumeClaimTemplatesSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumeClaimTemplatesSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -3935,14 +3936,14 @@ pub struct DruidNodesVolumeClaimTemplatesSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumeClaimTemplatesSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumeClaimTemplatesSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3953,7 +3954,7 @@ pub struct DruidNodesVolumeClaimTemplatesSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumeClaimTemplatesSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3965,7 +3966,7 @@ pub struct DruidNodesVolumeClaimTemplatesSpecSelectorMatchExpressions { } /// status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumeClaimTemplatesStatus { /// accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -3988,7 +3989,7 @@ pub struct DruidNodesVolumeClaimTemplatesStatus { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -4010,7 +4011,7 @@ pub struct DruidNodesVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -4108,7 +4109,7 @@ pub struct DruidNodesVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4125,7 +4126,7 @@ pub struct DruidNodesVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -4148,7 +4149,7 @@ pub struct DruidNodesVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -4162,7 +4163,7 @@ pub struct DruidNodesVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -4184,7 +4185,7 @@ pub struct DruidNodesVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4192,7 +4193,7 @@ pub struct DruidNodesVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4209,7 +4210,7 @@ pub struct DruidNodesVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4217,7 +4218,7 @@ pub struct DruidNodesVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -4234,7 +4235,7 @@ pub struct DruidNodesVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -4246,7 +4247,7 @@ pub struct DruidNodesVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -4265,7 +4266,7 @@ pub struct DruidNodesVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4273,7 +4274,7 @@ pub struct DruidNodesVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -4284,7 +4285,7 @@ pub struct DruidNodesVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -4300,7 +4301,7 @@ pub struct DruidNodesVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4311,7 +4312,7 @@ pub struct DruidNodesVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -4324,7 +4325,7 @@ pub struct DruidNodesVolumesDownwardApiItemsResourceFieldRef { } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4339,7 +4340,7 @@ pub struct DruidNodesVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -4353,7 +4354,7 @@ pub struct DruidNodesVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4363,7 +4364,7 @@ pub struct DruidNodesVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -4378,7 +4379,7 @@ pub struct DruidNodesVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -4407,7 +4408,7 @@ pub struct DruidNodesVolumesEphemeralVolumeClaimTemplateSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -4419,7 +4420,7 @@ pub struct DruidNodesVolumesEphemeralVolumeClaimTemplateSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -4434,7 +4435,7 @@ pub struct DruidNodesVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -4450,14 +4451,14 @@ pub struct DruidNodesVolumesEphemeralVolumeClaimTemplateSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4468,7 +4469,7 @@ pub struct DruidNodesVolumesEphemeralVolumeClaimTemplateSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4480,7 +4481,7 @@ pub struct DruidNodesVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpress } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4500,7 +4501,7 @@ pub struct DruidNodesVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -4519,7 +4520,7 @@ pub struct DruidNodesVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4527,7 +4528,7 @@ pub struct DruidNodesVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -4538,7 +4539,7 @@ pub struct DruidNodesVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4555,7 +4556,7 @@ pub struct DruidNodesVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4568,7 +4569,7 @@ pub struct DruidNodesVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -4580,7 +4581,7 @@ pub struct DruidNodesVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -4590,7 +4591,7 @@ pub struct DruidNodesVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -4626,7 +4627,7 @@ pub struct DruidNodesVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4634,7 +4635,7 @@ pub struct DruidNodesVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -4646,7 +4647,7 @@ pub struct DruidNodesVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -4657,7 +4658,7 @@ pub struct DruidNodesVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4668,7 +4669,7 @@ pub struct DruidNodesVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4682,7 +4683,7 @@ pub struct DruidNodesVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -4693,7 +4694,7 @@ pub struct DruidNodesVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4710,7 +4711,7 @@ pub struct DruidNodesVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4724,7 +4725,7 @@ pub struct DruidNodesVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -4736,7 +4737,7 @@ pub struct DruidNodesVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4744,7 +4745,7 @@ pub struct DruidNodesVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -4760,7 +4761,7 @@ pub struct DruidNodesVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4771,7 +4772,7 @@ pub struct DruidNodesVolumesProjectedSourcesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -4784,7 +4785,7 @@ pub struct DruidNodesVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4798,7 +4799,7 @@ pub struct DruidNodesVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -4810,7 +4811,7 @@ pub struct DruidNodesVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4823,7 +4824,7 @@ pub struct DruidNodesVolumesProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4844,7 +4845,7 @@ pub struct DruidNodesVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4871,7 +4872,7 @@ pub struct DruidNodesVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4879,7 +4880,7 @@ pub struct DruidNodesVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4912,7 +4913,7 @@ pub struct DruidNodesVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4920,7 +4921,7 @@ pub struct DruidNodesVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -4937,7 +4938,7 @@ pub struct DruidNodesVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesSecretItems { /// key is the key to project. pub key: String, @@ -4949,7 +4950,7 @@ pub struct DruidNodesVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4969,7 +4970,7 @@ pub struct DruidNodesVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4977,7 +4978,7 @@ pub struct DruidNodesVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidNodesVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4994,7 +4995,7 @@ pub struct DruidNodesVolumesVsphereVolume { } /// ReadinessProbe Port is set to `druid.port` if not specified with httpGet handler. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5029,7 +5030,7 @@ pub struct DruidReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5037,7 +5038,7 @@ pub struct DruidReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -5048,7 +5049,7 @@ pub struct DruidReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5067,7 +5068,7 @@ pub struct DruidReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -5076,7 +5077,7 @@ pub struct DruidReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5086,7 +5087,7 @@ pub struct DruidReadinessProbeTcpSocket { } /// PodSecurityContext -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -5123,7 +5124,7 @@ pub struct DruidSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5140,7 +5141,7 @@ pub struct DruidSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -5152,7 +5153,7 @@ pub struct DruidSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -5161,7 +5162,7 @@ pub struct DruidSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -5178,7 +5179,7 @@ pub struct DruidSecurityContextWindowsOptions { } /// Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidServices { /// 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 #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -5198,7 +5199,7 @@ pub struct DruidServices { } /// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidServicesMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -5213,7 +5214,7 @@ pub struct DruidServicesMetadata { } /// Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidServicesSpec { /// allocateLoadBalancerNodePorts defines if NodePorts will be automatically allocated for services with type LoadBalancer. Default is "true". It may be set to "false" if the cluster load-balancer does not rely on NodePorts. If the caller requests specific NodePorts (by specifying a value), those requests will be respected, regardless of this field. This field may only be set for services with type LoadBalancer and will be cleared if the type is changed to any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] @@ -5277,7 +5278,7 @@ pub struct DruidServicesSpec { } /// ServicePort contains information on service's port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidServicesSpecPorts { /// The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. #[serde(default, skip_serializing_if = "Option::is_none", rename = "appProtocol")] @@ -5299,7 +5300,7 @@ pub struct DruidServicesSpecPorts { } /// sessionAffinityConfig contains the configurations of session affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidServicesSpecSessionAffinityConfig { /// clientIP contains the configurations of Client IP based session affinity. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] @@ -5307,7 +5308,7 @@ pub struct DruidServicesSpecSessionAffinityConfig { } /// clientIP contains the configurations of Client IP based session affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidServicesSpecSessionAffinityConfigClientIp { /// timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". Default value is 10800(for 3 hours). #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] @@ -5315,7 +5316,7 @@ pub struct DruidServicesSpecSessionAffinityConfigClientIp { } /// Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidServicesStatus { /// Current service state #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5326,7 +5327,7 @@ pub struct DruidServicesStatus { } /// LoadBalancer contains the current status of the load-balancer, if one is present. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidServicesStatusLoadBalancer { /// Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5334,7 +5335,7 @@ pub struct DruidServicesStatusLoadBalancer { } /// LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidServicesStatusLoadBalancerIngress { /// Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5347,7 +5348,7 @@ pub struct DruidServicesStatusLoadBalancerIngress { pub ports: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidServicesStatusLoadBalancerIngressPorts { /// Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names - cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase. --- The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5359,7 +5360,7 @@ pub struct DruidServicesStatusLoadBalancerIngressPorts { } /// StartUpProbe -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidStartUpProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5394,7 +5395,7 @@ pub struct DruidStartUpProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidStartUpProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5402,7 +5403,7 @@ pub struct DruidStartUpProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidStartUpProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -5413,7 +5414,7 @@ pub struct DruidStartUpProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidStartUpProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5432,7 +5433,7 @@ pub struct DruidStartUpProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidStartUpProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -5441,7 +5442,7 @@ pub struct DruidStartUpProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidStartUpProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5451,7 +5452,7 @@ pub struct DruidStartUpProbeTcpSocket { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5471,7 +5472,7 @@ pub struct DruidTolerations { } /// UpdateStrategy -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidUpdateStrategy { /// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. #[serde(default, skip_serializing_if = "Option::is_none", rename = "rollingUpdate")] @@ -5482,7 +5483,7 @@ pub struct DruidUpdateStrategy { } /// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidUpdateStrategyRollingUpdate { /// The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0. Defaults to 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] @@ -5493,7 +5494,7 @@ pub struct DruidUpdateStrategyRollingUpdate { } /// PersistentVolumeClaim is a user's request for and claim to a persistent volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumeClaimTemplates { /// 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 #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -5513,7 +5514,7 @@ pub struct DruidVolumeClaimTemplates { } /// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumeClaimTemplatesMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -5528,7 +5529,7 @@ pub struct DruidVolumeClaimTemplatesMetadata { } /// spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumeClaimTemplatesSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -5557,7 +5558,7 @@ pub struct DruidVolumeClaimTemplatesSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumeClaimTemplatesSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -5569,7 +5570,7 @@ pub struct DruidVolumeClaimTemplatesSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumeClaimTemplatesSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -5584,7 +5585,7 @@ pub struct DruidVolumeClaimTemplatesSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumeClaimTemplatesSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -5600,14 +5601,14 @@ pub struct DruidVolumeClaimTemplatesSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumeClaimTemplatesSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumeClaimTemplatesSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5618,7 +5619,7 @@ pub struct DruidVolumeClaimTemplatesSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumeClaimTemplatesSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5630,7 +5631,7 @@ pub struct DruidVolumeClaimTemplatesSpecSelectorMatchExpressions { } /// status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumeClaimTemplatesStatus { /// accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -5653,7 +5654,7 @@ pub struct DruidVolumeClaimTemplatesStatus { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -5675,7 +5676,7 @@ pub struct DruidVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -5773,7 +5774,7 @@ pub struct DruidVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5790,7 +5791,7 @@ pub struct DruidVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -5813,7 +5814,7 @@ pub struct DruidVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -5827,7 +5828,7 @@ pub struct DruidVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -5849,7 +5850,7 @@ pub struct DruidVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5857,7 +5858,7 @@ pub struct DruidVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5874,7 +5875,7 @@ pub struct DruidVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5882,7 +5883,7 @@ pub struct DruidVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -5899,7 +5900,7 @@ pub struct DruidVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -5911,7 +5912,7 @@ pub struct DruidVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -5930,7 +5931,7 @@ pub struct DruidVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5938,7 +5939,7 @@ pub struct DruidVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -5949,7 +5950,7 @@ pub struct DruidVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -5965,7 +5966,7 @@ pub struct DruidVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -5976,7 +5977,7 @@ pub struct DruidVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -5989,7 +5990,7 @@ pub struct DruidVolumesDownwardApiItemsResourceFieldRef { } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6004,7 +6005,7 @@ pub struct DruidVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -6018,7 +6019,7 @@ pub struct DruidVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6028,7 +6029,7 @@ pub struct DruidVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -6043,7 +6044,7 @@ pub struct DruidVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -6072,7 +6073,7 @@ pub struct DruidVolumesEphemeralVolumeClaimTemplateSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -6084,7 +6085,7 @@ pub struct DruidVolumesEphemeralVolumeClaimTemplateSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -6099,7 +6100,7 @@ pub struct DruidVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -6115,14 +6116,14 @@ pub struct DruidVolumesEphemeralVolumeClaimTemplateSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6133,7 +6134,7 @@ pub struct DruidVolumesEphemeralVolumeClaimTemplateSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6145,7 +6146,7 @@ pub struct DruidVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6165,7 +6166,7 @@ pub struct DruidVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -6184,7 +6185,7 @@ pub struct DruidVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6192,7 +6193,7 @@ pub struct DruidVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -6203,7 +6204,7 @@ pub struct DruidVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6220,7 +6221,7 @@ pub struct DruidVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6233,7 +6234,7 @@ pub struct DruidVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -6245,7 +6246,7 @@ pub struct DruidVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -6255,7 +6256,7 @@ pub struct DruidVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -6291,7 +6292,7 @@ pub struct DruidVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6299,7 +6300,7 @@ pub struct DruidVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -6311,7 +6312,7 @@ pub struct DruidVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -6322,7 +6323,7 @@ pub struct DruidVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6333,7 +6334,7 @@ pub struct DruidVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6347,7 +6348,7 @@ pub struct DruidVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -6358,7 +6359,7 @@ pub struct DruidVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -6375,7 +6376,7 @@ pub struct DruidVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6389,7 +6390,7 @@ pub struct DruidVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -6401,7 +6402,7 @@ pub struct DruidVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6409,7 +6410,7 @@ pub struct DruidVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -6425,7 +6426,7 @@ pub struct DruidVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -6436,7 +6437,7 @@ pub struct DruidVolumesProjectedSourcesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -6449,7 +6450,7 @@ pub struct DruidVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6463,7 +6464,7 @@ pub struct DruidVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -6475,7 +6476,7 @@ pub struct DruidVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6488,7 +6489,7 @@ pub struct DruidVolumesProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6509,7 +6510,7 @@ pub struct DruidVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6536,7 +6537,7 @@ pub struct DruidVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6544,7 +6545,7 @@ pub struct DruidVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6577,7 +6578,7 @@ pub struct DruidVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6585,7 +6586,7 @@ pub struct DruidVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -6602,7 +6603,7 @@ pub struct DruidVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesSecretItems { /// key is the key to project. pub key: String, @@ -6614,7 +6615,7 @@ pub struct DruidVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6634,7 +6635,7 @@ pub struct DruidVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6642,7 +6643,7 @@ pub struct DruidVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6659,7 +6660,7 @@ pub struct DruidVolumesVsphereVolume { } /// Zookeeper IGNORED (Future API): In order to make Druid dependency setup extensible from within Druid operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidZookeeper { /// RawMessage is a raw encoded JSON value. It implements Marshaler and Unmarshaler and can be used to delay JSON decoding or precompute a JSON encoding. pub spec: String, @@ -6668,7 +6669,7 @@ pub struct DruidZookeeper { } /// DruidClusterStatus Defines the observed state of Druid. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMaps")] pub config_maps: Option>, @@ -6694,7 +6695,7 @@ pub struct DruidStatus { } /// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DruidStatusDruidNodeStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "druidNode")] pub druid_node: Option, diff --git a/kube-custom-resources-rs/src/dynamodb_services_k8s_aws/v1alpha1/backups.rs b/kube-custom-resources-rs/src/dynamodb_services_k8s_aws/v1alpha1/backups.rs index e23d722b4..93f242b77 100644 --- a/kube-custom-resources-rs/src/dynamodb_services_k8s_aws/v1alpha1/backups.rs +++ b/kube-custom-resources-rs/src/dynamodb_services_k8s_aws/v1alpha1/backups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/dynamodb-controller/dynamodb.services.k8s.aws/v1alpha1/backups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/dynamodb-controller/dynamodb.services.k8s.aws/v1alpha1/backups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/dynamodb_services_k8s_aws/v1alpha1/globaltables.rs b/kube-custom-resources-rs/src/dynamodb_services_k8s_aws/v1alpha1/globaltables.rs index b4aa13b8f..e8ab047b5 100644 --- a/kube-custom-resources-rs/src/dynamodb_services_k8s_aws/v1alpha1/globaltables.rs +++ b/kube-custom-resources-rs/src/dynamodb_services_k8s_aws/v1alpha1/globaltables.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/dynamodb-controller/dynamodb.services.k8s.aws/v1alpha1/globaltables.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/dynamodb-controller/dynamodb.services.k8s.aws/v1alpha1/globaltables.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/dynamodb_services_k8s_aws/v1alpha1/tables.rs b/kube-custom-resources-rs/src/dynamodb_services_k8s_aws/v1alpha1/tables.rs index a896fff67..2352310de 100644 --- a/kube-custom-resources-rs/src/dynamodb_services_k8s_aws/v1alpha1/tables.rs +++ b/kube-custom-resources-rs/src/dynamodb_services_k8s_aws/v1alpha1/tables.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/dynamodb-controller/dynamodb.services.k8s.aws/v1alpha1/tables.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/dynamodb-controller/dynamodb.services.k8s.aws/v1alpha1/tables.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/dhcpoptions.rs b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/dhcpoptions.rs index 7291194c7..bcc6e818d 100644 --- a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/dhcpoptions.rs +++ b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/dhcpoptions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/dhcpoptions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/dhcpoptions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/elasticipaddresses.rs b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/elasticipaddresses.rs index e92b5b18f..90c2e562e 100644 --- a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/elasticipaddresses.rs +++ b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/elasticipaddresses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/elasticipaddresses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/elasticipaddresses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/instances.rs b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/instances.rs index 2169a504c..87473df69 100644 --- a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/instances.rs +++ b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/instances.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/instances.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/instances.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/internetgateways.rs b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/internetgateways.rs index 5527a1969..6d0d7ea64 100644 --- a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/internetgateways.rs +++ b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/internetgateways.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/internetgateways.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/internetgateways.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/natgateways.rs b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/natgateways.rs index 47ae71708..75fcb29d3 100644 --- a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/natgateways.rs +++ b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/natgateways.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/natgateways.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/natgateways.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/routetables.rs b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/routetables.rs index 4f1b4a7cd..4b693cf31 100644 --- a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/routetables.rs +++ b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/routetables.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/routetables.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/routetables.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/securitygroups.rs b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/securitygroups.rs index b757483a6..66bc5c874 100644 --- a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/securitygroups.rs +++ b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/securitygroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/securitygroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/securitygroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/subnets.rs b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/subnets.rs index cc01dbbaf..06c25f293 100644 --- a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/subnets.rs +++ b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/subnets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/subnets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/subnets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/transitgateways.rs b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/transitgateways.rs index 3462fcb36..f2fc3f2f3 100644 --- a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/transitgateways.rs +++ b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/transitgateways.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/transitgateways.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/transitgateways.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/vpcendpoints.rs b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/vpcendpoints.rs index a275d87e1..40ff3edb7 100644 --- a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/vpcendpoints.rs +++ b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/vpcendpoints.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/vpcendpoints.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/vpcendpoints.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/vpcs.rs b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/vpcs.rs index 9c709230b..057ed2c40 100644 --- a/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/vpcs.rs +++ b/kube-custom-resources-rs/src/ec2_services_k8s_aws/v1alpha1/vpcs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/vpcs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ec2-controller/ec2.services.k8s.aws/v1alpha1/vpcs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ecr_services_k8s_aws/v1alpha1/pullthroughcacherules.rs b/kube-custom-resources-rs/src/ecr_services_k8s_aws/v1alpha1/pullthroughcacherules.rs index 85c6eb933..19dcc01e0 100644 --- a/kube-custom-resources-rs/src/ecr_services_k8s_aws/v1alpha1/pullthroughcacherules.rs +++ b/kube-custom-resources-rs/src/ecr_services_k8s_aws/v1alpha1/pullthroughcacherules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ecr-controller/ecr.services.k8s.aws/v1alpha1/pullthroughcacherules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ecr-controller/ecr.services.k8s.aws/v1alpha1/pullthroughcacherules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ecr_services_k8s_aws/v1alpha1/repositories.rs b/kube-custom-resources-rs/src/ecr_services_k8s_aws/v1alpha1/repositories.rs index 33e7cd983..15029d9c5 100644 --- a/kube-custom-resources-rs/src/ecr_services_k8s_aws/v1alpha1/repositories.rs +++ b/kube-custom-resources-rs/src/ecr_services_k8s_aws/v1alpha1/repositories.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ecr-controller/ecr.services.k8s.aws/v1alpha1/repositories.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/ecr-controller/ecr.services.k8s.aws/v1alpha1/repositories.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/efs_services_k8s_aws/v1alpha1/accesspoints.rs b/kube-custom-resources-rs/src/efs_services_k8s_aws/v1alpha1/accesspoints.rs index f5339ebbe..a0d4abf22 100644 --- a/kube-custom-resources-rs/src/efs_services_k8s_aws/v1alpha1/accesspoints.rs +++ b/kube-custom-resources-rs/src/efs_services_k8s_aws/v1alpha1/accesspoints.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/efs-controller/efs.services.k8s.aws/v1alpha1/accesspoints.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/efs-controller/efs.services.k8s.aws/v1alpha1/accesspoints.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/efs_services_k8s_aws/v1alpha1/filesystems.rs b/kube-custom-resources-rs/src/efs_services_k8s_aws/v1alpha1/filesystems.rs index 4b77c6315..b68a664cf 100644 --- a/kube-custom-resources-rs/src/efs_services_k8s_aws/v1alpha1/filesystems.rs +++ b/kube-custom-resources-rs/src/efs_services_k8s_aws/v1alpha1/filesystems.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/efs-controller/efs.services.k8s.aws/v1alpha1/filesystems.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/efs-controller/efs.services.k8s.aws/v1alpha1/filesystems.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/efs_services_k8s_aws/v1alpha1/mounttargets.rs b/kube-custom-resources-rs/src/efs_services_k8s_aws/v1alpha1/mounttargets.rs index d9916d5cc..895eb9e10 100644 --- a/kube-custom-resources-rs/src/efs_services_k8s_aws/v1alpha1/mounttargets.rs +++ b/kube-custom-resources-rs/src/efs_services_k8s_aws/v1alpha1/mounttargets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/efs-controller/efs.services.k8s.aws/v1alpha1/mounttargets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/efs-controller/efs.services.k8s.aws/v1alpha1/mounttargets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/addons.rs b/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/addons.rs index 1d08e2356..c3cf9cb1a 100644 --- a/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/addons.rs +++ b/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/addons.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/eks-controller/eks.services.k8s.aws/v1alpha1/addons.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/eks-controller/eks.services.k8s.aws/v1alpha1/addons.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/clusters.rs b/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/clusters.rs index 349cb0bed..9c9894e10 100644 --- a/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/clusters.rs +++ b/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/clusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/eks-controller/eks.services.k8s.aws/v1alpha1/clusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/eks-controller/eks.services.k8s.aws/v1alpha1/clusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/fargateprofiles.rs b/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/fargateprofiles.rs index c1fd74328..683d1d692 100644 --- a/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/fargateprofiles.rs +++ b/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/fargateprofiles.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/eks-controller/eks.services.k8s.aws/v1alpha1/fargateprofiles.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/eks-controller/eks.services.k8s.aws/v1alpha1/fargateprofiles.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/nodegroups.rs b/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/nodegroups.rs index e71b98590..0addc0f87 100644 --- a/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/nodegroups.rs +++ b/kube-custom-resources-rs/src/eks_services_k8s_aws/v1alpha1/nodegroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/eks-controller/eks.services.k8s.aws/v1alpha1/nodegroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/eks-controller/eks.services.k8s.aws/v1alpha1/nodegroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/cacheparametergroups.rs b/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/cacheparametergroups.rs index 28310f1e4..6890e5aae 100644 --- a/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/cacheparametergroups.rs +++ b/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/cacheparametergroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/elasticache-controller/elasticache.services.k8s.aws/v1alpha1/cacheparametergroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/elasticache-controller/elasticache.services.k8s.aws/v1alpha1/cacheparametergroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/cachesubnetgroups.rs b/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/cachesubnetgroups.rs index 05a9dc49f..410b32c54 100644 --- a/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/cachesubnetgroups.rs +++ b/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/cachesubnetgroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/elasticache-controller/elasticache.services.k8s.aws/v1alpha1/cachesubnetgroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/elasticache-controller/elasticache.services.k8s.aws/v1alpha1/cachesubnetgroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/replicationgroups.rs b/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/replicationgroups.rs index 07d006a77..1b92771cb 100644 --- a/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/replicationgroups.rs +++ b/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/replicationgroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/elasticache-controller/elasticache.services.k8s.aws/v1alpha1/replicationgroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/elasticache-controller/elasticache.services.k8s.aws/v1alpha1/replicationgroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/snapshots.rs b/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/snapshots.rs index 31016f7f7..11bc369aa 100644 --- a/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/snapshots.rs +++ b/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/snapshots.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/elasticache-controller/elasticache.services.k8s.aws/v1alpha1/snapshots.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/elasticache-controller/elasticache.services.k8s.aws/v1alpha1/snapshots.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/usergroups.rs b/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/usergroups.rs index 4f4e26196..570295b05 100644 --- a/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/usergroups.rs +++ b/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/usergroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/elasticache-controller/elasticache.services.k8s.aws/v1alpha1/usergroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/elasticache-controller/elasticache.services.k8s.aws/v1alpha1/usergroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/users.rs b/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/users.rs index f545584f5..f32059ebf 100644 --- a/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/users.rs +++ b/kube-custom-resources-rs/src/elasticache_services_k8s_aws/v1alpha1/users.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/elasticache-controller/elasticache.services.k8s.aws/v1alpha1/users.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/elasticache-controller/elasticache.services.k8s.aws/v1alpha1/users.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/elasticsearch_k8s_elastic_co/v1/elasticsearches.rs b/kube-custom-resources-rs/src/elasticsearch_k8s_elastic_co/v1/elasticsearches.rs index 3d0ac3d43..942d29a81 100644 --- a/kube-custom-resources-rs/src/elasticsearch_k8s_elastic_co/v1/elasticsearches.rs +++ b/kube-custom-resources-rs/src/elasticsearch_k8s_elastic_co/v1/elasticsearches.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/elasticsearch.k8s.elastic.co/v1/elasticsearches.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/elasticsearch.k8s.elastic.co/v1/elasticsearches.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/elasticsearch_k8s_elastic_co/v1beta1/elasticsearches.rs b/kube-custom-resources-rs/src/elasticsearch_k8s_elastic_co/v1beta1/elasticsearches.rs index 07ddfa708..0eee8809d 100644 --- a/kube-custom-resources-rs/src/elasticsearch_k8s_elastic_co/v1beta1/elasticsearches.rs +++ b/kube-custom-resources-rs/src/elasticsearch_k8s_elastic_co/v1beta1/elasticsearches.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/elasticsearch.k8s.elastic.co/v1beta1/elasticsearches.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/elasticsearch.k8s.elastic.co/v1beta1/elasticsearches.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/elbv2_k8s_aws/v1alpha1/targetgroupbindings.rs b/kube-custom-resources-rs/src/elbv2_k8s_aws/v1alpha1/targetgroupbindings.rs index 82c3c1d6f..a9d7a6761 100644 --- a/kube-custom-resources-rs/src/elbv2_k8s_aws/v1alpha1/targetgroupbindings.rs +++ b/kube-custom-resources-rs/src/elbv2_k8s_aws/v1alpha1/targetgroupbindings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/aws-load-balancer-controller/elbv2.k8s.aws/v1alpha1/targetgroupbindings.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/aws-load-balancer-controller/elbv2.k8s.aws/v1alpha1/targetgroupbindings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/elbv2_k8s_aws/v1beta1/ingressclassparams.rs b/kube-custom-resources-rs/src/elbv2_k8s_aws/v1beta1/ingressclassparams.rs index 49c10d1df..183336185 100644 --- a/kube-custom-resources-rs/src/elbv2_k8s_aws/v1beta1/ingressclassparams.rs +++ b/kube-custom-resources-rs/src/elbv2_k8s_aws/v1beta1/ingressclassparams.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/aws-load-balancer-controller/elbv2.k8s.aws/v1beta1/ingressclassparams.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/aws-load-balancer-controller/elbv2.k8s.aws/v1beta1/ingressclassparams.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/elbv2_k8s_aws/v1beta1/targetgroupbindings.rs b/kube-custom-resources-rs/src/elbv2_k8s_aws/v1beta1/targetgroupbindings.rs index a6d65b86d..49c0a2d13 100644 --- a/kube-custom-resources-rs/src/elbv2_k8s_aws/v1beta1/targetgroupbindings.rs +++ b/kube-custom-resources-rs/src/elbv2_k8s_aws/v1beta1/targetgroupbindings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/aws-load-balancer-controller/elbv2.k8s.aws/v1beta1/targetgroupbindings.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/aws-load-balancer-controller/elbv2.k8s.aws/v1beta1/targetgroupbindings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/emrcontainers_services_k8s_aws/v1alpha1/jobruns.rs b/kube-custom-resources-rs/src/emrcontainers_services_k8s_aws/v1alpha1/jobruns.rs index 488cc4937..b8b4353a7 100644 --- a/kube-custom-resources-rs/src/emrcontainers_services_k8s_aws/v1alpha1/jobruns.rs +++ b/kube-custom-resources-rs/src/emrcontainers_services_k8s_aws/v1alpha1/jobruns.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/emrcontainers-controller/emrcontainers.services.k8s.aws/v1alpha1/jobruns.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/emrcontainers-controller/emrcontainers.services.k8s.aws/v1alpha1/jobruns.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/emrcontainers_services_k8s_aws/v1alpha1/virtualclusters.rs b/kube-custom-resources-rs/src/emrcontainers_services_k8s_aws/v1alpha1/virtualclusters.rs index 213b40dab..3ccc8b827 100644 --- a/kube-custom-resources-rs/src/emrcontainers_services_k8s_aws/v1alpha1/virtualclusters.rs +++ b/kube-custom-resources-rs/src/emrcontainers_services_k8s_aws/v1alpha1/virtualclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/emrcontainers-controller/emrcontainers.services.k8s.aws/v1alpha1/virtualclusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/emrcontainers-controller/emrcontainers.services.k8s.aws/v1alpha1/virtualclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ensembleoss_io/v1/clusters.rs b/kube-custom-resources-rs/src/ensembleoss_io/v1/clusters.rs index 962c0d33b..966ba219d 100644 --- a/kube-custom-resources-rs/src/ensembleoss_io/v1/clusters.rs +++ b/kube-custom-resources-rs/src/ensembleoss_io/v1/clusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/teseraio/ensemble/ensembleoss.io/v1/clusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/teseraio/ensemble/ensembleoss.io/v1/clusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ensembleoss_io/v1/resources.rs b/kube-custom-resources-rs/src/ensembleoss_io/v1/resources.rs index da688b5df..d30d65c90 100644 --- a/kube-custom-resources-rs/src/ensembleoss_io/v1/resources.rs +++ b/kube-custom-resources-rs/src/ensembleoss_io/v1/resources.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/teseraio/ensemble/ensembleoss.io/v1/resources.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/teseraio/ensemble/ensembleoss.io/v1/resources.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/enterprisesearch_k8s_elastic_co/v1/enterprisesearches.rs b/kube-custom-resources-rs/src/enterprisesearch_k8s_elastic_co/v1/enterprisesearches.rs index f1e94529f..c72814eac 100644 --- a/kube-custom-resources-rs/src/enterprisesearch_k8s_elastic_co/v1/enterprisesearches.rs +++ b/kube-custom-resources-rs/src/enterprisesearch_k8s_elastic_co/v1/enterprisesearches.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/enterprisesearch.k8s.elastic.co/v1/enterprisesearches.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/enterprisesearch.k8s.elastic.co/v1/enterprisesearches.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/enterprisesearch_k8s_elastic_co/v1beta1/enterprisesearches.rs b/kube-custom-resources-rs/src/enterprisesearch_k8s_elastic_co/v1beta1/enterprisesearches.rs index c7cb3f547..8a877f6a1 100644 --- a/kube-custom-resources-rs/src/enterprisesearch_k8s_elastic_co/v1beta1/enterprisesearches.rs +++ b/kube-custom-resources-rs/src/enterprisesearch_k8s_elastic_co/v1beta1/enterprisesearches.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/enterprisesearch.k8s.elastic.co/v1beta1/enterprisesearches.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/enterprisesearch.k8s.elastic.co/v1beta1/enterprisesearches.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/backupstorages.rs b/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/backupstorages.rs index db17c54a7..e44a0341b 100644 --- a/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/backupstorages.rs +++ b/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/backupstorages.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/backupstorages.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/backupstorages.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -58,7 +58,7 @@ pub enum BackupStorageType { } /// BackupStorageStatus defines the observed state of BackupStorage. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageStatus { #[serde(rename = "usedNamespaces")] pub used_namespaces: BTreeMap, diff --git a/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/databaseclusterbackups.rs b/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/databaseclusterbackups.rs index d7ec421fd..87a7e7b3e 100644 --- a/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/databaseclusterbackups.rs +++ b/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/databaseclusterbackups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/databaseclusterbackups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/databaseclusterbackups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/databaseclusterrestores.rs b/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/databaseclusterrestores.rs index 4679bf0a7..bb6aa13f3 100644 --- a/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/databaseclusterrestores.rs +++ b/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/databaseclusterrestores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/databaseclusterrestores.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/databaseclusterrestores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/databaseclusters.rs b/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/databaseclusters.rs index 0565c1b1e..a3a3a8ae3 100644 --- a/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/databaseclusters.rs +++ b/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/databaseclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/databaseclusters.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/databaseclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -45,7 +45,7 @@ pub struct DatabaseClusterSpec { } /// Backup is the backup specification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatabaseClusterBackup { /// Enabled is a flag to enable backups pub enabled: bool, @@ -58,7 +58,7 @@ pub struct DatabaseClusterBackup { } /// PITR is the configuration of the point in time recovery -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatabaseClusterBackupPitr { /// BackupStorageName is the name of the BackupStorage where the PITR is enabled #[serde(default, skip_serializing_if = "Option::is_none", rename = "backupStorageName")] @@ -71,7 +71,7 @@ pub struct DatabaseClusterBackupPitr { } /// BackupSchedule is the backup schedule configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatabaseClusterBackupSchedules { /// BackupStorageName is the name of the BackupStorage CR that defines the /// storage location @@ -89,7 +89,7 @@ pub struct DatabaseClusterBackupSchedules { } /// DataSource defines a data source for bootstraping a new cluster -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatabaseClusterDataSource { /// BackupSource is the backup source to restore from #[serde(default, skip_serializing_if = "Option::is_none", rename = "backupSource")] @@ -103,7 +103,7 @@ pub struct DatabaseClusterDataSource { } /// BackupSource is the backup source to restore from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatabaseClusterDataSourceBackupSource { /// BackupStorageName is the name of the BackupStorage used for backups. #[serde(rename = "backupStorageName")] @@ -113,7 +113,7 @@ pub struct DatabaseClusterDataSourceBackupSource { } /// PITR is the point-in-time recovery configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatabaseClusterDataSourcePitr { /// Date is the UTC date to recover to. The accepted format: "2006-01-02T15:04:05Z". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -168,7 +168,7 @@ pub struct DatabaseClusterEngine { /// Resources are the resource limits for each engine replica. /// If not set, resource limits are not imposed -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatabaseClusterEngineResources { /// CPU is the CPU resource requirements #[serde(default, skip_serializing_if = "Option::is_none")] @@ -179,7 +179,7 @@ pub struct DatabaseClusterEngineResources { } /// Storage is the engine storage configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatabaseClusterEngineStorage { /// Class is the storage class to use for the persistent volume claim #[serde(default, skip_serializing_if = "Option::is_none")] @@ -200,7 +200,7 @@ pub enum DatabaseClusterEngineType { } /// Monitoring is the monitoring configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatabaseClusterMonitoring { /// MonitoringConfigName is the name of a monitoringConfig CR. #[serde(default, skip_serializing_if = "Option::is_none", rename = "monitoringConfigName")] @@ -211,7 +211,7 @@ pub struct DatabaseClusterMonitoring { } /// Resources defines resource limitations for the monitoring. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatabaseClusterMonitoringResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -237,7 +237,7 @@ pub struct DatabaseClusterMonitoringResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatabaseClusterMonitoringResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -249,7 +249,7 @@ pub struct DatabaseClusterMonitoringResourcesClaims { /// proxy specification will be applied for the given engine. A /// common use case for setting this field is to control the /// external access to the database cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatabaseClusterProxy { /// Config is the proxy configuration #[serde(default, skip_serializing_if = "Option::is_none")] @@ -270,7 +270,7 @@ pub struct DatabaseClusterProxy { } /// Expose is the proxy expose configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatabaseClusterProxyExpose { /// IPSourceRanges is the list of IP source ranges (CIDR notation) /// to allow access from. If not set, there is no limitations @@ -292,7 +292,7 @@ pub enum DatabaseClusterProxyExposeType { /// Resources are the resource limits for each proxy replica. /// If not set, resource limits are not imposed -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatabaseClusterProxyResources { /// CPU is the CPU resource requirements #[serde(default, skip_serializing_if = "Option::is_none")] @@ -319,7 +319,7 @@ pub enum DatabaseClusterProxyType { } /// DatabaseClusterStatus defines the observed state of DatabaseCluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatabaseClusterStatus { /// ActiveStorage is the storage used in cluster (psmdb only) #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeStorage")] diff --git a/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/monitoringconfigs.rs b/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/monitoringconfigs.rs index ec2a35822..32cab3dbd 100644 --- a/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/monitoringconfigs.rs +++ b/kube-custom-resources-rs/src/everest_percona_com/v1alpha1/monitoringconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/monitoringconfigs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/percona/everest-operator/everest.percona.com/v1alpha1/monitoringconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -35,7 +35,7 @@ pub struct MonitoringConfigSpec { } /// PMM is configuration for the PMM monitoring type. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MonitoringConfigPmm { /// Image is a Docker image name to use for deploying PMM client. Defaults to using the latest version. pub image: String, @@ -51,7 +51,7 @@ pub enum MonitoringConfigType { } /// MonitoringConfigStatus defines the observed state of MonitoringConfig. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MonitoringConfigStatus { } diff --git a/kube-custom-resources-rs/src/execution_furiko_io/v1alpha1/jobconfigs.rs b/kube-custom-resources-rs/src/execution_furiko_io/v1alpha1/jobconfigs.rs index 766406dbe..fc2c837b0 100644 --- a/kube-custom-resources-rs/src/execution_furiko_io/v1alpha1/jobconfigs.rs +++ b/kube-custom-resources-rs/src/execution_furiko_io/v1alpha1/jobconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/furiko-io/furiko/execution.furiko.io/v1alpha1/jobconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/furiko-io/furiko/execution.furiko.io/v1alpha1/jobconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/execution_furiko_io/v1alpha1/jobs.rs b/kube-custom-resources-rs/src/execution_furiko_io/v1alpha1/jobs.rs index 61dd3a8c3..e63b1b47e 100644 --- a/kube-custom-resources-rs/src/execution_furiko_io/v1alpha1/jobs.rs +++ b/kube-custom-resources-rs/src/execution_furiko_io/v1alpha1/jobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/furiko-io/furiko/execution.furiko.io/v1alpha1/jobs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/furiko-io/furiko/execution.furiko.io/v1alpha1/jobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/executor_testkube_io/v1/executors.rs b/kube-custom-resources-rs/src/executor_testkube_io/v1/executors.rs index efcfa2019..9fc64e1fc 100644 --- a/kube-custom-resources-rs/src/executor_testkube_io/v1/executors.rs +++ b/kube-custom-resources-rs/src/executor_testkube_io/v1/executors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/executor.testkube.io/v1/executors.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/executor.testkube.io/v1/executors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/executor_testkube_io/v1/webhooks.rs b/kube-custom-resources-rs/src/executor_testkube_io/v1/webhooks.rs index 3f8b436e3..d507a247e 100644 --- a/kube-custom-resources-rs/src/executor_testkube_io/v1/webhooks.rs +++ b/kube-custom-resources-rs/src/executor_testkube_io/v1/webhooks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/executor.testkube.io/v1/webhooks.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/executor.testkube.io/v1/webhooks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/expansion_gatekeeper_sh/v1alpha1/expansiontemplate.rs b/kube-custom-resources-rs/src/expansion_gatekeeper_sh/v1alpha1/expansiontemplate.rs index ddceaf400..57729d325 100644 --- a/kube-custom-resources-rs/src/expansion_gatekeeper_sh/v1alpha1/expansiontemplate.rs +++ b/kube-custom-resources-rs/src/expansion_gatekeeper_sh/v1alpha1/expansiontemplate.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/expansion.gatekeeper.sh/v1alpha1/expansiontemplate.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/expansion.gatekeeper.sh/v1alpha1/expansiontemplate.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/expansion_gatekeeper_sh/v1beta1/expansiontemplate.rs b/kube-custom-resources-rs/src/expansion_gatekeeper_sh/v1beta1/expansiontemplate.rs index 0212f3421..c005d8766 100644 --- a/kube-custom-resources-rs/src/expansion_gatekeeper_sh/v1beta1/expansiontemplate.rs +++ b/kube-custom-resources-rs/src/expansion_gatekeeper_sh/v1beta1/expansiontemplate.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/expansion.gatekeeper.sh/v1beta1/expansiontemplate.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/expansion.gatekeeper.sh/v1beta1/expansiontemplate.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/extensions_istio_io/v1alpha1/wasmplugins.rs b/kube-custom-resources-rs/src/extensions_istio_io/v1alpha1/wasmplugins.rs index d7e69edce..baeef6c9d 100644 --- a/kube-custom-resources-rs/src/extensions_istio_io/v1alpha1/wasmplugins.rs +++ b/kube-custom-resources-rs/src/extensions_istio_io/v1alpha1/wasmplugins.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/extensions.istio.io/v1alpha1/wasmplugins.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/extensions.istio.io/v1alpha1/wasmplugins.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/extensions_kubeblocks_io/v1alpha1/addons.rs b/kube-custom-resources-rs/src/extensions_kubeblocks_io/v1alpha1/addons.rs index f36c27a18..93963f627 100644 --- a/kube-custom-resources-rs/src/extensions_kubeblocks_io/v1alpha1/addons.rs +++ b/kube-custom-resources-rs/src/extensions_kubeblocks_io/v1alpha1/addons.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/extensions.kubeblocks.io/v1alpha1/addons.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/extensions.kubeblocks.io/v1alpha1/addons.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -48,7 +48,7 @@ pub struct AddonSpec { pub version: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonCliPlugins { /// Provides a brief description of the plugin. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -60,7 +60,7 @@ pub struct AddonCliPlugins { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonDefaultInstallValues { /// Can be set to true if there are no specific installation attributes to be set. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -88,7 +88,7 @@ pub struct AddonDefaultInstallValues { pub tolerations: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonDefaultInstallValuesExtras { /// Specifies the name of the item. pub name: String, @@ -110,7 +110,7 @@ pub struct AddonDefaultInstallValuesExtras { } /// Specifies the resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonDefaultInstallValuesExtrasResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -121,7 +121,7 @@ pub struct AddonDefaultInstallValuesExtrasResources { } /// Specifies the resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonDefaultInstallValuesResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -161,7 +161,7 @@ pub enum AddonDefaultInstallValuesSelectorsOperator { } /// Represents the Helm installation specifications. This is only processed when the type is set to 'helm'. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonHelm { /// Specifies the URL location of the Helm Chart. #[serde(rename = "chartLocationURL")] @@ -184,7 +184,7 @@ pub struct AddonHelm { } /// Defines the set values for Helm release installation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonHelmInstallValues { /// Selects a key from a ConfigMap item list. The value can be a JSON or YAML string content. Use a key name with ".json", ".yaml", or ".yml" extension to specify a content type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRefs")] @@ -203,7 +203,7 @@ pub struct AddonHelmInstallValues { pub urls: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonHelmInstallValuesConfigMapRefs { /// Specifies the key to be selected. pub key: String, @@ -211,7 +211,7 @@ pub struct AddonHelmInstallValuesConfigMapRefs { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonHelmInstallValuesSecretRefs { /// Specifies the key to be selected. pub key: String, @@ -220,7 +220,7 @@ pub struct AddonHelmInstallValuesSecretRefs { } /// Defines the mapping of add-on normalized resources parameters to Helm values' keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonHelmValuesMapping { /// Helm value mapping items for extra items. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -238,7 +238,7 @@ pub struct AddonHelmValuesMapping { pub value_map: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonHelmValuesMappingExtras { /// Defines the "key" mapping values. The valid key is tolerations. Enum values explained: /// - `tolerations` sets the toleration mapping key. @@ -257,7 +257,7 @@ pub struct AddonHelmValuesMappingExtras { /// Defines the "key" mapping values. The valid key is tolerations. Enum values explained: /// - `tolerations` sets the toleration mapping key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonHelmValuesMappingExtrasJsonMap { /// Specifies the toleration mapping key. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -265,7 +265,7 @@ pub struct AddonHelmValuesMappingExtrasJsonMap { } /// Sets resources related mapping keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonHelmValuesMappingExtrasResources { /// Specifies the key used for mapping both CPU requests and limits. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -279,7 +279,7 @@ pub struct AddonHelmValuesMappingExtrasResources { } /// Specifies the key used for mapping both CPU requests and limits. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonHelmValuesMappingExtrasResourcesCpu { /// Specifies the mapping key for the limit value. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -290,7 +290,7 @@ pub struct AddonHelmValuesMappingExtrasResourcesCpu { } /// Specifies the key used for mapping both Memory requests and limits. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonHelmValuesMappingExtrasResourcesMemory { /// Specifies the mapping key for the limit value. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -302,7 +302,7 @@ pub struct AddonHelmValuesMappingExtrasResourcesMemory { /// Defines the "key" mapping values. Valid keys include `replicaCount`, `persistentVolumeEnabled`, and `storageClass`. Enum values explained: /// - `replicaCount` sets the replicaCount value mapping key. - `persistentVolumeEnabled` sets the persistent volume enabled mapping key. - `storageClass` sets the storageClass mapping key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonHelmValuesMappingExtrasValueMap { /// Indicates whether the persistent volume is enabled in the Helm values map. #[serde(default, skip_serializing_if = "Option::is_none", rename = "persistentVolumeEnabled")] @@ -317,7 +317,7 @@ pub struct AddonHelmValuesMappingExtrasValueMap { /// Defines the "key" mapping values. The valid key is tolerations. Enum values explained: /// - `tolerations` sets the toleration mapping key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonHelmValuesMappingJsonMap { /// Specifies the toleration mapping key. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -325,7 +325,7 @@ pub struct AddonHelmValuesMappingJsonMap { } /// Sets resources related mapping keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonHelmValuesMappingResources { /// Specifies the key used for mapping both CPU requests and limits. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -339,7 +339,7 @@ pub struct AddonHelmValuesMappingResources { } /// Specifies the key used for mapping both CPU requests and limits. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonHelmValuesMappingResourcesCpu { /// Specifies the mapping key for the limit value. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -350,7 +350,7 @@ pub struct AddonHelmValuesMappingResourcesCpu { } /// Specifies the key used for mapping both Memory requests and limits. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonHelmValuesMappingResourcesMemory { /// Specifies the mapping key for the limit value. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -362,7 +362,7 @@ pub struct AddonHelmValuesMappingResourcesMemory { /// Defines the "key" mapping values. Valid keys include `replicaCount`, `persistentVolumeEnabled`, and `storageClass`. Enum values explained: /// - `replicaCount` sets the replicaCount value mapping key. - `persistentVolumeEnabled` sets the persistent volume enabled mapping key. - `storageClass` sets the storageClass mapping key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonHelmValuesMappingValueMap { /// Indicates whether the persistent volume is enabled in the Helm values map. #[serde(default, skip_serializing_if = "Option::is_none", rename = "persistentVolumeEnabled")] @@ -376,7 +376,7 @@ pub struct AddonHelmValuesMappingValueMap { } /// Defines the installation parameters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonInstall { /// Can be set to true if there are no specific installation attributes to be set. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -401,7 +401,7 @@ pub struct AddonInstall { pub tolerations: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonInstallExtras { /// Specifies the name of the item. pub name: String, @@ -423,7 +423,7 @@ pub struct AddonInstallExtras { } /// Specifies the resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonInstallExtrasResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -434,7 +434,7 @@ pub struct AddonInstallExtrasResources { } /// Specifies the resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonInstallResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -445,7 +445,7 @@ pub struct AddonInstallResources { } /// Represents the installable specifications of the add-on. This includes the selector and auto-install settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonInstallable { /// Indicates whether an add-on should be installed automatically. #[serde(rename = "autoInstall")] @@ -491,7 +491,7 @@ pub enum AddonType { } /// AddonStatus defines the observed state of an add-on. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AddonStatus { /// Provides a detailed description of the current state of add-on API installation. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/external_secrets_io/v1alpha1/clustersecretstores.rs b/kube-custom-resources-rs/src/external_secrets_io/v1alpha1/clustersecretstores.rs index c781d1384..616740eed 100644 --- a/kube-custom-resources-rs/src/external_secrets_io/v1alpha1/clustersecretstores.rs +++ b/kube-custom-resources-rs/src/external_secrets_io/v1alpha1/clustersecretstores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/external-secrets/external-secrets/external-secrets.io/v1alpha1/clustersecretstores.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/external-secrets/external-secrets/external-secrets.io/v1alpha1/clustersecretstores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// SecretStoreSpec defines the desired state of SecretStore. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "external-secrets.io", version = "v1alpha1", kind = "ClusterSecretStore", plural = "clustersecretstores")] #[kube(status = "ClusterSecretStoreStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterSecretStoreSpec { /// Used to select the correct ESO controller (think: ingress.ingressClassName) @@ -30,7 +31,7 @@ pub struct ClusterSecretStoreSpec { } /// Used to configure the provider. Only one provider may be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProvider { /// Akeyless configures this store to sync secrets using Akeyless Vault provider #[serde(default, skip_serializing_if = "Option::is_none")] @@ -77,7 +78,7 @@ pub struct ClusterSecretStoreProvider { } /// Akeyless configures this store to sync secrets using Akeyless Vault provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAkeyless { /// Akeyless GW API Url from which the secrets to be fetched from. #[serde(rename = "akeylessGWApiURL")] @@ -96,7 +97,7 @@ pub struct ClusterSecretStoreProviderAkeyless { } /// Auth configures how the operator authenticates with Akeyless. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAkeylessAuthSecretRef { /// Kubernetes authenticates with Akeyless by passing the ServiceAccount /// token stored in the named Secret resource. @@ -110,7 +111,7 @@ pub struct ClusterSecretStoreProviderAkeylessAuthSecretRef { /// Kubernetes authenticates with Akeyless by passing the ServiceAccount /// token stored in the named Secret resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefKubernetesAuth { /// the Akeyless Kubernetes auth-method access-id #[serde(rename = "accessID")] @@ -136,7 +137,7 @@ pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefKubernetesAuth { /// for authenticating with Akeyless. If a name is specified without a key, /// `token` is the default. If one is not specified, the one bound to /// the controller will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefKubernetesAuthSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -155,7 +156,7 @@ pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefKubernetesAuthSecretRe /// If the service account is specified, the service account secret token JWT will be used /// for authenticating with Akeyless. If the service account selector is not supplied, /// the secretRef will be used instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefKubernetesAuthServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -172,7 +173,7 @@ pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefKubernetesAuthServiceA /// Reference to a Secret that contains the details /// to authenticate with Akeyless. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefSecretRef { /// The SecretAccessID is used for authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessID")] @@ -188,7 +189,7 @@ pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefSecretRef { } /// The SecretAccessID is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefSecretRefAccessId { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -205,7 +206,7 @@ pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefSecretRefAccessId { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefSecretRefAccessType { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -222,7 +223,7 @@ pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefSecretRefAccessType { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefSecretRefAccessTypeParam { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -261,7 +262,7 @@ pub enum ClusterSecretStoreProviderAkeylessCaProviderType { } /// Alibaba configures this store to sync secrets using Alibaba Cloud provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAlibaba { /// AlibabaAuth contains a secretRef for credentials. pub auth: ClusterSecretStoreProviderAlibabaAuth, @@ -271,7 +272,7 @@ pub struct ClusterSecretStoreProviderAlibaba { } /// AlibabaAuth contains a secretRef for credentials. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAlibabaAuth { /// Authenticate against Alibaba using RRSA. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -282,7 +283,7 @@ pub struct ClusterSecretStoreProviderAlibabaAuth { } /// Authenticate against Alibaba using RRSA. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAlibabaAuthRrsa { #[serde(rename = "oidcProviderArn")] pub oidc_provider_arn: String, @@ -295,7 +296,7 @@ pub struct ClusterSecretStoreProviderAlibabaAuthRrsa { } /// AlibabaAuthSecretRef holds secret references for Alibaba credentials. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAlibabaAuthSecretRef { /// The AccessKeyID is used for authentication #[serde(rename = "accessKeyIDSecretRef")] @@ -306,7 +307,7 @@ pub struct ClusterSecretStoreProviderAlibabaAuthSecretRef { } /// The AccessKeyID is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAlibabaAuthSecretRefAccessKeyIdSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -322,7 +323,7 @@ pub struct ClusterSecretStoreProviderAlibabaAuthSecretRefAccessKeyIdSecretRef { } /// The AccessKeySecret is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAlibabaAuthSecretRefAccessKeySecretSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -357,7 +358,7 @@ pub struct ClusterSecretStoreProviderAws { /// Auth defines the information necessary to authenticate against AWS /// if not set aws sdk will infer credentials from your environment /// see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAwsAuth { /// Authenticate against AWS using service account tokens. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -369,7 +370,7 @@ pub struct ClusterSecretStoreProviderAwsAuth { } /// Authenticate against AWS using service account tokens. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAwsAuthJwt { /// A reference to a ServiceAccount resource. #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceAccountRef")] @@ -377,7 +378,7 @@ pub struct ClusterSecretStoreProviderAwsAuthJwt { } /// A reference to a ServiceAccount resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAwsAuthJwtServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -394,7 +395,7 @@ pub struct ClusterSecretStoreProviderAwsAuthJwtServiceAccountRef { /// AWSAuthSecretRef holds secret references for AWS credentials /// both AccessKeyID and SecretAccessKey must be defined in order to properly authenticate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAwsAuthSecretRef { /// The AccessKeyID is used for authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessKeyIDSecretRef")] @@ -405,7 +406,7 @@ pub struct ClusterSecretStoreProviderAwsAuthSecretRef { } /// The AccessKeyID is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAwsAuthSecretRefAccessKeyIdSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -421,7 +422,7 @@ pub struct ClusterSecretStoreProviderAwsAuthSecretRefAccessKeyIdSecretRef { } /// The SecretAccessKey is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAwsAuthSecretRefSecretAccessKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -444,7 +445,7 @@ pub enum ClusterSecretStoreProviderAwsService { } /// AzureKV configures this store to sync secrets using Azure Key Vault provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAzurekv { /// Auth configures how the operator authenticates with Azure. Required for ServicePrincipal auth type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "authSecretRef")] @@ -471,7 +472,7 @@ pub struct ClusterSecretStoreProviderAzurekv { } /// Auth configures how the operator authenticates with Azure. Required for ServicePrincipal auth type. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAzurekvAuthSecretRef { /// The Azure clientId of the service principle used for authentication. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientId")] @@ -482,7 +483,7 @@ pub struct ClusterSecretStoreProviderAzurekvAuthSecretRef { } /// The Azure clientId of the service principle used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAzurekvAuthSecretRefClientId { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -498,7 +499,7 @@ pub struct ClusterSecretStoreProviderAzurekvAuthSecretRefClientId { } /// The Azure ClientSecret of the service principle used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAzurekvAuthSecretRefClientSecret { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -523,7 +524,7 @@ pub enum ClusterSecretStoreProviderAzurekvAuthType { /// ServiceAccountRef specified the service account /// that should be used when authenticating with WorkloadIdentity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAzurekvServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -539,12 +540,12 @@ pub struct ClusterSecretStoreProviderAzurekvServiceAccountRef { } /// Fake configures a store with static key/value pairs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderFake { pub data: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderFakeData { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -556,7 +557,7 @@ pub struct ClusterSecretStoreProviderFakeData { } /// GCPSM configures this store to sync secrets using Google Cloud Platform Secret Manager provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderGcpsm { /// Auth defines the information necessary to authenticate against GCP #[serde(default, skip_serializing_if = "Option::is_none")] @@ -567,7 +568,7 @@ pub struct ClusterSecretStoreProviderGcpsm { } /// Auth defines the information necessary to authenticate against GCP -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderGcpsmAuth { #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretRef")] pub secret_ref: Option, @@ -575,7 +576,7 @@ pub struct ClusterSecretStoreProviderGcpsmAuth { pub workload_identity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderGcpsmAuthSecretRef { /// The SecretAccessKey is used for authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretAccessKeySecretRef")] @@ -583,7 +584,7 @@ pub struct ClusterSecretStoreProviderGcpsmAuthSecretRef { } /// The SecretAccessKey is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderGcpsmAuthSecretRefSecretAccessKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -598,7 +599,7 @@ pub struct ClusterSecretStoreProviderGcpsmAuthSecretRefSecretAccessKeySecretRef pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderGcpsmAuthWorkloadIdentity { #[serde(rename = "clusterLocation")] pub cluster_location: String, @@ -612,7 +613,7 @@ pub struct ClusterSecretStoreProviderGcpsmAuthWorkloadIdentity { } /// A reference to a ServiceAccount resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderGcpsmAuthWorkloadIdentityServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -628,7 +629,7 @@ pub struct ClusterSecretStoreProviderGcpsmAuthWorkloadIdentityServiceAccountRef } /// GitLab configures this store to sync secrets using GitLab Variables provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderGitlab { /// Auth configures how secret-manager authenticates with a GitLab instance. pub auth: ClusterSecretStoreProviderGitlabAuth, @@ -641,13 +642,13 @@ pub struct ClusterSecretStoreProviderGitlab { } /// Auth configures how secret-manager authenticates with a GitLab instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderGitlabAuth { #[serde(rename = "SecretRef")] pub secret_ref: ClusterSecretStoreProviderGitlabAuthSecretRef, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderGitlabAuthSecretRef { /// AccessToken is used for authentication. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessToken")] @@ -655,7 +656,7 @@ pub struct ClusterSecretStoreProviderGitlabAuthSecretRef { } /// AccessToken is used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderGitlabAuthSecretRefAccessToken { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -671,7 +672,7 @@ pub struct ClusterSecretStoreProviderGitlabAuthSecretRefAccessToken { } /// IBM configures this store to sync secrets using IBM Cloud provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderIbm { /// Auth configures how secret-manager authenticates with the IBM secrets manager. pub auth: ClusterSecretStoreProviderIbmAuth, @@ -681,13 +682,13 @@ pub struct ClusterSecretStoreProviderIbm { } /// Auth configures how secret-manager authenticates with the IBM secrets manager. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderIbmAuth { #[serde(rename = "secretRef")] pub secret_ref: ClusterSecretStoreProviderIbmAuthSecretRef, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderIbmAuthSecretRef { /// The SecretAccessKey is used for authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretApiKeySecretRef")] @@ -695,7 +696,7 @@ pub struct ClusterSecretStoreProviderIbmAuthSecretRef { } /// The SecretAccessKey is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderIbmAuthSecretRefSecretApiKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -711,7 +712,7 @@ pub struct ClusterSecretStoreProviderIbmAuthSecretRefSecretApiKeySecretRef { } /// Kubernetes configures this store to sync secrets using a Kubernetes cluster provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderKubernetes { /// Auth configures how secret-manager authenticates with a Kubernetes instance. pub auth: ClusterSecretStoreProviderKubernetesAuth, @@ -724,7 +725,7 @@ pub struct ClusterSecretStoreProviderKubernetes { } /// Auth configures how secret-manager authenticates with a Kubernetes instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderKubernetesAuth { /// has both clientCert and clientKey as secretKeySelector #[serde(default, skip_serializing_if = "Option::is_none")] @@ -738,7 +739,7 @@ pub struct ClusterSecretStoreProviderKubernetesAuth { } /// has both clientCert and clientKey as secretKeySelector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderKubernetesAuthCert { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. @@ -752,7 +753,7 @@ pub struct ClusterSecretStoreProviderKubernetesAuthCert { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderKubernetesAuthCertClientCert { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -769,7 +770,7 @@ pub struct ClusterSecretStoreProviderKubernetesAuthCertClientCert { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderKubernetesAuthCertClientKey { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -785,7 +786,7 @@ pub struct ClusterSecretStoreProviderKubernetesAuthCertClientKey { } /// points to a service account that should be used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderKubernetesAuthServiceAccount { /// A reference to a ServiceAccount resource. #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceAccount")] @@ -793,7 +794,7 @@ pub struct ClusterSecretStoreProviderKubernetesAuthServiceAccount { } /// A reference to a ServiceAccount resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderKubernetesAuthServiceAccountServiceAccount { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -809,7 +810,7 @@ pub struct ClusterSecretStoreProviderKubernetesAuthServiceAccountServiceAccount } /// use static token to authenticate with -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderKubernetesAuthToken { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. @@ -819,7 +820,7 @@ pub struct ClusterSecretStoreProviderKubernetesAuthToken { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderKubernetesAuthTokenBearerToken { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -835,7 +836,7 @@ pub struct ClusterSecretStoreProviderKubernetesAuthTokenBearerToken { } /// configures the Kubernetes server Address. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderKubernetesServer { /// CABundle is a base64-encoded CA certificate #[serde(default, skip_serializing_if = "Option::is_none", rename = "caBundle")] @@ -872,7 +873,7 @@ pub enum ClusterSecretStoreProviderKubernetesServerCaProviderType { } /// Oracle configures this store to sync secrets using Oracle Vault provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderOracle { /// Auth configures how secret-manager authenticates with the Oracle Vault. /// If empty, instance principal is used. Optionally, the authenticating principal type @@ -905,7 +906,7 @@ pub struct ClusterSecretStoreProviderOracle { /// Auth configures how secret-manager authenticates with the Oracle Vault. /// If empty, instance principal is used. Optionally, the authenticating principal type /// and/or user data may be supplied for the use of workload identity and user principal. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderOracleAuth { /// SecretRef to pass through sensitive information. #[serde(rename = "secretRef")] @@ -917,7 +918,7 @@ pub struct ClusterSecretStoreProviderOracleAuth { } /// SecretRef to pass through sensitive information. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderOracleAuthSecretRef { /// Fingerprint is the fingerprint of the API private key. pub fingerprint: ClusterSecretStoreProviderOracleAuthSecretRefFingerprint, @@ -926,7 +927,7 @@ pub struct ClusterSecretStoreProviderOracleAuthSecretRef { } /// Fingerprint is the fingerprint of the API private key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderOracleAuthSecretRefFingerprint { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -942,7 +943,7 @@ pub struct ClusterSecretStoreProviderOracleAuthSecretRefFingerprint { } /// PrivateKey is the user's API Signing Key in PEM format, used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderOracleAuthSecretRefPrivatekey { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -969,7 +970,7 @@ pub enum ClusterSecretStoreProviderOraclePrincipalType { /// ServiceAccountRef specified the service account /// that should be used when authenticating with WorkloadIdentity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderOracleServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -985,7 +986,7 @@ pub struct ClusterSecretStoreProviderOracleServiceAccountRef { } /// Configures a store to sync secrets with a Password Depot instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderPassworddepot { /// Auth configures how secret-manager authenticates with a Password Depot instance. pub auth: ClusterSecretStoreProviderPassworddepotAuth, @@ -996,13 +997,13 @@ pub struct ClusterSecretStoreProviderPassworddepot { } /// Auth configures how secret-manager authenticates with a Password Depot instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderPassworddepotAuth { #[serde(rename = "secretRef")] pub secret_ref: ClusterSecretStoreProviderPassworddepotAuthSecretRef, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderPassworddepotAuthSecretRef { /// Username / Password is used for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1010,7 +1011,7 @@ pub struct ClusterSecretStoreProviderPassworddepotAuthSecretRef { } /// Username / Password is used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderPassworddepotAuthSecretRefCredentials { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1026,7 +1027,7 @@ pub struct ClusterSecretStoreProviderPassworddepotAuthSecretRefCredentials { } /// Vault configures this store to sync secrets using Hashi provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVault { /// Auth configures how secret-manager authenticates with the Vault server. pub auth: ClusterSecretStoreProviderVaultAuth, @@ -1071,7 +1072,7 @@ pub struct ClusterSecretStoreProviderVault { } /// Auth configures how secret-manager authenticates with the Vault server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuth { /// AppRole authenticates with Vault using the App Role auth mechanism, /// with the role and secret stored in a Kubernetes Secret resource. @@ -1100,7 +1101,7 @@ pub struct ClusterSecretStoreProviderVaultAuth { /// AppRole authenticates with Vault using the App Role auth mechanism, /// with the role and secret stored in a Kubernetes Secret resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthAppRole { /// Path where the App Role authentication backend is mounted /// in Vault, e.g: "approle" @@ -1121,7 +1122,7 @@ pub struct ClusterSecretStoreProviderVaultAuthAppRole { /// to authenticate with Vault. /// The `key` field must be specified and denotes which entry within the Secret /// resource is used as the app role secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthAppRoleSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1138,7 +1139,7 @@ pub struct ClusterSecretStoreProviderVaultAuthAppRoleSecretRef { /// Cert authenticates with TLS Certificates by passing client certificate, private key and ca certificate /// Cert authentication method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthCert { /// ClientCert is a certificate to authenticate using the Cert Vault /// authentication method @@ -1152,7 +1153,7 @@ pub struct ClusterSecretStoreProviderVaultAuthCert { /// ClientCert is a certificate to authenticate using the Cert Vault /// authentication method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthCertClientCert { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1169,7 +1170,7 @@ pub struct ClusterSecretStoreProviderVaultAuthCertClientCert { /// SecretRef to a key in a Secret resource containing client private key to /// authenticate with Vault using the Cert authentication method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthCertSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1186,7 +1187,7 @@ pub struct ClusterSecretStoreProviderVaultAuthCertSecretRef { /// Jwt authenticates with Vault by passing role and JWT token using the /// JWT/OIDC authentication method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthJwt { /// Optional ServiceAccountToken specifies the Kubernetes service account for which to request /// a token for with the `TokenRequest` API. @@ -1207,7 +1208,7 @@ pub struct ClusterSecretStoreProviderVaultAuthJwt { /// Optional ServiceAccountToken specifies the Kubernetes service account for which to request /// a token for with the `TokenRequest` API. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthJwtKubernetesServiceAccountToken { /// Optional audiences field that will be used to request a temporary Kubernetes service /// account token for the service account referenced by `serviceAccountRef`. @@ -1226,7 +1227,7 @@ pub struct ClusterSecretStoreProviderVaultAuthJwtKubernetesServiceAccountToken { } /// Service account field containing the name of a kubernetes ServiceAccount. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthJwtKubernetesServiceAccountTokenServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -1243,7 +1244,7 @@ pub struct ClusterSecretStoreProviderVaultAuthJwtKubernetesServiceAccountTokenSe /// Optional SecretRef that refers to a key in a Secret resource containing JWT token to /// authenticate with Vault using the JWT/OIDC authentication method. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthJwtSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1260,7 +1261,7 @@ pub struct ClusterSecretStoreProviderVaultAuthJwtSecretRef { /// Kubernetes authenticates with Vault by passing the ServiceAccount /// token stored in the named Secret resource to the Vault server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthKubernetes { /// Path where the Kubernetes authentication backend is mounted in Vault, e.g: /// "kubernetes" @@ -1287,7 +1288,7 @@ pub struct ClusterSecretStoreProviderVaultAuthKubernetes { /// for authenticating with Vault. If a name is specified without a key, /// `token` is the default. If one is not specified, the one bound to /// the controller will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthKubernetesSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1306,7 +1307,7 @@ pub struct ClusterSecretStoreProviderVaultAuthKubernetesSecretRef { /// If the service account is specified, the service account secret token JWT will be used /// for authenticating with Vault. If the service account selector is not supplied, /// the secretRef will be used instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthKubernetesServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -1323,7 +1324,7 @@ pub struct ClusterSecretStoreProviderVaultAuthKubernetesServiceAccountRef { /// Ldap authenticates with Vault by passing username/password pair using /// the LDAP authentication method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthLdap { /// Path where the LDAP authentication backend is mounted /// in Vault, e.g: "ldap" @@ -1341,7 +1342,7 @@ pub struct ClusterSecretStoreProviderVaultAuthLdap { /// SecretRef to a key in a Secret resource containing password for the LDAP /// user used to authenticate with Vault using the LDAP authentication /// method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthLdapSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1357,7 +1358,7 @@ pub struct ClusterSecretStoreProviderVaultAuthLdapSecretRef { } /// TokenSecretRef authenticates with Vault by presenting a token. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1405,7 +1406,7 @@ pub enum ClusterSecretStoreProviderVaultVersion { } /// Webhook configures this store to sync secrets using a generic templated webhook -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderWebhook { /// Body #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1462,14 +1463,14 @@ pub enum ClusterSecretStoreProviderWebhookCaProviderType { } /// Result formatting -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderWebhookResult { /// Json path of return value #[serde(default, skip_serializing_if = "Option::is_none", rename = "jsonPath")] pub json_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderWebhookSecrets { /// Name of this secret in templates pub name: String, @@ -1479,7 +1480,7 @@ pub struct ClusterSecretStoreProviderWebhookSecrets { } /// Secret ref to fill in credentials -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderWebhookSecretsSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1495,7 +1496,7 @@ pub struct ClusterSecretStoreProviderWebhookSecretsSecretRef { } /// YandexLockbox configures this store to sync secrets using Yandex Lockbox provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderYandexlockbox { /// Yandex.Cloud API endpoint (e.g. 'api.cloud.yandex.net:443') #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiEndpoint")] @@ -1508,7 +1509,7 @@ pub struct ClusterSecretStoreProviderYandexlockbox { } /// Auth defines the information necessary to authenticate against Yandex Lockbox -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderYandexlockboxAuth { /// The authorized key used for authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "authorizedKeySecretRef")] @@ -1516,7 +1517,7 @@ pub struct ClusterSecretStoreProviderYandexlockboxAuth { } /// The authorized key used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderYandexlockboxAuthAuthorizedKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1532,7 +1533,7 @@ pub struct ClusterSecretStoreProviderYandexlockboxAuthAuthorizedKeySecretRef { } /// The provider for the CA bundle to use to validate Yandex.Cloud server certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderYandexlockboxCaProvider { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. @@ -1542,7 +1543,7 @@ pub struct ClusterSecretStoreProviderYandexlockboxCaProvider { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderYandexlockboxCaProviderCertSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1558,7 +1559,7 @@ pub struct ClusterSecretStoreProviderYandexlockboxCaProviderCertSecretRef { } /// Used to configure http retries if failed -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreRetrySettings { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxRetries")] pub max_retries: Option, @@ -1567,7 +1568,7 @@ pub struct ClusterSecretStoreRetrySettings { } /// SecretStoreStatus defines the observed state of the SecretStore. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, diff --git a/kube-custom-resources-rs/src/external_secrets_io/v1alpha1/externalsecrets.rs b/kube-custom-resources-rs/src/external_secrets_io/v1alpha1/externalsecrets.rs index 7ec1f2b6f..88e6dd23e 100644 --- a/kube-custom-resources-rs/src/external_secrets_io/v1alpha1/externalsecrets.rs +++ b/kube-custom-resources-rs/src/external_secrets_io/v1alpha1/externalsecrets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/external-secrets/external-secrets/external-secrets.io/v1alpha1/externalsecrets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/external-secrets/external-secrets/external-secrets.io/v1alpha1/externalsecrets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/external_secrets_io/v1alpha1/secretstores.rs b/kube-custom-resources-rs/src/external_secrets_io/v1alpha1/secretstores.rs index 8e2cce61b..100f41b30 100644 --- a/kube-custom-resources-rs/src/external_secrets_io/v1alpha1/secretstores.rs +++ b/kube-custom-resources-rs/src/external_secrets_io/v1alpha1/secretstores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/external-secrets/external-secrets/external-secrets.io/v1alpha1/secretstores.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/external-secrets/external-secrets/external-secrets.io/v1alpha1/secretstores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// SecretStoreSpec defines the desired state of SecretStore. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "external-secrets.io", version = "v1alpha1", kind = "SecretStore", plural = "secretstores")] #[kube(namespaced)] #[kube(status = "SecretStoreStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct SecretStoreSpec { /// Used to select the correct ESO controller (think: ingress.ingressClassName) @@ -31,7 +32,7 @@ pub struct SecretStoreSpec { } /// Used to configure the provider. Only one provider may be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProvider { /// Akeyless configures this store to sync secrets using Akeyless Vault provider #[serde(default, skip_serializing_if = "Option::is_none")] @@ -78,7 +79,7 @@ pub struct SecretStoreProvider { } /// Akeyless configures this store to sync secrets using Akeyless Vault provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAkeyless { /// Akeyless GW API Url from which the secrets to be fetched from. #[serde(rename = "akeylessGWApiURL")] @@ -97,7 +98,7 @@ pub struct SecretStoreProviderAkeyless { } /// Auth configures how the operator authenticates with Akeyless. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAkeylessAuthSecretRef { /// Kubernetes authenticates with Akeyless by passing the ServiceAccount /// token stored in the named Secret resource. @@ -111,7 +112,7 @@ pub struct SecretStoreProviderAkeylessAuthSecretRef { /// Kubernetes authenticates with Akeyless by passing the ServiceAccount /// token stored in the named Secret resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAkeylessAuthSecretRefKubernetesAuth { /// the Akeyless Kubernetes auth-method access-id #[serde(rename = "accessID")] @@ -137,7 +138,7 @@ pub struct SecretStoreProviderAkeylessAuthSecretRefKubernetesAuth { /// for authenticating with Akeyless. If a name is specified without a key, /// `token` is the default. If one is not specified, the one bound to /// the controller will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAkeylessAuthSecretRefKubernetesAuthSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -156,7 +157,7 @@ pub struct SecretStoreProviderAkeylessAuthSecretRefKubernetesAuthSecretRef { /// If the service account is specified, the service account secret token JWT will be used /// for authenticating with Akeyless. If the service account selector is not supplied, /// the secretRef will be used instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAkeylessAuthSecretRefKubernetesAuthServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -173,7 +174,7 @@ pub struct SecretStoreProviderAkeylessAuthSecretRefKubernetesAuthServiceAccountR /// Reference to a Secret that contains the details /// to authenticate with Akeyless. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAkeylessAuthSecretRefSecretRef { /// The SecretAccessID is used for authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessID")] @@ -189,7 +190,7 @@ pub struct SecretStoreProviderAkeylessAuthSecretRefSecretRef { } /// The SecretAccessID is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAkeylessAuthSecretRefSecretRefAccessId { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -206,7 +207,7 @@ pub struct SecretStoreProviderAkeylessAuthSecretRefSecretRefAccessId { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAkeylessAuthSecretRefSecretRefAccessType { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -223,7 +224,7 @@ pub struct SecretStoreProviderAkeylessAuthSecretRefSecretRefAccessType { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAkeylessAuthSecretRefSecretRefAccessTypeParam { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -262,7 +263,7 @@ pub enum SecretStoreProviderAkeylessCaProviderType { } /// Alibaba configures this store to sync secrets using Alibaba Cloud provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAlibaba { /// AlibabaAuth contains a secretRef for credentials. pub auth: SecretStoreProviderAlibabaAuth, @@ -272,7 +273,7 @@ pub struct SecretStoreProviderAlibaba { } /// AlibabaAuth contains a secretRef for credentials. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAlibabaAuth { /// Authenticate against Alibaba using RRSA. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -283,7 +284,7 @@ pub struct SecretStoreProviderAlibabaAuth { } /// Authenticate against Alibaba using RRSA. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAlibabaAuthRrsa { #[serde(rename = "oidcProviderArn")] pub oidc_provider_arn: String, @@ -296,7 +297,7 @@ pub struct SecretStoreProviderAlibabaAuthRrsa { } /// AlibabaAuthSecretRef holds secret references for Alibaba credentials. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAlibabaAuthSecretRef { /// The AccessKeyID is used for authentication #[serde(rename = "accessKeyIDSecretRef")] @@ -307,7 +308,7 @@ pub struct SecretStoreProviderAlibabaAuthSecretRef { } /// The AccessKeyID is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAlibabaAuthSecretRefAccessKeyIdSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -323,7 +324,7 @@ pub struct SecretStoreProviderAlibabaAuthSecretRefAccessKeyIdSecretRef { } /// The AccessKeySecret is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAlibabaAuthSecretRefAccessKeySecretSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -358,7 +359,7 @@ pub struct SecretStoreProviderAws { /// Auth defines the information necessary to authenticate against AWS /// if not set aws sdk will infer credentials from your environment /// see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAwsAuth { /// Authenticate against AWS using service account tokens. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -370,7 +371,7 @@ pub struct SecretStoreProviderAwsAuth { } /// Authenticate against AWS using service account tokens. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAwsAuthJwt { /// A reference to a ServiceAccount resource. #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceAccountRef")] @@ -378,7 +379,7 @@ pub struct SecretStoreProviderAwsAuthJwt { } /// A reference to a ServiceAccount resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAwsAuthJwtServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -395,7 +396,7 @@ pub struct SecretStoreProviderAwsAuthJwtServiceAccountRef { /// AWSAuthSecretRef holds secret references for AWS credentials /// both AccessKeyID and SecretAccessKey must be defined in order to properly authenticate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAwsAuthSecretRef { /// The AccessKeyID is used for authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessKeyIDSecretRef")] @@ -406,7 +407,7 @@ pub struct SecretStoreProviderAwsAuthSecretRef { } /// The AccessKeyID is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAwsAuthSecretRefAccessKeyIdSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -422,7 +423,7 @@ pub struct SecretStoreProviderAwsAuthSecretRefAccessKeyIdSecretRef { } /// The SecretAccessKey is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAwsAuthSecretRefSecretAccessKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -445,7 +446,7 @@ pub enum SecretStoreProviderAwsService { } /// AzureKV configures this store to sync secrets using Azure Key Vault provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAzurekv { /// Auth configures how the operator authenticates with Azure. Required for ServicePrincipal auth type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "authSecretRef")] @@ -472,7 +473,7 @@ pub struct SecretStoreProviderAzurekv { } /// Auth configures how the operator authenticates with Azure. Required for ServicePrincipal auth type. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAzurekvAuthSecretRef { /// The Azure clientId of the service principle used for authentication. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientId")] @@ -483,7 +484,7 @@ pub struct SecretStoreProviderAzurekvAuthSecretRef { } /// The Azure clientId of the service principle used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAzurekvAuthSecretRefClientId { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -499,7 +500,7 @@ pub struct SecretStoreProviderAzurekvAuthSecretRefClientId { } /// The Azure ClientSecret of the service principle used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAzurekvAuthSecretRefClientSecret { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -524,7 +525,7 @@ pub enum SecretStoreProviderAzurekvAuthType { /// ServiceAccountRef specified the service account /// that should be used when authenticating with WorkloadIdentity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAzurekvServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -540,12 +541,12 @@ pub struct SecretStoreProviderAzurekvServiceAccountRef { } /// Fake configures a store with static key/value pairs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderFake { pub data: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderFakeData { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -557,7 +558,7 @@ pub struct SecretStoreProviderFakeData { } /// GCPSM configures this store to sync secrets using Google Cloud Platform Secret Manager provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderGcpsm { /// Auth defines the information necessary to authenticate against GCP #[serde(default, skip_serializing_if = "Option::is_none")] @@ -568,7 +569,7 @@ pub struct SecretStoreProviderGcpsm { } /// Auth defines the information necessary to authenticate against GCP -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderGcpsmAuth { #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretRef")] pub secret_ref: Option, @@ -576,7 +577,7 @@ pub struct SecretStoreProviderGcpsmAuth { pub workload_identity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderGcpsmAuthSecretRef { /// The SecretAccessKey is used for authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretAccessKeySecretRef")] @@ -584,7 +585,7 @@ pub struct SecretStoreProviderGcpsmAuthSecretRef { } /// The SecretAccessKey is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderGcpsmAuthSecretRefSecretAccessKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -599,7 +600,7 @@ pub struct SecretStoreProviderGcpsmAuthSecretRefSecretAccessKeySecretRef { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderGcpsmAuthWorkloadIdentity { #[serde(rename = "clusterLocation")] pub cluster_location: String, @@ -613,7 +614,7 @@ pub struct SecretStoreProviderGcpsmAuthWorkloadIdentity { } /// A reference to a ServiceAccount resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderGcpsmAuthWorkloadIdentityServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -629,7 +630,7 @@ pub struct SecretStoreProviderGcpsmAuthWorkloadIdentityServiceAccountRef { } /// GitLab configures this store to sync secrets using GitLab Variables provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderGitlab { /// Auth configures how secret-manager authenticates with a GitLab instance. pub auth: SecretStoreProviderGitlabAuth, @@ -642,13 +643,13 @@ pub struct SecretStoreProviderGitlab { } /// Auth configures how secret-manager authenticates with a GitLab instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderGitlabAuth { #[serde(rename = "SecretRef")] pub secret_ref: SecretStoreProviderGitlabAuthSecretRef, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderGitlabAuthSecretRef { /// AccessToken is used for authentication. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessToken")] @@ -656,7 +657,7 @@ pub struct SecretStoreProviderGitlabAuthSecretRef { } /// AccessToken is used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderGitlabAuthSecretRefAccessToken { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -672,7 +673,7 @@ pub struct SecretStoreProviderGitlabAuthSecretRefAccessToken { } /// IBM configures this store to sync secrets using IBM Cloud provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderIbm { /// Auth configures how secret-manager authenticates with the IBM secrets manager. pub auth: SecretStoreProviderIbmAuth, @@ -682,13 +683,13 @@ pub struct SecretStoreProviderIbm { } /// Auth configures how secret-manager authenticates with the IBM secrets manager. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderIbmAuth { #[serde(rename = "secretRef")] pub secret_ref: SecretStoreProviderIbmAuthSecretRef, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderIbmAuthSecretRef { /// The SecretAccessKey is used for authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretApiKeySecretRef")] @@ -696,7 +697,7 @@ pub struct SecretStoreProviderIbmAuthSecretRef { } /// The SecretAccessKey is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderIbmAuthSecretRefSecretApiKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -712,7 +713,7 @@ pub struct SecretStoreProviderIbmAuthSecretRefSecretApiKeySecretRef { } /// Kubernetes configures this store to sync secrets using a Kubernetes cluster provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderKubernetes { /// Auth configures how secret-manager authenticates with a Kubernetes instance. pub auth: SecretStoreProviderKubernetesAuth, @@ -725,7 +726,7 @@ pub struct SecretStoreProviderKubernetes { } /// Auth configures how secret-manager authenticates with a Kubernetes instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderKubernetesAuth { /// has both clientCert and clientKey as secretKeySelector #[serde(default, skip_serializing_if = "Option::is_none")] @@ -739,7 +740,7 @@ pub struct SecretStoreProviderKubernetesAuth { } /// has both clientCert and clientKey as secretKeySelector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderKubernetesAuthCert { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. @@ -753,7 +754,7 @@ pub struct SecretStoreProviderKubernetesAuthCert { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderKubernetesAuthCertClientCert { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -770,7 +771,7 @@ pub struct SecretStoreProviderKubernetesAuthCertClientCert { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderKubernetesAuthCertClientKey { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -786,7 +787,7 @@ pub struct SecretStoreProviderKubernetesAuthCertClientKey { } /// points to a service account that should be used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderKubernetesAuthServiceAccount { /// A reference to a ServiceAccount resource. #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceAccount")] @@ -794,7 +795,7 @@ pub struct SecretStoreProviderKubernetesAuthServiceAccount { } /// A reference to a ServiceAccount resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderKubernetesAuthServiceAccountServiceAccount { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -810,7 +811,7 @@ pub struct SecretStoreProviderKubernetesAuthServiceAccountServiceAccount { } /// use static token to authenticate with -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderKubernetesAuthToken { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. @@ -820,7 +821,7 @@ pub struct SecretStoreProviderKubernetesAuthToken { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderKubernetesAuthTokenBearerToken { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -836,7 +837,7 @@ pub struct SecretStoreProviderKubernetesAuthTokenBearerToken { } /// configures the Kubernetes server Address. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderKubernetesServer { /// CABundle is a base64-encoded CA certificate #[serde(default, skip_serializing_if = "Option::is_none", rename = "caBundle")] @@ -873,7 +874,7 @@ pub enum SecretStoreProviderKubernetesServerCaProviderType { } /// Oracle configures this store to sync secrets using Oracle Vault provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderOracle { /// Auth configures how secret-manager authenticates with the Oracle Vault. /// If empty, instance principal is used. Optionally, the authenticating principal type @@ -906,7 +907,7 @@ pub struct SecretStoreProviderOracle { /// Auth configures how secret-manager authenticates with the Oracle Vault. /// If empty, instance principal is used. Optionally, the authenticating principal type /// and/or user data may be supplied for the use of workload identity and user principal. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderOracleAuth { /// SecretRef to pass through sensitive information. #[serde(rename = "secretRef")] @@ -918,7 +919,7 @@ pub struct SecretStoreProviderOracleAuth { } /// SecretRef to pass through sensitive information. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderOracleAuthSecretRef { /// Fingerprint is the fingerprint of the API private key. pub fingerprint: SecretStoreProviderOracleAuthSecretRefFingerprint, @@ -927,7 +928,7 @@ pub struct SecretStoreProviderOracleAuthSecretRef { } /// Fingerprint is the fingerprint of the API private key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderOracleAuthSecretRefFingerprint { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -943,7 +944,7 @@ pub struct SecretStoreProviderOracleAuthSecretRefFingerprint { } /// PrivateKey is the user's API Signing Key in PEM format, used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderOracleAuthSecretRefPrivatekey { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -970,7 +971,7 @@ pub enum SecretStoreProviderOraclePrincipalType { /// ServiceAccountRef specified the service account /// that should be used when authenticating with WorkloadIdentity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderOracleServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -986,7 +987,7 @@ pub struct SecretStoreProviderOracleServiceAccountRef { } /// Configures a store to sync secrets with a Password Depot instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderPassworddepot { /// Auth configures how secret-manager authenticates with a Password Depot instance. pub auth: SecretStoreProviderPassworddepotAuth, @@ -997,13 +998,13 @@ pub struct SecretStoreProviderPassworddepot { } /// Auth configures how secret-manager authenticates with a Password Depot instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderPassworddepotAuth { #[serde(rename = "secretRef")] pub secret_ref: SecretStoreProviderPassworddepotAuthSecretRef, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderPassworddepotAuthSecretRef { /// Username / Password is used for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1011,7 +1012,7 @@ pub struct SecretStoreProviderPassworddepotAuthSecretRef { } /// Username / Password is used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderPassworddepotAuthSecretRefCredentials { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1027,7 +1028,7 @@ pub struct SecretStoreProviderPassworddepotAuthSecretRefCredentials { } /// Vault configures this store to sync secrets using Hashi provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVault { /// Auth configures how secret-manager authenticates with the Vault server. pub auth: SecretStoreProviderVaultAuth, @@ -1072,7 +1073,7 @@ pub struct SecretStoreProviderVault { } /// Auth configures how secret-manager authenticates with the Vault server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuth { /// AppRole authenticates with Vault using the App Role auth mechanism, /// with the role and secret stored in a Kubernetes Secret resource. @@ -1101,7 +1102,7 @@ pub struct SecretStoreProviderVaultAuth { /// AppRole authenticates with Vault using the App Role auth mechanism, /// with the role and secret stored in a Kubernetes Secret resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthAppRole { /// Path where the App Role authentication backend is mounted /// in Vault, e.g: "approle" @@ -1122,7 +1123,7 @@ pub struct SecretStoreProviderVaultAuthAppRole { /// to authenticate with Vault. /// The `key` field must be specified and denotes which entry within the Secret /// resource is used as the app role secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthAppRoleSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1139,7 +1140,7 @@ pub struct SecretStoreProviderVaultAuthAppRoleSecretRef { /// Cert authenticates with TLS Certificates by passing client certificate, private key and ca certificate /// Cert authentication method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthCert { /// ClientCert is a certificate to authenticate using the Cert Vault /// authentication method @@ -1153,7 +1154,7 @@ pub struct SecretStoreProviderVaultAuthCert { /// ClientCert is a certificate to authenticate using the Cert Vault /// authentication method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthCertClientCert { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1170,7 +1171,7 @@ pub struct SecretStoreProviderVaultAuthCertClientCert { /// SecretRef to a key in a Secret resource containing client private key to /// authenticate with Vault using the Cert authentication method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthCertSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1187,7 +1188,7 @@ pub struct SecretStoreProviderVaultAuthCertSecretRef { /// Jwt authenticates with Vault by passing role and JWT token using the /// JWT/OIDC authentication method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthJwt { /// Optional ServiceAccountToken specifies the Kubernetes service account for which to request /// a token for with the `TokenRequest` API. @@ -1208,7 +1209,7 @@ pub struct SecretStoreProviderVaultAuthJwt { /// Optional ServiceAccountToken specifies the Kubernetes service account for which to request /// a token for with the `TokenRequest` API. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthJwtKubernetesServiceAccountToken { /// Optional audiences field that will be used to request a temporary Kubernetes service /// account token for the service account referenced by `serviceAccountRef`. @@ -1227,7 +1228,7 @@ pub struct SecretStoreProviderVaultAuthJwtKubernetesServiceAccountToken { } /// Service account field containing the name of a kubernetes ServiceAccount. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthJwtKubernetesServiceAccountTokenServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -1244,7 +1245,7 @@ pub struct SecretStoreProviderVaultAuthJwtKubernetesServiceAccountTokenServiceAc /// Optional SecretRef that refers to a key in a Secret resource containing JWT token to /// authenticate with Vault using the JWT/OIDC authentication method. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthJwtSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1261,7 +1262,7 @@ pub struct SecretStoreProviderVaultAuthJwtSecretRef { /// Kubernetes authenticates with Vault by passing the ServiceAccount /// token stored in the named Secret resource to the Vault server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthKubernetes { /// Path where the Kubernetes authentication backend is mounted in Vault, e.g: /// "kubernetes" @@ -1288,7 +1289,7 @@ pub struct SecretStoreProviderVaultAuthKubernetes { /// for authenticating with Vault. If a name is specified without a key, /// `token` is the default. If one is not specified, the one bound to /// the controller will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthKubernetesSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1307,7 +1308,7 @@ pub struct SecretStoreProviderVaultAuthKubernetesSecretRef { /// If the service account is specified, the service account secret token JWT will be used /// for authenticating with Vault. If the service account selector is not supplied, /// the secretRef will be used instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthKubernetesServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -1324,7 +1325,7 @@ pub struct SecretStoreProviderVaultAuthKubernetesServiceAccountRef { /// Ldap authenticates with Vault by passing username/password pair using /// the LDAP authentication method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthLdap { /// Path where the LDAP authentication backend is mounted /// in Vault, e.g: "ldap" @@ -1342,7 +1343,7 @@ pub struct SecretStoreProviderVaultAuthLdap { /// SecretRef to a key in a Secret resource containing password for the LDAP /// user used to authenticate with Vault using the LDAP authentication /// method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthLdapSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1358,7 +1359,7 @@ pub struct SecretStoreProviderVaultAuthLdapSecretRef { } /// TokenSecretRef authenticates with Vault by presenting a token. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1406,7 +1407,7 @@ pub enum SecretStoreProviderVaultVersion { } /// Webhook configures this store to sync secrets using a generic templated webhook -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderWebhook { /// Body #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1463,14 +1464,14 @@ pub enum SecretStoreProviderWebhookCaProviderType { } /// Result formatting -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderWebhookResult { /// Json path of return value #[serde(default, skip_serializing_if = "Option::is_none", rename = "jsonPath")] pub json_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderWebhookSecrets { /// Name of this secret in templates pub name: String, @@ -1480,7 +1481,7 @@ pub struct SecretStoreProviderWebhookSecrets { } /// Secret ref to fill in credentials -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderWebhookSecretsSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1496,7 +1497,7 @@ pub struct SecretStoreProviderWebhookSecretsSecretRef { } /// YandexLockbox configures this store to sync secrets using Yandex Lockbox provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderYandexlockbox { /// Yandex.Cloud API endpoint (e.g. 'api.cloud.yandex.net:443') #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiEndpoint")] @@ -1509,7 +1510,7 @@ pub struct SecretStoreProviderYandexlockbox { } /// Auth defines the information necessary to authenticate against Yandex Lockbox -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderYandexlockboxAuth { /// The authorized key used for authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "authorizedKeySecretRef")] @@ -1517,7 +1518,7 @@ pub struct SecretStoreProviderYandexlockboxAuth { } /// The authorized key used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderYandexlockboxAuthAuthorizedKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1533,7 +1534,7 @@ pub struct SecretStoreProviderYandexlockboxAuthAuthorizedKeySecretRef { } /// The provider for the CA bundle to use to validate Yandex.Cloud server certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderYandexlockboxCaProvider { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. @@ -1543,7 +1544,7 @@ pub struct SecretStoreProviderYandexlockboxCaProvider { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderYandexlockboxCaProviderCertSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1559,7 +1560,7 @@ pub struct SecretStoreProviderYandexlockboxCaProviderCertSecretRef { } /// Used to configure http retries if failed -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreRetrySettings { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxRetries")] pub max_retries: Option, @@ -1568,7 +1569,7 @@ pub struct SecretStoreRetrySettings { } /// SecretStoreStatus defines the observed state of the SecretStore. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, diff --git a/kube-custom-resources-rs/src/external_secrets_io/v1beta1/clusterexternalsecrets.rs b/kube-custom-resources-rs/src/external_secrets_io/v1beta1/clusterexternalsecrets.rs index 4c18f3657..95f8f6acd 100644 --- a/kube-custom-resources-rs/src/external_secrets_io/v1beta1/clusterexternalsecrets.rs +++ b/kube-custom-resources-rs/src/external_secrets_io/v1beta1/clusterexternalsecrets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/external-secrets/external-secrets/external-secrets.io/v1beta1/clusterexternalsecrets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/external-secrets/external-secrets/external-secrets.io/v1beta1/clusterexternalsecrets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/external_secrets_io/v1beta1/clustersecretstores.rs b/kube-custom-resources-rs/src/external_secrets_io/v1beta1/clustersecretstores.rs index b88d54652..f982aa7d2 100644 --- a/kube-custom-resources-rs/src/external_secrets_io/v1beta1/clustersecretstores.rs +++ b/kube-custom-resources-rs/src/external_secrets_io/v1beta1/clustersecretstores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/external-secrets/external-secrets/external-secrets.io/v1beta1/clustersecretstores.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/external-secrets/external-secrets/external-secrets.io/v1beta1/clustersecretstores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// SecretStoreSpec defines the desired state of SecretStore. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "external-secrets.io", version = "v1beta1", kind = "ClusterSecretStore", plural = "clustersecretstores")] #[kube(status = "ClusterSecretStoreStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterSecretStoreSpec { /// Used to constraint a ClusterSecretStore to specific namespaces. Relevant only to ClusterSecretStore @@ -37,7 +38,7 @@ pub struct ClusterSecretStoreSpec { /// ClusterSecretStoreCondition describes a condition by which to choose namespaces to process ExternalSecrets in /// for a ClusterSecretStore instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreConditions { /// Choose namespace using a labelSelector #[serde(default, skip_serializing_if = "Option::is_none", rename = "namespaceSelector")] @@ -48,7 +49,7 @@ pub struct ClusterSecretStoreConditions { } /// Choose namespace using a labelSelector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreConditionsNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -62,7 +63,7 @@ pub struct ClusterSecretStoreConditionsNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreConditionsNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -78,7 +79,7 @@ pub struct ClusterSecretStoreConditionsNamespaceSelectorMatchExpressions { } /// Used to configure the provider. Only one provider may be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProvider { /// Akeyless configures this store to sync secrets using Akeyless Vault provider #[serde(default, skip_serializing_if = "Option::is_none")] @@ -164,7 +165,7 @@ pub struct ClusterSecretStoreProvider { } /// Akeyless configures this store to sync secrets using Akeyless Vault provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAkeyless { /// Akeyless GW API Url from which the secrets to be fetched from. #[serde(rename = "akeylessGWApiURL")] @@ -183,7 +184,7 @@ pub struct ClusterSecretStoreProviderAkeyless { } /// Auth configures how the operator authenticates with Akeyless. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAkeylessAuthSecretRef { /// Kubernetes authenticates with Akeyless by passing the ServiceAccount /// token stored in the named Secret resource. @@ -197,7 +198,7 @@ pub struct ClusterSecretStoreProviderAkeylessAuthSecretRef { /// Kubernetes authenticates with Akeyless by passing the ServiceAccount /// token stored in the named Secret resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefKubernetesAuth { /// the Akeyless Kubernetes auth-method access-id #[serde(rename = "accessID")] @@ -223,7 +224,7 @@ pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefKubernetesAuth { /// for authenticating with Akeyless. If a name is specified without a key, /// `token` is the default. If one is not specified, the one bound to /// the controller will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefKubernetesAuthSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -242,7 +243,7 @@ pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefKubernetesAuthSecretRe /// If the service account is specified, the service account secret token JWT will be used /// for authenticating with Akeyless. If the service account selector is not supplied, /// the secretRef will be used instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefKubernetesAuthServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -259,7 +260,7 @@ pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefKubernetesAuthServiceA /// Reference to a Secret that contains the details /// to authenticate with Akeyless. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefSecretRef { /// The SecretAccessID is used for authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessID")] @@ -275,7 +276,7 @@ pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefSecretRef { } /// The SecretAccessID is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefSecretRefAccessId { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -292,7 +293,7 @@ pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefSecretRefAccessId { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefSecretRefAccessType { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -309,7 +310,7 @@ pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefSecretRefAccessType { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAkeylessAuthSecretRefSecretRefAccessTypeParam { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -349,7 +350,7 @@ pub enum ClusterSecretStoreProviderAkeylessCaProviderType { } /// Alibaba configures this store to sync secrets using Alibaba Cloud provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAlibaba { /// AlibabaAuth contains a secretRef for credentials. pub auth: ClusterSecretStoreProviderAlibabaAuth, @@ -359,7 +360,7 @@ pub struct ClusterSecretStoreProviderAlibaba { } /// AlibabaAuth contains a secretRef for credentials. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAlibabaAuth { /// Authenticate against Alibaba using RRSA. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -370,7 +371,7 @@ pub struct ClusterSecretStoreProviderAlibabaAuth { } /// Authenticate against Alibaba using RRSA. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAlibabaAuthRrsa { #[serde(rename = "oidcProviderArn")] pub oidc_provider_arn: String, @@ -383,7 +384,7 @@ pub struct ClusterSecretStoreProviderAlibabaAuthRrsa { } /// AlibabaAuthSecretRef holds secret references for Alibaba credentials. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAlibabaAuthSecretRef { /// The AccessKeyID is used for authentication #[serde(rename = "accessKeyIDSecretRef")] @@ -394,7 +395,7 @@ pub struct ClusterSecretStoreProviderAlibabaAuthSecretRef { } /// The AccessKeyID is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAlibabaAuthSecretRefAccessKeyIdSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -410,7 +411,7 @@ pub struct ClusterSecretStoreProviderAlibabaAuthSecretRefAccessKeyIdSecretRef { } /// The AccessKeySecret is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAlibabaAuthSecretRefAccessKeySecretSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -460,7 +461,7 @@ pub struct ClusterSecretStoreProviderAws { /// Auth defines the information necessary to authenticate against AWS /// if not set aws sdk will infer credentials from your environment /// see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAwsAuth { /// Authenticate against AWS using service account tokens. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -472,7 +473,7 @@ pub struct ClusterSecretStoreProviderAwsAuth { } /// Authenticate against AWS using service account tokens. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAwsAuthJwt { /// A reference to a ServiceAccount resource. #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceAccountRef")] @@ -480,7 +481,7 @@ pub struct ClusterSecretStoreProviderAwsAuthJwt { } /// A reference to a ServiceAccount resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAwsAuthJwtServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -497,7 +498,7 @@ pub struct ClusterSecretStoreProviderAwsAuthJwtServiceAccountRef { /// AWSAuthSecretRef holds secret references for AWS credentials /// both AccessKeyID and SecretAccessKey must be defined in order to properly authenticate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAwsAuthSecretRef { /// The AccessKeyID is used for authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessKeyIDSecretRef")] @@ -513,7 +514,7 @@ pub struct ClusterSecretStoreProviderAwsAuthSecretRef { } /// The AccessKeyID is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAwsAuthSecretRefAccessKeyIdSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -529,7 +530,7 @@ pub struct ClusterSecretStoreProviderAwsAuthSecretRefAccessKeyIdSecretRef { } /// The SecretAccessKey is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAwsAuthSecretRefSecretAccessKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -547,7 +548,7 @@ pub struct ClusterSecretStoreProviderAwsAuthSecretRefSecretAccessKeySecretRef { /// The SessionToken used for authentication /// This must be defined if AccessKeyID and SecretAccessKey are temporary credentials /// see: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAwsAuthSecretRefSessionTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -563,7 +564,7 @@ pub struct ClusterSecretStoreProviderAwsAuthSecretRefSessionTokenSecretRef { } /// SecretsManager defines how the provider behaves when interacting with AWS SecretsManager -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAwsSecretsManager { /// Specifies whether to delete the secret without any recovery window. You /// can't use both this parameter and RecoveryWindowInDays in the same call. @@ -588,14 +589,14 @@ pub enum ClusterSecretStoreProviderAwsService { ParameterStore, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAwsSessionTags { pub key: String, pub value: String, } /// AzureKV configures this store to sync secrets using Azure Key Vault provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAzurekv { /// Auth configures how the operator authenticates with Azure. Required for ServicePrincipal auth type. Optional for WorkloadIdentity. #[serde(default, skip_serializing_if = "Option::is_none", rename = "authSecretRef")] @@ -628,7 +629,7 @@ pub struct ClusterSecretStoreProviderAzurekv { } /// Auth configures how the operator authenticates with Azure. Required for ServicePrincipal auth type. Optional for WorkloadIdentity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAzurekvAuthSecretRef { /// The Azure ClientCertificate of the service principle used for authentication. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientCertificate")] @@ -645,7 +646,7 @@ pub struct ClusterSecretStoreProviderAzurekvAuthSecretRef { } /// The Azure ClientCertificate of the service principle used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAzurekvAuthSecretRefClientCertificate { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -661,7 +662,7 @@ pub struct ClusterSecretStoreProviderAzurekvAuthSecretRefClientCertificate { } /// The Azure clientId of the service principle or managed identity used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAzurekvAuthSecretRefClientId { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -677,7 +678,7 @@ pub struct ClusterSecretStoreProviderAzurekvAuthSecretRefClientId { } /// The Azure ClientSecret of the service principle used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAzurekvAuthSecretRefClientSecret { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -693,7 +694,7 @@ pub struct ClusterSecretStoreProviderAzurekvAuthSecretRefClientSecret { } /// The Azure tenantId of the managed identity used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAzurekvAuthSecretRefTenantId { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -728,7 +729,7 @@ pub enum ClusterSecretStoreProviderAzurekvEnvironmentType { /// ServiceAccountRef specified the service account /// that should be used when authenticating with WorkloadIdentity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderAzurekvServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -744,7 +745,7 @@ pub struct ClusterSecretStoreProviderAzurekvServiceAccountRef { } /// Chef configures this store to sync secrets with chef server -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderChef { /// Auth defines the information necessary to authenticate against chef Server pub auth: ClusterSecretStoreProviderChefAuth, @@ -756,7 +757,7 @@ pub struct ClusterSecretStoreProviderChef { } /// Auth defines the information necessary to authenticate against chef Server -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderChefAuth { /// ChefAuthSecretRef holds secret references for chef server login credentials. #[serde(rename = "secretRef")] @@ -764,7 +765,7 @@ pub struct ClusterSecretStoreProviderChefAuth { } /// ChefAuthSecretRef holds secret references for chef server login credentials. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderChefAuthSecretRef { /// SecretKey is the Signing Key in PEM format, used for authentication. #[serde(rename = "privateKeySecretRef")] @@ -772,7 +773,7 @@ pub struct ClusterSecretStoreProviderChefAuthSecretRef { } /// SecretKey is the Signing Key in PEM format, used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderChefAuthSecretRefPrivateKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -788,7 +789,7 @@ pub struct ClusterSecretStoreProviderChefAuthSecretRefPrivateKeySecretRef { } /// Conjur configures this store to sync secrets using conjur provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderConjur { pub auth: ClusterSecretStoreProviderConjurAuth, #[serde(default, skip_serializing_if = "Option::is_none", rename = "caBundle")] @@ -801,7 +802,7 @@ pub struct ClusterSecretStoreProviderConjur { pub url: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderConjurAuth { #[serde(default, skip_serializing_if = "Option::is_none")] pub apikey: Option, @@ -809,7 +810,7 @@ pub struct ClusterSecretStoreProviderConjurAuth { pub jwt: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderConjurAuthApikey { pub account: String, /// A reference to a specific 'key' within a Secret resource, @@ -824,7 +825,7 @@ pub struct ClusterSecretStoreProviderConjurAuthApikey { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderConjurAuthApikeyApiKeyRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -841,7 +842,7 @@ pub struct ClusterSecretStoreProviderConjurAuthApikeyApiKeyRef { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderConjurAuthApikeyUserRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -856,7 +857,7 @@ pub struct ClusterSecretStoreProviderConjurAuthApikeyUserRef { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderConjurAuthJwt { pub account: String, /// Optional HostID for JWT authentication. This may be used depending @@ -878,7 +879,7 @@ pub struct ClusterSecretStoreProviderConjurAuthJwt { /// Optional SecretRef that refers to a key in a Secret resource containing JWT token to /// authenticate with Conjur using the JWT authentication method. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderConjurAuthJwtSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -895,7 +896,7 @@ pub struct ClusterSecretStoreProviderConjurAuthJwtSecretRef { /// Optional ServiceAccountRef specifies the Kubernetes service account for which to request /// a token for with the `TokenRequest` API. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderConjurAuthJwtServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -940,7 +941,7 @@ pub enum ClusterSecretStoreProviderConjurCaProviderType { /// Delinea DevOps Secrets Vault /// https://docs.delinea.com/online-help/products/devops-secrets-vault/current -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderDelinea { /// ClientID is the non-secret part of the credential. #[serde(rename = "clientId")] @@ -961,7 +962,7 @@ pub struct ClusterSecretStoreProviderDelinea { } /// ClientID is the non-secret part of the credential. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderDelineaClientId { /// SecretRef references a key in a secret that will be used as value. #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretRef")] @@ -972,7 +973,7 @@ pub struct ClusterSecretStoreProviderDelineaClientId { } /// SecretRef references a key in a secret that will be used as value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderDelineaClientIdSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -988,7 +989,7 @@ pub struct ClusterSecretStoreProviderDelineaClientIdSecretRef { } /// ClientSecret is the secret part of the credential. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderDelineaClientSecret { /// SecretRef references a key in a secret that will be used as value. #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretRef")] @@ -999,7 +1000,7 @@ pub struct ClusterSecretStoreProviderDelineaClientSecret { } /// SecretRef references a key in a secret that will be used as value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderDelineaClientSecretSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1015,7 +1016,7 @@ pub struct ClusterSecretStoreProviderDelineaClientSecretSecretRef { } /// Doppler configures this store to sync secrets using the Doppler provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderDoppler { /// Auth configures how the Operator authenticates with the Doppler API pub auth: ClusterSecretStoreProviderDopplerAuth, @@ -1034,13 +1035,13 @@ pub struct ClusterSecretStoreProviderDoppler { } /// Auth configures how the Operator authenticates with the Doppler API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderDopplerAuth { #[serde(rename = "secretRef")] pub secret_ref: ClusterSecretStoreProviderDopplerAuthSecretRef, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderDopplerAuthSecretRef { /// The DopplerToken is used for authentication. /// See https://docs.doppler.com/reference/api#authentication for auth token types. @@ -1052,7 +1053,7 @@ pub struct ClusterSecretStoreProviderDopplerAuthSecretRef { /// The DopplerToken is used for authentication. /// See https://docs.doppler.com/reference/api#authentication for auth token types. /// The Key attribute defaults to dopplerToken if not specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderDopplerAuthSecretRefDopplerToken { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1100,12 +1101,12 @@ pub enum ClusterSecretStoreProviderDopplerNameTransformer { } /// Fake configures a store with static key/value pairs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderFake { pub data: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderFakeData { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1118,7 +1119,7 @@ pub struct ClusterSecretStoreProviderFakeData { } /// Fortanix configures this store to sync secrets using the Fortanix provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderFortanix { /// APIKey is the API token to access SDKMS Applications. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiKey")] @@ -1129,7 +1130,7 @@ pub struct ClusterSecretStoreProviderFortanix { } /// APIKey is the API token to access SDKMS Applications. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderFortanixApiKey { /// SecretRef is a reference to a secret containing the SDKMS API Key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretRef")] @@ -1137,7 +1138,7 @@ pub struct ClusterSecretStoreProviderFortanixApiKey { } /// SecretRef is a reference to a secret containing the SDKMS API Key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderFortanixApiKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1153,7 +1154,7 @@ pub struct ClusterSecretStoreProviderFortanixApiKeySecretRef { } /// GCPSM configures this store to sync secrets using Google Cloud Platform Secret Manager provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderGcpsm { /// Auth defines the information necessary to authenticate against GCP #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1164,7 +1165,7 @@ pub struct ClusterSecretStoreProviderGcpsm { } /// Auth defines the information necessary to authenticate against GCP -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderGcpsmAuth { #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretRef")] pub secret_ref: Option, @@ -1172,7 +1173,7 @@ pub struct ClusterSecretStoreProviderGcpsmAuth { pub workload_identity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderGcpsmAuthSecretRef { /// The SecretAccessKey is used for authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretAccessKeySecretRef")] @@ -1180,7 +1181,7 @@ pub struct ClusterSecretStoreProviderGcpsmAuthSecretRef { } /// The SecretAccessKey is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderGcpsmAuthSecretRefSecretAccessKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1195,7 +1196,7 @@ pub struct ClusterSecretStoreProviderGcpsmAuthSecretRefSecretAccessKeySecretRef pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderGcpsmAuthWorkloadIdentity { #[serde(rename = "clusterLocation")] pub cluster_location: String, @@ -1209,7 +1210,7 @@ pub struct ClusterSecretStoreProviderGcpsmAuthWorkloadIdentity { } /// A reference to a ServiceAccount resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderGcpsmAuthWorkloadIdentityServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -1225,7 +1226,7 @@ pub struct ClusterSecretStoreProviderGcpsmAuthWorkloadIdentityServiceAccountRef } /// GitLab configures this store to sync secrets using GitLab Variables provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderGitlab { /// Auth configures how secret-manager authenticates with a GitLab instance. pub auth: ClusterSecretStoreProviderGitlabAuth, @@ -1247,13 +1248,13 @@ pub struct ClusterSecretStoreProviderGitlab { } /// Auth configures how secret-manager authenticates with a GitLab instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderGitlabAuth { #[serde(rename = "SecretRef")] pub secret_ref: ClusterSecretStoreProviderGitlabAuthSecretRef, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderGitlabAuthSecretRef { /// AccessToken is used for authentication. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessToken")] @@ -1261,7 +1262,7 @@ pub struct ClusterSecretStoreProviderGitlabAuthSecretRef { } /// AccessToken is used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderGitlabAuthSecretRefAccessToken { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1277,7 +1278,7 @@ pub struct ClusterSecretStoreProviderGitlabAuthSecretRefAccessToken { } /// IBM configures this store to sync secrets using IBM Cloud provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderIbm { /// Auth configures how secret-manager authenticates with the IBM secrets manager. pub auth: ClusterSecretStoreProviderIbmAuth, @@ -1287,7 +1288,7 @@ pub struct ClusterSecretStoreProviderIbm { } /// Auth configures how secret-manager authenticates with the IBM secrets manager. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderIbmAuth { /// IBM Container-based auth with IAM Trusted Profile. #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerAuth")] @@ -1297,7 +1298,7 @@ pub struct ClusterSecretStoreProviderIbmAuth { } /// IBM Container-based auth with IAM Trusted Profile. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderIbmAuthContainerAuth { #[serde(default, skip_serializing_if = "Option::is_none", rename = "iamEndpoint")] pub iam_endpoint: Option, @@ -1308,7 +1309,7 @@ pub struct ClusterSecretStoreProviderIbmAuthContainerAuth { pub token_location: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderIbmAuthSecretRef { /// The SecretAccessKey is used for authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretApiKeySecretRef")] @@ -1316,7 +1317,7 @@ pub struct ClusterSecretStoreProviderIbmAuthSecretRef { } /// The SecretAccessKey is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderIbmAuthSecretRefSecretApiKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1332,7 +1333,7 @@ pub struct ClusterSecretStoreProviderIbmAuthSecretRefSecretApiKeySecretRef { } /// KeeperSecurity configures this store to sync secrets using the KeeperSecurity provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderKeepersecurity { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. @@ -1344,7 +1345,7 @@ pub struct ClusterSecretStoreProviderKeepersecurity { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderKeepersecurityAuthRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1360,7 +1361,7 @@ pub struct ClusterSecretStoreProviderKeepersecurityAuthRef { } /// Kubernetes configures this store to sync secrets using a Kubernetes cluster provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderKubernetes { /// Auth configures how secret-manager authenticates with a Kubernetes instance. pub auth: ClusterSecretStoreProviderKubernetesAuth, @@ -1373,7 +1374,7 @@ pub struct ClusterSecretStoreProviderKubernetes { } /// Auth configures how secret-manager authenticates with a Kubernetes instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderKubernetesAuth { /// has both clientCert and clientKey as secretKeySelector #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1387,7 +1388,7 @@ pub struct ClusterSecretStoreProviderKubernetesAuth { } /// has both clientCert and clientKey as secretKeySelector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderKubernetesAuthCert { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. @@ -1401,7 +1402,7 @@ pub struct ClusterSecretStoreProviderKubernetesAuthCert { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderKubernetesAuthCertClientCert { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1418,7 +1419,7 @@ pub struct ClusterSecretStoreProviderKubernetesAuthCertClientCert { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderKubernetesAuthCertClientKey { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1434,7 +1435,7 @@ pub struct ClusterSecretStoreProviderKubernetesAuthCertClientKey { } /// points to a service account that should be used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderKubernetesAuthServiceAccount { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -1450,7 +1451,7 @@ pub struct ClusterSecretStoreProviderKubernetesAuthServiceAccount { } /// use static token to authenticate with -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderKubernetesAuthToken { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. @@ -1460,7 +1461,7 @@ pub struct ClusterSecretStoreProviderKubernetesAuthToken { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderKubernetesAuthTokenBearerToken { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1476,7 +1477,7 @@ pub struct ClusterSecretStoreProviderKubernetesAuthTokenBearerToken { } /// configures the Kubernetes server Address. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderKubernetesServer { /// CABundle is a base64-encoded CA certificate #[serde(default, skip_serializing_if = "Option::is_none", rename = "caBundle")] @@ -1514,7 +1515,7 @@ pub enum ClusterSecretStoreProviderKubernetesServerCaProviderType { } /// Onboardbase configures this store to sync secrets using the Onboardbase provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderOnboardbase { /// APIHost use this to configure the host url for the API for selfhosted installation, default is https://public.onboardbase.com/api/v1/ #[serde(rename = "apiHost")] @@ -1528,7 +1529,7 @@ pub struct ClusterSecretStoreProviderOnboardbase { } /// Auth configures how the Operator authenticates with the Onboardbase API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderOnboardbaseAuth { /// OnboardbaseAPIKey is the APIKey generated by an admin account. /// It is used to recognize and authorize access to a project and environment within onboardbase @@ -1541,7 +1542,7 @@ pub struct ClusterSecretStoreProviderOnboardbaseAuth { /// OnboardbaseAPIKey is the APIKey generated by an admin account. /// It is used to recognize and authorize access to a project and environment within onboardbase -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderOnboardbaseAuthApiKeyRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1557,7 +1558,7 @@ pub struct ClusterSecretStoreProviderOnboardbaseAuthApiKeyRef { } /// OnboardbasePasscode is the passcode attached to the API Key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderOnboardbaseAuthPasscodeRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1573,7 +1574,7 @@ pub struct ClusterSecretStoreProviderOnboardbaseAuthPasscodeRef { } /// OnePassword configures this store to sync secrets using the 1Password Cloud provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderOnepassword { /// Auth defines the information necessary to authenticate against OnePassword Connect Server pub auth: ClusterSecretStoreProviderOnepasswordAuth, @@ -1585,7 +1586,7 @@ pub struct ClusterSecretStoreProviderOnepassword { } /// Auth defines the information necessary to authenticate against OnePassword Connect Server -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderOnepasswordAuth { /// OnePasswordAuthSecretRef holds secret references for 1Password credentials. #[serde(rename = "secretRef")] @@ -1593,7 +1594,7 @@ pub struct ClusterSecretStoreProviderOnepasswordAuth { } /// OnePasswordAuthSecretRef holds secret references for 1Password credentials. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderOnepasswordAuthSecretRef { /// The ConnectToken is used for authentication to a 1Password Connect Server. #[serde(rename = "connectTokenSecretRef")] @@ -1601,7 +1602,7 @@ pub struct ClusterSecretStoreProviderOnepasswordAuthSecretRef { } /// The ConnectToken is used for authentication to a 1Password Connect Server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderOnepasswordAuthSecretRefConnectTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1617,7 +1618,7 @@ pub struct ClusterSecretStoreProviderOnepasswordAuthSecretRefConnectTokenSecretR } /// Oracle configures this store to sync secrets using Oracle Vault provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderOracle { /// Auth configures how secret-manager authenticates with the Oracle Vault. /// If empty, use the instance principal, otherwise the user credentials specified in Auth. @@ -1648,7 +1649,7 @@ pub struct ClusterSecretStoreProviderOracle { /// Auth configures how secret-manager authenticates with the Oracle Vault. /// If empty, use the instance principal, otherwise the user credentials specified in Auth. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderOracleAuth { /// SecretRef to pass through sensitive information. #[serde(rename = "secretRef")] @@ -1660,7 +1661,7 @@ pub struct ClusterSecretStoreProviderOracleAuth { } /// SecretRef to pass through sensitive information. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderOracleAuthSecretRef { /// Fingerprint is the fingerprint of the API private key. pub fingerprint: ClusterSecretStoreProviderOracleAuthSecretRefFingerprint, @@ -1669,7 +1670,7 @@ pub struct ClusterSecretStoreProviderOracleAuthSecretRef { } /// Fingerprint is the fingerprint of the API private key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderOracleAuthSecretRefFingerprint { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1685,7 +1686,7 @@ pub struct ClusterSecretStoreProviderOracleAuthSecretRefFingerprint { } /// PrivateKey is the user's API Signing Key in PEM format, used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderOracleAuthSecretRefPrivatekey { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1712,7 +1713,7 @@ pub enum ClusterSecretStoreProviderOraclePrincipalType { /// ServiceAccountRef specified the service account /// that should be used when authenticating with WorkloadIdentity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderOracleServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -1727,7 +1728,7 @@ pub struct ClusterSecretStoreProviderOracleServiceAccountRef { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderPassbolt { /// Auth defines the information necessary to authenticate against Passbolt Server pub auth: ClusterSecretStoreProviderPassboltAuth, @@ -1736,7 +1737,7 @@ pub struct ClusterSecretStoreProviderPassbolt { } /// Auth defines the information necessary to authenticate against Passbolt Server -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderPassboltAuth { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. @@ -1750,7 +1751,7 @@ pub struct ClusterSecretStoreProviderPassboltAuth { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderPassboltAuthPasswordSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1767,7 +1768,7 @@ pub struct ClusterSecretStoreProviderPassboltAuthPasswordSecretRef { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderPassboltAuthPrivateKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1783,7 +1784,7 @@ pub struct ClusterSecretStoreProviderPassboltAuthPrivateKeySecretRef { } /// Configures a store to sync secrets with a Password Depot instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderPassworddepot { /// Auth configures how secret-manager authenticates with a Password Depot instance. pub auth: ClusterSecretStoreProviderPassworddepotAuth, @@ -1794,13 +1795,13 @@ pub struct ClusterSecretStoreProviderPassworddepot { } /// Auth configures how secret-manager authenticates with a Password Depot instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderPassworddepotAuth { #[serde(rename = "secretRef")] pub secret_ref: ClusterSecretStoreProviderPassworddepotAuthSecretRef, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderPassworddepotAuthSecretRef { /// Username / Password is used for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1808,7 +1809,7 @@ pub struct ClusterSecretStoreProviderPassworddepotAuthSecretRef { } /// Username / Password is used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderPassworddepotAuthSecretRefCredentials { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1824,7 +1825,7 @@ pub struct ClusterSecretStoreProviderPassworddepotAuthSecretRefCredentials { } /// Pulumi configures this store to sync secrets using the Pulumi provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderPulumi { /// AccessToken is the access tokens to sign in to the Pulumi Cloud Console. #[serde(rename = "accessToken")] @@ -1843,7 +1844,7 @@ pub struct ClusterSecretStoreProviderPulumi { } /// AccessToken is the access tokens to sign in to the Pulumi Cloud Console. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderPulumiAccessToken { /// SecretRef is a reference to a secret containing the Pulumi API token. #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretRef")] @@ -1851,7 +1852,7 @@ pub struct ClusterSecretStoreProviderPulumiAccessToken { } /// SecretRef is a reference to a secret containing the Pulumi API token. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderPulumiAccessTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1867,7 +1868,7 @@ pub struct ClusterSecretStoreProviderPulumiAccessTokenSecretRef { } /// Scaleway -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderScaleway { /// AccessKey is the non-secret part of the api key. #[serde(rename = "accessKey")] @@ -1886,7 +1887,7 @@ pub struct ClusterSecretStoreProviderScaleway { } /// AccessKey is the non-secret part of the api key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderScalewayAccessKey { /// SecretRef references a key in a secret that will be used as value. #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretRef")] @@ -1897,7 +1898,7 @@ pub struct ClusterSecretStoreProviderScalewayAccessKey { } /// SecretRef references a key in a secret that will be used as value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderScalewayAccessKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1913,7 +1914,7 @@ pub struct ClusterSecretStoreProviderScalewayAccessKeySecretRef { } /// SecretKey is the non-secret part of the api key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderScalewaySecretKey { /// SecretRef references a key in a secret that will be used as value. #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretRef")] @@ -1924,7 +1925,7 @@ pub struct ClusterSecretStoreProviderScalewaySecretKey { } /// SecretRef references a key in a secret that will be used as value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderScalewaySecretKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1940,7 +1941,7 @@ pub struct ClusterSecretStoreProviderScalewaySecretKeySecretRef { } /// Senhasegura configures this store to sync secrets using senhasegura provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderSenhasegura { /// Auth defines parameters to authenticate in senhasegura pub auth: ClusterSecretStoreProviderSenhaseguraAuth, @@ -1954,7 +1955,7 @@ pub struct ClusterSecretStoreProviderSenhasegura { } /// Auth defines parameters to authenticate in senhasegura -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderSenhaseguraAuth { #[serde(rename = "clientId")] pub client_id: String, @@ -1966,7 +1967,7 @@ pub struct ClusterSecretStoreProviderSenhaseguraAuth { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderSenhaseguraAuthClientSecretSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1982,7 +1983,7 @@ pub struct ClusterSecretStoreProviderSenhaseguraAuthClientSecretSecretRef { } /// Vault configures this store to sync secrets using Hashi provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVault { /// Auth configures how secret-manager authenticates with the Vault server. pub auth: ClusterSecretStoreProviderVaultAuth, @@ -2034,7 +2035,7 @@ pub struct ClusterSecretStoreProviderVault { } /// Auth configures how secret-manager authenticates with the Vault server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuth { /// AppRole authenticates with Vault using the App Role auth mechanism, /// with the role and secret stored in a Kubernetes Secret resource. @@ -2077,7 +2078,7 @@ pub struct ClusterSecretStoreProviderVaultAuth { /// AppRole authenticates with Vault using the App Role auth mechanism, /// with the role and secret stored in a Kubernetes Secret resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthAppRole { /// Path where the App Role authentication backend is mounted /// in Vault, e.g: "approle" @@ -2104,7 +2105,7 @@ pub struct ClusterSecretStoreProviderVaultAuthAppRole { /// to authenticate with Vault. /// The `key` field must be specified and denotes which entry within the Secret /// resource is used as the app role id. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthAppRoleRoleRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2123,7 +2124,7 @@ pub struct ClusterSecretStoreProviderVaultAuthAppRoleRoleRef { /// to authenticate with Vault. /// The `key` field must be specified and denotes which entry within the Secret /// resource is used as the app role secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthAppRoleSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2140,7 +2141,7 @@ pub struct ClusterSecretStoreProviderVaultAuthAppRoleSecretRef { /// Cert authenticates with TLS Certificates by passing client certificate, private key and ca certificate /// Cert authentication method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthCert { /// ClientCert is a certificate to authenticate using the Cert Vault /// authentication method @@ -2154,7 +2155,7 @@ pub struct ClusterSecretStoreProviderVaultAuthCert { /// ClientCert is a certificate to authenticate using the Cert Vault /// authentication method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthCertClientCert { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2171,7 +2172,7 @@ pub struct ClusterSecretStoreProviderVaultAuthCertClientCert { /// SecretRef to a key in a Secret resource containing client private key to /// authenticate with Vault using the Cert authentication method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthCertSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2188,7 +2189,7 @@ pub struct ClusterSecretStoreProviderVaultAuthCertSecretRef { /// Iam authenticates with vault by passing a special AWS request signed with AWS IAM credentials /// AWS IAM authentication method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthIam { /// AWS External ID set on assumed IAM roles #[serde(default, skip_serializing_if = "Option::is_none", rename = "externalID")] @@ -2217,7 +2218,7 @@ pub struct ClusterSecretStoreProviderVaultAuthIam { } /// Specify a service account with IRSA enabled -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthIamJwt { /// A reference to a ServiceAccount resource. #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceAccountRef")] @@ -2225,7 +2226,7 @@ pub struct ClusterSecretStoreProviderVaultAuthIamJwt { } /// A reference to a ServiceAccount resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthIamJwtServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -2241,7 +2242,7 @@ pub struct ClusterSecretStoreProviderVaultAuthIamJwtServiceAccountRef { } /// Specify credentials in a Secret object -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthIamSecretRef { /// The AccessKeyID is used for authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessKeyIDSecretRef")] @@ -2257,7 +2258,7 @@ pub struct ClusterSecretStoreProviderVaultAuthIamSecretRef { } /// The AccessKeyID is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthIamSecretRefAccessKeyIdSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2273,7 +2274,7 @@ pub struct ClusterSecretStoreProviderVaultAuthIamSecretRefAccessKeyIdSecretRef { } /// The SecretAccessKey is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthIamSecretRefSecretAccessKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2291,7 +2292,7 @@ pub struct ClusterSecretStoreProviderVaultAuthIamSecretRefSecretAccessKeySecretR /// The SessionToken used for authentication /// This must be defined if AccessKeyID and SecretAccessKey are temporary credentials /// see: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthIamSecretRefSessionTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2308,7 +2309,7 @@ pub struct ClusterSecretStoreProviderVaultAuthIamSecretRefSessionTokenSecretRef /// Jwt authenticates with Vault by passing role and JWT token using the /// JWT/OIDC authentication method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthJwt { /// Optional ServiceAccountToken specifies the Kubernetes service account for which to request /// a token for with the `TokenRequest` API. @@ -2329,7 +2330,7 @@ pub struct ClusterSecretStoreProviderVaultAuthJwt { /// Optional ServiceAccountToken specifies the Kubernetes service account for which to request /// a token for with the `TokenRequest` API. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthJwtKubernetesServiceAccountToken { /// Optional audiences field that will be used to request a temporary Kubernetes service /// account token for the service account referenced by `serviceAccountRef`. @@ -2350,7 +2351,7 @@ pub struct ClusterSecretStoreProviderVaultAuthJwtKubernetesServiceAccountToken { } /// Service account field containing the name of a kubernetes ServiceAccount. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthJwtKubernetesServiceAccountTokenServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -2367,7 +2368,7 @@ pub struct ClusterSecretStoreProviderVaultAuthJwtKubernetesServiceAccountTokenSe /// Optional SecretRef that refers to a key in a Secret resource containing JWT token to /// authenticate with Vault using the JWT/OIDC authentication method. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthJwtSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2384,7 +2385,7 @@ pub struct ClusterSecretStoreProviderVaultAuthJwtSecretRef { /// Kubernetes authenticates with Vault by passing the ServiceAccount /// token stored in the named Secret resource to the Vault server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthKubernetes { /// Path where the Kubernetes authentication backend is mounted in Vault, e.g: /// "kubernetes" @@ -2411,7 +2412,7 @@ pub struct ClusterSecretStoreProviderVaultAuthKubernetes { /// for authenticating with Vault. If a name is specified without a key, /// `token` is the default. If one is not specified, the one bound to /// the controller will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthKubernetesSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2430,7 +2431,7 @@ pub struct ClusterSecretStoreProviderVaultAuthKubernetesSecretRef { /// If the service account is specified, the service account secret token JWT will be used /// for authenticating with Vault. If the service account selector is not supplied, /// the secretRef will be used instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthKubernetesServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -2447,7 +2448,7 @@ pub struct ClusterSecretStoreProviderVaultAuthKubernetesServiceAccountRef { /// Ldap authenticates with Vault by passing username/password pair using /// the LDAP authentication method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthLdap { /// Path where the LDAP authentication backend is mounted /// in Vault, e.g: "ldap" @@ -2465,7 +2466,7 @@ pub struct ClusterSecretStoreProviderVaultAuthLdap { /// SecretRef to a key in a Secret resource containing password for the LDAP /// user used to authenticate with Vault using the LDAP authentication /// method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthLdapSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2481,7 +2482,7 @@ pub struct ClusterSecretStoreProviderVaultAuthLdapSecretRef { } /// TokenSecretRef authenticates with Vault by presenting a token. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2497,7 +2498,7 @@ pub struct ClusterSecretStoreProviderVaultAuthTokenSecretRef { } /// UserPass authenticates with Vault by passing username/password pair -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthUserPass { /// Path where the UserPassword authentication backend is mounted /// in Vault, e.g: "user" @@ -2515,7 +2516,7 @@ pub struct ClusterSecretStoreProviderVaultAuthUserPass { /// SecretRef to a key in a Secret resource containing password for the /// user used to authenticate with Vault using the UserPass authentication /// method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultAuthUserPassSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2559,7 +2560,7 @@ pub enum ClusterSecretStoreProviderVaultCaProviderType { /// This parameter is ignored for plain HTTP protocol connection. /// It's worth noting this configuration is different from the "TLS certificates auth method", /// which is available under the `auth.cert` section. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultTls { /// CertSecretRef is a certificate added to the transport layer /// when communicating with the Vault server. @@ -2576,7 +2577,7 @@ pub struct ClusterSecretStoreProviderVaultTls { /// CertSecretRef is a certificate added to the transport layer /// when communicating with the Vault server. /// If no key for the Secret is specified, external-secret will default to 'tls.crt'. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultTlsCertSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2594,7 +2595,7 @@ pub struct ClusterSecretStoreProviderVaultTlsCertSecretRef { /// KeySecretRef to a key in a Secret resource containing client private key /// added to the transport layer when communicating with the Vault server. /// If no key for the Secret is specified, external-secret will default to 'tls.key'. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderVaultTlsKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2619,7 +2620,7 @@ pub enum ClusterSecretStoreProviderVaultVersion { } /// Webhook configures this store to sync secrets using a generic templated webhook -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderWebhook { /// Body #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2676,14 +2677,14 @@ pub enum ClusterSecretStoreProviderWebhookCaProviderType { } /// Result formatting -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderWebhookResult { /// Json path of return value #[serde(default, skip_serializing_if = "Option::is_none", rename = "jsonPath")] pub json_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderWebhookSecrets { /// Name of this secret in templates pub name: String, @@ -2693,7 +2694,7 @@ pub struct ClusterSecretStoreProviderWebhookSecrets { } /// Secret ref to fill in credentials -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderWebhookSecretsSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2709,7 +2710,7 @@ pub struct ClusterSecretStoreProviderWebhookSecretsSecretRef { } /// YandexCertificateManager configures this store to sync secrets using Yandex Certificate Manager provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderYandexcertificatemanager { /// Yandex.Cloud API endpoint (e.g. 'api.cloud.yandex.net:443') #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiEndpoint")] @@ -2722,7 +2723,7 @@ pub struct ClusterSecretStoreProviderYandexcertificatemanager { } /// Auth defines the information necessary to authenticate against Yandex Certificate Manager -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderYandexcertificatemanagerAuth { /// The authorized key used for authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "authorizedKeySecretRef")] @@ -2730,7 +2731,7 @@ pub struct ClusterSecretStoreProviderYandexcertificatemanagerAuth { } /// The authorized key used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderYandexcertificatemanagerAuthAuthorizedKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2746,7 +2747,7 @@ pub struct ClusterSecretStoreProviderYandexcertificatemanagerAuthAuthorizedKeySe } /// The provider for the CA bundle to use to validate Yandex.Cloud server certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderYandexcertificatemanagerCaProvider { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. @@ -2756,7 +2757,7 @@ pub struct ClusterSecretStoreProviderYandexcertificatemanagerCaProvider { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderYandexcertificatemanagerCaProviderCertSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2772,7 +2773,7 @@ pub struct ClusterSecretStoreProviderYandexcertificatemanagerCaProviderCertSecre } /// YandexLockbox configures this store to sync secrets using Yandex Lockbox provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderYandexlockbox { /// Yandex.Cloud API endpoint (e.g. 'api.cloud.yandex.net:443') #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiEndpoint")] @@ -2785,7 +2786,7 @@ pub struct ClusterSecretStoreProviderYandexlockbox { } /// Auth defines the information necessary to authenticate against Yandex Lockbox -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderYandexlockboxAuth { /// The authorized key used for authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "authorizedKeySecretRef")] @@ -2793,7 +2794,7 @@ pub struct ClusterSecretStoreProviderYandexlockboxAuth { } /// The authorized key used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderYandexlockboxAuthAuthorizedKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2809,7 +2810,7 @@ pub struct ClusterSecretStoreProviderYandexlockboxAuthAuthorizedKeySecretRef { } /// The provider for the CA bundle to use to validate Yandex.Cloud server certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderYandexlockboxCaProvider { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. @@ -2819,7 +2820,7 @@ pub struct ClusterSecretStoreProviderYandexlockboxCaProvider { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreProviderYandexlockboxCaProviderCertSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2835,7 +2836,7 @@ pub struct ClusterSecretStoreProviderYandexlockboxCaProviderCertSecretRef { } /// Used to configure http retries if failed -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreRetrySettings { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxRetries")] pub max_retries: Option, @@ -2844,7 +2845,7 @@ pub struct ClusterSecretStoreRetrySettings { } /// SecretStoreStatus defines the observed state of the SecretStore. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSecretStoreStatus { /// SecretStoreCapabilities defines the possible operations a SecretStore can do. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/external_secrets_io/v1beta1/externalsecrets.rs b/kube-custom-resources-rs/src/external_secrets_io/v1beta1/externalsecrets.rs index 462addedb..1b90a2cad 100644 --- a/kube-custom-resources-rs/src/external_secrets_io/v1beta1/externalsecrets.rs +++ b/kube-custom-resources-rs/src/external_secrets_io/v1beta1/externalsecrets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/external-secrets/external-secrets/external-secrets.io/v1beta1/externalsecrets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/external-secrets/external-secrets/external-secrets.io/v1beta1/externalsecrets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/external_secrets_io/v1beta1/secretstores.rs b/kube-custom-resources-rs/src/external_secrets_io/v1beta1/secretstores.rs index a9ab5616a..6ee8cabc0 100644 --- a/kube-custom-resources-rs/src/external_secrets_io/v1beta1/secretstores.rs +++ b/kube-custom-resources-rs/src/external_secrets_io/v1beta1/secretstores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/external-secrets/external-secrets/external-secrets.io/v1beta1/secretstores.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/external-secrets/external-secrets/external-secrets.io/v1beta1/secretstores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// SecretStoreSpec defines the desired state of SecretStore. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "external-secrets.io", version = "v1beta1", kind = "SecretStore", plural = "secretstores")] #[kube(namespaced)] #[kube(status = "SecretStoreStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct SecretStoreSpec { /// Used to constraint a ClusterSecretStore to specific namespaces. Relevant only to ClusterSecretStore @@ -38,7 +39,7 @@ pub struct SecretStoreSpec { /// ClusterSecretStoreCondition describes a condition by which to choose namespaces to process ExternalSecrets in /// for a ClusterSecretStore instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreConditions { /// Choose namespace using a labelSelector #[serde(default, skip_serializing_if = "Option::is_none", rename = "namespaceSelector")] @@ -49,7 +50,7 @@ pub struct SecretStoreConditions { } /// Choose namespace using a labelSelector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreConditionsNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -63,7 +64,7 @@ pub struct SecretStoreConditionsNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreConditionsNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -79,7 +80,7 @@ pub struct SecretStoreConditionsNamespaceSelectorMatchExpressions { } /// Used to configure the provider. Only one provider may be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProvider { /// Akeyless configures this store to sync secrets using Akeyless Vault provider #[serde(default, skip_serializing_if = "Option::is_none")] @@ -165,7 +166,7 @@ pub struct SecretStoreProvider { } /// Akeyless configures this store to sync secrets using Akeyless Vault provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAkeyless { /// Akeyless GW API Url from which the secrets to be fetched from. #[serde(rename = "akeylessGWApiURL")] @@ -184,7 +185,7 @@ pub struct SecretStoreProviderAkeyless { } /// Auth configures how the operator authenticates with Akeyless. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAkeylessAuthSecretRef { /// Kubernetes authenticates with Akeyless by passing the ServiceAccount /// token stored in the named Secret resource. @@ -198,7 +199,7 @@ pub struct SecretStoreProviderAkeylessAuthSecretRef { /// Kubernetes authenticates with Akeyless by passing the ServiceAccount /// token stored in the named Secret resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAkeylessAuthSecretRefKubernetesAuth { /// the Akeyless Kubernetes auth-method access-id #[serde(rename = "accessID")] @@ -224,7 +225,7 @@ pub struct SecretStoreProviderAkeylessAuthSecretRefKubernetesAuth { /// for authenticating with Akeyless. If a name is specified without a key, /// `token` is the default. If one is not specified, the one bound to /// the controller will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAkeylessAuthSecretRefKubernetesAuthSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -243,7 +244,7 @@ pub struct SecretStoreProviderAkeylessAuthSecretRefKubernetesAuthSecretRef { /// If the service account is specified, the service account secret token JWT will be used /// for authenticating with Akeyless. If the service account selector is not supplied, /// the secretRef will be used instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAkeylessAuthSecretRefKubernetesAuthServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -260,7 +261,7 @@ pub struct SecretStoreProviderAkeylessAuthSecretRefKubernetesAuthServiceAccountR /// Reference to a Secret that contains the details /// to authenticate with Akeyless. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAkeylessAuthSecretRefSecretRef { /// The SecretAccessID is used for authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessID")] @@ -276,7 +277,7 @@ pub struct SecretStoreProviderAkeylessAuthSecretRefSecretRef { } /// The SecretAccessID is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAkeylessAuthSecretRefSecretRefAccessId { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -293,7 +294,7 @@ pub struct SecretStoreProviderAkeylessAuthSecretRefSecretRefAccessId { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAkeylessAuthSecretRefSecretRefAccessType { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -310,7 +311,7 @@ pub struct SecretStoreProviderAkeylessAuthSecretRefSecretRefAccessType { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAkeylessAuthSecretRefSecretRefAccessTypeParam { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -350,7 +351,7 @@ pub enum SecretStoreProviderAkeylessCaProviderType { } /// Alibaba configures this store to sync secrets using Alibaba Cloud provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAlibaba { /// AlibabaAuth contains a secretRef for credentials. pub auth: SecretStoreProviderAlibabaAuth, @@ -360,7 +361,7 @@ pub struct SecretStoreProviderAlibaba { } /// AlibabaAuth contains a secretRef for credentials. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAlibabaAuth { /// Authenticate against Alibaba using RRSA. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -371,7 +372,7 @@ pub struct SecretStoreProviderAlibabaAuth { } /// Authenticate against Alibaba using RRSA. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAlibabaAuthRrsa { #[serde(rename = "oidcProviderArn")] pub oidc_provider_arn: String, @@ -384,7 +385,7 @@ pub struct SecretStoreProviderAlibabaAuthRrsa { } /// AlibabaAuthSecretRef holds secret references for Alibaba credentials. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAlibabaAuthSecretRef { /// The AccessKeyID is used for authentication #[serde(rename = "accessKeyIDSecretRef")] @@ -395,7 +396,7 @@ pub struct SecretStoreProviderAlibabaAuthSecretRef { } /// The AccessKeyID is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAlibabaAuthSecretRefAccessKeyIdSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -411,7 +412,7 @@ pub struct SecretStoreProviderAlibabaAuthSecretRefAccessKeyIdSecretRef { } /// The AccessKeySecret is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAlibabaAuthSecretRefAccessKeySecretSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -461,7 +462,7 @@ pub struct SecretStoreProviderAws { /// Auth defines the information necessary to authenticate against AWS /// if not set aws sdk will infer credentials from your environment /// see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAwsAuth { /// Authenticate against AWS using service account tokens. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -473,7 +474,7 @@ pub struct SecretStoreProviderAwsAuth { } /// Authenticate against AWS using service account tokens. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAwsAuthJwt { /// A reference to a ServiceAccount resource. #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceAccountRef")] @@ -481,7 +482,7 @@ pub struct SecretStoreProviderAwsAuthJwt { } /// A reference to a ServiceAccount resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAwsAuthJwtServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -498,7 +499,7 @@ pub struct SecretStoreProviderAwsAuthJwtServiceAccountRef { /// AWSAuthSecretRef holds secret references for AWS credentials /// both AccessKeyID and SecretAccessKey must be defined in order to properly authenticate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAwsAuthSecretRef { /// The AccessKeyID is used for authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessKeyIDSecretRef")] @@ -514,7 +515,7 @@ pub struct SecretStoreProviderAwsAuthSecretRef { } /// The AccessKeyID is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAwsAuthSecretRefAccessKeyIdSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -530,7 +531,7 @@ pub struct SecretStoreProviderAwsAuthSecretRefAccessKeyIdSecretRef { } /// The SecretAccessKey is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAwsAuthSecretRefSecretAccessKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -548,7 +549,7 @@ pub struct SecretStoreProviderAwsAuthSecretRefSecretAccessKeySecretRef { /// The SessionToken used for authentication /// This must be defined if AccessKeyID and SecretAccessKey are temporary credentials /// see: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAwsAuthSecretRefSessionTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -564,7 +565,7 @@ pub struct SecretStoreProviderAwsAuthSecretRefSessionTokenSecretRef { } /// SecretsManager defines how the provider behaves when interacting with AWS SecretsManager -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAwsSecretsManager { /// Specifies whether to delete the secret without any recovery window. You /// can't use both this parameter and RecoveryWindowInDays in the same call. @@ -589,14 +590,14 @@ pub enum SecretStoreProviderAwsService { ParameterStore, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAwsSessionTags { pub key: String, pub value: String, } /// AzureKV configures this store to sync secrets using Azure Key Vault provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAzurekv { /// Auth configures how the operator authenticates with Azure. Required for ServicePrincipal auth type. Optional for WorkloadIdentity. #[serde(default, skip_serializing_if = "Option::is_none", rename = "authSecretRef")] @@ -629,7 +630,7 @@ pub struct SecretStoreProviderAzurekv { } /// Auth configures how the operator authenticates with Azure. Required for ServicePrincipal auth type. Optional for WorkloadIdentity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAzurekvAuthSecretRef { /// The Azure ClientCertificate of the service principle used for authentication. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientCertificate")] @@ -646,7 +647,7 @@ pub struct SecretStoreProviderAzurekvAuthSecretRef { } /// The Azure ClientCertificate of the service principle used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAzurekvAuthSecretRefClientCertificate { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -662,7 +663,7 @@ pub struct SecretStoreProviderAzurekvAuthSecretRefClientCertificate { } /// The Azure clientId of the service principle or managed identity used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAzurekvAuthSecretRefClientId { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -678,7 +679,7 @@ pub struct SecretStoreProviderAzurekvAuthSecretRefClientId { } /// The Azure ClientSecret of the service principle used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAzurekvAuthSecretRefClientSecret { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -694,7 +695,7 @@ pub struct SecretStoreProviderAzurekvAuthSecretRefClientSecret { } /// The Azure tenantId of the managed identity used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAzurekvAuthSecretRefTenantId { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -729,7 +730,7 @@ pub enum SecretStoreProviderAzurekvEnvironmentType { /// ServiceAccountRef specified the service account /// that should be used when authenticating with WorkloadIdentity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderAzurekvServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -745,7 +746,7 @@ pub struct SecretStoreProviderAzurekvServiceAccountRef { } /// Chef configures this store to sync secrets with chef server -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderChef { /// Auth defines the information necessary to authenticate against chef Server pub auth: SecretStoreProviderChefAuth, @@ -757,7 +758,7 @@ pub struct SecretStoreProviderChef { } /// Auth defines the information necessary to authenticate against chef Server -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderChefAuth { /// ChefAuthSecretRef holds secret references for chef server login credentials. #[serde(rename = "secretRef")] @@ -765,7 +766,7 @@ pub struct SecretStoreProviderChefAuth { } /// ChefAuthSecretRef holds secret references for chef server login credentials. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderChefAuthSecretRef { /// SecretKey is the Signing Key in PEM format, used for authentication. #[serde(rename = "privateKeySecretRef")] @@ -773,7 +774,7 @@ pub struct SecretStoreProviderChefAuthSecretRef { } /// SecretKey is the Signing Key in PEM format, used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderChefAuthSecretRefPrivateKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -789,7 +790,7 @@ pub struct SecretStoreProviderChefAuthSecretRefPrivateKeySecretRef { } /// Conjur configures this store to sync secrets using conjur provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderConjur { pub auth: SecretStoreProviderConjurAuth, #[serde(default, skip_serializing_if = "Option::is_none", rename = "caBundle")] @@ -802,7 +803,7 @@ pub struct SecretStoreProviderConjur { pub url: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderConjurAuth { #[serde(default, skip_serializing_if = "Option::is_none")] pub apikey: Option, @@ -810,7 +811,7 @@ pub struct SecretStoreProviderConjurAuth { pub jwt: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderConjurAuthApikey { pub account: String, /// A reference to a specific 'key' within a Secret resource, @@ -825,7 +826,7 @@ pub struct SecretStoreProviderConjurAuthApikey { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderConjurAuthApikeyApiKeyRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -842,7 +843,7 @@ pub struct SecretStoreProviderConjurAuthApikeyApiKeyRef { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderConjurAuthApikeyUserRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -857,7 +858,7 @@ pub struct SecretStoreProviderConjurAuthApikeyUserRef { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderConjurAuthJwt { pub account: String, /// Optional HostID for JWT authentication. This may be used depending @@ -879,7 +880,7 @@ pub struct SecretStoreProviderConjurAuthJwt { /// Optional SecretRef that refers to a key in a Secret resource containing JWT token to /// authenticate with Conjur using the JWT authentication method. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderConjurAuthJwtSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -896,7 +897,7 @@ pub struct SecretStoreProviderConjurAuthJwtSecretRef { /// Optional ServiceAccountRef specifies the Kubernetes service account for which to request /// a token for with the `TokenRequest` API. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderConjurAuthJwtServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -941,7 +942,7 @@ pub enum SecretStoreProviderConjurCaProviderType { /// Delinea DevOps Secrets Vault /// https://docs.delinea.com/online-help/products/devops-secrets-vault/current -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderDelinea { /// ClientID is the non-secret part of the credential. #[serde(rename = "clientId")] @@ -962,7 +963,7 @@ pub struct SecretStoreProviderDelinea { } /// ClientID is the non-secret part of the credential. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderDelineaClientId { /// SecretRef references a key in a secret that will be used as value. #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretRef")] @@ -973,7 +974,7 @@ pub struct SecretStoreProviderDelineaClientId { } /// SecretRef references a key in a secret that will be used as value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderDelineaClientIdSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -989,7 +990,7 @@ pub struct SecretStoreProviderDelineaClientIdSecretRef { } /// ClientSecret is the secret part of the credential. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderDelineaClientSecret { /// SecretRef references a key in a secret that will be used as value. #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretRef")] @@ -1000,7 +1001,7 @@ pub struct SecretStoreProviderDelineaClientSecret { } /// SecretRef references a key in a secret that will be used as value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderDelineaClientSecretSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1016,7 +1017,7 @@ pub struct SecretStoreProviderDelineaClientSecretSecretRef { } /// Doppler configures this store to sync secrets using the Doppler provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderDoppler { /// Auth configures how the Operator authenticates with the Doppler API pub auth: SecretStoreProviderDopplerAuth, @@ -1035,13 +1036,13 @@ pub struct SecretStoreProviderDoppler { } /// Auth configures how the Operator authenticates with the Doppler API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderDopplerAuth { #[serde(rename = "secretRef")] pub secret_ref: SecretStoreProviderDopplerAuthSecretRef, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderDopplerAuthSecretRef { /// The DopplerToken is used for authentication. /// See https://docs.doppler.com/reference/api#authentication for auth token types. @@ -1053,7 +1054,7 @@ pub struct SecretStoreProviderDopplerAuthSecretRef { /// The DopplerToken is used for authentication. /// See https://docs.doppler.com/reference/api#authentication for auth token types. /// The Key attribute defaults to dopplerToken if not specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderDopplerAuthSecretRefDopplerToken { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1101,12 +1102,12 @@ pub enum SecretStoreProviderDopplerNameTransformer { } /// Fake configures a store with static key/value pairs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderFake { pub data: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderFakeData { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1119,7 +1120,7 @@ pub struct SecretStoreProviderFakeData { } /// Fortanix configures this store to sync secrets using the Fortanix provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderFortanix { /// APIKey is the API token to access SDKMS Applications. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiKey")] @@ -1130,7 +1131,7 @@ pub struct SecretStoreProviderFortanix { } /// APIKey is the API token to access SDKMS Applications. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderFortanixApiKey { /// SecretRef is a reference to a secret containing the SDKMS API Key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretRef")] @@ -1138,7 +1139,7 @@ pub struct SecretStoreProviderFortanixApiKey { } /// SecretRef is a reference to a secret containing the SDKMS API Key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderFortanixApiKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1154,7 +1155,7 @@ pub struct SecretStoreProviderFortanixApiKeySecretRef { } /// GCPSM configures this store to sync secrets using Google Cloud Platform Secret Manager provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderGcpsm { /// Auth defines the information necessary to authenticate against GCP #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1165,7 +1166,7 @@ pub struct SecretStoreProviderGcpsm { } /// Auth defines the information necessary to authenticate against GCP -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderGcpsmAuth { #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretRef")] pub secret_ref: Option, @@ -1173,7 +1174,7 @@ pub struct SecretStoreProviderGcpsmAuth { pub workload_identity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderGcpsmAuthSecretRef { /// The SecretAccessKey is used for authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretAccessKeySecretRef")] @@ -1181,7 +1182,7 @@ pub struct SecretStoreProviderGcpsmAuthSecretRef { } /// The SecretAccessKey is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderGcpsmAuthSecretRefSecretAccessKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1196,7 +1197,7 @@ pub struct SecretStoreProviderGcpsmAuthSecretRefSecretAccessKeySecretRef { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderGcpsmAuthWorkloadIdentity { #[serde(rename = "clusterLocation")] pub cluster_location: String, @@ -1210,7 +1211,7 @@ pub struct SecretStoreProviderGcpsmAuthWorkloadIdentity { } /// A reference to a ServiceAccount resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderGcpsmAuthWorkloadIdentityServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -1226,7 +1227,7 @@ pub struct SecretStoreProviderGcpsmAuthWorkloadIdentityServiceAccountRef { } /// GitLab configures this store to sync secrets using GitLab Variables provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderGitlab { /// Auth configures how secret-manager authenticates with a GitLab instance. pub auth: SecretStoreProviderGitlabAuth, @@ -1248,13 +1249,13 @@ pub struct SecretStoreProviderGitlab { } /// Auth configures how secret-manager authenticates with a GitLab instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderGitlabAuth { #[serde(rename = "SecretRef")] pub secret_ref: SecretStoreProviderGitlabAuthSecretRef, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderGitlabAuthSecretRef { /// AccessToken is used for authentication. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessToken")] @@ -1262,7 +1263,7 @@ pub struct SecretStoreProviderGitlabAuthSecretRef { } /// AccessToken is used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderGitlabAuthSecretRefAccessToken { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1278,7 +1279,7 @@ pub struct SecretStoreProviderGitlabAuthSecretRefAccessToken { } /// IBM configures this store to sync secrets using IBM Cloud provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderIbm { /// Auth configures how secret-manager authenticates with the IBM secrets manager. pub auth: SecretStoreProviderIbmAuth, @@ -1288,7 +1289,7 @@ pub struct SecretStoreProviderIbm { } /// Auth configures how secret-manager authenticates with the IBM secrets manager. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderIbmAuth { /// IBM Container-based auth with IAM Trusted Profile. #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerAuth")] @@ -1298,7 +1299,7 @@ pub struct SecretStoreProviderIbmAuth { } /// IBM Container-based auth with IAM Trusted Profile. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderIbmAuthContainerAuth { #[serde(default, skip_serializing_if = "Option::is_none", rename = "iamEndpoint")] pub iam_endpoint: Option, @@ -1309,7 +1310,7 @@ pub struct SecretStoreProviderIbmAuthContainerAuth { pub token_location: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderIbmAuthSecretRef { /// The SecretAccessKey is used for authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretApiKeySecretRef")] @@ -1317,7 +1318,7 @@ pub struct SecretStoreProviderIbmAuthSecretRef { } /// The SecretAccessKey is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderIbmAuthSecretRefSecretApiKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1333,7 +1334,7 @@ pub struct SecretStoreProviderIbmAuthSecretRefSecretApiKeySecretRef { } /// KeeperSecurity configures this store to sync secrets using the KeeperSecurity provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderKeepersecurity { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. @@ -1345,7 +1346,7 @@ pub struct SecretStoreProviderKeepersecurity { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderKeepersecurityAuthRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1361,7 +1362,7 @@ pub struct SecretStoreProviderKeepersecurityAuthRef { } /// Kubernetes configures this store to sync secrets using a Kubernetes cluster provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderKubernetes { /// Auth configures how secret-manager authenticates with a Kubernetes instance. pub auth: SecretStoreProviderKubernetesAuth, @@ -1374,7 +1375,7 @@ pub struct SecretStoreProviderKubernetes { } /// Auth configures how secret-manager authenticates with a Kubernetes instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderKubernetesAuth { /// has both clientCert and clientKey as secretKeySelector #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1388,7 +1389,7 @@ pub struct SecretStoreProviderKubernetesAuth { } /// has both clientCert and clientKey as secretKeySelector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderKubernetesAuthCert { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. @@ -1402,7 +1403,7 @@ pub struct SecretStoreProviderKubernetesAuthCert { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderKubernetesAuthCertClientCert { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1419,7 +1420,7 @@ pub struct SecretStoreProviderKubernetesAuthCertClientCert { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderKubernetesAuthCertClientKey { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1435,7 +1436,7 @@ pub struct SecretStoreProviderKubernetesAuthCertClientKey { } /// points to a service account that should be used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderKubernetesAuthServiceAccount { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -1451,7 +1452,7 @@ pub struct SecretStoreProviderKubernetesAuthServiceAccount { } /// use static token to authenticate with -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderKubernetesAuthToken { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. @@ -1461,7 +1462,7 @@ pub struct SecretStoreProviderKubernetesAuthToken { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderKubernetesAuthTokenBearerToken { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1477,7 +1478,7 @@ pub struct SecretStoreProviderKubernetesAuthTokenBearerToken { } /// configures the Kubernetes server Address. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderKubernetesServer { /// CABundle is a base64-encoded CA certificate #[serde(default, skip_serializing_if = "Option::is_none", rename = "caBundle")] @@ -1515,7 +1516,7 @@ pub enum SecretStoreProviderKubernetesServerCaProviderType { } /// Onboardbase configures this store to sync secrets using the Onboardbase provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderOnboardbase { /// APIHost use this to configure the host url for the API for selfhosted installation, default is https://public.onboardbase.com/api/v1/ #[serde(rename = "apiHost")] @@ -1529,7 +1530,7 @@ pub struct SecretStoreProviderOnboardbase { } /// Auth configures how the Operator authenticates with the Onboardbase API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderOnboardbaseAuth { /// OnboardbaseAPIKey is the APIKey generated by an admin account. /// It is used to recognize and authorize access to a project and environment within onboardbase @@ -1542,7 +1543,7 @@ pub struct SecretStoreProviderOnboardbaseAuth { /// OnboardbaseAPIKey is the APIKey generated by an admin account. /// It is used to recognize and authorize access to a project and environment within onboardbase -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderOnboardbaseAuthApiKeyRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1558,7 +1559,7 @@ pub struct SecretStoreProviderOnboardbaseAuthApiKeyRef { } /// OnboardbasePasscode is the passcode attached to the API Key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderOnboardbaseAuthPasscodeRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1574,7 +1575,7 @@ pub struct SecretStoreProviderOnboardbaseAuthPasscodeRef { } /// OnePassword configures this store to sync secrets using the 1Password Cloud provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderOnepassword { /// Auth defines the information necessary to authenticate against OnePassword Connect Server pub auth: SecretStoreProviderOnepasswordAuth, @@ -1586,7 +1587,7 @@ pub struct SecretStoreProviderOnepassword { } /// Auth defines the information necessary to authenticate against OnePassword Connect Server -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderOnepasswordAuth { /// OnePasswordAuthSecretRef holds secret references for 1Password credentials. #[serde(rename = "secretRef")] @@ -1594,7 +1595,7 @@ pub struct SecretStoreProviderOnepasswordAuth { } /// OnePasswordAuthSecretRef holds secret references for 1Password credentials. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderOnepasswordAuthSecretRef { /// The ConnectToken is used for authentication to a 1Password Connect Server. #[serde(rename = "connectTokenSecretRef")] @@ -1602,7 +1603,7 @@ pub struct SecretStoreProviderOnepasswordAuthSecretRef { } /// The ConnectToken is used for authentication to a 1Password Connect Server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderOnepasswordAuthSecretRefConnectTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1618,7 +1619,7 @@ pub struct SecretStoreProviderOnepasswordAuthSecretRefConnectTokenSecretRef { } /// Oracle configures this store to sync secrets using Oracle Vault provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderOracle { /// Auth configures how secret-manager authenticates with the Oracle Vault. /// If empty, use the instance principal, otherwise the user credentials specified in Auth. @@ -1649,7 +1650,7 @@ pub struct SecretStoreProviderOracle { /// Auth configures how secret-manager authenticates with the Oracle Vault. /// If empty, use the instance principal, otherwise the user credentials specified in Auth. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderOracleAuth { /// SecretRef to pass through sensitive information. #[serde(rename = "secretRef")] @@ -1661,7 +1662,7 @@ pub struct SecretStoreProviderOracleAuth { } /// SecretRef to pass through sensitive information. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderOracleAuthSecretRef { /// Fingerprint is the fingerprint of the API private key. pub fingerprint: SecretStoreProviderOracleAuthSecretRefFingerprint, @@ -1670,7 +1671,7 @@ pub struct SecretStoreProviderOracleAuthSecretRef { } /// Fingerprint is the fingerprint of the API private key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderOracleAuthSecretRefFingerprint { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1686,7 +1687,7 @@ pub struct SecretStoreProviderOracleAuthSecretRefFingerprint { } /// PrivateKey is the user's API Signing Key in PEM format, used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderOracleAuthSecretRefPrivatekey { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1713,7 +1714,7 @@ pub enum SecretStoreProviderOraclePrincipalType { /// ServiceAccountRef specified the service account /// that should be used when authenticating with WorkloadIdentity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderOracleServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -1728,7 +1729,7 @@ pub struct SecretStoreProviderOracleServiceAccountRef { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderPassbolt { /// Auth defines the information necessary to authenticate against Passbolt Server pub auth: SecretStoreProviderPassboltAuth, @@ -1737,7 +1738,7 @@ pub struct SecretStoreProviderPassbolt { } /// Auth defines the information necessary to authenticate against Passbolt Server -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderPassboltAuth { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. @@ -1751,7 +1752,7 @@ pub struct SecretStoreProviderPassboltAuth { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderPassboltAuthPasswordSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1768,7 +1769,7 @@ pub struct SecretStoreProviderPassboltAuthPasswordSecretRef { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderPassboltAuthPrivateKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1784,7 +1785,7 @@ pub struct SecretStoreProviderPassboltAuthPrivateKeySecretRef { } /// Configures a store to sync secrets with a Password Depot instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderPassworddepot { /// Auth configures how secret-manager authenticates with a Password Depot instance. pub auth: SecretStoreProviderPassworddepotAuth, @@ -1795,13 +1796,13 @@ pub struct SecretStoreProviderPassworddepot { } /// Auth configures how secret-manager authenticates with a Password Depot instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderPassworddepotAuth { #[serde(rename = "secretRef")] pub secret_ref: SecretStoreProviderPassworddepotAuthSecretRef, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderPassworddepotAuthSecretRef { /// Username / Password is used for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1809,7 +1810,7 @@ pub struct SecretStoreProviderPassworddepotAuthSecretRef { } /// Username / Password is used for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderPassworddepotAuthSecretRefCredentials { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1825,7 +1826,7 @@ pub struct SecretStoreProviderPassworddepotAuthSecretRefCredentials { } /// Pulumi configures this store to sync secrets using the Pulumi provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderPulumi { /// AccessToken is the access tokens to sign in to the Pulumi Cloud Console. #[serde(rename = "accessToken")] @@ -1844,7 +1845,7 @@ pub struct SecretStoreProviderPulumi { } /// AccessToken is the access tokens to sign in to the Pulumi Cloud Console. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderPulumiAccessToken { /// SecretRef is a reference to a secret containing the Pulumi API token. #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretRef")] @@ -1852,7 +1853,7 @@ pub struct SecretStoreProviderPulumiAccessToken { } /// SecretRef is a reference to a secret containing the Pulumi API token. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderPulumiAccessTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1868,7 +1869,7 @@ pub struct SecretStoreProviderPulumiAccessTokenSecretRef { } /// Scaleway -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderScaleway { /// AccessKey is the non-secret part of the api key. #[serde(rename = "accessKey")] @@ -1887,7 +1888,7 @@ pub struct SecretStoreProviderScaleway { } /// AccessKey is the non-secret part of the api key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderScalewayAccessKey { /// SecretRef references a key in a secret that will be used as value. #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretRef")] @@ -1898,7 +1899,7 @@ pub struct SecretStoreProviderScalewayAccessKey { } /// SecretRef references a key in a secret that will be used as value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderScalewayAccessKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1914,7 +1915,7 @@ pub struct SecretStoreProviderScalewayAccessKeySecretRef { } /// SecretKey is the non-secret part of the api key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderScalewaySecretKey { /// SecretRef references a key in a secret that will be used as value. #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretRef")] @@ -1925,7 +1926,7 @@ pub struct SecretStoreProviderScalewaySecretKey { } /// SecretRef references a key in a secret that will be used as value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderScalewaySecretKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1941,7 +1942,7 @@ pub struct SecretStoreProviderScalewaySecretKeySecretRef { } /// Senhasegura configures this store to sync secrets using senhasegura provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderSenhasegura { /// Auth defines parameters to authenticate in senhasegura pub auth: SecretStoreProviderSenhaseguraAuth, @@ -1955,7 +1956,7 @@ pub struct SecretStoreProviderSenhasegura { } /// Auth defines parameters to authenticate in senhasegura -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderSenhaseguraAuth { #[serde(rename = "clientId")] pub client_id: String, @@ -1967,7 +1968,7 @@ pub struct SecretStoreProviderSenhaseguraAuth { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderSenhaseguraAuthClientSecretSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -1983,7 +1984,7 @@ pub struct SecretStoreProviderSenhaseguraAuthClientSecretSecretRef { } /// Vault configures this store to sync secrets using Hashi provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVault { /// Auth configures how secret-manager authenticates with the Vault server. pub auth: SecretStoreProviderVaultAuth, @@ -2035,7 +2036,7 @@ pub struct SecretStoreProviderVault { } /// Auth configures how secret-manager authenticates with the Vault server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuth { /// AppRole authenticates with Vault using the App Role auth mechanism, /// with the role and secret stored in a Kubernetes Secret resource. @@ -2078,7 +2079,7 @@ pub struct SecretStoreProviderVaultAuth { /// AppRole authenticates with Vault using the App Role auth mechanism, /// with the role and secret stored in a Kubernetes Secret resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthAppRole { /// Path where the App Role authentication backend is mounted /// in Vault, e.g: "approle" @@ -2105,7 +2106,7 @@ pub struct SecretStoreProviderVaultAuthAppRole { /// to authenticate with Vault. /// The `key` field must be specified and denotes which entry within the Secret /// resource is used as the app role id. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthAppRoleRoleRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2124,7 +2125,7 @@ pub struct SecretStoreProviderVaultAuthAppRoleRoleRef { /// to authenticate with Vault. /// The `key` field must be specified and denotes which entry within the Secret /// resource is used as the app role secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthAppRoleSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2141,7 +2142,7 @@ pub struct SecretStoreProviderVaultAuthAppRoleSecretRef { /// Cert authenticates with TLS Certificates by passing client certificate, private key and ca certificate /// Cert authentication method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthCert { /// ClientCert is a certificate to authenticate using the Cert Vault /// authentication method @@ -2155,7 +2156,7 @@ pub struct SecretStoreProviderVaultAuthCert { /// ClientCert is a certificate to authenticate using the Cert Vault /// authentication method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthCertClientCert { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2172,7 +2173,7 @@ pub struct SecretStoreProviderVaultAuthCertClientCert { /// SecretRef to a key in a Secret resource containing client private key to /// authenticate with Vault using the Cert authentication method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthCertSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2189,7 +2190,7 @@ pub struct SecretStoreProviderVaultAuthCertSecretRef { /// Iam authenticates with vault by passing a special AWS request signed with AWS IAM credentials /// AWS IAM authentication method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthIam { /// AWS External ID set on assumed IAM roles #[serde(default, skip_serializing_if = "Option::is_none", rename = "externalID")] @@ -2218,7 +2219,7 @@ pub struct SecretStoreProviderVaultAuthIam { } /// Specify a service account with IRSA enabled -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthIamJwt { /// A reference to a ServiceAccount resource. #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceAccountRef")] @@ -2226,7 +2227,7 @@ pub struct SecretStoreProviderVaultAuthIamJwt { } /// A reference to a ServiceAccount resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthIamJwtServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -2242,7 +2243,7 @@ pub struct SecretStoreProviderVaultAuthIamJwtServiceAccountRef { } /// Specify credentials in a Secret object -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthIamSecretRef { /// The AccessKeyID is used for authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessKeyIDSecretRef")] @@ -2258,7 +2259,7 @@ pub struct SecretStoreProviderVaultAuthIamSecretRef { } /// The AccessKeyID is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthIamSecretRefAccessKeyIdSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2274,7 +2275,7 @@ pub struct SecretStoreProviderVaultAuthIamSecretRefAccessKeyIdSecretRef { } /// The SecretAccessKey is used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthIamSecretRefSecretAccessKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2292,7 +2293,7 @@ pub struct SecretStoreProviderVaultAuthIamSecretRefSecretAccessKeySecretRef { /// The SessionToken used for authentication /// This must be defined if AccessKeyID and SecretAccessKey are temporary credentials /// see: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthIamSecretRefSessionTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2309,7 +2310,7 @@ pub struct SecretStoreProviderVaultAuthIamSecretRefSessionTokenSecretRef { /// Jwt authenticates with Vault by passing role and JWT token using the /// JWT/OIDC authentication method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthJwt { /// Optional ServiceAccountToken specifies the Kubernetes service account for which to request /// a token for with the `TokenRequest` API. @@ -2330,7 +2331,7 @@ pub struct SecretStoreProviderVaultAuthJwt { /// Optional ServiceAccountToken specifies the Kubernetes service account for which to request /// a token for with the `TokenRequest` API. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthJwtKubernetesServiceAccountToken { /// Optional audiences field that will be used to request a temporary Kubernetes service /// account token for the service account referenced by `serviceAccountRef`. @@ -2351,7 +2352,7 @@ pub struct SecretStoreProviderVaultAuthJwtKubernetesServiceAccountToken { } /// Service account field containing the name of a kubernetes ServiceAccount. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthJwtKubernetesServiceAccountTokenServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -2368,7 +2369,7 @@ pub struct SecretStoreProviderVaultAuthJwtKubernetesServiceAccountTokenServiceAc /// Optional SecretRef that refers to a key in a Secret resource containing JWT token to /// authenticate with Vault using the JWT/OIDC authentication method. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthJwtSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2385,7 +2386,7 @@ pub struct SecretStoreProviderVaultAuthJwtSecretRef { /// Kubernetes authenticates with Vault by passing the ServiceAccount /// token stored in the named Secret resource to the Vault server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthKubernetes { /// Path where the Kubernetes authentication backend is mounted in Vault, e.g: /// "kubernetes" @@ -2412,7 +2413,7 @@ pub struct SecretStoreProviderVaultAuthKubernetes { /// for authenticating with Vault. If a name is specified without a key, /// `token` is the default. If one is not specified, the one bound to /// the controller will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthKubernetesSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2431,7 +2432,7 @@ pub struct SecretStoreProviderVaultAuthKubernetesSecretRef { /// If the service account is specified, the service account secret token JWT will be used /// for authenticating with Vault. If the service account selector is not supplied, /// the secretRef will be used instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthKubernetesServiceAccountRef { /// Audience specifies the `aud` claim for the service account token /// If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity @@ -2448,7 +2449,7 @@ pub struct SecretStoreProviderVaultAuthKubernetesServiceAccountRef { /// Ldap authenticates with Vault by passing username/password pair using /// the LDAP authentication method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthLdap { /// Path where the LDAP authentication backend is mounted /// in Vault, e.g: "ldap" @@ -2466,7 +2467,7 @@ pub struct SecretStoreProviderVaultAuthLdap { /// SecretRef to a key in a Secret resource containing password for the LDAP /// user used to authenticate with Vault using the LDAP authentication /// method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthLdapSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2482,7 +2483,7 @@ pub struct SecretStoreProviderVaultAuthLdapSecretRef { } /// TokenSecretRef authenticates with Vault by presenting a token. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthTokenSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2498,7 +2499,7 @@ pub struct SecretStoreProviderVaultAuthTokenSecretRef { } /// UserPass authenticates with Vault by passing username/password pair -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthUserPass { /// Path where the UserPassword authentication backend is mounted /// in Vault, e.g: "user" @@ -2516,7 +2517,7 @@ pub struct SecretStoreProviderVaultAuthUserPass { /// SecretRef to a key in a Secret resource containing password for the /// user used to authenticate with Vault using the UserPass authentication /// method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultAuthUserPassSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2560,7 +2561,7 @@ pub enum SecretStoreProviderVaultCaProviderType { /// This parameter is ignored for plain HTTP protocol connection. /// It's worth noting this configuration is different from the "TLS certificates auth method", /// which is available under the `auth.cert` section. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultTls { /// CertSecretRef is a certificate added to the transport layer /// when communicating with the Vault server. @@ -2577,7 +2578,7 @@ pub struct SecretStoreProviderVaultTls { /// CertSecretRef is a certificate added to the transport layer /// when communicating with the Vault server. /// If no key for the Secret is specified, external-secret will default to 'tls.crt'. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultTlsCertSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2595,7 +2596,7 @@ pub struct SecretStoreProviderVaultTlsCertSecretRef { /// KeySecretRef to a key in a Secret resource containing client private key /// added to the transport layer when communicating with the Vault server. /// If no key for the Secret is specified, external-secret will default to 'tls.key'. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderVaultTlsKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2620,7 +2621,7 @@ pub enum SecretStoreProviderVaultVersion { } /// Webhook configures this store to sync secrets using a generic templated webhook -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderWebhook { /// Body #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2677,14 +2678,14 @@ pub enum SecretStoreProviderWebhookCaProviderType { } /// Result formatting -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderWebhookResult { /// Json path of return value #[serde(default, skip_serializing_if = "Option::is_none", rename = "jsonPath")] pub json_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderWebhookSecrets { /// Name of this secret in templates pub name: String, @@ -2694,7 +2695,7 @@ pub struct SecretStoreProviderWebhookSecrets { } /// Secret ref to fill in credentials -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderWebhookSecretsSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2710,7 +2711,7 @@ pub struct SecretStoreProviderWebhookSecretsSecretRef { } /// YandexCertificateManager configures this store to sync secrets using Yandex Certificate Manager provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderYandexcertificatemanager { /// Yandex.Cloud API endpoint (e.g. 'api.cloud.yandex.net:443') #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiEndpoint")] @@ -2723,7 +2724,7 @@ pub struct SecretStoreProviderYandexcertificatemanager { } /// Auth defines the information necessary to authenticate against Yandex Certificate Manager -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderYandexcertificatemanagerAuth { /// The authorized key used for authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "authorizedKeySecretRef")] @@ -2731,7 +2732,7 @@ pub struct SecretStoreProviderYandexcertificatemanagerAuth { } /// The authorized key used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderYandexcertificatemanagerAuthAuthorizedKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2747,7 +2748,7 @@ pub struct SecretStoreProviderYandexcertificatemanagerAuthAuthorizedKeySecretRef } /// The provider for the CA bundle to use to validate Yandex.Cloud server certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderYandexcertificatemanagerCaProvider { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. @@ -2757,7 +2758,7 @@ pub struct SecretStoreProviderYandexcertificatemanagerCaProvider { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderYandexcertificatemanagerCaProviderCertSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2773,7 +2774,7 @@ pub struct SecretStoreProviderYandexcertificatemanagerCaProviderCertSecretRef { } /// YandexLockbox configures this store to sync secrets using Yandex Lockbox provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderYandexlockbox { /// Yandex.Cloud API endpoint (e.g. 'api.cloud.yandex.net:443') #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiEndpoint")] @@ -2786,7 +2787,7 @@ pub struct SecretStoreProviderYandexlockbox { } /// Auth defines the information necessary to authenticate against Yandex Lockbox -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderYandexlockboxAuth { /// The authorized key used for authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "authorizedKeySecretRef")] @@ -2794,7 +2795,7 @@ pub struct SecretStoreProviderYandexlockboxAuth { } /// The authorized key used for authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderYandexlockboxAuthAuthorizedKeySecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2810,7 +2811,7 @@ pub struct SecretStoreProviderYandexlockboxAuthAuthorizedKeySecretRef { } /// The provider for the CA bundle to use to validate Yandex.Cloud server certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderYandexlockboxCaProvider { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. @@ -2820,7 +2821,7 @@ pub struct SecretStoreProviderYandexlockboxCaProvider { /// A reference to a specific 'key' within a Secret resource, /// In some instances, `key` is a required field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreProviderYandexlockboxCaProviderCertSecretRef { /// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be /// defaulted, in others it may be required. @@ -2836,7 +2837,7 @@ pub struct SecretStoreProviderYandexlockboxCaProviderCertSecretRef { } /// Used to configure http retries if failed -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreRetrySettings { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxRetries")] pub max_retries: Option, @@ -2845,7 +2846,7 @@ pub struct SecretStoreRetrySettings { } /// SecretStoreStatus defines the observed state of the SecretStore. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecretStoreStatus { /// SecretStoreCapabilities defines the possible operations a SecretStore can do. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/externaldata_gatekeeper_sh/v1alpha1/providers.rs b/kube-custom-resources-rs/src/externaldata_gatekeeper_sh/v1alpha1/providers.rs index daa70a3a9..27548a824 100644 --- a/kube-custom-resources-rs/src/externaldata_gatekeeper_sh/v1alpha1/providers.rs +++ b/kube-custom-resources-rs/src/externaldata_gatekeeper_sh/v1alpha1/providers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/externaldata.gatekeeper.sh/v1alpha1/providers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/externaldata.gatekeeper.sh/v1alpha1/providers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/externaldata_gatekeeper_sh/v1beta1/providers.rs b/kube-custom-resources-rs/src/externaldata_gatekeeper_sh/v1beta1/providers.rs index 1496863f0..ae2b5dc79 100644 --- a/kube-custom-resources-rs/src/externaldata_gatekeeper_sh/v1beta1/providers.rs +++ b/kube-custom-resources-rs/src/externaldata_gatekeeper_sh/v1beta1/providers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/externaldata.gatekeeper.sh/v1beta1/providers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/externaldata.gatekeeper.sh/v1beta1/providers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/externaldns_k8s_io/v1alpha1/dnsendpoints.rs b/kube-custom-resources-rs/src/externaldns_k8s_io/v1alpha1/dnsendpoints.rs index aa905aac0..4908902e4 100644 --- a/kube-custom-resources-rs/src/externaldns_k8s_io/v1alpha1/dnsendpoints.rs +++ b/kube-custom-resources-rs/src/externaldns_k8s_io/v1alpha1/dnsendpoints.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/external-dns/externaldns.k8s.io/v1alpha1/dnsendpoints.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/external-dns/externaldns.k8s.io/v1alpha1/dnsendpoints.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/externaldns_nginx_org/v1/dnsendpoints.rs b/kube-custom-resources-rs/src/externaldns_nginx_org/v1/dnsendpoints.rs index b2fc32514..114174eb5 100644 --- a/kube-custom-resources-rs/src/externaldns_nginx_org/v1/dnsendpoints.rs +++ b/kube-custom-resources-rs/src/externaldns_nginx_org/v1/dnsendpoints.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/externaldns.nginx.org/v1/dnsendpoints.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/externaldns.nginx.org/v1/dnsendpoints.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/flagger_app/v1beta1/alertproviders.rs b/kube-custom-resources-rs/src/flagger_app/v1beta1/alertproviders.rs index be59fc9bf..eb5c09800 100644 --- a/kube-custom-resources-rs/src/flagger_app/v1beta1/alertproviders.rs +++ b/kube-custom-resources-rs/src/flagger_app/v1beta1/alertproviders.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/flagger/flagger.app/v1beta1/alertproviders.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/flagger/flagger.app/v1beta1/alertproviders.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/flagger_app/v1beta1/canaries.rs b/kube-custom-resources-rs/src/flagger_app/v1beta1/canaries.rs index ffc5ad853..922d3cba0 100644 --- a/kube-custom-resources-rs/src/flagger_app/v1beta1/canaries.rs +++ b/kube-custom-resources-rs/src/flagger_app/v1beta1/canaries.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/flagger/flagger.app/v1beta1/canaries.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/flagger/flagger.app/v1beta1/canaries.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -60,7 +60,7 @@ pub struct CanarySpec { } /// Canary analysis for this canary -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryAnalysis { /// Alert list for this canary analysis #[serde(default, skip_serializing_if = "Option::is_none")] @@ -112,7 +112,7 @@ pub struct CanaryAnalysis { pub webhooks: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryAnalysisAlerts { /// Name of the this alert pub name: String, @@ -125,7 +125,7 @@ pub struct CanaryAnalysisAlerts { } /// Alert provider reference -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryAnalysisAlertsProviderRef { /// Name of the alert provider pub name: String, @@ -146,7 +146,7 @@ pub enum CanaryAnalysisAlertsSeverity { Error, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryAnalysisMatch { #[serde(default, skip_serializing_if = "Option::is_none")] pub headers: Option>, @@ -158,7 +158,7 @@ pub struct CanaryAnalysisMatch { pub source_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryAnalysisMatchHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub exact: Option, @@ -172,7 +172,7 @@ pub struct CanaryAnalysisMatchHeaders { } /// Query parameters for matching. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryAnalysisMatchQueryParams { #[serde(default, skip_serializing_if = "Option::is_none")] pub exact: Option, @@ -183,7 +183,7 @@ pub struct CanaryAnalysisMatchQueryParams { pub regex: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryAnalysisMetrics { /// Interval of the query #[serde(default, skip_serializing_if = "Option::is_none")] @@ -208,7 +208,7 @@ pub struct CanaryAnalysisMetrics { } /// Metric template reference -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryAnalysisMetricsTemplateRef { /// Name of this metric template pub name: String, @@ -218,7 +218,7 @@ pub struct CanaryAnalysisMetricsTemplateRef { } /// Range accepted for this metric -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryAnalysisMetricsThresholdRange { /// Max value accepted for this metric #[serde(default, skip_serializing_if = "Option::is_none")] @@ -229,7 +229,7 @@ pub struct CanaryAnalysisMetricsThresholdRange { } /// SessionAffinity represents the session affinity settings for a canary run. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryAnalysisSessionAffinity { /// CookieName is the key that will be used for the session affinity cookie. #[serde(rename = "cookieName")] @@ -239,7 +239,7 @@ pub struct CanaryAnalysisSessionAffinity { pub max_age: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryAnalysisWebhooks { /// Metadata (key-value pairs) for this webhook #[serde(default, skip_serializing_if = "Option::is_none")] @@ -304,7 +304,7 @@ pub enum CanaryAutoscalerRefKind { ScaledObject, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryAutoscalerRefPrimaryScalerReplicas { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxReplicas")] pub max_replicas: Option, @@ -343,7 +343,7 @@ pub enum CanaryRouteRefKind { } /// Kubernetes Service spec -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryService { /// Metadata to add to the apex service #[serde(default, skip_serializing_if = "Option::is_none")] @@ -416,7 +416,7 @@ pub struct CanaryService { } /// Metadata to add to the apex service -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceApex { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -425,7 +425,7 @@ pub struct CanaryServiceApex { } /// Metadata to add to the canary service -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceCanary { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -434,7 +434,7 @@ pub struct CanaryServiceCanary { } /// Istio Cross-Origin Resource Sharing policy (CORS) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceCorsPolicy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowCredentials")] pub allow_credentials: Option, @@ -455,7 +455,7 @@ pub struct CanaryServiceCorsPolicy { pub max_age: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceCorsPolicyAllowOrigins { #[serde(default, skip_serializing_if = "Option::is_none")] pub exact: Option, @@ -465,7 +465,7 @@ pub struct CanaryServiceCorsPolicyAllowOrigins { pub regex: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceGatewayRefs { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -481,7 +481,7 @@ pub struct CanaryServiceGatewayRefs { } /// Headers operations -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub request: Option, @@ -489,7 +489,7 @@ pub struct CanaryServiceHeaders { pub response: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceHeadersRequest { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -499,7 +499,7 @@ pub struct CanaryServiceHeadersRequest { pub set: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceHeadersResponse { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -509,7 +509,7 @@ pub struct CanaryServiceHeadersResponse { pub set: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceMatch { #[serde(default, skip_serializing_if = "Option::is_none")] pub authority: Option, @@ -546,7 +546,7 @@ pub struct CanaryServiceMatch { pub without_headers: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceMatchAuthority { #[serde(default, skip_serializing_if = "Option::is_none")] pub exact: Option, @@ -557,7 +557,7 @@ pub struct CanaryServiceMatchAuthority { pub regex: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceMatchHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub exact: Option, @@ -568,7 +568,7 @@ pub struct CanaryServiceMatchHeaders { pub regex: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceMatchMethod { #[serde(default, skip_serializing_if = "Option::is_none")] pub exact: Option, @@ -580,7 +580,7 @@ pub struct CanaryServiceMatchMethod { } /// Query parameters for matching. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceMatchQueryParams { #[serde(default, skip_serializing_if = "Option::is_none")] pub exact: Option, @@ -591,7 +591,7 @@ pub struct CanaryServiceMatchQueryParams { pub regex: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceMatchScheme { #[serde(default, skip_serializing_if = "Option::is_none")] pub exact: Option, @@ -602,7 +602,7 @@ pub struct CanaryServiceMatchScheme { pub regex: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceMatchUri { #[serde(default, skip_serializing_if = "Option::is_none")] pub exact: Option, @@ -614,7 +614,7 @@ pub struct CanaryServiceMatchUri { } /// withoutHeader has the same syntax with the header, but has opposite meaning. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceMatchWithoutHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub exact: Option, @@ -625,13 +625,13 @@ pub struct CanaryServiceMatchWithoutHeaders { pub regex: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceMirror { #[serde(default, skip_serializing_if = "Option::is_none", rename = "backendRef")] pub backend_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceMirrorBackendRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -645,7 +645,7 @@ pub struct CanaryServiceMirrorBackendRef { } /// Metadata to add to the primary service -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServicePrimary { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -654,7 +654,7 @@ pub struct CanaryServicePrimary { } /// Retry policy for HTTP requests -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceRetries { /// Number of retries for a given request #[serde(default, skip_serializing_if = "Option::is_none")] @@ -668,7 +668,7 @@ pub struct CanaryServiceRetries { } /// Rewrite HTTP URIs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceRewrite { #[serde(default, skip_serializing_if = "Option::is_none")] pub authority: Option, @@ -679,7 +679,7 @@ pub struct CanaryServiceRewrite { } /// Istio traffic policy -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceTrafficPolicy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "connectionPool")] pub connection_pool: Option, @@ -694,7 +694,7 @@ pub struct CanaryServiceTrafficPolicy { pub tls: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceTrafficPolicyConnectionPool { /// HTTP connection pool settings. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -702,7 +702,7 @@ pub struct CanaryServiceTrafficPolicyConnectionPool { } /// HTTP connection pool settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceTrafficPolicyConnectionPoolHttp { /// Specify if http1.1 connection should be upgraded to http2 for the associated destination. #[serde(default, skip_serializing_if = "Option::is_none", rename = "h2UpgradePolicy")] @@ -735,7 +735,7 @@ pub enum CanaryServiceTrafficPolicyConnectionPoolHttpH2UpgradePolicy { } /// Settings controlling the load balancer algorithms. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceTrafficPolicyLoadBalancer { #[serde(default, skip_serializing_if = "Option::is_none", rename = "consistentHash")] pub consistent_hash: Option, @@ -748,7 +748,7 @@ pub struct CanaryServiceTrafficPolicyLoadBalancer { pub warmup_duration_secs: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceTrafficPolicyLoadBalancerConsistentHash { /// Hash based on HTTP cookie. #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpCookie")] @@ -767,7 +767,7 @@ pub struct CanaryServiceTrafficPolicyLoadBalancerConsistentHash { } /// Hash based on HTTP cookie. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceTrafficPolicyLoadBalancerConsistentHashHttpCookie { /// Name of the cookie. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -780,7 +780,7 @@ pub struct CanaryServiceTrafficPolicyLoadBalancerConsistentHashHttpCookie { pub ttl: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceTrafficPolicyLoadBalancerLocalityLbSetting { /// Optional: only one of distribute or failover can be set. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -793,7 +793,7 @@ pub struct CanaryServiceTrafficPolicyLoadBalancerLocalityLbSetting { pub failover: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceTrafficPolicyLoadBalancerLocalityLbSettingDistribute { /// Originating locality, '/' separated, e.g. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -803,7 +803,7 @@ pub struct CanaryServiceTrafficPolicyLoadBalancerLocalityLbSettingDistribute { pub to: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceTrafficPolicyLoadBalancerLocalityLbSettingFailover { /// Originating region. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -828,7 +828,7 @@ pub enum CanaryServiceTrafficPolicyLoadBalancerSimple { } /// Settings controlling eviction of unhealthy hosts from the load balancing pool. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceTrafficPolicyOutlierDetection { /// Minimum ejection duration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "baseEjectionTime")] @@ -851,7 +851,7 @@ pub struct CanaryServiceTrafficPolicyOutlierDetection { } /// Istio TLS related settings for connections to the upstream service -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryServiceTrafficPolicyTls { #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCertificates")] pub ca_certificates: Option, @@ -918,7 +918,7 @@ pub enum CanaryUpstreamRefKind { } /// CanaryStatus defines the observed state of a canary. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CanaryStatus { /// Traffic weight routed to canary #[serde(default, skip_serializing_if = "Option::is_none", rename = "canaryWeight")] diff --git a/kube-custom-resources-rs/src/flagger_app/v1beta1/metrictemplates.rs b/kube-custom-resources-rs/src/flagger_app/v1beta1/metrictemplates.rs index fca97c420..4100195a5 100644 --- a/kube-custom-resources-rs/src/flagger_app/v1beta1/metrictemplates.rs +++ b/kube-custom-resources-rs/src/flagger_app/v1beta1/metrictemplates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/flagger/flagger.app/v1beta1/metrictemplates.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/flagger/flagger.app/v1beta1/metrictemplates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -43,7 +43,7 @@ pub struct MetricTemplateProvider { } /// Kubernetes secret reference containing the provider credentials -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MetricTemplateProviderSecretRef { /// Name of the Kubernetes secret pub name: String, diff --git a/kube-custom-resources-rs/src/flink_apache_org/v1beta1/flinkdeployments.rs b/kube-custom-resources-rs/src/flink_apache_org/v1beta1/flinkdeployments.rs index 3722b9bee..f5771f00b 100644 --- a/kube-custom-resources-rs/src/flink_apache_org/v1beta1/flinkdeployments.rs +++ b/kube-custom-resources-rs/src/flink_apache_org/v1beta1/flinkdeployments.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apache/flink-kubernetes-operator/flink.apache.org/v1beta1/flinkdeployments.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apache/flink-kubernetes-operator/flink.apache.org/v1beta1/flinkdeployments.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/flink_apache_org/v1beta1/flinksessionjobs.rs b/kube-custom-resources-rs/src/flink_apache_org/v1beta1/flinksessionjobs.rs index 97f830078..1d29309c5 100644 --- a/kube-custom-resources-rs/src/flink_apache_org/v1beta1/flinksessionjobs.rs +++ b/kube-custom-resources-rs/src/flink_apache_org/v1beta1/flinksessionjobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apache/flink-kubernetes-operator/flink.apache.org/v1beta1/flinksessionjobs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apache/flink-kubernetes-operator/flink.apache.org/v1beta1/flinksessionjobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/flow_volcano_sh/v1alpha1/jobflows.rs b/kube-custom-resources-rs/src/flow_volcano_sh/v1alpha1/jobflows.rs index fff9ae7a4..74e74b2d7 100644 --- a/kube-custom-resources-rs/src/flow_volcano_sh/v1alpha1/jobflows.rs +++ b/kube-custom-resources-rs/src/flow_volcano_sh/v1alpha1/jobflows.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/volcano-sh/volcano/flow.volcano.sh/v1alpha1/jobflows.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/volcano-sh/volcano/flow.volcano.sh/v1alpha1/jobflows.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/flow_volcano_sh/v1alpha1/jobtemplates.rs b/kube-custom-resources-rs/src/flow_volcano_sh/v1alpha1/jobtemplates.rs index 934779dfc..ee6645281 100644 --- a/kube-custom-resources-rs/src/flow_volcano_sh/v1alpha1/jobtemplates.rs +++ b/kube-custom-resources-rs/src/flow_volcano_sh/v1alpha1/jobtemplates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/volcano-sh/volcano/flow.volcano.sh/v1alpha1/jobtemplates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/volcano-sh/volcano/flow.volcano.sh/v1alpha1/jobtemplates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/flows_netobserv_io/v1alpha1/flowcollectors.rs b/kube-custom-resources-rs/src/flows_netobserv_io/v1alpha1/flowcollectors.rs index 17e04b3ee..095822084 100644 --- a/kube-custom-resources-rs/src/flows_netobserv_io/v1alpha1/flowcollectors.rs +++ b/kube-custom-resources-rs/src/flows_netobserv_io/v1alpha1/flowcollectors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1alpha1/flowcollectors.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1alpha1/flowcollectors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -59,7 +59,7 @@ pub struct FlowCollectorAgent { } /// ebpf describes the settings related to the eBPF-based flow reporter when the "agent.type" property is set to "EBPF". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpf { /// cacheActiveTimeout is the max period during which the reporter will aggregate flows before sending. Increasing `cacheMaxFlows` and `cacheActiveTimeout` can decrease the network traffic overhead and the CPU load, however you can expect higher memory consumption and an increased latency in the flow collection. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cacheActiveTimeout")] @@ -97,7 +97,7 @@ pub struct FlowCollectorAgentEbpf { } /// Debug allows setting some aspects of the internal configuration of the eBPF agent. This section is aimed exclusively for debugging and fine-grained performance optimizations (for example GOGC, GOMAXPROCS env vars). Users setting its values do it at their own risk. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfDebug { /// env allows passing custom environment variables to the NetObserv Agent. Useful for passing some very concrete performance-tuning options (such as GOGC, GOMAXPROCS) that shouldn't be publicly exposed as part of the FlowCollector descriptor, as they are only useful in edge debug and support scenarios. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -132,7 +132,7 @@ pub enum FlowCollectorAgentEbpfLogLevel { } /// resources are the compute resources required by this container. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -148,14 +148,14 @@ pub struct FlowCollectorAgentEbpfResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// ipfix describes the settings related to the IPFIX-based flow reporter when the "agent.type" property is set to "IPFIX". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentIpfix { /// cacheActiveTimeout is the max period during which the reporter will aggregate flows before sending #[serde(default, skip_serializing_if = "Option::is_none", rename = "cacheActiveTimeout")] @@ -178,7 +178,7 @@ pub struct FlowCollectorAgentIpfix { } /// clusterNetworkOperator defines the settings related to the OpenShift Cluster Network Operator, when available. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentIpfixClusterNetworkOperator { /// namespace where the config map is going to be deployed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -186,7 +186,7 @@ pub struct FlowCollectorAgentIpfixClusterNetworkOperator { } /// ovnKubernetes defines the settings of the OVN-Kubernetes CNI, when available. This configuration is used when using OVN's IPFIX exports, without OpenShift. When using OpenShift, refer to the `clusterNetworkOperator` property instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentIpfixOvnKubernetes { /// containerName defines the name of the container to configure for IPFIX. #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -209,7 +209,7 @@ pub enum FlowCollectorAgentType { } /// consolePlugin defines the settings related to the OpenShift Console plugin, when available. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePlugin { /// autoscaler spec of a horizontal pod autoscaler to set up for the plugin Deployment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -240,7 +240,7 @@ pub struct FlowCollectorConsolePlugin { } /// autoscaler spec of a horizontal pod autoscaler to set up for the plugin Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscaler { /// maxReplicas is the upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxReplicas")] @@ -257,7 +257,7 @@ pub struct FlowCollectorConsolePluginAutoscaler { } /// MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetrics { /// containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag. #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerResource")] @@ -280,7 +280,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetrics { } /// containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsContainerResource { /// container is the name of the container in the pods of the scaling target pub container: String, @@ -291,7 +291,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsContainerResource { } /// target specifies the target value for the given metric -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsContainerResourceTarget { /// averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] @@ -308,7 +308,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsContainerResourceTarget { } /// external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsExternal { /// metric identifies the target metric by name and selector pub metric: FlowCollectorConsolePluginAutoscalerMetricsExternalMetric, @@ -317,7 +317,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsExternal { } /// metric identifies the target metric by name and selector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsExternalMetric { /// name is the name of the given metric pub name: String, @@ -327,7 +327,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsExternalMetric { } /// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsExternalMetricSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -338,7 +338,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsExternalMetricSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsExternalMetricSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -350,7 +350,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsExternalMetricSelectorMatc } /// target specifies the target value for the given metric -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsExternalTarget { /// averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] @@ -367,7 +367,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsExternalTarget { } /// object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsObject { /// describedObject specifies the descriptions of a object,such as kind,name apiVersion #[serde(rename = "describedObject")] @@ -379,7 +379,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsObject { } /// describedObject specifies the descriptions of a object,such as kind,name apiVersion -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectDescribedObject { /// apiVersion is the API version of the referent #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -391,7 +391,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectDescribedObject { } /// metric identifies the target metric by name and selector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectMetric { /// name is the name of the given metric pub name: String, @@ -401,7 +401,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectMetric { } /// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectMetricSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -412,7 +412,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectMetricSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectMetricSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -424,7 +424,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectMetricSelectorMatchE } /// target specifies the target value for the given metric -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectTarget { /// averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] @@ -441,7 +441,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectTarget { } /// pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsPods { /// metric identifies the target metric by name and selector pub metric: FlowCollectorConsolePluginAutoscalerMetricsPodsMetric, @@ -450,7 +450,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsPods { } /// metric identifies the target metric by name and selector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsPodsMetric { /// name is the name of the given metric pub name: String, @@ -460,7 +460,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsPodsMetric { } /// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsPodsMetricSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -471,7 +471,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsPodsMetricSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsPodsMetricSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -483,7 +483,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsPodsMetricSelectorMatchExp } /// target specifies the target value for the given metric -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsPodsTarget { /// averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] @@ -500,7 +500,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsPodsTarget { } /// resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsResource { /// name is the name of the resource in question. pub name: String, @@ -509,7 +509,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsResource { } /// target specifies the target value for the given metric -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsResourceTarget { /// averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] @@ -562,7 +562,7 @@ pub enum FlowCollectorConsolePluginLogLevel { } /// portNaming defines the configuration of the port-to-service name translation -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginPortNaming { /// enable the console plugin port-to-service name translation #[serde(default, skip_serializing_if = "Option::is_none")] @@ -573,7 +573,7 @@ pub struct FlowCollectorConsolePluginPortNaming { } /// QuickFilter defines preset configuration for Console's quick filters -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginQuickFilters { /// default defines whether this filter should be active by default or not #[serde(default, skip_serializing_if = "Option::is_none")] @@ -585,7 +585,7 @@ pub struct FlowCollectorConsolePluginQuickFilters { } /// resources, in terms of compute resources, required by this container. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -601,7 +601,7 @@ pub struct FlowCollectorConsolePluginResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, @@ -631,7 +631,7 @@ pub struct FlowCollectorExporters { } /// IPFIX configuration, such as the IP address and port to send enriched IPFIX flows to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorExportersIpfix { /// Address of the IPFIX external receiver #[serde(rename = "targetHost")] @@ -654,7 +654,7 @@ pub enum FlowCollectorExportersIpfixTransport { } /// kafka configuration, such as address or topic, to send enriched flows to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorExportersKafka { /// address of the Kafka server pub address: String, @@ -669,7 +669,7 @@ pub struct FlowCollectorExportersKafka { } /// SASL authentication configuration. [Unsupported (*)]. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorExportersKafkaSasl { /// Reference to the secret or config map containing the client ID #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIDReference")] @@ -683,7 +683,7 @@ pub struct FlowCollectorExportersKafkaSasl { } /// Reference to the secret or config map containing the client ID -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorExportersKafkaSaslClientIdReference { /// File name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none")] @@ -709,7 +709,7 @@ pub enum FlowCollectorExportersKafkaSaslClientIdReferenceType { } /// Reference to the secret or config map containing the client secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorExportersKafkaSaslClientSecretReference { /// File name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none")] @@ -746,7 +746,7 @@ pub enum FlowCollectorExportersKafkaSaslType { } /// tls client configuration. When using TLS, verify that the address matches the Kafka port used for TLS, generally 9093. Note that, when eBPF agents are used, Kafka certificate needs to be copied in the agent namespace (by default it's netobserv-privileged). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorExportersKafkaTls { /// caCert defines the reference of the certificate for the Certificate Authority #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] @@ -763,7 +763,7 @@ pub struct FlowCollectorExportersKafkaTls { } /// caCert defines the reference of the certificate for the Certificate Authority -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorExportersKafkaTlsCaCert { /// certFile defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -792,7 +792,7 @@ pub enum FlowCollectorExportersKafkaTlsCaCertType { } /// userCert defines the user certificate reference, used for mTLS (you can ignore it when using regular, one-way TLS) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorExportersKafkaTlsUserCert { /// certFile defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -830,7 +830,7 @@ pub enum FlowCollectorExportersType { } /// kafka configuration, allowing to use Kafka as a broker as part of the flow collection pipeline. Available when the "spec.deploymentModel" is "KAFKA". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorKafka { /// address of the Kafka server pub address: String, @@ -845,7 +845,7 @@ pub struct FlowCollectorKafka { } /// SASL authentication configuration. [Unsupported (*)]. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorKafkaSasl { /// Reference to the secret or config map containing the client ID #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIDReference")] @@ -859,7 +859,7 @@ pub struct FlowCollectorKafkaSasl { } /// Reference to the secret or config map containing the client ID -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorKafkaSaslClientIdReference { /// File name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none")] @@ -885,7 +885,7 @@ pub enum FlowCollectorKafkaSaslClientIdReferenceType { } /// Reference to the secret or config map containing the client secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorKafkaSaslClientSecretReference { /// File name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none")] @@ -922,7 +922,7 @@ pub enum FlowCollectorKafkaSaslType { } /// tls client configuration. When using TLS, verify that the address matches the Kafka port used for TLS, generally 9093. Note that, when eBPF agents are used, Kafka certificate needs to be copied in the agent namespace (by default it's netobserv-privileged). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorKafkaTls { /// caCert defines the reference of the certificate for the Certificate Authority #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] @@ -939,7 +939,7 @@ pub struct FlowCollectorKafkaTls { } /// caCert defines the reference of the certificate for the Certificate Authority -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorKafkaTlsCaCert { /// certFile defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -968,7 +968,7 @@ pub enum FlowCollectorKafkaTlsCaCertType { } /// userCert defines the user certificate reference, used for mTLS (you can ignore it when using regular, one-way TLS) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorKafkaTlsUserCert { /// certFile defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -997,7 +997,7 @@ pub enum FlowCollectorKafkaTlsUserCertType { } /// loki, the flow store, client settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLoki { /// AuthToken describe the way to get a token to authenticate to Loki. DISABLED will not send any token with the request. HOST will use the local pod service account to authenticate to Loki. FORWARD will forward user token, in this mode, pod that are not receiving user request like the processor will use the local pod service account. Similar to HOST mode. When using the Loki Operator, set it to `HOST` or `FORWARD`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "authToken")] @@ -1052,7 +1052,7 @@ pub enum FlowCollectorLokiAuthToken { } /// tls client configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiTls { /// caCert defines the reference of the certificate for the Certificate Authority #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] @@ -1069,7 +1069,7 @@ pub struct FlowCollectorLokiTls { } /// caCert defines the reference of the certificate for the Certificate Authority -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiTlsCaCert { /// certFile defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -1098,7 +1098,7 @@ pub enum FlowCollectorLokiTlsCaCertType { } /// userCert defines the user certificate reference, used for mTLS (you can ignore it when using regular, one-way TLS) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiTlsUserCert { /// certFile defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -1127,7 +1127,7 @@ pub enum FlowCollectorLokiTlsUserCertType { } /// processor defines the settings of the component that receives the flows from the agent, enriches them, and forwards them to the Loki persistence layer. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessor { /// Debug allows setting some aspects of the internal configuration of the flow processor. This section is aimed exclusively for debugging and fine-grained performance optimizations (for example GOGC, GOMAXPROCS env vars). Users setting its values do it at their own risk. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1174,7 +1174,7 @@ pub struct FlowCollectorProcessor { } /// Debug allows setting some aspects of the internal configuration of the flow processor. This section is aimed exclusively for debugging and fine-grained performance optimizations (for example GOGC, GOMAXPROCS env vars). Users setting its values do it at their own risk. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorDebug { /// env allows passing custom environment variables to the NetObserv Agent. Useful for passing some very concrete performance-tuning options (such as GOGC, GOMAXPROCS) that shouldn't be publicly exposed as part of the FlowCollector descriptor, as they are only useful in edge debug and support scenarios. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1190,7 +1190,7 @@ pub enum FlowCollectorProcessorImagePullPolicy { } /// kafkaConsumerAutoscaler spec of a horizontal pod autoscaler to set up for flowlogs-pipeline-transformer, which consumes Kafka messages. This setting is ignored when Kafka is disabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscaler { /// maxReplicas is the upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxReplicas")] @@ -1207,7 +1207,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscaler { } /// MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetrics { /// containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag. #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerResource")] @@ -1230,7 +1230,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetrics { } /// containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsContainerResource { /// container is the name of the container in the pods of the scaling target pub container: String, @@ -1241,7 +1241,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsContainerResource } /// target specifies the target value for the given metric -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsContainerResourceTarget { /// averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] @@ -1258,7 +1258,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsContainerResource } /// external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternal { /// metric identifies the target metric by name and selector pub metric: FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalMetric, @@ -1267,7 +1267,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternal { } /// metric identifies the target metric by name and selector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalMetric { /// name is the name of the given metric pub name: String, @@ -1277,7 +1277,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalMetric { } /// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalMetricSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1288,7 +1288,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalMetricSel } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalMetricSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1300,7 +1300,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalMetricSel } /// target specifies the target value for the given metric -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalTarget { /// averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] @@ -1317,7 +1317,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalTarget { } /// object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObject { /// describedObject specifies the descriptions of a object,such as kind,name apiVersion #[serde(rename = "describedObject")] @@ -1329,7 +1329,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObject { } /// describedObject specifies the descriptions of a object,such as kind,name apiVersion -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectDescribedObject { /// apiVersion is the API version of the referent #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1341,7 +1341,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectDescribedOb } /// metric identifies the target metric by name and selector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectMetric { /// name is the name of the given metric pub name: String, @@ -1351,7 +1351,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectMetric { } /// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectMetricSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1362,7 +1362,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectMetricSelec } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectMetricSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1374,7 +1374,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectMetricSelec } /// target specifies the target value for the given metric -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectTarget { /// averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] @@ -1391,7 +1391,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectTarget { } /// pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPods { /// metric identifies the target metric by name and selector pub metric: FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsMetric, @@ -1400,7 +1400,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPods { } /// metric identifies the target metric by name and selector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsMetric { /// name is the name of the given metric pub name: String, @@ -1410,7 +1410,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsMetric { } /// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsMetricSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1421,7 +1421,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsMetricSelecto } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsMetricSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1433,7 +1433,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsMetricSelecto } /// target specifies the target value for the given metric -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsTarget { /// averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] @@ -1450,7 +1450,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsTarget { } /// resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsResource { /// name is the name of the resource in question. pub name: String, @@ -1459,7 +1459,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsResource { } /// target specifies the target value for the given metric -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsResourceTarget { /// averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] @@ -1504,7 +1504,7 @@ pub enum FlowCollectorProcessorLogLevel { } /// Metrics define the processor configuration regarding metrics -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorMetrics { /// ignoreTags is a list of tags to specify which metrics to ignore. Each metric is associated with a list of tags. More details in https://github.com/netobserv/network-observability-operator/tree/main/controllers/flowlogspipeline/metrics_definitions . Available tags are: egress, ingress, flows, bytes, packets, namespaces, nodes, workloads #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTags")] @@ -1515,7 +1515,7 @@ pub struct FlowCollectorProcessorMetrics { } /// metricsServer endpoint configuration for Prometheus scraper -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorMetricsServer { /// the prometheus HTTP port #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1526,7 +1526,7 @@ pub struct FlowCollectorProcessorMetricsServer { } /// TLS configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorMetricsServerTls { /// TLS configuration. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1537,7 +1537,7 @@ pub struct FlowCollectorProcessorMetricsServerTls { } /// TLS configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorMetricsServerTlsProvided { /// certFile defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -1577,7 +1577,7 @@ pub enum FlowCollectorProcessorMetricsServerTlsType { } /// resources are the compute resources required by this container. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1593,14 +1593,14 @@ pub struct FlowCollectorProcessorResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// FlowCollectorStatus defines the observed state of FlowCollector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorStatus { /// conditions represent the latest available observations of an object's state pub conditions: Vec, diff --git a/kube-custom-resources-rs/src/flows_netobserv_io/v1beta1/flowcollectors.rs b/kube-custom-resources-rs/src/flows_netobserv_io/v1beta1/flowcollectors.rs index e20f77269..b033cb48d 100644 --- a/kube-custom-resources-rs/src/flows_netobserv_io/v1beta1/flowcollectors.rs +++ b/kube-custom-resources-rs/src/flows_netobserv_io/v1beta1/flowcollectors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1beta1/flowcollectors.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1beta1/flowcollectors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -18,10 +18,11 @@ use self::prelude::*; /// is not officially supported by Red Hat. It might have been, for example, contributed by the community /// and accepted without a formal agreement for maintenance. The product maintainers might provide some support /// for these features as a best effort only. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "flows.netobserv.io", version = "v1beta1", kind = "FlowCollector", plural = "flowcollectors")] #[kube(status = "FlowCollectorStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct FlowCollectorSpec { /// Agent configuration for flows extraction. @@ -58,7 +59,7 @@ pub struct FlowCollectorSpec { } /// Agent configuration for flows extraction. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgent { /// `ebpf` describes the settings related to the eBPF-based flow reporter when `spec.agent.type` /// is set to `EBPF`. @@ -78,7 +79,7 @@ pub struct FlowCollectorAgent { /// `ebpf` describes the settings related to the eBPF-based flow reporter when `spec.agent.type` /// is set to `EBPF`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpf { /// `cacheActiveTimeout` is the max period during which the reporter aggregates flows before sending. /// Increasing `cacheMaxFlows` and `cacheActiveTimeout` can decrease the network traffic overhead and the CPU load, @@ -148,7 +149,7 @@ pub struct FlowCollectorAgentEbpf { /// `debug` allows setting some aspects of the internal configuration of the eBPF agent. /// This section is aimed exclusively for debugging and fine-grained performance optimizations, /// such as `GOGC` and `GOMAXPROCS` env vars. Set these values at your own risk. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfDebug { /// `env` allows passing custom environment variables to underlying components. Useful for passing /// some very concrete performance-tuning options, such as `GOGC` and `GOMAXPROCS`, that should not be @@ -159,7 +160,7 @@ pub struct FlowCollectorAgentEbpfDebug { } /// `flowFilter` defines the eBPF agent configuration regarding flow filtering -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfFlowFilter { /// Action defines the action to perform on the flows that match the filter. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -263,7 +264,7 @@ pub enum FlowCollectorAgentEbpfLogLevel { } /// `metrics` defines the eBPF agent configuration regarding metrics -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfMetrics { /// `disableAlerts` is a list of alerts that should be disabled. /// Possible values are:
@@ -279,7 +280,7 @@ pub struct FlowCollectorAgentEbpfMetrics { } /// Metrics server endpoint configuration for Prometheus scraper -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfMetricsServer { /// The prometheus HTTP port #[serde(default, skip_serializing_if = "Option::is_none")] @@ -290,7 +291,7 @@ pub struct FlowCollectorAgentEbpfMetricsServer { } /// TLS configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfMetricsServerTls { /// `insecureSkipVerify` allows skipping client-side verification of the provided certificate. /// If set to `true`, the `providedCaFile` field is ignored. @@ -311,7 +312,7 @@ pub struct FlowCollectorAgentEbpfMetricsServerTls { } /// TLS configuration when `type` is set to `PROVIDED`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfMetricsServerTlsProvided { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -341,7 +342,7 @@ pub enum FlowCollectorAgentEbpfMetricsServerTlsProvidedType { } /// Reference to the CA file when `type` is set to `PROVIDED`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfMetricsServerTlsProvidedCaFile { /// File name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none")] @@ -380,7 +381,7 @@ pub enum FlowCollectorAgentEbpfMetricsServerTlsType { /// `resources` are the compute resources required by this container. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -406,7 +407,7 @@ pub struct FlowCollectorAgentEbpfResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -416,7 +417,7 @@ pub struct FlowCollectorAgentEbpfResourcesClaims { /// `ipfix` [deprecated (*)] - describes the settings related to the IPFIX-based flow reporter when `spec.agent.type` /// is set to `IPFIX`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentIpfix { /// `cacheActiveTimeout` is the max period during which the reporter aggregates flows before sending. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cacheActiveTimeout")] @@ -445,7 +446,7 @@ pub struct FlowCollectorAgentIpfix { } /// `clusterNetworkOperator` defines the settings related to the OpenShift Cluster Network Operator, when available. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentIpfixClusterNetworkOperator { /// Namespace where the config map is going to be deployed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -453,7 +454,7 @@ pub struct FlowCollectorAgentIpfixClusterNetworkOperator { } /// `ovnKubernetes` defines the settings of the OVN-Kubernetes CNI, when available. This configuration is used when using OVN's IPFIX exports, without OpenShift. When using OpenShift, refer to the `clusterNetworkOperator` property instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentIpfixOvnKubernetes { /// `containerName` defines the name of the container to configure for IPFIX. #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -476,7 +477,7 @@ pub enum FlowCollectorAgentType { } /// `consolePlugin` defines the settings related to the OpenShift Console plugin, when available. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePlugin { /// `autoscaler` spec of a horizontal pod autoscaler to set up for the plugin Deployment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -515,7 +516,7 @@ pub struct FlowCollectorConsolePlugin { } /// `autoscaler` spec of a horizontal pod autoscaler to set up for the plugin Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscaler { /// `maxReplicas` is the upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxReplicas")] @@ -537,7 +538,7 @@ pub struct FlowCollectorConsolePluginAutoscaler { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetrics { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerResource")] pub container_resource: Option, @@ -553,14 +554,14 @@ pub struct FlowCollectorConsolePluginAutoscalerMetrics { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsContainerResource { pub container: String, pub name: String, pub target: FlowCollectorConsolePluginAutoscalerMetricsContainerResourceTarget, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsContainerResourceTarget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] pub average_utilization: Option, @@ -572,20 +573,20 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsContainerResourceTarget { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsExternal { pub metric: FlowCollectorConsolePluginAutoscalerMetricsExternalMetric, pub target: FlowCollectorConsolePluginAutoscalerMetricsExternalTarget, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsExternalMetric { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsExternalMetricSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -593,7 +594,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsExternalMetricSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsExternalMetricSelectorMatchExpressions { pub key: String, pub operator: String, @@ -601,7 +602,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsExternalMetricSelectorMatc pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsExternalTarget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] pub average_utilization: Option, @@ -613,7 +614,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsExternalTarget { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsObject { #[serde(rename = "describedObject")] pub described_object: FlowCollectorConsolePluginAutoscalerMetricsObjectDescribedObject, @@ -621,7 +622,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsObject { pub target: FlowCollectorConsolePluginAutoscalerMetricsObjectTarget, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectDescribedObject { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -629,14 +630,14 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectDescribedObject { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectMetric { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectMetricSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -644,7 +645,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectMetricSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectMetricSelectorMatchExpressions { pub key: String, pub operator: String, @@ -652,7 +653,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectMetricSelectorMatchE pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectTarget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] pub average_utilization: Option, @@ -664,20 +665,20 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectTarget { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsPods { pub metric: FlowCollectorConsolePluginAutoscalerMetricsPodsMetric, pub target: FlowCollectorConsolePluginAutoscalerMetricsPodsTarget, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsPodsMetric { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsPodsMetricSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -685,7 +686,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsPodsMetricSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsPodsMetricSelectorMatchExpressions { pub key: String, pub operator: String, @@ -693,7 +694,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsPodsMetricSelectorMatchExp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsPodsTarget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] pub average_utilization: Option, @@ -705,13 +706,13 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsPodsTarget { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsResource { pub name: String, pub target: FlowCollectorConsolePluginAutoscalerMetricsResourceTarget, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsResourceTarget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] pub average_utilization: Option, @@ -760,7 +761,7 @@ pub enum FlowCollectorConsolePluginLogLevel { } /// `portNaming` defines the configuration of the port-to-service name translation -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginPortNaming { /// Enable the console plugin port-to-service name translation #[serde(default, skip_serializing_if = "Option::is_none")] @@ -772,7 +773,7 @@ pub struct FlowCollectorConsolePluginPortNaming { } /// `QuickFilter` defines preset configuration for Console's quick filters -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginQuickFilters { /// `default` defines whether this filter should be active by default or not #[serde(default, skip_serializing_if = "Option::is_none")] @@ -786,7 +787,7 @@ pub struct FlowCollectorConsolePluginQuickFilters { /// `resources`, in terms of compute resources, required by this container. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -812,7 +813,7 @@ pub struct FlowCollectorConsolePluginResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -849,7 +850,7 @@ pub struct FlowCollectorExporters { } /// IPFIX configuration, such as the IP address and port to send enriched IPFIX flows to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorExportersIpfix { /// Address of the IPFIX external receiver #[serde(rename = "targetHost")] @@ -872,7 +873,7 @@ pub enum FlowCollectorExportersIpfixTransport { } /// Kafka configuration, such as the address and topic, to send enriched flows to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorExportersKafka { /// Address of the Kafka server pub address: String, @@ -887,7 +888,7 @@ pub struct FlowCollectorExportersKafka { } /// SASL authentication configuration. [Unsupported (*)]. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorExportersKafkaSasl { /// Reference to the secret or config map containing the client ID #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIDReference")] @@ -901,7 +902,7 @@ pub struct FlowCollectorExportersKafkaSasl { } /// Reference to the secret or config map containing the client ID -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorExportersKafkaSaslClientIdReference { /// File name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none")] @@ -928,7 +929,7 @@ pub enum FlowCollectorExportersKafkaSaslClientIdReferenceType { } /// Reference to the secret or config map containing the client secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorExportersKafkaSaslClientSecretReference { /// File name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none")] @@ -966,7 +967,7 @@ pub enum FlowCollectorExportersKafkaSaslType { } /// TLS client configuration. When using TLS, verify that the address matches the Kafka port used for TLS, generally 9093. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorExportersKafkaTls { /// `caCert` defines the reference of the certificate for the Certificate Authority #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] @@ -984,7 +985,7 @@ pub struct FlowCollectorExportersKafkaTls { } /// `caCert` defines the reference of the certificate for the Certificate Authority -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorExportersKafkaTlsCaCert { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -1014,7 +1015,7 @@ pub enum FlowCollectorExportersKafkaTlsCaCertType { } /// `userCert` defines the user certificate reference and is used for mTLS (you can ignore it when using one-way TLS) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorExportersKafkaTlsUserCert { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -1053,7 +1054,7 @@ pub enum FlowCollectorExportersType { } /// Kafka configuration, allowing to use Kafka as a broker as part of the flow collection pipeline. Available when the `spec.deploymentModel` is `KAFKA`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorKafka { /// Address of the Kafka server pub address: String, @@ -1068,7 +1069,7 @@ pub struct FlowCollectorKafka { } /// SASL authentication configuration. [Unsupported (*)]. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorKafkaSasl { /// Reference to the secret or config map containing the client ID #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIDReference")] @@ -1082,7 +1083,7 @@ pub struct FlowCollectorKafkaSasl { } /// Reference to the secret or config map containing the client ID -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorKafkaSaslClientIdReference { /// File name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1109,7 +1110,7 @@ pub enum FlowCollectorKafkaSaslClientIdReferenceType { } /// Reference to the secret or config map containing the client secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorKafkaSaslClientSecretReference { /// File name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1147,7 +1148,7 @@ pub enum FlowCollectorKafkaSaslType { } /// TLS client configuration. When using TLS, verify that the address matches the Kafka port used for TLS, generally 9093. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorKafkaTls { /// `caCert` defines the reference of the certificate for the Certificate Authority #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] @@ -1165,7 +1166,7 @@ pub struct FlowCollectorKafkaTls { } /// `caCert` defines the reference of the certificate for the Certificate Authority -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorKafkaTlsCaCert { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -1195,7 +1196,7 @@ pub enum FlowCollectorKafkaTlsCaCertType { } /// `userCert` defines the user certificate reference and is used for mTLS (you can ignore it when using one-way TLS) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorKafkaTlsUserCert { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -1225,7 +1226,7 @@ pub enum FlowCollectorKafkaTlsUserCertType { } /// `loki`, the flow store, client settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLoki { /// `authToken` describes the way to get a token to authenticate to Loki.
/// - `DISABLED` does not send any token with the request.
@@ -1311,7 +1312,7 @@ pub enum FlowCollectorLokiAuthToken { } /// TLS client configuration for Loki status URL. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiStatusTls { /// `caCert` defines the reference of the certificate for the Certificate Authority #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] @@ -1329,7 +1330,7 @@ pub struct FlowCollectorLokiStatusTls { } /// `caCert` defines the reference of the certificate for the Certificate Authority -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiStatusTlsCaCert { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -1359,7 +1360,7 @@ pub enum FlowCollectorLokiStatusTlsCaCertType { } /// `userCert` defines the user certificate reference and is used for mTLS (you can ignore it when using one-way TLS) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiStatusTlsUserCert { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -1389,7 +1390,7 @@ pub enum FlowCollectorLokiStatusTlsUserCertType { } /// TLS client configuration for Loki URL. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiTls { /// `caCert` defines the reference of the certificate for the Certificate Authority #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] @@ -1407,7 +1408,7 @@ pub struct FlowCollectorLokiTls { } /// `caCert` defines the reference of the certificate for the Certificate Authority -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiTlsCaCert { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -1437,7 +1438,7 @@ pub enum FlowCollectorLokiTlsCaCertType { } /// `userCert` defines the user certificate reference and is used for mTLS (you can ignore it when using one-way TLS) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiTlsUserCert { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -1468,7 +1469,7 @@ pub enum FlowCollectorLokiTlsUserCertType { /// `processor` defines the settings of the component that receives the flows from the agent, /// enriches them, generates metrics, and forwards them to the Loki persistence layer and/or any available exporter. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessor { /// `addZone` allows availability zone awareness by labelling flows with their source and destination zones. /// This feature requires the "topology.kubernetes.io/zone" label to be set on nodes. @@ -1555,7 +1556,7 @@ pub struct FlowCollectorProcessor { /// `debug` allows setting some aspects of the internal configuration of the flow processor. /// This section is aimed exclusively for debugging and fine-grained performance optimizations, /// such as `GOGC` and `GOMAXPROCS` env vars. Set these values at your own risk. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorDebug { /// `env` allows passing custom environment variables to underlying components. Useful for passing /// some very concrete performance-tuning options, such as `GOGC` and `GOMAXPROCS`, that should not be @@ -1576,7 +1577,7 @@ pub enum FlowCollectorProcessorImagePullPolicy { /// `kafkaConsumerAutoscaler` is the spec of a horizontal pod autoscaler to set up for `flowlogs-pipeline-transformer`, which consumes Kafka messages. /// This setting is ignored when Kafka is disabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscaler { /// `maxReplicas` is the upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxReplicas")] @@ -1598,7 +1599,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscaler { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetrics { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerResource")] pub container_resource: Option, @@ -1614,14 +1615,14 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetrics { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsContainerResource { pub container: String, pub name: String, pub target: FlowCollectorProcessorKafkaConsumerAutoscalerMetricsContainerResourceTarget, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsContainerResourceTarget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] pub average_utilization: Option, @@ -1633,20 +1634,20 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsContainerResource pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternal { pub metric: FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalMetric, pub target: FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalTarget, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalMetric { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalMetricSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1654,7 +1655,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalMetricSel pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalMetricSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1662,7 +1663,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalMetricSel pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalTarget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] pub average_utilization: Option, @@ -1674,7 +1675,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalTarget { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObject { #[serde(rename = "describedObject")] pub described_object: FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectDescribedObject, @@ -1682,7 +1683,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObject { pub target: FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectTarget, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectDescribedObject { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1690,14 +1691,14 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectDescribedOb pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectMetric { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectMetricSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1705,7 +1706,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectMetricSelec pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectMetricSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1713,7 +1714,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectMetricSelec pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectTarget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] pub average_utilization: Option, @@ -1725,20 +1726,20 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectTarget { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPods { pub metric: FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsMetric, pub target: FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsTarget, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsMetric { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsMetricSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1746,7 +1747,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsMetricSelecto pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsMetricSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1754,7 +1755,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsMetricSelecto pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsTarget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] pub average_utilization: Option, @@ -1766,13 +1767,13 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsTarget { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsResource { pub name: String, pub target: FlowCollectorProcessorKafkaConsumerAutoscalerMetricsResourceTarget, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsResourceTarget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] pub average_utilization: Option, @@ -1829,7 +1830,7 @@ pub enum FlowCollectorProcessorLogTypes { } /// `Metrics` define the processor configuration regarding metrics -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorMetrics { /// `disableAlerts` is a list of alerts that should be disabled. /// Possible values are:
@@ -1859,7 +1860,7 @@ pub struct FlowCollectorProcessorMetrics { } /// Metrics server endpoint configuration for Prometheus scraper -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorMetricsServer { /// The prometheus HTTP port #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1870,7 +1871,7 @@ pub struct FlowCollectorProcessorMetricsServer { } /// TLS configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorMetricsServerTls { /// `insecureSkipVerify` allows skipping client-side verification of the provided certificate. /// If set to `true`, the `providedCaFile` field is ignored. @@ -1891,7 +1892,7 @@ pub struct FlowCollectorProcessorMetricsServerTls { } /// TLS configuration when `type` is set to `PROVIDED`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorMetricsServerTlsProvided { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -1921,7 +1922,7 @@ pub enum FlowCollectorProcessorMetricsServerTlsProvidedType { } /// Reference to the CA file when `type` is set to `PROVIDED`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorMetricsServerTlsProvidedCaFile { /// File name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1960,7 +1961,7 @@ pub enum FlowCollectorProcessorMetricsServerTlsType { /// `resources` are the compute resources required by this container. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -1986,7 +1987,7 @@ pub struct FlowCollectorProcessorResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -1996,7 +1997,7 @@ pub struct FlowCollectorProcessorResourcesClaims { /// `subnetLabels` allows to define custom labels on subnets and IPs or to enable automatic labelling of recognized subnets in OpenShift. /// When a subnet matches the source or destination IP of a flow, a corresponding field is added: `SrcSubnetLabel` or `DstSubnetLabel`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorSubnetLabels { /// `customLabels` allows to customize subnets and IPs labelling, such as to identify cluster-external workloads or web services. /// If you enable `openShiftAutoDetect`, `customLabels` can override the detected subnets in case they overlap. @@ -2010,7 +2011,7 @@ pub struct FlowCollectorProcessorSubnetLabels { } /// SubnetLabel allows to label subnets and IPs, such as to identify cluster-external workloads or web services. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorSubnetLabelsCustomLabels { /// List of CIDRs, such as `["1.2.3.4/32"]`. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2021,7 +2022,7 @@ pub struct FlowCollectorProcessorSubnetLabelsCustomLabels { } /// `prometheus` defines Prometheus settings, such as querier configuration used to fetch metrics from the Console plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorPrometheus { /// Prometheus querying configuration, such as client settings, used in the Console plugin. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2029,7 +2030,7 @@ pub struct FlowCollectorPrometheus { } /// Prometheus querying configuration, such as client settings, used in the Console plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorPrometheusQuerier { /// Set `enable` to `true` to make the Console plugin querying flow metrics from Prometheus instead of Loki whenever possible. /// The Console plugin can use either Loki or Prometheus as a data source for metrics (see also `spec.loki`), or both. @@ -2054,7 +2055,7 @@ pub struct FlowCollectorPrometheusQuerier { } /// Prometheus configuration for `Manual` mode. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorPrometheusQuerierManual { /// Set `true` to forward logged in user token in queries to Prometheus #[serde(default, skip_serializing_if = "Option::is_none", rename = "forwardUserToken")] @@ -2068,7 +2069,7 @@ pub struct FlowCollectorPrometheusQuerierManual { } /// TLS client configuration for Prometheus URL. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorPrometheusQuerierManualTls { /// `caCert` defines the reference of the certificate for the Certificate Authority #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] @@ -2086,7 +2087,7 @@ pub struct FlowCollectorPrometheusQuerierManualTls { } /// `caCert` defines the reference of the certificate for the Certificate Authority -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorPrometheusQuerierManualTlsCaCert { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -2116,7 +2117,7 @@ pub enum FlowCollectorPrometheusQuerierManualTlsCaCertType { } /// `userCert` defines the user certificate reference and is used for mTLS (you can ignore it when using one-way TLS) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorPrometheusQuerierManualTlsUserCert { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -2153,7 +2154,7 @@ pub enum FlowCollectorPrometheusQuerierMode { } /// `FlowCollectorStatus` defines the observed state of FlowCollector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorStatus { /// `conditions` represent the latest available observations of an object's state pub conditions: Vec, diff --git a/kube-custom-resources-rs/src/flows_netobserv_io/v1beta2/flowcollectors.rs b/kube-custom-resources-rs/src/flows_netobserv_io/v1beta2/flowcollectors.rs index 83002b243..9b26598ef 100644 --- a/kube-custom-resources-rs/src/flows_netobserv_io/v1beta2/flowcollectors.rs +++ b/kube-custom-resources-rs/src/flows_netobserv_io/v1beta2/flowcollectors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1beta2/flowcollectors.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/netobserv/network-observability-operator/flows.netobserv.io/v1beta2/flowcollectors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -18,10 +18,11 @@ use self::prelude::*; /// is not officially supported by Red Hat. It might have been, for example, contributed by the community /// and accepted without a formal agreement for maintenance. The product maintainers might provide some support /// for these features as a best effort only. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "flows.netobserv.io", version = "v1beta2", kind = "FlowCollector", plural = "flowcollectors")] #[kube(status = "FlowCollectorStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct FlowCollectorSpec { /// Agent configuration for flows extraction. @@ -58,7 +59,7 @@ pub struct FlowCollectorSpec { } /// Agent configuration for flows extraction. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgent { /// `ebpf` describes the settings related to the eBPF-based flow reporter when `spec.agent.type` /// is set to `eBPF`. @@ -78,7 +79,7 @@ pub struct FlowCollectorAgent { /// `ebpf` describes the settings related to the eBPF-based flow reporter when `spec.agent.type` /// is set to `eBPF`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpf { /// `advanced` allows setting some aspects of the internal configuration of the eBPF agent. /// This section is aimed mostly for debugging and fine-grained performance optimizations, @@ -148,7 +149,7 @@ pub struct FlowCollectorAgentEbpf { /// `advanced` allows setting some aspects of the internal configuration of the eBPF agent. /// This section is aimed mostly for debugging and fine-grained performance optimizations, /// such as `GOGC` and `GOMAXPROCS` env vars. Set these values at your own risk. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvanced { /// `env` allows passing custom environment variables to underlying components. Useful for passing /// some very concrete performance-tuning options, such as `GOGC` and `GOMAXPROCS`, that should not be @@ -162,7 +163,7 @@ pub struct FlowCollectorAgentEbpfAdvanced { } /// scheduling controls whether the pod will be scheduled or not. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedScheduling { /// If specified, the pod's scheduling constraints. For documentation, refer to https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling #[serde(default, skip_serializing_if = "Option::is_none")] @@ -186,7 +187,7 @@ pub struct FlowCollectorAgentEbpfAdvancedScheduling { } /// If specified, the pod's scheduling constraints. For documentation, refer to https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -200,7 +201,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -224,7 +225,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: FlowCollectorAgentEbpfAdvancedSchedulingAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -233,7 +234,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityNodeAffinityPreferred } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -245,7 +246,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityNodeAffinityPreferred /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -263,7 +264,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityNodeAffinityPreferred /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -284,7 +285,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityNodeAffinityPreferred /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -294,7 +295,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityNodeAffinityRequiredD /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -306,7 +307,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityNodeAffinityRequiredD /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -324,7 +325,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityNodeAffinityRequiredD /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -341,7 +342,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityNodeAffinityRequiredD } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -366,7 +367,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -377,7 +378,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAffinityPreferredD } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -429,7 +430,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAffinityPreferredD /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -443,7 +444,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAffinityPreferredD /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -463,7 +464,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAffinityPreferredD /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -477,7 +478,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAffinityPreferredD /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -498,7 +499,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAffinityPreferredD /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -550,7 +551,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAffinityRequiredDu /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -564,7 +565,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAffinityRequiredDu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -584,7 +585,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAffinityRequiredDu /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -598,7 +599,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAffinityRequiredDu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -614,7 +615,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAffinityRequiredDu } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -639,7 +640,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -650,7 +651,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAntiAffinityPrefer } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -702,7 +703,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAntiAffinityPrefer /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -716,7 +717,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAntiAffinityPrefer /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -736,7 +737,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAntiAffinityPrefer /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -750,7 +751,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAntiAffinityPrefer /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -771,7 +772,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAntiAffinityPrefer /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -823,7 +824,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAntiAffinityRequir /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -837,7 +838,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAntiAffinityRequir /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -857,7 +858,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAntiAffinityRequir /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -871,7 +872,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAntiAffinityRequir /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -888,7 +889,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingAffinityPodAntiAffinityRequir /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfAdvancedSchedulingTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -917,7 +918,7 @@ pub struct FlowCollectorAgentEbpfAdvancedSchedulingTolerations { } /// `flowFilter` defines the eBPF agent configuration regarding flow filtering -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfFlowFilter { /// Action defines the action to perform on the flows that match the filter. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1021,7 +1022,7 @@ pub enum FlowCollectorAgentEbpfLogLevel { } /// `metrics` defines the eBPF agent configuration regarding metrics -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfMetrics { /// `disableAlerts` is a list of alerts that should be disabled. /// Possible values are:
@@ -1037,7 +1038,7 @@ pub struct FlowCollectorAgentEbpfMetrics { } /// Metrics server endpoint configuration for Prometheus scraper -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfMetricsServer { /// The prometheus HTTP port #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1048,7 +1049,7 @@ pub struct FlowCollectorAgentEbpfMetricsServer { } /// TLS configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfMetricsServerTls { /// `insecureSkipVerify` allows skipping client-side verification of the provided certificate. /// If set to `true`, the `providedCaFile` field is ignored. @@ -1069,7 +1070,7 @@ pub struct FlowCollectorAgentEbpfMetricsServerTls { } /// TLS configuration when `type` is set to `Provided`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfMetricsServerTlsProvided { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -1099,7 +1100,7 @@ pub enum FlowCollectorAgentEbpfMetricsServerTlsProvidedType { } /// Reference to the CA file when `type` is set to `Provided`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfMetricsServerTlsProvidedCaFile { /// File name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1135,7 +1136,7 @@ pub enum FlowCollectorAgentEbpfMetricsServerTlsType { /// `resources` are the compute resources required by this container. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -1161,7 +1162,7 @@ pub struct FlowCollectorAgentEbpfResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentEbpfResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -1171,7 +1172,7 @@ pub struct FlowCollectorAgentEbpfResourcesClaims { /// `ipfix` [deprecated (*)] - describes the settings related to the IPFIX-based flow reporter when `spec.agent.type` /// is set to `IPFIX`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentIpfix { /// `cacheActiveTimeout` is the max period during which the reporter aggregates flows before sending. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cacheActiveTimeout")] @@ -1200,7 +1201,7 @@ pub struct FlowCollectorAgentIpfix { } /// `clusterNetworkOperator` defines the settings related to the OpenShift Cluster Network Operator, when available. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentIpfixClusterNetworkOperator { /// Namespace where the config map is going to be deployed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1208,7 +1209,7 @@ pub struct FlowCollectorAgentIpfixClusterNetworkOperator { } /// `ovnKubernetes` defines the settings of the OVN-Kubernetes CNI, when available. This configuration is used when using OVN's IPFIX exports, without OpenShift. When using OpenShift, refer to the `clusterNetworkOperator` property instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorAgentIpfixOvnKubernetes { /// `containerName` defines the name of the container to configure for IPFIX. #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1231,7 +1232,7 @@ pub enum FlowCollectorAgentType { } /// `consolePlugin` defines the settings related to the OpenShift Console plugin, when available. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePlugin { /// `advanced` allows setting some aspects of the internal configuration of the console plugin. /// This section is aimed mostly for debugging and fine-grained performance optimizations, @@ -1269,7 +1270,7 @@ pub struct FlowCollectorConsolePlugin { /// `advanced` allows setting some aspects of the internal configuration of the console plugin. /// This section is aimed mostly for debugging and fine-grained performance optimizations, /// such as `GOGC` and `GOMAXPROCS` env vars. Set these values at your own risk. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvanced { /// `args` allows passing custom arguments to underlying components. Useful for overriding /// some parameters, such as an url or a configuration path, that should not be @@ -1297,7 +1298,7 @@ pub struct FlowCollectorConsolePluginAdvanced { } /// scheduling controls whether the pod will be scheduled or not. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedScheduling { /// If specified, the pod's scheduling constraints. For documentation, refer to https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1321,7 +1322,7 @@ pub struct FlowCollectorConsolePluginAdvancedScheduling { } /// If specified, the pod's scheduling constraints. For documentation, refer to https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -1335,7 +1336,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -1359,7 +1360,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: FlowCollectorConsolePluginAdvancedSchedulingAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -1368,7 +1369,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityNodeAffinityPrefe } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1380,7 +1381,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityNodeAffinityPrefe /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1398,7 +1399,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityNodeAffinityPrefe /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1419,7 +1420,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityNodeAffinityPrefe /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -1429,7 +1430,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityNodeAffinityRequi /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1441,7 +1442,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityNodeAffinityRequi /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1459,7 +1460,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityNodeAffinityRequi /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1476,7 +1477,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityNodeAffinityRequi } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -1501,7 +1502,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1512,7 +1513,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAffinityPrefer } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1564,7 +1565,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAffinityPrefer /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1578,7 +1579,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAffinityPrefer /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1598,7 +1599,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAffinityPrefer /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1612,7 +1613,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAffinityPrefer /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1633,7 +1634,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAffinityPrefer /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1685,7 +1686,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAffinityRequir /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1699,7 +1700,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAffinityRequir /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1719,7 +1720,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAffinityRequir /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1733,7 +1734,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAffinityRequir /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1749,7 +1750,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAffinityRequir } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -1774,7 +1775,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1785,7 +1786,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAntiAffinityPr } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1837,7 +1838,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAntiAffinityPr /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1851,7 +1852,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAntiAffinityPr /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1871,7 +1872,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAntiAffinityPr /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1885,7 +1886,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAntiAffinityPr /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1906,7 +1907,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAntiAffinityPr /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1958,7 +1959,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAntiAffinityRe /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1972,7 +1973,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAntiAffinityRe /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1992,7 +1993,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAntiAffinityRe /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2006,7 +2007,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAntiAffinityRe /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2023,7 +2024,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingAffinityPodAntiAffinityRe /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAdvancedSchedulingTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -2052,7 +2053,7 @@ pub struct FlowCollectorConsolePluginAdvancedSchedulingTolerations { } /// `autoscaler` spec of a horizontal pod autoscaler to set up for the plugin Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscaler { /// `maxReplicas` is the upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxReplicas")] @@ -2074,7 +2075,7 @@ pub struct FlowCollectorConsolePluginAutoscaler { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetrics { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerResource")] pub container_resource: Option, @@ -2090,14 +2091,14 @@ pub struct FlowCollectorConsolePluginAutoscalerMetrics { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsContainerResource { pub container: String, pub name: String, pub target: FlowCollectorConsolePluginAutoscalerMetricsContainerResourceTarget, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsContainerResourceTarget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] pub average_utilization: Option, @@ -2109,20 +2110,20 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsContainerResourceTarget { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsExternal { pub metric: FlowCollectorConsolePluginAutoscalerMetricsExternalMetric, pub target: FlowCollectorConsolePluginAutoscalerMetricsExternalTarget, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsExternalMetric { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsExternalMetricSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2130,7 +2131,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsExternalMetricSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsExternalMetricSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2138,7 +2139,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsExternalMetricSelectorMatc pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsExternalTarget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] pub average_utilization: Option, @@ -2150,7 +2151,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsExternalTarget { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsObject { #[serde(rename = "describedObject")] pub described_object: FlowCollectorConsolePluginAutoscalerMetricsObjectDescribedObject, @@ -2158,7 +2159,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsObject { pub target: FlowCollectorConsolePluginAutoscalerMetricsObjectTarget, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectDescribedObject { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2166,14 +2167,14 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectDescribedObject { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectMetric { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectMetricSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2181,7 +2182,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectMetricSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectMetricSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2189,7 +2190,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectMetricSelectorMatchE pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectTarget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] pub average_utilization: Option, @@ -2201,20 +2202,20 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsObjectTarget { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsPods { pub metric: FlowCollectorConsolePluginAutoscalerMetricsPodsMetric, pub target: FlowCollectorConsolePluginAutoscalerMetricsPodsTarget, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsPodsMetric { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsPodsMetricSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2222,7 +2223,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsPodsMetricSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsPodsMetricSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2230,7 +2231,7 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsPodsMetricSelectorMatchExp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsPodsTarget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] pub average_utilization: Option, @@ -2242,13 +2243,13 @@ pub struct FlowCollectorConsolePluginAutoscalerMetricsPodsTarget { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsResource { pub name: String, pub target: FlowCollectorConsolePluginAutoscalerMetricsResourceTarget, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginAutoscalerMetricsResourceTarget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] pub average_utilization: Option, @@ -2295,7 +2296,7 @@ pub enum FlowCollectorConsolePluginLogLevel { } /// `portNaming` defines the configuration of the port-to-service name translation -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginPortNaming { /// Enable the console plugin port-to-service name translation #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2307,7 +2308,7 @@ pub struct FlowCollectorConsolePluginPortNaming { } /// `QuickFilter` defines preset configuration for Console's quick filters -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginQuickFilters { /// `default` defines whether this filter should be active by default or not #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2321,7 +2322,7 @@ pub struct FlowCollectorConsolePluginQuickFilters { /// `resources`, in terms of compute resources, required by this container. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -2347,7 +2348,7 @@ pub struct FlowCollectorConsolePluginResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorConsolePluginResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -2382,7 +2383,7 @@ pub struct FlowCollectorExporters { } /// IPFIX configuration, such as the IP address and port to send enriched IPFIX flows to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorExportersIpfix { /// Address of the IPFIX external receiver #[serde(rename = "targetHost")] @@ -2405,7 +2406,7 @@ pub enum FlowCollectorExportersIpfixTransport { } /// Kafka configuration, such as the address and topic, to send enriched flows to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorExportersKafka { /// Address of the Kafka server pub address: String, @@ -2420,7 +2421,7 @@ pub struct FlowCollectorExportersKafka { } /// SASL authentication configuration. [Unsupported (*)]. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorExportersKafkaSasl { /// Reference to the secret or config map containing the client ID #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIDReference")] @@ -2434,7 +2435,7 @@ pub struct FlowCollectorExportersKafkaSasl { } /// Reference to the secret or config map containing the client ID -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorExportersKafkaSaslClientIdReference { /// File name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2461,7 +2462,7 @@ pub enum FlowCollectorExportersKafkaSaslClientIdReferenceType { } /// Reference to the secret or config map containing the client secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorExportersKafkaSaslClientSecretReference { /// File name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2497,7 +2498,7 @@ pub enum FlowCollectorExportersKafkaSaslType { } /// TLS client configuration. When using TLS, verify that the address matches the Kafka port used for TLS, generally 9093. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorExportersKafkaTls { /// `caCert` defines the reference of the certificate for the Certificate Authority #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] @@ -2515,7 +2516,7 @@ pub struct FlowCollectorExportersKafkaTls { } /// `caCert` defines the reference of the certificate for the Certificate Authority -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorExportersKafkaTlsCaCert { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -2545,7 +2546,7 @@ pub enum FlowCollectorExportersKafkaTlsCaCertType { } /// `userCert` defines the user certificate reference and is used for mTLS (you can ignore it when using one-way TLS) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorExportersKafkaTlsUserCert { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -2583,7 +2584,7 @@ pub enum FlowCollectorExportersType { } /// Kafka configuration, allowing to use Kafka as a broker as part of the flow collection pipeline. Available when the `spec.deploymentModel` is `Kafka`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorKafka { /// Address of the Kafka server pub address: String, @@ -2598,7 +2599,7 @@ pub struct FlowCollectorKafka { } /// SASL authentication configuration. [Unsupported (*)]. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorKafkaSasl { /// Reference to the secret or config map containing the client ID #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIDReference")] @@ -2612,7 +2613,7 @@ pub struct FlowCollectorKafkaSasl { } /// Reference to the secret or config map containing the client ID -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorKafkaSaslClientIdReference { /// File name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2639,7 +2640,7 @@ pub enum FlowCollectorKafkaSaslClientIdReferenceType { } /// Reference to the secret or config map containing the client secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorKafkaSaslClientSecretReference { /// File name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2675,7 +2676,7 @@ pub enum FlowCollectorKafkaSaslType { } /// TLS client configuration. When using TLS, verify that the address matches the Kafka port used for TLS, generally 9093. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorKafkaTls { /// `caCert` defines the reference of the certificate for the Certificate Authority #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] @@ -2693,7 +2694,7 @@ pub struct FlowCollectorKafkaTls { } /// `caCert` defines the reference of the certificate for the Certificate Authority -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorKafkaTlsCaCert { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -2723,7 +2724,7 @@ pub enum FlowCollectorKafkaTlsCaCertType { } /// `userCert` defines the user certificate reference and is used for mTLS (you can ignore it when using one-way TLS) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorKafkaTlsUserCert { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -2753,7 +2754,7 @@ pub enum FlowCollectorKafkaTlsUserCertType { } /// `loki`, the flow store, client settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLoki { /// `advanced` allows setting some aspects of the internal configuration of the Loki clients. /// This section is aimed mostly for debugging and fine-grained performance optimizations. @@ -2810,7 +2811,7 @@ pub struct FlowCollectorLoki { /// `advanced` allows setting some aspects of the internal configuration of the Loki clients. /// This section is aimed mostly for debugging and fine-grained performance optimizations. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiAdvanced { /// `staticLabels` is a map of common labels to set on each flow in Loki storage. #[serde(default, skip_serializing_if = "Option::is_none", rename = "staticLabels")] @@ -2828,7 +2829,7 @@ pub struct FlowCollectorLokiAdvanced { /// Loki configuration for `LokiStack` mode. This is useful for an easy loki-operator configuration. /// It is ignored for other modes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiLokiStack { /// Name of an existing LokiStack resource to use. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2840,7 +2841,7 @@ pub struct FlowCollectorLokiLokiStack { /// Loki configuration for `Manual` mode. This is the most flexible configuration. /// It is ignored for other modes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiManual { /// `authToken` describes the way to get a token to authenticate to Loki.
/// - `Disabled` does not send any token with the request.
@@ -2889,7 +2890,7 @@ pub enum FlowCollectorLokiManualAuthToken { } /// TLS client configuration for Loki status URL. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiManualStatusTls { /// `caCert` defines the reference of the certificate for the Certificate Authority #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] @@ -2907,7 +2908,7 @@ pub struct FlowCollectorLokiManualStatusTls { } /// `caCert` defines the reference of the certificate for the Certificate Authority -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiManualStatusTlsCaCert { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -2937,7 +2938,7 @@ pub enum FlowCollectorLokiManualStatusTlsCaCertType { } /// `userCert` defines the user certificate reference and is used for mTLS (you can ignore it when using one-way TLS) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiManualStatusTlsUserCert { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -2967,7 +2968,7 @@ pub enum FlowCollectorLokiManualStatusTlsUserCertType { } /// TLS client configuration for Loki URL. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiManualTls { /// `caCert` defines the reference of the certificate for the Certificate Authority #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] @@ -2985,7 +2986,7 @@ pub struct FlowCollectorLokiManualTls { } /// `caCert` defines the reference of the certificate for the Certificate Authority -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiManualTlsCaCert { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -3015,7 +3016,7 @@ pub enum FlowCollectorLokiManualTlsCaCertType { } /// `userCert` defines the user certificate reference and is used for mTLS (you can ignore it when using one-way TLS) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiManualTlsUserCert { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -3047,7 +3048,7 @@ pub enum FlowCollectorLokiManualTlsUserCertType { /// Loki configuration for `Microservices` mode. /// Use this option when Loki is installed using the microservices deployment mode (https://grafana.com/docs/loki/latest/fundamentals/architecture/deployment-modes/#microservices-mode). /// It is ignored for other modes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiMicroservices { /// `ingesterUrl` is the address of an existing Loki ingester service to push the flows to. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ingesterUrl")] @@ -3064,7 +3065,7 @@ pub struct FlowCollectorLokiMicroservices { } /// TLS client configuration for Loki URL. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiMicroservicesTls { /// `caCert` defines the reference of the certificate for the Certificate Authority #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] @@ -3082,7 +3083,7 @@ pub struct FlowCollectorLokiMicroservicesTls { } /// `caCert` defines the reference of the certificate for the Certificate Authority -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiMicroservicesTlsCaCert { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -3112,7 +3113,7 @@ pub enum FlowCollectorLokiMicroservicesTlsCaCertType { } /// `userCert` defines the user certificate reference and is used for mTLS (you can ignore it when using one-way TLS) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiMicroservicesTlsUserCert { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -3153,7 +3154,7 @@ pub enum FlowCollectorLokiMode { /// Loki configuration for `Monolithic` mode. /// Use this option when Loki is installed using the monolithic deployment mode (https://grafana.com/docs/loki/latest/fundamentals/architecture/deployment-modes/#monolithic-mode). /// It is ignored for other modes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiMonolithic { /// `tenantID` is the Loki `X-Scope-OrgID` header that identifies the tenant for each request. #[serde(default, skip_serializing_if = "Option::is_none", rename = "tenantID")] @@ -3167,7 +3168,7 @@ pub struct FlowCollectorLokiMonolithic { } /// TLS client configuration for Loki URL. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiMonolithicTls { /// `caCert` defines the reference of the certificate for the Certificate Authority #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] @@ -3185,7 +3186,7 @@ pub struct FlowCollectorLokiMonolithicTls { } /// `caCert` defines the reference of the certificate for the Certificate Authority -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiMonolithicTlsCaCert { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -3215,7 +3216,7 @@ pub enum FlowCollectorLokiMonolithicTlsCaCertType { } /// `userCert` defines the user certificate reference and is used for mTLS (you can ignore it when using one-way TLS) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorLokiMonolithicTlsUserCert { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -3246,7 +3247,7 @@ pub enum FlowCollectorLokiMonolithicTlsUserCertType { /// `processor` defines the settings of the component that receives the flows from the agent, /// enriches them, generates metrics, and forwards them to the Loki persistence layer and/or any available exporter. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessor { /// `addZone` allows availability zone awareness by labelling flows with their source and destination zones. /// This feature requires the "topology.kubernetes.io/zone" label to be set on nodes. @@ -3306,7 +3307,7 @@ pub struct FlowCollectorProcessor { /// `advanced` allows setting some aspects of the internal configuration of the flow processor. /// This section is aimed mostly for debugging and fine-grained performance optimizations, /// such as `GOGC` and `GOMAXPROCS` env vars. Set these values at your own risk. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvanced { /// `conversationEndTimeout` is the time to wait after a network flow is received, to consider the conversation ended. /// This delay is ignored when a FIN packet is collected for TCP flows (see `conversationTerminatingTimeout` instead). @@ -3347,7 +3348,7 @@ pub struct FlowCollectorProcessorAdvanced { } /// scheduling controls whether the pod will be scheduled or not. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedScheduling { /// If specified, the pod's scheduling constraints. For documentation, refer to https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3371,7 +3372,7 @@ pub struct FlowCollectorProcessorAdvancedScheduling { } /// If specified, the pod's scheduling constraints. For documentation, refer to https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -3385,7 +3386,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -3409,7 +3410,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: FlowCollectorProcessorAdvancedSchedulingAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -3418,7 +3419,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityNodeAffinityPreferred } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3430,7 +3431,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityNodeAffinityPreferred /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -3448,7 +3449,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityNodeAffinityPreferred /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -3469,7 +3470,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityNodeAffinityPreferred /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -3479,7 +3480,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityNodeAffinityRequiredD /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3491,7 +3492,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityNodeAffinityRequiredD /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -3509,7 +3510,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityNodeAffinityRequiredD /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -3526,7 +3527,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityNodeAffinityRequiredD } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -3551,7 +3552,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -3562,7 +3563,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAffinityPreferredD } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -3614,7 +3615,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAffinityPreferredD /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3628,7 +3629,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAffinityPreferredD /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3648,7 +3649,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAffinityPreferredD /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3662,7 +3663,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAffinityPreferredD /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3683,7 +3684,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAffinityPreferredD /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -3735,7 +3736,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAffinityRequiredDu /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3749,7 +3750,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAffinityRequiredDu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3769,7 +3770,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAffinityRequiredDu /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3783,7 +3784,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAffinityRequiredDu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3799,7 +3800,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAffinityRequiredDu } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -3824,7 +3825,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -3835,7 +3836,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAntiAffinityPrefer } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -3887,7 +3888,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAntiAffinityPrefer /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3901,7 +3902,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAntiAffinityPrefer /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3921,7 +3922,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAntiAffinityPrefer /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3935,7 +3936,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAntiAffinityPrefer /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3956,7 +3957,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAntiAffinityPrefer /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -4008,7 +4009,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAntiAffinityRequir /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4022,7 +4023,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAntiAffinityRequir /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4042,7 +4043,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAntiAffinityRequir /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4056,7 +4057,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAntiAffinityRequir /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4073,7 +4074,7 @@ pub struct FlowCollectorProcessorAdvancedSchedulingAffinityPodAntiAffinityRequir /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorAdvancedSchedulingTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -4112,7 +4113,7 @@ pub enum FlowCollectorProcessorImagePullPolicy { /// `kafkaConsumerAutoscaler` is the spec of a horizontal pod autoscaler to set up for `flowlogs-pipeline-transformer`, which consumes Kafka messages. /// This setting is ignored when Kafka is disabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscaler { /// `maxReplicas` is the upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxReplicas")] @@ -4134,7 +4135,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscaler { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetrics { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerResource")] pub container_resource: Option, @@ -4150,14 +4151,14 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetrics { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsContainerResource { pub container: String, pub name: String, pub target: FlowCollectorProcessorKafkaConsumerAutoscalerMetricsContainerResourceTarget, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsContainerResourceTarget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] pub average_utilization: Option, @@ -4169,20 +4170,20 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsContainerResource pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternal { pub metric: FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalMetric, pub target: FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalTarget, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalMetric { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalMetricSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4190,7 +4191,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalMetricSel pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalMetricSelectorMatchExpressions { pub key: String, pub operator: String, @@ -4198,7 +4199,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalMetricSel pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalTarget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] pub average_utilization: Option, @@ -4210,7 +4211,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsExternalTarget { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObject { #[serde(rename = "describedObject")] pub described_object: FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectDescribedObject, @@ -4218,7 +4219,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObject { pub target: FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectTarget, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectDescribedObject { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4226,14 +4227,14 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectDescribedOb pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectMetric { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectMetricSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4241,7 +4242,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectMetricSelec pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectMetricSelectorMatchExpressions { pub key: String, pub operator: String, @@ -4249,7 +4250,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectMetricSelec pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectTarget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] pub average_utilization: Option, @@ -4261,20 +4262,20 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsObjectTarget { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPods { pub metric: FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsMetric, pub target: FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsTarget, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsMetric { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub selector: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsMetricSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4282,7 +4283,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsMetricSelecto pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsMetricSelectorMatchExpressions { pub key: String, pub operator: String, @@ -4290,7 +4291,7 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsMetricSelecto pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsTarget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] pub average_utilization: Option, @@ -4302,13 +4303,13 @@ pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsPodsTarget { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsResource { pub name: String, pub target: FlowCollectorProcessorKafkaConsumerAutoscalerMetricsResourceTarget, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorKafkaConsumerAutoscalerMetricsResourceTarget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "averageUtilization")] pub average_utilization: Option, @@ -4359,7 +4360,7 @@ pub enum FlowCollectorProcessorLogTypes { } /// `Metrics` define the processor configuration regarding metrics -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorMetrics { /// `disableAlerts` is a list of alerts that should be disabled. /// Possible values are:
@@ -4383,7 +4384,7 @@ pub struct FlowCollectorProcessorMetrics { } /// Metrics server endpoint configuration for Prometheus scraper -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorMetricsServer { /// The prometheus HTTP port #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4394,7 +4395,7 @@ pub struct FlowCollectorProcessorMetricsServer { } /// TLS configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorMetricsServerTls { /// `insecureSkipVerify` allows skipping client-side verification of the provided certificate. /// If set to `true`, the `providedCaFile` field is ignored. @@ -4415,7 +4416,7 @@ pub struct FlowCollectorProcessorMetricsServerTls { } /// TLS configuration when `type` is set to `Provided`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorMetricsServerTlsProvided { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -4445,7 +4446,7 @@ pub enum FlowCollectorProcessorMetricsServerTlsProvidedType { } /// Reference to the CA file when `type` is set to `Provided`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorMetricsServerTlsProvidedCaFile { /// File name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4481,7 +4482,7 @@ pub enum FlowCollectorProcessorMetricsServerTlsType { /// `resources` are the compute resources required by this container. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -4507,7 +4508,7 @@ pub struct FlowCollectorProcessorResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -4517,7 +4518,7 @@ pub struct FlowCollectorProcessorResourcesClaims { /// `SubnetLabels` allows to define custom labels on subnets and IPs or to enable automatic labelling of recognized subnets in OpenShift. /// When a subnet matches the source or destination IP of a flow, a corresponding field is added: `SrcSubnetLabel` or `DstSubnetLabel`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorSubnetLabels { /// `customLabels` allows to customize subnets and IPs labelling, such as to identify cluster-external workloads or web services. /// If you enable `openShiftAutoDetect`, `customLabels` can override the detected subnets in case they overlap. @@ -4531,7 +4532,7 @@ pub struct FlowCollectorProcessorSubnetLabels { } /// SubnetLabel allows to label subnets and IPs, such as to identify cluster-external workloads or web services. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorProcessorSubnetLabelsCustomLabels { /// List of CIDRs, such as `["1.2.3.4/32"]`. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4542,7 +4543,7 @@ pub struct FlowCollectorProcessorSubnetLabelsCustomLabels { } /// `prometheus` defines Prometheus settings, such as querier configuration used to fetch metrics from the Console plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorPrometheus { /// Prometheus querying configuration, such as client settings, used in the Console plugin. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4550,7 +4551,7 @@ pub struct FlowCollectorPrometheus { } /// Prometheus querying configuration, such as client settings, used in the Console plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorPrometheusQuerier { /// Set `enable` to `true` to make the Console plugin querying flow metrics from Prometheus instead of Loki whenever possible. /// The Console plugin can use either Loki or Prometheus as a data source for metrics (see also `spec.loki`), or both. @@ -4575,7 +4576,7 @@ pub struct FlowCollectorPrometheusQuerier { } /// Prometheus configuration for `Manual` mode. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorPrometheusQuerierManual { /// Set `true` to forward logged in user token in queries to Prometheus #[serde(default, skip_serializing_if = "Option::is_none", rename = "forwardUserToken")] @@ -4589,7 +4590,7 @@ pub struct FlowCollectorPrometheusQuerierManual { } /// TLS client configuration for Prometheus URL. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorPrometheusQuerierManualTls { /// `caCert` defines the reference of the certificate for the Certificate Authority #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] @@ -4607,7 +4608,7 @@ pub struct FlowCollectorPrometheusQuerierManualTls { } /// `caCert` defines the reference of the certificate for the Certificate Authority -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorPrometheusQuerierManualTlsCaCert { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -4637,7 +4638,7 @@ pub enum FlowCollectorPrometheusQuerierManualTlsCaCertType { } /// `userCert` defines the user certificate reference and is used for mTLS (you can ignore it when using one-way TLS) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorPrometheusQuerierManualTlsUserCert { /// `certFile` defines the path to the certificate file name within the config map or secret #[serde(default, skip_serializing_if = "Option::is_none", rename = "certFile")] @@ -4674,7 +4675,7 @@ pub enum FlowCollectorPrometheusQuerierMode { } /// `FlowCollectorStatus` defines the observed state of FlowCollector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FlowCollectorStatus { /// `conditions` represent the latest available observations of an object's state pub conditions: Vec, diff --git a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterfilters.rs b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterfilters.rs index ff397aeae..e7e6d0aac 100644 --- a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterfilters.rs +++ b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterfilters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/clusterfilters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/clusterfilters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterfluentbitconfigs.rs b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterfluentbitconfigs.rs index b573f901b..eae1fc9a6 100644 --- a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterfluentbitconfigs.rs +++ b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterfluentbitconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/clusterfluentbitconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/clusterfluentbitconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterinputs.rs b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterinputs.rs index aa368e025..0ac2b6dc2 100644 --- a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterinputs.rs +++ b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterinputs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/clusterinputs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/clusterinputs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusteroutputs.rs b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusteroutputs.rs index 519b80708..10459e34b 100644 --- a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusteroutputs.rs +++ b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusteroutputs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/clusteroutputs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/clusteroutputs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterparsers.rs b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterparsers.rs index 1f21b34bc..738f4809e 100644 --- a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterparsers.rs +++ b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/clusterparsers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/clusterparsers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/clusterparsers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/collectors.rs b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/collectors.rs index 8187e747c..40852149a 100644 --- a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/collectors.rs +++ b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/collectors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/collectors.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/collectors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/filters.rs b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/filters.rs index e0a48ba34..351d615c0 100644 --- a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/filters.rs +++ b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/filters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/filters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/filters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/fluentbitconfigs.rs b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/fluentbitconfigs.rs index a206d2bfd..1103cf952 100644 --- a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/fluentbitconfigs.rs +++ b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/fluentbitconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/fluentbitconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/fluentbitconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/fluentbits.rs b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/fluentbits.rs index 2edeea4db..091ceb523 100644 --- a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/fluentbits.rs +++ b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/fluentbits.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/fluentbits.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/fluentbits.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/outputs.rs b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/outputs.rs index 11e56cf9c..253b8ad4d 100644 --- a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/outputs.rs +++ b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/outputs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/outputs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/outputs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/parsers.rs b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/parsers.rs index 95b79eba6..adf1fa747 100644 --- a/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/parsers.rs +++ b/kube-custom-resources-rs/src/fluentbit_fluent_io/v1alpha2/parsers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/parsers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentbit.fluent.io/v1alpha2/parsers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusterfilters.rs b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusterfilters.rs index 3e4d45d41..8ac473505 100644 --- a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusterfilters.rs +++ b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusterfilters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusterfilters.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusterfilters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,9 +10,10 @@ mod prelude { use self::prelude::*; /// ClusterFilterSpec defines the desired state of ClusterFilter -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "fluentd.fluent.io", version = "v1alpha1", kind = "ClusterFilter", plural = "clusterfilters")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterFilterSpec { #[serde(default, skip_serializing_if = "Option::is_none")] @@ -20,7 +21,7 @@ pub struct ClusterFilterSpec { } /// Filter defines all available filter plugins and their parameters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterFilterFilters { /// Custom plugin type #[serde(default, skip_serializing_if = "Option::is_none", rename = "customPlugin")] @@ -46,13 +47,13 @@ pub struct ClusterFilterFilters { } /// Custom plugin type -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterFilterFiltersCustomPlugin { pub config: String, } /// The filter_grep filter plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterFilterFiltersGrep { #[serde(default, skip_serializing_if = "Option::is_none")] pub and: Option>, @@ -65,7 +66,7 @@ pub struct ClusterFilterFiltersGrep { } /// And defines the parameters for the "and" plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterFilterFiltersGrepAnd { /// Exclude defines the parameters for the exclude plugin #[serde(default, skip_serializing_if = "Option::is_none")] @@ -76,7 +77,7 @@ pub struct ClusterFilterFiltersGrepAnd { } /// Exclude defines the parameters for the exclude plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterFilterFiltersGrepAndExclude { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -85,7 +86,7 @@ pub struct ClusterFilterFiltersGrepAndExclude { } /// Regexp defines the parameters for the regexp plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterFilterFiltersGrepAndRegexp { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -94,7 +95,7 @@ pub struct ClusterFilterFiltersGrepAndRegexp { } /// Exclude defines the parameters for the exclude plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterFilterFiltersGrepExclude { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -103,7 +104,7 @@ pub struct ClusterFilterFiltersGrepExclude { } /// Or defines the parameters for the "or" plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterFilterFiltersGrepOr { /// Exclude defines the parameters for the exclude plugin #[serde(default, skip_serializing_if = "Option::is_none")] @@ -114,7 +115,7 @@ pub struct ClusterFilterFiltersGrepOr { } /// Exclude defines the parameters for the exclude plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterFilterFiltersGrepOrExclude { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -123,7 +124,7 @@ pub struct ClusterFilterFiltersGrepOrExclude { } /// Regexp defines the parameters for the regexp plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterFilterFiltersGrepOrRegexp { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -132,7 +133,7 @@ pub struct ClusterFilterFiltersGrepOrRegexp { } /// Regexp defines the parameters for the regexp plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterFilterFiltersGrepRegexp { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -239,7 +240,7 @@ pub struct ClusterFilterFiltersParserParse { pub utc: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterFilterFiltersParserParseGrok { /// If true, keep time field in the record. #[serde(default, skip_serializing_if = "Option::is_none", rename = "keepTimeKey")] @@ -306,7 +307,7 @@ pub enum ClusterFilterFiltersParserParseType { } /// The filter_record_transformer filter plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterFilterFiltersRecordTransformer { /// Automatically casts the field types. Default is false. This option is effective only for field values comprised of a single placeholder. #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoTypecast")] @@ -331,7 +332,7 @@ pub struct ClusterFilterFiltersRecordTransformer { } /// The parameters inside directives are considered to be new key-value pairs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterFilterFiltersRecordTransformerRecords { /// New field can be defined as key pub key: String, @@ -340,7 +341,7 @@ pub struct ClusterFilterFiltersRecordTransformerRecords { } /// The filter_stdout filter plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterFilterFiltersStdout { /// The format section #[serde(default, skip_serializing_if = "Option::is_none")] @@ -351,7 +352,7 @@ pub struct ClusterFilterFiltersStdout { } /// The format section -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterFilterFiltersStdoutFormat { /// Delimiter for each field. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -436,7 +437,7 @@ pub enum ClusterFilterFiltersStdoutFormatType { } /// The inject section -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterFilterFiltersStdoutInject { /// Hostname value #[serde(default, skip_serializing_if = "Option::is_none")] @@ -459,7 +460,7 @@ pub struct ClusterFilterFiltersStdoutInject { } /// Time section -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterFilterFiltersStdoutInjectInline { /// If true, uses local time. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -495,7 +496,7 @@ pub enum ClusterFilterFiltersStdoutInjectInlineTimeType { } /// ClusterFilterStatus defines the observed state of ClusterFilter -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterFilterStatus { } diff --git a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusterfluentdconfigs.rs b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusterfluentdconfigs.rs index 0ca4d36de..ddba0727c 100644 --- a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusterfluentdconfigs.rs +++ b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusterfluentdconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusterfluentdconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusterfluentdconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusterinputs.rs b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusterinputs.rs index b0041a3c0..871392833 100644 --- a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusterinputs.rs +++ b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusterinputs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusterinputs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusterinputs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,9 +11,10 @@ mod prelude { use self::prelude::*; /// ClusterInputSpec defines the desired state of ClusterInput -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "fluentd.fluent.io", version = "v1alpha1", kind = "ClusterInput", plural = "clusterinputs")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterInputSpec { #[serde(default, skip_serializing_if = "Option::is_none")] @@ -21,7 +22,7 @@ pub struct ClusterInputSpec { } /// Input defines all available input plugins and their parameters -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputs { /// Custom plugin type #[serde(default, skip_serializing_if = "Option::is_none", rename = "customPlugin")] @@ -53,13 +54,13 @@ pub struct ClusterInputInputs { } /// Custom plugin type -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsCustomPlugin { pub config: String, } /// in_forward plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsForward { /// Adds the prefix to the incoming event's tag. #[serde(default, skip_serializing_if = "Option::is_none", rename = "addTagPrefix")] @@ -115,7 +116,7 @@ pub struct ClusterInputInputsForward { } /// The security section of client plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsForwardClient { /// The IP address or hostname of the client. This is exclusive with Network. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -132,7 +133,7 @@ pub struct ClusterInputInputsForwardClient { } /// The security section of forward plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsForwardSecurity { /// Allows the anonymous source. sections are required, if disabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowAnonymousSource")] @@ -152,7 +153,7 @@ pub struct ClusterInputInputsForwardSecurity { } /// Defines user section directly. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsForwardSecurityUser { /// Secret defines the key of a value. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -163,7 +164,7 @@ pub struct ClusterInputInputsForwardSecurityUser { } /// Secret defines the key of a value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsForwardSecurityUserPassword { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -171,7 +172,7 @@ pub struct ClusterInputInputsForwardSecurityUserPassword { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsForwardSecurityUserPasswordValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -179,7 +180,7 @@ pub struct ClusterInputInputsForwardSecurityUserPasswordValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsForwardSecurityUserPasswordValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -192,7 +193,7 @@ pub struct ClusterInputInputsForwardSecurityUserPasswordValueFromSecretKeyRef { } /// Secret defines the key of a value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsForwardSecurityUserUsername { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -200,7 +201,7 @@ pub struct ClusterInputInputsForwardSecurityUserUsername { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsForwardSecurityUserUsernameValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -208,7 +209,7 @@ pub struct ClusterInputInputsForwardSecurityUserUsernameValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsForwardSecurityUserUsernameValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -221,7 +222,7 @@ pub struct ClusterInputInputsForwardSecurityUserUsernameValueFromSecretKeyRef { } /// The transport section of forward plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsForwardTransport { /// for Cert generated #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCertPath")] @@ -256,7 +257,7 @@ pub struct ClusterInputInputsForwardTransport { } /// The security section of user plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsForwardUser { /// Secret defines the key of a value. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -267,7 +268,7 @@ pub struct ClusterInputInputsForwardUser { } /// Secret defines the key of a value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsForwardUserPassword { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -275,7 +276,7 @@ pub struct ClusterInputInputsForwardUserPassword { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsForwardUserPasswordValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -283,7 +284,7 @@ pub struct ClusterInputInputsForwardUserPasswordValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsForwardUserPasswordValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -296,7 +297,7 @@ pub struct ClusterInputInputsForwardUserPasswordValueFromSecretKeyRef { } /// Secret defines the key of a value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsForwardUserUsername { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -304,7 +305,7 @@ pub struct ClusterInputInputsForwardUserUsername { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsForwardUserUsernameValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -312,7 +313,7 @@ pub struct ClusterInputInputsForwardUserUsernameValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsForwardUserUsernameValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -325,7 +326,7 @@ pub struct ClusterInputInputsForwardUserUsernameValueFromSecretKeyRef { } /// in_http plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsHttp { /// Adds HTTP_ prefix headers to the record. #[serde(default, skip_serializing_if = "Option::is_none", rename = "addHttpHeaders")] @@ -430,7 +431,7 @@ pub struct ClusterInputInputsHttpParse { pub utc: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsHttpParseGrok { /// If true, keep time field in the record. #[serde(default, skip_serializing_if = "Option::is_none", rename = "keepTimeKey")] @@ -497,7 +498,7 @@ pub enum ClusterInputInputsHttpParseType { } /// The transport section of http plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsHttpTransport { /// for Cert generated #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCertPath")] @@ -532,7 +533,7 @@ pub struct ClusterInputInputsHttpTransport { } /// monitor_agent plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsMonitorAgent { /// The bind address to listen to. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -555,7 +556,7 @@ pub struct ClusterInputInputsMonitorAgent { } /// in_sample plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsSample { /// If specified, each generated event has an auto-incremented key field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoIncrementKey")] @@ -655,7 +656,7 @@ pub struct ClusterInputInputsTail { } /// The in_tail plugin can assign each log file to a group, based on user defined rules. The limit parameter controls the total number of lines collected for a group within a rate_period time interval. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsTailGroup { /// Specifies the regular expression for extracting metadata (namespace, podname) from log file path. Default value of the pattern regexp extracts information about namespace, podname, docker_id, container of the log (K8s specific). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -668,7 +669,7 @@ pub struct ClusterInputInputsTailGroup { } /// Grouping rules for log files. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsTailGroupRule { /// Maximum number of lines allowed from a group in rate_period time interval. The default value of -1 doesn't throttle log files of that group. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -746,7 +747,7 @@ pub struct ClusterInputInputsTailParse { pub utc: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputInputsTailParseGrok { /// If true, keep time field in the record. #[serde(default, skip_serializing_if = "Option::is_none", rename = "keepTimeKey")] @@ -813,7 +814,7 @@ pub enum ClusterInputInputsTailParseType { } /// ClusterInputStatus defines the observed state of ClusterInput -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterInputStatus { } diff --git a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusteroutputs.rs b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusteroutputs.rs index 8bb8af443..4454f2760 100644 --- a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusteroutputs.rs +++ b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/clusteroutputs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusteroutputs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/clusteroutputs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,9 +10,10 @@ mod prelude { use self::prelude::*; /// ClusterOutputSpec defines the desired state of ClusterOutput -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "fluentd.fluent.io", version = "v1alpha1", kind = "ClusterOutput", plural = "clusteroutputs")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterOutputSpec { #[serde(default, skip_serializing_if = "Option::is_none")] @@ -20,7 +21,7 @@ pub struct ClusterOutputSpec { } /// Output defines all available output plugins and their parameters -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputs { /// buffer section #[serde(default, skip_serializing_if = "Option::is_none")] @@ -252,7 +253,7 @@ pub enum ClusterOutputOutputsBufferType { } /// out_cloudwatch plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsCloudWatch { #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoCreateStream")] pub auto_create_stream: Option, @@ -354,7 +355,7 @@ pub struct ClusterOutputOutputsCloudWatch { } /// Secret defines the key of a value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsCloudWatchAwsKeyId { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -362,7 +363,7 @@ pub struct ClusterOutputOutputsCloudWatchAwsKeyId { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsCloudWatchAwsKeyIdValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -370,7 +371,7 @@ pub struct ClusterOutputOutputsCloudWatchAwsKeyIdValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsCloudWatchAwsKeyIdValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -383,7 +384,7 @@ pub struct ClusterOutputOutputsCloudWatchAwsKeyIdValueFromSecretKeyRef { } /// Secret defines the key of a value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsCloudWatchAwsSecKey { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -391,7 +392,7 @@ pub struct ClusterOutputOutputsCloudWatchAwsSecKey { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsCloudWatchAwsSecKeyValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -399,7 +400,7 @@ pub struct ClusterOutputOutputsCloudWatchAwsSecKeyValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsCloudWatchAwsSecKeyValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -433,13 +434,13 @@ pub enum ClusterOutputOutputsCopyCopyMode { } /// Custom plugin type -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsCustomPlugin { pub config: String, } /// datadog plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsDatadog { /// This parameter is required in order to authenticate your fluent agent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiKey")] @@ -507,7 +508,7 @@ pub struct ClusterOutputOutputsDatadog { } /// This parameter is required in order to authenticate your fluent agent. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsDatadogApiKey { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -515,7 +516,7 @@ pub struct ClusterOutputOutputsDatadogApiKey { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsDatadogApiKeyValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -523,7 +524,7 @@ pub struct ClusterOutputOutputsDatadogApiKeyValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsDatadogApiKeyValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -536,7 +537,7 @@ pub struct ClusterOutputOutputsDatadogApiKeyValueFromSecretKeyRef { } /// out_es plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsElasticsearch { /// Optional, Absolute path to CA certificate file #[serde(default, skip_serializing_if = "Option::is_none", rename = "caFile")] @@ -592,7 +593,7 @@ pub struct ClusterOutputOutputsElasticsearch { } /// Optional, password for ClientKey file -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsElasticsearchClientKeyPassword { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -600,7 +601,7 @@ pub struct ClusterOutputOutputsElasticsearchClientKeyPassword { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsElasticsearchClientKeyPasswordValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -608,7 +609,7 @@ pub struct ClusterOutputOutputsElasticsearchClientKeyPasswordValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsElasticsearchClientKeyPasswordValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -621,7 +622,7 @@ pub struct ClusterOutputOutputsElasticsearchClientKeyPasswordValueFromSecretKeyR } /// Authenticate towards Elastic Cloud using cloudAuth. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsElasticsearchCloudAuth { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -629,7 +630,7 @@ pub struct ClusterOutputOutputsElasticsearchCloudAuth { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsElasticsearchCloudAuthValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -637,7 +638,7 @@ pub struct ClusterOutputOutputsElasticsearchCloudAuthValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsElasticsearchCloudAuthValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -650,7 +651,7 @@ pub struct ClusterOutputOutputsElasticsearchCloudAuthValueFromSecretKeyRef { } /// Authenticate towards Elastic Cloud using CloudId. If set, cloudAuth must be set as well and host, port, user and password are ignored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsElasticsearchCloudId { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -658,7 +659,7 @@ pub struct ClusterOutputOutputsElasticsearchCloudId { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsElasticsearchCloudIdValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -666,7 +667,7 @@ pub struct ClusterOutputOutputsElasticsearchCloudIdValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsElasticsearchCloudIdValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -679,7 +680,7 @@ pub struct ClusterOutputOutputsElasticsearchCloudIdValueFromSecretKeyRef { } /// Optional, The login credentials to connect to Elasticsearch -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsElasticsearchPassword { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -687,7 +688,7 @@ pub struct ClusterOutputOutputsElasticsearchPassword { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsElasticsearchPasswordValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -695,7 +696,7 @@ pub struct ClusterOutputOutputsElasticsearchPasswordValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsElasticsearchPasswordValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -708,7 +709,7 @@ pub struct ClusterOutputOutputsElasticsearchPasswordValueFromSecretKeyRef { } /// Optional, The login credentials to connect to Elasticsearch -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsElasticsearchUser { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -716,7 +717,7 @@ pub struct ClusterOutputOutputsElasticsearchUser { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsElasticsearchUserValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -724,7 +725,7 @@ pub struct ClusterOutputOutputsElasticsearchUserValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsElasticsearchUserValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -737,7 +738,7 @@ pub struct ClusterOutputOutputsElasticsearchUserValueFromSecretKeyRef { } /// format section -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsFormat { /// Delimiter for each field. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -822,7 +823,7 @@ pub enum ClusterOutputOutputsFormatType { } /// out_forward plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsForward { /// This option is used when require_ack_response is true. This default value is based on popular tcp_syn_retries. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ackResponseTimeout")] @@ -932,7 +933,7 @@ pub enum ClusterOutputOutputsForwardHeartbeatType { } /// ServiceDiscovery defines the security section -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsForwardSecurity { /// Allows the anonymous source. sections are required, if disabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowAnonymousSource")] @@ -952,7 +953,7 @@ pub struct ClusterOutputOutputsForwardSecurity { } /// Defines user section directly. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsForwardSecurityUser { /// Secret defines the key of a value. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -963,7 +964,7 @@ pub struct ClusterOutputOutputsForwardSecurityUser { } /// Secret defines the key of a value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsForwardSecurityUserPassword { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -971,7 +972,7 @@ pub struct ClusterOutputOutputsForwardSecurityUserPassword { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsForwardSecurityUserPasswordValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -979,7 +980,7 @@ pub struct ClusterOutputOutputsForwardSecurityUserPasswordValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsForwardSecurityUserPasswordValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -992,7 +993,7 @@ pub struct ClusterOutputOutputsForwardSecurityUserPasswordValueFromSecretKeyRef } /// Secret defines the key of a value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsForwardSecurityUserUsername { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1000,7 +1001,7 @@ pub struct ClusterOutputOutputsForwardSecurityUserUsername { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsForwardSecurityUserUsernameValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1008,7 +1009,7 @@ pub struct ClusterOutputOutputsForwardSecurityUserUsernameValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsForwardSecurityUserUsernameValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1021,7 +1022,7 @@ pub struct ClusterOutputOutputsForwardSecurityUserUsernameValueFromSecretKeyRef } /// Server defines the common parameters for the server plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsForwardServers { /// Host defines the IP address or host name of the server. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1059,7 +1060,7 @@ pub struct ClusterOutputOutputsForwardServers { } /// Password defines the password for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsForwardServersPassword { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1067,7 +1068,7 @@ pub struct ClusterOutputOutputsForwardServersPassword { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsForwardServersPasswordValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1075,7 +1076,7 @@ pub struct ClusterOutputOutputsForwardServersPasswordValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsForwardServersPasswordValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1088,7 +1089,7 @@ pub struct ClusterOutputOutputsForwardServersPasswordValueFromSecretKeyRef { } /// Username defines the username for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsForwardServersUsername { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1096,7 +1097,7 @@ pub struct ClusterOutputOutputsForwardServersUsername { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsForwardServersUsernameValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1104,7 +1105,7 @@ pub struct ClusterOutputOutputsForwardServersUsernameValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsForwardServersUsernameValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1158,7 +1159,7 @@ pub struct ClusterOutputOutputsForwardServiceDiscovery { } /// The server section of this plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsForwardServiceDiscoveryServer { /// Host defines the IP address or host name of the server. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1196,7 +1197,7 @@ pub struct ClusterOutputOutputsForwardServiceDiscoveryServer { } /// Password defines the password for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsForwardServiceDiscoveryServerPassword { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1204,7 +1205,7 @@ pub struct ClusterOutputOutputsForwardServiceDiscoveryServerPassword { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsForwardServiceDiscoveryServerPasswordValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1212,7 +1213,7 @@ pub struct ClusterOutputOutputsForwardServiceDiscoveryServerPasswordValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsForwardServiceDiscoveryServerPasswordValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1225,7 +1226,7 @@ pub struct ClusterOutputOutputsForwardServiceDiscoveryServerPasswordValueFromSec } /// Username defines the username for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsForwardServiceDiscoveryServerUsername { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1233,7 +1234,7 @@ pub struct ClusterOutputOutputsForwardServiceDiscoveryServerUsername { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsForwardServiceDiscoveryServerUsernameValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1241,7 +1242,7 @@ pub struct ClusterOutputOutputsForwardServiceDiscoveryServerUsernameValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsForwardServiceDiscoveryServerUsernameValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1274,7 +1275,7 @@ pub enum ClusterOutputOutputsForwardTlsVersion { } /// out_http plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsHttp { /// Auth section for this plugin #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1339,7 +1340,7 @@ pub struct ClusterOutputOutputsHttp { } /// Auth section for this plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsHttpAuth { /// The method for HTTP authentication. Now only basic. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1353,7 +1354,7 @@ pub struct ClusterOutputOutputsHttpAuth { } /// The password for basic authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsHttpAuthPassword { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1361,7 +1362,7 @@ pub struct ClusterOutputOutputsHttpAuthPassword { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsHttpAuthPasswordValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1369,7 +1370,7 @@ pub struct ClusterOutputOutputsHttpAuthPasswordValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsHttpAuthPasswordValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1382,7 +1383,7 @@ pub struct ClusterOutputOutputsHttpAuthPasswordValueFromSecretKeyRef { } /// The username for basic authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsHttpAuthUsername { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1390,7 +1391,7 @@ pub struct ClusterOutputOutputsHttpAuthUsername { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsHttpAuthUsernameValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1398,7 +1399,7 @@ pub struct ClusterOutputOutputsHttpAuthUsernameValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsHttpAuthUsernameValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1438,7 +1439,7 @@ pub enum ClusterOutputOutputsHttpTlsVersion { } /// inject section -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsInject { /// Hostname value #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1461,7 +1462,7 @@ pub struct ClusterOutputOutputsInject { } /// Time section -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsInjectInline { /// If true, uses local time. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1497,7 +1498,7 @@ pub enum ClusterOutputOutputsInjectInlineTimeType { } /// out_kafka plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsKafka { /// The list of all seed brokers, with their host and port information. Default: localhost:9092 #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1529,7 +1530,7 @@ pub enum ClusterOutputOutputsKafkaCompressionCodec { } /// out_loki plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsLoki { /// If a record only has 1 key, then just set the log line to the value and discard the key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dropSingleKey")] @@ -1578,7 +1579,7 @@ pub struct ClusterOutputOutputsLoki { } /// Password for user defined in HTTP_User Set HTTP basic authentication password -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsLokiHttpPassword { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1586,7 +1587,7 @@ pub struct ClusterOutputOutputsLokiHttpPassword { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsLokiHttpPasswordValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1594,7 +1595,7 @@ pub struct ClusterOutputOutputsLokiHttpPasswordValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsLokiHttpPasswordValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1607,7 +1608,7 @@ pub struct ClusterOutputOutputsLokiHttpPasswordValueFromSecretKeyRef { } /// Set HTTP basic authentication user name. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsLokiHttpUser { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1615,7 +1616,7 @@ pub struct ClusterOutputOutputsLokiHttpUser { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsLokiHttpUserValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1623,7 +1624,7 @@ pub struct ClusterOutputOutputsLokiHttpUserValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsLokiHttpUserValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1645,7 +1646,7 @@ pub enum ClusterOutputOutputsLokiLineFormat { } /// Tenant ID used by default to push logs to Loki. If omitted or empty it assumes Loki is running in single-tenant mode and no X-Scope-OrgID header is sent. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsLokiTenantId { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1653,7 +1654,7 @@ pub struct ClusterOutputOutputsLokiTenantId { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsLokiTenantIdValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1661,7 +1662,7 @@ pub struct ClusterOutputOutputsLokiTenantIdValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsLokiTenantIdValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1674,7 +1675,7 @@ pub struct ClusterOutputOutputsLokiTenantIdValueFromSecretKeyRef { } /// out_opensearch plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsOpensearch { /// The hostname of your Opensearch node (default: localhost). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1709,7 +1710,7 @@ pub struct ClusterOutputOutputsOpensearch { } /// Optional, The login credentials to connect to Opensearch -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsOpensearchPassword { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1717,7 +1718,7 @@ pub struct ClusterOutputOutputsOpensearchPassword { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsOpensearchPasswordValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1725,7 +1726,7 @@ pub struct ClusterOutputOutputsOpensearchPasswordValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsOpensearchPasswordValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1738,7 +1739,7 @@ pub struct ClusterOutputOutputsOpensearchPasswordValueFromSecretKeyRef { } /// Optional, The login credentials to connect to Opensearch -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsOpensearchUser { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1746,7 +1747,7 @@ pub struct ClusterOutputOutputsOpensearchUser { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsOpensearchUserValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1754,7 +1755,7 @@ pub struct ClusterOutputOutputsOpensearchUserValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsOpensearchUserValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1767,7 +1768,7 @@ pub struct ClusterOutputOutputsOpensearchUserValueFromSecretKeyRef { } /// out_s3 plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsS3 { /// The AWS access key id. #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsKeyId")] @@ -1836,12 +1837,12 @@ pub enum ClusterOutputOutputsS3StoreAs { } /// out_stdout plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputOutputsStdout { } /// ClusterOutputStatus defines the observed state of ClusterOutput -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOutputStatus { } diff --git a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/filters.rs b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/filters.rs index 1b8976b1b..f1f7ab280 100644 --- a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/filters.rs +++ b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/filters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/filters.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/filters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,10 +10,11 @@ mod prelude { use self::prelude::*; /// FilterSpec defines the desired state of Filter -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "fluentd.fluent.io", version = "v1alpha1", kind = "Filter", plural = "filters")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct FilterSpec { #[serde(default, skip_serializing_if = "Option::is_none")] @@ -21,7 +22,7 @@ pub struct FilterSpec { } /// Filter defines all available filter plugins and their parameters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FilterFilters { /// Custom plugin type #[serde(default, skip_serializing_if = "Option::is_none", rename = "customPlugin")] @@ -47,13 +48,13 @@ pub struct FilterFilters { } /// Custom plugin type -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FilterFiltersCustomPlugin { pub config: String, } /// The filter_grep filter plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FilterFiltersGrep { #[serde(default, skip_serializing_if = "Option::is_none")] pub and: Option>, @@ -66,7 +67,7 @@ pub struct FilterFiltersGrep { } /// And defines the parameters for the "and" plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FilterFiltersGrepAnd { /// Exclude defines the parameters for the exclude plugin #[serde(default, skip_serializing_if = "Option::is_none")] @@ -77,7 +78,7 @@ pub struct FilterFiltersGrepAnd { } /// Exclude defines the parameters for the exclude plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FilterFiltersGrepAndExclude { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -86,7 +87,7 @@ pub struct FilterFiltersGrepAndExclude { } /// Regexp defines the parameters for the regexp plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FilterFiltersGrepAndRegexp { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -95,7 +96,7 @@ pub struct FilterFiltersGrepAndRegexp { } /// Exclude defines the parameters for the exclude plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FilterFiltersGrepExclude { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -104,7 +105,7 @@ pub struct FilterFiltersGrepExclude { } /// Or defines the parameters for the "or" plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FilterFiltersGrepOr { /// Exclude defines the parameters for the exclude plugin #[serde(default, skip_serializing_if = "Option::is_none")] @@ -115,7 +116,7 @@ pub struct FilterFiltersGrepOr { } /// Exclude defines the parameters for the exclude plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FilterFiltersGrepOrExclude { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -124,7 +125,7 @@ pub struct FilterFiltersGrepOrExclude { } /// Regexp defines the parameters for the regexp plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FilterFiltersGrepOrRegexp { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -133,7 +134,7 @@ pub struct FilterFiltersGrepOrRegexp { } /// Regexp defines the parameters for the regexp plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FilterFiltersGrepRegexp { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -240,7 +241,7 @@ pub struct FilterFiltersParserParse { pub utc: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FilterFiltersParserParseGrok { /// If true, keep time field in the record. #[serde(default, skip_serializing_if = "Option::is_none", rename = "keepTimeKey")] @@ -307,7 +308,7 @@ pub enum FilterFiltersParserParseType { } /// The filter_record_transformer filter plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FilterFiltersRecordTransformer { /// Automatically casts the field types. Default is false. This option is effective only for field values comprised of a single placeholder. #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoTypecast")] @@ -332,7 +333,7 @@ pub struct FilterFiltersRecordTransformer { } /// The parameters inside directives are considered to be new key-value pairs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FilterFiltersRecordTransformerRecords { /// New field can be defined as key pub key: String, @@ -341,7 +342,7 @@ pub struct FilterFiltersRecordTransformerRecords { } /// The filter_stdout filter plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FilterFiltersStdout { /// The format section #[serde(default, skip_serializing_if = "Option::is_none")] @@ -352,7 +353,7 @@ pub struct FilterFiltersStdout { } /// The format section -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FilterFiltersStdoutFormat { /// Delimiter for each field. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -437,7 +438,7 @@ pub enum FilterFiltersStdoutFormatType { } /// The inject section -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FilterFiltersStdoutInject { /// Hostname value #[serde(default, skip_serializing_if = "Option::is_none")] @@ -460,7 +461,7 @@ pub struct FilterFiltersStdoutInject { } /// Time section -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FilterFiltersStdoutInjectInline { /// If true, uses local time. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -496,7 +497,7 @@ pub enum FilterFiltersStdoutInjectInlineTimeType { } /// FilterStatus defines the observed state of Filter -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FilterStatus { } diff --git a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/fluentdconfigs.rs b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/fluentdconfigs.rs index ebddabb65..bf7a9c8af 100644 --- a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/fluentdconfigs.rs +++ b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/fluentdconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/fluentdconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/fluentdconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/fluentds.rs b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/fluentds.rs index e07903221..658c66899 100644 --- a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/fluentds.rs +++ b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/fluentds.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/fluentds.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/fluentds.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// FluentdSpec defines the desired state of Fluentd -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "fluentd.fluent.io", version = "v1alpha1", kind = "Fluentd", plural = "fluentds")] #[kube(namespaced)] #[kube(status = "FluentdStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct FluentdSpec { /// Pod's scheduling constraints. @@ -128,7 +129,7 @@ pub struct FluentdSpec { } /// Pod's scheduling constraints. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -142,7 +143,7 @@ pub struct FluentdAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -153,7 +154,7 @@ pub struct FluentdAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: FluentdAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -162,7 +163,7 @@ pub struct FluentdAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExec } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -173,7 +174,7 @@ pub struct FluentdAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExec } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -185,7 +186,7 @@ pub struct FluentdAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExec } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -197,7 +198,7 @@ pub struct FluentdAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExec } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -205,7 +206,7 @@ pub struct FluentdAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecu } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -216,7 +217,7 @@ pub struct FluentdAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -228,7 +229,7 @@ pub struct FluentdAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -240,7 +241,7 @@ pub struct FluentdAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecu } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -251,7 +252,7 @@ pub struct FluentdAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -261,7 +262,7 @@ pub struct FluentdAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -278,7 +279,7 @@ pub struct FluentdAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -289,7 +290,7 @@ pub struct FluentdAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -301,7 +302,7 @@ pub struct FluentdAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -312,7 +313,7 @@ pub struct FluentdAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -324,7 +325,7 @@ pub struct FluentdAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -341,7 +342,7 @@ pub struct FluentdAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -352,7 +353,7 @@ pub struct FluentdAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -364,7 +365,7 @@ pub struct FluentdAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -375,7 +376,7 @@ pub struct FluentdAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -387,7 +388,7 @@ pub struct FluentdAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -398,7 +399,7 @@ pub struct FluentdAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -408,7 +409,7 @@ pub struct FluentdAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -425,7 +426,7 @@ pub struct FluentdAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -436,7 +437,7 @@ pub struct FluentdAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -448,7 +449,7 @@ pub struct FluentdAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -459,7 +460,7 @@ pub struct FluentdAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -471,7 +472,7 @@ pub struct FluentdAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -488,7 +489,7 @@ pub struct FluentdAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -499,7 +500,7 @@ pub struct FluentdAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -511,7 +512,7 @@ pub struct FluentdAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -522,7 +523,7 @@ pub struct FluentdAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -534,7 +535,7 @@ pub struct FluentdAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx } /// Buffer definition -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdBuffer { /// Enabled buffer pvc by default. #[serde(default, skip_serializing_if = "Option::is_none", rename = "disableBufferVolume")] @@ -551,7 +552,7 @@ pub struct FluentdBuffer { } /// Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdBufferEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -562,7 +563,7 @@ pub struct FluentdBufferEmptyDir { } /// Volume definition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdBufferHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -572,7 +573,7 @@ pub struct FluentdBufferHostPath { } /// PVC definition -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdBufferPvc { /// 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 #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -592,7 +593,7 @@ pub struct FluentdBufferPvc { } /// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdBufferPvcMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -607,7 +608,7 @@ pub struct FluentdBufferPvcMetadata { } /// spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdBufferPvcSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -636,7 +637,7 @@ pub struct FluentdBufferPvcSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdBufferPvcSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -648,7 +649,7 @@ pub struct FluentdBufferPvcSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdBufferPvcSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -663,7 +664,7 @@ pub struct FluentdBufferPvcSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdBufferPvcSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -679,14 +680,14 @@ pub struct FluentdBufferPvcSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdBufferPvcSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdBufferPvcSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -697,7 +698,7 @@ pub struct FluentdBufferPvcSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdBufferPvcSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -709,7 +710,7 @@ pub struct FluentdBufferPvcSpecSelectorMatchExpressions { } /// status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdBufferPvcStatus { /// accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -732,7 +733,7 @@ pub struct FluentdBufferPvcStatus { } /// ContainerSecurityContext represents the security context for the fluentd container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdContainerSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -770,7 +771,7 @@ pub struct FluentdContainerSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdContainerSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -781,7 +782,7 @@ pub struct FluentdContainerSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdContainerSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -798,7 +799,7 @@ pub struct FluentdContainerSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdContainerSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -810,7 +811,7 @@ pub struct FluentdContainerSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdContainerSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -827,7 +828,7 @@ pub struct FluentdContainerSecurityContextWindowsOptions { } /// Select cluster filter plugins used to filter for the default cluster output -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdDefaultFilterSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -838,7 +839,7 @@ pub struct FluentdDefaultFilterSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdDefaultFilterSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -850,7 +851,7 @@ pub struct FluentdDefaultFilterSelectorMatchExpressions { } /// Select cluster input plugins used to gather the default cluster output -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdDefaultInputSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -861,7 +862,7 @@ pub struct FluentdDefaultInputSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdDefaultInputSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -873,7 +874,7 @@ pub struct FluentdDefaultInputSelectorMatchExpressions { } /// Select cluster output plugins used to send all logs that did not match any route to the matching outputs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdDefaultOutputSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -884,7 +885,7 @@ pub struct FluentdDefaultOutputSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdDefaultOutputSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -896,7 +897,7 @@ pub struct FluentdDefaultOutputSelectorMatchExpressions { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdEnvVars { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -909,7 +910,7 @@ pub struct FluentdEnvVars { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdEnvVarsValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -926,7 +927,7 @@ pub struct FluentdEnvVarsValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdEnvVarsValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -939,7 +940,7 @@ pub struct FluentdEnvVarsValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdEnvVarsValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -950,7 +951,7 @@ pub struct FluentdEnvVarsValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdEnvVarsValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -963,7 +964,7 @@ pub struct FluentdEnvVarsValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdEnvVarsValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -976,7 +977,7 @@ pub struct FluentdEnvVarsValueFromSecretKeyRef { } /// FluentdCfgSelector defines the selectors to select the fluentd config CRs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdFluentdCfgSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -987,7 +988,7 @@ pub struct FluentdFluentdCfgSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdFluentdCfgSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -999,7 +1000,7 @@ pub struct FluentdFluentdCfgSelectorMatchExpressions { } /// Input defines all available input plugins and their parameters -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputs { /// Custom plugin type #[serde(default, skip_serializing_if = "Option::is_none", rename = "customPlugin")] @@ -1031,13 +1032,13 @@ pub struct FluentdGlobalInputs { } /// Custom plugin type -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsCustomPlugin { pub config: String, } /// in_forward plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsForward { /// Adds the prefix to the incoming event's tag. #[serde(default, skip_serializing_if = "Option::is_none", rename = "addTagPrefix")] @@ -1093,7 +1094,7 @@ pub struct FluentdGlobalInputsForward { } /// The security section of client plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsForwardClient { /// The IP address or hostname of the client. This is exclusive with Network. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1110,7 +1111,7 @@ pub struct FluentdGlobalInputsForwardClient { } /// The security section of forward plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsForwardSecurity { /// Allows the anonymous source. sections are required, if disabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowAnonymousSource")] @@ -1130,7 +1131,7 @@ pub struct FluentdGlobalInputsForwardSecurity { } /// Defines user section directly. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsForwardSecurityUser { /// Secret defines the key of a value. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1141,7 +1142,7 @@ pub struct FluentdGlobalInputsForwardSecurityUser { } /// Secret defines the key of a value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsForwardSecurityUserPassword { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1149,7 +1150,7 @@ pub struct FluentdGlobalInputsForwardSecurityUserPassword { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsForwardSecurityUserPasswordValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1157,7 +1158,7 @@ pub struct FluentdGlobalInputsForwardSecurityUserPasswordValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsForwardSecurityUserPasswordValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1170,7 +1171,7 @@ pub struct FluentdGlobalInputsForwardSecurityUserPasswordValueFromSecretKeyRef { } /// Secret defines the key of a value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsForwardSecurityUserUsername { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1178,7 +1179,7 @@ pub struct FluentdGlobalInputsForwardSecurityUserUsername { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsForwardSecurityUserUsernameValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1186,7 +1187,7 @@ pub struct FluentdGlobalInputsForwardSecurityUserUsernameValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsForwardSecurityUserUsernameValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1199,7 +1200,7 @@ pub struct FluentdGlobalInputsForwardSecurityUserUsernameValueFromSecretKeyRef { } /// The transport section of forward plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsForwardTransport { /// for Cert generated #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCertPath")] @@ -1234,7 +1235,7 @@ pub struct FluentdGlobalInputsForwardTransport { } /// The security section of user plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsForwardUser { /// Secret defines the key of a value. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1245,7 +1246,7 @@ pub struct FluentdGlobalInputsForwardUser { } /// Secret defines the key of a value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsForwardUserPassword { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1253,7 +1254,7 @@ pub struct FluentdGlobalInputsForwardUserPassword { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsForwardUserPasswordValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1261,7 +1262,7 @@ pub struct FluentdGlobalInputsForwardUserPasswordValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsForwardUserPasswordValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1274,7 +1275,7 @@ pub struct FluentdGlobalInputsForwardUserPasswordValueFromSecretKeyRef { } /// Secret defines the key of a value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsForwardUserUsername { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1282,7 +1283,7 @@ pub struct FluentdGlobalInputsForwardUserUsername { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsForwardUserUsernameValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1290,7 +1291,7 @@ pub struct FluentdGlobalInputsForwardUserUsernameValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsForwardUserUsernameValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1303,7 +1304,7 @@ pub struct FluentdGlobalInputsForwardUserUsernameValueFromSecretKeyRef { } /// in_http plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsHttp { /// Adds HTTP_ prefix headers to the record. #[serde(default, skip_serializing_if = "Option::is_none", rename = "addHttpHeaders")] @@ -1408,7 +1409,7 @@ pub struct FluentdGlobalInputsHttpParse { pub utc: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsHttpParseGrok { /// If true, keep time field in the record. #[serde(default, skip_serializing_if = "Option::is_none", rename = "keepTimeKey")] @@ -1475,7 +1476,7 @@ pub enum FluentdGlobalInputsHttpParseType { } /// The transport section of http plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsHttpTransport { /// for Cert generated #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCertPath")] @@ -1510,7 +1511,7 @@ pub struct FluentdGlobalInputsHttpTransport { } /// monitor_agent plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsMonitorAgent { /// The bind address to listen to. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1533,7 +1534,7 @@ pub struct FluentdGlobalInputsMonitorAgent { } /// in_sample plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsSample { /// If specified, each generated event has an auto-incremented key field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoIncrementKey")] @@ -1633,7 +1634,7 @@ pub struct FluentdGlobalInputsTail { } /// The in_tail plugin can assign each log file to a group, based on user defined rules. The limit parameter controls the total number of lines collected for a group within a rate_period time interval. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsTailGroup { /// Specifies the regular expression for extracting metadata (namespace, podname) from log file path. Default value of the pattern regexp extracts information about namespace, podname, docker_id, container of the log (K8s specific). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1646,7 +1647,7 @@ pub struct FluentdGlobalInputsTailGroup { } /// Grouping rules for log files. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsTailGroupRule { /// Maximum number of lines allowed from a group in rate_period time interval. The default value of -1 doesn't throttle log files of that group. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1724,7 +1725,7 @@ pub struct FluentdGlobalInputsTailParse { pub utc: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdGlobalInputsTailParseGrok { /// If true, keep time field in the record. #[serde(default, skip_serializing_if = "Option::is_none", rename = "keepTimeKey")] @@ -1791,7 +1792,7 @@ pub enum FluentdGlobalInputsTailParseType { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdImagePullSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1799,7 +1800,7 @@ pub struct FluentdImagePullSecrets { } /// LivenessProbe represents the liveness probe for the fluentd container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1834,7 +1835,7 @@ pub struct FluentdLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1842,7 +1843,7 @@ pub struct FluentdLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1853,7 +1854,7 @@ pub struct FluentdLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1872,7 +1873,7 @@ pub struct FluentdLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdLivenessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -1881,7 +1882,7 @@ pub struct FluentdLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1917,7 +1918,7 @@ pub enum FluentdMode { } /// Storage for position db. You will use it if tail input is enabled. Applicable when the mode is "agent", and will be ignored when the mode is "collector" -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDb { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -2013,7 +2014,7 @@ pub struct FluentdPositionDb { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2030,7 +2031,7 @@ pub struct FluentdPositionDbAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -2053,7 +2054,7 @@ pub struct FluentdPositionDbAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -2067,7 +2068,7 @@ pub struct FluentdPositionDbAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -2089,7 +2090,7 @@ pub struct FluentdPositionDbCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2097,7 +2098,7 @@ pub struct FluentdPositionDbCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2114,7 +2115,7 @@ pub struct FluentdPositionDbCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2122,7 +2123,7 @@ pub struct FluentdPositionDbCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2139,7 +2140,7 @@ pub struct FluentdPositionDbConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbConfigMapItems { /// key is the key to project. pub key: String, @@ -2151,7 +2152,7 @@ pub struct FluentdPositionDbConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -2170,7 +2171,7 @@ pub struct FluentdPositionDbCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2178,7 +2179,7 @@ pub struct FluentdPositionDbCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2189,7 +2190,7 @@ pub struct FluentdPositionDbDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -2205,7 +2206,7 @@ pub struct FluentdPositionDbDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2216,7 +2217,7 @@ pub struct FluentdPositionDbDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2229,7 +2230,7 @@ pub struct FluentdPositionDbDownwardApiItemsResourceFieldRef { } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2244,7 +2245,7 @@ pub struct FluentdPositionDbEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -2258,7 +2259,7 @@ pub struct FluentdPositionDbEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2268,7 +2269,7 @@ pub struct FluentdPositionDbEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -2283,7 +2284,7 @@ pub struct FluentdPositionDbEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -2312,7 +2313,7 @@ pub struct FluentdPositionDbEphemeralVolumeClaimTemplateSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2324,7 +2325,7 @@ pub struct FluentdPositionDbEphemeralVolumeClaimTemplateSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2339,7 +2340,7 @@ pub struct FluentdPositionDbEphemeralVolumeClaimTemplateSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2355,14 +2356,14 @@ pub struct FluentdPositionDbEphemeralVolumeClaimTemplateSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2373,7 +2374,7 @@ pub struct FluentdPositionDbEphemeralVolumeClaimTemplateSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2385,7 +2386,7 @@ pub struct FluentdPositionDbEphemeralVolumeClaimTemplateSpecSelectorMatchExpress } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2405,7 +2406,7 @@ pub struct FluentdPositionDbFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -2424,7 +2425,7 @@ pub struct FluentdPositionDbFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2432,7 +2433,7 @@ pub struct FluentdPositionDbFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -2443,7 +2444,7 @@ pub struct FluentdPositionDbFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2460,7 +2461,7 @@ pub struct FluentdPositionDbGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2473,7 +2474,7 @@ pub struct FluentdPositionDbGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -2485,7 +2486,7 @@ pub struct FluentdPositionDbGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -2495,7 +2496,7 @@ pub struct FluentdPositionDbHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -2531,7 +2532,7 @@ pub struct FluentdPositionDbIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2539,7 +2540,7 @@ pub struct FluentdPositionDbIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -2551,7 +2552,7 @@ pub struct FluentdPositionDbNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -2562,7 +2563,7 @@ pub struct FluentdPositionDbPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2573,7 +2574,7 @@ pub struct FluentdPositionDbPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2587,7 +2588,7 @@ pub struct FluentdPositionDbPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2598,7 +2599,7 @@ pub struct FluentdPositionDbProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2615,7 +2616,7 @@ pub struct FluentdPositionDbProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2629,7 +2630,7 @@ pub struct FluentdPositionDbProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -2641,7 +2642,7 @@ pub struct FluentdPositionDbProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2649,7 +2650,7 @@ pub struct FluentdPositionDbProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -2665,7 +2666,7 @@ pub struct FluentdPositionDbProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2676,7 +2677,7 @@ pub struct FluentdPositionDbProjectedSourcesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2689,7 +2690,7 @@ pub struct FluentdPositionDbProjectedSourcesDownwardApiItemsResourceFieldRef { } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2703,7 +2704,7 @@ pub struct FluentdPositionDbProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -2715,7 +2716,7 @@ pub struct FluentdPositionDbProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2728,7 +2729,7 @@ pub struct FluentdPositionDbProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2749,7 +2750,7 @@ pub struct FluentdPositionDbQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2776,7 +2777,7 @@ pub struct FluentdPositionDbRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2784,7 +2785,7 @@ pub struct FluentdPositionDbRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2817,7 +2818,7 @@ pub struct FluentdPositionDbScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2825,7 +2826,7 @@ pub struct FluentdPositionDbScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2842,7 +2843,7 @@ pub struct FluentdPositionDbSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbSecretItems { /// key is the key to project. pub key: String, @@ -2854,7 +2855,7 @@ pub struct FluentdPositionDbSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2874,7 +2875,7 @@ pub struct FluentdPositionDbStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2882,7 +2883,7 @@ pub struct FluentdPositionDbStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdPositionDbVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2899,7 +2900,7 @@ pub struct FluentdPositionDbVsphereVolume { } /// PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdRbacRules { /// APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. "" represents the core API group and "*" represents all API groups. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroups")] @@ -2918,7 +2919,7 @@ pub struct FluentdRbacRules { } /// ReadinessProbe represents the readiness probe for the fluentd container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2953,7 +2954,7 @@ pub struct FluentdReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2961,7 +2962,7 @@ pub struct FluentdReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2972,7 +2973,7 @@ pub struct FluentdReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2991,7 +2992,7 @@ pub struct FluentdReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdReadinessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -3000,7 +3001,7 @@ pub struct FluentdReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3010,7 +3011,7 @@ pub struct FluentdReadinessProbeTcpSocket { } /// Compute Resources required by container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -3026,14 +3027,14 @@ pub struct FluentdResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// PodSecurityContext represents the security context for the fluentd pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -3070,7 +3071,7 @@ pub struct FluentdSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3087,7 +3088,7 @@ pub struct FluentdSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -3099,7 +3100,7 @@ pub struct FluentdSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -3108,7 +3109,7 @@ pub struct FluentdSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -3125,7 +3126,7 @@ pub struct FluentdSecurityContextWindowsOptions { } /// Service represents configurations on the fluentd service. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdService { /// Annotations to add to each FluentD service. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3139,7 +3140,7 @@ pub struct FluentdService { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3159,7 +3160,7 @@ pub struct FluentdTolerations { } /// PersistentVolumeClaim is a user's request for and claim to a persistent volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumeClaimTemplates { /// 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 #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3179,7 +3180,7 @@ pub struct FluentdVolumeClaimTemplates { } /// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumeClaimTemplatesMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3194,7 +3195,7 @@ pub struct FluentdVolumeClaimTemplatesMetadata { } /// spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumeClaimTemplatesSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -3223,7 +3224,7 @@ pub struct FluentdVolumeClaimTemplatesSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumeClaimTemplatesSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -3235,7 +3236,7 @@ pub struct FluentdVolumeClaimTemplatesSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumeClaimTemplatesSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -3250,7 +3251,7 @@ pub struct FluentdVolumeClaimTemplatesSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumeClaimTemplatesSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -3266,14 +3267,14 @@ pub struct FluentdVolumeClaimTemplatesSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumeClaimTemplatesSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumeClaimTemplatesSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3284,7 +3285,7 @@ pub struct FluentdVolumeClaimTemplatesSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumeClaimTemplatesSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3296,7 +3297,7 @@ pub struct FluentdVolumeClaimTemplatesSpecSelectorMatchExpressions { } /// status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumeClaimTemplatesStatus { /// accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -3319,7 +3320,7 @@ pub struct FluentdVolumeClaimTemplatesStatus { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -3341,7 +3342,7 @@ pub struct FluentdVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -3439,7 +3440,7 @@ pub struct FluentdVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3456,7 +3457,7 @@ pub struct FluentdVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -3479,7 +3480,7 @@ pub struct FluentdVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -3493,7 +3494,7 @@ pub struct FluentdVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -3515,7 +3516,7 @@ pub struct FluentdVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3523,7 +3524,7 @@ pub struct FluentdVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3540,7 +3541,7 @@ pub struct FluentdVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3548,7 +3549,7 @@ pub struct FluentdVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -3565,7 +3566,7 @@ pub struct FluentdVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -3577,7 +3578,7 @@ pub struct FluentdVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -3596,7 +3597,7 @@ pub struct FluentdVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3604,7 +3605,7 @@ pub struct FluentdVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -3615,7 +3616,7 @@ pub struct FluentdVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -3631,7 +3632,7 @@ pub struct FluentdVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3642,7 +3643,7 @@ pub struct FluentdVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -3655,7 +3656,7 @@ pub struct FluentdVolumesDownwardApiItemsResourceFieldRef { } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3670,7 +3671,7 @@ pub struct FluentdVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -3684,7 +3685,7 @@ pub struct FluentdVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3694,7 +3695,7 @@ pub struct FluentdVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3709,7 +3710,7 @@ pub struct FluentdVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -3738,7 +3739,7 @@ pub struct FluentdVolumesEphemeralVolumeClaimTemplateSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -3750,7 +3751,7 @@ pub struct FluentdVolumesEphemeralVolumeClaimTemplateSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -3765,7 +3766,7 @@ pub struct FluentdVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -3781,14 +3782,14 @@ pub struct FluentdVolumesEphemeralVolumeClaimTemplateSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3799,7 +3800,7 @@ pub struct FluentdVolumesEphemeralVolumeClaimTemplateSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3811,7 +3812,7 @@ pub struct FluentdVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpression } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3831,7 +3832,7 @@ pub struct FluentdVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -3850,7 +3851,7 @@ pub struct FluentdVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3858,7 +3859,7 @@ pub struct FluentdVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -3869,7 +3870,7 @@ pub struct FluentdVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3886,7 +3887,7 @@ pub struct FluentdVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3899,7 +3900,7 @@ pub struct FluentdVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -3911,7 +3912,7 @@ pub struct FluentdVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -3921,7 +3922,7 @@ pub struct FluentdVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -3957,7 +3958,7 @@ pub struct FluentdVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3965,7 +3966,7 @@ pub struct FluentdVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -3977,7 +3978,7 @@ pub struct FluentdVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -3988,7 +3989,7 @@ pub struct FluentdVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3999,7 +4000,7 @@ pub struct FluentdVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4013,7 +4014,7 @@ pub struct FluentdVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -4024,7 +4025,7 @@ pub struct FluentdVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4041,7 +4042,7 @@ pub struct FluentdVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4055,7 +4056,7 @@ pub struct FluentdVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -4067,7 +4068,7 @@ pub struct FluentdVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4075,7 +4076,7 @@ pub struct FluentdVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -4091,7 +4092,7 @@ pub struct FluentdVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4102,7 +4103,7 @@ pub struct FluentdVolumesProjectedSourcesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -4115,7 +4116,7 @@ pub struct FluentdVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4129,7 +4130,7 @@ pub struct FluentdVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -4141,7 +4142,7 @@ pub struct FluentdVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4154,7 +4155,7 @@ pub struct FluentdVolumesProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4175,7 +4176,7 @@ pub struct FluentdVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4202,7 +4203,7 @@ pub struct FluentdVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4210,7 +4211,7 @@ pub struct FluentdVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4243,7 +4244,7 @@ pub struct FluentdVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4251,7 +4252,7 @@ pub struct FluentdVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -4268,7 +4269,7 @@ pub struct FluentdVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesSecretItems { /// key is the key to project. pub key: String, @@ -4280,7 +4281,7 @@ pub struct FluentdVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4300,7 +4301,7 @@ pub struct FluentdVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4308,7 +4309,7 @@ pub struct FluentdVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4325,7 +4326,7 @@ pub struct FluentdVolumesVsphereVolume { } /// FluentdStatus defines the observed state of Fluentd -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FluentdStatus { /// Messages defines the plugin errors which is selected by this fluentdconfig #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/inputs.rs b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/inputs.rs index 31a90f255..03e4114b1 100644 --- a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/inputs.rs +++ b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/inputs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/inputs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/inputs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { use self::prelude::*; /// InputSpec defines the desired state of Input -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "fluentd.fluent.io", version = "v1alpha1", kind = "Input", plural = "inputs")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct InputSpec { #[serde(default, skip_serializing_if = "Option::is_none")] @@ -22,7 +23,7 @@ pub struct InputSpec { } /// Input defines all available input plugins and their parameters -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputs { /// Custom plugin type #[serde(default, skip_serializing_if = "Option::is_none", rename = "customPlugin")] @@ -54,13 +55,13 @@ pub struct InputInputs { } /// Custom plugin type -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsCustomPlugin { pub config: String, } /// in_forward plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsForward { /// Adds the prefix to the incoming event's tag. #[serde(default, skip_serializing_if = "Option::is_none", rename = "addTagPrefix")] @@ -116,7 +117,7 @@ pub struct InputInputsForward { } /// The security section of client plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsForwardClient { /// The IP address or hostname of the client. This is exclusive with Network. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -133,7 +134,7 @@ pub struct InputInputsForwardClient { } /// The security section of forward plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsForwardSecurity { /// Allows the anonymous source. sections are required, if disabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowAnonymousSource")] @@ -153,7 +154,7 @@ pub struct InputInputsForwardSecurity { } /// Defines user section directly. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsForwardSecurityUser { /// Secret defines the key of a value. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -164,7 +165,7 @@ pub struct InputInputsForwardSecurityUser { } /// Secret defines the key of a value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsForwardSecurityUserPassword { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -172,7 +173,7 @@ pub struct InputInputsForwardSecurityUserPassword { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsForwardSecurityUserPasswordValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -180,7 +181,7 @@ pub struct InputInputsForwardSecurityUserPasswordValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsForwardSecurityUserPasswordValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -193,7 +194,7 @@ pub struct InputInputsForwardSecurityUserPasswordValueFromSecretKeyRef { } /// Secret defines the key of a value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsForwardSecurityUserUsername { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -201,7 +202,7 @@ pub struct InputInputsForwardSecurityUserUsername { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsForwardSecurityUserUsernameValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -209,7 +210,7 @@ pub struct InputInputsForwardSecurityUserUsernameValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsForwardSecurityUserUsernameValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -222,7 +223,7 @@ pub struct InputInputsForwardSecurityUserUsernameValueFromSecretKeyRef { } /// The transport section of forward plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsForwardTransport { /// for Cert generated #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCertPath")] @@ -257,7 +258,7 @@ pub struct InputInputsForwardTransport { } /// The security section of user plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsForwardUser { /// Secret defines the key of a value. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -268,7 +269,7 @@ pub struct InputInputsForwardUser { } /// Secret defines the key of a value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsForwardUserPassword { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -276,7 +277,7 @@ pub struct InputInputsForwardUserPassword { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsForwardUserPasswordValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -284,7 +285,7 @@ pub struct InputInputsForwardUserPasswordValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsForwardUserPasswordValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -297,7 +298,7 @@ pub struct InputInputsForwardUserPasswordValueFromSecretKeyRef { } /// Secret defines the key of a value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsForwardUserUsername { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -305,7 +306,7 @@ pub struct InputInputsForwardUserUsername { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsForwardUserUsernameValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -313,7 +314,7 @@ pub struct InputInputsForwardUserUsernameValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsForwardUserUsernameValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -326,7 +327,7 @@ pub struct InputInputsForwardUserUsernameValueFromSecretKeyRef { } /// in_http plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsHttp { /// Adds HTTP_ prefix headers to the record. #[serde(default, skip_serializing_if = "Option::is_none", rename = "addHttpHeaders")] @@ -431,7 +432,7 @@ pub struct InputInputsHttpParse { pub utc: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsHttpParseGrok { /// If true, keep time field in the record. #[serde(default, skip_serializing_if = "Option::is_none", rename = "keepTimeKey")] @@ -498,7 +499,7 @@ pub enum InputInputsHttpParseType { } /// The transport section of http plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsHttpTransport { /// for Cert generated #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCertPath")] @@ -533,7 +534,7 @@ pub struct InputInputsHttpTransport { } /// monitor_agent plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsMonitorAgent { /// The bind address to listen to. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -556,7 +557,7 @@ pub struct InputInputsMonitorAgent { } /// in_sample plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsSample { /// If specified, each generated event has an auto-incremented key field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoIncrementKey")] @@ -656,7 +657,7 @@ pub struct InputInputsTail { } /// The in_tail plugin can assign each log file to a group, based on user defined rules. The limit parameter controls the total number of lines collected for a group within a rate_period time interval. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsTailGroup { /// Specifies the regular expression for extracting metadata (namespace, podname) from log file path. Default value of the pattern regexp extracts information about namespace, podname, docker_id, container of the log (K8s specific). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -669,7 +670,7 @@ pub struct InputInputsTailGroup { } /// Grouping rules for log files. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsTailGroupRule { /// Maximum number of lines allowed from a group in rate_period time interval. The default value of -1 doesn't throttle log files of that group. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -747,7 +748,7 @@ pub struct InputInputsTailParse { pub utc: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputInputsTailParseGrok { /// If true, keep time field in the record. #[serde(default, skip_serializing_if = "Option::is_none", rename = "keepTimeKey")] @@ -814,7 +815,7 @@ pub enum InputInputsTailParseType { } /// InputStatus defines the observed state of Input -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InputStatus { } diff --git a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/outputs.rs b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/outputs.rs index 5af7be2c9..af7b19aa7 100644 --- a/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/outputs.rs +++ b/kube-custom-resources-rs/src/fluentd_fluent_io/v1alpha1/outputs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/outputs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluent/fluent-operator/fluentd.fluent.io/v1alpha1/outputs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,10 +10,11 @@ mod prelude { use self::prelude::*; /// OutputSpec defines the desired state of Output -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "fluentd.fluent.io", version = "v1alpha1", kind = "Output", plural = "outputs")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct OutputSpec { #[serde(default, skip_serializing_if = "Option::is_none")] @@ -21,7 +22,7 @@ pub struct OutputSpec { } /// Output defines all available output plugins and their parameters -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputs { /// buffer section #[serde(default, skip_serializing_if = "Option::is_none")] @@ -253,7 +254,7 @@ pub enum OutputOutputsBufferType { } /// out_cloudwatch plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsCloudWatch { #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoCreateStream")] pub auto_create_stream: Option, @@ -355,7 +356,7 @@ pub struct OutputOutputsCloudWatch { } /// Secret defines the key of a value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsCloudWatchAwsKeyId { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -363,7 +364,7 @@ pub struct OutputOutputsCloudWatchAwsKeyId { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsCloudWatchAwsKeyIdValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -371,7 +372,7 @@ pub struct OutputOutputsCloudWatchAwsKeyIdValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsCloudWatchAwsKeyIdValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -384,7 +385,7 @@ pub struct OutputOutputsCloudWatchAwsKeyIdValueFromSecretKeyRef { } /// Secret defines the key of a value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsCloudWatchAwsSecKey { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -392,7 +393,7 @@ pub struct OutputOutputsCloudWatchAwsSecKey { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsCloudWatchAwsSecKeyValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -400,7 +401,7 @@ pub struct OutputOutputsCloudWatchAwsSecKeyValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsCloudWatchAwsSecKeyValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -434,13 +435,13 @@ pub enum OutputOutputsCopyCopyMode { } /// Custom plugin type -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsCustomPlugin { pub config: String, } /// datadog plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsDatadog { /// This parameter is required in order to authenticate your fluent agent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiKey")] @@ -508,7 +509,7 @@ pub struct OutputOutputsDatadog { } /// This parameter is required in order to authenticate your fluent agent. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsDatadogApiKey { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -516,7 +517,7 @@ pub struct OutputOutputsDatadogApiKey { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsDatadogApiKeyValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -524,7 +525,7 @@ pub struct OutputOutputsDatadogApiKeyValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsDatadogApiKeyValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -537,7 +538,7 @@ pub struct OutputOutputsDatadogApiKeyValueFromSecretKeyRef { } /// out_es plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsElasticsearch { /// Optional, Absolute path to CA certificate file #[serde(default, skip_serializing_if = "Option::is_none", rename = "caFile")] @@ -593,7 +594,7 @@ pub struct OutputOutputsElasticsearch { } /// Optional, password for ClientKey file -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsElasticsearchClientKeyPassword { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -601,7 +602,7 @@ pub struct OutputOutputsElasticsearchClientKeyPassword { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsElasticsearchClientKeyPasswordValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -609,7 +610,7 @@ pub struct OutputOutputsElasticsearchClientKeyPasswordValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsElasticsearchClientKeyPasswordValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -622,7 +623,7 @@ pub struct OutputOutputsElasticsearchClientKeyPasswordValueFromSecretKeyRef { } /// Authenticate towards Elastic Cloud using cloudAuth. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsElasticsearchCloudAuth { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -630,7 +631,7 @@ pub struct OutputOutputsElasticsearchCloudAuth { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsElasticsearchCloudAuthValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -638,7 +639,7 @@ pub struct OutputOutputsElasticsearchCloudAuthValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsElasticsearchCloudAuthValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -651,7 +652,7 @@ pub struct OutputOutputsElasticsearchCloudAuthValueFromSecretKeyRef { } /// Authenticate towards Elastic Cloud using CloudId. If set, cloudAuth must be set as well and host, port, user and password are ignored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsElasticsearchCloudId { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -659,7 +660,7 @@ pub struct OutputOutputsElasticsearchCloudId { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsElasticsearchCloudIdValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -667,7 +668,7 @@ pub struct OutputOutputsElasticsearchCloudIdValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsElasticsearchCloudIdValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -680,7 +681,7 @@ pub struct OutputOutputsElasticsearchCloudIdValueFromSecretKeyRef { } /// Optional, The login credentials to connect to Elasticsearch -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsElasticsearchPassword { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -688,7 +689,7 @@ pub struct OutputOutputsElasticsearchPassword { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsElasticsearchPasswordValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -696,7 +697,7 @@ pub struct OutputOutputsElasticsearchPasswordValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsElasticsearchPasswordValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -709,7 +710,7 @@ pub struct OutputOutputsElasticsearchPasswordValueFromSecretKeyRef { } /// Optional, The login credentials to connect to Elasticsearch -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsElasticsearchUser { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -717,7 +718,7 @@ pub struct OutputOutputsElasticsearchUser { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsElasticsearchUserValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -725,7 +726,7 @@ pub struct OutputOutputsElasticsearchUserValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsElasticsearchUserValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -738,7 +739,7 @@ pub struct OutputOutputsElasticsearchUserValueFromSecretKeyRef { } /// format section -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsFormat { /// Delimiter for each field. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -823,7 +824,7 @@ pub enum OutputOutputsFormatType { } /// out_forward plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsForward { /// This option is used when require_ack_response is true. This default value is based on popular tcp_syn_retries. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ackResponseTimeout")] @@ -933,7 +934,7 @@ pub enum OutputOutputsForwardHeartbeatType { } /// ServiceDiscovery defines the security section -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsForwardSecurity { /// Allows the anonymous source. sections are required, if disabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowAnonymousSource")] @@ -953,7 +954,7 @@ pub struct OutputOutputsForwardSecurity { } /// Defines user section directly. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsForwardSecurityUser { /// Secret defines the key of a value. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -964,7 +965,7 @@ pub struct OutputOutputsForwardSecurityUser { } /// Secret defines the key of a value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsForwardSecurityUserPassword { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -972,7 +973,7 @@ pub struct OutputOutputsForwardSecurityUserPassword { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsForwardSecurityUserPasswordValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -980,7 +981,7 @@ pub struct OutputOutputsForwardSecurityUserPasswordValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsForwardSecurityUserPasswordValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -993,7 +994,7 @@ pub struct OutputOutputsForwardSecurityUserPasswordValueFromSecretKeyRef { } /// Secret defines the key of a value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsForwardSecurityUserUsername { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1001,7 +1002,7 @@ pub struct OutputOutputsForwardSecurityUserUsername { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsForwardSecurityUserUsernameValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1009,7 +1010,7 @@ pub struct OutputOutputsForwardSecurityUserUsernameValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsForwardSecurityUserUsernameValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1022,7 +1023,7 @@ pub struct OutputOutputsForwardSecurityUserUsernameValueFromSecretKeyRef { } /// Server defines the common parameters for the server plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsForwardServers { /// Host defines the IP address or host name of the server. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1060,7 +1061,7 @@ pub struct OutputOutputsForwardServers { } /// Password defines the password for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsForwardServersPassword { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1068,7 +1069,7 @@ pub struct OutputOutputsForwardServersPassword { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsForwardServersPasswordValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1076,7 +1077,7 @@ pub struct OutputOutputsForwardServersPasswordValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsForwardServersPasswordValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1089,7 +1090,7 @@ pub struct OutputOutputsForwardServersPasswordValueFromSecretKeyRef { } /// Username defines the username for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsForwardServersUsername { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1097,7 +1098,7 @@ pub struct OutputOutputsForwardServersUsername { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsForwardServersUsernameValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1105,7 +1106,7 @@ pub struct OutputOutputsForwardServersUsernameValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsForwardServersUsernameValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1159,7 +1160,7 @@ pub struct OutputOutputsForwardServiceDiscovery { } /// The server section of this plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsForwardServiceDiscoveryServer { /// Host defines the IP address or host name of the server. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1197,7 +1198,7 @@ pub struct OutputOutputsForwardServiceDiscoveryServer { } /// Password defines the password for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsForwardServiceDiscoveryServerPassword { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1205,7 +1206,7 @@ pub struct OutputOutputsForwardServiceDiscoveryServerPassword { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsForwardServiceDiscoveryServerPasswordValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1213,7 +1214,7 @@ pub struct OutputOutputsForwardServiceDiscoveryServerPasswordValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsForwardServiceDiscoveryServerPasswordValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1226,7 +1227,7 @@ pub struct OutputOutputsForwardServiceDiscoveryServerPasswordValueFromSecretKeyR } /// Username defines the username for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsForwardServiceDiscoveryServerUsername { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1234,7 +1235,7 @@ pub struct OutputOutputsForwardServiceDiscoveryServerUsername { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsForwardServiceDiscoveryServerUsernameValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1242,7 +1243,7 @@ pub struct OutputOutputsForwardServiceDiscoveryServerUsernameValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsForwardServiceDiscoveryServerUsernameValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1275,7 +1276,7 @@ pub enum OutputOutputsForwardTlsVersion { } /// out_http plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsHttp { /// Auth section for this plugin #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1340,7 +1341,7 @@ pub struct OutputOutputsHttp { } /// Auth section for this plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsHttpAuth { /// The method for HTTP authentication. Now only basic. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1354,7 +1355,7 @@ pub struct OutputOutputsHttpAuth { } /// The password for basic authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsHttpAuthPassword { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1362,7 +1363,7 @@ pub struct OutputOutputsHttpAuthPassword { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsHttpAuthPasswordValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1370,7 +1371,7 @@ pub struct OutputOutputsHttpAuthPasswordValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsHttpAuthPasswordValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1383,7 +1384,7 @@ pub struct OutputOutputsHttpAuthPasswordValueFromSecretKeyRef { } /// The username for basic authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsHttpAuthUsername { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1391,7 +1392,7 @@ pub struct OutputOutputsHttpAuthUsername { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsHttpAuthUsernameValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1399,7 +1400,7 @@ pub struct OutputOutputsHttpAuthUsernameValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsHttpAuthUsernameValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1439,7 +1440,7 @@ pub enum OutputOutputsHttpTlsVersion { } /// inject section -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsInject { /// Hostname value #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1462,7 +1463,7 @@ pub struct OutputOutputsInject { } /// Time section -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsInjectInline { /// If true, uses local time. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1498,7 +1499,7 @@ pub enum OutputOutputsInjectInlineTimeType { } /// out_kafka plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsKafka { /// The list of all seed brokers, with their host and port information. Default: localhost:9092 #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1530,7 +1531,7 @@ pub enum OutputOutputsKafkaCompressionCodec { } /// out_loki plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsLoki { /// If a record only has 1 key, then just set the log line to the value and discard the key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dropSingleKey")] @@ -1579,7 +1580,7 @@ pub struct OutputOutputsLoki { } /// Password for user defined in HTTP_User Set HTTP basic authentication password -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsLokiHttpPassword { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1587,7 +1588,7 @@ pub struct OutputOutputsLokiHttpPassword { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsLokiHttpPasswordValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1595,7 +1596,7 @@ pub struct OutputOutputsLokiHttpPasswordValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsLokiHttpPasswordValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1608,7 +1609,7 @@ pub struct OutputOutputsLokiHttpPasswordValueFromSecretKeyRef { } /// Set HTTP basic authentication user name. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsLokiHttpUser { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1616,7 +1617,7 @@ pub struct OutputOutputsLokiHttpUser { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsLokiHttpUserValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1624,7 +1625,7 @@ pub struct OutputOutputsLokiHttpUserValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsLokiHttpUserValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1646,7 +1647,7 @@ pub enum OutputOutputsLokiLineFormat { } /// Tenant ID used by default to push logs to Loki. If omitted or empty it assumes Loki is running in single-tenant mode and no X-Scope-OrgID header is sent. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsLokiTenantId { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1654,7 +1655,7 @@ pub struct OutputOutputsLokiTenantId { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsLokiTenantIdValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1662,7 +1663,7 @@ pub struct OutputOutputsLokiTenantIdValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsLokiTenantIdValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1675,7 +1676,7 @@ pub struct OutputOutputsLokiTenantIdValueFromSecretKeyRef { } /// out_opensearch plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsOpensearch { /// The hostname of your Opensearch node (default: localhost). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1710,7 +1711,7 @@ pub struct OutputOutputsOpensearch { } /// Optional, The login credentials to connect to Opensearch -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsOpensearchPassword { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1718,7 +1719,7 @@ pub struct OutputOutputsOpensearchPassword { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsOpensearchPasswordValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1726,7 +1727,7 @@ pub struct OutputOutputsOpensearchPasswordValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsOpensearchPasswordValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1739,7 +1740,7 @@ pub struct OutputOutputsOpensearchPasswordValueFromSecretKeyRef { } /// Optional, The login credentials to connect to Opensearch -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsOpensearchUser { /// ValueSource defines how to find a value's key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "valueFrom")] @@ -1747,7 +1748,7 @@ pub struct OutputOutputsOpensearchUser { } /// ValueSource defines how to find a value's key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsOpensearchUserValueFrom { /// Selects a key of a secret in the pod's namespace #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -1755,7 +1756,7 @@ pub struct OutputOutputsOpensearchUserValueFrom { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsOpensearchUserValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1768,7 +1769,7 @@ pub struct OutputOutputsOpensearchUserValueFromSecretKeyRef { } /// out_s3 plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsS3 { /// The AWS access key id. #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsKeyId")] @@ -1837,12 +1838,12 @@ pub enum OutputOutputsS3StoreAs { } /// out_stdout plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputOutputsStdout { } /// OutputStatus defines the observed state of Output -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OutputStatus { } diff --git a/kube-custom-resources-rs/src/flux_framework_org/v1alpha1/miniclusters.rs b/kube-custom-resources-rs/src/flux_framework_org/v1alpha1/miniclusters.rs index f8bb2112f..7d2e71408 100644 --- a/kube-custom-resources-rs/src/flux_framework_org/v1alpha1/miniclusters.rs +++ b/kube-custom-resources-rs/src/flux_framework_org/v1alpha1/miniclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/flux-framework/flux-operator/flux-framework.org/v1alpha1/miniclusters.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/flux-framework/flux-operator/flux-framework.org/v1alpha1/miniclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// MiniCluster is an HPC cluster in Kubernetes you can control Either to submit a single job (and go away) or for a persistent single- or multi- user cluster -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "flux-framework.org", version = "v1alpha1", kind = "MiniCluster", plural = "miniclusters")] #[kube(namespaced)] #[kube(status = "MiniClusterStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct MiniClusterSpec { /// Archive to load or save @@ -76,14 +77,14 @@ pub struct MiniClusterSpec { } /// Archive to load or save -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterArchive { /// Save or load from this directory path #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterContainers { /// Indicate that the command is a batch job that will be written to a file to submit #[serde(default, skip_serializing_if = "Option::is_none")] @@ -157,7 +158,7 @@ pub struct MiniClusterContainers { } /// More specific or detailed commands for just workers/broker -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterContainersCommands { /// A single command for only the broker to run #[serde(default, skip_serializing_if = "Option::is_none", rename = "brokerPre")] @@ -183,7 +184,7 @@ pub struct MiniClusterContainersCommands { } /// Existing Volumes to add to the containers -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterContainersExistingVolumes { /// Claim name if the existing volume is a PVC #[serde(default, skip_serializing_if = "Option::is_none", rename = "claimName")] @@ -205,7 +206,7 @@ pub struct MiniClusterContainersExistingVolumes { } /// Flux User, if created in the container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterContainersFluxUser { /// Flux user name #[serde(default, skip_serializing_if = "Option::is_none")] @@ -216,7 +217,7 @@ pub struct MiniClusterContainersFluxUser { } /// Lifecycle can handle post start commands, etc. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterContainersLifeCycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStartExec")] pub post_start_exec: Option, @@ -225,7 +226,7 @@ pub struct MiniClusterContainersLifeCycle { } /// Resources include limits and requests -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -234,7 +235,7 @@ pub struct MiniClusterContainersResources { } /// Secrets that will be added to the environment The user is expected to create their own secrets for the operator to find -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterContainersSecrets { /// Key under secretKeyRef->Key #[serde(default, skip_serializing_if = "Option::is_none")] @@ -245,7 +246,7 @@ pub struct MiniClusterContainersSecrets { } /// Security Context https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterContainersSecurityContext { /// Capabilities to add #[serde(default, skip_serializing_if = "Option::is_none", rename = "addCapabilities")] @@ -256,7 +257,7 @@ pub struct MiniClusterContainersSecurityContext { } /// Volumes that can be mounted (must be defined in volumes) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterContainersVolumes { #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, @@ -265,7 +266,7 @@ pub struct MiniClusterContainersVolumes { } /// Flux options for the broker, shared across cluster -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterFlux { /// Optionally provide a manually created broker config this is intended for bursting to remote clusters #[serde(default, skip_serializing_if = "Option::is_none", rename = "brokerConfig")] @@ -309,7 +310,7 @@ pub struct MiniClusterFlux { } /// Bursting - one or more external clusters to burst to We assume a single, central MiniCluster with an ipaddress that all connect to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterFluxBursting { /// External clusters to burst to. Each external cluster must share the same listing to align ranks #[serde(default, skip_serializing_if = "Option::is_none")] @@ -322,7 +323,7 @@ pub struct MiniClusterFluxBursting { pub lead_broker: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterFluxBurstingClusters { /// The hostnames for the bursted clusters If set, the user is responsible for ensuring uniqueness. The operator will set to burst-N #[serde(default, skip_serializing_if = "Option::is_none")] @@ -333,7 +334,7 @@ pub struct MiniClusterFluxBurstingClusters { } /// The lead broker ip address to join to. E.g., if we burst to cluster 2, this is the address to connect to cluster 1 For the first cluster, this should not be defined -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterFluxBurstingLeadBroker { /// Lead broker address (ip or hostname) pub address: String, @@ -347,7 +348,7 @@ pub struct MiniClusterFluxBurstingLeadBroker { } /// Custom attributes for the fluxion scheduler -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterFluxScheduler { /// Scheduler queue policy, defaults to "fcfs" can also be "easy" #[serde(default, skip_serializing_if = "Option::is_none", rename = "queuePolicy")] @@ -355,7 +356,7 @@ pub struct MiniClusterFluxScheduler { } /// Customization to Flux Restful API There should only be one container to run flux with runFlux -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterFluxRestful { /// Branch to clone Flux Restful API from #[serde(default, skip_serializing_if = "Option::is_none")] @@ -375,7 +376,7 @@ pub struct MiniClusterFluxRestful { } /// Logging modes determine the output you see in the job log -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterLogging { /// Debug mode adds extra verbosity to Flux #[serde(default, skip_serializing_if = "Option::is_none")] @@ -395,7 +396,7 @@ pub struct MiniClusterLogging { } /// A spec for exposing or defining the cluster headless service -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterNetwork { /// Name for cluster headless service #[serde(default, skip_serializing_if = "Option::is_none", rename = "headlessName")] @@ -403,7 +404,7 @@ pub struct MiniClusterNetwork { } /// Pod spec details -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterPod { /// Annotations for each pod #[serde(default, skip_serializing_if = "Option::is_none")] @@ -422,7 +423,7 @@ pub struct MiniClusterPod { pub service_account_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterServices { /// Indicate that the command is a batch job that will be written to a file to submit #[serde(default, skip_serializing_if = "Option::is_none")] @@ -496,7 +497,7 @@ pub struct MiniClusterServices { } /// More specific or detailed commands for just workers/broker -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterServicesCommands { /// A single command for only the broker to run #[serde(default, skip_serializing_if = "Option::is_none", rename = "brokerPre")] @@ -522,7 +523,7 @@ pub struct MiniClusterServicesCommands { } /// Existing Volumes to add to the containers -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterServicesExistingVolumes { /// Claim name if the existing volume is a PVC #[serde(default, skip_serializing_if = "Option::is_none", rename = "claimName")] @@ -544,7 +545,7 @@ pub struct MiniClusterServicesExistingVolumes { } /// Flux User, if created in the container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterServicesFluxUser { /// Flux user name #[serde(default, skip_serializing_if = "Option::is_none")] @@ -555,7 +556,7 @@ pub struct MiniClusterServicesFluxUser { } /// Lifecycle can handle post start commands, etc. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterServicesLifeCycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStartExec")] pub post_start_exec: Option, @@ -564,7 +565,7 @@ pub struct MiniClusterServicesLifeCycle { } /// Resources include limits and requests -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterServicesResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -573,7 +574,7 @@ pub struct MiniClusterServicesResources { } /// Secrets that will be added to the environment The user is expected to create their own secrets for the operator to find -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterServicesSecrets { /// Key under secretKeyRef->Key #[serde(default, skip_serializing_if = "Option::is_none")] @@ -584,7 +585,7 @@ pub struct MiniClusterServicesSecrets { } /// Security Context https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterServicesSecurityContext { /// Capabilities to add #[serde(default, skip_serializing_if = "Option::is_none", rename = "addCapabilities")] @@ -595,7 +596,7 @@ pub struct MiniClusterServicesSecurityContext { } /// Volumes that can be mounted (must be defined in volumes) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterServicesVolumes { #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, @@ -603,7 +604,7 @@ pub struct MiniClusterServicesVolumes { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterUsers { /// If a user is defined, the username is required pub name: String, @@ -612,7 +613,7 @@ pub struct MiniClusterUsers { } /// Volumes accessible to containers from a host Not all containers are required to use them -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterVolumes { /// Annotations for the volume #[serde(default, skip_serializing_if = "Option::is_none")] @@ -650,7 +651,7 @@ pub struct MiniClusterVolumes { } /// MiniClusterStatus defines the observed state of Flux -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MiniClusterStatus { /// conditions hold the latest Flux Job and MiniCluster states #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/flux_framework_org/v1alpha2/miniclusters.rs b/kube-custom-resources-rs/src/flux_framework_org/v1alpha2/miniclusters.rs index 405b7122d..6bddae7e6 100644 --- a/kube-custom-resources-rs/src/flux_framework_org/v1alpha2/miniclusters.rs +++ b/kube-custom-resources-rs/src/flux_framework_org/v1alpha2/miniclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/flux-framework/flux-operator/flux-framework.org/v1alpha2/miniclusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/flux-framework/flux-operator/flux-framework.org/v1alpha2/miniclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/forkliftcontrollers.rs b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/forkliftcontrollers.rs index c467a4560..d77c14fa1 100644 --- a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/forkliftcontrollers.rs +++ b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/forkliftcontrollers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/forkliftcontrollers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/forkliftcontrollers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/hooks.rs b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/hooks.rs index e68492239..46f4b85a7 100644 --- a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/hooks.rs +++ b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/hooks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/hooks.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/hooks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/hosts.rs b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/hosts.rs index 97d910ab4..257bd39d2 100644 --- a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/hosts.rs +++ b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/hosts.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/hosts.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/hosts.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/migrations.rs b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/migrations.rs index abdf4afe0..7e756f210 100644 --- a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/migrations.rs +++ b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/migrations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/migrations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/migrations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/networkmaps.rs b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/networkmaps.rs index 3dc99c759..9315b9805 100644 --- a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/networkmaps.rs +++ b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/networkmaps.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/networkmaps.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/networkmaps.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// Network map spec. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "forklift.konveyor.io", version = "v1beta1", kind = "NetworkMap", plural = "networkmaps")] #[kube(namespaced)] #[kube(status = "NetworkMapStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct NetworkMapSpec { /// Map. @@ -57,7 +58,7 @@ pub enum NetworkMapMapDestinationType { } /// Source network. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NetworkMapMapSource { /// The object ID. vsphere: The managed object ID. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -74,7 +75,7 @@ pub struct NetworkMapMapSource { } /// Provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NetworkMapProvider { /// Destination. pub destination: NetworkMapProviderDestination, @@ -83,7 +84,7 @@ pub struct NetworkMapProvider { } /// Destination. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NetworkMapProviderDestination { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -109,7 +110,7 @@ pub struct NetworkMapProviderDestination { } /// Source. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NetworkMapProviderSource { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -135,7 +136,7 @@ pub struct NetworkMapProviderSource { } /// MapStatus defines the observed state of Maps. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NetworkMapStatus { /// List of conditions. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -148,7 +149,7 @@ pub struct NetworkMapStatus { } /// Source reference. Either the ID or Name must be specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NetworkMapStatusReferences { /// The object ID. vsphere: The managed object ID. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/openstackvolumepopulators.rs b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/openstackvolumepopulators.rs index 9f3f305cb..8df7f093d 100644 --- a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/openstackvolumepopulators.rs +++ b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/openstackvolumepopulators.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/openstackvolumepopulators.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/openstackvolumepopulators.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/ovirtvolumepopulators.rs b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/ovirtvolumepopulators.rs index 745562617..b4ee18391 100644 --- a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/ovirtvolumepopulators.rs +++ b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/ovirtvolumepopulators.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/ovirtvolumepopulators.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/ovirtvolumepopulators.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/plans.rs b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/plans.rs index 986686270..d6754cedc 100644 --- a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/plans.rs +++ b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/plans.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/plans.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/plans.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/providers.rs b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/providers.rs index b7b29b001..32c6a8f19 100644 --- a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/providers.rs +++ b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/providers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/providers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/providers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/storagemaps.rs b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/storagemaps.rs index 64536b706..3092ddf24 100644 --- a/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/storagemaps.rs +++ b/kube-custom-resources-rs/src/forklift_konveyor_io/v1beta1/storagemaps.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/storagemaps.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/storagemaps.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/fossul_io/v1/backupconfigs.rs b/kube-custom-resources-rs/src/fossul_io/v1/backupconfigs.rs index b2596ca1d..72660cb7f 100644 --- a/kube-custom-resources-rs/src/fossul_io/v1/backupconfigs.rs +++ b/kube-custom-resources-rs/src/fossul_io/v1/backupconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fossul/fossul/fossul.io/v1/backupconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fossul/fossul/fossul.io/v1/backupconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/fossul_io/v1/backups.rs b/kube-custom-resources-rs/src/fossul_io/v1/backups.rs index 6dd608d1f..350f39376 100644 --- a/kube-custom-resources-rs/src/fossul_io/v1/backups.rs +++ b/kube-custom-resources-rs/src/fossul_io/v1/backups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fossul/fossul/fossul.io/v1/backups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fossul/fossul/fossul.io/v1/backups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/fossul_io/v1/backupschedules.rs b/kube-custom-resources-rs/src/fossul_io/v1/backupschedules.rs index 79dd6a0ae..f6c23e742 100644 --- a/kube-custom-resources-rs/src/fossul_io/v1/backupschedules.rs +++ b/kube-custom-resources-rs/src/fossul_io/v1/backupschedules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fossul/fossul/fossul.io/v1/backupschedules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fossul/fossul/fossul.io/v1/backupschedules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/fossul_io/v1/fossuls.rs b/kube-custom-resources-rs/src/fossul_io/v1/fossuls.rs index d0ad6d10d..1f82951a0 100644 --- a/kube-custom-resources-rs/src/fossul_io/v1/fossuls.rs +++ b/kube-custom-resources-rs/src/fossul_io/v1/fossuls.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fossul/fossul/fossul.io/v1/fossuls.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fossul/fossul/fossul.io/v1/fossuls.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/fossul_io/v1/restores.rs b/kube-custom-resources-rs/src/fossul_io/v1/restores.rs index 315717113..96c9aecb8 100644 --- a/kube-custom-resources-rs/src/fossul_io/v1/restores.rs +++ b/kube-custom-resources-rs/src/fossul_io/v1/restores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fossul/fossul/fossul.io/v1/restores.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fossul/fossul/fossul.io/v1/restores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/gatewayclasses.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/gatewayclasses.rs index f17337126..eeb167337 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/gatewayclasses.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/gatewayclasses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/gatewayclasses.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/gatewayclasses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { use self::prelude::*; /// Spec defines the desired state of GatewayClass. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "gateway.networking.k8s.io", version = "v1", kind = "GatewayClass", plural = "gatewayclasses")] #[kube(status = "GatewayClassStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct GatewayClassSpec { /// ControllerName is the name of the controller that is managing Gateways of @@ -81,7 +82,7 @@ pub struct GatewayClassSpec { /// /// /// Support: Implementation-specific -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayClassParametersRef { /// Group is the group of the referent. pub group: String, @@ -101,7 +102,7 @@ pub struct GatewayClassParametersRef { /// /// Implementations MUST populate status on all GatewayClass resources which /// specify their controller name. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayClassStatus { /// Conditions is the current status from the controller for /// this GatewayClass. diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/gateways.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/gateways.rs index 2a596dafb..5bb1cd874 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/gateways.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/gateways.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/gateways.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/gateways.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// Spec defines the desired state of Gateway. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "gateway.networking.k8s.io", version = "v1", kind = "Gateway", plural = "gateways")] #[kube(namespaced)] #[kube(status = "GatewayStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct GatewaySpec { /// Addresses requested for this Gateway. This is optional and behavior can @@ -209,7 +210,7 @@ pub struct GatewaySpec { } /// GatewayAddress describes an address that can be bound to a Gateway. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayAddresses { /// Type of the address. #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] @@ -229,7 +230,7 @@ pub struct GatewayAddresses { /// /// /// -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayInfrastructure { /// Annotations that SHOULD be applied to any resources created in response to this Gateway. /// @@ -289,7 +290,7 @@ pub struct GatewayInfrastructure { /// /// /// Support: Implementation-specific -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayInfrastructureParametersRef { /// Group is the group of the referent. pub group: String, @@ -301,7 +302,7 @@ pub struct GatewayInfrastructureParametersRef { /// Listener embodies the concept of a logical endpoint where a Gateway accepts /// network connections. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayListeners { /// AllowedRoutes defines the types of routes that MAY be attached to a /// Listener and the trusted namespaces where those Route resources MAY be @@ -429,7 +430,7 @@ pub struct GatewayListeners { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayListenersAllowedRoutes { /// Kinds specifies the groups and kinds of Routes that are allowed to bind /// to this Gateway Listener. When unspecified or empty, the kinds of Routes @@ -456,7 +457,7 @@ pub struct GatewayListenersAllowedRoutes { } /// RouteGroupKind indicates the group and kind of a Route resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayListenersAllowedRoutesKinds { /// Group is the group of the Route. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -470,7 +471,7 @@ pub struct GatewayListenersAllowedRoutesKinds { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayListenersAllowedRoutesNamespaces { /// From indicates where Routes will be selected for this Gateway. Possible /// values are: @@ -513,7 +514,7 @@ pub enum GatewayListenersAllowedRoutesNamespacesFrom { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayListenersAllowedRoutesNamespacesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -527,7 +528,7 @@ pub struct GatewayListenersAllowedRoutesNamespacesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayListenersAllowedRoutesNamespacesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -556,7 +557,7 @@ pub struct GatewayListenersAllowedRoutesNamespacesSelectorMatchExpressions { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayListenersTls { /// CertificateRefs contains a series of references to Kubernetes objects that /// contains TLS certificates and private keys. These certificates are used to @@ -647,7 +648,7 @@ pub struct GatewayListenersTls { /// References to objects with invalid Group and Kind are not valid, and must /// be rejected by the implementation, with appropriate Conditions set /// on the containing object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayListenersTlsCertificateRefs { /// Group is the group of the referent. For example, "gateway.networking.k8s.io". /// When unspecified or empty string, core API group is inferred. @@ -684,7 +685,7 @@ pub struct GatewayListenersTlsCertificateRefs { /// /// /// -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayListenersTlsFrontendValidation { /// CACertificateRefs contains one or more references to /// Kubernetes objects that contain TLS certificates of @@ -725,7 +726,7 @@ pub struct GatewayListenersTlsFrontendValidation { /// References to objects with invalid Group and Kind are not valid, and must /// be rejected by the implementation, with appropriate Conditions set /// on the containing object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayListenersTlsFrontendValidationCaCertificateRefs { /// Group is the group of the referent. For example, "gateway.networking.k8s.io". /// When unspecified or empty string, core API group is inferred. @@ -770,7 +771,7 @@ pub enum GatewayListenersTlsMode { } /// Status defines the current state of Gateway. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayStatus { /// Addresses lists the network addresses that have been bound to the /// Gateway. @@ -811,7 +812,7 @@ pub struct GatewayStatus { } /// GatewayStatusAddress describes a network address that is bound to a Gateway. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayStatusAddresses { /// Type of the address. #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] @@ -825,7 +826,7 @@ pub struct GatewayStatusAddresses { } /// ListenerStatus is the status associated with a Listener. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayStatusListeners { /// AttachedRoutes represents the total number of Routes that have been /// successfully attached to this Listener. @@ -867,7 +868,7 @@ pub struct GatewayStatusListeners { } /// RouteGroupKind indicates the group and kind of a Route resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayStatusListenersSupportedKinds { /// Group is the group of the Route. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/grpcroutes.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/grpcroutes.rs index 4607a588a..b98e38b08 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/grpcroutes.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/grpcroutes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/grpcroutes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/grpcroutes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// Spec defines the desired state of GRPCRoute. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "gateway.networking.k8s.io", version = "v1", kind = "GRPCRoute", plural = "grpcroutes")] #[kube(namespaced)] #[kube(status = "GRPCRouteStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct GRPCRouteSpec { /// Hostnames defines a set of hostnames to match against the GRPC @@ -181,7 +182,7 @@ pub struct GRPCRouteSpec { /// /// The API object must be valid in the cluster; the Group and Kind must /// be registered in the cluster for this reference to be valid. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteParentRefs { /// Group is the group of the referent. /// When unspecified, "gateway.networking.k8s.io" is inferred. @@ -310,7 +311,7 @@ pub struct GRPCRouteParentRefs { /// GRPCRouteRule defines the semantics for matching a gRPC request based on /// conditions (matches), processing it (filters), and forwarding the request to /// an API object (backendRefs). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRules { /// BackendRefs defines the backend(s) where matching requests should be /// sent. @@ -487,7 +488,7 @@ pub struct GRPCRouteRules { /// /// /// -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesBackendRefs { /// Filters defined at this level MUST be executed if and only if the /// request is being forwarded to the backend defined here. @@ -655,7 +656,7 @@ pub struct GRPCRouteRulesBackendRefsFilters { /// /// /// This filter can be used multiple times within the same rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesBackendRefsFiltersExtensionRef { /// Group is the group of the referent. For example, "gateway.networking.k8s.io". /// When unspecified or empty string, core API group is inferred. @@ -671,7 +672,7 @@ pub struct GRPCRouteRulesBackendRefsFiltersExtensionRef { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesBackendRefsFiltersRequestHeaderModifier { /// Add adds the given header(s) (name, value) to the request /// before the action. It appends to any existing values associated @@ -739,7 +740,7 @@ pub struct GRPCRouteRulesBackendRefsFiltersRequestHeaderModifier { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesBackendRefsFiltersRequestHeaderModifierAdd { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -756,7 +757,7 @@ pub struct GRPCRouteRulesBackendRefsFiltersRequestHeaderModifierAdd { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesBackendRefsFiltersRequestHeaderModifierSet { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -783,7 +784,7 @@ pub struct GRPCRouteRulesBackendRefsFiltersRequestHeaderModifierSet { /// /// /// Support: Extended -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesBackendRefsFiltersRequestMirror { /// BackendRef references a resource where mirrored requests are sent. /// @@ -847,7 +848,7 @@ pub struct GRPCRouteRulesBackendRefsFiltersRequestMirror { /// /// /// Support: Implementation-specific for any other resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesBackendRefsFiltersRequestMirrorBackendRef { /// Group is the group of the referent. For example, "gateway.networking.k8s.io". /// When unspecified or empty string, core API group is inferred. @@ -902,7 +903,7 @@ pub struct GRPCRouteRulesBackendRefsFiltersRequestMirrorBackendRef { /// /// /// Support: Extended -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesBackendRefsFiltersResponseHeaderModifier { /// Add adds the given header(s) (name, value) to the request /// before the action. It appends to any existing values associated @@ -970,7 +971,7 @@ pub struct GRPCRouteRulesBackendRefsFiltersResponseHeaderModifier { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesBackendRefsFiltersResponseHeaderModifierAdd { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -987,7 +988,7 @@ pub struct GRPCRouteRulesBackendRefsFiltersResponseHeaderModifierAdd { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesBackendRefsFiltersResponseHeaderModifierSet { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -1110,7 +1111,7 @@ pub struct GRPCRouteRulesFilters { /// /// /// This filter can be used multiple times within the same rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesFiltersExtensionRef { /// Group is the group of the referent. For example, "gateway.networking.k8s.io". /// When unspecified or empty string, core API group is inferred. @@ -1126,7 +1127,7 @@ pub struct GRPCRouteRulesFiltersExtensionRef { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesFiltersRequestHeaderModifier { /// Add adds the given header(s) (name, value) to the request /// before the action. It appends to any existing values associated @@ -1194,7 +1195,7 @@ pub struct GRPCRouteRulesFiltersRequestHeaderModifier { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesFiltersRequestHeaderModifierAdd { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -1211,7 +1212,7 @@ pub struct GRPCRouteRulesFiltersRequestHeaderModifierAdd { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesFiltersRequestHeaderModifierSet { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -1238,7 +1239,7 @@ pub struct GRPCRouteRulesFiltersRequestHeaderModifierSet { /// /// /// Support: Extended -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesFiltersRequestMirror { /// BackendRef references a resource where mirrored requests are sent. /// @@ -1302,7 +1303,7 @@ pub struct GRPCRouteRulesFiltersRequestMirror { /// /// /// Support: Implementation-specific for any other resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesFiltersRequestMirrorBackendRef { /// Group is the group of the referent. For example, "gateway.networking.k8s.io". /// When unspecified or empty string, core API group is inferred. @@ -1357,7 +1358,7 @@ pub struct GRPCRouteRulesFiltersRequestMirrorBackendRef { /// /// /// Support: Extended -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesFiltersResponseHeaderModifier { /// Add adds the given header(s) (name, value) to the request /// before the action. It appends to any existing values associated @@ -1425,7 +1426,7 @@ pub struct GRPCRouteRulesFiltersResponseHeaderModifier { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesFiltersResponseHeaderModifierAdd { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -1442,7 +1443,7 @@ pub struct GRPCRouteRulesFiltersResponseHeaderModifierAdd { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesFiltersResponseHeaderModifierSet { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -1492,7 +1493,7 @@ pub enum GRPCRouteRulesFiltersType { /// /// /// ``` -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesMatches { /// Headers specifies gRPC request header matchers. Multiple match values are /// ANDed together, meaning, a request MUST match all the specified headers @@ -1507,7 +1508,7 @@ pub struct GRPCRouteRulesMatches { /// GRPCHeaderMatch describes how to select a gRPC route by matching gRPC request /// headers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesMatchesHeaders { /// Name is the name of the gRPC Header to be matched. /// @@ -1535,7 +1536,7 @@ pub enum GRPCRouteRulesMatchesHeadersType { /// Method specifies a gRPC request service/method matcher. If this field is /// not specified, all services and methods will match. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesMatchesMethod { /// Value of the method to match against. If left empty or omitted, will /// match all services. @@ -1579,7 +1580,7 @@ pub enum GRPCRouteRulesMatchesMethodType { /// /// /// -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesSessionPersistence { /// AbsoluteTimeout defines the absolute timeout of the persistent /// session. Once the AbsoluteTimeout duration has elapsed, the @@ -1631,7 +1632,7 @@ pub struct GRPCRouteRulesSessionPersistence { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesSessionPersistenceCookieConfig { /// LifetimeType specifies whether the cookie has a permanent or /// session-based lifetime. A permanent cookie persists until its @@ -1684,7 +1685,7 @@ pub enum GRPCRouteRulesSessionPersistenceType { } /// Status defines the current state of GRPCRoute. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteStatus { /// Parents is a list of parent resources (usually Gateways) that are /// associated with the route, and the status of the route with respect to @@ -1707,7 +1708,7 @@ pub struct GRPCRouteStatus { /// RouteParentStatus describes the status of a route with respect to an /// associated Parent. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteStatusParents { /// Conditions describes the status of the route with respect to the Gateway. /// Note that the route's availability is also subject to the Gateway's own @@ -1760,7 +1761,7 @@ pub struct GRPCRouteStatusParents { /// ParentRef corresponds with a ParentRef in the spec that this /// RouteParentStatus struct describes the status of. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteStatusParentsParentRef { /// Group is the group of the referent. /// When unspecified, "gateway.networking.k8s.io" is inferred. diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/httproutes.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/httproutes.rs index 0d71ea83a..7ade0e9d7 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/httproutes.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1/httproutes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/httproutes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/httproutes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// Spec defines the desired state of HTTPRoute. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "gateway.networking.k8s.io", version = "v1", kind = "HTTPRoute", plural = "httproutes")] #[kube(namespaced)] #[kube(status = "HTTPRouteStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct HTTPRouteSpec { /// Hostnames defines a set of hostnames that should match against the HTTP Host @@ -185,7 +186,7 @@ pub struct HTTPRouteSpec { /// /// The API object must be valid in the cluster; the Group and Kind must /// be registered in the cluster for this reference to be valid. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteParentRefs { /// Group is the group of the referent. /// When unspecified, "gateway.networking.k8s.io" is inferred. @@ -314,7 +315,7 @@ pub struct HTTPRouteParentRefs { /// HTTPRouteRule defines semantics for matching an HTTP request based on /// conditions (matches), processing it (filters), and forwarding the request to /// an API object (backendRefs). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRules { /// BackendRefs defines the backend(s) where matching requests should be /// sent. @@ -526,7 +527,7 @@ pub struct HTTPRouteRules { /// /// /// -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesBackendRefs { /// Filters defined at this level should be executed if and only if the /// request is being forwarded to the backend defined here. @@ -714,7 +715,7 @@ pub struct HTTPRouteRulesBackendRefsFilters { /// /// /// Support: Implementation-specific -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesBackendRefsFiltersExtensionRef { /// Group is the group of the referent. For example, "gateway.networking.k8s.io". /// When unspecified or empty string, core API group is inferred. @@ -730,7 +731,7 @@ pub struct HTTPRouteRulesBackendRefsFiltersExtensionRef { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesBackendRefsFiltersRequestHeaderModifier { /// Add adds the given header(s) (name, value) to the request /// before the action. It appends to any existing values associated @@ -798,7 +799,7 @@ pub struct HTTPRouteRulesBackendRefsFiltersRequestHeaderModifier { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesBackendRefsFiltersRequestHeaderModifierAdd { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -815,7 +816,7 @@ pub struct HTTPRouteRulesBackendRefsFiltersRequestHeaderModifierAdd { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesBackendRefsFiltersRequestHeaderModifierSet { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -842,7 +843,7 @@ pub struct HTTPRouteRulesBackendRefsFiltersRequestHeaderModifierSet { /// /// /// Support: Extended -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesBackendRefsFiltersRequestMirror { /// BackendRef references a resource where mirrored requests are sent. /// @@ -906,7 +907,7 @@ pub struct HTTPRouteRulesBackendRefsFiltersRequestMirror { /// /// /// Support: Implementation-specific for any other resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesBackendRefsFiltersRequestMirrorBackendRef { /// Group is the group of the referent. For example, "gateway.networking.k8s.io". /// When unspecified or empty string, core API group is inferred. @@ -961,7 +962,7 @@ pub struct HTTPRouteRulesBackendRefsFiltersRequestMirrorBackendRef { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesBackendRefsFiltersRequestRedirect { /// Hostname is the hostname to be used in the value of the `Location` /// header in the response. @@ -1148,7 +1149,7 @@ pub enum HTTPRouteRulesBackendRefsFiltersRequestRedirectStatusCode { /// /// /// Support: Extended -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesBackendRefsFiltersResponseHeaderModifier { /// Add adds the given header(s) (name, value) to the request /// before the action. It appends to any existing values associated @@ -1216,7 +1217,7 @@ pub struct HTTPRouteRulesBackendRefsFiltersResponseHeaderModifier { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesBackendRefsFiltersResponseHeaderModifierAdd { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -1233,7 +1234,7 @@ pub struct HTTPRouteRulesBackendRefsFiltersResponseHeaderModifierAdd { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesBackendRefsFiltersResponseHeaderModifierSet { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -1270,7 +1271,7 @@ pub enum HTTPRouteRulesBackendRefsFiltersType { /// /// /// Support: Extended -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesBackendRefsFiltersUrlRewrite { /// Hostname is the value to be used to replace the Host header value during /// forwarding. @@ -1468,7 +1469,7 @@ pub struct HTTPRouteRulesFilters { /// /// /// Support: Implementation-specific -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesFiltersExtensionRef { /// Group is the group of the referent. For example, "gateway.networking.k8s.io". /// When unspecified or empty string, core API group is inferred. @@ -1484,7 +1485,7 @@ pub struct HTTPRouteRulesFiltersExtensionRef { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesFiltersRequestHeaderModifier { /// Add adds the given header(s) (name, value) to the request /// before the action. It appends to any existing values associated @@ -1552,7 +1553,7 @@ pub struct HTTPRouteRulesFiltersRequestHeaderModifier { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesFiltersRequestHeaderModifierAdd { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -1569,7 +1570,7 @@ pub struct HTTPRouteRulesFiltersRequestHeaderModifierAdd { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesFiltersRequestHeaderModifierSet { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -1596,7 +1597,7 @@ pub struct HTTPRouteRulesFiltersRequestHeaderModifierSet { /// /// /// Support: Extended -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesFiltersRequestMirror { /// BackendRef references a resource where mirrored requests are sent. /// @@ -1660,7 +1661,7 @@ pub struct HTTPRouteRulesFiltersRequestMirror { /// /// /// Support: Implementation-specific for any other resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesFiltersRequestMirrorBackendRef { /// Group is the group of the referent. For example, "gateway.networking.k8s.io". /// When unspecified or empty string, core API group is inferred. @@ -1715,7 +1716,7 @@ pub struct HTTPRouteRulesFiltersRequestMirrorBackendRef { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesFiltersRequestRedirect { /// Hostname is the hostname to be used in the value of the `Location` /// header in the response. @@ -1902,7 +1903,7 @@ pub enum HTTPRouteRulesFiltersRequestRedirectStatusCode { /// /// /// Support: Extended -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesFiltersResponseHeaderModifier { /// Add adds the given header(s) (name, value) to the request /// before the action. It appends to any existing values associated @@ -1970,7 +1971,7 @@ pub struct HTTPRouteRulesFiltersResponseHeaderModifier { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesFiltersResponseHeaderModifierAdd { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -1987,7 +1988,7 @@ pub struct HTTPRouteRulesFiltersResponseHeaderModifierAdd { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesFiltersResponseHeaderModifierSet { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -2024,7 +2025,7 @@ pub enum HTTPRouteRulesFiltersType { /// /// /// Support: Extended -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesFiltersUrlRewrite { /// Hostname is the value to be used to replace the Host header value during /// forwarding. @@ -2130,7 +2131,7 @@ pub enum HTTPRouteRulesFiltersUrlRewritePathType { /// /// /// ``` -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesMatches { /// Headers specifies HTTP request header matchers. Multiple match values are /// ANDed together, meaning, a request must match all the specified headers @@ -2161,7 +2162,7 @@ pub struct HTTPRouteRulesMatches { /// HTTPHeaderMatch describes how to select a HTTP route by matching HTTP request /// headers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesMatchesHeaders { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -2252,7 +2253,7 @@ pub enum HTTPRouteRulesMatchesMethod { /// Path specifies a HTTP request path matcher. If this field is not /// specified, a default prefix match on the "/" path is provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesMatchesPath { /// Type specifies how to match against the path Value. /// @@ -2279,7 +2280,7 @@ pub enum HTTPRouteRulesMatchesPathType { /// HTTPQueryParamMatch describes how to select a HTTP route by matching HTTP /// query parameters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesMatchesQueryParams { /// Name is the name of the HTTP query param to be matched. This must be an /// exact string match. (See @@ -2337,7 +2338,7 @@ pub enum HTTPRouteRulesMatchesQueryParamsType { /// /// /// -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesSessionPersistence { /// AbsoluteTimeout defines the absolute timeout of the persistent /// session. Once the AbsoluteTimeout duration has elapsed, the @@ -2389,7 +2390,7 @@ pub struct HTTPRouteRulesSessionPersistence { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesSessionPersistenceCookieConfig { /// LifetimeType specifies whether the cookie has a permanent or /// session-based lifetime. A permanent cookie persists until its @@ -2448,7 +2449,7 @@ pub enum HTTPRouteRulesSessionPersistenceType { /// /// /// -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesTimeouts { /// BackendRequest specifies a timeout for an individual request from the gateway /// to a backend. This covers the time from when the request first starts being @@ -2504,7 +2505,7 @@ pub struct HTTPRouteRulesTimeouts { } /// Status defines the current state of HTTPRoute. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteStatus { /// Parents is a list of parent resources (usually Gateways) that are /// associated with the route, and the status of the route with respect to @@ -2527,7 +2528,7 @@ pub struct HTTPRouteStatus { /// RouteParentStatus describes the status of a route with respect to an /// associated Parent. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteStatusParents { /// Conditions describes the status of the route with respect to the Gateway. /// Note that the route's availability is also subject to the Gateway's own @@ -2580,7 +2581,7 @@ pub struct HTTPRouteStatusParents { /// ParentRef corresponds with a ParentRef in the spec that this /// RouteParentStatus struct describes the status of. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteStatusParentsParentRef { /// Group is the group of the referent. /// When unspecified, "gateway.networking.k8s.io" is inferred. diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/grpcroutes.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/grpcroutes.rs index 483031881..2822c86c5 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/grpcroutes.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/grpcroutes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/grpcroutes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/grpcroutes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { use self::prelude::*; /// Spec defines the desired state of GRPCRoute. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "gateway.networking.k8s.io", version = "v1alpha2", kind = "GRPCRoute", plural = "grpcroutes")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct GRPCRouteSpec { /// Hostnames defines a set of hostnames to match against the GRPC @@ -180,7 +181,7 @@ pub struct GRPCRouteSpec { /// /// The API object must be valid in the cluster; the Group and Kind must /// be registered in the cluster for this reference to be valid. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteParentRefs { /// Group is the group of the referent. /// When unspecified, "gateway.networking.k8s.io" is inferred. @@ -309,7 +310,7 @@ pub struct GRPCRouteParentRefs { /// GRPCRouteRule defines the semantics for matching a gRPC request based on /// conditions (matches), processing it (filters), and forwarding the request to /// an API object (backendRefs). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRules { /// BackendRefs defines the backend(s) where matching requests should be /// sent. @@ -486,7 +487,7 @@ pub struct GRPCRouteRules { /// /// /// -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesBackendRefs { /// Filters defined at this level MUST be executed if and only if the /// request is being forwarded to the backend defined here. @@ -654,7 +655,7 @@ pub struct GRPCRouteRulesBackendRefsFilters { /// /// /// This filter can be used multiple times within the same rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesBackendRefsFiltersExtensionRef { /// Group is the group of the referent. For example, "gateway.networking.k8s.io". /// When unspecified or empty string, core API group is inferred. @@ -670,7 +671,7 @@ pub struct GRPCRouteRulesBackendRefsFiltersExtensionRef { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesBackendRefsFiltersRequestHeaderModifier { /// Add adds the given header(s) (name, value) to the request /// before the action. It appends to any existing values associated @@ -738,7 +739,7 @@ pub struct GRPCRouteRulesBackendRefsFiltersRequestHeaderModifier { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesBackendRefsFiltersRequestHeaderModifierAdd { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -755,7 +756,7 @@ pub struct GRPCRouteRulesBackendRefsFiltersRequestHeaderModifierAdd { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesBackendRefsFiltersRequestHeaderModifierSet { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -782,7 +783,7 @@ pub struct GRPCRouteRulesBackendRefsFiltersRequestHeaderModifierSet { /// /// /// Support: Extended -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesBackendRefsFiltersRequestMirror { /// BackendRef references a resource where mirrored requests are sent. /// @@ -846,7 +847,7 @@ pub struct GRPCRouteRulesBackendRefsFiltersRequestMirror { /// /// /// Support: Implementation-specific for any other resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesBackendRefsFiltersRequestMirrorBackendRef { /// Group is the group of the referent. For example, "gateway.networking.k8s.io". /// When unspecified or empty string, core API group is inferred. @@ -901,7 +902,7 @@ pub struct GRPCRouteRulesBackendRefsFiltersRequestMirrorBackendRef { /// /// /// Support: Extended -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesBackendRefsFiltersResponseHeaderModifier { /// Add adds the given header(s) (name, value) to the request /// before the action. It appends to any existing values associated @@ -969,7 +970,7 @@ pub struct GRPCRouteRulesBackendRefsFiltersResponseHeaderModifier { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesBackendRefsFiltersResponseHeaderModifierAdd { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -986,7 +987,7 @@ pub struct GRPCRouteRulesBackendRefsFiltersResponseHeaderModifierAdd { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesBackendRefsFiltersResponseHeaderModifierSet { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -1109,7 +1110,7 @@ pub struct GRPCRouteRulesFilters { /// /// /// This filter can be used multiple times within the same rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesFiltersExtensionRef { /// Group is the group of the referent. For example, "gateway.networking.k8s.io". /// When unspecified or empty string, core API group is inferred. @@ -1125,7 +1126,7 @@ pub struct GRPCRouteRulesFiltersExtensionRef { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesFiltersRequestHeaderModifier { /// Add adds the given header(s) (name, value) to the request /// before the action. It appends to any existing values associated @@ -1193,7 +1194,7 @@ pub struct GRPCRouteRulesFiltersRequestHeaderModifier { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesFiltersRequestHeaderModifierAdd { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -1210,7 +1211,7 @@ pub struct GRPCRouteRulesFiltersRequestHeaderModifierAdd { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesFiltersRequestHeaderModifierSet { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -1237,7 +1238,7 @@ pub struct GRPCRouteRulesFiltersRequestHeaderModifierSet { /// /// /// Support: Extended -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesFiltersRequestMirror { /// BackendRef references a resource where mirrored requests are sent. /// @@ -1301,7 +1302,7 @@ pub struct GRPCRouteRulesFiltersRequestMirror { /// /// /// Support: Implementation-specific for any other resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesFiltersRequestMirrorBackendRef { /// Group is the group of the referent. For example, "gateway.networking.k8s.io". /// When unspecified or empty string, core API group is inferred. @@ -1356,7 +1357,7 @@ pub struct GRPCRouteRulesFiltersRequestMirrorBackendRef { /// /// /// Support: Extended -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesFiltersResponseHeaderModifier { /// Add adds the given header(s) (name, value) to the request /// before the action. It appends to any existing values associated @@ -1424,7 +1425,7 @@ pub struct GRPCRouteRulesFiltersResponseHeaderModifier { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesFiltersResponseHeaderModifierAdd { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -1441,7 +1442,7 @@ pub struct GRPCRouteRulesFiltersResponseHeaderModifierAdd { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesFiltersResponseHeaderModifierSet { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -1491,7 +1492,7 @@ pub enum GRPCRouteRulesFiltersType { /// /// /// ``` -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesMatches { /// Headers specifies gRPC request header matchers. Multiple match values are /// ANDed together, meaning, a request MUST match all the specified headers @@ -1506,7 +1507,7 @@ pub struct GRPCRouteRulesMatches { /// GRPCHeaderMatch describes how to select a gRPC route by matching gRPC request /// headers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesMatchesHeaders { /// Name is the name of the gRPC Header to be matched. /// @@ -1534,7 +1535,7 @@ pub enum GRPCRouteRulesMatchesHeadersType { /// Method specifies a gRPC request service/method matcher. If this field is /// not specified, all services and methods will match. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesMatchesMethod { /// Value of the method to match against. If left empty or omitted, will /// match all services. @@ -1578,7 +1579,7 @@ pub enum GRPCRouteRulesMatchesMethodType { /// /// /// -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesSessionPersistence { /// AbsoluteTimeout defines the absolute timeout of the persistent /// session. Once the AbsoluteTimeout duration has elapsed, the @@ -1630,7 +1631,7 @@ pub struct GRPCRouteRulesSessionPersistence { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteRulesSessionPersistenceCookieConfig { /// LifetimeType specifies whether the cookie has a permanent or /// session-based lifetime. A permanent cookie persists until its @@ -1683,7 +1684,7 @@ pub enum GRPCRouteRulesSessionPersistenceType { } /// Status defines the current state of GRPCRoute. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteStatus { /// Parents is a list of parent resources (usually Gateways) that are /// associated with the route, and the status of the route with respect to @@ -1706,7 +1707,7 @@ pub struct GRPCRouteStatus { /// RouteParentStatus describes the status of a route with respect to an /// associated Parent. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteStatusParents { /// Conditions describes the status of the route with respect to the Gateway. /// Note that the route's availability is also subject to the Gateway's own @@ -1759,7 +1760,7 @@ pub struct GRPCRouteStatusParents { /// ParentRef corresponds with a ParentRef in the spec that this /// RouteParentStatus struct describes the status of. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GRPCRouteStatusParentsParentRef { /// Group is the group of the referent. /// When unspecified, "gateway.networking.k8s.io" is inferred. diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/referencegrants.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/referencegrants.rs index 12d9021f8..a1d69c6e1 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/referencegrants.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/referencegrants.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/referencegrants.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/referencegrants.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/tcproutes.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/tcproutes.rs index 0e96330d3..f4814c01b 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/tcproutes.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/tcproutes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/tcproutes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/tcproutes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// Spec defines the desired state of TCPRoute. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "gateway.networking.k8s.io", version = "v1alpha2", kind = "TCPRoute", plural = "tcproutes")] #[kube(namespaced)] #[kube(status = "TCPRouteStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct TCPRouteSpec { /// ParentRefs references the resources (usually Gateways) that a Route wants @@ -118,7 +119,7 @@ pub struct TCPRouteSpec { /// /// The API object must be valid in the cluster; the Group and Kind must /// be registered in the cluster for this reference to be valid. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TCPRouteParentRefs { /// Group is the group of the referent. /// When unspecified, "gateway.networking.k8s.io" is inferred. @@ -245,7 +246,7 @@ pub struct TCPRouteParentRefs { } /// TCPRouteRule is the configuration for a given rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TCPRouteRules { /// BackendRefs defines the backend(s) where matching requests should be /// sent. If unspecified or invalid (refers to a non-existent resource or a @@ -306,7 +307,7 @@ pub struct TCPRouteRules { /// Note that when the BackendTLSPolicy object is enabled by the implementation, /// there are some extra rules about validity to consider here. See the fields /// where this struct is used for more information about the exact behavior. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TCPRouteRulesBackendRefs { /// Group is the group of the referent. For example, "gateway.networking.k8s.io". /// When unspecified or empty string, core API group is inferred. @@ -374,7 +375,7 @@ pub struct TCPRouteRulesBackendRefs { } /// Status defines the current state of TCPRoute. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TCPRouteStatus { /// Parents is a list of parent resources (usually Gateways) that are /// associated with the route, and the status of the route with respect to @@ -397,7 +398,7 @@ pub struct TCPRouteStatus { /// RouteParentStatus describes the status of a route with respect to an /// associated Parent. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TCPRouteStatusParents { /// Conditions describes the status of the route with respect to the Gateway. /// Note that the route's availability is also subject to the Gateway's own @@ -450,7 +451,7 @@ pub struct TCPRouteStatusParents { /// ParentRef corresponds with a ParentRef in the spec that this /// RouteParentStatus struct describes the status of. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TCPRouteStatusParentsParentRef { /// Group is the group of the referent. /// When unspecified, "gateway.networking.k8s.io" is inferred. diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/tlsroutes.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/tlsroutes.rs index 1f3c3fcbb..a5347331c 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/tlsroutes.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/tlsroutes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/tlsroutes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/tlsroutes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// Spec defines the desired state of TLSRoute. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "gateway.networking.k8s.io", version = "v1alpha2", kind = "TLSRoute", plural = "tlsroutes")] #[kube(namespaced)] #[kube(status = "TLSRouteStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct TLSRouteSpec { /// Hostnames defines a set of SNI names that should match against the @@ -159,7 +160,7 @@ pub struct TLSRouteSpec { /// /// The API object must be valid in the cluster; the Group and Kind must /// be registered in the cluster for this reference to be valid. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TLSRouteParentRefs { /// Group is the group of the referent. /// When unspecified, "gateway.networking.k8s.io" is inferred. @@ -286,7 +287,7 @@ pub struct TLSRouteParentRefs { } /// TLSRouteRule is the configuration for a given rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TLSRouteRules { /// BackendRefs defines the backend(s) where matching requests should be /// sent. If unspecified or invalid (refers to a non-existent resource or @@ -350,7 +351,7 @@ pub struct TLSRouteRules { /// Note that when the BackendTLSPolicy object is enabled by the implementation, /// there are some extra rules about validity to consider here. See the fields /// where this struct is used for more information about the exact behavior. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TLSRouteRulesBackendRefs { /// Group is the group of the referent. For example, "gateway.networking.k8s.io". /// When unspecified or empty string, core API group is inferred. @@ -418,7 +419,7 @@ pub struct TLSRouteRulesBackendRefs { } /// Status defines the current state of TLSRoute. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TLSRouteStatus { /// Parents is a list of parent resources (usually Gateways) that are /// associated with the route, and the status of the route with respect to @@ -441,7 +442,7 @@ pub struct TLSRouteStatus { /// RouteParentStatus describes the status of a route with respect to an /// associated Parent. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TLSRouteStatusParents { /// Conditions describes the status of the route with respect to the Gateway. /// Note that the route's availability is also subject to the Gateway's own @@ -494,7 +495,7 @@ pub struct TLSRouteStatusParents { /// ParentRef corresponds with a ParentRef in the spec that this /// RouteParentStatus struct describes the status of. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TLSRouteStatusParentsParentRef { /// Group is the group of the referent. /// When unspecified, "gateway.networking.k8s.io" is inferred. diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/udproutes.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/udproutes.rs index 7123d5553..a23604f41 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/udproutes.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1alpha2/udproutes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/udproutes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1alpha2/udproutes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// Spec defines the desired state of UDPRoute. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "gateway.networking.k8s.io", version = "v1alpha2", kind = "UDPRoute", plural = "udproutes")] #[kube(namespaced)] #[kube(status = "UDPRouteStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct UDPRouteSpec { /// ParentRefs references the resources (usually Gateways) that a Route wants @@ -118,7 +119,7 @@ pub struct UDPRouteSpec { /// /// The API object must be valid in the cluster; the Group and Kind must /// be registered in the cluster for this reference to be valid. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UDPRouteParentRefs { /// Group is the group of the referent. /// When unspecified, "gateway.networking.k8s.io" is inferred. @@ -245,7 +246,7 @@ pub struct UDPRouteParentRefs { } /// UDPRouteRule is the configuration for a given rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UDPRouteRules { /// BackendRefs defines the backend(s) where matching requests should be /// sent. If unspecified or invalid (refers to a non-existent resource or a @@ -306,7 +307,7 @@ pub struct UDPRouteRules { /// Note that when the BackendTLSPolicy object is enabled by the implementation, /// there are some extra rules about validity to consider here. See the fields /// where this struct is used for more information about the exact behavior. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UDPRouteRulesBackendRefs { /// Group is the group of the referent. For example, "gateway.networking.k8s.io". /// When unspecified or empty string, core API group is inferred. @@ -374,7 +375,7 @@ pub struct UDPRouteRulesBackendRefs { } /// Status defines the current state of UDPRoute. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UDPRouteStatus { /// Parents is a list of parent resources (usually Gateways) that are /// associated with the route, and the status of the route with respect to @@ -397,7 +398,7 @@ pub struct UDPRouteStatus { /// RouteParentStatus describes the status of a route with respect to an /// associated Parent. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UDPRouteStatusParents { /// Conditions describes the status of the route with respect to the Gateway. /// Note that the route's availability is also subject to the Gateway's own @@ -450,7 +451,7 @@ pub struct UDPRouteStatusParents { /// ParentRef corresponds with a ParentRef in the spec that this /// RouteParentStatus struct describes the status of. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UDPRouteStatusParentsParentRef { /// Group is the group of the referent. /// When unspecified, "gateway.networking.k8s.io" is inferred. diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/gatewayclasses.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/gatewayclasses.rs index 94c96ed89..fbf9bd274 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/gatewayclasses.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/gatewayclasses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1beta1/gatewayclasses.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1beta1/gatewayclasses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { use self::prelude::*; /// Spec defines the desired state of GatewayClass. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "gateway.networking.k8s.io", version = "v1beta1", kind = "GatewayClass", plural = "gatewayclasses")] #[kube(status = "GatewayClassStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct GatewayClassSpec { /// ControllerName is the name of the controller that is managing Gateways of @@ -81,7 +82,7 @@ pub struct GatewayClassSpec { /// /// /// Support: Implementation-specific -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayClassParametersRef { /// Group is the group of the referent. pub group: String, @@ -101,7 +102,7 @@ pub struct GatewayClassParametersRef { /// /// Implementations MUST populate status on all GatewayClass resources which /// specify their controller name. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayClassStatus { /// Conditions is the current status from the controller for /// this GatewayClass. diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/gateways.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/gateways.rs index 19544f7fe..302e8d444 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/gateways.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/gateways.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1beta1/gateways.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1beta1/gateways.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// Spec defines the desired state of Gateway. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "gateway.networking.k8s.io", version = "v1beta1", kind = "Gateway", plural = "gateways")] #[kube(namespaced)] #[kube(status = "GatewayStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct GatewaySpec { /// Addresses requested for this Gateway. This is optional and behavior can @@ -209,7 +210,7 @@ pub struct GatewaySpec { } /// GatewayAddress describes an address that can be bound to a Gateway. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayAddresses { /// Type of the address. #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] @@ -229,7 +230,7 @@ pub struct GatewayAddresses { /// /// /// -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayInfrastructure { /// Annotations that SHOULD be applied to any resources created in response to this Gateway. /// @@ -289,7 +290,7 @@ pub struct GatewayInfrastructure { /// /// /// Support: Implementation-specific -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayInfrastructureParametersRef { /// Group is the group of the referent. pub group: String, @@ -301,7 +302,7 @@ pub struct GatewayInfrastructureParametersRef { /// Listener embodies the concept of a logical endpoint where a Gateway accepts /// network connections. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayListeners { /// AllowedRoutes defines the types of routes that MAY be attached to a /// Listener and the trusted namespaces where those Route resources MAY be @@ -429,7 +430,7 @@ pub struct GatewayListeners { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayListenersAllowedRoutes { /// Kinds specifies the groups and kinds of Routes that are allowed to bind /// to this Gateway Listener. When unspecified or empty, the kinds of Routes @@ -456,7 +457,7 @@ pub struct GatewayListenersAllowedRoutes { } /// RouteGroupKind indicates the group and kind of a Route resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayListenersAllowedRoutesKinds { /// Group is the group of the Route. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -470,7 +471,7 @@ pub struct GatewayListenersAllowedRoutesKinds { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayListenersAllowedRoutesNamespaces { /// From indicates where Routes will be selected for this Gateway. Possible /// values are: @@ -513,7 +514,7 @@ pub enum GatewayListenersAllowedRoutesNamespacesFrom { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayListenersAllowedRoutesNamespacesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -527,7 +528,7 @@ pub struct GatewayListenersAllowedRoutesNamespacesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayListenersAllowedRoutesNamespacesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -556,7 +557,7 @@ pub struct GatewayListenersAllowedRoutesNamespacesSelectorMatchExpressions { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayListenersTls { /// CertificateRefs contains a series of references to Kubernetes objects that /// contains TLS certificates and private keys. These certificates are used to @@ -647,7 +648,7 @@ pub struct GatewayListenersTls { /// References to objects with invalid Group and Kind are not valid, and must /// be rejected by the implementation, with appropriate Conditions set /// on the containing object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayListenersTlsCertificateRefs { /// Group is the group of the referent. For example, "gateway.networking.k8s.io". /// When unspecified or empty string, core API group is inferred. @@ -684,7 +685,7 @@ pub struct GatewayListenersTlsCertificateRefs { /// /// /// -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayListenersTlsFrontendValidation { /// CACertificateRefs contains one or more references to /// Kubernetes objects that contain TLS certificates of @@ -725,7 +726,7 @@ pub struct GatewayListenersTlsFrontendValidation { /// References to objects with invalid Group and Kind are not valid, and must /// be rejected by the implementation, with appropriate Conditions set /// on the containing object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayListenersTlsFrontendValidationCaCertificateRefs { /// Group is the group of the referent. For example, "gateway.networking.k8s.io". /// When unspecified or empty string, core API group is inferred. @@ -770,7 +771,7 @@ pub enum GatewayListenersTlsMode { } /// Status defines the current state of Gateway. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayStatus { /// Addresses lists the network addresses that have been bound to the /// Gateway. @@ -811,7 +812,7 @@ pub struct GatewayStatus { } /// GatewayStatusAddress describes a network address that is bound to a Gateway. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayStatusAddresses { /// Type of the address. #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] @@ -825,7 +826,7 @@ pub struct GatewayStatusAddresses { } /// ListenerStatus is the status associated with a Listener. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayStatusListeners { /// AttachedRoutes represents the total number of Routes that have been /// successfully attached to this Listener. @@ -867,7 +868,7 @@ pub struct GatewayStatusListeners { } /// RouteGroupKind indicates the group and kind of a Route resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GatewayStatusListenersSupportedKinds { /// Group is the group of the Route. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/httproutes.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/httproutes.rs index e793d4c7f..b8703ce02 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/httproutes.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/httproutes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1beta1/httproutes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1beta1/httproutes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// Spec defines the desired state of HTTPRoute. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "gateway.networking.k8s.io", version = "v1beta1", kind = "HTTPRoute", plural = "httproutes")] #[kube(namespaced)] #[kube(status = "HTTPRouteStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct HTTPRouteSpec { /// Hostnames defines a set of hostnames that should match against the HTTP Host @@ -185,7 +186,7 @@ pub struct HTTPRouteSpec { /// /// The API object must be valid in the cluster; the Group and Kind must /// be registered in the cluster for this reference to be valid. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteParentRefs { /// Group is the group of the referent. /// When unspecified, "gateway.networking.k8s.io" is inferred. @@ -314,7 +315,7 @@ pub struct HTTPRouteParentRefs { /// HTTPRouteRule defines semantics for matching an HTTP request based on /// conditions (matches), processing it (filters), and forwarding the request to /// an API object (backendRefs). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRules { /// BackendRefs defines the backend(s) where matching requests should be /// sent. @@ -526,7 +527,7 @@ pub struct HTTPRouteRules { /// /// /// -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesBackendRefs { /// Filters defined at this level should be executed if and only if the /// request is being forwarded to the backend defined here. @@ -714,7 +715,7 @@ pub struct HTTPRouteRulesBackendRefsFilters { /// /// /// Support: Implementation-specific -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesBackendRefsFiltersExtensionRef { /// Group is the group of the referent. For example, "gateway.networking.k8s.io". /// When unspecified or empty string, core API group is inferred. @@ -730,7 +731,7 @@ pub struct HTTPRouteRulesBackendRefsFiltersExtensionRef { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesBackendRefsFiltersRequestHeaderModifier { /// Add adds the given header(s) (name, value) to the request /// before the action. It appends to any existing values associated @@ -798,7 +799,7 @@ pub struct HTTPRouteRulesBackendRefsFiltersRequestHeaderModifier { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesBackendRefsFiltersRequestHeaderModifierAdd { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -815,7 +816,7 @@ pub struct HTTPRouteRulesBackendRefsFiltersRequestHeaderModifierAdd { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesBackendRefsFiltersRequestHeaderModifierSet { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -842,7 +843,7 @@ pub struct HTTPRouteRulesBackendRefsFiltersRequestHeaderModifierSet { /// /// /// Support: Extended -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesBackendRefsFiltersRequestMirror { /// BackendRef references a resource where mirrored requests are sent. /// @@ -906,7 +907,7 @@ pub struct HTTPRouteRulesBackendRefsFiltersRequestMirror { /// /// /// Support: Implementation-specific for any other resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesBackendRefsFiltersRequestMirrorBackendRef { /// Group is the group of the referent. For example, "gateway.networking.k8s.io". /// When unspecified or empty string, core API group is inferred. @@ -961,7 +962,7 @@ pub struct HTTPRouteRulesBackendRefsFiltersRequestMirrorBackendRef { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesBackendRefsFiltersRequestRedirect { /// Hostname is the hostname to be used in the value of the `Location` /// header in the response. @@ -1148,7 +1149,7 @@ pub enum HTTPRouteRulesBackendRefsFiltersRequestRedirectStatusCode { /// /// /// Support: Extended -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesBackendRefsFiltersResponseHeaderModifier { /// Add adds the given header(s) (name, value) to the request /// before the action. It appends to any existing values associated @@ -1216,7 +1217,7 @@ pub struct HTTPRouteRulesBackendRefsFiltersResponseHeaderModifier { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesBackendRefsFiltersResponseHeaderModifierAdd { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -1233,7 +1234,7 @@ pub struct HTTPRouteRulesBackendRefsFiltersResponseHeaderModifierAdd { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesBackendRefsFiltersResponseHeaderModifierSet { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -1270,7 +1271,7 @@ pub enum HTTPRouteRulesBackendRefsFiltersType { /// /// /// Support: Extended -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesBackendRefsFiltersUrlRewrite { /// Hostname is the value to be used to replace the Host header value during /// forwarding. @@ -1468,7 +1469,7 @@ pub struct HTTPRouteRulesFilters { /// /// /// Support: Implementation-specific -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesFiltersExtensionRef { /// Group is the group of the referent. For example, "gateway.networking.k8s.io". /// When unspecified or empty string, core API group is inferred. @@ -1484,7 +1485,7 @@ pub struct HTTPRouteRulesFiltersExtensionRef { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesFiltersRequestHeaderModifier { /// Add adds the given header(s) (name, value) to the request /// before the action. It appends to any existing values associated @@ -1552,7 +1553,7 @@ pub struct HTTPRouteRulesFiltersRequestHeaderModifier { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesFiltersRequestHeaderModifierAdd { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -1569,7 +1570,7 @@ pub struct HTTPRouteRulesFiltersRequestHeaderModifierAdd { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesFiltersRequestHeaderModifierSet { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -1596,7 +1597,7 @@ pub struct HTTPRouteRulesFiltersRequestHeaderModifierSet { /// /// /// Support: Extended -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesFiltersRequestMirror { /// BackendRef references a resource where mirrored requests are sent. /// @@ -1660,7 +1661,7 @@ pub struct HTTPRouteRulesFiltersRequestMirror { /// /// /// Support: Implementation-specific for any other resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesFiltersRequestMirrorBackendRef { /// Group is the group of the referent. For example, "gateway.networking.k8s.io". /// When unspecified or empty string, core API group is inferred. @@ -1715,7 +1716,7 @@ pub struct HTTPRouteRulesFiltersRequestMirrorBackendRef { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesFiltersRequestRedirect { /// Hostname is the hostname to be used in the value of the `Location` /// header in the response. @@ -1902,7 +1903,7 @@ pub enum HTTPRouteRulesFiltersRequestRedirectStatusCode { /// /// /// Support: Extended -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesFiltersResponseHeaderModifier { /// Add adds the given header(s) (name, value) to the request /// before the action. It appends to any existing values associated @@ -1970,7 +1971,7 @@ pub struct HTTPRouteRulesFiltersResponseHeaderModifier { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesFiltersResponseHeaderModifierAdd { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -1987,7 +1988,7 @@ pub struct HTTPRouteRulesFiltersResponseHeaderModifierAdd { } /// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesFiltersResponseHeaderModifierSet { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -2024,7 +2025,7 @@ pub enum HTTPRouteRulesFiltersType { /// /// /// Support: Extended -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesFiltersUrlRewrite { /// Hostname is the value to be used to replace the Host header value during /// forwarding. @@ -2130,7 +2131,7 @@ pub enum HTTPRouteRulesFiltersUrlRewritePathType { /// /// /// ``` -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesMatches { /// Headers specifies HTTP request header matchers. Multiple match values are /// ANDed together, meaning, a request must match all the specified headers @@ -2161,7 +2162,7 @@ pub struct HTTPRouteRulesMatches { /// HTTPHeaderMatch describes how to select a HTTP route by matching HTTP request /// headers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesMatchesHeaders { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -2252,7 +2253,7 @@ pub enum HTTPRouteRulesMatchesMethod { /// Path specifies a HTTP request path matcher. If this field is not /// specified, a default prefix match on the "/" path is provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesMatchesPath { /// Type specifies how to match against the path Value. /// @@ -2279,7 +2280,7 @@ pub enum HTTPRouteRulesMatchesPathType { /// HTTPQueryParamMatch describes how to select a HTTP route by matching HTTP /// query parameters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesMatchesQueryParams { /// Name is the name of the HTTP query param to be matched. This must be an /// exact string match. (See @@ -2337,7 +2338,7 @@ pub enum HTTPRouteRulesMatchesQueryParamsType { /// /// /// -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesSessionPersistence { /// AbsoluteTimeout defines the absolute timeout of the persistent /// session. Once the AbsoluteTimeout duration has elapsed, the @@ -2389,7 +2390,7 @@ pub struct HTTPRouteRulesSessionPersistence { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesSessionPersistenceCookieConfig { /// LifetimeType specifies whether the cookie has a permanent or /// session-based lifetime. A permanent cookie persists until its @@ -2448,7 +2449,7 @@ pub enum HTTPRouteRulesSessionPersistenceType { /// /// /// -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteRulesTimeouts { /// BackendRequest specifies a timeout for an individual request from the gateway /// to a backend. This covers the time from when the request first starts being @@ -2504,7 +2505,7 @@ pub struct HTTPRouteRulesTimeouts { } /// Status defines the current state of HTTPRoute. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteStatus { /// Parents is a list of parent resources (usually Gateways) that are /// associated with the route, and the status of the route with respect to @@ -2527,7 +2528,7 @@ pub struct HTTPRouteStatus { /// RouteParentStatus describes the status of a route with respect to an /// associated Parent. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteStatusParents { /// Conditions describes the status of the route with respect to the Gateway. /// Note that the route's availability is also subject to the Gateway's own @@ -2580,7 +2581,7 @@ pub struct HTTPRouteStatusParents { /// ParentRef corresponds with a ParentRef in the spec that this /// RouteParentStatus struct describes the status of. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPRouteStatusParentsParentRef { /// Group is the group of the referent. /// When unspecified, "gateway.networking.k8s.io" is inferred. diff --git a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/referencegrants.rs b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/referencegrants.rs index 12f83fcae..7542b669c 100644 --- a/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/referencegrants.rs +++ b/kube-custom-resources-rs/src/gateway_networking_k8s_io/v1beta1/referencegrants.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1beta1/referencegrants.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1beta1/referencegrants.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/clientsettingspolicies.rs b/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/clientsettingspolicies.rs index 094a33d13..54aa086d4 100644 --- a/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/clientsettingspolicies.rs +++ b/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/clientsettingspolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/clientsettingspolicies.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/clientsettingspolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/nginxgateways.rs b/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/nginxgateways.rs index e6c27c439..337ee9e6d 100644 --- a/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/nginxgateways.rs +++ b/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/nginxgateways.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/nginxgateways.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/nginxgateways.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// NginxGatewaySpec defines the desired state of the NginxGateway. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "gateway.nginx.org", version = "v1alpha1", kind = "NginxGateway", plural = "nginxgateways")] #[kube(namespaced)] #[kube(status = "NginxGatewayStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct NginxGatewaySpec { /// Logging defines logging related settings for the control plane. @@ -24,7 +25,7 @@ pub struct NginxGatewaySpec { } /// Logging defines logging related settings for the control plane. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NginxGatewayLogging { /// Level defines the logging level. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -43,7 +44,7 @@ pub enum NginxGatewayLoggingLevel { } /// NginxGatewayStatus defines the state of the NginxGateway. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NginxGatewayStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, diff --git a/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/nginxproxies.rs b/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/nginxproxies.rs index 6edce1db0..e01261281 100644 --- a/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/nginxproxies.rs +++ b/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/nginxproxies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/nginxproxies.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/nginxproxies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/observabilitypolicies.rs b/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/observabilitypolicies.rs index f7d780064..55a488b08 100644 --- a/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/observabilitypolicies.rs +++ b/kube-custom-resources-rs/src/gateway_nginx_org/v1alpha1/observabilitypolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/observabilitypolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/nginx-kubernetes-gateway/gateway.nginx.org/v1alpha1/observabilitypolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// Spec defines the desired state of the ObservabilityPolicy. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "gateway.nginx.org", version = "v1alpha1", kind = "ObservabilityPolicy", plural = "observabilitypolicies")] #[kube(namespaced)] #[kube(status = "ObservabilityPolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ObservabilityPolicySpec { /// TargetRefs identifies the API object(s) to apply the policy to. @@ -33,7 +34,7 @@ pub struct ObservabilityPolicySpec { /// that can target Gateway API resources. For more information on how this /// policy attachment model works, and a sample Policy resource, refer to /// the policy attachment documentation for Gateway API. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ObservabilityPolicyTargetRefs { /// Group is the group of the target resource. pub group: String, @@ -82,7 +83,7 @@ pub enum ObservabilityPolicyTracingContext { } /// SpanAttribute is a key value pair to be added to a tracing span. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ObservabilityPolicyTracingSpanAttributes { /// Key is the key for a span attribute. /// Format: must have all '"' escaped and must not contain any '$' or end with an unescaped '\' @@ -102,7 +103,7 @@ pub enum ObservabilityPolicyTracingStrategy { } /// Status defines the state of the ObservabilityPolicy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ObservabilityPolicyStatus { /// Ancestors is a list of ancestor resources (usually Gateways) that are /// associated with the policy, and the status of the policy with respect to @@ -177,7 +178,7 @@ pub struct ObservabilityPolicyStatus { /// /// This struct is intended to be used in a slice that's effectively a map, /// with a composite key made up of the AncestorRef and the ControllerName. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ObservabilityPolicyStatusAncestors { /// AncestorRef corresponds with a ParentRef in the spec that this /// PolicyAncestorStatus struct describes the status of. @@ -208,7 +209,7 @@ pub struct ObservabilityPolicyStatusAncestors { /// AncestorRef corresponds with a ParentRef in the spec that this /// PolicyAncestorStatus struct describes the status of. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ObservabilityPolicyStatusAncestorsAncestorRef { /// Group is the group of the referent. /// When unspecified, "gateway.networking.k8s.io" is inferred. diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/authservices.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/authservices.rs index 2b5fc58b0..d4b0e5a5e 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/authservices.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/authservices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/authservices.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/authservices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/consulresolvers.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/consulresolvers.rs index bee124805..611a13deb 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/consulresolvers.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/consulresolvers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/consulresolvers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/consulresolvers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/devportals.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/devportals.rs index 9907e57d2..d5abd9063 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/devportals.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/devportals.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/devportals.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/devportals.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/hosts.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/hosts.rs index 0daea162e..57624b269 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/hosts.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/hosts.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/hosts.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/hosts.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/kubernetesendpointresolvers.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/kubernetesendpointresolvers.rs index b1d91943a..b41acb765 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/kubernetesendpointresolvers.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/kubernetesendpointresolvers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/kubernetesendpointresolvers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/kubernetesendpointresolvers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/kubernetesserviceresolvers.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/kubernetesserviceresolvers.rs index 2b56b984a..0b478e6d5 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/kubernetesserviceresolvers.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/kubernetesserviceresolvers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/kubernetesserviceresolvers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/kubernetesserviceresolvers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/listeners.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/listeners.rs index 0578c7961..592c52112 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/listeners.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/listeners.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/listeners.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/listeners.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -44,7 +44,7 @@ pub struct ListenerSpec { } /// HostBinding allows restricting which Hosts will be used for this Listener. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ListenerHostBinding { /// NamespaceBindingType defines we we specify which namespaces to look for Hosts in. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -55,7 +55,7 @@ pub struct ListenerHostBinding { } /// NamespaceBindingType defines we we specify which namespaces to look for Hosts in. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ListenerHostBindingNamespace { /// NamespaceFromType defines how we evaluate a NamespaceBindingType. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -74,7 +74,7 @@ pub enum ListenerHostBindingNamespaceFrom { } /// A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ListenerHostBindingSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -85,7 +85,7 @@ pub struct ListenerHostBindingSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ListenerHostBindingSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/logservices.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/logservices.rs index c14d0f779..40d13143d 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/logservices.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/logservices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/logservices.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/logservices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/modules.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/modules.rs index e85d5ece1..9b5293929 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/modules.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/modules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/modules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/modules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/ratelimitservices.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/ratelimitservices.rs index 1d339e652..d1355c82f 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/ratelimitservices.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/ratelimitservices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/ratelimitservices.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/ratelimitservices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/tcpmappings.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/tcpmappings.rs index aea2348b2..3b01a11c4 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/tcpmappings.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/tcpmappings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/tcpmappings.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/tcpmappings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/tlscontexts.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/tlscontexts.rs index 6bbb98713..dc0c893e1 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/tlscontexts.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/tlscontexts.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/tlscontexts.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/tlscontexts.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/tracingservices.rs b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/tracingservices.rs index 1896f5283..935fb90bd 100644 --- a/kube-custom-resources-rs/src/getambassador_io/v3alpha1/tracingservices.rs +++ b/kube-custom-resources-rs/src/getambassador_io/v3alpha1/tracingservices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/tracingservices.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/emissary-ingress/emissary/getambassador.io/v3alpha1/tracingservices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -35,7 +35,7 @@ pub struct TracingServiceSpec { pub tag_headers: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TracingServiceConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub access_token_file: Option, @@ -68,7 +68,7 @@ pub enum TracingServiceConfigCollectorEndpointVersion { } /// TracingCustomTag provides a data structure for capturing envoy's `type.tracing.v3.CustomTag` -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TracingServiceCustomTags { /// Environment explicitly specifies the protocol stack to set up. Exactly one of Literal, Environment or Header must be supplied. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -83,7 +83,7 @@ pub struct TracingServiceCustomTags { } /// Environment explicitly specifies the protocol stack to set up. Exactly one of Literal, Environment or Header must be supplied. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TracingServiceCustomTagsEnvironment { #[serde(default, skip_serializing_if = "Option::is_none")] pub default_value: Option, @@ -91,13 +91,13 @@ pub struct TracingServiceCustomTagsEnvironment { } /// Literal explicitly specifies the protocol stack to set up. Exactly one of Literal, Environment or Header must be supplied. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TracingServiceCustomTagsLiteral { pub value: String, } /// Header explicitly specifies the protocol stack to set up. Exactly one of Literal, Environment or Header must be supplied. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TracingServiceCustomTagsRequestHeader { #[serde(default, skip_serializing_if = "Option::is_none")] pub default_value: Option, @@ -117,7 +117,7 @@ pub enum TracingServiceDriver { Opentelemetry, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TracingServiceSampling { #[serde(default, skip_serializing_if = "Option::is_none")] pub client: Option, diff --git a/kube-custom-resources-rs/src/gitops_hybrid_cloud_patterns_io/v1alpha1/patterns.rs b/kube-custom-resources-rs/src/gitops_hybrid_cloud_patterns_io/v1alpha1/patterns.rs index 82cf4e9e6..1834e2552 100644 --- a/kube-custom-resources-rs/src/gitops_hybrid_cloud_patterns_io/v1alpha1/patterns.rs +++ b/kube-custom-resources-rs/src/gitops_hybrid_cloud_patterns_io/v1alpha1/patterns.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/validatedpatterns/patterns-operator/gitops.hybrid-cloud-patterns.io/v1alpha1/patterns.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/validatedpatterns/patterns-operator/gitops.hybrid-cloud-patterns.io/v1alpha1/patterns.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/grafana_integreatly_org/v1beta1/grafanadashboards.rs b/kube-custom-resources-rs/src/grafana_integreatly_org/v1beta1/grafanadashboards.rs index b1d9f6af4..c93b31819 100644 --- a/kube-custom-resources-rs/src/grafana_integreatly_org/v1beta1/grafanadashboards.rs +++ b/kube-custom-resources-rs/src/grafana_integreatly_org/v1beta1/grafanadashboards.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/grafana-operator/grafana-operator/grafana.integreatly.org/v1beta1/grafanadashboards.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/grafana-operator/grafana-operator/grafana.integreatly.org/v1beta1/grafanadashboards.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/grafana_integreatly_org/v1beta1/grafanadatasources.rs b/kube-custom-resources-rs/src/grafana_integreatly_org/v1beta1/grafanadatasources.rs index 3c0792cdb..e060af09c 100644 --- a/kube-custom-resources-rs/src/grafana_integreatly_org/v1beta1/grafanadatasources.rs +++ b/kube-custom-resources-rs/src/grafana_integreatly_org/v1beta1/grafanadatasources.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/grafana-operator/grafana-operator/grafana.integreatly.org/v1beta1/grafanadatasources.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/grafana-operator/grafana-operator/grafana.integreatly.org/v1beta1/grafanadatasources.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/grafana_integreatly_org/v1beta1/grafanafolders.rs b/kube-custom-resources-rs/src/grafana_integreatly_org/v1beta1/grafanafolders.rs index 4c4bd5877..98574b408 100644 --- a/kube-custom-resources-rs/src/grafana_integreatly_org/v1beta1/grafanafolders.rs +++ b/kube-custom-resources-rs/src/grafana_integreatly_org/v1beta1/grafanafolders.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/grafana-operator/grafana-operator/grafana.integreatly.org/v1beta1/grafanafolders.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/grafana-operator/grafana-operator/grafana.integreatly.org/v1beta1/grafanafolders.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/groupsnapshot_storage_k8s_io/v1alpha1/volumegroupsnapshotclasses.rs b/kube-custom-resources-rs/src/groupsnapshot_storage_k8s_io/v1alpha1/volumegroupsnapshotclasses.rs index 01a4c4766..165bccdb7 100644 --- a/kube-custom-resources-rs/src/groupsnapshot_storage_k8s_io/v1alpha1/volumegroupsnapshotclasses.rs +++ b/kube-custom-resources-rs/src/groupsnapshot_storage_k8s_io/v1alpha1/volumegroupsnapshotclasses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/groupsnapshot.storage.k8s.io/v1alpha1/volumegroupsnapshotclasses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/groupsnapshot.storage.k8s.io/v1alpha1/volumegroupsnapshotclasses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/groupsnapshot_storage_k8s_io/v1alpha1/volumegroupsnapshotcontents.rs b/kube-custom-resources-rs/src/groupsnapshot_storage_k8s_io/v1alpha1/volumegroupsnapshotcontents.rs index 1a2fad8a3..00a9e84e8 100644 --- a/kube-custom-resources-rs/src/groupsnapshot_storage_k8s_io/v1alpha1/volumegroupsnapshotcontents.rs +++ b/kube-custom-resources-rs/src/groupsnapshot_storage_k8s_io/v1alpha1/volumegroupsnapshotcontents.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/groupsnapshot.storage.k8s.io/v1alpha1/volumegroupsnapshotcontents.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/groupsnapshot.storage.k8s.io/v1alpha1/volumegroupsnapshotcontents.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -77,7 +77,7 @@ pub enum VolumeGroupSnapshotContentDeletionPolicy { /// or already exists, and just requires a Kubernetes object representation. /// This field is immutable after creation. /// Required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VolumeGroupSnapshotContentSource { /// GroupSnapshotHandles specifies the CSI "group_snapshot_id" of a pre-existing /// group snapshot and a list of CSI "snapshot_id" of pre-existing snapshots @@ -98,7 +98,7 @@ pub struct VolumeGroupSnapshotContentSource { /// on the underlying storage system for which a Kubernetes object /// representation was (or should be) created. /// This field is immutable. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VolumeGroupSnapshotContentSourceGroupSnapshotHandles { /// VolumeGroupSnapshotHandle specifies the CSI "group_snapshot_id" of a pre-existing /// group snapshot on the underlying storage system for which a Kubernetes object @@ -124,7 +124,7 @@ pub struct VolumeGroupSnapshotContentSourceGroupSnapshotHandles { /// VolumeGroupSnapshot object MUST be provided for binding to happen. /// This field is immutable after creation. /// Required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VolumeGroupSnapshotContentVolumeGroupSnapshotRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -162,7 +162,7 @@ pub struct VolumeGroupSnapshotContentVolumeGroupSnapshotRef { } /// status represents the current information of a group snapshot. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VolumeGroupSnapshotContentStatus { /// CreationTime is the timestamp when the point-in-time group snapshot is taken /// by the underlying storage system. @@ -197,7 +197,7 @@ pub struct VolumeGroupSnapshotContentStatus { /// Error is the last observed error during group snapshot creation, if any. /// Upon success after retry, this error field will be cleared. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VolumeGroupSnapshotContentStatusError { /// message is a string detailing the encountered error during snapshot /// creation if specified. @@ -212,7 +212,7 @@ pub struct VolumeGroupSnapshotContentStatusError { /// PVVolumeSnapshotContentPair represent a pair of PV names and /// VolumeSnapshotContent names -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VolumeGroupSnapshotContentStatusPvVolumeSnapshotContentList { /// PersistentVolumeRef is a reference to the persistent volume resource #[serde(default, skip_serializing_if = "Option::is_none", rename = "persistentVolumeRef")] @@ -223,7 +223,7 @@ pub struct VolumeGroupSnapshotContentStatusPvVolumeSnapshotContentList { } /// PersistentVolumeRef is a reference to the persistent volume resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VolumeGroupSnapshotContentStatusPvVolumeSnapshotContentListPersistentVolumeRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -233,7 +233,7 @@ pub struct VolumeGroupSnapshotContentStatusPvVolumeSnapshotContentListPersistent } /// VolumeSnapshotContentRef is a reference to the volume snapshot content resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VolumeGroupSnapshotContentStatusPvVolumeSnapshotContentListVolumeSnapshotContentRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names diff --git a/kube-custom-resources-rs/src/groupsnapshot_storage_k8s_io/v1alpha1/volumegroupsnapshots.rs b/kube-custom-resources-rs/src/groupsnapshot_storage_k8s_io/v1alpha1/volumegroupsnapshots.rs index 44f1a486f..c210040c0 100644 --- a/kube-custom-resources-rs/src/groupsnapshot_storage_k8s_io/v1alpha1/volumegroupsnapshots.rs +++ b/kube-custom-resources-rs/src/groupsnapshot_storage_k8s_io/v1alpha1/volumegroupsnapshots.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/groupsnapshot.storage.k8s.io/v1alpha1/volumegroupsnapshots.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/groupsnapshot.storage.k8s.io/v1alpha1/volumegroupsnapshots.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/cronhotbackups.rs b/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/cronhotbackups.rs index 25cc0b69a..9bdaf8819 100644 --- a/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/cronhotbackups.rs +++ b/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/cronhotbackups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/cronhotbackups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/cronhotbackups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/hazelcasts.rs b/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/hazelcasts.rs index b489a4efc..d174663f6 100644 --- a/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/hazelcasts.rs +++ b/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/hazelcasts.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/hazelcasts.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/hazelcasts.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/hotbackups.rs b/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/hotbackups.rs index d737be093..6530cb11e 100644 --- a/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/hotbackups.rs +++ b/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/hotbackups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/hotbackups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/hotbackups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/managementcenters.rs b/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/managementcenters.rs index 7bc5fc3ff..11c60fd44 100644 --- a/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/managementcenters.rs +++ b/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/managementcenters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/managementcenters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/managementcenters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/maps.rs b/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/maps.rs index 6e6a76af9..88fa9de8c 100644 --- a/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/maps.rs +++ b/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/maps.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/maps.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/maps.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// MapSpec defines the desired state of Hazelcast Map Config -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "hazelcast.com", version = "v1alpha1", kind = "Map", plural = "maps")] #[kube(namespaced)] #[kube(status = "MapStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct MapSpec { /// Number of asynchronous backups. @@ -75,7 +76,7 @@ pub struct MapSpec { pub user_code_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MapAttributes { /// Name of the extractor class https://docs.hazelcast.com/hazelcast/latest/query/predicate-overview#implementing-a-valueextractor #[serde(rename = "extractorClassName")] @@ -84,7 +85,7 @@ pub struct MapAttributes { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MapEntryListeners { /// ClassName is the fully qualified name of the class that implements any of the Listener interface. #[serde(rename = "className")] @@ -98,7 +99,7 @@ pub struct MapEntryListeners { } /// EventJournal specifies event journal configuration of the Map -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MapEventJournal { /// Capacity sets the capacity of the ringbuffer underlying the event journal. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -109,7 +110,7 @@ pub struct MapEventJournal { } /// Configuration for removing data from the map when it reaches its max size. It can be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MapEviction { /// Eviction policy to be applied when map reaches its max size according to the max size policy. #[serde(default, skip_serializing_if = "Option::is_none", rename = "evictionPolicy")] @@ -220,7 +221,7 @@ pub enum MapIndexesType { } /// Configuration options when you want to load/store the map entries from/to a persistent data store such as a relational database You can learn more at https://docs.hazelcast.com/hazelcast/latest/data-structures/working-with-external-data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MapMapStore { /// Name of your class implementing MapLoader and/or MapStore interface. #[serde(rename = "className")] @@ -252,7 +253,7 @@ pub enum MapMapStoreInitialMode { } /// MerkleTree defines the configuration for the Merkle tree data structure. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MapMerkleTree { /// Depth of the merkle tree. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -260,7 +261,7 @@ pub struct MapMerkleTree { } /// InMemoryFormat specifies near cache configuration for map -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MapNearCache { /// CacheLocalEntries specifies whether the local entries are cached #[serde(default, skip_serializing_if = "Option::is_none", rename = "cacheLocalEntries")] @@ -285,7 +286,7 @@ pub struct MapNearCache { } /// NearCacheEviction specifies the eviction behavior in Near Cache -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MapNearCacheEviction { /// EvictionPolicy to be applied when near cache reaches its max size according to the max size policy. #[serde(default, skip_serializing_if = "Option::is_none", rename = "evictionPolicy")] @@ -350,7 +351,7 @@ pub enum MapNearCacheInMemoryFormat { } /// TieredStore enables the Hazelcast's Tiered-Store feature for the Map -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MapTieredStore { /// diskDeviceName defines the name of the device for a given disk tier. #[serde(default, skip_serializing_if = "Option::is_none", rename = "diskDeviceName")] @@ -361,7 +362,7 @@ pub struct MapTieredStore { } /// MapStatus defines the observed state of Map -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MapStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "memberStatuses")] pub member_statuses: Option>, diff --git a/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/wanreplications.rs b/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/wanreplications.rs index eec5db8af..e95044fe7 100644 --- a/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/wanreplications.rs +++ b/kube-custom-resources-rs/src/hazelcast_com/v1alpha1/wanreplications.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/wanreplications.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/hazelcast/hazelcast-platform-operator/hazelcast.com/v1alpha1/wanreplications.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/helm_sigstore_dev/v1alpha1/rekors.rs b/kube-custom-resources-rs/src/helm_sigstore_dev/v1alpha1/rekors.rs index 706963db6..cfe14e138 100644 --- a/kube-custom-resources-rs/src/helm_sigstore_dev/v1alpha1/rekors.rs +++ b/kube-custom-resources-rs/src/helm_sigstore_dev/v1alpha1/rekors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/sigstore/sigstore-helm-operator/helm.sigstore.dev/v1alpha1/rekors.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/sigstore/sigstore-helm-operator/helm.sigstore.dev/v1alpha1/rekors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/helm_toolkit_fluxcd_io/v2/helmreleases.rs b/kube-custom-resources-rs/src/helm_toolkit_fluxcd_io/v2/helmreleases.rs index cf492af6a..0dfa560d9 100644 --- a/kube-custom-resources-rs/src/helm_toolkit_fluxcd_io/v2/helmreleases.rs +++ b/kube-custom-resources-rs/src/helm_toolkit_fluxcd_io/v2/helmreleases.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/helm-controller/helm.toolkit.fluxcd.io/v2/helmreleases.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/helm-controller/helm.toolkit.fluxcd.io/v2/helmreleases.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// HelmReleaseSpec defines the desired state of a Helm release. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "helm.toolkit.fluxcd.io", version = "v2", kind = "HelmRelease", plural = "helmreleases")] #[kube(namespaced)] #[kube(status = "HelmReleaseStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct HelmReleaseSpec { /// Chart defines the template of the v1.HelmChart that should be created @@ -121,7 +122,7 @@ pub struct HelmReleaseSpec { /// Chart defines the template of the v1.HelmChart that should be created /// for this HelmRelease. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseChart { /// ObjectMeta holds the template for metadata like labels and annotations. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -131,7 +132,7 @@ pub struct HelmReleaseChart { } /// ObjectMeta holds the template for metadata like labels and annotations. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseChartMetadata { /// Annotations is an unstructured key value map stored with a resource that may be /// set by external tools to store and retrieve arbitrary metadata. They are not @@ -147,7 +148,7 @@ pub struct HelmReleaseChartMetadata { } /// Spec holds the template for the v1.HelmChartSpec for this HelmRelease. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseChartSpec { /// The name or path the Helm chart is available at in the SourceRef. pub chart: String, @@ -195,7 +196,7 @@ pub enum HelmReleaseChartSpecReconcileStrategy { } /// The name and namespace of the v1.Source the chart is available at. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseChartSpecSourceRef { /// APIVersion of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -250,7 +251,7 @@ pub enum HelmReleaseChartSpecVerifyProvider { /// SecretRef specifies the Kubernetes Secret containing the /// trusted public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseChartSpecVerifySecretRef { /// Name of the referent. pub name: String, @@ -284,7 +285,7 @@ pub enum HelmReleaseChartRefKind { /// NamespacedObjectReference contains enough information to locate the referenced Kubernetes resource object in any /// namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseDependsOn { /// Name of the referent. pub name: String, @@ -296,7 +297,7 @@ pub struct HelmReleaseDependsOn { /// DriftDetection holds the configuration for detecting and handling /// differences between the manifest in the Helm storage and the resources /// currently existing in the cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseDriftDetection { /// Ignore contains a list of rules for specifying which changes to ignore /// during diffing. @@ -311,7 +312,7 @@ pub struct HelmReleaseDriftDetection { /// IgnoreRule defines a rule to selectively disregard specific changes during /// the drift detection process. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseDriftDetectionIgnore { /// Paths is a list of JSON Pointer (RFC 6901) paths to be excluded from /// consideration in a Kubernetes object. @@ -328,7 +329,7 @@ pub struct HelmReleaseDriftDetectionIgnore { /// rule applies. /// If Target is not set, the Paths will be ignored for all Kubernetes /// objects within the manifest of the Helm release. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseDriftDetectionIgnoreTarget { /// AnnotationSelector is a string that follows the label selection expression /// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api @@ -378,7 +379,7 @@ pub enum HelmReleaseDriftDetectionMode { } /// Install holds the configuration for Helm install actions for this HelmRelease. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseInstall { /// CRDs upgrade CRDs from the Helm Chart's crds directory according /// to the CRD upgrade policy provided here. Valid values are `Skip`, @@ -454,7 +455,7 @@ pub enum HelmReleaseInstallCrds { /// Remediation holds the remediation configuration for when the Helm install /// action for the HelmRelease fails. The default is to not perform any action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseInstallRemediation { /// IgnoreTestFailures tells the controller to skip remediation when the Helm /// tests are run after an install action but fail. Defaults to @@ -479,7 +480,7 @@ pub struct HelmReleaseInstallRemediation { /// If the --default-service-account flag is set, its value will be used as /// a controller level fallback for when HelmReleaseSpec.ServiceAccountName /// is empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseKubeConfig { /// SecretRef holds the name of a secret that contains a key with /// the kubeconfig file as the value. If no key is set, the key will default @@ -501,7 +502,7 @@ pub struct HelmReleaseKubeConfig { /// Cloud specific `cmd-path` auth helpers will not function without adding /// binaries and credentials to the Pod that is responsible for reconciling /// Kubernetes resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseKubeConfigSecretRef { /// Key in the Secret, when not specified an implementation-specific default key is used. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -511,7 +512,7 @@ pub struct HelmReleaseKubeConfigSecretRef { } /// PostRenderer contains a Helm PostRenderer specification. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleasePostRenderers { /// Kustomization to apply as PostRenderer. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -519,7 +520,7 @@ pub struct HelmReleasePostRenderers { } /// Kustomization to apply as PostRenderer. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleasePostRenderersKustomize { /// Images is a list of (image name, new name, new tag or digest) /// for changing image names, tags or digests. This can also be achieved with a @@ -533,7 +534,7 @@ pub struct HelmReleasePostRenderersKustomize { } /// Image contains an image name, a new name, a new tag or digest, which will replace the original name and tag. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleasePostRenderersKustomizeImages { /// Digest is the value used to replace the original image tag. /// If digest is present NewTag value is ignored. @@ -551,7 +552,7 @@ pub struct HelmReleasePostRenderersKustomizeImages { /// Patch contains an inline StrategicMerge or JSON6902 patch, and the target the patch should /// be applied to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleasePostRenderersKustomizePatches { /// Patch contains an inline StrategicMerge patch or an inline JSON6902 patch with /// an array of operation objects. @@ -562,7 +563,7 @@ pub struct HelmReleasePostRenderersKustomizePatches { } /// Target points to the resources that the patch document should be applied to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleasePostRenderersKustomizePatchesTarget { /// AnnotationSelector is a string that follows the label selection expression /// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api @@ -599,7 +600,7 @@ pub struct HelmReleasePostRenderersKustomizePatchesTarget { } /// Rollback holds the configuration for Helm rollback actions for this HelmRelease. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseRollback { /// CleanupOnFail allows deletion of new resources created during the Helm /// rollback action when it fails. @@ -630,7 +631,7 @@ pub struct HelmReleaseRollback { } /// Test holds the configuration for Helm test actions for this HelmRelease. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseTest { /// Enable enables Helm test actions for this HelmRelease after an Helm install /// or upgrade action has been performed. @@ -651,7 +652,7 @@ pub struct HelmReleaseTest { } /// Filter holds the configuration for individual Helm test filters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseTestFilters { /// Exclude specifies whether the named test should be excluded. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -661,7 +662,7 @@ pub struct HelmReleaseTestFilters { } /// Uninstall holds the configuration for Helm uninstall actions for this HelmRelease. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseUninstall { /// DeletionPropagation specifies the deletion propagation policy when /// a Helm uninstall is performed. @@ -697,7 +698,7 @@ pub enum HelmReleaseUninstallDeletionPropagation { } /// Upgrade holds the configuration for Helm upgrade actions for this HelmRelease. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseUpgrade { /// CleanupOnFail allows deletion of new resources created during the Helm /// upgrade action when it fails. @@ -768,7 +769,7 @@ pub enum HelmReleaseUpgradeCrds { /// Remediation holds the remediation configuration for when the Helm upgrade /// action for the HelmRelease fails. The default is to not perform any action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseUpgradeRemediation { /// IgnoreTestFailures tells the controller to skip remediation when the Helm /// tests are run after an upgrade action but fail. @@ -833,7 +834,7 @@ pub enum HelmReleaseValuesFromKind { } /// HelmReleaseStatus defines the observed state of a HelmRelease. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseStatus { /// Conditions holds the conditions for the HelmRelease. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -916,7 +917,7 @@ pub struct HelmReleaseStatus { /// Snapshot captures a point-in-time copy of the status information for a Helm release, /// as managed by the controller. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseStatusHistory { /// APIVersion is the API version of the Snapshot. /// Provisional: when the calculation method of the Digest field is changed, @@ -969,7 +970,7 @@ pub struct HelmReleaseStatusHistory { /// TestHooks is the list of test hooks for the release as observed to be /// run by the controller. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseStatusHistoryTestHooks { /// LastCompleted is the time the test hook last completed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "lastCompleted")] diff --git a/kube-custom-resources-rs/src/helm_toolkit_fluxcd_io/v2beta1/helmreleases.rs b/kube-custom-resources-rs/src/helm_toolkit_fluxcd_io/v2beta1/helmreleases.rs index e24d48cfa..2de53a497 100644 --- a/kube-custom-resources-rs/src/helm_toolkit_fluxcd_io/v2beta1/helmreleases.rs +++ b/kube-custom-resources-rs/src/helm_toolkit_fluxcd_io/v2beta1/helmreleases.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/helm-controller/helm.toolkit.fluxcd.io/v2beta1/helmreleases.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/helm-controller/helm.toolkit.fluxcd.io/v2beta1/helmreleases.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// HelmReleaseSpec defines the desired state of a Helm release. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "helm.toolkit.fluxcd.io", version = "v2beta1", kind = "HelmRelease", plural = "helmreleases")] #[kube(namespaced)] #[kube(status = "HelmReleaseStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct HelmReleaseSpec { /// Chart defines the template of the v1beta2.HelmChart that should be created @@ -131,7 +132,7 @@ pub struct HelmReleaseSpec { /// Chart defines the template of the v1beta2.HelmChart that should be created /// for this HelmRelease. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseChart { /// ObjectMeta holds the template for metadata like labels and annotations. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -141,7 +142,7 @@ pub struct HelmReleaseChart { } /// ObjectMeta holds the template for metadata like labels and annotations. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseChartMetadata { /// Annotations is an unstructured key value map stored with a resource that may be /// set by external tools to store and retrieve arbitrary metadata. They are not @@ -157,7 +158,7 @@ pub struct HelmReleaseChartMetadata { } /// Spec holds the template for the v1beta2.HelmChartSpec for this HelmRelease. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseChartSpec { /// The name or path the Helm chart is available at in the SourceRef. pub chart: String, @@ -207,7 +208,7 @@ pub enum HelmReleaseChartSpecReconcileStrategy { } /// The name and namespace of the v1beta2.Source the chart is available at. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseChartSpecSourceRef { /// APIVersion of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -258,7 +259,7 @@ pub enum HelmReleaseChartSpecVerifyProvider { /// SecretRef specifies the Kubernetes Secret containing the /// trusted public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseChartSpecVerifySecretRef { /// Name of the referent. pub name: String, @@ -300,7 +301,7 @@ pub enum HelmReleaseChartRefKind { /// NamespacedObjectReference contains enough information to locate the referenced Kubernetes resource object in any /// namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseDependsOn { /// Name of the referent. pub name: String, @@ -316,7 +317,7 @@ pub struct HelmReleaseDependsOn { /// /// Note: this field is provisional to the v2beta2 API, and not actively used /// by v2beta1 HelmReleases. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseDriftDetection { /// Ignore contains a list of rules for specifying which changes to ignore /// during diffing. @@ -331,7 +332,7 @@ pub struct HelmReleaseDriftDetection { /// IgnoreRule defines a rule to selectively disregard specific changes during /// the drift detection process. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseDriftDetectionIgnore { /// Paths is a list of JSON Pointer (RFC 6901) paths to be excluded from /// consideration in a Kubernetes object. @@ -348,7 +349,7 @@ pub struct HelmReleaseDriftDetectionIgnore { /// rule applies. /// If Target is not set, the Paths will be ignored for all Kubernetes /// objects within the manifest of the Helm release. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseDriftDetectionIgnoreTarget { /// AnnotationSelector is a string that follows the label selection expression /// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api @@ -402,7 +403,7 @@ pub enum HelmReleaseDriftDetectionMode { } /// Install holds the configuration for Helm install actions for this HelmRelease. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseInstall { /// CRDs upgrade CRDs from the Helm Chart's crds directory according /// to the CRD upgrade policy provided here. Valid values are `Skip`, @@ -478,7 +479,7 @@ pub enum HelmReleaseInstallCrds { /// Remediation holds the remediation configuration for when the Helm install /// action for the HelmRelease fails. The default is to not perform any action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseInstallRemediation { /// IgnoreTestFailures tells the controller to skip remediation when the Helm /// tests are run after an install action but fail. Defaults to @@ -503,7 +504,7 @@ pub struct HelmReleaseInstallRemediation { /// If the --default-service-account flag is set, its value will be used as /// a controller level fallback for when HelmReleaseSpec.ServiceAccountName /// is empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseKubeConfig { /// SecretRef holds the name of a secret that contains a key with /// the kubeconfig file as the value. If no key is set, the key will default @@ -525,7 +526,7 @@ pub struct HelmReleaseKubeConfig { /// Cloud specific `cmd-path` auth helpers will not function without adding /// binaries and credentials to the Pod that is responsible for reconciling /// Kubernetes resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseKubeConfigSecretRef { /// Key in the Secret, when not specified an implementation-specific default key is used. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -535,7 +536,7 @@ pub struct HelmReleaseKubeConfigSecretRef { } /// PostRenderer contains a Helm PostRenderer specification. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleasePostRenderers { /// Kustomization to apply as PostRenderer. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -543,7 +544,7 @@ pub struct HelmReleasePostRenderers { } /// Kustomization to apply as PostRenderer. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleasePostRenderersKustomize { /// Images is a list of (image name, new name, new tag or digest) /// for changing image names, tags or digests. This can also be achieved with a @@ -563,7 +564,7 @@ pub struct HelmReleasePostRenderersKustomize { } /// Image contains an image name, a new name, a new tag or digest, which will replace the original name and tag. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleasePostRenderersKustomizeImages { /// Digest is the value used to replace the original image tag. /// If digest is present NewTag value is ignored. @@ -581,7 +582,7 @@ pub struct HelmReleasePostRenderersKustomizeImages { /// Patch contains an inline StrategicMerge or JSON6902 patch, and the target the patch should /// be applied to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleasePostRenderersKustomizePatches { /// Patch contains an inline StrategicMerge patch or an inline JSON6902 patch with /// an array of operation objects. @@ -592,7 +593,7 @@ pub struct HelmReleasePostRenderersKustomizePatches { } /// Target points to the resources that the patch document should be applied to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleasePostRenderersKustomizePatchesTarget { /// AnnotationSelector is a string that follows the label selection expression /// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api @@ -629,7 +630,7 @@ pub struct HelmReleasePostRenderersKustomizePatchesTarget { } /// JSON6902Patch contains a JSON6902 patch and the target the patch should be applied to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleasePostRenderersKustomizePatchesJson6902 { /// Patch contains the JSON6902 patch document with an array of operation objects. pub patch: Vec, @@ -677,7 +678,7 @@ pub enum HelmReleasePostRenderersKustomizePatchesJson6902PatchOp { } /// Target points to the resources that the patch document should be applied to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleasePostRenderersKustomizePatchesJson6902Target { /// AnnotationSelector is a string that follows the label selection expression /// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api @@ -714,7 +715,7 @@ pub struct HelmReleasePostRenderersKustomizePatchesJson6902Target { } /// Rollback holds the configuration for Helm rollback actions for this HelmRelease. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseRollback { /// CleanupOnFail allows deletion of new resources created during the Helm /// rollback action when it fails. @@ -745,7 +746,7 @@ pub struct HelmReleaseRollback { } /// Test holds the configuration for Helm test actions for this HelmRelease. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseTest { /// Enable enables Helm test actions for this HelmRelease after an Helm install /// or upgrade action has been performed. @@ -763,7 +764,7 @@ pub struct HelmReleaseTest { } /// Uninstall holds the configuration for Helm uninstall actions for this HelmRelease. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseUninstall { /// DeletionPropagation specifies the deletion propagation policy when /// a Helm uninstall is performed. @@ -799,7 +800,7 @@ pub enum HelmReleaseUninstallDeletionPropagation { } /// Upgrade holds the configuration for Helm upgrade actions for this HelmRelease. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseUpgrade { /// CleanupOnFail allows deletion of new resources created during the Helm /// upgrade action when it fails. @@ -870,7 +871,7 @@ pub enum HelmReleaseUpgradeCrds { /// Remediation holds the remediation configuration for when the Helm upgrade /// action for the HelmRelease fails. The default is to not perform any action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseUpgradeRemediation { /// IgnoreTestFailures tells the controller to skip remediation when the Helm /// tests are run after an upgrade action but fail. @@ -937,7 +938,7 @@ pub enum HelmReleaseValuesFromKind { } /// HelmReleaseStatus defines the observed state of a HelmRelease. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseStatus { /// Conditions holds the conditions for the HelmRelease. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1043,7 +1044,7 @@ pub struct HelmReleaseStatus { /// Snapshot captures a point-in-time copy of the status information for a Helm release, /// as managed by the controller. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseStatusHistory { /// APIVersion is the API version of the Snapshot. /// Provisional: when the calculation method of the Digest field is changed, @@ -1096,7 +1097,7 @@ pub struct HelmReleaseStatusHistory { /// TestHooks is the list of test hooks for the release as observed to be /// run by the controller. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseStatusHistoryTestHooks { /// LastCompleted is the time the test hook last completed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "lastCompleted")] diff --git a/kube-custom-resources-rs/src/helm_toolkit_fluxcd_io/v2beta2/helmreleases.rs b/kube-custom-resources-rs/src/helm_toolkit_fluxcd_io/v2beta2/helmreleases.rs index 1c8190298..fe1378a76 100644 --- a/kube-custom-resources-rs/src/helm_toolkit_fluxcd_io/v2beta2/helmreleases.rs +++ b/kube-custom-resources-rs/src/helm_toolkit_fluxcd_io/v2beta2/helmreleases.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/helm-controller/helm.toolkit.fluxcd.io/v2beta2/helmreleases.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/helm-controller/helm.toolkit.fluxcd.io/v2beta2/helmreleases.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// HelmReleaseSpec defines the desired state of a Helm release. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "helm.toolkit.fluxcd.io", version = "v2beta2", kind = "HelmRelease", plural = "helmreleases")] #[kube(namespaced)] #[kube(status = "HelmReleaseStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct HelmReleaseSpec { /// Chart defines the template of the v1beta2.HelmChart that should be created @@ -125,7 +126,7 @@ pub struct HelmReleaseSpec { /// Chart defines the template of the v1beta2.HelmChart that should be created /// for this HelmRelease. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseChart { /// ObjectMeta holds the template for metadata like labels and annotations. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -135,7 +136,7 @@ pub struct HelmReleaseChart { } /// ObjectMeta holds the template for metadata like labels and annotations. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseChartMetadata { /// Annotations is an unstructured key value map stored with a resource that may be /// set by external tools to store and retrieve arbitrary metadata. They are not @@ -151,7 +152,7 @@ pub struct HelmReleaseChartMetadata { } /// Spec holds the template for the v1beta2.HelmChartSpec for this HelmRelease. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseChartSpec { /// The name or path the Helm chart is available at in the SourceRef. pub chart: String, @@ -205,7 +206,7 @@ pub enum HelmReleaseChartSpecReconcileStrategy { } /// The name and namespace of the v1.Source the chart is available at. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseChartSpecSourceRef { /// APIVersion of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -260,7 +261,7 @@ pub enum HelmReleaseChartSpecVerifyProvider { /// SecretRef specifies the Kubernetes Secret containing the /// trusted public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseChartSpecVerifySecretRef { /// Name of the referent. pub name: String, @@ -302,7 +303,7 @@ pub enum HelmReleaseChartRefKind { /// NamespacedObjectReference contains enough information to locate the referenced Kubernetes resource object in any /// namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseDependsOn { /// Name of the referent. pub name: String, @@ -314,7 +315,7 @@ pub struct HelmReleaseDependsOn { /// DriftDetection holds the configuration for detecting and handling /// differences between the manifest in the Helm storage and the resources /// currently existing in the cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseDriftDetection { /// Ignore contains a list of rules for specifying which changes to ignore /// during diffing. @@ -329,7 +330,7 @@ pub struct HelmReleaseDriftDetection { /// IgnoreRule defines a rule to selectively disregard specific changes during /// the drift detection process. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseDriftDetectionIgnore { /// Paths is a list of JSON Pointer (RFC 6901) paths to be excluded from /// consideration in a Kubernetes object. @@ -346,7 +347,7 @@ pub struct HelmReleaseDriftDetectionIgnore { /// rule applies. /// If Target is not set, the Paths will be ignored for all Kubernetes /// objects within the manifest of the Helm release. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseDriftDetectionIgnoreTarget { /// AnnotationSelector is a string that follows the label selection expression /// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api @@ -396,7 +397,7 @@ pub enum HelmReleaseDriftDetectionMode { } /// Install holds the configuration for Helm install actions for this HelmRelease. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseInstall { /// CRDs upgrade CRDs from the Helm Chart's crds directory according /// to the CRD upgrade policy provided here. Valid values are `Skip`, @@ -472,7 +473,7 @@ pub enum HelmReleaseInstallCrds { /// Remediation holds the remediation configuration for when the Helm install /// action for the HelmRelease fails. The default is to not perform any action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseInstallRemediation { /// IgnoreTestFailures tells the controller to skip remediation when the Helm /// tests are run after an install action but fail. Defaults to @@ -497,7 +498,7 @@ pub struct HelmReleaseInstallRemediation { /// If the --default-service-account flag is set, its value will be used as /// a controller level fallback for when HelmReleaseSpec.ServiceAccountName /// is empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseKubeConfig { /// SecretRef holds the name of a secret that contains a key with /// the kubeconfig file as the value. If no key is set, the key will default @@ -519,7 +520,7 @@ pub struct HelmReleaseKubeConfig { /// Cloud specific `cmd-path` auth helpers will not function without adding /// binaries and credentials to the Pod that is responsible for reconciling /// Kubernetes resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseKubeConfigSecretRef { /// Key in the Secret, when not specified an implementation-specific default key is used. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -529,7 +530,7 @@ pub struct HelmReleaseKubeConfigSecretRef { } /// PostRenderer contains a Helm PostRenderer specification. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleasePostRenderers { /// Kustomization to apply as PostRenderer. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -537,7 +538,7 @@ pub struct HelmReleasePostRenderers { } /// Kustomization to apply as PostRenderer. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleasePostRenderersKustomize { /// Images is a list of (image name, new name, new tag or digest) /// for changing image names, tags or digests. This can also be achieved with a @@ -559,7 +560,7 @@ pub struct HelmReleasePostRenderersKustomize { } /// Image contains an image name, a new name, a new tag or digest, which will replace the original name and tag. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleasePostRenderersKustomizeImages { /// Digest is the value used to replace the original image tag. /// If digest is present NewTag value is ignored. @@ -577,7 +578,7 @@ pub struct HelmReleasePostRenderersKustomizeImages { /// Patch contains an inline StrategicMerge or JSON6902 patch, and the target the patch should /// be applied to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleasePostRenderersKustomizePatches { /// Patch contains an inline StrategicMerge patch or an inline JSON6902 patch with /// an array of operation objects. @@ -588,7 +589,7 @@ pub struct HelmReleasePostRenderersKustomizePatches { } /// Target points to the resources that the patch document should be applied to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleasePostRenderersKustomizePatchesTarget { /// AnnotationSelector is a string that follows the label selection expression /// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api @@ -625,7 +626,7 @@ pub struct HelmReleasePostRenderersKustomizePatchesTarget { } /// JSON6902Patch contains a JSON6902 patch and the target the patch should be applied to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleasePostRenderersKustomizePatchesJson6902 { /// Patch contains the JSON6902 patch document with an array of operation objects. pub patch: Vec, @@ -673,7 +674,7 @@ pub enum HelmReleasePostRenderersKustomizePatchesJson6902PatchOp { } /// Target points to the resources that the patch document should be applied to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleasePostRenderersKustomizePatchesJson6902Target { /// AnnotationSelector is a string that follows the label selection expression /// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api @@ -710,7 +711,7 @@ pub struct HelmReleasePostRenderersKustomizePatchesJson6902Target { } /// Rollback holds the configuration for Helm rollback actions for this HelmRelease. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseRollback { /// CleanupOnFail allows deletion of new resources created during the Helm /// rollback action when it fails. @@ -741,7 +742,7 @@ pub struct HelmReleaseRollback { } /// Test holds the configuration for Helm test actions for this HelmRelease. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseTest { /// Enable enables Helm test actions for this HelmRelease after an Helm install /// or upgrade action has been performed. @@ -762,7 +763,7 @@ pub struct HelmReleaseTest { } /// Filter holds the configuration for individual Helm test filters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseTestFilters { /// Exclude specifies whether the named test should be excluded. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -772,7 +773,7 @@ pub struct HelmReleaseTestFilters { } /// Uninstall holds the configuration for Helm uninstall actions for this HelmRelease. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseUninstall { /// DeletionPropagation specifies the deletion propagation policy when /// a Helm uninstall is performed. @@ -808,7 +809,7 @@ pub enum HelmReleaseUninstallDeletionPropagation { } /// Upgrade holds the configuration for Helm upgrade actions for this HelmRelease. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseUpgrade { /// CleanupOnFail allows deletion of new resources created during the Helm /// upgrade action when it fails. @@ -879,7 +880,7 @@ pub enum HelmReleaseUpgradeCrds { /// Remediation holds the remediation configuration for when the Helm upgrade /// action for the HelmRelease fails. The default is to not perform any action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseUpgradeRemediation { /// IgnoreTestFailures tells the controller to skip remediation when the Helm /// tests are run after an upgrade action but fail. @@ -944,7 +945,7 @@ pub enum HelmReleaseValuesFromKind { } /// HelmReleaseStatus defines the observed state of a HelmRelease. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseStatus { /// Conditions holds the conditions for the HelmRelease. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1032,7 +1033,7 @@ pub struct HelmReleaseStatus { /// Snapshot captures a point-in-time copy of the status information for a Helm release, /// as managed by the controller. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseStatusHistory { /// APIVersion is the API version of the Snapshot. /// Provisional: when the calculation method of the Digest field is changed, @@ -1085,7 +1086,7 @@ pub struct HelmReleaseStatusHistory { /// TestHooks is the list of test hooks for the release as observed to be /// run by the controller. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmReleaseStatusHistoryTestHooks { /// LastCompleted is the time the test hook last completed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "lastCompleted")] diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/checkpoints.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/checkpoints.rs index 45b416243..c222ae5d8 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/checkpoints.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/checkpoints.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/checkpoints.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/checkpoints.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterclaims.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterclaims.rs index e75453028..e0a5440cf 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterclaims.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterclaims.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterclaims.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterclaims.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterdeploymentcustomizations.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterdeploymentcustomizations.rs index f56437679..d4e821842 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterdeploymentcustomizations.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterdeploymentcustomizations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterdeploymentcustomizations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterdeploymentcustomizations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterdeployments.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterdeployments.rs index ec482655e..fb4976369 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterdeployments.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterdeployments.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterdeployments.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterdeployments.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterdeprovisions.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterdeprovisions.rs index 82e1c7713..7bca7d2d6 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterdeprovisions.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterdeprovisions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterdeprovisions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterdeprovisions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterimagesets.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterimagesets.rs index 348a2f645..d487b3d9c 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterimagesets.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterimagesets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterimagesets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterimagesets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterpools.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterpools.rs index f4be55e75..02097d464 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterpools.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterpools.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterpools.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterpools.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterprovisions.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterprovisions.rs index 401f9e3f1..2aae5ab45 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterprovisions.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterprovisions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterprovisions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterprovisions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterrelocates.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterrelocates.rs index 4b29e6b38..7bb99f971 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterrelocates.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterrelocates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterrelocates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterrelocates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterstates.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterstates.rs index 2b333d20d..65e6ccbd4 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterstates.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/clusterstates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterstates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/clusterstates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/dnszones.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/dnszones.rs index 2ab5b7162..bdeb7fbc7 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/dnszones.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/dnszones.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/dnszones.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/dnszones.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/hiveconfigs.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/hiveconfigs.rs index 49a9e7cca..0e45869f7 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/hiveconfigs.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/hiveconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/hiveconfigs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/hiveconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,10 +13,11 @@ mod prelude { use self::prelude::*; /// HiveConfigSpec defines the desired state of Hive -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "hive.openshift.io", version = "v1", kind = "HiveConfig", plural = "hiveconfigs")] #[kube(status = "HiveConfigStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct HiveConfigSpec { /// AdditionalCertificateAuthoritiesSecretRef is a list of references to secrets in the TargetNamespace that contain an additional Certificate Authority to use when communicating with target clusters. These certificate authorities will be used in addition to any self-signed CA generated by each cluster on installation. The cert data should be stored in the Secret key named 'ca.crt'. @@ -92,7 +93,7 @@ pub struct HiveConfigSpec { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigAdditionalCertificateAuthoritiesSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -100,7 +101,7 @@ pub struct HiveConfigAdditionalCertificateAuthoritiesSecretRef { } /// ArgoCD specifies configuration for ArgoCD integration. If enabled, Hive will automatically add provisioned clusters to ArgoCD, and remove them when they are deprovisioned. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigArgoCdConfig { /// Enabled dictates if ArgoCD gitops integration is enabled. If not specified, the default is disabled. pub enabled: bool, @@ -110,7 +111,7 @@ pub struct HiveConfigArgoCdConfig { } /// AWSPrivateLink defines the configuration for the aws-private-link controller. It provides 3 major pieces of information required by the controller, 1. The Credentials that should be used to create AWS PrivateLink resources other than what exist in the customer's account. 2. A list of VPCs that can be used by the controller to choose one to create AWS VPC Endpoints for the AWS VPC Endpoint Services created for ClusterDeployments in their corresponding regions. 3. A list of VPCs that should be able to resolve the DNS addresses setup for Private Link. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigAwsPrivateLink { /// AssociatedVPCs is the list of VPCs that should be able to resolve the DNS addresses setup for Private Link. This allows clients in VPC to resolve the AWS PrivateLink address using AWS's default DNS resolver for Private Route53 Hosted Zones. /// This list should at minimum include the VPC where the current Hive controller is running. @@ -128,7 +129,7 @@ pub struct HiveConfigAwsPrivateLink { } /// AWSAssociatedVPC defines a VPC that should be able to resolve the DNS addresses setup for Private Link. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigAwsPrivateLinkAssociatedVpCs { /// CredentialsSecretRef references a secret in the TargetNamespace that will be used to authenticate with AWS for associating the VPC with the Private HostedZone created for PrivateLink. When not provided, the common credentials for the controller should be used. #[serde(default, skip_serializing_if = "Option::is_none", rename = "credentialsSecretRef")] @@ -139,7 +140,7 @@ pub struct HiveConfigAwsPrivateLinkAssociatedVpCs { } /// CredentialsSecretRef references a secret in the TargetNamespace that will be used to authenticate with AWS for associating the VPC with the Private HostedZone created for PrivateLink. When not provided, the common credentials for the controller should be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigAwsPrivateLinkAssociatedVpCsCredentialsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -147,7 +148,7 @@ pub struct HiveConfigAwsPrivateLinkAssociatedVpCsCredentialsSecretRef { } /// CredentialsSecretRef references a secret in the TargetNamespace that will be used to authenticate with AWS for creating the resources for AWS PrivateLink. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigAwsPrivateLinkCredentialsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -162,7 +163,7 @@ pub enum HiveConfigAwsPrivateLinkDnsRecordType { } /// AWSPrivateLinkInventory is a VPC and its corresponding subnets in an AWS region. This VPC will be used to create an AWS VPC Endpoint whenever there is a VPC Endpoint Service created for a ClusterDeployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigAwsPrivateLinkEndpointVpcInventory { pub region: String, pub subnets: Vec, @@ -171,7 +172,7 @@ pub struct HiveConfigAwsPrivateLinkEndpointVpcInventory { } /// AWSPrivateLinkSubnet defines a subnet in the an AWS VPC. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigAwsPrivateLinkEndpointVpcInventorySubnets { #[serde(rename = "availabilityZone")] pub availability_zone: String, @@ -180,7 +181,7 @@ pub struct HiveConfigAwsPrivateLinkEndpointVpcInventorySubnets { } /// Backup specifies configuration for backup integration. If absent, backup integration will be disabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigBackup { /// MinBackupPeriodSeconds specifies that a minimum of MinBackupPeriodSeconds will occur in between each backup. This is used to rate limit backups. This potentially batches together multiple changes into 1 backup. No backups will be lost as changes that happen during this interval are queued up and will result in a backup happening once the interval has been completed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "minBackupPeriodSeconds")] @@ -191,7 +192,7 @@ pub struct HiveConfigBackup { } /// Velero specifies configuration for the Velero backup integration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigBackupVelero { /// Enabled dictates if Velero backup integration is enabled. If not specified, the default is disabled. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -202,7 +203,7 @@ pub struct HiveConfigBackupVelero { } /// ControllersConfig is used to configure different hive controllers -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigControllersConfig { /// Controllers contains a list of configurations for different controllers #[serde(default, skip_serializing_if = "Option::is_none")] @@ -222,7 +223,7 @@ pub struct HiveConfigControllersConfigControllers { } /// ControllerConfig contains the configuration for the controller specified by Name field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigControllersConfigControllersConfig { /// ClientBurst specifies client rate limiter burst for a controller #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientBurst")] @@ -248,7 +249,7 @@ pub struct HiveConfigControllersConfigControllersConfig { } /// Resources describes the compute resource requirements of the controller container. This is ONLY for controllers that have been split out into their own pods. This is ignored for all others. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigControllersConfigControllersConfigResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -264,7 +265,7 @@ pub struct HiveConfigControllersConfigControllersConfigResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigControllersConfigControllersConfigResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, @@ -318,7 +319,7 @@ pub enum HiveConfigControllersConfigControllersName { } /// Default specifies default configuration for all the controllers, can be used to override following coded defaults default for concurrent reconciles is 5 default for client qps is 5 default for client burst is 10 default for queue qps is 10 default for queue burst is 100 -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigControllersConfigDefault { /// ClientBurst specifies client rate limiter burst for a controller #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientBurst")] @@ -344,7 +345,7 @@ pub struct HiveConfigControllersConfigDefault { } /// Resources describes the compute resource requirements of the controller container. This is ONLY for controllers that have been split out into their own pods. This is ignored for all others. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigControllersConfigDefaultResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -360,7 +361,7 @@ pub struct HiveConfigControllersConfigDefaultResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigControllersConfigDefaultResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, @@ -394,7 +395,7 @@ pub enum HiveConfigDeploymentConfigDeploymentName { } /// Resources allows customization of the resource (memory, CPU, etc.) limits and requests used by containers in the Deployment/StatefulSet named by DeploymentName. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigDeploymentConfigResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -410,14 +411,14 @@ pub struct HiveConfigDeploymentConfigResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigDeploymentConfigResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// FailedProvisionConfig is used to configure settings related to handling provision failures. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigFailedProvisionConfig { /// FailedProvisionAWSConfig contains AWS-specific info to upload log files. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -431,7 +432,7 @@ pub struct HiveConfigFailedProvisionConfig { } /// FailedProvisionAWSConfig contains AWS-specific info to upload log files. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigFailedProvisionConfigAws { /// Bucket is the S3 bucket to store the logs in. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -448,7 +449,7 @@ pub struct HiveConfigFailedProvisionConfigAws { } /// CredentialsSecretRef references a secret in the TargetNamespace that will be used to authenticate with AWS S3. It will need permission to upload logs to S3. Secret should have keys named aws_access_key_id and aws_secret_access_key that contain the AWS credentials. Example Secret: data: aws_access_key_id: minio aws_secret_access_key: minio123 -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigFailedProvisionConfigAwsCredentialsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -456,7 +457,7 @@ pub struct HiveConfigFailedProvisionConfigAwsCredentialsSecretRef { } /// FeatureGateSelection allows selecting feature gates for the controller. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigFeatureGates { /// custom allows the enabling or disabling of any feature. Because of its nature, this setting cannot be validated. If you have any typos or accidentally apply invalid combinations might cause unknown behavior. featureSet must equal "Custom" must be set to use this field. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -467,7 +468,7 @@ pub struct HiveConfigFeatureGates { } /// custom allows the enabling or disabling of any feature. Because of its nature, this setting cannot be validated. If you have any typos or accidentally apply invalid combinations might cause unknown behavior. featureSet must equal "Custom" must be set to use this field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigFeatureGatesCustom { /// enabled is a list of all feature gates that you want to force on #[serde(default, skip_serializing_if = "Option::is_none")] @@ -483,7 +484,7 @@ pub enum HiveConfigFeatureGatesFeatureSet { } /// GlobalPullSecretRef is used to specify a pull secret that will be used globally by all of the cluster deployments. For each cluster deployment, the contents of GlobalPullSecret will be merged with the specific pull secret for a cluster deployment(if specified), with precedence given to the contents of the pull secret for the cluster deployment. The global pull secret is assumed to be in the TargetNamespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigGlobalPullSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -491,7 +492,7 @@ pub struct HiveConfigGlobalPullSecretRef { } /// ManageDNSConfig contains the domain being managed, and the cloud-specific details for accessing/managing the domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigManagedDomains { /// AWS contains AWS-specific settings for external DNS #[serde(default, skip_serializing_if = "Option::is_none")] @@ -507,7 +508,7 @@ pub struct HiveConfigManagedDomains { } /// AWS contains AWS-specific settings for external DNS -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigManagedDomainsAws { /// CredentialsSecretRef references a secret in the TargetNamespace that will be used to authenticate with AWS Route53. It will need permission to manage entries for the domain listed in the parent ManageDNSConfig object. Secret should have AWS keys named 'aws_access_key_id' and 'aws_secret_access_key'. #[serde(rename = "credentialsSecretRef")] @@ -518,7 +519,7 @@ pub struct HiveConfigManagedDomainsAws { } /// CredentialsSecretRef references a secret in the TargetNamespace that will be used to authenticate with AWS Route53. It will need permission to manage entries for the domain listed in the parent ManageDNSConfig object. Secret should have AWS keys named 'aws_access_key_id' and 'aws_secret_access_key'. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigManagedDomainsAwsCredentialsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -526,7 +527,7 @@ pub struct HiveConfigManagedDomainsAwsCredentialsSecretRef { } /// Azure contains Azure-specific settings for external DNS -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigManagedDomainsAzure { /// CloudName is the name of the Azure cloud environment which can be used to configure the Azure SDK with the appropriate Azure API endpoints. If empty, the value is equal to "AzurePublicCloud". #[serde(default, skip_serializing_if = "Option::is_none", rename = "cloudName")] @@ -552,7 +553,7 @@ pub enum HiveConfigManagedDomainsAzureCloudName { } /// CredentialsSecretRef references a secret in the TargetNamespace that will be used to authenticate with Azure DNS. It wil need permission to manage entries in each of the managed domains listed in the parent ManageDNSConfig object. Secret should have a key named 'osServicePrincipal.json' -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigManagedDomainsAzureCredentialsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -560,7 +561,7 @@ pub struct HiveConfigManagedDomainsAzureCredentialsSecretRef { } /// GCP contains GCP-specific settings for external DNS -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigManagedDomainsGcp { /// CredentialsSecretRef references a secret in the TargetNamespace that will be used to authenticate with GCP DNS. It will need permission to manage entries in each of the managed domains for this cluster. listed in the parent ManageDNSConfig object. Secret should have a key named 'osServiceAccount.json'. The credentials must specify the project to use. #[serde(rename = "credentialsSecretRef")] @@ -568,7 +569,7 @@ pub struct HiveConfigManagedDomainsGcp { } /// CredentialsSecretRef references a secret in the TargetNamespace that will be used to authenticate with GCP DNS. It will need permission to manage entries in each of the managed domains for this cluster. listed in the parent ManageDNSConfig object. Secret should have a key named 'osServiceAccount.json'. The credentials must specify the project to use. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigManagedDomainsGcpCredentialsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -576,7 +577,7 @@ pub struct HiveConfigManagedDomainsGcpCredentialsSecretRef { } /// MetricsConfig encapsulates metrics specific configurations, like opting in for certain metrics. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigMetricsConfig { /// AdditionalClusterDeploymentLabels allows configuration of additional labels to be applied to certain metrics. The keys can be any string value suitable for a metric label (see https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels). The values can be any ClusterDeployment label key (from metadata.labels). When observing an affected metric, hive will label it with the specified metric key, and copy the value from the specified ClusterDeployment label. For example, including {"ocp_major_version": "hive.openshift.io/version-major"} will cause affected metrics to include a label key ocp_major_version with the value from the hive.openshift.io/version-major ClusterDeployment label -- e.g. "4". NOTE: Avoid ClusterDeployment labels whose values are unbounded, such as those representing cluster names or IDs, as these will cause your prometheus database to grow indefinitely. Affected metrics are those whose type implements the metricsWithDynamicLabels interface found in pkg/controller/metrics/metrics_with_dynamic_labels.go #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalClusterDeploymentLabels")] @@ -620,7 +621,7 @@ pub enum HiveConfigMetricsConfigMetricsWithDurationName { /// See https://github.com/containers/image/blob/ab49b0a48428c623a8f03b41b9083d48966b34a9/docs/signature-protocols.md for a description of the signature store /// The returned verifier will require that any new release image will only be considered verified if each provided public key has signed the release image digest. The signature may be in any store and the lookup order is internally defined. /// If not set, no verification will be performed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigReleaseImageVerificationConfigMapRef { /// Name of the ConfigMap pub name: String, @@ -629,7 +630,7 @@ pub struct HiveConfigReleaseImageVerificationConfigMapRef { } /// ServiceProviderCredentialsConfig is used to configure credentials related to being a service provider on various cloud platforms. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigServiceProviderCredentialsConfig { /// AWS is used to configure credentials related to being a service provider on AWS. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -637,7 +638,7 @@ pub struct HiveConfigServiceProviderCredentialsConfig { } /// AWS is used to configure credentials related to being a service provider on AWS. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigServiceProviderCredentialsConfigAws { /// CredentialsSecretRef references a secret in the TargetNamespace that will be used to authenticate with AWS to become the Service Provider. Being a Service Provider allows the controllers to assume the role in customer AWS accounts to manager clusters. #[serde(default, skip_serializing_if = "Option::is_none", rename = "credentialsSecretRef")] @@ -645,7 +646,7 @@ pub struct HiveConfigServiceProviderCredentialsConfigAws { } /// CredentialsSecretRef references a secret in the TargetNamespace that will be used to authenticate with AWS to become the Service Provider. Being a Service Provider allows the controllers to assume the role in customer AWS accounts to manager clusters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigServiceProviderCredentialsConfigAwsCredentialsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -653,7 +654,7 @@ pub struct HiveConfigServiceProviderCredentialsConfigAwsCredentialsSecretRef { } /// HiveConfigStatus defines the observed state of Hive -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HiveConfigStatus { /// AggregatorClientCAHash keeps an md5 hash of the aggregator client CA configmap data from the openshift-config-managed namespace. When the configmap changes, admission is redeployed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "aggregatorClientCAHash")] diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/machinepoolnameleases.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/machinepoolnameleases.rs index df3df1aa8..a03e7ef85 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/machinepoolnameleases.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/machinepoolnameleases.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/machinepoolnameleases.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/machinepoolnameleases.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/machinepools.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/machinepools.rs index 7e1a5a4a6..2b3a9e913 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/machinepools.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/machinepools.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/machinepools.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/machinepools.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/selectorsyncidentityproviders.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/selectorsyncidentityproviders.rs index b63cd10b0..8d11e38fa 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/selectorsyncidentityproviders.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/selectorsyncidentityproviders.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/selectorsyncidentityproviders.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/selectorsyncidentityproviders.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hive_openshift_io/v1/syncidentityproviders.rs b/kube-custom-resources-rs/src/hive_openshift_io/v1/syncidentityproviders.rs index 705707910..d4659f6e4 100644 --- a/kube-custom-resources-rs/src/hive_openshift_io/v1/syncidentityproviders.rs +++ b/kube-custom-resources-rs/src/hive_openshift_io/v1/syncidentityproviders.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/syncidentityproviders.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hive.openshift.io/v1/syncidentityproviders.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hiveinternal_openshift_io/v1alpha1/clustersyncleases.rs b/kube-custom-resources-rs/src/hiveinternal_openshift_io/v1alpha1/clustersyncleases.rs index 14fc68b48..5e93ef302 100644 --- a/kube-custom-resources-rs/src/hiveinternal_openshift_io/v1alpha1/clustersyncleases.rs +++ b/kube-custom-resources-rs/src/hiveinternal_openshift_io/v1alpha1/clustersyncleases.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hiveinternal.openshift.io/v1alpha1/clustersyncleases.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hiveinternal.openshift.io/v1alpha1/clustersyncleases.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hiveinternal_openshift_io/v1alpha1/clustersyncs.rs b/kube-custom-resources-rs/src/hiveinternal_openshift_io/v1alpha1/clustersyncs.rs index 310e79c52..a662abee3 100644 --- a/kube-custom-resources-rs/src/hiveinternal_openshift_io/v1alpha1/clustersyncs.rs +++ b/kube-custom-resources-rs/src/hiveinternal_openshift_io/v1alpha1/clustersyncs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hiveinternal.openshift.io/v1alpha1/clustersyncs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hiveinternal.openshift.io/v1alpha1/clustersyncs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,17 +11,18 @@ mod prelude { use self::prelude::*; /// ClusterSyncSpec defines the desired state of ClusterSync -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "hiveinternal.openshift.io", version = "v1alpha1", kind = "ClusterSync", plural = "clustersyncs")] #[kube(namespaced)] #[kube(status = "ClusterSyncStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterSyncSpec { } /// ClusterSyncStatus defines the observed state of ClusterSync -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSyncStatus { /// Conditions is a list of conditions associated with syncing to the cluster. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -65,7 +66,7 @@ pub struct ClusterSyncStatusSelectorSyncSets { } /// SyncResourceReference is a reference to a resource that is synced to a cluster via a SyncSet or SelectorSyncSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSyncStatusSelectorSyncSetsResourcesToDelete { /// APIVersion is the Group and Version of the resource. #[serde(rename = "apiVersion")] @@ -112,7 +113,7 @@ pub struct ClusterSyncStatusSyncSets { } /// SyncResourceReference is a reference to a resource that is synced to a cluster via a SyncSet or SelectorSyncSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterSyncStatusSyncSetsResourcesToDelete { /// APIVersion is the Group and Version of the resource. #[serde(rename = "apiVersion")] diff --git a/kube-custom-resources-rs/src/hiveinternal_openshift_io/v1alpha1/fakeclusterinstalls.rs b/kube-custom-resources-rs/src/hiveinternal_openshift_io/v1alpha1/fakeclusterinstalls.rs index 831435d71..bf51eab98 100644 --- a/kube-custom-resources-rs/src/hiveinternal_openshift_io/v1alpha1/fakeclusterinstalls.rs +++ b/kube-custom-resources-rs/src/hiveinternal_openshift_io/v1alpha1/fakeclusterinstalls.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hiveinternal.openshift.io/v1alpha1/fakeclusterinstalls.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/openshift/hive/hiveinternal.openshift.io/v1alpha1/fakeclusterinstalls.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/hierarchicalresourcequotas.rs b/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/hierarchicalresourcequotas.rs index b197395ad..469ba181e 100644 --- a/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/hierarchicalresourcequotas.rs +++ b/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/hierarchicalresourcequotas.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/hierarchical-namespaces/hnc.x-k8s.io/v1alpha2/hierarchicalresourcequotas.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/hierarchical-namespaces/hnc.x-k8s.io/v1alpha2/hierarchicalresourcequotas.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/hierarchyconfigurations.rs b/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/hierarchyconfigurations.rs index 90bb4bf35..70294ea7b 100644 --- a/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/hierarchyconfigurations.rs +++ b/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/hierarchyconfigurations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/hierarchical-namespaces/hnc.x-k8s.io/v1alpha2/hierarchyconfigurations.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/hierarchical-namespaces/hnc.x-k8s.io/v1alpha2/hierarchyconfigurations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { use self::prelude::*; /// HierarchySpec defines the desired state of Hierarchy -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "hnc.x-k8s.io", version = "v1alpha2", kind = "HierarchyConfiguration", plural = "hierarchyconfigurations")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct HierarchyConfigurationSpec { /// AllowCascadingDeletion indicates if the subnamespaces of this namespace are allowed to cascading delete. @@ -32,7 +33,7 @@ pub struct HierarchyConfigurationSpec { } /// MetaKVP represents a label or annotation -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HierarchyConfigurationAnnotations { /// Key is the name of the label or annotation. It must conform to the normal rules for Kubernetes label/annotation keys. pub key: String, @@ -41,7 +42,7 @@ pub struct HierarchyConfigurationAnnotations { } /// MetaKVP represents a label or annotation -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HierarchyConfigurationLabels { /// Key is the name of the label or annotation. It must conform to the normal rules for Kubernetes label/annotation keys. pub key: String, @@ -50,7 +51,7 @@ pub struct HierarchyConfigurationLabels { } /// HierarchyStatus defines the observed state of Hierarchy -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HierarchyConfigurationStatus { /// Children indicates the direct children of this namespace, if any. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/hncconfigurations.rs b/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/hncconfigurations.rs index 5f0c79ea1..9baffc5cd 100644 --- a/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/hncconfigurations.rs +++ b/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/hncconfigurations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/hierarchical-namespaces/hnc.x-k8s.io/v1alpha2/hncconfigurations.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/hierarchical-namespaces/hnc.x-k8s.io/v1alpha2/hncconfigurations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,9 +11,10 @@ mod prelude { use self::prelude::*; /// HNCConfigurationSpec defines the desired state of HNC configuration. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "hnc.x-k8s.io", version = "v1alpha2", kind = "HNCConfiguration", plural = "hncconfigurations")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct HNCConfigurationSpec { /// Resources defines the cluster-wide settings for resource synchronization. Note that 'roles' and 'rolebindings' are pre-configured by HNC with 'Propagate' mode and are omitted in the spec. Any configuration of 'roles' or 'rolebindings' are not allowed. To learn more, see https://github.com/kubernetes-sigs/hierarchical-namespaces/blob/master/docs/user-guide/how-to.md#admin-types @@ -22,7 +23,7 @@ pub struct HNCConfigurationSpec { } /// ResourceSpec defines the desired synchronization state of a specific resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HNCConfigurationResources { /// Group of the resource defined below. This is used to unambiguously identify the resource. It may be omitted for core resources (e.g. "secrets"). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -44,7 +45,7 @@ pub enum HNCConfigurationResourcesMode { } /// HNCConfigurationStatus defines the observed state of HNC configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HNCConfigurationStatus { /// Conditions describes the errors, if any. If there are any conditions with "ActivitiesHalted" reason, this means that HNC cannot function in the affected namespaces. The HierarchyConfiguration object in each of the affected namespaces will have more information. To learn more about conditions, see https://github.com/kubernetes-sigs/hierarchical-namespaces/blob/master/docs/user-guide/concepts.md#admin-conditions. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -55,7 +56,7 @@ pub struct HNCConfigurationStatus { } /// ResourceStatus defines the actual synchronization state of a specific resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HNCConfigurationStatusResources { /// The API group of the resource being synchronized. pub group: String, diff --git a/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/subnamespaceanchors.rs b/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/subnamespaceanchors.rs index 4e74f9280..f1ad69484 100644 --- a/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/subnamespaceanchors.rs +++ b/kube-custom-resources-rs/src/hnc_x_k8s_io/v1alpha2/subnamespaceanchors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/hierarchical-namespaces/hnc.x-k8s.io/v1alpha2/subnamespaceanchors.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/hierarchical-namespaces/hnc.x-k8s.io/v1alpha2/subnamespaceanchors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hyperfoil_io/v1alpha1/horreums.rs b/kube-custom-resources-rs/src/hyperfoil_io/v1alpha1/horreums.rs index 128bc894a..49f9d3240 100644 --- a/kube-custom-resources-rs/src/hyperfoil_io/v1alpha1/horreums.rs +++ b/kube-custom-resources-rs/src/hyperfoil_io/v1alpha1/horreums.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Hyperfoil/horreum-operator/hyperfoil.io/v1alpha1/horreums.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Hyperfoil/horreum-operator/hyperfoil.io/v1alpha1/horreums.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/hyperfoil_io/v1alpha2/hyperfoils.rs b/kube-custom-resources-rs/src/hyperfoil_io/v1alpha2/hyperfoils.rs index 657dff512..ab01c25ef 100644 --- a/kube-custom-resources-rs/src/hyperfoil_io/v1alpha2/hyperfoils.rs +++ b/kube-custom-resources-rs/src/hyperfoil_io/v1alpha2/hyperfoils.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Hyperfoil/hyperfoil-operator/hyperfoil.io/v1alpha2/hyperfoils.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Hyperfoil/hyperfoil-operator/hyperfoil.io/v1alpha2/hyperfoils.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/groups.rs b/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/groups.rs index e83ab5855..760497db9 100644 --- a/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/groups.rs +++ b/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/groups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/iam-controller/iam.services.k8s.aws/v1alpha1/groups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/iam-controller/iam.services.k8s.aws/v1alpha1/groups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/instanceprofiles.rs b/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/instanceprofiles.rs index 551e89746..169f23b08 100644 --- a/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/instanceprofiles.rs +++ b/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/instanceprofiles.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/iam-controller/iam.services.k8s.aws/v1alpha1/instanceprofiles.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/iam-controller/iam.services.k8s.aws/v1alpha1/instanceprofiles.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/openidconnectproviders.rs b/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/openidconnectproviders.rs index 989dc0d90..d31c47387 100644 --- a/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/openidconnectproviders.rs +++ b/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/openidconnectproviders.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/iam-controller/iam.services.k8s.aws/v1alpha1/openidconnectproviders.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/iam-controller/iam.services.k8s.aws/v1alpha1/openidconnectproviders.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/policies.rs b/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/policies.rs index fa12bf7f7..5a6113513 100644 --- a/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/policies.rs +++ b/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/policies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/iam-controller/iam.services.k8s.aws/v1alpha1/policies.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/iam-controller/iam.services.k8s.aws/v1alpha1/policies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/roles.rs b/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/roles.rs index dbecaa7b5..a8913d82e 100644 --- a/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/roles.rs +++ b/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/roles.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/iam-controller/iam.services.k8s.aws/v1alpha1/roles.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/iam-controller/iam.services.k8s.aws/v1alpha1/roles.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/users.rs b/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/users.rs index 1f844f395..95fec5171 100644 --- a/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/users.rs +++ b/kube-custom-resources-rs/src/iam_services_k8s_aws/v1alpha1/users.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/iam-controller/iam.services.k8s.aws/v1alpha1/users.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/iam-controller/iam.services.k8s.aws/v1alpha1/users.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ibmcloud_ibm_com/v1alpha1/composables.rs b/kube-custom-resources-rs/src/ibmcloud_ibm_com/v1alpha1/composables.rs index 10618504d..0bd198f94 100644 --- a/kube-custom-resources-rs/src/ibmcloud_ibm_com/v1alpha1/composables.rs +++ b/kube-custom-resources-rs/src/ibmcloud_ibm_com/v1alpha1/composables.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/composable-operator/composable/ibmcloud.ibm.com/v1alpha1/composables.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/composable-operator/composable/ibmcloud.ibm.com/v1alpha1/composables.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta1/imagepolicies.rs b/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta1/imagepolicies.rs index 0aeb20204..7b0d22c26 100644 --- a/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta1/imagepolicies.rs +++ b/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta1/imagepolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta1/imagepolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta1/imagepolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ use self::prelude::*; /// ImagePolicySpec defines the parameters for calculating the /// ImagePolicy -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "image.toolkit.fluxcd.io", version = "v1beta1", kind = "ImagePolicy", plural = "imagepolicies")] #[kube(namespaced)] #[kube(status = "ImagePolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ImagePolicySpec { /// FilterTags enables filtering for only a subset of tags based on a set of @@ -36,7 +37,7 @@ pub struct ImagePolicySpec { /// FilterTags enables filtering for only a subset of tags based on a set of /// rules. If no rules are provided, all the tags from the repository will be /// ordered and compared. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImagePolicyFilterTags { /// Extract allows a capture group to be extracted from the specified regular /// expression pattern, useful before tag evaluation. @@ -50,7 +51,7 @@ pub struct ImagePolicyFilterTags { /// ImageRepositoryRef points at the object specifying the image /// being scanned -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImagePolicyImageRepositoryRef { /// Name of the referent. pub name: String, @@ -61,7 +62,7 @@ pub struct ImagePolicyImageRepositoryRef { /// Policy gives the particulars of the policy to be followed in /// selecting the most recent image -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImagePolicyPolicy { /// Alphabetical set of rules to use for alphabetical ordering of the tags. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -76,7 +77,7 @@ pub struct ImagePolicyPolicy { } /// Alphabetical set of rules to use for alphabetical ordering of the tags. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImagePolicyPolicyAlphabetical { /// Order specifies the sorting order of the tags. Given the letters of the /// alphabet as tags, ascending order would select Z, and descending order @@ -95,7 +96,7 @@ pub enum ImagePolicyPolicyAlphabeticalOrder { } /// Numerical set of rules to use for numerical ordering of the tags. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImagePolicyPolicyNumerical { /// Order specifies the sorting order of the tags. Given the integer values /// from 0 to 9 as tags, ascending order would select 9, and descending order @@ -115,7 +116,7 @@ pub enum ImagePolicyPolicyNumericalOrder { /// SemVer gives a semantic version range to check against the tags /// available. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImagePolicyPolicySemver { /// Range gives a semver range for the image tag; the highest /// version within the range that's a tag yields the latest image. @@ -123,7 +124,7 @@ pub struct ImagePolicyPolicySemver { } /// ImagePolicyStatus defines the observed state of ImagePolicy -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImagePolicyStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, diff --git a/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta1/imagerepositories.rs b/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta1/imagerepositories.rs index 1df4f3233..c7008984e 100644 --- a/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta1/imagerepositories.rs +++ b/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta1/imagerepositories.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta1/imagerepositories.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta1/imagerepositories.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ use self::prelude::*; /// ImageRepositorySpec defines the parameters for scanning an image /// repository, e.g., `fluxcd/flux`. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "image.toolkit.fluxcd.io", version = "v1beta1", kind = "ImageRepository", plural = "imagerepositories")] #[kube(namespaced)] #[kube(status = "ImageRepositoryStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ImageRepositorySpec { /// AccessFrom defines an ACL for allowing cross-namespace references @@ -72,7 +73,7 @@ pub struct ImageRepositorySpec { /// AccessFrom defines an ACL for allowing cross-namespace references /// to the ImageRepository object based on the caller's namespace labels. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageRepositoryAccessFrom { /// NamespaceSelectors is the list of namespace selectors to which this ACL applies. /// Items in this list are evaluated using a logical OR operation. @@ -82,7 +83,7 @@ pub struct ImageRepositoryAccessFrom { /// NamespaceSelector selects the namespaces to which this ACL applies. /// An empty map of MatchLabels matches all namespaces in a cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageRepositoryAccessFromNamespaceSelectors { /// MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels /// map is equivalent to an element of matchExpressions, whose key field is "key", the @@ -104,7 +105,7 @@ pub struct ImageRepositoryAccessFromNamespaceSelectors { /// registry. The client cert and key are useful if you are /// authenticating with a certificate; the CA cert is useful if /// you are using a self-signed server certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageRepositoryCertSecretRef { /// Name of the referent. pub name: String, @@ -114,14 +115,14 @@ pub struct ImageRepositoryCertSecretRef { /// credentials to use for the image registry. The secret should be /// created with `kubectl create secret docker-registry`, or the /// equivalent. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageRepositorySecretRef { /// Name of the referent. pub name: String, } /// ImageRepositoryStatus defines the observed state of ImageRepository -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageRepositoryStatus { /// CanonicalName is the name of the image repository with all the /// implied bits made explicit; e.g., `docker.io/library/alpine` @@ -144,7 +145,7 @@ pub struct ImageRepositoryStatus { } /// LastScanResult contains the number of fetched tags. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageRepositoryStatusLastScanResult { #[serde(default, skip_serializing_if = "Option::is_none", rename = "scanTime")] pub scan_time: Option, diff --git a/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta1/imageupdateautomations.rs b/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta1/imageupdateautomations.rs index 9f4af446d..f6726f833 100644 --- a/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta1/imageupdateautomations.rs +++ b/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta1/imageupdateautomations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/image-automation-controller/image.toolkit.fluxcd.io/v1beta1/imageupdateautomations.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/image-automation-controller/image.toolkit.fluxcd.io/v1beta1/imageupdateautomations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -45,7 +45,7 @@ pub struct ImageUpdateAutomationSpec { /// GitSpec contains all the git-specific definitions. This is /// technically optional, but in practice mandatory until there are /// other kinds of source allowed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageUpdateAutomationGit { /// Checkout gives the parameters for cloning the git repository, /// ready to make changes. If not present, the `spec.ref` field from the @@ -64,7 +64,7 @@ pub struct ImageUpdateAutomationGit { /// Checkout gives the parameters for cloning the git repository, /// ready to make changes. If not present, the `spec.ref` field from the /// referenced `GitRepository` or its default will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageUpdateAutomationGitCheckout { /// Reference gives a branch, tag or commit to clone from the Git /// repository. @@ -74,7 +74,7 @@ pub struct ImageUpdateAutomationGitCheckout { /// Reference gives a branch, tag or commit to clone from the Git /// repository. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageUpdateAutomationGitCheckoutRef { /// Branch to check out, defaults to 'master' if no other field is defined. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -102,7 +102,7 @@ pub struct ImageUpdateAutomationGitCheckoutRef { } /// Commit specifies how to commit to the git repository. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageUpdateAutomationGitCommit { /// Author gives the email and optionally the name to use as the /// author of commits. @@ -118,7 +118,7 @@ pub struct ImageUpdateAutomationGitCommit { /// Author gives the email and optionally the name to use as the /// author of commits. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageUpdateAutomationGitCommitAuthor { /// Email gives the email to provide when making a commit. pub email: String, @@ -128,7 +128,7 @@ pub struct ImageUpdateAutomationGitCommitAuthor { } /// SigningKey provides the option to sign commits with a GPG key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageUpdateAutomationGitCommitSigningKey { /// SecretRef holds the name to a secret that contains a 'git.asc' key /// corresponding to the ASCII Armored file containing the GPG signing @@ -142,7 +142,7 @@ pub struct ImageUpdateAutomationGitCommitSigningKey { /// corresponding to the ASCII Armored file containing the GPG signing /// keypair as the value. It must be in the same namespace as the /// ImageUpdateAutomation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageUpdateAutomationGitCommitSigningKeySecretRef { /// Name of the referent. pub name: String, @@ -151,7 +151,7 @@ pub struct ImageUpdateAutomationGitCommitSigningKeySecretRef { /// Push specifies how and where to push commits made by the /// automation. If missing, commits are pushed (back) to /// `.spec.checkout.branch` or its default. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageUpdateAutomationGitPush { /// Branch specifies that commits should be pushed to the branch /// named. The branch is created using `.spec.checkout.branch` as the @@ -218,7 +218,7 @@ pub enum ImageUpdateAutomationUpdateStrategy { } /// ImageUpdateAutomationStatus defines the observed state of ImageUpdateAutomation -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageUpdateAutomationStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, diff --git a/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta2/imagepolicies.rs b/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta2/imagepolicies.rs index bfc2a7229..bc6ce1fc2 100644 --- a/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta2/imagepolicies.rs +++ b/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta2/imagepolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta2/imagepolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta2/imagepolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ use self::prelude::*; /// ImagePolicySpec defines the parameters for calculating the /// ImagePolicy. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "image.toolkit.fluxcd.io", version = "v1beta2", kind = "ImagePolicy", plural = "imagepolicies")] #[kube(namespaced)] #[kube(status = "ImagePolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ImagePolicySpec { /// FilterTags enables filtering for only a subset of tags based on a set of @@ -36,7 +37,7 @@ pub struct ImagePolicySpec { /// FilterTags enables filtering for only a subset of tags based on a set of /// rules. If no rules are provided, all the tags from the repository will be /// ordered and compared. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImagePolicyFilterTags { /// Extract allows a capture group to be extracted from the specified regular /// expression pattern, useful before tag evaluation. @@ -50,7 +51,7 @@ pub struct ImagePolicyFilterTags { /// ImageRepositoryRef points at the object specifying the image /// being scanned -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImagePolicyImageRepositoryRef { /// Name of the referent. pub name: String, @@ -61,7 +62,7 @@ pub struct ImagePolicyImageRepositoryRef { /// Policy gives the particulars of the policy to be followed in /// selecting the most recent image -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImagePolicyPolicy { /// Alphabetical set of rules to use for alphabetical ordering of the tags. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -76,7 +77,7 @@ pub struct ImagePolicyPolicy { } /// Alphabetical set of rules to use for alphabetical ordering of the tags. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImagePolicyPolicyAlphabetical { /// Order specifies the sorting order of the tags. Given the letters of the /// alphabet as tags, ascending order would select Z, and descending order @@ -95,7 +96,7 @@ pub enum ImagePolicyPolicyAlphabeticalOrder { } /// Numerical set of rules to use for numerical ordering of the tags. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImagePolicyPolicyNumerical { /// Order specifies the sorting order of the tags. Given the integer values /// from 0 to 9 as tags, ascending order would select 9, and descending order @@ -115,7 +116,7 @@ pub enum ImagePolicyPolicyNumericalOrder { /// SemVer gives a semantic version range to check against the tags /// available. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImagePolicyPolicySemver { /// Range gives a semver range for the image tag; the highest /// version within the range that's a tag yields the latest image. @@ -123,7 +124,7 @@ pub struct ImagePolicyPolicySemver { } /// ImagePolicyStatus defines the observed state of ImagePolicy -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImagePolicyStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, diff --git a/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta2/imagerepositories.rs b/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta2/imagerepositories.rs index 3133195a7..c2ceb5c3a 100644 --- a/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta2/imagerepositories.rs +++ b/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta2/imagerepositories.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta2/imagerepositories.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/image-reflector-controller/image.toolkit.fluxcd.io/v1beta2/imagerepositories.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ use self::prelude::*; /// ImageRepositorySpec defines the parameters for scanning an image /// repository, e.g., `fluxcd/flux`. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "image.toolkit.fluxcd.io", version = "v1beta2", kind = "ImageRepository", plural = "imagerepositories")] #[kube(namespaced)] #[kube(status = "ImageRepositoryStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ImageRepositorySpec { /// AccessFrom defines an ACL for allowing cross-namespace references @@ -84,7 +85,7 @@ pub struct ImageRepositorySpec { /// AccessFrom defines an ACL for allowing cross-namespace references /// to the ImageRepository object based on the caller's namespace labels. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageRepositoryAccessFrom { /// NamespaceSelectors is the list of namespace selectors to which this ACL applies. /// Items in this list are evaluated using a logical OR operation. @@ -94,7 +95,7 @@ pub struct ImageRepositoryAccessFrom { /// NamespaceSelector selects the namespaces to which this ACL applies. /// An empty map of MatchLabels matches all namespaces in a cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageRepositoryAccessFromNamespaceSelectors { /// MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels /// map is equivalent to an element of matchExpressions, whose key field is "key", the @@ -121,7 +122,7 @@ pub struct ImageRepositoryAccessFromNamespaceSelectors { /// /// Note: Support for the `caFile`, `certFile` and `keyFile` keys has /// been deprecated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageRepositoryCertSecretRef { /// Name of the referent. pub name: String, @@ -145,14 +146,14 @@ pub enum ImageRepositoryProvider { /// credentials to use for the image registry. The secret should be /// created with `kubectl create secret docker-registry`, or the /// equivalent. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageRepositorySecretRef { /// Name of the referent. pub name: String, } /// ImageRepositoryStatus defines the observed state of ImageRepository -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageRepositoryStatus { /// CanonicalName is the name of the image repository with all the /// implied bits made explicit; e.g., `docker.io/library/alpine` @@ -180,7 +181,7 @@ pub struct ImageRepositoryStatus { } /// LastScanResult contains the number of fetched tags. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageRepositoryStatusLastScanResult { #[serde(default, skip_serializing_if = "Option::is_none", rename = "latestTags")] pub latest_tags: Option>, diff --git a/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta2/imageupdateautomations.rs b/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta2/imageupdateautomations.rs index ff04d0947..d3f3d8318 100644 --- a/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta2/imageupdateautomations.rs +++ b/kube-custom-resources-rs/src/image_toolkit_fluxcd_io/v1beta2/imageupdateautomations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/image-automation-controller/image.toolkit.fluxcd.io/v1beta2/imageupdateautomations.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/image-automation-controller/image.toolkit.fluxcd.io/v1beta2/imageupdateautomations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -49,7 +49,7 @@ pub struct ImageUpdateAutomationSpec { /// GitSpec contains all the git-specific definitions. This is /// technically optional, but in practice mandatory until there are /// other kinds of source allowed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageUpdateAutomationGit { /// Checkout gives the parameters for cloning the git repository, /// ready to make changes. If not present, the `spec.ref` field from the @@ -68,7 +68,7 @@ pub struct ImageUpdateAutomationGit { /// Checkout gives the parameters for cloning the git repository, /// ready to make changes. If not present, the `spec.ref` field from the /// referenced `GitRepository` or its default will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageUpdateAutomationGitCheckout { /// Reference gives a branch, tag or commit to clone from the Git /// repository. @@ -78,7 +78,7 @@ pub struct ImageUpdateAutomationGitCheckout { /// Reference gives a branch, tag or commit to clone from the Git /// repository. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageUpdateAutomationGitCheckoutRef { /// Branch to check out, defaults to 'master' if no other field is defined. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -106,7 +106,7 @@ pub struct ImageUpdateAutomationGitCheckoutRef { } /// Commit specifies how to commit to the git repository. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageUpdateAutomationGitCommit { /// Author gives the email and optionally the name to use as the /// author of commits. @@ -122,7 +122,7 @@ pub struct ImageUpdateAutomationGitCommit { /// Author gives the email and optionally the name to use as the /// author of commits. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageUpdateAutomationGitCommitAuthor { /// Email gives the email to provide when making a commit. pub email: String, @@ -132,7 +132,7 @@ pub struct ImageUpdateAutomationGitCommitAuthor { } /// SigningKey provides the option to sign commits with a GPG key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageUpdateAutomationGitCommitSigningKey { /// SecretRef holds the name to a secret that contains a 'git.asc' key /// corresponding to the ASCII Armored file containing the GPG signing @@ -146,7 +146,7 @@ pub struct ImageUpdateAutomationGitCommitSigningKey { /// corresponding to the ASCII Armored file containing the GPG signing /// keypair as the value. It must be in the same namespace as the /// ImageUpdateAutomation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageUpdateAutomationGitCommitSigningKeySecretRef { /// Name of the referent. pub name: String, @@ -155,7 +155,7 @@ pub struct ImageUpdateAutomationGitCommitSigningKeySecretRef { /// Push specifies how and where to push commits made by the /// automation. If missing, commits are pushed (back) to /// `.spec.checkout.branch` or its default. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageUpdateAutomationGitPush { /// Branch specifies that commits should be pushed to the branch /// named. The branch is created using `.spec.checkout.branch` as the @@ -178,7 +178,7 @@ pub struct ImageUpdateAutomationGitPush { /// PolicySelector allows to filter applied policies based on labels. /// By default includes all policies in namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageUpdateAutomationPolicySelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -192,7 +192,7 @@ pub struct ImageUpdateAutomationPolicySelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageUpdateAutomationPolicySelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -253,7 +253,7 @@ pub enum ImageUpdateAutomationUpdateStrategy { } /// ImageUpdateAutomationStatus defines the observed state of ImageUpdateAutomation -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageUpdateAutomationStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, @@ -289,7 +289,7 @@ pub struct ImageUpdateAutomationStatus { /// ObservedPolicies is the list of observed ImagePolicies that were /// considered by the ImageUpdateAutomation update process. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImageUpdateAutomationStatusObservedPolicies { /// Name is the bare image's name. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomeventbridges.rs b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomeventbridges.rs index ba593816f..e2cfe8168 100644 --- a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomeventbridges.rs +++ b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomeventbridges.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Alvearie/imaging-ingestion/imaging-ingestion.alvearie.org/v1alpha1/dicomeventbridges.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Alvearie/imaging-ingestion/imaging-ingestion.alvearie.org/v1alpha1/dicomeventbridges.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomeventdriveningestions.rs b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomeventdriveningestions.rs index 19c9fc386..155b9bef8 100644 --- a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomeventdriveningestions.rs +++ b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomeventdriveningestions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Alvearie/imaging-ingestion/imaging-ingestion.alvearie.org/v1alpha1/dicomeventdriveningestions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Alvearie/imaging-ingestion/imaging-ingestion.alvearie.org/v1alpha1/dicomeventdriveningestions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicominstancebindings.rs b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicominstancebindings.rs index eac93f825..80247caa7 100644 --- a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicominstancebindings.rs +++ b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicominstancebindings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Alvearie/imaging-ingestion/imaging-ingestion.alvearie.org/v1alpha1/dicominstancebindings.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Alvearie/imaging-ingestion/imaging-ingestion.alvearie.org/v1alpha1/dicominstancebindings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomstudybindings.rs b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomstudybindings.rs index 7aba435e4..90103aa37 100644 --- a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomstudybindings.rs +++ b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomstudybindings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Alvearie/imaging-ingestion/imaging-ingestion.alvearie.org/v1alpha1/dicomstudybindings.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Alvearie/imaging-ingestion/imaging-ingestion.alvearie.org/v1alpha1/dicomstudybindings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomwebingestionservices.rs b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomwebingestionservices.rs index 928eb16fb..ff69862d3 100644 --- a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomwebingestionservices.rs +++ b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dicomwebingestionservices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Alvearie/imaging-ingestion/imaging-ingestion.alvearie.org/v1alpha1/dicomwebingestionservices.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Alvearie/imaging-ingestion/imaging-ingestion.alvearie.org/v1alpha1/dicomwebingestionservices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dimseingestionservices.rs b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dimseingestionservices.rs index c092889e6..06ba5bbe5 100644 --- a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dimseingestionservices.rs +++ b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dimseingestionservices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Alvearie/imaging-ingestion/imaging-ingestion.alvearie.org/v1alpha1/dimseingestionservices.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Alvearie/imaging-ingestion/imaging-ingestion.alvearie.org/v1alpha1/dimseingestionservices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dimseproxies.rs b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dimseproxies.rs index 5602acd93..181a6ee30 100644 --- a/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dimseproxies.rs +++ b/kube-custom-resources-rs/src/imaging_ingestion_alvearie_org/v1alpha1/dimseproxies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Alvearie/imaging-ingestion/imaging-ingestion.alvearie.org/v1alpha1/dimseproxies.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Alvearie/imaging-ingestion/imaging-ingestion.alvearie.org/v1alpha1/dimseproxies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/inference_kubedl_io/v1alpha1/elasticbatchjobs.rs b/kube-custom-resources-rs/src/inference_kubedl_io/v1alpha1/elasticbatchjobs.rs index 7bb42b6cc..fb68cee78 100644 --- a/kube-custom-resources-rs/src/inference_kubedl_io/v1alpha1/elasticbatchjobs.rs +++ b/kube-custom-resources-rs/src/inference_kubedl_io/v1alpha1/elasticbatchjobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/inference.kubedl.io/v1alpha1/elasticbatchjobs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/inference.kubedl.io/v1alpha1/elasticbatchjobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infinispan_org/v1/infinispans.rs b/kube-custom-resources-rs/src/infinispan_org/v1/infinispans.rs index 91b19f85a..c26ecb152 100644 --- a/kube-custom-resources-rs/src/infinispan_org/v1/infinispans.rs +++ b/kube-custom-resources-rs/src/infinispan_org/v1/infinispans.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/infinispan/infinispan-operator/infinispan.org/v1/infinispans.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/infinispan/infinispan-operator/infinispan.org/v1/infinispans.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// InfinispanSpec defines the desired state of Infinispan -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "infinispan.org", version = "v1", kind = "Infinispan", plural = "infinispans")] #[kube(namespaced)] #[kube(status = "InfinispanStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct InfinispanSpec { /// Deprecated. Use scheduling.affinity instead @@ -65,7 +66,7 @@ pub struct InfinispanSpec { } /// Deprecated. Use scheduling.affinity instead -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -79,7 +80,7 @@ pub struct InfinispanAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -90,7 +91,7 @@ pub struct InfinispanAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: InfinispanAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -99,7 +100,7 @@ pub struct InfinispanAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringE } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -110,7 +111,7 @@ pub struct InfinispanAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringE } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -122,7 +123,7 @@ pub struct InfinispanAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringE } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -134,7 +135,7 @@ pub struct InfinispanAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringE } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -142,7 +143,7 @@ pub struct InfinispanAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -153,7 +154,7 @@ pub struct InfinispanAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -165,7 +166,7 @@ pub struct InfinispanAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -177,7 +178,7 @@ pub struct InfinispanAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringEx } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -188,7 +189,7 @@ pub struct InfinispanAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -198,7 +199,7 @@ pub struct InfinispanAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -215,7 +216,7 @@ pub struct InfinispanAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -226,7 +227,7 @@ pub struct InfinispanAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -238,7 +239,7 @@ pub struct InfinispanAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -249,7 +250,7 @@ pub struct InfinispanAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -261,7 +262,7 @@ pub struct InfinispanAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -278,7 +279,7 @@ pub struct InfinispanAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -289,7 +290,7 @@ pub struct InfinispanAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -301,7 +302,7 @@ pub struct InfinispanAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -312,7 +313,7 @@ pub struct InfinispanAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -324,7 +325,7 @@ pub struct InfinispanAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExe } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -335,7 +336,7 @@ pub struct InfinispanAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -345,7 +346,7 @@ pub struct InfinispanAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -362,7 +363,7 @@ pub struct InfinispanAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -373,7 +374,7 @@ pub struct InfinispanAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -385,7 +386,7 @@ pub struct InfinispanAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -396,7 +397,7 @@ pub struct InfinispanAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -408,7 +409,7 @@ pub struct InfinispanAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -425,7 +426,7 @@ pub struct InfinispanAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDurin } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -436,7 +437,7 @@ pub struct InfinispanAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDurin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -448,7 +449,7 @@ pub struct InfinispanAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDurin } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -459,7 +460,7 @@ pub struct InfinispanAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDurin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -471,7 +472,7 @@ pub struct InfinispanAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDurin } /// Autoscale describe autoscaling configuration for the cluster -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanAutoscale { #[serde(default, skip_serializing_if = "Option::is_none")] pub disabled: Option, @@ -486,7 +487,7 @@ pub struct InfinispanAutoscale { } /// Deprecated. Has no effect starting with Infinispan 15.0.0 servers -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanCloudEvents { /// Acks configuration for the producer ack-value #[serde(default, skip_serializing_if = "Option::is_none")] @@ -499,7 +500,7 @@ pub struct InfinispanCloudEvents { pub cache_entries_topic: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanConfigListener { #[serde(default, skip_serializing_if = "Option::is_none")] pub cpu: Option, @@ -514,7 +515,7 @@ pub struct InfinispanConfigListener { } /// ConfigListener logging configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanConfigListenerLogging { /// The logging level to be used by the ConfigListener pod #[serde(default, skip_serializing_if = "Option::is_none")] @@ -533,7 +534,7 @@ pub enum InfinispanConfigListenerLoggingLevel { } /// InfinispanContainerSpec specify resource requirements per container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanContainer { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cliExtraJvmOpts")] pub cli_extra_jvm_opts: Option, @@ -548,7 +549,7 @@ pub struct InfinispanContainer { } /// External dependencies needed by the Infinispan cluster -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanDependencies { #[serde(default, skip_serializing_if = "Option::is_none")] pub artifacts: Option>, @@ -557,7 +558,7 @@ pub struct InfinispanDependencies { pub volume_claim_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanDependenciesArtifacts { /// Checksum that you can use to verify downloaded files. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -608,20 +609,20 @@ pub enum InfinispanExposeType { Route, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanJmx { /// If true, a JMX endpoint is exposed on the admin service #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanLogging { #[serde(default, skip_serializing_if = "Option::is_none")] pub categories: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanScheduling { #[serde(default, skip_serializing_if = "Option::is_none", rename = "PriorityClassName")] pub priority_class_name: Option, @@ -631,7 +632,7 @@ pub struct InfinispanScheduling { } /// Affinity is a group of affinity scheduling rules. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -645,7 +646,7 @@ pub struct InfinispanSchedulingAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -656,7 +657,7 @@ pub struct InfinispanSchedulingAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: InfinispanSchedulingAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -665,7 +666,7 @@ pub struct InfinispanSchedulingAffinityNodeAffinityPreferredDuringSchedulingIgno } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -676,7 +677,7 @@ pub struct InfinispanSchedulingAffinityNodeAffinityPreferredDuringSchedulingIgno } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -688,7 +689,7 @@ pub struct InfinispanSchedulingAffinityNodeAffinityPreferredDuringSchedulingIgno } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -700,7 +701,7 @@ pub struct InfinispanSchedulingAffinityNodeAffinityPreferredDuringSchedulingIgno } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -708,7 +709,7 @@ pub struct InfinispanSchedulingAffinityNodeAffinityRequiredDuringSchedulingIgnor } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -719,7 +720,7 @@ pub struct InfinispanSchedulingAffinityNodeAffinityRequiredDuringSchedulingIgnor } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -731,7 +732,7 @@ pub struct InfinispanSchedulingAffinityNodeAffinityRequiredDuringSchedulingIgnor } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -743,7 +744,7 @@ pub struct InfinispanSchedulingAffinityNodeAffinityRequiredDuringSchedulingIgnor } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -754,7 +755,7 @@ pub struct InfinispanSchedulingAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -764,7 +765,7 @@ pub struct InfinispanSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnor } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -781,7 +782,7 @@ pub struct InfinispanSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnor } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -792,7 +793,7 @@ pub struct InfinispanSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnor } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -804,7 +805,7 @@ pub struct InfinispanSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnor } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -815,7 +816,7 @@ pub struct InfinispanSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnor } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -827,7 +828,7 @@ pub struct InfinispanSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnor } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -844,7 +845,7 @@ pub struct InfinispanSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnore } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -855,7 +856,7 @@ pub struct InfinispanSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnore } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -867,7 +868,7 @@ pub struct InfinispanSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnore } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -878,7 +879,7 @@ pub struct InfinispanSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnore } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -890,7 +891,7 @@ pub struct InfinispanSchedulingAffinityPodAffinityRequiredDuringSchedulingIgnore } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -901,7 +902,7 @@ pub struct InfinispanSchedulingAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -911,7 +912,7 @@ pub struct InfinispanSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingI } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -928,7 +929,7 @@ pub struct InfinispanSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingI } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -939,7 +940,7 @@ pub struct InfinispanSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingI } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -951,7 +952,7 @@ pub struct InfinispanSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingI } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -962,7 +963,7 @@ pub struct InfinispanSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingI } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -974,7 +975,7 @@ pub struct InfinispanSchedulingAffinityPodAntiAffinityPreferredDuringSchedulingI } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -991,7 +992,7 @@ pub struct InfinispanSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIg } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1002,7 +1003,7 @@ pub struct InfinispanSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIg } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1014,7 +1015,7 @@ pub struct InfinispanSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIg } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1025,7 +1026,7 @@ pub struct InfinispanSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIg } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1037,7 +1038,7 @@ pub struct InfinispanSchedulingAffinityPodAntiAffinityRequiredDuringSchedulingIg } /// InfinispanSecurity info for the user application connection -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSecurity { #[serde(default, skip_serializing_if = "Option::is_none")] pub authorization: Option, @@ -1055,7 +1056,7 @@ pub struct InfinispanSecurity { pub endpoint_secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSecurityAuthorization { #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, @@ -1063,14 +1064,14 @@ pub struct InfinispanSecurityAuthorization { pub roles: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSecurityAuthorizationRoles { pub name: String, pub permissions: Vec, } /// EndpointEncryption configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanSecurityEndpointEncryption { /// The secret that contains TLS certificates #[serde(default, skip_serializing_if = "Option::is_none", rename = "certSecretName")] @@ -1109,7 +1110,7 @@ pub enum InfinispanSecurityEndpointEncryptionType { } /// InfinispanServiceSpec specify configuration for specific service -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanService { /// InfinispanServiceContainerSpec resource requirements specific for service #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1125,7 +1126,7 @@ pub struct InfinispanService { } /// InfinispanServiceContainerSpec resource requirements specific for service -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanServiceContainer { /// Enable/disable container ephemeral storage #[serde(default, skip_serializing_if = "Option::is_none", rename = "ephemeralStorage")] @@ -1148,7 +1149,7 @@ pub struct InfinispanServiceContainer { } /// Periodic probe of container liveness. Container will be restarted if the probe fails. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanServiceContainerLivenessProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -1168,7 +1169,7 @@ pub struct InfinispanServiceContainerLivenessProbe { } /// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanServiceContainerReadinessProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -1188,7 +1189,7 @@ pub struct InfinispanServiceContainerReadinessProbe { } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanServiceContainerStartupProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -1232,7 +1233,7 @@ pub struct InfinispanServiceSitesLocal { } /// DiscoverySiteSpec configures the corss-site replication discovery -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanServiceSitesLocalDiscovery { /// CPU resource request for Gossip Router if enabled #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1255,7 +1256,7 @@ pub struct InfinispanServiceSitesLocalDiscovery { } /// Configures the Gossip Router heartbeats to keep the connection open -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanServiceSitesLocalDiscoveryHeartbeats { /// Enables the Gossip Router heartbeats #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1276,7 +1277,7 @@ pub enum InfinispanServiceSitesLocalDiscoveryType { } /// EncryptionSiteSpec enables TLS for cross-site replication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanServiceSitesLocalEncryption { /// TLSProtocol specifies the TLS protocol #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1302,7 +1303,7 @@ pub enum InfinispanServiceSitesLocalEncryptionProtocol { } /// CrossSiteKeyStore keystore configuration for cross-site replication with TLS -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanServiceSitesLocalEncryptionRouterKeyStore { #[serde(default, skip_serializing_if = "Option::is_none")] pub alias: Option, @@ -1313,7 +1314,7 @@ pub struct InfinispanServiceSitesLocalEncryptionRouterKeyStore { } /// CrossSiteKeyStore keystore configuration for cross-site replication with TLS -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanServiceSitesLocalEncryptionTransportKeyStore { #[serde(default, skip_serializing_if = "Option::is_none")] pub alias: Option, @@ -1324,7 +1325,7 @@ pub struct InfinispanServiceSitesLocalEncryptionTransportKeyStore { } /// CrossSiteTrustStore truststore configuration for cross-site replication with TLS -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanServiceSitesLocalEncryptionTrustStore { #[serde(default, skip_serializing_if = "Option::is_none")] pub filename: Option, @@ -1359,7 +1360,7 @@ pub enum InfinispanServiceSitesLocalExposeType { Route, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanServiceSitesLocations { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterName")] pub cluster_name: Option, @@ -1387,14 +1388,14 @@ pub enum InfinispanServiceType { } /// Strategy to use when doing upgrades -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanUpgrades { #[serde(rename = "type")] pub r#type: String, } /// InfinispanStatus defines the observed state of Infinispan -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, @@ -1424,7 +1425,7 @@ pub struct InfinispanStatus { } /// InfinispanCondition define a condition of the cluster -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanStatusConditions { /// Human-readable message indicating details about last transition. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1436,7 +1437,7 @@ pub struct InfinispanStatusConditions { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanStatusHotRodRollingUpgradeStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "SourceStatefulSetName")] pub source_stateful_set_name: Option, @@ -1449,7 +1450,7 @@ pub struct InfinispanStatusHotRodRollingUpgradeStatus { } /// The Operand status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanStatusOperand { /// Whether the Operand has been deprecated and is subject for removal in a subsequent release #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1466,7 +1467,7 @@ pub struct InfinispanStatusOperand { } /// The Operator status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanStatusOperator { /// The name of the pod reconciling this resource #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1474,7 +1475,7 @@ pub struct InfinispanStatusOperator { } /// The Pod's currently in the cluster -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanStatusPodStatus { /// Deployments are ready to serve requests #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1488,7 +1489,7 @@ pub struct InfinispanStatusPodStatus { } /// InfinispanSecurity info for the user application connection -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanStatusSecurity { #[serde(default, skip_serializing_if = "Option::is_none")] pub authorization: Option, @@ -1506,7 +1507,7 @@ pub struct InfinispanStatusSecurity { pub endpoint_secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanStatusSecurityAuthorization { #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, @@ -1514,14 +1515,14 @@ pub struct InfinispanStatusSecurityAuthorization { pub roles: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanStatusSecurityAuthorizationRoles { pub name: String, pub permissions: Vec, } /// EndpointEncryption configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InfinispanStatusSecurityEndpointEncryption { /// The secret that contains TLS certificates #[serde(default, skip_serializing_if = "Option::is_none", rename = "certSecretName")] diff --git a/kube-custom-resources-rs/src/infinispan_org/v2alpha1/backups.rs b/kube-custom-resources-rs/src/infinispan_org/v2alpha1/backups.rs index 0b7e001f1..a05cb935f 100644 --- a/kube-custom-resources-rs/src/infinispan_org/v2alpha1/backups.rs +++ b/kube-custom-resources-rs/src/infinispan_org/v2alpha1/backups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/infinispan/infinispan-operator/infinispan.org/v2alpha1/backups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/infinispan/infinispan-operator/infinispan.org/v2alpha1/backups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infinispan_org/v2alpha1/batches.rs b/kube-custom-resources-rs/src/infinispan_org/v2alpha1/batches.rs index 47f742a2b..6879c5693 100644 --- a/kube-custom-resources-rs/src/infinispan_org/v2alpha1/batches.rs +++ b/kube-custom-resources-rs/src/infinispan_org/v2alpha1/batches.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/infinispan/infinispan-operator/infinispan.org/v2alpha1/batches.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/infinispan/infinispan-operator/infinispan.org/v2alpha1/batches.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infinispan_org/v2alpha1/caches.rs b/kube-custom-resources-rs/src/infinispan_org/v2alpha1/caches.rs index 92bede9c5..402049ce5 100644 --- a/kube-custom-resources-rs/src/infinispan_org/v2alpha1/caches.rs +++ b/kube-custom-resources-rs/src/infinispan_org/v2alpha1/caches.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/infinispan/infinispan-operator/infinispan.org/v2alpha1/caches.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/infinispan/infinispan-operator/infinispan.org/v2alpha1/caches.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infinispan_org/v2alpha1/restores.rs b/kube-custom-resources-rs/src/infinispan_org/v2alpha1/restores.rs index 33567f4e0..9093835fd 100644 --- a/kube-custom-resources-rs/src/infinispan_org/v2alpha1/restores.rs +++ b/kube-custom-resources-rs/src/infinispan_org/v2alpha1/restores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/infinispan/infinispan-operator/infinispan.org/v2alpha1/restores.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/infinispan/infinispan-operator/infinispan.org/v2alpha1/restores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infra_contrib_fluxcd_io/v1alpha1/terraforms.rs b/kube-custom-resources-rs/src/infra_contrib_fluxcd_io/v1alpha1/terraforms.rs index 870e1db18..8209e4d81 100644 --- a/kube-custom-resources-rs/src/infra_contrib_fluxcd_io/v1alpha1/terraforms.rs +++ b/kube-custom-resources-rs/src/infra_contrib_fluxcd_io/v1alpha1/terraforms.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/weaveworks/tf-controller/infra.contrib.fluxcd.io/v1alpha1/terraforms.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/weaveworks/tf-controller/infra.contrib.fluxcd.io/v1alpha1/terraforms.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -123,7 +123,7 @@ pub struct TerraformSpec { } /// BackendConfigSpec is for specifying configuration for Terraform's Kubernetes backend -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformBackendConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configPath")] pub config_path: Option, @@ -161,7 +161,7 @@ pub enum TerraformBackendConfigsFromKind { } /// SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformCliConfigSecretRef { /// name is unique within a namespace to reference a secret resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -171,7 +171,7 @@ pub struct TerraformCliConfigSecretRef { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformCloud { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostname: Option, @@ -181,7 +181,7 @@ pub struct TerraformCloud { pub workspaces: TerraformCloudWorkspaces, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformCloudWorkspaces { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -190,7 +190,7 @@ pub struct TerraformCloudWorkspaces { } /// NamespacedObjectReference contains enough information to locate the referenced Kubernetes resource object in any namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformDependsOn { /// Name of the referent. pub name: String, @@ -219,7 +219,7 @@ pub enum TerraformFileMappingsLocation { } /// Reference to a Secret that contains the file content -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformFileMappingsSecretRef { /// Key in the Secret, when not specified an implementation-specific default key is used. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -256,14 +256,14 @@ pub enum TerraformHealthChecksType { Http, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformReadInputsFromSecrets { #[serde(rename = "as")] pub r#as: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -271,7 +271,7 @@ pub struct TerraformRunnerPodTemplate { pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateMetadata { /// Annotations to add to the runner pod #[serde(default, skip_serializing_if = "Option::is_none")] @@ -281,7 +281,7 @@ pub struct TerraformRunnerPodTemplateMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpec { /// Set the Affinity for the Runner Pod #[serde(default, skip_serializing_if = "Option::is_none")] @@ -313,7 +313,7 @@ pub struct TerraformRunnerPodTemplateSpec { } /// Set the Affinity for the Runner Pod -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -327,7 +327,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -338,7 +338,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: TerraformRunnerPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -347,7 +347,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityPreferredDuringSche } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -358,7 +358,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityPreferredDuringSche } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -370,7 +370,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityPreferredDuringSche } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -382,7 +382,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityPreferredDuringSche } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -390,7 +390,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityRequiredDuringSched } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -401,7 +401,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityRequiredDuringSched } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -413,7 +413,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityRequiredDuringSched } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -425,7 +425,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityRequiredDuringSched } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -436,7 +436,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -446,7 +446,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityPreferredDuringSched } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -463,7 +463,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityPreferredDuringSched } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -474,7 +474,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityPreferredDuringSched } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -486,7 +486,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityPreferredDuringSched } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -497,7 +497,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityPreferredDuringSched } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -509,7 +509,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityPreferredDuringSched } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -526,7 +526,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityRequiredDuringSchedu } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -537,7 +537,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityRequiredDuringSchedu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -549,7 +549,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityRequiredDuringSchedu } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -560,7 +560,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityRequiredDuringSchedu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -572,7 +572,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityRequiredDuringSchedu } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -583,7 +583,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -593,7 +593,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityPreferredDuringS } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -610,7 +610,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityPreferredDuringS } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -621,7 +621,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityPreferredDuringS } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -633,7 +633,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityPreferredDuringS } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -644,7 +644,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityPreferredDuringS } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -656,7 +656,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityPreferredDuringS } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -673,7 +673,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSc } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -684,7 +684,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSc } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -696,7 +696,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSc } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -707,7 +707,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSc } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -719,7 +719,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSc } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -732,7 +732,7 @@ pub struct TerraformRunnerPodTemplateSpecEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -749,7 +749,7 @@ pub struct TerraformRunnerPodTemplateSpecEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -762,7 +762,7 @@ pub struct TerraformRunnerPodTemplateSpecEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -773,7 +773,7 @@ pub struct TerraformRunnerPodTemplateSpecEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -786,7 +786,7 @@ pub struct TerraformRunnerPodTemplateSpecEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -799,7 +799,7 @@ pub struct TerraformRunnerPodTemplateSpecEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -813,7 +813,7 @@ pub struct TerraformRunnerPodTemplateSpecEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -824,7 +824,7 @@ pub struct TerraformRunnerPodTemplateSpecEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -835,7 +835,7 @@ pub struct TerraformRunnerPodTemplateSpecEnvFromSecretRef { } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainers { /// Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -908,7 +908,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -921,7 +921,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -938,7 +938,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -951,7 +951,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersEnvValueFromConfigMapKeyR } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -962,7 +962,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -975,7 +975,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersEnvValueFromResourceField } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -988,7 +988,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersEnvValueFromSecretKeyRef } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -1002,7 +1002,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1013,7 +1013,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1024,7 +1024,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersEnvFromSecretRef { } /// Actions that the management system should take in response to container lifecycle events. Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -1035,7 +1035,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1049,7 +1049,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1057,7 +1057,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1076,7 +1076,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePostStartHttpGet } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1085,7 +1085,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePostStartHttpGet } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1095,7 +1095,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePostStartTcpSock } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1109,7 +1109,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1117,7 +1117,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1136,7 +1136,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1145,7 +1145,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePreStopHttpGetHt } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1155,7 +1155,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePreStopTcpSocket } /// Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1190,7 +1190,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1198,7 +1198,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1209,7 +1209,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1228,7 +1228,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1237,7 +1237,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLivenessProbeHttpGetHttpH } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1247,7 +1247,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -1267,7 +1267,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersPorts { } /// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1302,7 +1302,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1310,7 +1310,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1321,7 +1321,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1340,7 +1340,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1349,7 +1349,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersReadinessProbeHttpGetHttp } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1359,7 +1359,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersReadinessProbeTcpSocket { } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. #[serde(rename = "resourceName")] @@ -1370,7 +1370,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersResizePolicy { } /// Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1386,14 +1386,14 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -1431,7 +1431,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1442,7 +1442,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersSecurityContextCapabiliti } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1459,7 +1459,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersSecurityContextSeLinuxOpt } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -1471,7 +1471,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersSecurityContextSeccompPro } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -1488,7 +1488,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersSecurityContextWindowsOpt } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1523,7 +1523,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1531,7 +1531,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1542,7 +1542,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1561,7 +1561,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1570,7 +1570,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersStartupProbeHttpGetHttpHe } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1580,7 +1580,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -1590,7 +1590,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -1612,7 +1612,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersVolumeMounts { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1632,7 +1632,7 @@ pub struct TerraformRunnerPodTemplateSpecTolerations { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -1654,7 +1654,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -1752,7 +1752,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1769,7 +1769,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -1792,7 +1792,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -1806,7 +1806,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -1828,7 +1828,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1836,7 +1836,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1853,7 +1853,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1861,7 +1861,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1878,7 +1878,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -1890,7 +1890,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -1909,7 +1909,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1917,7 +1917,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1928,7 +1928,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -1944,7 +1944,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1955,7 +1955,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1968,7 +1968,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesDownwardApiItemsResourceFieldRef } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1983,7 +1983,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -1997,7 +1997,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2007,12 +2007,12 @@ pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -2041,7 +2041,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2053,7 +2053,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2068,7 +2068,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2084,14 +2084,14 @@ pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2102,7 +2102,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2114,7 +2114,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2134,7 +2134,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -2153,7 +2153,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2161,7 +2161,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -2172,7 +2172,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2189,7 +2189,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2202,7 +2202,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -2214,7 +2214,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -2224,7 +2224,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -2260,7 +2260,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2268,7 +2268,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -2280,7 +2280,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -2291,7 +2291,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2302,7 +2302,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2316,7 +2316,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2327,7 +2327,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2344,7 +2344,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2358,7 +2358,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -2370,7 +2370,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2378,7 +2378,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -2394,7 +2394,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesDownwardApiItems } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2405,7 +2405,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesDownwardApiItems } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2418,7 +2418,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesDownwardApiItems } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2432,7 +2432,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -2444,7 +2444,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2457,7 +2457,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesServiceAccountTo } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2478,7 +2478,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2505,7 +2505,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2513,7 +2513,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2546,7 +2546,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2554,7 +2554,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2571,7 +2571,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesSecretItems { /// key is the key to project. pub key: String, @@ -2583,7 +2583,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2603,7 +2603,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2611,7 +2611,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2663,7 +2663,7 @@ pub enum TerraformStoreReadablePlan { } /// TFStateSpec allows the user to set ForceUnlock -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformTfstate { /// ForceUnlock a Terraform state if it has become locked for any reason. Defaults to `no`. /// This is an Enum and has the expected values of: @@ -2689,7 +2689,7 @@ pub enum TerraformTfstateForceUnlock { Auto, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformVars { /// Name is the name of the variable pub name: String, @@ -2701,7 +2701,7 @@ pub struct TerraformVars { } /// EnvVarSource represents a source for the value of an EnvVar. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformVarsValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -2718,7 +2718,7 @@ pub struct TerraformVarsValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformVarsValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -2731,7 +2731,7 @@ pub struct TerraformVarsValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformVarsValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2742,7 +2742,7 @@ pub struct TerraformVarsValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformVarsValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2755,7 +2755,7 @@ pub struct TerraformVarsValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformVarsValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2810,7 +2810,7 @@ pub enum TerraformWebhooksStage { } /// A list of target secrets for the outputs to be written as. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformWriteOutputsToSecret { /// Name is the name of the Secret to be written pub name: String, @@ -2820,7 +2820,7 @@ pub struct TerraformWriteOutputsToSecret { } /// TerraformStatus defines the observed state of Terraform -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "availableOutputs")] pub available_outputs: Option>, @@ -2858,14 +2858,14 @@ pub struct TerraformStatus { } /// Inventory contains the list of Terraform resource object references that have been successfully applied. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformStatusInventory { /// Entries of Kubernetes resource object references. pub entries: Vec, } /// ResourceRef contains the information necessary to locate a resource within a cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformStatusInventoryEntries { /// ID is the resource identifier. This is cloud-specific. For example, ARN is an ID on AWS. pub id: String, @@ -2876,7 +2876,7 @@ pub struct TerraformStatusInventoryEntries { } /// LockStatus defines the observed state of a Terraform State Lock -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformStatusLock { #[serde(default, skip_serializing_if = "Option::is_none", rename = "lastApplied")] pub last_applied: Option, @@ -2885,7 +2885,7 @@ pub struct TerraformStatusLock { pub pending: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformStatusPlan { #[serde(default, skip_serializing_if = "Option::is_none", rename = "isDestroyPlan")] pub is_destroy_plan: Option, diff --git a/kube-custom-resources-rs/src/infra_contrib_fluxcd_io/v1alpha2/terraforms.rs b/kube-custom-resources-rs/src/infra_contrib_fluxcd_io/v1alpha2/terraforms.rs index 3670de6c2..8402bb760 100644 --- a/kube-custom-resources-rs/src/infra_contrib_fluxcd_io/v1alpha2/terraforms.rs +++ b/kube-custom-resources-rs/src/infra_contrib_fluxcd_io/v1alpha2/terraforms.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/weaveworks/tf-controller/infra.contrib.fluxcd.io/v1alpha2/terraforms.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/weaveworks/tf-controller/infra.contrib.fluxcd.io/v1alpha2/terraforms.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -135,7 +135,7 @@ pub struct TerraformSpec { } /// BackendConfigSpec is for specifying configuration for Terraform's Kubernetes backend -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformBackendConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configPath")] pub config_path: Option, @@ -173,7 +173,7 @@ pub enum TerraformBackendConfigsFromKind { } /// BranchPlanner configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformBranchPlanner { /// EnablePathScope specifies if the Branch Planner should or shouldn't check if a Pull Request has changes under `.spec.path`. If enabled extra resources will be created only if there are any changes in terraform files. #[serde(default, skip_serializing_if = "Option::is_none", rename = "enablePathScope")] @@ -181,7 +181,7 @@ pub struct TerraformBranchPlanner { } /// SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformCliConfigSecretRef { /// name is unique within a namespace to reference a secret resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -191,7 +191,7 @@ pub struct TerraformCliConfigSecretRef { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformCloud { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostname: Option, @@ -201,7 +201,7 @@ pub struct TerraformCloud { pub workspaces: TerraformCloudWorkspaces, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformCloudWorkspaces { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -210,7 +210,7 @@ pub struct TerraformCloudWorkspaces { } /// NamespacedObjectReference contains enough information to locate the referenced Kubernetes resource object in any namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformDependsOn { /// Name of the referent. pub name: String, @@ -239,7 +239,7 @@ pub enum TerraformFileMappingsLocation { } /// Reference to a Secret that contains the file content -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformFileMappingsSecretRef { /// Key in the Secret, when not specified an implementation-specific default key is used. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -276,7 +276,7 @@ pub enum TerraformHealthChecksType { Http, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformReadInputsFromSecrets { #[serde(rename = "as")] pub r#as: String, @@ -284,14 +284,14 @@ pub struct TerraformReadInputsFromSecrets { } /// Remediation specifies what the controller should do when reconciliation fails. The default is to not perform any action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRemediation { /// Retries is the number of retries that should be attempted on failures before bailing. Defaults to '0', a negative integer denotes unlimited retries. #[serde(default, skip_serializing_if = "Option::is_none")] pub retries: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -299,7 +299,7 @@ pub struct TerraformRunnerPodTemplate { pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateMetadata { /// Annotations to add to the runner pod #[serde(default, skip_serializing_if = "Option::is_none")] @@ -309,7 +309,7 @@ pub struct TerraformRunnerPodTemplateMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpec { /// Set the Affinity for the Runner Pod #[serde(default, skip_serializing_if = "Option::is_none")] @@ -353,7 +353,7 @@ pub struct TerraformRunnerPodTemplateSpec { } /// Set the Affinity for the Runner Pod -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -367,7 +367,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -378,7 +378,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: TerraformRunnerPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -387,7 +387,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityPreferredDuringSche } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -398,7 +398,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityPreferredDuringSche } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -410,7 +410,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityPreferredDuringSche } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -422,7 +422,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityPreferredDuringSche } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -430,7 +430,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityRequiredDuringSched } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -441,7 +441,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityRequiredDuringSched } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -453,7 +453,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityRequiredDuringSched } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -465,7 +465,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityNodeAffinityRequiredDuringSched } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -476,7 +476,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -486,7 +486,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityPreferredDuringSched } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -503,7 +503,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityPreferredDuringSched } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -514,7 +514,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityPreferredDuringSched } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -526,7 +526,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityPreferredDuringSched } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -537,7 +537,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityPreferredDuringSched } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -549,7 +549,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityPreferredDuringSched } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -566,7 +566,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityRequiredDuringSchedu } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -577,7 +577,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityRequiredDuringSchedu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -589,7 +589,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityRequiredDuringSchedu } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -600,7 +600,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityRequiredDuringSchedu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -612,7 +612,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAffinityRequiredDuringSchedu } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -623,7 +623,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -633,7 +633,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityPreferredDuringS } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -650,7 +650,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityPreferredDuringS } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -661,7 +661,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityPreferredDuringS } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -673,7 +673,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityPreferredDuringS } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -684,7 +684,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityPreferredDuringS } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -696,7 +696,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityPreferredDuringS } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -713,7 +713,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSc } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -724,7 +724,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSc } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -736,7 +736,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSc } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -747,7 +747,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSc } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -759,7 +759,7 @@ pub struct TerraformRunnerPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSc } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -772,7 +772,7 @@ pub struct TerraformRunnerPodTemplateSpecEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -789,7 +789,7 @@ pub struct TerraformRunnerPodTemplateSpecEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -802,7 +802,7 @@ pub struct TerraformRunnerPodTemplateSpecEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -813,7 +813,7 @@ pub struct TerraformRunnerPodTemplateSpecEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -826,7 +826,7 @@ pub struct TerraformRunnerPodTemplateSpecEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -839,7 +839,7 @@ pub struct TerraformRunnerPodTemplateSpecEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -853,7 +853,7 @@ pub struct TerraformRunnerPodTemplateSpecEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -864,7 +864,7 @@ pub struct TerraformRunnerPodTemplateSpecEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -875,7 +875,7 @@ pub struct TerraformRunnerPodTemplateSpecEnvFromSecretRef { } /// HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecHostAliases { /// Hostnames for the above IP address. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -886,7 +886,7 @@ pub struct TerraformRunnerPodTemplateSpecHostAliases { } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainers { /// Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -959,7 +959,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -972,7 +972,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -989,7 +989,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1002,7 +1002,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersEnvValueFromConfigMapKeyR } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1013,7 +1013,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1026,7 +1026,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersEnvValueFromResourceField } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1039,7 +1039,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersEnvValueFromSecretKeyRef } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -1053,7 +1053,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1064,7 +1064,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1075,7 +1075,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersEnvFromSecretRef { } /// Actions that the management system should take in response to container lifecycle events. Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -1086,7 +1086,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1100,7 +1100,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1108,7 +1108,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1127,7 +1127,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePostStartHttpGet } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1136,7 +1136,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePostStartHttpGet } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1146,7 +1146,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePostStartTcpSock } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1160,7 +1160,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1168,7 +1168,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1187,7 +1187,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1196,7 +1196,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePreStopHttpGetHt } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1206,7 +1206,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLifecyclePreStopTcpSocket } /// Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1241,7 +1241,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1249,7 +1249,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1260,7 +1260,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1279,7 +1279,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1288,7 +1288,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLivenessProbeHttpGetHttpH } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1298,7 +1298,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -1318,7 +1318,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersPorts { } /// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1353,7 +1353,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1361,7 +1361,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1372,7 +1372,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1391,7 +1391,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1400,7 +1400,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersReadinessProbeHttpGetHttp } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1410,7 +1410,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersReadinessProbeTcpSocket { } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. #[serde(rename = "resourceName")] @@ -1421,7 +1421,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersResizePolicy { } /// Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1437,14 +1437,14 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -1482,7 +1482,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1493,7 +1493,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersSecurityContextCapabiliti } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1510,7 +1510,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersSecurityContextSeLinuxOpt } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -1522,7 +1522,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersSecurityContextSeccompPro } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -1539,7 +1539,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersSecurityContextWindowsOpt } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1574,7 +1574,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1582,7 +1582,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1593,7 +1593,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1612,7 +1612,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -1621,7 +1621,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersStartupProbeHttpGetHttpHe } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1631,7 +1631,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -1641,7 +1641,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -1663,7 +1663,7 @@ pub struct TerraformRunnerPodTemplateSpecInitContainersVolumeMounts { } /// Set Resources for the Runner Pod container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1679,14 +1679,14 @@ pub struct TerraformRunnerPodTemplateSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// Set SecurityContext for the Runner Pod container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -1724,7 +1724,7 @@ pub struct TerraformRunnerPodTemplateSpecSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1735,7 +1735,7 @@ pub struct TerraformRunnerPodTemplateSpecSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1752,7 +1752,7 @@ pub struct TerraformRunnerPodTemplateSpecSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -1764,7 +1764,7 @@ pub struct TerraformRunnerPodTemplateSpecSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -1781,7 +1781,7 @@ pub struct TerraformRunnerPodTemplateSpecSecurityContextWindowsOptions { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1801,7 +1801,7 @@ pub struct TerraformRunnerPodTemplateSpecTolerations { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -1823,7 +1823,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -1921,7 +1921,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1938,7 +1938,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -1961,7 +1961,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -1975,7 +1975,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -1997,7 +1997,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2005,7 +2005,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2022,7 +2022,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2030,7 +2030,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2047,7 +2047,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -2059,7 +2059,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -2078,7 +2078,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2086,7 +2086,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2097,7 +2097,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -2113,7 +2113,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2124,7 +2124,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2137,7 +2137,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesDownwardApiItemsResourceFieldRef } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2152,7 +2152,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -2166,7 +2166,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2176,12 +2176,12 @@ pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -2210,7 +2210,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2222,7 +2222,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2237,7 +2237,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2253,14 +2253,14 @@ pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2271,7 +2271,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2283,7 +2283,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2303,7 +2303,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -2322,7 +2322,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2330,7 +2330,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -2341,7 +2341,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2358,7 +2358,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2371,7 +2371,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -2383,7 +2383,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -2393,7 +2393,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -2429,7 +2429,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2437,7 +2437,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -2449,7 +2449,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -2460,7 +2460,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2471,7 +2471,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2485,7 +2485,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2496,7 +2496,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2513,7 +2513,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2527,7 +2527,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -2539,7 +2539,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2547,7 +2547,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -2563,7 +2563,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesDownwardApiItems } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2574,7 +2574,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesDownwardApiItems } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2587,7 +2587,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesDownwardApiItems } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2601,7 +2601,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -2613,7 +2613,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2626,7 +2626,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesProjectedSourcesServiceAccountTo } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2647,7 +2647,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2674,7 +2674,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2682,7 +2682,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2715,7 +2715,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2723,7 +2723,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2740,7 +2740,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesSecretItems { /// key is the key to project. pub key: String, @@ -2752,7 +2752,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2772,7 +2772,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2780,7 +2780,7 @@ pub struct TerraformRunnerPodTemplateSpecVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformRunnerPodTemplateSpecVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2832,7 +2832,7 @@ pub enum TerraformStoreReadablePlan { } /// TFStateSpec allows the user to set ForceUnlock -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformTfstate { /// ForceUnlock a Terraform state if it has become locked for any reason. Defaults to `no`. /// This is an Enum and has the expected values of: @@ -2862,7 +2862,7 @@ pub enum TerraformTfstateForceUnlock { Auto, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformVars { /// Name is the name of the variable pub name: String, @@ -2874,7 +2874,7 @@ pub struct TerraformVars { } /// EnvVarSource represents a source for the value of an EnvVar. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformVarsValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -2891,7 +2891,7 @@ pub struct TerraformVarsValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformVarsValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -2904,7 +2904,7 @@ pub struct TerraformVarsValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformVarsValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2915,7 +2915,7 @@ pub struct TerraformVarsValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformVarsValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2928,7 +2928,7 @@ pub struct TerraformVarsValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformVarsValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2983,7 +2983,7 @@ pub enum TerraformWebhooksStage { } /// A list of target secrets for the outputs to be written as. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformWriteOutputsToSecret { /// Annotations to add to the outputted secret #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2999,7 +2999,7 @@ pub struct TerraformWriteOutputsToSecret { } /// TerraformStatus defines the observed state of Terraform -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "availableOutputs")] pub available_outputs: Option>, @@ -3043,14 +3043,14 @@ pub struct TerraformStatus { } /// Inventory contains the list of Terraform resource object references that have been successfully applied. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformStatusInventory { /// Entries of Kubernetes resource object references. pub entries: Vec, } /// ResourceRef contains the information necessary to locate a resource within a cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformStatusInventoryEntries { /// ID is the resource identifier. This is cloud-specific. For example, ARN is an ID on AWS. pub id: String, @@ -3061,7 +3061,7 @@ pub struct TerraformStatusInventoryEntries { } /// LockStatus defines the observed state of a Terraform State Lock -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformStatusLock { #[serde(default, skip_serializing_if = "Option::is_none", rename = "lastApplied")] pub last_applied: Option, @@ -3070,7 +3070,7 @@ pub struct TerraformStatusLock { pub pending: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TerraformStatusPlan { #[serde(default, skip_serializing_if = "Option::is_none", rename = "isDestroyPlan")] pub is_destroy_plan: Option, diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtclusters.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtclusters.rs index d0e700892..abb92110c 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtclusters.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtclusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtclustertemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtclustertemplates.rs index c331f3d35..8680fc185 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtclustertemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtclustertemplates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtclustertemplates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtclustertemplates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtmachines.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtmachines.rs index 59ce61d79..57b713c57 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtmachines.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtmachines.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtmachines.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtmachines.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtmachinetemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtmachinetemplates.rs index 0342b1864..c2d871e67 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtmachinetemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha1/kubevirtmachinetemplates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtmachinetemplates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-kubevirt/infrastructure.cluster.x-k8s.io/v1alpha1/kubevirtmachinetemplates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vsphereclusteridentities.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vsphereclusteridentities.rs index 4ea5ffe64..8ba9eb35b 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vsphereclusteridentities.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vsphereclusteridentities.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vsphereclusteridentities.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vsphereclusteridentities.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vsphereclusters.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vsphereclusters.rs index 28a988d7a..76ae0d233 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vsphereclusters.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vsphereclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vsphereclusters.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vsphereclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// VSphereClusterSpec defines the desired state of VSphereCluster. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "infrastructure.cluster.x-k8s.io", version = "v1alpha3", kind = "VSphereCluster", plural = "vsphereclusters")] #[kube(namespaced)] #[kube(status = "VSphereClusterStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct VSphereClusterSpec { /// CloudProviderConfiguration holds the cluster-wide configuration for the vSphere cloud provider. @@ -47,7 +48,7 @@ pub struct VSphereClusterSpec { /// CloudProviderConfiguration holds the cluster-wide configuration for the vSphere cloud provider. /// Deprecated: will be removed in v1alpha4. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterCloudProviderConfiguration { /// Disk is the vSphere cloud provider's disk configuration. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -73,7 +74,7 @@ pub struct VSphereClusterCloudProviderConfiguration { } /// Disk is the vSphere cloud provider's disk configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterCloudProviderConfigurationDisk { /// SCSIControllerType defines SCSI controller to be used. #[serde(default, skip_serializing_if = "Option::is_none", rename = "scsiControllerType")] @@ -81,7 +82,7 @@ pub struct VSphereClusterCloudProviderConfigurationDisk { } /// Global is the vSphere cloud provider's global configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterCloudProviderConfigurationGlobal { /// APIBindPort configures the vSphere cloud controller manager API port. Defaults to 43001. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiBindPort")] @@ -128,7 +129,7 @@ pub struct VSphereClusterCloudProviderConfigurationGlobal { } /// Labels is the vSphere cloud provider's zone and region configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterCloudProviderConfigurationLabels { /// Region is the region in which VMs are created/located. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -139,7 +140,7 @@ pub struct VSphereClusterCloudProviderConfigurationLabels { } /// Network is the vSphere cloud provider's network configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterCloudProviderConfigurationNetwork { /// Name is the name of the network to which VMs are connected. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -147,7 +148,7 @@ pub struct VSphereClusterCloudProviderConfigurationNetwork { } /// CPIProviderConfig contains extra information used to configure the vSphere cloud provider. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterCloudProviderConfigurationProviderConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub cloud: Option, @@ -155,7 +156,7 @@ pub struct VSphereClusterCloudProviderConfigurationProviderConfig { pub storage: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterCloudProviderConfigurationProviderConfigCloud { #[serde(default, skip_serializing_if = "Option::is_none", rename = "controllerImage")] pub controller_image: Option, @@ -164,7 +165,7 @@ pub struct VSphereClusterCloudProviderConfigurationProviderConfigCloud { pub extra_args: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterCloudProviderConfigurationProviderConfigStorage { #[serde(default, skip_serializing_if = "Option::is_none", rename = "attacherImage")] pub attacher_image: Option, @@ -183,7 +184,7 @@ pub struct VSphereClusterCloudProviderConfigurationProviderConfigStorage { } /// VCenter is a list of vCenter configurations. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterCloudProviderConfigurationVirtualCenter { /// Datacenters is a CSV string of the datacenters in which VMs are located. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -206,7 +207,7 @@ pub struct VSphereClusterCloudProviderConfigurationVirtualCenter { } /// Workspace is the vSphere cloud provider's workspace configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterCloudProviderConfigurationWorkspace { /// Datacenter is the datacenter in which VMs are created/located. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -226,7 +227,7 @@ pub struct VSphereClusterCloudProviderConfigurationWorkspace { } /// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterControlPlaneEndpoint { /// The hostname on which the API server is serving. pub host: String, @@ -252,7 +253,7 @@ pub enum VSphereClusterIdentityRefKind { /// LoadBalancerRef may be used to enable a control plane load balancer for this cluster. When a LoadBalancerRef is provided, the VSphereCluster.Status.Ready field will not be true until the referenced resource is Status.Ready and has a non-empty Status.Address value. /// Deprecated: will be removed in v1alpha4. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterLoadBalancerRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -278,7 +279,7 @@ pub struct VSphereClusterLoadBalancerRef { } /// VSphereClusterStatus defines the observed state of VSphereClusterSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterStatus { /// Conditions defines current service state of the VSphereCluster. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -291,7 +292,7 @@ pub struct VSphereClusterStatus { } /// FailureDomains is a list of failure domain objects synced from the infrastructure provider. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterStatusFailureDomains { /// Attributes is a free form map of attributes an infrastructure provider might use or require. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspheredeploymentzones.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspheredeploymentzones.rs index 70a56e415..a5ee04d13 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspheredeploymentzones.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspheredeploymentzones.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vspheredeploymentzones.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vspheredeploymentzones.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspherefailuredomains.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspherefailuredomains.rs index b4a3e6de1..090f3a0f0 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspherefailuredomains.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspherefailuredomains.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vspherefailuredomains.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vspherefailuredomains.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -48,7 +48,7 @@ pub enum VSphereFailureDomainRegionType { } /// Topology is the what describes a given failure domain using vSphere constructs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereFailureDomainTopology { /// ComputeCluster as the failure domain #[serde(default, skip_serializing_if = "Option::is_none", rename = "computeCluster")] @@ -67,7 +67,7 @@ pub struct VSphereFailureDomainTopology { } /// Hosts has information required for placement of machines on VSphere hosts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereFailureDomainTopologyHosts { /// HostGroupName is the name of the Host group #[serde(rename = "hostGroupName")] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspheremachines.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspheremachines.rs index 62374b473..6215d3d83 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspheremachines.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspheremachines.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vspheremachines.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vspheremachines.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspheremachinetemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspheremachinetemplates.rs index 42079880d..dbf19befd 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspheremachinetemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspheremachinetemplates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vspheremachinetemplates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vspheremachinetemplates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspherevms.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspherevms.rs index db796e990..38b402d8d 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspherevms.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha3/vspherevms.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vspherevms.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha3/vspherevms.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vsphereclusteridentities.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vsphereclusteridentities.rs index a5fb89dca..0c389f0a4 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vsphereclusteridentities.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vsphereclusteridentities.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vsphereclusteridentities.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vsphereclusteridentities.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vsphereclusters.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vsphereclusters.rs index b600ad018..0236c6d37 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vsphereclusters.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vsphereclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vsphereclusters.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vsphereclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// VSphereClusterSpec defines the desired state of VSphereCluster -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "infrastructure.cluster.x-k8s.io", version = "v1alpha4", kind = "VSphereCluster", plural = "vsphereclusters")] #[kube(namespaced)] #[kube(status = "VSphereClusterStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct VSphereClusterSpec { /// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane. @@ -34,7 +35,7 @@ pub struct VSphereClusterSpec { } /// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterControlPlaneEndpoint { /// The hostname on which the API server is serving. pub host: String, @@ -59,7 +60,7 @@ pub enum VSphereClusterIdentityRefKind { } /// VSphereClusterStatus defines the observed state of VSphereClusterSpec -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterStatus { /// Conditions defines current service state of the VSphereCluster. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -72,7 +73,7 @@ pub struct VSphereClusterStatus { } /// FailureDomains is a list of failure domain objects synced from the infrastructure provider. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterStatusFailureDomains { /// Attributes is a free form map of attributes an infrastructure provider might use or require. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vsphereclustertemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vsphereclustertemplates.rs index 8be286e44..116a19e10 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vsphereclustertemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vsphereclustertemplates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vsphereclustertemplates.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vsphereclustertemplates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,23 +10,24 @@ mod prelude { use self::prelude::*; /// VSphereClusterTemplateSpec defines the desired state of VSphereClusterTemplate -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "infrastructure.cluster.x-k8s.io", version = "v1alpha4", kind = "VSphereClusterTemplate", plural = "vsphereclustertemplates")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct VSphereClusterTemplateSpec { pub template: VSphereClusterTemplateTemplate, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterTemplateTemplate { /// VSphereClusterSpec defines the desired state of VSphereCluster pub spec: VSphereClusterTemplateTemplateSpec, } /// VSphereClusterSpec defines the desired state of VSphereCluster -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterTemplateTemplateSpec { /// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane. #[serde(default, skip_serializing_if = "Option::is_none", rename = "controlPlaneEndpoint")] @@ -43,7 +44,7 @@ pub struct VSphereClusterTemplateTemplateSpec { } /// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterTemplateTemplateSpecControlPlaneEndpoint { /// The hostname on which the API server is serving. pub host: String, diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspheredeploymentzones.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspheredeploymentzones.rs index 84a7e7bfb..a66a4e06a 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspheredeploymentzones.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspheredeploymentzones.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vspheredeploymentzones.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vspheredeploymentzones.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspherefailuredomains.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspherefailuredomains.rs index cc08073e5..26b9945f2 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspherefailuredomains.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspherefailuredomains.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vspherefailuredomains.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vspherefailuredomains.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -48,7 +48,7 @@ pub enum VSphereFailureDomainRegionType { } /// Topology describes a given failure domain using vSphere constructs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereFailureDomainTopology { /// ComputeCluster as the failure domain #[serde(default, skip_serializing_if = "Option::is_none", rename = "computeCluster")] @@ -67,7 +67,7 @@ pub struct VSphereFailureDomainTopology { } /// Hosts has information required for placement of machines on VSphere hosts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereFailureDomainTopologyHosts { /// HostGroupName is the name of the Host group #[serde(rename = "hostGroupName")] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspheremachines.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspheremachines.rs index a7238741b..f7bf4fc9d 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspheremachines.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspheremachines.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vspheremachines.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vspheremachines.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspheremachinetemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspheremachinetemplates.rs index 0114f9c24..c8403f6e8 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspheremachinetemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspheremachinetemplates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vspheremachinetemplates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vspheremachinetemplates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspherevms.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspherevms.rs index 53eed83d9..1c70eb13c 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspherevms.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1alpha4/vspherevms.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vspherevms.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1alpha4/vspherevms.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsclusters.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsclusters.rs index 0712394da..76b2e1bf5 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsclusters.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta1/ibmpowervsclusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta1/ibmpowervsclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsclustertemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsclustertemplates.rs index 49896da43..9782275de 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsclustertemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsclustertemplates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta1/ibmpowervsclustertemplates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta1/ibmpowervsclustertemplates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsimages.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsimages.rs index 668e4a866..4aeb318dc 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsimages.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsimages.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta1/ibmpowervsimages.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta1/ibmpowervsimages.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsmachines.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsmachines.rs index ed9433b5c..ca695999c 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsmachines.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsmachines.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta1/ibmpowervsmachines.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta1/ibmpowervsmachines.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsmachinetemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsmachinetemplates.rs index 63aaf470a..54ec24726 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsmachinetemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmpowervsmachinetemplates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta1/ibmpowervsmachinetemplates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta1/ibmpowervsmachinetemplates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmvpcclusters.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmvpcclusters.rs index f7e1f7db2..f4f02a5bf 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmvpcclusters.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmvpcclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta1/ibmvpcclusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta1/ibmvpcclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmvpcmachines.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmvpcmachines.rs index 0d5d16545..bb90079b6 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmvpcmachines.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmvpcmachines.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta1/ibmvpcmachines.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta1/ibmvpcmachines.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmvpcmachinetemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmvpcmachinetemplates.rs index fbd25d96e..85785b6db 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmvpcmachinetemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/ibmvpcmachinetemplates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta1/ibmvpcmachinetemplates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta1/ibmvpcmachinetemplates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/tinkerbellclusters.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/tinkerbellclusters.rs index 775fd8519..75f43bb7a 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/tinkerbellclusters.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/tinkerbellclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/cluster-api-provider-tinkerbell/infrastructure.cluster.x-k8s.io/v1beta1/tinkerbellclusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/cluster-api-provider-tinkerbell/infrastructure.cluster.x-k8s.io/v1beta1/tinkerbellclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/tinkerbellmachines.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/tinkerbellmachines.rs index 05e3fdf8d..3e8c0a674 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/tinkerbellmachines.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/tinkerbellmachines.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/cluster-api-provider-tinkerbell/infrastructure.cluster.x-k8s.io/v1beta1/tinkerbellmachines.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/cluster-api-provider-tinkerbell/infrastructure.cluster.x-k8s.io/v1beta1/tinkerbellmachines.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/tinkerbellmachinetemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/tinkerbellmachinetemplates.rs index de56f8baf..1cd533f60 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/tinkerbellmachinetemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/tinkerbellmachinetemplates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/cluster-api-provider-tinkerbell/infrastructure.cluster.x-k8s.io/v1beta1/tinkerbellmachinetemplates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/cluster-api-provider-tinkerbell/infrastructure.cluster.x-k8s.io/v1beta1/tinkerbellmachinetemplates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vsphereclusteridentities.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vsphereclusteridentities.rs index 3ccb956e0..0257b5ba5 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vsphereclusteridentities.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vsphereclusteridentities.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vsphereclusteridentities.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vsphereclusteridentities.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vsphereclusters.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vsphereclusters.rs index 32c5956ee..40c4f6343 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vsphereclusters.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vsphereclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vsphereclusters.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vsphereclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// VSphereClusterSpec defines the desired state of VSphereCluster. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "infrastructure.cluster.x-k8s.io", version = "v1beta1", kind = "VSphereCluster", plural = "vsphereclusters")] #[kube(namespaced)] #[kube(status = "VSphereClusterStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct VSphereClusterSpec { /// ClusterModules hosts information regarding the anti-affinity vSphere constructs for each of the objects responsible for creation of VM objects belonging to the cluster. @@ -40,7 +41,7 @@ pub struct VSphereClusterSpec { } /// ClusterModule holds the anti affinity construct `ClusterModule` identifier in use by the VMs owned by the object referred by the TargetObjectName field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterClusterModules { /// ControlPlane indicates whether the referred object is responsible for control plane nodes. Currently, only the KubeadmControlPlane objects have this flag set to true. Only a single object in the slice can have this value set to true. #[serde(rename = "controlPlane")] @@ -54,7 +55,7 @@ pub struct VSphereClusterClusterModules { } /// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterControlPlaneEndpoint { /// The hostname on which the API server is serving. pub host: String, @@ -63,7 +64,7 @@ pub struct VSphereClusterControlPlaneEndpoint { } /// FailureDomainSelector is the label selector to use for failure domain selection for the control plane nodes of the cluster. If not set (`nil`), selecting failure domains will be disabled. An empty value (`{}`) selects all existing failure domains. A valid selector will select all failure domains which match the selector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterFailureDomainSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -74,7 +75,7 @@ pub struct VSphereClusterFailureDomainSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterFailureDomainSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -102,7 +103,7 @@ pub enum VSphereClusterIdentityRefKind { } /// VSphereClusterStatus defines the observed state of VSphereClusterSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterStatus { /// Conditions defines current service state of the VSphereCluster. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -118,7 +119,7 @@ pub struct VSphereClusterStatus { } /// FailureDomains is a list of failure domain objects synced from the infrastructure provider. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterStatusFailureDomains { /// Attributes is a free form map of attributes an infrastructure provider might use or require. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vsphereclustertemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vsphereclustertemplates.rs index 9db126409..f570cb033 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vsphereclustertemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vsphereclustertemplates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vsphereclustertemplates.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vsphereclustertemplates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { use self::prelude::*; /// VSphereClusterTemplateSpec defines the desired state of VSphereClusterTemplate. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "infrastructure.cluster.x-k8s.io", version = "v1beta1", kind = "VSphereClusterTemplate", plural = "vsphereclustertemplates")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct VSphereClusterTemplateSpec { /// VSphereClusterTemplateResource describes the data for creating a VSphereCluster from a template. @@ -22,14 +23,14 @@ pub struct VSphereClusterTemplateSpec { } /// VSphereClusterTemplateResource describes the data for creating a VSphereCluster from a template. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterTemplateTemplate { /// VSphereClusterSpec defines the desired state of VSphereCluster. pub spec: VSphereClusterTemplateTemplateSpec, } /// VSphereClusterSpec defines the desired state of VSphereCluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterTemplateTemplateSpec { /// ClusterModules hosts information regarding the anti-affinity vSphere constructs for each of the objects responsible for creation of VM objects belonging to the cluster. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterModules")] @@ -52,7 +53,7 @@ pub struct VSphereClusterTemplateTemplateSpec { } /// ClusterModule holds the anti affinity construct `ClusterModule` identifier in use by the VMs owned by the object referred by the TargetObjectName field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterTemplateTemplateSpecClusterModules { /// ControlPlane indicates whether the referred object is responsible for control plane nodes. Currently, only the KubeadmControlPlane objects have this flag set to true. Only a single object in the slice can have this value set to true. #[serde(rename = "controlPlane")] @@ -66,7 +67,7 @@ pub struct VSphereClusterTemplateTemplateSpecClusterModules { } /// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterTemplateTemplateSpecControlPlaneEndpoint { /// The hostname on which the API server is serving. pub host: String, @@ -75,7 +76,7 @@ pub struct VSphereClusterTemplateTemplateSpecControlPlaneEndpoint { } /// FailureDomainSelector is the label selector to use for failure domain selection for the control plane nodes of the cluster. If not set (`nil`), selecting failure domains will be disabled. An empty value (`{}`) selects all existing failure domains. A valid selector will select all failure domains which match the selector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterTemplateTemplateSpecFailureDomainSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -86,7 +87,7 @@ pub struct VSphereClusterTemplateTemplateSpecFailureDomainSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereClusterTemplateTemplateSpecFailureDomainSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspheredeploymentzones.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspheredeploymentzones.rs index e0091ff45..0bfc4d49f 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspheredeploymentzones.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspheredeploymentzones.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vspheredeploymentzones.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vspheredeploymentzones.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspherefailuredomains.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspherefailuredomains.rs index 074309ef3..3e53110d3 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspherefailuredomains.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspherefailuredomains.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vspherefailuredomains.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vspherefailuredomains.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -49,7 +49,7 @@ pub enum VSphereFailureDomainRegionType { } /// Topology describes a given failure domain using vSphere constructs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereFailureDomainTopology { /// ComputeCluster as the failure domain #[serde(default, skip_serializing_if = "Option::is_none", rename = "computeCluster")] @@ -68,7 +68,7 @@ pub struct VSphereFailureDomainTopology { } /// Hosts has information required for placement of machines on VSphere hosts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VSphereFailureDomainTopologyHosts { /// HostGroupName is the name of the Host group #[serde(rename = "hostGroupName")] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspheremachines.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspheremachines.rs index f456dc0c9..3f13aca3c 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspheremachines.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspheremachines.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vspheremachines.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vspheremachines.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspheremachinetemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspheremachinetemplates.rs index ea85d2c30..91f65df1d 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspheremachinetemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspheremachinetemplates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vspheremachinetemplates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vspheremachinetemplates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspherevms.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspherevms.rs index dee6622e0..775916445 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspherevms.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta1/vspherevms.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vspherevms.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-vsphere/infrastructure.cluster.x-k8s.io/v1beta1/vspherevms.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsclusters.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsclusters.rs index 7541c7f7f..ca4307f72 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsclusters.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmpowervsclusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmpowervsclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -345,7 +345,7 @@ pub struct IBMPowerVSClusterVpcSecurityGroups { } /// VPCSecurityGroupRule defines a VPC Security Group Rule for a specified Security Group. -#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct IBMPowerVSClusterVpcSecurityGroupsRules { /// action defines whether to allow or deny traffic defined by the Security Group Rule. pub action: IBMPowerVSClusterVpcSecurityGroupsRulesAction, @@ -375,7 +375,7 @@ pub enum IBMPowerVSClusterVpcSecurityGroupsRulesAction { /// destination is a VPCSecurityGroupRulePrototype which defines the destination of outbound traffic for the Security Group Rule. /// Only used when direction is VPCSecurityGroupRuleDirectionOutbound. -#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct IBMPowerVSClusterVpcSecurityGroupsRulesDestination { /// icmpCode is the ICMP code for the Rule. /// Only used when Protocol is VPCSecurityGroupRuleProtocolIcmp. @@ -423,7 +423,7 @@ pub enum IBMPowerVSClusterVpcSecurityGroupsRulesDestinationProtocol { /// VPCSecurityGroupRuleRemote defines a VPC Security Group Rule's remote details. /// The type of remote defines the additional remote details where are used for defining the remote. -#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct IBMPowerVSClusterVpcSecurityGroupsRulesDestinationRemotes { /// address is the address to use for the remote's destination/source. /// Only used when remoteType is VPCSecurityGroupRuleRemoteTypeAddress. @@ -467,7 +467,7 @@ pub enum IBMPowerVSClusterVpcSecurityGroupsRulesDirection { /// source is a VPCSecurityGroupRulePrototype which defines the source of inbound traffic for the Security Group Rule. /// Only used when direction is VPCSecurityGroupRuleDirectionInbound. -#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct IBMPowerVSClusterVpcSecurityGroupsRulesSource { /// icmpCode is the ICMP code for the Rule. /// Only used when Protocol is VPCSecurityGroupRuleProtocolIcmp. @@ -515,7 +515,7 @@ pub enum IBMPowerVSClusterVpcSecurityGroupsRulesSourceProtocol { /// VPCSecurityGroupRuleRemote defines a VPC Security Group Rule's remote details. /// The type of remote defines the additional remote details where are used for defining the remote. -#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct IBMPowerVSClusterVpcSecurityGroupsRulesSourceRemotes { /// address is the address to use for the remote's destination/source. /// Only used when remoteType is VPCSecurityGroupRuleRemoteTypeAddress. diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsclustertemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsclustertemplates.rs index 641f45656..371f478d7 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsclustertemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsclustertemplates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmpowervsclustertemplates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmpowervsclustertemplates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -379,7 +379,7 @@ pub struct IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroups { } /// VPCSecurityGroupRule defines a VPC Security Group Rule for a specified Security Group. -#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRules { /// action defines whether to allow or deny traffic defined by the Security Group Rule. pub action: IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesAction, @@ -409,7 +409,7 @@ pub enum IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesAction { /// destination is a VPCSecurityGroupRulePrototype which defines the destination of outbound traffic for the Security Group Rule. /// Only used when direction is VPCSecurityGroupRuleDirectionOutbound. -#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesDestination { /// icmpCode is the ICMP code for the Rule. /// Only used when Protocol is VPCSecurityGroupRuleProtocolIcmp. @@ -457,7 +457,7 @@ pub enum IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesDestinationP /// VPCSecurityGroupRuleRemote defines a VPC Security Group Rule's remote details. /// The type of remote defines the additional remote details where are used for defining the remote. -#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesDestinationRemotes { /// address is the address to use for the remote's destination/source. /// Only used when remoteType is VPCSecurityGroupRuleRemoteTypeAddress. @@ -501,7 +501,7 @@ pub enum IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesDirection { /// source is a VPCSecurityGroupRulePrototype which defines the source of inbound traffic for the Security Group Rule. /// Only used when direction is VPCSecurityGroupRuleDirectionInbound. -#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesSource { /// icmpCode is the ICMP code for the Rule. /// Only used when Protocol is VPCSecurityGroupRuleProtocolIcmp. @@ -549,7 +549,7 @@ pub enum IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesSourceProtoc /// VPCSecurityGroupRuleRemote defines a VPC Security Group Rule's remote details. /// The type of remote defines the additional remote details where are used for defining the remote. -#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct IBMPowerVSClusterTemplateTemplateSpecVpcSecurityGroupsRulesSourceRemotes { /// address is the address to use for the remote's destination/source. /// Only used when remoteType is VPCSecurityGroupRuleRemoteTypeAddress. diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsimages.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsimages.rs index 901d90fbb..ac37d72db 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsimages.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsimages.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmpowervsimages.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmpowervsimages.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsmachines.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsmachines.rs index f254bf06a..38b436ef8 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsmachines.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsmachines.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmpowervsmachines.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmpowervsmachines.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsmachinetemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsmachinetemplates.rs index 234d94427..139b2d27b 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsmachinetemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmpowervsmachinetemplates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmpowervsmachinetemplates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmpowervsmachinetemplates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmvpcclusters.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmvpcclusters.rs index 4474787ba..6413e65e3 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmvpcclusters.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmvpcclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmvpcclusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmvpcclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmvpcmachines.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmvpcmachines.rs index e9e8337b4..35ac83584 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmvpcmachines.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmvpcmachines.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmvpcmachines.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmvpcmachines.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmvpcmachinetemplates.rs b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmvpcmachinetemplates.rs index 747bc7867..85c7d4c43 100644 --- a/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmvpcmachinetemplates.rs +++ b/kube-custom-resources-rs/src/infrastructure_cluster_x_k8s_io/v1beta2/ibmvpcmachinetemplates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmvpcmachinetemplates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-provider-ibmcloud/infrastructure.cluster.x-k8s.io/v1beta2/ibmvpcmachinetemplates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/install_istio_io/v1alpha1/istiooperators.rs b/kube-custom-resources-rs/src/install_istio_io/v1alpha1/istiooperators.rs index 132849e60..05f866fdf 100644 --- a/kube-custom-resources-rs/src/install_istio_io/v1alpha1/istiooperators.rs +++ b/kube-custom-resources-rs/src/install_istio_io/v1alpha1/istiooperators.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/install.istio.io/v1alpha1/istiooperators.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/install.istio.io/v1alpha1/istiooperators.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/installation_mattermost_com/v1beta1/mattermosts.rs b/kube-custom-resources-rs/src/installation_mattermost_com/v1beta1/mattermosts.rs index cc94126a2..8041c5b12 100644 --- a/kube-custom-resources-rs/src/installation_mattermost_com/v1beta1/mattermosts.rs +++ b/kube-custom-resources-rs/src/installation_mattermost_com/v1beta1/mattermosts.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/mattermost/mattermost-operator/installation.mattermost.com/v1beta1/mattermosts.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/mattermost/mattermost-operator/installation.mattermost.com/v1beta1/mattermosts.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/instana_io/v1/agents.rs b/kube-custom-resources-rs/src/instana_io/v1/agents.rs index 61d0d0da9..c21f03557 100644 --- a/kube-custom-resources-rs/src/instana_io/v1/agents.rs +++ b/kube-custom-resources-rs/src/instana_io/v1/agents.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/instana/instana-agent-operator/instana.io/v1/agents.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/instana/instana-agent-operator/instana.io/v1/agents.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/integration_rock8s_com/v1beta1/deferredresources.rs b/kube-custom-resources-rs/src/integration_rock8s_com/v1beta1/deferredresources.rs index 664eddfcb..26581a693 100644 --- a/kube-custom-resources-rs/src/integration_rock8s_com/v1beta1/deferredresources.rs +++ b/kube-custom-resources-rs/src/integration_rock8s_com/v1beta1/deferredresources.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/bitspur/rock8s/integration-operator/integration.rock8s.com/v1beta1/deferredresources.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/bitspur/rock8s/integration-operator/integration.rock8s.com/v1beta1/deferredresources.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/integration_rock8s_com/v1beta1/plugs.rs b/kube-custom-resources-rs/src/integration_rock8s_com/v1beta1/plugs.rs index ec5c5871e..d85226d5a 100644 --- a/kube-custom-resources-rs/src/integration_rock8s_com/v1beta1/plugs.rs +++ b/kube-custom-resources-rs/src/integration_rock8s_com/v1beta1/plugs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/bitspur/rock8s/integration-operator/integration.rock8s.com/v1beta1/plugs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/bitspur/rock8s/integration-operator/integration.rock8s.com/v1beta1/plugs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/integration_rock8s_com/v1beta1/sockets.rs b/kube-custom-resources-rs/src/integration_rock8s_com/v1beta1/sockets.rs index 95d34ca30..2ce91c7db 100644 --- a/kube-custom-resources-rs/src/integration_rock8s_com/v1beta1/sockets.rs +++ b/kube-custom-resources-rs/src/integration_rock8s_com/v1beta1/sockets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/bitspur/rock8s/integration-operator/integration.rock8s.com/v1beta1/sockets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/bitspur/rock8s/integration-operator/integration.rock8s.com/v1beta1/sockets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/iot_eclipse_org/v1alpha1/dittos.rs b/kube-custom-resources-rs/src/iot_eclipse_org/v1alpha1/dittos.rs index 7566a4192..f52525199 100644 --- a/kube-custom-resources-rs/src/iot_eclipse_org/v1alpha1/dittos.rs +++ b/kube-custom-resources-rs/src/iot_eclipse_org/v1alpha1/dittos.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/ctron/ditto-operator/iot.eclipse.org/v1alpha1/dittos.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/ctron/ditto-operator/iot.eclipse.org/v1alpha1/dittos.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/iot_eclipse_org/v1alpha1/hawkbits.rs b/kube-custom-resources-rs/src/iot_eclipse_org/v1alpha1/hawkbits.rs index 6a03ec2e5..f9df55250 100644 --- a/kube-custom-resources-rs/src/iot_eclipse_org/v1alpha1/hawkbits.rs +++ b/kube-custom-resources-rs/src/iot_eclipse_org/v1alpha1/hawkbits.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/ctron/hawkbit-operator/iot.eclipse.org/v1alpha1/hawkbits.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/ctron/hawkbit-operator/iot.eclipse.org/v1alpha1/hawkbits.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1alpha1/ipaddressclaims.rs b/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1alpha1/ipaddressclaims.rs index c9b361111..6b5ee83af 100644 --- a/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1alpha1/ipaddressclaims.rs +++ b/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1alpha1/ipaddressclaims.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/ipam.cluster.x-k8s.io/v1alpha1/ipaddressclaims.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/ipam.cluster.x-k8s.io/v1alpha1/ipaddressclaims.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1alpha1/ipaddresses.rs b/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1alpha1/ipaddresses.rs index 6d60c850b..b4449fb2f 100644 --- a/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1alpha1/ipaddresses.rs +++ b/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1alpha1/ipaddresses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/ipam.cluster.x-k8s.io/v1alpha1/ipaddresses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/ipam.cluster.x-k8s.io/v1alpha1/ipaddresses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1beta1/ipaddressclaims.rs b/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1beta1/ipaddressclaims.rs index 1d44c7193..53456789f 100644 --- a/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1beta1/ipaddressclaims.rs +++ b/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1beta1/ipaddressclaims.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/ipam.cluster.x-k8s.io/v1beta1/ipaddressclaims.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/ipam.cluster.x-k8s.io/v1beta1/ipaddressclaims.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1beta1/ipaddresses.rs b/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1beta1/ipaddresses.rs index a1f08c279..0587d186d 100644 --- a/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1beta1/ipaddresses.rs +++ b/kube-custom-resources-rs/src/ipam_cluster_x_k8s_io/v1beta1/ipaddresses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/ipam.cluster.x-k8s.io/v1beta1/ipaddresses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/ipam.cluster.x-k8s.io/v1beta1/ipaddresses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/isindir_github_com/v1alpha1/sopssecrets.rs b/kube-custom-resources-rs/src/isindir_github_com/v1alpha1/sopssecrets.rs index 35854d1e8..fee39e364 100644 --- a/kube-custom-resources-rs/src/isindir_github_com/v1alpha1/sopssecrets.rs +++ b/kube-custom-resources-rs/src/isindir_github_com/v1alpha1/sopssecrets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/isindir/sops-secrets-operator/isindir.github.com/v1alpha1/sopssecrets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/isindir/sops-secrets-operator/isindir.github.com/v1alpha1/sopssecrets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/isindir_github_com/v1alpha2/sopssecrets.rs b/kube-custom-resources-rs/src/isindir_github_com/v1alpha2/sopssecrets.rs index f5abfd655..5023e858a 100644 --- a/kube-custom-resources-rs/src/isindir_github_com/v1alpha2/sopssecrets.rs +++ b/kube-custom-resources-rs/src/isindir_github_com/v1alpha2/sopssecrets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/isindir/sops-secrets-operator/isindir.github.com/v1alpha2/sopssecrets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/isindir/sops-secrets-operator/isindir.github.com/v1alpha2/sopssecrets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/isindir_github_com/v1alpha3/sopssecrets.rs b/kube-custom-resources-rs/src/isindir_github_com/v1alpha3/sopssecrets.rs index 02c06415b..222042c8e 100644 --- a/kube-custom-resources-rs/src/isindir_github_com/v1alpha3/sopssecrets.rs +++ b/kube-custom-resources-rs/src/isindir_github_com/v1alpha3/sopssecrets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/isindir/sops-secrets-operator/isindir.github.com/v1alpha3/sopssecrets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/isindir/sops-secrets-operator/isindir.github.com/v1alpha3/sopssecrets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/jaegertracing_io/v1/jaegers.rs b/kube-custom-resources-rs/src/jaegertracing_io/v1/jaegers.rs index 2539e2008..b6c91805e 100644 --- a/kube-custom-resources-rs/src/jaegertracing_io/v1/jaegers.rs +++ b/kube-custom-resources-rs/src/jaegertracing_io/v1/jaegers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/jaegertracing/jaeger-operator/jaegertracing.io/v1/jaegers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/jaegertracing/jaeger-operator/jaegertracing.io/v1/jaegers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/jobset_x_k8s_io/v1alpha2/jobsets.rs b/kube-custom-resources-rs/src/jobset_x_k8s_io/v1alpha2/jobsets.rs index ed0dcbfbd..3bb5b6705 100644 --- a/kube-custom-resources-rs/src/jobset_x_k8s_io/v1alpha2/jobsets.rs +++ b/kube-custom-resources-rs/src/jobset_x_k8s_io/v1alpha2/jobsets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/jobset/jobset.x-k8s.io/v1alpha2/jobsets.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/jobset/jobset.x-k8s.io/v1alpha2/jobsets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// JobSetSpec defines the desired state of JobSet -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "jobset.x-k8s.io", version = "v1alpha2", kind = "JobSet", plural = "jobsets")] #[kube(namespaced)] #[kube(status = "JobSetStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct JobSetSpec { /// FailurePolicy, if set, configures when to declare the JobSet as @@ -73,7 +74,7 @@ pub struct JobSetSpec { /// failed. /// The JobSet is always declared failed if any job in the set /// finished with status failed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetFailurePolicy { /// MaxRestarts defines the limit on the number of JobSet restarts. /// A restart is achieved by recreating all active child jobs. @@ -120,7 +121,7 @@ pub enum JobSetFailurePolicyRulesAction { } /// Network defines the networking options for the jobset. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetNetwork { /// EnableDNSHostnames allows pods to be reached via their hostnames. /// Pods will be reachable using the fully qualified pod hostname: @@ -138,7 +139,7 @@ pub struct JobSetNetwork { pub subdomain: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobs { /// Name is the name of the entry and will be used as a suffix /// for the Job name. @@ -152,7 +153,7 @@ pub struct JobSetReplicatedJobs { } /// Template defines the template of the Job that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplate { /// Standard object's metadata of the jobs created from this template. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata @@ -166,7 +167,7 @@ pub struct JobSetReplicatedJobsTemplate { /// Standard object's metadata of the jobs created from this template. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -182,7 +183,7 @@ pub struct JobSetReplicatedJobsTemplateMetadata { /// Specification of the desired behavior of the job. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpec { /// Specifies the duration in seconds relative to the startTime that the job /// may be continuously active before the system tries to terminate it; value @@ -338,7 +339,7 @@ pub struct JobSetReplicatedJobsTemplateSpec { /// /// This field is beta-level. It can be used when the `JobPodFailurePolicy` /// feature gate is enabled (enabled by default). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecPodFailurePolicy { /// A list of pod failure policy rules. The rules are evaluated in order. /// Once a rule matches a Pod failure, the remaining of the rules are ignored. @@ -350,7 +351,7 @@ pub struct JobSetReplicatedJobsTemplateSpecPodFailurePolicy { /// PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. /// One of onExitCodes and onPodConditions, but not both, can be used in each rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecPodFailurePolicyRules { /// Specifies the action taken on a pod failure when the requirements are satisfied. /// Possible values are: @@ -380,7 +381,7 @@ pub struct JobSetReplicatedJobsTemplateSpecPodFailurePolicyRules { } /// Represents the requirement on the container exit codes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecPodFailurePolicyRulesOnExitCodes { /// Restricts the check for exit codes to the container with the /// specified name. When null, the rule applies to all containers. @@ -412,7 +413,7 @@ pub struct JobSetReplicatedJobsTemplateSpecPodFailurePolicyRulesOnExitCodes { /// PodFailurePolicyOnPodConditionsPattern describes a pattern for matching /// an actual pod condition type. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecPodFailurePolicyRulesOnPodConditions { /// Specifies the required Pod condition status. To match a pod condition /// it is required that the specified status equals the pod condition status. @@ -427,7 +428,7 @@ pub struct JobSetReplicatedJobsTemplateSpecPodFailurePolicyRulesOnPodConditions /// A label query over pods that should match the pod count. /// Normally, the system sets this field for you. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -441,7 +442,7 @@ pub struct JobSetReplicatedJobsTemplateSpecSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -459,7 +460,7 @@ pub struct JobSetReplicatedJobsTemplateSpecSelectorMatchExpressions { /// Describes the pod that will be created when executing a job. /// The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". /// More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplate { /// Standard object's metadata. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata @@ -473,7 +474,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplate { /// Standard object's metadata. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -489,7 +490,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateMetadata { /// Specification of the desired behavior of the pod. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpec { /// Optional duration in seconds the pod may be active on the node relative to /// StartTime before the system will actively try to mark it failed and kill associated containers. @@ -756,7 +757,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpec { } /// If specified, the pod's scheduling constraints -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -770,7 +771,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -794,7 +795,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -803,7 +804,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityNodeAffinityPrefe } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -815,7 +816,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityNodeAffinityPrefe /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -833,7 +834,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityNodeAffinityPrefe /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -854,7 +855,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityNodeAffinityPrefe /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -864,7 +865,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityNodeAffinityRequi /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -876,7 +877,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityNodeAffinityRequi /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -894,7 +895,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityNodeAffinityRequi /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -911,7 +912,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityNodeAffinityRequi } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -936,7 +937,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -947,7 +948,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAffinityPrefer } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -999,7 +1000,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAffinityPrefer /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1013,7 +1014,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAffinityPrefer /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1033,7 +1034,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAffinityPrefer /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1047,7 +1048,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAffinityPrefer /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1068,7 +1069,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAffinityPrefer /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1120,7 +1121,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAffinityRequir /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1134,7 +1135,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAffinityRequir /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1154,7 +1155,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAffinityRequir /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1168,7 +1169,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAffinityRequir /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1184,7 +1185,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAffinityRequir } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -1209,7 +1210,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1220,7 +1221,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAntiAffinityPr } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1272,7 +1273,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAntiAffinityPr /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1286,7 +1287,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAntiAffinityPr /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1306,7 +1307,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAntiAffinityPr /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1320,7 +1321,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAntiAffinityPr /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1341,7 +1342,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAntiAffinityPr /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1393,7 +1394,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAntiAffinityRe /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1407,7 +1408,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAntiAffinityRe /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1427,7 +1428,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAntiAffinityRe /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1441,7 +1442,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAntiAffinityRe /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1457,7 +1458,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecAffinityPodAntiAffinityRe } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainers { /// Arguments to the entrypoint. /// The container image's CMD is used if this is not provided. @@ -1624,7 +1625,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -1645,7 +1646,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1664,7 +1665,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1680,7 +1681,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersEnvValueFromCon /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1692,7 +1693,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersEnvValueFromFie /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1705,7 +1706,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersEnvValueFromRes } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1720,7 +1721,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersEnvValueFromSec } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -1734,7 +1735,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -1747,7 +1748,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersEnvFromConfigMa } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -1761,7 +1762,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersEnvFromSecretRe /// Actions that the management system should take in response to container lifecycle events. /// Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, /// the container is terminated and restarted according to its restart policy. @@ -1786,7 +1787,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecycle { /// the container is terminated and restarted according to its restart policy. /// Other management of the container blocks until the hook completes. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1805,7 +1806,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecyclePostSt } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -1817,7 +1818,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecyclePostSt } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -1840,7 +1841,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecyclePostSt } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -1850,7 +1851,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecyclePostSt } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecyclePostStartSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -1859,7 +1860,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecyclePostSt /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1879,7 +1880,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecyclePostSt /// period (unless delayed by finalizers). Other management of the container blocks until the hook completes /// or until the termination grace period is reached. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1898,7 +1899,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecyclePreSto } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -1910,7 +1911,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecyclePreSto } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -1933,7 +1934,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecyclePreSto } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -1943,7 +1944,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecyclePreSto } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecyclePreStopSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -1952,7 +1953,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecyclePreSto /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1967,7 +1968,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLifecyclePreSto /// Container will be restarted if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2017,7 +2018,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2029,7 +2030,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLivenessProbeEx } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2043,7 +2044,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLivenessProbeGr } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2066,7 +2067,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLivenessProbeHt } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2076,7 +2077,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLivenessProbeHt } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2088,7 +2089,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersLivenessProbeTc } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersPorts { /// Number of port to expose on the pod's IP address. /// This must be a valid port number, 0 < x < 65536. @@ -2118,7 +2119,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersPorts { /// Container will be removed from service endpoints if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2168,7 +2169,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersReadinessProbe } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2180,7 +2181,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersReadinessProbeE } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2194,7 +2195,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersReadinessProbeG } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2217,7 +2218,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersReadinessProbeH } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2227,7 +2228,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersReadinessProbeH } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2239,7 +2240,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersReadinessProbeT } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. /// Supported values: cpu, memory. @@ -2254,7 +2255,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersResizePolicy { /// Compute Resources required by this container. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -2280,7 +2281,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -2291,7 +2292,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersResourcesClaims /// SecurityContext defines the security options the container should be run with. /// If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. /// More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -2371,7 +2372,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersSecurityContext /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2386,7 +2387,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersSecurityContext /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2406,7 +2407,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersSecurityContext /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -2429,7 +2430,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersSecurityContext /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -2460,7 +2461,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersSecurityContext /// when it might take a long time to load data or warm a cache, than during steady-state operation. /// This cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2510,7 +2511,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2522,7 +2523,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersStartupProbeExe } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2536,7 +2537,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersStartupProbeGrp } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2559,7 +2560,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersStartupProbeHtt } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersStartupProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2569,7 +2570,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersStartupProbeHtt } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2581,7 +2582,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersStartupProbeTcp } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -2591,7 +2592,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -2624,7 +2625,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecContainersVolumeMounts { /// Specifies the DNS parameters of a pod. /// Parameters specified here will be merged to the generated DNS /// configuration based on DNSPolicy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecDnsConfig { /// A list of DNS name server IP addresses. /// This will be appended to the base nameservers generated from DNSPolicy. @@ -2645,7 +2646,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecDnsConfig { } /// PodDNSConfigOption defines DNS resolver options of a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecDnsConfigOptions { /// Required. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2663,7 +2664,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecDnsConfigOptions { /// /// To add an ephemeral container, use the ephemeralcontainers subresource of an existing /// Pod. Ephemeral containers may not be removed or restarted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainers { /// Arguments to the entrypoint. /// The image's CMD is used if this is not provided. @@ -2804,7 +2805,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -2825,7 +2826,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -2844,7 +2845,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersEnvVal } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -2860,7 +2861,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersEnvVal /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2872,7 +2873,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersEnvVal /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2885,7 +2886,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersEnvVal } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2900,7 +2901,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersEnvVal } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -2914,7 +2915,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersEnvFro } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -2927,7 +2928,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersEnvFro } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -2940,7 +2941,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersEnvFro } /// Lifecycle is not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, /// the container is terminated and restarted according to its restart policy. @@ -2965,7 +2966,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecy /// the container is terminated and restarted according to its restart policy. /// Other management of the container blocks until the hook completes. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2984,7 +2985,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecy } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2996,7 +2997,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecy } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -3019,7 +3020,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecy } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -3029,7 +3030,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecy } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecyclePostStartSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -3038,7 +3039,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecy /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3058,7 +3059,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecy /// period (unless delayed by finalizers). Other management of the container blocks until the hook completes /// or until the termination grace period is reached. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3077,7 +3078,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecy } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -3089,7 +3090,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecy } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -3112,7 +3113,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecy } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -3122,7 +3123,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecy } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecyclePreStopSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -3131,7 +3132,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecy /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3143,7 +3144,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLifecy } /// Probes are not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3193,7 +3194,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLivene } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -3205,7 +3206,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLivene } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3219,7 +3220,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLivene } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -3242,7 +3243,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLivene } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -3252,7 +3253,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLivene } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3264,7 +3265,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersLivene } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersPorts { /// Number of port to expose on the pod's IP address. /// This must be a valid port number, 0 < x < 65536. @@ -3291,7 +3292,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersPorts } /// Probes are not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3341,7 +3342,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersReadin } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -3353,7 +3354,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersReadin } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3367,7 +3368,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersReadin } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -3390,7 +3391,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersReadin } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -3400,7 +3401,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersReadin } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3412,7 +3413,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersReadin } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. /// Supported values: cpu, memory. @@ -3426,7 +3427,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersResize /// Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources /// already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -3452,7 +3453,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersResour } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -3462,7 +3463,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersResour /// Optional: SecurityContext defines the security options the ephemeral container should be run with. /// If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -3542,7 +3543,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersSecuri /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3557,7 +3558,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersSecuri /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3577,7 +3578,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersSecuri /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -3600,7 +3601,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersSecuri /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -3625,7 +3626,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersSecuri } /// Probes are not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3675,7 +3676,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersStartu } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -3687,7 +3688,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersStartu } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3701,7 +3702,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersStartu } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -3724,7 +3725,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersStartu } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersStartupProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -3734,7 +3735,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersStartu } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3746,7 +3747,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersStartu } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -3756,7 +3757,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersVolume } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -3788,7 +3789,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecEphemeralContainersVolume /// HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the /// pod's hosts file. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecHostAliases { /// Hostnames for the above IP address. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3800,7 +3801,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecHostAliases { /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecImagePullSecrets { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -3810,7 +3811,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecImagePullSecrets { } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainers { /// Arguments to the entrypoint. /// The container image's CMD is used if this is not provided. @@ -3977,7 +3978,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -3998,7 +3999,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -4017,7 +4018,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersEnvValueFro } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -4033,7 +4034,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersEnvValueFro /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4045,7 +4046,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersEnvValueFro /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -4058,7 +4059,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersEnvValueFro } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4073,7 +4074,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersEnvValueFro } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -4087,7 +4088,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -4100,7 +4101,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersEnvFromConf } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -4114,7 +4115,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersEnvFromSecr /// Actions that the management system should take in response to container lifecycle events. /// Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, /// the container is terminated and restarted according to its restart policy. @@ -4139,7 +4140,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecycle { /// the container is terminated and restarted according to its restart policy. /// Other management of the container blocks until the hook completes. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4158,7 +4159,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecyclePo } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4170,7 +4171,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecyclePo } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4193,7 +4194,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecyclePo } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4203,7 +4204,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecyclePo } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecyclePostStartSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -4212,7 +4213,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecyclePo /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4232,7 +4233,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecyclePo /// period (unless delayed by finalizers). Other management of the container blocks until the hook completes /// or until the termination grace period is reached. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4251,7 +4252,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecyclePr } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4263,7 +4264,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecyclePr } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4286,7 +4287,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecyclePr } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4296,7 +4297,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecyclePr } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecyclePreStopSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -4305,7 +4306,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecyclePr /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4320,7 +4321,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLifecyclePr /// Container will be restarted if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4370,7 +4371,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLivenessPro } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4382,7 +4383,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLivenessPro } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4396,7 +4397,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLivenessPro } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4419,7 +4420,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLivenessPro } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4429,7 +4430,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLivenessPro } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4441,7 +4442,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersLivenessPro } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersPorts { /// Number of port to expose on the pod's IP address. /// This must be a valid port number, 0 < x < 65536. @@ -4471,7 +4472,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersPorts { /// Container will be removed from service endpoints if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4521,7 +4522,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersReadinessPr } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4533,7 +4534,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersReadinessPr } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4547,7 +4548,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersReadinessPr } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4570,7 +4571,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersReadinessPr } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4580,7 +4581,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersReadinessPr } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4592,7 +4593,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersReadinessPr } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. /// Supported values: cpu, memory. @@ -4607,7 +4608,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersResizePolic /// Compute Resources required by this container. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -4633,7 +4634,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -4644,7 +4645,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersResourcesCl /// SecurityContext defines the security options the container should be run with. /// If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. /// More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -4724,7 +4725,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersSecurityCon /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4739,7 +4740,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersSecurityCon /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4759,7 +4760,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersSecurityCon /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -4782,7 +4783,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersSecurityCon /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -4813,7 +4814,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersSecurityCon /// when it might take a long time to load data or warm a cache, than during steady-state operation. /// This cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4863,7 +4864,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersStartupProb } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4875,7 +4876,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersStartupProb } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4889,7 +4890,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersStartupProb } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4912,7 +4913,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersStartupProb } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4922,7 +4923,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersStartupProb } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4934,7 +4935,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersStartupProb } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -4944,7 +4945,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersVolumeDevic } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -5004,7 +5005,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecInitContainersVolumeMount /// - spec.containers[*].securityContext.procMount /// - spec.containers[*].securityContext.runAsUser /// - spec.containers[*].securityContext.runAsGroup -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecOs { /// Name is the name of the operating system. The currently supported values are linux and windows. /// Additional value may be defined in future and can be one of: @@ -5014,7 +5015,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecOs { } /// PodReadinessGate contains the reference to a pod condition -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecReadinessGates { /// ConditionType refers to a condition in the pod's condition list with matching type. #[serde(rename = "conditionType")] @@ -5024,7 +5025,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecReadinessGates { /// PodResourceClaim references exactly one ResourceClaim through a ClaimSource. /// It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. /// Containers that need access to the ResourceClaim reference it with this name. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecResourceClaims { /// Name uniquely identifies this resource claim inside the pod. /// This must be a DNS_LABEL. @@ -5035,7 +5036,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecResourceClaims { } /// Source describes where to find the ResourceClaim. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecResourceClaimsSource { /// ResourceClaimName is the name of a ResourceClaim object in the same /// namespace as this pod. @@ -5060,7 +5061,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecResourceClaimsSource { } /// PodSchedulingGate is associated to a Pod to guard its scheduling. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecSchedulingGates { /// Name of the scheduling gate. /// Each scheduling gate must have a unique name field. @@ -5069,7 +5070,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecSchedulingGates { /// SecurityContext holds pod-level security attributes and common container settings. /// Optional: Defaults to empty. See type description for default values of each field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecSecurityContext { /// A special supplemental group that applies to all containers in a pod. /// Some volume types allow the Kubelet to change the ownership of that volume @@ -5158,7 +5159,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecSecurityContext { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5176,7 +5177,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecSecurityContextSeLinuxOpt /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -5196,7 +5197,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecSecurityContextSeccompPro } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -5208,7 +5209,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -5234,7 +5235,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecSecurityContextWindowsOpt /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -5263,7 +5264,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods @@ -5385,7 +5386,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecTopologySpreadConstraints /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods /// in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5399,7 +5400,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecTopologySpreadConstraints /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5415,7 +5416,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecTopologySpreadConstraints } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. @@ -5565,7 +5566,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -5591,7 +5592,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesAwsElasticBlockSto } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -5617,7 +5618,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force /// the ReadOnly setting in VolumeMounts. @@ -5632,7 +5633,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it @@ -5661,7 +5662,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesCephfs { /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesCephfsSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -5672,7 +5673,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesCephfsSecretRef { /// cinder represents a cinder volume attached and mounted on kubelets host machine. /// More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesCinder { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -5697,7 +5698,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesCinder { /// secretRef is optional: points to a secret object containing parameters used to connect /// to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesCinderSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -5707,7 +5708,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -5738,7 +5739,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -5758,7 +5759,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesCsi { /// driver is the name of the CSI driver that handles this volume. /// Consult with your admin for the correct name as registered in the cluster. @@ -5790,7 +5791,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesCsi { /// NodePublishVolume and NodeUnpublishVolume calls. /// This field is optional, and may be empty if no secret is required. If the /// secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesCsiNodePublishSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -5800,7 +5801,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesCsiNodePublishSecr } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a /// Optional: mode bits used to set permissions on created files by default. @@ -5818,7 +5819,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -5840,7 +5841,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -5852,7 +5853,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesDownwardApiItemsFi /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -5866,7 +5867,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesDownwardApiItemsRe /// emptyDir represents a temporary directory that shares a pod's lifetime. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. /// The default is "" which means to use the node's default medium. @@ -5912,7 +5913,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesEmptyDir { /// /// A pod can use both types of ephemeral volumes and /// persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. /// The pod in which this EphemeralVolumeSource is embedded will be the @@ -5966,7 +5967,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesEphemeral { /// /// /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during @@ -5983,7 +5984,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesEphemeralVolumeCla /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during /// validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -6001,7 +6002,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesEphemeralVolumeCla /// copied unchanged into the PVC that gets created from this /// template. The same fields as in a PersistentVolumeClaim /// are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -6087,7 +6088,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesEphemeralVolumeCla /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -6123,7 +6124,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesEphemeralVolumeCla /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -6146,7 +6147,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesEphemeralVolumeCla /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -6161,7 +6162,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesEphemeralVolumeCla } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6175,7 +6176,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesEphemeralVolumeCla /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6191,7 +6192,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesEphemeralVolumeCla } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesFc { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -6217,7 +6218,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesFc { /// flexVolume represents a generic volume resource that is /// provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -6247,7 +6248,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesFlexVolume { /// empty if no secret object is specified. If the secret object /// contains more than one secret, all secrets are passed to the plugin /// scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesFlexVolumeSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -6257,7 +6258,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesFlexVolumeSecretRe } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker /// should be considered as deprecated @@ -6271,7 +6272,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesFlocker { /// gcePersistentDisk represents a GCE Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -6302,7 +6303,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesGcePersistentDisk /// DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an /// EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir /// into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesGitRepo { /// directory is the target directory name. /// Must not contain or start with '..'. If '.' is supplied, the volume directory will be the @@ -6319,7 +6320,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesGitRepo { /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod @@ -6342,7 +6343,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesGlusterfs { /// --- /// TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not /// mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesHostPath { /// path of the directory on the host. /// If the path is a symlink, it will follow the link to the real path. @@ -6358,7 +6359,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesHostPath { /// iscsi represents an ISCSI Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -6404,7 +6405,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesIscsiSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -6415,7 +6416,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesIscsiSecretRef { /// nfs represents an NFS mount on the host that shares a pod's lifetime /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesNfs { /// path that is exported by the NFS server. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs @@ -6433,7 +6434,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesNfs { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -6446,7 +6447,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesPersistentVolumeCl } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -6459,7 +6460,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesPhotonPersistentDi } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesPortworxVolume { /// fSType represents the filesystem type to mount /// Must be a filesystem type supported by the host operating system. @@ -6476,7 +6477,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -6492,7 +6493,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSources { /// ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field /// of ClusterTrustBundle objects in an auto-updating file. @@ -6542,7 +6543,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSources { /// comments and block headers are stripped. Certificates are deduplicated. /// The ordering of certificates within the file is arbitrary, and Kubelet /// may change the order over time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSourcesClusterTrustBundle { /// Select all ClusterTrustBundles that match this label selector. Only has /// effect if signerName is set. Mutually-exclusive with name. If unset, @@ -6574,7 +6575,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSourcesCl /// effect if signerName is set. Mutually-exclusive with name. If unset, /// interpreted as "match nothing". If set but empty, interpreted as "match /// everything". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSourcesClusterTrustBundleLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6588,7 +6589,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSourcesCl /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSourcesClusterTrustBundleLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6604,7 +6605,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSourcesCl } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced /// ConfigMap will be projected into the volume as a file whose name is the @@ -6626,7 +6627,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSourcesCo } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -6646,7 +6647,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSourcesCo } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6654,7 +6655,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSourcesDo } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -6676,7 +6677,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSourcesDo } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -6688,7 +6689,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSourcesDo /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -6701,7 +6702,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSourcesDo } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced /// Secret will be projected into the volume as a file whose name is the @@ -6723,7 +6724,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSourcesSe } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -6743,7 +6744,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSourcesSe } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token /// must identify itself with an identifier specified in the audience of the @@ -6765,7 +6766,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesProjectedSourcesSe } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesQuobyte { /// group to map volume access to /// Default is no group @@ -6793,7 +6794,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesQuobyte { /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -6840,7 +6841,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesRbd { /// overrides keyring. /// Default is nil. /// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesRbdSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -6850,7 +6851,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesScaleIo { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -6891,7 +6892,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesScaleIo { /// secretRef references to the secret for ScaleIO user and other /// sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesScaleIoSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -6902,7 +6903,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesScaleIoSecretRef { /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -6932,7 +6933,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesSecretItems { /// key is the key to project. pub key: String, @@ -6952,7 +6953,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesStorageos { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -6983,7 +6984,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesStorageos { /// secretRef specifies the secret to use for obtaining the StorageOS API /// credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesStorageosSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -6993,7 +6994,7 @@ pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesStorageosSecretRef } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetReplicatedJobsTemplateSpecTemplateSpecVolumesVsphereVolume { /// fsType is filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -7054,7 +7055,7 @@ pub enum JobSetSuccessPolicyOperator { } /// JobSetStatus defines the observed state of JobSet -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, @@ -7070,7 +7071,7 @@ pub struct JobSetStatus { } /// ReplicatedJobStatus defines the observed ReplicatedJobs Readiness. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct JobSetStatusReplicatedJobsStatus { /// Active is the number of child Jobs with at least 1 pod in a running or pending state /// which are not marked for deletion. diff --git a/kube-custom-resources-rs/src/jobsmanager_raczylo_com/v1beta1/managedjobs.rs b/kube-custom-resources-rs/src/jobsmanager_raczylo_com/v1beta1/managedjobs.rs index ca1c019de..f16bed912 100644 --- a/kube-custom-resources-rs/src/jobsmanager_raczylo_com/v1beta1/managedjobs.rs +++ b/kube-custom-resources-rs/src/jobsmanager_raczylo_com/v1beta1/managedjobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/lukaszraczylo/jobs-manager-operator/jobsmanager.raczylo.com/v1beta1/managedjobs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/lukaszraczylo/jobs-manager-operator/jobsmanager.raczylo.com/v1beta1/managedjobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/k6_io/v1alpha1/k6s.rs b/kube-custom-resources-rs/src/k6_io/v1alpha1/k6s.rs index b3135f584..02c1711fd 100644 --- a/kube-custom-resources-rs/src/k6_io/v1alpha1/k6s.rs +++ b/kube-custom-resources-rs/src/k6_io/v1alpha1/k6s.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/grafana/k6-operator/k6.io/v1alpha1/k6s.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/grafana/k6-operator/k6.io/v1alpha1/k6s.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "k6.io", version = "v1alpha1", kind = "K6", plural = "k6s")] #[kube(namespaced)] #[kube(status = "K6Status")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct K6Spec { #[serde(default, skip_serializing_if = "Option::is_none")] @@ -53,7 +54,7 @@ pub enum K6Cleanup { Post, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6Initializer { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -97,7 +98,7 @@ pub struct K6Initializer { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -107,7 +108,7 @@ pub struct K6InitializerAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -115,13 +116,13 @@ pub struct K6InitializerAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: K6InitializerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -129,7 +130,7 @@ pub struct K6InitializerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuri pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -137,7 +138,7 @@ pub struct K6InitializerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -145,13 +146,13 @@ pub struct K6InitializerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -159,7 +160,7 @@ pub struct K6InitializerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDurin pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -167,7 +168,7 @@ pub struct K6InitializerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDurin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -175,7 +176,7 @@ pub struct K6InitializerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDurin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -183,14 +184,14 @@ pub struct K6InitializerAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: K6InitializerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -202,7 +203,7 @@ pub struct K6InitializerAffinityPodAffinityPreferredDuringSchedulingIgnoredDurin pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -210,7 +211,7 @@ pub struct K6InitializerAffinityPodAffinityPreferredDuringSchedulingIgnoredDurin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -218,7 +219,7 @@ pub struct K6InitializerAffinityPodAffinityPreferredDuringSchedulingIgnoredDurin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -226,7 +227,7 @@ pub struct K6InitializerAffinityPodAffinityPreferredDuringSchedulingIgnoredDurin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -234,7 +235,7 @@ pub struct K6InitializerAffinityPodAffinityPreferredDuringSchedulingIgnoredDurin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -246,7 +247,7 @@ pub struct K6InitializerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuring pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -254,7 +255,7 @@ pub struct K6InitializerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuring pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -262,7 +263,7 @@ pub struct K6InitializerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuring pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -270,7 +271,7 @@ pub struct K6InitializerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuring pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -278,7 +279,7 @@ pub struct K6InitializerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuring pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -286,14 +287,14 @@ pub struct K6InitializerAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: K6InitializerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -305,7 +306,7 @@ pub struct K6InitializerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredD pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -313,7 +314,7 @@ pub struct K6InitializerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredD pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -321,7 +322,7 @@ pub struct K6InitializerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredD pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -329,7 +330,7 @@ pub struct K6InitializerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredD pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -337,7 +338,7 @@ pub struct K6InitializerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredD pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -349,7 +350,7 @@ pub struct K6InitializerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDu pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -357,7 +358,7 @@ pub struct K6InitializerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -365,7 +366,7 @@ pub struct K6InitializerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -373,7 +374,7 @@ pub struct K6InitializerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -381,7 +382,7 @@ pub struct K6InitializerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -407,7 +408,7 @@ pub struct K6InitializerContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -415,7 +416,7 @@ pub struct K6InitializerContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -427,7 +428,7 @@ pub struct K6InitializerContainerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -435,7 +436,7 @@ pub struct K6InitializerContainerSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -447,7 +448,7 @@ pub struct K6InitializerContainerSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -456,7 +457,7 @@ pub struct K6InitializerEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -468,7 +469,7 @@ pub struct K6InitializerEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -477,7 +478,7 @@ pub struct K6InitializerEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -485,7 +486,7 @@ pub struct K6InitializerEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -494,7 +495,7 @@ pub struct K6InitializerEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -503,7 +504,7 @@ pub struct K6InitializerEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -513,7 +514,7 @@ pub struct K6InitializerEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -521,7 +522,7 @@ pub struct K6InitializerEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -529,13 +530,13 @@ pub struct K6InitializerEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -555,7 +556,7 @@ pub struct K6InitializerInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -564,7 +565,7 @@ pub struct K6InitializerInitContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -576,7 +577,7 @@ pub struct K6InitializerInitContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -585,7 +586,7 @@ pub struct K6InitializerInitContainersEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -593,7 +594,7 @@ pub struct K6InitializerInitContainersEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -602,7 +603,7 @@ pub struct K6InitializerInitContainersEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -611,7 +612,7 @@ pub struct K6InitializerInitContainersEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -621,7 +622,7 @@ pub struct K6InitializerInitContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -629,7 +630,7 @@ pub struct K6InitializerInitContainersEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -637,7 +638,7 @@ pub struct K6InitializerInitContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -652,7 +653,7 @@ pub struct K6InitializerInitContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -676,20 +677,20 @@ pub struct K6InitializerLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -702,20 +703,20 @@ pub struct K6InitializerLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -723,7 +724,7 @@ pub struct K6InitializerMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -747,20 +748,20 @@ pub struct K6InitializerReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -773,20 +774,20 @@ pub struct K6InitializerReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -796,12 +797,12 @@ pub struct K6InitializerResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -825,7 +826,7 @@ pub struct K6InitializerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -837,7 +838,7 @@ pub struct K6InitializerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -845,13 +846,13 @@ pub struct K6InitializerSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -863,7 +864,7 @@ pub struct K6InitializerSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -877,7 +878,7 @@ pub struct K6InitializerTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -897,7 +898,7 @@ pub struct K6InitializerTopologySpreadConstraints { pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -905,7 +906,7 @@ pub struct K6InitializerTopologySpreadConstraintsLabelSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -913,7 +914,7 @@ pub struct K6InitializerTopologySpreadConstraintsLabelSelectorMatchExpressions { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -928,7 +929,7 @@ pub struct K6InitializerVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -991,7 +992,7 @@ pub struct K6InitializerVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1003,7 +1004,7 @@ pub struct K6InitializerVolumesAwsElasticBlockStore { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -1019,7 +1020,7 @@ pub struct K6InitializerVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -1029,7 +1030,7 @@ pub struct K6InitializerVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1044,13 +1045,13 @@ pub struct K6InitializerVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1062,13 +1063,13 @@ pub struct K6InitializerVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1080,7 +1081,7 @@ pub struct K6InitializerVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1088,7 +1089,7 @@ pub struct K6InitializerVolumesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1101,13 +1102,13 @@ pub struct K6InitializerVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1115,7 +1116,7 @@ pub struct K6InitializerVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -1126,7 +1127,7 @@ pub struct K6InitializerVolumesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1134,7 +1135,7 @@ pub struct K6InitializerVolumesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1143,7 +1144,7 @@ pub struct K6InitializerVolumesDownwardApiItemsResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -1151,24 +1152,24 @@ pub struct K6InitializerVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: K6InitializerVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesEphemeralVolumeClaimTemplateMetadata { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -1188,7 +1189,7 @@ pub struct K6InitializerVolumesEphemeralVolumeClaimTemplateSpec { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -1196,7 +1197,7 @@ pub struct K6InitializerVolumesEphemeralVolumeClaimTemplateSpecDataSource { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -1206,7 +1207,7 @@ pub struct K6InitializerVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -1216,12 +1217,12 @@ pub struct K6InitializerVolumesEphemeralVolumeClaimTemplateSpecResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1229,7 +1230,7 @@ pub struct K6InitializerVolumesEphemeralVolumeClaimTemplateSpecSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1237,7 +1238,7 @@ pub struct K6InitializerVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpr pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1251,7 +1252,7 @@ pub struct K6InitializerVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1264,13 +1265,13 @@ pub struct K6InitializerVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -1278,7 +1279,7 @@ pub struct K6InitializerVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1290,7 +1291,7 @@ pub struct K6InitializerVolumesGcePersistentDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -1299,7 +1300,7 @@ pub struct K6InitializerVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -1307,14 +1308,14 @@ pub struct K6InitializerVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -1338,13 +1339,13 @@ pub struct K6InitializerVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -1352,7 +1353,7 @@ pub struct K6InitializerVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -1360,7 +1361,7 @@ pub struct K6InitializerVolumesPersistentVolumeClaim { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1368,7 +1369,7 @@ pub struct K6InitializerVolumesPhotonPersistentDisk { pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1378,7 +1379,7 @@ pub struct K6InitializerVolumesPortworxVolume { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1386,7 +1387,7 @@ pub struct K6InitializerVolumesProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -1398,7 +1399,7 @@ pub struct K6InitializerVolumesProjectedSources { pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -1408,7 +1409,7 @@ pub struct K6InitializerVolumesProjectedSourcesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1416,13 +1417,13 @@ pub struct K6InitializerVolumesProjectedSourcesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -1433,7 +1434,7 @@ pub struct K6InitializerVolumesProjectedSourcesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1441,7 +1442,7 @@ pub struct K6InitializerVolumesProjectedSourcesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1450,7 +1451,7 @@ pub struct K6InitializerVolumesProjectedSourcesDownwardApiItemsResourceFieldRef pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -1460,7 +1461,7 @@ pub struct K6InitializerVolumesProjectedSourcesSecret { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1468,7 +1469,7 @@ pub struct K6InitializerVolumesProjectedSourcesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -1477,7 +1478,7 @@ pub struct K6InitializerVolumesProjectedSourcesServiceAccountToken { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -1491,7 +1492,7 @@ pub struct K6InitializerVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1509,13 +1510,13 @@ pub struct K6InitializerVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1537,13 +1538,13 @@ pub struct K6InitializerVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1555,7 +1556,7 @@ pub struct K6InitializerVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1563,7 +1564,7 @@ pub struct K6InitializerVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1577,13 +1578,13 @@ pub struct K6InitializerVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6InitializerVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1595,7 +1596,7 @@ pub struct K6InitializerVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6Ports { #[serde(rename = "containerPort")] pub container_port: i32, @@ -1609,7 +1610,7 @@ pub struct K6Ports { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6Runner { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -1653,7 +1654,7 @@ pub struct K6Runner { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -1663,7 +1664,7 @@ pub struct K6RunnerAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -1671,13 +1672,13 @@ pub struct K6RunnerAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: K6RunnerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1685,7 +1686,7 @@ pub struct K6RunnerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExe pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -1693,7 +1694,7 @@ pub struct K6RunnerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExe pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -1701,13 +1702,13 @@ pub struct K6RunnerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExe pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1715,7 +1716,7 @@ pub struct K6RunnerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExec pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -1723,7 +1724,7 @@ pub struct K6RunnerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExec pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -1731,7 +1732,7 @@ pub struct K6RunnerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExec pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -1739,14 +1740,14 @@ pub struct K6RunnerAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: K6RunnerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1758,7 +1759,7 @@ pub struct K6RunnerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExec pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1766,7 +1767,7 @@ pub struct K6RunnerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExec pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1774,7 +1775,7 @@ pub struct K6RunnerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExec pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1782,7 +1783,7 @@ pub struct K6RunnerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExec pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1790,7 +1791,7 @@ pub struct K6RunnerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExec pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1802,7 +1803,7 @@ pub struct K6RunnerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecu pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1810,7 +1811,7 @@ pub struct K6RunnerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1818,7 +1819,7 @@ pub struct K6RunnerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1826,7 +1827,7 @@ pub struct K6RunnerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1834,7 +1835,7 @@ pub struct K6RunnerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -1842,14 +1843,14 @@ pub struct K6RunnerAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: K6RunnerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1861,7 +1862,7 @@ pub struct K6RunnerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuring pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1869,7 +1870,7 @@ pub struct K6RunnerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuring pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1877,7 +1878,7 @@ pub struct K6RunnerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuring pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1885,7 +1886,7 @@ pub struct K6RunnerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuring pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1893,7 +1894,7 @@ pub struct K6RunnerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuring pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1905,7 +1906,7 @@ pub struct K6RunnerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringE pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1913,7 +1914,7 @@ pub struct K6RunnerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringE pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1921,7 +1922,7 @@ pub struct K6RunnerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringE pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1929,7 +1930,7 @@ pub struct K6RunnerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringE pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1937,7 +1938,7 @@ pub struct K6RunnerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringE pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1963,7 +1964,7 @@ pub struct K6RunnerContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1971,7 +1972,7 @@ pub struct K6RunnerContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1983,7 +1984,7 @@ pub struct K6RunnerContainerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1991,7 +1992,7 @@ pub struct K6RunnerContainerSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2003,7 +2004,7 @@ pub struct K6RunnerContainerSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2012,7 +2013,7 @@ pub struct K6RunnerEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -2024,7 +2025,7 @@ pub struct K6RunnerEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2033,7 +2034,7 @@ pub struct K6RunnerEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2041,7 +2042,7 @@ pub struct K6RunnerEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2050,7 +2051,7 @@ pub struct K6RunnerEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2059,7 +2060,7 @@ pub struct K6RunnerEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -2069,7 +2070,7 @@ pub struct K6RunnerEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2077,7 +2078,7 @@ pub struct K6RunnerEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2085,13 +2086,13 @@ pub struct K6RunnerEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -2111,7 +2112,7 @@ pub struct K6RunnerInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2120,7 +2121,7 @@ pub struct K6RunnerInitContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -2132,7 +2133,7 @@ pub struct K6RunnerInitContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2141,7 +2142,7 @@ pub struct K6RunnerInitContainersEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2149,7 +2150,7 @@ pub struct K6RunnerInitContainersEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2158,7 +2159,7 @@ pub struct K6RunnerInitContainersEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2167,7 +2168,7 @@ pub struct K6RunnerInitContainersEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -2177,7 +2178,7 @@ pub struct K6RunnerInitContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2185,7 +2186,7 @@ pub struct K6RunnerInitContainersEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2193,7 +2194,7 @@ pub struct K6RunnerInitContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -2208,7 +2209,7 @@ pub struct K6RunnerInitContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2232,20 +2233,20 @@ pub struct K6RunnerLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2258,20 +2259,20 @@ pub struct K6RunnerLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -2279,7 +2280,7 @@ pub struct K6RunnerMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2303,20 +2304,20 @@ pub struct K6RunnerReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2329,20 +2330,20 @@ pub struct K6RunnerReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2352,12 +2353,12 @@ pub struct K6RunnerResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -2381,7 +2382,7 @@ pub struct K6RunnerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2393,7 +2394,7 @@ pub struct K6RunnerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2401,13 +2402,13 @@ pub struct K6RunnerSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2419,7 +2420,7 @@ pub struct K6RunnerSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -2433,7 +2434,7 @@ pub struct K6RunnerTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -2453,7 +2454,7 @@ pub struct K6RunnerTopologySpreadConstraints { pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2461,7 +2462,7 @@ pub struct K6RunnerTopologySpreadConstraintsLabelSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2469,7 +2470,7 @@ pub struct K6RunnerTopologySpreadConstraintsLabelSelectorMatchExpressions { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -2484,7 +2485,7 @@ pub struct K6RunnerVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -2547,7 +2548,7 @@ pub struct K6RunnerVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2559,7 +2560,7 @@ pub struct K6RunnerVolumesAwsElasticBlockStore { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -2575,7 +2576,7 @@ pub struct K6RunnerVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -2585,7 +2586,7 @@ pub struct K6RunnerVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2600,13 +2601,13 @@ pub struct K6RunnerVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2618,13 +2619,13 @@ pub struct K6RunnerVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2636,7 +2637,7 @@ pub struct K6RunnerVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2644,7 +2645,7 @@ pub struct K6RunnerVolumesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2657,13 +2658,13 @@ pub struct K6RunnerVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2671,7 +2672,7 @@ pub struct K6RunnerVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -2682,7 +2683,7 @@ pub struct K6RunnerVolumesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2690,7 +2691,7 @@ pub struct K6RunnerVolumesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2699,7 +2700,7 @@ pub struct K6RunnerVolumesDownwardApiItemsResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -2707,24 +2708,24 @@ pub struct K6RunnerVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: K6RunnerVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesEphemeralVolumeClaimTemplateMetadata { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -2744,7 +2745,7 @@ pub struct K6RunnerVolumesEphemeralVolumeClaimTemplateSpec { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -2752,7 +2753,7 @@ pub struct K6RunnerVolumesEphemeralVolumeClaimTemplateSpecDataSource { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -2762,7 +2763,7 @@ pub struct K6RunnerVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2772,12 +2773,12 @@ pub struct K6RunnerVolumesEphemeralVolumeClaimTemplateSpecResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2785,7 +2786,7 @@ pub struct K6RunnerVolumesEphemeralVolumeClaimTemplateSpecSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2793,7 +2794,7 @@ pub struct K6RunnerVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressio pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2807,7 +2808,7 @@ pub struct K6RunnerVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2820,13 +2821,13 @@ pub struct K6RunnerVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -2834,7 +2835,7 @@ pub struct K6RunnerVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2846,7 +2847,7 @@ pub struct K6RunnerVolumesGcePersistentDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -2855,7 +2856,7 @@ pub struct K6RunnerVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -2863,14 +2864,14 @@ pub struct K6RunnerVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -2894,13 +2895,13 @@ pub struct K6RunnerVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -2908,7 +2909,7 @@ pub struct K6RunnerVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -2916,7 +2917,7 @@ pub struct K6RunnerVolumesPersistentVolumeClaim { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2924,7 +2925,7 @@ pub struct K6RunnerVolumesPhotonPersistentDisk { pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2934,7 +2935,7 @@ pub struct K6RunnerVolumesPortworxVolume { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2942,7 +2943,7 @@ pub struct K6RunnerVolumesProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -2954,7 +2955,7 @@ pub struct K6RunnerVolumesProjectedSources { pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -2964,7 +2965,7 @@ pub struct K6RunnerVolumesProjectedSourcesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2972,13 +2973,13 @@ pub struct K6RunnerVolumesProjectedSourcesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -2989,7 +2990,7 @@ pub struct K6RunnerVolumesProjectedSourcesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2997,7 +2998,7 @@ pub struct K6RunnerVolumesProjectedSourcesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3006,7 +3007,7 @@ pub struct K6RunnerVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -3016,7 +3017,7 @@ pub struct K6RunnerVolumesProjectedSourcesSecret { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3024,7 +3025,7 @@ pub struct K6RunnerVolumesProjectedSourcesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -3033,7 +3034,7 @@ pub struct K6RunnerVolumesProjectedSourcesServiceAccountToken { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -3047,7 +3048,7 @@ pub struct K6RunnerVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3065,13 +3066,13 @@ pub struct K6RunnerVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3093,13 +3094,13 @@ pub struct K6RunnerVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3111,7 +3112,7 @@ pub struct K6RunnerVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3119,7 +3120,7 @@ pub struct K6RunnerVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3133,13 +3134,13 @@ pub struct K6RunnerVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6RunnerVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3151,7 +3152,7 @@ pub struct K6RunnerVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6Script { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -3161,21 +3162,21 @@ pub struct K6Script { pub volume_claim: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6ScriptConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub file: Option, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6ScriptVolumeClaim { #[serde(default, skip_serializing_if = "Option::is_none")] pub file: Option, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6Scuttle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "disableLogging")] pub disable_logging: Option, @@ -3199,7 +3200,7 @@ pub struct K6Scuttle { pub wait_for_envoy_timeout: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6Starter { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -3243,7 +3244,7 @@ pub struct K6Starter { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -3253,7 +3254,7 @@ pub struct K6StarterAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3261,13 +3262,13 @@ pub struct K6StarterAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: K6StarterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3275,7 +3276,7 @@ pub struct K6StarterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringEx pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -3283,7 +3284,7 @@ pub struct K6StarterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringEx pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -3291,13 +3292,13 @@ pub struct K6StarterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringEx pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3305,7 +3306,7 @@ pub struct K6StarterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExe pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -3313,7 +3314,7 @@ pub struct K6StarterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExe pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -3321,7 +3322,7 @@ pub struct K6StarterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExe pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3329,14 +3330,14 @@ pub struct K6StarterAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: K6StarterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3348,7 +3349,7 @@ pub struct K6StarterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExe pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3356,7 +3357,7 @@ pub struct K6StarterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExe pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3364,7 +3365,7 @@ pub struct K6StarterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExe pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3372,7 +3373,7 @@ pub struct K6StarterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExe pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3380,7 +3381,7 @@ pub struct K6StarterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExe pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3392,7 +3393,7 @@ pub struct K6StarterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExec pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3400,7 +3401,7 @@ pub struct K6StarterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExec pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3408,7 +3409,7 @@ pub struct K6StarterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExec pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3416,7 +3417,7 @@ pub struct K6StarterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExec pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3424,7 +3425,7 @@ pub struct K6StarterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExec pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3432,14 +3433,14 @@ pub struct K6StarterAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: K6StarterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3451,7 +3452,7 @@ pub struct K6StarterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDurin pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3459,7 +3460,7 @@ pub struct K6StarterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDurin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3467,7 +3468,7 @@ pub struct K6StarterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDurin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3475,7 +3476,7 @@ pub struct K6StarterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDurin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3483,7 +3484,7 @@ pub struct K6StarterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDurin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3495,7 +3496,7 @@ pub struct K6StarterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuring pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3503,7 +3504,7 @@ pub struct K6StarterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuring pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3511,7 +3512,7 @@ pub struct K6StarterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuring pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3519,7 +3520,7 @@ pub struct K6StarterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuring pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3527,7 +3528,7 @@ pub struct K6StarterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuring pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -3553,7 +3554,7 @@ pub struct K6StarterContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -3561,7 +3562,7 @@ pub struct K6StarterContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -3573,7 +3574,7 @@ pub struct K6StarterContainerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -3581,7 +3582,7 @@ pub struct K6StarterContainerSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -3593,7 +3594,7 @@ pub struct K6StarterContainerSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3602,7 +3603,7 @@ pub struct K6StarterEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -3614,7 +3615,7 @@ pub struct K6StarterEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3623,7 +3624,7 @@ pub struct K6StarterEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3631,7 +3632,7 @@ pub struct K6StarterEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3640,7 +3641,7 @@ pub struct K6StarterEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3649,7 +3650,7 @@ pub struct K6StarterEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -3659,7 +3660,7 @@ pub struct K6StarterEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3667,7 +3668,7 @@ pub struct K6StarterEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3675,13 +3676,13 @@ pub struct K6StarterEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -3701,7 +3702,7 @@ pub struct K6StarterInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3710,7 +3711,7 @@ pub struct K6StarterInitContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -3722,7 +3723,7 @@ pub struct K6StarterInitContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3731,7 +3732,7 @@ pub struct K6StarterInitContainersEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3739,7 +3740,7 @@ pub struct K6StarterInitContainersEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3748,7 +3749,7 @@ pub struct K6StarterInitContainersEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3757,7 +3758,7 @@ pub struct K6StarterInitContainersEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -3767,7 +3768,7 @@ pub struct K6StarterInitContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3775,7 +3776,7 @@ pub struct K6StarterInitContainersEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3783,7 +3784,7 @@ pub struct K6StarterInitContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -3798,7 +3799,7 @@ pub struct K6StarterInitContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3822,20 +3823,20 @@ pub struct K6StarterLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3848,20 +3849,20 @@ pub struct K6StarterLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3869,7 +3870,7 @@ pub struct K6StarterMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3893,20 +3894,20 @@ pub struct K6StarterReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3919,20 +3920,20 @@ pub struct K6StarterReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -3942,12 +3943,12 @@ pub struct K6StarterResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -3971,7 +3972,7 @@ pub struct K6StarterSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -3983,7 +3984,7 @@ pub struct K6StarterSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -3991,13 +3992,13 @@ pub struct K6StarterSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4009,7 +4010,7 @@ pub struct K6StarterSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -4023,7 +4024,7 @@ pub struct K6StarterTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -4043,7 +4044,7 @@ pub struct K6StarterTopologySpreadConstraints { pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4051,7 +4052,7 @@ pub struct K6StarterTopologySpreadConstraintsLabelSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -4059,7 +4060,7 @@ pub struct K6StarterTopologySpreadConstraintsLabelSelectorMatchExpressions { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -4074,7 +4075,7 @@ pub struct K6StarterVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -4137,7 +4138,7 @@ pub struct K6StarterVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4149,7 +4150,7 @@ pub struct K6StarterVolumesAwsElasticBlockStore { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -4165,7 +4166,7 @@ pub struct K6StarterVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -4175,7 +4176,7 @@ pub struct K6StarterVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4190,13 +4191,13 @@ pub struct K6StarterVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4208,13 +4209,13 @@ pub struct K6StarterVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -4226,7 +4227,7 @@ pub struct K6StarterVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4234,7 +4235,7 @@ pub struct K6StarterVolumesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4247,13 +4248,13 @@ pub struct K6StarterVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -4261,7 +4262,7 @@ pub struct K6StarterVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -4272,7 +4273,7 @@ pub struct K6StarterVolumesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4280,7 +4281,7 @@ pub struct K6StarterVolumesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4289,7 +4290,7 @@ pub struct K6StarterVolumesDownwardApiItemsResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -4297,24 +4298,24 @@ pub struct K6StarterVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: K6StarterVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesEphemeralVolumeClaimTemplateMetadata { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -4334,7 +4335,7 @@ pub struct K6StarterVolumesEphemeralVolumeClaimTemplateSpec { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -4342,7 +4343,7 @@ pub struct K6StarterVolumesEphemeralVolumeClaimTemplateSpecDataSource { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -4352,7 +4353,7 @@ pub struct K6StarterVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -4362,12 +4363,12 @@ pub struct K6StarterVolumesEphemeralVolumeClaimTemplateSpecResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4375,7 +4376,7 @@ pub struct K6StarterVolumesEphemeralVolumeClaimTemplateSpecSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -4383,7 +4384,7 @@ pub struct K6StarterVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressi pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4397,7 +4398,7 @@ pub struct K6StarterVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4410,13 +4411,13 @@ pub struct K6StarterVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -4424,7 +4425,7 @@ pub struct K6StarterVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4436,7 +4437,7 @@ pub struct K6StarterVolumesGcePersistentDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -4445,7 +4446,7 @@ pub struct K6StarterVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -4453,14 +4454,14 @@ pub struct K6StarterVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -4484,13 +4485,13 @@ pub struct K6StarterVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -4498,7 +4499,7 @@ pub struct K6StarterVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -4506,7 +4507,7 @@ pub struct K6StarterVolumesPersistentVolumeClaim { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4514,7 +4515,7 @@ pub struct K6StarterVolumesPhotonPersistentDisk { pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4524,7 +4525,7 @@ pub struct K6StarterVolumesPortworxVolume { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -4532,7 +4533,7 @@ pub struct K6StarterVolumesProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -4544,7 +4545,7 @@ pub struct K6StarterVolumesProjectedSources { pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -4554,7 +4555,7 @@ pub struct K6StarterVolumesProjectedSourcesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4562,13 +4563,13 @@ pub struct K6StarterVolumesProjectedSourcesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -4579,7 +4580,7 @@ pub struct K6StarterVolumesProjectedSourcesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4587,7 +4588,7 @@ pub struct K6StarterVolumesProjectedSourcesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4596,7 +4597,7 @@ pub struct K6StarterVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -4606,7 +4607,7 @@ pub struct K6StarterVolumesProjectedSourcesSecret { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4614,7 +4615,7 @@ pub struct K6StarterVolumesProjectedSourcesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -4623,7 +4624,7 @@ pub struct K6StarterVolumesProjectedSourcesServiceAccountToken { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -4637,7 +4638,7 @@ pub struct K6StarterVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4655,13 +4656,13 @@ pub struct K6StarterVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4683,13 +4684,13 @@ pub struct K6StarterVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -4701,7 +4702,7 @@ pub struct K6StarterVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4709,7 +4710,7 @@ pub struct K6StarterVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4723,13 +4724,13 @@ pub struct K6StarterVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6StarterVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4741,7 +4742,7 @@ pub struct K6StarterVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct K6Status { #[serde(default, skip_serializing_if = "Option::is_none", rename = "aggregationVars")] pub aggregation_vars: Option, diff --git a/kube-custom-resources-rs/src/k6_io/v1alpha1/privateloadzones.rs b/kube-custom-resources-rs/src/k6_io/v1alpha1/privateloadzones.rs index 2d3e096c8..5fa076cca 100644 --- a/kube-custom-resources-rs/src/k6_io/v1alpha1/privateloadzones.rs +++ b/kube-custom-resources-rs/src/k6_io/v1alpha1/privateloadzones.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/grafana/k6-operator/k6.io/v1alpha1/privateloadzones.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/grafana/k6-operator/k6.io/v1alpha1/privateloadzones.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "k6.io", version = "v1alpha1", kind = "PrivateLoadZone", plural = "privateloadzones")] #[kube(namespaced)] #[kube(status = "PrivateLoadZoneStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PrivateLoadZoneSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelector")] @@ -27,7 +28,7 @@ pub struct PrivateLoadZoneSpec { pub token: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrivateLoadZoneResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -37,12 +38,12 @@ pub struct PrivateLoadZoneResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrivateLoadZoneResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrivateLoadZoneStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, diff --git a/kube-custom-resources-rs/src/k6_io/v1alpha1/testruns.rs b/kube-custom-resources-rs/src/k6_io/v1alpha1/testruns.rs index 1247a1a98..8ad7a01c5 100644 --- a/kube-custom-resources-rs/src/k6_io/v1alpha1/testruns.rs +++ b/kube-custom-resources-rs/src/k6_io/v1alpha1/testruns.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/grafana/k6-operator/k6.io/v1alpha1/testruns.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/grafana/k6-operator/k6.io/v1alpha1/testruns.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "k6.io", version = "v1alpha1", kind = "TestRun", plural = "testruns")] #[kube(namespaced)] #[kube(status = "TestRunStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct TestRunSpec { #[serde(default, skip_serializing_if = "Option::is_none")] @@ -53,7 +54,7 @@ pub enum TestRunCleanup { Post, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializer { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -97,7 +98,7 @@ pub struct TestRunInitializer { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -107,7 +108,7 @@ pub struct TestRunInitializerAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -115,13 +116,13 @@ pub struct TestRunInitializerAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: TestRunInitializerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -129,7 +130,7 @@ pub struct TestRunInitializerAffinityNodeAffinityPreferredDuringSchedulingIgnore pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -137,7 +138,7 @@ pub struct TestRunInitializerAffinityNodeAffinityPreferredDuringSchedulingIgnore pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -145,13 +146,13 @@ pub struct TestRunInitializerAffinityNodeAffinityPreferredDuringSchedulingIgnore pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -159,7 +160,7 @@ pub struct TestRunInitializerAffinityNodeAffinityRequiredDuringSchedulingIgnored pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -167,7 +168,7 @@ pub struct TestRunInitializerAffinityNodeAffinityRequiredDuringSchedulingIgnored pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -175,7 +176,7 @@ pub struct TestRunInitializerAffinityNodeAffinityRequiredDuringSchedulingIgnored pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -183,14 +184,14 @@ pub struct TestRunInitializerAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: TestRunInitializerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -202,7 +203,7 @@ pub struct TestRunInitializerAffinityPodAffinityPreferredDuringSchedulingIgnored pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -210,7 +211,7 @@ pub struct TestRunInitializerAffinityPodAffinityPreferredDuringSchedulingIgnored pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -218,7 +219,7 @@ pub struct TestRunInitializerAffinityPodAffinityPreferredDuringSchedulingIgnored pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -226,7 +227,7 @@ pub struct TestRunInitializerAffinityPodAffinityPreferredDuringSchedulingIgnored pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -234,7 +235,7 @@ pub struct TestRunInitializerAffinityPodAffinityPreferredDuringSchedulingIgnored pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -246,7 +247,7 @@ pub struct TestRunInitializerAffinityPodAffinityRequiredDuringSchedulingIgnoredD pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -254,7 +255,7 @@ pub struct TestRunInitializerAffinityPodAffinityRequiredDuringSchedulingIgnoredD pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -262,7 +263,7 @@ pub struct TestRunInitializerAffinityPodAffinityRequiredDuringSchedulingIgnoredD pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -270,7 +271,7 @@ pub struct TestRunInitializerAffinityPodAffinityRequiredDuringSchedulingIgnoredD pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -278,7 +279,7 @@ pub struct TestRunInitializerAffinityPodAffinityRequiredDuringSchedulingIgnoredD pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -286,14 +287,14 @@ pub struct TestRunInitializerAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: TestRunInitializerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -305,7 +306,7 @@ pub struct TestRunInitializerAffinityPodAntiAffinityPreferredDuringSchedulingIgn pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -313,7 +314,7 @@ pub struct TestRunInitializerAffinityPodAntiAffinityPreferredDuringSchedulingIgn pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -321,7 +322,7 @@ pub struct TestRunInitializerAffinityPodAntiAffinityPreferredDuringSchedulingIgn pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -329,7 +330,7 @@ pub struct TestRunInitializerAffinityPodAntiAffinityPreferredDuringSchedulingIgn pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -337,7 +338,7 @@ pub struct TestRunInitializerAffinityPodAntiAffinityPreferredDuringSchedulingIgn pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -349,7 +350,7 @@ pub struct TestRunInitializerAffinityPodAntiAffinityRequiredDuringSchedulingIgno pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -357,7 +358,7 @@ pub struct TestRunInitializerAffinityPodAntiAffinityRequiredDuringSchedulingIgno pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -365,7 +366,7 @@ pub struct TestRunInitializerAffinityPodAntiAffinityRequiredDuringSchedulingIgno pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -373,7 +374,7 @@ pub struct TestRunInitializerAffinityPodAntiAffinityRequiredDuringSchedulingIgno pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -381,7 +382,7 @@ pub struct TestRunInitializerAffinityPodAntiAffinityRequiredDuringSchedulingIgno pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -407,7 +408,7 @@ pub struct TestRunInitializerContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -415,7 +416,7 @@ pub struct TestRunInitializerContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -427,7 +428,7 @@ pub struct TestRunInitializerContainerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -435,7 +436,7 @@ pub struct TestRunInitializerContainerSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -447,7 +448,7 @@ pub struct TestRunInitializerContainerSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -456,7 +457,7 @@ pub struct TestRunInitializerEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -468,7 +469,7 @@ pub struct TestRunInitializerEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -477,7 +478,7 @@ pub struct TestRunInitializerEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -485,7 +486,7 @@ pub struct TestRunInitializerEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -494,7 +495,7 @@ pub struct TestRunInitializerEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -503,7 +504,7 @@ pub struct TestRunInitializerEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -513,7 +514,7 @@ pub struct TestRunInitializerEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -521,7 +522,7 @@ pub struct TestRunInitializerEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -529,13 +530,13 @@ pub struct TestRunInitializerEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -555,7 +556,7 @@ pub struct TestRunInitializerInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -564,7 +565,7 @@ pub struct TestRunInitializerInitContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -576,7 +577,7 @@ pub struct TestRunInitializerInitContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -585,7 +586,7 @@ pub struct TestRunInitializerInitContainersEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -593,7 +594,7 @@ pub struct TestRunInitializerInitContainersEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -602,7 +603,7 @@ pub struct TestRunInitializerInitContainersEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -611,7 +612,7 @@ pub struct TestRunInitializerInitContainersEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -621,7 +622,7 @@ pub struct TestRunInitializerInitContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -629,7 +630,7 @@ pub struct TestRunInitializerInitContainersEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -637,7 +638,7 @@ pub struct TestRunInitializerInitContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -652,7 +653,7 @@ pub struct TestRunInitializerInitContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -676,20 +677,20 @@ pub struct TestRunInitializerLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -702,20 +703,20 @@ pub struct TestRunInitializerLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -723,7 +724,7 @@ pub struct TestRunInitializerMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -747,20 +748,20 @@ pub struct TestRunInitializerReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -773,20 +774,20 @@ pub struct TestRunInitializerReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -796,12 +797,12 @@ pub struct TestRunInitializerResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -825,7 +826,7 @@ pub struct TestRunInitializerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -837,7 +838,7 @@ pub struct TestRunInitializerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -845,13 +846,13 @@ pub struct TestRunInitializerSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -863,7 +864,7 @@ pub struct TestRunInitializerSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -877,7 +878,7 @@ pub struct TestRunInitializerTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -897,7 +898,7 @@ pub struct TestRunInitializerTopologySpreadConstraints { pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -905,7 +906,7 @@ pub struct TestRunInitializerTopologySpreadConstraintsLabelSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -913,7 +914,7 @@ pub struct TestRunInitializerTopologySpreadConstraintsLabelSelectorMatchExpressi pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -928,7 +929,7 @@ pub struct TestRunInitializerVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -991,7 +992,7 @@ pub struct TestRunInitializerVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1003,7 +1004,7 @@ pub struct TestRunInitializerVolumesAwsElasticBlockStore { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -1019,7 +1020,7 @@ pub struct TestRunInitializerVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -1029,7 +1030,7 @@ pub struct TestRunInitializerVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1044,13 +1045,13 @@ pub struct TestRunInitializerVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1062,13 +1063,13 @@ pub struct TestRunInitializerVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1080,7 +1081,7 @@ pub struct TestRunInitializerVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1088,7 +1089,7 @@ pub struct TestRunInitializerVolumesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1101,13 +1102,13 @@ pub struct TestRunInitializerVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1115,7 +1116,7 @@ pub struct TestRunInitializerVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -1126,7 +1127,7 @@ pub struct TestRunInitializerVolumesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1134,7 +1135,7 @@ pub struct TestRunInitializerVolumesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1143,7 +1144,7 @@ pub struct TestRunInitializerVolumesDownwardApiItemsResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -1151,24 +1152,24 @@ pub struct TestRunInitializerVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: TestRunInitializerVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesEphemeralVolumeClaimTemplateMetadata { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -1188,7 +1189,7 @@ pub struct TestRunInitializerVolumesEphemeralVolumeClaimTemplateSpec { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -1196,7 +1197,7 @@ pub struct TestRunInitializerVolumesEphemeralVolumeClaimTemplateSpecDataSource { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -1206,7 +1207,7 @@ pub struct TestRunInitializerVolumesEphemeralVolumeClaimTemplateSpecDataSourceRe pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -1216,12 +1217,12 @@ pub struct TestRunInitializerVolumesEphemeralVolumeClaimTemplateSpecResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1229,7 +1230,7 @@ pub struct TestRunInitializerVolumesEphemeralVolumeClaimTemplateSpecSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1237,7 +1238,7 @@ pub struct TestRunInitializerVolumesEphemeralVolumeClaimTemplateSpecSelectorMatc pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1251,7 +1252,7 @@ pub struct TestRunInitializerVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1264,13 +1265,13 @@ pub struct TestRunInitializerVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -1278,7 +1279,7 @@ pub struct TestRunInitializerVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1290,7 +1291,7 @@ pub struct TestRunInitializerVolumesGcePersistentDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -1299,7 +1300,7 @@ pub struct TestRunInitializerVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -1307,14 +1308,14 @@ pub struct TestRunInitializerVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -1338,13 +1339,13 @@ pub struct TestRunInitializerVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -1352,7 +1353,7 @@ pub struct TestRunInitializerVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -1360,7 +1361,7 @@ pub struct TestRunInitializerVolumesPersistentVolumeClaim { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1368,7 +1369,7 @@ pub struct TestRunInitializerVolumesPhotonPersistentDisk { pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1378,7 +1379,7 @@ pub struct TestRunInitializerVolumesPortworxVolume { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1386,7 +1387,7 @@ pub struct TestRunInitializerVolumesProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -1398,7 +1399,7 @@ pub struct TestRunInitializerVolumesProjectedSources { pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -1408,7 +1409,7 @@ pub struct TestRunInitializerVolumesProjectedSourcesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1416,13 +1417,13 @@ pub struct TestRunInitializerVolumesProjectedSourcesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -1433,7 +1434,7 @@ pub struct TestRunInitializerVolumesProjectedSourcesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1441,7 +1442,7 @@ pub struct TestRunInitializerVolumesProjectedSourcesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1450,7 +1451,7 @@ pub struct TestRunInitializerVolumesProjectedSourcesDownwardApiItemsResourceFiel pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -1460,7 +1461,7 @@ pub struct TestRunInitializerVolumesProjectedSourcesSecret { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1468,7 +1469,7 @@ pub struct TestRunInitializerVolumesProjectedSourcesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -1477,7 +1478,7 @@ pub struct TestRunInitializerVolumesProjectedSourcesServiceAccountToken { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -1491,7 +1492,7 @@ pub struct TestRunInitializerVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1509,13 +1510,13 @@ pub struct TestRunInitializerVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1537,13 +1538,13 @@ pub struct TestRunInitializerVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1555,7 +1556,7 @@ pub struct TestRunInitializerVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1563,7 +1564,7 @@ pub struct TestRunInitializerVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1577,13 +1578,13 @@ pub struct TestRunInitializerVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunInitializerVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1595,7 +1596,7 @@ pub struct TestRunInitializerVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -1609,7 +1610,7 @@ pub struct TestRunPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunner { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -1653,7 +1654,7 @@ pub struct TestRunRunner { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -1663,7 +1664,7 @@ pub struct TestRunRunnerAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -1671,13 +1672,13 @@ pub struct TestRunRunnerAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: TestRunRunnerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1685,7 +1686,7 @@ pub struct TestRunRunnerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuri pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -1693,7 +1694,7 @@ pub struct TestRunRunnerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -1701,13 +1702,13 @@ pub struct TestRunRunnerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1715,7 +1716,7 @@ pub struct TestRunRunnerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDurin pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -1723,7 +1724,7 @@ pub struct TestRunRunnerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDurin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -1731,7 +1732,7 @@ pub struct TestRunRunnerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDurin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -1739,14 +1740,14 @@ pub struct TestRunRunnerAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: TestRunRunnerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1758,7 +1759,7 @@ pub struct TestRunRunnerAffinityPodAffinityPreferredDuringSchedulingIgnoredDurin pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1766,7 +1767,7 @@ pub struct TestRunRunnerAffinityPodAffinityPreferredDuringSchedulingIgnoredDurin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1774,7 +1775,7 @@ pub struct TestRunRunnerAffinityPodAffinityPreferredDuringSchedulingIgnoredDurin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1782,7 +1783,7 @@ pub struct TestRunRunnerAffinityPodAffinityPreferredDuringSchedulingIgnoredDurin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1790,7 +1791,7 @@ pub struct TestRunRunnerAffinityPodAffinityPreferredDuringSchedulingIgnoredDurin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1802,7 +1803,7 @@ pub struct TestRunRunnerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuring pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1810,7 +1811,7 @@ pub struct TestRunRunnerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuring pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1818,7 +1819,7 @@ pub struct TestRunRunnerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuring pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1826,7 +1827,7 @@ pub struct TestRunRunnerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuring pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1834,7 +1835,7 @@ pub struct TestRunRunnerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuring pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -1842,14 +1843,14 @@ pub struct TestRunRunnerAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: TestRunRunnerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1861,7 +1862,7 @@ pub struct TestRunRunnerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredD pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1869,7 +1870,7 @@ pub struct TestRunRunnerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredD pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1877,7 +1878,7 @@ pub struct TestRunRunnerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredD pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1885,7 +1886,7 @@ pub struct TestRunRunnerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredD pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1893,7 +1894,7 @@ pub struct TestRunRunnerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredD pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1905,7 +1906,7 @@ pub struct TestRunRunnerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDu pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1913,7 +1914,7 @@ pub struct TestRunRunnerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1921,7 +1922,7 @@ pub struct TestRunRunnerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1929,7 +1930,7 @@ pub struct TestRunRunnerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1937,7 +1938,7 @@ pub struct TestRunRunnerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1963,7 +1964,7 @@ pub struct TestRunRunnerContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1971,7 +1972,7 @@ pub struct TestRunRunnerContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1983,7 +1984,7 @@ pub struct TestRunRunnerContainerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1991,7 +1992,7 @@ pub struct TestRunRunnerContainerSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2003,7 +2004,7 @@ pub struct TestRunRunnerContainerSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2012,7 +2013,7 @@ pub struct TestRunRunnerEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -2024,7 +2025,7 @@ pub struct TestRunRunnerEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2033,7 +2034,7 @@ pub struct TestRunRunnerEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2041,7 +2042,7 @@ pub struct TestRunRunnerEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2050,7 +2051,7 @@ pub struct TestRunRunnerEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2059,7 +2060,7 @@ pub struct TestRunRunnerEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -2069,7 +2070,7 @@ pub struct TestRunRunnerEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2077,7 +2078,7 @@ pub struct TestRunRunnerEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2085,13 +2086,13 @@ pub struct TestRunRunnerEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -2111,7 +2112,7 @@ pub struct TestRunRunnerInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2120,7 +2121,7 @@ pub struct TestRunRunnerInitContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -2132,7 +2133,7 @@ pub struct TestRunRunnerInitContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2141,7 +2142,7 @@ pub struct TestRunRunnerInitContainersEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2149,7 +2150,7 @@ pub struct TestRunRunnerInitContainersEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2158,7 +2159,7 @@ pub struct TestRunRunnerInitContainersEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2167,7 +2168,7 @@ pub struct TestRunRunnerInitContainersEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -2177,7 +2178,7 @@ pub struct TestRunRunnerInitContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2185,7 +2186,7 @@ pub struct TestRunRunnerInitContainersEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2193,7 +2194,7 @@ pub struct TestRunRunnerInitContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -2208,7 +2209,7 @@ pub struct TestRunRunnerInitContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2232,20 +2233,20 @@ pub struct TestRunRunnerLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2258,20 +2259,20 @@ pub struct TestRunRunnerLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -2279,7 +2280,7 @@ pub struct TestRunRunnerMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2303,20 +2304,20 @@ pub struct TestRunRunnerReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2329,20 +2330,20 @@ pub struct TestRunRunnerReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2352,12 +2353,12 @@ pub struct TestRunRunnerResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -2381,7 +2382,7 @@ pub struct TestRunRunnerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2393,7 +2394,7 @@ pub struct TestRunRunnerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2401,13 +2402,13 @@ pub struct TestRunRunnerSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2419,7 +2420,7 @@ pub struct TestRunRunnerSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -2433,7 +2434,7 @@ pub struct TestRunRunnerTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -2453,7 +2454,7 @@ pub struct TestRunRunnerTopologySpreadConstraints { pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2461,7 +2462,7 @@ pub struct TestRunRunnerTopologySpreadConstraintsLabelSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2469,7 +2470,7 @@ pub struct TestRunRunnerTopologySpreadConstraintsLabelSelectorMatchExpressions { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -2484,7 +2485,7 @@ pub struct TestRunRunnerVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -2547,7 +2548,7 @@ pub struct TestRunRunnerVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2559,7 +2560,7 @@ pub struct TestRunRunnerVolumesAwsElasticBlockStore { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -2575,7 +2576,7 @@ pub struct TestRunRunnerVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -2585,7 +2586,7 @@ pub struct TestRunRunnerVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2600,13 +2601,13 @@ pub struct TestRunRunnerVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2618,13 +2619,13 @@ pub struct TestRunRunnerVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2636,7 +2637,7 @@ pub struct TestRunRunnerVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2644,7 +2645,7 @@ pub struct TestRunRunnerVolumesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2657,13 +2658,13 @@ pub struct TestRunRunnerVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2671,7 +2672,7 @@ pub struct TestRunRunnerVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -2682,7 +2683,7 @@ pub struct TestRunRunnerVolumesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2690,7 +2691,7 @@ pub struct TestRunRunnerVolumesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2699,7 +2700,7 @@ pub struct TestRunRunnerVolumesDownwardApiItemsResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -2707,24 +2708,24 @@ pub struct TestRunRunnerVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: TestRunRunnerVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesEphemeralVolumeClaimTemplateMetadata { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -2744,7 +2745,7 @@ pub struct TestRunRunnerVolumesEphemeralVolumeClaimTemplateSpec { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -2752,7 +2753,7 @@ pub struct TestRunRunnerVolumesEphemeralVolumeClaimTemplateSpecDataSource { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -2762,7 +2763,7 @@ pub struct TestRunRunnerVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2772,12 +2773,12 @@ pub struct TestRunRunnerVolumesEphemeralVolumeClaimTemplateSpecResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2785,7 +2786,7 @@ pub struct TestRunRunnerVolumesEphemeralVolumeClaimTemplateSpecSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2793,7 +2794,7 @@ pub struct TestRunRunnerVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpr pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2807,7 +2808,7 @@ pub struct TestRunRunnerVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2820,13 +2821,13 @@ pub struct TestRunRunnerVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -2834,7 +2835,7 @@ pub struct TestRunRunnerVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2846,7 +2847,7 @@ pub struct TestRunRunnerVolumesGcePersistentDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -2855,7 +2856,7 @@ pub struct TestRunRunnerVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -2863,14 +2864,14 @@ pub struct TestRunRunnerVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -2894,13 +2895,13 @@ pub struct TestRunRunnerVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -2908,7 +2909,7 @@ pub struct TestRunRunnerVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -2916,7 +2917,7 @@ pub struct TestRunRunnerVolumesPersistentVolumeClaim { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2924,7 +2925,7 @@ pub struct TestRunRunnerVolumesPhotonPersistentDisk { pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2934,7 +2935,7 @@ pub struct TestRunRunnerVolumesPortworxVolume { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2942,7 +2943,7 @@ pub struct TestRunRunnerVolumesProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -2954,7 +2955,7 @@ pub struct TestRunRunnerVolumesProjectedSources { pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -2964,7 +2965,7 @@ pub struct TestRunRunnerVolumesProjectedSourcesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2972,13 +2973,13 @@ pub struct TestRunRunnerVolumesProjectedSourcesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -2989,7 +2990,7 @@ pub struct TestRunRunnerVolumesProjectedSourcesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2997,7 +2998,7 @@ pub struct TestRunRunnerVolumesProjectedSourcesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3006,7 +3007,7 @@ pub struct TestRunRunnerVolumesProjectedSourcesDownwardApiItemsResourceFieldRef pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -3016,7 +3017,7 @@ pub struct TestRunRunnerVolumesProjectedSourcesSecret { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3024,7 +3025,7 @@ pub struct TestRunRunnerVolumesProjectedSourcesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -3033,7 +3034,7 @@ pub struct TestRunRunnerVolumesProjectedSourcesServiceAccountToken { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -3047,7 +3048,7 @@ pub struct TestRunRunnerVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3065,13 +3066,13 @@ pub struct TestRunRunnerVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3093,13 +3094,13 @@ pub struct TestRunRunnerVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3111,7 +3112,7 @@ pub struct TestRunRunnerVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3119,7 +3120,7 @@ pub struct TestRunRunnerVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3133,13 +3134,13 @@ pub struct TestRunRunnerVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunRunnerVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3151,7 +3152,7 @@ pub struct TestRunRunnerVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunScript { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -3161,21 +3162,21 @@ pub struct TestRunScript { pub volume_claim: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunScriptConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub file: Option, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunScriptVolumeClaim { #[serde(default, skip_serializing_if = "Option::is_none")] pub file: Option, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunScuttle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "disableLogging")] pub disable_logging: Option, @@ -3199,7 +3200,7 @@ pub struct TestRunScuttle { pub wait_for_envoy_timeout: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarter { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -3243,7 +3244,7 @@ pub struct TestRunStarter { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -3253,7 +3254,7 @@ pub struct TestRunStarterAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3261,13 +3262,13 @@ pub struct TestRunStarterAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: TestRunStarterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3275,7 +3276,7 @@ pub struct TestRunStarterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDur pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -3283,7 +3284,7 @@ pub struct TestRunStarterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -3291,13 +3292,13 @@ pub struct TestRunStarterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3305,7 +3306,7 @@ pub struct TestRunStarterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuri pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -3313,7 +3314,7 @@ pub struct TestRunStarterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -3321,7 +3322,7 @@ pub struct TestRunStarterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3329,14 +3330,14 @@ pub struct TestRunStarterAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: TestRunStarterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3348,7 +3349,7 @@ pub struct TestRunStarterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuri pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3356,7 +3357,7 @@ pub struct TestRunStarterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuri pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3364,7 +3365,7 @@ pub struct TestRunStarterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3372,7 +3373,7 @@ pub struct TestRunStarterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuri pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3380,7 +3381,7 @@ pub struct TestRunStarterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3392,7 +3393,7 @@ pub struct TestRunStarterAffinityPodAffinityRequiredDuringSchedulingIgnoredDurin pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3400,7 +3401,7 @@ pub struct TestRunStarterAffinityPodAffinityRequiredDuringSchedulingIgnoredDurin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3408,7 +3409,7 @@ pub struct TestRunStarterAffinityPodAffinityRequiredDuringSchedulingIgnoredDurin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3416,7 +3417,7 @@ pub struct TestRunStarterAffinityPodAffinityRequiredDuringSchedulingIgnoredDurin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3424,7 +3425,7 @@ pub struct TestRunStarterAffinityPodAffinityRequiredDuringSchedulingIgnoredDurin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3432,14 +3433,14 @@ pub struct TestRunStarterAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: TestRunStarterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3451,7 +3452,7 @@ pub struct TestRunStarterAffinityPodAntiAffinityPreferredDuringSchedulingIgnored pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3459,7 +3460,7 @@ pub struct TestRunStarterAffinityPodAntiAffinityPreferredDuringSchedulingIgnored pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3467,7 +3468,7 @@ pub struct TestRunStarterAffinityPodAntiAffinityPreferredDuringSchedulingIgnored pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3475,7 +3476,7 @@ pub struct TestRunStarterAffinityPodAntiAffinityPreferredDuringSchedulingIgnored pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3483,7 +3484,7 @@ pub struct TestRunStarterAffinityPodAntiAffinityPreferredDuringSchedulingIgnored pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3495,7 +3496,7 @@ pub struct TestRunStarterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredD pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3503,7 +3504,7 @@ pub struct TestRunStarterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredD pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3511,7 +3512,7 @@ pub struct TestRunStarterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredD pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3519,7 +3520,7 @@ pub struct TestRunStarterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredD pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3527,7 +3528,7 @@ pub struct TestRunStarterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredD pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -3553,7 +3554,7 @@ pub struct TestRunStarterContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -3561,7 +3562,7 @@ pub struct TestRunStarterContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -3573,7 +3574,7 @@ pub struct TestRunStarterContainerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -3581,7 +3582,7 @@ pub struct TestRunStarterContainerSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -3593,7 +3594,7 @@ pub struct TestRunStarterContainerSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3602,7 +3603,7 @@ pub struct TestRunStarterEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -3614,7 +3615,7 @@ pub struct TestRunStarterEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3623,7 +3624,7 @@ pub struct TestRunStarterEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3631,7 +3632,7 @@ pub struct TestRunStarterEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3640,7 +3641,7 @@ pub struct TestRunStarterEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3649,7 +3650,7 @@ pub struct TestRunStarterEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -3659,7 +3660,7 @@ pub struct TestRunStarterEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3667,7 +3668,7 @@ pub struct TestRunStarterEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3675,13 +3676,13 @@ pub struct TestRunStarterEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -3701,7 +3702,7 @@ pub struct TestRunStarterInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3710,7 +3711,7 @@ pub struct TestRunStarterInitContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -3722,7 +3723,7 @@ pub struct TestRunStarterInitContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3731,7 +3732,7 @@ pub struct TestRunStarterInitContainersEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3739,7 +3740,7 @@ pub struct TestRunStarterInitContainersEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3748,7 +3749,7 @@ pub struct TestRunStarterInitContainersEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3757,7 +3758,7 @@ pub struct TestRunStarterInitContainersEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -3767,7 +3768,7 @@ pub struct TestRunStarterInitContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3775,7 +3776,7 @@ pub struct TestRunStarterInitContainersEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3783,7 +3784,7 @@ pub struct TestRunStarterInitContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -3798,7 +3799,7 @@ pub struct TestRunStarterInitContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3822,20 +3823,20 @@ pub struct TestRunStarterLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3848,20 +3849,20 @@ pub struct TestRunStarterLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3869,7 +3870,7 @@ pub struct TestRunStarterMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3893,20 +3894,20 @@ pub struct TestRunStarterReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3919,20 +3920,20 @@ pub struct TestRunStarterReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -3942,12 +3943,12 @@ pub struct TestRunStarterResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -3971,7 +3972,7 @@ pub struct TestRunStarterSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -3983,7 +3984,7 @@ pub struct TestRunStarterSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -3991,13 +3992,13 @@ pub struct TestRunStarterSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4009,7 +4010,7 @@ pub struct TestRunStarterSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -4023,7 +4024,7 @@ pub struct TestRunStarterTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -4043,7 +4044,7 @@ pub struct TestRunStarterTopologySpreadConstraints { pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4051,7 +4052,7 @@ pub struct TestRunStarterTopologySpreadConstraintsLabelSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -4059,7 +4060,7 @@ pub struct TestRunStarterTopologySpreadConstraintsLabelSelectorMatchExpressions pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -4074,7 +4075,7 @@ pub struct TestRunStarterVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -4137,7 +4138,7 @@ pub struct TestRunStarterVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4149,7 +4150,7 @@ pub struct TestRunStarterVolumesAwsElasticBlockStore { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -4165,7 +4166,7 @@ pub struct TestRunStarterVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -4175,7 +4176,7 @@ pub struct TestRunStarterVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4190,13 +4191,13 @@ pub struct TestRunStarterVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4208,13 +4209,13 @@ pub struct TestRunStarterVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -4226,7 +4227,7 @@ pub struct TestRunStarterVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4234,7 +4235,7 @@ pub struct TestRunStarterVolumesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4247,13 +4248,13 @@ pub struct TestRunStarterVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -4261,7 +4262,7 @@ pub struct TestRunStarterVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -4272,7 +4273,7 @@ pub struct TestRunStarterVolumesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4280,7 +4281,7 @@ pub struct TestRunStarterVolumesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4289,7 +4290,7 @@ pub struct TestRunStarterVolumesDownwardApiItemsResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -4297,24 +4298,24 @@ pub struct TestRunStarterVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: TestRunStarterVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesEphemeralVolumeClaimTemplateMetadata { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -4334,7 +4335,7 @@ pub struct TestRunStarterVolumesEphemeralVolumeClaimTemplateSpec { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -4342,7 +4343,7 @@ pub struct TestRunStarterVolumesEphemeralVolumeClaimTemplateSpecDataSource { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -4352,7 +4353,7 @@ pub struct TestRunStarterVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -4362,12 +4363,12 @@ pub struct TestRunStarterVolumesEphemeralVolumeClaimTemplateSpecResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4375,7 +4376,7 @@ pub struct TestRunStarterVolumesEphemeralVolumeClaimTemplateSpecSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -4383,7 +4384,7 @@ pub struct TestRunStarterVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4397,7 +4398,7 @@ pub struct TestRunStarterVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -4410,13 +4411,13 @@ pub struct TestRunStarterVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -4424,7 +4425,7 @@ pub struct TestRunStarterVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4436,7 +4437,7 @@ pub struct TestRunStarterVolumesGcePersistentDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -4445,7 +4446,7 @@ pub struct TestRunStarterVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -4453,14 +4454,14 @@ pub struct TestRunStarterVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -4484,13 +4485,13 @@ pub struct TestRunStarterVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -4498,7 +4499,7 @@ pub struct TestRunStarterVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -4506,7 +4507,7 @@ pub struct TestRunStarterVolumesPersistentVolumeClaim { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4514,7 +4515,7 @@ pub struct TestRunStarterVolumesPhotonPersistentDisk { pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4524,7 +4525,7 @@ pub struct TestRunStarterVolumesPortworxVolume { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -4532,7 +4533,7 @@ pub struct TestRunStarterVolumesProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -4544,7 +4545,7 @@ pub struct TestRunStarterVolumesProjectedSources { pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -4554,7 +4555,7 @@ pub struct TestRunStarterVolumesProjectedSourcesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4562,13 +4563,13 @@ pub struct TestRunStarterVolumesProjectedSourcesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -4579,7 +4580,7 @@ pub struct TestRunStarterVolumesProjectedSourcesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4587,7 +4588,7 @@ pub struct TestRunStarterVolumesProjectedSourcesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4596,7 +4597,7 @@ pub struct TestRunStarterVolumesProjectedSourcesDownwardApiItemsResourceFieldRef pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -4606,7 +4607,7 @@ pub struct TestRunStarterVolumesProjectedSourcesSecret { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4614,7 +4615,7 @@ pub struct TestRunStarterVolumesProjectedSourcesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -4623,7 +4624,7 @@ pub struct TestRunStarterVolumesProjectedSourcesServiceAccountToken { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -4637,7 +4638,7 @@ pub struct TestRunStarterVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4655,13 +4656,13 @@ pub struct TestRunStarterVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4683,13 +4684,13 @@ pub struct TestRunStarterVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -4701,7 +4702,7 @@ pub struct TestRunStarterVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4709,7 +4710,7 @@ pub struct TestRunStarterVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4723,13 +4724,13 @@ pub struct TestRunStarterVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStarterVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4741,7 +4742,7 @@ pub struct TestRunStarterVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestRunStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "aggregationVars")] pub aggregation_vars: Option, diff --git a/kube-custom-resources-rs/src/k8gb_absa_oss/v1beta1/gslbs.rs b/kube-custom-resources-rs/src/k8gb_absa_oss/v1beta1/gslbs.rs index 1587ccd8a..504d34957 100644 --- a/kube-custom-resources-rs/src/k8gb_absa_oss/v1beta1/gslbs.rs +++ b/kube-custom-resources-rs/src/k8gb_absa_oss/v1beta1/gslbs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/k8gb-io/k8gb/k8gb.absa.oss/v1beta1/gslbs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/k8gb-io/k8gb/k8gb.absa.oss/v1beta1/gslbs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/k8s_keycloak_org/v2alpha1/keycloakrealmimports.rs b/kube-custom-resources-rs/src/k8s_keycloak_org/v2alpha1/keycloakrealmimports.rs index e4e9e2de6..ea6513e91 100644 --- a/kube-custom-resources-rs/src/k8s_keycloak_org/v2alpha1/keycloakrealmimports.rs +++ b/kube-custom-resources-rs/src/k8s_keycloak_org/v2alpha1/keycloakrealmimports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/keycloak/keycloak-k8s-resources/k8s.keycloak.org/v2alpha1/keycloakrealmimports.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/keycloak/keycloak-k8s-resources/k8s.keycloak.org/v2alpha1/keycloakrealmimports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/k8s_keycloak_org/v2alpha1/keycloaks.rs b/kube-custom-resources-rs/src/k8s_keycloak_org/v2alpha1/keycloaks.rs index 0ed09eb38..f704103e0 100644 --- a/kube-custom-resources-rs/src/k8s_keycloak_org/v2alpha1/keycloaks.rs +++ b/kube-custom-resources-rs/src/k8s_keycloak_org/v2alpha1/keycloaks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/keycloak/keycloak-k8s-resources/k8s.keycloak.org/v2alpha1/keycloaks.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/keycloak/keycloak-k8s-resources/k8s.keycloak.org/v2alpha1/keycloaks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/backups.rs b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/backups.rs index a8fb1313e..212af7b21 100644 --- a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/backups.rs +++ b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/backups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/backups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/backups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/connections.rs b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/connections.rs index ce5f2e350..51682378d 100644 --- a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/connections.rs +++ b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/connections.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/connections.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/connections.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/databases.rs b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/databases.rs index e70c41f76..a19fce54b 100644 --- a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/databases.rs +++ b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/databases.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/databases.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/databases.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/grants.rs b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/grants.rs index 94393f89d..384b46f16 100644 --- a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/grants.rs +++ b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/grants.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/grants.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/grants.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/mariadbs.rs b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/mariadbs.rs index aef50a12d..da21f1735 100644 --- a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/mariadbs.rs +++ b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/mariadbs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/mariadbs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/mariadbs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// MariaDBSpec defines the desired state of MariaDB -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "k8s.mariadb.com", version = "v1alpha1", kind = "MariaDB", plural = "mariadbs")] #[kube(namespaced)] #[kube(status = "MariaDBStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct MariaDBSpec { /// Affinity to be used in the Pod. @@ -174,7 +175,7 @@ pub struct MariaDBSpec { } /// Affinity to be used in the Pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinity { /// AntiAffinityEnabled configures PodAntiAffinity so each Pod is scheduled in a different Node, enabling HA. /// Make sure you have at least as many Nodes available as the replicas to not end up with unscheduled Pods. @@ -192,7 +193,7 @@ pub struct MariaDBAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -216,7 +217,7 @@ pub struct MariaDBAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: MariaDBAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -225,7 +226,7 @@ pub struct MariaDBAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExec } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -237,7 +238,7 @@ pub struct MariaDBAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExec /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -255,7 +256,7 @@ pub struct MariaDBAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExec /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -276,7 +277,7 @@ pub struct MariaDBAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExec /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -286,7 +287,7 @@ pub struct MariaDBAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecu /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -298,7 +299,7 @@ pub struct MariaDBAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecu /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -316,7 +317,7 @@ pub struct MariaDBAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecu /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -333,7 +334,7 @@ pub struct MariaDBAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecu } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -358,7 +359,7 @@ pub struct MariaDBAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -369,7 +370,7 @@ pub struct MariaDBAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -421,7 +422,7 @@ pub struct MariaDBAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -435,7 +436,7 @@ pub struct MariaDBAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -455,7 +456,7 @@ pub struct MariaDBAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -469,7 +470,7 @@ pub struct MariaDBAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -490,7 +491,7 @@ pub struct MariaDBAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -542,7 +543,7 @@ pub struct MariaDBAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -556,7 +557,7 @@ pub struct MariaDBAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -576,7 +577,7 @@ pub struct MariaDBAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -590,7 +591,7 @@ pub struct MariaDBAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -606,7 +607,7 @@ pub struct MariaDBAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -631,7 +632,7 @@ pub struct MariaDBAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -642,7 +643,7 @@ pub struct MariaDBAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -694,7 +695,7 @@ pub struct MariaDBAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -708,7 +709,7 @@ pub struct MariaDBAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -728,7 +729,7 @@ pub struct MariaDBAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -742,7 +743,7 @@ pub struct MariaDBAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -763,7 +764,7 @@ pub struct MariaDBAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -815,7 +816,7 @@ pub struct MariaDBAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -829,7 +830,7 @@ pub struct MariaDBAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -849,7 +850,7 @@ pub struct MariaDBAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -863,7 +864,7 @@ pub struct MariaDBAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -879,7 +880,7 @@ pub struct MariaDBAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx } /// BootstrapFrom defines a source to bootstrap from. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFrom { /// BackupRef is a reference to a Backup object. It has priority over S3 and Volume. #[serde(default, skip_serializing_if = "Option::is_none", rename = "backupRef")] @@ -900,7 +901,7 @@ pub struct MariaDBBootstrapFrom { } /// BackupRef is a reference to a Backup object. It has priority over S3 and Volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromBackupRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -910,7 +911,7 @@ pub struct MariaDBBootstrapFromBackupRef { } /// RestoreJob defines additional properties for the Job used to perform the Restore. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJob { /// Affinity to be used in the Pod. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -927,7 +928,7 @@ pub struct MariaDBBootstrapFromRestoreJob { } /// Affinity to be used in the Pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinity { /// AntiAffinityEnabled configures PodAntiAffinity so each Pod is scheduled in a different Node, enabling HA. /// Make sure you have at least as many Nodes available as the replicas to not end up with unscheduled Pods. @@ -945,7 +946,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -969,7 +970,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: MariaDBBootstrapFromRestoreJobAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -978,7 +979,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityNodeAffinityPreferredDuringSche } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -990,7 +991,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityNodeAffinityPreferredDuringSche /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1008,7 +1009,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityNodeAffinityPreferredDuringSche /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1029,7 +1030,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityNodeAffinityPreferredDuringSche /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -1039,7 +1040,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityNodeAffinityRequiredDuringSched /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1051,7 +1052,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityNodeAffinityRequiredDuringSched /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1069,7 +1070,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityNodeAffinityRequiredDuringSched /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1086,7 +1087,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityNodeAffinityRequiredDuringSched } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -1111,7 +1112,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1122,7 +1123,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityPodAffinityPreferredDuringSched } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1174,7 +1175,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityPodAffinityPreferredDuringSched /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1188,7 +1189,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityPodAffinityPreferredDuringSched /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1208,7 +1209,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityPodAffinityPreferredDuringSched /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1222,7 +1223,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityPodAffinityPreferredDuringSched /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1243,7 +1244,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityPodAffinityPreferredDuringSched /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1295,7 +1296,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityPodAffinityRequiredDuringSchedu /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1309,7 +1310,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityPodAffinityRequiredDuringSchedu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1329,7 +1330,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityPodAffinityRequiredDuringSchedu /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1343,7 +1344,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityPodAffinityRequiredDuringSchedu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1359,7 +1360,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityPodAffinityRequiredDuringSchedu } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -1384,7 +1385,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1395,7 +1396,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityPodAntiAffinityPreferredDuringS } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1447,7 +1448,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityPodAntiAffinityPreferredDuringS /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1461,7 +1462,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityPodAntiAffinityPreferredDuringS /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1481,7 +1482,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityPodAntiAffinityPreferredDuringS /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1495,7 +1496,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityPodAntiAffinityPreferredDuringS /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1516,7 +1517,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityPodAntiAffinityPreferredDuringS /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1568,7 +1569,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityPodAntiAffinityRequiredDuringSc /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1582,7 +1583,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityPodAntiAffinityRequiredDuringSc /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1602,7 +1603,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityPodAntiAffinityRequiredDuringSc /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1616,7 +1617,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityPodAntiAffinityRequiredDuringSc /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1632,7 +1633,7 @@ pub struct MariaDBBootstrapFromRestoreJobAffinityPodAntiAffinityRequiredDuringSc } /// Metadata defines additional metadata for the bootstrap Jobs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1643,7 +1644,7 @@ pub struct MariaDBBootstrapFromRestoreJobMetadata { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -1669,7 +1670,7 @@ pub struct MariaDBBootstrapFromRestoreJobResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromRestoreJobResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -1678,7 +1679,7 @@ pub struct MariaDBBootstrapFromRestoreJobResourcesClaims { } /// S3 defines the configuration to restore backups from a S3 compatible storage. It has priority over Volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromS3 { /// AccessKeyIdSecretKeyRef is a reference to a Secret key containing the S3 access key id. #[serde(rename = "accessKeyIdSecretKeyRef")] @@ -1705,7 +1706,7 @@ pub struct MariaDBBootstrapFromS3 { } /// AccessKeyIdSecretKeyRef is a reference to a Secret key containing the S3 access key id. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromS3AccessKeyIdSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1720,7 +1721,7 @@ pub struct MariaDBBootstrapFromS3AccessKeyIdSecretKeyRef { } /// AccessKeyIdSecretKeyRef is a reference to a Secret key containing the S3 secret key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromS3SecretAccessKeySecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1735,7 +1736,7 @@ pub struct MariaDBBootstrapFromS3SecretAccessKeySecretKeyRef { } /// SessionTokenSecretKeyRef is a reference to a Secret key containing the S3 session token. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromS3SessionTokenSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1750,7 +1751,7 @@ pub struct MariaDBBootstrapFromS3SessionTokenSecretKeyRef { } /// TLS provides the configuration required to establish TLS connections with S3. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromS3Tls { /// CASecretKeyRef is a reference to a Secret key containing a CA bundle in PEM format used to establish TLS connections with S3. /// By default, the system trust chain will be used, but you can use this field to add more CAs to the bundle. @@ -1763,7 +1764,7 @@ pub struct MariaDBBootstrapFromS3Tls { /// CASecretKeyRef is a reference to a Secret key containing a CA bundle in PEM format used to establish TLS connections with S3. /// By default, the system trust chain will be used, but you can use this field to add more CAs to the bundle. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromS3TlsCaSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1778,7 +1779,7 @@ pub struct MariaDBBootstrapFromS3TlsCaSecretKeyRef { } /// Volume is a Kubernetes Volume object that contains a backup. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolume { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. @@ -1924,7 +1925,7 @@ pub struct MariaDBBootstrapFromVolume { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -1950,7 +1951,7 @@ pub struct MariaDBBootstrapFromVolumeAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -1976,7 +1977,7 @@ pub struct MariaDBBootstrapFromVolumeAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force /// the ReadOnly setting in VolumeMounts. @@ -1991,7 +1992,7 @@ pub struct MariaDBBootstrapFromVolumeAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it @@ -2020,7 +2021,7 @@ pub struct MariaDBBootstrapFromVolumeCephfs { /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeCephfsSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -2031,7 +2032,7 @@ pub struct MariaDBBootstrapFromVolumeCephfsSecretRef { /// cinder represents a cinder volume attached and mounted on kubelets host machine. /// More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeCinder { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -2056,7 +2057,7 @@ pub struct MariaDBBootstrapFromVolumeCinder { /// secretRef is optional: points to a secret object containing parameters used to connect /// to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeCinderSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -2066,7 +2067,7 @@ pub struct MariaDBBootstrapFromVolumeCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -2097,7 +2098,7 @@ pub struct MariaDBBootstrapFromVolumeConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeConfigMapItems { /// key is the key to project. pub key: String, @@ -2117,7 +2118,7 @@ pub struct MariaDBBootstrapFromVolumeConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeCsi { /// driver is the name of the CSI driver that handles this volume. /// Consult with your admin for the correct name as registered in the cluster. @@ -2149,7 +2150,7 @@ pub struct MariaDBBootstrapFromVolumeCsi { /// NodePublishVolume and NodeUnpublishVolume calls. /// This field is optional, and may be empty if no secret is required. If the /// secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeCsiNodePublishSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -2159,7 +2160,7 @@ pub struct MariaDBBootstrapFromVolumeCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeDownwardApi { /// Optional: mode bits to use on created files by default. Must be a /// Optional: mode bits used to set permissions on created files by default. @@ -2177,7 +2178,7 @@ pub struct MariaDBBootstrapFromVolumeDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -2199,7 +2200,7 @@ pub struct MariaDBBootstrapFromVolumeDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2211,7 +2212,7 @@ pub struct MariaDBBootstrapFromVolumeDownwardApiItemsFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2225,7 +2226,7 @@ pub struct MariaDBBootstrapFromVolumeDownwardApiItemsResourceFieldRef { /// emptyDir represents a temporary directory that shares a pod's lifetime. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeEmptyDir { /// medium represents what type of storage medium should back this directory. /// The default is "" which means to use the node's default medium. @@ -2271,7 +2272,7 @@ pub struct MariaDBBootstrapFromVolumeEmptyDir { /// /// A pod can use both types of ephemeral volumes and /// persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. /// The pod in which this EphemeralVolumeSource is embedded will be the @@ -2325,7 +2326,7 @@ pub struct MariaDBBootstrapFromVolumeEphemeral { /// /// /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during @@ -2342,7 +2343,7 @@ pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during /// validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateMetadata { } @@ -2350,7 +2351,7 @@ pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateMetadata { /// copied unchanged into the PVC that gets created from this /// template. The same fields as in a PersistentVolumeClaim /// are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -2436,7 +2437,7 @@ pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpec { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -2472,7 +2473,7 @@ pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpecDataSource /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -2495,7 +2496,7 @@ pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpecDataSourceR /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -2510,7 +2511,7 @@ pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpecResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2524,7 +2525,7 @@ pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpecSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2540,7 +2541,7 @@ pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpecSelectorMat } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeFc { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -2566,7 +2567,7 @@ pub struct MariaDBBootstrapFromVolumeFc { /// flexVolume represents a generic volume resource that is /// provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -2596,7 +2597,7 @@ pub struct MariaDBBootstrapFromVolumeFlexVolume { /// empty if no secret object is specified. If the secret object /// contains more than one secret, all secrets are passed to the plugin /// scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeFlexVolumeSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -2606,7 +2607,7 @@ pub struct MariaDBBootstrapFromVolumeFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker /// should be considered as deprecated @@ -2620,7 +2621,7 @@ pub struct MariaDBBootstrapFromVolumeFlocker { /// gcePersistentDisk represents a GCE Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -2651,7 +2652,7 @@ pub struct MariaDBBootstrapFromVolumeGcePersistentDisk { /// DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an /// EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir /// into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeGitRepo { /// directory is the target directory name. /// Must not contain or start with '..'. If '.' is supplied, the volume directory will be the @@ -2668,7 +2669,7 @@ pub struct MariaDBBootstrapFromVolumeGitRepo { /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod @@ -2691,7 +2692,7 @@ pub struct MariaDBBootstrapFromVolumeGlusterfs { /// --- /// TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not /// mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeHostPath { /// path of the directory on the host. /// If the path is a symlink, it will follow the link to the real path. @@ -2707,7 +2708,7 @@ pub struct MariaDBBootstrapFromVolumeHostPath { /// iscsi represents an ISCSI Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -2753,7 +2754,7 @@ pub struct MariaDBBootstrapFromVolumeIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeIscsiSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -2764,7 +2765,7 @@ pub struct MariaDBBootstrapFromVolumeIscsiSecretRef { /// nfs represents an NFS mount on the host that shares a pod's lifetime /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeNfs { /// path that is exported by the NFS server. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs @@ -2782,7 +2783,7 @@ pub struct MariaDBBootstrapFromVolumeNfs { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumePersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -2795,7 +2796,7 @@ pub struct MariaDBBootstrapFromVolumePersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumePhotonPersistentDisk { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -2808,7 +2809,7 @@ pub struct MariaDBBootstrapFromVolumePhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumePortworxVolume { /// fSType represents the filesystem type to mount /// Must be a filesystem type supported by the host operating system. @@ -2825,7 +2826,7 @@ pub struct MariaDBBootstrapFromVolumePortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjected { /// defaultMode are the mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -2841,7 +2842,7 @@ pub struct MariaDBBootstrapFromVolumeProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjectedSources { /// ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field /// of ClusterTrustBundle objects in an auto-updating file. @@ -2891,7 +2892,7 @@ pub struct MariaDBBootstrapFromVolumeProjectedSources { /// comments and block headers are stripped. Certificates are deduplicated. /// The ordering of certificates within the file is arbitrary, and Kubelet /// may change the order over time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjectedSourcesClusterTrustBundle { /// Select all ClusterTrustBundles that match this label selector. Only has /// effect if signerName is set. Mutually-exclusive with name. If unset, @@ -2923,7 +2924,7 @@ pub struct MariaDBBootstrapFromVolumeProjectedSourcesClusterTrustBundle { /// effect if signerName is set. Mutually-exclusive with name. If unset, /// interpreted as "match nothing". If set but empty, interpreted as "match /// everything". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjectedSourcesClusterTrustBundleLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2937,7 +2938,7 @@ pub struct MariaDBBootstrapFromVolumeProjectedSourcesClusterTrustBundleLabelSele /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjectedSourcesClusterTrustBundleLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2953,7 +2954,7 @@ pub struct MariaDBBootstrapFromVolumeProjectedSourcesClusterTrustBundleLabelSele } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced /// ConfigMap will be projected into the volume as a file whose name is the @@ -2975,7 +2976,7 @@ pub struct MariaDBBootstrapFromVolumeProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -2995,7 +2996,7 @@ pub struct MariaDBBootstrapFromVolumeProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3003,7 +3004,7 @@ pub struct MariaDBBootstrapFromVolumeProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -3025,7 +3026,7 @@ pub struct MariaDBBootstrapFromVolumeProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3037,7 +3038,7 @@ pub struct MariaDBBootstrapFromVolumeProjectedSourcesDownwardApiItemsFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -3050,7 +3051,7 @@ pub struct MariaDBBootstrapFromVolumeProjectedSourcesDownwardApiItemsResourceFie } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced /// Secret will be projected into the volume as a file whose name is the @@ -3072,7 +3073,7 @@ pub struct MariaDBBootstrapFromVolumeProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -3092,7 +3093,7 @@ pub struct MariaDBBootstrapFromVolumeProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token /// must identify itself with an identifier specified in the audience of the @@ -3114,7 +3115,7 @@ pub struct MariaDBBootstrapFromVolumeProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeQuobyte { /// group to map volume access to /// Default is no group @@ -3142,7 +3143,7 @@ pub struct MariaDBBootstrapFromVolumeQuobyte { /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeRbd { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -3189,7 +3190,7 @@ pub struct MariaDBBootstrapFromVolumeRbd { /// overrides keyring. /// Default is nil. /// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeRbdSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -3199,7 +3200,7 @@ pub struct MariaDBBootstrapFromVolumeRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeScaleIo { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -3240,7 +3241,7 @@ pub struct MariaDBBootstrapFromVolumeScaleIo { /// secretRef references to the secret for ScaleIO user and other /// sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeScaleIoSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -3251,7 +3252,7 @@ pub struct MariaDBBootstrapFromVolumeScaleIoSecretRef { /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -3281,7 +3282,7 @@ pub struct MariaDBBootstrapFromVolumeSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeSecretItems { /// key is the key to project. pub key: String, @@ -3301,7 +3302,7 @@ pub struct MariaDBBootstrapFromVolumeSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeStorageos { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -3332,7 +3333,7 @@ pub struct MariaDBBootstrapFromVolumeStorageos { /// secretRef specifies the secret to use for obtaining the StorageOS API /// credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeStorageosSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -3342,7 +3343,7 @@ pub struct MariaDBBootstrapFromVolumeStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeVsphereVolume { /// fsType is filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -3361,7 +3362,7 @@ pub struct MariaDBBootstrapFromVolumeVsphereVolume { } /// Connection defines templates to configure the general Connection object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBConnection { /// HealthCheck to be used in the Connection. #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthCheck")] @@ -3384,7 +3385,7 @@ pub struct MariaDBConnection { } /// HealthCheck to be used in the Connection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBConnectionHealthCheck { /// Interval used to perform health checks. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3395,7 +3396,7 @@ pub struct MariaDBConnectionHealthCheck { } /// SecretTemplate to be used in the Connection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBConnectionSecretTemplate { /// DatabaseKey to be used in the Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "databaseKey")] @@ -3424,7 +3425,7 @@ pub struct MariaDBConnectionSecretTemplate { } /// Metadata to be added to the Secret object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBConnectionSecretTemplateMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3435,7 +3436,7 @@ pub struct MariaDBConnectionSecretTemplateMetadata { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -3456,7 +3457,7 @@ pub struct MariaDBEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -3475,7 +3476,7 @@ pub struct MariaDBEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -3491,7 +3492,7 @@ pub struct MariaDBEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3503,7 +3504,7 @@ pub struct MariaDBEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -3516,7 +3517,7 @@ pub struct MariaDBEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3531,7 +3532,7 @@ pub struct MariaDBEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -3545,7 +3546,7 @@ pub struct MariaDBEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -3558,7 +3559,7 @@ pub struct MariaDBEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -3571,7 +3572,7 @@ pub struct MariaDBEnvFromSecretRef { } /// Replication configures high availability via Galera. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGalera { /// GaleraAgent is a sidecar agent that co-operates with mariadb-operator. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3617,7 +3618,7 @@ pub struct MariaDBGalera { } /// GaleraAgent is a sidecar agent that co-operates with mariadb-operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgent { /// Args to be used in the Container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3664,7 +3665,7 @@ pub struct MariaDBGaleraAgent { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -3685,7 +3686,7 @@ pub struct MariaDBGaleraAgentEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -3704,7 +3705,7 @@ pub struct MariaDBGaleraAgentEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -3720,7 +3721,7 @@ pub struct MariaDBGaleraAgentEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3732,7 +3733,7 @@ pub struct MariaDBGaleraAgentEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -3745,7 +3746,7 @@ pub struct MariaDBGaleraAgentEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3760,7 +3761,7 @@ pub struct MariaDBGaleraAgentEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -3774,7 +3775,7 @@ pub struct MariaDBGaleraAgentEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -3787,7 +3788,7 @@ pub struct MariaDBGaleraAgentEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -3808,7 +3809,7 @@ pub enum MariaDBGaleraAgentImagePullPolicy { } /// KubernetesAuth to be used by the agent container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentKubernetesAuth { /// AuthDelegatorRoleName is the name of the ClusterRoleBinding that is associated with the "system:auth-delegator" ClusterRole. /// It is necessary for creating TokenReview objects in order for the agent to validate the service account token. @@ -3820,7 +3821,7 @@ pub struct MariaDBGaleraAgentKubernetesAuth { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3870,7 +3871,7 @@ pub struct MariaDBGaleraAgentLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -3882,7 +3883,7 @@ pub struct MariaDBGaleraAgentLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3896,7 +3897,7 @@ pub struct MariaDBGaleraAgentLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -3919,7 +3920,7 @@ pub struct MariaDBGaleraAgentLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -3929,7 +3930,7 @@ pub struct MariaDBGaleraAgentLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3941,7 +3942,7 @@ pub struct MariaDBGaleraAgentLivenessProbeTcpSocket { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3991,7 +3992,7 @@ pub struct MariaDBGaleraAgentReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4003,7 +4004,7 @@ pub struct MariaDBGaleraAgentReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4017,7 +4018,7 @@ pub struct MariaDBGaleraAgentReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4040,7 +4041,7 @@ pub struct MariaDBGaleraAgentReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4050,7 +4051,7 @@ pub struct MariaDBGaleraAgentReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4062,7 +4063,7 @@ pub struct MariaDBGaleraAgentReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -4088,7 +4089,7 @@ pub struct MariaDBGaleraAgentResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -4097,7 +4098,7 @@ pub struct MariaDBGaleraAgentResourcesClaims { } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -4177,7 +4178,7 @@ pub struct MariaDBGaleraAgentSecurityContext { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4192,7 +4193,7 @@ pub struct MariaDBGaleraAgentSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4212,7 +4213,7 @@ pub struct MariaDBGaleraAgentSecurityContextSeLinuxOptions { /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -4235,7 +4236,7 @@ pub struct MariaDBGaleraAgentSecurityContextSeccompProfile { /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -4260,7 +4261,7 @@ pub struct MariaDBGaleraAgentSecurityContextWindowsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -4291,7 +4292,7 @@ pub struct MariaDBGaleraAgentVolumeMounts { } /// GaleraConfig defines storage options for the Galera configuration files. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraConfig { /// ReuseStorageVolume indicates that storage volume used by MariaDB should be reused to store the Galera configuration files. /// It defaults to false, which implies that a dedicated volume for the Galera configuration files is provisioned. @@ -4303,7 +4304,7 @@ pub struct MariaDBGaleraConfig { } /// VolumeClaimTemplate is a template for the PVC that will contain the Galera configuration files shared between the InitContainer, Agent and MariaDB. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraConfigVolumeClaimTemplate { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -4392,7 +4393,7 @@ pub struct MariaDBGaleraConfigVolumeClaimTemplate { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraConfigVolumeClaimTemplateDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -4428,7 +4429,7 @@ pub struct MariaDBGaleraConfigVolumeClaimTemplateDataSource { /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraConfigVolumeClaimTemplateDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -4447,7 +4448,7 @@ pub struct MariaDBGaleraConfigVolumeClaimTemplateDataSourceRef { } /// Metadata to be added to the PVC metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraConfigVolumeClaimTemplateMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4462,7 +4463,7 @@ pub struct MariaDBGaleraConfigVolumeClaimTemplateMetadata { /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraConfigVolumeClaimTemplateResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -4477,7 +4478,7 @@ pub struct MariaDBGaleraConfigVolumeClaimTemplateResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraConfigVolumeClaimTemplateSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4491,7 +4492,7 @@ pub struct MariaDBGaleraConfigVolumeClaimTemplateSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraConfigVolumeClaimTemplateSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4507,7 +4508,7 @@ pub struct MariaDBGaleraConfigVolumeClaimTemplateSelectorMatchExpressions { } /// InitContainer is an init container that co-operates with mariadb-operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainer { /// Args to be used in the Container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4544,7 +4545,7 @@ pub struct MariaDBGaleraInitContainer { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -4565,7 +4566,7 @@ pub struct MariaDBGaleraInitContainerEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -4584,7 +4585,7 @@ pub struct MariaDBGaleraInitContainerEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -4600,7 +4601,7 @@ pub struct MariaDBGaleraInitContainerEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4612,7 +4613,7 @@ pub struct MariaDBGaleraInitContainerEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -4625,7 +4626,7 @@ pub struct MariaDBGaleraInitContainerEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4640,7 +4641,7 @@ pub struct MariaDBGaleraInitContainerEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -4654,7 +4655,7 @@ pub struct MariaDBGaleraInitContainerEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -4667,7 +4668,7 @@ pub struct MariaDBGaleraInitContainerEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -4688,7 +4689,7 @@ pub enum MariaDBGaleraInitContainerImagePullPolicy { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4738,7 +4739,7 @@ pub struct MariaDBGaleraInitContainerLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4750,7 +4751,7 @@ pub struct MariaDBGaleraInitContainerLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4764,7 +4765,7 @@ pub struct MariaDBGaleraInitContainerLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4787,7 +4788,7 @@ pub struct MariaDBGaleraInitContainerLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4797,7 +4798,7 @@ pub struct MariaDBGaleraInitContainerLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4809,7 +4810,7 @@ pub struct MariaDBGaleraInitContainerLivenessProbeTcpSocket { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4859,7 +4860,7 @@ pub struct MariaDBGaleraInitContainerReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4871,7 +4872,7 @@ pub struct MariaDBGaleraInitContainerReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4885,7 +4886,7 @@ pub struct MariaDBGaleraInitContainerReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4908,7 +4909,7 @@ pub struct MariaDBGaleraInitContainerReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4918,7 +4919,7 @@ pub struct MariaDBGaleraInitContainerReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4930,7 +4931,7 @@ pub struct MariaDBGaleraInitContainerReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -4956,7 +4957,7 @@ pub struct MariaDBGaleraInitContainerResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -4965,7 +4966,7 @@ pub struct MariaDBGaleraInitContainerResourcesClaims { } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -5045,7 +5046,7 @@ pub struct MariaDBGaleraInitContainerSecurityContext { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5060,7 +5061,7 @@ pub struct MariaDBGaleraInitContainerSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5080,7 +5081,7 @@ pub struct MariaDBGaleraInitContainerSecurityContextSeLinuxOptions { /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -5103,7 +5104,7 @@ pub struct MariaDBGaleraInitContainerSecurityContextSeccompProfile { /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -5128,7 +5129,7 @@ pub struct MariaDBGaleraInitContainerSecurityContextWindowsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -5159,7 +5160,7 @@ pub struct MariaDBGaleraInitContainerVolumeMounts { } /// InitJob defines additional properties for the Job used to perform the initialization. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJob { /// Affinity to be used in the Pod. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5176,7 +5177,7 @@ pub struct MariaDBGaleraInitJob { } /// Affinity to be used in the Pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinity { /// AntiAffinityEnabled configures PodAntiAffinity so each Pod is scheduled in a different Node, enabling HA. /// Make sure you have at least as many Nodes available as the replicas to not end up with unscheduled Pods. @@ -5194,7 +5195,7 @@ pub struct MariaDBGaleraInitJobAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -5218,7 +5219,7 @@ pub struct MariaDBGaleraInitJobAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: MariaDBGaleraInitJobAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -5227,7 +5228,7 @@ pub struct MariaDBGaleraInitJobAffinityNodeAffinityPreferredDuringSchedulingIgno } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5239,7 +5240,7 @@ pub struct MariaDBGaleraInitJobAffinityNodeAffinityPreferredDuringSchedulingIgno /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -5257,7 +5258,7 @@ pub struct MariaDBGaleraInitJobAffinityNodeAffinityPreferredDuringSchedulingIgno /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -5278,7 +5279,7 @@ pub struct MariaDBGaleraInitJobAffinityNodeAffinityPreferredDuringSchedulingIgno /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -5288,7 +5289,7 @@ pub struct MariaDBGaleraInitJobAffinityNodeAffinityRequiredDuringSchedulingIgnor /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5300,7 +5301,7 @@ pub struct MariaDBGaleraInitJobAffinityNodeAffinityRequiredDuringSchedulingIgnor /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -5318,7 +5319,7 @@ pub struct MariaDBGaleraInitJobAffinityNodeAffinityRequiredDuringSchedulingIgnor /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -5335,7 +5336,7 @@ pub struct MariaDBGaleraInitJobAffinityNodeAffinityRequiredDuringSchedulingIgnor } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -5360,7 +5361,7 @@ pub struct MariaDBGaleraInitJobAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -5371,7 +5372,7 @@ pub struct MariaDBGaleraInitJobAffinityPodAffinityPreferredDuringSchedulingIgnor } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -5423,7 +5424,7 @@ pub struct MariaDBGaleraInitJobAffinityPodAffinityPreferredDuringSchedulingIgnor /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5437,7 +5438,7 @@ pub struct MariaDBGaleraInitJobAffinityPodAffinityPreferredDuringSchedulingIgnor /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5457,7 +5458,7 @@ pub struct MariaDBGaleraInitJobAffinityPodAffinityPreferredDuringSchedulingIgnor /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5471,7 +5472,7 @@ pub struct MariaDBGaleraInitJobAffinityPodAffinityPreferredDuringSchedulingIgnor /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5492,7 +5493,7 @@ pub struct MariaDBGaleraInitJobAffinityPodAffinityPreferredDuringSchedulingIgnor /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -5544,7 +5545,7 @@ pub struct MariaDBGaleraInitJobAffinityPodAffinityRequiredDuringSchedulingIgnore /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5558,7 +5559,7 @@ pub struct MariaDBGaleraInitJobAffinityPodAffinityRequiredDuringSchedulingIgnore /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5578,7 +5579,7 @@ pub struct MariaDBGaleraInitJobAffinityPodAffinityRequiredDuringSchedulingIgnore /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5592,7 +5593,7 @@ pub struct MariaDBGaleraInitJobAffinityPodAffinityRequiredDuringSchedulingIgnore /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5608,7 +5609,7 @@ pub struct MariaDBGaleraInitJobAffinityPodAffinityRequiredDuringSchedulingIgnore } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -5633,7 +5634,7 @@ pub struct MariaDBGaleraInitJobAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -5644,7 +5645,7 @@ pub struct MariaDBGaleraInitJobAffinityPodAntiAffinityPreferredDuringSchedulingI } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -5696,7 +5697,7 @@ pub struct MariaDBGaleraInitJobAffinityPodAntiAffinityPreferredDuringSchedulingI /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5710,7 +5711,7 @@ pub struct MariaDBGaleraInitJobAffinityPodAntiAffinityPreferredDuringSchedulingI /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5730,7 +5731,7 @@ pub struct MariaDBGaleraInitJobAffinityPodAntiAffinityPreferredDuringSchedulingI /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5744,7 +5745,7 @@ pub struct MariaDBGaleraInitJobAffinityPodAntiAffinityPreferredDuringSchedulingI /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5765,7 +5766,7 @@ pub struct MariaDBGaleraInitJobAffinityPodAntiAffinityPreferredDuringSchedulingI /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -5817,7 +5818,7 @@ pub struct MariaDBGaleraInitJobAffinityPodAntiAffinityRequiredDuringSchedulingIg /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5831,7 +5832,7 @@ pub struct MariaDBGaleraInitJobAffinityPodAntiAffinityRequiredDuringSchedulingIg /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5851,7 +5852,7 @@ pub struct MariaDBGaleraInitJobAffinityPodAntiAffinityRequiredDuringSchedulingIg /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5865,7 +5866,7 @@ pub struct MariaDBGaleraInitJobAffinityPodAntiAffinityRequiredDuringSchedulingIg /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5881,7 +5882,7 @@ pub struct MariaDBGaleraInitJobAffinityPodAntiAffinityRequiredDuringSchedulingIg } /// Metadata defines additional metadata for the bootstrap Jobs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5892,7 +5893,7 @@ pub struct MariaDBGaleraInitJobMetadata { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -5918,7 +5919,7 @@ pub struct MariaDBGaleraInitJobResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitJobResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -5927,7 +5928,7 @@ pub struct MariaDBGaleraInitJobResourcesClaims { } /// Primary is the Galera configuration for the primary node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraPrimary { /// AutomaticFailover indicates whether the operator should automatically update PodIndex to perform an automatic primary failover. #[serde(default, skip_serializing_if = "Option::is_none", rename = "automaticFailover")] @@ -5939,7 +5940,7 @@ pub struct MariaDBGaleraPrimary { /// GaleraRecovery is the recovery process performed by the operator whenever the Galera cluster is not healthy. /// More info: https://galeracluster.com/library/documentation/crash-recovery.html. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraRecovery { /// ClusterBootstrapTimeout is the time limit for bootstrapping a cluster. /// Once this timeout is reached, the Galera recovery state is reset and a new cluster bootstrap will be attempted. @@ -5991,7 +5992,7 @@ pub enum MariaDBImagePullPolicy { /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBImagePullSecrets { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -6001,7 +6002,7 @@ pub struct MariaDBImagePullSecrets { } /// InheritMetadata defines the metadata to be inherited by children resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInheritMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6012,7 +6013,7 @@ pub struct MariaDBInheritMetadata { } /// Container object definition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainers { /// Args to be used in the Container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6049,7 +6050,7 @@ pub struct MariaDBInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -6070,7 +6071,7 @@ pub struct MariaDBInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -6089,7 +6090,7 @@ pub struct MariaDBInitContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -6105,7 +6106,7 @@ pub struct MariaDBInitContainersEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -6117,7 +6118,7 @@ pub struct MariaDBInitContainersEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -6130,7 +6131,7 @@ pub struct MariaDBInitContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -6145,7 +6146,7 @@ pub struct MariaDBInitContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -6159,7 +6160,7 @@ pub struct MariaDBInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -6172,7 +6173,7 @@ pub struct MariaDBInitContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -6193,7 +6194,7 @@ pub enum MariaDBInitContainersImagePullPolicy { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6243,7 +6244,7 @@ pub struct MariaDBInitContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -6255,7 +6256,7 @@ pub struct MariaDBInitContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -6269,7 +6270,7 @@ pub struct MariaDBInitContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -6292,7 +6293,7 @@ pub struct MariaDBInitContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -6302,7 +6303,7 @@ pub struct MariaDBInitContainersLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6314,7 +6315,7 @@ pub struct MariaDBInitContainersLivenessProbeTcpSocket { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6364,7 +6365,7 @@ pub struct MariaDBInitContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -6376,7 +6377,7 @@ pub struct MariaDBInitContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -6390,7 +6391,7 @@ pub struct MariaDBInitContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -6413,7 +6414,7 @@ pub struct MariaDBInitContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -6423,7 +6424,7 @@ pub struct MariaDBInitContainersReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6435,7 +6436,7 @@ pub struct MariaDBInitContainersReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -6461,7 +6462,7 @@ pub struct MariaDBInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -6470,7 +6471,7 @@ pub struct MariaDBInitContainersResourcesClaims { } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -6550,7 +6551,7 @@ pub struct MariaDBInitContainersSecurityContext { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6565,7 +6566,7 @@ pub struct MariaDBInitContainersSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6585,7 +6586,7 @@ pub struct MariaDBInitContainersSecurityContextSeLinuxOptions { /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -6608,7 +6609,7 @@ pub struct MariaDBInitContainersSecurityContextSeccompProfile { /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -6633,7 +6634,7 @@ pub struct MariaDBInitContainersSecurityContextWindowsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -6664,7 +6665,7 @@ pub struct MariaDBInitContainersVolumeMounts { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6714,7 +6715,7 @@ pub struct MariaDBLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -6726,7 +6727,7 @@ pub struct MariaDBLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -6740,7 +6741,7 @@ pub struct MariaDBLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -6763,7 +6764,7 @@ pub struct MariaDBLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -6773,7 +6774,7 @@ pub struct MariaDBLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6786,7 +6787,7 @@ pub struct MariaDBLivenessProbeTcpSocket { /// MaxScale is the MaxScale specification that defines the MaxScale resource to be used with the current MariaDB. /// When enabling this field, MaxScaleRef is automatically set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScale { /// Admin configures the admin REST API and GUI. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6840,7 +6841,7 @@ pub struct MariaDBMaxScale { } /// Admin configures the admin REST API and GUI. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAdmin { /// GuiEnabled indicates whether the admin GUI should be enabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "guiEnabled")] @@ -6851,7 +6852,7 @@ pub struct MariaDBMaxScaleAdmin { } /// Auth defines the credentials required for MaxScale to connect to MariaDB. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAuth { /// AdminPasswordSecretKeyRef is Secret key reference to the admin password to call the admin REST API. It is defaulted if not provided. #[serde(default, skip_serializing_if = "Option::is_none", rename = "adminPasswordSecretKeyRef")] @@ -6919,7 +6920,7 @@ pub struct MariaDBMaxScaleAuth { } /// AdminPasswordSecretKeyRef is Secret key reference to the admin password to call the admin REST API. It is defaulted if not provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAuthAdminPasswordSecretKeyRef { /// Generate indicates whether the Secret should be generated if the Secret referenced is not present. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6937,7 +6938,7 @@ pub struct MariaDBMaxScaleAuthAdminPasswordSecretKeyRef { } /// ClientPasswordSecretKeyRef is Secret key reference to the password to connect to MaxScale. It is defaulted if not provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAuthClientPasswordSecretKeyRef { /// Generate indicates whether the Secret should be generated if the Secret referenced is not present. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6955,7 +6956,7 @@ pub struct MariaDBMaxScaleAuthClientPasswordSecretKeyRef { } /// MetricsPasswordSecretKeyRef is Secret key reference to the metrics password to call the admib REST API. It is defaulted if metrics are enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAuthMetricsPasswordSecretKeyRef { /// Generate indicates whether the Secret should be generated if the Secret referenced is not present. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6973,7 +6974,7 @@ pub struct MariaDBMaxScaleAuthMetricsPasswordSecretKeyRef { } /// MonitorPasswordSecretKeyRef is Secret key reference to the password used by MaxScale monitor to connect to MariaDB server. It is defaulted if not provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAuthMonitorPasswordSecretKeyRef { /// Generate indicates whether the Secret should be generated if the Secret referenced is not present. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6991,7 +6992,7 @@ pub struct MariaDBMaxScaleAuthMonitorPasswordSecretKeyRef { } /// ServerPasswordSecretKeyRef is Secret key reference to the password used by MaxScale to connect to MariaDB server. It is defaulted if not provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAuthServerPasswordSecretKeyRef { /// Generate indicates whether the Secret should be generated if the Secret referenced is not present. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7009,7 +7010,7 @@ pub struct MariaDBMaxScaleAuthServerPasswordSecretKeyRef { } /// SyncPasswordSecretKeyRef is Secret key reference to the password used by MaxScale config to connect to MariaDB server. It is defaulted when HA is enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAuthSyncPasswordSecretKeyRef { /// Generate indicates whether the Secret should be generated if the Secret referenced is not present. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7027,7 +7028,7 @@ pub struct MariaDBMaxScaleAuthSyncPasswordSecretKeyRef { } /// Config defines the MaxScale configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConfig { /// Params is a key value pair of parameters to be used in the MaxScale static configuration file. /// Any parameter supported by MaxScale may be specified here. See reference: @@ -7043,7 +7044,7 @@ pub struct MariaDBMaxScaleConfig { } /// Sync defines how to replicate configuration across MaxScale replicas. It is defaulted when HA is enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConfigSync { /// Database is the MariaDB logical database where the 'maxscale_config' table will be created in order to persist and synchronize config changes. If not provided, it defaults to 'mysql'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7057,7 +7058,7 @@ pub struct MariaDBMaxScaleConfigSync { } /// VolumeClaimTemplate provides a template to define the PVCs for storing MaxScale runtime configuration files. It is defaulted if not provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConfigVolumeClaimTemplate { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -7146,7 +7147,7 @@ pub struct MariaDBMaxScaleConfigVolumeClaimTemplate { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConfigVolumeClaimTemplateDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -7182,7 +7183,7 @@ pub struct MariaDBMaxScaleConfigVolumeClaimTemplateDataSource { /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConfigVolumeClaimTemplateDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -7201,7 +7202,7 @@ pub struct MariaDBMaxScaleConfigVolumeClaimTemplateDataSourceRef { } /// Metadata to be added to the PVC metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConfigVolumeClaimTemplateMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7216,7 +7217,7 @@ pub struct MariaDBMaxScaleConfigVolumeClaimTemplateMetadata { /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConfigVolumeClaimTemplateResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -7231,7 +7232,7 @@ pub struct MariaDBMaxScaleConfigVolumeClaimTemplateResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConfigVolumeClaimTemplateSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7245,7 +7246,7 @@ pub struct MariaDBMaxScaleConfigVolumeClaimTemplateSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConfigVolumeClaimTemplateSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7261,7 +7262,7 @@ pub struct MariaDBMaxScaleConfigVolumeClaimTemplateSelectorMatchExpressions { } /// Connection provides a template to define the Connection for MaxScale. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConnection { /// HealthCheck to be used in the Connection. #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthCheck")] @@ -7284,7 +7285,7 @@ pub struct MariaDBMaxScaleConnection { } /// HealthCheck to be used in the Connection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConnectionHealthCheck { /// Interval used to perform health checks. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7295,7 +7296,7 @@ pub struct MariaDBMaxScaleConnectionHealthCheck { } /// SecretTemplate to be used in the Connection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConnectionSecretTemplate { /// DatabaseKey to be used in the Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "databaseKey")] @@ -7324,7 +7325,7 @@ pub struct MariaDBMaxScaleConnectionSecretTemplate { } /// Metadata to be added to the Secret object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConnectionSecretTemplateMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7335,7 +7336,7 @@ pub struct MariaDBMaxScaleConnectionSecretTemplateMetadata { } /// GuiKubernetesService define a template for a Kubernetes Service object to connect to MaxScale's GUI. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleGuiKubernetesService { /// AllocateLoadBalancerNodePorts Service field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] @@ -7361,7 +7362,7 @@ pub struct MariaDBMaxScaleGuiKubernetesService { } /// Metadata to be added to the Service metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleGuiKubernetesServiceMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7390,7 +7391,7 @@ pub enum MariaDBMaxScaleImagePullPolicy { } /// KubernetesService defines a template for a Kubernetes Service object to connect to MaxScale. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleKubernetesService { /// AllocateLoadBalancerNodePorts Service field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] @@ -7416,7 +7417,7 @@ pub struct MariaDBMaxScaleKubernetesService { } /// Metadata to be added to the Service metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleKubernetesServiceMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7436,7 +7437,7 @@ pub enum MariaDBMaxScaleKubernetesServiceType { } /// Metrics configures metrics and how to scrape them. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetrics { /// Enabled is a flag to enable Metrics #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7450,7 +7451,7 @@ pub struct MariaDBMaxScaleMetrics { } /// Exporter defines the metrics exporter container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporter { /// Affinity to be used in the Pod. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7528,7 +7529,7 @@ pub struct MariaDBMaxScaleMetricsExporter { } /// Affinity to be used in the Pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinity { /// AntiAffinityEnabled configures PodAntiAffinity so each Pod is scheduled in a different Node, enabling HA. /// Make sure you have at least as many Nodes available as the replicas to not end up with unscheduled Pods. @@ -7546,7 +7547,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -7570,7 +7571,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: MariaDBMaxScaleMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -7579,7 +7580,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityNodeAffinityPreferredDuringSche } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7591,7 +7592,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityNodeAffinityPreferredDuringSche /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -7609,7 +7610,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityNodeAffinityPreferredDuringSche /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -7630,7 +7631,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityNodeAffinityPreferredDuringSche /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -7640,7 +7641,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityNodeAffinityRequiredDuringSched /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7652,7 +7653,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityNodeAffinityRequiredDuringSched /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -7670,7 +7671,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityNodeAffinityRequiredDuringSched /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -7687,7 +7688,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityNodeAffinityRequiredDuringSched } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -7712,7 +7713,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -7723,7 +7724,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityPodAffinityPreferredDuringSched } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -7775,7 +7776,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityPodAffinityPreferredDuringSched /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7789,7 +7790,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityPodAffinityPreferredDuringSched /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7809,7 +7810,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityPodAffinityPreferredDuringSched /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7823,7 +7824,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityPodAffinityPreferredDuringSched /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7844,7 +7845,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityPodAffinityPreferredDuringSched /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -7896,7 +7897,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityPodAffinityRequiredDuringSchedu /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7910,7 +7911,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityPodAffinityRequiredDuringSchedu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7930,7 +7931,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityPodAffinityRequiredDuringSchedu /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7944,7 +7945,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityPodAffinityRequiredDuringSchedu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7960,7 +7961,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityPodAffinityRequiredDuringSchedu } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -7985,7 +7986,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -7996,7 +7997,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityPodAntiAffinityPreferredDuringS } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -8048,7 +8049,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityPodAntiAffinityPreferredDuringS /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -8062,7 +8063,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityPodAntiAffinityPreferredDuringS /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -8082,7 +8083,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityPodAntiAffinityPreferredDuringS /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -8096,7 +8097,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityPodAntiAffinityPreferredDuringS /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -8117,7 +8118,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityPodAntiAffinityPreferredDuringS /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -8169,7 +8170,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityPodAntiAffinityRequiredDuringSc /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -8183,7 +8184,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityPodAntiAffinityRequiredDuringSc /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -8203,7 +8204,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityPodAntiAffinityRequiredDuringSc /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -8217,7 +8218,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityPodAntiAffinityRequiredDuringSc /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -8233,7 +8234,7 @@ pub struct MariaDBMaxScaleMetricsExporterAffinityPodAntiAffinityRequiredDuringSc } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -8254,7 +8255,7 @@ pub struct MariaDBMaxScaleMetricsExporterEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -8273,7 +8274,7 @@ pub struct MariaDBMaxScaleMetricsExporterEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -8289,7 +8290,7 @@ pub struct MariaDBMaxScaleMetricsExporterEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -8301,7 +8302,7 @@ pub struct MariaDBMaxScaleMetricsExporterEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -8314,7 +8315,7 @@ pub struct MariaDBMaxScaleMetricsExporterEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -8329,7 +8330,7 @@ pub struct MariaDBMaxScaleMetricsExporterEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -8343,7 +8344,7 @@ pub struct MariaDBMaxScaleMetricsExporterEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -8356,7 +8357,7 @@ pub struct MariaDBMaxScaleMetricsExporterEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -8378,7 +8379,7 @@ pub enum MariaDBMaxScaleMetricsExporterImagePullPolicy { /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterImagePullSecrets { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -8388,7 +8389,7 @@ pub struct MariaDBMaxScaleMetricsExporterImagePullSecrets { } /// Container object definition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainers { /// Args to be used in the Container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8425,7 +8426,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -8446,7 +8447,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -8465,7 +8466,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -8481,7 +8482,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersEnvValueFromConfigMapKeyR /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -8493,7 +8494,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -8506,7 +8507,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersEnvValueFromResourceField } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -8521,7 +8522,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersEnvValueFromSecretKeyRef } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -8535,7 +8536,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -8548,7 +8549,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -8569,7 +8570,7 @@ pub enum MariaDBMaxScaleMetricsExporterInitContainersImagePullPolicy { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8619,7 +8620,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -8631,7 +8632,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -8645,7 +8646,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -8668,7 +8669,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -8678,7 +8679,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersLivenessProbeHttpGetHttpH } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8690,7 +8691,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersLivenessProbeTcpSocket { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8740,7 +8741,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -8752,7 +8753,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -8766,7 +8767,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -8789,7 +8790,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -8799,7 +8800,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersReadinessProbeHttpGetHttp } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8811,7 +8812,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -8837,7 +8838,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -8846,7 +8847,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersResourcesClaims { } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -8926,7 +8927,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersSecurityContext { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8941,7 +8942,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersSecurityContextCapabiliti /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8961,7 +8962,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersSecurityContextSeLinuxOpt /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -8984,7 +8985,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersSecurityContextSeccompPro /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -9009,7 +9010,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersSecurityContextWindowsOpt } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -9040,7 +9041,7 @@ pub struct MariaDBMaxScaleMetricsExporterInitContainersVolumeMounts { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9090,7 +9091,7 @@ pub struct MariaDBMaxScaleMetricsExporterLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -9102,7 +9103,7 @@ pub struct MariaDBMaxScaleMetricsExporterLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -9116,7 +9117,7 @@ pub struct MariaDBMaxScaleMetricsExporterLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -9139,7 +9140,7 @@ pub struct MariaDBMaxScaleMetricsExporterLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -9149,7 +9150,7 @@ pub struct MariaDBMaxScaleMetricsExporterLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9161,7 +9162,7 @@ pub struct MariaDBMaxScaleMetricsExporterLivenessProbeTcpSocket { } /// PodMetadata defines extra metadata for the Pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterPodMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9172,7 +9173,7 @@ pub struct MariaDBMaxScaleMetricsExporterPodMetadata { } /// SecurityContext holds pod-level security attributes and common container settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterPodSecurityContext { /// A special supplemental group that applies to all containers in a pod. /// Some volume types allow the Kubelet to change the ownership of that volume @@ -9261,7 +9262,7 @@ pub struct MariaDBMaxScaleMetricsExporterPodSecurityContext { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterPodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9279,7 +9280,7 @@ pub struct MariaDBMaxScaleMetricsExporterPodSecurityContextSeLinuxOptions { /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterPodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -9299,7 +9300,7 @@ pub struct MariaDBMaxScaleMetricsExporterPodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterPodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -9311,7 +9312,7 @@ pub struct MariaDBMaxScaleMetricsExporterPodSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterPodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -9336,7 +9337,7 @@ pub struct MariaDBMaxScaleMetricsExporterPodSecurityContextWindowsOptions { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9386,7 +9387,7 @@ pub struct MariaDBMaxScaleMetricsExporterReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -9398,7 +9399,7 @@ pub struct MariaDBMaxScaleMetricsExporterReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -9412,7 +9413,7 @@ pub struct MariaDBMaxScaleMetricsExporterReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -9435,7 +9436,7 @@ pub struct MariaDBMaxScaleMetricsExporterReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -9445,7 +9446,7 @@ pub struct MariaDBMaxScaleMetricsExporterReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9457,7 +9458,7 @@ pub struct MariaDBMaxScaleMetricsExporterReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -9483,7 +9484,7 @@ pub struct MariaDBMaxScaleMetricsExporterResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -9492,7 +9493,7 @@ pub struct MariaDBMaxScaleMetricsExporterResourcesClaims { } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -9572,7 +9573,7 @@ pub struct MariaDBMaxScaleMetricsExporterSecurityContext { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9587,7 +9588,7 @@ pub struct MariaDBMaxScaleMetricsExporterSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9607,7 +9608,7 @@ pub struct MariaDBMaxScaleMetricsExporterSecurityContextSeLinuxOptions { /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -9630,7 +9631,7 @@ pub struct MariaDBMaxScaleMetricsExporterSecurityContextSeccompProfile { /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -9655,7 +9656,7 @@ pub struct MariaDBMaxScaleMetricsExporterSecurityContextWindowsOptions { } /// Container object definition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainers { /// Args to be used in the Container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9692,7 +9693,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -9713,7 +9714,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -9732,7 +9733,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -9748,7 +9749,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersEnvValueFromConfigMapK /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -9760,7 +9761,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -9773,7 +9774,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersEnvValueFromResourceFi } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -9788,7 +9789,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersEnvValueFromSecretKeyR } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -9802,7 +9803,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -9815,7 +9816,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -9836,7 +9837,7 @@ pub enum MariaDBMaxScaleMetricsExporterSidecarContainersImagePullPolicy { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9886,7 +9887,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -9898,7 +9899,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -9912,7 +9913,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -9935,7 +9936,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -9945,7 +9946,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersLivenessProbeHttpGetHt } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9957,7 +9958,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersLivenessProbeTcpSocket } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10007,7 +10008,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -10019,7 +10020,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -10033,7 +10034,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -10056,7 +10057,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersReadinessProbeHttpGet } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -10066,7 +10067,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersReadinessProbeHttpGetH } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10078,7 +10079,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersReadinessProbeTcpSocke } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -10104,7 +10105,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -10113,7 +10114,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersResourcesClaims { } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -10193,7 +10194,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersSecurityContext { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10208,7 +10209,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersSecurityContextCapabil /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10228,7 +10229,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersSecurityContextSeLinux /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -10251,7 +10252,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersSecurityContextSeccomp /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -10276,7 +10277,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersSecurityContextWindows } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterSidecarContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -10308,7 +10309,7 @@ pub struct MariaDBMaxScaleMetricsExporterSidecarContainersVolumeMounts { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -10337,7 +10338,7 @@ pub struct MariaDBMaxScaleMetricsExporterTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods @@ -10459,7 +10460,7 @@ pub struct MariaDBMaxScaleMetricsExporterTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods /// in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10473,7 +10474,7 @@ pub struct MariaDBMaxScaleMetricsExporterTopologySpreadConstraintsLabelSelector /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -10489,7 +10490,7 @@ pub struct MariaDBMaxScaleMetricsExporterTopologySpreadConstraintsLabelSelectorM } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -10520,7 +10521,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. @@ -10670,7 +10671,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -10696,7 +10697,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -10722,7 +10723,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force /// the ReadOnly setting in VolumeMounts. @@ -10737,7 +10738,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it @@ -10766,7 +10767,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesCephfs { /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesCephfsSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -10777,7 +10778,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesCephfsSecretRef { /// cinder represents a cinder volume attached and mounted on kubelets host machine. /// More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesCinder { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -10802,7 +10803,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesCinder { /// secretRef is optional: points to a secret object containing parameters used to connect /// to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesCinderSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -10812,7 +10813,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -10843,7 +10844,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -10863,7 +10864,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesCsi { /// driver is the name of the CSI driver that handles this volume. /// Consult with your admin for the correct name as registered in the cluster. @@ -10895,7 +10896,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesCsi { /// NodePublishVolume and NodeUnpublishVolume calls. /// This field is optional, and may be empty if no secret is required. If the /// secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesCsiNodePublishSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -10905,7 +10906,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a /// Optional: mode bits used to set permissions on created files by default. @@ -10923,7 +10924,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -10945,7 +10946,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -10957,7 +10958,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesDownwardApiItemsFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -10971,7 +10972,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesDownwardApiItemsResourceFieldRef /// emptyDir represents a temporary directory that shares a pod's lifetime. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. /// The default is "" which means to use the node's default medium. @@ -11017,7 +11018,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesEmptyDir { /// /// A pod can use both types of ephemeral volumes and /// persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. /// The pod in which this EphemeralVolumeSource is embedded will be the @@ -11071,7 +11072,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesEphemeral { /// /// /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during @@ -11088,7 +11089,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during /// validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateMetadata { } @@ -11096,7 +11097,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateMeta /// copied unchanged into the PVC that gets created from this /// template. The same fields as in a PersistentVolumeClaim /// are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -11182,7 +11183,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateSpec /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -11218,7 +11219,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateSpec /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -11241,7 +11242,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateSpec /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -11256,7 +11257,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateSpec } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11270,7 +11271,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateSpec /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11286,7 +11287,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateSpec } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesFc { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -11312,7 +11313,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesFc { /// flexVolume represents a generic volume resource that is /// provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -11342,7 +11343,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesFlexVolume { /// empty if no secret object is specified. If the secret object /// contains more than one secret, all secrets are passed to the plugin /// scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesFlexVolumeSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -11352,7 +11353,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker /// should be considered as deprecated @@ -11366,7 +11367,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesFlocker { /// gcePersistentDisk represents a GCE Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -11397,7 +11398,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesGcePersistentDisk { /// DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an /// EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir /// into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesGitRepo { /// directory is the target directory name. /// Must not contain or start with '..'. If '.' is supplied, the volume directory will be the @@ -11414,7 +11415,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesGitRepo { /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod @@ -11437,7 +11438,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesGlusterfs { /// --- /// TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not /// mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesHostPath { /// path of the directory on the host. /// If the path is a symlink, it will follow the link to the real path. @@ -11453,7 +11454,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesHostPath { /// iscsi represents an ISCSI Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -11499,7 +11500,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesIscsiSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -11510,7 +11511,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesIscsiSecretRef { /// nfs represents an NFS mount on the host that shares a pod's lifetime /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesNfs { /// path that is exported by the NFS server. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs @@ -11528,7 +11529,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesNfs { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -11541,7 +11542,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -11554,7 +11555,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesPortworxVolume { /// fSType represents the filesystem type to mount /// Must be a filesystem type supported by the host operating system. @@ -11571,7 +11572,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -11587,7 +11588,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSources { /// ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field /// of ClusterTrustBundle objects in an auto-updating file. @@ -11637,7 +11638,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSources { /// comments and block headers are stripped. Certificates are deduplicated. /// The ordering of certificates within the file is arbitrary, and Kubelet /// may change the order over time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSourcesClusterTrustBundle { /// Select all ClusterTrustBundles that match this label selector. Only has /// effect if signerName is set. Mutually-exclusive with name. If unset, @@ -11669,7 +11670,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSourcesClusterTrustBund /// effect if signerName is set. Mutually-exclusive with name. If unset, /// interpreted as "match nothing". If set but empty, interpreted as "match /// everything". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSourcesClusterTrustBundleLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11683,7 +11684,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSourcesClusterTrustBund /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSourcesClusterTrustBundleLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11699,7 +11700,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSourcesClusterTrustBund } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced /// ConfigMap will be projected into the volume as a file whose name is the @@ -11721,7 +11722,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -11741,7 +11742,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11749,7 +11750,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -11771,7 +11772,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSourcesDownwardApiItems } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -11783,7 +11784,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSourcesDownwardApiItems /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -11796,7 +11797,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSourcesDownwardApiItems } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced /// Secret will be projected into the volume as a file whose name is the @@ -11818,7 +11819,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -11838,7 +11839,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token /// must identify itself with an identifier specified in the audience of the @@ -11860,7 +11861,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesProjectedSourcesServiceAccountTo } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesQuobyte { /// group to map volume access to /// Default is no group @@ -11888,7 +11889,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesQuobyte { /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -11935,7 +11936,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesRbd { /// overrides keyring. /// Default is nil. /// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesRbdSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -11945,7 +11946,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesScaleIo { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -11986,7 +11987,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesScaleIo { /// secretRef references to the secret for ScaleIO user and other /// sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesScaleIoSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -11997,7 +11998,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesScaleIoSecretRef { /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -12027,7 +12028,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesSecretItems { /// key is the key to project. pub key: String, @@ -12047,7 +12048,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesStorageos { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -12078,7 +12079,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesStorageos { /// secretRef specifies the secret to use for obtaining the StorageOS API /// credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesStorageosSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -12088,7 +12089,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsExporterVolumesVsphereVolume { /// fsType is filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -12107,7 +12108,7 @@ pub struct MariaDBMaxScaleMetricsExporterVolumesVsphereVolume { } /// ServiceMonitor defines the ServiceMonior object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMetricsServiceMonitor { /// Interval for scraping metrics. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12124,7 +12125,7 @@ pub struct MariaDBMaxScaleMetricsServiceMonitor { } /// Monitor monitors MariaDB server instances. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMonitor { /// CooperativeMonitoring enables coordination between multiple MaxScale instances running monitors. It is defaulted when HA is enabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cooperativeMonitoring")] @@ -12161,7 +12162,7 @@ pub enum MariaDBMaxScaleMonitorCooperativeMonitoring { } /// PodDisruptionBudget defines the budget for replica availability. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScalePodDisruptionBudget { /// MaxUnavailable defines the number of maximum unavailable Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] @@ -12194,7 +12195,7 @@ pub struct MariaDBMaxScaleServices { } /// MaxScaleListener defines how the MaxScale server will listen for connections. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleServicesListener { /// Name is the identifier of the listener. It is defaulted if not provided #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12225,7 +12226,7 @@ pub enum MariaDBMaxScaleServicesRouter { } /// UpdateStrategy defines the update strategy for the StatefulSet object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleUpdateStrategy { /// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. #[serde(default, skip_serializing_if = "Option::is_none", rename = "rollingUpdate")] @@ -12237,7 +12238,7 @@ pub struct MariaDBMaxScaleUpdateStrategy { } /// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleUpdateStrategyRollingUpdate { /// The maximum number of pods that can be unavailable during the update. /// Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). @@ -12258,7 +12259,7 @@ pub struct MariaDBMaxScaleUpdateStrategyRollingUpdate { /// MaxScaleRef is a reference to a MaxScale resource to be used with the current MariaDB. /// Providing this field implies delegating high availability tasks such as primary failover to MaxScale. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -12296,7 +12297,7 @@ pub struct MariaDBMaxScaleRef { } /// Metrics configures metrics and how to scrape them. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetrics { /// Enabled is a flag to enable Metrics #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12316,7 +12317,7 @@ pub struct MariaDBMetrics { } /// Exporter defines the metrics exporter container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporter { /// Affinity to be used in the Pod. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12394,7 +12395,7 @@ pub struct MariaDBMetricsExporter { } /// Affinity to be used in the Pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinity { /// AntiAffinityEnabled configures PodAntiAffinity so each Pod is scheduled in a different Node, enabling HA. /// Make sure you have at least as many Nodes available as the replicas to not end up with unscheduled Pods. @@ -12412,7 +12413,7 @@ pub struct MariaDBMetricsExporterAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -12436,7 +12437,7 @@ pub struct MariaDBMetricsExporterAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: MariaDBMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -12445,7 +12446,7 @@ pub struct MariaDBMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIg } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -12457,7 +12458,7 @@ pub struct MariaDBMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIg /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -12475,7 +12476,7 @@ pub struct MariaDBMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIg /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -12496,7 +12497,7 @@ pub struct MariaDBMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIg /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -12506,7 +12507,7 @@ pub struct MariaDBMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIgn /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -12518,7 +12519,7 @@ pub struct MariaDBMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIgn /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -12536,7 +12537,7 @@ pub struct MariaDBMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIgn /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -12553,7 +12554,7 @@ pub struct MariaDBMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIgn } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -12578,7 +12579,7 @@ pub struct MariaDBMetricsExporterAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -12589,7 +12590,7 @@ pub struct MariaDBMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgn } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -12641,7 +12642,7 @@ pub struct MariaDBMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgn /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -12655,7 +12656,7 @@ pub struct MariaDBMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgn /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -12675,7 +12676,7 @@ pub struct MariaDBMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgn /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -12689,7 +12690,7 @@ pub struct MariaDBMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgn /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -12710,7 +12711,7 @@ pub struct MariaDBMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgn /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -12762,7 +12763,7 @@ pub struct MariaDBMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgno /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -12776,7 +12777,7 @@ pub struct MariaDBMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgno /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -12796,7 +12797,7 @@ pub struct MariaDBMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgno /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -12810,7 +12811,7 @@ pub struct MariaDBMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgno /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -12826,7 +12827,7 @@ pub struct MariaDBMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgno } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -12851,7 +12852,7 @@ pub struct MariaDBMetricsExporterAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -12862,7 +12863,7 @@ pub struct MariaDBMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulin } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -12914,7 +12915,7 @@ pub struct MariaDBMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulin /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -12928,7 +12929,7 @@ pub struct MariaDBMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulin /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -12948,7 +12949,7 @@ pub struct MariaDBMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulin /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -12962,7 +12963,7 @@ pub struct MariaDBMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulin /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -12983,7 +12984,7 @@ pub struct MariaDBMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulin /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -13035,7 +13036,7 @@ pub struct MariaDBMetricsExporterAffinityPodAntiAffinityRequiredDuringScheduling /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -13049,7 +13050,7 @@ pub struct MariaDBMetricsExporterAffinityPodAntiAffinityRequiredDuringScheduling /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -13069,7 +13070,7 @@ pub struct MariaDBMetricsExporterAffinityPodAntiAffinityRequiredDuringScheduling /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -13083,7 +13084,7 @@ pub struct MariaDBMetricsExporterAffinityPodAntiAffinityRequiredDuringScheduling /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -13099,7 +13100,7 @@ pub struct MariaDBMetricsExporterAffinityPodAntiAffinityRequiredDuringScheduling } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -13120,7 +13121,7 @@ pub struct MariaDBMetricsExporterEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -13139,7 +13140,7 @@ pub struct MariaDBMetricsExporterEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -13155,7 +13156,7 @@ pub struct MariaDBMetricsExporterEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -13167,7 +13168,7 @@ pub struct MariaDBMetricsExporterEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -13180,7 +13181,7 @@ pub struct MariaDBMetricsExporterEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -13195,7 +13196,7 @@ pub struct MariaDBMetricsExporterEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -13209,7 +13210,7 @@ pub struct MariaDBMetricsExporterEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -13222,7 +13223,7 @@ pub struct MariaDBMetricsExporterEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -13244,7 +13245,7 @@ pub enum MariaDBMetricsExporterImagePullPolicy { /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterImagePullSecrets { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -13254,7 +13255,7 @@ pub struct MariaDBMetricsExporterImagePullSecrets { } /// Container object definition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainers { /// Args to be used in the Container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13291,7 +13292,7 @@ pub struct MariaDBMetricsExporterInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -13312,7 +13313,7 @@ pub struct MariaDBMetricsExporterInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -13331,7 +13332,7 @@ pub struct MariaDBMetricsExporterInitContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -13347,7 +13348,7 @@ pub struct MariaDBMetricsExporterInitContainersEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -13359,7 +13360,7 @@ pub struct MariaDBMetricsExporterInitContainersEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -13372,7 +13373,7 @@ pub struct MariaDBMetricsExporterInitContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -13387,7 +13388,7 @@ pub struct MariaDBMetricsExporterInitContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -13401,7 +13402,7 @@ pub struct MariaDBMetricsExporterInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -13414,7 +13415,7 @@ pub struct MariaDBMetricsExporterInitContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -13435,7 +13436,7 @@ pub enum MariaDBMetricsExporterInitContainersImagePullPolicy { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13485,7 +13486,7 @@ pub struct MariaDBMetricsExporterInitContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -13497,7 +13498,7 @@ pub struct MariaDBMetricsExporterInitContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -13511,7 +13512,7 @@ pub struct MariaDBMetricsExporterInitContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -13534,7 +13535,7 @@ pub struct MariaDBMetricsExporterInitContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -13544,7 +13545,7 @@ pub struct MariaDBMetricsExporterInitContainersLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13556,7 +13557,7 @@ pub struct MariaDBMetricsExporterInitContainersLivenessProbeTcpSocket { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13606,7 +13607,7 @@ pub struct MariaDBMetricsExporterInitContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -13618,7 +13619,7 @@ pub struct MariaDBMetricsExporterInitContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -13632,7 +13633,7 @@ pub struct MariaDBMetricsExporterInitContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -13655,7 +13656,7 @@ pub struct MariaDBMetricsExporterInitContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -13665,7 +13666,7 @@ pub struct MariaDBMetricsExporterInitContainersReadinessProbeHttpGetHttpHeaders } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13677,7 +13678,7 @@ pub struct MariaDBMetricsExporterInitContainersReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -13703,7 +13704,7 @@ pub struct MariaDBMetricsExporterInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -13712,7 +13713,7 @@ pub struct MariaDBMetricsExporterInitContainersResourcesClaims { } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -13792,7 +13793,7 @@ pub struct MariaDBMetricsExporterInitContainersSecurityContext { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13807,7 +13808,7 @@ pub struct MariaDBMetricsExporterInitContainersSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13827,7 +13828,7 @@ pub struct MariaDBMetricsExporterInitContainersSecurityContextSeLinuxOptions { /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -13850,7 +13851,7 @@ pub struct MariaDBMetricsExporterInitContainersSecurityContextSeccompProfile { /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -13875,7 +13876,7 @@ pub struct MariaDBMetricsExporterInitContainersSecurityContextWindowsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -13906,7 +13907,7 @@ pub struct MariaDBMetricsExporterInitContainersVolumeMounts { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13956,7 +13957,7 @@ pub struct MariaDBMetricsExporterLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -13968,7 +13969,7 @@ pub struct MariaDBMetricsExporterLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -13982,7 +13983,7 @@ pub struct MariaDBMetricsExporterLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -14005,7 +14006,7 @@ pub struct MariaDBMetricsExporterLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -14015,7 +14016,7 @@ pub struct MariaDBMetricsExporterLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -14027,7 +14028,7 @@ pub struct MariaDBMetricsExporterLivenessProbeTcpSocket { } /// PodMetadata defines extra metadata for the Pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterPodMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -14038,7 +14039,7 @@ pub struct MariaDBMetricsExporterPodMetadata { } /// SecurityContext holds pod-level security attributes and common container settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterPodSecurityContext { /// A special supplemental group that applies to all containers in a pod. /// Some volume types allow the Kubelet to change the ownership of that volume @@ -14127,7 +14128,7 @@ pub struct MariaDBMetricsExporterPodSecurityContext { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterPodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -14145,7 +14146,7 @@ pub struct MariaDBMetricsExporterPodSecurityContextSeLinuxOptions { /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterPodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -14165,7 +14166,7 @@ pub struct MariaDBMetricsExporterPodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterPodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -14177,7 +14178,7 @@ pub struct MariaDBMetricsExporterPodSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterPodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -14202,7 +14203,7 @@ pub struct MariaDBMetricsExporterPodSecurityContextWindowsOptions { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -14252,7 +14253,7 @@ pub struct MariaDBMetricsExporterReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -14264,7 +14265,7 @@ pub struct MariaDBMetricsExporterReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -14278,7 +14279,7 @@ pub struct MariaDBMetricsExporterReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -14301,7 +14302,7 @@ pub struct MariaDBMetricsExporterReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -14311,7 +14312,7 @@ pub struct MariaDBMetricsExporterReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -14323,7 +14324,7 @@ pub struct MariaDBMetricsExporterReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -14349,7 +14350,7 @@ pub struct MariaDBMetricsExporterResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -14358,7 +14359,7 @@ pub struct MariaDBMetricsExporterResourcesClaims { } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -14438,7 +14439,7 @@ pub struct MariaDBMetricsExporterSecurityContext { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -14453,7 +14454,7 @@ pub struct MariaDBMetricsExporterSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -14473,7 +14474,7 @@ pub struct MariaDBMetricsExporterSecurityContextSeLinuxOptions { /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -14496,7 +14497,7 @@ pub struct MariaDBMetricsExporterSecurityContextSeccompProfile { /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -14521,7 +14522,7 @@ pub struct MariaDBMetricsExporterSecurityContextWindowsOptions { } /// Container object definition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainers { /// Args to be used in the Container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -14558,7 +14559,7 @@ pub struct MariaDBMetricsExporterSidecarContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -14579,7 +14580,7 @@ pub struct MariaDBMetricsExporterSidecarContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -14598,7 +14599,7 @@ pub struct MariaDBMetricsExporterSidecarContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -14614,7 +14615,7 @@ pub struct MariaDBMetricsExporterSidecarContainersEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -14626,7 +14627,7 @@ pub struct MariaDBMetricsExporterSidecarContainersEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -14639,7 +14640,7 @@ pub struct MariaDBMetricsExporterSidecarContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -14654,7 +14655,7 @@ pub struct MariaDBMetricsExporterSidecarContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -14668,7 +14669,7 @@ pub struct MariaDBMetricsExporterSidecarContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -14681,7 +14682,7 @@ pub struct MariaDBMetricsExporterSidecarContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -14702,7 +14703,7 @@ pub enum MariaDBMetricsExporterSidecarContainersImagePullPolicy { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -14752,7 +14753,7 @@ pub struct MariaDBMetricsExporterSidecarContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -14764,7 +14765,7 @@ pub struct MariaDBMetricsExporterSidecarContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -14778,7 +14779,7 @@ pub struct MariaDBMetricsExporterSidecarContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -14801,7 +14802,7 @@ pub struct MariaDBMetricsExporterSidecarContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -14811,7 +14812,7 @@ pub struct MariaDBMetricsExporterSidecarContainersLivenessProbeHttpGetHttpHeader } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -14823,7 +14824,7 @@ pub struct MariaDBMetricsExporterSidecarContainersLivenessProbeTcpSocket { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -14873,7 +14874,7 @@ pub struct MariaDBMetricsExporterSidecarContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -14885,7 +14886,7 @@ pub struct MariaDBMetricsExporterSidecarContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -14899,7 +14900,7 @@ pub struct MariaDBMetricsExporterSidecarContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -14922,7 +14923,7 @@ pub struct MariaDBMetricsExporterSidecarContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -14932,7 +14933,7 @@ pub struct MariaDBMetricsExporterSidecarContainersReadinessProbeHttpGetHttpHeade } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -14944,7 +14945,7 @@ pub struct MariaDBMetricsExporterSidecarContainersReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -14970,7 +14971,7 @@ pub struct MariaDBMetricsExporterSidecarContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -14979,7 +14980,7 @@ pub struct MariaDBMetricsExporterSidecarContainersResourcesClaims { } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -15059,7 +15060,7 @@ pub struct MariaDBMetricsExporterSidecarContainersSecurityContext { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -15074,7 +15075,7 @@ pub struct MariaDBMetricsExporterSidecarContainersSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -15094,7 +15095,7 @@ pub struct MariaDBMetricsExporterSidecarContainersSecurityContextSeLinuxOptions /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -15117,7 +15118,7 @@ pub struct MariaDBMetricsExporterSidecarContainersSecurityContextSeccompProfile /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -15142,7 +15143,7 @@ pub struct MariaDBMetricsExporterSidecarContainersSecurityContextWindowsOptions } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -15174,7 +15175,7 @@ pub struct MariaDBMetricsExporterSidecarContainersVolumeMounts { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -15203,7 +15204,7 @@ pub struct MariaDBMetricsExporterTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods @@ -15325,7 +15326,7 @@ pub struct MariaDBMetricsExporterTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods /// in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -15339,7 +15340,7 @@ pub struct MariaDBMetricsExporterTopologySpreadConstraintsLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -15355,7 +15356,7 @@ pub struct MariaDBMetricsExporterTopologySpreadConstraintsLabelSelectorMatchExpr } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -15386,7 +15387,7 @@ pub struct MariaDBMetricsExporterVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. @@ -15536,7 +15537,7 @@ pub struct MariaDBMetricsExporterVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -15562,7 +15563,7 @@ pub struct MariaDBMetricsExporterVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -15588,7 +15589,7 @@ pub struct MariaDBMetricsExporterVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force /// the ReadOnly setting in VolumeMounts. @@ -15603,7 +15604,7 @@ pub struct MariaDBMetricsExporterVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it @@ -15632,7 +15633,7 @@ pub struct MariaDBMetricsExporterVolumesCephfs { /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesCephfsSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -15643,7 +15644,7 @@ pub struct MariaDBMetricsExporterVolumesCephfsSecretRef { /// cinder represents a cinder volume attached and mounted on kubelets host machine. /// More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesCinder { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -15668,7 +15669,7 @@ pub struct MariaDBMetricsExporterVolumesCinder { /// secretRef is optional: points to a secret object containing parameters used to connect /// to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesCinderSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -15678,7 +15679,7 @@ pub struct MariaDBMetricsExporterVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -15709,7 +15710,7 @@ pub struct MariaDBMetricsExporterVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -15729,7 +15730,7 @@ pub struct MariaDBMetricsExporterVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesCsi { /// driver is the name of the CSI driver that handles this volume. /// Consult with your admin for the correct name as registered in the cluster. @@ -15761,7 +15762,7 @@ pub struct MariaDBMetricsExporterVolumesCsi { /// NodePublishVolume and NodeUnpublishVolume calls. /// This field is optional, and may be empty if no secret is required. If the /// secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesCsiNodePublishSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -15771,7 +15772,7 @@ pub struct MariaDBMetricsExporterVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a /// Optional: mode bits used to set permissions on created files by default. @@ -15789,7 +15790,7 @@ pub struct MariaDBMetricsExporterVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -15811,7 +15812,7 @@ pub struct MariaDBMetricsExporterVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -15823,7 +15824,7 @@ pub struct MariaDBMetricsExporterVolumesDownwardApiItemsFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -15837,7 +15838,7 @@ pub struct MariaDBMetricsExporterVolumesDownwardApiItemsResourceFieldRef { /// emptyDir represents a temporary directory that shares a pod's lifetime. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. /// The default is "" which means to use the node's default medium. @@ -15883,7 +15884,7 @@ pub struct MariaDBMetricsExporterVolumesEmptyDir { /// /// A pod can use both types of ephemeral volumes and /// persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. /// The pod in which this EphemeralVolumeSource is embedded will be the @@ -15937,7 +15938,7 @@ pub struct MariaDBMetricsExporterVolumesEphemeral { /// /// /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during @@ -15954,7 +15955,7 @@ pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during /// validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateMetadata { } @@ -15962,7 +15963,7 @@ pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateMetadata { /// copied unchanged into the PVC that gets created from this /// template. The same fields as in a PersistentVolumeClaim /// are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -16048,7 +16049,7 @@ pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpec { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -16084,7 +16085,7 @@ pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecDataSour /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -16107,7 +16108,7 @@ pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecDataSour /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -16122,7 +16123,7 @@ pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecResource } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -16136,7 +16137,7 @@ pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecSelector /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -16152,7 +16153,7 @@ pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecSelector } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesFc { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -16178,7 +16179,7 @@ pub struct MariaDBMetricsExporterVolumesFc { /// flexVolume represents a generic volume resource that is /// provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -16208,7 +16209,7 @@ pub struct MariaDBMetricsExporterVolumesFlexVolume { /// empty if no secret object is specified. If the secret object /// contains more than one secret, all secrets are passed to the plugin /// scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesFlexVolumeSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -16218,7 +16219,7 @@ pub struct MariaDBMetricsExporterVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker /// should be considered as deprecated @@ -16232,7 +16233,7 @@ pub struct MariaDBMetricsExporterVolumesFlocker { /// gcePersistentDisk represents a GCE Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -16263,7 +16264,7 @@ pub struct MariaDBMetricsExporterVolumesGcePersistentDisk { /// DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an /// EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir /// into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesGitRepo { /// directory is the target directory name. /// Must not contain or start with '..'. If '.' is supplied, the volume directory will be the @@ -16280,7 +16281,7 @@ pub struct MariaDBMetricsExporterVolumesGitRepo { /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod @@ -16303,7 +16304,7 @@ pub struct MariaDBMetricsExporterVolumesGlusterfs { /// --- /// TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not /// mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesHostPath { /// path of the directory on the host. /// If the path is a symlink, it will follow the link to the real path. @@ -16319,7 +16320,7 @@ pub struct MariaDBMetricsExporterVolumesHostPath { /// iscsi represents an ISCSI Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -16365,7 +16366,7 @@ pub struct MariaDBMetricsExporterVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesIscsiSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -16376,7 +16377,7 @@ pub struct MariaDBMetricsExporterVolumesIscsiSecretRef { /// nfs represents an NFS mount on the host that shares a pod's lifetime /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesNfs { /// path that is exported by the NFS server. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs @@ -16394,7 +16395,7 @@ pub struct MariaDBMetricsExporterVolumesNfs { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -16407,7 +16408,7 @@ pub struct MariaDBMetricsExporterVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -16420,7 +16421,7 @@ pub struct MariaDBMetricsExporterVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesPortworxVolume { /// fSType represents the filesystem type to mount /// Must be a filesystem type supported by the host operating system. @@ -16437,7 +16438,7 @@ pub struct MariaDBMetricsExporterVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -16453,7 +16454,7 @@ pub struct MariaDBMetricsExporterVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjectedSources { /// ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field /// of ClusterTrustBundle objects in an auto-updating file. @@ -16503,7 +16504,7 @@ pub struct MariaDBMetricsExporterVolumesProjectedSources { /// comments and block headers are stripped. Certificates are deduplicated. /// The ordering of certificates within the file is arbitrary, and Kubelet /// may change the order over time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjectedSourcesClusterTrustBundle { /// Select all ClusterTrustBundles that match this label selector. Only has /// effect if signerName is set. Mutually-exclusive with name. If unset, @@ -16535,7 +16536,7 @@ pub struct MariaDBMetricsExporterVolumesProjectedSourcesClusterTrustBundle { /// effect if signerName is set. Mutually-exclusive with name. If unset, /// interpreted as "match nothing". If set but empty, interpreted as "match /// everything". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjectedSourcesClusterTrustBundleLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -16549,7 +16550,7 @@ pub struct MariaDBMetricsExporterVolumesProjectedSourcesClusterTrustBundleLabelS /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjectedSourcesClusterTrustBundleLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -16565,7 +16566,7 @@ pub struct MariaDBMetricsExporterVolumesProjectedSourcesClusterTrustBundleLabelS } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced /// ConfigMap will be projected into the volume as a file whose name is the @@ -16587,7 +16588,7 @@ pub struct MariaDBMetricsExporterVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -16607,7 +16608,7 @@ pub struct MariaDBMetricsExporterVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -16615,7 +16616,7 @@ pub struct MariaDBMetricsExporterVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -16637,7 +16638,7 @@ pub struct MariaDBMetricsExporterVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -16649,7 +16650,7 @@ pub struct MariaDBMetricsExporterVolumesProjectedSourcesDownwardApiItemsFieldRef /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -16662,7 +16663,7 @@ pub struct MariaDBMetricsExporterVolumesProjectedSourcesDownwardApiItemsResource } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced /// Secret will be projected into the volume as a file whose name is the @@ -16684,7 +16685,7 @@ pub struct MariaDBMetricsExporterVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -16704,7 +16705,7 @@ pub struct MariaDBMetricsExporterVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token /// must identify itself with an identifier specified in the audience of the @@ -16726,7 +16727,7 @@ pub struct MariaDBMetricsExporterVolumesProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesQuobyte { /// group to map volume access to /// Default is no group @@ -16754,7 +16755,7 @@ pub struct MariaDBMetricsExporterVolumesQuobyte { /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -16801,7 +16802,7 @@ pub struct MariaDBMetricsExporterVolumesRbd { /// overrides keyring. /// Default is nil. /// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesRbdSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -16811,7 +16812,7 @@ pub struct MariaDBMetricsExporterVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesScaleIo { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -16852,7 +16853,7 @@ pub struct MariaDBMetricsExporterVolumesScaleIo { /// secretRef references to the secret for ScaleIO user and other /// sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesScaleIoSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -16863,7 +16864,7 @@ pub struct MariaDBMetricsExporterVolumesScaleIoSecretRef { /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -16893,7 +16894,7 @@ pub struct MariaDBMetricsExporterVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesSecretItems { /// key is the key to project. pub key: String, @@ -16913,7 +16914,7 @@ pub struct MariaDBMetricsExporterVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesStorageos { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -16944,7 +16945,7 @@ pub struct MariaDBMetricsExporterVolumesStorageos { /// secretRef specifies the secret to use for obtaining the StorageOS API /// credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesStorageosSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -16954,7 +16955,7 @@ pub struct MariaDBMetricsExporterVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesVsphereVolume { /// fsType is filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -16973,7 +16974,7 @@ pub struct MariaDBMetricsExporterVolumesVsphereVolume { } /// PasswordSecretKeyRef is a reference to the password of the monitoring user used by the exporter. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsPasswordSecretKeyRef { /// Generate indicates whether the Secret should be generated if the Secret referenced is not present. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -16991,7 +16992,7 @@ pub struct MariaDBMetricsPasswordSecretKeyRef { } /// ServiceMonitor defines the ServiceMonior object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsServiceMonitor { /// Interval for scraping metrics. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -17011,7 +17012,7 @@ pub struct MariaDBMetricsServiceMonitor { /// If not provided, it will be defaulted with a reference to a ConfigMap containing the MyCnf field. /// If the referred ConfigMap is labeled with "k8s.mariadb.com/watch", /// an update to the Mariadb resource will be triggered when the ConfigMap is updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMyCnfConfigMapKeyRef { /// The key to select. pub key: String, @@ -17026,7 +17027,7 @@ pub struct MariaDBMyCnfConfigMapKeyRef { } /// PasswordSecretKeyRef is a Secret reference to the password of the initial user created on bootstrap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPasswordSecretKeyRef { /// Generate indicates whether the Secret should be generated if the Secret referenced is not present. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -17044,7 +17045,7 @@ pub struct MariaDBPasswordSecretKeyRef { } /// PodDisruptionBudget defines the budget for replica availability. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPodDisruptionBudget { /// MaxUnavailable defines the number of maximum unavailable Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] @@ -17055,7 +17056,7 @@ pub struct MariaDBPodDisruptionBudget { } /// PodMetadata defines extra metadata for the Pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPodMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -17066,7 +17067,7 @@ pub struct MariaDBPodMetadata { } /// SecurityContext holds pod-level security attributes and common container settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPodSecurityContext { /// A special supplemental group that applies to all containers in a pod. /// Some volume types allow the Kubelet to change the ownership of that volume @@ -17155,7 +17156,7 @@ pub struct MariaDBPodSecurityContext { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -17173,7 +17174,7 @@ pub struct MariaDBPodSecurityContextSeLinuxOptions { /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -17193,7 +17194,7 @@ pub struct MariaDBPodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -17205,7 +17206,7 @@ pub struct MariaDBPodSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -17230,7 +17231,7 @@ pub struct MariaDBPodSecurityContextWindowsOptions { } /// PrimaryConnection defines templates to configure the primary Connection object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPrimaryConnection { /// HealthCheck to be used in the Connection. #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthCheck")] @@ -17253,7 +17254,7 @@ pub struct MariaDBPrimaryConnection { } /// HealthCheck to be used in the Connection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPrimaryConnectionHealthCheck { /// Interval used to perform health checks. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -17264,7 +17265,7 @@ pub struct MariaDBPrimaryConnectionHealthCheck { } /// SecretTemplate to be used in the Connection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPrimaryConnectionSecretTemplate { /// DatabaseKey to be used in the Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "databaseKey")] @@ -17293,7 +17294,7 @@ pub struct MariaDBPrimaryConnectionSecretTemplate { } /// Metadata to be added to the Secret object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPrimaryConnectionSecretTemplateMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -17304,7 +17305,7 @@ pub struct MariaDBPrimaryConnectionSecretTemplateMetadata { } /// PrimaryService defines templates to configure the primary Service object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPrimaryService { /// AllocateLoadBalancerNodePorts Service field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] @@ -17330,7 +17331,7 @@ pub struct MariaDBPrimaryService { } /// Metadata to be added to the Service metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPrimaryServiceMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -17350,7 +17351,7 @@ pub enum MariaDBPrimaryServiceType { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -17400,7 +17401,7 @@ pub struct MariaDBReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -17412,7 +17413,7 @@ pub struct MariaDBReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -17426,7 +17427,7 @@ pub struct MariaDBReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -17449,7 +17450,7 @@ pub struct MariaDBReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -17459,7 +17460,7 @@ pub struct MariaDBReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -17471,7 +17472,7 @@ pub struct MariaDBReadinessProbeTcpSocket { } /// Replication configures high availability via replication. This feature is still in alpha, use Galera if you are looking for a more production-ready HA. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBReplication { /// Enabled is a flag to enable Replication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -17494,7 +17495,7 @@ pub struct MariaDBReplication { } /// Primary is the replication configuration for the primary node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBReplicationPrimary { /// AutomaticFailover indicates whether the operator should automatically update PodIndex to perform an automatic primary failover. #[serde(default, skip_serializing_if = "Option::is_none", rename = "automaticFailover")] @@ -17505,7 +17506,7 @@ pub struct MariaDBReplicationPrimary { } /// ReplicaReplication is the replication configuration for the replica nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBReplicationReplica { /// ConnectionRetries to be used when the replica connects to the primary. #[serde(default, skip_serializing_if = "Option::is_none", rename = "connectionRetries")] @@ -17538,7 +17539,7 @@ pub enum MariaDBReplicationReplicaGtid { } /// ReplPasswordSecretKeyRef provides a reference to the Secret to use as password for the replication user. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBReplicationReplicaReplPasswordSecretKeyRef { /// Generate indicates whether the Secret should be generated if the Secret referenced is not present. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -17563,7 +17564,7 @@ pub enum MariaDBReplicationReplicaWaitPoint { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -17589,7 +17590,7 @@ pub struct MariaDBResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -17598,7 +17599,7 @@ pub struct MariaDBResourcesClaims { } /// RootPasswordSecretKeyRef is a reference to a Secret key containing the root password. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBRootPasswordSecretKeyRef { /// Generate indicates whether the Secret should be generated if the Secret referenced is not present. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -17616,7 +17617,7 @@ pub struct MariaDBRootPasswordSecretKeyRef { } /// SecondaryConnection defines templates to configure the secondary Connection object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSecondaryConnection { /// HealthCheck to be used in the Connection. #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthCheck")] @@ -17639,7 +17640,7 @@ pub struct MariaDBSecondaryConnection { } /// HealthCheck to be used in the Connection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSecondaryConnectionHealthCheck { /// Interval used to perform health checks. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -17650,7 +17651,7 @@ pub struct MariaDBSecondaryConnectionHealthCheck { } /// SecretTemplate to be used in the Connection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSecondaryConnectionSecretTemplate { /// DatabaseKey to be used in the Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "databaseKey")] @@ -17679,7 +17680,7 @@ pub struct MariaDBSecondaryConnectionSecretTemplate { } /// Metadata to be added to the Secret object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSecondaryConnectionSecretTemplateMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -17690,7 +17691,7 @@ pub struct MariaDBSecondaryConnectionSecretTemplateMetadata { } /// SecondaryService defines templates to configure the secondary Service object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSecondaryService { /// AllocateLoadBalancerNodePorts Service field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] @@ -17716,7 +17717,7 @@ pub struct MariaDBSecondaryService { } /// Metadata to be added to the Service metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSecondaryServiceMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -17736,7 +17737,7 @@ pub enum MariaDBSecondaryServiceType { } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -17816,7 +17817,7 @@ pub struct MariaDBSecurityContext { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -17831,7 +17832,7 @@ pub struct MariaDBSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -17851,7 +17852,7 @@ pub struct MariaDBSecurityContextSeLinuxOptions { /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -17874,7 +17875,7 @@ pub struct MariaDBSecurityContextSeccompProfile { /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -17899,7 +17900,7 @@ pub struct MariaDBSecurityContextWindowsOptions { } /// Service defines templates to configure the general Service object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBService { /// AllocateLoadBalancerNodePorts Service field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] @@ -17925,7 +17926,7 @@ pub struct MariaDBService { } /// Metadata to be added to the Service metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBServiceMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -17945,7 +17946,7 @@ pub enum MariaDBServiceType { } /// Container object definition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainers { /// Args to be used in the Container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -17982,7 +17983,7 @@ pub struct MariaDBSidecarContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -18003,7 +18004,7 @@ pub struct MariaDBSidecarContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -18022,7 +18023,7 @@ pub struct MariaDBSidecarContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -18038,7 +18039,7 @@ pub struct MariaDBSidecarContainersEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -18050,7 +18051,7 @@ pub struct MariaDBSidecarContainersEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -18063,7 +18064,7 @@ pub struct MariaDBSidecarContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -18078,7 +18079,7 @@ pub struct MariaDBSidecarContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -18092,7 +18093,7 @@ pub struct MariaDBSidecarContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -18105,7 +18106,7 @@ pub struct MariaDBSidecarContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -18126,7 +18127,7 @@ pub enum MariaDBSidecarContainersImagePullPolicy { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -18176,7 +18177,7 @@ pub struct MariaDBSidecarContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -18188,7 +18189,7 @@ pub struct MariaDBSidecarContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -18202,7 +18203,7 @@ pub struct MariaDBSidecarContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -18225,7 +18226,7 @@ pub struct MariaDBSidecarContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -18235,7 +18236,7 @@ pub struct MariaDBSidecarContainersLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -18247,7 +18248,7 @@ pub struct MariaDBSidecarContainersLivenessProbeTcpSocket { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -18297,7 +18298,7 @@ pub struct MariaDBSidecarContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -18309,7 +18310,7 @@ pub struct MariaDBSidecarContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -18323,7 +18324,7 @@ pub struct MariaDBSidecarContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -18346,7 +18347,7 @@ pub struct MariaDBSidecarContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -18356,7 +18357,7 @@ pub struct MariaDBSidecarContainersReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -18368,7 +18369,7 @@ pub struct MariaDBSidecarContainersReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -18394,7 +18395,7 @@ pub struct MariaDBSidecarContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -18403,7 +18404,7 @@ pub struct MariaDBSidecarContainersResourcesClaims { } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -18483,7 +18484,7 @@ pub struct MariaDBSidecarContainersSecurityContext { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -18498,7 +18499,7 @@ pub struct MariaDBSidecarContainersSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -18518,7 +18519,7 @@ pub struct MariaDBSidecarContainersSecurityContextSeLinuxOptions { /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -18541,7 +18542,7 @@ pub struct MariaDBSidecarContainersSecurityContextSeccompProfile { /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -18566,7 +18567,7 @@ pub struct MariaDBSidecarContainersSecurityContextWindowsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -18597,7 +18598,7 @@ pub struct MariaDBSidecarContainersVolumeMounts { } /// Storage defines the storage options to be used for provisioning the PVCs mounted by MariaDB. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBStorage { /// Ephemeral indicates whether to use ephemeral storage in the PVCs. It is only compatible with non HA MariaDBs. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -18623,7 +18624,7 @@ pub struct MariaDBStorage { } /// VolumeClaimTemplate provides a template to define the PVCs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBStorageVolumeClaimTemplate { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -18712,7 +18713,7 @@ pub struct MariaDBStorageVolumeClaimTemplate { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBStorageVolumeClaimTemplateDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -18748,7 +18749,7 @@ pub struct MariaDBStorageVolumeClaimTemplateDataSource { /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBStorageVolumeClaimTemplateDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -18767,7 +18768,7 @@ pub struct MariaDBStorageVolumeClaimTemplateDataSourceRef { } /// Metadata to be added to the PVC metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBStorageVolumeClaimTemplateMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -18782,7 +18783,7 @@ pub struct MariaDBStorageVolumeClaimTemplateMetadata { /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBStorageVolumeClaimTemplateResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -18797,7 +18798,7 @@ pub struct MariaDBStorageVolumeClaimTemplateResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBStorageVolumeClaimTemplateSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -18811,7 +18812,7 @@ pub struct MariaDBStorageVolumeClaimTemplateSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBStorageVolumeClaimTemplateSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -18828,7 +18829,7 @@ pub struct MariaDBStorageVolumeClaimTemplateSelectorMatchExpressions { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -18857,7 +18858,7 @@ pub struct MariaDBTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods @@ -18979,7 +18980,7 @@ pub struct MariaDBTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods /// in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -18993,7 +18994,7 @@ pub struct MariaDBTopologySpreadConstraintsLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -19009,7 +19010,7 @@ pub struct MariaDBTopologySpreadConstraintsLabelSelectorMatchExpressions { } /// UpdateStrategy defines how a MariaDB resource is updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBUpdateStrategy { /// RollingUpdate defines parameters for the RollingUpdate type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "rollingUpdate")] @@ -19020,7 +19021,7 @@ pub struct MariaDBUpdateStrategy { } /// RollingUpdate defines parameters for the RollingUpdate type. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBUpdateStrategyRollingUpdate { /// The maximum number of pods that can be unavailable during the update. /// Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). @@ -19048,7 +19049,7 @@ pub enum MariaDBUpdateStrategyType { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -19079,7 +19080,7 @@ pub struct MariaDBVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. @@ -19229,7 +19230,7 @@ pub struct MariaDBVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -19255,7 +19256,7 @@ pub struct MariaDBVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -19281,7 +19282,7 @@ pub struct MariaDBVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force /// the ReadOnly setting in VolumeMounts. @@ -19296,7 +19297,7 @@ pub struct MariaDBVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it @@ -19325,7 +19326,7 @@ pub struct MariaDBVolumesCephfs { /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesCephfsSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -19336,7 +19337,7 @@ pub struct MariaDBVolumesCephfsSecretRef { /// cinder represents a cinder volume attached and mounted on kubelets host machine. /// More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesCinder { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -19361,7 +19362,7 @@ pub struct MariaDBVolumesCinder { /// secretRef is optional: points to a secret object containing parameters used to connect /// to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesCinderSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -19371,7 +19372,7 @@ pub struct MariaDBVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -19402,7 +19403,7 @@ pub struct MariaDBVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -19422,7 +19423,7 @@ pub struct MariaDBVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesCsi { /// driver is the name of the CSI driver that handles this volume. /// Consult with your admin for the correct name as registered in the cluster. @@ -19454,7 +19455,7 @@ pub struct MariaDBVolumesCsi { /// NodePublishVolume and NodeUnpublishVolume calls. /// This field is optional, and may be empty if no secret is required. If the /// secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesCsiNodePublishSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -19464,7 +19465,7 @@ pub struct MariaDBVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a /// Optional: mode bits used to set permissions on created files by default. @@ -19482,7 +19483,7 @@ pub struct MariaDBVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -19504,7 +19505,7 @@ pub struct MariaDBVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -19516,7 +19517,7 @@ pub struct MariaDBVolumesDownwardApiItemsFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -19530,7 +19531,7 @@ pub struct MariaDBVolumesDownwardApiItemsResourceFieldRef { /// emptyDir represents a temporary directory that shares a pod's lifetime. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. /// The default is "" which means to use the node's default medium. @@ -19576,7 +19577,7 @@ pub struct MariaDBVolumesEmptyDir { /// /// A pod can use both types of ephemeral volumes and /// persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. /// The pod in which this EphemeralVolumeSource is embedded will be the @@ -19630,7 +19631,7 @@ pub struct MariaDBVolumesEphemeral { /// /// /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during @@ -19647,7 +19648,7 @@ pub struct MariaDBVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during /// validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesEphemeralVolumeClaimTemplateMetadata { } @@ -19655,7 +19656,7 @@ pub struct MariaDBVolumesEphemeralVolumeClaimTemplateMetadata { /// copied unchanged into the PVC that gets created from this /// template. The same fields as in a PersistentVolumeClaim /// are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -19741,7 +19742,7 @@ pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpec { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -19777,7 +19778,7 @@ pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -19800,7 +19801,7 @@ pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -19815,7 +19816,7 @@ pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpecResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -19829,7 +19830,7 @@ pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpecSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -19845,7 +19846,7 @@ pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpression } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesFc { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -19871,7 +19872,7 @@ pub struct MariaDBVolumesFc { /// flexVolume represents a generic volume resource that is /// provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -19901,7 +19902,7 @@ pub struct MariaDBVolumesFlexVolume { /// empty if no secret object is specified. If the secret object /// contains more than one secret, all secrets are passed to the plugin /// scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesFlexVolumeSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -19911,7 +19912,7 @@ pub struct MariaDBVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker /// should be considered as deprecated @@ -19925,7 +19926,7 @@ pub struct MariaDBVolumesFlocker { /// gcePersistentDisk represents a GCE Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -19956,7 +19957,7 @@ pub struct MariaDBVolumesGcePersistentDisk { /// DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an /// EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir /// into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesGitRepo { /// directory is the target directory name. /// Must not contain or start with '..'. If '.' is supplied, the volume directory will be the @@ -19973,7 +19974,7 @@ pub struct MariaDBVolumesGitRepo { /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod @@ -19996,7 +19997,7 @@ pub struct MariaDBVolumesGlusterfs { /// --- /// TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not /// mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesHostPath { /// path of the directory on the host. /// If the path is a symlink, it will follow the link to the real path. @@ -20012,7 +20013,7 @@ pub struct MariaDBVolumesHostPath { /// iscsi represents an ISCSI Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -20058,7 +20059,7 @@ pub struct MariaDBVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesIscsiSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -20069,7 +20070,7 @@ pub struct MariaDBVolumesIscsiSecretRef { /// nfs represents an NFS mount on the host that shares a pod's lifetime /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesNfs { /// path that is exported by the NFS server. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs @@ -20087,7 +20088,7 @@ pub struct MariaDBVolumesNfs { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -20100,7 +20101,7 @@ pub struct MariaDBVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -20113,7 +20114,7 @@ pub struct MariaDBVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesPortworxVolume { /// fSType represents the filesystem type to mount /// Must be a filesystem type supported by the host operating system. @@ -20130,7 +20131,7 @@ pub struct MariaDBVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -20146,7 +20147,7 @@ pub struct MariaDBVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjectedSources { /// ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field /// of ClusterTrustBundle objects in an auto-updating file. @@ -20196,7 +20197,7 @@ pub struct MariaDBVolumesProjectedSources { /// comments and block headers are stripped. Certificates are deduplicated. /// The ordering of certificates within the file is arbitrary, and Kubelet /// may change the order over time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjectedSourcesClusterTrustBundle { /// Select all ClusterTrustBundles that match this label selector. Only has /// effect if signerName is set. Mutually-exclusive with name. If unset, @@ -20228,7 +20229,7 @@ pub struct MariaDBVolumesProjectedSourcesClusterTrustBundle { /// effect if signerName is set. Mutually-exclusive with name. If unset, /// interpreted as "match nothing". If set but empty, interpreted as "match /// everything". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjectedSourcesClusterTrustBundleLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -20242,7 +20243,7 @@ pub struct MariaDBVolumesProjectedSourcesClusterTrustBundleLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjectedSourcesClusterTrustBundleLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -20258,7 +20259,7 @@ pub struct MariaDBVolumesProjectedSourcesClusterTrustBundleLabelSelectorMatchExp } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced /// ConfigMap will be projected into the volume as a file whose name is the @@ -20280,7 +20281,7 @@ pub struct MariaDBVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -20300,7 +20301,7 @@ pub struct MariaDBVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -20308,7 +20309,7 @@ pub struct MariaDBVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -20330,7 +20331,7 @@ pub struct MariaDBVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -20342,7 +20343,7 @@ pub struct MariaDBVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -20355,7 +20356,7 @@ pub struct MariaDBVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced /// Secret will be projected into the volume as a file whose name is the @@ -20377,7 +20378,7 @@ pub struct MariaDBVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -20397,7 +20398,7 @@ pub struct MariaDBVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token /// must identify itself with an identifier specified in the audience of the @@ -20419,7 +20420,7 @@ pub struct MariaDBVolumesProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesQuobyte { /// group to map volume access to /// Default is no group @@ -20447,7 +20448,7 @@ pub struct MariaDBVolumesQuobyte { /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -20494,7 +20495,7 @@ pub struct MariaDBVolumesRbd { /// overrides keyring. /// Default is nil. /// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesRbdSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -20504,7 +20505,7 @@ pub struct MariaDBVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesScaleIo { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -20545,7 +20546,7 @@ pub struct MariaDBVolumesScaleIo { /// secretRef references to the secret for ScaleIO user and other /// sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesScaleIoSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -20556,7 +20557,7 @@ pub struct MariaDBVolumesScaleIoSecretRef { /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -20586,7 +20587,7 @@ pub struct MariaDBVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesSecretItems { /// key is the key to project. pub key: String, @@ -20606,7 +20607,7 @@ pub struct MariaDBVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesStorageos { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -20637,7 +20638,7 @@ pub struct MariaDBVolumesStorageos { /// secretRef specifies the secret to use for obtaining the StorageOS API /// credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesStorageosSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -20647,7 +20648,7 @@ pub struct MariaDBVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesVsphereVolume { /// fsType is filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -20666,7 +20667,7 @@ pub struct MariaDBVolumesVsphereVolume { } /// MariaDBStatus defines the observed state of MariaDB -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBStatus { /// Conditions for the Mariadb object. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -20689,7 +20690,7 @@ pub struct MariaDBStatus { } /// GaleraRecovery is the Galera recovery current state. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBStatusGaleraRecovery { /// Bootstrap indicates when and in which Pod the cluster bootstrap process has been performed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -20706,7 +20707,7 @@ pub struct MariaDBStatusGaleraRecovery { } /// Bootstrap indicates when and in which Pod the cluster bootstrap process has been performed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBStatusGaleraRecoveryBootstrap { #[serde(default, skip_serializing_if = "Option::is_none")] pub pod: Option, @@ -20715,7 +20716,7 @@ pub struct MariaDBStatusGaleraRecoveryBootstrap { } /// State is a per Pod representation of the sequence recovery process. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBStatusGaleraRecoveryRecovered { #[serde(default, skip_serializing_if = "Option::is_none")] pub seqno: Option, @@ -20724,7 +20725,7 @@ pub struct MariaDBStatusGaleraRecoveryRecovered { } /// State is a per Pod representation of the Galera state file (grastate.dat). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBStatusGaleraRecoveryState { #[serde(default, skip_serializing_if = "Option::is_none", rename = "safeToBootstrap")] pub safe_to_bootstrap: Option, diff --git a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/maxscales.rs b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/maxscales.rs index eb9fa422b..f116b6093 100644 --- a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/maxscales.rs +++ b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/maxscales.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/maxscales.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/maxscales.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// MaxScaleSpec defines the desired state of MaxScale. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "k8s.mariadb.com", version = "v1alpha1", kind = "MaxScale", plural = "maxscales")] #[kube(namespaced)] #[kube(status = "MaxScaleStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct MaxScaleSpec { /// Admin configures the admin REST API and GUI. @@ -141,7 +142,7 @@ pub struct MaxScaleSpec { } /// Admin configures the admin REST API and GUI. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAdmin { /// GuiEnabled indicates whether the admin GUI should be enabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "guiEnabled")] @@ -152,7 +153,7 @@ pub struct MaxScaleAdmin { } /// Affinity to be used in the Pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinity { /// AntiAffinityEnabled configures PodAntiAffinity so each Pod is scheduled in a different Node, enabling HA. /// Make sure you have at least as many Nodes available as the replicas to not end up with unscheduled Pods. @@ -170,7 +171,7 @@ pub struct MaxScaleAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -194,7 +195,7 @@ pub struct MaxScaleAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: MaxScaleAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -203,7 +204,7 @@ pub struct MaxScaleAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExe } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -215,7 +216,7 @@ pub struct MaxScaleAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExe /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -233,7 +234,7 @@ pub struct MaxScaleAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExe /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -254,7 +255,7 @@ pub struct MaxScaleAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExe /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -264,7 +265,7 @@ pub struct MaxScaleAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExec /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -276,7 +277,7 @@ pub struct MaxScaleAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExec /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -294,7 +295,7 @@ pub struct MaxScaleAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExec /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -311,7 +312,7 @@ pub struct MaxScaleAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExec } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -336,7 +337,7 @@ pub struct MaxScaleAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -347,7 +348,7 @@ pub struct MaxScaleAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExec } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -399,7 +400,7 @@ pub struct MaxScaleAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExec /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -413,7 +414,7 @@ pub struct MaxScaleAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExec /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -433,7 +434,7 @@ pub struct MaxScaleAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExec /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -447,7 +448,7 @@ pub struct MaxScaleAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExec /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -468,7 +469,7 @@ pub struct MaxScaleAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExec /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -520,7 +521,7 @@ pub struct MaxScaleAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecu /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -534,7 +535,7 @@ pub struct MaxScaleAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -554,7 +555,7 @@ pub struct MaxScaleAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecu /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -568,7 +569,7 @@ pub struct MaxScaleAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -584,7 +585,7 @@ pub struct MaxScaleAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecu } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -609,7 +610,7 @@ pub struct MaxScaleAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -620,7 +621,7 @@ pub struct MaxScaleAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuring } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -672,7 +673,7 @@ pub struct MaxScaleAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuring /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -686,7 +687,7 @@ pub struct MaxScaleAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuring /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -706,7 +707,7 @@ pub struct MaxScaleAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuring /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -720,7 +721,7 @@ pub struct MaxScaleAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuring /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -741,7 +742,7 @@ pub struct MaxScaleAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuring /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -793,7 +794,7 @@ pub struct MaxScaleAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringE /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -807,7 +808,7 @@ pub struct MaxScaleAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringE /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -827,7 +828,7 @@ pub struct MaxScaleAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringE /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -841,7 +842,7 @@ pub struct MaxScaleAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringE /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -857,7 +858,7 @@ pub struct MaxScaleAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringE } /// Auth defines the credentials required for MaxScale to connect to MariaDB. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAuth { /// AdminPasswordSecretKeyRef is Secret key reference to the admin password to call the admin REST API. It is defaulted if not provided. #[serde(default, skip_serializing_if = "Option::is_none", rename = "adminPasswordSecretKeyRef")] @@ -925,7 +926,7 @@ pub struct MaxScaleAuth { } /// AdminPasswordSecretKeyRef is Secret key reference to the admin password to call the admin REST API. It is defaulted if not provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAuthAdminPasswordSecretKeyRef { /// Generate indicates whether the Secret should be generated if the Secret referenced is not present. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -943,7 +944,7 @@ pub struct MaxScaleAuthAdminPasswordSecretKeyRef { } /// ClientPasswordSecretKeyRef is Secret key reference to the password to connect to MaxScale. It is defaulted if not provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAuthClientPasswordSecretKeyRef { /// Generate indicates whether the Secret should be generated if the Secret referenced is not present. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -961,7 +962,7 @@ pub struct MaxScaleAuthClientPasswordSecretKeyRef { } /// MetricsPasswordSecretKeyRef is Secret key reference to the metrics password to call the admib REST API. It is defaulted if metrics are enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAuthMetricsPasswordSecretKeyRef { /// Generate indicates whether the Secret should be generated if the Secret referenced is not present. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -979,7 +980,7 @@ pub struct MaxScaleAuthMetricsPasswordSecretKeyRef { } /// MonitorPasswordSecretKeyRef is Secret key reference to the password used by MaxScale monitor to connect to MariaDB server. It is defaulted if not provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAuthMonitorPasswordSecretKeyRef { /// Generate indicates whether the Secret should be generated if the Secret referenced is not present. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -997,7 +998,7 @@ pub struct MaxScaleAuthMonitorPasswordSecretKeyRef { } /// ServerPasswordSecretKeyRef is Secret key reference to the password used by MaxScale to connect to MariaDB server. It is defaulted if not provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAuthServerPasswordSecretKeyRef { /// Generate indicates whether the Secret should be generated if the Secret referenced is not present. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1015,7 +1016,7 @@ pub struct MaxScaleAuthServerPasswordSecretKeyRef { } /// SyncPasswordSecretKeyRef is Secret key reference to the password used by MaxScale config to connect to MariaDB server. It is defaulted when HA is enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleAuthSyncPasswordSecretKeyRef { /// Generate indicates whether the Secret should be generated if the Secret referenced is not present. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1033,7 +1034,7 @@ pub struct MaxScaleAuthSyncPasswordSecretKeyRef { } /// Config defines the MaxScale configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleConfig { /// Params is a key value pair of parameters to be used in the MaxScale static configuration file. /// Any parameter supported by MaxScale may be specified here. See reference: @@ -1049,7 +1050,7 @@ pub struct MaxScaleConfig { } /// Sync defines how to replicate configuration across MaxScale replicas. It is defaulted when HA is enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleConfigSync { /// Database is the MariaDB logical database where the 'maxscale_config' table will be created in order to persist and synchronize config changes. If not provided, it defaults to 'mysql'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1063,7 +1064,7 @@ pub struct MaxScaleConfigSync { } /// VolumeClaimTemplate provides a template to define the PVCs for storing MaxScale runtime configuration files. It is defaulted if not provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleConfigVolumeClaimTemplate { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -1152,7 +1153,7 @@ pub struct MaxScaleConfigVolumeClaimTemplate { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleConfigVolumeClaimTemplateDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -1188,7 +1189,7 @@ pub struct MaxScaleConfigVolumeClaimTemplateDataSource { /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleConfigVolumeClaimTemplateDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -1207,7 +1208,7 @@ pub struct MaxScaleConfigVolumeClaimTemplateDataSourceRef { } /// Metadata to be added to the PVC metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleConfigVolumeClaimTemplateMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1222,7 +1223,7 @@ pub struct MaxScaleConfigVolumeClaimTemplateMetadata { /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleConfigVolumeClaimTemplateResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -1237,7 +1238,7 @@ pub struct MaxScaleConfigVolumeClaimTemplateResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleConfigVolumeClaimTemplateSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1251,7 +1252,7 @@ pub struct MaxScaleConfigVolumeClaimTemplateSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleConfigVolumeClaimTemplateSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1267,7 +1268,7 @@ pub struct MaxScaleConfigVolumeClaimTemplateSelectorMatchExpressions { } /// Connection provides a template to define the Connection for MaxScale. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleConnection { /// HealthCheck to be used in the Connection. #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthCheck")] @@ -1290,7 +1291,7 @@ pub struct MaxScaleConnection { } /// HealthCheck to be used in the Connection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleConnectionHealthCheck { /// Interval used to perform health checks. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1301,7 +1302,7 @@ pub struct MaxScaleConnectionHealthCheck { } /// SecretTemplate to be used in the Connection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleConnectionSecretTemplate { /// DatabaseKey to be used in the Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "databaseKey")] @@ -1330,7 +1331,7 @@ pub struct MaxScaleConnectionSecretTemplate { } /// Metadata to be added to the Secret object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleConnectionSecretTemplateMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1341,7 +1342,7 @@ pub struct MaxScaleConnectionSecretTemplateMetadata { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -1362,7 +1363,7 @@ pub struct MaxScaleEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1381,7 +1382,7 @@ pub struct MaxScaleEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1397,7 +1398,7 @@ pub struct MaxScaleEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1409,7 +1410,7 @@ pub struct MaxScaleEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1422,7 +1423,7 @@ pub struct MaxScaleEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1437,7 +1438,7 @@ pub struct MaxScaleEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -1451,7 +1452,7 @@ pub struct MaxScaleEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -1464,7 +1465,7 @@ pub struct MaxScaleEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -1477,7 +1478,7 @@ pub struct MaxScaleEnvFromSecretRef { } /// GuiKubernetesService defines a template for a Kubernetes Service object to connect to MaxScale's GUI. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleGuiKubernetesService { /// AllocateLoadBalancerNodePorts Service field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] @@ -1503,7 +1504,7 @@ pub struct MaxScaleGuiKubernetesService { } /// Metadata to be added to the Service metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleGuiKubernetesServiceMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1532,7 +1533,7 @@ pub enum MaxScaleImagePullPolicy { /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleImagePullSecrets { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -1542,7 +1543,7 @@ pub struct MaxScaleImagePullSecrets { } /// InheritMetadata defines the metadata to be inherited by children resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInheritMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1553,7 +1554,7 @@ pub struct MaxScaleInheritMetadata { } /// Container object definition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainers { /// Args to be used in the Container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1590,7 +1591,7 @@ pub struct MaxScaleInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -1611,7 +1612,7 @@ pub struct MaxScaleInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1630,7 +1631,7 @@ pub struct MaxScaleInitContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1646,7 +1647,7 @@ pub struct MaxScaleInitContainersEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1658,7 +1659,7 @@ pub struct MaxScaleInitContainersEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1671,7 +1672,7 @@ pub struct MaxScaleInitContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1686,7 +1687,7 @@ pub struct MaxScaleInitContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -1700,7 +1701,7 @@ pub struct MaxScaleInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -1713,7 +1714,7 @@ pub struct MaxScaleInitContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -1734,7 +1735,7 @@ pub enum MaxScaleInitContainersImagePullPolicy { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1784,7 +1785,7 @@ pub struct MaxScaleInitContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -1796,7 +1797,7 @@ pub struct MaxScaleInitContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1810,7 +1811,7 @@ pub struct MaxScaleInitContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -1833,7 +1834,7 @@ pub struct MaxScaleInitContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -1843,7 +1844,7 @@ pub struct MaxScaleInitContainersLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1855,7 +1856,7 @@ pub struct MaxScaleInitContainersLivenessProbeTcpSocket { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1905,7 +1906,7 @@ pub struct MaxScaleInitContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -1917,7 +1918,7 @@ pub struct MaxScaleInitContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1931,7 +1932,7 @@ pub struct MaxScaleInitContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -1954,7 +1955,7 @@ pub struct MaxScaleInitContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -1964,7 +1965,7 @@ pub struct MaxScaleInitContainersReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1976,7 +1977,7 @@ pub struct MaxScaleInitContainersReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -2002,7 +2003,7 @@ pub struct MaxScaleInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -2011,7 +2012,7 @@ pub struct MaxScaleInitContainersResourcesClaims { } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -2091,7 +2092,7 @@ pub struct MaxScaleInitContainersSecurityContext { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2106,7 +2107,7 @@ pub struct MaxScaleInitContainersSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2126,7 +2127,7 @@ pub struct MaxScaleInitContainersSecurityContextSeLinuxOptions { /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -2149,7 +2150,7 @@ pub struct MaxScaleInitContainersSecurityContextSeccompProfile { /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -2174,7 +2175,7 @@ pub struct MaxScaleInitContainersSecurityContextWindowsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -2205,7 +2206,7 @@ pub struct MaxScaleInitContainersVolumeMounts { } /// KubernetesService defines a template for a Kubernetes Service object to connect to MaxScale. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleKubernetesService { /// AllocateLoadBalancerNodePorts Service field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] @@ -2231,7 +2232,7 @@ pub struct MaxScaleKubernetesService { } /// Metadata to be added to the Service metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleKubernetesServiceMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2251,7 +2252,7 @@ pub enum MaxScaleKubernetesServiceType { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2301,7 +2302,7 @@ pub struct MaxScaleLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2313,7 +2314,7 @@ pub struct MaxScaleLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2327,7 +2328,7 @@ pub struct MaxScaleLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2350,7 +2351,7 @@ pub struct MaxScaleLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2360,7 +2361,7 @@ pub struct MaxScaleLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2372,7 +2373,7 @@ pub struct MaxScaleLivenessProbeTcpSocket { } /// MariaDBRef is a reference to the MariaDB that MaxScale points to. It is used to initialize the servers field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMariaDbRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2413,7 +2414,7 @@ pub struct MaxScaleMariaDbRef { } /// Metrics configures metrics and how to scrape them. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetrics { /// Enabled is a flag to enable Metrics #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2427,7 +2428,7 @@ pub struct MaxScaleMetrics { } /// Exporter defines the metrics exporter container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporter { /// Affinity to be used in the Pod. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2505,7 +2506,7 @@ pub struct MaxScaleMetricsExporter { } /// Affinity to be used in the Pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinity { /// AntiAffinityEnabled configures PodAntiAffinity so each Pod is scheduled in a different Node, enabling HA. /// Make sure you have at least as many Nodes available as the replicas to not end up with unscheduled Pods. @@ -2523,7 +2524,7 @@ pub struct MaxScaleMetricsExporterAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -2547,7 +2548,7 @@ pub struct MaxScaleMetricsExporterAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: MaxScaleMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -2556,7 +2557,7 @@ pub struct MaxScaleMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingI } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2568,7 +2569,7 @@ pub struct MaxScaleMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingI /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -2586,7 +2587,7 @@ pub struct MaxScaleMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingI /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -2607,7 +2608,7 @@ pub struct MaxScaleMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingI /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -2617,7 +2618,7 @@ pub struct MaxScaleMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIg /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2629,7 +2630,7 @@ pub struct MaxScaleMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIg /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -2647,7 +2648,7 @@ pub struct MaxScaleMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIg /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -2664,7 +2665,7 @@ pub struct MaxScaleMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIg } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -2689,7 +2690,7 @@ pub struct MaxScaleMetricsExporterAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -2700,7 +2701,7 @@ pub struct MaxScaleMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIg } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -2752,7 +2753,7 @@ pub struct MaxScaleMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIg /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2766,7 +2767,7 @@ pub struct MaxScaleMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIg /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2786,7 +2787,7 @@ pub struct MaxScaleMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIg /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2800,7 +2801,7 @@ pub struct MaxScaleMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIg /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2821,7 +2822,7 @@ pub struct MaxScaleMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIg /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -2873,7 +2874,7 @@ pub struct MaxScaleMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgn /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2887,7 +2888,7 @@ pub struct MaxScaleMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgn /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2907,7 +2908,7 @@ pub struct MaxScaleMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgn /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2921,7 +2922,7 @@ pub struct MaxScaleMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgn /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2937,7 +2938,7 @@ pub struct MaxScaleMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgn } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -2962,7 +2963,7 @@ pub struct MaxScaleMetricsExporterAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -2973,7 +2974,7 @@ pub struct MaxScaleMetricsExporterAffinityPodAntiAffinityPreferredDuringScheduli } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -3025,7 +3026,7 @@ pub struct MaxScaleMetricsExporterAffinityPodAntiAffinityPreferredDuringScheduli /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3039,7 +3040,7 @@ pub struct MaxScaleMetricsExporterAffinityPodAntiAffinityPreferredDuringScheduli /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3059,7 +3060,7 @@ pub struct MaxScaleMetricsExporterAffinityPodAntiAffinityPreferredDuringScheduli /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3073,7 +3074,7 @@ pub struct MaxScaleMetricsExporterAffinityPodAntiAffinityPreferredDuringScheduli /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3094,7 +3095,7 @@ pub struct MaxScaleMetricsExporterAffinityPodAntiAffinityPreferredDuringScheduli /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -3146,7 +3147,7 @@ pub struct MaxScaleMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulin /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3160,7 +3161,7 @@ pub struct MaxScaleMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulin /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3180,7 +3181,7 @@ pub struct MaxScaleMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulin /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3194,7 +3195,7 @@ pub struct MaxScaleMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulin /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3210,7 +3211,7 @@ pub struct MaxScaleMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulin } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -3231,7 +3232,7 @@ pub struct MaxScaleMetricsExporterEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -3250,7 +3251,7 @@ pub struct MaxScaleMetricsExporterEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -3266,7 +3267,7 @@ pub struct MaxScaleMetricsExporterEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3278,7 +3279,7 @@ pub struct MaxScaleMetricsExporterEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -3291,7 +3292,7 @@ pub struct MaxScaleMetricsExporterEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3306,7 +3307,7 @@ pub struct MaxScaleMetricsExporterEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -3320,7 +3321,7 @@ pub struct MaxScaleMetricsExporterEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -3333,7 +3334,7 @@ pub struct MaxScaleMetricsExporterEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -3355,7 +3356,7 @@ pub enum MaxScaleMetricsExporterImagePullPolicy { /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterImagePullSecrets { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -3365,7 +3366,7 @@ pub struct MaxScaleMetricsExporterImagePullSecrets { } /// Container object definition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainers { /// Args to be used in the Container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3402,7 +3403,7 @@ pub struct MaxScaleMetricsExporterInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -3423,7 +3424,7 @@ pub struct MaxScaleMetricsExporterInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -3442,7 +3443,7 @@ pub struct MaxScaleMetricsExporterInitContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -3458,7 +3459,7 @@ pub struct MaxScaleMetricsExporterInitContainersEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3470,7 +3471,7 @@ pub struct MaxScaleMetricsExporterInitContainersEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -3483,7 +3484,7 @@ pub struct MaxScaleMetricsExporterInitContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3498,7 +3499,7 @@ pub struct MaxScaleMetricsExporterInitContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -3512,7 +3513,7 @@ pub struct MaxScaleMetricsExporterInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -3525,7 +3526,7 @@ pub struct MaxScaleMetricsExporterInitContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -3546,7 +3547,7 @@ pub enum MaxScaleMetricsExporterInitContainersImagePullPolicy { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3596,7 +3597,7 @@ pub struct MaxScaleMetricsExporterInitContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -3608,7 +3609,7 @@ pub struct MaxScaleMetricsExporterInitContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3622,7 +3623,7 @@ pub struct MaxScaleMetricsExporterInitContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -3645,7 +3646,7 @@ pub struct MaxScaleMetricsExporterInitContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -3655,7 +3656,7 @@ pub struct MaxScaleMetricsExporterInitContainersLivenessProbeHttpGetHttpHeaders } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3667,7 +3668,7 @@ pub struct MaxScaleMetricsExporterInitContainersLivenessProbeTcpSocket { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3717,7 +3718,7 @@ pub struct MaxScaleMetricsExporterInitContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -3729,7 +3730,7 @@ pub struct MaxScaleMetricsExporterInitContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3743,7 +3744,7 @@ pub struct MaxScaleMetricsExporterInitContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -3766,7 +3767,7 @@ pub struct MaxScaleMetricsExporterInitContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -3776,7 +3777,7 @@ pub struct MaxScaleMetricsExporterInitContainersReadinessProbeHttpGetHttpHeaders } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3788,7 +3789,7 @@ pub struct MaxScaleMetricsExporterInitContainersReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -3814,7 +3815,7 @@ pub struct MaxScaleMetricsExporterInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -3823,7 +3824,7 @@ pub struct MaxScaleMetricsExporterInitContainersResourcesClaims { } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -3903,7 +3904,7 @@ pub struct MaxScaleMetricsExporterInitContainersSecurityContext { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3918,7 +3919,7 @@ pub struct MaxScaleMetricsExporterInitContainersSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3938,7 +3939,7 @@ pub struct MaxScaleMetricsExporterInitContainersSecurityContextSeLinuxOptions { /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -3961,7 +3962,7 @@ pub struct MaxScaleMetricsExporterInitContainersSecurityContextSeccompProfile { /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -3986,7 +3987,7 @@ pub struct MaxScaleMetricsExporterInitContainersSecurityContextWindowsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -4017,7 +4018,7 @@ pub struct MaxScaleMetricsExporterInitContainersVolumeMounts { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4067,7 +4068,7 @@ pub struct MaxScaleMetricsExporterLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4079,7 +4080,7 @@ pub struct MaxScaleMetricsExporterLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4093,7 +4094,7 @@ pub struct MaxScaleMetricsExporterLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4116,7 +4117,7 @@ pub struct MaxScaleMetricsExporterLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4126,7 +4127,7 @@ pub struct MaxScaleMetricsExporterLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4138,7 +4139,7 @@ pub struct MaxScaleMetricsExporterLivenessProbeTcpSocket { } /// PodMetadata defines extra metadata for the Pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterPodMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4149,7 +4150,7 @@ pub struct MaxScaleMetricsExporterPodMetadata { } /// SecurityContext holds pod-level security attributes and common container settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterPodSecurityContext { /// A special supplemental group that applies to all containers in a pod. /// Some volume types allow the Kubelet to change the ownership of that volume @@ -4238,7 +4239,7 @@ pub struct MaxScaleMetricsExporterPodSecurityContext { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterPodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4256,7 +4257,7 @@ pub struct MaxScaleMetricsExporterPodSecurityContextSeLinuxOptions { /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterPodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -4276,7 +4277,7 @@ pub struct MaxScaleMetricsExporterPodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterPodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -4288,7 +4289,7 @@ pub struct MaxScaleMetricsExporterPodSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterPodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -4313,7 +4314,7 @@ pub struct MaxScaleMetricsExporterPodSecurityContextWindowsOptions { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4363,7 +4364,7 @@ pub struct MaxScaleMetricsExporterReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4375,7 +4376,7 @@ pub struct MaxScaleMetricsExporterReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4389,7 +4390,7 @@ pub struct MaxScaleMetricsExporterReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4412,7 +4413,7 @@ pub struct MaxScaleMetricsExporterReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4422,7 +4423,7 @@ pub struct MaxScaleMetricsExporterReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4434,7 +4435,7 @@ pub struct MaxScaleMetricsExporterReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -4460,7 +4461,7 @@ pub struct MaxScaleMetricsExporterResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -4469,7 +4470,7 @@ pub struct MaxScaleMetricsExporterResourcesClaims { } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -4549,7 +4550,7 @@ pub struct MaxScaleMetricsExporterSecurityContext { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4564,7 +4565,7 @@ pub struct MaxScaleMetricsExporterSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4584,7 +4585,7 @@ pub struct MaxScaleMetricsExporterSecurityContextSeLinuxOptions { /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -4607,7 +4608,7 @@ pub struct MaxScaleMetricsExporterSecurityContextSeccompProfile { /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -4632,7 +4633,7 @@ pub struct MaxScaleMetricsExporterSecurityContextWindowsOptions { } /// Container object definition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainers { /// Args to be used in the Container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4669,7 +4670,7 @@ pub struct MaxScaleMetricsExporterSidecarContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -4690,7 +4691,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -4709,7 +4710,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -4725,7 +4726,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4737,7 +4738,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -4750,7 +4751,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersEnvValueFromResourceFieldRef } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4765,7 +4766,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -4779,7 +4780,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -4792,7 +4793,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -4813,7 +4814,7 @@ pub enum MaxScaleMetricsExporterSidecarContainersImagePullPolicy { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4863,7 +4864,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4875,7 +4876,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4889,7 +4890,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4912,7 +4913,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4922,7 +4923,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersLivenessProbeHttpGetHttpHeade } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4934,7 +4935,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersLivenessProbeTcpSocket { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4984,7 +4985,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4996,7 +4997,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -5010,7 +5011,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -5033,7 +5034,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -5043,7 +5044,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersReadinessProbeHttpGetHttpHead } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5055,7 +5056,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -5081,7 +5082,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -5090,7 +5091,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersResourcesClaims { } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -5170,7 +5171,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersSecurityContext { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5185,7 +5186,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5205,7 +5206,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersSecurityContextSeLinuxOptions /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -5228,7 +5229,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersSecurityContextSeccompProfile /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -5253,7 +5254,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersSecurityContextWindowsOptions } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterSidecarContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -5285,7 +5286,7 @@ pub struct MaxScaleMetricsExporterSidecarContainersVolumeMounts { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -5314,7 +5315,7 @@ pub struct MaxScaleMetricsExporterTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods @@ -5436,7 +5437,7 @@ pub struct MaxScaleMetricsExporterTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods /// in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5450,7 +5451,7 @@ pub struct MaxScaleMetricsExporterTopologySpreadConstraintsLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5466,7 +5467,7 @@ pub struct MaxScaleMetricsExporterTopologySpreadConstraintsLabelSelectorMatchExp } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -5497,7 +5498,7 @@ pub struct MaxScaleMetricsExporterVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. @@ -5647,7 +5648,7 @@ pub struct MaxScaleMetricsExporterVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -5673,7 +5674,7 @@ pub struct MaxScaleMetricsExporterVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -5699,7 +5700,7 @@ pub struct MaxScaleMetricsExporterVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force /// the ReadOnly setting in VolumeMounts. @@ -5714,7 +5715,7 @@ pub struct MaxScaleMetricsExporterVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it @@ -5743,7 +5744,7 @@ pub struct MaxScaleMetricsExporterVolumesCephfs { /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesCephfsSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -5754,7 +5755,7 @@ pub struct MaxScaleMetricsExporterVolumesCephfsSecretRef { /// cinder represents a cinder volume attached and mounted on kubelets host machine. /// More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesCinder { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -5779,7 +5780,7 @@ pub struct MaxScaleMetricsExporterVolumesCinder { /// secretRef is optional: points to a secret object containing parameters used to connect /// to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesCinderSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -5789,7 +5790,7 @@ pub struct MaxScaleMetricsExporterVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -5820,7 +5821,7 @@ pub struct MaxScaleMetricsExporterVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -5840,7 +5841,7 @@ pub struct MaxScaleMetricsExporterVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesCsi { /// driver is the name of the CSI driver that handles this volume. /// Consult with your admin for the correct name as registered in the cluster. @@ -5872,7 +5873,7 @@ pub struct MaxScaleMetricsExporterVolumesCsi { /// NodePublishVolume and NodeUnpublishVolume calls. /// This field is optional, and may be empty if no secret is required. If the /// secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesCsiNodePublishSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -5882,7 +5883,7 @@ pub struct MaxScaleMetricsExporterVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a /// Optional: mode bits used to set permissions on created files by default. @@ -5900,7 +5901,7 @@ pub struct MaxScaleMetricsExporterVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -5922,7 +5923,7 @@ pub struct MaxScaleMetricsExporterVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -5934,7 +5935,7 @@ pub struct MaxScaleMetricsExporterVolumesDownwardApiItemsFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -5948,7 +5949,7 @@ pub struct MaxScaleMetricsExporterVolumesDownwardApiItemsResourceFieldRef { /// emptyDir represents a temporary directory that shares a pod's lifetime. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. /// The default is "" which means to use the node's default medium. @@ -5994,7 +5995,7 @@ pub struct MaxScaleMetricsExporterVolumesEmptyDir { /// /// A pod can use both types of ephemeral volumes and /// persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. /// The pod in which this EphemeralVolumeSource is embedded will be the @@ -6048,7 +6049,7 @@ pub struct MaxScaleMetricsExporterVolumesEphemeral { /// /// /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during @@ -6065,7 +6066,7 @@ pub struct MaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during /// validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateMetadata { } @@ -6073,7 +6074,7 @@ pub struct MaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateMetadata { /// copied unchanged into the PVC that gets created from this /// template. The same fields as in a PersistentVolumeClaim /// are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -6159,7 +6160,7 @@ pub struct MaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateSpec { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -6195,7 +6196,7 @@ pub struct MaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecDataSou /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -6218,7 +6219,7 @@ pub struct MaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecDataSou /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -6233,7 +6234,7 @@ pub struct MaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecResourc } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6247,7 +6248,7 @@ pub struct MaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecSelecto /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6263,7 +6264,7 @@ pub struct MaxScaleMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecSelecto } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesFc { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -6289,7 +6290,7 @@ pub struct MaxScaleMetricsExporterVolumesFc { /// flexVolume represents a generic volume resource that is /// provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -6319,7 +6320,7 @@ pub struct MaxScaleMetricsExporterVolumesFlexVolume { /// empty if no secret object is specified. If the secret object /// contains more than one secret, all secrets are passed to the plugin /// scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesFlexVolumeSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -6329,7 +6330,7 @@ pub struct MaxScaleMetricsExporterVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker /// should be considered as deprecated @@ -6343,7 +6344,7 @@ pub struct MaxScaleMetricsExporterVolumesFlocker { /// gcePersistentDisk represents a GCE Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -6374,7 +6375,7 @@ pub struct MaxScaleMetricsExporterVolumesGcePersistentDisk { /// DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an /// EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir /// into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesGitRepo { /// directory is the target directory name. /// Must not contain or start with '..'. If '.' is supplied, the volume directory will be the @@ -6391,7 +6392,7 @@ pub struct MaxScaleMetricsExporterVolumesGitRepo { /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod @@ -6414,7 +6415,7 @@ pub struct MaxScaleMetricsExporterVolumesGlusterfs { /// --- /// TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not /// mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesHostPath { /// path of the directory on the host. /// If the path is a symlink, it will follow the link to the real path. @@ -6430,7 +6431,7 @@ pub struct MaxScaleMetricsExporterVolumesHostPath { /// iscsi represents an ISCSI Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -6476,7 +6477,7 @@ pub struct MaxScaleMetricsExporterVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesIscsiSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -6487,7 +6488,7 @@ pub struct MaxScaleMetricsExporterVolumesIscsiSecretRef { /// nfs represents an NFS mount on the host that shares a pod's lifetime /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesNfs { /// path that is exported by the NFS server. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs @@ -6505,7 +6506,7 @@ pub struct MaxScaleMetricsExporterVolumesNfs { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -6518,7 +6519,7 @@ pub struct MaxScaleMetricsExporterVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -6531,7 +6532,7 @@ pub struct MaxScaleMetricsExporterVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesPortworxVolume { /// fSType represents the filesystem type to mount /// Must be a filesystem type supported by the host operating system. @@ -6548,7 +6549,7 @@ pub struct MaxScaleMetricsExporterVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -6564,7 +6565,7 @@ pub struct MaxScaleMetricsExporterVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesProjectedSources { /// ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field /// of ClusterTrustBundle objects in an auto-updating file. @@ -6614,7 +6615,7 @@ pub struct MaxScaleMetricsExporterVolumesProjectedSources { /// comments and block headers are stripped. Certificates are deduplicated. /// The ordering of certificates within the file is arbitrary, and Kubelet /// may change the order over time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesProjectedSourcesClusterTrustBundle { /// Select all ClusterTrustBundles that match this label selector. Only has /// effect if signerName is set. Mutually-exclusive with name. If unset, @@ -6646,7 +6647,7 @@ pub struct MaxScaleMetricsExporterVolumesProjectedSourcesClusterTrustBundle { /// effect if signerName is set. Mutually-exclusive with name. If unset, /// interpreted as "match nothing". If set but empty, interpreted as "match /// everything". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesProjectedSourcesClusterTrustBundleLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6660,7 +6661,7 @@ pub struct MaxScaleMetricsExporterVolumesProjectedSourcesClusterTrustBundleLabel /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesProjectedSourcesClusterTrustBundleLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6676,7 +6677,7 @@ pub struct MaxScaleMetricsExporterVolumesProjectedSourcesClusterTrustBundleLabel } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced /// ConfigMap will be projected into the volume as a file whose name is the @@ -6698,7 +6699,7 @@ pub struct MaxScaleMetricsExporterVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -6718,7 +6719,7 @@ pub struct MaxScaleMetricsExporterVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6726,7 +6727,7 @@ pub struct MaxScaleMetricsExporterVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -6748,7 +6749,7 @@ pub struct MaxScaleMetricsExporterVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -6760,7 +6761,7 @@ pub struct MaxScaleMetricsExporterVolumesProjectedSourcesDownwardApiItemsFieldRe /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -6773,7 +6774,7 @@ pub struct MaxScaleMetricsExporterVolumesProjectedSourcesDownwardApiItemsResourc } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced /// Secret will be projected into the volume as a file whose name is the @@ -6795,7 +6796,7 @@ pub struct MaxScaleMetricsExporterVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -6815,7 +6816,7 @@ pub struct MaxScaleMetricsExporterVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token /// must identify itself with an identifier specified in the audience of the @@ -6837,7 +6838,7 @@ pub struct MaxScaleMetricsExporterVolumesProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesQuobyte { /// group to map volume access to /// Default is no group @@ -6865,7 +6866,7 @@ pub struct MaxScaleMetricsExporterVolumesQuobyte { /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -6912,7 +6913,7 @@ pub struct MaxScaleMetricsExporterVolumesRbd { /// overrides keyring. /// Default is nil. /// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesRbdSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -6922,7 +6923,7 @@ pub struct MaxScaleMetricsExporterVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesScaleIo { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -6963,7 +6964,7 @@ pub struct MaxScaleMetricsExporterVolumesScaleIo { /// secretRef references to the secret for ScaleIO user and other /// sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesScaleIoSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -6974,7 +6975,7 @@ pub struct MaxScaleMetricsExporterVolumesScaleIoSecretRef { /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -7004,7 +7005,7 @@ pub struct MaxScaleMetricsExporterVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesSecretItems { /// key is the key to project. pub key: String, @@ -7024,7 +7025,7 @@ pub struct MaxScaleMetricsExporterVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesStorageos { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -7055,7 +7056,7 @@ pub struct MaxScaleMetricsExporterVolumesStorageos { /// secretRef specifies the secret to use for obtaining the StorageOS API /// credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesStorageosSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -7065,7 +7066,7 @@ pub struct MaxScaleMetricsExporterVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsExporterVolumesVsphereVolume { /// fsType is filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -7084,7 +7085,7 @@ pub struct MaxScaleMetricsExporterVolumesVsphereVolume { } /// ServiceMonitor defines the ServiceMonior object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMetricsServiceMonitor { /// Interval for scraping metrics. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7101,7 +7102,7 @@ pub struct MaxScaleMetricsServiceMonitor { } /// Monitor monitors MariaDB server instances. It is required if 'spec.mariaDbRef' is not provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleMonitor { /// CooperativeMonitoring enables coordination between multiple MaxScale instances running monitors. It is defaulted when HA is enabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cooperativeMonitoring")] @@ -7138,7 +7139,7 @@ pub enum MaxScaleMonitorCooperativeMonitoring { } /// PodDisruptionBudget defines the budget for replica availability. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScalePodDisruptionBudget { /// MaxUnavailable defines the number of maximum unavailable Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] @@ -7149,7 +7150,7 @@ pub struct MaxScalePodDisruptionBudget { } /// PodMetadata defines extra metadata for the Pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScalePodMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7160,7 +7161,7 @@ pub struct MaxScalePodMetadata { } /// SecurityContext holds pod-level security attributes and common container settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScalePodSecurityContext { /// A special supplemental group that applies to all containers in a pod. /// Some volume types allow the Kubelet to change the ownership of that volume @@ -7249,7 +7250,7 @@ pub struct MaxScalePodSecurityContext { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScalePodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7267,7 +7268,7 @@ pub struct MaxScalePodSecurityContextSeLinuxOptions { /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScalePodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -7287,7 +7288,7 @@ pub struct MaxScalePodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScalePodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -7299,7 +7300,7 @@ pub struct MaxScalePodSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScalePodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -7324,7 +7325,7 @@ pub struct MaxScalePodSecurityContextWindowsOptions { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7374,7 +7375,7 @@ pub struct MaxScaleReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -7386,7 +7387,7 @@ pub struct MaxScaleReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -7400,7 +7401,7 @@ pub struct MaxScaleReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -7423,7 +7424,7 @@ pub struct MaxScaleReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -7433,7 +7434,7 @@ pub struct MaxScaleReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7445,7 +7446,7 @@ pub struct MaxScaleReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -7471,7 +7472,7 @@ pub struct MaxScaleResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -7480,7 +7481,7 @@ pub struct MaxScaleResourcesClaims { } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -7560,7 +7561,7 @@ pub struct MaxScaleSecurityContext { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7575,7 +7576,7 @@ pub struct MaxScaleSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7595,7 +7596,7 @@ pub struct MaxScaleSecurityContextSeLinuxOptions { /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -7618,7 +7619,7 @@ pub struct MaxScaleSecurityContextSeccompProfile { /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -7643,7 +7644,7 @@ pub struct MaxScaleSecurityContextWindowsOptions { } /// MaxScaleServer defines a MariaDB server to forward traffic to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleServers { /// Address is the network address of the MariaDB server. pub address: String, @@ -7688,7 +7689,7 @@ pub struct MaxScaleServices { } /// MaxScaleListener defines how the MaxScale server will listen for connections. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleServicesListener { /// Name is the identifier of the listener. It is defaulted if not provided #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7719,7 +7720,7 @@ pub enum MaxScaleServicesRouter { } /// Container object definition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainers { /// Args to be used in the Container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7756,7 +7757,7 @@ pub struct MaxScaleSidecarContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -7777,7 +7778,7 @@ pub struct MaxScaleSidecarContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -7796,7 +7797,7 @@ pub struct MaxScaleSidecarContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -7812,7 +7813,7 @@ pub struct MaxScaleSidecarContainersEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -7824,7 +7825,7 @@ pub struct MaxScaleSidecarContainersEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -7837,7 +7838,7 @@ pub struct MaxScaleSidecarContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -7852,7 +7853,7 @@ pub struct MaxScaleSidecarContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -7866,7 +7867,7 @@ pub struct MaxScaleSidecarContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -7879,7 +7880,7 @@ pub struct MaxScaleSidecarContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -7900,7 +7901,7 @@ pub enum MaxScaleSidecarContainersImagePullPolicy { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7950,7 +7951,7 @@ pub struct MaxScaleSidecarContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -7962,7 +7963,7 @@ pub struct MaxScaleSidecarContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -7976,7 +7977,7 @@ pub struct MaxScaleSidecarContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -7999,7 +8000,7 @@ pub struct MaxScaleSidecarContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -8009,7 +8010,7 @@ pub struct MaxScaleSidecarContainersLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8021,7 +8022,7 @@ pub struct MaxScaleSidecarContainersLivenessProbeTcpSocket { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8071,7 +8072,7 @@ pub struct MaxScaleSidecarContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -8083,7 +8084,7 @@ pub struct MaxScaleSidecarContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -8097,7 +8098,7 @@ pub struct MaxScaleSidecarContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -8120,7 +8121,7 @@ pub struct MaxScaleSidecarContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -8130,7 +8131,7 @@ pub struct MaxScaleSidecarContainersReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8142,7 +8143,7 @@ pub struct MaxScaleSidecarContainersReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -8168,7 +8169,7 @@ pub struct MaxScaleSidecarContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -8177,7 +8178,7 @@ pub struct MaxScaleSidecarContainersResourcesClaims { } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -8257,7 +8258,7 @@ pub struct MaxScaleSidecarContainersSecurityContext { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8272,7 +8273,7 @@ pub struct MaxScaleSidecarContainersSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8292,7 +8293,7 @@ pub struct MaxScaleSidecarContainersSecurityContextSeLinuxOptions { /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -8315,7 +8316,7 @@ pub struct MaxScaleSidecarContainersSecurityContextSeccompProfile { /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -8340,7 +8341,7 @@ pub struct MaxScaleSidecarContainersSecurityContextWindowsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleSidecarContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -8372,7 +8373,7 @@ pub struct MaxScaleSidecarContainersVolumeMounts { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -8401,7 +8402,7 @@ pub struct MaxScaleTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods @@ -8523,7 +8524,7 @@ pub struct MaxScaleTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods /// in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -8537,7 +8538,7 @@ pub struct MaxScaleTopologySpreadConstraintsLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -8553,7 +8554,7 @@ pub struct MaxScaleTopologySpreadConstraintsLabelSelectorMatchExpressions { } /// UpdateStrategy defines the update strategy for the StatefulSet object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleUpdateStrategy { /// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. #[serde(default, skip_serializing_if = "Option::is_none", rename = "rollingUpdate")] @@ -8565,7 +8566,7 @@ pub struct MaxScaleUpdateStrategy { } /// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleUpdateStrategyRollingUpdate { /// The maximum number of pods that can be unavailable during the update. /// Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). @@ -8585,7 +8586,7 @@ pub struct MaxScaleUpdateStrategyRollingUpdate { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -8616,7 +8617,7 @@ pub struct MaxScaleVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. @@ -8766,7 +8767,7 @@ pub struct MaxScaleVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -8792,7 +8793,7 @@ pub struct MaxScaleVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -8818,7 +8819,7 @@ pub struct MaxScaleVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force /// the ReadOnly setting in VolumeMounts. @@ -8833,7 +8834,7 @@ pub struct MaxScaleVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it @@ -8862,7 +8863,7 @@ pub struct MaxScaleVolumesCephfs { /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesCephfsSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -8873,7 +8874,7 @@ pub struct MaxScaleVolumesCephfsSecretRef { /// cinder represents a cinder volume attached and mounted on kubelets host machine. /// More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesCinder { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -8898,7 +8899,7 @@ pub struct MaxScaleVolumesCinder { /// secretRef is optional: points to a secret object containing parameters used to connect /// to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesCinderSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -8908,7 +8909,7 @@ pub struct MaxScaleVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -8939,7 +8940,7 @@ pub struct MaxScaleVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -8959,7 +8960,7 @@ pub struct MaxScaleVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesCsi { /// driver is the name of the CSI driver that handles this volume. /// Consult with your admin for the correct name as registered in the cluster. @@ -8991,7 +8992,7 @@ pub struct MaxScaleVolumesCsi { /// NodePublishVolume and NodeUnpublishVolume calls. /// This field is optional, and may be empty if no secret is required. If the /// secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesCsiNodePublishSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -9001,7 +9002,7 @@ pub struct MaxScaleVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a /// Optional: mode bits used to set permissions on created files by default. @@ -9019,7 +9020,7 @@ pub struct MaxScaleVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -9041,7 +9042,7 @@ pub struct MaxScaleVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -9053,7 +9054,7 @@ pub struct MaxScaleVolumesDownwardApiItemsFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -9067,7 +9068,7 @@ pub struct MaxScaleVolumesDownwardApiItemsResourceFieldRef { /// emptyDir represents a temporary directory that shares a pod's lifetime. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. /// The default is "" which means to use the node's default medium. @@ -9113,7 +9114,7 @@ pub struct MaxScaleVolumesEmptyDir { /// /// A pod can use both types of ephemeral volumes and /// persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. /// The pod in which this EphemeralVolumeSource is embedded will be the @@ -9167,7 +9168,7 @@ pub struct MaxScaleVolumesEphemeral { /// /// /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during @@ -9184,7 +9185,7 @@ pub struct MaxScaleVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during /// validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesEphemeralVolumeClaimTemplateMetadata { } @@ -9192,7 +9193,7 @@ pub struct MaxScaleVolumesEphemeralVolumeClaimTemplateMetadata { /// copied unchanged into the PVC that gets created from this /// template. The same fields as in a PersistentVolumeClaim /// are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -9278,7 +9279,7 @@ pub struct MaxScaleVolumesEphemeralVolumeClaimTemplateSpec { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -9314,7 +9315,7 @@ pub struct MaxScaleVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -9337,7 +9338,7 @@ pub struct MaxScaleVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesEphemeralVolumeClaimTemplateSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -9352,7 +9353,7 @@ pub struct MaxScaleVolumesEphemeralVolumeClaimTemplateSpecResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9366,7 +9367,7 @@ pub struct MaxScaleVolumesEphemeralVolumeClaimTemplateSpecSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -9382,7 +9383,7 @@ pub struct MaxScaleVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressio } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesFc { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -9408,7 +9409,7 @@ pub struct MaxScaleVolumesFc { /// flexVolume represents a generic volume resource that is /// provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -9438,7 +9439,7 @@ pub struct MaxScaleVolumesFlexVolume { /// empty if no secret object is specified. If the secret object /// contains more than one secret, all secrets are passed to the plugin /// scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesFlexVolumeSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -9448,7 +9449,7 @@ pub struct MaxScaleVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker /// should be considered as deprecated @@ -9462,7 +9463,7 @@ pub struct MaxScaleVolumesFlocker { /// gcePersistentDisk represents a GCE Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -9493,7 +9494,7 @@ pub struct MaxScaleVolumesGcePersistentDisk { /// DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an /// EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir /// into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesGitRepo { /// directory is the target directory name. /// Must not contain or start with '..'. If '.' is supplied, the volume directory will be the @@ -9510,7 +9511,7 @@ pub struct MaxScaleVolumesGitRepo { /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod @@ -9533,7 +9534,7 @@ pub struct MaxScaleVolumesGlusterfs { /// --- /// TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not /// mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesHostPath { /// path of the directory on the host. /// If the path is a symlink, it will follow the link to the real path. @@ -9549,7 +9550,7 @@ pub struct MaxScaleVolumesHostPath { /// iscsi represents an ISCSI Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -9595,7 +9596,7 @@ pub struct MaxScaleVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesIscsiSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -9606,7 +9607,7 @@ pub struct MaxScaleVolumesIscsiSecretRef { /// nfs represents an NFS mount on the host that shares a pod's lifetime /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesNfs { /// path that is exported by the NFS server. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs @@ -9624,7 +9625,7 @@ pub struct MaxScaleVolumesNfs { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -9637,7 +9638,7 @@ pub struct MaxScaleVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -9650,7 +9651,7 @@ pub struct MaxScaleVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesPortworxVolume { /// fSType represents the filesystem type to mount /// Must be a filesystem type supported by the host operating system. @@ -9667,7 +9668,7 @@ pub struct MaxScaleVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -9683,7 +9684,7 @@ pub struct MaxScaleVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesProjectedSources { /// ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field /// of ClusterTrustBundle objects in an auto-updating file. @@ -9733,7 +9734,7 @@ pub struct MaxScaleVolumesProjectedSources { /// comments and block headers are stripped. Certificates are deduplicated. /// The ordering of certificates within the file is arbitrary, and Kubelet /// may change the order over time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesProjectedSourcesClusterTrustBundle { /// Select all ClusterTrustBundles that match this label selector. Only has /// effect if signerName is set. Mutually-exclusive with name. If unset, @@ -9765,7 +9766,7 @@ pub struct MaxScaleVolumesProjectedSourcesClusterTrustBundle { /// effect if signerName is set. Mutually-exclusive with name. If unset, /// interpreted as "match nothing". If set but empty, interpreted as "match /// everything". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesProjectedSourcesClusterTrustBundleLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9779,7 +9780,7 @@ pub struct MaxScaleVolumesProjectedSourcesClusterTrustBundleLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesProjectedSourcesClusterTrustBundleLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -9795,7 +9796,7 @@ pub struct MaxScaleVolumesProjectedSourcesClusterTrustBundleLabelSelectorMatchEx } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced /// ConfigMap will be projected into the volume as a file whose name is the @@ -9817,7 +9818,7 @@ pub struct MaxScaleVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -9837,7 +9838,7 @@ pub struct MaxScaleVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9845,7 +9846,7 @@ pub struct MaxScaleVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -9867,7 +9868,7 @@ pub struct MaxScaleVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -9879,7 +9880,7 @@ pub struct MaxScaleVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -9892,7 +9893,7 @@ pub struct MaxScaleVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced /// Secret will be projected into the volume as a file whose name is the @@ -9914,7 +9915,7 @@ pub struct MaxScaleVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -9934,7 +9935,7 @@ pub struct MaxScaleVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token /// must identify itself with an identifier specified in the audience of the @@ -9956,7 +9957,7 @@ pub struct MaxScaleVolumesProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesQuobyte { /// group to map volume access to /// Default is no group @@ -9984,7 +9985,7 @@ pub struct MaxScaleVolumesQuobyte { /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -10031,7 +10032,7 @@ pub struct MaxScaleVolumesRbd { /// overrides keyring. /// Default is nil. /// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesRbdSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -10041,7 +10042,7 @@ pub struct MaxScaleVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesScaleIo { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -10082,7 +10083,7 @@ pub struct MaxScaleVolumesScaleIo { /// secretRef references to the secret for ScaleIO user and other /// sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesScaleIoSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -10093,7 +10094,7 @@ pub struct MaxScaleVolumesScaleIoSecretRef { /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -10123,7 +10124,7 @@ pub struct MaxScaleVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesSecretItems { /// key is the key to project. pub key: String, @@ -10143,7 +10144,7 @@ pub struct MaxScaleVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesStorageos { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -10174,7 +10175,7 @@ pub struct MaxScaleVolumesStorageos { /// secretRef specifies the secret to use for obtaining the StorageOS API /// credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesStorageosSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -10184,7 +10185,7 @@ pub struct MaxScaleVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleVolumesVsphereVolume { /// fsType is filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -10203,7 +10204,7 @@ pub struct MaxScaleVolumesVsphereVolume { } /// MaxScaleStatus defines the observed state of MaxScale -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleStatus { /// Conditions for the MaxScale object. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10232,7 +10233,7 @@ pub struct MaxScaleStatus { } /// ConfigSync is the state of config sync. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleStatusConfigSync { #[serde(rename = "databaseVersion")] pub database_version: i64, @@ -10241,28 +10242,28 @@ pub struct MaxScaleStatusConfigSync { } /// MaxScaleResourceStatus indicates whether the resource is in a given state. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleStatusListeners { pub name: String, pub state: String, } /// Monitor is the state of the monitor in the MaxScale API. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleStatusMonitor { pub name: String, pub state: String, } /// MaxScaleAPIStatus is the state of the servers in the MaxScale API. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleStatusServers { pub name: String, pub state: String, } /// MaxScaleResourceStatus indicates whether the resource is in a given state. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MaxScaleStatusServices { pub name: String, pub state: String, diff --git a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/restores.rs b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/restores.rs index 282e71649..05e2dddb3 100644 --- a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/restores.rs +++ b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/restores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/restores.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/restores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/sqljobs.rs b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/sqljobs.rs index 2c9f17308..51b0e3306 100644 --- a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/sqljobs.rs +++ b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/sqljobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/sqljobs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/sqljobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/users.rs b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/users.rs index a83b4e40b..26455889e 100644 --- a/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/users.rs +++ b/kube-custom-resources-rs/src/k8s_mariadb_com/v1alpha1/users.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/users.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/k8s.mariadb.com/v1alpha1/users.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/k8s_nginx_org/v1/globalconfigurations.rs b/kube-custom-resources-rs/src/k8s_nginx_org/v1/globalconfigurations.rs index 1de7c0ad7..20056d1bb 100644 --- a/kube-custom-resources-rs/src/k8s_nginx_org/v1/globalconfigurations.rs +++ b/kube-custom-resources-rs/src/k8s_nginx_org/v1/globalconfigurations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1/globalconfigurations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1/globalconfigurations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/k8s_nginx_org/v1/policies.rs b/kube-custom-resources-rs/src/k8s_nginx_org/v1/policies.rs index fb1bfda73..556984c0a 100644 --- a/kube-custom-resources-rs/src/k8s_nginx_org/v1/policies.rs +++ b/kube-custom-resources-rs/src/k8s_nginx_org/v1/policies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1/policies.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1/policies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/k8s_nginx_org/v1/transportservers.rs b/kube-custom-resources-rs/src/k8s_nginx_org/v1/transportservers.rs index fe336541c..b667eb3bd 100644 --- a/kube-custom-resources-rs/src/k8s_nginx_org/v1/transportservers.rs +++ b/kube-custom-resources-rs/src/k8s_nginx_org/v1/transportservers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1/transportservers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1/transportservers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/k8s_nginx_org/v1/virtualserverroutes.rs b/kube-custom-resources-rs/src/k8s_nginx_org/v1/virtualserverroutes.rs index 9e91dcd09..3369abdb1 100644 --- a/kube-custom-resources-rs/src/k8s_nginx_org/v1/virtualserverroutes.rs +++ b/kube-custom-resources-rs/src/k8s_nginx_org/v1/virtualserverroutes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1/virtualserverroutes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1/virtualserverroutes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/k8s_nginx_org/v1/virtualservers.rs b/kube-custom-resources-rs/src/k8s_nginx_org/v1/virtualservers.rs index 600b4271b..2a7424db9 100644 --- a/kube-custom-resources-rs/src/k8s_nginx_org/v1/virtualservers.rs +++ b/kube-custom-resources-rs/src/k8s_nginx_org/v1/virtualservers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1/virtualservers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1/virtualservers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/k8s_nginx_org/v1alpha1/globalconfigurations.rs b/kube-custom-resources-rs/src/k8s_nginx_org/v1alpha1/globalconfigurations.rs index 3fec4fa84..b846358b1 100644 --- a/kube-custom-resources-rs/src/k8s_nginx_org/v1alpha1/globalconfigurations.rs +++ b/kube-custom-resources-rs/src/k8s_nginx_org/v1alpha1/globalconfigurations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1alpha1/globalconfigurations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1alpha1/globalconfigurations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/k8s_nginx_org/v1alpha1/policies.rs b/kube-custom-resources-rs/src/k8s_nginx_org/v1alpha1/policies.rs index 6139fc7bd..b557efc14 100644 --- a/kube-custom-resources-rs/src/k8s_nginx_org/v1alpha1/policies.rs +++ b/kube-custom-resources-rs/src/k8s_nginx_org/v1alpha1/policies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1alpha1/policies.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1alpha1/policies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/k8s_nginx_org/v1alpha1/transportservers.rs b/kube-custom-resources-rs/src/k8s_nginx_org/v1alpha1/transportservers.rs index 6613780f9..142c9fcc5 100644 --- a/kube-custom-resources-rs/src/k8s_nginx_org/v1alpha1/transportservers.rs +++ b/kube-custom-resources-rs/src/k8s_nginx_org/v1alpha1/transportservers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1alpha1/transportservers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/nginxinc/kubernetes-ingress/k8s.nginx.org/v1alpha1/transportservers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha2/clientintents.rs b/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha2/clientintents.rs index 070155088..cfb25d242 100644 --- a/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha2/clientintents.rs +++ b/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha2/clientintents.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha2/clientintents.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha2/clientintents.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha2/kafkaserverconfigs.rs b/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha2/kafkaserverconfigs.rs index 7bc93ea46..d8b7a09b1 100644 --- a/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha2/kafkaserverconfigs.rs +++ b/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha2/kafkaserverconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha2/kafkaserverconfigs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha2/kafkaserverconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,10 +10,11 @@ mod prelude { use self::prelude::*; /// KafkaServerConfigSpec defines the desired state of KafkaServerConfig -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "k8s.otterize.com", version = "v1alpha2", kind = "KafkaServerConfig", plural = "kafkaserverconfigs")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct KafkaServerConfigSpec { #[serde(default, skip_serializing_if = "Option::is_none")] @@ -30,12 +31,12 @@ pub struct KafkaServerConfigSpec { pub topics: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaServerConfigService { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaServerConfigTls { #[serde(rename = "certFile")] pub cert_file: String, @@ -64,7 +65,7 @@ pub enum KafkaServerConfigTopicsPattern { } /// KafkaServerConfigStatus defines the observed state of KafkaServerConfig -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaServerConfigStatus { } diff --git a/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha2/protectedservices.rs b/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha2/protectedservices.rs index 52d5bc48a..0a02eff71 100644 --- a/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha2/protectedservices.rs +++ b/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha2/protectedservices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha2/protectedservices.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha2/protectedservices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha3/clientintents.rs b/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha3/clientintents.rs index 93d31f11c..234f9921d 100644 --- a/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha3/clientintents.rs +++ b/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha3/clientintents.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha3/clientintents.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha3/clientintents.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha3/kafkaserverconfigs.rs b/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha3/kafkaserverconfigs.rs index 276963837..569735a44 100644 --- a/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha3/kafkaserverconfigs.rs +++ b/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha3/kafkaserverconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha3/kafkaserverconfigs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha3/kafkaserverconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,10 +10,11 @@ mod prelude { use self::prelude::*; /// KafkaServerConfigSpec defines the desired state of KafkaServerConfig -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "k8s.otterize.com", version = "v1alpha3", kind = "KafkaServerConfig", plural = "kafkaserverconfigs")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct KafkaServerConfigSpec { #[serde(default, skip_serializing_if = "Option::is_none")] @@ -30,12 +31,12 @@ pub struct KafkaServerConfigSpec { pub topics: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaServerConfigService { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaServerConfigTls { #[serde(rename = "certFile")] pub cert_file: String, @@ -64,7 +65,7 @@ pub enum KafkaServerConfigTopicsPattern { } /// KafkaServerConfigStatus defines the observed state of KafkaServerConfig -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaServerConfigStatus { } diff --git a/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha3/protectedservices.rs b/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha3/protectedservices.rs index 49c8d09a0..914394b8e 100644 --- a/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha3/protectedservices.rs +++ b/kube-custom-resources-rs/src/k8s_otterize_com/v1alpha3/protectedservices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha3/protectedservices.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/otterize/helm-charts/k8s.otterize.com/v1alpha3/protectedservices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/k8up_io/v1/archives.rs b/kube-custom-resources-rs/src/k8up_io/v1/archives.rs index abd0d099d..ed94ce461 100644 --- a/kube-custom-resources-rs/src/k8up_io/v1/archives.rs +++ b/kube-custom-resources-rs/src/k8up_io/v1/archives.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/k8up-io/k8up/k8up.io/v1/archives.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/k8up-io/k8up/k8up.io/v1/archives.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// ArchiveSpec defines the desired state of Archive. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "k8up.io", version = "v1", kind = "Archive", plural = "archives")] #[kube(namespaced)] #[kube(status = "ArchiveStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ArchiveSpec { /// ActiveDeadlineSeconds specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it. @@ -70,7 +71,7 @@ pub struct ArchiveSpec { } /// Backend contains the restic repo where the job should backup to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveBackend { #[serde(default, skip_serializing_if = "Option::is_none")] pub azure: Option, @@ -98,7 +99,7 @@ pub struct ArchiveBackend { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveBackendAzure { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountKeySecretRef")] @@ -113,7 +114,7 @@ pub struct ArchiveBackendAzure { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveBackendAzureAccountKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -128,7 +129,7 @@ pub struct ArchiveBackendAzureAccountKeySecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveBackendAzureAccountNameSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -142,7 +143,7 @@ pub struct ArchiveBackendAzureAccountNameSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveBackendB2 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountIDSecretRef")] @@ -157,7 +158,7 @@ pub struct ArchiveBackendB2 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveBackendB2AccountIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -172,7 +173,7 @@ pub struct ArchiveBackendB2AccountIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveBackendB2AccountKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -187,7 +188,7 @@ pub struct ArchiveBackendB2AccountKeySecretRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveBackendEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -201,7 +202,7 @@ pub struct ArchiveBackendEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveBackendEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -214,7 +215,7 @@ pub struct ArchiveBackendEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveBackendEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -226,7 +227,7 @@ pub struct ArchiveBackendEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveBackendGcs { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessTokenSecretRef")] @@ -239,7 +240,7 @@ pub struct ArchiveBackendGcs { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveBackendGcsAccessTokenSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -254,7 +255,7 @@ pub struct ArchiveBackendGcsAccessTokenSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveBackendGcsProjectIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -268,14 +269,14 @@ pub struct ArchiveBackendGcsProjectIdSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveBackendLocal { #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, } /// RepoPasswordSecretRef references a secret key to look up the restic repository password -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveBackendRepoPasswordSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -289,7 +290,7 @@ pub struct ArchiveBackendRepoPasswordSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveBackendRest { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "passwordSecretReg")] @@ -302,7 +303,7 @@ pub struct ArchiveBackendRest { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveBackendRestPasswordSecretReg { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -317,7 +318,7 @@ pub struct ArchiveBackendRestPasswordSecretReg { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveBackendRestUserSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -331,7 +332,7 @@ pub struct ArchiveBackendRestUserSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveBackendS3 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessKeyIDSecretRef")] @@ -346,7 +347,7 @@ pub struct ArchiveBackendS3 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveBackendS3AccessKeyIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -361,7 +362,7 @@ pub struct ArchiveBackendS3AccessKeyIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveBackendS3SecretAccessKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -375,7 +376,7 @@ pub struct ArchiveBackendS3SecretAccessKeySecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveBackendSwift { #[serde(default, skip_serializing_if = "Option::is_none")] pub container: Option, @@ -383,7 +384,7 @@ pub struct ArchiveBackendSwift { pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveBackendTlsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] pub ca_cert: Option, @@ -394,7 +395,7 @@ pub struct ArchiveBackendTlsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveBackendVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -428,7 +429,7 @@ pub struct ArchiveBackendVolumeMounts { /// It takes precedence over the Resources or PodSecurityContext field. /// It does not allow changing the image or the command of the resulting pod. /// This is for advanced use-cases only. Please only set this if you know what you're doing. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchivePodConfigRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -438,7 +439,7 @@ pub struct ArchivePodConfigRef { } /// PodSecurityContext describes the security context with which this action shall be executed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchivePodSecurityContext { /// A special supplemental group that applies to all containers in a pod. /// Some volume types allow the Kubelet to change the ownership of that volume @@ -527,7 +528,7 @@ pub struct ArchivePodSecurityContext { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchivePodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -545,7 +546,7 @@ pub struct ArchivePodSecurityContextSeLinuxOptions { /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchivePodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -565,7 +566,7 @@ pub struct ArchivePodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchivePodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -577,7 +578,7 @@ pub struct ArchivePodSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchivePodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -602,7 +603,7 @@ pub struct ArchivePodSecurityContextWindowsOptions { } /// Resources describes the compute resource requirements (cpu, memory, etc.) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -628,7 +629,7 @@ pub struct ArchiveResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -638,7 +639,7 @@ pub struct ArchiveResourcesClaims { /// RestoreMethod contains how and where the restore should happen /// all the settings are mutual exclusive. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveRestoreMethod { #[serde(default, skip_serializing_if = "Option::is_none")] pub folder: Option, @@ -650,7 +651,7 @@ pub struct ArchiveRestoreMethod { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveRestoreMethodFolder { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -662,7 +663,7 @@ pub struct ArchiveRestoreMethodFolder { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveRestoreMethodS3 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessKeyIDSecretRef")] @@ -677,7 +678,7 @@ pub struct ArchiveRestoreMethodS3 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveRestoreMethodS3AccessKeyIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -692,7 +693,7 @@ pub struct ArchiveRestoreMethodS3AccessKeyIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveRestoreMethodS3SecretAccessKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -706,7 +707,7 @@ pub struct ArchiveRestoreMethodS3SecretAccessKeySecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveRestoreMethodTlsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] pub ca_cert: Option, @@ -717,7 +718,7 @@ pub struct ArchiveRestoreMethodTlsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveRestoreMethodVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -747,7 +748,7 @@ pub struct ArchiveRestoreMethodVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveVolumes { /// configMap represents a configMap that should populate this volume #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -768,7 +769,7 @@ pub struct ArchiveVolumes { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -799,7 +800,7 @@ pub struct ArchiveVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -821,7 +822,7 @@ pub struct ArchiveVolumesConfigMapItems { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -835,7 +836,7 @@ pub struct ArchiveVolumesPersistentVolumeClaim { /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -865,7 +866,7 @@ pub struct ArchiveVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveVolumesSecretItems { /// key is the key to project. pub key: String, @@ -886,7 +887,7 @@ pub struct ArchiveVolumesSecretItems { /// Status defines the observed state of a generic K8up job. It is used for the /// operator to determine what to do. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ArchiveStatus { /// Conditions provide a standard mechanism for higher-level status reporting from a controller. /// They are an extension mechanism which allows tools and other controllers to collect summary information about diff --git a/kube-custom-resources-rs/src/k8up_io/v1/backups.rs b/kube-custom-resources-rs/src/k8up_io/v1/backups.rs index 14c3a7ce5..9c62f3425 100644 --- a/kube-custom-resources-rs/src/k8up_io/v1/backups.rs +++ b/kube-custom-resources-rs/src/k8up_io/v1/backups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/k8up-io/k8up/k8up.io/v1/backups.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/k8up-io/k8up/k8up.io/v1/backups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -15,11 +15,12 @@ use self::prelude::*; /// BackupSpec defines a single backup. It must contain all information to connect to /// the backup repository when applied. If used with defaults or schedules the operator will /// ensure that the defaults are applied before creating the object on the API. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "k8up.io", version = "v1", kind = "Backup", plural = "backups")] #[kube(namespaced)] #[kube(status = "BackupStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct BackupSpec { /// ActiveDeadlineSeconds specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it. @@ -72,7 +73,7 @@ pub struct BackupSpec { } /// Backend contains the restic repo where the job should backup to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupBackend { #[serde(default, skip_serializing_if = "Option::is_none")] pub azure: Option, @@ -100,7 +101,7 @@ pub struct BackupBackend { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupBackendAzure { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountKeySecretRef")] @@ -115,7 +116,7 @@ pub struct BackupBackendAzure { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupBackendAzureAccountKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -130,7 +131,7 @@ pub struct BackupBackendAzureAccountKeySecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupBackendAzureAccountNameSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -144,7 +145,7 @@ pub struct BackupBackendAzureAccountNameSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupBackendB2 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountIDSecretRef")] @@ -159,7 +160,7 @@ pub struct BackupBackendB2 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupBackendB2AccountIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -174,7 +175,7 @@ pub struct BackupBackendB2AccountIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupBackendB2AccountKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -189,7 +190,7 @@ pub struct BackupBackendB2AccountKeySecretRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupBackendEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -203,7 +204,7 @@ pub struct BackupBackendEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupBackendEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -216,7 +217,7 @@ pub struct BackupBackendEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupBackendEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -228,7 +229,7 @@ pub struct BackupBackendEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupBackendGcs { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessTokenSecretRef")] @@ -241,7 +242,7 @@ pub struct BackupBackendGcs { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupBackendGcsAccessTokenSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -256,7 +257,7 @@ pub struct BackupBackendGcsAccessTokenSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupBackendGcsProjectIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -270,14 +271,14 @@ pub struct BackupBackendGcsProjectIdSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupBackendLocal { #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, } /// RepoPasswordSecretRef references a secret key to look up the restic repository password -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupBackendRepoPasswordSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -291,7 +292,7 @@ pub struct BackupBackendRepoPasswordSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupBackendRest { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "passwordSecretReg")] @@ -304,7 +305,7 @@ pub struct BackupBackendRest { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupBackendRestPasswordSecretReg { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -319,7 +320,7 @@ pub struct BackupBackendRestPasswordSecretReg { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupBackendRestUserSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -333,7 +334,7 @@ pub struct BackupBackendRestUserSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupBackendS3 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessKeyIDSecretRef")] @@ -348,7 +349,7 @@ pub struct BackupBackendS3 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupBackendS3AccessKeyIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -363,7 +364,7 @@ pub struct BackupBackendS3AccessKeyIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupBackendS3SecretAccessKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -377,7 +378,7 @@ pub struct BackupBackendS3SecretAccessKeySecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupBackendSwift { #[serde(default, skip_serializing_if = "Option::is_none")] pub container: Option, @@ -385,7 +386,7 @@ pub struct BackupBackendSwift { pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupBackendTlsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] pub ca_cert: Option, @@ -396,7 +397,7 @@ pub struct BackupBackendTlsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupBackendVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -430,7 +431,7 @@ pub struct BackupBackendVolumeMounts { /// It takes precedence over the Resources or PodSecurityContext field. /// It does not allow changing the image or the command of the resulting pod. /// This is for advanced use-cases only. Please only set this if you know what you're doing. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPodConfigRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -440,7 +441,7 @@ pub struct BackupPodConfigRef { } /// PodSecurityContext describes the security context with which this action shall be executed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPodSecurityContext { /// A special supplemental group that applies to all containers in a pod. /// Some volume types allow the Kubelet to change the ownership of that volume @@ -529,7 +530,7 @@ pub struct BackupPodSecurityContext { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -547,7 +548,7 @@ pub struct BackupPodSecurityContextSeLinuxOptions { /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -567,7 +568,7 @@ pub struct BackupPodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -579,7 +580,7 @@ pub struct BackupPodSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -604,7 +605,7 @@ pub struct BackupPodSecurityContextWindowsOptions { } /// Resources describes the compute resource requirements (cpu, memory, etc.) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -630,7 +631,7 @@ pub struct BackupResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -638,7 +639,7 @@ pub struct BackupResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupVolumes { /// configMap represents a configMap that should populate this volume #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -659,7 +660,7 @@ pub struct BackupVolumes { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -690,7 +691,7 @@ pub struct BackupVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -712,7 +713,7 @@ pub struct BackupVolumesConfigMapItems { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -726,7 +727,7 @@ pub struct BackupVolumesPersistentVolumeClaim { /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -756,7 +757,7 @@ pub struct BackupVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupVolumesSecretItems { /// key is the key to project. pub key: String, @@ -777,7 +778,7 @@ pub struct BackupVolumesSecretItems { /// Status defines the observed state of a generic K8up job. It is used for the /// operator to determine what to do. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatus { /// Conditions provide a standard mechanism for higher-level status reporting from a controller. /// They are an extension mechanism which allows tools and other controllers to collect summary information about diff --git a/kube-custom-resources-rs/src/k8up_io/v1/checks.rs b/kube-custom-resources-rs/src/k8up_io/v1/checks.rs index a8571698f..9e756747c 100644 --- a/kube-custom-resources-rs/src/k8up_io/v1/checks.rs +++ b/kube-custom-resources-rs/src/k8up_io/v1/checks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/k8up-io/k8up/k8up.io/v1/checks.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/k8up-io/k8up/k8up.io/v1/checks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -14,11 +14,12 @@ use self::prelude::*; /// CheckSpec defines the desired state of Check. It needs to contain the repository /// information. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "k8up.io", version = "v1", kind = "Check", plural = "checks")] #[kube(namespaced)] #[kube(status = "CheckStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct CheckSpec { /// ActiveDeadlineSeconds specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it. @@ -63,7 +64,7 @@ pub struct CheckSpec { } /// Backend contains the restic repo where the job should backup to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckBackend { #[serde(default, skip_serializing_if = "Option::is_none")] pub azure: Option, @@ -91,7 +92,7 @@ pub struct CheckBackend { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckBackendAzure { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountKeySecretRef")] @@ -106,7 +107,7 @@ pub struct CheckBackendAzure { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckBackendAzureAccountKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -121,7 +122,7 @@ pub struct CheckBackendAzureAccountKeySecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckBackendAzureAccountNameSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -135,7 +136,7 @@ pub struct CheckBackendAzureAccountNameSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckBackendB2 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountIDSecretRef")] @@ -150,7 +151,7 @@ pub struct CheckBackendB2 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckBackendB2AccountIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -165,7 +166,7 @@ pub struct CheckBackendB2AccountIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckBackendB2AccountKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -180,7 +181,7 @@ pub struct CheckBackendB2AccountKeySecretRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckBackendEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -194,7 +195,7 @@ pub struct CheckBackendEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckBackendEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -207,7 +208,7 @@ pub struct CheckBackendEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckBackendEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -219,7 +220,7 @@ pub struct CheckBackendEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckBackendGcs { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessTokenSecretRef")] @@ -232,7 +233,7 @@ pub struct CheckBackendGcs { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckBackendGcsAccessTokenSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -247,7 +248,7 @@ pub struct CheckBackendGcsAccessTokenSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckBackendGcsProjectIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -261,14 +262,14 @@ pub struct CheckBackendGcsProjectIdSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckBackendLocal { #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, } /// RepoPasswordSecretRef references a secret key to look up the restic repository password -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckBackendRepoPasswordSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -282,7 +283,7 @@ pub struct CheckBackendRepoPasswordSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckBackendRest { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "passwordSecretReg")] @@ -295,7 +296,7 @@ pub struct CheckBackendRest { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckBackendRestPasswordSecretReg { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -310,7 +311,7 @@ pub struct CheckBackendRestPasswordSecretReg { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckBackendRestUserSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -324,7 +325,7 @@ pub struct CheckBackendRestUserSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckBackendS3 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessKeyIDSecretRef")] @@ -339,7 +340,7 @@ pub struct CheckBackendS3 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckBackendS3AccessKeyIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -354,7 +355,7 @@ pub struct CheckBackendS3AccessKeyIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckBackendS3SecretAccessKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -368,7 +369,7 @@ pub struct CheckBackendS3SecretAccessKeySecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckBackendSwift { #[serde(default, skip_serializing_if = "Option::is_none")] pub container: Option, @@ -376,7 +377,7 @@ pub struct CheckBackendSwift { pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckBackendTlsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] pub ca_cert: Option, @@ -387,7 +388,7 @@ pub struct CheckBackendTlsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckBackendVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -421,7 +422,7 @@ pub struct CheckBackendVolumeMounts { /// It takes precedence over the Resources or PodSecurityContext field. /// It does not allow changing the image or the command of the resulting pod. /// This is for advanced use-cases only. Please only set this if you know what you're doing. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckPodConfigRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -431,7 +432,7 @@ pub struct CheckPodConfigRef { } /// PodSecurityContext describes the security context with which this action shall be executed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckPodSecurityContext { /// A special supplemental group that applies to all containers in a pod. /// Some volume types allow the Kubelet to change the ownership of that volume @@ -520,7 +521,7 @@ pub struct CheckPodSecurityContext { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckPodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -538,7 +539,7 @@ pub struct CheckPodSecurityContextSeLinuxOptions { /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckPodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -558,7 +559,7 @@ pub struct CheckPodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckPodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -570,7 +571,7 @@ pub struct CheckPodSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckPodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -595,7 +596,7 @@ pub struct CheckPodSecurityContextWindowsOptions { } /// Resources describes the compute resource requirements (cpu, memory, etc.) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -621,7 +622,7 @@ pub struct CheckResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -629,7 +630,7 @@ pub struct CheckResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckVolumes { /// configMap represents a configMap that should populate this volume #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -650,7 +651,7 @@ pub struct CheckVolumes { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -681,7 +682,7 @@ pub struct CheckVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -703,7 +704,7 @@ pub struct CheckVolumesConfigMapItems { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -717,7 +718,7 @@ pub struct CheckVolumesPersistentVolumeClaim { /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -747,7 +748,7 @@ pub struct CheckVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckVolumesSecretItems { /// key is the key to project. pub key: String, @@ -768,7 +769,7 @@ pub struct CheckVolumesSecretItems { /// Status defines the observed state of a generic K8up job. It is used for the /// operator to determine what to do. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CheckStatus { /// Conditions provide a standard mechanism for higher-level status reporting from a controller. /// They are an extension mechanism which allows tools and other controllers to collect summary information about diff --git a/kube-custom-resources-rs/src/k8up_io/v1/prebackuppods.rs b/kube-custom-resources-rs/src/k8up_io/v1/prebackuppods.rs index 854669475..c76969a60 100644 --- a/kube-custom-resources-rs/src/k8up_io/v1/prebackuppods.rs +++ b/kube-custom-resources-rs/src/k8up_io/v1/prebackuppods.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/k8up-io/k8up/k8up.io/v1/prebackuppods.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/k8up-io/k8up/k8up.io/v1/prebackuppods.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/k8up_io/v1/prunes.rs b/kube-custom-resources-rs/src/k8up_io/v1/prunes.rs index 0ad84163c..588c755f2 100644 --- a/kube-custom-resources-rs/src/k8up_io/v1/prunes.rs +++ b/kube-custom-resources-rs/src/k8up_io/v1/prunes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/k8up-io/k8up/k8up.io/v1/prunes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/k8up-io/k8up/k8up.io/v1/prunes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -14,11 +14,12 @@ use self::prelude::*; /// PruneSpec needs to contain the repository information as well as the desired /// retention policies. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "k8up.io", version = "v1", kind = "Prune", plural = "prunes")] #[kube(namespaced)] #[kube(status = "PruneStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PruneSpec { /// ActiveDeadlineSeconds specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it. @@ -63,7 +64,7 @@ pub struct PruneSpec { } /// Backend contains the restic repo where the job should backup to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneBackend { #[serde(default, skip_serializing_if = "Option::is_none")] pub azure: Option, @@ -91,7 +92,7 @@ pub struct PruneBackend { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneBackendAzure { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountKeySecretRef")] @@ -106,7 +107,7 @@ pub struct PruneBackendAzure { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneBackendAzureAccountKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -121,7 +122,7 @@ pub struct PruneBackendAzureAccountKeySecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneBackendAzureAccountNameSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -135,7 +136,7 @@ pub struct PruneBackendAzureAccountNameSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneBackendB2 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountIDSecretRef")] @@ -150,7 +151,7 @@ pub struct PruneBackendB2 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneBackendB2AccountIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -165,7 +166,7 @@ pub struct PruneBackendB2AccountIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneBackendB2AccountKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -180,7 +181,7 @@ pub struct PruneBackendB2AccountKeySecretRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneBackendEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -194,7 +195,7 @@ pub struct PruneBackendEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneBackendEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -207,7 +208,7 @@ pub struct PruneBackendEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneBackendEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -219,7 +220,7 @@ pub struct PruneBackendEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneBackendGcs { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessTokenSecretRef")] @@ -232,7 +233,7 @@ pub struct PruneBackendGcs { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneBackendGcsAccessTokenSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -247,7 +248,7 @@ pub struct PruneBackendGcsAccessTokenSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneBackendGcsProjectIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -261,14 +262,14 @@ pub struct PruneBackendGcsProjectIdSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneBackendLocal { #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, } /// RepoPasswordSecretRef references a secret key to look up the restic repository password -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneBackendRepoPasswordSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -282,7 +283,7 @@ pub struct PruneBackendRepoPasswordSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneBackendRest { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "passwordSecretReg")] @@ -295,7 +296,7 @@ pub struct PruneBackendRest { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneBackendRestPasswordSecretReg { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -310,7 +311,7 @@ pub struct PruneBackendRestPasswordSecretReg { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneBackendRestUserSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -324,7 +325,7 @@ pub struct PruneBackendRestUserSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneBackendS3 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessKeyIDSecretRef")] @@ -339,7 +340,7 @@ pub struct PruneBackendS3 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneBackendS3AccessKeyIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -354,7 +355,7 @@ pub struct PruneBackendS3AccessKeyIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneBackendS3SecretAccessKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -368,7 +369,7 @@ pub struct PruneBackendS3SecretAccessKeySecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneBackendSwift { #[serde(default, skip_serializing_if = "Option::is_none")] pub container: Option, @@ -376,7 +377,7 @@ pub struct PruneBackendSwift { pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneBackendTlsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] pub ca_cert: Option, @@ -387,7 +388,7 @@ pub struct PruneBackendTlsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneBackendVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -421,7 +422,7 @@ pub struct PruneBackendVolumeMounts { /// It takes precedence over the Resources or PodSecurityContext field. /// It does not allow changing the image or the command of the resulting pod. /// This is for advanced use-cases only. Please only set this if you know what you're doing. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrunePodConfigRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -431,7 +432,7 @@ pub struct PrunePodConfigRef { } /// PodSecurityContext describes the security context with which this action shall be executed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrunePodSecurityContext { /// A special supplemental group that applies to all containers in a pod. /// Some volume types allow the Kubelet to change the ownership of that volume @@ -520,7 +521,7 @@ pub struct PrunePodSecurityContext { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrunePodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -538,7 +539,7 @@ pub struct PrunePodSecurityContextSeLinuxOptions { /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrunePodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -558,7 +559,7 @@ pub struct PrunePodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrunePodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -570,7 +571,7 @@ pub struct PrunePodSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrunePodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -595,7 +596,7 @@ pub struct PrunePodSecurityContextWindowsOptions { } /// Resources describes the compute resource requirements (cpu, memory, etc.) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -621,7 +622,7 @@ pub struct PruneResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -630,7 +631,7 @@ pub struct PruneResourcesClaims { } /// Retention sets how many backups should be kept after a forget and prune -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneRetention { /// Hostnames is a filter on what hostnames the policy should be applied #[serde(default, skip_serializing_if = "Option::is_none")] @@ -655,7 +656,7 @@ pub struct PruneRetention { pub tags: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneVolumes { /// configMap represents a configMap that should populate this volume #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -676,7 +677,7 @@ pub struct PruneVolumes { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -707,7 +708,7 @@ pub struct PruneVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -729,7 +730,7 @@ pub struct PruneVolumesConfigMapItems { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -743,7 +744,7 @@ pub struct PruneVolumesPersistentVolumeClaim { /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -773,7 +774,7 @@ pub struct PruneVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneVolumesSecretItems { /// key is the key to project. pub key: String, @@ -794,7 +795,7 @@ pub struct PruneVolumesSecretItems { /// Status defines the observed state of a generic K8up job. It is used for the /// operator to determine what to do. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PruneStatus { /// Conditions provide a standard mechanism for higher-level status reporting from a controller. /// They are an extension mechanism which allows tools and other controllers to collect summary information about diff --git a/kube-custom-resources-rs/src/k8up_io/v1/restores.rs b/kube-custom-resources-rs/src/k8up_io/v1/restores.rs index 35c22b80f..f46a46ee8 100644 --- a/kube-custom-resources-rs/src/k8up_io/v1/restores.rs +++ b/kube-custom-resources-rs/src/k8up_io/v1/restores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/k8up-io/k8up/k8up.io/v1/restores.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/k8up-io/k8up/k8up.io/v1/restores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -14,11 +14,12 @@ use self::prelude::*; /// RestoreSpec can either contain an S3 restore point or a local one. For the local /// one you need to define an existing PVC. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "k8up.io", version = "v1", kind = "Restore", plural = "restores")] #[kube(namespaced)] #[kube(status = "RestoreStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct RestoreSpec { /// ActiveDeadlineSeconds specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it. @@ -71,7 +72,7 @@ pub struct RestoreSpec { } /// Backend contains the restic repo where the job should backup to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackend { #[serde(default, skip_serializing_if = "Option::is_none")] pub azure: Option, @@ -99,7 +100,7 @@ pub struct RestoreBackend { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackendAzure { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountKeySecretRef")] @@ -114,7 +115,7 @@ pub struct RestoreBackendAzure { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackendAzureAccountKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -129,7 +130,7 @@ pub struct RestoreBackendAzureAccountKeySecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackendAzureAccountNameSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -143,7 +144,7 @@ pub struct RestoreBackendAzureAccountNameSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackendB2 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountIDSecretRef")] @@ -158,7 +159,7 @@ pub struct RestoreBackendB2 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackendB2AccountIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -173,7 +174,7 @@ pub struct RestoreBackendB2AccountIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackendB2AccountKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -188,7 +189,7 @@ pub struct RestoreBackendB2AccountKeySecretRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackendEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -202,7 +203,7 @@ pub struct RestoreBackendEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackendEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -215,7 +216,7 @@ pub struct RestoreBackendEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackendEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -227,7 +228,7 @@ pub struct RestoreBackendEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackendGcs { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessTokenSecretRef")] @@ -240,7 +241,7 @@ pub struct RestoreBackendGcs { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackendGcsAccessTokenSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -255,7 +256,7 @@ pub struct RestoreBackendGcsAccessTokenSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackendGcsProjectIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -269,14 +270,14 @@ pub struct RestoreBackendGcsProjectIdSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackendLocal { #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, } /// RepoPasswordSecretRef references a secret key to look up the restic repository password -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackendRepoPasswordSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -290,7 +291,7 @@ pub struct RestoreBackendRepoPasswordSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackendRest { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "passwordSecretReg")] @@ -303,7 +304,7 @@ pub struct RestoreBackendRest { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackendRestPasswordSecretReg { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -318,7 +319,7 @@ pub struct RestoreBackendRestPasswordSecretReg { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackendRestUserSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -332,7 +333,7 @@ pub struct RestoreBackendRestUserSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackendS3 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessKeyIDSecretRef")] @@ -347,7 +348,7 @@ pub struct RestoreBackendS3 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackendS3AccessKeyIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -362,7 +363,7 @@ pub struct RestoreBackendS3AccessKeyIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackendS3SecretAccessKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -376,7 +377,7 @@ pub struct RestoreBackendS3SecretAccessKeySecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackendSwift { #[serde(default, skip_serializing_if = "Option::is_none")] pub container: Option, @@ -384,7 +385,7 @@ pub struct RestoreBackendSwift { pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackendTlsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] pub ca_cert: Option, @@ -395,7 +396,7 @@ pub struct RestoreBackendTlsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackendVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -429,7 +430,7 @@ pub struct RestoreBackendVolumeMounts { /// It takes precedence over the Resources or PodSecurityContext field. /// It does not allow changing the image or the command of the resulting pod. /// This is for advanced use-cases only. Please only set this if you know what you're doing. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePodConfigRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -439,7 +440,7 @@ pub struct RestorePodConfigRef { } /// PodSecurityContext describes the security context with which this action shall be executed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePodSecurityContext { /// A special supplemental group that applies to all containers in a pod. /// Some volume types allow the Kubelet to change the ownership of that volume @@ -528,7 +529,7 @@ pub struct RestorePodSecurityContext { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -546,7 +547,7 @@ pub struct RestorePodSecurityContextSeLinuxOptions { /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -566,7 +567,7 @@ pub struct RestorePodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -578,7 +579,7 @@ pub struct RestorePodSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -603,7 +604,7 @@ pub struct RestorePodSecurityContextWindowsOptions { } /// Resources describes the compute resource requirements (cpu, memory, etc.) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -629,7 +630,7 @@ pub struct RestoreResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -639,7 +640,7 @@ pub struct RestoreResourcesClaims { /// RestoreMethod contains how and where the restore should happen /// all the settings are mutual exclusive. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreRestoreMethod { #[serde(default, skip_serializing_if = "Option::is_none")] pub folder: Option, @@ -651,7 +652,7 @@ pub struct RestoreRestoreMethod { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreRestoreMethodFolder { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -663,7 +664,7 @@ pub struct RestoreRestoreMethodFolder { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreRestoreMethodS3 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessKeyIDSecretRef")] @@ -678,7 +679,7 @@ pub struct RestoreRestoreMethodS3 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreRestoreMethodS3AccessKeyIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -693,7 +694,7 @@ pub struct RestoreRestoreMethodS3AccessKeyIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreRestoreMethodS3SecretAccessKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -707,7 +708,7 @@ pub struct RestoreRestoreMethodS3SecretAccessKeySecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreRestoreMethodTlsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] pub ca_cert: Option, @@ -718,7 +719,7 @@ pub struct RestoreRestoreMethodTlsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreRestoreMethodVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -748,7 +749,7 @@ pub struct RestoreRestoreMethodVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumes { /// configMap represents a configMap that should populate this volume #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -769,7 +770,7 @@ pub struct RestoreVolumes { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -800,7 +801,7 @@ pub struct RestoreVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -822,7 +823,7 @@ pub struct RestoreVolumesConfigMapItems { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -836,7 +837,7 @@ pub struct RestoreVolumesPersistentVolumeClaim { /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -866,7 +867,7 @@ pub struct RestoreVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumesSecretItems { /// key is the key to project. pub key: String, @@ -887,7 +888,7 @@ pub struct RestoreVolumesSecretItems { /// Status defines the observed state of a generic K8up job. It is used for the /// operator to determine what to do. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreStatus { /// Conditions provide a standard mechanism for higher-level status reporting from a controller. /// They are an extension mechanism which allows tools and other controllers to collect summary information about diff --git a/kube-custom-resources-rs/src/k8up_io/v1/schedules.rs b/kube-custom-resources-rs/src/k8up_io/v1/schedules.rs index 729c73ff1..dcb6fe705 100644 --- a/kube-custom-resources-rs/src/k8up_io/v1/schedules.rs +++ b/kube-custom-resources-rs/src/k8up_io/v1/schedules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/k8up-io/k8up/k8up.io/v1/schedules.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/k8up-io/k8up/k8up.io/v1/schedules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// ScheduleSpec defines the schedules for the various job types. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "k8up.io", version = "v1", kind = "Schedule", plural = "schedules")] #[kube(namespaced)] #[kube(status = "ScheduleStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ScheduleSpec { /// ArchiveSchedule manages schedules for the archival service @@ -66,7 +67,7 @@ pub struct ScheduleSpec { } /// ArchiveSchedule manages schedules for the archival service -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchive { /// ActiveDeadlineSeconds specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it. /// Value must be positive integer if given. @@ -123,7 +124,7 @@ pub struct ScheduleArchive { } /// Backend contains the restic repo where the job should backup to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveBackend { #[serde(default, skip_serializing_if = "Option::is_none")] pub azure: Option, @@ -151,7 +152,7 @@ pub struct ScheduleArchiveBackend { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveBackendAzure { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountKeySecretRef")] @@ -166,7 +167,7 @@ pub struct ScheduleArchiveBackendAzure { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveBackendAzureAccountKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -181,7 +182,7 @@ pub struct ScheduleArchiveBackendAzureAccountKeySecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveBackendAzureAccountNameSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -195,7 +196,7 @@ pub struct ScheduleArchiveBackendAzureAccountNameSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveBackendB2 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountIDSecretRef")] @@ -210,7 +211,7 @@ pub struct ScheduleArchiveBackendB2 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveBackendB2AccountIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -225,7 +226,7 @@ pub struct ScheduleArchiveBackendB2AccountIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveBackendB2AccountKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -240,7 +241,7 @@ pub struct ScheduleArchiveBackendB2AccountKeySecretRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveBackendEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -254,7 +255,7 @@ pub struct ScheduleArchiveBackendEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveBackendEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -267,7 +268,7 @@ pub struct ScheduleArchiveBackendEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveBackendEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -279,7 +280,7 @@ pub struct ScheduleArchiveBackendEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveBackendGcs { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessTokenSecretRef")] @@ -292,7 +293,7 @@ pub struct ScheduleArchiveBackendGcs { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveBackendGcsAccessTokenSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -307,7 +308,7 @@ pub struct ScheduleArchiveBackendGcsAccessTokenSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveBackendGcsProjectIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -321,14 +322,14 @@ pub struct ScheduleArchiveBackendGcsProjectIdSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveBackendLocal { #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, } /// RepoPasswordSecretRef references a secret key to look up the restic repository password -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveBackendRepoPasswordSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -342,7 +343,7 @@ pub struct ScheduleArchiveBackendRepoPasswordSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveBackendRest { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "passwordSecretReg")] @@ -355,7 +356,7 @@ pub struct ScheduleArchiveBackendRest { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveBackendRestPasswordSecretReg { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -370,7 +371,7 @@ pub struct ScheduleArchiveBackendRestPasswordSecretReg { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveBackendRestUserSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -384,7 +385,7 @@ pub struct ScheduleArchiveBackendRestUserSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveBackendS3 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessKeyIDSecretRef")] @@ -399,7 +400,7 @@ pub struct ScheduleArchiveBackendS3 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveBackendS3AccessKeyIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -414,7 +415,7 @@ pub struct ScheduleArchiveBackendS3AccessKeyIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveBackendS3SecretAccessKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -428,7 +429,7 @@ pub struct ScheduleArchiveBackendS3SecretAccessKeySecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveBackendSwift { #[serde(default, skip_serializing_if = "Option::is_none")] pub container: Option, @@ -436,7 +437,7 @@ pub struct ScheduleArchiveBackendSwift { pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveBackendTlsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] pub ca_cert: Option, @@ -447,7 +448,7 @@ pub struct ScheduleArchiveBackendTlsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveBackendVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -481,7 +482,7 @@ pub struct ScheduleArchiveBackendVolumeMounts { /// It takes precedence over the Resources or PodSecurityContext field. /// It does not allow changing the image or the command of the resulting pod. /// This is for advanced use-cases only. Please only set this if you know what you're doing. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchivePodConfigRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -491,7 +492,7 @@ pub struct ScheduleArchivePodConfigRef { } /// PodSecurityContext describes the security context with which this action shall be executed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchivePodSecurityContext { /// A special supplemental group that applies to all containers in a pod. /// Some volume types allow the Kubelet to change the ownership of that volume @@ -580,7 +581,7 @@ pub struct ScheduleArchivePodSecurityContext { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchivePodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -598,7 +599,7 @@ pub struct ScheduleArchivePodSecurityContextSeLinuxOptions { /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchivePodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -618,7 +619,7 @@ pub struct ScheduleArchivePodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchivePodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -630,7 +631,7 @@ pub struct ScheduleArchivePodSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchivePodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -655,7 +656,7 @@ pub struct ScheduleArchivePodSecurityContextWindowsOptions { } /// Resources describes the compute resource requirements (cpu, memory, etc.) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -681,7 +682,7 @@ pub struct ScheduleArchiveResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -691,7 +692,7 @@ pub struct ScheduleArchiveResourcesClaims { /// RestoreMethod contains how and where the restore should happen /// all the settings are mutual exclusive. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveRestoreMethod { #[serde(default, skip_serializing_if = "Option::is_none")] pub folder: Option, @@ -703,7 +704,7 @@ pub struct ScheduleArchiveRestoreMethod { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveRestoreMethodFolder { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -715,7 +716,7 @@ pub struct ScheduleArchiveRestoreMethodFolder { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveRestoreMethodS3 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessKeyIDSecretRef")] @@ -730,7 +731,7 @@ pub struct ScheduleArchiveRestoreMethodS3 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveRestoreMethodS3AccessKeyIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -745,7 +746,7 @@ pub struct ScheduleArchiveRestoreMethodS3AccessKeyIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveRestoreMethodS3SecretAccessKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -759,7 +760,7 @@ pub struct ScheduleArchiveRestoreMethodS3SecretAccessKeySecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveRestoreMethodTlsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] pub ca_cert: Option, @@ -770,7 +771,7 @@ pub struct ScheduleArchiveRestoreMethodTlsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveRestoreMethodVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -800,7 +801,7 @@ pub struct ScheduleArchiveRestoreMethodVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveVolumes { /// configMap represents a configMap that should populate this volume #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -821,7 +822,7 @@ pub struct ScheduleArchiveVolumes { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -852,7 +853,7 @@ pub struct ScheduleArchiveVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -874,7 +875,7 @@ pub struct ScheduleArchiveVolumesConfigMapItems { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -888,7 +889,7 @@ pub struct ScheduleArchiveVolumesPersistentVolumeClaim { /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -918,7 +919,7 @@ pub struct ScheduleArchiveVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleArchiveVolumesSecretItems { /// key is the key to project. pub key: String, @@ -939,7 +940,7 @@ pub struct ScheduleArchiveVolumesSecretItems { /// Backend allows configuring several backend implementations. /// It is expected that users only configure one storage type. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackend { #[serde(default, skip_serializing_if = "Option::is_none")] pub azure: Option, @@ -967,7 +968,7 @@ pub struct ScheduleBackend { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackendAzure { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountKeySecretRef")] @@ -982,7 +983,7 @@ pub struct ScheduleBackendAzure { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackendAzureAccountKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -997,7 +998,7 @@ pub struct ScheduleBackendAzureAccountKeySecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackendAzureAccountNameSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1011,7 +1012,7 @@ pub struct ScheduleBackendAzureAccountNameSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackendB2 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountIDSecretRef")] @@ -1026,7 +1027,7 @@ pub struct ScheduleBackendB2 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackendB2AccountIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1041,7 +1042,7 @@ pub struct ScheduleBackendB2AccountIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackendB2AccountKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1056,7 +1057,7 @@ pub struct ScheduleBackendB2AccountKeySecretRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackendEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -1070,7 +1071,7 @@ pub struct ScheduleBackendEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackendEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -1083,7 +1084,7 @@ pub struct ScheduleBackendEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackendEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -1095,7 +1096,7 @@ pub struct ScheduleBackendEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackendGcs { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessTokenSecretRef")] @@ -1108,7 +1109,7 @@ pub struct ScheduleBackendGcs { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackendGcsAccessTokenSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1123,7 +1124,7 @@ pub struct ScheduleBackendGcsAccessTokenSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackendGcsProjectIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1137,14 +1138,14 @@ pub struct ScheduleBackendGcsProjectIdSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackendLocal { #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, } /// RepoPasswordSecretRef references a secret key to look up the restic repository password -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackendRepoPasswordSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1158,7 +1159,7 @@ pub struct ScheduleBackendRepoPasswordSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackendRest { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "passwordSecretReg")] @@ -1171,7 +1172,7 @@ pub struct ScheduleBackendRest { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackendRestPasswordSecretReg { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1186,7 +1187,7 @@ pub struct ScheduleBackendRestPasswordSecretReg { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackendRestUserSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1200,7 +1201,7 @@ pub struct ScheduleBackendRestUserSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackendS3 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessKeyIDSecretRef")] @@ -1215,7 +1216,7 @@ pub struct ScheduleBackendS3 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackendS3AccessKeyIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1230,7 +1231,7 @@ pub struct ScheduleBackendS3AccessKeyIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackendS3SecretAccessKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1244,7 +1245,7 @@ pub struct ScheduleBackendS3SecretAccessKeySecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackendSwift { #[serde(default, skip_serializing_if = "Option::is_none")] pub container: Option, @@ -1252,7 +1253,7 @@ pub struct ScheduleBackendSwift { pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackendTlsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] pub ca_cert: Option, @@ -1263,7 +1264,7 @@ pub struct ScheduleBackendTlsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackendVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -1294,7 +1295,7 @@ pub struct ScheduleBackendVolumeMounts { } /// BackupSchedule manages schedules for the backup service -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackup { /// ActiveDeadlineSeconds specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it. /// Value must be positive integer if given. @@ -1351,7 +1352,7 @@ pub struct ScheduleBackup { } /// Backend contains the restic repo where the job should backup to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupBackend { #[serde(default, skip_serializing_if = "Option::is_none")] pub azure: Option, @@ -1379,7 +1380,7 @@ pub struct ScheduleBackupBackend { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupBackendAzure { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountKeySecretRef")] @@ -1394,7 +1395,7 @@ pub struct ScheduleBackupBackendAzure { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupBackendAzureAccountKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1409,7 +1410,7 @@ pub struct ScheduleBackupBackendAzureAccountKeySecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupBackendAzureAccountNameSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1423,7 +1424,7 @@ pub struct ScheduleBackupBackendAzureAccountNameSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupBackendB2 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountIDSecretRef")] @@ -1438,7 +1439,7 @@ pub struct ScheduleBackupBackendB2 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupBackendB2AccountIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1453,7 +1454,7 @@ pub struct ScheduleBackupBackendB2AccountIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupBackendB2AccountKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1468,7 +1469,7 @@ pub struct ScheduleBackupBackendB2AccountKeySecretRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupBackendEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -1482,7 +1483,7 @@ pub struct ScheduleBackupBackendEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupBackendEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -1495,7 +1496,7 @@ pub struct ScheduleBackupBackendEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupBackendEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -1507,7 +1508,7 @@ pub struct ScheduleBackupBackendEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupBackendGcs { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessTokenSecretRef")] @@ -1520,7 +1521,7 @@ pub struct ScheduleBackupBackendGcs { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupBackendGcsAccessTokenSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1535,7 +1536,7 @@ pub struct ScheduleBackupBackendGcsAccessTokenSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupBackendGcsProjectIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1549,14 +1550,14 @@ pub struct ScheduleBackupBackendGcsProjectIdSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupBackendLocal { #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, } /// RepoPasswordSecretRef references a secret key to look up the restic repository password -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupBackendRepoPasswordSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1570,7 +1571,7 @@ pub struct ScheduleBackupBackendRepoPasswordSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupBackendRest { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "passwordSecretReg")] @@ -1583,7 +1584,7 @@ pub struct ScheduleBackupBackendRest { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupBackendRestPasswordSecretReg { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1598,7 +1599,7 @@ pub struct ScheduleBackupBackendRestPasswordSecretReg { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupBackendRestUserSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1612,7 +1613,7 @@ pub struct ScheduleBackupBackendRestUserSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupBackendS3 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessKeyIDSecretRef")] @@ -1627,7 +1628,7 @@ pub struct ScheduleBackupBackendS3 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupBackendS3AccessKeyIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1642,7 +1643,7 @@ pub struct ScheduleBackupBackendS3AccessKeyIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupBackendS3SecretAccessKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1656,7 +1657,7 @@ pub struct ScheduleBackupBackendS3SecretAccessKeySecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupBackendSwift { #[serde(default, skip_serializing_if = "Option::is_none")] pub container: Option, @@ -1664,7 +1665,7 @@ pub struct ScheduleBackupBackendSwift { pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupBackendTlsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] pub ca_cert: Option, @@ -1675,7 +1676,7 @@ pub struct ScheduleBackupBackendTlsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupBackendVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -1709,7 +1710,7 @@ pub struct ScheduleBackupBackendVolumeMounts { /// It takes precedence over the Resources or PodSecurityContext field. /// It does not allow changing the image or the command of the resulting pod. /// This is for advanced use-cases only. Please only set this if you know what you're doing. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupPodConfigRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -1719,7 +1720,7 @@ pub struct ScheduleBackupPodConfigRef { } /// PodSecurityContext describes the security context with which this action shall be executed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupPodSecurityContext { /// A special supplemental group that applies to all containers in a pod. /// Some volume types allow the Kubelet to change the ownership of that volume @@ -1808,7 +1809,7 @@ pub struct ScheduleBackupPodSecurityContext { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupPodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1826,7 +1827,7 @@ pub struct ScheduleBackupPodSecurityContextSeLinuxOptions { /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupPodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -1846,7 +1847,7 @@ pub struct ScheduleBackupPodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupPodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -1858,7 +1859,7 @@ pub struct ScheduleBackupPodSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupPodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -1883,7 +1884,7 @@ pub struct ScheduleBackupPodSecurityContextWindowsOptions { } /// Resources describes the compute resource requirements (cpu, memory, etc.) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -1909,7 +1910,7 @@ pub struct ScheduleBackupResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -1917,7 +1918,7 @@ pub struct ScheduleBackupResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupVolumes { /// configMap represents a configMap that should populate this volume #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1938,7 +1939,7 @@ pub struct ScheduleBackupVolumes { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -1969,7 +1970,7 @@ pub struct ScheduleBackupVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -1991,7 +1992,7 @@ pub struct ScheduleBackupVolumesConfigMapItems { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -2005,7 +2006,7 @@ pub struct ScheduleBackupVolumesPersistentVolumeClaim { /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -2035,7 +2036,7 @@ pub struct ScheduleBackupVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleBackupVolumesSecretItems { /// key is the key to project. pub key: String, @@ -2055,7 +2056,7 @@ pub struct ScheduleBackupVolumesSecretItems { } /// CheckSchedule manages the schedules for the checks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheck { /// ActiveDeadlineSeconds specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it. /// Value must be positive integer if given. @@ -2104,7 +2105,7 @@ pub struct ScheduleCheck { } /// Backend contains the restic repo where the job should backup to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckBackend { #[serde(default, skip_serializing_if = "Option::is_none")] pub azure: Option, @@ -2132,7 +2133,7 @@ pub struct ScheduleCheckBackend { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckBackendAzure { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountKeySecretRef")] @@ -2147,7 +2148,7 @@ pub struct ScheduleCheckBackendAzure { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckBackendAzureAccountKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2162,7 +2163,7 @@ pub struct ScheduleCheckBackendAzureAccountKeySecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckBackendAzureAccountNameSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2176,7 +2177,7 @@ pub struct ScheduleCheckBackendAzureAccountNameSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckBackendB2 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountIDSecretRef")] @@ -2191,7 +2192,7 @@ pub struct ScheduleCheckBackendB2 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckBackendB2AccountIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2206,7 +2207,7 @@ pub struct ScheduleCheckBackendB2AccountIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckBackendB2AccountKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2221,7 +2222,7 @@ pub struct ScheduleCheckBackendB2AccountKeySecretRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckBackendEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -2235,7 +2236,7 @@ pub struct ScheduleCheckBackendEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckBackendEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -2248,7 +2249,7 @@ pub struct ScheduleCheckBackendEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckBackendEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -2260,7 +2261,7 @@ pub struct ScheduleCheckBackendEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckBackendGcs { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessTokenSecretRef")] @@ -2273,7 +2274,7 @@ pub struct ScheduleCheckBackendGcs { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckBackendGcsAccessTokenSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2288,7 +2289,7 @@ pub struct ScheduleCheckBackendGcsAccessTokenSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckBackendGcsProjectIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2302,14 +2303,14 @@ pub struct ScheduleCheckBackendGcsProjectIdSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckBackendLocal { #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, } /// RepoPasswordSecretRef references a secret key to look up the restic repository password -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckBackendRepoPasswordSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2323,7 +2324,7 @@ pub struct ScheduleCheckBackendRepoPasswordSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckBackendRest { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "passwordSecretReg")] @@ -2336,7 +2337,7 @@ pub struct ScheduleCheckBackendRest { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckBackendRestPasswordSecretReg { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2351,7 +2352,7 @@ pub struct ScheduleCheckBackendRestPasswordSecretReg { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckBackendRestUserSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2365,7 +2366,7 @@ pub struct ScheduleCheckBackendRestUserSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckBackendS3 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessKeyIDSecretRef")] @@ -2380,7 +2381,7 @@ pub struct ScheduleCheckBackendS3 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckBackendS3AccessKeyIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2395,7 +2396,7 @@ pub struct ScheduleCheckBackendS3AccessKeyIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckBackendS3SecretAccessKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2409,7 +2410,7 @@ pub struct ScheduleCheckBackendS3SecretAccessKeySecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckBackendSwift { #[serde(default, skip_serializing_if = "Option::is_none")] pub container: Option, @@ -2417,7 +2418,7 @@ pub struct ScheduleCheckBackendSwift { pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckBackendTlsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] pub ca_cert: Option, @@ -2428,7 +2429,7 @@ pub struct ScheduleCheckBackendTlsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckBackendVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -2462,7 +2463,7 @@ pub struct ScheduleCheckBackendVolumeMounts { /// It takes precedence over the Resources or PodSecurityContext field. /// It does not allow changing the image or the command of the resulting pod. /// This is for advanced use-cases only. Please only set this if you know what you're doing. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckPodConfigRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -2472,7 +2473,7 @@ pub struct ScheduleCheckPodConfigRef { } /// PodSecurityContext describes the security context with which this action shall be executed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckPodSecurityContext { /// A special supplemental group that applies to all containers in a pod. /// Some volume types allow the Kubelet to change the ownership of that volume @@ -2561,7 +2562,7 @@ pub struct ScheduleCheckPodSecurityContext { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckPodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2579,7 +2580,7 @@ pub struct ScheduleCheckPodSecurityContextSeLinuxOptions { /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckPodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -2599,7 +2600,7 @@ pub struct ScheduleCheckPodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckPodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -2611,7 +2612,7 @@ pub struct ScheduleCheckPodSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckPodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -2636,7 +2637,7 @@ pub struct ScheduleCheckPodSecurityContextWindowsOptions { } /// Resources describes the compute resource requirements (cpu, memory, etc.) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -2662,7 +2663,7 @@ pub struct ScheduleCheckResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -2670,7 +2671,7 @@ pub struct ScheduleCheckResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckVolumes { /// configMap represents a configMap that should populate this volume #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2691,7 +2692,7 @@ pub struct ScheduleCheckVolumes { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -2722,7 +2723,7 @@ pub struct ScheduleCheckVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -2744,7 +2745,7 @@ pub struct ScheduleCheckVolumesConfigMapItems { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -2758,7 +2759,7 @@ pub struct ScheduleCheckVolumesPersistentVolumeClaim { /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -2788,7 +2789,7 @@ pub struct ScheduleCheckVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleCheckVolumesSecretItems { /// key is the key to project. pub key: String, @@ -2809,7 +2810,7 @@ pub struct ScheduleCheckVolumesSecretItems { /// PodConfigRef will apply the given template to all job definitions in this Schedule. /// It can be overriden for specific jobs if necessary. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePodConfigRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -2819,7 +2820,7 @@ pub struct SchedulePodConfigRef { } /// PodSecurityContext describes the security context with which actions (such as backups) shall be executed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePodSecurityContext { /// A special supplemental group that applies to all containers in a pod. /// Some volume types allow the Kubelet to change the ownership of that volume @@ -2908,7 +2909,7 @@ pub struct SchedulePodSecurityContext { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2926,7 +2927,7 @@ pub struct SchedulePodSecurityContextSeLinuxOptions { /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -2946,7 +2947,7 @@ pub struct SchedulePodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -2958,7 +2959,7 @@ pub struct SchedulePodSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -2983,7 +2984,7 @@ pub struct SchedulePodSecurityContextWindowsOptions { } /// PruneSchedule manages the schedules for the prunes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePrune { /// ActiveDeadlineSeconds specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it. /// Value must be positive integer if given. @@ -3032,7 +3033,7 @@ pub struct SchedulePrune { } /// Backend contains the restic repo where the job should backup to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneBackend { #[serde(default, skip_serializing_if = "Option::is_none")] pub azure: Option, @@ -3060,7 +3061,7 @@ pub struct SchedulePruneBackend { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneBackendAzure { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountKeySecretRef")] @@ -3075,7 +3076,7 @@ pub struct SchedulePruneBackendAzure { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneBackendAzureAccountKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3090,7 +3091,7 @@ pub struct SchedulePruneBackendAzureAccountKeySecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneBackendAzureAccountNameSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3104,7 +3105,7 @@ pub struct SchedulePruneBackendAzureAccountNameSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneBackendB2 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountIDSecretRef")] @@ -3119,7 +3120,7 @@ pub struct SchedulePruneBackendB2 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneBackendB2AccountIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3134,7 +3135,7 @@ pub struct SchedulePruneBackendB2AccountIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneBackendB2AccountKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3149,7 +3150,7 @@ pub struct SchedulePruneBackendB2AccountKeySecretRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneBackendEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -3163,7 +3164,7 @@ pub struct SchedulePruneBackendEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneBackendEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -3176,7 +3177,7 @@ pub struct SchedulePruneBackendEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneBackendEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -3188,7 +3189,7 @@ pub struct SchedulePruneBackendEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneBackendGcs { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessTokenSecretRef")] @@ -3201,7 +3202,7 @@ pub struct SchedulePruneBackendGcs { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneBackendGcsAccessTokenSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3216,7 +3217,7 @@ pub struct SchedulePruneBackendGcsAccessTokenSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneBackendGcsProjectIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3230,14 +3231,14 @@ pub struct SchedulePruneBackendGcsProjectIdSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneBackendLocal { #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, } /// RepoPasswordSecretRef references a secret key to look up the restic repository password -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneBackendRepoPasswordSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3251,7 +3252,7 @@ pub struct SchedulePruneBackendRepoPasswordSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneBackendRest { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "passwordSecretReg")] @@ -3264,7 +3265,7 @@ pub struct SchedulePruneBackendRest { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneBackendRestPasswordSecretReg { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3279,7 +3280,7 @@ pub struct SchedulePruneBackendRestPasswordSecretReg { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneBackendRestUserSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3293,7 +3294,7 @@ pub struct SchedulePruneBackendRestUserSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneBackendS3 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessKeyIDSecretRef")] @@ -3308,7 +3309,7 @@ pub struct SchedulePruneBackendS3 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneBackendS3AccessKeyIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3323,7 +3324,7 @@ pub struct SchedulePruneBackendS3AccessKeyIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneBackendS3SecretAccessKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3337,7 +3338,7 @@ pub struct SchedulePruneBackendS3SecretAccessKeySecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneBackendSwift { #[serde(default, skip_serializing_if = "Option::is_none")] pub container: Option, @@ -3345,7 +3346,7 @@ pub struct SchedulePruneBackendSwift { pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneBackendTlsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] pub ca_cert: Option, @@ -3356,7 +3357,7 @@ pub struct SchedulePruneBackendTlsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneBackendVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -3390,7 +3391,7 @@ pub struct SchedulePruneBackendVolumeMounts { /// It takes precedence over the Resources or PodSecurityContext field. /// It does not allow changing the image or the command of the resulting pod. /// This is for advanced use-cases only. Please only set this if you know what you're doing. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePrunePodConfigRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -3400,7 +3401,7 @@ pub struct SchedulePrunePodConfigRef { } /// PodSecurityContext describes the security context with which this action shall be executed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePrunePodSecurityContext { /// A special supplemental group that applies to all containers in a pod. /// Some volume types allow the Kubelet to change the ownership of that volume @@ -3489,7 +3490,7 @@ pub struct SchedulePrunePodSecurityContext { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePrunePodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3507,7 +3508,7 @@ pub struct SchedulePrunePodSecurityContextSeLinuxOptions { /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePrunePodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -3527,7 +3528,7 @@ pub struct SchedulePrunePodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePrunePodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -3539,7 +3540,7 @@ pub struct SchedulePrunePodSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePrunePodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -3564,7 +3565,7 @@ pub struct SchedulePrunePodSecurityContextWindowsOptions { } /// Resources describes the compute resource requirements (cpu, memory, etc.) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -3590,7 +3591,7 @@ pub struct SchedulePruneResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -3599,7 +3600,7 @@ pub struct SchedulePruneResourcesClaims { } /// Retention sets how many backups should be kept after a forget and prune -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneRetention { /// Hostnames is a filter on what hostnames the policy should be applied #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3624,7 +3625,7 @@ pub struct SchedulePruneRetention { pub tags: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneVolumes { /// configMap represents a configMap that should populate this volume #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3645,7 +3646,7 @@ pub struct SchedulePruneVolumes { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -3676,7 +3677,7 @@ pub struct SchedulePruneVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -3698,7 +3699,7 @@ pub struct SchedulePruneVolumesConfigMapItems { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -3712,7 +3713,7 @@ pub struct SchedulePruneVolumesPersistentVolumeClaim { /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -3742,7 +3743,7 @@ pub struct SchedulePruneVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SchedulePruneVolumesSecretItems { /// key is the key to project. pub key: String, @@ -3762,7 +3763,7 @@ pub struct SchedulePruneVolumesSecretItems { } /// ResourceRequirementsTemplate describes the compute resource requirements (cpu, memory, etc.) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleResourceRequirementsTemplate { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -3788,7 +3789,7 @@ pub struct ScheduleResourceRequirementsTemplate { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleResourceRequirementsTemplateClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -3797,7 +3798,7 @@ pub struct ScheduleResourceRequirementsTemplateClaims { } /// RestoreSchedule manages schedules for the restore service -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestore { /// ActiveDeadlineSeconds specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it. /// Value must be positive integer if given. @@ -3854,7 +3855,7 @@ pub struct ScheduleRestore { } /// Backend contains the restic repo where the job should backup to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreBackend { #[serde(default, skip_serializing_if = "Option::is_none")] pub azure: Option, @@ -3882,7 +3883,7 @@ pub struct ScheduleRestoreBackend { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreBackendAzure { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountKeySecretRef")] @@ -3897,7 +3898,7 @@ pub struct ScheduleRestoreBackendAzure { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreBackendAzureAccountKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3912,7 +3913,7 @@ pub struct ScheduleRestoreBackendAzureAccountKeySecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreBackendAzureAccountNameSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3926,7 +3927,7 @@ pub struct ScheduleRestoreBackendAzureAccountNameSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreBackendB2 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountIDSecretRef")] @@ -3941,7 +3942,7 @@ pub struct ScheduleRestoreBackendB2 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreBackendB2AccountIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3956,7 +3957,7 @@ pub struct ScheduleRestoreBackendB2AccountIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreBackendB2AccountKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3971,7 +3972,7 @@ pub struct ScheduleRestoreBackendB2AccountKeySecretRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreBackendEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -3985,7 +3986,7 @@ pub struct ScheduleRestoreBackendEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreBackendEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -3998,7 +3999,7 @@ pub struct ScheduleRestoreBackendEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreBackendEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -4010,7 +4011,7 @@ pub struct ScheduleRestoreBackendEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreBackendGcs { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessTokenSecretRef")] @@ -4023,7 +4024,7 @@ pub struct ScheduleRestoreBackendGcs { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreBackendGcsAccessTokenSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4038,7 +4039,7 @@ pub struct ScheduleRestoreBackendGcsAccessTokenSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreBackendGcsProjectIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4052,14 +4053,14 @@ pub struct ScheduleRestoreBackendGcsProjectIdSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreBackendLocal { #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, } /// RepoPasswordSecretRef references a secret key to look up the restic repository password -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreBackendRepoPasswordSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4073,7 +4074,7 @@ pub struct ScheduleRestoreBackendRepoPasswordSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreBackendRest { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "passwordSecretReg")] @@ -4086,7 +4087,7 @@ pub struct ScheduleRestoreBackendRest { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreBackendRestPasswordSecretReg { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4101,7 +4102,7 @@ pub struct ScheduleRestoreBackendRestPasswordSecretReg { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreBackendRestUserSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4115,7 +4116,7 @@ pub struct ScheduleRestoreBackendRestUserSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreBackendS3 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessKeyIDSecretRef")] @@ -4130,7 +4131,7 @@ pub struct ScheduleRestoreBackendS3 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreBackendS3AccessKeyIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4145,7 +4146,7 @@ pub struct ScheduleRestoreBackendS3AccessKeyIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreBackendS3SecretAccessKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4159,7 +4160,7 @@ pub struct ScheduleRestoreBackendS3SecretAccessKeySecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreBackendSwift { #[serde(default, skip_serializing_if = "Option::is_none")] pub container: Option, @@ -4167,7 +4168,7 @@ pub struct ScheduleRestoreBackendSwift { pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreBackendTlsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] pub ca_cert: Option, @@ -4178,7 +4179,7 @@ pub struct ScheduleRestoreBackendTlsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreBackendVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -4212,7 +4213,7 @@ pub struct ScheduleRestoreBackendVolumeMounts { /// It takes precedence over the Resources or PodSecurityContext field. /// It does not allow changing the image or the command of the resulting pod. /// This is for advanced use-cases only. Please only set this if you know what you're doing. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestorePodConfigRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -4222,7 +4223,7 @@ pub struct ScheduleRestorePodConfigRef { } /// PodSecurityContext describes the security context with which this action shall be executed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestorePodSecurityContext { /// A special supplemental group that applies to all containers in a pod. /// Some volume types allow the Kubelet to change the ownership of that volume @@ -4311,7 +4312,7 @@ pub struct ScheduleRestorePodSecurityContext { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestorePodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4329,7 +4330,7 @@ pub struct ScheduleRestorePodSecurityContextSeLinuxOptions { /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestorePodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -4349,7 +4350,7 @@ pub struct ScheduleRestorePodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestorePodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -4361,7 +4362,7 @@ pub struct ScheduleRestorePodSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestorePodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -4386,7 +4387,7 @@ pub struct ScheduleRestorePodSecurityContextWindowsOptions { } /// Resources describes the compute resource requirements (cpu, memory, etc.) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -4412,7 +4413,7 @@ pub struct ScheduleRestoreResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -4422,7 +4423,7 @@ pub struct ScheduleRestoreResourcesClaims { /// RestoreMethod contains how and where the restore should happen /// all the settings are mutual exclusive. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreRestoreMethod { #[serde(default, skip_serializing_if = "Option::is_none")] pub folder: Option, @@ -4434,7 +4435,7 @@ pub struct ScheduleRestoreRestoreMethod { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreRestoreMethodFolder { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -4446,7 +4447,7 @@ pub struct ScheduleRestoreRestoreMethodFolder { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreRestoreMethodS3 { /// SecretKeySelector selects a key of a Secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessKeyIDSecretRef")] @@ -4461,7 +4462,7 @@ pub struct ScheduleRestoreRestoreMethodS3 { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreRestoreMethodS3AccessKeyIdSecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4476,7 +4477,7 @@ pub struct ScheduleRestoreRestoreMethodS3AccessKeyIdSecretRef { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreRestoreMethodS3SecretAccessKeySecretRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4490,7 +4491,7 @@ pub struct ScheduleRestoreRestoreMethodS3SecretAccessKeySecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreRestoreMethodTlsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCert")] pub ca_cert: Option, @@ -4501,7 +4502,7 @@ pub struct ScheduleRestoreRestoreMethodTlsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreRestoreMethodVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -4531,7 +4532,7 @@ pub struct ScheduleRestoreRestoreMethodVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreVolumes { /// configMap represents a configMap that should populate this volume #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4552,7 +4553,7 @@ pub struct ScheduleRestoreVolumes { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -4583,7 +4584,7 @@ pub struct ScheduleRestoreVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -4605,7 +4606,7 @@ pub struct ScheduleRestoreVolumesConfigMapItems { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -4619,7 +4620,7 @@ pub struct ScheduleRestoreVolumesPersistentVolumeClaim { /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -4649,7 +4650,7 @@ pub struct ScheduleRestoreVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleRestoreVolumesSecretItems { /// key is the key to project. pub key: String, @@ -4669,7 +4670,7 @@ pub struct ScheduleRestoreVolumesSecretItems { } /// ScheduleStatus defines the observed state of Schedule -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleStatus { /// Conditions provide a standard mechanism for higher-level status reporting from a controller. /// They are an extension mechanism which allows tools and other controllers to collect summary information about @@ -4681,7 +4682,7 @@ pub struct ScheduleStatus { pub effective_schedules: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduleStatusEffectiveSchedules { /// ScheduleDefinition is the actual cron-type expression that defines the interval of the actions. #[serde(default, skip_serializing_if = "Option::is_none", rename = "generatedSchedule")] diff --git a/kube-custom-resources-rs/src/k8up_io/v1/snapshots.rs b/kube-custom-resources-rs/src/k8up_io/v1/snapshots.rs index ba8d1d462..5f70579f8 100644 --- a/kube-custom-resources-rs/src/k8up_io/v1/snapshots.rs +++ b/kube-custom-resources-rs/src/k8up_io/v1/snapshots.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/k8up-io/k8up/k8up.io/v1/snapshots.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/k8up-io/k8up/k8up.io/v1/snapshots.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1alpha1/cruisecontroloperations.rs b/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1alpha1/cruisecontroloperations.rs index d0868d756..f2b37b11d 100644 --- a/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1alpha1/cruisecontroloperations.rs +++ b/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1alpha1/cruisecontroloperations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/banzaicloud/koperator/kafka.banzaicloud.io/v1alpha1/cruisecontroloperations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/banzaicloud/koperator/kafka.banzaicloud.io/v1alpha1/cruisecontroloperations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1alpha1/kafkatopics.rs b/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1alpha1/kafkatopics.rs index d68e978ae..242da6ba1 100644 --- a/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1alpha1/kafkatopics.rs +++ b/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1alpha1/kafkatopics.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/banzaicloud/koperator/kafka.banzaicloud.io/v1alpha1/kafkatopics.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/banzaicloud/koperator/kafka.banzaicloud.io/v1alpha1/kafkatopics.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1alpha1/kafkausers.rs b/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1alpha1/kafkausers.rs index c35a1b396..54f5eeaf2 100644 --- a/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1alpha1/kafkausers.rs +++ b/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1alpha1/kafkausers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/banzaicloud/koperator/kafka.banzaicloud.io/v1alpha1/kafkausers.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/banzaicloud/koperator/kafka.banzaicloud.io/v1alpha1/kafkausers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// KafkaUserSpec defines the desired state of KafkaUser -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kafka.banzaicloud.io", version = "v1alpha1", kind = "KafkaUser", plural = "kafkausers")] #[kube(namespaced)] #[kube(status = "KafkaUserStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct KafkaUserSpec { /// Annotations defines the annotations placed on the certificate or certificate signing request object @@ -43,7 +44,7 @@ pub struct KafkaUserSpec { } /// ClusterReference states a reference to a cluster for topic/user provisioning -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserClusterRef { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -63,7 +64,7 @@ pub struct KafkaUserPkiBackendSpec { } /// ObjectReference is a reference to an object with a given name, kind and group. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserPkiBackendSpecIssuerRef { /// Group of the resource being referred to. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -119,7 +120,7 @@ pub enum KafkaUserTopicGrantsPatternType { } /// KafkaUserStatus defines the observed state of KafkaUser -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub acls: Option>, diff --git a/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1beta1/kafkaclusters.rs b/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1beta1/kafkaclusters.rs index 98cd2b1e9..94c1095fb 100644 --- a/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1beta1/kafkaclusters.rs +++ b/kube-custom-resources-rs/src/kafka_banzaicloud_io/v1beta1/kafkaclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/banzaicloud/koperator/kafka.banzaicloud.io/v1beta1/kafkaclusters.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/banzaicloud/koperator/kafka.banzaicloud.io/v1beta1/kafkaclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// KafkaClusterSpec defines the desired state of KafkaCluster -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kafka.banzaicloud.io", version = "v1beta1", kind = "KafkaCluster", plural = "kafkaclusters")] #[kube(namespaced)] #[kube(status = "KafkaClusterStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct KafkaClusterSpec { /// Custom ports to expose in the container. Example use case: a custom kafka distribution, that includes an integrated metrics api endpoint @@ -93,7 +94,7 @@ pub struct KafkaClusterSpec { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterAdditionalPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -113,7 +114,7 @@ pub struct KafkaClusterAdditionalPorts { } /// AlertManagerConfig defines configuration for alert manager -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterAlertManagerConfig { /// DownScaleLimit the limit for auto-downscaling the Kafka cluster. Once the size of the cluster (number of brokers) reaches or falls below this limit the auto-downscaling triggered by alerts is disabled until the cluster size exceeds this limit. This limit is not enforced if this field is omitted or is <= 0. #[serde(default, skip_serializing_if = "Option::is_none", rename = "downScaleLimit")] @@ -123,7 +124,7 @@ pub struct KafkaClusterAlertManagerConfig { pub up_scale_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroups { /// Any definition received through this field will override the default behaviour of OneBrokerPerNode flag and the operator supposes that the user is aware of how scheduling is done by kubernetes Affinity could be set through brokerConfigGroups definitions and can be set for individual brokers as well where letter setting will override the group setting #[serde(default, skip_serializing_if = "Option::is_none")] @@ -202,7 +203,7 @@ pub struct KafkaClusterBrokerConfigGroups { } /// Any definition received through this field will override the default behaviour of OneBrokerPerNode flag and the operator supposes that the user is aware of how scheduling is done by kubernetes Affinity could be set through brokerConfigGroups definitions and can be set for individual brokers as well where letter setting will override the group setting -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -216,7 +217,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -227,7 +228,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: KafkaClusterBrokerConfigGroupsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -236,7 +237,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityNodeAffinityPreferredDuringSche } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -247,7 +248,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityNodeAffinityPreferredDuringSche } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -259,7 +260,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityNodeAffinityPreferredDuringSche } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -271,7 +272,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityNodeAffinityPreferredDuringSche } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -279,7 +280,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityNodeAffinityRequiredDuringSched } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -290,7 +291,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityNodeAffinityRequiredDuringSched } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -302,7 +303,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityNodeAffinityRequiredDuringSched } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -314,7 +315,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityNodeAffinityRequiredDuringSched } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -325,7 +326,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -335,7 +336,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityPodAffinityPreferredDuringSched } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -352,7 +353,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityPodAffinityPreferredDuringSched } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -363,7 +364,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityPodAffinityPreferredDuringSched } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -375,7 +376,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityPodAffinityPreferredDuringSched } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -386,7 +387,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityPodAffinityPreferredDuringSched } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -398,7 +399,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityPodAffinityPreferredDuringSched } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -415,7 +416,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityPodAffinityRequiredDuringSchedu } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -426,7 +427,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityPodAffinityRequiredDuringSchedu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -438,7 +439,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityPodAffinityRequiredDuringSchedu } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -449,7 +450,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityPodAffinityRequiredDuringSchedu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -461,7 +462,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityPodAffinityRequiredDuringSchedu } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -472,7 +473,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -482,7 +483,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityPodAntiAffinityPreferredDuringS } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -499,7 +500,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityPodAntiAffinityPreferredDuringS } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -510,7 +511,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityPodAntiAffinityPreferredDuringS } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -522,7 +523,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityPodAntiAffinityPreferredDuringS } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -533,7 +534,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityPodAntiAffinityPreferredDuringS } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -545,7 +546,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityPodAntiAffinityPreferredDuringS } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -562,7 +563,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityPodAntiAffinityRequiredDuringSc } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -573,7 +574,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityPodAntiAffinityRequiredDuringSc } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -585,7 +586,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityPodAntiAffinityRequiredDuringSc } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -596,7 +597,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityPodAntiAffinityRequiredDuringSc } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -608,7 +609,7 @@ pub struct KafkaClusterBrokerConfigGroupsAffinityPodAntiAffinityRequiredDuringSc } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainers { /// Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -678,7 +679,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -691,7 +692,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -708,7 +709,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -721,7 +722,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -732,7 +733,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -745,7 +746,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersEnvValueFromResourceFieldRef } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -758,7 +759,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -772,7 +773,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -783,7 +784,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -794,7 +795,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersEnvFromSecretRef { } /// Actions that the management system should take in response to container lifecycle events. Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -805,7 +806,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -819,7 +820,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -827,7 +828,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -846,7 +847,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersLifecyclePostStartHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name pub name: String, @@ -855,7 +856,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersLifecyclePostStartHttpGetHttp } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -865,7 +866,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersLifecyclePostStartTcpSocket { } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -879,7 +880,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -887,7 +888,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -906,7 +907,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name pub name: String, @@ -915,7 +916,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersLifecyclePreStopHttpGetHttpHe } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -925,7 +926,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersLifecyclePreStopTcpSocket { } /// Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -960,7 +961,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -968,7 +969,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -979,7 +980,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -998,7 +999,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersLivenessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -1007,7 +1008,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersLivenessProbeHttpGetHttpHeade } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1017,7 +1018,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -1037,7 +1038,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersPorts { } /// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1072,7 +1073,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1080,7 +1081,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1091,7 +1092,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1110,7 +1111,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersReadinessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -1119,7 +1120,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersReadinessProbeHttpGetHttpHead } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1129,7 +1130,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersReadinessProbeTcpSocket { } /// Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1145,14 +1146,14 @@ pub struct KafkaClusterBrokerConfigGroupsContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -1190,7 +1191,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1201,7 +1202,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1218,7 +1219,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersSecurityContextSeLinuxOptions } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -1230,7 +1231,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersSecurityContextSeccompProfile } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -1247,7 +1248,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersSecurityContextWindowsOptions } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1282,7 +1283,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1290,7 +1291,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1301,7 +1302,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1320,7 +1321,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersStartupProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -1329,7 +1330,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersStartupProbeHttpGetHttpHeader } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1339,7 +1340,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -1349,7 +1350,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -1371,7 +1372,7 @@ pub struct KafkaClusterBrokerConfigGroupsContainersVolumeMounts { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsEnvs { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -1384,7 +1385,7 @@ pub struct KafkaClusterBrokerConfigGroupsEnvs { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsEnvsValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1401,7 +1402,7 @@ pub struct KafkaClusterBrokerConfigGroupsEnvsValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsEnvsValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1414,7 +1415,7 @@ pub struct KafkaClusterBrokerConfigGroupsEnvsValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsEnvsValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1425,7 +1426,7 @@ pub struct KafkaClusterBrokerConfigGroupsEnvsValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsEnvsValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1438,7 +1439,7 @@ pub struct KafkaClusterBrokerConfigGroupsEnvsValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsEnvsValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1451,7 +1452,7 @@ pub struct KafkaClusterBrokerConfigGroupsEnvsValueFromSecretKeyRef { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsImagePullSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1459,7 +1460,7 @@ pub struct KafkaClusterBrokerConfigGroupsImagePullSecrets { } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainers { /// Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1529,7 +1530,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -1542,7 +1543,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1559,7 +1560,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1572,7 +1573,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersEnvValueFromConfigMapKeyR } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1583,7 +1584,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1596,7 +1597,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersEnvValueFromResourceField } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1609,7 +1610,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersEnvValueFromSecretKeyRef } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -1623,7 +1624,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1634,7 +1635,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1645,7 +1646,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersEnvFromSecretRef { } /// Actions that the management system should take in response to container lifecycle events. Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -1656,7 +1657,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1670,7 +1671,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1678,7 +1679,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1697,7 +1698,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersLifecyclePostStartHttpGet } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name pub name: String, @@ -1706,7 +1707,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersLifecyclePostStartHttpGet } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1716,7 +1717,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersLifecyclePostStartTcpSock } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1730,7 +1731,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1738,7 +1739,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1757,7 +1758,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name pub name: String, @@ -1766,7 +1767,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersLifecyclePreStopHttpGetHt } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1776,7 +1777,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersLifecyclePreStopTcpSocket } /// Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1811,7 +1812,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1819,7 +1820,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1830,7 +1831,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1849,7 +1850,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -1858,7 +1859,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersLivenessProbeHttpGetHttpH } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1868,7 +1869,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -1888,7 +1889,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersPorts { } /// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1923,7 +1924,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1931,7 +1932,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1942,7 +1943,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1961,7 +1962,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -1970,7 +1971,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersReadinessProbeHttpGetHttp } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1980,7 +1981,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersReadinessProbeTcpSocket { } /// Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1996,14 +1997,14 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -2041,7 +2042,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2052,7 +2053,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersSecurityContextCapabiliti } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2069,7 +2070,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersSecurityContextSeLinuxOpt } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -2081,7 +2082,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersSecurityContextSeccompPro } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -2098,7 +2099,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersSecurityContextWindowsOpt } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2133,7 +2134,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2141,7 +2142,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2152,7 +2153,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2171,7 +2172,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersStartupProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -2180,7 +2181,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersStartupProbeHttpGetHttpHe } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2190,7 +2191,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -2200,7 +2201,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -2222,7 +2223,7 @@ pub struct KafkaClusterBrokerConfigGroupsInitContainersVolumeMounts { } /// Network throughput information in kB/s used by Cruise Control to determine broker network capacity. By default it is set to `125000` which means 1Gbit/s in network throughput. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsNetworkConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "incomingNetworkThroughPut")] pub incoming_network_through_put: Option, @@ -2244,7 +2245,7 @@ pub enum KafkaClusterBrokerConfigGroupsNodePortNodeAddressType { } /// PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsPodSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -2281,7 +2282,7 @@ pub struct KafkaClusterBrokerConfigGroupsPodSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsPodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2298,7 +2299,7 @@ pub struct KafkaClusterBrokerConfigGroupsPodSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsPodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -2310,7 +2311,7 @@ pub struct KafkaClusterBrokerConfigGroupsPodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsPodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -2319,7 +2320,7 @@ pub struct KafkaClusterBrokerConfigGroupsPodSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsPodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -2336,7 +2337,7 @@ pub struct KafkaClusterBrokerConfigGroupsPodSecurityContextWindowsOptions { } /// ResourceRequirements describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsResourceRequirements { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2352,14 +2353,14 @@ pub struct KafkaClusterBrokerConfigGroupsResourceRequirements { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsResourceRequirementsClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext allows to set security context for the kafka container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -2397,7 +2398,7 @@ pub struct KafkaClusterBrokerConfigGroupsSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2408,7 +2409,7 @@ pub struct KafkaClusterBrokerConfigGroupsSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2425,7 +2426,7 @@ pub struct KafkaClusterBrokerConfigGroupsSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -2437,7 +2438,7 @@ pub struct KafkaClusterBrokerConfigGroupsSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -2454,7 +2455,7 @@ pub struct KafkaClusterBrokerConfigGroupsSecurityContextWindowsOptions { } /// StorageConfig defines the broker storage configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsStorageConfigs { /// If set https://kubernetes.io/docs/concepts/storage/volumes#emptydir is used as storage for Kafka broker log dirs. The use of empty dir as Kafka broker storage is useful in development environments where data loss is not a concern as data stored on emptydir backed storage is lost at pod restarts. Either `pvcSpec` or `emptyDir` has to be set. When both `pvcSpec` and `emptyDir` fields are set the `pvcSpec` is used by default. #[serde(default, skip_serializing_if = "Option::is_none", rename = "emptyDir")] @@ -2467,7 +2468,7 @@ pub struct KafkaClusterBrokerConfigGroupsStorageConfigs { } /// If set https://kubernetes.io/docs/concepts/storage/volumes#emptydir is used as storage for Kafka broker log dirs. The use of empty dir as Kafka broker storage is useful in development environments where data loss is not a concern as data stored on emptydir backed storage is lost at pod restarts. Either `pvcSpec` or `emptyDir` has to be set. When both `pvcSpec` and `emptyDir` fields are set the `pvcSpec` is used by default. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsStorageConfigsEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2478,7 +2479,7 @@ pub struct KafkaClusterBrokerConfigGroupsStorageConfigsEmptyDir { } /// If set https://kubernetes.io/docs/concepts/storage/volumes/#persistentvolumeclaim is used as storage for Kafka broker log dirs. Either `pvcSpec` or `emptyDir` has to be set. When both `pvcSpec` and `emptyDir` fields are set the `pvcSpec` is used by default. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsStorageConfigsPvcSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -2507,7 +2508,7 @@ pub struct KafkaClusterBrokerConfigGroupsStorageConfigsPvcSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsStorageConfigsPvcSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2519,7 +2520,7 @@ pub struct KafkaClusterBrokerConfigGroupsStorageConfigsPvcSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsStorageConfigsPvcSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2534,7 +2535,7 @@ pub struct KafkaClusterBrokerConfigGroupsStorageConfigsPvcSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsStorageConfigsPvcSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2550,14 +2551,14 @@ pub struct KafkaClusterBrokerConfigGroupsStorageConfigsPvcSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsStorageConfigsPvcSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsStorageConfigsPvcSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2568,7 +2569,7 @@ pub struct KafkaClusterBrokerConfigGroupsStorageConfigsPvcSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsStorageConfigsPvcSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2580,7 +2581,7 @@ pub struct KafkaClusterBrokerConfigGroupsStorageConfigsPvcSpecSelectorMatchExpre } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2600,7 +2601,7 @@ pub struct KafkaClusterBrokerConfigGroupsTolerations { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -2622,7 +2623,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -2720,7 +2721,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2737,7 +2738,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -2760,7 +2761,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -2774,7 +2775,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -2796,7 +2797,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2804,7 +2805,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2821,7 +2822,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2829,7 +2830,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2846,7 +2847,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -2858,7 +2859,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -2877,7 +2878,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2885,7 +2886,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -2896,7 +2897,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -2912,7 +2913,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2923,7 +2924,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2936,7 +2937,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesDownwardApiItemsResourceFieldRef } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2951,7 +2952,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -2965,7 +2966,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2975,12 +2976,12 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -3009,7 +3010,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesEphemeralVolumeClaimTemplateSpec } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -3021,7 +3022,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesEphemeralVolumeClaimTemplateSpec } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -3036,7 +3037,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesEphemeralVolumeClaimTemplateSpec } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -3052,14 +3053,14 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesEphemeralVolumeClaimTemplateSpec } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3070,7 +3071,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesEphemeralVolumeClaimTemplateSpec } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3082,7 +3083,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesEphemeralVolumeClaimTemplateSpec } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3102,7 +3103,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -3121,7 +3122,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3129,7 +3130,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -3140,7 +3141,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3157,7 +3158,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3170,7 +3171,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -3182,7 +3183,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -3192,7 +3193,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -3228,7 +3229,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3236,7 +3237,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -3248,7 +3249,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -3259,7 +3260,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3270,7 +3271,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3284,7 +3285,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -3295,7 +3296,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3312,7 +3313,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3326,7 +3327,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -3338,7 +3339,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3346,7 +3347,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -3362,7 +3363,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesProjectedSourcesDownwardApiItems } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3373,7 +3374,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesProjectedSourcesDownwardApiItems } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -3386,7 +3387,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesProjectedSourcesDownwardApiItems } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3400,7 +3401,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -3412,7 +3413,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3425,7 +3426,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesProjectedSourcesServiceAccountTo } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3446,7 +3447,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3473,7 +3474,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3481,7 +3482,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3514,7 +3515,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3522,7 +3523,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -3539,7 +3540,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesSecretItems { /// key is the key to project. pub key: String, @@ -3551,7 +3552,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3571,7 +3572,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3579,7 +3580,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokerConfigGroupsVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3596,7 +3597,7 @@ pub struct KafkaClusterBrokerConfigGroupsVolumesVsphereVolume { } /// Broker defines the broker basic configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokers { /// BrokerConfig defines the broker configuration #[serde(default, skip_serializing_if = "Option::is_none", rename = "brokerConfig")] @@ -3609,7 +3610,7 @@ pub struct KafkaClusterBrokers { } /// BrokerConfig defines the broker configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfig { /// Any definition received through this field will override the default behaviour of OneBrokerPerNode flag and the operator supposes that the user is aware of how scheduling is done by kubernetes Affinity could be set through brokerConfigGroups definitions and can be set for individual brokers as well where letter setting will override the group setting #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3688,7 +3689,7 @@ pub struct KafkaClusterBrokersBrokerConfig { } /// Any definition received through this field will override the default behaviour of OneBrokerPerNode flag and the operator supposes that the user is aware of how scheduling is done by kubernetes Affinity could be set through brokerConfigGroups definitions and can be set for individual brokers as well where letter setting will override the group setting -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -3702,7 +3703,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -3713,7 +3714,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: KafkaClusterBrokersBrokerConfigAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -3722,7 +3723,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityNodeAffinityPreferredDuringSch } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3733,7 +3734,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityNodeAffinityPreferredDuringSch } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -3745,7 +3746,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityNodeAffinityPreferredDuringSch } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -3757,7 +3758,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityNodeAffinityPreferredDuringSch } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -3765,7 +3766,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityNodeAffinityRequiredDuringSche } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3776,7 +3777,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityNodeAffinityRequiredDuringSche } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -3788,7 +3789,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityNodeAffinityRequiredDuringSche } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -3800,7 +3801,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityNodeAffinityRequiredDuringSche } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -3811,7 +3812,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -3821,7 +3822,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityPodAffinityPreferredDuringSche } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -3838,7 +3839,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityPodAffinityPreferredDuringSche } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3849,7 +3850,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityPodAffinityPreferredDuringSche } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3861,7 +3862,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityPodAffinityPreferredDuringSche } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3872,7 +3873,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityPodAffinityPreferredDuringSche } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3884,7 +3885,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityPodAffinityPreferredDuringSche } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -3901,7 +3902,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityPodAffinityRequiredDuringSched } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3912,7 +3913,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityPodAffinityRequiredDuringSched } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3924,7 +3925,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityPodAffinityRequiredDuringSched } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3935,7 +3936,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityPodAffinityRequiredDuringSched } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3947,7 +3948,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityPodAffinityRequiredDuringSched } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -3958,7 +3959,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -3968,7 +3969,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityPodAntiAffinityPreferredDuring } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -3985,7 +3986,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityPodAntiAffinityPreferredDuring } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3996,7 +3997,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityPodAntiAffinityPreferredDuring } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4008,7 +4009,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityPodAntiAffinityPreferredDuring } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4019,7 +4020,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityPodAntiAffinityPreferredDuring } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4031,7 +4032,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityPodAntiAffinityPreferredDuring } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -4048,7 +4049,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityPodAntiAffinityRequiredDuringS } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4059,7 +4060,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityPodAntiAffinityRequiredDuringS } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4071,7 +4072,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityPodAntiAffinityRequiredDuringS } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4082,7 +4083,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityPodAntiAffinityRequiredDuringS } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4094,7 +4095,7 @@ pub struct KafkaClusterBrokersBrokerConfigAffinityPodAntiAffinityRequiredDuringS } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainers { /// Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4164,7 +4165,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -4177,7 +4178,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -4194,7 +4195,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -4207,7 +4208,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersEnvValueFromConfigMapKeyRef } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4218,7 +4219,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -4231,7 +4232,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersEnvValueFromResourceFieldRef } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4244,7 +4245,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -4258,7 +4259,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4269,7 +4270,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4280,7 +4281,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersEnvFromSecretRef { } /// Actions that the management system should take in response to container lifecycle events. Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -4291,7 +4292,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4305,7 +4306,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4313,7 +4314,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4332,7 +4333,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersLifecyclePostStartHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name pub name: String, @@ -4341,7 +4342,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersLifecyclePostStartHttpGetHtt } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4351,7 +4352,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersLifecyclePostStartTcpSocket } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4365,7 +4366,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4373,7 +4374,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4392,7 +4393,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name pub name: String, @@ -4401,7 +4402,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersLifecyclePreStopHttpGetHttpH } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4411,7 +4412,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersLifecyclePreStopTcpSocket { } /// Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4446,7 +4447,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4454,7 +4455,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4465,7 +4466,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4484,7 +4485,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersLivenessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -4493,7 +4494,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersLivenessProbeHttpGetHttpHead } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4503,7 +4504,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -4523,7 +4524,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersPorts { } /// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4558,7 +4559,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4566,7 +4567,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4577,7 +4578,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4596,7 +4597,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersReadinessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -4605,7 +4606,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersReadinessProbeHttpGetHttpHea } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4615,7 +4616,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersReadinessProbeTcpSocket { } /// Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -4631,14 +4632,14 @@ pub struct KafkaClusterBrokersBrokerConfigContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -4676,7 +4677,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4687,7 +4688,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersSecurityContextCapabilities } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4704,7 +4705,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersSecurityContextSeLinuxOption } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -4716,7 +4717,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersSecurityContextSeccompProfil } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -4733,7 +4734,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersSecurityContextWindowsOption } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4768,7 +4769,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4776,7 +4777,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4787,7 +4788,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4806,7 +4807,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersStartupProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -4815,7 +4816,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersStartupProbeHttpGetHttpHeade } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4825,7 +4826,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -4835,7 +4836,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -4857,7 +4858,7 @@ pub struct KafkaClusterBrokersBrokerConfigContainersVolumeMounts { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigEnvs { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -4870,7 +4871,7 @@ pub struct KafkaClusterBrokersBrokerConfigEnvs { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigEnvsValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -4887,7 +4888,7 @@ pub struct KafkaClusterBrokersBrokerConfigEnvsValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigEnvsValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -4900,7 +4901,7 @@ pub struct KafkaClusterBrokersBrokerConfigEnvsValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigEnvsValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4911,7 +4912,7 @@ pub struct KafkaClusterBrokersBrokerConfigEnvsValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigEnvsValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -4924,7 +4925,7 @@ pub struct KafkaClusterBrokersBrokerConfigEnvsValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigEnvsValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4937,7 +4938,7 @@ pub struct KafkaClusterBrokersBrokerConfigEnvsValueFromSecretKeyRef { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigImagePullSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4945,7 +4946,7 @@ pub struct KafkaClusterBrokersBrokerConfigImagePullSecrets { } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainers { /// Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5015,7 +5016,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -5028,7 +5029,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -5045,7 +5046,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -5058,7 +5059,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersEnvValueFromConfigMapKey } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -5069,7 +5070,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -5082,7 +5083,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersEnvValueFromResourceFiel } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5095,7 +5096,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersEnvValueFromSecretKeyRef } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -5109,7 +5110,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5120,7 +5121,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5131,7 +5132,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersEnvFromSecretRef { } /// Actions that the management system should take in response to container lifecycle events. Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -5142,7 +5143,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5156,7 +5157,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5164,7 +5165,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5183,7 +5184,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersLifecyclePostStartHttpGe } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name pub name: String, @@ -5192,7 +5193,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersLifecyclePostStartHttpGe } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5202,7 +5203,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersLifecyclePostStartTcpSoc } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5216,7 +5217,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5224,7 +5225,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5243,7 +5244,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersLifecyclePreStopHttpGet } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name pub name: String, @@ -5252,7 +5253,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersLifecyclePreStopHttpGetH } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5262,7 +5263,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersLifecyclePreStopTcpSocke } /// Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5297,7 +5298,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5305,7 +5306,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -5316,7 +5317,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5335,7 +5336,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -5344,7 +5345,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersLivenessProbeHttpGetHttp } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5354,7 +5355,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -5374,7 +5375,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersPorts { } /// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5409,7 +5410,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5417,7 +5418,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -5428,7 +5429,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5447,7 +5448,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -5456,7 +5457,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersReadinessProbeHttpGetHtt } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5466,7 +5467,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersReadinessProbeTcpSocket } /// Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -5482,14 +5483,14 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -5527,7 +5528,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5538,7 +5539,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersSecurityContextCapabilit } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5555,7 +5556,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersSecurityContextSeLinuxOp } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -5567,7 +5568,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersSecurityContextSeccompPr } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -5584,7 +5585,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersSecurityContextWindowsOp } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5619,7 +5620,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5627,7 +5628,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -5638,7 +5639,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5657,7 +5658,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersStartupProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -5666,7 +5667,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersStartupProbeHttpGetHttpH } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5676,7 +5677,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -5686,7 +5687,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -5708,7 +5709,7 @@ pub struct KafkaClusterBrokersBrokerConfigInitContainersVolumeMounts { } /// Network throughput information in kB/s used by Cruise Control to determine broker network capacity. By default it is set to `125000` which means 1Gbit/s in network throughput. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigNetworkConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "incomingNetworkThroughPut")] pub incoming_network_through_put: Option, @@ -5731,7 +5732,7 @@ pub enum KafkaClusterBrokersBrokerConfigNodePortNodeAddressType { } /// PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigPodSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -5768,7 +5769,7 @@ pub struct KafkaClusterBrokersBrokerConfigPodSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigPodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5785,7 +5786,7 @@ pub struct KafkaClusterBrokersBrokerConfigPodSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigPodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -5797,7 +5798,7 @@ pub struct KafkaClusterBrokersBrokerConfigPodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigPodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -5806,7 +5807,7 @@ pub struct KafkaClusterBrokersBrokerConfigPodSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigPodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -5823,7 +5824,7 @@ pub struct KafkaClusterBrokersBrokerConfigPodSecurityContextWindowsOptions { } /// ResourceRequirements describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigResourceRequirements { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -5839,14 +5840,14 @@ pub struct KafkaClusterBrokersBrokerConfigResourceRequirements { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigResourceRequirementsClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext allows to set security context for the kafka container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -5884,7 +5885,7 @@ pub struct KafkaClusterBrokersBrokerConfigSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5895,7 +5896,7 @@ pub struct KafkaClusterBrokersBrokerConfigSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5912,7 +5913,7 @@ pub struct KafkaClusterBrokersBrokerConfigSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -5924,7 +5925,7 @@ pub struct KafkaClusterBrokersBrokerConfigSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -5941,7 +5942,7 @@ pub struct KafkaClusterBrokersBrokerConfigSecurityContextWindowsOptions { } /// StorageConfig defines the broker storage configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigStorageConfigs { /// If set https://kubernetes.io/docs/concepts/storage/volumes#emptydir is used as storage for Kafka broker log dirs. The use of empty dir as Kafka broker storage is useful in development environments where data loss is not a concern as data stored on emptydir backed storage is lost at pod restarts. Either `pvcSpec` or `emptyDir` has to be set. When both `pvcSpec` and `emptyDir` fields are set the `pvcSpec` is used by default. #[serde(default, skip_serializing_if = "Option::is_none", rename = "emptyDir")] @@ -5954,7 +5955,7 @@ pub struct KafkaClusterBrokersBrokerConfigStorageConfigs { } /// If set https://kubernetes.io/docs/concepts/storage/volumes#emptydir is used as storage for Kafka broker log dirs. The use of empty dir as Kafka broker storage is useful in development environments where data loss is not a concern as data stored on emptydir backed storage is lost at pod restarts. Either `pvcSpec` or `emptyDir` has to be set. When both `pvcSpec` and `emptyDir` fields are set the `pvcSpec` is used by default. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigStorageConfigsEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5965,7 +5966,7 @@ pub struct KafkaClusterBrokersBrokerConfigStorageConfigsEmptyDir { } /// If set https://kubernetes.io/docs/concepts/storage/volumes/#persistentvolumeclaim is used as storage for Kafka broker log dirs. Either `pvcSpec` or `emptyDir` has to be set. When both `pvcSpec` and `emptyDir` fields are set the `pvcSpec` is used by default. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigStorageConfigsPvcSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -5994,7 +5995,7 @@ pub struct KafkaClusterBrokersBrokerConfigStorageConfigsPvcSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigStorageConfigsPvcSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -6006,7 +6007,7 @@ pub struct KafkaClusterBrokersBrokerConfigStorageConfigsPvcSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigStorageConfigsPvcSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -6021,7 +6022,7 @@ pub struct KafkaClusterBrokersBrokerConfigStorageConfigsPvcSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigStorageConfigsPvcSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -6037,14 +6038,14 @@ pub struct KafkaClusterBrokersBrokerConfigStorageConfigsPvcSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigStorageConfigsPvcSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigStorageConfigsPvcSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6055,7 +6056,7 @@ pub struct KafkaClusterBrokersBrokerConfigStorageConfigsPvcSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigStorageConfigsPvcSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6067,7 +6068,7 @@ pub struct KafkaClusterBrokersBrokerConfigStorageConfigsPvcSpecSelectorMatchExpr } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6087,7 +6088,7 @@ pub struct KafkaClusterBrokersBrokerConfigTolerations { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -6109,7 +6110,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -6207,7 +6208,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6224,7 +6225,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -6247,7 +6248,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -6261,7 +6262,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -6283,7 +6284,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6291,7 +6292,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6308,7 +6309,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6316,7 +6317,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -6333,7 +6334,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -6345,7 +6346,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -6364,7 +6365,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6372,7 +6373,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -6383,7 +6384,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -6399,7 +6400,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -6410,7 +6411,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -6423,7 +6424,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesDownwardApiItemsResourceFieldRe } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6438,7 +6439,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -6452,7 +6453,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6462,12 +6463,12 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -6496,7 +6497,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesEphemeralVolumeClaimTemplateSpe } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -6508,7 +6509,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesEphemeralVolumeClaimTemplateSpe } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -6523,7 +6524,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesEphemeralVolumeClaimTemplateSpe } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -6539,14 +6540,14 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesEphemeralVolumeClaimTemplateSpe } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6557,7 +6558,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesEphemeralVolumeClaimTemplateSpe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6569,7 +6570,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesEphemeralVolumeClaimTemplateSpe } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6589,7 +6590,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -6608,7 +6609,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6616,7 +6617,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -6627,7 +6628,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6644,7 +6645,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6657,7 +6658,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -6669,7 +6670,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -6679,7 +6680,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -6715,7 +6716,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6723,7 +6724,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -6735,7 +6736,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -6746,7 +6747,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6757,7 +6758,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6771,7 +6772,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -6782,7 +6783,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -6799,7 +6800,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6813,7 +6814,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -6825,7 +6826,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesProjectedSourcesConfigMapItems } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6833,7 +6834,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -6849,7 +6850,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesProjectedSourcesDownwardApiItem } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -6860,7 +6861,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesProjectedSourcesDownwardApiItem } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -6873,7 +6874,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesProjectedSourcesDownwardApiItem } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6887,7 +6888,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -6899,7 +6900,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6912,7 +6913,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesProjectedSourcesServiceAccountT } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6933,7 +6934,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6960,7 +6961,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6968,7 +6969,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -7001,7 +7002,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7009,7 +7010,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -7026,7 +7027,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesSecretItems { /// key is the key to project. pub key: String, @@ -7038,7 +7039,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -7058,7 +7059,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7066,7 +7067,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterBrokersBrokerConfigVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -7083,7 +7084,7 @@ pub struct KafkaClusterBrokersBrokerConfigVolumesVsphereVolume { } /// ClientSSLCertSecret is a reference to the Kubernetes secret where custom client SSL certificate can be provided. It will be used by the koperator, cruise control, cruise control metrics reporter to communicate on SSL with that internal listener which is used for interbroker communication. The client certificate must share the same chain of trust as the server certificate used by the corresponding internal listener. The secret must contain the keystore, truststore jks files and the password for them in base64 encoded format under the keystore.jks, truststore.jks, password data fields. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterClientSslCertSecret { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7091,7 +7092,7 @@ pub struct KafkaClusterClientSslCertSecret { } /// CruiseControlConfig defines the config for Cruise Control -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfig { /// Affinity is a group of affinity scheduling rules. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7152,7 +7153,7 @@ pub struct KafkaClusterCruiseControlConfig { } /// Affinity is a group of affinity scheduling rules. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -7166,7 +7167,7 @@ pub struct KafkaClusterCruiseControlConfigAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -7177,7 +7178,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: KafkaClusterCruiseControlConfigAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -7186,7 +7187,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityNodeAffinityPreferredDuringSch } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7197,7 +7198,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityNodeAffinityPreferredDuringSch } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -7209,7 +7210,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityNodeAffinityPreferredDuringSch } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -7221,7 +7222,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityNodeAffinityPreferredDuringSch } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -7229,7 +7230,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityNodeAffinityRequiredDuringSche } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7240,7 +7241,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityNodeAffinityRequiredDuringSche } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -7252,7 +7253,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityNodeAffinityRequiredDuringSche } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -7264,7 +7265,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityNodeAffinityRequiredDuringSche } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -7275,7 +7276,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -7285,7 +7286,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityPodAffinityPreferredDuringSche } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -7302,7 +7303,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityPodAffinityPreferredDuringSche } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7313,7 +7314,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityPodAffinityPreferredDuringSche } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7325,7 +7326,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityPodAffinityPreferredDuringSche } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7336,7 +7337,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityPodAffinityPreferredDuringSche } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7348,7 +7349,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityPodAffinityPreferredDuringSche } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -7365,7 +7366,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityPodAffinityRequiredDuringSched } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7376,7 +7377,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityPodAffinityRequiredDuringSched } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7388,7 +7389,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityPodAffinityRequiredDuringSched } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7399,7 +7400,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityPodAffinityRequiredDuringSched } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7411,7 +7412,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityPodAffinityRequiredDuringSched } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -7422,7 +7423,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -7432,7 +7433,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityPodAntiAffinityPreferredDuring } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -7449,7 +7450,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityPodAntiAffinityPreferredDuring } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7460,7 +7461,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityPodAntiAffinityPreferredDuring } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7472,7 +7473,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityPodAntiAffinityPreferredDuring } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7483,7 +7484,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityPodAntiAffinityPreferredDuring } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7495,7 +7496,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityPodAntiAffinityPreferredDuring } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -7512,7 +7513,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityPodAntiAffinityRequiredDuringS } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7523,7 +7524,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityPodAntiAffinityRequiredDuringS } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7535,7 +7536,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityPodAntiAffinityRequiredDuringS } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7546,7 +7547,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityPodAntiAffinityRequiredDuringS } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7558,7 +7559,7 @@ pub struct KafkaClusterCruiseControlConfigAffinityPodAntiAffinityRequiredDuringS } /// CruiseControlOperationSpec specifies the configuration of the CruiseControlOperation handling -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigCruiseControlOperationSpec { /// When TTLSecondsAfterFinished is specified, the created and finished (completed successfully or completedWithError and errorPolicy: ignore) cruiseControlOperation custom resource will be deleted after the given time elapsed. When it is 0 then the resource is going to be deleted instantly after the operation is finished. When it is not specified the resource is not going to be removed. Value can be only zero and positive integers. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ttlSecondsAfterFinished")] @@ -7566,7 +7567,7 @@ pub struct KafkaClusterCruiseControlConfigCruiseControlOperationSpec { } /// CruiseControlTaskSpec specifies the configuration of the CC Tasks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigCruiseControlTaskSpec { /// RetryDurationMinutes describes the amount of time the Operator waits for the task #[serde(rename = "RetryDurationMinutes")] @@ -7574,7 +7575,7 @@ pub struct KafkaClusterCruiseControlConfigCruiseControlTaskSpec { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigImagePullSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7582,7 +7583,7 @@ pub struct KafkaClusterCruiseControlConfigImagePullSecrets { } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainers { /// Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7652,7 +7653,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -7665,7 +7666,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -7682,7 +7683,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -7695,7 +7696,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersEnvValueFromConfigMapKey } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -7706,7 +7707,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -7719,7 +7720,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersEnvValueFromResourceFiel } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -7732,7 +7733,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersEnvValueFromSecretKeyRef } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -7746,7 +7747,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7757,7 +7758,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7768,7 +7769,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersEnvFromSecretRef { } /// Actions that the management system should take in response to container lifecycle events. Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -7779,7 +7780,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7793,7 +7794,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7801,7 +7802,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7820,7 +7821,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersLifecyclePostStartHttpGe } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name pub name: String, @@ -7829,7 +7830,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersLifecyclePostStartHttpGe } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7839,7 +7840,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersLifecyclePostStartTcpSoc } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7853,7 +7854,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7861,7 +7862,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7880,7 +7881,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersLifecyclePreStopHttpGet } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name pub name: String, @@ -7889,7 +7890,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersLifecyclePreStopHttpGetH } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7899,7 +7900,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersLifecyclePreStopTcpSocke } /// Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7934,7 +7935,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7942,7 +7943,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -7953,7 +7954,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7972,7 +7973,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -7981,7 +7982,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersLivenessProbeHttpGetHttp } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7991,7 +7992,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -8011,7 +8012,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersPorts { } /// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8046,7 +8047,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8054,7 +8055,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -8065,7 +8066,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8084,7 +8085,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -8093,7 +8094,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersReadinessProbeHttpGetHtt } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8103,7 +8104,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersReadinessProbeTcpSocket } /// Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -8119,14 +8120,14 @@ pub struct KafkaClusterCruiseControlConfigInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -8164,7 +8165,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8175,7 +8176,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersSecurityContextCapabilit } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8192,7 +8193,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersSecurityContextSeLinuxOp } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -8204,7 +8205,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersSecurityContextSeccompPr } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -8221,7 +8222,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersSecurityContextWindowsOp } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8256,7 +8257,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8264,7 +8265,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -8275,7 +8276,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8294,7 +8295,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersStartupProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -8303,7 +8304,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersStartupProbeHttpGetHttpH } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8313,7 +8314,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -8323,7 +8324,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -8345,7 +8346,7 @@ pub struct KafkaClusterCruiseControlConfigInitContainersVolumeMounts { } /// PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigPodSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -8382,7 +8383,7 @@ pub struct KafkaClusterCruiseControlConfigPodSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigPodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8399,7 +8400,7 @@ pub struct KafkaClusterCruiseControlConfigPodSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigPodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -8411,7 +8412,7 @@ pub struct KafkaClusterCruiseControlConfigPodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigPodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -8420,7 +8421,7 @@ pub struct KafkaClusterCruiseControlConfigPodSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigPodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -8437,7 +8438,7 @@ pub struct KafkaClusterCruiseControlConfigPodSecurityContextWindowsOptions { } /// ResourceRequirements describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigResourceRequirements { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -8453,14 +8454,14 @@ pub struct KafkaClusterCruiseControlConfigResourceRequirements { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigResourceRequirementsClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext allows to set security context for the CruiseControl container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -8498,7 +8499,7 @@ pub struct KafkaClusterCruiseControlConfigSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8509,7 +8510,7 @@ pub struct KafkaClusterCruiseControlConfigSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8526,7 +8527,7 @@ pub struct KafkaClusterCruiseControlConfigSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -8538,7 +8539,7 @@ pub struct KafkaClusterCruiseControlConfigSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -8555,7 +8556,7 @@ pub struct KafkaClusterCruiseControlConfigSecurityContextWindowsOptions { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8575,7 +8576,7 @@ pub struct KafkaClusterCruiseControlConfigTolerations { } /// TopicConfig holds info for topic configuration regarding partitions and replicationFactor -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigTopicConfig { pub partitions: i32, #[serde(rename = "replicationFactor")] @@ -8583,7 +8584,7 @@ pub struct KafkaClusterCruiseControlConfigTopicConfig { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -8605,7 +8606,7 @@ pub struct KafkaClusterCruiseControlConfigVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -8703,7 +8704,7 @@ pub struct KafkaClusterCruiseControlConfigVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -8720,7 +8721,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -8743,7 +8744,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -8757,7 +8758,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -8779,7 +8780,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8787,7 +8788,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -8804,7 +8805,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8812,7 +8813,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -8829,7 +8830,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -8841,7 +8842,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -8860,7 +8861,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8868,7 +8869,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -8879,7 +8880,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -8895,7 +8896,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -8906,7 +8907,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -8919,7 +8920,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesDownwardApiItemsResourceFieldRe } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8934,7 +8935,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -8948,7 +8949,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8958,12 +8959,12 @@ pub struct KafkaClusterCruiseControlConfigVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -8992,7 +8993,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesEphemeralVolumeClaimTemplateSpe } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -9004,7 +9005,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesEphemeralVolumeClaimTemplateSpe } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -9019,7 +9020,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesEphemeralVolumeClaimTemplateSpe } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -9035,14 +9036,14 @@ pub struct KafkaClusterCruiseControlConfigVolumesEphemeralVolumeClaimTemplateSpe } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9053,7 +9054,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesEphemeralVolumeClaimTemplateSpe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -9065,7 +9066,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesEphemeralVolumeClaimTemplateSpe } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -9085,7 +9086,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -9104,7 +9105,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9112,7 +9113,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -9123,7 +9124,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -9140,7 +9141,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9153,7 +9154,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -9165,7 +9166,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -9175,7 +9176,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -9211,7 +9212,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9219,7 +9220,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -9231,7 +9232,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -9242,7 +9243,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -9253,7 +9254,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -9267,7 +9268,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -9278,7 +9279,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -9295,7 +9296,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9309,7 +9310,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -9321,7 +9322,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesProjectedSourcesConfigMapItems } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9329,7 +9330,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -9345,7 +9346,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesProjectedSourcesDownwardApiItem } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -9356,7 +9357,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesProjectedSourcesDownwardApiItem } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -9369,7 +9370,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesProjectedSourcesDownwardApiItem } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9383,7 +9384,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -9395,7 +9396,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9408,7 +9409,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesProjectedSourcesServiceAccountT } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9429,7 +9430,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -9456,7 +9457,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9464,7 +9465,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -9497,7 +9498,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9505,7 +9506,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -9522,7 +9523,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesSecretItems { /// key is the key to project. pub key: String, @@ -9534,7 +9535,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -9554,7 +9555,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9562,7 +9563,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCruiseControlConfigVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -9579,7 +9580,7 @@ pub struct KafkaClusterCruiseControlConfigVolumesVsphereVolume { } /// DisruptionBudget defines the configuration for PodDisruptionBudget where the workload is managed by the kafka-operator -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterDisruptionBudget { /// The budget to set for the PDB, can either be static number or a percentage #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9590,7 +9591,7 @@ pub struct KafkaClusterDisruptionBudget { } /// EnvoyConfig defines the config for Envoy -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfig { /// Envoy admin port #[serde(default, skip_serializing_if = "Option::is_none", rename = "adminPort")] @@ -9648,7 +9649,7 @@ pub struct KafkaClusterEnvoyConfig { } /// Affinity is a group of affinity scheduling rules. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -9662,7 +9663,7 @@ pub struct KafkaClusterEnvoyConfigAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -9673,7 +9674,7 @@ pub struct KafkaClusterEnvoyConfigAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: KafkaClusterEnvoyConfigAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -9682,7 +9683,7 @@ pub struct KafkaClusterEnvoyConfigAffinityNodeAffinityPreferredDuringSchedulingI } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9693,7 +9694,7 @@ pub struct KafkaClusterEnvoyConfigAffinityNodeAffinityPreferredDuringSchedulingI } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -9705,7 +9706,7 @@ pub struct KafkaClusterEnvoyConfigAffinityNodeAffinityPreferredDuringSchedulingI } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -9717,7 +9718,7 @@ pub struct KafkaClusterEnvoyConfigAffinityNodeAffinityPreferredDuringSchedulingI } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -9725,7 +9726,7 @@ pub struct KafkaClusterEnvoyConfigAffinityNodeAffinityRequiredDuringSchedulingIg } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9736,7 +9737,7 @@ pub struct KafkaClusterEnvoyConfigAffinityNodeAffinityRequiredDuringSchedulingIg } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -9748,7 +9749,7 @@ pub struct KafkaClusterEnvoyConfigAffinityNodeAffinityRequiredDuringSchedulingIg } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -9760,7 +9761,7 @@ pub struct KafkaClusterEnvoyConfigAffinityNodeAffinityRequiredDuringSchedulingIg } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -9771,7 +9772,7 @@ pub struct KafkaClusterEnvoyConfigAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -9781,7 +9782,7 @@ pub struct KafkaClusterEnvoyConfigAffinityPodAffinityPreferredDuringSchedulingIg } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -9798,7 +9799,7 @@ pub struct KafkaClusterEnvoyConfigAffinityPodAffinityPreferredDuringSchedulingIg } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9809,7 +9810,7 @@ pub struct KafkaClusterEnvoyConfigAffinityPodAffinityPreferredDuringSchedulingIg } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -9821,7 +9822,7 @@ pub struct KafkaClusterEnvoyConfigAffinityPodAffinityPreferredDuringSchedulingIg } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9832,7 +9833,7 @@ pub struct KafkaClusterEnvoyConfigAffinityPodAffinityPreferredDuringSchedulingIg } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -9844,7 +9845,7 @@ pub struct KafkaClusterEnvoyConfigAffinityPodAffinityPreferredDuringSchedulingIg } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -9861,7 +9862,7 @@ pub struct KafkaClusterEnvoyConfigAffinityPodAffinityRequiredDuringSchedulingIgn } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9872,7 +9873,7 @@ pub struct KafkaClusterEnvoyConfigAffinityPodAffinityRequiredDuringSchedulingIgn } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -9884,7 +9885,7 @@ pub struct KafkaClusterEnvoyConfigAffinityPodAffinityRequiredDuringSchedulingIgn } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9895,7 +9896,7 @@ pub struct KafkaClusterEnvoyConfigAffinityPodAffinityRequiredDuringSchedulingIgn } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -9907,7 +9908,7 @@ pub struct KafkaClusterEnvoyConfigAffinityPodAffinityRequiredDuringSchedulingIgn } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -9918,7 +9919,7 @@ pub struct KafkaClusterEnvoyConfigAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -9928,7 +9929,7 @@ pub struct KafkaClusterEnvoyConfigAffinityPodAntiAffinityPreferredDuringScheduli } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -9945,7 +9946,7 @@ pub struct KafkaClusterEnvoyConfigAffinityPodAntiAffinityPreferredDuringScheduli } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9956,7 +9957,7 @@ pub struct KafkaClusterEnvoyConfigAffinityPodAntiAffinityPreferredDuringScheduli } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -9968,7 +9969,7 @@ pub struct KafkaClusterEnvoyConfigAffinityPodAntiAffinityPreferredDuringScheduli } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9979,7 +9980,7 @@ pub struct KafkaClusterEnvoyConfigAffinityPodAntiAffinityPreferredDuringScheduli } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -9991,7 +9992,7 @@ pub struct KafkaClusterEnvoyConfigAffinityPodAntiAffinityPreferredDuringScheduli } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -10008,7 +10009,7 @@ pub struct KafkaClusterEnvoyConfigAffinityPodAntiAffinityRequiredDuringSchedulin } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10019,7 +10020,7 @@ pub struct KafkaClusterEnvoyConfigAffinityPodAntiAffinityRequiredDuringSchedulin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -10031,7 +10032,7 @@ pub struct KafkaClusterEnvoyConfigAffinityPodAntiAffinityRequiredDuringSchedulin } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10042,7 +10043,7 @@ pub struct KafkaClusterEnvoyConfigAffinityPodAntiAffinityRequiredDuringSchedulin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -10054,7 +10055,7 @@ pub struct KafkaClusterEnvoyConfigAffinityPodAntiAffinityRequiredDuringSchedulin } /// DisruptionBudget is the pod disruption budget attached to Envoy Deployment(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigDisruptionBudget { /// The budget to set for the PDB, can either be static number or a percentage #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10077,7 +10078,7 @@ pub enum KafkaClusterEnvoyConfigDisruptionBudgetStrategy { } /// Envoy command line arguments -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigEnvoyCommandLineArgs { /// Envoy --concurrency command line argument. See https://www.envoyproxy.io/docs/envoy/latest/operations/cli#cmdoption-concurrency #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10085,7 +10086,7 @@ pub struct KafkaClusterEnvoyConfigEnvoyCommandLineArgs { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigImagePullSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10093,7 +10094,7 @@ pub struct KafkaClusterEnvoyConfigImagePullSecrets { } /// PodSecurityContext holds pod-level security attributes and common container settings for the Envoy pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigPodSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -10130,7 +10131,7 @@ pub struct KafkaClusterEnvoyConfigPodSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigPodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10147,7 +10148,7 @@ pub struct KafkaClusterEnvoyConfigPodSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigPodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -10159,7 +10160,7 @@ pub struct KafkaClusterEnvoyConfigPodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigPodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -10168,7 +10169,7 @@ pub struct KafkaClusterEnvoyConfigPodSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigPodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -10185,7 +10186,7 @@ pub struct KafkaClusterEnvoyConfigPodSecurityContextWindowsOptions { } /// ResourceRequirements describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigResourceRequirements { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -10201,14 +10202,14 @@ pub struct KafkaClusterEnvoyConfigResourceRequirements { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigResourceRequirementsClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10228,7 +10229,7 @@ pub struct KafkaClusterEnvoyConfigTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigTopologySpreadConstraints { /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -10261,7 +10262,7 @@ pub struct KafkaClusterEnvoyConfigTopologySpreadConstraints { } /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10272,7 +10273,7 @@ pub struct KafkaClusterEnvoyConfigTopologySpreadConstraintsLabelSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvoyConfigTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -10284,7 +10285,7 @@ pub struct KafkaClusterEnvoyConfigTopologySpreadConstraintsLabelSelectorMatchExp } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvs { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -10297,7 +10298,7 @@ pub struct KafkaClusterEnvs { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvsValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -10314,7 +10315,7 @@ pub struct KafkaClusterEnvsValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvsValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -10327,7 +10328,7 @@ pub struct KafkaClusterEnvsValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvsValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -10338,7 +10339,7 @@ pub struct KafkaClusterEnvsValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvsValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -10351,7 +10352,7 @@ pub struct KafkaClusterEnvsValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterEnvsValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -10373,14 +10374,14 @@ pub enum KafkaClusterIngressController { } /// IstioControlPlane is a reference to the IstioControlPlane resource for envoy configuration. It must be specified if istio ingress is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterIstioControlPlane { pub name: String, pub namespace: String, } /// IstioIngressConfig defines the config for the Istio Ingress Controller -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterIstioIngressConfig { /// Annotations defines the annotations placed on the istio ingress controller deployment #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10407,7 +10408,7 @@ pub struct KafkaClusterIstioIngressConfig { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterIstioIngressConfigEnvs { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -10420,7 +10421,7 @@ pub struct KafkaClusterIstioIngressConfigEnvs { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterIstioIngressConfigEnvsValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -10437,7 +10438,7 @@ pub struct KafkaClusterIstioIngressConfigEnvsValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterIstioIngressConfigEnvsValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -10450,7 +10451,7 @@ pub struct KafkaClusterIstioIngressConfigEnvsValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterIstioIngressConfigEnvsValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -10461,7 +10462,7 @@ pub struct KafkaClusterIstioIngressConfigEnvsValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterIstioIngressConfigEnvsValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -10474,7 +10475,7 @@ pub struct KafkaClusterIstioIngressConfigEnvsValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterIstioIngressConfigEnvsValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -10486,7 +10487,7 @@ pub struct KafkaClusterIstioIngressConfigEnvsValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterIstioIngressConfigGatewayConfig { /// REQUIRED if mode is `MUTUAL`. The path to a file containing certificate authority certificates to use in verifying a presented client side certificate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCertificates")] @@ -10527,7 +10528,7 @@ pub struct KafkaClusterIstioIngressConfigGatewayConfig { } /// ResourceRequirements describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterIstioIngressConfigResourceRequirements { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -10543,14 +10544,14 @@ pub struct KafkaClusterIstioIngressConfigResourceRequirements { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterIstioIngressConfigResourceRequirementsClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterIstioIngressConfigTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10570,7 +10571,7 @@ pub struct KafkaClusterIstioIngressConfigTolerations { } /// ListenersConfig defines the Kafka listener types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "externalListeners")] pub external_listeners: Option>, @@ -10635,7 +10636,7 @@ pub enum KafkaClusterListenersConfigExternalListenersAccessMethod { } /// Config allows to specify ingress controller configuration per external listener if set, it overrides the default `KafkaClusterSpec.IstioIngressConfig` or `KafkaClusterSpec.EnvoyConfig` for this external listener. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfig { #[serde(rename = "defaultIngressConfig")] pub default_ingress_config: String, @@ -10643,7 +10644,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfig { pub ingress_config: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfig { /// EnvoyConfig defines the config for Envoy #[serde(default, skip_serializing_if = "Option::is_none", rename = "envoyConfig")] @@ -10666,7 +10667,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfig { } /// EnvoyConfig defines the config for Envoy -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfig { /// Envoy admin port #[serde(default, skip_serializing_if = "Option::is_none", rename = "adminPort")] @@ -10724,7 +10725,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// Affinity is a group of affinity scheduling rules. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -10738,7 +10739,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -10749,7 +10750,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -10758,7 +10759,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10769,7 +10770,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -10781,7 +10782,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -10793,7 +10794,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -10801,7 +10802,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10812,7 +10813,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -10824,7 +10825,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -10836,7 +10837,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -10847,7 +10848,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -10857,7 +10858,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -10874,7 +10875,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10885,7 +10886,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -10897,7 +10898,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10908,7 +10909,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -10920,7 +10921,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -10937,7 +10938,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10948,7 +10949,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -10960,7 +10961,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10971,7 +10972,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -10983,7 +10984,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -10994,7 +10995,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -11004,7 +11005,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -11021,7 +11022,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11032,7 +11033,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11044,7 +11045,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11055,7 +11056,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11067,7 +11068,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -11084,7 +11085,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11095,7 +11096,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11107,7 +11108,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11118,7 +11119,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11130,7 +11131,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// DisruptionBudget is the pod disruption budget attached to Envoy Deployment(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigDisruptionBudget { /// The budget to set for the PDB, can either be static number or a percentage #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11153,7 +11154,7 @@ pub enum KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyCon } /// Envoy command line arguments -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigEnvoyCommandLineArgs { /// Envoy --concurrency command line argument. See https://www.envoyproxy.io/docs/envoy/latest/operations/cli#cmdoption-concurrency #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11161,7 +11162,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigImagePullSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11169,7 +11170,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// PodSecurityContext holds pod-level security attributes and common container settings for the Envoy pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigPodSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -11206,7 +11207,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigPodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11223,7 +11224,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigPodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -11235,7 +11236,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigPodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -11244,7 +11245,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigPodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -11261,7 +11262,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// ResourceRequirements describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigResourceRequirements { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -11277,14 +11278,14 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigResourceRequirementsClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11304,7 +11305,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigTopologySpreadConstraints { /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -11337,7 +11338,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11348,7 +11349,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyConfigTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11360,7 +11361,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigEnvoyC } /// IstioIngressConfig defines the config for the Istio Ingress Controller -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigIstioIngressConfig { /// Annotations defines the annotations placed on the istio ingress controller deployment #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11387,7 +11388,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigIstioI } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigIstioIngressConfigEnvs { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -11400,7 +11401,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigIstioI } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigIstioIngressConfigEnvsValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -11417,7 +11418,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigIstioI } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigIstioIngressConfigEnvsValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -11430,7 +11431,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigIstioI } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigIstioIngressConfigEnvsValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -11441,7 +11442,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigIstioI } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigIstioIngressConfigEnvsValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -11454,7 +11455,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigIstioI } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigIstioIngressConfigEnvsValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -11466,7 +11467,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigIstioI pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigIstioIngressConfigGatewayConfig { /// REQUIRED if mode is `MUTUAL`. The path to a file containing certificate authority certificates to use in verifying a presented client side certificate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "caCertificates")] @@ -11507,7 +11508,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigIstioI } /// ResourceRequirements describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigIstioIngressConfigResourceRequirements { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -11523,14 +11524,14 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigIstioI } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigIstioIngressConfigResourceRequirementsClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigIstioIngressConfigTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11550,7 +11551,7 @@ pub struct KafkaClusterListenersConfigExternalListenersConfigIngressConfigIstioI } /// ServerSSLCertSecret is a reference to the Kubernetes secret that contains the server certificate for the listener to be used for SSL communication. The secret must contain the keystore, truststore jks files and the password for them in base64 encoded format under the keystore.jks, truststore.jks, password data fields. If this field is omitted koperator will auto-create a self-signed server certificate using the configuration provided in 'sslSecrets' field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigExternalListenersServerSslCertSecret { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11603,7 +11604,7 @@ pub struct KafkaClusterListenersConfigInternalListeners { } /// ServerSSLCertSecret is a reference to the Kubernetes secret that contains the server certificate for the listener to be used for SSL communication. The secret must contain the keystore, truststore jks files and the password for them in base64 encoded format under the keystore.jks, truststore.jks, password data fields. If this field is omitted koperator will auto-create a self-signed server certificate using the configuration provided in 'sslSecrets' field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigInternalListenersServerSslCertSecret { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11635,7 +11636,7 @@ pub enum KafkaClusterListenersConfigInternalListenersType { } /// SSLSecrets defines the Kafka SSL secrets -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigSslSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub create: Option, @@ -11652,7 +11653,7 @@ pub struct KafkaClusterListenersConfigSslSecrets { } /// ObjectReference is a reference to an object with a given name, kind and group. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterListenersConfigSslSecretsIssuerRef { /// Group of the resource being referred to. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11672,7 +11673,7 @@ pub enum KafkaClusterListenersConfigSslSecretsPkiBackend { } /// MonitoringConfig defines the config for monitoring Kafka and Cruise Control -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterMonitoringConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cCJMXExporterConfig")] pub c_cjmx_exporter_config: Option, @@ -11685,13 +11686,13 @@ pub struct KafkaClusterMonitoringConfig { } /// RackAwareness defines the required fields to enable kafka's rack aware feature -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterRackAwareness { pub labels: Vec, } /// RollingUpgradeConfig defines the desired config of the RollingUpgrade -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterRollingUpgradeConfig { /// ConcurrentBrokerRestartCountPerRack controls how many brokers can be restarted in parallel during a rolling upgrade. If it is set to a value greater than 1, the operator will restart up to that amount of brokers in parallel, if the brokers are within the same rack (as specified by "broker.rack" in broker read-only configs). Since using Kafka broker racks spreads out the replicas, we know that restarting multiple brokers in the same rack will not cause more than 1/Nth of the replicas of a topic-partition to be unavailable at the same time, where N is the number of racks used. This is a safe way to speed up the rolling upgrade. Note that for the rack distribution explained above, Cruise Control requires `com.linkedin.kafka.cruisecontrol.analyzer.goals.RackAwareDistributionGoal` to be configured. Default value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "concurrentBrokerRestartCountPerRack")] @@ -11702,7 +11703,7 @@ pub struct KafkaClusterRollingUpgradeConfig { } /// KafkaClusterStatus defines the observed state of KafkaCluster -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterStatus { #[serde(rename = "alertCount")] pub alert_count: i64, @@ -11721,7 +11722,7 @@ pub struct KafkaClusterStatus { pub state: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterStatusBrokersState { /// Compressed data from broker configuration to restore broker pod in specific cases #[serde(default, skip_serializing_if = "Option::is_none", rename = "configurationBackup")] @@ -11750,7 +11751,7 @@ pub struct KafkaClusterStatusBrokersState { } /// GracefulActionState holds info about cc action status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterStatusBrokersStateGracefulActionState { /// CruiseControlOperationReference refers to the created CruiseControlOperation to execute a CC task #[serde(default, skip_serializing_if = "Option::is_none", rename = "cruiseControlOperationReference")] @@ -11764,7 +11765,7 @@ pub struct KafkaClusterStatusBrokersStateGracefulActionState { } /// CruiseControlOperationReference refers to the created CruiseControlOperation to execute a CC task -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterStatusBrokersStateGracefulActionStateCruiseControlOperationReference { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11772,7 +11773,7 @@ pub struct KafkaClusterStatusBrokersStateGracefulActionStateCruiseControlOperati } /// VolumeStates holds the information about the CC disk rebalance states and CruiseControlOperation reference -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterStatusBrokersStateGracefulActionStateVolumeStates { /// CruiseControlOperationReference refers to the created CruiseControlOperation to execute a CC task #[serde(default, skip_serializing_if = "Option::is_none", rename = "cruiseControlOperationReference")] @@ -11783,7 +11784,7 @@ pub struct KafkaClusterStatusBrokersStateGracefulActionStateVolumeStates { } /// CruiseControlOperationReference refers to the created CruiseControlOperation to execute a CC task -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterStatusBrokersStateGracefulActionStateVolumeStatesCruiseControlOperationReference { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11791,7 +11792,7 @@ pub struct KafkaClusterStatusBrokersStateGracefulActionStateVolumeStatesCruiseCo } /// ListenerStatuses holds information about the statuses of the configured listeners. The internal and external listeners are stored in separate maps, and each listener can be looked up by name. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterStatusListenerStatuses { #[serde(default, skip_serializing_if = "Option::is_none", rename = "externalListeners")] pub external_listeners: Option>, @@ -11800,21 +11801,21 @@ pub struct KafkaClusterStatusListenerStatuses { } /// ListenerStatus holds information about the address of the listener -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterStatusListenerStatusesExternalListeners { pub address: String, pub name: String, } /// ListenerStatus holds information about the address of the listener -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterStatusListenerStatusesInternalListeners { pub address: String, pub name: String, } /// RollingUpgradeStatus defines status of rolling upgrade -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterStatusRollingUpgradeStatus { /// ErrorCount keeps track the number of errors reported by alerts labeled with 'rollingupgrade'. It's reset once these alerts stop firing. #[serde(rename = "errorCount")] diff --git a/kube-custom-resources-rs/src/kafka_services_k8s_aws/v1alpha1/clusters.rs b/kube-custom-resources-rs/src/kafka_services_k8s_aws/v1alpha1/clusters.rs index 1c9f574cd..47fd48ee7 100644 --- a/kube-custom-resources-rs/src/kafka_services_k8s_aws/v1alpha1/clusters.rs +++ b/kube-custom-resources-rs/src/kafka_services_k8s_aws/v1alpha1/clusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/kafka-controller/kafka.services.k8s.aws/v1alpha1/clusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/kafka-controller/kafka.services.k8s.aws/v1alpha1/clusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kafka_strimzi_io/v1alpha1/kafkatopics.rs b/kube-custom-resources-rs/src/kafka_strimzi_io/v1alpha1/kafkatopics.rs index 716109360..790b8dc20 100644 --- a/kube-custom-resources-rs/src/kafka_strimzi_io/v1alpha1/kafkatopics.rs +++ b/kube-custom-resources-rs/src/kafka_strimzi_io/v1alpha1/kafkatopics.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1alpha1/kafkatopics.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1alpha1/kafkatopics.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kafka_strimzi_io/v1alpha1/kafkausers.rs b/kube-custom-resources-rs/src/kafka_strimzi_io/v1alpha1/kafkausers.rs index 91a9d927e..d8e828609 100644 --- a/kube-custom-resources-rs/src/kafka_strimzi_io/v1alpha1/kafkausers.rs +++ b/kube-custom-resources-rs/src/kafka_strimzi_io/v1alpha1/kafkausers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1alpha1/kafkausers.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1alpha1/kafkausers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// The specification of the user. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kafka.strimzi.io", version = "v1alpha1", kind = "KafkaUser", plural = "kafkausers")] #[kube(namespaced)] #[kube(status = "KafkaUserStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct KafkaUserSpec { /// Authentication mechanism enabled for this Kafka user. The supported authentication mechanisms are `scram-sha-512`, `tls`, and `tls-external`. @@ -59,7 +60,7 @@ pub struct KafkaUserAuthentication { } /// Specify the password for the user. If not set, a new password is generated by the User Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserAuthenticationPassword { /// Secret from which the password should be read. #[serde(rename = "valueFrom")] @@ -67,7 +68,7 @@ pub struct KafkaUserAuthenticationPassword { } /// Secret from which the password should be read. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserAuthenticationPasswordValueFrom { /// Selects a key of a Secret in the resource's namespace. #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -75,7 +76,7 @@ pub struct KafkaUserAuthenticationPasswordValueFrom { } /// Selects a key of a Secret in the resource's namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserAuthenticationPasswordValueFromSecretKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -198,7 +199,7 @@ pub enum KafkaUserAuthorizationType { } /// Quotas on requests to control the broker resources used by clients. Network bandwidth and request rate quotas can be enforced.Kafka documentation for Kafka User quotas can be found at http://kafka.apache.org/documentation/#design_quotas. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserQuotas { /// A quota on the maximum bytes per-second that each client group can fetch from a broker before the clients in the group are throttled. Defined on a per-broker basis. #[serde(default, skip_serializing_if = "Option::is_none", rename = "consumerByteRate")] @@ -215,7 +216,7 @@ pub struct KafkaUserQuotas { } /// Template to specify how Kafka User `Secrets` are generated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserTemplate { /// Template for KafkaUser resources. The template allows users to specify how the `Secret` with password or TLS certificates is generated. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -223,7 +224,7 @@ pub struct KafkaUserTemplate { } /// Template for KafkaUser resources. The template allows users to specify how the `Secret` with password or TLS certificates is generated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserTemplateSecret { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -231,7 +232,7 @@ pub struct KafkaUserTemplateSecret { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserTemplateSecretMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -242,7 +243,7 @@ pub struct KafkaUserTemplateSecretMetadata { } /// The status of the Kafka User. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserStatus { /// List of status conditions. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta1/kafkatopics.rs b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta1/kafkatopics.rs index 2b434f38a..a0077e2d7 100644 --- a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta1/kafkatopics.rs +++ b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta1/kafkatopics.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta1/kafkatopics.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta1/kafkatopics.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta1/kafkausers.rs b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta1/kafkausers.rs index 2575dc834..bd3a520a4 100644 --- a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta1/kafkausers.rs +++ b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta1/kafkausers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta1/kafkausers.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta1/kafkausers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// The specification of the user. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kafka.strimzi.io", version = "v1beta1", kind = "KafkaUser", plural = "kafkausers")] #[kube(namespaced)] #[kube(status = "KafkaUserStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct KafkaUserSpec { /// Authentication mechanism enabled for this Kafka user. The supported authentication mechanisms are `scram-sha-512`, `tls`, and `tls-external`. @@ -59,7 +60,7 @@ pub struct KafkaUserAuthentication { } /// Specify the password for the user. If not set, a new password is generated by the User Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserAuthenticationPassword { /// Secret from which the password should be read. #[serde(rename = "valueFrom")] @@ -67,7 +68,7 @@ pub struct KafkaUserAuthenticationPassword { } /// Secret from which the password should be read. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserAuthenticationPasswordValueFrom { /// Selects a key of a Secret in the resource's namespace. #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -75,7 +76,7 @@ pub struct KafkaUserAuthenticationPasswordValueFrom { } /// Selects a key of a Secret in the resource's namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserAuthenticationPasswordValueFromSecretKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -198,7 +199,7 @@ pub enum KafkaUserAuthorizationType { } /// Quotas on requests to control the broker resources used by clients. Network bandwidth and request rate quotas can be enforced.Kafka documentation for Kafka User quotas can be found at http://kafka.apache.org/documentation/#design_quotas. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserQuotas { /// A quota on the maximum bytes per-second that each client group can fetch from a broker before the clients in the group are throttled. Defined on a per-broker basis. #[serde(default, skip_serializing_if = "Option::is_none", rename = "consumerByteRate")] @@ -215,7 +216,7 @@ pub struct KafkaUserQuotas { } /// Template to specify how Kafka User `Secrets` are generated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserTemplate { /// Template for KafkaUser resources. The template allows users to specify how the `Secret` with password or TLS certificates is generated. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -223,7 +224,7 @@ pub struct KafkaUserTemplate { } /// Template for KafkaUser resources. The template allows users to specify how the `Secret` with password or TLS certificates is generated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserTemplateSecret { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -231,7 +232,7 @@ pub struct KafkaUserTemplateSecret { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserTemplateSecretMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -242,7 +243,7 @@ pub struct KafkaUserTemplateSecretMetadata { } /// The status of the Kafka User. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserStatus { /// List of status conditions. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkabridges.rs b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkabridges.rs index 14686686f..2d71b989d 100644 --- a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkabridges.rs +++ b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkabridges.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkabridges.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkabridges.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// The specification of the Kafka Bridge. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kafka.strimzi.io", version = "v1beta2", kind = "KafkaBridge", plural = "kafkabridges")] #[kube(namespaced)] #[kube(status = "KafkaBridgeStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct KafkaBridgeSpec { /// Kafka AdminClient related configuration. @@ -80,7 +81,7 @@ pub struct KafkaBridgeSpec { } /// Kafka AdminClient related configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeAdminClient { /// The Kafka AdminClient configuration used for AdminClient instances created by the bridge. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -156,7 +157,7 @@ pub struct KafkaBridgeAuthentication { } /// Link to Kubernetes Secret containing the access token which was obtained from the authorization server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeAuthenticationAccessToken { /// The key under which the secret value is stored in the Kubernetes Secret. pub key: String, @@ -166,7 +167,7 @@ pub struct KafkaBridgeAuthenticationAccessToken { } /// Reference to the `Secret` which holds the certificate and private key pair. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeAuthenticationCertificateAndKey { /// The name of the file certificate in the Secret. pub certificate: String, @@ -178,7 +179,7 @@ pub struct KafkaBridgeAuthenticationCertificateAndKey { } /// Link to Kubernetes Secret containing the OAuth client secret which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeAuthenticationClientSecret { /// The key under which the secret value is stored in the Kubernetes Secret. pub key: String, @@ -188,7 +189,7 @@ pub struct KafkaBridgeAuthenticationClientSecret { } /// Reference to the `Secret` which holds the password. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeAuthenticationPasswordSecret { /// The name of the key in the Secret under which the password is stored. pub password: String, @@ -198,7 +199,7 @@ pub struct KafkaBridgeAuthenticationPasswordSecret { } /// Link to Kubernetes Secret containing the refresh token which can be used to obtain access token from the authorization server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeAuthenticationRefreshToken { /// The key under which the secret value is stored in the Kubernetes Secret. pub key: String, @@ -207,7 +208,7 @@ pub struct KafkaBridgeAuthenticationRefreshToken { pub secret_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeAuthenticationTlsTrustedCertificates { /// The name of the file certificate in the Secret. pub certificate: String, @@ -232,7 +233,7 @@ pub enum KafkaBridgeAuthenticationType { } /// Kafka consumer related configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeConsumer { /// The Kafka consumer configuration used for consumer instances created by the bridge. Properties with the following prefixes cannot be set: ssl., bootstrap.servers, group.id, sasl., security. (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -240,7 +241,7 @@ pub struct KafkaBridgeConsumer { } /// The HTTP related configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeHttp { /// CORS configuration for the HTTP Bridge. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -251,7 +252,7 @@ pub struct KafkaBridgeHttp { } /// CORS configuration for the HTTP Bridge. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeHttpCors { /// List of allowed HTTP methods. #[serde(rename = "allowedMethods")] @@ -262,7 +263,7 @@ pub struct KafkaBridgeHttpCors { } /// **Currently not supported** JVM Options for pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeJvmOptions { /// A map of -XX options to the JVM. #[serde(default, skip_serializing_if = "Option::is_none", rename = "-XX")] @@ -281,7 +282,7 @@ pub struct KafkaBridgeJvmOptions { pub java_system_properties: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeJvmOptionsJavaSystemProperties { /// The system property name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -292,7 +293,7 @@ pub struct KafkaBridgeJvmOptionsJavaSystemProperties { } /// Pod liveness checking. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeLivenessProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -335,7 +336,7 @@ pub enum KafkaBridgeLoggingType { } /// `ConfigMap` entry where the logging configuration is stored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeLoggingValueFrom { /// Reference to the key in the ConfigMap containing the configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -343,7 +344,7 @@ pub struct KafkaBridgeLoggingValueFrom { } /// Reference to the key in the ConfigMap containing the configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeLoggingValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -354,7 +355,7 @@ pub struct KafkaBridgeLoggingValueFromConfigMapKeyRef { } /// Kafka producer related configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeProducer { /// The Kafka producer configuration used for producer instances created by the bridge. Properties with the following prefixes cannot be set: ssl., bootstrap.servers, sasl., security. (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -362,7 +363,7 @@ pub struct KafkaBridgeProducer { } /// Configuration of the node label which will be used as the client.rack consumer configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeRack { /// A key that matches labels assigned to the Kubernetes cluster nodes. The value of the label is used to set a broker's `broker.rack` config, and the `client.rack` config for Kafka Connect or MirrorMaker 2. #[serde(rename = "topologyKey")] @@ -370,7 +371,7 @@ pub struct KafkaBridgeRack { } /// Pod readiness checking. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeReadinessProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -390,7 +391,7 @@ pub struct KafkaBridgeReadinessProbe { } /// CPU and memory resources to reserve. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -400,14 +401,14 @@ pub struct KafkaBridgeResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeResourcesClaims { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } /// Template for Kafka Bridge resources. The template allows users to specify how a `Deployment` and `Pod` is generated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplate { /// Template for Kafka Bridge API `Service`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiService")] @@ -436,7 +437,7 @@ pub struct KafkaBridgeTemplate { } /// Template for Kafka Bridge API `Service`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplateApiService { /// Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6`. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ipFamilies")] @@ -458,7 +459,7 @@ pub enum KafkaBridgeTemplateApiServiceIpFamilyPolicy { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplateApiServiceMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -469,7 +470,7 @@ pub struct KafkaBridgeTemplateApiServiceMetadata { } /// Template for the Kafka Bridge container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplateBridgeContainer { /// Environment variables which should be applied to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -479,7 +480,7 @@ pub struct KafkaBridgeTemplateBridgeContainer { pub security_context: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplateBridgeContainerEnv { /// The environment variable key. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -490,7 +491,7 @@ pub struct KafkaBridgeTemplateBridgeContainerEnv { } /// Security context for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplateBridgeContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -516,7 +517,7 @@ pub struct KafkaBridgeTemplateBridgeContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplateBridgeContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -524,7 +525,7 @@ pub struct KafkaBridgeTemplateBridgeContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplateBridgeContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -536,7 +537,7 @@ pub struct KafkaBridgeTemplateBridgeContainerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplateBridgeContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -544,7 +545,7 @@ pub struct KafkaBridgeTemplateBridgeContainerSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplateBridgeContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -557,7 +558,7 @@ pub struct KafkaBridgeTemplateBridgeContainerSecurityContextWindowsOptions { } /// Template for the Kafka Bridge ClusterRoleBinding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplateClusterRoleBinding { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -565,7 +566,7 @@ pub struct KafkaBridgeTemplateClusterRoleBinding { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplateClusterRoleBindingMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -576,7 +577,7 @@ pub struct KafkaBridgeTemplateClusterRoleBindingMetadata { } /// Template for Kafka Bridge `Deployment`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplateDeployment { /// Pod replacement strategy for deployment configuration changes. Valid values are `RollingUpdate` and `Recreate`. Defaults to `RollingUpdate`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "deploymentStrategy")] @@ -594,7 +595,7 @@ pub enum KafkaBridgeTemplateDeploymentDeploymentStrategy { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplateDeploymentMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -605,7 +606,7 @@ pub struct KafkaBridgeTemplateDeploymentMetadata { } /// Template for the Kafka Bridge init container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplateInitContainer { /// Environment variables which should be applied to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -615,7 +616,7 @@ pub struct KafkaBridgeTemplateInitContainer { pub security_context: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplateInitContainerEnv { /// The environment variable key. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -626,7 +627,7 @@ pub struct KafkaBridgeTemplateInitContainerEnv { } /// Security context for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplateInitContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -652,7 +653,7 @@ pub struct KafkaBridgeTemplateInitContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplateInitContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -660,7 +661,7 @@ pub struct KafkaBridgeTemplateInitContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplateInitContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -672,7 +673,7 @@ pub struct KafkaBridgeTemplateInitContainerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplateInitContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -680,7 +681,7 @@ pub struct KafkaBridgeTemplateInitContainerSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplateInitContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -693,7 +694,7 @@ pub struct KafkaBridgeTemplateInitContainerSecurityContextWindowsOptions { } /// Template for Kafka Bridge `Pods`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePod { /// The pod's affinity rules. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -734,7 +735,7 @@ pub struct KafkaBridgeTemplatePod { } /// The pod's affinity rules. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -744,7 +745,7 @@ pub struct KafkaBridgeTemplatePodAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -752,7 +753,7 @@ pub struct KafkaBridgeTemplatePodAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none")] pub preference: Option, @@ -760,7 +761,7 @@ pub struct KafkaBridgeTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIg pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -768,7 +769,7 @@ pub struct KafkaBridgeTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIg pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -778,7 +779,7 @@ pub struct KafkaBridgeTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIg pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -788,13 +789,13 @@ pub struct KafkaBridgeTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIg pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelectorTerms")] pub node_selector_terms: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -802,7 +803,7 @@ pub struct KafkaBridgeTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgn pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -812,7 +813,7 @@ pub struct KafkaBridgeTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgn pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -822,7 +823,7 @@ pub struct KafkaBridgeTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgn pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -830,7 +831,7 @@ pub struct KafkaBridgeTemplatePodAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -838,7 +839,7 @@ pub struct KafkaBridgeTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgn pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -854,7 +855,7 @@ pub struct KafkaBridgeTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgn pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -862,7 +863,7 @@ pub struct KafkaBridgeTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgn pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -872,7 +873,7 @@ pub struct KafkaBridgeTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgn pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -880,7 +881,7 @@ pub struct KafkaBridgeTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgn pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -890,7 +891,7 @@ pub struct KafkaBridgeTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgn pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -906,7 +907,7 @@ pub struct KafkaBridgeTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgno pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -914,7 +915,7 @@ pub struct KafkaBridgeTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgno pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -924,7 +925,7 @@ pub struct KafkaBridgeTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgno pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -932,7 +933,7 @@ pub struct KafkaBridgeTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgno pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -942,7 +943,7 @@ pub struct KafkaBridgeTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgno pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -950,7 +951,7 @@ pub struct KafkaBridgeTemplatePodAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -958,7 +959,7 @@ pub struct KafkaBridgeTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulin pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -974,7 +975,7 @@ pub struct KafkaBridgeTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulin pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -982,7 +983,7 @@ pub struct KafkaBridgeTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -992,7 +993,7 @@ pub struct KafkaBridgeTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1000,7 +1001,7 @@ pub struct KafkaBridgeTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1010,7 +1011,7 @@ pub struct KafkaBridgeTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1026,7 +1027,7 @@ pub struct KafkaBridgeTemplatePodAffinityPodAntiAffinityRequiredDuringScheduling pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1034,7 +1035,7 @@ pub struct KafkaBridgeTemplatePodAffinityPodAntiAffinityRequiredDuringScheduling pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1044,7 +1045,7 @@ pub struct KafkaBridgeTemplatePodAffinityPodAntiAffinityRequiredDuringScheduling pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1052,7 +1053,7 @@ pub struct KafkaBridgeTemplatePodAffinityPodAntiAffinityRequiredDuringScheduling pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1062,7 +1063,7 @@ pub struct KafkaBridgeTemplatePodAffinityPodAntiAffinityRequiredDuringScheduling pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -1070,14 +1071,14 @@ pub struct KafkaBridgeTemplatePodHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1088,7 +1089,7 @@ pub struct KafkaBridgeTemplatePodMetadata { } /// Configures pod-level security attributes and common container settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -1112,7 +1113,7 @@ pub struct KafkaBridgeTemplatePodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1124,7 +1125,7 @@ pub struct KafkaBridgeTemplatePodSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1132,7 +1133,7 @@ pub struct KafkaBridgeTemplatePodSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodSecurityContextSysctls { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1140,7 +1141,7 @@ pub struct KafkaBridgeTemplatePodSecurityContextSysctls { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1152,7 +1153,7 @@ pub struct KafkaBridgeTemplatePodSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -1166,7 +1167,7 @@ pub struct KafkaBridgeTemplatePodTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1186,7 +1187,7 @@ pub struct KafkaBridgeTemplatePodTopologySpreadConstraints { pub when_unsatisfiable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1194,7 +1195,7 @@ pub struct KafkaBridgeTemplatePodTopologySpreadConstraintsLabelSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodTopologySpreadConstraintsLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1205,7 +1206,7 @@ pub struct KafkaBridgeTemplatePodTopologySpreadConstraintsLabelSelectorMatchExpr } /// Template for Kafka Bridge `PodDisruptionBudget`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodDisruptionBudget { /// Maximum number of unavailable pods to allow automatic Pod eviction. A Pod eviction is allowed when the `maxUnavailable` number of pods or fewer are unavailable after the eviction. Setting this value to 0 prevents all voluntary evictions, so the pods must be evicted manually. Defaults to 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] @@ -1216,7 +1217,7 @@ pub struct KafkaBridgeTemplatePodDisruptionBudget { } /// Metadata to apply to the `PodDisruptionBudgetTemplate` resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplatePodDisruptionBudgetMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1227,7 +1228,7 @@ pub struct KafkaBridgeTemplatePodDisruptionBudgetMetadata { } /// Template for the Kafka Bridge service account. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplateServiceAccount { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1235,7 +1236,7 @@ pub struct KafkaBridgeTemplateServiceAccount { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTemplateServiceAccountMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1246,14 +1247,14 @@ pub struct KafkaBridgeTemplateServiceAccountMetadata { } /// TLS configuration for connecting Kafka Bridge to the cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTls { /// Trusted certificates for TLS connection. #[serde(default, skip_serializing_if = "Option::is_none", rename = "trustedCertificates")] pub trusted_certificates: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeTlsTrustedCertificates { /// The name of the file certificate in the Secret. pub certificate: String, @@ -1280,7 +1281,7 @@ pub enum KafkaBridgeTracingType { } /// The status of the Kafka Bridge. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaBridgeStatus { /// List of status conditions. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkaconnectors.rs b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkaconnectors.rs index 128089116..b2b5f7201 100644 --- a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkaconnectors.rs +++ b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkaconnectors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkaconnectors.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkaconnectors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkaconnects.rs b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkaconnects.rs index 40bb7dd58..9be105ce0 100644 --- a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkaconnects.rs +++ b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkaconnects.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkaconnects.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkaconnects.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// The specification of the Kafka Connect cluster. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kafka.strimzi.io", version = "v1beta2", kind = "KafkaConnect", plural = "kafkaconnects")] #[kube(namespaced)] #[kube(status = "KafkaConnectStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct KafkaConnectSpec { /// Authentication configuration for Kafka Connect. @@ -151,7 +152,7 @@ pub struct KafkaConnectAuthentication { } /// Link to Kubernetes Secret containing the access token which was obtained from the authorization server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectAuthenticationAccessToken { /// The key under which the secret value is stored in the Kubernetes Secret. pub key: String, @@ -161,7 +162,7 @@ pub struct KafkaConnectAuthenticationAccessToken { } /// Reference to the `Secret` which holds the certificate and private key pair. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectAuthenticationCertificateAndKey { /// The name of the file certificate in the Secret. pub certificate: String, @@ -173,7 +174,7 @@ pub struct KafkaConnectAuthenticationCertificateAndKey { } /// Link to Kubernetes Secret containing the OAuth client secret which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectAuthenticationClientSecret { /// The key under which the secret value is stored in the Kubernetes Secret. pub key: String, @@ -183,7 +184,7 @@ pub struct KafkaConnectAuthenticationClientSecret { } /// Reference to the `Secret` which holds the password. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectAuthenticationPasswordSecret { /// The name of the key in the Secret under which the password is stored. pub password: String, @@ -193,7 +194,7 @@ pub struct KafkaConnectAuthenticationPasswordSecret { } /// Link to Kubernetes Secret containing the refresh token which can be used to obtain access token from the authorization server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectAuthenticationRefreshToken { /// The key under which the secret value is stored in the Kubernetes Secret. pub key: String, @@ -202,7 +203,7 @@ pub struct KafkaConnectAuthenticationRefreshToken { pub secret_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectAuthenticationTlsTrustedCertificates { /// The name of the file certificate in the Secret. pub certificate: String, @@ -263,7 +264,7 @@ pub enum KafkaConnectBuildOutputType { Imagestream, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectBuildPlugins { /// List of artifacts which belong to this connector plugin. Required. pub artifacts: Vec, @@ -317,7 +318,7 @@ pub enum KafkaConnectBuildPluginsArtifactsType { } /// CPU and memory resources to reserve for the build. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectBuildResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -327,14 +328,14 @@ pub struct KafkaConnectBuildResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectBuildResourcesClaims { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } /// Pass data from Secrets or ConfigMaps to the Kafka Connect pods and use them to configure connectors. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectExternalConfiguration { /// Makes data from a Secret or ConfigMap available in the Kafka Connect pods as environment variables. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -344,7 +345,7 @@ pub struct KafkaConnectExternalConfiguration { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectExternalConfigurationEnv { /// Name of the environment variable which will be passed to the Kafka Connect pods. The name of the environment variable cannot start with `KAFKA_` or `STRIMZI_`. pub name: String, @@ -354,7 +355,7 @@ pub struct KafkaConnectExternalConfigurationEnv { } /// Value of the environment variable which will be passed to the Kafka Connect pods. It can be passed either as a reference to Secret or ConfigMap field. The field has to specify exactly one Secret or ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectExternalConfigurationEnvValueFrom { /// Reference to a key in a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -365,7 +366,7 @@ pub struct KafkaConnectExternalConfigurationEnvValueFrom { } /// Reference to a key in a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectExternalConfigurationEnvValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -376,7 +377,7 @@ pub struct KafkaConnectExternalConfigurationEnvValueFromConfigMapKeyRef { } /// Reference to a key in a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectExternalConfigurationEnvValueFromSecretKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -386,7 +387,7 @@ pub struct KafkaConnectExternalConfigurationEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectExternalConfigurationVolumes { /// Reference to a key in a ConfigMap. Exactly one Secret or ConfigMap has to be specified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -399,7 +400,7 @@ pub struct KafkaConnectExternalConfigurationVolumes { } /// Reference to a key in a ConfigMap. Exactly one Secret or ConfigMap has to be specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectExternalConfigurationVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -411,7 +412,7 @@ pub struct KafkaConnectExternalConfigurationVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectExternalConfigurationVolumesConfigMapItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -422,7 +423,7 @@ pub struct KafkaConnectExternalConfigurationVolumesConfigMapItems { } /// Reference to a key in a Secret. Exactly one Secret or ConfigMap has to be specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectExternalConfigurationVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -434,7 +435,7 @@ pub struct KafkaConnectExternalConfigurationVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectExternalConfigurationVolumesSecretItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -445,7 +446,7 @@ pub struct KafkaConnectExternalConfigurationVolumesSecretItems { } /// JMX Options. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectJmxOptions { /// Authentication configuration for connecting to the JMX port. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -468,7 +469,7 @@ pub enum KafkaConnectJmxOptionsAuthenticationType { } /// JVM Options for pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectJvmOptions { /// A map of -XX options to the JVM. #[serde(default, skip_serializing_if = "Option::is_none", rename = "-XX")] @@ -487,7 +488,7 @@ pub struct KafkaConnectJvmOptions { pub java_system_properties: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectJvmOptionsJavaSystemProperties { /// The system property name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -498,7 +499,7 @@ pub struct KafkaConnectJvmOptionsJavaSystemProperties { } /// Pod liveness checking. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectLivenessProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -541,7 +542,7 @@ pub enum KafkaConnectLoggingType { } /// `ConfigMap` entry where the logging configuration is stored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectLoggingValueFrom { /// Reference to the key in the ConfigMap containing the configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -549,7 +550,7 @@ pub struct KafkaConnectLoggingValueFrom { } /// Reference to the key in the ConfigMap containing the configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectLoggingValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -578,7 +579,7 @@ pub enum KafkaConnectMetricsConfigType { } /// ConfigMap entry where the Prometheus JMX Exporter configuration is stored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectMetricsConfigValueFrom { /// Reference to the key in the ConfigMap containing the configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -586,7 +587,7 @@ pub struct KafkaConnectMetricsConfigValueFrom { } /// Reference to the key in the ConfigMap containing the configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectMetricsConfigValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -597,7 +598,7 @@ pub struct KafkaConnectMetricsConfigValueFromConfigMapKeyRef { } /// Configuration of the node label which will be used as the `client.rack` consumer configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectRack { /// A key that matches labels assigned to the Kubernetes cluster nodes. The value of the label is used to set a broker's `broker.rack` config, and the `client.rack` config for Kafka Connect or MirrorMaker 2. #[serde(rename = "topologyKey")] @@ -605,7 +606,7 @@ pub struct KafkaConnectRack { } /// Pod readiness checking. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectReadinessProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -625,7 +626,7 @@ pub struct KafkaConnectReadinessProbe { } /// The maximum limits for CPU and memory resources and the requested initial resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -635,14 +636,14 @@ pub struct KafkaConnectResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectResourcesClaims { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } /// Template for Kafka Connect and Kafka Mirror Maker 2 resources. The template allows users to specify how the `Pods`, `Service`, and other services are generated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplate { /// Template for Kafka Connect API `Service`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiService")] @@ -692,7 +693,7 @@ pub struct KafkaConnectTemplate { } /// Template for Kafka Connect API `Service`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateApiService { /// Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6`. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ipFamilies")] @@ -714,7 +715,7 @@ pub enum KafkaConnectTemplateApiServiceIpFamilyPolicy { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateApiServiceMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -725,7 +726,7 @@ pub struct KafkaConnectTemplateApiServiceMetadata { } /// Template for the Kafka Connect BuildConfig used to build new container images. The BuildConfig is used only on OpenShift. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildConfig { /// Metadata to apply to the `PodDisruptionBudgetTemplate` resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -736,7 +737,7 @@ pub struct KafkaConnectTemplateBuildConfig { } /// Metadata to apply to the `PodDisruptionBudgetTemplate` resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildConfigMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -747,7 +748,7 @@ pub struct KafkaConnectTemplateBuildConfigMetadata { } /// Template for the Kafka Connect Build container. The build container is used only on Kubernetes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildContainer { /// Environment variables which should be applied to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -757,7 +758,7 @@ pub struct KafkaConnectTemplateBuildContainer { pub security_context: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildContainerEnv { /// The environment variable key. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -768,7 +769,7 @@ pub struct KafkaConnectTemplateBuildContainerEnv { } /// Security context for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -794,7 +795,7 @@ pub struct KafkaConnectTemplateBuildContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -802,7 +803,7 @@ pub struct KafkaConnectTemplateBuildContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -814,7 +815,7 @@ pub struct KafkaConnectTemplateBuildContainerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -822,7 +823,7 @@ pub struct KafkaConnectTemplateBuildContainerSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -835,7 +836,7 @@ pub struct KafkaConnectTemplateBuildContainerSecurityContextWindowsOptions { } /// Template for Kafka Connect Build `Pods`. The build pod is used only on Kubernetes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPod { /// The pod's affinity rules. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -876,7 +877,7 @@ pub struct KafkaConnectTemplateBuildPod { } /// The pod's affinity rules. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -886,7 +887,7 @@ pub struct KafkaConnectTemplateBuildPodAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -894,7 +895,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none")] pub preference: Option, @@ -902,7 +903,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityNodeAffinityPreferredDuringSchedu pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -910,7 +911,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityNodeAffinityPreferredDuringSchedu pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -920,7 +921,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityNodeAffinityPreferredDuringSchedu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -930,13 +931,13 @@ pub struct KafkaConnectTemplateBuildPodAffinityNodeAffinityPreferredDuringSchedu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelectorTerms")] pub node_selector_terms: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -944,7 +945,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityNodeAffinityRequiredDuringSchedul pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -954,7 +955,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityNodeAffinityRequiredDuringSchedul pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -964,7 +965,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityNodeAffinityRequiredDuringSchedul pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -972,7 +973,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -980,7 +981,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityPodAffinityPreferredDuringSchedul pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -996,7 +997,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityPodAffinityPreferredDuringSchedul pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1004,7 +1005,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityPodAffinityPreferredDuringSchedul pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1014,7 +1015,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityPodAffinityPreferredDuringSchedul pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1022,7 +1023,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityPodAffinityPreferredDuringSchedul pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1032,7 +1033,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityPodAffinityPreferredDuringSchedul pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1048,7 +1049,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityPodAffinityRequiredDuringScheduli pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1056,7 +1057,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityPodAffinityRequiredDuringScheduli pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1066,7 +1067,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityPodAffinityRequiredDuringScheduli pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1074,7 +1075,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityPodAffinityRequiredDuringScheduli pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1084,7 +1085,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityPodAffinityRequiredDuringScheduli pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -1092,7 +1093,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -1100,7 +1101,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityPodAntiAffinityPreferredDuringSch pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1116,7 +1117,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityPodAntiAffinityPreferredDuringSch pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1124,7 +1125,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityPodAntiAffinityPreferredDuringSch pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1134,7 +1135,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityPodAntiAffinityPreferredDuringSch pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1142,7 +1143,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityPodAntiAffinityPreferredDuringSch pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1152,7 +1153,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityPodAntiAffinityPreferredDuringSch pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1168,7 +1169,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityPodAntiAffinityRequiredDuringSche pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1176,7 +1177,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityPodAntiAffinityRequiredDuringSche pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1186,7 +1187,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityPodAntiAffinityRequiredDuringSche pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1194,7 +1195,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityPodAntiAffinityRequiredDuringSche pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1204,7 +1205,7 @@ pub struct KafkaConnectTemplateBuildPodAffinityPodAntiAffinityRequiredDuringSche pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -1212,14 +1213,14 @@ pub struct KafkaConnectTemplateBuildPodHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1230,7 +1231,7 @@ pub struct KafkaConnectTemplateBuildPodMetadata { } /// Configures pod-level security attributes and common container settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -1254,7 +1255,7 @@ pub struct KafkaConnectTemplateBuildPodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1266,7 +1267,7 @@ pub struct KafkaConnectTemplateBuildPodSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1274,7 +1275,7 @@ pub struct KafkaConnectTemplateBuildPodSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodSecurityContextSysctls { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1282,7 +1283,7 @@ pub struct KafkaConnectTemplateBuildPodSecurityContextSysctls { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1294,7 +1295,7 @@ pub struct KafkaConnectTemplateBuildPodSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -1308,7 +1309,7 @@ pub struct KafkaConnectTemplateBuildPodTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1328,7 +1329,7 @@ pub struct KafkaConnectTemplateBuildPodTopologySpreadConstraints { pub when_unsatisfiable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1336,7 +1337,7 @@ pub struct KafkaConnectTemplateBuildPodTopologySpreadConstraintsLabelSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildPodTopologySpreadConstraintsLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1347,7 +1348,7 @@ pub struct KafkaConnectTemplateBuildPodTopologySpreadConstraintsLabelSelectorMat } /// Template for the Kafka Connect Build service account. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildServiceAccount { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1355,7 +1356,7 @@ pub struct KafkaConnectTemplateBuildServiceAccount { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateBuildServiceAccountMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1366,7 +1367,7 @@ pub struct KafkaConnectTemplateBuildServiceAccountMetadata { } /// Template for the Kafka Connect ClusterRoleBinding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateClusterRoleBinding { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1374,7 +1375,7 @@ pub struct KafkaConnectTemplateClusterRoleBinding { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateClusterRoleBindingMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1385,7 +1386,7 @@ pub struct KafkaConnectTemplateClusterRoleBindingMetadata { } /// Template for the Kafka Connect container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateConnectContainer { /// Environment variables which should be applied to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1395,7 +1396,7 @@ pub struct KafkaConnectTemplateConnectContainer { pub security_context: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateConnectContainerEnv { /// The environment variable key. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1406,7 +1407,7 @@ pub struct KafkaConnectTemplateConnectContainerEnv { } /// Security context for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateConnectContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1432,7 +1433,7 @@ pub struct KafkaConnectTemplateConnectContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateConnectContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1440,7 +1441,7 @@ pub struct KafkaConnectTemplateConnectContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateConnectContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1452,7 +1453,7 @@ pub struct KafkaConnectTemplateConnectContainerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateConnectContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1460,7 +1461,7 @@ pub struct KafkaConnectTemplateConnectContainerSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateConnectContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1473,7 +1474,7 @@ pub struct KafkaConnectTemplateConnectContainerSecurityContextWindowsOptions { } /// Template for Kafka Connect `Deployment`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateDeployment { /// Pod replacement strategy for deployment configuration changes. Valid values are `RollingUpdate` and `Recreate`. Defaults to `RollingUpdate`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "deploymentStrategy")] @@ -1491,7 +1492,7 @@ pub enum KafkaConnectTemplateDeploymentDeploymentStrategy { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateDeploymentMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1502,7 +1503,7 @@ pub struct KafkaConnectTemplateDeploymentMetadata { } /// Template for Kafka Connect headless `Service`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateHeadlessService { /// Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6`. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ipFamilies")] @@ -1524,7 +1525,7 @@ pub enum KafkaConnectTemplateHeadlessServiceIpFamilyPolicy { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateHeadlessServiceMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1535,7 +1536,7 @@ pub struct KafkaConnectTemplateHeadlessServiceMetadata { } /// Template for the Kafka init container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateInitContainer { /// Environment variables which should be applied to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1545,7 +1546,7 @@ pub struct KafkaConnectTemplateInitContainer { pub security_context: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateInitContainerEnv { /// The environment variable key. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1556,7 +1557,7 @@ pub struct KafkaConnectTemplateInitContainerEnv { } /// Security context for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateInitContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1582,7 +1583,7 @@ pub struct KafkaConnectTemplateInitContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateInitContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1590,7 +1591,7 @@ pub struct KafkaConnectTemplateInitContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateInitContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1602,7 +1603,7 @@ pub struct KafkaConnectTemplateInitContainerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateInitContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1610,7 +1611,7 @@ pub struct KafkaConnectTemplateInitContainerSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateInitContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1623,7 +1624,7 @@ pub struct KafkaConnectTemplateInitContainerSecurityContextWindowsOptions { } /// Template for Secret of the Kafka Connect Cluster JMX authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateJmxSecret { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1631,7 +1632,7 @@ pub struct KafkaConnectTemplateJmxSecret { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateJmxSecretMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1642,7 +1643,7 @@ pub struct KafkaConnectTemplateJmxSecretMetadata { } /// Template for Kafka Connect `Pods`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePod { /// The pod's affinity rules. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1683,7 +1684,7 @@ pub struct KafkaConnectTemplatePod { } /// The pod's affinity rules. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -1693,7 +1694,7 @@ pub struct KafkaConnectTemplatePodAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -1701,7 +1702,7 @@ pub struct KafkaConnectTemplatePodAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none")] pub preference: Option, @@ -1709,7 +1710,7 @@ pub struct KafkaConnectTemplatePodAffinityNodeAffinityPreferredDuringSchedulingI pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1717,7 +1718,7 @@ pub struct KafkaConnectTemplatePodAffinityNodeAffinityPreferredDuringSchedulingI pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1727,7 +1728,7 @@ pub struct KafkaConnectTemplatePodAffinityNodeAffinityPreferredDuringSchedulingI pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1737,13 +1738,13 @@ pub struct KafkaConnectTemplatePodAffinityNodeAffinityPreferredDuringSchedulingI pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelectorTerms")] pub node_selector_terms: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1751,7 +1752,7 @@ pub struct KafkaConnectTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIg pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1761,7 +1762,7 @@ pub struct KafkaConnectTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIg pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1771,7 +1772,7 @@ pub struct KafkaConnectTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIg pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -1779,7 +1780,7 @@ pub struct KafkaConnectTemplatePodAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -1787,7 +1788,7 @@ pub struct KafkaConnectTemplatePodAffinityPodAffinityPreferredDuringSchedulingIg pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1803,7 +1804,7 @@ pub struct KafkaConnectTemplatePodAffinityPodAffinityPreferredDuringSchedulingIg pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1811,7 +1812,7 @@ pub struct KafkaConnectTemplatePodAffinityPodAffinityPreferredDuringSchedulingIg pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1821,7 +1822,7 @@ pub struct KafkaConnectTemplatePodAffinityPodAffinityPreferredDuringSchedulingIg pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1829,7 +1830,7 @@ pub struct KafkaConnectTemplatePodAffinityPodAffinityPreferredDuringSchedulingIg pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1839,7 +1840,7 @@ pub struct KafkaConnectTemplatePodAffinityPodAffinityPreferredDuringSchedulingIg pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1855,7 +1856,7 @@ pub struct KafkaConnectTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgn pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1863,7 +1864,7 @@ pub struct KafkaConnectTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgn pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1873,7 +1874,7 @@ pub struct KafkaConnectTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgn pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1881,7 +1882,7 @@ pub struct KafkaConnectTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgn pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1891,7 +1892,7 @@ pub struct KafkaConnectTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgn pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -1899,7 +1900,7 @@ pub struct KafkaConnectTemplatePodAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -1907,7 +1908,7 @@ pub struct KafkaConnectTemplatePodAffinityPodAntiAffinityPreferredDuringScheduli pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1923,7 +1924,7 @@ pub struct KafkaConnectTemplatePodAffinityPodAntiAffinityPreferredDuringScheduli pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1931,7 +1932,7 @@ pub struct KafkaConnectTemplatePodAffinityPodAntiAffinityPreferredDuringScheduli pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1941,7 +1942,7 @@ pub struct KafkaConnectTemplatePodAffinityPodAntiAffinityPreferredDuringScheduli pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1949,7 +1950,7 @@ pub struct KafkaConnectTemplatePodAffinityPodAntiAffinityPreferredDuringScheduli pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1959,7 +1960,7 @@ pub struct KafkaConnectTemplatePodAffinityPodAntiAffinityPreferredDuringScheduli pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1975,7 +1976,7 @@ pub struct KafkaConnectTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulin pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1983,7 +1984,7 @@ pub struct KafkaConnectTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1993,7 +1994,7 @@ pub struct KafkaConnectTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2001,7 +2002,7 @@ pub struct KafkaConnectTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -2011,7 +2012,7 @@ pub struct KafkaConnectTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -2019,14 +2020,14 @@ pub struct KafkaConnectTemplatePodHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2037,7 +2038,7 @@ pub struct KafkaConnectTemplatePodMetadata { } /// Configures pod-level security attributes and common container settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -2061,7 +2062,7 @@ pub struct KafkaConnectTemplatePodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2073,7 +2074,7 @@ pub struct KafkaConnectTemplatePodSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2081,7 +2082,7 @@ pub struct KafkaConnectTemplatePodSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodSecurityContextSysctls { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2089,7 +2090,7 @@ pub struct KafkaConnectTemplatePodSecurityContextSysctls { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2101,7 +2102,7 @@ pub struct KafkaConnectTemplatePodSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -2115,7 +2116,7 @@ pub struct KafkaConnectTemplatePodTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -2135,7 +2136,7 @@ pub struct KafkaConnectTemplatePodTopologySpreadConstraints { pub when_unsatisfiable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2143,7 +2144,7 @@ pub struct KafkaConnectTemplatePodTopologySpreadConstraintsLabelSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodTopologySpreadConstraintsLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -2154,7 +2155,7 @@ pub struct KafkaConnectTemplatePodTopologySpreadConstraintsLabelSelectorMatchExp } /// Template for Kafka Connect `PodDisruptionBudget`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodDisruptionBudget { /// Maximum number of unavailable pods to allow automatic Pod eviction. A Pod eviction is allowed when the `maxUnavailable` number of pods or fewer are unavailable after the eviction. Setting this value to 0 prevents all voluntary evictions, so the pods must be evicted manually. Defaults to 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] @@ -2165,7 +2166,7 @@ pub struct KafkaConnectTemplatePodDisruptionBudget { } /// Metadata to apply to the `PodDisruptionBudgetTemplate` resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodDisruptionBudgetMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2176,7 +2177,7 @@ pub struct KafkaConnectTemplatePodDisruptionBudgetMetadata { } /// Template for Kafka Connect `StrimziPodSet` resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodSet { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2184,7 +2185,7 @@ pub struct KafkaConnectTemplatePodSet { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplatePodSetMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2195,7 +2196,7 @@ pub struct KafkaConnectTemplatePodSetMetadata { } /// Template for the Kafka Connect service account. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateServiceAccount { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2203,7 +2204,7 @@ pub struct KafkaConnectTemplateServiceAccount { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTemplateServiceAccountMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2214,14 +2215,14 @@ pub struct KafkaConnectTemplateServiceAccountMetadata { } /// TLS configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTls { /// Trusted certificates for TLS connection. #[serde(default, skip_serializing_if = "Option::is_none", rename = "trustedCertificates")] pub trusted_certificates: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectTlsTrustedCertificates { /// The name of the file certificate in the Secret. pub certificate: String, @@ -2248,7 +2249,7 @@ pub enum KafkaConnectTracingType { } /// The status of the Kafka Connect cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectStatus { /// List of status conditions. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2270,7 +2271,7 @@ pub struct KafkaConnectStatus { pub url: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaConnectStatusConnectorPlugins { /// The class of the connector plugin. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkamirrormakers.rs b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkamirrormakers.rs index c0c62b08c..28271d924 100644 --- a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkamirrormakers.rs +++ b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkamirrormakers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkamirrormakers.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkamirrormakers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// The specification of Kafka MirrorMaker. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kafka.strimzi.io", version = "v1beta2", kind = "KafkaMirrorMaker", plural = "kafkamirrormakers")] #[kube(namespaced)] #[kube(status = "KafkaMirrorMakerStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct KafkaMirrorMakerSpec { /// Configuration of source cluster. @@ -65,7 +66,7 @@ pub struct KafkaMirrorMakerSpec { } /// Configuration of source cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerConsumer { /// Authentication configuration for connecting to the cluster. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -159,7 +160,7 @@ pub struct KafkaMirrorMakerConsumerAuthentication { } /// Link to Kubernetes Secret containing the access token which was obtained from the authorization server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerConsumerAuthenticationAccessToken { /// The key under which the secret value is stored in the Kubernetes Secret. pub key: String, @@ -169,7 +170,7 @@ pub struct KafkaMirrorMakerConsumerAuthenticationAccessToken { } /// Reference to the `Secret` which holds the certificate and private key pair. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerConsumerAuthenticationCertificateAndKey { /// The name of the file certificate in the Secret. pub certificate: String, @@ -181,7 +182,7 @@ pub struct KafkaMirrorMakerConsumerAuthenticationCertificateAndKey { } /// Link to Kubernetes Secret containing the OAuth client secret which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerConsumerAuthenticationClientSecret { /// The key under which the secret value is stored in the Kubernetes Secret. pub key: String, @@ -191,7 +192,7 @@ pub struct KafkaMirrorMakerConsumerAuthenticationClientSecret { } /// Reference to the `Secret` which holds the password. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerConsumerAuthenticationPasswordSecret { /// The name of the key in the Secret under which the password is stored. pub password: String, @@ -201,7 +202,7 @@ pub struct KafkaMirrorMakerConsumerAuthenticationPasswordSecret { } /// Link to Kubernetes Secret containing the refresh token which can be used to obtain access token from the authorization server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerConsumerAuthenticationRefreshToken { /// The key under which the secret value is stored in the Kubernetes Secret. pub key: String, @@ -210,7 +211,7 @@ pub struct KafkaMirrorMakerConsumerAuthenticationRefreshToken { pub secret_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerConsumerAuthenticationTlsTrustedCertificates { /// The name of the file certificate in the Secret. pub certificate: String, @@ -235,14 +236,14 @@ pub enum KafkaMirrorMakerConsumerAuthenticationType { } /// TLS configuration for connecting MirrorMaker to the cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerConsumerTls { /// Trusted certificates for TLS connection. #[serde(default, skip_serializing_if = "Option::is_none", rename = "trustedCertificates")] pub trusted_certificates: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerConsumerTlsTrustedCertificates { /// The name of the file certificate in the Secret. pub certificate: String, @@ -252,7 +253,7 @@ pub struct KafkaMirrorMakerConsumerTlsTrustedCertificates { } /// JVM Options for pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerJvmOptions { /// A map of -XX options to the JVM. #[serde(default, skip_serializing_if = "Option::is_none", rename = "-XX")] @@ -271,7 +272,7 @@ pub struct KafkaMirrorMakerJvmOptions { pub java_system_properties: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerJvmOptionsJavaSystemProperties { /// The system property name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -282,7 +283,7 @@ pub struct KafkaMirrorMakerJvmOptionsJavaSystemProperties { } /// Pod liveness checking. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerLivenessProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -325,7 +326,7 @@ pub enum KafkaMirrorMakerLoggingType { } /// `ConfigMap` entry where the logging configuration is stored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerLoggingValueFrom { /// Reference to the key in the ConfigMap containing the configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -333,7 +334,7 @@ pub struct KafkaMirrorMakerLoggingValueFrom { } /// Reference to the key in the ConfigMap containing the configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerLoggingValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -362,7 +363,7 @@ pub enum KafkaMirrorMakerMetricsConfigType { } /// ConfigMap entry where the Prometheus JMX Exporter configuration is stored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerMetricsConfigValueFrom { /// Reference to the key in the ConfigMap containing the configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -370,7 +371,7 @@ pub struct KafkaMirrorMakerMetricsConfigValueFrom { } /// Reference to the key in the ConfigMap containing the configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerMetricsConfigValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -381,7 +382,7 @@ pub struct KafkaMirrorMakerMetricsConfigValueFromConfigMapKeyRef { } /// Configuration of target cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerProducer { /// Flag to set the MirrorMaker to exit on a failed send. Default value is `true`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "abortOnSendFailure")] @@ -469,7 +470,7 @@ pub struct KafkaMirrorMakerProducerAuthentication { } /// Link to Kubernetes Secret containing the access token which was obtained from the authorization server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerProducerAuthenticationAccessToken { /// The key under which the secret value is stored in the Kubernetes Secret. pub key: String, @@ -479,7 +480,7 @@ pub struct KafkaMirrorMakerProducerAuthenticationAccessToken { } /// Reference to the `Secret` which holds the certificate and private key pair. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerProducerAuthenticationCertificateAndKey { /// The name of the file certificate in the Secret. pub certificate: String, @@ -491,7 +492,7 @@ pub struct KafkaMirrorMakerProducerAuthenticationCertificateAndKey { } /// Link to Kubernetes Secret containing the OAuth client secret which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerProducerAuthenticationClientSecret { /// The key under which the secret value is stored in the Kubernetes Secret. pub key: String, @@ -501,7 +502,7 @@ pub struct KafkaMirrorMakerProducerAuthenticationClientSecret { } /// Reference to the `Secret` which holds the password. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerProducerAuthenticationPasswordSecret { /// The name of the key in the Secret under which the password is stored. pub password: String, @@ -511,7 +512,7 @@ pub struct KafkaMirrorMakerProducerAuthenticationPasswordSecret { } /// Link to Kubernetes Secret containing the refresh token which can be used to obtain access token from the authorization server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerProducerAuthenticationRefreshToken { /// The key under which the secret value is stored in the Kubernetes Secret. pub key: String, @@ -520,7 +521,7 @@ pub struct KafkaMirrorMakerProducerAuthenticationRefreshToken { pub secret_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerProducerAuthenticationTlsTrustedCertificates { /// The name of the file certificate in the Secret. pub certificate: String, @@ -545,14 +546,14 @@ pub enum KafkaMirrorMakerProducerAuthenticationType { } /// TLS configuration for connecting MirrorMaker to the cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerProducerTls { /// Trusted certificates for TLS connection. #[serde(default, skip_serializing_if = "Option::is_none", rename = "trustedCertificates")] pub trusted_certificates: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerProducerTlsTrustedCertificates { /// The name of the file certificate in the Secret. pub certificate: String, @@ -562,7 +563,7 @@ pub struct KafkaMirrorMakerProducerTlsTrustedCertificates { } /// Pod readiness checking. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerReadinessProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -582,7 +583,7 @@ pub struct KafkaMirrorMakerReadinessProbe { } /// CPU and memory resources to reserve. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -592,14 +593,14 @@ pub struct KafkaMirrorMakerResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerResourcesClaims { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } /// Template to specify how Kafka MirrorMaker resources, `Deployments` and `Pods`, are generated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplate { /// Template for Kafka MirrorMaker `Deployment`. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -619,7 +620,7 @@ pub struct KafkaMirrorMakerTemplate { } /// Template for Kafka MirrorMaker `Deployment`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplateDeployment { /// Pod replacement strategy for deployment configuration changes. Valid values are `RollingUpdate` and `Recreate`. Defaults to `RollingUpdate`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "deploymentStrategy")] @@ -637,7 +638,7 @@ pub enum KafkaMirrorMakerTemplateDeploymentDeploymentStrategy { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplateDeploymentMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -648,7 +649,7 @@ pub struct KafkaMirrorMakerTemplateDeploymentMetadata { } /// Template for Kafka MirrorMaker container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplateMirrorMakerContainer { /// Environment variables which should be applied to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -658,7 +659,7 @@ pub struct KafkaMirrorMakerTemplateMirrorMakerContainer { pub security_context: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplateMirrorMakerContainerEnv { /// The environment variable key. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -669,7 +670,7 @@ pub struct KafkaMirrorMakerTemplateMirrorMakerContainerEnv { } /// Security context for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplateMirrorMakerContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -695,7 +696,7 @@ pub struct KafkaMirrorMakerTemplateMirrorMakerContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplateMirrorMakerContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -703,7 +704,7 @@ pub struct KafkaMirrorMakerTemplateMirrorMakerContainerSecurityContextCapabiliti pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplateMirrorMakerContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -715,7 +716,7 @@ pub struct KafkaMirrorMakerTemplateMirrorMakerContainerSecurityContextSeLinuxOpt pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplateMirrorMakerContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -723,7 +724,7 @@ pub struct KafkaMirrorMakerTemplateMirrorMakerContainerSecurityContextSeccompPro pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplateMirrorMakerContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -736,7 +737,7 @@ pub struct KafkaMirrorMakerTemplateMirrorMakerContainerSecurityContextWindowsOpt } /// Template for Kafka MirrorMaker `Pods`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePod { /// The pod's affinity rules. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -777,7 +778,7 @@ pub struct KafkaMirrorMakerTemplatePod { } /// The pod's affinity rules. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -787,7 +788,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -795,7 +796,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none")] pub preference: Option, @@ -803,7 +804,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityNodeAffinityPreferredDuringSchedul pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -811,7 +812,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityNodeAffinityPreferredDuringSchedul pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -821,7 +822,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityNodeAffinityPreferredDuringSchedul pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -831,13 +832,13 @@ pub struct KafkaMirrorMakerTemplatePodAffinityNodeAffinityPreferredDuringSchedul pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelectorTerms")] pub node_selector_terms: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -845,7 +846,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityNodeAffinityRequiredDuringScheduli pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -855,7 +856,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityNodeAffinityRequiredDuringScheduli pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -865,7 +866,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityNodeAffinityRequiredDuringScheduli pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -873,7 +874,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -881,7 +882,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityPodAffinityPreferredDuringScheduli pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -897,7 +898,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityPodAffinityPreferredDuringScheduli pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -905,7 +906,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityPodAffinityPreferredDuringScheduli pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -915,7 +916,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityPodAffinityPreferredDuringScheduli pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -923,7 +924,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityPodAffinityPreferredDuringScheduli pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -933,7 +934,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityPodAffinityPreferredDuringScheduli pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -949,7 +950,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityPodAffinityRequiredDuringSchedulin pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -957,7 +958,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityPodAffinityRequiredDuringSchedulin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -967,7 +968,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityPodAffinityRequiredDuringSchedulin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -975,7 +976,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityPodAffinityRequiredDuringSchedulin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -985,7 +986,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityPodAffinityRequiredDuringSchedulin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -993,7 +994,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -1001,7 +1002,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityPodAntiAffinityPreferredDuringSche pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1017,7 +1018,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityPodAntiAffinityPreferredDuringSche pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1025,7 +1026,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityPodAntiAffinityPreferredDuringSche pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1035,7 +1036,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityPodAntiAffinityPreferredDuringSche pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1043,7 +1044,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityPodAntiAffinityPreferredDuringSche pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1053,7 +1054,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityPodAntiAffinityPreferredDuringSche pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1069,7 +1070,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityPodAntiAffinityRequiredDuringSched pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1077,7 +1078,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityPodAntiAffinityRequiredDuringSched pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1087,7 +1088,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityPodAntiAffinityRequiredDuringSched pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1095,7 +1096,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityPodAntiAffinityRequiredDuringSched pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1105,7 +1106,7 @@ pub struct KafkaMirrorMakerTemplatePodAffinityPodAntiAffinityRequiredDuringSched pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -1113,14 +1114,14 @@ pub struct KafkaMirrorMakerTemplatePodHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1131,7 +1132,7 @@ pub struct KafkaMirrorMakerTemplatePodMetadata { } /// Configures pod-level security attributes and common container settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -1155,7 +1156,7 @@ pub struct KafkaMirrorMakerTemplatePodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1167,7 +1168,7 @@ pub struct KafkaMirrorMakerTemplatePodSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1175,7 +1176,7 @@ pub struct KafkaMirrorMakerTemplatePodSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodSecurityContextSysctls { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1183,7 +1184,7 @@ pub struct KafkaMirrorMakerTemplatePodSecurityContextSysctls { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1195,7 +1196,7 @@ pub struct KafkaMirrorMakerTemplatePodSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -1209,7 +1210,7 @@ pub struct KafkaMirrorMakerTemplatePodTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1229,7 +1230,7 @@ pub struct KafkaMirrorMakerTemplatePodTopologySpreadConstraints { pub when_unsatisfiable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1237,7 +1238,7 @@ pub struct KafkaMirrorMakerTemplatePodTopologySpreadConstraintsLabelSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodTopologySpreadConstraintsLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1248,7 +1249,7 @@ pub struct KafkaMirrorMakerTemplatePodTopologySpreadConstraintsLabelSelectorMatc } /// Template for Kafka MirrorMaker `PodDisruptionBudget`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodDisruptionBudget { /// Maximum number of unavailable pods to allow automatic Pod eviction. A Pod eviction is allowed when the `maxUnavailable` number of pods or fewer are unavailable after the eviction. Setting this value to 0 prevents all voluntary evictions, so the pods must be evicted manually. Defaults to 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] @@ -1259,7 +1260,7 @@ pub struct KafkaMirrorMakerTemplatePodDisruptionBudget { } /// Metadata to apply to the `PodDisruptionBudgetTemplate` resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplatePodDisruptionBudgetMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1270,7 +1271,7 @@ pub struct KafkaMirrorMakerTemplatePodDisruptionBudgetMetadata { } /// Template for the Kafka MirrorMaker service account. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplateServiceAccount { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1278,7 +1279,7 @@ pub struct KafkaMirrorMakerTemplateServiceAccount { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerTemplateServiceAccountMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1306,7 +1307,7 @@ pub enum KafkaMirrorMakerTracingType { } /// The status of Kafka MirrorMaker. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaMirrorMakerStatus { /// List of status conditions. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkarebalances.rs b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkarebalances.rs index 0f740d2f7..1910a2e48 100644 --- a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkarebalances.rs +++ b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkarebalances.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkarebalances.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkarebalances.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkas.rs b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkas.rs index b4592ec0b..d6e79eada 100644 --- a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkas.rs +++ b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkas.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkas.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkas.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// The specification of the Kafka and ZooKeeper clusters, and Topic Operator. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kafka.strimzi.io", version = "v1beta2", kind = "Kafka", plural = "kafkas")] #[kube(namespaced)] #[kube(status = "KafkaStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct KafkaSpec { /// Configuration of the clients certificate authority. @@ -49,7 +50,7 @@ pub struct KafkaSpec { } /// Configuration of the clients certificate authority. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClientsCa { /// How should CA certificate expiration be handled when `generateCertificateAuthority=true`. The default is for a new CA certificate to be generated reusing the existing private key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "certificateExpirationPolicy")] @@ -78,7 +79,7 @@ pub enum KafkaClientsCaCertificateExpirationPolicy { } /// Configuration of the cluster certificate authority. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaClusterCa { /// How should CA certificate expiration be handled when `generateCertificateAuthority=true`. The default is for a new CA certificate to be generated reusing the existing private key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "certificateExpirationPolicy")] @@ -107,7 +108,7 @@ pub enum KafkaClusterCaCertificateExpirationPolicy { } /// Configuration for Cruise Control deployment. Deploys a Cruise Control instance when specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControl { /// The Cruise Control `brokerCapacity` configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "brokerCapacity")] @@ -145,7 +146,7 @@ pub struct KafkaCruiseControl { } /// The Cruise Control `brokerCapacity` configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlBrokerCapacity { /// Broker capacity for CPU resource in cores or millicores. For example, 1, 1.500, 1500m. For more information on valid CPU resource units see https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -167,7 +168,7 @@ pub struct KafkaCruiseControlBrokerCapacity { pub overrides: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlBrokerCapacityOverrides { /// List of Kafka brokers (broker identifiers). pub brokers: Vec, @@ -183,7 +184,7 @@ pub struct KafkaCruiseControlBrokerCapacityOverrides { } /// JVM Options for the Cruise Control container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlJvmOptions { /// A map of -XX options to the JVM. #[serde(default, skip_serializing_if = "Option::is_none", rename = "-XX")] @@ -202,7 +203,7 @@ pub struct KafkaCruiseControlJvmOptions { pub java_system_properties: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlJvmOptionsJavaSystemProperties { /// The system property name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -213,7 +214,7 @@ pub struct KafkaCruiseControlJvmOptionsJavaSystemProperties { } /// Pod liveness checking for the Cruise Control container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlLivenessProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -256,7 +257,7 @@ pub enum KafkaCruiseControlLoggingType { } /// `ConfigMap` entry where the logging configuration is stored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlLoggingValueFrom { /// Reference to the key in the ConfigMap containing the configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -264,7 +265,7 @@ pub struct KafkaCruiseControlLoggingValueFrom { } /// Reference to the key in the ConfigMap containing the configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlLoggingValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -293,7 +294,7 @@ pub enum KafkaCruiseControlMetricsConfigType { } /// ConfigMap entry where the Prometheus JMX Exporter configuration is stored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlMetricsConfigValueFrom { /// Reference to the key in the ConfigMap containing the configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -301,7 +302,7 @@ pub struct KafkaCruiseControlMetricsConfigValueFrom { } /// Reference to the key in the ConfigMap containing the configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlMetricsConfigValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -312,7 +313,7 @@ pub struct KafkaCruiseControlMetricsConfigValueFromConfigMapKeyRef { } /// Pod readiness checking for the Cruise Control container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlReadinessProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -332,7 +333,7 @@ pub struct KafkaCruiseControlReadinessProbe { } /// CPU and memory resources to reserve for the Cruise Control container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -342,14 +343,14 @@ pub struct KafkaCruiseControlResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlResourcesClaims { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } /// Template to specify how Cruise Control resources, `Deployments` and `Pods`, are generated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplate { /// Template for Cruise Control API `Service`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiService")] @@ -375,7 +376,7 @@ pub struct KafkaCruiseControlTemplate { } /// Template for Cruise Control API `Service`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplateApiService { /// Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6`. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ipFamilies")] @@ -397,7 +398,7 @@ pub enum KafkaCruiseControlTemplateApiServiceIpFamilyPolicy { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplateApiServiceMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -408,7 +409,7 @@ pub struct KafkaCruiseControlTemplateApiServiceMetadata { } /// Template for the Cruise Control container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplateCruiseControlContainer { /// Environment variables which should be applied to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -418,7 +419,7 @@ pub struct KafkaCruiseControlTemplateCruiseControlContainer { pub security_context: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplateCruiseControlContainerEnv { /// The environment variable key. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -429,7 +430,7 @@ pub struct KafkaCruiseControlTemplateCruiseControlContainerEnv { } /// Security context for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplateCruiseControlContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -455,7 +456,7 @@ pub struct KafkaCruiseControlTemplateCruiseControlContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplateCruiseControlContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -463,7 +464,7 @@ pub struct KafkaCruiseControlTemplateCruiseControlContainerSecurityContextCapabi pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplateCruiseControlContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -475,7 +476,7 @@ pub struct KafkaCruiseControlTemplateCruiseControlContainerSecurityContextSeLinu pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplateCruiseControlContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -483,7 +484,7 @@ pub struct KafkaCruiseControlTemplateCruiseControlContainerSecurityContextSeccom pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplateCruiseControlContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -496,7 +497,7 @@ pub struct KafkaCruiseControlTemplateCruiseControlContainerSecurityContextWindow } /// Template for Cruise Control `Deployment`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplateDeployment { /// Pod replacement strategy for deployment configuration changes. Valid values are `RollingUpdate` and `Recreate`. Defaults to `RollingUpdate`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "deploymentStrategy")] @@ -514,7 +515,7 @@ pub enum KafkaCruiseControlTemplateDeploymentDeploymentStrategy { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplateDeploymentMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -525,7 +526,7 @@ pub struct KafkaCruiseControlTemplateDeploymentMetadata { } /// Template for Cruise Control `Pods`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePod { /// The pod's affinity rules. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -566,7 +567,7 @@ pub struct KafkaCruiseControlTemplatePod { } /// The pod's affinity rules. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -576,7 +577,7 @@ pub struct KafkaCruiseControlTemplatePodAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -584,7 +585,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none")] pub preference: Option, @@ -592,7 +593,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityNodeAffinityPreferredDuringSched pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -600,7 +601,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityNodeAffinityPreferredDuringSched pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -610,7 +611,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityNodeAffinityPreferredDuringSched pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -620,13 +621,13 @@ pub struct KafkaCruiseControlTemplatePodAffinityNodeAffinityPreferredDuringSched pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelectorTerms")] pub node_selector_terms: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -634,7 +635,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityNodeAffinityRequiredDuringSchedu pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -644,7 +645,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityNodeAffinityRequiredDuringSchedu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -654,7 +655,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityNodeAffinityRequiredDuringSchedu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -662,7 +663,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -670,7 +671,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityPodAffinityPreferredDuringSchedu pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -686,7 +687,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityPodAffinityPreferredDuringSchedu pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -694,7 +695,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityPodAffinityPreferredDuringSchedu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -704,7 +705,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityPodAffinityPreferredDuringSchedu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -712,7 +713,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityPodAffinityPreferredDuringSchedu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -722,7 +723,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityPodAffinityPreferredDuringSchedu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -738,7 +739,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityPodAffinityRequiredDuringSchedul pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -746,7 +747,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityPodAffinityRequiredDuringSchedul pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -756,7 +757,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityPodAffinityRequiredDuringSchedul pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -764,7 +765,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityPodAffinityRequiredDuringSchedul pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -774,7 +775,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityPodAffinityRequiredDuringSchedul pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -782,7 +783,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -790,7 +791,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityPodAntiAffinityPreferredDuringSc pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -806,7 +807,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityPodAntiAffinityPreferredDuringSc pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -814,7 +815,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityPodAntiAffinityPreferredDuringSc pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -824,7 +825,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityPodAntiAffinityPreferredDuringSc pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -832,7 +833,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityPodAntiAffinityPreferredDuringSc pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -842,7 +843,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityPodAntiAffinityPreferredDuringSc pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -858,7 +859,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityPodAntiAffinityRequiredDuringSch pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -866,7 +867,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityPodAntiAffinityRequiredDuringSch pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -876,7 +877,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityPodAntiAffinityRequiredDuringSch pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -884,7 +885,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityPodAntiAffinityRequiredDuringSch pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -894,7 +895,7 @@ pub struct KafkaCruiseControlTemplatePodAffinityPodAntiAffinityRequiredDuringSch pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -902,14 +903,14 @@ pub struct KafkaCruiseControlTemplatePodHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -920,7 +921,7 @@ pub struct KafkaCruiseControlTemplatePodMetadata { } /// Configures pod-level security attributes and common container settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -944,7 +945,7 @@ pub struct KafkaCruiseControlTemplatePodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -956,7 +957,7 @@ pub struct KafkaCruiseControlTemplatePodSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -964,7 +965,7 @@ pub struct KafkaCruiseControlTemplatePodSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodSecurityContextSysctls { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -972,7 +973,7 @@ pub struct KafkaCruiseControlTemplatePodSecurityContextSysctls { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -984,7 +985,7 @@ pub struct KafkaCruiseControlTemplatePodSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -998,7 +999,7 @@ pub struct KafkaCruiseControlTemplatePodTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1018,7 +1019,7 @@ pub struct KafkaCruiseControlTemplatePodTopologySpreadConstraints { pub when_unsatisfiable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1026,7 +1027,7 @@ pub struct KafkaCruiseControlTemplatePodTopologySpreadConstraintsLabelSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodTopologySpreadConstraintsLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1037,7 +1038,7 @@ pub struct KafkaCruiseControlTemplatePodTopologySpreadConstraintsLabelSelectorMa } /// Template for Cruise Control `PodDisruptionBudget`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodDisruptionBudget { /// Maximum number of unavailable pods to allow automatic Pod eviction. A Pod eviction is allowed when the `maxUnavailable` number of pods or fewer are unavailable after the eviction. Setting this value to 0 prevents all voluntary evictions, so the pods must be evicted manually. Defaults to 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] @@ -1048,7 +1049,7 @@ pub struct KafkaCruiseControlTemplatePodDisruptionBudget { } /// Metadata to apply to the `PodDisruptionBudgetTemplate` resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplatePodDisruptionBudgetMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1059,7 +1060,7 @@ pub struct KafkaCruiseControlTemplatePodDisruptionBudgetMetadata { } /// Template for the Cruise Control service account. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplateServiceAccount { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1067,7 +1068,7 @@ pub struct KafkaCruiseControlTemplateServiceAccount { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplateServiceAccountMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1078,7 +1079,7 @@ pub struct KafkaCruiseControlTemplateServiceAccountMetadata { } /// Template for the Cruise Control TLS sidecar container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplateTlsSidecarContainer { /// Environment variables which should be applied to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1088,7 +1089,7 @@ pub struct KafkaCruiseControlTemplateTlsSidecarContainer { pub security_context: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplateTlsSidecarContainerEnv { /// The environment variable key. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1099,7 +1100,7 @@ pub struct KafkaCruiseControlTemplateTlsSidecarContainerEnv { } /// Security context for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplateTlsSidecarContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1125,7 +1126,7 @@ pub struct KafkaCruiseControlTemplateTlsSidecarContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplateTlsSidecarContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1133,7 +1134,7 @@ pub struct KafkaCruiseControlTemplateTlsSidecarContainerSecurityContextCapabilit pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplateTlsSidecarContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1145,7 +1146,7 @@ pub struct KafkaCruiseControlTemplateTlsSidecarContainerSecurityContextSeLinuxOp pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplateTlsSidecarContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1153,7 +1154,7 @@ pub struct KafkaCruiseControlTemplateTlsSidecarContainerSecurityContextSeccompPr pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTemplateTlsSidecarContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1166,7 +1167,7 @@ pub struct KafkaCruiseControlTemplateTlsSidecarContainerSecurityContextWindowsOp } /// TLS sidecar configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTlsSidecar { /// The docker image for the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1186,7 +1187,7 @@ pub struct KafkaCruiseControlTlsSidecar { } /// Pod liveness checking. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTlsSidecarLivenessProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -1227,7 +1228,7 @@ pub enum KafkaCruiseControlTlsSidecarLogLevel { } /// Pod readiness checking. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTlsSidecarReadinessProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -1247,7 +1248,7 @@ pub struct KafkaCruiseControlTlsSidecarReadinessProbe { } /// CPU and memory resources to reserve. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTlsSidecarResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -1257,14 +1258,14 @@ pub struct KafkaCruiseControlTlsSidecarResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaCruiseControlTlsSidecarResourcesClaims { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } /// Configuration of the Entity Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperator { /// Template for Entity Operator resources. The template allows users to specify how a `Deployment` and `Pod` is generated. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1281,7 +1282,7 @@ pub struct KafkaEntityOperator { } /// Template for Entity Operator resources. The template allows users to specify how a `Deployment` and `Pod` is generated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplate { /// Template for Entity Operator `Deployment`. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1313,7 +1314,7 @@ pub struct KafkaEntityOperatorTemplate { } /// Template for Entity Operator `Deployment`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateDeployment { /// Pod replacement strategy for deployment configuration changes. Valid values are `RollingUpdate` and `Recreate`. Defaults to `RollingUpdate`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "deploymentStrategy")] @@ -1331,7 +1332,7 @@ pub enum KafkaEntityOperatorTemplateDeploymentDeploymentStrategy { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateDeploymentMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1342,7 +1343,7 @@ pub struct KafkaEntityOperatorTemplateDeploymentMetadata { } /// Template for the Entity Operator Role. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateEntityOperatorRole { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1350,7 +1351,7 @@ pub struct KafkaEntityOperatorTemplateEntityOperatorRole { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateEntityOperatorRoleMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1361,7 +1362,7 @@ pub struct KafkaEntityOperatorTemplateEntityOperatorRoleMetadata { } /// Template for Entity Operator `Pods`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePod { /// The pod's affinity rules. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1402,7 +1403,7 @@ pub struct KafkaEntityOperatorTemplatePod { } /// The pod's affinity rules. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -1412,7 +1413,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -1420,7 +1421,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none")] pub preference: Option, @@ -1428,7 +1429,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityNodeAffinityPreferredDuringSche pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1436,7 +1437,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityNodeAffinityPreferredDuringSche pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1446,7 +1447,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityNodeAffinityPreferredDuringSche pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1456,13 +1457,13 @@ pub struct KafkaEntityOperatorTemplatePodAffinityNodeAffinityPreferredDuringSche pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelectorTerms")] pub node_selector_terms: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1470,7 +1471,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityNodeAffinityRequiredDuringSched pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1480,7 +1481,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityNodeAffinityRequiredDuringSched pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1490,7 +1491,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityNodeAffinityRequiredDuringSched pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -1498,7 +1499,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -1506,7 +1507,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityPodAffinityPreferredDuringSched pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1522,7 +1523,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityPodAffinityPreferredDuringSched pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1530,7 +1531,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityPodAffinityPreferredDuringSched pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1540,7 +1541,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityPodAffinityPreferredDuringSched pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1548,7 +1549,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityPodAffinityPreferredDuringSched pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1558,7 +1559,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityPodAffinityPreferredDuringSched pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1574,7 +1575,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityPodAffinityRequiredDuringSchedu pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1582,7 +1583,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityPodAffinityRequiredDuringSchedu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1592,7 +1593,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityPodAffinityRequiredDuringSchedu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1600,7 +1601,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityPodAffinityRequiredDuringSchedu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1610,7 +1611,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityPodAffinityRequiredDuringSchedu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -1618,7 +1619,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -1626,7 +1627,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityPodAntiAffinityPreferredDuringS pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1642,7 +1643,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityPodAntiAffinityPreferredDuringS pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1650,7 +1651,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityPodAntiAffinityPreferredDuringS pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1660,7 +1661,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityPodAntiAffinityPreferredDuringS pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1668,7 +1669,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityPodAntiAffinityPreferredDuringS pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1678,7 +1679,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityPodAntiAffinityPreferredDuringS pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1694,7 +1695,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityPodAntiAffinityRequiredDuringSc pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1702,7 +1703,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityPodAntiAffinityRequiredDuringSc pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1712,7 +1713,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityPodAntiAffinityRequiredDuringSc pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1720,7 +1721,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityPodAntiAffinityRequiredDuringSc pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1730,7 +1731,7 @@ pub struct KafkaEntityOperatorTemplatePodAffinityPodAntiAffinityRequiredDuringSc pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -1738,14 +1739,14 @@ pub struct KafkaEntityOperatorTemplatePodHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1756,7 +1757,7 @@ pub struct KafkaEntityOperatorTemplatePodMetadata { } /// Configures pod-level security attributes and common container settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -1780,7 +1781,7 @@ pub struct KafkaEntityOperatorTemplatePodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1792,7 +1793,7 @@ pub struct KafkaEntityOperatorTemplatePodSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1800,7 +1801,7 @@ pub struct KafkaEntityOperatorTemplatePodSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodSecurityContextSysctls { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1808,7 +1809,7 @@ pub struct KafkaEntityOperatorTemplatePodSecurityContextSysctls { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1820,7 +1821,7 @@ pub struct KafkaEntityOperatorTemplatePodSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -1834,7 +1835,7 @@ pub struct KafkaEntityOperatorTemplatePodTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1854,7 +1855,7 @@ pub struct KafkaEntityOperatorTemplatePodTopologySpreadConstraints { pub when_unsatisfiable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1862,7 +1863,7 @@ pub struct KafkaEntityOperatorTemplatePodTopologySpreadConstraintsLabelSelector pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplatePodTopologySpreadConstraintsLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1873,7 +1874,7 @@ pub struct KafkaEntityOperatorTemplatePodTopologySpreadConstraintsLabelSelectorM } /// Template for the Entity Operator service account. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateServiceAccount { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1881,7 +1882,7 @@ pub struct KafkaEntityOperatorTemplateServiceAccount { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateServiceAccountMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1892,7 +1893,7 @@ pub struct KafkaEntityOperatorTemplateServiceAccountMetadata { } /// Template for the Entity Operator TLS sidecar container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateTlsSidecarContainer { /// Environment variables which should be applied to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1902,7 +1903,7 @@ pub struct KafkaEntityOperatorTemplateTlsSidecarContainer { pub security_context: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateTlsSidecarContainerEnv { /// The environment variable key. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1913,7 +1914,7 @@ pub struct KafkaEntityOperatorTemplateTlsSidecarContainerEnv { } /// Security context for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateTlsSidecarContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1939,7 +1940,7 @@ pub struct KafkaEntityOperatorTemplateTlsSidecarContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateTlsSidecarContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1947,7 +1948,7 @@ pub struct KafkaEntityOperatorTemplateTlsSidecarContainerSecurityContextCapabili pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateTlsSidecarContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1959,7 +1960,7 @@ pub struct KafkaEntityOperatorTemplateTlsSidecarContainerSecurityContextSeLinuxO pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateTlsSidecarContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1967,7 +1968,7 @@ pub struct KafkaEntityOperatorTemplateTlsSidecarContainerSecurityContextSeccompP pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateTlsSidecarContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1980,7 +1981,7 @@ pub struct KafkaEntityOperatorTemplateTlsSidecarContainerSecurityContextWindowsO } /// Template for the Entity Topic Operator container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateTopicOperatorContainer { /// Environment variables which should be applied to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1990,7 +1991,7 @@ pub struct KafkaEntityOperatorTemplateTopicOperatorContainer { pub security_context: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateTopicOperatorContainerEnv { /// The environment variable key. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2001,7 +2002,7 @@ pub struct KafkaEntityOperatorTemplateTopicOperatorContainerEnv { } /// Security context for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateTopicOperatorContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -2027,7 +2028,7 @@ pub struct KafkaEntityOperatorTemplateTopicOperatorContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateTopicOperatorContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -2035,7 +2036,7 @@ pub struct KafkaEntityOperatorTemplateTopicOperatorContainerSecurityContextCapab pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateTopicOperatorContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2047,7 +2048,7 @@ pub struct KafkaEntityOperatorTemplateTopicOperatorContainerSecurityContextSeLin pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateTopicOperatorContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2055,7 +2056,7 @@ pub struct KafkaEntityOperatorTemplateTopicOperatorContainerSecurityContextSecco pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateTopicOperatorContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2068,7 +2069,7 @@ pub struct KafkaEntityOperatorTemplateTopicOperatorContainerSecurityContextWindo } /// Template for the Entity Topic Operator RoleBinding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateTopicOperatorRoleBinding { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2076,7 +2077,7 @@ pub struct KafkaEntityOperatorTemplateTopicOperatorRoleBinding { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateTopicOperatorRoleBindingMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2087,7 +2088,7 @@ pub struct KafkaEntityOperatorTemplateTopicOperatorRoleBindingMetadata { } /// Template for the Entity User Operator container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateUserOperatorContainer { /// Environment variables which should be applied to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2097,7 +2098,7 @@ pub struct KafkaEntityOperatorTemplateUserOperatorContainer { pub security_context: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateUserOperatorContainerEnv { /// The environment variable key. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2108,7 +2109,7 @@ pub struct KafkaEntityOperatorTemplateUserOperatorContainerEnv { } /// Security context for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateUserOperatorContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -2134,7 +2135,7 @@ pub struct KafkaEntityOperatorTemplateUserOperatorContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateUserOperatorContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -2142,7 +2143,7 @@ pub struct KafkaEntityOperatorTemplateUserOperatorContainerSecurityContextCapabi pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateUserOperatorContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2154,7 +2155,7 @@ pub struct KafkaEntityOperatorTemplateUserOperatorContainerSecurityContextSeLinu pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateUserOperatorContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2162,7 +2163,7 @@ pub struct KafkaEntityOperatorTemplateUserOperatorContainerSecurityContextSeccom pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateUserOperatorContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2175,7 +2176,7 @@ pub struct KafkaEntityOperatorTemplateUserOperatorContainerSecurityContextWindow } /// Template for the Entity Topic Operator RoleBinding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateUserOperatorRoleBinding { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2183,7 +2184,7 @@ pub struct KafkaEntityOperatorTemplateUserOperatorRoleBinding { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTemplateUserOperatorRoleBindingMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2194,7 +2195,7 @@ pub struct KafkaEntityOperatorTemplateUserOperatorRoleBindingMetadata { } /// TLS sidecar configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTlsSidecar { /// The docker image for the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2214,7 +2215,7 @@ pub struct KafkaEntityOperatorTlsSidecar { } /// Pod liveness checking. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTlsSidecarLivenessProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -2255,7 +2256,7 @@ pub enum KafkaEntityOperatorTlsSidecarLogLevel { } /// Pod readiness checking. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTlsSidecarReadinessProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -2275,7 +2276,7 @@ pub struct KafkaEntityOperatorTlsSidecarReadinessProbe { } /// CPU and memory resources to reserve. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTlsSidecarResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2285,14 +2286,14 @@ pub struct KafkaEntityOperatorTlsSidecarResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTlsSidecarResourcesClaims { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } /// Configuration of the Topic Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTopicOperator { /// The image to use for the Topic Operator. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2330,7 +2331,7 @@ pub struct KafkaEntityOperatorTopicOperator { } /// JVM Options for pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTopicOperatorJvmOptions { /// A map of -XX options to the JVM. #[serde(default, skip_serializing_if = "Option::is_none", rename = "-XX")] @@ -2349,7 +2350,7 @@ pub struct KafkaEntityOperatorTopicOperatorJvmOptions { pub java_system_properties: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTopicOperatorJvmOptionsJavaSystemProperties { /// The system property name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2360,7 +2361,7 @@ pub struct KafkaEntityOperatorTopicOperatorJvmOptionsJavaSystemProperties { } /// Pod liveness checking. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTopicOperatorLivenessProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -2403,7 +2404,7 @@ pub enum KafkaEntityOperatorTopicOperatorLoggingType { } /// `ConfigMap` entry where the logging configuration is stored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTopicOperatorLoggingValueFrom { /// Reference to the key in the ConfigMap containing the configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -2411,7 +2412,7 @@ pub struct KafkaEntityOperatorTopicOperatorLoggingValueFrom { } /// Reference to the key in the ConfigMap containing the configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTopicOperatorLoggingValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -2422,7 +2423,7 @@ pub struct KafkaEntityOperatorTopicOperatorLoggingValueFromConfigMapKeyRef { } /// Pod readiness checking. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTopicOperatorReadinessProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -2442,7 +2443,7 @@ pub struct KafkaEntityOperatorTopicOperatorReadinessProbe { } /// CPU and memory resources to reserve. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTopicOperatorResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2452,14 +2453,14 @@ pub struct KafkaEntityOperatorTopicOperatorResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTopicOperatorResourcesClaims { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } /// Pod startup checking. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorTopicOperatorStartupProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -2479,7 +2480,7 @@ pub struct KafkaEntityOperatorTopicOperatorStartupProbe { } /// Configuration of the User Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorUserOperator { /// The image to use for the User Operator. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2514,7 +2515,7 @@ pub struct KafkaEntityOperatorUserOperator { } /// JVM Options for pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorUserOperatorJvmOptions { /// A map of -XX options to the JVM. #[serde(default, skip_serializing_if = "Option::is_none", rename = "-XX")] @@ -2533,7 +2534,7 @@ pub struct KafkaEntityOperatorUserOperatorJvmOptions { pub java_system_properties: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorUserOperatorJvmOptionsJavaSystemProperties { /// The system property name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2544,7 +2545,7 @@ pub struct KafkaEntityOperatorUserOperatorJvmOptionsJavaSystemProperties { } /// Pod liveness checking. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorUserOperatorLivenessProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -2587,7 +2588,7 @@ pub enum KafkaEntityOperatorUserOperatorLoggingType { } /// `ConfigMap` entry where the logging configuration is stored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorUserOperatorLoggingValueFrom { /// Reference to the key in the ConfigMap containing the configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -2595,7 +2596,7 @@ pub struct KafkaEntityOperatorUserOperatorLoggingValueFrom { } /// Reference to the key in the ConfigMap containing the configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorUserOperatorLoggingValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -2606,7 +2607,7 @@ pub struct KafkaEntityOperatorUserOperatorLoggingValueFromConfigMapKeyRef { } /// Pod readiness checking. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorUserOperatorReadinessProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -2626,7 +2627,7 @@ pub struct KafkaEntityOperatorUserOperatorReadinessProbe { } /// CPU and memory resources to reserve. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorUserOperatorResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2636,14 +2637,14 @@ pub struct KafkaEntityOperatorUserOperatorResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaEntityOperatorUserOperatorResourcesClaims { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } /// As of Strimzi 0.35.0, JMXTrans is not supported anymore and this option is ignored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTrans { /// The image to use for the JmxTrans. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2665,7 +2666,7 @@ pub struct KafkaJmxTrans { pub template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransKafkaQueries { /// Determine which attributes of the targeted MBean should be included. pub attributes: Vec, @@ -2676,7 +2677,7 @@ pub struct KafkaJmxTransKafkaQueries { pub target_m_bean: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransOutputDefinitions { /// How many seconds the JmxTrans waits before pushing a new set of data out. #[serde(default, skip_serializing_if = "Option::is_none", rename = "flushDelayInSeconds")] @@ -2698,7 +2699,7 @@ pub struct KafkaJmxTransOutputDefinitions { } /// CPU and memory resources to reserve. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2708,14 +2709,14 @@ pub struct KafkaJmxTransResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransResourcesClaims { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } /// Template for JmxTrans resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplate { /// Template for JmxTrans container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2732,7 +2733,7 @@ pub struct KafkaJmxTransTemplate { } /// Template for JmxTrans container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplateContainer { /// Environment variables which should be applied to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2742,7 +2743,7 @@ pub struct KafkaJmxTransTemplateContainer { pub security_context: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplateContainerEnv { /// The environment variable key. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2753,7 +2754,7 @@ pub struct KafkaJmxTransTemplateContainerEnv { } /// Security context for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplateContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -2779,7 +2780,7 @@ pub struct KafkaJmxTransTemplateContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplateContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -2787,7 +2788,7 @@ pub struct KafkaJmxTransTemplateContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplateContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2799,7 +2800,7 @@ pub struct KafkaJmxTransTemplateContainerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplateContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2807,7 +2808,7 @@ pub struct KafkaJmxTransTemplateContainerSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplateContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2820,7 +2821,7 @@ pub struct KafkaJmxTransTemplateContainerSecurityContextWindowsOptions { } /// Template for JmxTrans `Deployment`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplateDeployment { /// Pod replacement strategy for deployment configuration changes. Valid values are `RollingUpdate` and `Recreate`. Defaults to `RollingUpdate`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "deploymentStrategy")] @@ -2838,7 +2839,7 @@ pub enum KafkaJmxTransTemplateDeploymentDeploymentStrategy { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplateDeploymentMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2849,7 +2850,7 @@ pub struct KafkaJmxTransTemplateDeploymentMetadata { } /// Template for JmxTrans `Pods`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePod { /// The pod's affinity rules. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2890,7 +2891,7 @@ pub struct KafkaJmxTransTemplatePod { } /// The pod's affinity rules. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -2900,7 +2901,7 @@ pub struct KafkaJmxTransTemplatePodAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -2908,7 +2909,7 @@ pub struct KafkaJmxTransTemplatePodAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none")] pub preference: Option, @@ -2916,7 +2917,7 @@ pub struct KafkaJmxTransTemplatePodAffinityNodeAffinityPreferredDuringScheduling pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2924,7 +2925,7 @@ pub struct KafkaJmxTransTemplatePodAffinityNodeAffinityPreferredDuringScheduling pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -2934,7 +2935,7 @@ pub struct KafkaJmxTransTemplatePodAffinityNodeAffinityPreferredDuringScheduling pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -2944,13 +2945,13 @@ pub struct KafkaJmxTransTemplatePodAffinityNodeAffinityPreferredDuringScheduling pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelectorTerms")] pub node_selector_terms: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2958,7 +2959,7 @@ pub struct KafkaJmxTransTemplatePodAffinityNodeAffinityRequiredDuringSchedulingI pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -2968,7 +2969,7 @@ pub struct KafkaJmxTransTemplatePodAffinityNodeAffinityRequiredDuringSchedulingI pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -2978,7 +2979,7 @@ pub struct KafkaJmxTransTemplatePodAffinityNodeAffinityRequiredDuringSchedulingI pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -2986,7 +2987,7 @@ pub struct KafkaJmxTransTemplatePodAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -2994,7 +2995,7 @@ pub struct KafkaJmxTransTemplatePodAffinityPodAffinityPreferredDuringSchedulingI pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3010,7 +3011,7 @@ pub struct KafkaJmxTransTemplatePodAffinityPodAffinityPreferredDuringSchedulingI pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3018,7 +3019,7 @@ pub struct KafkaJmxTransTemplatePodAffinityPodAffinityPreferredDuringSchedulingI pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3028,7 +3029,7 @@ pub struct KafkaJmxTransTemplatePodAffinityPodAffinityPreferredDuringSchedulingI pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3036,7 +3037,7 @@ pub struct KafkaJmxTransTemplatePodAffinityPodAffinityPreferredDuringSchedulingI pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3046,7 +3047,7 @@ pub struct KafkaJmxTransTemplatePodAffinityPodAffinityPreferredDuringSchedulingI pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3062,7 +3063,7 @@ pub struct KafkaJmxTransTemplatePodAffinityPodAffinityRequiredDuringSchedulingIg pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3070,7 +3071,7 @@ pub struct KafkaJmxTransTemplatePodAffinityPodAffinityRequiredDuringSchedulingIg pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3080,7 +3081,7 @@ pub struct KafkaJmxTransTemplatePodAffinityPodAffinityRequiredDuringSchedulingIg pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3088,7 +3089,7 @@ pub struct KafkaJmxTransTemplatePodAffinityPodAffinityRequiredDuringSchedulingIg pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3098,7 +3099,7 @@ pub struct KafkaJmxTransTemplatePodAffinityPodAffinityRequiredDuringSchedulingIg pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3106,7 +3107,7 @@ pub struct KafkaJmxTransTemplatePodAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -3114,7 +3115,7 @@ pub struct KafkaJmxTransTemplatePodAffinityPodAntiAffinityPreferredDuringSchedul pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3130,7 +3131,7 @@ pub struct KafkaJmxTransTemplatePodAffinityPodAntiAffinityPreferredDuringSchedul pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3138,7 +3139,7 @@ pub struct KafkaJmxTransTemplatePodAffinityPodAntiAffinityPreferredDuringSchedul pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3148,7 +3149,7 @@ pub struct KafkaJmxTransTemplatePodAffinityPodAntiAffinityPreferredDuringSchedul pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3156,7 +3157,7 @@ pub struct KafkaJmxTransTemplatePodAffinityPodAntiAffinityPreferredDuringSchedul pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3166,7 +3167,7 @@ pub struct KafkaJmxTransTemplatePodAffinityPodAntiAffinityPreferredDuringSchedul pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3182,7 +3183,7 @@ pub struct KafkaJmxTransTemplatePodAffinityPodAntiAffinityRequiredDuringScheduli pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3190,7 +3191,7 @@ pub struct KafkaJmxTransTemplatePodAffinityPodAntiAffinityRequiredDuringScheduli pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3200,7 +3201,7 @@ pub struct KafkaJmxTransTemplatePodAffinityPodAntiAffinityRequiredDuringScheduli pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3208,7 +3209,7 @@ pub struct KafkaJmxTransTemplatePodAffinityPodAntiAffinityRequiredDuringScheduli pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3218,7 +3219,7 @@ pub struct KafkaJmxTransTemplatePodAffinityPodAntiAffinityRequiredDuringScheduli pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -3226,14 +3227,14 @@ pub struct KafkaJmxTransTemplatePodHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3244,7 +3245,7 @@ pub struct KafkaJmxTransTemplatePodMetadata { } /// Configures pod-level security attributes and common container settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -3268,7 +3269,7 @@ pub struct KafkaJmxTransTemplatePodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -3280,7 +3281,7 @@ pub struct KafkaJmxTransTemplatePodSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -3288,7 +3289,7 @@ pub struct KafkaJmxTransTemplatePodSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodSecurityContextSysctls { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3296,7 +3297,7 @@ pub struct KafkaJmxTransTemplatePodSecurityContextSysctls { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -3308,7 +3309,7 @@ pub struct KafkaJmxTransTemplatePodSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -3322,7 +3323,7 @@ pub struct KafkaJmxTransTemplatePodTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3342,7 +3343,7 @@ pub struct KafkaJmxTransTemplatePodTopologySpreadConstraints { pub when_unsatisfiable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3350,7 +3351,7 @@ pub struct KafkaJmxTransTemplatePodTopologySpreadConstraintsLabelSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplatePodTopologySpreadConstraintsLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3361,7 +3362,7 @@ pub struct KafkaJmxTransTemplatePodTopologySpreadConstraintsLabelSelectorMatchEx } /// Template for the JmxTrans service account. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplateServiceAccount { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3369,7 +3370,7 @@ pub struct KafkaJmxTransTemplateServiceAccount { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaJmxTransTemplateServiceAccountMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3380,7 +3381,7 @@ pub struct KafkaJmxTransTemplateServiceAccountMetadata { } /// Configuration of the Kafka cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafka { /// Authorization configuration for Kafka brokers. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3517,7 +3518,7 @@ pub struct KafkaKafkaAuthorization { pub url: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaAuthorizationTlsTrustedCertificates { /// The name of the file certificate in the Secret. pub certificate: String, @@ -3540,7 +3541,7 @@ pub enum KafkaKafkaAuthorizationType { } /// JMX Options for Kafka brokers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaJmxOptions { /// Authentication configuration for connecting to the JMX port. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3563,7 +3564,7 @@ pub enum KafkaKafkaJmxOptionsAuthenticationType { } /// JVM Options for pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaJvmOptions { /// A map of -XX options to the JVM. #[serde(default, skip_serializing_if = "Option::is_none", rename = "-XX")] @@ -3582,7 +3583,7 @@ pub struct KafkaKafkaJvmOptions { pub java_system_properties: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaJvmOptionsJavaSystemProperties { /// The system property name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3751,7 +3752,7 @@ pub struct KafkaKafkaListenersAuthentication { } /// Link to Kubernetes Secret containing the OAuth client secret which the Kafka broker can use to authenticate against the authorization server and use the introspect endpoint URI. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaListenersAuthenticationClientSecret { /// The key under which the secret value is stored in the Kubernetes Secret. pub key: String, @@ -3760,7 +3761,7 @@ pub struct KafkaKafkaListenersAuthenticationClientSecret { pub secret_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaListenersAuthenticationSecrets { /// The key under which the secret value is stored in the Kubernetes Secret. pub key: String, @@ -3769,7 +3770,7 @@ pub struct KafkaKafkaListenersAuthenticationSecrets { pub secret_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaListenersAuthenticationTlsTrustedCertificates { /// The name of the file certificate in the Secret. pub certificate: String, @@ -3792,7 +3793,7 @@ pub enum KafkaKafkaListenersAuthenticationType { } /// Additional listener configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaListenersConfiguration { /// Bootstrap configuration. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3847,7 +3848,7 @@ pub struct KafkaKafkaListenersConfiguration { } /// Bootstrap configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaListenersConfigurationBootstrap { /// Additional alternative names for the bootstrap service. The alternative names will be added to the list of subject alternative names of the TLS certificates. #[serde(default, skip_serializing_if = "Option::is_none", rename = "alternativeNames")] @@ -3873,7 +3874,7 @@ pub struct KafkaKafkaListenersConfigurationBootstrap { } /// Reference to the `Secret` which holds the certificate and private key pair which will be used for this listener. The certificate can optionally contain the whole chain. This field can be used only with listeners with enabled TLS encryption. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaListenersConfigurationBrokerCertChainAndKey { /// The name of the file certificate in the Secret. pub certificate: String, @@ -3884,7 +3885,7 @@ pub struct KafkaKafkaListenersConfigurationBrokerCertChainAndKey { pub secret_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaListenersConfigurationBrokers { /// The host name used in the brokers' `advertised.listeners`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "advertisedHost")] @@ -3943,7 +3944,7 @@ pub enum KafkaKafkaListenersConfigurationPreferredNodePortAddressType { Hostname, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaListenersNetworkPolicyPeers { #[serde(default, skip_serializing_if = "Option::is_none", rename = "ipBlock")] pub ip_block: Option, @@ -3953,7 +3954,7 @@ pub struct KafkaKafkaListenersNetworkPolicyPeers { pub pod_selector: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaListenersNetworkPolicyPeersIpBlock { #[serde(default, skip_serializing_if = "Option::is_none")] pub cidr: Option, @@ -3961,7 +3962,7 @@ pub struct KafkaKafkaListenersNetworkPolicyPeersIpBlock { pub except: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaListenersNetworkPolicyPeersNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3969,7 +3970,7 @@ pub struct KafkaKafkaListenersNetworkPolicyPeersNamespaceSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaListenersNetworkPolicyPeersNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3979,7 +3980,7 @@ pub struct KafkaKafkaListenersNetworkPolicyPeersNamespaceSelectorMatchExpression pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaListenersNetworkPolicyPeersPodSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3987,7 +3988,7 @@ pub struct KafkaKafkaListenersNetworkPolicyPeersPodSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaListenersNetworkPolicyPeersPodSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -4014,7 +4015,7 @@ pub enum KafkaKafkaListenersType { } /// Pod liveness checking. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaLivenessProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -4057,7 +4058,7 @@ pub enum KafkaKafkaLoggingType { } /// `ConfigMap` entry where the logging configuration is stored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaLoggingValueFrom { /// Reference to the key in the ConfigMap containing the configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -4065,7 +4066,7 @@ pub struct KafkaKafkaLoggingValueFrom { } /// Reference to the key in the ConfigMap containing the configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaLoggingValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -4094,7 +4095,7 @@ pub enum KafkaKafkaMetricsConfigType { } /// ConfigMap entry where the Prometheus JMX Exporter configuration is stored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaMetricsConfigValueFrom { /// Reference to the key in the ConfigMap containing the configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -4102,7 +4103,7 @@ pub struct KafkaKafkaMetricsConfigValueFrom { } /// Reference to the key in the ConfigMap containing the configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaMetricsConfigValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -4113,7 +4114,7 @@ pub struct KafkaKafkaMetricsConfigValueFromConfigMapKeyRef { } /// Configuration of the `broker.rack` broker config. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaRack { /// A key that matches labels assigned to the Kubernetes cluster nodes. The value of the label is used to set a broker's `broker.rack` config, and the `client.rack` config for Kafka Connect or MirrorMaker 2. #[serde(rename = "topologyKey")] @@ -4121,7 +4122,7 @@ pub struct KafkaKafkaRack { } /// Pod readiness checking. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaReadinessProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -4141,7 +4142,7 @@ pub struct KafkaKafkaReadinessProbe { } /// CPU and memory resources to reserve. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -4151,7 +4152,7 @@ pub struct KafkaKafkaResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaResourcesClaims { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4199,7 +4200,7 @@ pub enum KafkaKafkaStorageKraftMetadata { Shared, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaStorageOverrides { /// Id of the kafka broker (broker identifier). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4257,7 +4258,7 @@ pub enum KafkaKafkaStorageVolumesKraftMetadata { Shared, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaStorageVolumesOverrides { /// Id of the kafka broker (broker identifier). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4276,7 +4277,7 @@ pub enum KafkaKafkaStorageVolumesType { } /// Template for Kafka cluster resources. The template allows users to specify how the Kubernetes resources are generated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplate { /// Template for Kafka bootstrap `Service`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "bootstrapService")] @@ -4338,7 +4339,7 @@ pub struct KafkaKafkaTemplate { } /// Template for Kafka bootstrap `Service`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateBootstrapService { /// Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6`. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ipFamilies")] @@ -4360,7 +4361,7 @@ pub enum KafkaKafkaTemplateBootstrapServiceIpFamilyPolicy { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateBootstrapServiceMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4371,7 +4372,7 @@ pub struct KafkaKafkaTemplateBootstrapServiceMetadata { } /// Template for Kafka broker `Service`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateBrokersService { /// Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6`. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ipFamilies")] @@ -4393,7 +4394,7 @@ pub enum KafkaKafkaTemplateBrokersServiceIpFamilyPolicy { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateBrokersServiceMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4404,7 +4405,7 @@ pub struct KafkaKafkaTemplateBrokersServiceMetadata { } /// Template for Secret with Kafka Cluster certificate public key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateClusterCaCert { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4412,7 +4413,7 @@ pub struct KafkaKafkaTemplateClusterCaCert { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateClusterCaCertMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4423,7 +4424,7 @@ pub struct KafkaKafkaTemplateClusterCaCertMetadata { } /// Template for the Kafka ClusterRoleBinding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateClusterRoleBinding { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4431,7 +4432,7 @@ pub struct KafkaKafkaTemplateClusterRoleBinding { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateClusterRoleBindingMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4442,7 +4443,7 @@ pub struct KafkaKafkaTemplateClusterRoleBindingMetadata { } /// Template for Kafka external bootstrap `Ingress`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateExternalBootstrapIngress { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4450,7 +4451,7 @@ pub struct KafkaKafkaTemplateExternalBootstrapIngress { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateExternalBootstrapIngressMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4461,7 +4462,7 @@ pub struct KafkaKafkaTemplateExternalBootstrapIngressMetadata { } /// Template for Kafka external bootstrap `Route`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateExternalBootstrapRoute { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4469,7 +4470,7 @@ pub struct KafkaKafkaTemplateExternalBootstrapRoute { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateExternalBootstrapRouteMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4480,7 +4481,7 @@ pub struct KafkaKafkaTemplateExternalBootstrapRouteMetadata { } /// Template for Kafka external bootstrap `Service`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateExternalBootstrapService { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4488,7 +4489,7 @@ pub struct KafkaKafkaTemplateExternalBootstrapService { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateExternalBootstrapServiceMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4499,7 +4500,7 @@ pub struct KafkaKafkaTemplateExternalBootstrapServiceMetadata { } /// Template for the Kafka init container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateInitContainer { /// Environment variables which should be applied to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4509,7 +4510,7 @@ pub struct KafkaKafkaTemplateInitContainer { pub security_context: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateInitContainerEnv { /// The environment variable key. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4520,7 +4521,7 @@ pub struct KafkaKafkaTemplateInitContainerEnv { } /// Security context for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateInitContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -4546,7 +4547,7 @@ pub struct KafkaKafkaTemplateInitContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateInitContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -4554,7 +4555,7 @@ pub struct KafkaKafkaTemplateInitContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateInitContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -4566,7 +4567,7 @@ pub struct KafkaKafkaTemplateInitContainerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateInitContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -4574,7 +4575,7 @@ pub struct KafkaKafkaTemplateInitContainerSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateInitContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4587,7 +4588,7 @@ pub struct KafkaKafkaTemplateInitContainerSecurityContextWindowsOptions { } /// Template for Secret of the Kafka Cluster JMX authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateJmxSecret { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4595,7 +4596,7 @@ pub struct KafkaKafkaTemplateJmxSecret { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateJmxSecretMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4606,7 +4607,7 @@ pub struct KafkaKafkaTemplateJmxSecretMetadata { } /// Template for the Kafka broker container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateKafkaContainer { /// Environment variables which should be applied to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4616,7 +4617,7 @@ pub struct KafkaKafkaTemplateKafkaContainer { pub security_context: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateKafkaContainerEnv { /// The environment variable key. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4627,7 +4628,7 @@ pub struct KafkaKafkaTemplateKafkaContainerEnv { } /// Security context for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateKafkaContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -4653,7 +4654,7 @@ pub struct KafkaKafkaTemplateKafkaContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateKafkaContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -4661,7 +4662,7 @@ pub struct KafkaKafkaTemplateKafkaContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateKafkaContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -4673,7 +4674,7 @@ pub struct KafkaKafkaTemplateKafkaContainerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateKafkaContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -4681,7 +4682,7 @@ pub struct KafkaKafkaTemplateKafkaContainerSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateKafkaContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4694,7 +4695,7 @@ pub struct KafkaKafkaTemplateKafkaContainerSecurityContextWindowsOptions { } /// Template for Kafka per-pod `Ingress` used for access from outside of Kubernetes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePerPodIngress { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4702,7 +4703,7 @@ pub struct KafkaKafkaTemplatePerPodIngress { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePerPodIngressMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4713,7 +4714,7 @@ pub struct KafkaKafkaTemplatePerPodIngressMetadata { } /// Template for Kafka per-pod `Routes` used for access from outside of OpenShift. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePerPodRoute { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4721,7 +4722,7 @@ pub struct KafkaKafkaTemplatePerPodRoute { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePerPodRouteMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4732,7 +4733,7 @@ pub struct KafkaKafkaTemplatePerPodRouteMetadata { } /// Template for Kafka per-pod `Services` used for access from outside of Kubernetes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePerPodService { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4740,7 +4741,7 @@ pub struct KafkaKafkaTemplatePerPodService { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePerPodServiceMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4751,7 +4752,7 @@ pub struct KafkaKafkaTemplatePerPodServiceMetadata { } /// Template for all Kafka `PersistentVolumeClaims`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePersistentVolumeClaim { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4759,7 +4760,7 @@ pub struct KafkaKafkaTemplatePersistentVolumeClaim { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePersistentVolumeClaimMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4770,7 +4771,7 @@ pub struct KafkaKafkaTemplatePersistentVolumeClaimMetadata { } /// Template for Kafka `Pods`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePod { /// The pod's affinity rules. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4811,7 +4812,7 @@ pub struct KafkaKafkaTemplatePod { } /// The pod's affinity rules. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -4821,7 +4822,7 @@ pub struct KafkaKafkaTemplatePodAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -4829,7 +4830,7 @@ pub struct KafkaKafkaTemplatePodAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none")] pub preference: Option, @@ -4837,7 +4838,7 @@ pub struct KafkaKafkaTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgn pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4845,7 +4846,7 @@ pub struct KafkaKafkaTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgn pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -4855,7 +4856,7 @@ pub struct KafkaKafkaTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgn pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -4865,13 +4866,13 @@ pub struct KafkaKafkaTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgn pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelectorTerms")] pub node_selector_terms: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4879,7 +4880,7 @@ pub struct KafkaKafkaTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgno pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -4889,7 +4890,7 @@ pub struct KafkaKafkaTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgno pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -4899,7 +4900,7 @@ pub struct KafkaKafkaTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgno pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -4907,7 +4908,7 @@ pub struct KafkaKafkaTemplatePodAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -4915,7 +4916,7 @@ pub struct KafkaKafkaTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgno pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -4931,7 +4932,7 @@ pub struct KafkaKafkaTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgno pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4939,7 +4940,7 @@ pub struct KafkaKafkaTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgno pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -4949,7 +4950,7 @@ pub struct KafkaKafkaTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgno pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4957,7 +4958,7 @@ pub struct KafkaKafkaTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgno pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -4967,7 +4968,7 @@ pub struct KafkaKafkaTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgno pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -4983,7 +4984,7 @@ pub struct KafkaKafkaTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnor pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4991,7 +4992,7 @@ pub struct KafkaKafkaTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnor pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5001,7 +5002,7 @@ pub struct KafkaKafkaTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnor pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5009,7 +5010,7 @@ pub struct KafkaKafkaTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnor pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5019,7 +5020,7 @@ pub struct KafkaKafkaTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnor pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -5027,7 +5028,7 @@ pub struct KafkaKafkaTemplatePodAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -5035,7 +5036,7 @@ pub struct KafkaKafkaTemplatePodAffinityPodAntiAffinityPreferredDuringScheduling pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5051,7 +5052,7 @@ pub struct KafkaKafkaTemplatePodAffinityPodAntiAffinityPreferredDuringScheduling pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5059,7 +5060,7 @@ pub struct KafkaKafkaTemplatePodAffinityPodAntiAffinityPreferredDuringScheduling pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5069,7 +5070,7 @@ pub struct KafkaKafkaTemplatePodAffinityPodAntiAffinityPreferredDuringScheduling pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5077,7 +5078,7 @@ pub struct KafkaKafkaTemplatePodAffinityPodAntiAffinityPreferredDuringScheduling pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5087,7 +5088,7 @@ pub struct KafkaKafkaTemplatePodAffinityPodAntiAffinityPreferredDuringScheduling pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5103,7 +5104,7 @@ pub struct KafkaKafkaTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingI pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5111,7 +5112,7 @@ pub struct KafkaKafkaTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingI pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5121,7 +5122,7 @@ pub struct KafkaKafkaTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingI pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5129,7 +5130,7 @@ pub struct KafkaKafkaTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingI pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5139,7 +5140,7 @@ pub struct KafkaKafkaTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingI pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -5147,14 +5148,14 @@ pub struct KafkaKafkaTemplatePodHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5165,7 +5166,7 @@ pub struct KafkaKafkaTemplatePodMetadata { } /// Configures pod-level security attributes and common container settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -5189,7 +5190,7 @@ pub struct KafkaKafkaTemplatePodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5201,7 +5202,7 @@ pub struct KafkaKafkaTemplatePodSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5209,7 +5210,7 @@ pub struct KafkaKafkaTemplatePodSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodSecurityContextSysctls { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -5217,7 +5218,7 @@ pub struct KafkaKafkaTemplatePodSecurityContextSysctls { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5229,7 +5230,7 @@ pub struct KafkaKafkaTemplatePodSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -5243,7 +5244,7 @@ pub struct KafkaKafkaTemplatePodTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5263,7 +5264,7 @@ pub struct KafkaKafkaTemplatePodTopologySpreadConstraints { pub when_unsatisfiable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5271,7 +5272,7 @@ pub struct KafkaKafkaTemplatePodTopologySpreadConstraintsLabelSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodTopologySpreadConstraintsLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5282,7 +5283,7 @@ pub struct KafkaKafkaTemplatePodTopologySpreadConstraintsLabelSelectorMatchExpre } /// Template for Kafka `PodDisruptionBudget`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodDisruptionBudget { /// Maximum number of unavailable pods to allow automatic Pod eviction. A Pod eviction is allowed when the `maxUnavailable` number of pods or fewer are unavailable after the eviction. Setting this value to 0 prevents all voluntary evictions, so the pods must be evicted manually. Defaults to 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] @@ -5293,7 +5294,7 @@ pub struct KafkaKafkaTemplatePodDisruptionBudget { } /// Metadata to apply to the `PodDisruptionBudgetTemplate` resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodDisruptionBudgetMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5304,7 +5305,7 @@ pub struct KafkaKafkaTemplatePodDisruptionBudgetMetadata { } /// Template for Kafka `StrimziPodSet` resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodSet { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5312,7 +5313,7 @@ pub struct KafkaKafkaTemplatePodSet { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplatePodSetMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5323,7 +5324,7 @@ pub struct KafkaKafkaTemplatePodSetMetadata { } /// Template for the Kafka service account. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateServiceAccount { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5331,7 +5332,7 @@ pub struct KafkaKafkaTemplateServiceAccount { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateServiceAccountMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5342,7 +5343,7 @@ pub struct KafkaKafkaTemplateServiceAccountMetadata { } /// Template for Kafka `StatefulSet`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateStatefulset { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5353,7 +5354,7 @@ pub struct KafkaKafkaTemplateStatefulset { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTemplateStatefulsetMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5382,7 +5383,7 @@ pub struct KafkaKafkaTieredStorage { } /// Configuration for the Remote Storage Manager. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaTieredStorageRemoteStorageManager { /// The class name for the `RemoteStorageManager` implementation. #[serde(default, skip_serializing_if = "Option::is_none", rename = "className")] @@ -5403,7 +5404,7 @@ pub enum KafkaKafkaTieredStorageType { } /// Configuration of the Kafka Exporter. Kafka Exporter can provide additional metrics, for example lag of consumer group at topic/partition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporter { /// Enable Sarama logging, a Go client library used by the Kafka Exporter. #[serde(default, skip_serializing_if = "Option::is_none", rename = "enableSaramaLogging")] @@ -5444,7 +5445,7 @@ pub struct KafkaKafkaExporter { } /// Pod liveness check. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterLivenessProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -5464,7 +5465,7 @@ pub struct KafkaKafkaExporterLivenessProbe { } /// Pod readiness check. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterReadinessProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -5484,7 +5485,7 @@ pub struct KafkaKafkaExporterReadinessProbe { } /// CPU and memory resources to reserve. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -5494,14 +5495,14 @@ pub struct KafkaKafkaExporterResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterResourcesClaims { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } /// Customization of deployment templates and pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplate { /// Template for the Kafka Exporter container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5521,7 +5522,7 @@ pub struct KafkaKafkaExporterTemplate { } /// Template for the Kafka Exporter container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplateContainer { /// Environment variables which should be applied to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5531,7 +5532,7 @@ pub struct KafkaKafkaExporterTemplateContainer { pub security_context: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplateContainerEnv { /// The environment variable key. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5542,7 +5543,7 @@ pub struct KafkaKafkaExporterTemplateContainerEnv { } /// Security context for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplateContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -5568,7 +5569,7 @@ pub struct KafkaKafkaExporterTemplateContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplateContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -5576,7 +5577,7 @@ pub struct KafkaKafkaExporterTemplateContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplateContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5588,7 +5589,7 @@ pub struct KafkaKafkaExporterTemplateContainerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplateContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5596,7 +5597,7 @@ pub struct KafkaKafkaExporterTemplateContainerSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplateContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5609,7 +5610,7 @@ pub struct KafkaKafkaExporterTemplateContainerSecurityContextWindowsOptions { } /// Template for Kafka Exporter `Deployment`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplateDeployment { /// Pod replacement strategy for deployment configuration changes. Valid values are `RollingUpdate` and `Recreate`. Defaults to `RollingUpdate`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "deploymentStrategy")] @@ -5627,7 +5628,7 @@ pub enum KafkaKafkaExporterTemplateDeploymentDeploymentStrategy { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplateDeploymentMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5638,7 +5639,7 @@ pub struct KafkaKafkaExporterTemplateDeploymentMetadata { } /// Template for Kafka Exporter `Pods`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePod { /// The pod's affinity rules. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5679,7 +5680,7 @@ pub struct KafkaKafkaExporterTemplatePod { } /// The pod's affinity rules. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -5689,7 +5690,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -5697,7 +5698,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none")] pub preference: Option, @@ -5705,7 +5706,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityNodeAffinityPreferredDuringSched pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5713,7 +5714,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityNodeAffinityPreferredDuringSched pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5723,7 +5724,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityNodeAffinityPreferredDuringSched pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5733,13 +5734,13 @@ pub struct KafkaKafkaExporterTemplatePodAffinityNodeAffinityPreferredDuringSched pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelectorTerms")] pub node_selector_terms: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5747,7 +5748,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityNodeAffinityRequiredDuringSchedu pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5757,7 +5758,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityNodeAffinityRequiredDuringSchedu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5767,7 +5768,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityNodeAffinityRequiredDuringSchedu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -5775,7 +5776,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -5783,7 +5784,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityPodAffinityPreferredDuringSchedu pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5799,7 +5800,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityPodAffinityPreferredDuringSchedu pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5807,7 +5808,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityPodAffinityPreferredDuringSchedu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5817,7 +5818,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityPodAffinityPreferredDuringSchedu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5825,7 +5826,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityPodAffinityPreferredDuringSchedu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5835,7 +5836,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityPodAffinityPreferredDuringSchedu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5851,7 +5852,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityPodAffinityRequiredDuringSchedul pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5859,7 +5860,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityPodAffinityRequiredDuringSchedul pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5869,7 +5870,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityPodAffinityRequiredDuringSchedul pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5877,7 +5878,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityPodAffinityRequiredDuringSchedul pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5887,7 +5888,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityPodAffinityRequiredDuringSchedul pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -5895,7 +5896,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -5903,7 +5904,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityPodAntiAffinityPreferredDuringSc pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5919,7 +5920,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityPodAntiAffinityPreferredDuringSc pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5927,7 +5928,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityPodAntiAffinityPreferredDuringSc pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5937,7 +5938,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityPodAntiAffinityPreferredDuringSc pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5945,7 +5946,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityPodAntiAffinityPreferredDuringSc pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5955,7 +5956,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityPodAntiAffinityPreferredDuringSc pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5971,7 +5972,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityPodAntiAffinityRequiredDuringSch pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5979,7 +5980,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityPodAntiAffinityRequiredDuringSch pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5989,7 +5990,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityPodAntiAffinityRequiredDuringSch pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5997,7 +5998,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityPodAntiAffinityRequiredDuringSch pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6007,7 +6008,7 @@ pub struct KafkaKafkaExporterTemplatePodAffinityPodAntiAffinityRequiredDuringSch pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -6015,14 +6016,14 @@ pub struct KafkaKafkaExporterTemplatePodHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6033,7 +6034,7 @@ pub struct KafkaKafkaExporterTemplatePodMetadata { } /// Configures pod-level security attributes and common container settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -6057,7 +6058,7 @@ pub struct KafkaKafkaExporterTemplatePodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -6069,7 +6070,7 @@ pub struct KafkaKafkaExporterTemplatePodSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -6077,7 +6078,7 @@ pub struct KafkaKafkaExporterTemplatePodSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodSecurityContextSysctls { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -6085,7 +6086,7 @@ pub struct KafkaKafkaExporterTemplatePodSecurityContextSysctls { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -6097,7 +6098,7 @@ pub struct KafkaKafkaExporterTemplatePodSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -6111,7 +6112,7 @@ pub struct KafkaKafkaExporterTemplatePodTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -6131,7 +6132,7 @@ pub struct KafkaKafkaExporterTemplatePodTopologySpreadConstraints { pub when_unsatisfiable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6139,7 +6140,7 @@ pub struct KafkaKafkaExporterTemplatePodTopologySpreadConstraintsLabelSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplatePodTopologySpreadConstraintsLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6150,7 +6151,7 @@ pub struct KafkaKafkaExporterTemplatePodTopologySpreadConstraintsLabelSelectorMa } /// Template for Kafka Exporter `Service`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplateService { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6158,7 +6159,7 @@ pub struct KafkaKafkaExporterTemplateService { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplateServiceMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6169,7 +6170,7 @@ pub struct KafkaKafkaExporterTemplateServiceMetadata { } /// Template for the Kafka Exporter service account. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplateServiceAccount { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6177,7 +6178,7 @@ pub struct KafkaKafkaExporterTemplateServiceAccount { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaKafkaExporterTemplateServiceAccountMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6227,7 +6228,7 @@ pub struct KafkaZookeeper { } /// JMX Options for Zookeeper nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperJmxOptions { /// Authentication configuration for connecting to the JMX port. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6250,7 +6251,7 @@ pub enum KafkaZookeeperJmxOptionsAuthenticationType { } /// JVM Options for pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperJvmOptions { /// A map of -XX options to the JVM. #[serde(default, skip_serializing_if = "Option::is_none", rename = "-XX")] @@ -6269,7 +6270,7 @@ pub struct KafkaZookeeperJvmOptions { pub java_system_properties: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperJvmOptionsJavaSystemProperties { /// The system property name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6280,7 +6281,7 @@ pub struct KafkaZookeeperJvmOptionsJavaSystemProperties { } /// Pod liveness checking. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperLivenessProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -6323,7 +6324,7 @@ pub enum KafkaZookeeperLoggingType { } /// `ConfigMap` entry where the logging configuration is stored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperLoggingValueFrom { /// Reference to the key in the ConfigMap containing the configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -6331,7 +6332,7 @@ pub struct KafkaZookeeperLoggingValueFrom { } /// Reference to the key in the ConfigMap containing the configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperLoggingValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6360,7 +6361,7 @@ pub enum KafkaZookeeperMetricsConfigType { } /// ConfigMap entry where the Prometheus JMX Exporter configuration is stored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperMetricsConfigValueFrom { /// Reference to the key in the ConfigMap containing the configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -6368,7 +6369,7 @@ pub struct KafkaZookeeperMetricsConfigValueFrom { } /// Reference to the key in the ConfigMap containing the configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperMetricsConfigValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6379,7 +6380,7 @@ pub struct KafkaZookeeperMetricsConfigValueFromConfigMapKeyRef { } /// Pod readiness checking. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperReadinessProbe { /// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureThreshold")] @@ -6399,7 +6400,7 @@ pub struct KafkaZookeeperReadinessProbe { } /// CPU and memory resources to reserve. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -6409,7 +6410,7 @@ pub struct KafkaZookeeperResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperResourcesClaims { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -6454,7 +6455,7 @@ pub enum KafkaZookeeperStorageKraftMetadata { Shared, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperStorageOverrides { /// Id of the kafka broker (broker identifier). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6474,7 +6475,7 @@ pub enum KafkaZookeeperStorageType { } /// Template for ZooKeeper cluster resources. The template allows users to specify how the Kubernetes resources are generated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplate { /// Template for ZooKeeper client `Service`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientService")] @@ -6509,7 +6510,7 @@ pub struct KafkaZookeeperTemplate { } /// Template for ZooKeeper client `Service`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplateClientService { /// Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6`. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ipFamilies")] @@ -6531,7 +6532,7 @@ pub enum KafkaZookeeperTemplateClientServiceIpFamilyPolicy { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplateClientServiceMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6542,7 +6543,7 @@ pub struct KafkaZookeeperTemplateClientServiceMetadata { } /// Template for Secret of the Zookeeper Cluster JMX authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplateJmxSecret { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6550,7 +6551,7 @@ pub struct KafkaZookeeperTemplateJmxSecret { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplateJmxSecretMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6561,7 +6562,7 @@ pub struct KafkaZookeeperTemplateJmxSecretMetadata { } /// Template for ZooKeeper nodes `Service`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplateNodesService { /// Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6`. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ipFamilies")] @@ -6583,7 +6584,7 @@ pub enum KafkaZookeeperTemplateNodesServiceIpFamilyPolicy { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplateNodesServiceMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6594,7 +6595,7 @@ pub struct KafkaZookeeperTemplateNodesServiceMetadata { } /// Template for all ZooKeeper `PersistentVolumeClaims`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePersistentVolumeClaim { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6602,7 +6603,7 @@ pub struct KafkaZookeeperTemplatePersistentVolumeClaim { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePersistentVolumeClaimMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6613,7 +6614,7 @@ pub struct KafkaZookeeperTemplatePersistentVolumeClaimMetadata { } /// Template for ZooKeeper `Pods`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePod { /// The pod's affinity rules. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6654,7 +6655,7 @@ pub struct KafkaZookeeperTemplatePod { } /// The pod's affinity rules. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -6664,7 +6665,7 @@ pub struct KafkaZookeeperTemplatePodAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -6672,7 +6673,7 @@ pub struct KafkaZookeeperTemplatePodAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none")] pub preference: Option, @@ -6680,7 +6681,7 @@ pub struct KafkaZookeeperTemplatePodAffinityNodeAffinityPreferredDuringSchedulin pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6688,7 +6689,7 @@ pub struct KafkaZookeeperTemplatePodAffinityNodeAffinityPreferredDuringSchedulin pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6698,7 +6699,7 @@ pub struct KafkaZookeeperTemplatePodAffinityNodeAffinityPreferredDuringSchedulin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6708,13 +6709,13 @@ pub struct KafkaZookeeperTemplatePodAffinityNodeAffinityPreferredDuringSchedulin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelectorTerms")] pub node_selector_terms: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6722,7 +6723,7 @@ pub struct KafkaZookeeperTemplatePodAffinityNodeAffinityRequiredDuringScheduling pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6732,7 +6733,7 @@ pub struct KafkaZookeeperTemplatePodAffinityNodeAffinityRequiredDuringScheduling pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6742,7 +6743,7 @@ pub struct KafkaZookeeperTemplatePodAffinityNodeAffinityRequiredDuringScheduling pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -6750,7 +6751,7 @@ pub struct KafkaZookeeperTemplatePodAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -6758,7 +6759,7 @@ pub struct KafkaZookeeperTemplatePodAffinityPodAffinityPreferredDuringScheduling pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -6774,7 +6775,7 @@ pub struct KafkaZookeeperTemplatePodAffinityPodAffinityPreferredDuringScheduling pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6782,7 +6783,7 @@ pub struct KafkaZookeeperTemplatePodAffinityPodAffinityPreferredDuringScheduling pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6792,7 +6793,7 @@ pub struct KafkaZookeeperTemplatePodAffinityPodAffinityPreferredDuringScheduling pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6800,7 +6801,7 @@ pub struct KafkaZookeeperTemplatePodAffinityPodAffinityPreferredDuringScheduling pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6810,7 +6811,7 @@ pub struct KafkaZookeeperTemplatePodAffinityPodAffinityPreferredDuringScheduling pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -6826,7 +6827,7 @@ pub struct KafkaZookeeperTemplatePodAffinityPodAffinityRequiredDuringSchedulingI pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6834,7 +6835,7 @@ pub struct KafkaZookeeperTemplatePodAffinityPodAffinityRequiredDuringSchedulingI pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6844,7 +6845,7 @@ pub struct KafkaZookeeperTemplatePodAffinityPodAffinityRequiredDuringSchedulingI pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6852,7 +6853,7 @@ pub struct KafkaZookeeperTemplatePodAffinityPodAffinityRequiredDuringSchedulingI pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6862,7 +6863,7 @@ pub struct KafkaZookeeperTemplatePodAffinityPodAffinityRequiredDuringSchedulingI pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -6870,7 +6871,7 @@ pub struct KafkaZookeeperTemplatePodAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -6878,7 +6879,7 @@ pub struct KafkaZookeeperTemplatePodAffinityPodAntiAffinityPreferredDuringSchedu pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -6894,7 +6895,7 @@ pub struct KafkaZookeeperTemplatePodAffinityPodAntiAffinityPreferredDuringSchedu pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6902,7 +6903,7 @@ pub struct KafkaZookeeperTemplatePodAffinityPodAntiAffinityPreferredDuringSchedu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6912,7 +6913,7 @@ pub struct KafkaZookeeperTemplatePodAffinityPodAntiAffinityPreferredDuringSchedu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6920,7 +6921,7 @@ pub struct KafkaZookeeperTemplatePodAffinityPodAntiAffinityPreferredDuringSchedu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6930,7 +6931,7 @@ pub struct KafkaZookeeperTemplatePodAffinityPodAntiAffinityPreferredDuringSchedu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -6946,7 +6947,7 @@ pub struct KafkaZookeeperTemplatePodAffinityPodAntiAffinityRequiredDuringSchedul pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6954,7 +6955,7 @@ pub struct KafkaZookeeperTemplatePodAffinityPodAntiAffinityRequiredDuringSchedul pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6964,7 +6965,7 @@ pub struct KafkaZookeeperTemplatePodAffinityPodAntiAffinityRequiredDuringSchedul pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6972,7 +6973,7 @@ pub struct KafkaZookeeperTemplatePodAffinityPodAntiAffinityRequiredDuringSchedul pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6982,7 +6983,7 @@ pub struct KafkaZookeeperTemplatePodAffinityPodAntiAffinityRequiredDuringSchedul pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -6990,14 +6991,14 @@ pub struct KafkaZookeeperTemplatePodHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7008,7 +7009,7 @@ pub struct KafkaZookeeperTemplatePodMetadata { } /// Configures pod-level security attributes and common container settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -7032,7 +7033,7 @@ pub struct KafkaZookeeperTemplatePodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -7044,7 +7045,7 @@ pub struct KafkaZookeeperTemplatePodSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -7052,7 +7053,7 @@ pub struct KafkaZookeeperTemplatePodSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodSecurityContextSysctls { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -7060,7 +7061,7 @@ pub struct KafkaZookeeperTemplatePodSecurityContextSysctls { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -7072,7 +7073,7 @@ pub struct KafkaZookeeperTemplatePodSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -7086,7 +7087,7 @@ pub struct KafkaZookeeperTemplatePodTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -7106,7 +7107,7 @@ pub struct KafkaZookeeperTemplatePodTopologySpreadConstraints { pub when_unsatisfiable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -7114,7 +7115,7 @@ pub struct KafkaZookeeperTemplatePodTopologySpreadConstraintsLabelSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodTopologySpreadConstraintsLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7125,7 +7126,7 @@ pub struct KafkaZookeeperTemplatePodTopologySpreadConstraintsLabelSelectorMatchE } /// Template for ZooKeeper `PodDisruptionBudget`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodDisruptionBudget { /// Maximum number of unavailable pods to allow automatic Pod eviction. A Pod eviction is allowed when the `maxUnavailable` number of pods or fewer are unavailable after the eviction. Setting this value to 0 prevents all voluntary evictions, so the pods must be evicted manually. Defaults to 1. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] @@ -7136,7 +7137,7 @@ pub struct KafkaZookeeperTemplatePodDisruptionBudget { } /// Metadata to apply to the `PodDisruptionBudgetTemplate` resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodDisruptionBudgetMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7147,7 +7148,7 @@ pub struct KafkaZookeeperTemplatePodDisruptionBudgetMetadata { } /// Template for ZooKeeper `StrimziPodSet` resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodSet { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7155,7 +7156,7 @@ pub struct KafkaZookeeperTemplatePodSet { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplatePodSetMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7166,7 +7167,7 @@ pub struct KafkaZookeeperTemplatePodSetMetadata { } /// Template for the ZooKeeper service account. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplateServiceAccount { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7174,7 +7175,7 @@ pub struct KafkaZookeeperTemplateServiceAccount { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplateServiceAccountMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7185,7 +7186,7 @@ pub struct KafkaZookeeperTemplateServiceAccountMetadata { } /// Template for ZooKeeper `StatefulSet`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplateStatefulset { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7196,7 +7197,7 @@ pub struct KafkaZookeeperTemplateStatefulset { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplateStatefulsetMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7214,7 +7215,7 @@ pub enum KafkaZookeeperTemplateStatefulsetPodManagementPolicy { } /// Template for the ZooKeeper container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplateZookeeperContainer { /// Environment variables which should be applied to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7224,7 +7225,7 @@ pub struct KafkaZookeeperTemplateZookeeperContainer { pub security_context: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplateZookeeperContainerEnv { /// The environment variable key. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7235,7 +7236,7 @@ pub struct KafkaZookeeperTemplateZookeeperContainerEnv { } /// Security context for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplateZookeeperContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -7261,7 +7262,7 @@ pub struct KafkaZookeeperTemplateZookeeperContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplateZookeeperContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -7269,7 +7270,7 @@ pub struct KafkaZookeeperTemplateZookeeperContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplateZookeeperContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -7281,7 +7282,7 @@ pub struct KafkaZookeeperTemplateZookeeperContainerSecurityContextSeLinuxOptions pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplateZookeeperContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -7289,7 +7290,7 @@ pub struct KafkaZookeeperTemplateZookeeperContainerSecurityContextSeccompProfile pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaZookeeperTemplateZookeeperContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -7302,7 +7303,7 @@ pub struct KafkaZookeeperTemplateZookeeperContainerSecurityContextWindowsOptions } /// The status of the Kafka and ZooKeeper clusters, and Topic Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaStatus { /// Kafka cluster Id. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterId")] @@ -7344,14 +7345,14 @@ pub enum KafkaStatusKafkaMetadataState { KRaft, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaStatusKafkaNodePools { /// The name of the KafkaNodePool used by this Kafka resource. #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaStatusListeners { /// A list of the addresses for this listener. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7370,7 +7371,7 @@ pub struct KafkaStatusListeners { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaStatusListenersAddresses { /// The DNS name or IP address of the Kafka bootstrap service. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkatopics.rs b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkatopics.rs index 633bd1c03..3a300e1b7 100644 --- a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkatopics.rs +++ b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkatopics.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkatopics.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkatopics.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkausers.rs b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkausers.rs index ffb8fc814..3605c10ba 100644 --- a/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkausers.rs +++ b/kube-custom-resources-rs/src/kafka_strimzi_io/v1beta2/kafkausers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkausers.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/strimzi/strimzi-kafka-operator/kafka.strimzi.io/v1beta2/kafkausers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// The specification of the user. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kafka.strimzi.io", version = "v1beta2", kind = "KafkaUser", plural = "kafkausers")] #[kube(namespaced)] #[kube(status = "KafkaUserStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct KafkaUserSpec { /// Authentication mechanism enabled for this Kafka user. The supported authentication mechanisms are `scram-sha-512`, `tls`, and `tls-external`. @@ -59,7 +60,7 @@ pub struct KafkaUserAuthentication { } /// Specify the password for the user. If not set, a new password is generated by the User Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserAuthenticationPassword { /// Secret from which the password should be read. #[serde(rename = "valueFrom")] @@ -67,7 +68,7 @@ pub struct KafkaUserAuthenticationPassword { } /// Secret from which the password should be read. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserAuthenticationPasswordValueFrom { /// Selects a key of a Secret in the resource's namespace. #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKeyRef")] @@ -75,7 +76,7 @@ pub struct KafkaUserAuthenticationPasswordValueFrom { } /// Selects a key of a Secret in the resource's namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserAuthenticationPasswordValueFromSecretKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -198,7 +199,7 @@ pub enum KafkaUserAuthorizationType { } /// Quotas on requests to control the broker resources used by clients. Network bandwidth and request rate quotas can be enforced.Kafka documentation for Kafka User quotas can be found at http://kafka.apache.org/documentation/#design_quotas. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserQuotas { /// A quota on the maximum bytes per-second that each client group can fetch from a broker before the clients in the group are throttled. Defined on a per-broker basis. #[serde(default, skip_serializing_if = "Option::is_none", rename = "consumerByteRate")] @@ -215,7 +216,7 @@ pub struct KafkaUserQuotas { } /// Template to specify how Kafka User `Secrets` are generated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserTemplate { /// Template for KafkaUser resources. The template allows users to specify how the `Secret` with password or TLS certificates is generated. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -223,7 +224,7 @@ pub struct KafkaUserTemplate { } /// Template for KafkaUser resources. The template allows users to specify how the `Secret` with password or TLS certificates is generated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserTemplateSecret { /// Metadata applied to the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -231,7 +232,7 @@ pub struct KafkaUserTemplateSecret { } /// Metadata applied to the resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserTemplateSecretMetadata { /// Annotations added to the Kubernetes resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -242,7 +243,7 @@ pub struct KafkaUserTemplateSecretMetadata { } /// The status of the Kafka User. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KafkaUserStatus { /// List of status conditions. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/kamaji_clastix_io/v1alpha1/datastores.rs b/kube-custom-resources-rs/src/kamaji_clastix_io/v1alpha1/datastores.rs index 980968014..f6f64646d 100644 --- a/kube-custom-resources-rs/src/kamaji_clastix_io/v1alpha1/datastores.rs +++ b/kube-custom-resources-rs/src/kamaji_clastix_io/v1alpha1/datastores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/clastix/kamaji/kamaji.clastix.io/v1alpha1/datastores.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/clastix/kamaji/kamaji.clastix.io/v1alpha1/datastores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -33,13 +33,13 @@ pub struct DataStoreSpec { /// In case of authentication enabled for the given data store, specifies the username and password pair. /// This value is optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataStoreBasicAuth { pub password: DataStoreBasicAuthPassword, pub username: DataStoreBasicAuthUsername, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataStoreBasicAuthPassword { /// Bare content of the file, base64 encoded. /// It has precedence over the SecretReference value. @@ -49,7 +49,7 @@ pub struct DataStoreBasicAuthPassword { pub secret_reference: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataStoreBasicAuthPasswordSecretReference { /// Name of the key for the given Secret reference where the content is stored. /// This value is mandatory. @@ -63,7 +63,7 @@ pub struct DataStoreBasicAuthPasswordSecretReference { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataStoreBasicAuthUsername { /// Bare content of the file, base64 encoded. /// It has precedence over the SecretReference value. @@ -73,7 +73,7 @@ pub struct DataStoreBasicAuthUsername { pub secret_reference: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataStoreBasicAuthUsernameSecretReference { /// Name of the key for the given Secret reference where the content is stored. /// This value is mandatory. @@ -102,7 +102,7 @@ pub enum DataStoreDriver { /// Defines the TLS/SSL configuration required to connect to the data store in a secure way. /// This value is optional. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataStoreTlsConfig { /// Retrieve the Certificate Authority certificate and private key, such as bare content of the file, or a SecretReference. /// The key reference is required since etcd authentication is based on certificates, and Kamaji is responsible in creating this. @@ -115,14 +115,14 @@ pub struct DataStoreTlsConfig { /// Retrieve the Certificate Authority certificate and private key, such as bare content of the file, or a SecretReference. /// The key reference is required since etcd authentication is based on certificates, and Kamaji is responsible in creating this. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataStoreTlsConfigCertificateAuthority { pub certificate: DataStoreTlsConfigCertificateAuthorityCertificate, #[serde(default, skip_serializing_if = "Option::is_none", rename = "privateKey")] pub private_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataStoreTlsConfigCertificateAuthorityCertificate { /// Bare content of the file, base64 encoded. /// It has precedence over the SecretReference value. @@ -132,7 +132,7 @@ pub struct DataStoreTlsConfigCertificateAuthorityCertificate { pub secret_reference: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataStoreTlsConfigCertificateAuthorityCertificateSecretReference { /// Name of the key for the given Secret reference where the content is stored. /// This value is mandatory. @@ -146,7 +146,7 @@ pub struct DataStoreTlsConfigCertificateAuthorityCertificateSecretReference { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataStoreTlsConfigCertificateAuthorityPrivateKey { /// Bare content of the file, base64 encoded. /// It has precedence over the SecretReference value. @@ -156,7 +156,7 @@ pub struct DataStoreTlsConfigCertificateAuthorityPrivateKey { pub secret_reference: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataStoreTlsConfigCertificateAuthorityPrivateKeySecretReference { /// Name of the key for the given Secret reference where the content is stored. /// This value is mandatory. @@ -171,14 +171,14 @@ pub struct DataStoreTlsConfigCertificateAuthorityPrivateKeySecretReference { } /// Specifies the SSL/TLS key and private key pair used to connect to the data store. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataStoreTlsConfigClientCertificate { pub certificate: DataStoreTlsConfigClientCertificateCertificate, #[serde(rename = "privateKey")] pub private_key: DataStoreTlsConfigClientCertificatePrivateKey, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataStoreTlsConfigClientCertificateCertificate { /// Bare content of the file, base64 encoded. /// It has precedence over the SecretReference value. @@ -188,7 +188,7 @@ pub struct DataStoreTlsConfigClientCertificateCertificate { pub secret_reference: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataStoreTlsConfigClientCertificateCertificateSecretReference { /// Name of the key for the given Secret reference where the content is stored. /// This value is mandatory. @@ -202,7 +202,7 @@ pub struct DataStoreTlsConfigClientCertificateCertificateSecretReference { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataStoreTlsConfigClientCertificatePrivateKey { /// Bare content of the file, base64 encoded. /// It has precedence over the SecretReference value. @@ -212,7 +212,7 @@ pub struct DataStoreTlsConfigClientCertificatePrivateKey { pub secret_reference: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataStoreTlsConfigClientCertificatePrivateKeySecretReference { /// Name of the key for the given Secret reference where the content is stored. /// This value is mandatory. @@ -227,7 +227,7 @@ pub struct DataStoreTlsConfigClientCertificatePrivateKeySecretReference { } /// DataStoreStatus defines the observed state of DataStore. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DataStoreStatus { /// List of the Tenant Control Planes, namespaced named, using this data store. #[serde(default, skip_serializing_if = "Option::is_none", rename = "usedBy")] diff --git a/kube-custom-resources-rs/src/kamaji_clastix_io/v1alpha1/tenantcontrolplanes.rs b/kube-custom-resources-rs/src/kamaji_clastix_io/v1alpha1/tenantcontrolplanes.rs index 98fc459a6..d3c203c6f 100644 --- a/kube-custom-resources-rs/src/kamaji_clastix_io/v1alpha1/tenantcontrolplanes.rs +++ b/kube-custom-resources-rs/src/kamaji_clastix_io/v1alpha1/tenantcontrolplanes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/clastix/kamaji/kamaji.clastix.io/v1alpha1/tenantcontrolplanes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/clastix/kamaji/kamaji.clastix.io/v1alpha1/tenantcontrolplanes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -40,7 +40,7 @@ pub struct TenantControlPlaneSpec { } /// Addons contain which addons are enabled -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneAddons { /// Enables the DNS addon in the Tenant Cluster. /// The registry and the tag are configurable, the image is hard-coded to `coredns`. @@ -57,7 +57,7 @@ pub struct TenantControlPlaneAddons { /// Enables the DNS addon in the Tenant Cluster. /// The registry and the tag are configurable, the image is hard-coded to `coredns`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneAddonsCoreDns { /// ImageRepository sets the container registry to pull images from. /// if not set, the default ImageRepository will be used instead. @@ -70,7 +70,7 @@ pub struct TenantControlPlaneAddonsCoreDns { } /// Enables the Konnectivity addon in the Tenant Cluster, required if the worker nodes are in a different network. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneAddonsKonnectivity { #[serde(default, skip_serializing_if = "Option::is_none")] pub agent: Option, @@ -78,7 +78,7 @@ pub struct TenantControlPlaneAddonsKonnectivity { pub server: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneAddonsKonnectivityAgent { /// ExtraArgs allows adding additional arguments to said component. /// WARNING - This option can override existing konnectivity @@ -100,7 +100,7 @@ pub struct TenantControlPlaneAddonsKonnectivityAgent { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneAddonsKonnectivityAgentTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -128,7 +128,7 @@ pub struct TenantControlPlaneAddonsKonnectivityAgentTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneAddonsKonnectivityServer { /// ExtraArgs allows adding additional arguments to said component. /// WARNING - This option can override existing konnectivity @@ -150,7 +150,7 @@ pub struct TenantControlPlaneAddonsKonnectivityServer { } /// Resources define the amount of CPU and memory to allocate to the Konnectivity server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneAddonsKonnectivityServerResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -176,7 +176,7 @@ pub struct TenantControlPlaneAddonsKonnectivityServerResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneAddonsKonnectivityServerResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -186,7 +186,7 @@ pub struct TenantControlPlaneAddonsKonnectivityServerResourcesClaims { /// Enables the kube-proxy addon in the Tenant Cluster. /// The registry and the tag are configurable, the image is hard-coded to `kube-proxy`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneAddonsKubeProxy { /// ImageRepository sets the container registry to pull images from. /// if not set, the default ImageRepository will be used instead. @@ -213,7 +213,7 @@ pub struct TenantControlPlaneControlPlane { } /// Defining the options for the deployed Tenant Control Plane as Deployment resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeployment { /// AdditionalContainers allows adding additional containers to the Control Plane deployment. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalContainers")] @@ -286,7 +286,7 @@ pub struct TenantControlPlaneControlPlaneDeployment { } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainers { /// Arguments to the entrypoint. /// The container image's CMD is used if this is not provided. @@ -453,7 +453,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -474,7 +474,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -493,7 +493,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersEnvValueF } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -513,7 +513,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersEnvValueF /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -525,7 +525,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersEnvValueF /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -538,7 +538,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersEnvValueF } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -557,7 +557,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersEnvValueF } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -571,7 +571,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersEnvFromConfigMapRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -588,7 +588,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersEnvFromCo } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersEnvFromSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -606,7 +606,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersEnvFromSe /// Actions that the management system should take in response to container lifecycle events. /// Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, /// the container is terminated and restarted according to its restart policy. @@ -631,7 +631,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecycle /// the container is terminated and restarted according to its restart policy. /// Other management of the container blocks until the hook completes. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -650,7 +650,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecycle } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -662,7 +662,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecycle } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -685,7 +685,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecycle } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -695,7 +695,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecycle } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecyclePostStartSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -704,7 +704,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecycle /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -724,7 +724,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecycle /// period (unless delayed by finalizers). Other management of the container blocks until the hook completes /// or until the termination grace period is reached. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -743,7 +743,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecycle } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -755,7 +755,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecycle } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -778,7 +778,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecycle } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -788,7 +788,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecycle } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecyclePreStopSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -797,7 +797,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecycle /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -812,7 +812,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLifecycle /// Container will be restarted if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -862,7 +862,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLivenessP } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -874,7 +874,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLivenessP } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -888,7 +888,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLivenessP } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -911,7 +911,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLivenessP } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -921,7 +921,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLivenessP } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -933,7 +933,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersLivenessP } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersPorts { /// Number of port to expose on the pod's IP address. /// This must be a valid port number, 0 < x < 65536. @@ -963,7 +963,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersPorts { /// Container will be removed from service endpoints if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1013,7 +1013,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersReadiness } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -1025,7 +1025,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersReadiness } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1039,7 +1039,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersReadiness } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -1062,7 +1062,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersReadiness } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -1072,7 +1072,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersReadiness } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1084,7 +1084,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersReadiness } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. /// Supported values: cpu, memory. @@ -1099,7 +1099,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersResizePol /// Compute Resources required by this container. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -1125,7 +1125,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersResources } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -1136,7 +1136,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersResources /// SecurityContext defines the security options the container should be run with. /// If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. /// More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -1221,7 +1221,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersSecurityC /// appArmorProfile is the AppArmor options to use by this container. If set, this profile /// overrides the pod's appArmorProfile. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersSecurityContextAppArmorProfile { /// localhostProfile indicates a profile loaded on the node that should be used. /// The profile must be preconfigured on the node to work. @@ -1241,7 +1241,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersSecurityC /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1256,7 +1256,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersSecurityC /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1276,7 +1276,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersSecurityC /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -1299,7 +1299,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersSecurityC /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -1330,7 +1330,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersSecurityC /// when it might take a long time to load data or warm a cache, than during steady-state operation. /// This cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1380,7 +1380,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersStartupPr } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -1392,7 +1392,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersStartupPr } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1406,7 +1406,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersStartupPr } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -1429,7 +1429,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersStartupPr } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersStartupProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -1439,7 +1439,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersStartupPr } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1451,7 +1451,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersStartupPr } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -1461,7 +1461,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersVolumeDev } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -1516,7 +1516,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalContainersVolumeMou } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainers { /// Arguments to the entrypoint. /// The container image's CMD is used if this is not provided. @@ -1683,7 +1683,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -1704,7 +1704,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1723,7 +1723,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersEnvVa } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1743,7 +1743,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersEnvVa /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1755,7 +1755,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersEnvVa /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1768,7 +1768,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersEnvVa } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1787,7 +1787,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersEnvVa } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -1801,7 +1801,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersEnvFr } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersEnvFromConfigMapRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -1818,7 +1818,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersEnvFr } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersEnvFromSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -1836,7 +1836,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersEnvFr /// Actions that the management system should take in response to container lifecycle events. /// Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, /// the container is terminated and restarted according to its restart policy. @@ -1861,7 +1861,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifec /// the container is terminated and restarted according to its restart policy. /// Other management of the container blocks until the hook completes. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1880,7 +1880,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifec } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -1892,7 +1892,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifec } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -1915,7 +1915,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifec } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -1925,7 +1925,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifec } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifecyclePostStartSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -1934,7 +1934,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifec /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1954,7 +1954,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifec /// period (unless delayed by finalizers). Other management of the container blocks until the hook completes /// or until the termination grace period is reached. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1973,7 +1973,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifec } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -1985,7 +1985,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifec } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2008,7 +2008,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifec } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2018,7 +2018,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifec } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifecyclePreStopSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -2027,7 +2027,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifec /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2042,7 +2042,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLifec /// Container will be restarted if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2092,7 +2092,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLiven } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2104,7 +2104,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLiven } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2118,7 +2118,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLiven } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2141,7 +2141,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLiven } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2151,7 +2151,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLiven } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2163,7 +2163,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersLiven } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersPorts { /// Number of port to expose on the pod's IP address. /// This must be a valid port number, 0 < x < 65536. @@ -2193,7 +2193,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersPorts /// Container will be removed from service endpoints if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2243,7 +2243,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersReadi } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2255,7 +2255,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersReadi } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2269,7 +2269,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersReadi } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2292,7 +2292,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersReadi } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2302,7 +2302,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersReadi } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2314,7 +2314,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersReadi } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. /// Supported values: cpu, memory. @@ -2329,7 +2329,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersResiz /// Compute Resources required by this container. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -2355,7 +2355,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersResou } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -2366,7 +2366,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersResou /// SecurityContext defines the security options the container should be run with. /// If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. /// More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -2451,7 +2451,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersSecur /// appArmorProfile is the AppArmor options to use by this container. If set, this profile /// overrides the pod's appArmorProfile. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersSecurityContextAppArmorProfile { /// localhostProfile indicates a profile loaded on the node that should be used. /// The profile must be preconfigured on the node to work. @@ -2471,7 +2471,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersSecur /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2486,7 +2486,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersSecur /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2506,7 +2506,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersSecur /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -2529,7 +2529,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersSecur /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -2560,7 +2560,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersSecur /// when it might take a long time to load data or warm a cache, than during steady-state operation. /// This cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2610,7 +2610,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersStart } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2622,7 +2622,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersStart } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2636,7 +2636,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersStart } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2659,7 +2659,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersStart } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersStartupProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2669,7 +2669,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersStart } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2681,7 +2681,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersStart } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -2691,7 +2691,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersVolum } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -2746,7 +2746,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalInitContainersVolum } /// AdditionalMetadata defines which additional metadata, such as labels and annotations, must be attached to the created resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -2756,7 +2756,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalMetadata { /// AdditionalVolumeMounts allows to mount an additional volume into each component of the Control Plane /// (kube-apiserver, controller-manager, and scheduler). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumeMounts { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiServer")] pub api_server: Option>, @@ -2767,7 +2767,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumeMounts { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumeMountsApiServer { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -2822,7 +2822,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumeMountsApiServ } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumeMountsControllerManager { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -2877,7 +2877,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumeMountsControl } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumeMountsScheduler { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -2932,7 +2932,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumeMountsSchedul } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. @@ -3082,7 +3082,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -3108,7 +3108,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesAwsElasticBl } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -3134,7 +3134,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force /// the ReadOnly setting in VolumeMounts. @@ -3149,7 +3149,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it @@ -3178,7 +3178,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesCephfs { /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesCephfsSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -3193,7 +3193,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesCephfsSecret /// cinder represents a cinder volume attached and mounted on kubelets host machine. /// More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesCinder { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -3218,7 +3218,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesCinder { /// secretRef is optional: points to a secret object containing parameters used to connect /// to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesCinderSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -3232,7 +3232,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesCinderSecret } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -3267,7 +3267,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -3287,7 +3287,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesConfigMapIte } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesCsi { /// driver is the name of the CSI driver that handles this volume. /// Consult with your admin for the correct name as registered in the cluster. @@ -3319,7 +3319,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesCsi { /// NodePublishVolume and NodeUnpublishVolume calls. /// This field is optional, and may be empty if no secret is required. If the /// secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesCsiNodePublishSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -3333,7 +3333,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesCsiNodePubli } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a /// Optional: mode bits used to set permissions on created files by default. @@ -3351,7 +3351,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesDownwardApi } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -3373,7 +3373,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesDownwardApiI } /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3385,7 +3385,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesDownwardApiI /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -3399,7 +3399,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesDownwardApiI /// emptyDir represents a temporary directory that shares a pod's lifetime. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. /// The default is "" which means to use the node's default medium. @@ -3445,7 +3445,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesEmptyDir { /// /// A pod can use both types of ephemeral volumes and /// persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. /// The pod in which this EphemeralVolumeSource is embedded will be the @@ -3499,7 +3499,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesEphemeral { /// /// /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during @@ -3516,7 +3516,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesEphemeralVol /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during /// validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesEphemeralVolumeClaimTemplateMetadata { } @@ -3524,7 +3524,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesEphemeralVol /// copied unchanged into the PVC that gets created from this /// template. The same fields as in a PersistentVolumeClaim /// are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -3610,7 +3610,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesEphemeralVol /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -3646,7 +3646,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesEphemeralVol /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -3669,7 +3669,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesEphemeralVol /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesEphemeralVolumeClaimTemplateSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -3684,7 +3684,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesEphemeralVol } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3698,7 +3698,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesEphemeralVol /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3714,7 +3714,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesEphemeralVol } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesFc { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -3740,7 +3740,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesFc { /// flexVolume represents a generic volume resource that is /// provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -3770,7 +3770,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesFlexVolume { /// empty if no secret object is specified. If the secret object /// contains more than one secret, all secrets are passed to the plugin /// scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesFlexVolumeSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -3784,7 +3784,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesFlexVolumeSe } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker /// should be considered as deprecated @@ -3798,7 +3798,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesFlocker { /// gcePersistentDisk represents a GCE Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -3829,7 +3829,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesGcePersisten /// DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an /// EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir /// into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesGitRepo { /// directory is the target directory name. /// Must not contain or start with '..'. If '.' is supplied, the volume directory will be the @@ -3846,7 +3846,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesGitRepo { /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod @@ -3869,7 +3869,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesGlusterfs { /// --- /// TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not /// mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesHostPath { /// path of the directory on the host. /// If the path is a symlink, it will follow the link to the real path. @@ -3885,7 +3885,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesHostPath { /// iscsi represents an ISCSI Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -3931,7 +3931,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesIscsiSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -3946,7 +3946,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesIscsiSecretR /// nfs represents an NFS mount on the host that shares a pod's lifetime /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesNfs { /// path that is exported by the NFS server. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs @@ -3964,7 +3964,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesNfs { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -3977,7 +3977,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesPersistentVo } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -3990,7 +3990,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesPhotonPersis } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesPortworxVolume { /// fSType represents the filesystem type to mount /// Must be a filesystem type supported by the host operating system. @@ -4007,7 +4007,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesPortworxVolu } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -4023,7 +4023,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSources { /// ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field /// of ClusterTrustBundle objects in an auto-updating file. @@ -4073,7 +4073,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSou /// comments and block headers are stripped. Certificates are deduplicated. /// The ordering of certificates within the file is arbitrary, and Kubelet /// may change the order over time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSourcesClusterTrustBundle { /// Select all ClusterTrustBundles that match this label selector. Only has /// effect if signerName is set. Mutually-exclusive with name. If unset, @@ -4105,7 +4105,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSou /// effect if signerName is set. Mutually-exclusive with name. If unset, /// interpreted as "match nothing". If set but empty, interpreted as "match /// everything". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSourcesClusterTrustBundleLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4119,7 +4119,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSou /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSourcesClusterTrustBundleLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4135,7 +4135,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSou } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced /// ConfigMap will be projected into the volume as a file whose name is the @@ -4161,7 +4161,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSou } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -4181,7 +4181,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSou } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4189,7 +4189,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSou } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -4211,7 +4211,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSou } /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4223,7 +4223,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSou /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -4236,7 +4236,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSou } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced /// Secret will be projected into the volume as a file whose name is the @@ -4262,7 +4262,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSou } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -4282,7 +4282,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSou } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token /// must identify itself with an identifier specified in the audience of the @@ -4304,7 +4304,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesProjectedSou } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesQuobyte { /// group to map volume access to /// Default is no group @@ -4332,7 +4332,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesQuobyte { /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -4379,7 +4379,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesRbd { /// overrides keyring. /// Default is nil. /// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesRbdSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -4393,7 +4393,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesRbdSecretRef } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesScaleIo { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -4434,7 +4434,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesScaleIo { /// secretRef references to the secret for ScaleIO user and other /// sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesScaleIoSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -4449,7 +4449,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesScaleIoSecre /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -4479,7 +4479,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesSecretItems { /// key is the key to project. pub key: String, @@ -4499,7 +4499,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesSecretItems } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesStorageos { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -4530,7 +4530,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesStorageos { /// secretRef specifies the secret to use for obtaining the StorageOS API /// credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesStorageosSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -4544,7 +4544,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesStorageosSec } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesVsphereVolume { /// fsType is filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -4564,7 +4564,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAdditionalVolumesVsphereVolum /// If specified, the Tenant Control Plane pod's scheduling constraints. /// More info: https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -4578,7 +4578,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -4602,7 +4602,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: TenantControlPlaneControlPlaneDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -4611,7 +4611,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityNodeAffinityPreferred } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4623,7 +4623,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityNodeAffinityPreferred /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -4641,7 +4641,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityNodeAffinityPreferred /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -4662,7 +4662,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityNodeAffinityPreferred /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -4672,7 +4672,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityNodeAffinityRequiredD /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4684,7 +4684,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityNodeAffinityRequiredD /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -4702,7 +4702,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityNodeAffinityRequiredD /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -4719,7 +4719,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityNodeAffinityRequiredD } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -4744,7 +4744,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -4755,7 +4755,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAffinityPreferredD } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -4807,7 +4807,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAffinityPreferredD /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4821,7 +4821,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAffinityPreferredD /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4841,7 +4841,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAffinityPreferredD /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4855,7 +4855,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAffinityPreferredD /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4876,7 +4876,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAffinityPreferredD /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -4928,7 +4928,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAffinityRequiredDu /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4942,7 +4942,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAffinityRequiredDu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4962,7 +4962,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAffinityRequiredDu /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4976,7 +4976,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAffinityRequiredDu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4992,7 +4992,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAffinityRequiredDu } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -5017,7 +5017,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -5028,7 +5028,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAntiAffinityPrefer } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -5080,7 +5080,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAntiAffinityPrefer /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5094,7 +5094,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAntiAffinityPrefer /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5114,7 +5114,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAntiAffinityPrefer /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5128,7 +5128,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAntiAffinityPrefer /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5149,7 +5149,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAntiAffinityPrefer /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -5201,7 +5201,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAntiAffinityRequir /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5215,7 +5215,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAntiAffinityRequir /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5235,7 +5235,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAntiAffinityRequir /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5249,7 +5249,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAntiAffinityRequir /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5268,7 +5268,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentAffinityPodAntiAffinityRequir /// such as kube-apiserver, controller-manager, and scheduler. WARNING - This option /// can override existing parameters and cause components to misbehave in unxpected ways. /// Only modify if you know what you are doing. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentExtraArgs { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiServer")] pub api_server: Option>, @@ -5282,7 +5282,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentExtraArgs { } /// AdditionalMetadata defines which additional metadata, such as labels and annotations, must be attached to the created resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentPodAdditionalMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -5292,7 +5292,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentPodAdditionalMetadata { /// RegistrySettings allows to override the default images for the given Tenant Control Plane instance. /// It could be used to point to a different container registry rather than the public one. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentRegistrySettings { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiServerImage")] pub api_server_image: Option, @@ -5310,7 +5310,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentRegistrySettings { /// Resources defines the amount of memory and CPU to allocate to each component of the Control Plane /// (kube-apiserver, controller-manager, and scheduler). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentResources { /// ResourceRequirements describes the compute resource requirements. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiServer")] @@ -5328,7 +5328,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentResources { } /// ResourceRequirements describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentResourcesApiServer { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -5354,7 +5354,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentResourcesApiServer { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentResourcesApiServerClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -5363,7 +5363,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentResourcesApiServerClaims { } /// ResourceRequirements describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentResourcesControllerManager { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -5389,7 +5389,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentResourcesControllerManager { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentResourcesControllerManagerClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -5399,7 +5399,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentResourcesControllerManagerCla /// Define the kine container resources. /// Available only if Kamaji is running using Kine as backing storage. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentResourcesKine { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -5425,7 +5425,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentResourcesKine { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentResourcesKineClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -5434,7 +5434,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentResourcesKineClaims { } /// ResourceRequirements describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentResourcesScheduler { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -5460,7 +5460,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentResourcesScheduler { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentResourcesSchedulerClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -5470,7 +5470,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentResourcesSchedulerClaims { /// Strategy describes how to replace existing pods with new ones for the given Tenant Control Plane. /// Default value is set to Rolling Update, with a blue/green strategy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentStrategy { /// Rolling update config params. Present only if DeploymentStrategyType = /// RollingUpdate. @@ -5489,7 +5489,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentStrategy { /// --- /// TODO: Update this to follow our convention for oneOf, whatever we decide it /// to be. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentStrategyRollingUpdate { /// The maximum number of pods that can be scheduled above the desired number of /// pods. @@ -5520,7 +5520,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentStrategyRollingUpdate { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -5549,7 +5549,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods @@ -5668,7 +5668,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods /// in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5682,7 +5682,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentTopologySpreadConstraintsLabe /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneDeploymentTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5698,7 +5698,7 @@ pub struct TenantControlPlaneControlPlaneDeploymentTopologySpreadConstraintsLabe } /// Defining the options for an Optional Ingress which will expose API Server of the Tenant Control Plane -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneIngress { /// AdditionalMetadata defines which additional metadata, such as labels and annotations, must be attached to the created resource. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalMetadata")] @@ -5712,7 +5712,7 @@ pub struct TenantControlPlaneControlPlaneIngress { } /// AdditionalMetadata defines which additional metadata, such as labels and annotations, must be attached to the created resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneIngressAdditionalMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -5732,7 +5732,7 @@ pub struct TenantControlPlaneControlPlaneService { } /// AdditionalMetadata defines which additional metadata, such as labels and annotations, must be attached to the created resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneControlPlaneServiceAdditionalMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -5750,7 +5750,7 @@ pub enum TenantControlPlaneControlPlaneServiceServiceType { } /// Kubernetes specification for tenant control plane -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneKubernetes { /// List of enabled Admission Controllers for the Tenant cluster. /// Full reference available here: https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers @@ -5761,7 +5761,7 @@ pub struct TenantControlPlaneKubernetes { pub version: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneKubernetesKubelet { /// CGroupFS defines the cgroup driver for Kubelet /// https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/configure-cgroup-driver/ @@ -5782,7 +5782,7 @@ pub enum TenantControlPlaneKubernetesKubeletCgroupfs { } /// NetworkProfile specifies how the network is -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneNetworkProfile { /// Address where API server of will be exposed. /// In case of LoadBalancer Service, this can be empty in order to use the exposed IP provided by the cloud controller manager. @@ -5810,7 +5810,7 @@ pub struct TenantControlPlaneNetworkProfile { } /// TenantControlPlaneStatus defines the observed state of TenantControlPlane. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatus { /// Addons contains the status of the different Addons #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5840,7 +5840,7 @@ pub struct TenantControlPlaneStatus { } /// Addons contains the status of the different Addons -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusAddons { /// AddonStatus defines the observed state of an Addon. #[serde(default, skip_serializing_if = "Option::is_none", rename = "coreDNS")] @@ -5854,7 +5854,7 @@ pub struct TenantControlPlaneStatusAddons { } /// AddonStatus defines the observed state of an Addon. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusAddonsCoreDns { pub enabled: bool, #[serde(default, skip_serializing_if = "Option::is_none", rename = "lastUpdate")] @@ -5862,7 +5862,7 @@ pub struct TenantControlPlaneStatusAddonsCoreDns { } /// KonnectivityStatus defines the status of Konnectivity as Addon. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusAddonsKonnectivity { #[serde(default, skip_serializing_if = "Option::is_none")] pub agent: Option, @@ -5884,7 +5884,7 @@ pub struct TenantControlPlaneStatusAddonsKonnectivity { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusAddonsKonnectivityAgent { /// Last time when k8s object was updated #[serde(default, skip_serializing_if = "Option::is_none", rename = "lastUpdate")] @@ -5896,7 +5896,7 @@ pub struct TenantControlPlaneStatusAddonsKonnectivityAgent { } /// CertificatePrivateKeyPairStatus defines the status. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusAddonsKonnectivityCertificate { #[serde(default, skip_serializing_if = "Option::is_none")] pub checksum: Option, @@ -5906,7 +5906,7 @@ pub struct TenantControlPlaneStatusAddonsKonnectivityCertificate { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusAddonsKonnectivityClusterrolebinding { /// Last time when k8s object was updated #[serde(default, skip_serializing_if = "Option::is_none", rename = "lastUpdate")] @@ -5917,7 +5917,7 @@ pub struct TenantControlPlaneStatusAddonsKonnectivityClusterrolebinding { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusAddonsKonnectivityConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub checksum: Option, @@ -5926,7 +5926,7 @@ pub struct TenantControlPlaneStatusAddonsKonnectivityConfigMap { } /// KubeconfigStatus contains information about the generated kubeconfig. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusAddonsKonnectivityKubeconfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub checksum: Option, @@ -5936,7 +5936,7 @@ pub struct TenantControlPlaneStatusAddonsKonnectivityKubeconfig { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusAddonsKonnectivitySa { /// Last time when k8s object was updated #[serde(default, skip_serializing_if = "Option::is_none", rename = "lastUpdate")] @@ -5948,7 +5948,7 @@ pub struct TenantControlPlaneStatusAddonsKonnectivitySa { } /// KubernetesServiceStatus defines the status for the Tenant Control Plane Service in the management cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusAddonsKonnectivityService { /// Current service state #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5967,7 +5967,7 @@ pub struct TenantControlPlaneStatusAddonsKonnectivityService { /// LoadBalancer contains the current status of the load-balancer, /// if one is present. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusAddonsKonnectivityServiceLoadBalancer { /// Ingress is a list containing ingress points for the load-balancer. /// Traffic intended for the service should be sent to these ingress points. @@ -5977,7 +5977,7 @@ pub struct TenantControlPlaneStatusAddonsKonnectivityServiceLoadBalancer { /// LoadBalancerIngress represents the status of a load-balancer ingress point: /// traffic intended for the service should be sent to an ingress point. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusAddonsKonnectivityServiceLoadBalancerIngress { /// Hostname is set for load-balancer ingress points that are DNS based /// (typically AWS load-balancers) @@ -6001,7 +6001,7 @@ pub struct TenantControlPlaneStatusAddonsKonnectivityServiceLoadBalancerIngress pub ports: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusAddonsKonnectivityServiceLoadBalancerIngressPorts { /// Error is to record the problem with the service port /// The format of the error shall comply with the following rules: @@ -6021,7 +6021,7 @@ pub struct TenantControlPlaneStatusAddonsKonnectivityServiceLoadBalancerIngressP } /// AddonStatus defines the observed state of an Addon. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusAddonsKubeProxy { pub enabled: bool, #[serde(default, skip_serializing_if = "Option::is_none", rename = "lastUpdate")] @@ -6030,7 +6030,7 @@ pub struct TenantControlPlaneStatusAddonsKubeProxy { /// Certificates contains information about the different certificates /// that are necessary to run a kubernetes control plane -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusCertificates { /// CertificatePrivateKeyPairStatus defines the status. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiServer")] @@ -6056,7 +6056,7 @@ pub struct TenantControlPlaneStatusCertificates { } /// CertificatePrivateKeyPairStatus defines the status. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusCertificatesApiServer { #[serde(default, skip_serializing_if = "Option::is_none")] pub checksum: Option, @@ -6067,7 +6067,7 @@ pub struct TenantControlPlaneStatusCertificatesApiServer { } /// CertificatePrivateKeyPairStatus defines the status. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusCertificatesApiServerKubeletClient { #[serde(default, skip_serializing_if = "Option::is_none")] pub checksum: Option, @@ -6078,7 +6078,7 @@ pub struct TenantControlPlaneStatusCertificatesApiServerKubeletClient { } /// CertificatePrivateKeyPairStatus defines the status. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusCertificatesCa { #[serde(default, skip_serializing_if = "Option::is_none")] pub checksum: Option, @@ -6089,7 +6089,7 @@ pub struct TenantControlPlaneStatusCertificatesCa { } /// ETCDCertificatesStatus defines the observed state of ETCD Certificate for API server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusCertificatesEtcd { /// APIServerCertificatesStatus defines the observed state of ETCD Certificate for API server. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiServer")] @@ -6100,7 +6100,7 @@ pub struct TenantControlPlaneStatusCertificatesEtcd { } /// APIServerCertificatesStatus defines the observed state of ETCD Certificate for API server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusCertificatesEtcdApiServer { #[serde(default, skip_serializing_if = "Option::is_none")] pub checksum: Option, @@ -6111,7 +6111,7 @@ pub struct TenantControlPlaneStatusCertificatesEtcdApiServer { } /// ETCDCertificateStatus defines the observed state of ETCD Certificate for API server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusCertificatesEtcdCa { #[serde(default, skip_serializing_if = "Option::is_none")] pub checksum: Option, @@ -6122,7 +6122,7 @@ pub struct TenantControlPlaneStatusCertificatesEtcdCa { } /// CertificatePrivateKeyPairStatus defines the status. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusCertificatesFrontProxyCa { #[serde(default, skip_serializing_if = "Option::is_none")] pub checksum: Option, @@ -6133,7 +6133,7 @@ pub struct TenantControlPlaneStatusCertificatesFrontProxyCa { } /// CertificatePrivateKeyPairStatus defines the status. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusCertificatesFrontProxyClient { #[serde(default, skip_serializing_if = "Option::is_none")] pub checksum: Option, @@ -6144,7 +6144,7 @@ pub struct TenantControlPlaneStatusCertificatesFrontProxyClient { } /// PublicKeyPrivateKeyPairStatus defines the status. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusCertificatesSa { #[serde(default, skip_serializing_if = "Option::is_none")] pub checksum: Option, @@ -6155,7 +6155,7 @@ pub struct TenantControlPlaneStatusCertificatesSa { } /// KubeadmPhase contains the status of the kubeadm phases action -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusKubeadmPhase { /// KubeadmPhaseStatus contains the status of a kubeadm phase action. #[serde(rename = "bootstrapToken")] @@ -6163,7 +6163,7 @@ pub struct TenantControlPlaneStatusKubeadmPhase { } /// KubeadmPhaseStatus contains the status of a kubeadm phase action. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusKubeadmPhaseBootstrapToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub checksum: Option, @@ -6172,7 +6172,7 @@ pub struct TenantControlPlaneStatusKubeadmPhaseBootstrapToken { } /// KubeadmConfig contains the status of the configuration required by kubeadm -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusKubeadmconfig { /// Checksum of the kubeadm configuration to detect changes #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6184,7 +6184,7 @@ pub struct TenantControlPlaneStatusKubeadmconfig { } /// KubeConfig contains information about the kubenconfigs that control plane pieces need -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusKubeconfig { /// KubeconfigStatus contains information about the generated kubeconfig. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6198,7 +6198,7 @@ pub struct TenantControlPlaneStatusKubeconfig { } /// KubeconfigStatus contains information about the generated kubeconfig. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusKubeconfigAdmin { #[serde(default, skip_serializing_if = "Option::is_none")] pub checksum: Option, @@ -6209,7 +6209,7 @@ pub struct TenantControlPlaneStatusKubeconfigAdmin { } /// KubeconfigStatus contains information about the generated kubeconfig. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusKubeconfigControllerManager { #[serde(default, skip_serializing_if = "Option::is_none")] pub checksum: Option, @@ -6220,7 +6220,7 @@ pub struct TenantControlPlaneStatusKubeconfigControllerManager { } /// KubeconfigStatus contains information about the generated kubeconfig. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusKubeconfigScheduler { #[serde(default, skip_serializing_if = "Option::is_none")] pub checksum: Option, @@ -6231,7 +6231,7 @@ pub struct TenantControlPlaneStatusKubeconfigScheduler { } /// Kubernetes contains information about the reconciliation of the required Kubernetes resources deployed in the admin cluster -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusKubernetesResources { /// KubernetesDeploymentStatus defines the status for the Tenant Control Plane Deployment in the management cluster. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6248,7 +6248,7 @@ pub struct TenantControlPlaneStatusKubernetesResources { } /// KubernetesDeploymentStatus defines the status for the Tenant Control Plane Deployment in the management cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusKubernetesResourcesDeployment { /// Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. #[serde(default, skip_serializing_if = "Option::is_none", rename = "availableReplicas")] @@ -6290,7 +6290,7 @@ pub struct TenantControlPlaneStatusKubernetesResourcesDeployment { } /// KubernetesIngressStatus defines the status for the Tenant Control Plane Ingress in the management cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusKubernetesResourcesIngress { /// loadBalancer contains the current status of the load-balancer. #[serde(default, skip_serializing_if = "Option::is_none", rename = "loadBalancer")] @@ -6302,7 +6302,7 @@ pub struct TenantControlPlaneStatusKubernetesResourcesIngress { } /// loadBalancer contains the current status of the load-balancer. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusKubernetesResourcesIngressLoadBalancer { /// ingress is a list containing ingress points for the load-balancer. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6310,7 +6310,7 @@ pub struct TenantControlPlaneStatusKubernetesResourcesIngressLoadBalancer { } /// IngressLoadBalancerIngress represents the status of a load-balancer ingress point. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusKubernetesResourcesIngressLoadBalancerIngress { /// hostname is set for load-balancer ingress points that are DNS based. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6324,7 +6324,7 @@ pub struct TenantControlPlaneStatusKubernetesResourcesIngressLoadBalancerIngress } /// IngressPortStatus represents the error condition of a service port -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusKubernetesResourcesIngressLoadBalancerIngressPorts { /// error is to record the problem with the service port /// The format of the error shall comply with the following rules: @@ -6344,7 +6344,7 @@ pub struct TenantControlPlaneStatusKubernetesResourcesIngressLoadBalancerIngress } /// KubernetesServiceStatus defines the status for the Tenant Control Plane Service in the management cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusKubernetesResourcesService { /// Current service state #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6363,7 +6363,7 @@ pub struct TenantControlPlaneStatusKubernetesResourcesService { /// LoadBalancer contains the current status of the load-balancer, /// if one is present. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusKubernetesResourcesServiceLoadBalancer { /// Ingress is a list containing ingress points for the load-balancer. /// Traffic intended for the service should be sent to these ingress points. @@ -6373,7 +6373,7 @@ pub struct TenantControlPlaneStatusKubernetesResourcesServiceLoadBalancer { /// LoadBalancerIngress represents the status of a load-balancer ingress point: /// traffic intended for the service should be sent to an ingress point. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusKubernetesResourcesServiceLoadBalancerIngress { /// Hostname is set for load-balancer ingress points that are DNS based /// (typically AWS load-balancers) @@ -6397,7 +6397,7 @@ pub struct TenantControlPlaneStatusKubernetesResourcesServiceLoadBalancerIngress pub ports: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusKubernetesResourcesServiceLoadBalancerIngressPorts { /// Error is to record the problem with the service port /// The format of the error shall comply with the following rules: @@ -6417,7 +6417,7 @@ pub struct TenantControlPlaneStatusKubernetesResourcesServiceLoadBalancerIngress } /// KubernetesVersion contains the information regarding the running Kubernetes version, and its upgrade status. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusKubernetesResourcesVersion { /// Status returns the current status of the Kubernetes version, such as its provisioning state, or completed upgrade. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6439,7 +6439,7 @@ pub enum TenantControlPlaneStatusKubernetesResourcesVersionStatus { } /// Storage Status contains information about Kubernetes storage system -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusStorage { #[serde(default, skip_serializing_if = "Option::is_none")] pub certificate: Option, @@ -6453,7 +6453,7 @@ pub struct TenantControlPlaneStatusStorage { pub setup: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusStorageCertificate { #[serde(default, skip_serializing_if = "Option::is_none")] pub checksum: Option, @@ -6463,7 +6463,7 @@ pub struct TenantControlPlaneStatusStorageCertificate { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusStorageConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub checksum: Option, @@ -6471,7 +6471,7 @@ pub struct TenantControlPlaneStatusStorageConfig { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantControlPlaneStatusStorageSetup { #[serde(default, skip_serializing_if = "Option::is_none")] pub checksum: Option, diff --git a/kube-custom-resources-rs/src/karpenter_k8s_aws/v1beta1/ec2nodeclasses.rs b/kube-custom-resources-rs/src/karpenter_k8s_aws/v1beta1/ec2nodeclasses.rs index 0649b1927..c48b0a847 100644 --- a/kube-custom-resources-rs/src/karpenter_k8s_aws/v1beta1/ec2nodeclasses.rs +++ b/kube-custom-resources-rs/src/karpenter_k8s_aws/v1beta1/ec2nodeclasses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/karpenter-provider-aws/karpenter.k8s.aws/v1beta1/ec2nodeclasses.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/karpenter-provider-aws/karpenter.k8s.aws/v1beta1/ec2nodeclasses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -105,7 +105,7 @@ pub enum EC2NodeClassAmiFamily { /// AMISelectorTerm defines selection logic for an ami used by Karpenter to launch nodes. /// If multiple fields are used for selection, the requirements are ANDed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EC2NodeClassAmiSelectorTerms { /// ID is the ami id in EC2 #[serde(default, skip_serializing_if = "Option::is_none")] @@ -124,7 +124,7 @@ pub struct EC2NodeClassAmiSelectorTerms { pub tags: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EC2NodeClassBlockDeviceMappings { /// The device name (for example, /dev/sdh or xvdh). #[serde(default, skip_serializing_if = "Option::is_none", rename = "deviceName")] @@ -139,7 +139,7 @@ pub struct EC2NodeClassBlockDeviceMappings { } /// EBS contains parameters used to automatically set up EBS volumes when an instance is launched. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EC2NodeClassBlockDeviceMappingsEbs { /// DeleteOnTermination indicates whether the EBS volume is deleted on instance termination. #[serde(default, skip_serializing_if = "Option::is_none", rename = "deleteOnTermination")] @@ -253,7 +253,7 @@ pub enum EC2NodeClassInstanceStorePolicy { /// If omitted, defaults to httpEndpoint enabled, with httpProtocolIPv6 /// disabled, with httpPutResponseLimit of 2, and with httpTokens /// required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EC2NodeClassMetadataOptions { /// HTTPEndpoint enables or disables the HTTP metadata endpoint on provisioned /// nodes. If metadata options is non-nil, but this parameter is not specified, @@ -370,7 +370,7 @@ pub enum EC2NodeClassMetadataOptionsHttpTokens { /// SecurityGroupSelectorTerm defines selection logic for a security group used by Karpenter to launch nodes. /// If multiple fields are used for selection, the requirements are ANDed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EC2NodeClassSecurityGroupSelectorTerms { /// ID is the security group id in EC2 #[serde(default, skip_serializing_if = "Option::is_none")] @@ -387,7 +387,7 @@ pub struct EC2NodeClassSecurityGroupSelectorTerms { /// SubnetSelectorTerm defines selection logic for a subnet used by Karpenter to launch nodes. /// If multiple fields are used for selection, the requirements are ANDed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EC2NodeClassSubnetSelectorTerms { /// ID is the subnet id in EC2 #[serde(default, skip_serializing_if = "Option::is_none")] @@ -399,7 +399,7 @@ pub struct EC2NodeClassSubnetSelectorTerms { } /// EC2NodeClassStatus contains the resolved state of the EC2NodeClass -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EC2NodeClassStatus { /// AMI contains the current AMI values that are available to the /// cluster under the AMI selectors. @@ -422,7 +422,7 @@ pub struct EC2NodeClassStatus { } /// AMI contains resolved AMI selector values utilized for node launch -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EC2NodeClassStatusAmis { /// ID of the AMI pub id: String, @@ -435,7 +435,7 @@ pub struct EC2NodeClassStatusAmis { /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EC2NodeClassStatusAmisRequirements { /// The label key that the selector applies to. pub key: String, @@ -452,7 +452,7 @@ pub struct EC2NodeClassStatusAmisRequirements { } /// SecurityGroup contains resolved SecurityGroup selector values utilized for node launch -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EC2NodeClassStatusSecurityGroups { /// ID of the security group pub id: String, @@ -462,7 +462,7 @@ pub struct EC2NodeClassStatusSecurityGroups { } /// Subnet contains resolved Subnet selector values utilized for node launch -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EC2NodeClassStatusSubnets { /// ID of the subnet pub id: String, diff --git a/kube-custom-resources-rs/src/karpenter_sh/v1beta1/nodeclaims.rs b/kube-custom-resources-rs/src/karpenter_sh/v1beta1/nodeclaims.rs index 4e3241e4f..9769acc8a 100644 --- a/kube-custom-resources-rs/src/karpenter_sh/v1beta1/nodeclaims.rs +++ b/kube-custom-resources-rs/src/karpenter_sh/v1beta1/nodeclaims.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/karpenter-provider-aws/karpenter.sh/v1beta1/nodeclaims.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/karpenter-provider-aws/karpenter.sh/v1beta1/nodeclaims.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,10 +13,11 @@ mod prelude { use self::prelude::*; /// NodeClaimSpec describes the desired state of the NodeClaim -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "karpenter.sh", version = "v1beta1", kind = "NodeClaim", plural = "nodeclaims")] #[kube(status = "NodeClaimStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct NodeClaimSpec { /// Kubelet defines args to be used when configuring kubelet on provisioned nodes. @@ -46,7 +47,7 @@ pub struct NodeClaimSpec { /// Kubelet defines args to be used when configuring kubelet on provisioned nodes. /// They are a subset of the upstream types, recognizing not all options may be supported. /// Wherever possible, the types and names should reflect the upstream kubelet types. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeClaimKubelet { /// clusterDNS is a list of IP addresses for the cluster DNS server. /// Note that not all providers may use all addresses. @@ -99,7 +100,7 @@ pub struct NodeClaimKubelet { } /// NodeClassRef is a reference to an object that defines provider specific configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeClaimNodeClassRef { /// API version of the referent #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -146,7 +147,7 @@ pub enum NodeClaimRequirementsOperator { } /// Resources models the resource requirements for the NodeClaim to launch -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeClaimResources { /// Requests describes the minimum required resources for the NodeClaim to launch #[serde(default, skip_serializing_if = "Option::is_none")] @@ -210,7 +211,7 @@ pub enum NodeClaimTaintsEffect { } /// NodeClaimStatus defines the observed state of NodeClaim -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeClaimStatus { /// Allocatable is the estimated allocatable capacity of the node #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/karpenter_sh/v1beta1/nodepools.rs b/kube-custom-resources-rs/src/karpenter_sh/v1beta1/nodepools.rs index 5903fd603..904a44fad 100644 --- a/kube-custom-resources-rs/src/karpenter_sh/v1beta1/nodepools.rs +++ b/kube-custom-resources-rs/src/karpenter_sh/v1beta1/nodepools.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/karpenter-provider-aws/karpenter.sh/v1beta1/nodepools.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/karpenter-provider-aws/karpenter.sh/v1beta1/nodepools.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -15,10 +15,11 @@ use self::prelude::*; /// launch nodes in response to pods that are unschedulable. A single nodepool /// is capable of managing a diverse set of nodes. Node properties are determined /// from a combination of nodepool and pod scheduling constraints. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "karpenter.sh", version = "v1beta1", kind = "NodePool", plural = "nodepools")] #[kube(status = "NodePoolStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct NodePoolSpec { /// Disruption contains the parameters that relate to Karpenter's disruption logic @@ -39,7 +40,7 @@ pub struct NodePoolSpec { } /// Disruption contains the parameters that relate to Karpenter's disruption logic -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodePoolDisruption { /// Budgets is a list of Budgets. /// If there are multiple active budgets, Karpenter uses @@ -66,7 +67,7 @@ pub struct NodePoolDisruption { /// Budget defines when Karpenter will restrict the /// number of Node Claims that can be terminating simultaneously. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodePoolDisruptionBudgets { /// Duration determines how long a Budget is active since each Schedule hit. /// Only minutes and hours are accepted, as cron does not work in seconds. @@ -101,7 +102,7 @@ pub enum NodePoolDisruptionConsolidationPolicy { /// Template contains the template of possibilities for the provisioning logic to launch a NodeClaim with. /// NodeClaims launched from this NodePool will often be further constrained than the template specifies. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodePoolTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -109,7 +110,7 @@ pub struct NodePoolTemplate { pub spec: NodePoolTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodePoolTemplateMetadata { /// Annotations is an unstructured key value map stored with a resource that may be /// set by external tools to store and retrieve arbitrary metadata. They are not @@ -126,7 +127,7 @@ pub struct NodePoolTemplateMetadata { } /// NodeClaimSpec describes the desired state of the NodeClaim -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodePoolTemplateSpec { /// Kubelet defines args to be used when configuring kubelet on provisioned nodes. /// They are a subset of the upstream types, recognizing not all options may be supported. @@ -155,7 +156,7 @@ pub struct NodePoolTemplateSpec { /// Kubelet defines args to be used when configuring kubelet on provisioned nodes. /// They are a subset of the upstream types, recognizing not all options may be supported. /// Wherever possible, the types and names should reflect the upstream kubelet types. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodePoolTemplateSpecKubelet { /// clusterDNS is a list of IP addresses for the cluster DNS server. /// Note that not all providers may use all addresses. @@ -208,7 +209,7 @@ pub struct NodePoolTemplateSpecKubelet { } /// NodeClassRef is a reference to an object that defines provider specific configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodePoolTemplateSpecNodeClassRef { /// API version of the referent #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -255,7 +256,7 @@ pub enum NodePoolTemplateSpecRequirementsOperator { } /// Resources models the resource requirements for the NodeClaim to launch -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodePoolTemplateSpecResources { /// Requests describes the minimum required resources for the NodeClaim to launch #[serde(default, skip_serializing_if = "Option::is_none")] @@ -319,7 +320,7 @@ pub enum NodePoolTemplateSpecTaintsEffect { } /// NodePoolStatus defines the observed state of NodePool -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodePoolStatus { /// Resources is the list of resources that have been provisioned. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/keda_sh/v1alpha1/clustertriggerauthentications.rs b/kube-custom-resources-rs/src/keda_sh/v1alpha1/clustertriggerauthentications.rs index 998c08713..3112222e4 100644 --- a/kube-custom-resources-rs/src/keda_sh/v1alpha1/clustertriggerauthentications.rs +++ b/kube-custom-resources-rs/src/keda_sh/v1alpha1/clustertriggerauthentications.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kedacore/keda/keda.sh/v1alpha1/clustertriggerauthentications.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kedacore/keda/keda.sh/v1alpha1/clustertriggerauthentications.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,10 +10,11 @@ mod prelude { use self::prelude::*; /// TriggerAuthenticationSpec defines the various ways to authenticate -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "keda.sh", version = "v1alpha1", kind = "ClusterTriggerAuthentication", plural = "clustertriggerauthentications")] #[kube(status = "ClusterTriggerAuthenticationStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterTriggerAuthenticationSpec { /// AwsSecretManager is used to authenticate using AwsSecretManager @@ -40,7 +41,7 @@ pub struct ClusterTriggerAuthenticationSpec { } /// AwsSecretManager is used to authenticate using AwsSecretManager -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationAwsSecretManager { #[serde(default, skip_serializing_if = "Option::is_none")] pub credentials: Option, @@ -53,7 +54,7 @@ pub struct ClusterTriggerAuthenticationAwsSecretManager { pub secrets: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationAwsSecretManagerCredentials { #[serde(rename = "accessKey")] pub access_key: ClusterTriggerAuthenticationAwsSecretManagerCredentialsAccessKey, @@ -63,55 +64,55 @@ pub struct ClusterTriggerAuthenticationAwsSecretManagerCredentials { pub access_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationAwsSecretManagerCredentialsAccessKey { #[serde(rename = "valueFrom")] pub value_from: ClusterTriggerAuthenticationAwsSecretManagerCredentialsAccessKeyValueFrom, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationAwsSecretManagerCredentialsAccessKeyValueFrom { #[serde(rename = "secretKeyRef")] pub secret_key_ref: ClusterTriggerAuthenticationAwsSecretManagerCredentialsAccessKeyValueFromSecretKeyRef, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationAwsSecretManagerCredentialsAccessKeyValueFromSecretKeyRef { pub key: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationAwsSecretManagerCredentialsAccessSecretKey { #[serde(rename = "valueFrom")] pub value_from: ClusterTriggerAuthenticationAwsSecretManagerCredentialsAccessSecretKeyValueFrom, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationAwsSecretManagerCredentialsAccessSecretKeyValueFrom { #[serde(rename = "secretKeyRef")] pub secret_key_ref: ClusterTriggerAuthenticationAwsSecretManagerCredentialsAccessSecretKeyValueFromSecretKeyRef, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationAwsSecretManagerCredentialsAccessSecretKeyValueFromSecretKeyRef { pub key: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationAwsSecretManagerCredentialsAccessToken { #[serde(rename = "valueFrom")] pub value_from: ClusterTriggerAuthenticationAwsSecretManagerCredentialsAccessTokenValueFrom, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationAwsSecretManagerCredentialsAccessTokenValueFrom { #[serde(rename = "secretKeyRef")] pub secret_key_ref: ClusterTriggerAuthenticationAwsSecretManagerCredentialsAccessTokenValueFromSecretKeyRef, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationAwsSecretManagerCredentialsAccessTokenValueFromSecretKeyRef { pub key: String, pub name: String, @@ -165,7 +166,7 @@ pub enum ClusterTriggerAuthenticationAwsSecretManagerPodIdentityProvider { None, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationAwsSecretManagerSecrets { pub name: String, pub parameter: String, @@ -176,7 +177,7 @@ pub struct ClusterTriggerAuthenticationAwsSecretManagerSecrets { } /// AzureKeyVault is used to authenticate using Azure Key Vault -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationAzureKeyVault { #[serde(default, skip_serializing_if = "Option::is_none")] pub cloud: Option, @@ -191,7 +192,7 @@ pub struct ClusterTriggerAuthenticationAzureKeyVault { pub vault_uri: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationAzureKeyVaultCloud { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDirectoryEndpoint")] pub active_directory_endpoint: Option, @@ -201,7 +202,7 @@ pub struct ClusterTriggerAuthenticationAzureKeyVaultCloud { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationAzureKeyVaultCredentials { #[serde(rename = "clientId")] pub client_id: String, @@ -211,19 +212,19 @@ pub struct ClusterTriggerAuthenticationAzureKeyVaultCredentials { pub tenant_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationAzureKeyVaultCredentialsClientSecret { #[serde(rename = "valueFrom")] pub value_from: ClusterTriggerAuthenticationAzureKeyVaultCredentialsClientSecretValueFrom, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationAzureKeyVaultCredentialsClientSecretValueFrom { #[serde(rename = "secretKeyRef")] pub secret_key_ref: ClusterTriggerAuthenticationAzureKeyVaultCredentialsClientSecretValueFromSecretKeyRef, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationAzureKeyVaultCredentialsClientSecretValueFromSecretKeyRef { pub key: String, pub name: String, @@ -277,7 +278,7 @@ pub enum ClusterTriggerAuthenticationAzureKeyVaultPodIdentityProvider { None, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationAzureKeyVaultSecrets { pub name: String, pub parameter: String, @@ -286,7 +287,7 @@ pub struct ClusterTriggerAuthenticationAzureKeyVaultSecrets { } /// AuthConfigMapTargetRef is used to authenticate using a reference to a config map -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationConfigMapTargetRef { pub key: String, pub name: String, @@ -295,7 +296,7 @@ pub struct ClusterTriggerAuthenticationConfigMapTargetRef { /// AuthEnvironment is used to authenticate using environment variables /// in the destination ScaleTarget spec -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationEnv { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -303,7 +304,7 @@ pub struct ClusterTriggerAuthenticationEnv { pub parameter: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationGcpSecretManager { #[serde(default, skip_serializing_if = "Option::is_none")] pub credentials: Option, @@ -314,25 +315,25 @@ pub struct ClusterTriggerAuthenticationGcpSecretManager { pub secrets: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationGcpSecretManagerCredentials { #[serde(rename = "clientSecret")] pub client_secret: ClusterTriggerAuthenticationGcpSecretManagerCredentialsClientSecret, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationGcpSecretManagerCredentialsClientSecret { #[serde(rename = "valueFrom")] pub value_from: ClusterTriggerAuthenticationGcpSecretManagerCredentialsClientSecretValueFrom, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationGcpSecretManagerCredentialsClientSecretValueFrom { #[serde(rename = "secretKeyRef")] pub secret_key_ref: ClusterTriggerAuthenticationGcpSecretManagerCredentialsClientSecretValueFromSecretKeyRef, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationGcpSecretManagerCredentialsClientSecretValueFromSecretKeyRef { pub key: String, pub name: String, @@ -386,7 +387,7 @@ pub enum ClusterTriggerAuthenticationGcpSecretManagerPodIdentityProvider { None, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationGcpSecretManagerSecrets { pub id: String, pub parameter: String, @@ -395,7 +396,7 @@ pub struct ClusterTriggerAuthenticationGcpSecretManagerSecrets { } /// HashiCorpVault is used to authenticate using Hashicorp Vault -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationHashiCorpVault { pub address: String, /// VaultAuthentication contains the list of Hashicorp Vault authentication methods @@ -413,7 +414,7 @@ pub struct ClusterTriggerAuthenticationHashiCorpVault { } /// Credential defines the Hashicorp Vault credentials depending on the authentication method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationHashiCorpVaultCredential { #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceAccount")] pub service_account: Option, @@ -422,7 +423,7 @@ pub struct ClusterTriggerAuthenticationHashiCorpVaultCredential { } /// VaultSecret defines the mapping between the path of the secret in Vault to the parameter -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationHashiCorpVaultSecrets { pub key: String, pub parameter: String, @@ -434,7 +435,7 @@ pub struct ClusterTriggerAuthenticationHashiCorpVaultSecrets { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationHashiCorpVaultSecretsPkiData { #[serde(default, skip_serializing_if = "Option::is_none", rename = "altNames")] pub alt_names: Option, @@ -501,7 +502,7 @@ pub enum ClusterTriggerAuthenticationPodIdentityProvider { } /// AuthSecretTargetRef is used to authenticate using a reference to a secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationSecretTargetRef { pub key: String, pub name: String, @@ -509,7 +510,7 @@ pub struct ClusterTriggerAuthenticationSecretTargetRef { } /// TriggerAuthenticationStatus defines the observed state of TriggerAuthentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterTriggerAuthenticationStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub scaledjobs: Option, diff --git a/kube-custom-resources-rs/src/keda_sh/v1alpha1/scaledjobs.rs b/kube-custom-resources-rs/src/keda_sh/v1alpha1/scaledjobs.rs index 551dd90c6..a7c240bf2 100644 --- a/kube-custom-resources-rs/src/keda_sh/v1alpha1/scaledjobs.rs +++ b/kube-custom-resources-rs/src/keda_sh/v1alpha1/scaledjobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kedacore/keda/keda.sh/v1alpha1/scaledjobs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kedacore/keda/keda.sh/v1alpha1/scaledjobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/keda_sh/v1alpha1/scaledobjects.rs b/kube-custom-resources-rs/src/keda_sh/v1alpha1/scaledobjects.rs index 9aab0bf0b..aa41ba225 100644 --- a/kube-custom-resources-rs/src/keda_sh/v1alpha1/scaledobjects.rs +++ b/kube-custom-resources-rs/src/keda_sh/v1alpha1/scaledobjects.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kedacore/keda/keda.sh/v1alpha1/scaledobjects.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kedacore/keda/keda.sh/v1alpha1/scaledobjects.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/keda_sh/v1alpha1/triggerauthentications.rs b/kube-custom-resources-rs/src/keda_sh/v1alpha1/triggerauthentications.rs index 66d2f8b8f..553ffc979 100644 --- a/kube-custom-resources-rs/src/keda_sh/v1alpha1/triggerauthentications.rs +++ b/kube-custom-resources-rs/src/keda_sh/v1alpha1/triggerauthentications.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kedacore/keda/keda.sh/v1alpha1/triggerauthentications.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kedacore/keda/keda.sh/v1alpha1/triggerauthentications.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,11 +10,12 @@ mod prelude { use self::prelude::*; /// TriggerAuthenticationSpec defines the various ways to authenticate -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "keda.sh", version = "v1alpha1", kind = "TriggerAuthentication", plural = "triggerauthentications")] #[kube(namespaced)] #[kube(status = "TriggerAuthenticationStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct TriggerAuthenticationSpec { /// AwsSecretManager is used to authenticate using AwsSecretManager @@ -41,7 +42,7 @@ pub struct TriggerAuthenticationSpec { } /// AwsSecretManager is used to authenticate using AwsSecretManager -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationAwsSecretManager { #[serde(default, skip_serializing_if = "Option::is_none")] pub credentials: Option, @@ -54,7 +55,7 @@ pub struct TriggerAuthenticationAwsSecretManager { pub secrets: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationAwsSecretManagerCredentials { #[serde(rename = "accessKey")] pub access_key: TriggerAuthenticationAwsSecretManagerCredentialsAccessKey, @@ -64,55 +65,55 @@ pub struct TriggerAuthenticationAwsSecretManagerCredentials { pub access_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationAwsSecretManagerCredentialsAccessKey { #[serde(rename = "valueFrom")] pub value_from: TriggerAuthenticationAwsSecretManagerCredentialsAccessKeyValueFrom, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationAwsSecretManagerCredentialsAccessKeyValueFrom { #[serde(rename = "secretKeyRef")] pub secret_key_ref: TriggerAuthenticationAwsSecretManagerCredentialsAccessKeyValueFromSecretKeyRef, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationAwsSecretManagerCredentialsAccessKeyValueFromSecretKeyRef { pub key: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationAwsSecretManagerCredentialsAccessSecretKey { #[serde(rename = "valueFrom")] pub value_from: TriggerAuthenticationAwsSecretManagerCredentialsAccessSecretKeyValueFrom, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationAwsSecretManagerCredentialsAccessSecretKeyValueFrom { #[serde(rename = "secretKeyRef")] pub secret_key_ref: TriggerAuthenticationAwsSecretManagerCredentialsAccessSecretKeyValueFromSecretKeyRef, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationAwsSecretManagerCredentialsAccessSecretKeyValueFromSecretKeyRef { pub key: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationAwsSecretManagerCredentialsAccessToken { #[serde(rename = "valueFrom")] pub value_from: TriggerAuthenticationAwsSecretManagerCredentialsAccessTokenValueFrom, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationAwsSecretManagerCredentialsAccessTokenValueFrom { #[serde(rename = "secretKeyRef")] pub secret_key_ref: TriggerAuthenticationAwsSecretManagerCredentialsAccessTokenValueFromSecretKeyRef, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationAwsSecretManagerCredentialsAccessTokenValueFromSecretKeyRef { pub key: String, pub name: String, @@ -166,7 +167,7 @@ pub enum TriggerAuthenticationAwsSecretManagerPodIdentityProvider { None, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationAwsSecretManagerSecrets { pub name: String, pub parameter: String, @@ -177,7 +178,7 @@ pub struct TriggerAuthenticationAwsSecretManagerSecrets { } /// AzureKeyVault is used to authenticate using Azure Key Vault -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationAzureKeyVault { #[serde(default, skip_serializing_if = "Option::is_none")] pub cloud: Option, @@ -192,7 +193,7 @@ pub struct TriggerAuthenticationAzureKeyVault { pub vault_uri: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationAzureKeyVaultCloud { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDirectoryEndpoint")] pub active_directory_endpoint: Option, @@ -202,7 +203,7 @@ pub struct TriggerAuthenticationAzureKeyVaultCloud { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationAzureKeyVaultCredentials { #[serde(rename = "clientId")] pub client_id: String, @@ -212,19 +213,19 @@ pub struct TriggerAuthenticationAzureKeyVaultCredentials { pub tenant_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationAzureKeyVaultCredentialsClientSecret { #[serde(rename = "valueFrom")] pub value_from: TriggerAuthenticationAzureKeyVaultCredentialsClientSecretValueFrom, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationAzureKeyVaultCredentialsClientSecretValueFrom { #[serde(rename = "secretKeyRef")] pub secret_key_ref: TriggerAuthenticationAzureKeyVaultCredentialsClientSecretValueFromSecretKeyRef, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationAzureKeyVaultCredentialsClientSecretValueFromSecretKeyRef { pub key: String, pub name: String, @@ -278,7 +279,7 @@ pub enum TriggerAuthenticationAzureKeyVaultPodIdentityProvider { None, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationAzureKeyVaultSecrets { pub name: String, pub parameter: String, @@ -287,7 +288,7 @@ pub struct TriggerAuthenticationAzureKeyVaultSecrets { } /// AuthConfigMapTargetRef is used to authenticate using a reference to a config map -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationConfigMapTargetRef { pub key: String, pub name: String, @@ -296,7 +297,7 @@ pub struct TriggerAuthenticationConfigMapTargetRef { /// AuthEnvironment is used to authenticate using environment variables /// in the destination ScaleTarget spec -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationEnv { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -304,7 +305,7 @@ pub struct TriggerAuthenticationEnv { pub parameter: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationGcpSecretManager { #[serde(default, skip_serializing_if = "Option::is_none")] pub credentials: Option, @@ -315,25 +316,25 @@ pub struct TriggerAuthenticationGcpSecretManager { pub secrets: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationGcpSecretManagerCredentials { #[serde(rename = "clientSecret")] pub client_secret: TriggerAuthenticationGcpSecretManagerCredentialsClientSecret, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationGcpSecretManagerCredentialsClientSecret { #[serde(rename = "valueFrom")] pub value_from: TriggerAuthenticationGcpSecretManagerCredentialsClientSecretValueFrom, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationGcpSecretManagerCredentialsClientSecretValueFrom { #[serde(rename = "secretKeyRef")] pub secret_key_ref: TriggerAuthenticationGcpSecretManagerCredentialsClientSecretValueFromSecretKeyRef, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationGcpSecretManagerCredentialsClientSecretValueFromSecretKeyRef { pub key: String, pub name: String, @@ -387,7 +388,7 @@ pub enum TriggerAuthenticationGcpSecretManagerPodIdentityProvider { None, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationGcpSecretManagerSecrets { pub id: String, pub parameter: String, @@ -396,7 +397,7 @@ pub struct TriggerAuthenticationGcpSecretManagerSecrets { } /// HashiCorpVault is used to authenticate using Hashicorp Vault -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationHashiCorpVault { pub address: String, /// VaultAuthentication contains the list of Hashicorp Vault authentication methods @@ -414,7 +415,7 @@ pub struct TriggerAuthenticationHashiCorpVault { } /// Credential defines the Hashicorp Vault credentials depending on the authentication method -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationHashiCorpVaultCredential { #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceAccount")] pub service_account: Option, @@ -423,7 +424,7 @@ pub struct TriggerAuthenticationHashiCorpVaultCredential { } /// VaultSecret defines the mapping between the path of the secret in Vault to the parameter -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationHashiCorpVaultSecrets { pub key: String, pub parameter: String, @@ -435,7 +436,7 @@ pub struct TriggerAuthenticationHashiCorpVaultSecrets { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationHashiCorpVaultSecretsPkiData { #[serde(default, skip_serializing_if = "Option::is_none", rename = "altNames")] pub alt_names: Option, @@ -502,7 +503,7 @@ pub enum TriggerAuthenticationPodIdentityProvider { } /// AuthSecretTargetRef is used to authenticate using a reference to a secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationSecretTargetRef { pub key: String, pub name: String, @@ -510,7 +511,7 @@ pub struct TriggerAuthenticationSecretTargetRef { } /// TriggerAuthenticationStatus defines the observed state of TriggerAuthentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TriggerAuthenticationStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub scaledjobs: Option, diff --git a/kube-custom-resources-rs/src/keycloak_k8s_reddec_net/v1alpha1/keycloakclients.rs b/kube-custom-resources-rs/src/keycloak_k8s_reddec_net/v1alpha1/keycloakclients.rs index e68b21843..f9b60f2ca 100644 --- a/kube-custom-resources-rs/src/keycloak_k8s_reddec_net/v1alpha1/keycloakclients.rs +++ b/kube-custom-resources-rs/src/keycloak_k8s_reddec_net/v1alpha1/keycloakclients.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/reddec/keycloak-ext-operator/keycloak.k8s.reddec.net/v1alpha1/keycloakclients.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/reddec/keycloak-ext-operator/keycloak.k8s.reddec.net/v1alpha1/keycloakclients.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakbackups.rs b/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakbackups.rs index 702616834..cf13c2f05 100644 --- a/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakbackups.rs +++ b/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakbackups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/keycloak/keycloak-operator/keycloak.org/v1alpha1/keycloakbackups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/keycloak/keycloak-operator/keycloak.org/v1alpha1/keycloakbackups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakclients.rs b/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakclients.rs index 6f862dbff..26e4323b1 100644 --- a/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakclients.rs +++ b/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakclients.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/keycloak/keycloak-operator/keycloak.org/v1alpha1/keycloakclients.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/keycloak/keycloak-operator/keycloak.org/v1alpha1/keycloakclients.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakrealms.rs b/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakrealms.rs index 2918d3e78..b4219b1f1 100644 --- a/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakrealms.rs +++ b/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakrealms.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/keycloak/keycloak-operator/keycloak.org/v1alpha1/keycloakrealms.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/keycloak/keycloak-operator/keycloak.org/v1alpha1/keycloakrealms.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloaks.rs b/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloaks.rs index 4ab4a70db..3324a1baf 100644 --- a/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloaks.rs +++ b/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloaks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/keycloak/keycloak-operator/keycloak.org/v1alpha1/keycloaks.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/keycloak/keycloak-operator/keycloak.org/v1alpha1/keycloaks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakusers.rs b/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakusers.rs index 82caad927..9fb794987 100644 --- a/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakusers.rs +++ b/kube-custom-resources-rs/src/keycloak_org/v1alpha1/keycloakusers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/keycloak/keycloak-operator/keycloak.org/v1alpha1/keycloakusers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/keycloak/keycloak-operator/keycloak.org/v1alpha1/keycloakusers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/keyspaces_services_k8s_aws/v1alpha1/keyspaces.rs b/kube-custom-resources-rs/src/keyspaces_services_k8s_aws/v1alpha1/keyspaces.rs index 828d23908..0ed1a661e 100644 --- a/kube-custom-resources-rs/src/keyspaces_services_k8s_aws/v1alpha1/keyspaces.rs +++ b/kube-custom-resources-rs/src/keyspaces_services_k8s_aws/v1alpha1/keyspaces.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/keyspaces-controller/keyspaces.services.k8s.aws/v1alpha1/keyspaces.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/keyspaces-controller/keyspaces.services.k8s.aws/v1alpha1/keyspaces.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/keyspaces_services_k8s_aws/v1alpha1/tables.rs b/kube-custom-resources-rs/src/keyspaces_services_k8s_aws/v1alpha1/tables.rs index 7b09883a1..c79ee65b0 100644 --- a/kube-custom-resources-rs/src/keyspaces_services_k8s_aws/v1alpha1/tables.rs +++ b/kube-custom-resources-rs/src/keyspaces_services_k8s_aws/v1alpha1/tables.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/keyspaces-controller/keyspaces.services.k8s.aws/v1alpha1/tables.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/keyspaces-controller/keyspaces.services.k8s.aws/v1alpha1/tables.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kibana_k8s_elastic_co/v1/kibanas.rs b/kube-custom-resources-rs/src/kibana_k8s_elastic_co/v1/kibanas.rs index 56bd79e4a..51671c71c 100644 --- a/kube-custom-resources-rs/src/kibana_k8s_elastic_co/v1/kibanas.rs +++ b/kube-custom-resources-rs/src/kibana_k8s_elastic_co/v1/kibanas.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/kibana.k8s.elastic.co/v1/kibanas.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/kibana.k8s.elastic.co/v1/kibanas.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kibana_k8s_elastic_co/v1beta1/kibanas.rs b/kube-custom-resources-rs/src/kibana_k8s_elastic_co/v1beta1/kibanas.rs index d763aa30d..33be47716 100644 --- a/kube-custom-resources-rs/src/kibana_k8s_elastic_co/v1beta1/kibanas.rs +++ b/kube-custom-resources-rs/src/kibana_k8s_elastic_co/v1beta1/kibanas.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/kibana.k8s.elastic.co/v1beta1/kibanas.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/kibana.k8s.elastic.co/v1beta1/kibanas.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kinesis_services_k8s_aws/v1alpha1/streams.rs b/kube-custom-resources-rs/src/kinesis_services_k8s_aws/v1alpha1/streams.rs index 01053f547..b0c206439 100644 --- a/kube-custom-resources-rs/src/kinesis_services_k8s_aws/v1alpha1/streams.rs +++ b/kube-custom-resources-rs/src/kinesis_services_k8s_aws/v1alpha1/streams.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/kinesis-controller/kinesis.services.k8s.aws/v1alpha1/streams.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/kinesis-controller/kinesis.services.k8s.aws/v1alpha1/streams.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta1/modules.rs b/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta1/modules.rs index 3fb36ae35..9f838b55d 100644 --- a/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta1/modules.rs +++ b/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta1/modules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kernel-module-management/kmm.sigs.x-k8s.io/v1beta1/modules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kernel-module-management/kmm.sigs.x-k8s.io/v1beta1/modules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta1/nodemodulesconfigs.rs b/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta1/nodemodulesconfigs.rs index c1a72e571..98276ecce 100644 --- a/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta1/nodemodulesconfigs.rs +++ b/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta1/nodemodulesconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kernel-module-management/kmm.sigs.x-k8s.io/v1beta1/nodemodulesconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kernel-module-management/kmm.sigs.x-k8s.io/v1beta1/nodemodulesconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta1/preflightvalidations.rs b/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta1/preflightvalidations.rs index e946853ae..c7b1c7013 100644 --- a/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta1/preflightvalidations.rs +++ b/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta1/preflightvalidations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kernel-module-management/kmm.sigs.x-k8s.io/v1beta1/preflightvalidations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kernel-module-management/kmm.sigs.x-k8s.io/v1beta1/preflightvalidations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta2/preflightvalidations.rs b/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta2/preflightvalidations.rs index de6ead269..da97381da 100644 --- a/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta2/preflightvalidations.rs +++ b/kube-custom-resources-rs/src/kmm_sigs_x_k8s_io/v1beta2/preflightvalidations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kernel-module-management/kmm.sigs.x-k8s.io/v1beta2/preflightvalidations.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kernel-module-management/kmm.sigs.x-k8s.io/v1beta2/preflightvalidations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ use self::prelude::*; /// PreflightValidationSpec describes the desired state of the resource, such as the kernel version /// that Module CRs need to be verified against as well as the debug configuration of the logs /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kmm.sigs.x-k8s.io", version = "v1beta2", kind = "PreflightValidation", plural = "preflightvalidations")] #[kube(status = "PreflightValidationStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PreflightValidationSpec { /// KernelVersion describes the kernel image that all Modules need to be checked against. @@ -30,7 +31,7 @@ pub struct PreflightValidationSpec { /// PreflightValidationStatus is the most recently observed status of the PreflightValidation. /// It is populated by the system and is read-only. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PreflightValidationStatus { /// Modules contain observations about each Module's preflight upgradability validation #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/kms_services_k8s_aws/v1alpha1/aliases.rs b/kube-custom-resources-rs/src/kms_services_k8s_aws/v1alpha1/aliases.rs index f47b77c86..9a7082c37 100644 --- a/kube-custom-resources-rs/src/kms_services_k8s_aws/v1alpha1/aliases.rs +++ b/kube-custom-resources-rs/src/kms_services_k8s_aws/v1alpha1/aliases.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/kms-controller/kms.services.k8s.aws/v1alpha1/aliases.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/kms-controller/kms.services.k8s.aws/v1alpha1/aliases.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kms_services_k8s_aws/v1alpha1/grants.rs b/kube-custom-resources-rs/src/kms_services_k8s_aws/v1alpha1/grants.rs index 1c2a3f95a..edd206b8d 100644 --- a/kube-custom-resources-rs/src/kms_services_k8s_aws/v1alpha1/grants.rs +++ b/kube-custom-resources-rs/src/kms_services_k8s_aws/v1alpha1/grants.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/kms-controller/kms.services.k8s.aws/v1alpha1/grants.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/kms-controller/kms.services.k8s.aws/v1alpha1/grants.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kms_services_k8s_aws/v1alpha1/keys.rs b/kube-custom-resources-rs/src/kms_services_k8s_aws/v1alpha1/keys.rs index a5669e084..9ff877a27 100644 --- a/kube-custom-resources-rs/src/kms_services_k8s_aws/v1alpha1/keys.rs +++ b/kube-custom-resources-rs/src/kms_services_k8s_aws/v1alpha1/keys.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/kms-controller/kms.services.k8s.aws/v1alpha1/keys.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/kms-controller/kms.services.k8s.aws/v1alpha1/keys.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuadrant_io/v1alpha1/dnsrecords.rs b/kube-custom-resources-rs/src/kuadrant_io/v1alpha1/dnsrecords.rs index c613c8efe..183d28b81 100644 --- a/kube-custom-resources-rs/src/kuadrant_io/v1alpha1/dnsrecords.rs +++ b/kube-custom-resources-rs/src/kuadrant_io/v1alpha1/dnsrecords.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Kuadrant/dns-operator/kuadrant.io/v1alpha1/dnsrecords.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Kuadrant/dns-operator/kuadrant.io/v1alpha1/dnsrecords.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuadrant_io/v1alpha1/managedzones.rs b/kube-custom-resources-rs/src/kuadrant_io/v1alpha1/managedzones.rs index f29c02db2..7711d761e 100644 --- a/kube-custom-resources-rs/src/kuadrant_io/v1alpha1/managedzones.rs +++ b/kube-custom-resources-rs/src/kuadrant_io/v1alpha1/managedzones.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Kuadrant/dns-operator/kuadrant.io/v1alpha1/managedzones.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Kuadrant/dns-operator/kuadrant.io/v1alpha1/managedzones.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuadrant_io/v1beta1/kuadrants.rs b/kube-custom-resources-rs/src/kuadrant_io/v1beta1/kuadrants.rs index 1d8c7b080..b2f191b8e 100644 --- a/kube-custom-resources-rs/src/kuadrant_io/v1beta1/kuadrants.rs +++ b/kube-custom-resources-rs/src/kuadrant_io/v1beta1/kuadrants.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Kuadrant/kuadrant-operator/kuadrant.io/v1beta1/kuadrants.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Kuadrant/kuadrant-operator/kuadrant.io/v1beta1/kuadrants.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,18 +13,19 @@ mod prelude { use self::prelude::*; /// KuadrantSpec defines the desired state of Kuadrant -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kuadrant.io", version = "v1beta1", kind = "Kuadrant", plural = "kuadrants")] #[kube(namespaced)] #[kube(status = "KuadrantStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct KuadrantSpec { #[serde(default, skip_serializing_if = "Option::is_none")] pub limitador: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitador { /// Affinity is a group of affinity scheduling rules. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -42,7 +43,7 @@ pub struct KuadrantLimitador { } /// Affinity is a group of affinity scheduling rules. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -56,7 +57,7 @@ pub struct KuadrantLimitadorAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -80,7 +81,7 @@ pub struct KuadrantLimitadorAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: KuadrantLimitadorAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -89,7 +90,7 @@ pub struct KuadrantLimitadorAffinityNodeAffinityPreferredDuringSchedulingIgnored } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -101,7 +102,7 @@ pub struct KuadrantLimitadorAffinityNodeAffinityPreferredDuringSchedulingIgnored /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -119,7 +120,7 @@ pub struct KuadrantLimitadorAffinityNodeAffinityPreferredDuringSchedulingIgnored /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -140,7 +141,7 @@ pub struct KuadrantLimitadorAffinityNodeAffinityPreferredDuringSchedulingIgnored /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -150,7 +151,7 @@ pub struct KuadrantLimitadorAffinityNodeAffinityRequiredDuringSchedulingIgnoredD /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -162,7 +163,7 @@ pub struct KuadrantLimitadorAffinityNodeAffinityRequiredDuringSchedulingIgnoredD /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -180,7 +181,7 @@ pub struct KuadrantLimitadorAffinityNodeAffinityRequiredDuringSchedulingIgnoredD /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -197,7 +198,7 @@ pub struct KuadrantLimitadorAffinityNodeAffinityRequiredDuringSchedulingIgnoredD } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -222,7 +223,7 @@ pub struct KuadrantLimitadorAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -233,7 +234,7 @@ pub struct KuadrantLimitadorAffinityPodAffinityPreferredDuringSchedulingIgnoredD } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -261,7 +262,7 @@ pub struct KuadrantLimitadorAffinityPodAffinityPreferredDuringSchedulingIgnoredD } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -275,7 +276,7 @@ pub struct KuadrantLimitadorAffinityPodAffinityPreferredDuringSchedulingIgnoredD /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -295,7 +296,7 @@ pub struct KuadrantLimitadorAffinityPodAffinityPreferredDuringSchedulingIgnoredD /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -309,7 +310,7 @@ pub struct KuadrantLimitadorAffinityPodAffinityPreferredDuringSchedulingIgnoredD /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -330,7 +331,7 @@ pub struct KuadrantLimitadorAffinityPodAffinityPreferredDuringSchedulingIgnoredD /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -358,7 +359,7 @@ pub struct KuadrantLimitadorAffinityPodAffinityRequiredDuringSchedulingIgnoredDu } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -372,7 +373,7 @@ pub struct KuadrantLimitadorAffinityPodAffinityRequiredDuringSchedulingIgnoredDu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -392,7 +393,7 @@ pub struct KuadrantLimitadorAffinityPodAffinityRequiredDuringSchedulingIgnoredDu /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -406,7 +407,7 @@ pub struct KuadrantLimitadorAffinityPodAffinityRequiredDuringSchedulingIgnoredDu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -422,7 +423,7 @@ pub struct KuadrantLimitadorAffinityPodAffinityRequiredDuringSchedulingIgnoredDu } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -447,7 +448,7 @@ pub struct KuadrantLimitadorAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -458,7 +459,7 @@ pub struct KuadrantLimitadorAffinityPodAntiAffinityPreferredDuringSchedulingIgno } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -486,7 +487,7 @@ pub struct KuadrantLimitadorAffinityPodAntiAffinityPreferredDuringSchedulingIgno } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -500,7 +501,7 @@ pub struct KuadrantLimitadorAffinityPodAntiAffinityPreferredDuringSchedulingIgno /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -520,7 +521,7 @@ pub struct KuadrantLimitadorAffinityPodAntiAffinityPreferredDuringSchedulingIgno /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -534,7 +535,7 @@ pub struct KuadrantLimitadorAffinityPodAntiAffinityPreferredDuringSchedulingIgno /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -555,7 +556,7 @@ pub struct KuadrantLimitadorAffinityPodAntiAffinityPreferredDuringSchedulingIgno /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -583,7 +584,7 @@ pub struct KuadrantLimitadorAffinityPodAntiAffinityRequiredDuringSchedulingIgnor } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -597,7 +598,7 @@ pub struct KuadrantLimitadorAffinityPodAntiAffinityRequiredDuringSchedulingIgnor /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -617,7 +618,7 @@ pub struct KuadrantLimitadorAffinityPodAntiAffinityRequiredDuringSchedulingIgnor /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -631,7 +632,7 @@ pub struct KuadrantLimitadorAffinityPodAntiAffinityRequiredDuringSchedulingIgnor /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -646,7 +647,7 @@ pub struct KuadrantLimitadorAffinityPodAntiAffinityRequiredDuringSchedulingIgnor pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorPdb { /// An eviction is allowed if at most "maxUnavailable" limitador pods /// are unavailable after the eviction, i.e. even in absence of @@ -663,7 +664,7 @@ pub struct KuadrantLimitadorPdb { } /// ResourceRequirements describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorResourceRequirements { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -689,7 +690,7 @@ pub struct KuadrantLimitadorResourceRequirements { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorResourceRequirementsClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -698,7 +699,7 @@ pub struct KuadrantLimitadorResourceRequirementsClaims { } /// Storage contains the options for Limitador counters database or in-memory data storage -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorStorage { #[serde(default, skip_serializing_if = "Option::is_none")] pub disk: Option, @@ -708,7 +709,7 @@ pub struct KuadrantLimitadorStorage { pub redis_cached: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorStorageDisk { /// DiskOptimizeType defines the valid options for "optimize" option of the disk persistence type #[serde(default, skip_serializing_if = "Option::is_none")] @@ -725,7 +726,7 @@ pub enum KuadrantLimitadorStorageDiskOptimize { Disk, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorStorageDiskPersistentVolumeClaim { /// Resources represents the minimum resources the volume should have. /// Ignored when VolumeName field is set @@ -740,7 +741,7 @@ pub struct KuadrantLimitadorStorageDiskPersistentVolumeClaim { /// Resources represents the minimum resources the volume should have. /// Ignored when VolumeName field is set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorStorageDiskPersistentVolumeClaimResources { /// Storage Resource requests to be used on the PersistentVolumeClaim. /// To learn more about resource requests see: @@ -748,7 +749,7 @@ pub struct KuadrantLimitadorStorageDiskPersistentVolumeClaimResources { pub requests: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorStorageRedis { /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. @@ -758,7 +759,7 @@ pub struct KuadrantLimitadorStorageRedis { /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorStorageRedisConfigSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -767,7 +768,7 @@ pub struct KuadrantLimitadorStorageRedisConfigSecretRef { pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorStorageRedisCached { /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. @@ -779,7 +780,7 @@ pub struct KuadrantLimitadorStorageRedisCached { /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorStorageRedisCachedConfigSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -788,7 +789,7 @@ pub struct KuadrantLimitadorStorageRedisCachedConfigSecretRef { pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantLimitadorStorageRedisCachedOptions { /// FlushPeriod for counters in milliseconds [default: 1000] #[serde(default, skip_serializing_if = "Option::is_none", rename = "flush-period")] @@ -805,7 +806,7 @@ pub struct KuadrantLimitadorStorageRedisCachedOptions { } /// KuadrantStatus defines the observed state of Kuadrant -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KuadrantStatus { /// Represents the observations of a foo's current state. /// Known .status.conditions.type are: "Available" diff --git a/kube-custom-resources-rs/src/kuadrant_io/v1beta2/ratelimitpolicies.rs b/kube-custom-resources-rs/src/kuadrant_io/v1beta2/ratelimitpolicies.rs index 95c8f2c39..50f905c34 100644 --- a/kube-custom-resources-rs/src/kuadrant_io/v1beta2/ratelimitpolicies.rs +++ b/kube-custom-resources-rs/src/kuadrant_io/v1beta2/ratelimitpolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Kuadrant/kuadrant-operator/kuadrant.io/v1beta2/ratelimitpolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Kuadrant/kuadrant-operator/kuadrant.io/v1beta2/ratelimitpolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// RateLimitPolicySpec defines the desired state of RateLimitPolicy -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kuadrant.io", version = "v1beta2", kind = "RateLimitPolicy", plural = "ratelimitpolicies")] #[kube(namespaced)] #[kube(status = "RateLimitPolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct RateLimitPolicySpec { /// Defaults define explicit default values for this policy and for policies inheriting this policy. @@ -37,7 +38,7 @@ pub struct RateLimitPolicySpec { /// Defaults define explicit default values for this policy and for policies inheriting this policy. /// Defaults are mutually exclusive with implicit defaults defined by RateLimitPolicyCommonSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RateLimitPolicyDefaults { /// Limits holds the struct of limits indexed by a unique name #[serde(default, skip_serializing_if = "Option::is_none")] @@ -45,7 +46,7 @@ pub struct RateLimitPolicyDefaults { } /// Limits holds the struct of limits indexed by a unique name -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RateLimitPolicyDefaultsLimits { /// Counters defines additional rate limit counters based on context qualifiers and well known selectors /// TODO Document properly "Well-known selector" https://github.com/Kuadrant/architecture/blob/main/rfcs/0001-rlp-v2.md#well-known-selectors @@ -90,7 +91,7 @@ pub enum RateLimitPolicyDefaultsLimitsRatesUnit { /// RouteSelector defines semantics for matching an HTTP request based on conditions /// https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.HTTPRouteSpec -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RateLimitPolicyDefaultsLimitsRouteSelectors { /// Hostnames defines a set of hostname that should match against the HTTP Host header to select a HTTPRoute to process the request /// https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.HTTPRouteSpec @@ -123,7 +124,7 @@ pub struct RateLimitPolicyDefaultsLimitsRouteSelectors { /// /// /// ``` -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RateLimitPolicyDefaultsLimitsRouteSelectorsMatches { /// Headers specifies HTTP request header matchers. Multiple match values are /// ANDed together, meaning, a request must match all the specified headers @@ -154,7 +155,7 @@ pub struct RateLimitPolicyDefaultsLimitsRouteSelectorsMatches { /// HTTPHeaderMatch describes how to select a HTTP route by matching HTTP request /// headers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RateLimitPolicyDefaultsLimitsRouteSelectorsMatchesHeaders { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -245,7 +246,7 @@ pub enum RateLimitPolicyDefaultsLimitsRouteSelectorsMatchesMethod { /// Path specifies a HTTP request path matcher. If this field is not /// specified, a default prefix match on the "/" path is provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RateLimitPolicyDefaultsLimitsRouteSelectorsMatchesPath { /// Type specifies how to match against the path Value. /// @@ -272,7 +273,7 @@ pub enum RateLimitPolicyDefaultsLimitsRouteSelectorsMatchesPathType { /// HTTPQueryParamMatch describes how to select a HTTP route by matching HTTP /// query parameters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RateLimitPolicyDefaultsLimitsRouteSelectorsMatchesQueryParams { /// Name is the name of the HTTP query param to be matched. This must be an /// exact string match. (See @@ -357,7 +358,7 @@ pub enum RateLimitPolicyDefaultsLimitsWhenOperator { } /// Limits holds the struct of limits indexed by a unique name -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RateLimitPolicyLimits { /// Counters defines additional rate limit counters based on context qualifiers and well known selectors /// TODO Document properly "Well-known selector" https://github.com/Kuadrant/architecture/blob/main/rfcs/0001-rlp-v2.md#well-known-selectors @@ -402,7 +403,7 @@ pub enum RateLimitPolicyLimitsRatesUnit { /// RouteSelector defines semantics for matching an HTTP request based on conditions /// https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.HTTPRouteSpec -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RateLimitPolicyLimitsRouteSelectors { /// Hostnames defines a set of hostname that should match against the HTTP Host header to select a HTTPRoute to process the request /// https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.HTTPRouteSpec @@ -435,7 +436,7 @@ pub struct RateLimitPolicyLimitsRouteSelectors { /// /// /// ``` -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RateLimitPolicyLimitsRouteSelectorsMatches { /// Headers specifies HTTP request header matchers. Multiple match values are /// ANDed together, meaning, a request must match all the specified headers @@ -466,7 +467,7 @@ pub struct RateLimitPolicyLimitsRouteSelectorsMatches { /// HTTPHeaderMatch describes how to select a HTTP route by matching HTTP request /// headers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RateLimitPolicyLimitsRouteSelectorsMatchesHeaders { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -557,7 +558,7 @@ pub enum RateLimitPolicyLimitsRouteSelectorsMatchesMethod { /// Path specifies a HTTP request path matcher. If this field is not /// specified, a default prefix match on the "/" path is provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RateLimitPolicyLimitsRouteSelectorsMatchesPath { /// Type specifies how to match against the path Value. /// @@ -584,7 +585,7 @@ pub enum RateLimitPolicyLimitsRouteSelectorsMatchesPathType { /// HTTPQueryParamMatch describes how to select a HTTP route by matching HTTP /// query parameters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RateLimitPolicyLimitsRouteSelectorsMatchesQueryParams { /// Name is the name of the HTTP query param to be matched. This must be an /// exact string match. (See @@ -670,7 +671,7 @@ pub enum RateLimitPolicyLimitsWhenOperator { /// Overrides define override values for this policy and for policies inheriting this policy. /// Overrides are mutually exclusive with implicit defaults and explicit Defaults defined by RateLimitPolicyCommonSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RateLimitPolicyOverrides { /// Limits holds the struct of limits indexed by a unique name #[serde(default, skip_serializing_if = "Option::is_none")] @@ -678,7 +679,7 @@ pub struct RateLimitPolicyOverrides { } /// Limits holds the struct of limits indexed by a unique name -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RateLimitPolicyOverridesLimits { /// Counters defines additional rate limit counters based on context qualifiers and well known selectors /// TODO Document properly "Well-known selector" https://github.com/Kuadrant/architecture/blob/main/rfcs/0001-rlp-v2.md#well-known-selectors @@ -723,7 +724,7 @@ pub enum RateLimitPolicyOverridesLimitsRatesUnit { /// RouteSelector defines semantics for matching an HTTP request based on conditions /// https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.HTTPRouteSpec -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RateLimitPolicyOverridesLimitsRouteSelectors { /// Hostnames defines a set of hostname that should match against the HTTP Host header to select a HTTPRoute to process the request /// https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.HTTPRouteSpec @@ -756,7 +757,7 @@ pub struct RateLimitPolicyOverridesLimitsRouteSelectors { /// /// /// ``` -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RateLimitPolicyOverridesLimitsRouteSelectorsMatches { /// Headers specifies HTTP request header matchers. Multiple match values are /// ANDed together, meaning, a request must match all the specified headers @@ -787,7 +788,7 @@ pub struct RateLimitPolicyOverridesLimitsRouteSelectorsMatches { /// HTTPHeaderMatch describes how to select a HTTP route by matching HTTP request /// headers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RateLimitPolicyOverridesLimitsRouteSelectorsMatchesHeaders { /// Name is the name of the HTTP Header to be matched. Name matching MUST be /// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -878,7 +879,7 @@ pub enum RateLimitPolicyOverridesLimitsRouteSelectorsMatchesMethod { /// Path specifies a HTTP request path matcher. If this field is not /// specified, a default prefix match on the "/" path is provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RateLimitPolicyOverridesLimitsRouteSelectorsMatchesPath { /// Type specifies how to match against the path Value. /// @@ -905,7 +906,7 @@ pub enum RateLimitPolicyOverridesLimitsRouteSelectorsMatchesPathType { /// HTTPQueryParamMatch describes how to select a HTTP route by matching HTTP /// query parameters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RateLimitPolicyOverridesLimitsRouteSelectorsMatchesQueryParams { /// Name is the name of the HTTP query param to be matched. This must be an /// exact string match. (See @@ -990,7 +991,7 @@ pub enum RateLimitPolicyOverridesLimitsWhenOperator { } /// TargetRef identifies an API object to apply policy to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RateLimitPolicyTargetRef { /// Group is the group of the target resource. pub group: String, @@ -1007,7 +1008,7 @@ pub struct RateLimitPolicyTargetRef { } /// RateLimitPolicyStatus defines the observed state of RateLimitPolicy -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RateLimitPolicyStatus { /// Represents the observations of a foo's current state. /// Known .status.conditions.type are: "Available" diff --git a/kube-custom-resources-rs/src/kube_green_com/v1alpha1/sleepinfos.rs b/kube-custom-resources-rs/src/kube_green_com/v1alpha1/sleepinfos.rs index 3c68f6c29..a43adc495 100644 --- a/kube-custom-resources-rs/src/kube_green_com/v1alpha1/sleepinfos.rs +++ b/kube-custom-resources-rs/src/kube_green_com/v1alpha1/sleepinfos.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kube-green/kube-green/kube-green.com/v1alpha1/sleepinfos.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kube-green/kube-green/kube-green.com/v1alpha1/sleepinfos.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kubean_io/v1alpha1/clusteroperations.rs b/kube-custom-resources-rs/src/kubean_io/v1alpha1/clusteroperations.rs index 30252691f..86128bae9 100644 --- a/kube-custom-resources-rs/src/kubean_io/v1alpha1/clusteroperations.rs +++ b/kube-custom-resources-rs/src/kubean_io/v1alpha1/clusteroperations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubean-io/kubean/kubean.io/v1alpha1/clusteroperations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubean-io/kubean/kubean.io/v1alpha1/clusteroperations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kubean_io/v1alpha1/clusters.rs b/kube-custom-resources-rs/src/kubean_io/v1alpha1/clusters.rs index 22fb5e86f..7fcd2ba07 100644 --- a/kube-custom-resources-rs/src/kubean_io/v1alpha1/clusters.rs +++ b/kube-custom-resources-rs/src/kubean_io/v1alpha1/clusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubean-io/kubean/kubean.io/v1alpha1/clusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubean-io/kubean/kubean.io/v1alpha1/clusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kubean_io/v1alpha1/localartifactsets.rs b/kube-custom-resources-rs/src/kubean_io/v1alpha1/localartifactsets.rs index 72359875b..bfa803bfb 100644 --- a/kube-custom-resources-rs/src/kubean_io/v1alpha1/localartifactsets.rs +++ b/kube-custom-resources-rs/src/kubean_io/v1alpha1/localartifactsets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubean-io/kubean/kubean.io/v1alpha1/localartifactsets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubean-io/kubean/kubean.io/v1alpha1/localartifactsets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kubean_io/v1alpha1/manifests.rs b/kube-custom-resources-rs/src/kubean_io/v1alpha1/manifests.rs index 1800298f1..a4c4b33a9 100644 --- a/kube-custom-resources-rs/src/kubean_io/v1alpha1/manifests.rs +++ b/kube-custom-resources-rs/src/kubean_io/v1alpha1/manifests.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubean-io/kubean/kubean.io/v1alpha1/manifests.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubean-io/kubean/kubean.io/v1alpha1/manifests.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kubecost_com/v1alpha1/turndownschedules.rs b/kube-custom-resources-rs/src/kubecost_com/v1alpha1/turndownschedules.rs index df6d5b24e..080b767b7 100644 --- a/kube-custom-resources-rs/src/kubecost_com/v1alpha1/turndownschedules.rs +++ b/kube-custom-resources-rs/src/kubecost_com/v1alpha1/turndownschedules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubecost/cluster-turndown/kubecost.com/v1alpha1/turndownschedules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubecost/cluster-turndown/kubecost.com/v1alpha1/turndownschedules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kubevious_io/v1alpha1/workloadprofiles.rs b/kube-custom-resources-rs/src/kubevious_io/v1alpha1/workloadprofiles.rs index cf4c29c11..2a79a8209 100644 --- a/kube-custom-resources-rs/src/kubevious_io/v1alpha1/workloadprofiles.rs +++ b/kube-custom-resources-rs/src/kubevious_io/v1alpha1/workloadprofiles.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubevious/workload-operator/kubevious.io/v1alpha1/workloadprofiles.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubevious/workload-operator/kubevious.io/v1alpha1/workloadprofiles.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kubevious_io/v1alpha1/workloads.rs b/kube-custom-resources-rs/src/kubevious_io/v1alpha1/workloads.rs index 6d6f0820a..9c2cc6d6d 100644 --- a/kube-custom-resources-rs/src/kubevious_io/v1alpha1/workloads.rs +++ b/kube-custom-resources-rs/src/kubevious_io/v1alpha1/workloads.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubevious/workload-operator/kubevious.io/v1alpha1/workloads.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubevious/workload-operator/kubevious.io/v1alpha1/workloads.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/admissionchecks.rs b/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/admissionchecks.rs index 63c85f0ea..401d93b48 100644 --- a/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/admissionchecks.rs +++ b/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/admissionchecks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/admissionchecks.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/admissionchecks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { use self::prelude::*; /// AdmissionCheckSpec defines the desired state of AdmissionCheck -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kueue.x-k8s.io", version = "v1beta1", kind = "AdmissionCheck", plural = "admissionchecks")] #[kube(status = "AdmissionCheckStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct AdmissionCheckSpec { /// controllerName is name of the controller which will actually perform @@ -34,7 +35,7 @@ pub struct AdmissionCheckSpec { } /// Parameters identifies the resource providing additional check parameters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdmissionCheckParameters { /// ApiGroup is the group for the resource being referenced. #[serde(rename = "apiGroup")] @@ -46,7 +47,7 @@ pub struct AdmissionCheckParameters { } /// AdmissionCheckStatus defines the observed state of AdmissionCheck -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdmissionCheckStatus { /// conditions hold the latest available observations of the AdmissionCheck /// current state. diff --git a/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/clusterqueues.rs b/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/clusterqueues.rs index 31793692b..bf17f0a2f 100644 --- a/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/clusterqueues.rs +++ b/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/clusterqueues.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/clusterqueues.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/clusterqueues.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,10 +13,11 @@ mod prelude { use self::prelude::*; /// ClusterQueueSpec defines the desired state of ClusterQueue -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kueue.x-k8s.io", version = "v1beta1", kind = "ClusterQueue", plural = "clusterqueues")] #[kube(status = "ClusterQueueStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterQueueSpec { /// admissionChecks lists the AdmissionChecks required by this ClusterQueue. @@ -118,7 +119,7 @@ pub struct ClusterQueueSpec { /// admissionCheckStrategy defines a list of strategies to determine which ResourceFlavors require AdmissionChecks. /// This property cannot be used in conjunction with the 'admissionChecks' property. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterQueueAdmissionChecksStrategy { /// admissionChecks is a list of strategies for AdmissionChecks #[serde(default, skip_serializing_if = "Option::is_none", rename = "admissionChecks")] @@ -126,7 +127,7 @@ pub struct ClusterQueueAdmissionChecksStrategy { } /// AdmissionCheckStrategyRule defines rules for a single AdmissionCheck -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterQueueAdmissionChecksStrategyAdmissionChecks { /// name is an AdmissionCheck's name. pub name: String, @@ -138,7 +139,7 @@ pub struct ClusterQueueAdmissionChecksStrategyAdmissionChecks { /// fairSharing defines the properties of the ClusterQueue when participating in fair sharing. /// The values are only relevant if fair sharing is enabled in the Kueue configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterQueueFairSharing { /// weight gives a comparative advantage to this ClusterQueue when competing for unused /// resources in the cohort against other ClusterQueues. @@ -154,7 +155,7 @@ pub struct ClusterQueueFairSharing { /// flavorFungibility defines whether a workload should try the next flavor /// before borrowing or preempting in the flavor being evaluated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterQueueFlavorFungibility { /// whenCanBorrow determines whether a workload should try the next flavor /// before borrowing in current flavor. The possible values are: @@ -198,7 +199,7 @@ pub enum ClusterQueueFlavorFungibilityWhenCanPreempt { /// Gatekeeper should be used to enforce more advanced policies. /// Defaults to null which is a nothing selector (no namespaces eligible). /// If set to an empty selector `{}`, then all namespaces are eligible. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterQueueNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -212,7 +213,7 @@ pub struct ClusterQueueNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterQueueNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -245,7 +246,7 @@ pub struct ClusterQueueNamespaceSelectorMatchExpressions { /// The preemption algorithm tries to find a minimal set of Workloads to /// preempt to accomomdate the pending Workload, preempting Workloads with /// lower priority first. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterQueuePreemption { /// borrowWithinCohort provides configuration to allow preemption within /// cohort while borrowing. @@ -282,7 +283,7 @@ pub struct ClusterQueuePreemption { /// borrowWithinCohort provides configuration to allow preemption within /// cohort while borrowing. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterQueuePreemptionBorrowWithinCohort { /// maxPriorityThreshold allows to restrict the set of workloads which /// might be preempted by a borrowing workload, to only workloads with @@ -369,7 +370,7 @@ pub enum ClusterQueueQueueingStrategy { BestEffortFifo, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterQueueResourceGroups { /// coveredResources is the list of resources covered by the flavors in this /// group. @@ -387,7 +388,7 @@ pub struct ClusterQueueResourceGroups { pub flavors: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterQueueResourceGroupsFlavors { /// name of this flavor. The name should match the .metadata.name of a /// ResourceFlavor. If a matching ResourceFlavor does not exist, the @@ -398,7 +399,7 @@ pub struct ClusterQueueResourceGroupsFlavors { pub resources: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterQueueResourceGroupsFlavorsResources { /// borrowingLimit is the maximum amount of quota for the [flavor, resource] /// combination that this ClusterQueue is allowed to borrow from the unused @@ -451,7 +452,7 @@ pub enum ClusterQueueStopPolicy { } /// ClusterQueueStatus defines the observed state of ClusterQueue -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterQueueStatus { /// admittedWorkloads is the number of workloads currently admitted to this /// clusterQueue and haven't finished yet. @@ -487,7 +488,7 @@ pub struct ClusterQueueStatus { } /// FairSharing contains the information about the current status of fair sharing. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterQueueStatusFairSharing { /// WeightedShare represent the maximum of the ratios of usage above nominal /// quota to the lendable resources in the cohort, among all the resources @@ -499,7 +500,7 @@ pub struct ClusterQueueStatusFairSharing { pub weighted_share: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterQueueStatusFlavorsReservation { /// name of the flavor. pub name: String, @@ -507,7 +508,7 @@ pub struct ClusterQueueStatusFlavorsReservation { pub resources: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterQueueStatusFlavorsReservationResources { /// Borrowed is quantity of quota that is borrowed from the cohort. In other /// words, it's the used quota that is over the nominalQuota. @@ -521,7 +522,7 @@ pub struct ClusterQueueStatusFlavorsReservationResources { pub total: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterQueueStatusFlavorsUsage { /// name of the flavor. pub name: String, @@ -529,7 +530,7 @@ pub struct ClusterQueueStatusFlavorsUsage { pub resources: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterQueueStatusFlavorsUsageResources { /// Borrowed is quantity of quota that is borrowed from the cohort. In other /// words, it's the used quota that is over the nominalQuota. @@ -545,7 +546,7 @@ pub struct ClusterQueueStatusFlavorsUsageResources { /// PendingWorkloadsStatus contains the information exposed about the current /// status of the pending workloads in the cluster queue. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterQueueStatusPendingWorkloadsStatus { /// Head contains the list of top pending workloads. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterQueuePendingWorkload")] @@ -557,7 +558,7 @@ pub struct ClusterQueueStatusPendingWorkloadsStatus { /// ClusterQueuePendingWorkload contains the information identifying a pending workload /// in the cluster queue. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterQueueStatusPendingWorkloadsStatusClusterQueuePendingWorkload { /// Name indicates the name of the pending workload. pub name: String, diff --git a/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/localqueues.rs b/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/localqueues.rs index e6da6128a..16d528880 100644 --- a/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/localqueues.rs +++ b/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/localqueues.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/localqueues.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/localqueues.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// LocalQueueSpec defines the desired state of LocalQueue -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kueue.x-k8s.io", version = "v1beta1", kind = "LocalQueue", plural = "localqueues")] #[kube(namespaced)] #[kube(status = "LocalQueueStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct LocalQueueSpec { /// clusterQueue is a reference to a clusterQueue that backs this localQueue. @@ -25,7 +26,7 @@ pub struct LocalQueueSpec { } /// LocalQueueStatus defines the observed state of LocalQueue -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LocalQueueStatus { /// admittedWorkloads is the number of workloads in this LocalQueue /// admitted to a ClusterQueue and that haven't finished yet. @@ -52,7 +53,7 @@ pub struct LocalQueueStatus { pub reserving_workloads: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LocalQueueStatusFlavorUsage { /// name of the flavor. pub name: String, @@ -60,7 +61,7 @@ pub struct LocalQueueStatusFlavorUsage { pub resources: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LocalQueueStatusFlavorUsageResources { /// name of the resource. pub name: String, @@ -69,7 +70,7 @@ pub struct LocalQueueStatusFlavorUsageResources { pub total: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LocalQueueStatusFlavorsReservation { /// name of the flavor. pub name: String, @@ -77,7 +78,7 @@ pub struct LocalQueueStatusFlavorsReservation { pub resources: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LocalQueueStatusFlavorsReservationResources { /// name of the resource. pub name: String, diff --git a/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/resourceflavors.rs b/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/resourceflavors.rs index b81b5aea2..414737422 100644 --- a/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/resourceflavors.rs +++ b/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/resourceflavors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/resourceflavors.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/resourceflavors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/workloads.rs b/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/workloads.rs index 9fe8ca341..75d062b90 100644 --- a/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/workloads.rs +++ b/kube-custom-resources-rs/src/kueue_x_k8s_io/v1beta1/workloads.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/workloads.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/kueue/kueue.x-k8s.io/v1beta1/workloads.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// WorkloadSpec defines the desired state of Workload -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kueue.x-k8s.io", version = "v1beta1", kind = "Workload", plural = "workloads")] #[kube(namespaced)] #[kube(status = "WorkloadStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct WorkloadSpec { /// Active determines if a workload can be admitted into a queue. @@ -64,7 +65,7 @@ pub struct WorkloadSpec { pub queue_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSets { /// count is the number of pods for the spec. pub count: i32, @@ -120,7 +121,7 @@ pub struct WorkloadPodSets { /// the keys in the nodeLabels from the ResourceFlavors considered for this /// Workload are used to filter the ResourceFlavors that can be assigned to /// this podSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplate { /// Standard object's metadata. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata @@ -134,7 +135,7 @@ pub struct WorkloadPodSetsTemplate { /// Standard object's metadata. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -150,7 +151,7 @@ pub struct WorkloadPodSetsTemplateMetadata { /// Specification of the desired behavior of the pod. /// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpec { /// Optional duration in seconds the pod may be active on the node relative to /// StartTime before the system will actively try to mark it failed and kill associated containers. @@ -416,7 +417,7 @@ pub struct WorkloadPodSetsTemplateSpec { } /// If specified, the pod's scheduling constraints -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -430,7 +431,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -454,7 +455,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: WorkloadPodSetsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -463,7 +464,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityNodeAffinityPreferredDuringSchedul } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -475,7 +476,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityNodeAffinityPreferredDuringSchedul /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -493,7 +494,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityNodeAffinityPreferredDuringSchedul /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -514,7 +515,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityNodeAffinityPreferredDuringSchedul /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -524,7 +525,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityNodeAffinityRequiredDuringScheduli /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -536,7 +537,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityNodeAffinityRequiredDuringScheduli /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -554,7 +555,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityNodeAffinityRequiredDuringScheduli /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -571,7 +572,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityNodeAffinityRequiredDuringScheduli } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -596,7 +597,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -607,7 +608,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinityPreferredDuringScheduli } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -659,7 +660,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinityPreferredDuringScheduli /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -673,7 +674,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinityPreferredDuringScheduli /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -693,7 +694,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinityPreferredDuringScheduli /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -707,7 +708,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinityPreferredDuringScheduli /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -728,7 +729,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinityPreferredDuringScheduli /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -780,7 +781,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinityRequiredDuringSchedulin /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -794,7 +795,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinityRequiredDuringSchedulin /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -814,7 +815,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinityRequiredDuringSchedulin /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -828,7 +829,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinityRequiredDuringSchedulin /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -844,7 +845,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAffinityRequiredDuringSchedulin } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -869,7 +870,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -880,7 +881,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinityPreferredDuringSche } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -932,7 +933,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinityPreferredDuringSche /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -946,7 +947,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinityPreferredDuringSche /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -966,7 +967,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinityPreferredDuringSche /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -980,7 +981,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinityPreferredDuringSche /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1001,7 +1002,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinityPreferredDuringSche /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1053,7 +1054,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinityRequiredDuringSched /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1067,7 +1068,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinityRequiredDuringSched /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1087,7 +1088,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinityRequiredDuringSched /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1101,7 +1102,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinityRequiredDuringSched /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1117,7 +1118,7 @@ pub struct WorkloadPodSetsTemplateSpecAffinityPodAntiAffinityRequiredDuringSched } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainers { /// Arguments to the entrypoint. /// The container image's CMD is used if this is not provided. @@ -1284,7 +1285,7 @@ pub struct WorkloadPodSetsTemplateSpecContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -1305,7 +1306,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1324,7 +1325,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1344,7 +1345,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1356,7 +1357,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1369,7 +1370,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1388,7 +1389,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -1402,7 +1403,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersEnvFromConfigMapRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -1419,7 +1420,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersEnvFromSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -1437,7 +1438,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersEnvFromSecretRef { /// Actions that the management system should take in response to container lifecycle events. /// Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, /// the container is terminated and restarted according to its restart policy. @@ -1462,7 +1463,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersLifecycle { /// the container is terminated and restarted according to its restart policy. /// Other management of the container blocks until the hook completes. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1481,7 +1482,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -1493,7 +1494,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -1516,7 +1517,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersLifecyclePostStartHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -1526,7 +1527,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersLifecyclePostStartHttpGetHttpHea } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersLifecyclePostStartSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -1535,7 +1536,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersLifecyclePostStartSleep { /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1555,7 +1556,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersLifecyclePostStartTcpSocket { /// period (unless delayed by finalizers). Other management of the container blocks until the hook completes /// or until the termination grace period is reached. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1574,7 +1575,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -1586,7 +1587,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -1609,7 +1610,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -1619,7 +1620,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersLifecyclePreStopHttpGetHttpHeade } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersLifecyclePreStopSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -1628,7 +1629,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersLifecyclePreStopSleep { /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1643,7 +1644,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersLifecyclePreStopTcpSocket { /// Container will be restarted if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1693,7 +1694,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -1705,7 +1706,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1719,7 +1720,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -1742,7 +1743,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -1752,7 +1753,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersLivenessProbeHttpGetHttpHeaders } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1764,7 +1765,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersPorts { /// Number of port to expose on the pod's IP address. /// This must be a valid port number, 0 < x < 65536. @@ -1794,7 +1795,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersPorts { /// Container will be removed from service endpoints if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1844,7 +1845,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -1856,7 +1857,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1870,7 +1871,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -1893,7 +1894,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -1903,7 +1904,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersReadinessProbeHttpGetHttpHeaders } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1915,7 +1916,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersReadinessProbeTcpSocket { } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. /// Supported values: cpu, memory. @@ -1930,7 +1931,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersResizePolicy { /// Compute Resources required by this container. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -1956,7 +1957,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -1967,7 +1968,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersResourcesClaims { /// SecurityContext defines the security options the container should be run with. /// If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. /// More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -2052,7 +2053,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersSecurityContext { /// appArmorProfile is the AppArmor options to use by this container. If set, this profile /// overrides the pod's appArmorProfile. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersSecurityContextAppArmorProfile { /// localhostProfile indicates a profile loaded on the node that should be used. /// The profile must be preconfigured on the node to work. @@ -2072,7 +2073,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersSecurityContextAppArmorProfile { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2087,7 +2088,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2107,7 +2108,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersSecurityContextSeLinuxOptions { /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -2130,7 +2131,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersSecurityContextSeccompProfile { /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -2161,7 +2162,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersSecurityContextWindowsOptions { /// when it might take a long time to load data or warm a cache, than during steady-state operation. /// This cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2211,7 +2212,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2223,7 +2224,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2237,7 +2238,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2260,7 +2261,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersStartupProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2270,7 +2271,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersStartupProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2282,7 +2283,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -2292,7 +2293,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -2349,7 +2350,7 @@ pub struct WorkloadPodSetsTemplateSpecContainersVolumeMounts { /// Specifies the DNS parameters of a pod. /// Parameters specified here will be merged to the generated DNS /// configuration based on DNSPolicy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecDnsConfig { /// A list of DNS name server IP addresses. /// This will be appended to the base nameservers generated from DNSPolicy. @@ -2370,7 +2371,7 @@ pub struct WorkloadPodSetsTemplateSpecDnsConfig { } /// PodDNSConfigOption defines DNS resolver options of a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecDnsConfigOptions { /// Required. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2388,7 +2389,7 @@ pub struct WorkloadPodSetsTemplateSpecDnsConfigOptions { /// /// To add an ephemeral container, use the ephemeralcontainers subresource of an existing /// Pod. Ephemeral containers may not be removed or restarted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainers { /// Arguments to the entrypoint. /// The image's CMD is used if this is not provided. @@ -2529,7 +2530,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -2550,7 +2551,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -2569,7 +2570,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -2589,7 +2590,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersEnvValueFromConfigMapKe /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2601,7 +2602,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2614,7 +2615,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersEnvValueFromResourceFie } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2633,7 +2634,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersEnvValueFromSecretKeyRe } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -2647,7 +2648,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersEnvFromConfigMapRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -2664,7 +2665,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersEnvFromSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -2681,7 +2682,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersEnvFromSecretRef { } /// Lifecycle is not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, /// the container is terminated and restarted according to its restart policy. @@ -2706,7 +2707,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecycle { /// the container is terminated and restarted according to its restart policy. /// Other management of the container blocks until the hook completes. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2725,7 +2726,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2737,7 +2738,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecyclePostStartExec } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2760,7 +2761,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecyclePostStartHttpG } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2770,7 +2771,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecyclePostStartHttpG } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecyclePostStartSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -2779,7 +2780,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecyclePostStartSleep /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2799,7 +2800,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecyclePostStartTcpSo /// period (unless delayed by finalizers). Other management of the container blocks until the hook completes /// or until the termination grace period is reached. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2818,7 +2819,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2830,7 +2831,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2853,7 +2854,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecyclePreStopHttpGet } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2863,7 +2864,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecyclePreStopHttpGet } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecyclePreStopSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -2872,7 +2873,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecyclePreStopSleep { /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2884,7 +2885,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLifecyclePreStopTcpSock } /// Probes are not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2934,7 +2935,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2946,7 +2947,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2960,7 +2961,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2983,7 +2984,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2993,7 +2994,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLivenessProbeHttpGetHtt } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3005,7 +3006,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersLivenessProbeTcpSocket } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersPorts { /// Number of port to expose on the pod's IP address. /// This must be a valid port number, 0 < x < 65536. @@ -3032,7 +3033,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersPorts { } /// Probes are not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3082,7 +3083,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -3094,7 +3095,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3108,7 +3109,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -3131,7 +3132,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -3141,7 +3142,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersReadinessProbeHttpGetHt } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3153,7 +3154,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersReadinessProbeTcpSocket } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. /// Supported values: cpu, memory. @@ -3167,7 +3168,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersResizePolicy { /// Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources /// already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -3193,7 +3194,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -3203,7 +3204,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersResourcesClaims { /// Optional: SecurityContext defines the security options the ephemeral container should be run with. /// If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -3288,7 +3289,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersSecurityContext { /// appArmorProfile is the AppArmor options to use by this container. If set, this profile /// overrides the pod's appArmorProfile. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersSecurityContextAppArmorProfile { /// localhostProfile indicates a profile loaded on the node that should be used. /// The profile must be preconfigured on the node to work. @@ -3308,7 +3309,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersSecurityContextAppArmor /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3323,7 +3324,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersSecurityContextCapabili /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3343,7 +3344,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersSecurityContextSeLinuxO /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -3366,7 +3367,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersSecurityContextSeccompP /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -3391,7 +3392,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersSecurityContextWindowsO } /// Probes are not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3441,7 +3442,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -3453,7 +3454,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3467,7 +3468,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -3490,7 +3491,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersStartupProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -3500,7 +3501,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersStartupProbeHttpGetHttp } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3512,7 +3513,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -3522,7 +3523,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecEphemeralContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -3578,7 +3579,7 @@ pub struct WorkloadPodSetsTemplateSpecEphemeralContainersVolumeMounts { /// HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the /// pod's hosts file. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecHostAliases { /// Hostnames for the above IP address. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3589,7 +3590,7 @@ pub struct WorkloadPodSetsTemplateSpecHostAliases { /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecImagePullSecrets { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -3603,7 +3604,7 @@ pub struct WorkloadPodSetsTemplateSpecImagePullSecrets { } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainers { /// Arguments to the entrypoint. /// The container image's CMD is used if this is not provided. @@ -3770,7 +3771,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -3791,7 +3792,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -3810,7 +3811,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -3830,7 +3831,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersEnvValueFromConfigMapKeyRef /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3842,7 +3843,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -3855,7 +3856,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersEnvValueFromResourceFieldRef } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3874,7 +3875,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -3888,7 +3889,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersEnvFromConfigMapRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -3905,7 +3906,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersEnvFromSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -3923,7 +3924,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersEnvFromSecretRef { /// Actions that the management system should take in response to container lifecycle events. /// Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, /// the container is terminated and restarted according to its restart policy. @@ -3948,7 +3949,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersLifecycle { /// the container is terminated and restarted according to its restart policy. /// Other management of the container blocks until the hook completes. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3967,7 +3968,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -3979,7 +3980,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4002,7 +4003,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersLifecyclePostStartHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4012,7 +4013,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersLifecyclePostStartHttpGetHtt } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersLifecyclePostStartSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -4021,7 +4022,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersLifecyclePostStartSleep { /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4041,7 +4042,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersLifecyclePostStartTcpSocket /// period (unless delayed by finalizers). Other management of the container blocks until the hook completes /// or until the termination grace period is reached. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4060,7 +4061,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4072,7 +4073,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4095,7 +4096,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4105,7 +4106,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersLifecyclePreStopHttpGetHttpH } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersLifecyclePreStopSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -4114,7 +4115,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersLifecyclePreStopSleep { /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4129,7 +4130,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersLifecyclePreStopTcpSocket { /// Container will be restarted if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4179,7 +4180,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4191,7 +4192,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4205,7 +4206,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4228,7 +4229,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4238,7 +4239,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersLivenessProbeHttpGetHttpHead } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4250,7 +4251,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersPorts { /// Number of port to expose on the pod's IP address. /// This must be a valid port number, 0 < x < 65536. @@ -4280,7 +4281,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersPorts { /// Container will be removed from service endpoints if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4330,7 +4331,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4342,7 +4343,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4356,7 +4357,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4379,7 +4380,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4389,7 +4390,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersReadinessProbeHttpGetHttpHea } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4401,7 +4402,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersReadinessProbeTcpSocket { } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. /// Supported values: cpu, memory. @@ -4416,7 +4417,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersResizePolicy { /// Compute Resources required by this container. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -4442,7 +4443,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -4453,7 +4454,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersResourcesClaims { /// SecurityContext defines the security options the container should be run with. /// If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. /// More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -4538,7 +4539,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersSecurityContext { /// appArmorProfile is the AppArmor options to use by this container. If set, this profile /// overrides the pod's appArmorProfile. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersSecurityContextAppArmorProfile { /// localhostProfile indicates a profile loaded on the node that should be used. /// The profile must be preconfigured on the node to work. @@ -4558,7 +4559,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersSecurityContextAppArmorProfi /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4573,7 +4574,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersSecurityContextCapabilities /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4593,7 +4594,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersSecurityContextSeLinuxOption /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -4616,7 +4617,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersSecurityContextSeccompProfil /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -4647,7 +4648,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersSecurityContextWindowsOption /// when it might take a long time to load data or warm a cache, than during steady-state operation. /// This cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4697,7 +4698,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4709,7 +4710,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4723,7 +4724,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4746,7 +4747,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4756,7 +4757,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersStartupProbeHttpGetHttpHeade } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4768,7 +4769,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -4778,7 +4779,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -4864,7 +4865,7 @@ pub struct WorkloadPodSetsTemplateSpecInitContainersVolumeMounts { /// - spec.containers[*].securityContext.procMount /// - spec.containers[*].securityContext.runAsUser /// - spec.containers[*].securityContext.runAsGroup -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecOs { /// Name is the name of the operating system. The currently supported values are linux and windows. /// Additional value may be defined in future and can be one of: @@ -4874,7 +4875,7 @@ pub struct WorkloadPodSetsTemplateSpecOs { } /// PodReadinessGate contains the reference to a pod condition -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecReadinessGates { /// ConditionType refers to a condition in the pod's condition list with matching type. #[serde(rename = "conditionType")] @@ -4884,7 +4885,7 @@ pub struct WorkloadPodSetsTemplateSpecReadinessGates { /// PodResourceClaim references exactly one ResourceClaim through a ClaimSource. /// It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. /// Containers that need access to the ResourceClaim reference it with this name. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecResourceClaims { /// Name uniquely identifies this resource claim inside the pod. /// This must be a DNS_LABEL. @@ -4895,7 +4896,7 @@ pub struct WorkloadPodSetsTemplateSpecResourceClaims { } /// Source describes where to find the ResourceClaim. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecResourceClaimsSource { /// ResourceClaimName is the name of a ResourceClaim object in the same /// namespace as this pod. @@ -4920,7 +4921,7 @@ pub struct WorkloadPodSetsTemplateSpecResourceClaimsSource { } /// PodSchedulingGate is associated to a Pod to guard its scheduling. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecSchedulingGates { /// Name of the scheduling gate. /// Each scheduling gate must have a unique name field. @@ -4929,7 +4930,7 @@ pub struct WorkloadPodSetsTemplateSpecSchedulingGates { /// SecurityContext holds pod-level security attributes and common container settings. /// Optional: Defaults to empty. See type description for default values of each field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecSecurityContext { /// appArmorProfile is the AppArmor options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. @@ -5018,7 +5019,7 @@ pub struct WorkloadPodSetsTemplateSpecSecurityContext { /// appArmorProfile is the AppArmor options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecSecurityContextAppArmorProfile { /// localhostProfile indicates a profile loaded on the node that should be used. /// The profile must be preconfigured on the node to work. @@ -5041,7 +5042,7 @@ pub struct WorkloadPodSetsTemplateSpecSecurityContextAppArmorProfile { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5059,7 +5060,7 @@ pub struct WorkloadPodSetsTemplateSpecSecurityContextSeLinuxOptions { /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -5079,7 +5080,7 @@ pub struct WorkloadPodSetsTemplateSpecSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -5091,7 +5092,7 @@ pub struct WorkloadPodSetsTemplateSpecSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -5117,7 +5118,7 @@ pub struct WorkloadPodSetsTemplateSpecSecurityContextWindowsOptions { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -5146,7 +5147,7 @@ pub struct WorkloadPodSetsTemplateSpecTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods @@ -5265,7 +5266,7 @@ pub struct WorkloadPodSetsTemplateSpecTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods /// in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5279,7 +5280,7 @@ pub struct WorkloadPodSetsTemplateSpecTopologySpreadConstraintsLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5295,7 +5296,7 @@ pub struct WorkloadPodSetsTemplateSpecTopologySpreadConstraintsLabelSelectorMatc } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. @@ -5445,7 +5446,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -5471,7 +5472,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -5497,7 +5498,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force /// the ReadOnly setting in VolumeMounts. @@ -5512,7 +5513,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it @@ -5541,7 +5542,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesCephfs { /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesCephfsSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -5556,7 +5557,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesCephfsSecretRef { /// cinder represents a cinder volume attached and mounted on kubelets host machine. /// More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesCinder { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -5581,7 +5582,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesCinder { /// secretRef is optional: points to a secret object containing parameters used to connect /// to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesCinderSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -5595,7 +5596,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -5630,7 +5631,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -5650,7 +5651,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesCsi { /// driver is the name of the CSI driver that handles this volume. /// Consult with your admin for the correct name as registered in the cluster. @@ -5682,7 +5683,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesCsi { /// NodePublishVolume and NodeUnpublishVolume calls. /// This field is optional, and may be empty if no secret is required. If the /// secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesCsiNodePublishSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -5696,7 +5697,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a /// Optional: mode bits used to set permissions on created files by default. @@ -5714,7 +5715,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -5736,7 +5737,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -5748,7 +5749,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesDownwardApiItemsFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -5762,7 +5763,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesDownwardApiItemsResourceFieldRef { /// emptyDir represents a temporary directory that shares a pod's lifetime. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. /// The default is "" which means to use the node's default medium. @@ -5808,7 +5809,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesEmptyDir { /// /// A pod can use both types of ephemeral volumes and /// persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. /// The pod in which this EphemeralVolumeSource is embedded will be the @@ -5862,7 +5863,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesEphemeral { /// /// /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during @@ -5879,7 +5880,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during /// validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -5897,7 +5898,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesEphemeralVolumeClaimTemplateMetadat /// copied unchanged into the PVC that gets created from this /// template. The same fields as in a PersistentVolumeClaim /// are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -5983,7 +5984,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -6019,7 +6020,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDat /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -6042,7 +6043,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDat /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -6057,7 +6058,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecRes } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6071,7 +6072,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSel /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6087,7 +6088,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSel } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesFc { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -6113,7 +6114,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesFc { /// flexVolume represents a generic volume resource that is /// provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -6143,7 +6144,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesFlexVolume { /// empty if no secret object is specified. If the secret object /// contains more than one secret, all secrets are passed to the plugin /// scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesFlexVolumeSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -6157,7 +6158,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker /// should be considered as deprecated @@ -6171,7 +6172,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesFlocker { /// gcePersistentDisk represents a GCE Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -6202,7 +6203,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesGcePersistentDisk { /// DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an /// EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir /// into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesGitRepo { /// directory is the target directory name. /// Must not contain or start with '..'. If '.' is supplied, the volume directory will be the @@ -6219,7 +6220,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesGitRepo { /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod @@ -6242,7 +6243,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesGlusterfs { /// --- /// TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not /// mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesHostPath { /// path of the directory on the host. /// If the path is a symlink, it will follow the link to the real path. @@ -6258,7 +6259,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesHostPath { /// iscsi represents an ISCSI Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -6304,7 +6305,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesIscsiSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -6319,7 +6320,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesIscsiSecretRef { /// nfs represents an NFS mount on the host that shares a pod's lifetime /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesNfs { /// path that is exported by the NFS server. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs @@ -6337,7 +6338,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesNfs { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -6350,7 +6351,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -6363,7 +6364,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesPortworxVolume { /// fSType represents the filesystem type to mount /// Must be a filesystem type supported by the host operating system. @@ -6380,7 +6381,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -6396,7 +6397,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSources { /// ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field /// of ClusterTrustBundle objects in an auto-updating file. @@ -6446,7 +6447,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSources { /// comments and block headers are stripped. Certificates are deduplicated. /// The ordering of certificates within the file is arbitrary, and Kubelet /// may change the order over time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesClusterTrustBundle { /// Select all ClusterTrustBundles that match this label selector. Only has /// effect if signerName is set. Mutually-exclusive with name. If unset, @@ -6478,7 +6479,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesClusterTrustBundle /// effect if signerName is set. Mutually-exclusive with name. If unset, /// interpreted as "match nothing". If set but empty, interpreted as "match /// everything". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesClusterTrustBundleLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6492,7 +6493,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesClusterTrustBundleL /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesClusterTrustBundleLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6508,7 +6509,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesClusterTrustBundleL } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced /// ConfigMap will be projected into the volume as a file whose name is the @@ -6534,7 +6535,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -6554,7 +6555,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6562,7 +6563,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -6584,7 +6585,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -6596,7 +6597,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesDownwardApiItemsFie /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -6609,7 +6610,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesDownwardApiItemsRes } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced /// Secret will be projected into the volume as a file whose name is the @@ -6635,7 +6636,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -6655,7 +6656,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token /// must identify itself with an identifier specified in the audience of the @@ -6677,7 +6678,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesProjectedSourcesServiceAccountToken } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesQuobyte { /// group to map volume access to /// Default is no group @@ -6705,7 +6706,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesQuobyte { /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -6752,7 +6753,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesRbd { /// overrides keyring. /// Default is nil. /// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesRbdSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -6766,7 +6767,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesScaleIo { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -6807,7 +6808,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesScaleIo { /// secretRef references to the secret for ScaleIO user and other /// sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesScaleIoSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -6822,7 +6823,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesScaleIoSecretRef { /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -6852,7 +6853,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesSecretItems { /// key is the key to project. pub key: String, @@ -6872,7 +6873,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesStorageos { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -6903,7 +6904,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesStorageos { /// secretRef specifies the secret to use for obtaining the StorageOS API /// credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesStorageosSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -6917,7 +6918,7 @@ pub struct WorkloadPodSetsTemplateSpecVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadPodSetsTemplateSpecVolumesVsphereVolume { /// fsType is filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -6947,7 +6948,7 @@ pub enum WorkloadPriorityClassSource { } /// WorkloadStatus defines the observed state of Workload -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadStatus { /// admission holds the parameters of the admission of the workload by a /// ClusterQueue. admission can be set back to null, but its fields cannot be @@ -6983,7 +6984,7 @@ pub struct WorkloadStatus { /// admission holds the parameters of the admission of the workload by a /// ClusterQueue. admission can be set back to null, but its fields cannot be /// changed once set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadStatusAdmission { /// clusterQueue is the name of the ClusterQueue that admitted this workload. #[serde(rename = "clusterQueue")] @@ -6993,7 +6994,7 @@ pub struct WorkloadStatusAdmission { pub pod_set_assignments: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadStatusAdmissionPodSetAssignments { /// count is the number of pods taken into account at admission time. /// This field will not change in case of quota reclaim. @@ -7037,7 +7038,7 @@ pub struct WorkloadStatusAdmissionChecks { /// The modifications should be additive only - modifications of already existing keys /// or having the same key provided by multiple AdmissionChecks is not allowed and will /// result in failure during workload admission. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadStatusAdmissionChecksPodSetUpdates { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -7053,7 +7054,7 @@ pub struct WorkloadStatusAdmissionChecksPodSetUpdates { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadStatusAdmissionChecksPodSetUpdatesTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -7089,7 +7090,7 @@ pub enum WorkloadStatusAdmissionChecksState { Rejected, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadStatusReclaimablePods { /// count is the number of pods for which the requested resources are no longer needed. pub count: i32, @@ -7099,7 +7100,7 @@ pub struct WorkloadStatusReclaimablePods { /// requeueState holds the re-queue state /// when a workload meets Eviction with PodsReadyTimeout reason. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WorkloadStatusRequeueState { /// count records the number of times a workload has been re-queued /// When a deactivated (`.spec.activate`=`false`) workload is reactivated (`.spec.activate`=`true`), diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/circuitbreakers.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/circuitbreakers.rs index 000031bb6..471f45f98 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/circuitbreakers.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/circuitbreakers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/circuitbreakers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/circuitbreakers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/containerpatches.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/containerpatches.rs index 3bb0caac1..c3d02c854 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/containerpatches.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/containerpatches.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/containerpatches.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/containerpatches.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,10 +10,11 @@ mod prelude { use self::prelude::*; /// ContainerPatchSpec specifies the options available for a ContainerPatch -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kuma.io", version = "v1alpha1", kind = "ContainerPatch", plural = "containerpatches")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ContainerPatchSpec { /// InitPatch specifies jsonpatch to apply to an init container. diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/dataplaneinsights.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/dataplaneinsights.rs index a3a63bd81..671552c55 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/dataplaneinsights.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/dataplaneinsights.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/dataplaneinsights.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/dataplaneinsights.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/dataplanes.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/dataplanes.rs index 320db0589..fe9ef5a88 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/dataplanes.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/dataplanes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/dataplanes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/dataplanes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/externalservices.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/externalservices.rs index 5f9c9053f..cca6b5c3b 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/externalservices.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/externalservices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/externalservices.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/externalservices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/faultinjections.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/faultinjections.rs index 8dc021048..3d82f9dfa 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/faultinjections.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/faultinjections.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/faultinjections.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/faultinjections.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/healthchecks.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/healthchecks.rs index c2f012f58..5f42a17e5 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/healthchecks.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/healthchecks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/healthchecks.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/healthchecks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshaccesslogs.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshaccesslogs.rs index ce635958b..0b082c526 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshaccesslogs.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshaccesslogs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshaccesslogs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshaccesslogs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { use self::prelude::*; /// Spec is the specification of the Kuma MeshAccessLog resource. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kuma.io", version = "v1alpha1", kind = "MeshAccessLog", plural = "meshaccesslogs")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct MeshAccessLogSpec { /// From list makes a match between clients and corresponding configurations @@ -30,7 +31,7 @@ pub struct MeshAccessLogSpec { pub to: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshAccessLogFrom { /// Default is a configuration specific to the group of clients referenced in /// 'targetRef' @@ -44,7 +45,7 @@ pub struct MeshAccessLogFrom { /// Default is a configuration specific to the group of clients referenced in /// 'targetRef' -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshAccessLogFromDefault { #[serde(default, skip_serializing_if = "Option::is_none")] pub backends: Option>, @@ -66,7 +67,7 @@ pub struct MeshAccessLogFromDefaultBackends { } /// FileBackend defines configuration for file based access logs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshAccessLogFromDefaultBackendsFile { /// Format of access logs. Placeholders available on /// https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#command-operators @@ -90,7 +91,7 @@ pub struct MeshAccessLogFromDefaultBackendsFileFormat { pub r#type: MeshAccessLogFromDefaultBackendsFileFormatType, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshAccessLogFromDefaultBackendsFileFormatJson { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -107,7 +108,7 @@ pub enum MeshAccessLogFromDefaultBackendsFileFormatType { } /// Defines an OpenTelemetry logging backend. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshAccessLogFromDefaultBackendsOpenTelemetry { /// Attributes can contain placeholders available on /// https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#command-operators @@ -123,7 +124,7 @@ pub struct MeshAccessLogFromDefaultBackendsOpenTelemetry { pub endpoint: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshAccessLogFromDefaultBackendsOpenTelemetryAttributes { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -132,7 +133,7 @@ pub struct MeshAccessLogFromDefaultBackendsOpenTelemetryAttributes { } /// TCPBackend defines a TCP logging backend. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshAccessLogFromDefaultBackendsTcp { /// Address of the TCP logging backend pub address: String, @@ -156,7 +157,7 @@ pub struct MeshAccessLogFromDefaultBackendsTcpFormat { pub r#type: MeshAccessLogFromDefaultBackendsTcpFormatType, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshAccessLogFromDefaultBackendsTcpFormatJson { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -181,7 +182,7 @@ pub enum MeshAccessLogFromDefaultBackendsType { /// TargetRef is a reference to the resource that represents a group of /// clients. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshAccessLogFromTargetRef { /// Kind of the referenced resource #[serde(default, skip_serializing_if = "Option::is_none")] @@ -219,7 +220,7 @@ pub enum MeshAccessLogFromTargetRefKind { /// TargetRef is a reference to the resource the policy takes an effect on. /// The resource could be either a real store object or virtual resource /// defined in-place. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshAccessLogTargetRef { /// Kind of the referenced resource #[serde(default, skip_serializing_if = "Option::is_none")] @@ -255,7 +256,7 @@ pub enum MeshAccessLogTargetRefKind { MeshHttpRoute, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshAccessLogTo { /// Default is a configuration specific to the group of destinations referenced in /// 'targetRef' @@ -269,7 +270,7 @@ pub struct MeshAccessLogTo { /// Default is a configuration specific to the group of destinations referenced in /// 'targetRef' -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshAccessLogToDefault { #[serde(default, skip_serializing_if = "Option::is_none")] pub backends: Option>, @@ -291,7 +292,7 @@ pub struct MeshAccessLogToDefaultBackends { } /// FileBackend defines configuration for file based access logs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshAccessLogToDefaultBackendsFile { /// Format of access logs. Placeholders available on /// https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#command-operators @@ -315,7 +316,7 @@ pub struct MeshAccessLogToDefaultBackendsFileFormat { pub r#type: MeshAccessLogToDefaultBackendsFileFormatType, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshAccessLogToDefaultBackendsFileFormatJson { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -332,7 +333,7 @@ pub enum MeshAccessLogToDefaultBackendsFileFormatType { } /// Defines an OpenTelemetry logging backend. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshAccessLogToDefaultBackendsOpenTelemetry { /// Attributes can contain placeholders available on /// https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#command-operators @@ -348,7 +349,7 @@ pub struct MeshAccessLogToDefaultBackendsOpenTelemetry { pub endpoint: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshAccessLogToDefaultBackendsOpenTelemetryAttributes { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -357,7 +358,7 @@ pub struct MeshAccessLogToDefaultBackendsOpenTelemetryAttributes { } /// TCPBackend defines a TCP logging backend. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshAccessLogToDefaultBackendsTcp { /// Address of the TCP logging backend pub address: String, @@ -381,7 +382,7 @@ pub struct MeshAccessLogToDefaultBackendsTcpFormat { pub r#type: MeshAccessLogToDefaultBackendsTcpFormatType, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshAccessLogToDefaultBackendsTcpFormatJson { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -406,7 +407,7 @@ pub enum MeshAccessLogToDefaultBackendsType { /// TargetRef is a reference to the resource that represents a group of /// destinations. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshAccessLogToTargetRef { /// Kind of the referenced resource #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshcircuitbreakers.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshcircuitbreakers.rs index f5bbaef22..c33f62231 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshcircuitbreakers.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshcircuitbreakers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshcircuitbreakers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshcircuitbreakers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshes.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshes.rs index f279c3967..71d10e065 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshes.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshfaultinjections.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshfaultinjections.rs index 2602bb561..ff20a6155 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshfaultinjections.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshfaultinjections.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshfaultinjections.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshfaultinjections.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgatewayconfigs.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgatewayconfigs.rs index 71fd7f9ef..cfa483631 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgatewayconfigs.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgatewayconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshgatewayconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshgatewayconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgatewayinstances.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgatewayinstances.rs index 3b07e9d9d..2733e7ddf 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgatewayinstances.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgatewayinstances.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshgatewayinstances.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshgatewayinstances.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// MeshGatewayInstanceSpec specifies the options available for a GatewayDataplane. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kuma.io", version = "v1alpha1", kind = "MeshGatewayInstance", plural = "meshgatewayinstances")] #[kube(namespaced)] #[kube(status = "MeshGatewayInstanceStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct MeshGatewayInstanceSpec { /// PodTemplate configures the Pod owned by this config. @@ -51,7 +52,7 @@ pub struct MeshGatewayInstanceSpec { } /// PodTemplate configures the Pod owned by this config. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshGatewayInstancePodTemplate { /// Metadata holds metadata configuration for a Service. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -62,7 +63,7 @@ pub struct MeshGatewayInstancePodTemplate { } /// Metadata holds metadata configuration for a Service. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshGatewayInstancePodTemplateMetadata { /// Annotations holds annotations to be set on an object. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -73,7 +74,7 @@ pub struct MeshGatewayInstancePodTemplateMetadata { } /// Spec holds some customizable fields of a Pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshGatewayInstancePodTemplateSpec { /// Container corresponds to PodSpec.Container #[serde(default, skip_serializing_if = "Option::is_none")] @@ -87,7 +88,7 @@ pub struct MeshGatewayInstancePodTemplateSpec { } /// Container corresponds to PodSpec.Container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshGatewayInstancePodTemplateSpecContainer { /// ContainerSecurityContext corresponds to PodSpec.Container.SecurityContext #[serde(default, skip_serializing_if = "Option::is_none", rename = "securityContext")] @@ -95,7 +96,7 @@ pub struct MeshGatewayInstancePodTemplateSpecContainer { } /// ContainerSecurityContext corresponds to PodSpec.Container.SecurityContext -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshGatewayInstancePodTemplateSpecContainerSecurityContext { /// ReadOnlyRootFilesystem corresponds to PodSpec.Container.SecurityContext.ReadOnlyRootFilesystem #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnlyRootFilesystem")] @@ -103,7 +104,7 @@ pub struct MeshGatewayInstancePodTemplateSpecContainerSecurityContext { } /// PodSecurityContext corresponds to PodSpec.SecurityContext -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshGatewayInstancePodTemplateSpecSecurityContext { /// FSGroup corresponds to PodSpec.SecurityContext.FSGroup #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] @@ -112,7 +113,7 @@ pub struct MeshGatewayInstancePodTemplateSpecSecurityContext { /// Resources specifies the compute resources for the proxy container. /// The default can be set in the control plane config. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshGatewayInstanceResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -138,7 +139,7 @@ pub struct MeshGatewayInstanceResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshGatewayInstanceResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -147,7 +148,7 @@ pub struct MeshGatewayInstanceResourcesClaims { } /// ServiceTemplate configures the Service owned by this config. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshGatewayInstanceServiceTemplate { /// Metadata holds metadata configuration for a Service. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -158,7 +159,7 @@ pub struct MeshGatewayInstanceServiceTemplate { } /// Metadata holds metadata configuration for a Service. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshGatewayInstanceServiceTemplateMetadata { /// Annotations holds annotations to be set on an object. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -169,7 +170,7 @@ pub struct MeshGatewayInstanceServiceTemplateMetadata { } /// Spec holds some customizable fields of a Service. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshGatewayInstanceServiceTemplateSpec { /// LoadBalancerIP corresponds to ServiceSpec.LoadBalancerIP. #[serde(default, skip_serializing_if = "Option::is_none", rename = "loadBalancerIP")] @@ -187,7 +188,7 @@ pub enum MeshGatewayInstanceServiceType { /// MeshGatewayInstanceStatus holds information about the status of the gateway /// instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshGatewayInstanceStatus { /// Conditions is an array of gateway instance conditions. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -200,7 +201,7 @@ pub struct MeshGatewayInstanceStatus { /// LoadBalancer contains the current status of the load-balancer, /// if one is present. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshGatewayInstanceStatusLoadBalancer { /// Ingress is a list containing ingress points for the load-balancer. /// Traffic intended for the service should be sent to these ingress points. @@ -210,7 +211,7 @@ pub struct MeshGatewayInstanceStatusLoadBalancer { /// LoadBalancerIngress represents the status of a load-balancer ingress point: /// traffic intended for the service should be sent to an ingress point. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshGatewayInstanceStatusLoadBalancerIngress { /// Hostname is set for load-balancer ingress points that are DNS based /// (typically AWS load-balancers) @@ -234,7 +235,7 @@ pub struct MeshGatewayInstanceStatusLoadBalancerIngress { pub ports: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshGatewayInstanceStatusLoadBalancerIngressPorts { /// Error is to record the problem with the service port /// The format of the error shall comply with the following rules: diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgatewayroutes.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgatewayroutes.rs index 89b3c6f89..66a503b19 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgatewayroutes.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgatewayroutes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshgatewayroutes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshgatewayroutes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgateways.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgateways.rs index eb6948625..4f53719c9 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgateways.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshgateways.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshgateways.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshgateways.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshhealthchecks.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshhealthchecks.rs index 469ca5016..2b84be4d1 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshhealthchecks.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshhealthchecks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshhealthchecks.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshhealthchecks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshhttproutes.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshhttproutes.rs index d240b7e6a..e9f6d9c85 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshhttproutes.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshhttproutes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshhttproutes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshhttproutes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// Spec is the specification of the Kuma MeshHTTPRoute resource. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kuma.io", version = "v1alpha1", kind = "MeshHTTPRoute", plural = "meshhttproutes")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct MeshHTTPRouteSpec { /// TargetRef is a reference to the resource the policy takes an effect on. @@ -31,7 +32,7 @@ pub struct MeshHTTPRouteSpec { /// TargetRef is a reference to the resource the policy takes an effect on. /// The resource could be either a real store object or virtual resource /// defined inplace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshHTTPRouteTargetRef { /// Kind of the referenced resource #[serde(default, skip_serializing_if = "Option::is_none")] @@ -67,7 +68,7 @@ pub enum MeshHTTPRouteTargetRefKind { MeshHttpRoute, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshHTTPRouteTo { /// Hostnames is only valid when targeting MeshGateway and limits the /// effects of the rules to requests to this hostname. @@ -85,7 +86,7 @@ pub struct MeshHTTPRouteTo { pub target_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshHTTPRouteToRules { /// Default holds routing rules that can be merged with rules from other /// policies. @@ -97,7 +98,7 @@ pub struct MeshHTTPRouteToRules { /// Default holds routing rules that can be merged with rules from other /// policies. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshHTTPRouteToRulesDefault { #[serde(default, skip_serializing_if = "Option::is_none", rename = "backendRefs")] pub backend_refs: Option>, @@ -106,7 +107,7 @@ pub struct MeshHTTPRouteToRulesDefault { } /// BackendRef defines where to forward traffic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshHTTPRouteToRulesDefaultBackendRefs { /// Kind of the referenced resource #[serde(default, skip_serializing_if = "Option::is_none")] @@ -170,7 +171,7 @@ pub struct MeshHTTPRouteToRulesDefaultFilters { /// Only one action is supported per header name. /// Configuration to set or add multiple values for a header must use RFC 7230 /// header value formatting, separating each value with a comma. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshHTTPRouteToRulesDefaultFiltersRequestHeaderModifier { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -180,19 +181,19 @@ pub struct MeshHTTPRouteToRulesDefaultFiltersRequestHeaderModifier { pub set: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshHTTPRouteToRulesDefaultFiltersRequestHeaderModifierAdd { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshHTTPRouteToRulesDefaultFiltersRequestHeaderModifierSet { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshHTTPRouteToRulesDefaultFiltersRequestMirror { /// TODO forbid weight #[serde(rename = "backendRef")] @@ -204,7 +205,7 @@ pub struct MeshHTTPRouteToRulesDefaultFiltersRequestMirror { } /// TODO forbid weight -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshHTTPRouteToRulesDefaultFiltersRequestMirrorBackendRef { /// Kind of the referenced resource #[serde(default, skip_serializing_if = "Option::is_none")] @@ -243,7 +244,7 @@ pub enum MeshHTTPRouteToRulesDefaultFiltersRequestMirrorBackendRefKind { MeshHttpRoute, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshHTTPRouteToRulesDefaultFiltersRequestRedirect { /// PreciseHostname is the fully qualified domain name of a network host. This /// matches the RFC 1123 definition of a hostname with 1 notable exception that @@ -319,7 +320,7 @@ pub enum MeshHTTPRouteToRulesDefaultFiltersRequestRedirectStatusCode { /// Only one action is supported per header name. /// Configuration to set or add multiple values for a header must use RFC 7230 /// header value formatting, separating each value with a comma. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshHTTPRouteToRulesDefaultFiltersResponseHeaderModifier { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -329,13 +330,13 @@ pub struct MeshHTTPRouteToRulesDefaultFiltersResponseHeaderModifier { pub set: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshHTTPRouteToRulesDefaultFiltersResponseHeaderModifierAdd { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshHTTPRouteToRulesDefaultFiltersResponseHeaderModifierSet { pub name: String, pub value: String, @@ -351,7 +352,7 @@ pub enum MeshHTTPRouteToRulesDefaultFiltersType { RequestMirror, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshHTTPRouteToRulesDefaultFiltersUrlRewrite { /// HostToBackendHostname rewrites the hostname to the hostname of the /// upstream host. This option is only available when targeting MeshGateways. @@ -383,7 +384,7 @@ pub enum MeshHTTPRouteToRulesDefaultFiltersUrlRewritePathType { ReplacePrefixMatch, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshHTTPRouteToRulesMatches { #[serde(default, skip_serializing_if = "Option::is_none")] pub headers: Option>, @@ -399,7 +400,7 @@ pub struct MeshHTTPRouteToRulesMatches { /// HeaderMatch describes how to select an HTTP route by matching HTTP request /// headers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshHTTPRouteToRulesMatchesHeaders { /// Name is the name of the HTTP Header to be matched. Name MUST be lower case /// as they will be handled with case insensitivity (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -477,7 +478,7 @@ pub enum MeshHTTPRouteToRulesMatchesQueryParamsType { /// TargetRef is a reference to the resource that represents a group of /// request destinations. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshHTTPRouteToTargetRef { /// Kind of the referenced resource #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshinsights.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshinsights.rs index 23ad08c05..a98dbe868 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshinsights.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshinsights.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshinsights.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshinsights.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshloadbalancingstrategies.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshloadbalancingstrategies.rs index ac666cf3e..ae6899637 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshloadbalancingstrategies.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshloadbalancingstrategies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshloadbalancingstrategies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshloadbalancingstrategies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// Spec is the specification of the Kuma MeshLoadBalancingStrategy resource. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kuma.io", version = "v1alpha1", kind = "MeshLoadBalancingStrategy", plural = "meshloadbalancingstrategies")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct MeshLoadBalancingStrategySpec { /// TargetRef is a reference to the resource the policy takes an effect on. @@ -31,7 +32,7 @@ pub struct MeshLoadBalancingStrategySpec { /// TargetRef is a reference to the resource the policy takes an effect on. /// The resource could be either a real store object or virtual resource /// defined inplace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyTargetRef { /// Kind of the referenced resource #[serde(default, skip_serializing_if = "Option::is_none")] @@ -67,7 +68,7 @@ pub enum MeshLoadBalancingStrategyTargetRefKind { MeshHttpRoute, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyTo { /// Default is a configuration specific to the group of destinations referenced in /// 'targetRef' @@ -81,7 +82,7 @@ pub struct MeshLoadBalancingStrategyTo { /// Default is a configuration specific to the group of destinations referenced in /// 'targetRef' -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyToDefault { /// LoadBalancer allows to specify load balancing algorithm. #[serde(default, skip_serializing_if = "Option::is_none", rename = "loadBalancer")] @@ -124,7 +125,7 @@ pub struct MeshLoadBalancingStrategyToDefaultLoadBalancer { /// LeastRequest selects N random available hosts as specified in 'choiceCount' (2 by default) /// and picks the host which has the fewest active requests -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyToDefaultLoadBalancerLeastRequest { /// ActiveRequestBias refers to dynamic weights applied when hosts have varying load /// balancing weights. A higher value here aggressively reduces the weight of endpoints @@ -143,7 +144,7 @@ pub struct MeshLoadBalancingStrategyToDefaultLoadBalancerLeastRequest { /// Maglev implements consistent hashing to upstream hosts. Maglev can be used as /// a drop in replacement for the ring hash load balancer any place in which /// consistent hashing is desired. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyToDefaultLoadBalancerMaglev { /// HashPolicies specify a list of request/connection properties that are used to calculate a hash. /// These hash policies are executed in the specified order. If a hash policy has the “terminal” attribute @@ -183,14 +184,14 @@ pub struct MeshLoadBalancingStrategyToDefaultLoadBalancerMaglevHashPolicies { pub r#type: MeshLoadBalancingStrategyToDefaultLoadBalancerMaglevHashPoliciesType, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyToDefaultLoadBalancerMaglevHashPoliciesConnection { /// Hash on source IP address. #[serde(default, skip_serializing_if = "Option::is_none", rename = "sourceIP")] pub source_ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyToDefaultLoadBalancerMaglevHashPoliciesCookie { /// The name of the cookie that will be used to obtain the hash key. pub name: String, @@ -202,7 +203,7 @@ pub struct MeshLoadBalancingStrategyToDefaultLoadBalancerMaglevHashPoliciesCooki pub ttl: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyToDefaultLoadBalancerMaglevHashPoliciesFilterState { /// The name of the Object in the per-request filterState, which is /// an Envoy::Hashable object. If there is no data associated with the key, @@ -210,13 +211,13 @@ pub struct MeshLoadBalancingStrategyToDefaultLoadBalancerMaglevHashPoliciesFilte pub key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyToDefaultLoadBalancerMaglevHashPoliciesHeader { /// The name of the request header that will be used to obtain the hash key. pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyToDefaultLoadBalancerMaglevHashPoliciesQueryParameter { /// The name of the URL query parameter that will be used to obtain the hash key. /// If the parameter is not present, no hash will be produced. Query parameter names @@ -237,7 +238,7 @@ pub enum MeshLoadBalancingStrategyToDefaultLoadBalancerMaglevHashPoliciesType { /// Random selects a random available host. The random load balancer generally /// performs better than round-robin if no health checking policy is configured. /// Random selection avoids bias towards the host in the set that comes after a failed host. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyToDefaultLoadBalancerRandom { } @@ -245,7 +246,7 @@ pub struct MeshLoadBalancingStrategyToDefaultLoadBalancerRandom { /// onto a circle (the “ring”) by hashing its address; each request is then routed /// to a host by hashing some property of the request, and finding the nearest /// corresponding host clockwise around the ring. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyToDefaultLoadBalancerRingHash { /// HashFunction is a function used to hash hosts onto the ketama ring. /// The value defaults to XX_HASH. Available values – XX_HASH, MURMUR_HASH_2. @@ -301,14 +302,14 @@ pub struct MeshLoadBalancingStrategyToDefaultLoadBalancerRingHashHashPolicies { pub r#type: MeshLoadBalancingStrategyToDefaultLoadBalancerRingHashHashPoliciesType, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyToDefaultLoadBalancerRingHashHashPoliciesConnection { /// Hash on source IP address. #[serde(default, skip_serializing_if = "Option::is_none", rename = "sourceIP")] pub source_ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyToDefaultLoadBalancerRingHashHashPoliciesCookie { /// The name of the cookie that will be used to obtain the hash key. pub name: String, @@ -320,7 +321,7 @@ pub struct MeshLoadBalancingStrategyToDefaultLoadBalancerRingHashHashPoliciesCoo pub ttl: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyToDefaultLoadBalancerRingHashHashPoliciesFilterState { /// The name of the Object in the per-request filterState, which is /// an Envoy::Hashable object. If there is no data associated with the key, @@ -328,13 +329,13 @@ pub struct MeshLoadBalancingStrategyToDefaultLoadBalancerRingHashHashPoliciesFil pub key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyToDefaultLoadBalancerRingHashHashPoliciesHeader { /// The name of the request header that will be used to obtain the hash key. pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyToDefaultLoadBalancerRingHashHashPoliciesQueryParameter { /// The name of the URL query parameter that will be used to obtain the hash key. /// If the parameter is not present, no hash will be produced. Query parameter names @@ -354,7 +355,7 @@ pub enum MeshLoadBalancingStrategyToDefaultLoadBalancerRingHashHashPoliciesType /// RoundRobin is a load balancing algorithm that distributes requests /// across available upstream hosts in round-robin order. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyToDefaultLoadBalancerRoundRobin { } @@ -369,7 +370,7 @@ pub enum MeshLoadBalancingStrategyToDefaultLoadBalancerType { } /// LocalityAwareness contains configuration for locality aware load balancing. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyToDefaultLocalityAwareness { /// CrossZone defines locality aware load balancing priorities when dataplane proxies inside local zone /// are unavailable @@ -386,7 +387,7 @@ pub struct MeshLoadBalancingStrategyToDefaultLocalityAwareness { /// CrossZone defines locality aware load balancing priorities when dataplane proxies inside local zone /// are unavailable -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyToDefaultLocalityAwarenessCrossZone { /// Failover defines list of load balancing rules in order of priority #[serde(default, skip_serializing_if = "Option::is_none")] @@ -410,7 +411,7 @@ pub struct MeshLoadBalancingStrategyToDefaultLocalityAwarenessCrossZoneFailover } /// From defines the list of zones to which the rule applies -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyToDefaultLocalityAwarenessCrossZoneFailoverFrom { pub zones: Vec, } @@ -439,20 +440,20 @@ pub enum MeshLoadBalancingStrategyToDefaultLocalityAwarenessCrossZoneFailoverToT /// Example: If you configure failoverThreshold to 70, and you have deployed 10 destination dataplane proxies. /// Load balancing to next priority will start when number of live destination dataplane proxies drops below 7. /// Default 50 -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyToDefaultLocalityAwarenessCrossZoneFailoverThreshold { pub percentage: IntOrString, } /// LocalZone defines locality aware load balancing priorities between dataplane proxies inside a zone -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyToDefaultLocalityAwarenessLocalZone { /// AffinityTags list of tags for local zone load balancing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "affinityTags")] pub affinity_tags: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyToDefaultLocalityAwarenessLocalZoneAffinityTags { /// Key defines tag for which affinity is configured pub key: String, @@ -468,7 +469,7 @@ pub struct MeshLoadBalancingStrategyToDefaultLocalityAwarenessLocalZoneAffinityT /// TargetRef is a reference to the resource that represents a group of /// destinations. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshLoadBalancingStrategyToTargetRef { /// Kind of the referenced resource #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshproxypatches.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshproxypatches.rs index a24cdcd53..5219eb1ea 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshproxypatches.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshproxypatches.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshproxypatches.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshproxypatches.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { use self::prelude::*; /// Spec is the specification of the Kuma MeshProxyPatch resource. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kuma.io", version = "v1alpha1", kind = "MeshProxyPatch", plural = "meshproxypatches")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct MeshProxyPatchSpec { /// Default is a configuration specific to the group of destinations @@ -29,14 +30,14 @@ pub struct MeshProxyPatchSpec { /// Default is a configuration specific to the group of destinations /// referenced in 'targetRef'. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshProxyPatchDefault { /// AppendModifications is a list of modifications applied on the selected proxy. #[serde(rename = "appendModifications")] pub append_modifications: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshProxyPatchDefaultAppendModifications { /// Cluster is a modification of Envoy's Cluster resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -105,7 +106,7 @@ pub enum MeshProxyPatchDefaultAppendModificationsClusterJsonPatchesOp { } /// Match is a set of conditions that have to be matched for modification operation to happen. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshProxyPatchDefaultAppendModificationsClusterMatch { /// Name of the cluster to match. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -187,7 +188,7 @@ pub enum MeshProxyPatchDefaultAppendModificationsHttpFilterJsonPatchesOp { } /// Match is a set of conditions that have to be matched for modification operation to happen. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshProxyPatchDefaultAppendModificationsHttpFilterMatch { /// Name of the listener to match. #[serde(default, skip_serializing_if = "Option::is_none", rename = "listenerName")] @@ -278,7 +279,7 @@ pub enum MeshProxyPatchDefaultAppendModificationsListenerJsonPatchesOp { } /// Match is a set of conditions that have to be matched for modification operation to happen. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshProxyPatchDefaultAppendModificationsListenerMatch { /// Name of the listener to match. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -362,7 +363,7 @@ pub enum MeshProxyPatchDefaultAppendModificationsNetworkFilterJsonPatchesOp { } /// Match is a set of conditions that have to be matched for modification operation to happen. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshProxyPatchDefaultAppendModificationsNetworkFilterMatch { /// Name of the listener to match. #[serde(default, skip_serializing_if = "Option::is_none", rename = "listenerName")] @@ -453,7 +454,7 @@ pub enum MeshProxyPatchDefaultAppendModificationsVirtualHostJsonPatchesOp { } /// Match is a set of conditions that have to be matched for modification operation to happen. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshProxyPatchDefaultAppendModificationsVirtualHostMatch { /// Name of the VirtualHost to match. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -493,7 +494,7 @@ pub enum MeshProxyPatchDefaultAppendModificationsVirtualHostOperation { /// TargetRef is a reference to the resource the policy takes an effect on. /// The resource could be either a real store object or virtual resource /// defined inplace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshProxyPatchTargetRef { /// Kind of the referenced resource #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshratelimits.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshratelimits.rs index 7908af8c0..0cce126cf 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshratelimits.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshratelimits.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshratelimits.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshratelimits.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshretries.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshretries.rs index c34637732..cb91f9241 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshretries.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshretries.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshretries.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshretries.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { use self::prelude::*; /// Spec is the specification of the Kuma MeshRetry resource. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kuma.io", version = "v1alpha1", kind = "MeshRetry", plural = "meshretries")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct MeshRetrySpec { /// TargetRef is a reference to the resource the policy takes an effect on. @@ -30,7 +31,7 @@ pub struct MeshRetrySpec { /// TargetRef is a reference to the resource the policy takes an effect on. /// The resource could be either a real store object or virtual resource /// defined inplace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshRetryTargetRef { /// Kind of the referenced resource #[serde(default, skip_serializing_if = "Option::is_none")] @@ -66,7 +67,7 @@ pub enum MeshRetryTargetRefKind { MeshHttpRoute, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshRetryTo { /// Default is a configuration specific to the group of destinations referenced in /// 'targetRef' @@ -80,7 +81,7 @@ pub struct MeshRetryTo { /// Default is a configuration specific to the group of destinations referenced in /// 'targetRef' -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshRetryToDefault { /// GRPC defines a configuration of retries for GRPC traffic #[serde(default, skip_serializing_if = "Option::is_none")] @@ -94,7 +95,7 @@ pub struct MeshRetryToDefault { } /// GRPC defines a configuration of retries for GRPC traffic -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshRetryToDefaultGrpc { /// BackOff is a configuration of durations which will be used in an exponential /// backoff strategy between retries. @@ -120,7 +121,7 @@ pub struct MeshRetryToDefaultGrpc { /// BackOff is a configuration of durations which will be used in an exponential /// backoff strategy between retries. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshRetryToDefaultGrpcBackOff { /// BaseInterval is an amount of time which should be taken between retries. /// Must be greater than zero. Values less than 1 ms are rounded up to 1 ms. @@ -134,7 +135,7 @@ pub struct MeshRetryToDefaultGrpcBackOff { /// RateLimitedBackOff is a configuration of backoff which will be used when /// the upstream returns one of the headers configured. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshRetryToDefaultGrpcRateLimitedBackOff { /// MaxInterval is a maximal amount of time which will be taken between retries. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxInterval")] @@ -162,7 +163,7 @@ pub enum MeshRetryToDefaultGrpcRateLimitedBackOffResetHeadersFormat { } /// HTTP defines a configuration of retries for HTTP traffic -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshRetryToDefaultHttp { /// BackOff is a configuration of durations which will be used in exponential /// backoff strategy between retries. @@ -213,7 +214,7 @@ pub struct MeshRetryToDefaultHttp { /// BackOff is a configuration of durations which will be used in exponential /// backoff strategy between retries. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshRetryToDefaultHttpBackOff { /// BaseInterval is an amount of time which should be taken between retries. /// Must be greater than zero. Values less than 1 ms are rounded up to 1 ms. @@ -248,7 +249,7 @@ pub enum MeshRetryToDefaultHttpHostSelectionPredicate { /// RateLimitedBackOff is a configuration of backoff which will be used /// when the upstream returns one of the headers configured. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshRetryToDefaultHttpRateLimitedBackOff { /// MaxInterval is a maximal amount of time which will be taken between retries. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxInterval")] @@ -277,7 +278,7 @@ pub enum MeshRetryToDefaultHttpRateLimitedBackOffResetHeadersFormat { /// HeaderMatch describes how to select an HTTP route by matching HTTP request /// headers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshRetryToDefaultHttpRetriableRequestHeaders { /// Name is the name of the HTTP Header to be matched. Name MUST be lower case /// as they will be handled with case insensitivity (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -303,7 +304,7 @@ pub enum MeshRetryToDefaultHttpRetriableRequestHeadersType { /// HeaderMatch describes how to select an HTTP route by matching HTTP request /// headers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshRetryToDefaultHttpRetriableResponseHeaders { /// Name is the name of the HTTP Header to be matched. Name MUST be lower case /// as they will be handled with case insensitivity (See https://tools.ietf.org/html/rfc7230#section-3.2). @@ -328,7 +329,7 @@ pub enum MeshRetryToDefaultHttpRetriableResponseHeadersType { } /// TCP defines a configuration of retries for TCP traffic -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshRetryToDefaultTcp { /// MaxConnectAttempt is a maximal amount of TCP connection attempts /// which will be made before giving up @@ -338,7 +339,7 @@ pub struct MeshRetryToDefaultTcp { /// TargetRef is a reference to the resource that represents a group of /// destinations. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshRetryToTargetRef { /// Kind of the referenced resource #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtcproutes.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtcproutes.rs index f33ecc362..09aca5091 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtcproutes.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtcproutes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshtcproutes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshtcproutes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtimeouts.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtimeouts.rs index c03eaabfe..e93ef8167 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtimeouts.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtimeouts.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshtimeouts.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshtimeouts.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtraces.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtraces.rs index d573e96a9..f025e89f9 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtraces.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtraces.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshtraces.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshtraces.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// Spec is the specification of the Kuma MeshTrace resource. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kuma.io", version = "v1alpha1", kind = "MeshTrace", plural = "meshtraces")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct MeshTraceSpec { /// MeshTrace configuration. @@ -29,7 +30,7 @@ pub struct MeshTraceSpec { } /// MeshTrace configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshTraceDefault { /// A one element array of backend definition. /// Envoy allows configuring only 1 backend, so the natural way of @@ -66,7 +67,7 @@ pub struct MeshTraceDefaultBackends { } /// Datadog backend configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshTraceDefaultBackendsDatadog { /// Determines if datadog service name should be split based on traffic /// direction and destination. For example, with `splitService: true` and a @@ -81,7 +82,7 @@ pub struct MeshTraceDefaultBackendsDatadog { } /// OpenTelemetry backend configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshTraceDefaultBackendsOpenTelemetry { /// Address of OpenTelemetry collector. pub endpoint: String, @@ -96,7 +97,7 @@ pub enum MeshTraceDefaultBackendsType { } /// Zipkin backend configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshTraceDefaultBackendsZipkin { /// Version of the API. /// https://github.com/envoyproxy/envoy/blob/v1.22.0/api/envoy/config/trace/v3/zipkin.proto#L66 @@ -126,7 +127,7 @@ pub enum MeshTraceDefaultBackendsZipkinApiVersion { /// Sampling configuration. /// Sampling is the process by which a decision is made on whether to /// process/export a span or not. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshTraceDefaultSampling { /// Target percentage of requests that will be force traced if the /// 'x-client-trace-id' header is set. Mirror of client_sampling in Envoy @@ -156,7 +157,7 @@ pub struct MeshTraceDefaultSampling { /// Custom tags configuration. /// Only one of literal or header can be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshTraceDefaultTags { /// Tag taken from a header. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -169,7 +170,7 @@ pub struct MeshTraceDefaultTags { } /// Tag taken from a header. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshTraceDefaultTagsHeader { /// Default value to use if header is missing. /// If the default is missing and there is no value the tag will not be @@ -183,7 +184,7 @@ pub struct MeshTraceDefaultTagsHeader { /// TargetRef is a reference to the resource the policy takes an effect on. /// The resource could be either a real store object or virtual resource /// defined inplace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MeshTraceTargetRef { /// Kind of the referenced resource #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtrafficpermissions.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtrafficpermissions.rs index 166bef878..68361678c 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtrafficpermissions.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/meshtrafficpermissions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshtrafficpermissions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/meshtrafficpermissions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/proxytemplates.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/proxytemplates.rs index 75fbf47ae..571036f66 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/proxytemplates.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/proxytemplates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/proxytemplates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/proxytemplates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/ratelimits.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/ratelimits.rs index 29e93ebd7..d86bb6ce6 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/ratelimits.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/ratelimits.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/ratelimits.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/ratelimits.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/retries.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/retries.rs index aa436f6fe..bdf23cca6 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/retries.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/retries.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/retries.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/retries.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/serviceinsights.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/serviceinsights.rs index 641ed068c..f4d4dabba 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/serviceinsights.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/serviceinsights.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/serviceinsights.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/serviceinsights.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/timeouts.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/timeouts.rs index 51e95c84c..4786eed8e 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/timeouts.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/timeouts.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/timeouts.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/timeouts.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/trafficlogs.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/trafficlogs.rs index 1d76d6c1b..fe15d68a2 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/trafficlogs.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/trafficlogs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/trafficlogs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/trafficlogs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/trafficpermissions.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/trafficpermissions.rs index 645c69f9a..2ae4e0a77 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/trafficpermissions.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/trafficpermissions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/trafficpermissions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/trafficpermissions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/trafficroutes.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/trafficroutes.rs index b0856bca0..738b65f90 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/trafficroutes.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/trafficroutes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/trafficroutes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/trafficroutes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/traffictraces.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/traffictraces.rs index ae36a86f8..67c0f02b2 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/traffictraces.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/traffictraces.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/traffictraces.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/traffictraces.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/virtualoutbounds.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/virtualoutbounds.rs index bec87ba77..709074656 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/virtualoutbounds.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/virtualoutbounds.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/virtualoutbounds.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/virtualoutbounds.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneegresses.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneegresses.rs index 1afad8cc7..a2d9f2ded 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneegresses.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneegresses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/zoneegresses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/zoneegresses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneegressinsights.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneegressinsights.rs index c80acdc98..1e60207b3 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneegressinsights.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneegressinsights.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/zoneegressinsights.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/zoneegressinsights.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneingresses.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneingresses.rs index 05ea2874e..84137651e 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneingresses.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneingresses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/zoneingresses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/zoneingresses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneingressinsights.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneingressinsights.rs index 6ba7cc021..1d9951456 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneingressinsights.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneingressinsights.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/zoneingressinsights.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/zoneingressinsights.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneinsights.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneinsights.rs index ec8de3dac..2e472f991 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneinsights.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/zoneinsights.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/zoneinsights.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/zoneinsights.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kuma_io/v1alpha1/zones.rs b/kube-custom-resources-rs/src/kuma_io/v1alpha1/zones.rs index 913f92703..5acedae3f 100644 --- a/kube-custom-resources-rs/src/kuma_io/v1alpha1/zones.rs +++ b/kube-custom-resources-rs/src/kuma_io/v1alpha1/zones.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/zones.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kumahq/kuma/kuma.io/v1alpha1/zones.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kustomize_toolkit_fluxcd_io/v1/kustomizations.rs b/kube-custom-resources-rs/src/kustomize_toolkit_fluxcd_io/v1/kustomizations.rs index 1f7857e24..ad430a882 100644 --- a/kube-custom-resources-rs/src/kustomize_toolkit_fluxcd_io/v1/kustomizations.rs +++ b/kube-custom-resources-rs/src/kustomize_toolkit_fluxcd_io/v1/kustomizations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/kustomize-controller/kustomize.toolkit.fluxcd.io/v1/kustomizations.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/kustomize-controller/kustomize.toolkit.fluxcd.io/v1/kustomizations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -115,7 +115,7 @@ pub struct KustomizationSpec { /// CommonMetadata specifies the common labels and annotations that are /// applied to all resources. Any existing label or annotation will be /// overridden if its key matches a common one. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationCommonMetadata { /// Annotations to be added to the object's metadata. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -143,7 +143,7 @@ pub enum KustomizationDecryptionProvider { } /// The secret name containing the private OpenPGP keys used for decryption. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationDecryptionSecretRef { /// Name of the referent. pub name: String, @@ -151,7 +151,7 @@ pub struct KustomizationDecryptionSecretRef { /// NamespacedObjectReference contains enough information to locate the referenced Kubernetes resource object in any /// namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationDependsOn { /// Name of the referent. pub name: String, @@ -162,7 +162,7 @@ pub struct KustomizationDependsOn { /// NamespacedObjectKindReference contains enough information to locate the typed referenced Kubernetes resource object /// in any namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationHealthChecks { /// API version of the referent, if not specified the Kubernetes preferred version will be used. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -177,7 +177,7 @@ pub struct KustomizationHealthChecks { } /// Image contains an image name, a new name, a new tag or digest, which will replace the original name and tag. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationImages { /// Digest is the value used to replace the original image tag. /// If digest is present NewTag value is ignored. @@ -200,7 +200,7 @@ pub struct KustomizationImages { /// If the --default-service-account flag is set, its value will be used as /// a controller level fallback for when KustomizationSpec.ServiceAccountName /// is empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationKubeConfig { /// SecretRef holds the name of a secret that contains a key with /// the kubeconfig file as the value. If no key is set, the key will default @@ -222,7 +222,7 @@ pub struct KustomizationKubeConfig { /// Cloud specific `cmd-path` auth helpers will not function without adding /// binaries and credentials to the Pod that is responsible for reconciling /// Kubernetes resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationKubeConfigSecretRef { /// Key in the Secret, when not specified an implementation-specific default key is used. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -233,7 +233,7 @@ pub struct KustomizationKubeConfigSecretRef { /// Patch contains an inline StrategicMerge or JSON6902 patch, and the target the patch should /// be applied to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationPatches { /// Patch contains an inline StrategicMerge patch or an inline JSON6902 patch with /// an array of operation objects. @@ -244,7 +244,7 @@ pub struct KustomizationPatches { } /// Target points to the resources that the patch document should be applied to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationPatchesTarget { /// AnnotationSelector is a string that follows the label selection expression /// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api @@ -282,7 +282,7 @@ pub struct KustomizationPatchesTarget { /// PostBuild describes which actions to perform on the YAML manifest /// generated by building the kustomize overlay. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationPostBuild { /// Substitute holds a map of key/value pairs. /// The variables defined in your YAML manifests that match any of the keys @@ -350,7 +350,7 @@ pub enum KustomizationSourceRefKind { } /// KustomizationStatus defines the observed state of a kustomization. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, @@ -377,14 +377,14 @@ pub struct KustomizationStatus { /// Inventory contains the list of Kubernetes resource object references that /// have been successfully applied. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationStatusInventory { /// Entries of Kubernetes resource object references. pub entries: Vec, } /// ResourceRef contains the information necessary to locate a resource within a cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationStatusInventoryEntries { /// ID is the string representation of the Kubernetes resource object's metadata, /// in the format '___'. diff --git a/kube-custom-resources-rs/src/kustomize_toolkit_fluxcd_io/v1beta1/kustomizations.rs b/kube-custom-resources-rs/src/kustomize_toolkit_fluxcd_io/v1beta1/kustomizations.rs index be0439e55..b9fca9a30 100644 --- a/kube-custom-resources-rs/src/kustomize_toolkit_fluxcd_io/v1beta1/kustomizations.rs +++ b/kube-custom-resources-rs/src/kustomize_toolkit_fluxcd_io/v1beta1/kustomizations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/kustomize-controller/kustomize.toolkit.fluxcd.io/v1beta1/kustomizations.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/kustomize-controller/kustomize.toolkit.fluxcd.io/v1beta1/kustomizations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -117,7 +117,7 @@ pub enum KustomizationDecryptionProvider { } /// The secret name containing the private OpenPGP keys used for decryption. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationDecryptionSecretRef { /// Name of the referent. pub name: String, @@ -125,7 +125,7 @@ pub struct KustomizationDecryptionSecretRef { /// NamespacedObjectReference contains enough information to locate the referenced Kubernetes resource object in any /// namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationDependsOn { /// Name of the referent. pub name: String, @@ -136,7 +136,7 @@ pub struct KustomizationDependsOn { /// NamespacedObjectKindReference contains enough information to locate the typed referenced Kubernetes resource object /// in any namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationHealthChecks { /// API version of the referent, if not specified the Kubernetes preferred version will be used. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -151,7 +151,7 @@ pub struct KustomizationHealthChecks { } /// Image contains an image name, a new name, a new tag or digest, which will replace the original name and tag. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationImages { /// Digest is the value used to replace the original image tag. /// If digest is present NewTag value is ignored. @@ -169,7 +169,7 @@ pub struct KustomizationImages { /// The KubeConfig for reconciling the Kustomization on a remote cluster. /// When specified, KubeConfig takes precedence over ServiceAccountName. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationKubeConfig { /// SecretRef holds the name to a secret that contains a 'value' key with /// the kubeconfig file as the value. It must be in the same namespace as @@ -191,7 +191,7 @@ pub struct KustomizationKubeConfig { /// Cloud specific `cmd-path` auth helpers will not function without adding /// binaries and credentials to the Pod that is responsible for reconciling /// the Kustomization. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationKubeConfigSecretRef { /// Name of the referent. pub name: String, @@ -199,7 +199,7 @@ pub struct KustomizationKubeConfigSecretRef { /// Patch contains an inline StrategicMerge or JSON6902 patch, and the target the patch should /// be applied to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationPatches { /// Patch contains an inline StrategicMerge patch or an inline JSON6902 patch with /// an array of operation objects. @@ -210,7 +210,7 @@ pub struct KustomizationPatches { } /// Target points to the resources that the patch document should be applied to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationPatchesTarget { /// AnnotationSelector is a string that follows the label selection expression /// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api @@ -247,7 +247,7 @@ pub struct KustomizationPatchesTarget { } /// JSON6902Patch contains a JSON6902 patch and the target the patch should be applied to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationPatchesJson6902 { /// Patch contains the JSON6902 patch document with an array of operation objects. pub patch: Vec, @@ -295,7 +295,7 @@ pub enum KustomizationPatchesJson6902PatchOp { } /// Target points to the resources that the patch document should be applied to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationPatchesJson6902Target { /// AnnotationSelector is a string that follows the label selection expression /// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api @@ -333,7 +333,7 @@ pub struct KustomizationPatchesJson6902Target { /// PostBuild describes which actions to perform on the YAML manifest /// generated by building the kustomize overlay. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationPostBuild { /// Substitute holds a map of key/value pairs. /// The variables defined in your YAML manifests @@ -404,7 +404,7 @@ pub enum KustomizationValidation { } /// KustomizationStatus defines the observed state of a kustomization. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, @@ -429,7 +429,7 @@ pub struct KustomizationStatus { } /// The last successfully applied revision metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationStatusSnapshot { /// The manifests sha1 checksum. pub checksum: String, @@ -439,7 +439,7 @@ pub struct KustomizationStatusSnapshot { /// Snapshot holds the metadata of namespaced /// Kubernetes objects -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationStatusSnapshotEntries { /// The list of Kubernetes kinds. pub kinds: BTreeMap, diff --git a/kube-custom-resources-rs/src/kustomize_toolkit_fluxcd_io/v1beta2/kustomizations.rs b/kube-custom-resources-rs/src/kustomize_toolkit_fluxcd_io/v1beta2/kustomizations.rs index f27606f1a..5e032f273 100644 --- a/kube-custom-resources-rs/src/kustomize_toolkit_fluxcd_io/v1beta2/kustomizations.rs +++ b/kube-custom-resources-rs/src/kustomize_toolkit_fluxcd_io/v1beta2/kustomizations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/kustomize-controller/kustomize.toolkit.fluxcd.io/v1beta2/kustomizations.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/kustomize-controller/kustomize.toolkit.fluxcd.io/v1beta2/kustomizations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -115,7 +115,7 @@ pub struct KustomizationSpec { /// CommonMetadata specifies the common labels and annotations that are applied to all resources. /// Any existing label or annotation will be overridden if its key matches a common one. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationCommonMetadata { /// Annotations to be added to the object's metadata. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -143,7 +143,7 @@ pub enum KustomizationDecryptionProvider { } /// The secret name containing the private OpenPGP keys used for decryption. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationDecryptionSecretRef { /// Name of the referent. pub name: String, @@ -151,7 +151,7 @@ pub struct KustomizationDecryptionSecretRef { /// NamespacedObjectReference contains enough information to locate the referenced Kubernetes resource object in any /// namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationDependsOn { /// Name of the referent. pub name: String, @@ -162,7 +162,7 @@ pub struct KustomizationDependsOn { /// NamespacedObjectKindReference contains enough information to locate the typed referenced Kubernetes resource object /// in any namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationHealthChecks { /// API version of the referent, if not specified the Kubernetes preferred version will be used. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -177,7 +177,7 @@ pub struct KustomizationHealthChecks { } /// Image contains an image name, a new name, a new tag or digest, which will replace the original name and tag. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationImages { /// Digest is the value used to replace the original image tag. /// If digest is present NewTag value is ignored. @@ -200,7 +200,7 @@ pub struct KustomizationImages { /// If the --default-service-account flag is set, its value will be used as /// a controller level fallback for when KustomizationSpec.ServiceAccountName /// is empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationKubeConfig { /// SecretRef holds the name of a secret that contains a key with /// the kubeconfig file as the value. If no key is set, the key will default @@ -222,7 +222,7 @@ pub struct KustomizationKubeConfig { /// Cloud specific `cmd-path` auth helpers will not function without adding /// binaries and credentials to the Pod that is responsible for reconciling /// Kubernetes resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationKubeConfigSecretRef { /// Key in the Secret, when not specified an implementation-specific default key is used. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -233,7 +233,7 @@ pub struct KustomizationKubeConfigSecretRef { /// Patch contains an inline StrategicMerge or JSON6902 patch, and the target the patch should /// be applied to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationPatches { /// Patch contains an inline StrategicMerge patch or an inline JSON6902 patch with /// an array of operation objects. @@ -244,7 +244,7 @@ pub struct KustomizationPatches { } /// Target points to the resources that the patch document should be applied to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationPatchesTarget { /// AnnotationSelector is a string that follows the label selection expression /// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api @@ -281,7 +281,7 @@ pub struct KustomizationPatchesTarget { } /// JSON6902Patch contains a JSON6902 patch and the target the patch should be applied to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationPatchesJson6902 { /// Patch contains the JSON6902 patch document with an array of operation objects. pub patch: Vec, @@ -329,7 +329,7 @@ pub enum KustomizationPatchesJson6902PatchOp { } /// Target points to the resources that the patch document should be applied to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationPatchesJson6902Target { /// AnnotationSelector is a string that follows the label selection expression /// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api @@ -367,7 +367,7 @@ pub struct KustomizationPatchesJson6902Target { /// PostBuild describes which actions to perform on the YAML manifest /// generated by building the kustomize overlay. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationPostBuild { /// Substitute holds a map of key/value pairs. /// The variables defined in your YAML manifests @@ -445,7 +445,7 @@ pub enum KustomizationValidation { } /// KustomizationStatus defines the observed state of a kustomization. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, @@ -470,14 +470,14 @@ pub struct KustomizationStatus { } /// Inventory contains the list of Kubernetes resource object references that have been successfully applied. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationStatusInventory { /// Entries of Kubernetes resource object references. pub entries: Vec, } /// ResourceRef contains the information necessary to locate a resource within a cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KustomizationStatusInventoryEntries { /// ID is the string representation of the Kubernetes resource object's metadata, /// in the format '___'. diff --git a/kube-custom-resources-rs/src/kyverno_io/v1/clusterpolicies.rs b/kube-custom-resources-rs/src/kyverno_io/v1/clusterpolicies.rs index 7aeb52a75..33c2c1a4c 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v1/clusterpolicies.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v1/clusterpolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v1/clusterpolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v1/clusterpolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// Spec declares policy behaviors. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kyverno.io", version = "v1", kind = "ClusterPolicy", plural = "clusterpolicies")] #[kube(status = "ClusterPolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterPolicySpec { /// Admission controls if rules are applied during admission. @@ -101,7 +102,7 @@ pub enum ClusterPolicyFailurePolicy { /// Rule defines a validation, mutation, or generation control for matching resources. /// Each rules contains a match declaration to select resources, and an optional exclude /// declaration to specify which resources to exclude. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRules { /// CELPreconditions are used to determine if a policy rule should be applied by evaluating a /// set of CEL conditions. It can only be used with the validate.cel subrule @@ -154,7 +155,7 @@ pub struct ClusterPolicyRules { } /// MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesCelPreconditions { /// Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. /// CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables: @@ -187,7 +188,7 @@ pub struct ClusterPolicyRulesCelPreconditions { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -213,7 +214,7 @@ pub struct ClusterPolicyRulesContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -245,7 +246,7 @@ pub struct ClusterPolicyRulesContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -266,7 +267,7 @@ pub enum ClusterPolicyRulesContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -278,7 +279,7 @@ pub struct ClusterPolicyRulesContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -288,7 +289,7 @@ pub struct ClusterPolicyRulesContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -304,7 +305,7 @@ pub struct ClusterPolicyRulesContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -320,7 +321,7 @@ pub struct ClusterPolicyRulesContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -336,7 +337,7 @@ pub struct ClusterPolicyRulesContextImageRegistryImageRegistryCredentials { } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -354,7 +355,7 @@ pub struct ClusterPolicyRulesContextVariable { /// ExcludeResources defines when this policy rule should not be applied. The exclude /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the name or role. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExclude { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -380,7 +381,7 @@ pub struct ClusterPolicyRulesExclude { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -397,7 +398,7 @@ pub struct ClusterPolicyRulesExcludeAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -443,7 +444,7 @@ pub struct ClusterPolicyRulesExcludeAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -457,7 +458,7 @@ pub struct ClusterPolicyRulesExcludeAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -476,7 +477,7 @@ pub struct ClusterPolicyRulesExcludeAllResourcesNamespaceSelectorMatchExpression /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -490,7 +491,7 @@ pub struct ClusterPolicyRulesExcludeAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -507,7 +508,7 @@ pub struct ClusterPolicyRulesExcludeAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -526,7 +527,7 @@ pub struct ClusterPolicyRulesExcludeAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -543,7 +544,7 @@ pub struct ClusterPolicyRulesExcludeAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -589,7 +590,7 @@ pub struct ClusterPolicyRulesExcludeAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -603,7 +604,7 @@ pub struct ClusterPolicyRulesExcludeAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -622,7 +623,7 @@ pub struct ClusterPolicyRulesExcludeAnyResourcesNamespaceSelectorMatchExpression /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -636,7 +637,7 @@ pub struct ClusterPolicyRulesExcludeAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -653,7 +654,7 @@ pub struct ClusterPolicyRulesExcludeAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -675,7 +676,7 @@ pub struct ClusterPolicyRulesExcludeAnySubjects { /// Requires at least one tag to be specified when under MatchResources. /// Specifying ResourceDescription directly under match is being deprecated. /// Please specify under "any" or "all" instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -721,7 +722,7 @@ pub struct ClusterPolicyRulesExcludeResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -735,7 +736,7 @@ pub struct ClusterPolicyRulesExcludeResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -754,7 +755,7 @@ pub struct ClusterPolicyRulesExcludeResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -768,7 +769,7 @@ pub struct ClusterPolicyRulesExcludeResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -785,7 +786,7 @@ pub struct ClusterPolicyRulesExcludeResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -804,7 +805,7 @@ pub struct ClusterPolicyRulesExcludeSubjects { } /// Generation is used to create new resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesGenerate { /// APIVersion specifies resource apiVersion. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -851,7 +852,7 @@ pub struct ClusterPolicyRulesGenerate { /// Clone specifies the source resource used to populate each generated resource. /// At most one of Data or Clone can be specified. If neither are provided, the generated /// resource will be created with default data only. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesGenerateClone { /// Name specifies name of the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -862,7 +863,7 @@ pub struct ClusterPolicyRulesGenerateClone { } /// CloneList specifies the list of source resource used to populate each generated resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesGenerateCloneList { /// Kinds is a list of resource kinds. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -878,7 +879,7 @@ pub struct ClusterPolicyRulesGenerateCloneList { /// Selector is a label selector. Label keys and values in `matchLabels`. /// wildcard characters are not supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesGenerateCloneListSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -892,7 +893,7 @@ pub struct ClusterPolicyRulesGenerateCloneListSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesGenerateCloneListSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -907,7 +908,7 @@ pub struct ClusterPolicyRulesGenerateCloneListSelectorMatchExpressions { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesImageExtractors { /// JMESPath is an optional JMESPath expression to apply to the image value. /// This is useful when the extracted image begins with a prefix like 'docker://'. @@ -937,7 +938,7 @@ pub struct ClusterPolicyRulesImageExtractors { /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the user name or role. /// At least one kind is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatch { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -963,7 +964,7 @@ pub struct ClusterPolicyRulesMatch { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -980,7 +981,7 @@ pub struct ClusterPolicyRulesMatchAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -1026,7 +1027,7 @@ pub struct ClusterPolicyRulesMatchAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1040,7 +1041,7 @@ pub struct ClusterPolicyRulesMatchAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1059,7 +1060,7 @@ pub struct ClusterPolicyRulesMatchAllResourcesNamespaceSelectorMatchExpressions /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1073,7 +1074,7 @@ pub struct ClusterPolicyRulesMatchAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1090,7 +1091,7 @@ pub struct ClusterPolicyRulesMatchAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -1109,7 +1110,7 @@ pub struct ClusterPolicyRulesMatchAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -1126,7 +1127,7 @@ pub struct ClusterPolicyRulesMatchAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -1172,7 +1173,7 @@ pub struct ClusterPolicyRulesMatchAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1186,7 +1187,7 @@ pub struct ClusterPolicyRulesMatchAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1205,7 +1206,7 @@ pub struct ClusterPolicyRulesMatchAnyResourcesNamespaceSelectorMatchExpressions /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1219,7 +1220,7 @@ pub struct ClusterPolicyRulesMatchAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1236,7 +1237,7 @@ pub struct ClusterPolicyRulesMatchAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -1258,7 +1259,7 @@ pub struct ClusterPolicyRulesMatchAnySubjects { /// Requires at least one tag to be specified when under MatchResources. /// Specifying ResourceDescription directly under match is being deprecated. /// Please specify under "any" or "all" instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -1304,7 +1305,7 @@ pub struct ClusterPolicyRulesMatchResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1318,7 +1319,7 @@ pub struct ClusterPolicyRulesMatchResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1337,7 +1338,7 @@ pub struct ClusterPolicyRulesMatchResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1351,7 +1352,7 @@ pub struct ClusterPolicyRulesMatchResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1368,7 +1369,7 @@ pub struct ClusterPolicyRulesMatchResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -1387,7 +1388,7 @@ pub struct ClusterPolicyRulesMatchSubjects { } /// Mutation is used to modify matching resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutate { /// ForEach applies mutation rules to a list of sub-elements by creating a context for each entry in the list and looping over it to apply the specified logic. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1407,7 +1408,7 @@ pub struct ClusterPolicyRulesMutate { } /// ForEachMutation applies mutation rules to a list of sub-elements by creating a context for each entry in the list and looping over it to apply the specified logic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeach { /// Context defines variables and data sources that can be used during rule execution. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1441,7 +1442,7 @@ pub struct ClusterPolicyRulesMutateForeach { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -1467,7 +1468,7 @@ pub struct ClusterPolicyRulesMutateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeachContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -1499,7 +1500,7 @@ pub struct ClusterPolicyRulesMutateForeachContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeachContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -1520,7 +1521,7 @@ pub enum ClusterPolicyRulesMutateForeachContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeachContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -1532,7 +1533,7 @@ pub struct ClusterPolicyRulesMutateForeachContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeachContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -1542,7 +1543,7 @@ pub struct ClusterPolicyRulesMutateForeachContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeachContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -1558,7 +1559,7 @@ pub struct ClusterPolicyRulesMutateForeachContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeachContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -1574,7 +1575,7 @@ pub struct ClusterPolicyRulesMutateForeachContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeachContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -1590,7 +1591,7 @@ pub struct ClusterPolicyRulesMutateForeachContextImageRegistryImageRegistryCrede } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeachContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -1615,7 +1616,7 @@ pub enum ClusterPolicyRulesMutateForeachOrder { /// AnyAllConditions are used to determine if a policy rule should be applied by evaluating a /// set of conditions. The declaration can contain nested `any` or `all` statements. /// See: https://kyverno.io/docs/writing-policies/preconditions/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeachPreconditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -1632,7 +1633,7 @@ pub struct ClusterPolicyRulesMutateForeachPreconditions { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeachPreconditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1674,7 +1675,7 @@ pub enum ClusterPolicyRulesMutateForeachPreconditionsAllOperator { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeachPreconditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1716,7 +1717,7 @@ pub enum ClusterPolicyRulesMutateForeachPreconditionsAnyOperator { } /// TargetResourceSpec defines targets for mutating existing resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateTargets { /// APIVersion specifies resource apiVersion. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1747,7 +1748,7 @@ pub struct ClusterPolicyRulesMutateTargets { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateTargetsContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -1773,7 +1774,7 @@ pub struct ClusterPolicyRulesMutateTargetsContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateTargetsContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -1805,7 +1806,7 @@ pub struct ClusterPolicyRulesMutateTargetsContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateTargetsContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -1826,7 +1827,7 @@ pub enum ClusterPolicyRulesMutateTargetsContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateTargetsContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -1838,7 +1839,7 @@ pub struct ClusterPolicyRulesMutateTargetsContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateTargetsContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -1848,7 +1849,7 @@ pub struct ClusterPolicyRulesMutateTargetsContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateTargetsContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -1864,7 +1865,7 @@ pub struct ClusterPolicyRulesMutateTargetsContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateTargetsContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -1880,7 +1881,7 @@ pub struct ClusterPolicyRulesMutateTargetsContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateTargetsContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -1896,7 +1897,7 @@ pub struct ClusterPolicyRulesMutateTargetsContextImageRegistryImageRegistryCrede } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateTargetsContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -1912,7 +1913,7 @@ pub struct ClusterPolicyRulesMutateTargetsContextVariable { } /// Validation is used to validate matching resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidate { /// AnyPattern specifies list of validation patterns. At least one of the patterns /// must be satisfied for the validation rule to succeed. @@ -1943,7 +1944,7 @@ pub struct ClusterPolicyRulesValidate { } /// CEL allows validation checks using the Common Expression Language (https://kubernetes.io/docs/reference/using-api/cel/). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateCel { /// AuditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. #[serde(default, skip_serializing_if = "Option::is_none", rename = "auditAnnotations")] @@ -1965,7 +1966,7 @@ pub struct ClusterPolicyRulesValidateCel { } /// AuditAnnotation describes how to produce an audit annotation for an API request. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateCelAuditAnnotations { /// key specifies the audit annotation key. The audit annotation keys of /// a ValidatingAdmissionPolicy must be unique. The key must be a qualified @@ -2008,7 +2009,7 @@ pub struct ClusterPolicyRulesValidateCelAuditAnnotations { } /// Validation specifies the CEL expression which is used to apply the validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateCelExpressions { /// Expression represents the expression which will be evaluated by CEL. /// ref: https://github.com/google/cel-spec @@ -2088,7 +2089,7 @@ pub struct ClusterPolicyRulesValidateCelExpressions { } /// ParamKind is a tuple of Group Kind and Version. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateCelParamKind { /// APIVersion is the API group version the resources belong to. /// In format of "group/version". @@ -2102,7 +2103,7 @@ pub struct ClusterPolicyRulesValidateCelParamKind { } /// ParamRef references a parameter resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateCelParamRef { /// `name` is the name of the resource being referenced. /// @@ -2166,7 +2167,7 @@ pub struct ClusterPolicyRulesValidateCelParamRef { /// /// One of `name` or `selector` must be set, but `name` and `selector` are /// mutually exclusive properties. If one is set, the other must be unset. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateCelParamRefSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2180,7 +2181,7 @@ pub struct ClusterPolicyRulesValidateCelParamRefSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateCelParamRefSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2196,7 +2197,7 @@ pub struct ClusterPolicyRulesValidateCelParamRefSelectorMatchExpressions { } /// Variable is the definition of a variable that is used for composition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateCelVariables { /// Expression is the expression that will be evaluated as the value of the variable. /// The CEL expression has access to the same identifiers as the CEL expressions in Validation. @@ -2208,7 +2209,7 @@ pub struct ClusterPolicyRulesValidateCelVariables { } /// Deny defines conditions used to pass or fail a validation rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateDeny { /// Multiple conditions can be declared under an `any` or `all` statement. A direct list /// of conditions (without `any` or `all` statements) is also supported for backwards compatibility @@ -2219,7 +2220,7 @@ pub struct ClusterPolicyRulesValidateDeny { } /// ForEachValidation applies validate rules to a list of sub-elements by creating a context for each entry in the list and looping over it to apply the specified logic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeach { /// AnyPattern specifies list of validation patterns. At least one of the patterns /// must be satisfied for the validation rule to succeed. @@ -2255,7 +2256,7 @@ pub struct ClusterPolicyRulesValidateForeach { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -2281,7 +2282,7 @@ pub struct ClusterPolicyRulesValidateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -2313,7 +2314,7 @@ pub struct ClusterPolicyRulesValidateForeachContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -2334,7 +2335,7 @@ pub enum ClusterPolicyRulesValidateForeachContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -2346,7 +2347,7 @@ pub struct ClusterPolicyRulesValidateForeachContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -2356,7 +2357,7 @@ pub struct ClusterPolicyRulesValidateForeachContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -2372,7 +2373,7 @@ pub struct ClusterPolicyRulesValidateForeachContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -2388,7 +2389,7 @@ pub struct ClusterPolicyRulesValidateForeachContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -2404,7 +2405,7 @@ pub struct ClusterPolicyRulesValidateForeachContextImageRegistryImageRegistryCre } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -2420,7 +2421,7 @@ pub struct ClusterPolicyRulesValidateForeachContextVariable { } /// Deny defines conditions used to pass or fail a validation rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachDeny { /// Multiple conditions can be declared under an `any` or `all` statement. A direct list /// of conditions (without `any` or `all` statements) is also supported for backwards compatibility @@ -2433,7 +2434,7 @@ pub struct ClusterPolicyRulesValidateForeachDeny { /// AnyAllConditions are used to determine if a policy rule should be applied by evaluating a /// set of conditions. The declaration can contain nested `any` or `all` statements. /// See: https://kyverno.io/docs/writing-policies/preconditions/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachPreconditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -2450,7 +2451,7 @@ pub struct ClusterPolicyRulesValidateForeachPreconditions { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachPreconditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2492,7 +2493,7 @@ pub enum ClusterPolicyRulesValidateForeachPreconditionsAllOperator { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachPreconditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2534,7 +2535,7 @@ pub enum ClusterPolicyRulesValidateForeachPreconditionsAnyOperator { } /// Manifest specifies conditions for manifest verification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifests { /// AnnotationDomain is custom domain of annotation for message and signature. Default is "cosign.sigstore.dev". #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationDomain")] @@ -2554,7 +2555,7 @@ pub struct ClusterPolicyRulesValidateManifests { pub repository: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsAttestors { /// Count specifies the required number of entries that must match. If the count is null, all entries must match /// (a logical AND). If the count is 1, at least one entry must match (a logical OR). If the count contains a @@ -2567,7 +2568,7 @@ pub struct ClusterPolicyRulesValidateManifestsAttestors { pub entries: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsAttestorsEntries { /// Annotations are used for image verification. /// Every specified key-value pair must exist and match in the verified payload. @@ -2594,7 +2595,7 @@ pub struct ClusterPolicyRulesValidateManifestsAttestorsEntries { } /// Certificates specifies one or more certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesCertificates { /// Cert is an optional PEM-encoded public certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2614,7 +2615,7 @@ pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesCertificates { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesCertificatesCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -2632,7 +2633,7 @@ pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesCertificatesCtlog /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesCertificatesRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -2648,7 +2649,7 @@ pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesCertificatesRekor /// Keyless is a set of attribute used to verify a Sigstore keyless attestor. /// See https://github.com/sigstore/cosign/blob/main/KEYLESS.md. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeyless { /// AdditionalExtensions are certificate-extensions used for keyless signing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -2675,7 +2676,7 @@ pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeyless { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeylessCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -2693,7 +2694,7 @@ pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeylessCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeylessRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -2708,7 +2709,7 @@ pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeylessRekor { } /// Keys specifies one or more public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. @@ -2742,7 +2743,7 @@ pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeysCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -2760,7 +2761,7 @@ pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeysCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeysRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -2775,7 +2776,7 @@ pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeysRekor { } /// Reference to a Secret resource that contains a public key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeysSecret { /// Name of the secret. The provided secret must contain a key named cosign.pub. pub name: String, @@ -2784,7 +2785,7 @@ pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeysSecret { } /// DryRun configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsDryRun { #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, @@ -2792,7 +2793,7 @@ pub struct ClusterPolicyRulesValidateManifestsDryRun { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsIgnoreFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub fields: Option>, @@ -2800,7 +2801,7 @@ pub struct ClusterPolicyRulesValidateManifestsIgnoreFields { pub objects: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsIgnoreFieldsObjects { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -2816,7 +2817,7 @@ pub struct ClusterPolicyRulesValidateManifestsIgnoreFieldsObjects { /// PodSecurity applies exemptions for Kubernetes Pod Security admission /// by specifying exclusions for Pod Security Standards controls. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidatePodSecurity { /// Exclude specifies the Pod Security Standard controls to be excluded. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2928,7 +2929,7 @@ pub enum ClusterPolicyRulesValidatePodSecurityVersion { /// ImageVerification validates that images that match the specified pattern /// are signed with the supplied public key. Once the image is verified it is /// mutated to include the SHA digest retrieved during the registration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImages { /// Deprecated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -3001,7 +3002,7 @@ pub struct ClusterPolicyRulesVerifyImages { /// Attestation are checks for signed in-toto Statements that are used to verify the image. /// See https://github.com/in-toto/attestation. Kyverno fetches signed attestations from the /// OCI registry and decodes them into a list of Statements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestations { /// Attestors specify the required attestors (i.e. authorities). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3018,7 +3019,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestations { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestors { /// Count specifies the required number of entries that must match. If the count is null, all entries must match /// (a logical AND). If the count is 1, at least one entry must match (a logical OR). If the count contains a @@ -3031,7 +3032,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestors { pub entries: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntries { /// Annotations are used for image verification. /// Every specified key-value pair must exist and match in the verified payload. @@ -3058,7 +3059,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntries { } /// Certificates specifies one or more certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesCertificates { /// Cert is an optional PEM-encoded public certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3078,7 +3079,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesCertificate /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesCertificatesCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -3096,7 +3097,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesCertificate /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesCertificatesRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -3112,7 +3113,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesCertificate /// Keyless is a set of attribute used to verify a Sigstore keyless attestor. /// See https://github.com/sigstore/cosign/blob/main/KEYLESS.md. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeyless { /// AdditionalExtensions are certificate-extensions used for keyless signing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -3139,7 +3140,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeyless { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeylessCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -3157,7 +3158,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeylessCtlo /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeylessRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -3172,7 +3173,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeylessReko } /// Keys specifies one or more public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. @@ -3206,7 +3207,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeysCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -3224,7 +3225,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeysCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeysRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -3239,7 +3240,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeysRekor { } /// Reference to a Secret resource that contains a public key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeysSecret { /// Name of the secret. The provided secret must contain a key named cosign.pub. pub name: String, @@ -3250,7 +3251,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeysSecret /// AnyAllConditions consists of conditions wrapped denoting a logical criteria to be fulfilled. /// AnyConditions get fulfilled when at least one of its sub-conditions passes. /// AllConditions get fulfilled only when all of its sub-conditions pass. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsConditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -3267,7 +3268,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsConditions { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsConditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3309,7 +3310,7 @@ pub enum ClusterPolicyRulesVerifyImagesAttestationsConditionsAllOperator { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsConditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3350,7 +3351,7 @@ pub enum ClusterPolicyRulesVerifyImagesAttestationsConditionsAnyOperator { DurationLessThan, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestors { /// Count specifies the required number of entries that must match. If the count is null, all entries must match /// (a logical AND). If the count is 1, at least one entry must match (a logical OR). If the count contains a @@ -3363,7 +3364,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestors { pub entries: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestorsEntries { /// Annotations are used for image verification. /// Every specified key-value pair must exist and match in the verified payload. @@ -3390,7 +3391,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestorsEntries { } /// Certificates specifies one or more certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesCertificates { /// Cert is an optional PEM-encoded public certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3410,7 +3411,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesCertificates { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesCertificatesCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -3428,7 +3429,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesCertificatesCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesCertificatesRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -3444,7 +3445,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesCertificatesRekor { /// Keyless is a set of attribute used to verify a Sigstore keyless attestor. /// See https://github.com/sigstore/cosign/blob/main/KEYLESS.md. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeyless { /// AdditionalExtensions are certificate-extensions used for keyless signing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -3471,7 +3472,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeyless { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeylessCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -3489,7 +3490,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeylessCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeylessRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -3504,7 +3505,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeylessRekor { } /// Keys specifies one or more public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. @@ -3538,7 +3539,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeysCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -3556,7 +3557,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeysCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeysRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -3571,7 +3572,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeysRekor { } /// Reference to a Secret resource that contains a public key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeysSecret { /// Name of the secret. The provided secret must contain a key named cosign.pub. pub name: String, @@ -3580,7 +3581,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeysSecret { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -3617,7 +3618,7 @@ pub enum ClusterPolicyValidationFailureAction { EnforceX, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyValidationFailureActionOverrides { /// ValidationFailureAction defines the policy validation failure action #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3646,7 +3647,7 @@ pub enum ClusterPolicyValidationFailureActionOverridesAction { /// A label selector is a label query over a set of resources. The result of matchLabels and /// matchExpressions are ANDed. An empty label selector matches all objects. A null /// label selector matches no objects. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyValidationFailureActionOverridesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3660,7 +3661,7 @@ pub struct ClusterPolicyValidationFailureActionOverridesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyValidationFailureActionOverridesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3677,7 +3678,7 @@ pub struct ClusterPolicyValidationFailureActionOverridesNamespaceSelectorMatchEx /// WebhookConfiguration specifies the custom configuration for Kubernetes admission webhookconfiguration. /// Requires Kubernetes 1.27 or later. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyWebhookConfiguration { /// MatchCondition configures admission webhook matchConditions. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchConditions")] @@ -3685,7 +3686,7 @@ pub struct ClusterPolicyWebhookConfiguration { } /// MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyWebhookConfigurationMatchConditions { /// Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. /// CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables: @@ -3717,7 +3718,7 @@ pub struct ClusterPolicyWebhookConfigurationMatchConditions { } /// Status contains policy runtime data. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatus { /// AutogenStatus contains autogen status information. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3736,7 +3737,7 @@ pub struct ClusterPolicyStatus { } /// AutogenStatus contains autogen status information. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogen { /// Rules is a list of Rule instances. It contains auto generated rules added for pod controllers #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3746,7 +3747,7 @@ pub struct ClusterPolicyStatusAutogen { /// Rule defines a validation, mutation, or generation control for matching resources. /// Each rules contains a match declaration to select resources, and an optional exclude /// declaration to specify which resources to exclude. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRules { /// CELPreconditions are used to determine if a policy rule should be applied by evaluating a /// set of CEL conditions. It can only be used with the validate.cel subrule @@ -3799,7 +3800,7 @@ pub struct ClusterPolicyStatusAutogenRules { } /// MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesCelPreconditions { /// Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. /// CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables: @@ -3832,7 +3833,7 @@ pub struct ClusterPolicyStatusAutogenRulesCelPreconditions { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -3858,7 +3859,7 @@ pub struct ClusterPolicyStatusAutogenRulesContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -3890,7 +3891,7 @@ pub struct ClusterPolicyStatusAutogenRulesContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -3911,7 +3912,7 @@ pub enum ClusterPolicyStatusAutogenRulesContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -3923,7 +3924,7 @@ pub struct ClusterPolicyStatusAutogenRulesContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -3933,7 +3934,7 @@ pub struct ClusterPolicyStatusAutogenRulesContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -3949,7 +3950,7 @@ pub struct ClusterPolicyStatusAutogenRulesContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -3965,7 +3966,7 @@ pub struct ClusterPolicyStatusAutogenRulesContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -3981,7 +3982,7 @@ pub struct ClusterPolicyStatusAutogenRulesContextImageRegistryImageRegistryCrede } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -3999,7 +4000,7 @@ pub struct ClusterPolicyStatusAutogenRulesContextVariable { /// ExcludeResources defines when this policy rule should not be applied. The exclude /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the name or role. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExclude { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4025,7 +4026,7 @@ pub struct ClusterPolicyStatusAutogenRulesExclude { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -4042,7 +4043,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -4088,7 +4089,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4102,7 +4103,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4121,7 +4122,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAllResourcesNamespaceSelectorMa /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4135,7 +4136,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4152,7 +4153,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAllResourcesSelectorMatchExpres /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -4171,7 +4172,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -4188,7 +4189,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -4234,7 +4235,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4248,7 +4249,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4267,7 +4268,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAnyResourcesNamespaceSelectorMa /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4281,7 +4282,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4298,7 +4299,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAnyResourcesSelectorMatchExpres /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -4320,7 +4321,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAnySubjects { /// Requires at least one tag to be specified when under MatchResources. /// Specifying ResourceDescription directly under match is being deprecated. /// Please specify under "any" or "all" instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -4366,7 +4367,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4380,7 +4381,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4399,7 +4400,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeResourcesNamespaceSelectorMatch /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4413,7 +4414,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4430,7 +4431,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeResourcesSelectorMatchExpressio /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -4449,7 +4450,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeSubjects { } /// Generation is used to create new resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesGenerate { /// APIVersion specifies resource apiVersion. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4496,7 +4497,7 @@ pub struct ClusterPolicyStatusAutogenRulesGenerate { /// Clone specifies the source resource used to populate each generated resource. /// At most one of Data or Clone can be specified. If neither are provided, the generated /// resource will be created with default data only. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesGenerateClone { /// Name specifies name of the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4507,7 +4508,7 @@ pub struct ClusterPolicyStatusAutogenRulesGenerateClone { } /// CloneList specifies the list of source resource used to populate each generated resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesGenerateCloneList { /// Kinds is a list of resource kinds. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4523,7 +4524,7 @@ pub struct ClusterPolicyStatusAutogenRulesGenerateCloneList { /// Selector is a label selector. Label keys and values in `matchLabels`. /// wildcard characters are not supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesGenerateCloneListSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4537,7 +4538,7 @@ pub struct ClusterPolicyStatusAutogenRulesGenerateCloneListSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesGenerateCloneListSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4552,7 +4553,7 @@ pub struct ClusterPolicyStatusAutogenRulesGenerateCloneListSelectorMatchExpressi pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesImageExtractors { /// JMESPath is an optional JMESPath expression to apply to the image value. /// This is useful when the extracted image begins with a prefix like 'docker://'. @@ -4582,7 +4583,7 @@ pub struct ClusterPolicyStatusAutogenRulesImageExtractors { /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the user name or role. /// At least one kind is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatch { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4608,7 +4609,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatch { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -4625,7 +4626,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -4671,7 +4672,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4685,7 +4686,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4704,7 +4705,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAllResourcesNamespaceSelectorMatc /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4718,7 +4719,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4735,7 +4736,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAllResourcesSelectorMatchExpressi /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -4754,7 +4755,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -4771,7 +4772,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -4817,7 +4818,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4831,7 +4832,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4850,7 +4851,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAnyResourcesNamespaceSelectorMatc /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4864,7 +4865,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4881,7 +4882,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAnyResourcesSelectorMatchExpressi /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -4903,7 +4904,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAnySubjects { /// Requires at least one tag to be specified when under MatchResources. /// Specifying ResourceDescription directly under match is being deprecated. /// Please specify under "any" or "all" instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -4949,7 +4950,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4963,7 +4964,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4982,7 +4983,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchResourcesNamespaceSelectorMatchEx /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4996,7 +4997,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5013,7 +5014,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchResourcesSelectorMatchExpressions /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -5032,7 +5033,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchSubjects { } /// Mutation is used to modify matching resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutate { /// ForEach applies mutation rules to a list of sub-elements by creating a context for each entry in the list and looping over it to apply the specified logic. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5052,7 +5053,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutate { } /// ForEachMutation applies mutation rules to a list of sub-elements by creating a context for each entry in the list and looping over it to apply the specified logic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeach { /// Context defines variables and data sources that can be used during rule execution. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5086,7 +5087,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateForeach { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -5112,7 +5113,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -5144,7 +5145,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -5165,7 +5166,7 @@ pub enum ClusterPolicyStatusAutogenRulesMutateForeachContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -5177,7 +5178,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -5187,7 +5188,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -5203,7 +5204,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -5219,7 +5220,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -5235,7 +5236,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextImageRegistryImage } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -5260,7 +5261,7 @@ pub enum ClusterPolicyStatusAutogenRulesMutateForeachOrder { /// AnyAllConditions are used to determine if a policy rule should be applied by evaluating a /// set of conditions. The declaration can contain nested `any` or `all` statements. /// See: https://kyverno.io/docs/writing-policies/preconditions/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeachPreconditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -5277,7 +5278,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateForeachPreconditions { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeachPreconditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5319,7 +5320,7 @@ pub enum ClusterPolicyStatusAutogenRulesMutateForeachPreconditionsAllOperator { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeachPreconditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5361,7 +5362,7 @@ pub enum ClusterPolicyStatusAutogenRulesMutateForeachPreconditionsAnyOperator { } /// TargetResourceSpec defines targets for mutating existing resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateTargets { /// APIVersion specifies resource apiVersion. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -5392,7 +5393,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateTargets { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -5418,7 +5419,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -5450,7 +5451,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -5471,7 +5472,7 @@ pub enum ClusterPolicyStatusAutogenRulesMutateTargetsContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -5483,7 +5484,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -5493,7 +5494,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -5509,7 +5510,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -5525,7 +5526,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -5541,7 +5542,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextImageRegistryImage } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -5557,7 +5558,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextVariable { } /// Validation is used to validate matching resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidate { /// AnyPattern specifies list of validation patterns. At least one of the patterns /// must be satisfied for the validation rule to succeed. @@ -5588,7 +5589,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidate { } /// CEL allows validation checks using the Common Expression Language (https://kubernetes.io/docs/reference/using-api/cel/). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateCel { /// AuditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. #[serde(default, skip_serializing_if = "Option::is_none", rename = "auditAnnotations")] @@ -5610,7 +5611,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateCel { } /// AuditAnnotation describes how to produce an audit annotation for an API request. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateCelAuditAnnotations { /// key specifies the audit annotation key. The audit annotation keys of /// a ValidatingAdmissionPolicy must be unique. The key must be a qualified @@ -5653,7 +5654,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateCelAuditAnnotations { } /// Validation specifies the CEL expression which is used to apply the validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateCelExpressions { /// Expression represents the expression which will be evaluated by CEL. /// ref: https://github.com/google/cel-spec @@ -5733,7 +5734,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateCelExpressions { } /// ParamKind is a tuple of Group Kind and Version. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateCelParamKind { /// APIVersion is the API group version the resources belong to. /// In format of "group/version". @@ -5747,7 +5748,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateCelParamKind { } /// ParamRef references a parameter resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateCelParamRef { /// `name` is the name of the resource being referenced. /// @@ -5811,7 +5812,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateCelParamRef { /// /// One of `name` or `selector` must be set, but `name` and `selector` are /// mutually exclusive properties. If one is set, the other must be unset. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateCelParamRefSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5825,7 +5826,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateCelParamRefSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateCelParamRefSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5841,7 +5842,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateCelParamRefSelectorMatchExpres } /// Variable is the definition of a variable that is used for composition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateCelVariables { /// Expression is the expression that will be evaluated as the value of the variable. /// The CEL expression has access to the same identifiers as the CEL expressions in Validation. @@ -5853,7 +5854,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateCelVariables { } /// Deny defines conditions used to pass or fail a validation rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateDeny { /// Multiple conditions can be declared under an `any` or `all` statement. A direct list /// of conditions (without `any` or `all` statements) is also supported for backwards compatibility @@ -5864,7 +5865,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateDeny { } /// ForEachValidation applies validate rules to a list of sub-elements by creating a context for each entry in the list and looping over it to apply the specified logic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeach { /// AnyPattern specifies list of validation patterns. At least one of the patterns /// must be satisfied for the validation rule to succeed. @@ -5900,7 +5901,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateForeach { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -5926,7 +5927,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -5958,7 +5959,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -5979,7 +5980,7 @@ pub enum ClusterPolicyStatusAutogenRulesValidateForeachContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -5991,7 +5992,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -6001,7 +6002,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -6017,7 +6018,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextGlobalReference /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -6033,7 +6034,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -6049,7 +6050,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextImageRegistryIma } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -6065,7 +6066,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextVariable { } /// Deny defines conditions used to pass or fail a validation rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachDeny { /// Multiple conditions can be declared under an `any` or `all` statement. A direct list /// of conditions (without `any` or `all` statements) is also supported for backwards compatibility @@ -6078,7 +6079,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateForeachDeny { /// AnyAllConditions are used to determine if a policy rule should be applied by evaluating a /// set of conditions. The declaration can contain nested `any` or `all` statements. /// See: https://kyverno.io/docs/writing-policies/preconditions/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachPreconditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -6095,7 +6096,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateForeachPreconditions { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachPreconditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6137,7 +6138,7 @@ pub enum ClusterPolicyStatusAutogenRulesValidateForeachPreconditionsAllOperator } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachPreconditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6179,7 +6180,7 @@ pub enum ClusterPolicyStatusAutogenRulesValidateForeachPreconditionsAnyOperator } /// Manifest specifies conditions for manifest verification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifests { /// AnnotationDomain is custom domain of annotation for message and signature. Default is "cosign.sigstore.dev". #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationDomain")] @@ -6199,7 +6200,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifests { pub repository: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestors { /// Count specifies the required number of entries that must match. If the count is null, all entries must match /// (a logical AND). If the count is 1, at least one entry must match (a logical OR). If the count contains a @@ -6212,7 +6213,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestors { pub entries: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntries { /// Annotations are used for image verification. /// Every specified key-value pair must exist and match in the verified payload. @@ -6239,7 +6240,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntries { } /// Certificates specifies one or more certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesCertificates { /// Cert is an optional PEM-encoded public certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6259,7 +6260,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesCerti /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesCertificatesCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6277,7 +6278,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesCerti /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesCertificatesRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6293,7 +6294,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesCerti /// Keyless is a set of attribute used to verify a Sigstore keyless attestor. /// See https://github.com/sigstore/cosign/blob/main/KEYLESS.md. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeyless { /// AdditionalExtensions are certificate-extensions used for keyless signing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -6320,7 +6321,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeyle /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeylessCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6338,7 +6339,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeyle /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeylessRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6353,7 +6354,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeyle } /// Keys specifies one or more public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. @@ -6387,7 +6388,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeys /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeysCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6405,7 +6406,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeysC /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeysRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6420,7 +6421,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeysR } /// Reference to a Secret resource that contains a public key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeysSecret { /// Name of the secret. The provided secret must contain a key named cosign.pub. pub name: String, @@ -6429,7 +6430,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeysS } /// DryRun configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsDryRun { #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, @@ -6437,7 +6438,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsDryRun { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsIgnoreFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub fields: Option>, @@ -6445,7 +6446,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsIgnoreFields { pub objects: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsIgnoreFieldsObjects { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -6461,7 +6462,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsIgnoreFieldsObjects { /// PodSecurity applies exemptions for Kubernetes Pod Security admission /// by specifying exclusions for Pod Security Standards controls. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidatePodSecurity { /// Exclude specifies the Pod Security Standard controls to be excluded. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6573,7 +6574,7 @@ pub enum ClusterPolicyStatusAutogenRulesValidatePodSecurityVersion { /// ImageVerification validates that images that match the specified pattern /// are signed with the supplied public key. Once the image is verified it is /// mutated to include the SHA digest retrieved during the registration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImages { /// Deprecated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -6646,7 +6647,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImages { /// Attestation are checks for signed in-toto Statements that are used to verify the image. /// See https://github.com/in-toto/attestation. Kyverno fetches signed attestations from the /// OCI registry and decodes them into a list of Statements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestations { /// Attestors specify the required attestors (i.e. authorities). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6663,7 +6664,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestations { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestors { /// Count specifies the required number of entries that must match. If the count is null, all entries must match /// (a logical AND). If the count is 1, at least one entry must match (a logical OR). If the count contains a @@ -6676,7 +6677,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestors { pub entries: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntries { /// Annotations are used for image verification. /// Every specified key-value pair must exist and match in the verified payload. @@ -6703,7 +6704,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntri } /// Certificates specifies one or more certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesCertificates { /// Cert is an optional PEM-encoded public certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6723,7 +6724,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntri /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesCertificatesCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6741,7 +6742,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntri /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesCertificatesRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6757,7 +6758,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntri /// Keyless is a set of attribute used to verify a Sigstore keyless attestor. /// See https://github.com/sigstore/cosign/blob/main/KEYLESS.md. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeyless { /// AdditionalExtensions are certificate-extensions used for keyless signing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -6784,7 +6785,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntri /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeylessCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6802,7 +6803,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntri /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeylessRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6817,7 +6818,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntri } /// Keys specifies one or more public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. @@ -6851,7 +6852,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntri /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeysCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6869,7 +6870,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntri /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeysRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6884,7 +6885,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntri } /// Reference to a Secret resource that contains a public key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeysSecret { /// Name of the secret. The provided secret must contain a key named cosign.pub. pub name: String, @@ -6895,7 +6896,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntri /// AnyAllConditions consists of conditions wrapped denoting a logical criteria to be fulfilled. /// AnyConditions get fulfilled when at least one of its sub-conditions passes. /// AllConditions get fulfilled only when all of its sub-conditions pass. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsConditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -6912,7 +6913,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsConditions { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsConditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6954,7 +6955,7 @@ pub enum ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsConditionsAllOpe } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsConditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6995,7 +6996,7 @@ pub enum ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsConditionsAnyOpe DurationLessThan, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestors { /// Count specifies the required number of entries that must match. If the count is null, all entries must match /// (a logical AND). If the count is 1, at least one entry must match (a logical OR). If the count contains a @@ -7008,7 +7009,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestors { pub entries: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntries { /// Annotations are used for image verification. /// Every specified key-value pair must exist and match in the verified payload. @@ -7035,7 +7036,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntries { } /// Certificates specifies one or more certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesCertificates { /// Cert is an optional PEM-encoded public certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7055,7 +7056,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesCertificat /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesCertificatesCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -7073,7 +7074,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesCertificat /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesCertificatesRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -7089,7 +7090,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesCertificat /// Keyless is a set of attribute used to verify a Sigstore keyless attestor. /// See https://github.com/sigstore/cosign/blob/main/KEYLESS.md. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeyless { /// AdditionalExtensions are certificate-extensions used for keyless signing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -7116,7 +7117,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeyless { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeylessCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -7134,7 +7135,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeylessCtl /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeylessRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -7149,7 +7150,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeylessRek } /// Keys specifies one or more public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. @@ -7183,7 +7184,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeysCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -7201,7 +7202,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeysCtlog /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeysRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -7216,7 +7217,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeysRekor } /// Reference to a Secret resource that contains a public key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeysSecret { /// Name of the secret. The provided secret must contain a key named cosign.pub. pub name: String, @@ -7225,7 +7226,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeysSecret } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -7251,7 +7252,7 @@ pub enum ClusterPolicyStatusAutogenRulesVerifyImagesType { /// RuleCountStatus contains four variables which describes counts for /// validate, generate, mutate and verify images rules -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusRulecount { /// Count for generate rules in policy pub generate: i64, @@ -7264,7 +7265,7 @@ pub struct ClusterPolicyStatusRulecount { } /// ValidatingAdmissionPolicy contains status information -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusValidatingadmissionpolicy { /// Generated indicates whether a validating admission policy is generated from the policy or not pub generated: bool, diff --git a/kube-custom-resources-rs/src/kyverno_io/v1/policies.rs b/kube-custom-resources-rs/src/kyverno_io/v1/policies.rs index e07f52b6d..b93b4a258 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v1/policies.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v1/policies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v1/policies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v1/policies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// Spec defines policy behaviors and contains one or more rules. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kyverno.io", version = "v1", kind = "Policy", plural = "policies")] #[kube(namespaced)] #[kube(status = "PolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PolicySpec { /// Admission controls if rules are applied during admission. @@ -102,7 +103,7 @@ pub enum PolicyFailurePolicy { /// Rule defines a validation, mutation, or generation control for matching resources. /// Each rules contains a match declaration to select resources, and an optional exclude /// declaration to specify which resources to exclude. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRules { /// CELPreconditions are used to determine if a policy rule should be applied by evaluating a /// set of CEL conditions. It can only be used with the validate.cel subrule @@ -155,7 +156,7 @@ pub struct PolicyRules { } /// MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesCelPreconditions { /// Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. /// CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables: @@ -188,7 +189,7 @@ pub struct PolicyRulesCelPreconditions { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -214,7 +215,7 @@ pub struct PolicyRulesContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -246,7 +247,7 @@ pub struct PolicyRulesContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -267,7 +268,7 @@ pub enum PolicyRulesContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -279,7 +280,7 @@ pub struct PolicyRulesContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -289,7 +290,7 @@ pub struct PolicyRulesContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -305,7 +306,7 @@ pub struct PolicyRulesContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -321,7 +322,7 @@ pub struct PolicyRulesContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -337,7 +338,7 @@ pub struct PolicyRulesContextImageRegistryImageRegistryCredentials { } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -355,7 +356,7 @@ pub struct PolicyRulesContextVariable { /// ExcludeResources defines when this policy rule should not be applied. The exclude /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the name or role. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExclude { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -381,7 +382,7 @@ pub struct PolicyRulesExclude { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -398,7 +399,7 @@ pub struct PolicyRulesExcludeAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -444,7 +445,7 @@ pub struct PolicyRulesExcludeAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -458,7 +459,7 @@ pub struct PolicyRulesExcludeAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -477,7 +478,7 @@ pub struct PolicyRulesExcludeAllResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -491,7 +492,7 @@ pub struct PolicyRulesExcludeAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -508,7 +509,7 @@ pub struct PolicyRulesExcludeAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -527,7 +528,7 @@ pub struct PolicyRulesExcludeAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -544,7 +545,7 @@ pub struct PolicyRulesExcludeAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -590,7 +591,7 @@ pub struct PolicyRulesExcludeAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -604,7 +605,7 @@ pub struct PolicyRulesExcludeAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -623,7 +624,7 @@ pub struct PolicyRulesExcludeAnyResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -637,7 +638,7 @@ pub struct PolicyRulesExcludeAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -654,7 +655,7 @@ pub struct PolicyRulesExcludeAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -676,7 +677,7 @@ pub struct PolicyRulesExcludeAnySubjects { /// Requires at least one tag to be specified when under MatchResources. /// Specifying ResourceDescription directly under match is being deprecated. /// Please specify under "any" or "all" instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -722,7 +723,7 @@ pub struct PolicyRulesExcludeResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -736,7 +737,7 @@ pub struct PolicyRulesExcludeResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -755,7 +756,7 @@ pub struct PolicyRulesExcludeResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -769,7 +770,7 @@ pub struct PolicyRulesExcludeResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -786,7 +787,7 @@ pub struct PolicyRulesExcludeResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -805,7 +806,7 @@ pub struct PolicyRulesExcludeSubjects { } /// Generation is used to create new resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesGenerate { /// APIVersion specifies resource apiVersion. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -852,7 +853,7 @@ pub struct PolicyRulesGenerate { /// Clone specifies the source resource used to populate each generated resource. /// At most one of Data or Clone can be specified. If neither are provided, the generated /// resource will be created with default data only. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesGenerateClone { /// Name specifies name of the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -863,7 +864,7 @@ pub struct PolicyRulesGenerateClone { } /// CloneList specifies the list of source resource used to populate each generated resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesGenerateCloneList { /// Kinds is a list of resource kinds. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -879,7 +880,7 @@ pub struct PolicyRulesGenerateCloneList { /// Selector is a label selector. Label keys and values in `matchLabels`. /// wildcard characters are not supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesGenerateCloneListSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -893,7 +894,7 @@ pub struct PolicyRulesGenerateCloneListSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesGenerateCloneListSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -908,7 +909,7 @@ pub struct PolicyRulesGenerateCloneListSelectorMatchExpressions { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesImageExtractors { /// JMESPath is an optional JMESPath expression to apply to the image value. /// This is useful when the extracted image begins with a prefix like 'docker://'. @@ -938,7 +939,7 @@ pub struct PolicyRulesImageExtractors { /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the user name or role. /// At least one kind is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatch { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -964,7 +965,7 @@ pub struct PolicyRulesMatch { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -981,7 +982,7 @@ pub struct PolicyRulesMatchAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -1027,7 +1028,7 @@ pub struct PolicyRulesMatchAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1041,7 +1042,7 @@ pub struct PolicyRulesMatchAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1060,7 +1061,7 @@ pub struct PolicyRulesMatchAllResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1074,7 +1075,7 @@ pub struct PolicyRulesMatchAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1091,7 +1092,7 @@ pub struct PolicyRulesMatchAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -1110,7 +1111,7 @@ pub struct PolicyRulesMatchAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -1127,7 +1128,7 @@ pub struct PolicyRulesMatchAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -1173,7 +1174,7 @@ pub struct PolicyRulesMatchAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1187,7 +1188,7 @@ pub struct PolicyRulesMatchAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1206,7 +1207,7 @@ pub struct PolicyRulesMatchAnyResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1220,7 +1221,7 @@ pub struct PolicyRulesMatchAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1237,7 +1238,7 @@ pub struct PolicyRulesMatchAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -1259,7 +1260,7 @@ pub struct PolicyRulesMatchAnySubjects { /// Requires at least one tag to be specified when under MatchResources. /// Specifying ResourceDescription directly under match is being deprecated. /// Please specify under "any" or "all" instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -1305,7 +1306,7 @@ pub struct PolicyRulesMatchResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1319,7 +1320,7 @@ pub struct PolicyRulesMatchResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1338,7 +1339,7 @@ pub struct PolicyRulesMatchResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1352,7 +1353,7 @@ pub struct PolicyRulesMatchResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1369,7 +1370,7 @@ pub struct PolicyRulesMatchResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -1388,7 +1389,7 @@ pub struct PolicyRulesMatchSubjects { } /// Mutation is used to modify matching resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutate { /// ForEach applies mutation rules to a list of sub-elements by creating a context for each entry in the list and looping over it to apply the specified logic. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1408,7 +1409,7 @@ pub struct PolicyRulesMutate { } /// ForEachMutation applies mutation rules to a list of sub-elements by creating a context for each entry in the list and looping over it to apply the specified logic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeach { /// Context defines variables and data sources that can be used during rule execution. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1442,7 +1443,7 @@ pub struct PolicyRulesMutateForeach { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -1468,7 +1469,7 @@ pub struct PolicyRulesMutateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeachContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -1500,7 +1501,7 @@ pub struct PolicyRulesMutateForeachContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeachContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -1521,7 +1522,7 @@ pub enum PolicyRulesMutateForeachContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeachContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -1533,7 +1534,7 @@ pub struct PolicyRulesMutateForeachContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeachContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -1543,7 +1544,7 @@ pub struct PolicyRulesMutateForeachContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeachContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -1559,7 +1560,7 @@ pub struct PolicyRulesMutateForeachContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeachContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -1575,7 +1576,7 @@ pub struct PolicyRulesMutateForeachContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeachContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -1591,7 +1592,7 @@ pub struct PolicyRulesMutateForeachContextImageRegistryImageRegistryCredentials } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeachContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -1616,7 +1617,7 @@ pub enum PolicyRulesMutateForeachOrder { /// AnyAllConditions are used to determine if a policy rule should be applied by evaluating a /// set of conditions. The declaration can contain nested `any` or `all` statements. /// See: https://kyverno.io/docs/writing-policies/preconditions/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeachPreconditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -1633,7 +1634,7 @@ pub struct PolicyRulesMutateForeachPreconditions { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeachPreconditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1675,7 +1676,7 @@ pub enum PolicyRulesMutateForeachPreconditionsAllOperator { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeachPreconditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1717,7 +1718,7 @@ pub enum PolicyRulesMutateForeachPreconditionsAnyOperator { } /// TargetResourceSpec defines targets for mutating existing resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateTargets { /// APIVersion specifies resource apiVersion. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1748,7 +1749,7 @@ pub struct PolicyRulesMutateTargets { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateTargetsContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -1774,7 +1775,7 @@ pub struct PolicyRulesMutateTargetsContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateTargetsContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -1806,7 +1807,7 @@ pub struct PolicyRulesMutateTargetsContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateTargetsContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -1827,7 +1828,7 @@ pub enum PolicyRulesMutateTargetsContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateTargetsContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -1839,7 +1840,7 @@ pub struct PolicyRulesMutateTargetsContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateTargetsContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -1849,7 +1850,7 @@ pub struct PolicyRulesMutateTargetsContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateTargetsContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -1865,7 +1866,7 @@ pub struct PolicyRulesMutateTargetsContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateTargetsContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -1881,7 +1882,7 @@ pub struct PolicyRulesMutateTargetsContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateTargetsContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -1897,7 +1898,7 @@ pub struct PolicyRulesMutateTargetsContextImageRegistryImageRegistryCredentials } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateTargetsContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -1913,7 +1914,7 @@ pub struct PolicyRulesMutateTargetsContextVariable { } /// Validation is used to validate matching resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidate { /// AnyPattern specifies list of validation patterns. At least one of the patterns /// must be satisfied for the validation rule to succeed. @@ -1944,7 +1945,7 @@ pub struct PolicyRulesValidate { } /// CEL allows validation checks using the Common Expression Language (https://kubernetes.io/docs/reference/using-api/cel/). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateCel { /// AuditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. #[serde(default, skip_serializing_if = "Option::is_none", rename = "auditAnnotations")] @@ -1966,7 +1967,7 @@ pub struct PolicyRulesValidateCel { } /// AuditAnnotation describes how to produce an audit annotation for an API request. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateCelAuditAnnotations { /// key specifies the audit annotation key. The audit annotation keys of /// a ValidatingAdmissionPolicy must be unique. The key must be a qualified @@ -2009,7 +2010,7 @@ pub struct PolicyRulesValidateCelAuditAnnotations { } /// Validation specifies the CEL expression which is used to apply the validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateCelExpressions { /// Expression represents the expression which will be evaluated by CEL. /// ref: https://github.com/google/cel-spec @@ -2089,7 +2090,7 @@ pub struct PolicyRulesValidateCelExpressions { } /// ParamKind is a tuple of Group Kind and Version. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateCelParamKind { /// APIVersion is the API group version the resources belong to. /// In format of "group/version". @@ -2103,7 +2104,7 @@ pub struct PolicyRulesValidateCelParamKind { } /// ParamRef references a parameter resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateCelParamRef { /// `name` is the name of the resource being referenced. /// @@ -2167,7 +2168,7 @@ pub struct PolicyRulesValidateCelParamRef { /// /// One of `name` or `selector` must be set, but `name` and `selector` are /// mutually exclusive properties. If one is set, the other must be unset. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateCelParamRefSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2181,7 +2182,7 @@ pub struct PolicyRulesValidateCelParamRefSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateCelParamRefSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2197,7 +2198,7 @@ pub struct PolicyRulesValidateCelParamRefSelectorMatchExpressions { } /// Variable is the definition of a variable that is used for composition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateCelVariables { /// Expression is the expression that will be evaluated as the value of the variable. /// The CEL expression has access to the same identifiers as the CEL expressions in Validation. @@ -2209,7 +2210,7 @@ pub struct PolicyRulesValidateCelVariables { } /// Deny defines conditions used to pass or fail a validation rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateDeny { /// Multiple conditions can be declared under an `any` or `all` statement. A direct list /// of conditions (without `any` or `all` statements) is also supported for backwards compatibility @@ -2220,7 +2221,7 @@ pub struct PolicyRulesValidateDeny { } /// ForEachValidation applies validate rules to a list of sub-elements by creating a context for each entry in the list and looping over it to apply the specified logic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeach { /// AnyPattern specifies list of validation patterns. At least one of the patterns /// must be satisfied for the validation rule to succeed. @@ -2256,7 +2257,7 @@ pub struct PolicyRulesValidateForeach { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -2282,7 +2283,7 @@ pub struct PolicyRulesValidateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -2314,7 +2315,7 @@ pub struct PolicyRulesValidateForeachContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -2335,7 +2336,7 @@ pub enum PolicyRulesValidateForeachContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -2347,7 +2348,7 @@ pub struct PolicyRulesValidateForeachContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -2357,7 +2358,7 @@ pub struct PolicyRulesValidateForeachContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -2373,7 +2374,7 @@ pub struct PolicyRulesValidateForeachContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -2389,7 +2390,7 @@ pub struct PolicyRulesValidateForeachContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -2405,7 +2406,7 @@ pub struct PolicyRulesValidateForeachContextImageRegistryImageRegistryCredential } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -2421,7 +2422,7 @@ pub struct PolicyRulesValidateForeachContextVariable { } /// Deny defines conditions used to pass or fail a validation rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachDeny { /// Multiple conditions can be declared under an `any` or `all` statement. A direct list /// of conditions (without `any` or `all` statements) is also supported for backwards compatibility @@ -2434,7 +2435,7 @@ pub struct PolicyRulesValidateForeachDeny { /// AnyAllConditions are used to determine if a policy rule should be applied by evaluating a /// set of conditions. The declaration can contain nested `any` or `all` statements. /// See: https://kyverno.io/docs/writing-policies/preconditions/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachPreconditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -2451,7 +2452,7 @@ pub struct PolicyRulesValidateForeachPreconditions { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachPreconditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2493,7 +2494,7 @@ pub enum PolicyRulesValidateForeachPreconditionsAllOperator { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachPreconditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2535,7 +2536,7 @@ pub enum PolicyRulesValidateForeachPreconditionsAnyOperator { } /// Manifest specifies conditions for manifest verification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifests { /// AnnotationDomain is custom domain of annotation for message and signature. Default is "cosign.sigstore.dev". #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationDomain")] @@ -2555,7 +2556,7 @@ pub struct PolicyRulesValidateManifests { pub repository: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsAttestors { /// Count specifies the required number of entries that must match. If the count is null, all entries must match /// (a logical AND). If the count is 1, at least one entry must match (a logical OR). If the count contains a @@ -2568,7 +2569,7 @@ pub struct PolicyRulesValidateManifestsAttestors { pub entries: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsAttestorsEntries { /// Annotations are used for image verification. /// Every specified key-value pair must exist and match in the verified payload. @@ -2595,7 +2596,7 @@ pub struct PolicyRulesValidateManifestsAttestorsEntries { } /// Certificates specifies one or more certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsAttestorsEntriesCertificates { /// Cert is an optional PEM-encoded public certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2615,7 +2616,7 @@ pub struct PolicyRulesValidateManifestsAttestorsEntriesCertificates { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsAttestorsEntriesCertificatesCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -2633,7 +2634,7 @@ pub struct PolicyRulesValidateManifestsAttestorsEntriesCertificatesCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsAttestorsEntriesCertificatesRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -2649,7 +2650,7 @@ pub struct PolicyRulesValidateManifestsAttestorsEntriesCertificatesRekor { /// Keyless is a set of attribute used to verify a Sigstore keyless attestor. /// See https://github.com/sigstore/cosign/blob/main/KEYLESS.md. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsAttestorsEntriesKeyless { /// AdditionalExtensions are certificate-extensions used for keyless signing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -2676,7 +2677,7 @@ pub struct PolicyRulesValidateManifestsAttestorsEntriesKeyless { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsAttestorsEntriesKeylessCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -2694,7 +2695,7 @@ pub struct PolicyRulesValidateManifestsAttestorsEntriesKeylessCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsAttestorsEntriesKeylessRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -2709,7 +2710,7 @@ pub struct PolicyRulesValidateManifestsAttestorsEntriesKeylessRekor { } /// Keys specifies one or more public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. @@ -2743,7 +2744,7 @@ pub struct PolicyRulesValidateManifestsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsAttestorsEntriesKeysCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -2761,7 +2762,7 @@ pub struct PolicyRulesValidateManifestsAttestorsEntriesKeysCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsAttestorsEntriesKeysRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -2776,7 +2777,7 @@ pub struct PolicyRulesValidateManifestsAttestorsEntriesKeysRekor { } /// Reference to a Secret resource that contains a public key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsAttestorsEntriesKeysSecret { /// Name of the secret. The provided secret must contain a key named cosign.pub. pub name: String, @@ -2785,7 +2786,7 @@ pub struct PolicyRulesValidateManifestsAttestorsEntriesKeysSecret { } /// DryRun configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsDryRun { #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, @@ -2793,7 +2794,7 @@ pub struct PolicyRulesValidateManifestsDryRun { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsIgnoreFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub fields: Option>, @@ -2801,7 +2802,7 @@ pub struct PolicyRulesValidateManifestsIgnoreFields { pub objects: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsIgnoreFieldsObjects { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -2817,7 +2818,7 @@ pub struct PolicyRulesValidateManifestsIgnoreFieldsObjects { /// PodSecurity applies exemptions for Kubernetes Pod Security admission /// by specifying exclusions for Pod Security Standards controls. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidatePodSecurity { /// Exclude specifies the Pod Security Standard controls to be excluded. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2929,7 +2930,7 @@ pub enum PolicyRulesValidatePodSecurityVersion { /// ImageVerification validates that images that match the specified pattern /// are signed with the supplied public key. Once the image is verified it is /// mutated to include the SHA digest retrieved during the registration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImages { /// Deprecated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -3002,7 +3003,7 @@ pub struct PolicyRulesVerifyImages { /// Attestation are checks for signed in-toto Statements that are used to verify the image. /// See https://github.com/in-toto/attestation. Kyverno fetches signed attestations from the /// OCI registry and decodes them into a list of Statements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestations { /// Attestors specify the required attestors (i.e. authorities). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3019,7 +3020,7 @@ pub struct PolicyRulesVerifyImagesAttestations { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsAttestors { /// Count specifies the required number of entries that must match. If the count is null, all entries must match /// (a logical AND). If the count is 1, at least one entry must match (a logical OR). If the count contains a @@ -3032,7 +3033,7 @@ pub struct PolicyRulesVerifyImagesAttestationsAttestors { pub entries: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntries { /// Annotations are used for image verification. /// Every specified key-value pair must exist and match in the verified payload. @@ -3059,7 +3060,7 @@ pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntries { } /// Certificates specifies one or more certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesCertificates { /// Cert is an optional PEM-encoded public certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3079,7 +3080,7 @@ pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesCertificates { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesCertificatesCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -3097,7 +3098,7 @@ pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesCertificatesCtlog /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesCertificatesRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -3113,7 +3114,7 @@ pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesCertificatesRekor /// Keyless is a set of attribute used to verify a Sigstore keyless attestor. /// See https://github.com/sigstore/cosign/blob/main/KEYLESS.md. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeyless { /// AdditionalExtensions are certificate-extensions used for keyless signing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -3140,7 +3141,7 @@ pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeyless { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeylessCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -3158,7 +3159,7 @@ pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeylessCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeylessRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -3173,7 +3174,7 @@ pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeylessRekor { } /// Keys specifies one or more public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. @@ -3207,7 +3208,7 @@ pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeysCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -3225,7 +3226,7 @@ pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeysCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeysRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -3240,7 +3241,7 @@ pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeysRekor { } /// Reference to a Secret resource that contains a public key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeysSecret { /// Name of the secret. The provided secret must contain a key named cosign.pub. pub name: String, @@ -3251,7 +3252,7 @@ pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeysSecret { /// AnyAllConditions consists of conditions wrapped denoting a logical criteria to be fulfilled. /// AnyConditions get fulfilled when at least one of its sub-conditions passes. /// AllConditions get fulfilled only when all of its sub-conditions pass. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsConditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -3268,7 +3269,7 @@ pub struct PolicyRulesVerifyImagesAttestationsConditions { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsConditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3310,7 +3311,7 @@ pub enum PolicyRulesVerifyImagesAttestationsConditionsAllOperator { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsConditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3351,7 +3352,7 @@ pub enum PolicyRulesVerifyImagesAttestationsConditionsAnyOperator { DurationLessThan, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestors { /// Count specifies the required number of entries that must match. If the count is null, all entries must match /// (a logical AND). If the count is 1, at least one entry must match (a logical OR). If the count contains a @@ -3364,7 +3365,7 @@ pub struct PolicyRulesVerifyImagesAttestors { pub entries: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestorsEntries { /// Annotations are used for image verification. /// Every specified key-value pair must exist and match in the verified payload. @@ -3391,7 +3392,7 @@ pub struct PolicyRulesVerifyImagesAttestorsEntries { } /// Certificates specifies one or more certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestorsEntriesCertificates { /// Cert is an optional PEM-encoded public certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3411,7 +3412,7 @@ pub struct PolicyRulesVerifyImagesAttestorsEntriesCertificates { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestorsEntriesCertificatesCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -3429,7 +3430,7 @@ pub struct PolicyRulesVerifyImagesAttestorsEntriesCertificatesCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestorsEntriesCertificatesRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -3445,7 +3446,7 @@ pub struct PolicyRulesVerifyImagesAttestorsEntriesCertificatesRekor { /// Keyless is a set of attribute used to verify a Sigstore keyless attestor. /// See https://github.com/sigstore/cosign/blob/main/KEYLESS.md. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestorsEntriesKeyless { /// AdditionalExtensions are certificate-extensions used for keyless signing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -3472,7 +3473,7 @@ pub struct PolicyRulesVerifyImagesAttestorsEntriesKeyless { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestorsEntriesKeylessCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -3490,7 +3491,7 @@ pub struct PolicyRulesVerifyImagesAttestorsEntriesKeylessCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestorsEntriesKeylessRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -3505,7 +3506,7 @@ pub struct PolicyRulesVerifyImagesAttestorsEntriesKeylessRekor { } /// Keys specifies one or more public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. @@ -3539,7 +3540,7 @@ pub struct PolicyRulesVerifyImagesAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestorsEntriesKeysCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -3557,7 +3558,7 @@ pub struct PolicyRulesVerifyImagesAttestorsEntriesKeysCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestorsEntriesKeysRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -3572,7 +3573,7 @@ pub struct PolicyRulesVerifyImagesAttestorsEntriesKeysRekor { } /// Reference to a Secret resource that contains a public key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestorsEntriesKeysSecret { /// Name of the secret. The provided secret must contain a key named cosign.pub. pub name: String, @@ -3581,7 +3582,7 @@ pub struct PolicyRulesVerifyImagesAttestorsEntriesKeysSecret { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -3618,7 +3619,7 @@ pub enum PolicyValidationFailureAction { EnforceX, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyValidationFailureActionOverrides { /// ValidationFailureAction defines the policy validation failure action #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3647,7 +3648,7 @@ pub enum PolicyValidationFailureActionOverridesAction { /// A label selector is a label query over a set of resources. The result of matchLabels and /// matchExpressions are ANDed. An empty label selector matches all objects. A null /// label selector matches no objects. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyValidationFailureActionOverridesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3661,7 +3662,7 @@ pub struct PolicyValidationFailureActionOverridesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyValidationFailureActionOverridesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3678,7 +3679,7 @@ pub struct PolicyValidationFailureActionOverridesNamespaceSelectorMatchExpressio /// WebhookConfiguration specifies the custom configuration for Kubernetes admission webhookconfiguration. /// Requires Kubernetes 1.27 or later. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyWebhookConfiguration { /// MatchCondition configures admission webhook matchConditions. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchConditions")] @@ -3686,7 +3687,7 @@ pub struct PolicyWebhookConfiguration { } /// MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyWebhookConfigurationMatchConditions { /// Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. /// CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables: @@ -3718,7 +3719,7 @@ pub struct PolicyWebhookConfigurationMatchConditions { } /// Deprecated. Policy metrics are available via the metrics endpoint -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatus { /// AutogenStatus contains autogen status information. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3737,7 +3738,7 @@ pub struct PolicyStatus { } /// AutogenStatus contains autogen status information. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogen { /// Rules is a list of Rule instances. It contains auto generated rules added for pod controllers #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3747,7 +3748,7 @@ pub struct PolicyStatusAutogen { /// Rule defines a validation, mutation, or generation control for matching resources. /// Each rules contains a match declaration to select resources, and an optional exclude /// declaration to specify which resources to exclude. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRules { /// CELPreconditions are used to determine if a policy rule should be applied by evaluating a /// set of CEL conditions. It can only be used with the validate.cel subrule @@ -3800,7 +3801,7 @@ pub struct PolicyStatusAutogenRules { } /// MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesCelPreconditions { /// Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. /// CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables: @@ -3833,7 +3834,7 @@ pub struct PolicyStatusAutogenRulesCelPreconditions { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -3859,7 +3860,7 @@ pub struct PolicyStatusAutogenRulesContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -3891,7 +3892,7 @@ pub struct PolicyStatusAutogenRulesContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -3912,7 +3913,7 @@ pub enum PolicyStatusAutogenRulesContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -3924,7 +3925,7 @@ pub struct PolicyStatusAutogenRulesContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -3934,7 +3935,7 @@ pub struct PolicyStatusAutogenRulesContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -3950,7 +3951,7 @@ pub struct PolicyStatusAutogenRulesContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -3966,7 +3967,7 @@ pub struct PolicyStatusAutogenRulesContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -3982,7 +3983,7 @@ pub struct PolicyStatusAutogenRulesContextImageRegistryImageRegistryCredentials } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -4000,7 +4001,7 @@ pub struct PolicyStatusAutogenRulesContextVariable { /// ExcludeResources defines when this policy rule should not be applied. The exclude /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the name or role. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExclude { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4026,7 +4027,7 @@ pub struct PolicyStatusAutogenRulesExclude { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -4043,7 +4044,7 @@ pub struct PolicyStatusAutogenRulesExcludeAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -4089,7 +4090,7 @@ pub struct PolicyStatusAutogenRulesExcludeAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4103,7 +4104,7 @@ pub struct PolicyStatusAutogenRulesExcludeAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4122,7 +4123,7 @@ pub struct PolicyStatusAutogenRulesExcludeAllResourcesNamespaceSelectorMatchExpr /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4136,7 +4137,7 @@ pub struct PolicyStatusAutogenRulesExcludeAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4153,7 +4154,7 @@ pub struct PolicyStatusAutogenRulesExcludeAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -4172,7 +4173,7 @@ pub struct PolicyStatusAutogenRulesExcludeAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -4189,7 +4190,7 @@ pub struct PolicyStatusAutogenRulesExcludeAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -4235,7 +4236,7 @@ pub struct PolicyStatusAutogenRulesExcludeAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4249,7 +4250,7 @@ pub struct PolicyStatusAutogenRulesExcludeAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4268,7 +4269,7 @@ pub struct PolicyStatusAutogenRulesExcludeAnyResourcesNamespaceSelectorMatchExpr /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4282,7 +4283,7 @@ pub struct PolicyStatusAutogenRulesExcludeAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4299,7 +4300,7 @@ pub struct PolicyStatusAutogenRulesExcludeAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -4321,7 +4322,7 @@ pub struct PolicyStatusAutogenRulesExcludeAnySubjects { /// Requires at least one tag to be specified when under MatchResources. /// Specifying ResourceDescription directly under match is being deprecated. /// Please specify under "any" or "all" instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -4367,7 +4368,7 @@ pub struct PolicyStatusAutogenRulesExcludeResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4381,7 +4382,7 @@ pub struct PolicyStatusAutogenRulesExcludeResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4400,7 +4401,7 @@ pub struct PolicyStatusAutogenRulesExcludeResourcesNamespaceSelectorMatchExpress /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4414,7 +4415,7 @@ pub struct PolicyStatusAutogenRulesExcludeResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4431,7 +4432,7 @@ pub struct PolicyStatusAutogenRulesExcludeResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -4450,7 +4451,7 @@ pub struct PolicyStatusAutogenRulesExcludeSubjects { } /// Generation is used to create new resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesGenerate { /// APIVersion specifies resource apiVersion. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4497,7 +4498,7 @@ pub struct PolicyStatusAutogenRulesGenerate { /// Clone specifies the source resource used to populate each generated resource. /// At most one of Data or Clone can be specified. If neither are provided, the generated /// resource will be created with default data only. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesGenerateClone { /// Name specifies name of the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4508,7 +4509,7 @@ pub struct PolicyStatusAutogenRulesGenerateClone { } /// CloneList specifies the list of source resource used to populate each generated resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesGenerateCloneList { /// Kinds is a list of resource kinds. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4524,7 +4525,7 @@ pub struct PolicyStatusAutogenRulesGenerateCloneList { /// Selector is a label selector. Label keys and values in `matchLabels`. /// wildcard characters are not supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesGenerateCloneListSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4538,7 +4539,7 @@ pub struct PolicyStatusAutogenRulesGenerateCloneListSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesGenerateCloneListSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4553,7 +4554,7 @@ pub struct PolicyStatusAutogenRulesGenerateCloneListSelectorMatchExpressions { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesImageExtractors { /// JMESPath is an optional JMESPath expression to apply to the image value. /// This is useful when the extracted image begins with a prefix like 'docker://'. @@ -4583,7 +4584,7 @@ pub struct PolicyStatusAutogenRulesImageExtractors { /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the user name or role. /// At least one kind is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatch { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4609,7 +4610,7 @@ pub struct PolicyStatusAutogenRulesMatch { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -4626,7 +4627,7 @@ pub struct PolicyStatusAutogenRulesMatchAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -4672,7 +4673,7 @@ pub struct PolicyStatusAutogenRulesMatchAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4686,7 +4687,7 @@ pub struct PolicyStatusAutogenRulesMatchAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4705,7 +4706,7 @@ pub struct PolicyStatusAutogenRulesMatchAllResourcesNamespaceSelectorMatchExpres /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4719,7 +4720,7 @@ pub struct PolicyStatusAutogenRulesMatchAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4736,7 +4737,7 @@ pub struct PolicyStatusAutogenRulesMatchAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -4755,7 +4756,7 @@ pub struct PolicyStatusAutogenRulesMatchAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -4772,7 +4773,7 @@ pub struct PolicyStatusAutogenRulesMatchAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -4818,7 +4819,7 @@ pub struct PolicyStatusAutogenRulesMatchAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4832,7 +4833,7 @@ pub struct PolicyStatusAutogenRulesMatchAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4851,7 +4852,7 @@ pub struct PolicyStatusAutogenRulesMatchAnyResourcesNamespaceSelectorMatchExpres /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4865,7 +4866,7 @@ pub struct PolicyStatusAutogenRulesMatchAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4882,7 +4883,7 @@ pub struct PolicyStatusAutogenRulesMatchAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -4904,7 +4905,7 @@ pub struct PolicyStatusAutogenRulesMatchAnySubjects { /// Requires at least one tag to be specified when under MatchResources. /// Specifying ResourceDescription directly under match is being deprecated. /// Please specify under "any" or "all" instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -4950,7 +4951,7 @@ pub struct PolicyStatusAutogenRulesMatchResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4964,7 +4965,7 @@ pub struct PolicyStatusAutogenRulesMatchResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4983,7 +4984,7 @@ pub struct PolicyStatusAutogenRulesMatchResourcesNamespaceSelectorMatchExpressio /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4997,7 +4998,7 @@ pub struct PolicyStatusAutogenRulesMatchResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5014,7 +5015,7 @@ pub struct PolicyStatusAutogenRulesMatchResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -5033,7 +5034,7 @@ pub struct PolicyStatusAutogenRulesMatchSubjects { } /// Mutation is used to modify matching resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutate { /// ForEach applies mutation rules to a list of sub-elements by creating a context for each entry in the list and looping over it to apply the specified logic. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5053,7 +5054,7 @@ pub struct PolicyStatusAutogenRulesMutate { } /// ForEachMutation applies mutation rules to a list of sub-elements by creating a context for each entry in the list and looping over it to apply the specified logic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeach { /// Context defines variables and data sources that can be used during rule execution. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5087,7 +5088,7 @@ pub struct PolicyStatusAutogenRulesMutateForeach { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -5113,7 +5114,7 @@ pub struct PolicyStatusAutogenRulesMutateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeachContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -5145,7 +5146,7 @@ pub struct PolicyStatusAutogenRulesMutateForeachContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeachContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -5166,7 +5167,7 @@ pub enum PolicyStatusAutogenRulesMutateForeachContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeachContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -5178,7 +5179,7 @@ pub struct PolicyStatusAutogenRulesMutateForeachContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeachContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -5188,7 +5189,7 @@ pub struct PolicyStatusAutogenRulesMutateForeachContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeachContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -5204,7 +5205,7 @@ pub struct PolicyStatusAutogenRulesMutateForeachContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeachContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -5220,7 +5221,7 @@ pub struct PolicyStatusAutogenRulesMutateForeachContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeachContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -5236,7 +5237,7 @@ pub struct PolicyStatusAutogenRulesMutateForeachContextImageRegistryImageRegistr } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeachContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -5261,7 +5262,7 @@ pub enum PolicyStatusAutogenRulesMutateForeachOrder { /// AnyAllConditions are used to determine if a policy rule should be applied by evaluating a /// set of conditions. The declaration can contain nested `any` or `all` statements. /// See: https://kyverno.io/docs/writing-policies/preconditions/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeachPreconditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -5278,7 +5279,7 @@ pub struct PolicyStatusAutogenRulesMutateForeachPreconditions { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeachPreconditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5320,7 +5321,7 @@ pub enum PolicyStatusAutogenRulesMutateForeachPreconditionsAllOperator { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeachPreconditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5362,7 +5363,7 @@ pub enum PolicyStatusAutogenRulesMutateForeachPreconditionsAnyOperator { } /// TargetResourceSpec defines targets for mutating existing resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateTargets { /// APIVersion specifies resource apiVersion. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -5393,7 +5394,7 @@ pub struct PolicyStatusAutogenRulesMutateTargets { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateTargetsContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -5419,7 +5420,7 @@ pub struct PolicyStatusAutogenRulesMutateTargetsContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateTargetsContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -5451,7 +5452,7 @@ pub struct PolicyStatusAutogenRulesMutateTargetsContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateTargetsContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -5472,7 +5473,7 @@ pub enum PolicyStatusAutogenRulesMutateTargetsContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateTargetsContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -5484,7 +5485,7 @@ pub struct PolicyStatusAutogenRulesMutateTargetsContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateTargetsContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -5494,7 +5495,7 @@ pub struct PolicyStatusAutogenRulesMutateTargetsContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateTargetsContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -5510,7 +5511,7 @@ pub struct PolicyStatusAutogenRulesMutateTargetsContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateTargetsContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -5526,7 +5527,7 @@ pub struct PolicyStatusAutogenRulesMutateTargetsContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateTargetsContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -5542,7 +5543,7 @@ pub struct PolicyStatusAutogenRulesMutateTargetsContextImageRegistryImageRegistr } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateTargetsContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -5558,7 +5559,7 @@ pub struct PolicyStatusAutogenRulesMutateTargetsContextVariable { } /// Validation is used to validate matching resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidate { /// AnyPattern specifies list of validation patterns. At least one of the patterns /// must be satisfied for the validation rule to succeed. @@ -5589,7 +5590,7 @@ pub struct PolicyStatusAutogenRulesValidate { } /// CEL allows validation checks using the Common Expression Language (https://kubernetes.io/docs/reference/using-api/cel/). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateCel { /// AuditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. #[serde(default, skip_serializing_if = "Option::is_none", rename = "auditAnnotations")] @@ -5611,7 +5612,7 @@ pub struct PolicyStatusAutogenRulesValidateCel { } /// AuditAnnotation describes how to produce an audit annotation for an API request. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateCelAuditAnnotations { /// key specifies the audit annotation key. The audit annotation keys of /// a ValidatingAdmissionPolicy must be unique. The key must be a qualified @@ -5654,7 +5655,7 @@ pub struct PolicyStatusAutogenRulesValidateCelAuditAnnotations { } /// Validation specifies the CEL expression which is used to apply the validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateCelExpressions { /// Expression represents the expression which will be evaluated by CEL. /// ref: https://github.com/google/cel-spec @@ -5734,7 +5735,7 @@ pub struct PolicyStatusAutogenRulesValidateCelExpressions { } /// ParamKind is a tuple of Group Kind and Version. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateCelParamKind { /// APIVersion is the API group version the resources belong to. /// In format of "group/version". @@ -5748,7 +5749,7 @@ pub struct PolicyStatusAutogenRulesValidateCelParamKind { } /// ParamRef references a parameter resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateCelParamRef { /// `name` is the name of the resource being referenced. /// @@ -5812,7 +5813,7 @@ pub struct PolicyStatusAutogenRulesValidateCelParamRef { /// /// One of `name` or `selector` must be set, but `name` and `selector` are /// mutually exclusive properties. If one is set, the other must be unset. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateCelParamRefSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5826,7 +5827,7 @@ pub struct PolicyStatusAutogenRulesValidateCelParamRefSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateCelParamRefSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5842,7 +5843,7 @@ pub struct PolicyStatusAutogenRulesValidateCelParamRefSelectorMatchExpressions { } /// Variable is the definition of a variable that is used for composition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateCelVariables { /// Expression is the expression that will be evaluated as the value of the variable. /// The CEL expression has access to the same identifiers as the CEL expressions in Validation. @@ -5854,7 +5855,7 @@ pub struct PolicyStatusAutogenRulesValidateCelVariables { } /// Deny defines conditions used to pass or fail a validation rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateDeny { /// Multiple conditions can be declared under an `any` or `all` statement. A direct list /// of conditions (without `any` or `all` statements) is also supported for backwards compatibility @@ -5865,7 +5866,7 @@ pub struct PolicyStatusAutogenRulesValidateDeny { } /// ForEachValidation applies validate rules to a list of sub-elements by creating a context for each entry in the list and looping over it to apply the specified logic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeach { /// AnyPattern specifies list of validation patterns. At least one of the patterns /// must be satisfied for the validation rule to succeed. @@ -5901,7 +5902,7 @@ pub struct PolicyStatusAutogenRulesValidateForeach { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -5927,7 +5928,7 @@ pub struct PolicyStatusAutogenRulesValidateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -5959,7 +5960,7 @@ pub struct PolicyStatusAutogenRulesValidateForeachContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -5980,7 +5981,7 @@ pub enum PolicyStatusAutogenRulesValidateForeachContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -5992,7 +5993,7 @@ pub struct PolicyStatusAutogenRulesValidateForeachContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -6002,7 +6003,7 @@ pub struct PolicyStatusAutogenRulesValidateForeachContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -6018,7 +6019,7 @@ pub struct PolicyStatusAutogenRulesValidateForeachContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -6034,7 +6035,7 @@ pub struct PolicyStatusAutogenRulesValidateForeachContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -6050,7 +6051,7 @@ pub struct PolicyStatusAutogenRulesValidateForeachContextImageRegistryImageRegis } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -6066,7 +6067,7 @@ pub struct PolicyStatusAutogenRulesValidateForeachContextVariable { } /// Deny defines conditions used to pass or fail a validation rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachDeny { /// Multiple conditions can be declared under an `any` or `all` statement. A direct list /// of conditions (without `any` or `all` statements) is also supported for backwards compatibility @@ -6079,7 +6080,7 @@ pub struct PolicyStatusAutogenRulesValidateForeachDeny { /// AnyAllConditions are used to determine if a policy rule should be applied by evaluating a /// set of conditions. The declaration can contain nested `any` or `all` statements. /// See: https://kyverno.io/docs/writing-policies/preconditions/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachPreconditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -6096,7 +6097,7 @@ pub struct PolicyStatusAutogenRulesValidateForeachPreconditions { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachPreconditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6138,7 +6139,7 @@ pub enum PolicyStatusAutogenRulesValidateForeachPreconditionsAllOperator { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachPreconditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6180,7 +6181,7 @@ pub enum PolicyStatusAutogenRulesValidateForeachPreconditionsAnyOperator { } /// Manifest specifies conditions for manifest verification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifests { /// AnnotationDomain is custom domain of annotation for message and signature. Default is "cosign.sigstore.dev". #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationDomain")] @@ -6200,7 +6201,7 @@ pub struct PolicyStatusAutogenRulesValidateManifests { pub repository: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsAttestors { /// Count specifies the required number of entries that must match. If the count is null, all entries must match /// (a logical AND). If the count is 1, at least one entry must match (a logical OR). If the count contains a @@ -6213,7 +6214,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsAttestors { pub entries: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntries { /// Annotations are used for image verification. /// Every specified key-value pair must exist and match in the verified payload. @@ -6240,7 +6241,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntries { } /// Certificates specifies one or more certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesCertificates { /// Cert is an optional PEM-encoded public certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6260,7 +6261,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesCertificates /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesCertificatesCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6278,7 +6279,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesCertificates /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesCertificatesRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6294,7 +6295,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesCertificates /// Keyless is a set of attribute used to verify a Sigstore keyless attestor. /// See https://github.com/sigstore/cosign/blob/main/KEYLESS.md. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeyless { /// AdditionalExtensions are certificate-extensions used for keyless signing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -6321,7 +6322,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeyless { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeylessCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6339,7 +6340,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeylessCtlog /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeylessRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6354,7 +6355,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeylessRekor } /// Keys specifies one or more public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. @@ -6388,7 +6389,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeysCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6406,7 +6407,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeysCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeysRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6421,7 +6422,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeysRekor { } /// Reference to a Secret resource that contains a public key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeysSecret { /// Name of the secret. The provided secret must contain a key named cosign.pub. pub name: String, @@ -6430,7 +6431,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeysSecret { } /// DryRun configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsDryRun { #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, @@ -6438,7 +6439,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsDryRun { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsIgnoreFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub fields: Option>, @@ -6446,7 +6447,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsIgnoreFields { pub objects: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsIgnoreFieldsObjects { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -6462,7 +6463,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsIgnoreFieldsObjects { /// PodSecurity applies exemptions for Kubernetes Pod Security admission /// by specifying exclusions for Pod Security Standards controls. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidatePodSecurity { /// Exclude specifies the Pod Security Standard controls to be excluded. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6574,7 +6575,7 @@ pub enum PolicyStatusAutogenRulesValidatePodSecurityVersion { /// ImageVerification validates that images that match the specified pattern /// are signed with the supplied public key. Once the image is verified it is /// mutated to include the SHA digest retrieved during the registration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImages { /// Deprecated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -6647,7 +6648,7 @@ pub struct PolicyStatusAutogenRulesVerifyImages { /// Attestation are checks for signed in-toto Statements that are used to verify the image. /// See https://github.com/in-toto/attestation. Kyverno fetches signed attestations from the /// OCI registry and decodes them into a list of Statements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestations { /// Attestors specify the required attestors (i.e. authorities). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6664,7 +6665,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestations { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestors { /// Count specifies the required number of entries that must match. If the count is null, all entries must match /// (a logical AND). If the count is 1, at least one entry must match (a logical OR). If the count contains a @@ -6677,7 +6678,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestors { pub entries: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntries { /// Annotations are used for image verification. /// Every specified key-value pair must exist and match in the verified payload. @@ -6704,7 +6705,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntries { } /// Certificates specifies one or more certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesCertificates { /// Cert is an optional PEM-encoded public certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6724,7 +6725,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesCerti /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesCertificatesCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6742,7 +6743,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesCerti /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesCertificatesRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6758,7 +6759,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesCerti /// Keyless is a set of attribute used to verify a Sigstore keyless attestor. /// See https://github.com/sigstore/cosign/blob/main/KEYLESS.md. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeyless { /// AdditionalExtensions are certificate-extensions used for keyless signing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -6785,7 +6786,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeyle /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeylessCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6803,7 +6804,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeyle /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeylessRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6818,7 +6819,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeyle } /// Keys specifies one or more public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. @@ -6852,7 +6853,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeys /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeysCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6870,7 +6871,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeysC /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeysRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6885,7 +6886,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeysR } /// Reference to a Secret resource that contains a public key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeysSecret { /// Name of the secret. The provided secret must contain a key named cosign.pub. pub name: String, @@ -6896,7 +6897,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeysS /// AnyAllConditions consists of conditions wrapped denoting a logical criteria to be fulfilled. /// AnyConditions get fulfilled when at least one of its sub-conditions passes. /// AllConditions get fulfilled only when all of its sub-conditions pass. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsConditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -6913,7 +6914,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsConditions { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsConditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6955,7 +6956,7 @@ pub enum PolicyStatusAutogenRulesVerifyImagesAttestationsConditionsAllOperator { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsConditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6996,7 +6997,7 @@ pub enum PolicyStatusAutogenRulesVerifyImagesAttestationsConditionsAnyOperator { DurationLessThan, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestors { /// Count specifies the required number of entries that must match. If the count is null, all entries must match /// (a logical AND). If the count is 1, at least one entry must match (a logical OR). If the count contains a @@ -7009,7 +7010,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestors { pub entries: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntries { /// Annotations are used for image verification. /// Every specified key-value pair must exist and match in the verified payload. @@ -7036,7 +7037,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntries { } /// Certificates specifies one or more certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesCertificates { /// Cert is an optional PEM-encoded public certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7056,7 +7057,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesCertificates { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesCertificatesCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -7074,7 +7075,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesCertificatesCtlog /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesCertificatesRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -7090,7 +7091,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesCertificatesRekor /// Keyless is a set of attribute used to verify a Sigstore keyless attestor. /// See https://github.com/sigstore/cosign/blob/main/KEYLESS.md. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeyless { /// AdditionalExtensions are certificate-extensions used for keyless signing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -7117,7 +7118,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeyless { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeylessCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -7135,7 +7136,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeylessCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeylessRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -7150,7 +7151,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeylessRekor { } /// Keys specifies one or more public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. @@ -7184,7 +7185,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeysCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -7202,7 +7203,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeysCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeysRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -7217,7 +7218,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeysRekor { } /// Reference to a Secret resource that contains a public key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeysSecret { /// Name of the secret. The provided secret must contain a key named cosign.pub. pub name: String, @@ -7226,7 +7227,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeysSecret { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -7252,7 +7253,7 @@ pub enum PolicyStatusAutogenRulesVerifyImagesType { /// RuleCountStatus contains four variables which describes counts for /// validate, generate, mutate and verify images rules -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusRulecount { /// Count for generate rules in policy pub generate: i64, @@ -7265,7 +7266,7 @@ pub struct PolicyStatusRulecount { } /// ValidatingAdmissionPolicy contains status information -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusValidatingadmissionpolicy { /// Generated indicates whether a validating admission policy is generated from the policy or not pub generated: bool, diff --git a/kube-custom-resources-rs/src/kyverno_io/v1alpha2/admissionreports.rs b/kube-custom-resources-rs/src/kyverno_io/v1alpha2/admissionreports.rs index ef543640d..98743bbb7 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v1alpha2/admissionreports.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v1alpha2/admissionreports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/admissionreports.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/admissionreports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kyverno_io/v1alpha2/backgroundscanreports.rs b/kube-custom-resources-rs/src/kyverno_io/v1alpha2/backgroundscanreports.rs index a8c80c564..a4df097ff 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v1alpha2/backgroundscanreports.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v1alpha2/backgroundscanreports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/backgroundscanreports.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/backgroundscanreports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kyverno_io/v1alpha2/clusteradmissionreports.rs b/kube-custom-resources-rs/src/kyverno_io/v1alpha2/clusteradmissionreports.rs index 784ae6b24..7a9e60594 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v1alpha2/clusteradmissionreports.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v1alpha2/clusteradmissionreports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/clusteradmissionreports.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/clusteradmissionreports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kyverno_io/v1alpha2/clusterbackgroundscanreports.rs b/kube-custom-resources-rs/src/kyverno_io/v1alpha2/clusterbackgroundscanreports.rs index 8d612df04..c97ad6499 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v1alpha2/clusterbackgroundscanreports.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v1alpha2/clusterbackgroundscanreports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/clusterbackgroundscanreports.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v1alpha2/clusterbackgroundscanreports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kyverno_io/v1beta1/updaterequests.rs b/kube-custom-resources-rs/src/kyverno_io/v1beta1/updaterequests.rs index 43b522209..5b745b225 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v1beta1/updaterequests.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v1beta1/updaterequests.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v1beta1/updaterequests.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v1beta1/updaterequests.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kyverno_io/v2/admissionreports.rs b/kube-custom-resources-rs/src/kyverno_io/v2/admissionreports.rs index 9285d0e64..7a57a18c2 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2/admissionreports.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2/admissionreports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2/admissionreports.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2/admissionreports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kyverno_io/v2/backgroundscanreports.rs b/kube-custom-resources-rs/src/kyverno_io/v2/backgroundscanreports.rs index 22b967e55..262e5bc94 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2/backgroundscanreports.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2/backgroundscanreports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2/backgroundscanreports.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2/backgroundscanreports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kyverno_io/v2/cleanuppolicies.rs b/kube-custom-resources-rs/src/kyverno_io/v2/cleanuppolicies.rs index eb05f4ba0..14ac9e0c5 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2/cleanuppolicies.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2/cleanuppolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2/cleanuppolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2/cleanuppolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// Spec declares policy behaviors. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kyverno.io", version = "v2", kind = "CleanupPolicy", plural = "cleanuppolicies")] #[kube(namespaced)] #[kube(status = "CleanupPolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct CleanupPolicySpec { /// Conditions defines the conditions used to select the resources which will be cleaned up. @@ -41,7 +42,7 @@ pub struct CleanupPolicySpec { } /// Conditions defines the conditions used to select the resources which will be cleaned up. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyConditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -57,7 +58,7 @@ pub struct CleanupPolicyConditions { pub any: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyConditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -95,7 +96,7 @@ pub enum CleanupPolicyConditionsAllOperator { DurationLessThan, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyConditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -135,7 +136,7 @@ pub enum CleanupPolicyConditionsAnyOperator { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -161,7 +162,7 @@ pub struct CleanupPolicyContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -193,7 +194,7 @@ pub struct CleanupPolicyContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -214,7 +215,7 @@ pub enum CleanupPolicyContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -226,7 +227,7 @@ pub struct CleanupPolicyContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -236,7 +237,7 @@ pub struct CleanupPolicyContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -252,7 +253,7 @@ pub struct CleanupPolicyContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -268,7 +269,7 @@ pub struct CleanupPolicyContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -284,7 +285,7 @@ pub struct CleanupPolicyContextImageRegistryImageRegistryCredentials { } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -302,7 +303,7 @@ pub struct CleanupPolicyContextVariable { /// ExcludeResources defines when cleanuppolicy should not be applied. The exclude /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the name or role. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExclude { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -313,7 +314,7 @@ pub struct CleanupPolicyExclude { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -330,7 +331,7 @@ pub struct CleanupPolicyExcludeAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -376,7 +377,7 @@ pub struct CleanupPolicyExcludeAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -390,7 +391,7 @@ pub struct CleanupPolicyExcludeAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -409,7 +410,7 @@ pub struct CleanupPolicyExcludeAllResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -423,7 +424,7 @@ pub struct CleanupPolicyExcludeAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -440,7 +441,7 @@ pub struct CleanupPolicyExcludeAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -459,7 +460,7 @@ pub struct CleanupPolicyExcludeAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -476,7 +477,7 @@ pub struct CleanupPolicyExcludeAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -522,7 +523,7 @@ pub struct CleanupPolicyExcludeAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -536,7 +537,7 @@ pub struct CleanupPolicyExcludeAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -555,7 +556,7 @@ pub struct CleanupPolicyExcludeAnyResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -569,7 +570,7 @@ pub struct CleanupPolicyExcludeAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -586,7 +587,7 @@ pub struct CleanupPolicyExcludeAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -608,7 +609,7 @@ pub struct CleanupPolicyExcludeAnySubjects { /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the user name or role. /// At least one kind is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatch { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -619,7 +620,7 @@ pub struct CleanupPolicyMatch { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -636,7 +637,7 @@ pub struct CleanupPolicyMatchAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -682,7 +683,7 @@ pub struct CleanupPolicyMatchAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -696,7 +697,7 @@ pub struct CleanupPolicyMatchAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -715,7 +716,7 @@ pub struct CleanupPolicyMatchAllResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -729,7 +730,7 @@ pub struct CleanupPolicyMatchAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -746,7 +747,7 @@ pub struct CleanupPolicyMatchAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -765,7 +766,7 @@ pub struct CleanupPolicyMatchAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -782,7 +783,7 @@ pub struct CleanupPolicyMatchAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -828,7 +829,7 @@ pub struct CleanupPolicyMatchAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -842,7 +843,7 @@ pub struct CleanupPolicyMatchAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -861,7 +862,7 @@ pub struct CleanupPolicyMatchAnyResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -875,7 +876,7 @@ pub struct CleanupPolicyMatchAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -892,7 +893,7 @@ pub struct CleanupPolicyMatchAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -911,7 +912,7 @@ pub struct CleanupPolicyMatchAnySubjects { } /// Status contains policy runtime data. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, diff --git a/kube-custom-resources-rs/src/kyverno_io/v2/clusteradmissionreports.rs b/kube-custom-resources-rs/src/kyverno_io/v2/clusteradmissionreports.rs index fa3839ecd..4c3a1c133 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2/clusteradmissionreports.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2/clusteradmissionreports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2/clusteradmissionreports.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2/clusteradmissionreports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kyverno_io/v2/clusterbackgroundscanreports.rs b/kube-custom-resources-rs/src/kyverno_io/v2/clusterbackgroundscanreports.rs index 01dd0fb01..19aec585c 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2/clusterbackgroundscanreports.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2/clusterbackgroundscanreports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2/clusterbackgroundscanreports.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2/clusterbackgroundscanreports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kyverno_io/v2/clustercleanuppolicies.rs b/kube-custom-resources-rs/src/kyverno_io/v2/clustercleanuppolicies.rs index 0fefcf024..0d6ee4622 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2/clustercleanuppolicies.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2/clustercleanuppolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2/clustercleanuppolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2/clustercleanuppolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// Spec declares policy behaviors. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kyverno.io", version = "v2", kind = "ClusterCleanupPolicy", plural = "clustercleanuppolicies")] #[kube(status = "ClusterCleanupPolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterCleanupPolicySpec { /// Conditions defines the conditions used to select the resources which will be cleaned up. @@ -40,7 +41,7 @@ pub struct ClusterCleanupPolicySpec { } /// Conditions defines the conditions used to select the resources which will be cleaned up. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyConditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -56,7 +57,7 @@ pub struct ClusterCleanupPolicyConditions { pub any: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyConditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -94,7 +95,7 @@ pub enum ClusterCleanupPolicyConditionsAllOperator { DurationLessThan, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyConditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -134,7 +135,7 @@ pub enum ClusterCleanupPolicyConditionsAnyOperator { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -160,7 +161,7 @@ pub struct ClusterCleanupPolicyContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -192,7 +193,7 @@ pub struct ClusterCleanupPolicyContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -213,7 +214,7 @@ pub enum ClusterCleanupPolicyContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -225,7 +226,7 @@ pub struct ClusterCleanupPolicyContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -235,7 +236,7 @@ pub struct ClusterCleanupPolicyContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -251,7 +252,7 @@ pub struct ClusterCleanupPolicyContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -267,7 +268,7 @@ pub struct ClusterCleanupPolicyContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -283,7 +284,7 @@ pub struct ClusterCleanupPolicyContextImageRegistryImageRegistryCredentials { } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -301,7 +302,7 @@ pub struct ClusterCleanupPolicyContextVariable { /// ExcludeResources defines when cleanuppolicy should not be applied. The exclude /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the name or role. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExclude { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -312,7 +313,7 @@ pub struct ClusterCleanupPolicyExclude { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -329,7 +330,7 @@ pub struct ClusterCleanupPolicyExcludeAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -375,7 +376,7 @@ pub struct ClusterCleanupPolicyExcludeAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -389,7 +390,7 @@ pub struct ClusterCleanupPolicyExcludeAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -408,7 +409,7 @@ pub struct ClusterCleanupPolicyExcludeAllResourcesNamespaceSelectorMatchExpressi /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -422,7 +423,7 @@ pub struct ClusterCleanupPolicyExcludeAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -439,7 +440,7 @@ pub struct ClusterCleanupPolicyExcludeAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -458,7 +459,7 @@ pub struct ClusterCleanupPolicyExcludeAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -475,7 +476,7 @@ pub struct ClusterCleanupPolicyExcludeAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -521,7 +522,7 @@ pub struct ClusterCleanupPolicyExcludeAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -535,7 +536,7 @@ pub struct ClusterCleanupPolicyExcludeAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -554,7 +555,7 @@ pub struct ClusterCleanupPolicyExcludeAnyResourcesNamespaceSelectorMatchExpressi /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -568,7 +569,7 @@ pub struct ClusterCleanupPolicyExcludeAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -585,7 +586,7 @@ pub struct ClusterCleanupPolicyExcludeAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -607,7 +608,7 @@ pub struct ClusterCleanupPolicyExcludeAnySubjects { /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the user name or role. /// At least one kind is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatch { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -618,7 +619,7 @@ pub struct ClusterCleanupPolicyMatch { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -635,7 +636,7 @@ pub struct ClusterCleanupPolicyMatchAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -681,7 +682,7 @@ pub struct ClusterCleanupPolicyMatchAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -695,7 +696,7 @@ pub struct ClusterCleanupPolicyMatchAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -714,7 +715,7 @@ pub struct ClusterCleanupPolicyMatchAllResourcesNamespaceSelectorMatchExpression /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -728,7 +729,7 @@ pub struct ClusterCleanupPolicyMatchAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -745,7 +746,7 @@ pub struct ClusterCleanupPolicyMatchAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -764,7 +765,7 @@ pub struct ClusterCleanupPolicyMatchAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -781,7 +782,7 @@ pub struct ClusterCleanupPolicyMatchAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -827,7 +828,7 @@ pub struct ClusterCleanupPolicyMatchAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -841,7 +842,7 @@ pub struct ClusterCleanupPolicyMatchAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -860,7 +861,7 @@ pub struct ClusterCleanupPolicyMatchAnyResourcesNamespaceSelectorMatchExpression /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -874,7 +875,7 @@ pub struct ClusterCleanupPolicyMatchAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -891,7 +892,7 @@ pub struct ClusterCleanupPolicyMatchAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -910,7 +911,7 @@ pub struct ClusterCleanupPolicyMatchAnySubjects { } /// Status contains policy runtime data. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, diff --git a/kube-custom-resources-rs/src/kyverno_io/v2/policyexceptions.rs b/kube-custom-resources-rs/src/kyverno_io/v2/policyexceptions.rs index 2a9e7d6ad..6758e6273 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2/policyexceptions.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2/policyexceptions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2/policyexceptions.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2/policyexceptions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { use self::prelude::*; /// Spec declares policy exception behaviors. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kyverno.io", version = "v2", kind = "PolicyException", plural = "policyexceptions")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PolicyExceptionSpec { /// Background controls if exceptions are applied to existing policies during a background scan. @@ -39,7 +40,7 @@ pub struct PolicyExceptionSpec { /// Conditions are used to determine if a resource applies to the exception by evaluating a /// set of conditions. The declaration can contain nested `any` or `all` statements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionConditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -55,7 +56,7 @@ pub struct PolicyExceptionConditions { pub any: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionConditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -93,7 +94,7 @@ pub enum PolicyExceptionConditionsAllOperator { DurationLessThan, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionConditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -132,7 +133,7 @@ pub enum PolicyExceptionConditionsAnyOperator { } /// Exception stores infos about a policy and rules -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionExceptions { /// PolicyName identifies the policy to which the exception is applied. /// The policy name uses the format / unless it @@ -145,7 +146,7 @@ pub struct PolicyExceptionExceptions { } /// Match defines match clause used to check if a resource applies to the exception -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatch { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -156,7 +157,7 @@ pub struct PolicyExceptionMatch { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -173,7 +174,7 @@ pub struct PolicyExceptionMatchAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -219,7 +220,7 @@ pub struct PolicyExceptionMatchAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -233,7 +234,7 @@ pub struct PolicyExceptionMatchAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -252,7 +253,7 @@ pub struct PolicyExceptionMatchAllResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -266,7 +267,7 @@ pub struct PolicyExceptionMatchAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -283,7 +284,7 @@ pub struct PolicyExceptionMatchAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -302,7 +303,7 @@ pub struct PolicyExceptionMatchAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -319,7 +320,7 @@ pub struct PolicyExceptionMatchAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -365,7 +366,7 @@ pub struct PolicyExceptionMatchAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -379,7 +380,7 @@ pub struct PolicyExceptionMatchAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -398,7 +399,7 @@ pub struct PolicyExceptionMatchAnyResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -412,7 +413,7 @@ pub struct PolicyExceptionMatchAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -429,7 +430,7 @@ pub struct PolicyExceptionMatchAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. diff --git a/kube-custom-resources-rs/src/kyverno_io/v2/updaterequests.rs b/kube-custom-resources-rs/src/kyverno_io/v2/updaterequests.rs index 17000b4d0..44a057c5d 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2/updaterequests.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2/updaterequests.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2/updaterequests.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2/updaterequests.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kyverno_io/v2alpha1/cleanuppolicies.rs b/kube-custom-resources-rs/src/kyverno_io/v2alpha1/cleanuppolicies.rs index 6ff975aed..a1883236e 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2alpha1/cleanuppolicies.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2alpha1/cleanuppolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/cleanuppolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/cleanuppolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// Spec declares policy behaviors. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kyverno.io", version = "v2alpha1", kind = "CleanupPolicy", plural = "cleanuppolicies")] #[kube(namespaced)] #[kube(status = "CleanupPolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct CleanupPolicySpec { /// Conditions defines the conditions used to select the resources which will be cleaned up. @@ -41,7 +42,7 @@ pub struct CleanupPolicySpec { } /// Conditions defines the conditions used to select the resources which will be cleaned up. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyConditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -57,7 +58,7 @@ pub struct CleanupPolicyConditions { pub any: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyConditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -95,7 +96,7 @@ pub enum CleanupPolicyConditionsAllOperator { DurationLessThan, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyConditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -135,7 +136,7 @@ pub enum CleanupPolicyConditionsAnyOperator { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -161,7 +162,7 @@ pub struct CleanupPolicyContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -193,7 +194,7 @@ pub struct CleanupPolicyContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -214,7 +215,7 @@ pub enum CleanupPolicyContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -226,7 +227,7 @@ pub struct CleanupPolicyContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -236,7 +237,7 @@ pub struct CleanupPolicyContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -252,7 +253,7 @@ pub struct CleanupPolicyContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -268,7 +269,7 @@ pub struct CleanupPolicyContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -284,7 +285,7 @@ pub struct CleanupPolicyContextImageRegistryImageRegistryCredentials { } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -302,7 +303,7 @@ pub struct CleanupPolicyContextVariable { /// ExcludeResources defines when cleanuppolicy should not be applied. The exclude /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the name or role. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExclude { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -313,7 +314,7 @@ pub struct CleanupPolicyExclude { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -330,7 +331,7 @@ pub struct CleanupPolicyExcludeAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -376,7 +377,7 @@ pub struct CleanupPolicyExcludeAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -390,7 +391,7 @@ pub struct CleanupPolicyExcludeAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -409,7 +410,7 @@ pub struct CleanupPolicyExcludeAllResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -423,7 +424,7 @@ pub struct CleanupPolicyExcludeAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -440,7 +441,7 @@ pub struct CleanupPolicyExcludeAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -459,7 +460,7 @@ pub struct CleanupPolicyExcludeAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -476,7 +477,7 @@ pub struct CleanupPolicyExcludeAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -522,7 +523,7 @@ pub struct CleanupPolicyExcludeAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -536,7 +537,7 @@ pub struct CleanupPolicyExcludeAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -555,7 +556,7 @@ pub struct CleanupPolicyExcludeAnyResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -569,7 +570,7 @@ pub struct CleanupPolicyExcludeAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -586,7 +587,7 @@ pub struct CleanupPolicyExcludeAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -608,7 +609,7 @@ pub struct CleanupPolicyExcludeAnySubjects { /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the user name or role. /// At least one kind is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatch { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -619,7 +620,7 @@ pub struct CleanupPolicyMatch { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -636,7 +637,7 @@ pub struct CleanupPolicyMatchAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -682,7 +683,7 @@ pub struct CleanupPolicyMatchAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -696,7 +697,7 @@ pub struct CleanupPolicyMatchAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -715,7 +716,7 @@ pub struct CleanupPolicyMatchAllResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -729,7 +730,7 @@ pub struct CleanupPolicyMatchAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -746,7 +747,7 @@ pub struct CleanupPolicyMatchAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -765,7 +766,7 @@ pub struct CleanupPolicyMatchAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -782,7 +783,7 @@ pub struct CleanupPolicyMatchAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -828,7 +829,7 @@ pub struct CleanupPolicyMatchAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -842,7 +843,7 @@ pub struct CleanupPolicyMatchAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -861,7 +862,7 @@ pub struct CleanupPolicyMatchAnyResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -875,7 +876,7 @@ pub struct CleanupPolicyMatchAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -892,7 +893,7 @@ pub struct CleanupPolicyMatchAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -911,7 +912,7 @@ pub struct CleanupPolicyMatchAnySubjects { } /// Status contains policy runtime data. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, diff --git a/kube-custom-resources-rs/src/kyverno_io/v2alpha1/clustercleanuppolicies.rs b/kube-custom-resources-rs/src/kyverno_io/v2alpha1/clustercleanuppolicies.rs index 374dd5f14..4910b913a 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2alpha1/clustercleanuppolicies.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2alpha1/clustercleanuppolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/clustercleanuppolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/clustercleanuppolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// Spec declares policy behaviors. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kyverno.io", version = "v2alpha1", kind = "ClusterCleanupPolicy", plural = "clustercleanuppolicies")] #[kube(status = "ClusterCleanupPolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterCleanupPolicySpec { /// Conditions defines the conditions used to select the resources which will be cleaned up. @@ -40,7 +41,7 @@ pub struct ClusterCleanupPolicySpec { } /// Conditions defines the conditions used to select the resources which will be cleaned up. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyConditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -56,7 +57,7 @@ pub struct ClusterCleanupPolicyConditions { pub any: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyConditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -94,7 +95,7 @@ pub enum ClusterCleanupPolicyConditionsAllOperator { DurationLessThan, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyConditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -134,7 +135,7 @@ pub enum ClusterCleanupPolicyConditionsAnyOperator { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -160,7 +161,7 @@ pub struct ClusterCleanupPolicyContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -192,7 +193,7 @@ pub struct ClusterCleanupPolicyContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -213,7 +214,7 @@ pub enum ClusterCleanupPolicyContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -225,7 +226,7 @@ pub struct ClusterCleanupPolicyContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -235,7 +236,7 @@ pub struct ClusterCleanupPolicyContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -251,7 +252,7 @@ pub struct ClusterCleanupPolicyContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -267,7 +268,7 @@ pub struct ClusterCleanupPolicyContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -283,7 +284,7 @@ pub struct ClusterCleanupPolicyContextImageRegistryImageRegistryCredentials { } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -301,7 +302,7 @@ pub struct ClusterCleanupPolicyContextVariable { /// ExcludeResources defines when cleanuppolicy should not be applied. The exclude /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the name or role. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExclude { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -312,7 +313,7 @@ pub struct ClusterCleanupPolicyExclude { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -329,7 +330,7 @@ pub struct ClusterCleanupPolicyExcludeAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -375,7 +376,7 @@ pub struct ClusterCleanupPolicyExcludeAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -389,7 +390,7 @@ pub struct ClusterCleanupPolicyExcludeAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -408,7 +409,7 @@ pub struct ClusterCleanupPolicyExcludeAllResourcesNamespaceSelectorMatchExpressi /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -422,7 +423,7 @@ pub struct ClusterCleanupPolicyExcludeAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -439,7 +440,7 @@ pub struct ClusterCleanupPolicyExcludeAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -458,7 +459,7 @@ pub struct ClusterCleanupPolicyExcludeAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -475,7 +476,7 @@ pub struct ClusterCleanupPolicyExcludeAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -521,7 +522,7 @@ pub struct ClusterCleanupPolicyExcludeAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -535,7 +536,7 @@ pub struct ClusterCleanupPolicyExcludeAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -554,7 +555,7 @@ pub struct ClusterCleanupPolicyExcludeAnyResourcesNamespaceSelectorMatchExpressi /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -568,7 +569,7 @@ pub struct ClusterCleanupPolicyExcludeAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -585,7 +586,7 @@ pub struct ClusterCleanupPolicyExcludeAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -607,7 +608,7 @@ pub struct ClusterCleanupPolicyExcludeAnySubjects { /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the user name or role. /// At least one kind is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatch { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -618,7 +619,7 @@ pub struct ClusterCleanupPolicyMatch { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -635,7 +636,7 @@ pub struct ClusterCleanupPolicyMatchAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -681,7 +682,7 @@ pub struct ClusterCleanupPolicyMatchAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -695,7 +696,7 @@ pub struct ClusterCleanupPolicyMatchAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -714,7 +715,7 @@ pub struct ClusterCleanupPolicyMatchAllResourcesNamespaceSelectorMatchExpression /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -728,7 +729,7 @@ pub struct ClusterCleanupPolicyMatchAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -745,7 +746,7 @@ pub struct ClusterCleanupPolicyMatchAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -764,7 +765,7 @@ pub struct ClusterCleanupPolicyMatchAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -781,7 +782,7 @@ pub struct ClusterCleanupPolicyMatchAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -827,7 +828,7 @@ pub struct ClusterCleanupPolicyMatchAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -841,7 +842,7 @@ pub struct ClusterCleanupPolicyMatchAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -860,7 +861,7 @@ pub struct ClusterCleanupPolicyMatchAnyResourcesNamespaceSelectorMatchExpression /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -874,7 +875,7 @@ pub struct ClusterCleanupPolicyMatchAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -891,7 +892,7 @@ pub struct ClusterCleanupPolicyMatchAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -910,7 +911,7 @@ pub struct ClusterCleanupPolicyMatchAnySubjects { } /// Status contains policy runtime data. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, diff --git a/kube-custom-resources-rs/src/kyverno_io/v2alpha1/globalcontextentries.rs b/kube-custom-resources-rs/src/kyverno_io/v2alpha1/globalcontextentries.rs index 6603b132d..7fa7d51eb 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2alpha1/globalcontextentries.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2alpha1/globalcontextentries.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/globalcontextentries.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/globalcontextentries.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/kyverno_io/v2alpha1/policyexceptions.rs b/kube-custom-resources-rs/src/kyverno_io/v2alpha1/policyexceptions.rs index 890329af5..c95ea8d17 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2alpha1/policyexceptions.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2alpha1/policyexceptions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/policyexceptions.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2alpha1/policyexceptions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { use self::prelude::*; /// Spec declares policy exception behaviors. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kyverno.io", version = "v2alpha1", kind = "PolicyException", plural = "policyexceptions")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PolicyExceptionSpec { /// Background controls if exceptions are applied to existing policies during a background scan. @@ -39,7 +40,7 @@ pub struct PolicyExceptionSpec { /// Conditions are used to determine if a resource applies to the exception by evaluating a /// set of conditions. The declaration can contain nested `any` or `all` statements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionConditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -55,7 +56,7 @@ pub struct PolicyExceptionConditions { pub any: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionConditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -93,7 +94,7 @@ pub enum PolicyExceptionConditionsAllOperator { DurationLessThan, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionConditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -132,7 +133,7 @@ pub enum PolicyExceptionConditionsAnyOperator { } /// Exception stores infos about a policy and rules -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionExceptions { /// PolicyName identifies the policy to which the exception is applied. /// The policy name uses the format / unless it @@ -145,7 +146,7 @@ pub struct PolicyExceptionExceptions { } /// Match defines match clause used to check if a resource applies to the exception -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatch { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -156,7 +157,7 @@ pub struct PolicyExceptionMatch { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -173,7 +174,7 @@ pub struct PolicyExceptionMatchAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -219,7 +220,7 @@ pub struct PolicyExceptionMatchAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -233,7 +234,7 @@ pub struct PolicyExceptionMatchAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -252,7 +253,7 @@ pub struct PolicyExceptionMatchAllResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -266,7 +267,7 @@ pub struct PolicyExceptionMatchAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -283,7 +284,7 @@ pub struct PolicyExceptionMatchAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -302,7 +303,7 @@ pub struct PolicyExceptionMatchAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -319,7 +320,7 @@ pub struct PolicyExceptionMatchAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -365,7 +366,7 @@ pub struct PolicyExceptionMatchAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -379,7 +380,7 @@ pub struct PolicyExceptionMatchAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -398,7 +399,7 @@ pub struct PolicyExceptionMatchAnyResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -412,7 +413,7 @@ pub struct PolicyExceptionMatchAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -429,7 +430,7 @@ pub struct PolicyExceptionMatchAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. diff --git a/kube-custom-resources-rs/src/kyverno_io/v2beta1/cleanuppolicies.rs b/kube-custom-resources-rs/src/kyverno_io/v2beta1/cleanuppolicies.rs index d8b315901..d8d401cd5 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2beta1/cleanuppolicies.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2beta1/cleanuppolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/cleanuppolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/cleanuppolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// Spec declares policy behaviors. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kyverno.io", version = "v2beta1", kind = "CleanupPolicy", plural = "cleanuppolicies")] #[kube(namespaced)] #[kube(status = "CleanupPolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct CleanupPolicySpec { /// Conditions defines the conditions used to select the resources which will be cleaned up. @@ -41,7 +42,7 @@ pub struct CleanupPolicySpec { } /// Conditions defines the conditions used to select the resources which will be cleaned up. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyConditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -57,7 +58,7 @@ pub struct CleanupPolicyConditions { pub any: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyConditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -95,7 +96,7 @@ pub enum CleanupPolicyConditionsAllOperator { DurationLessThan, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyConditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -135,7 +136,7 @@ pub enum CleanupPolicyConditionsAnyOperator { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -161,7 +162,7 @@ pub struct CleanupPolicyContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -193,7 +194,7 @@ pub struct CleanupPolicyContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -214,7 +215,7 @@ pub enum CleanupPolicyContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -226,7 +227,7 @@ pub struct CleanupPolicyContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -236,7 +237,7 @@ pub struct CleanupPolicyContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -252,7 +253,7 @@ pub struct CleanupPolicyContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -268,7 +269,7 @@ pub struct CleanupPolicyContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -284,7 +285,7 @@ pub struct CleanupPolicyContextImageRegistryImageRegistryCredentials { } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -302,7 +303,7 @@ pub struct CleanupPolicyContextVariable { /// ExcludeResources defines when cleanuppolicy should not be applied. The exclude /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the name or role. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExclude { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -313,7 +314,7 @@ pub struct CleanupPolicyExclude { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -330,7 +331,7 @@ pub struct CleanupPolicyExcludeAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -376,7 +377,7 @@ pub struct CleanupPolicyExcludeAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -390,7 +391,7 @@ pub struct CleanupPolicyExcludeAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -409,7 +410,7 @@ pub struct CleanupPolicyExcludeAllResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -423,7 +424,7 @@ pub struct CleanupPolicyExcludeAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -440,7 +441,7 @@ pub struct CleanupPolicyExcludeAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -459,7 +460,7 @@ pub struct CleanupPolicyExcludeAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -476,7 +477,7 @@ pub struct CleanupPolicyExcludeAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -522,7 +523,7 @@ pub struct CleanupPolicyExcludeAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -536,7 +537,7 @@ pub struct CleanupPolicyExcludeAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -555,7 +556,7 @@ pub struct CleanupPolicyExcludeAnyResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -569,7 +570,7 @@ pub struct CleanupPolicyExcludeAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -586,7 +587,7 @@ pub struct CleanupPolicyExcludeAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyExcludeAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -608,7 +609,7 @@ pub struct CleanupPolicyExcludeAnySubjects { /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the user name or role. /// At least one kind is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatch { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -619,7 +620,7 @@ pub struct CleanupPolicyMatch { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -636,7 +637,7 @@ pub struct CleanupPolicyMatchAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -682,7 +683,7 @@ pub struct CleanupPolicyMatchAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -696,7 +697,7 @@ pub struct CleanupPolicyMatchAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -715,7 +716,7 @@ pub struct CleanupPolicyMatchAllResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -729,7 +730,7 @@ pub struct CleanupPolicyMatchAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -746,7 +747,7 @@ pub struct CleanupPolicyMatchAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -765,7 +766,7 @@ pub struct CleanupPolicyMatchAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -782,7 +783,7 @@ pub struct CleanupPolicyMatchAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -828,7 +829,7 @@ pub struct CleanupPolicyMatchAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -842,7 +843,7 @@ pub struct CleanupPolicyMatchAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -861,7 +862,7 @@ pub struct CleanupPolicyMatchAnyResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -875,7 +876,7 @@ pub struct CleanupPolicyMatchAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -892,7 +893,7 @@ pub struct CleanupPolicyMatchAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyMatchAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -911,7 +912,7 @@ pub struct CleanupPolicyMatchAnySubjects { } /// Status contains policy runtime data. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CleanupPolicyStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, diff --git a/kube-custom-resources-rs/src/kyverno_io/v2beta1/clustercleanuppolicies.rs b/kube-custom-resources-rs/src/kyverno_io/v2beta1/clustercleanuppolicies.rs index 6dc6ca2b0..c3c456814 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2beta1/clustercleanuppolicies.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2beta1/clustercleanuppolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/clustercleanuppolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/clustercleanuppolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// Spec declares policy behaviors. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kyverno.io", version = "v2beta1", kind = "ClusterCleanupPolicy", plural = "clustercleanuppolicies")] #[kube(status = "ClusterCleanupPolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterCleanupPolicySpec { /// Conditions defines the conditions used to select the resources which will be cleaned up. @@ -40,7 +41,7 @@ pub struct ClusterCleanupPolicySpec { } /// Conditions defines the conditions used to select the resources which will be cleaned up. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyConditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -56,7 +57,7 @@ pub struct ClusterCleanupPolicyConditions { pub any: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyConditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -94,7 +95,7 @@ pub enum ClusterCleanupPolicyConditionsAllOperator { DurationLessThan, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyConditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -134,7 +135,7 @@ pub enum ClusterCleanupPolicyConditionsAnyOperator { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -160,7 +161,7 @@ pub struct ClusterCleanupPolicyContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -192,7 +193,7 @@ pub struct ClusterCleanupPolicyContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -213,7 +214,7 @@ pub enum ClusterCleanupPolicyContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -225,7 +226,7 @@ pub struct ClusterCleanupPolicyContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -235,7 +236,7 @@ pub struct ClusterCleanupPolicyContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -251,7 +252,7 @@ pub struct ClusterCleanupPolicyContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -267,7 +268,7 @@ pub struct ClusterCleanupPolicyContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -283,7 +284,7 @@ pub struct ClusterCleanupPolicyContextImageRegistryImageRegistryCredentials { } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -301,7 +302,7 @@ pub struct ClusterCleanupPolicyContextVariable { /// ExcludeResources defines when cleanuppolicy should not be applied. The exclude /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the name or role. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExclude { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -312,7 +313,7 @@ pub struct ClusterCleanupPolicyExclude { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -329,7 +330,7 @@ pub struct ClusterCleanupPolicyExcludeAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -375,7 +376,7 @@ pub struct ClusterCleanupPolicyExcludeAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -389,7 +390,7 @@ pub struct ClusterCleanupPolicyExcludeAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -408,7 +409,7 @@ pub struct ClusterCleanupPolicyExcludeAllResourcesNamespaceSelectorMatchExpressi /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -422,7 +423,7 @@ pub struct ClusterCleanupPolicyExcludeAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -439,7 +440,7 @@ pub struct ClusterCleanupPolicyExcludeAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -458,7 +459,7 @@ pub struct ClusterCleanupPolicyExcludeAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -475,7 +476,7 @@ pub struct ClusterCleanupPolicyExcludeAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -521,7 +522,7 @@ pub struct ClusterCleanupPolicyExcludeAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -535,7 +536,7 @@ pub struct ClusterCleanupPolicyExcludeAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -554,7 +555,7 @@ pub struct ClusterCleanupPolicyExcludeAnyResourcesNamespaceSelectorMatchExpressi /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -568,7 +569,7 @@ pub struct ClusterCleanupPolicyExcludeAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -585,7 +586,7 @@ pub struct ClusterCleanupPolicyExcludeAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyExcludeAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -607,7 +608,7 @@ pub struct ClusterCleanupPolicyExcludeAnySubjects { /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the user name or role. /// At least one kind is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatch { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -618,7 +619,7 @@ pub struct ClusterCleanupPolicyMatch { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -635,7 +636,7 @@ pub struct ClusterCleanupPolicyMatchAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -681,7 +682,7 @@ pub struct ClusterCleanupPolicyMatchAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -695,7 +696,7 @@ pub struct ClusterCleanupPolicyMatchAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -714,7 +715,7 @@ pub struct ClusterCleanupPolicyMatchAllResourcesNamespaceSelectorMatchExpression /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -728,7 +729,7 @@ pub struct ClusterCleanupPolicyMatchAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -745,7 +746,7 @@ pub struct ClusterCleanupPolicyMatchAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -764,7 +765,7 @@ pub struct ClusterCleanupPolicyMatchAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -781,7 +782,7 @@ pub struct ClusterCleanupPolicyMatchAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -827,7 +828,7 @@ pub struct ClusterCleanupPolicyMatchAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -841,7 +842,7 @@ pub struct ClusterCleanupPolicyMatchAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -860,7 +861,7 @@ pub struct ClusterCleanupPolicyMatchAnyResourcesNamespaceSelectorMatchExpression /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -874,7 +875,7 @@ pub struct ClusterCleanupPolicyMatchAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -891,7 +892,7 @@ pub struct ClusterCleanupPolicyMatchAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyMatchAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -910,7 +911,7 @@ pub struct ClusterCleanupPolicyMatchAnySubjects { } /// Status contains policy runtime data. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterCleanupPolicyStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, diff --git a/kube-custom-resources-rs/src/kyverno_io/v2beta1/clusterpolicies.rs b/kube-custom-resources-rs/src/kyverno_io/v2beta1/clusterpolicies.rs index d5a66849a..b50c1b1d3 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2beta1/clusterpolicies.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2beta1/clusterpolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/clusterpolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/clusterpolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// Spec declares policy behaviors. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kyverno.io", version = "v2beta1", kind = "ClusterPolicy", plural = "clusterpolicies")] #[kube(status = "ClusterPolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterPolicySpec { /// Admission controls if rules are applied during admission. @@ -100,7 +101,7 @@ pub enum ClusterPolicyFailurePolicy { /// Rule defines a validation, mutation, or generation control for matching resources. /// Each rules contains a match declaration to select resources, and an optional exclude /// declaration to specify which resources to exclude. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRules { /// CELPreconditions are used to determine if a policy rule should be applied by evaluating a /// set of CEL conditions. It can only be used with the validate.cel subrule @@ -151,7 +152,7 @@ pub struct ClusterPolicyRules { } /// MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesCelPreconditions { /// Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. /// CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables: @@ -184,7 +185,7 @@ pub struct ClusterPolicyRulesCelPreconditions { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -210,7 +211,7 @@ pub struct ClusterPolicyRulesContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -242,7 +243,7 @@ pub struct ClusterPolicyRulesContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -263,7 +264,7 @@ pub enum ClusterPolicyRulesContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -275,7 +276,7 @@ pub struct ClusterPolicyRulesContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -285,7 +286,7 @@ pub struct ClusterPolicyRulesContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -301,7 +302,7 @@ pub struct ClusterPolicyRulesContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -317,7 +318,7 @@ pub struct ClusterPolicyRulesContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -333,7 +334,7 @@ pub struct ClusterPolicyRulesContextImageRegistryImageRegistryCredentials { } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -351,7 +352,7 @@ pub struct ClusterPolicyRulesContextVariable { /// ExcludeResources defines when this policy rule should not be applied. The exclude /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the name or role. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExclude { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -362,7 +363,7 @@ pub struct ClusterPolicyRulesExclude { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -379,7 +380,7 @@ pub struct ClusterPolicyRulesExcludeAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -425,7 +426,7 @@ pub struct ClusterPolicyRulesExcludeAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -439,7 +440,7 @@ pub struct ClusterPolicyRulesExcludeAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -458,7 +459,7 @@ pub struct ClusterPolicyRulesExcludeAllResourcesNamespaceSelectorMatchExpression /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -472,7 +473,7 @@ pub struct ClusterPolicyRulesExcludeAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -489,7 +490,7 @@ pub struct ClusterPolicyRulesExcludeAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -508,7 +509,7 @@ pub struct ClusterPolicyRulesExcludeAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -525,7 +526,7 @@ pub struct ClusterPolicyRulesExcludeAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -571,7 +572,7 @@ pub struct ClusterPolicyRulesExcludeAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -585,7 +586,7 @@ pub struct ClusterPolicyRulesExcludeAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -604,7 +605,7 @@ pub struct ClusterPolicyRulesExcludeAnyResourcesNamespaceSelectorMatchExpression /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -618,7 +619,7 @@ pub struct ClusterPolicyRulesExcludeAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -635,7 +636,7 @@ pub struct ClusterPolicyRulesExcludeAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesExcludeAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -654,7 +655,7 @@ pub struct ClusterPolicyRulesExcludeAnySubjects { } /// Generation is used to create new resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesGenerate { /// APIVersion specifies resource apiVersion. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -701,7 +702,7 @@ pub struct ClusterPolicyRulesGenerate { /// Clone specifies the source resource used to populate each generated resource. /// At most one of Data or Clone can be specified. If neither are provided, the generated /// resource will be created with default data only. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesGenerateClone { /// Name specifies name of the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -712,7 +713,7 @@ pub struct ClusterPolicyRulesGenerateClone { } /// CloneList specifies the list of source resource used to populate each generated resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesGenerateCloneList { /// Kinds is a list of resource kinds. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -728,7 +729,7 @@ pub struct ClusterPolicyRulesGenerateCloneList { /// Selector is a label selector. Label keys and values in `matchLabels`. /// wildcard characters are not supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesGenerateCloneListSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -742,7 +743,7 @@ pub struct ClusterPolicyRulesGenerateCloneListSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesGenerateCloneListSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -757,7 +758,7 @@ pub struct ClusterPolicyRulesGenerateCloneListSelectorMatchExpressions { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesImageExtractors { /// JMESPath is an optional JMESPath expression to apply to the image value. /// This is useful when the extracted image begins with a prefix like 'docker://'. @@ -787,7 +788,7 @@ pub struct ClusterPolicyRulesImageExtractors { /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the user name or role. /// At least one kind is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatch { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -798,7 +799,7 @@ pub struct ClusterPolicyRulesMatch { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -815,7 +816,7 @@ pub struct ClusterPolicyRulesMatchAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -861,7 +862,7 @@ pub struct ClusterPolicyRulesMatchAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -875,7 +876,7 @@ pub struct ClusterPolicyRulesMatchAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -894,7 +895,7 @@ pub struct ClusterPolicyRulesMatchAllResourcesNamespaceSelectorMatchExpressions /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -908,7 +909,7 @@ pub struct ClusterPolicyRulesMatchAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -925,7 +926,7 @@ pub struct ClusterPolicyRulesMatchAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -944,7 +945,7 @@ pub struct ClusterPolicyRulesMatchAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -961,7 +962,7 @@ pub struct ClusterPolicyRulesMatchAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -1007,7 +1008,7 @@ pub struct ClusterPolicyRulesMatchAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1021,7 +1022,7 @@ pub struct ClusterPolicyRulesMatchAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1040,7 +1041,7 @@ pub struct ClusterPolicyRulesMatchAnyResourcesNamespaceSelectorMatchExpressions /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1054,7 +1055,7 @@ pub struct ClusterPolicyRulesMatchAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1071,7 +1072,7 @@ pub struct ClusterPolicyRulesMatchAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMatchAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -1090,7 +1091,7 @@ pub struct ClusterPolicyRulesMatchAnySubjects { } /// Mutation is used to modify matching resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutate { /// ForEach applies mutation rules to a list of sub-elements by creating a context for each entry in the list and looping over it to apply the specified logic. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1110,7 +1111,7 @@ pub struct ClusterPolicyRulesMutate { } /// ForEachMutation applies mutation rules to a list of sub-elements by creating a context for each entry in the list and looping over it to apply the specified logic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeach { /// Context defines variables and data sources that can be used during rule execution. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1144,7 +1145,7 @@ pub struct ClusterPolicyRulesMutateForeach { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -1170,7 +1171,7 @@ pub struct ClusterPolicyRulesMutateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeachContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -1202,7 +1203,7 @@ pub struct ClusterPolicyRulesMutateForeachContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeachContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -1223,7 +1224,7 @@ pub enum ClusterPolicyRulesMutateForeachContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeachContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -1235,7 +1236,7 @@ pub struct ClusterPolicyRulesMutateForeachContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeachContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -1245,7 +1246,7 @@ pub struct ClusterPolicyRulesMutateForeachContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeachContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -1261,7 +1262,7 @@ pub struct ClusterPolicyRulesMutateForeachContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeachContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -1277,7 +1278,7 @@ pub struct ClusterPolicyRulesMutateForeachContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeachContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -1293,7 +1294,7 @@ pub struct ClusterPolicyRulesMutateForeachContextImageRegistryImageRegistryCrede } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeachContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -1318,7 +1319,7 @@ pub enum ClusterPolicyRulesMutateForeachOrder { /// AnyAllConditions are used to determine if a policy rule should be applied by evaluating a /// set of conditions. The declaration can contain nested `any` or `all` statements. /// See: https://kyverno.io/docs/writing-policies/preconditions/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeachPreconditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -1335,7 +1336,7 @@ pub struct ClusterPolicyRulesMutateForeachPreconditions { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeachPreconditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1377,7 +1378,7 @@ pub enum ClusterPolicyRulesMutateForeachPreconditionsAllOperator { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateForeachPreconditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1419,7 +1420,7 @@ pub enum ClusterPolicyRulesMutateForeachPreconditionsAnyOperator { } /// TargetResourceSpec defines targets for mutating existing resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateTargets { /// APIVersion specifies resource apiVersion. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1450,7 +1451,7 @@ pub struct ClusterPolicyRulesMutateTargets { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateTargetsContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -1476,7 +1477,7 @@ pub struct ClusterPolicyRulesMutateTargetsContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateTargetsContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -1508,7 +1509,7 @@ pub struct ClusterPolicyRulesMutateTargetsContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateTargetsContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -1529,7 +1530,7 @@ pub enum ClusterPolicyRulesMutateTargetsContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateTargetsContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -1541,7 +1542,7 @@ pub struct ClusterPolicyRulesMutateTargetsContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateTargetsContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -1551,7 +1552,7 @@ pub struct ClusterPolicyRulesMutateTargetsContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateTargetsContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -1567,7 +1568,7 @@ pub struct ClusterPolicyRulesMutateTargetsContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateTargetsContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -1583,7 +1584,7 @@ pub struct ClusterPolicyRulesMutateTargetsContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateTargetsContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -1599,7 +1600,7 @@ pub struct ClusterPolicyRulesMutateTargetsContextImageRegistryImageRegistryCrede } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesMutateTargetsContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -1617,7 +1618,7 @@ pub struct ClusterPolicyRulesMutateTargetsContextVariable { /// Preconditions are used to determine if a policy rule should be applied by evaluating a /// set of conditions. The declaration can contain nested `any` or `all` statements. /// See: https://kyverno.io/docs/writing-policies/preconditions/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesPreconditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -1633,7 +1634,7 @@ pub struct ClusterPolicyRulesPreconditions { pub any: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesPreconditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1671,7 +1672,7 @@ pub enum ClusterPolicyRulesPreconditionsAllOperator { DurationLessThan, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesPreconditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1710,7 +1711,7 @@ pub enum ClusterPolicyRulesPreconditionsAnyOperator { } /// Validation is used to validate matching resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidate { /// AnyPattern specifies list of validation patterns. At least one of the patterns /// must be satisfied for the validation rule to succeed. @@ -1741,7 +1742,7 @@ pub struct ClusterPolicyRulesValidate { } /// CEL allows validation checks using the Common Expression Language (https://kubernetes.io/docs/reference/using-api/cel/). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateCel { /// AuditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. #[serde(default, skip_serializing_if = "Option::is_none", rename = "auditAnnotations")] @@ -1763,7 +1764,7 @@ pub struct ClusterPolicyRulesValidateCel { } /// AuditAnnotation describes how to produce an audit annotation for an API request. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateCelAuditAnnotations { /// key specifies the audit annotation key. The audit annotation keys of /// a ValidatingAdmissionPolicy must be unique. The key must be a qualified @@ -1806,7 +1807,7 @@ pub struct ClusterPolicyRulesValidateCelAuditAnnotations { } /// Validation specifies the CEL expression which is used to apply the validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateCelExpressions { /// Expression represents the expression which will be evaluated by CEL. /// ref: https://github.com/google/cel-spec @@ -1886,7 +1887,7 @@ pub struct ClusterPolicyRulesValidateCelExpressions { } /// ParamKind is a tuple of Group Kind and Version. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateCelParamKind { /// APIVersion is the API group version the resources belong to. /// In format of "group/version". @@ -1900,7 +1901,7 @@ pub struct ClusterPolicyRulesValidateCelParamKind { } /// ParamRef references a parameter resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateCelParamRef { /// `name` is the name of the resource being referenced. /// @@ -1964,7 +1965,7 @@ pub struct ClusterPolicyRulesValidateCelParamRef { /// /// One of `name` or `selector` must be set, but `name` and `selector` are /// mutually exclusive properties. If one is set, the other must be unset. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateCelParamRefSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1978,7 +1979,7 @@ pub struct ClusterPolicyRulesValidateCelParamRefSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateCelParamRefSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1994,7 +1995,7 @@ pub struct ClusterPolicyRulesValidateCelParamRefSelectorMatchExpressions { } /// Variable is the definition of a variable that is used for composition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateCelVariables { /// Expression is the expression that will be evaluated as the value of the variable. /// The CEL expression has access to the same identifiers as the CEL expressions in Validation. @@ -2006,7 +2007,7 @@ pub struct ClusterPolicyRulesValidateCelVariables { } /// Deny defines conditions used to pass or fail a validation rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateDeny { /// Multiple conditions can be declared under an `any` or `all` statement. /// See: https://kyverno.io/docs/writing-policies/validate/#deny-rules @@ -2016,7 +2017,7 @@ pub struct ClusterPolicyRulesValidateDeny { /// Multiple conditions can be declared under an `any` or `all` statement. /// See: https://kyverno.io/docs/writing-policies/validate/#deny-rules -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateDenyConditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -2032,7 +2033,7 @@ pub struct ClusterPolicyRulesValidateDenyConditions { pub any: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateDenyConditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2070,7 +2071,7 @@ pub enum ClusterPolicyRulesValidateDenyConditionsAllOperator { DurationLessThan, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateDenyConditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2109,7 +2110,7 @@ pub enum ClusterPolicyRulesValidateDenyConditionsAnyOperator { } /// ForEachValidation applies validate rules to a list of sub-elements by creating a context for each entry in the list and looping over it to apply the specified logic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeach { /// AnyPattern specifies list of validation patterns. At least one of the patterns /// must be satisfied for the validation rule to succeed. @@ -2145,7 +2146,7 @@ pub struct ClusterPolicyRulesValidateForeach { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -2171,7 +2172,7 @@ pub struct ClusterPolicyRulesValidateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -2203,7 +2204,7 @@ pub struct ClusterPolicyRulesValidateForeachContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -2224,7 +2225,7 @@ pub enum ClusterPolicyRulesValidateForeachContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -2236,7 +2237,7 @@ pub struct ClusterPolicyRulesValidateForeachContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -2246,7 +2247,7 @@ pub struct ClusterPolicyRulesValidateForeachContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -2262,7 +2263,7 @@ pub struct ClusterPolicyRulesValidateForeachContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -2278,7 +2279,7 @@ pub struct ClusterPolicyRulesValidateForeachContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -2294,7 +2295,7 @@ pub struct ClusterPolicyRulesValidateForeachContextImageRegistryImageRegistryCre } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -2310,7 +2311,7 @@ pub struct ClusterPolicyRulesValidateForeachContextVariable { } /// Deny defines conditions used to pass or fail a validation rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachDeny { /// Multiple conditions can be declared under an `any` or `all` statement. A direct list /// of conditions (without `any` or `all` statements) is also supported for backwards compatibility @@ -2323,7 +2324,7 @@ pub struct ClusterPolicyRulesValidateForeachDeny { /// AnyAllConditions are used to determine if a policy rule should be applied by evaluating a /// set of conditions. The declaration can contain nested `any` or `all` statements. /// See: https://kyverno.io/docs/writing-policies/preconditions/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachPreconditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -2340,7 +2341,7 @@ pub struct ClusterPolicyRulesValidateForeachPreconditions { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachPreconditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2382,7 +2383,7 @@ pub enum ClusterPolicyRulesValidateForeachPreconditionsAllOperator { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateForeachPreconditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2424,7 +2425,7 @@ pub enum ClusterPolicyRulesValidateForeachPreconditionsAnyOperator { } /// Manifest specifies conditions for manifest verification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifests { /// AnnotationDomain is custom domain of annotation for message and signature. Default is "cosign.sigstore.dev". #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationDomain")] @@ -2444,7 +2445,7 @@ pub struct ClusterPolicyRulesValidateManifests { pub repository: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsAttestors { /// Count specifies the required number of entries that must match. If the count is null, all entries must match /// (a logical AND). If the count is 1, at least one entry must match (a logical OR). If the count contains a @@ -2457,7 +2458,7 @@ pub struct ClusterPolicyRulesValidateManifestsAttestors { pub entries: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsAttestorsEntries { /// Annotations are used for image verification. /// Every specified key-value pair must exist and match in the verified payload. @@ -2484,7 +2485,7 @@ pub struct ClusterPolicyRulesValidateManifestsAttestorsEntries { } /// Certificates specifies one or more certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesCertificates { /// Cert is an optional PEM-encoded public certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2504,7 +2505,7 @@ pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesCertificates { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesCertificatesCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -2522,7 +2523,7 @@ pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesCertificatesCtlog /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesCertificatesRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -2538,7 +2539,7 @@ pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesCertificatesRekor /// Keyless is a set of attribute used to verify a Sigstore keyless attestor. /// See https://github.com/sigstore/cosign/blob/main/KEYLESS.md. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeyless { /// AdditionalExtensions are certificate-extensions used for keyless signing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -2565,7 +2566,7 @@ pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeyless { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeylessCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -2583,7 +2584,7 @@ pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeylessCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeylessRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -2598,7 +2599,7 @@ pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeylessRekor { } /// Keys specifies one or more public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. @@ -2632,7 +2633,7 @@ pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeysCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -2650,7 +2651,7 @@ pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeysCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeysRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -2665,7 +2666,7 @@ pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeysRekor { } /// Reference to a Secret resource that contains a public key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeysSecret { /// Name of the secret. The provided secret must contain a key named cosign.pub. pub name: String, @@ -2674,7 +2675,7 @@ pub struct ClusterPolicyRulesValidateManifestsAttestorsEntriesKeysSecret { } /// DryRun configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsDryRun { #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, @@ -2682,7 +2683,7 @@ pub struct ClusterPolicyRulesValidateManifestsDryRun { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsIgnoreFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub fields: Option>, @@ -2690,7 +2691,7 @@ pub struct ClusterPolicyRulesValidateManifestsIgnoreFields { pub objects: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidateManifestsIgnoreFieldsObjects { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -2706,7 +2707,7 @@ pub struct ClusterPolicyRulesValidateManifestsIgnoreFieldsObjects { /// PodSecurity applies exemptions for Kubernetes Pod Security admission /// by specifying exclusions for Pod Security Standards controls. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesValidatePodSecurity { /// Exclude specifies the Pod Security Standard controls to be excluded. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2818,7 +2819,7 @@ pub enum ClusterPolicyRulesValidatePodSecurityVersion { /// ImageVerification validates that images that match the specified pattern /// are signed with the supplied public key. Once the image is verified it is /// mutated to include the SHA digest retrieved during the registration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImages { /// Attestations are optional checks for signed in-toto Statements used to verify the image. /// See https://github.com/in-toto/attestation. Kyverno fetches signed attestations from the @@ -2870,7 +2871,7 @@ pub struct ClusterPolicyRulesVerifyImages { /// Attestation are checks for signed in-toto Statements that are used to verify the image. /// See https://github.com/in-toto/attestation. Kyverno fetches signed attestations from the /// OCI registry and decodes them into a list of Statements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestations { /// Attestors specify the required attestors (i.e. authorities). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2887,7 +2888,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestations { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestors { /// Count specifies the required number of entries that must match. If the count is null, all entries must match /// (a logical AND). If the count is 1, at least one entry must match (a logical OR). If the count contains a @@ -2900,7 +2901,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestors { pub entries: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntries { /// Annotations are used for image verification. /// Every specified key-value pair must exist and match in the verified payload. @@ -2927,7 +2928,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntries { } /// Certificates specifies one or more certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesCertificates { /// Cert is an optional PEM-encoded public certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2947,7 +2948,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesCertificate /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesCertificatesCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -2965,7 +2966,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesCertificate /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesCertificatesRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -2981,7 +2982,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesCertificate /// Keyless is a set of attribute used to verify a Sigstore keyless attestor. /// See https://github.com/sigstore/cosign/blob/main/KEYLESS.md. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeyless { /// AdditionalExtensions are certificate-extensions used for keyless signing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -3008,7 +3009,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeyless { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeylessCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -3026,7 +3027,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeylessCtlo /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeylessRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -3041,7 +3042,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeylessReko } /// Keys specifies one or more public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. @@ -3075,7 +3076,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeysCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -3093,7 +3094,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeysCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeysRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -3108,7 +3109,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeysRekor { } /// Reference to a Secret resource that contains a public key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeysSecret { /// Name of the secret. The provided secret must contain a key named cosign.pub. pub name: String, @@ -3119,7 +3120,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsAttestorsEntriesKeysSecret /// AnyAllConditions consists of conditions wrapped denoting a logical criteria to be fulfilled. /// AnyConditions get fulfilled when at least one of its sub-conditions passes. /// AllConditions get fulfilled only when all of its sub-conditions pass. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsConditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -3136,7 +3137,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestationsConditions { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsConditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3178,7 +3179,7 @@ pub enum ClusterPolicyRulesVerifyImagesAttestationsConditionsAllOperator { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestationsConditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3219,7 +3220,7 @@ pub enum ClusterPolicyRulesVerifyImagesAttestationsConditionsAnyOperator { DurationLessThan, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestors { /// Count specifies the required number of entries that must match. If the count is null, all entries must match /// (a logical AND). If the count is 1, at least one entry must match (a logical OR). If the count contains a @@ -3232,7 +3233,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestors { pub entries: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestorsEntries { /// Annotations are used for image verification. /// Every specified key-value pair must exist and match in the verified payload. @@ -3259,7 +3260,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestorsEntries { } /// Certificates specifies one or more certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesCertificates { /// Cert is an optional PEM-encoded public certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3279,7 +3280,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesCertificates { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesCertificatesCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -3297,7 +3298,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesCertificatesCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesCertificatesRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -3313,7 +3314,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesCertificatesRekor { /// Keyless is a set of attribute used to verify a Sigstore keyless attestor. /// See https://github.com/sigstore/cosign/blob/main/KEYLESS.md. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeyless { /// AdditionalExtensions are certificate-extensions used for keyless signing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -3340,7 +3341,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeyless { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeylessCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -3358,7 +3359,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeylessCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeylessRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -3373,7 +3374,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeylessRekor { } /// Keys specifies one or more public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. @@ -3407,7 +3408,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeysCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -3425,7 +3426,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeysCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeysRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -3440,7 +3441,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeysRekor { } /// Reference to a Secret resource that contains a public key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeysSecret { /// Name of the secret. The provided secret must contain a key named cosign.pub. pub name: String, @@ -3449,7 +3450,7 @@ pub struct ClusterPolicyRulesVerifyImagesAttestorsEntriesKeysSecret { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyRulesVerifyImagesImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -3486,7 +3487,7 @@ pub enum ClusterPolicyValidationFailureAction { EnforceX, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyValidationFailureActionOverrides { /// ValidationFailureAction defines the policy validation failure action #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3515,7 +3516,7 @@ pub enum ClusterPolicyValidationFailureActionOverridesAction { /// A label selector is a label query over a set of resources. The result of matchLabels and /// matchExpressions are ANDed. An empty label selector matches all objects. A null /// label selector matches no objects. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyValidationFailureActionOverridesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3529,7 +3530,7 @@ pub struct ClusterPolicyValidationFailureActionOverridesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyValidationFailureActionOverridesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3546,7 +3547,7 @@ pub struct ClusterPolicyValidationFailureActionOverridesNamespaceSelectorMatchEx /// WebhookConfiguration specifies the custom configuration for Kubernetes admission webhookconfiguration. /// Requires Kubernetes 1.27 or later. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyWebhookConfiguration { /// MatchCondition configures admission webhook matchConditions. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchConditions")] @@ -3554,7 +3555,7 @@ pub struct ClusterPolicyWebhookConfiguration { } /// MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyWebhookConfigurationMatchConditions { /// Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. /// CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables: @@ -3586,7 +3587,7 @@ pub struct ClusterPolicyWebhookConfigurationMatchConditions { } /// Status contains policy runtime data. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatus { /// AutogenStatus contains autogen status information. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3605,7 +3606,7 @@ pub struct ClusterPolicyStatus { } /// AutogenStatus contains autogen status information. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogen { /// Rules is a list of Rule instances. It contains auto generated rules added for pod controllers #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3615,7 +3616,7 @@ pub struct ClusterPolicyStatusAutogen { /// Rule defines a validation, mutation, or generation control for matching resources. /// Each rules contains a match declaration to select resources, and an optional exclude /// declaration to specify which resources to exclude. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRules { /// CELPreconditions are used to determine if a policy rule should be applied by evaluating a /// set of CEL conditions. It can only be used with the validate.cel subrule @@ -3668,7 +3669,7 @@ pub struct ClusterPolicyStatusAutogenRules { } /// MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesCelPreconditions { /// Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. /// CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables: @@ -3701,7 +3702,7 @@ pub struct ClusterPolicyStatusAutogenRulesCelPreconditions { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -3727,7 +3728,7 @@ pub struct ClusterPolicyStatusAutogenRulesContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -3759,7 +3760,7 @@ pub struct ClusterPolicyStatusAutogenRulesContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -3780,7 +3781,7 @@ pub enum ClusterPolicyStatusAutogenRulesContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -3792,7 +3793,7 @@ pub struct ClusterPolicyStatusAutogenRulesContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -3802,7 +3803,7 @@ pub struct ClusterPolicyStatusAutogenRulesContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -3818,7 +3819,7 @@ pub struct ClusterPolicyStatusAutogenRulesContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -3834,7 +3835,7 @@ pub struct ClusterPolicyStatusAutogenRulesContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -3850,7 +3851,7 @@ pub struct ClusterPolicyStatusAutogenRulesContextImageRegistryImageRegistryCrede } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -3868,7 +3869,7 @@ pub struct ClusterPolicyStatusAutogenRulesContextVariable { /// ExcludeResources defines when this policy rule should not be applied. The exclude /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the name or role. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExclude { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3894,7 +3895,7 @@ pub struct ClusterPolicyStatusAutogenRulesExclude { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -3911,7 +3912,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -3957,7 +3958,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3971,7 +3972,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3990,7 +3991,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAllResourcesNamespaceSelectorMa /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4004,7 +4005,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4021,7 +4022,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAllResourcesSelectorMatchExpres /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -4040,7 +4041,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -4057,7 +4058,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -4103,7 +4104,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4117,7 +4118,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4136,7 +4137,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAnyResourcesNamespaceSelectorMa /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4150,7 +4151,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4167,7 +4168,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAnyResourcesSelectorMatchExpres /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -4189,7 +4190,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeAnySubjects { /// Requires at least one tag to be specified when under MatchResources. /// Specifying ResourceDescription directly under match is being deprecated. /// Please specify under "any" or "all" instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -4235,7 +4236,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4249,7 +4250,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4268,7 +4269,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeResourcesNamespaceSelectorMatch /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4282,7 +4283,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4299,7 +4300,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeResourcesSelectorMatchExpressio /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesExcludeSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -4318,7 +4319,7 @@ pub struct ClusterPolicyStatusAutogenRulesExcludeSubjects { } /// Generation is used to create new resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesGenerate { /// APIVersion specifies resource apiVersion. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4365,7 +4366,7 @@ pub struct ClusterPolicyStatusAutogenRulesGenerate { /// Clone specifies the source resource used to populate each generated resource. /// At most one of Data or Clone can be specified. If neither are provided, the generated /// resource will be created with default data only. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesGenerateClone { /// Name specifies name of the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4376,7 +4377,7 @@ pub struct ClusterPolicyStatusAutogenRulesGenerateClone { } /// CloneList specifies the list of source resource used to populate each generated resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesGenerateCloneList { /// Kinds is a list of resource kinds. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4392,7 +4393,7 @@ pub struct ClusterPolicyStatusAutogenRulesGenerateCloneList { /// Selector is a label selector. Label keys and values in `matchLabels`. /// wildcard characters are not supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesGenerateCloneListSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4406,7 +4407,7 @@ pub struct ClusterPolicyStatusAutogenRulesGenerateCloneListSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesGenerateCloneListSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4421,7 +4422,7 @@ pub struct ClusterPolicyStatusAutogenRulesGenerateCloneListSelectorMatchExpressi pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesImageExtractors { /// JMESPath is an optional JMESPath expression to apply to the image value. /// This is useful when the extracted image begins with a prefix like 'docker://'. @@ -4451,7 +4452,7 @@ pub struct ClusterPolicyStatusAutogenRulesImageExtractors { /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the user name or role. /// At least one kind is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatch { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4477,7 +4478,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatch { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -4494,7 +4495,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -4540,7 +4541,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4554,7 +4555,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4573,7 +4574,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAllResourcesNamespaceSelectorMatc /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4587,7 +4588,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4604,7 +4605,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAllResourcesSelectorMatchExpressi /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -4623,7 +4624,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -4640,7 +4641,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -4686,7 +4687,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4700,7 +4701,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4719,7 +4720,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAnyResourcesNamespaceSelectorMatc /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4733,7 +4734,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4750,7 +4751,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAnyResourcesSelectorMatchExpressi /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -4772,7 +4773,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchAnySubjects { /// Requires at least one tag to be specified when under MatchResources. /// Specifying ResourceDescription directly under match is being deprecated. /// Please specify under "any" or "all" instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -4818,7 +4819,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4832,7 +4833,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4851,7 +4852,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchResourcesNamespaceSelectorMatchEx /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4865,7 +4866,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4882,7 +4883,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchResourcesSelectorMatchExpressions /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMatchSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -4901,7 +4902,7 @@ pub struct ClusterPolicyStatusAutogenRulesMatchSubjects { } /// Mutation is used to modify matching resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutate { /// ForEach applies mutation rules to a list of sub-elements by creating a context for each entry in the list and looping over it to apply the specified logic. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4921,7 +4922,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutate { } /// ForEachMutation applies mutation rules to a list of sub-elements by creating a context for each entry in the list and looping over it to apply the specified logic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeach { /// Context defines variables and data sources that can be used during rule execution. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4955,7 +4956,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateForeach { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -4981,7 +4982,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -5013,7 +5014,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -5034,7 +5035,7 @@ pub enum ClusterPolicyStatusAutogenRulesMutateForeachContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -5046,7 +5047,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -5056,7 +5057,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -5072,7 +5073,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -5088,7 +5089,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -5104,7 +5105,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextImageRegistryImage } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeachContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -5129,7 +5130,7 @@ pub enum ClusterPolicyStatusAutogenRulesMutateForeachOrder { /// AnyAllConditions are used to determine if a policy rule should be applied by evaluating a /// set of conditions. The declaration can contain nested `any` or `all` statements. /// See: https://kyverno.io/docs/writing-policies/preconditions/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeachPreconditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -5146,7 +5147,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateForeachPreconditions { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeachPreconditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5188,7 +5189,7 @@ pub enum ClusterPolicyStatusAutogenRulesMutateForeachPreconditionsAllOperator { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateForeachPreconditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5230,7 +5231,7 @@ pub enum ClusterPolicyStatusAutogenRulesMutateForeachPreconditionsAnyOperator { } /// TargetResourceSpec defines targets for mutating existing resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateTargets { /// APIVersion specifies resource apiVersion. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -5261,7 +5262,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateTargets { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -5287,7 +5288,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -5319,7 +5320,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -5340,7 +5341,7 @@ pub enum ClusterPolicyStatusAutogenRulesMutateTargetsContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -5352,7 +5353,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -5362,7 +5363,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -5378,7 +5379,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -5394,7 +5395,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -5410,7 +5411,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextImageRegistryImage } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -5426,7 +5427,7 @@ pub struct ClusterPolicyStatusAutogenRulesMutateTargetsContextVariable { } /// Validation is used to validate matching resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidate { /// AnyPattern specifies list of validation patterns. At least one of the patterns /// must be satisfied for the validation rule to succeed. @@ -5457,7 +5458,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidate { } /// CEL allows validation checks using the Common Expression Language (https://kubernetes.io/docs/reference/using-api/cel/). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateCel { /// AuditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. #[serde(default, skip_serializing_if = "Option::is_none", rename = "auditAnnotations")] @@ -5479,7 +5480,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateCel { } /// AuditAnnotation describes how to produce an audit annotation for an API request. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateCelAuditAnnotations { /// key specifies the audit annotation key. The audit annotation keys of /// a ValidatingAdmissionPolicy must be unique. The key must be a qualified @@ -5522,7 +5523,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateCelAuditAnnotations { } /// Validation specifies the CEL expression which is used to apply the validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateCelExpressions { /// Expression represents the expression which will be evaluated by CEL. /// ref: https://github.com/google/cel-spec @@ -5602,7 +5603,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateCelExpressions { } /// ParamKind is a tuple of Group Kind and Version. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateCelParamKind { /// APIVersion is the API group version the resources belong to. /// In format of "group/version". @@ -5616,7 +5617,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateCelParamKind { } /// ParamRef references a parameter resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateCelParamRef { /// `name` is the name of the resource being referenced. /// @@ -5680,7 +5681,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateCelParamRef { /// /// One of `name` or `selector` must be set, but `name` and `selector` are /// mutually exclusive properties. If one is set, the other must be unset. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateCelParamRefSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5694,7 +5695,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateCelParamRefSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateCelParamRefSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5710,7 +5711,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateCelParamRefSelectorMatchExpres } /// Variable is the definition of a variable that is used for composition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateCelVariables { /// Expression is the expression that will be evaluated as the value of the variable. /// The CEL expression has access to the same identifiers as the CEL expressions in Validation. @@ -5722,7 +5723,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateCelVariables { } /// Deny defines conditions used to pass or fail a validation rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateDeny { /// Multiple conditions can be declared under an `any` or `all` statement. A direct list /// of conditions (without `any` or `all` statements) is also supported for backwards compatibility @@ -5733,7 +5734,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateDeny { } /// ForEachValidation applies validate rules to a list of sub-elements by creating a context for each entry in the list and looping over it to apply the specified logic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeach { /// AnyPattern specifies list of validation patterns. At least one of the patterns /// must be satisfied for the validation rule to succeed. @@ -5769,7 +5770,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateForeach { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -5795,7 +5796,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -5827,7 +5828,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -5848,7 +5849,7 @@ pub enum ClusterPolicyStatusAutogenRulesValidateForeachContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -5860,7 +5861,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -5870,7 +5871,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -5886,7 +5887,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextGlobalReference /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -5902,7 +5903,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -5918,7 +5919,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextImageRegistryIma } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -5934,7 +5935,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateForeachContextVariable { } /// Deny defines conditions used to pass or fail a validation rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachDeny { /// Multiple conditions can be declared under an `any` or `all` statement. A direct list /// of conditions (without `any` or `all` statements) is also supported for backwards compatibility @@ -5947,7 +5948,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateForeachDeny { /// AnyAllConditions are used to determine if a policy rule should be applied by evaluating a /// set of conditions. The declaration can contain nested `any` or `all` statements. /// See: https://kyverno.io/docs/writing-policies/preconditions/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachPreconditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -5964,7 +5965,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateForeachPreconditions { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachPreconditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6006,7 +6007,7 @@ pub enum ClusterPolicyStatusAutogenRulesValidateForeachPreconditionsAllOperator } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateForeachPreconditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6048,7 +6049,7 @@ pub enum ClusterPolicyStatusAutogenRulesValidateForeachPreconditionsAnyOperator } /// Manifest specifies conditions for manifest verification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifests { /// AnnotationDomain is custom domain of annotation for message and signature. Default is "cosign.sigstore.dev". #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationDomain")] @@ -6068,7 +6069,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifests { pub repository: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestors { /// Count specifies the required number of entries that must match. If the count is null, all entries must match /// (a logical AND). If the count is 1, at least one entry must match (a logical OR). If the count contains a @@ -6081,7 +6082,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestors { pub entries: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntries { /// Annotations are used for image verification. /// Every specified key-value pair must exist and match in the verified payload. @@ -6108,7 +6109,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntries { } /// Certificates specifies one or more certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesCertificates { /// Cert is an optional PEM-encoded public certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6128,7 +6129,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesCerti /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesCertificatesCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6146,7 +6147,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesCerti /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesCertificatesRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6162,7 +6163,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesCerti /// Keyless is a set of attribute used to verify a Sigstore keyless attestor. /// See https://github.com/sigstore/cosign/blob/main/KEYLESS.md. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeyless { /// AdditionalExtensions are certificate-extensions used for keyless signing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -6189,7 +6190,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeyle /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeylessCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6207,7 +6208,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeyle /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeylessRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6222,7 +6223,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeyle } /// Keys specifies one or more public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. @@ -6256,7 +6257,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeys /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeysCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6274,7 +6275,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeysC /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeysRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6289,7 +6290,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeysR } /// Reference to a Secret resource that contains a public key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeysSecret { /// Name of the secret. The provided secret must contain a key named cosign.pub. pub name: String, @@ -6298,7 +6299,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeysS } /// DryRun configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsDryRun { #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, @@ -6306,7 +6307,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsDryRun { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsIgnoreFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub fields: Option>, @@ -6314,7 +6315,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsIgnoreFields { pub objects: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidateManifestsIgnoreFieldsObjects { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -6330,7 +6331,7 @@ pub struct ClusterPolicyStatusAutogenRulesValidateManifestsIgnoreFieldsObjects { /// PodSecurity applies exemptions for Kubernetes Pod Security admission /// by specifying exclusions for Pod Security Standards controls. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesValidatePodSecurity { /// Exclude specifies the Pod Security Standard controls to be excluded. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6442,7 +6443,7 @@ pub enum ClusterPolicyStatusAutogenRulesValidatePodSecurityVersion { /// ImageVerification validates that images that match the specified pattern /// are signed with the supplied public key. Once the image is verified it is /// mutated to include the SHA digest retrieved during the registration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImages { /// Deprecated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -6515,7 +6516,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImages { /// Attestation are checks for signed in-toto Statements that are used to verify the image. /// See https://github.com/in-toto/attestation. Kyverno fetches signed attestations from the /// OCI registry and decodes them into a list of Statements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestations { /// Attestors specify the required attestors (i.e. authorities). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6532,7 +6533,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestations { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestors { /// Count specifies the required number of entries that must match. If the count is null, all entries must match /// (a logical AND). If the count is 1, at least one entry must match (a logical OR). If the count contains a @@ -6545,7 +6546,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestors { pub entries: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntries { /// Annotations are used for image verification. /// Every specified key-value pair must exist and match in the verified payload. @@ -6572,7 +6573,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntri } /// Certificates specifies one or more certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesCertificates { /// Cert is an optional PEM-encoded public certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6592,7 +6593,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntri /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesCertificatesCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6610,7 +6611,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntri /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesCertificatesRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6626,7 +6627,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntri /// Keyless is a set of attribute used to verify a Sigstore keyless attestor. /// See https://github.com/sigstore/cosign/blob/main/KEYLESS.md. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeyless { /// AdditionalExtensions are certificate-extensions used for keyless signing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -6653,7 +6654,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntri /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeylessCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6671,7 +6672,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntri /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeylessRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6686,7 +6687,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntri } /// Keys specifies one or more public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. @@ -6720,7 +6721,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntri /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeysCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6738,7 +6739,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntri /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeysRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6753,7 +6754,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntri } /// Reference to a Secret resource that contains a public key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeysSecret { /// Name of the secret. The provided secret must contain a key named cosign.pub. pub name: String, @@ -6764,7 +6765,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntri /// AnyAllConditions consists of conditions wrapped denoting a logical criteria to be fulfilled. /// AnyConditions get fulfilled when at least one of its sub-conditions passes. /// AllConditions get fulfilled only when all of its sub-conditions pass. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsConditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -6781,7 +6782,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsConditions { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsConditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6823,7 +6824,7 @@ pub enum ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsConditionsAllOpe } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsConditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6864,7 +6865,7 @@ pub enum ClusterPolicyStatusAutogenRulesVerifyImagesAttestationsConditionsAnyOpe DurationLessThan, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestors { /// Count specifies the required number of entries that must match. If the count is null, all entries must match /// (a logical AND). If the count is 1, at least one entry must match (a logical OR). If the count contains a @@ -6877,7 +6878,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestors { pub entries: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntries { /// Annotations are used for image verification. /// Every specified key-value pair must exist and match in the verified payload. @@ -6904,7 +6905,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntries { } /// Certificates specifies one or more certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesCertificates { /// Cert is an optional PEM-encoded public certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6924,7 +6925,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesCertificat /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesCertificatesCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6942,7 +6943,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesCertificat /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesCertificatesRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6958,7 +6959,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesCertificat /// Keyless is a set of attribute used to verify a Sigstore keyless attestor. /// See https://github.com/sigstore/cosign/blob/main/KEYLESS.md. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeyless { /// AdditionalExtensions are certificate-extensions used for keyless signing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -6985,7 +6986,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeyless { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeylessCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -7003,7 +7004,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeylessCtl /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeylessRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -7018,7 +7019,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeylessRek } /// Keys specifies one or more public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. @@ -7052,7 +7053,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeysCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -7070,7 +7071,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeysCtlog /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeysRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -7085,7 +7086,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeysRekor } /// Reference to a Secret resource that contains a public key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeysSecret { /// Name of the secret. The provided secret must contain a key named cosign.pub. pub name: String, @@ -7094,7 +7095,7 @@ pub struct ClusterPolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeysSecret } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusAutogenRulesVerifyImagesImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -7120,7 +7121,7 @@ pub enum ClusterPolicyStatusAutogenRulesVerifyImagesType { /// RuleCountStatus contains four variables which describes counts for /// validate, generate, mutate and verify images rules -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusRulecount { /// Count for generate rules in policy pub generate: i64, @@ -7133,7 +7134,7 @@ pub struct ClusterPolicyStatusRulecount { } /// ValidatingAdmissionPolicy contains status information -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterPolicyStatusValidatingadmissionpolicy { /// Generated indicates whether a validating admission policy is generated from the policy or not pub generated: bool, diff --git a/kube-custom-resources-rs/src/kyverno_io/v2beta1/policies.rs b/kube-custom-resources-rs/src/kyverno_io/v2beta1/policies.rs index cff6317b6..33d5afdcd 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2beta1/policies.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2beta1/policies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/policies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/policies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// Spec defines policy behaviors and contains one or more rules. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kyverno.io", version = "v2beta1", kind = "Policy", plural = "policies")] #[kube(namespaced)] #[kube(status = "PolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PolicySpec { /// Admission controls if rules are applied during admission. @@ -101,7 +102,7 @@ pub enum PolicyFailurePolicy { /// Rule defines a validation, mutation, or generation control for matching resources. /// Each rules contains a match declaration to select resources, and an optional exclude /// declaration to specify which resources to exclude. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRules { /// CELPreconditions are used to determine if a policy rule should be applied by evaluating a /// set of CEL conditions. It can only be used with the validate.cel subrule @@ -152,7 +153,7 @@ pub struct PolicyRules { } /// MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesCelPreconditions { /// Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. /// CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables: @@ -185,7 +186,7 @@ pub struct PolicyRulesCelPreconditions { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -211,7 +212,7 @@ pub struct PolicyRulesContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -243,7 +244,7 @@ pub struct PolicyRulesContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -264,7 +265,7 @@ pub enum PolicyRulesContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -276,7 +277,7 @@ pub struct PolicyRulesContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -286,7 +287,7 @@ pub struct PolicyRulesContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -302,7 +303,7 @@ pub struct PolicyRulesContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -318,7 +319,7 @@ pub struct PolicyRulesContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -334,7 +335,7 @@ pub struct PolicyRulesContextImageRegistryImageRegistryCredentials { } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -352,7 +353,7 @@ pub struct PolicyRulesContextVariable { /// ExcludeResources defines when this policy rule should not be applied. The exclude /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the name or role. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExclude { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -363,7 +364,7 @@ pub struct PolicyRulesExclude { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -380,7 +381,7 @@ pub struct PolicyRulesExcludeAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -426,7 +427,7 @@ pub struct PolicyRulesExcludeAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -440,7 +441,7 @@ pub struct PolicyRulesExcludeAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -459,7 +460,7 @@ pub struct PolicyRulesExcludeAllResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -473,7 +474,7 @@ pub struct PolicyRulesExcludeAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -490,7 +491,7 @@ pub struct PolicyRulesExcludeAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -509,7 +510,7 @@ pub struct PolicyRulesExcludeAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -526,7 +527,7 @@ pub struct PolicyRulesExcludeAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -572,7 +573,7 @@ pub struct PolicyRulesExcludeAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -586,7 +587,7 @@ pub struct PolicyRulesExcludeAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -605,7 +606,7 @@ pub struct PolicyRulesExcludeAnyResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -619,7 +620,7 @@ pub struct PolicyRulesExcludeAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -636,7 +637,7 @@ pub struct PolicyRulesExcludeAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesExcludeAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -655,7 +656,7 @@ pub struct PolicyRulesExcludeAnySubjects { } /// Generation is used to create new resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesGenerate { /// APIVersion specifies resource apiVersion. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -702,7 +703,7 @@ pub struct PolicyRulesGenerate { /// Clone specifies the source resource used to populate each generated resource. /// At most one of Data or Clone can be specified. If neither are provided, the generated /// resource will be created with default data only. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesGenerateClone { /// Name specifies name of the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -713,7 +714,7 @@ pub struct PolicyRulesGenerateClone { } /// CloneList specifies the list of source resource used to populate each generated resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesGenerateCloneList { /// Kinds is a list of resource kinds. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -729,7 +730,7 @@ pub struct PolicyRulesGenerateCloneList { /// Selector is a label selector. Label keys and values in `matchLabels`. /// wildcard characters are not supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesGenerateCloneListSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -743,7 +744,7 @@ pub struct PolicyRulesGenerateCloneListSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesGenerateCloneListSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -758,7 +759,7 @@ pub struct PolicyRulesGenerateCloneListSelectorMatchExpressions { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesImageExtractors { /// JMESPath is an optional JMESPath expression to apply to the image value. /// This is useful when the extracted image begins with a prefix like 'docker://'. @@ -788,7 +789,7 @@ pub struct PolicyRulesImageExtractors { /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the user name or role. /// At least one kind is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatch { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -799,7 +800,7 @@ pub struct PolicyRulesMatch { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -816,7 +817,7 @@ pub struct PolicyRulesMatchAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -862,7 +863,7 @@ pub struct PolicyRulesMatchAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -876,7 +877,7 @@ pub struct PolicyRulesMatchAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -895,7 +896,7 @@ pub struct PolicyRulesMatchAllResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -909,7 +910,7 @@ pub struct PolicyRulesMatchAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -926,7 +927,7 @@ pub struct PolicyRulesMatchAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -945,7 +946,7 @@ pub struct PolicyRulesMatchAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -962,7 +963,7 @@ pub struct PolicyRulesMatchAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -1008,7 +1009,7 @@ pub struct PolicyRulesMatchAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1022,7 +1023,7 @@ pub struct PolicyRulesMatchAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1041,7 +1042,7 @@ pub struct PolicyRulesMatchAnyResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1055,7 +1056,7 @@ pub struct PolicyRulesMatchAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1072,7 +1073,7 @@ pub struct PolicyRulesMatchAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMatchAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -1091,7 +1092,7 @@ pub struct PolicyRulesMatchAnySubjects { } /// Mutation is used to modify matching resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutate { /// ForEach applies mutation rules to a list of sub-elements by creating a context for each entry in the list and looping over it to apply the specified logic. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1111,7 +1112,7 @@ pub struct PolicyRulesMutate { } /// ForEachMutation applies mutation rules to a list of sub-elements by creating a context for each entry in the list and looping over it to apply the specified logic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeach { /// Context defines variables and data sources that can be used during rule execution. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1145,7 +1146,7 @@ pub struct PolicyRulesMutateForeach { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -1171,7 +1172,7 @@ pub struct PolicyRulesMutateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeachContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -1203,7 +1204,7 @@ pub struct PolicyRulesMutateForeachContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeachContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -1224,7 +1225,7 @@ pub enum PolicyRulesMutateForeachContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeachContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -1236,7 +1237,7 @@ pub struct PolicyRulesMutateForeachContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeachContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -1246,7 +1247,7 @@ pub struct PolicyRulesMutateForeachContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeachContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -1262,7 +1263,7 @@ pub struct PolicyRulesMutateForeachContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeachContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -1278,7 +1279,7 @@ pub struct PolicyRulesMutateForeachContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeachContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -1294,7 +1295,7 @@ pub struct PolicyRulesMutateForeachContextImageRegistryImageRegistryCredentials } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeachContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -1319,7 +1320,7 @@ pub enum PolicyRulesMutateForeachOrder { /// AnyAllConditions are used to determine if a policy rule should be applied by evaluating a /// set of conditions. The declaration can contain nested `any` or `all` statements. /// See: https://kyverno.io/docs/writing-policies/preconditions/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeachPreconditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -1336,7 +1337,7 @@ pub struct PolicyRulesMutateForeachPreconditions { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeachPreconditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1378,7 +1379,7 @@ pub enum PolicyRulesMutateForeachPreconditionsAllOperator { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateForeachPreconditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1420,7 +1421,7 @@ pub enum PolicyRulesMutateForeachPreconditionsAnyOperator { } /// TargetResourceSpec defines targets for mutating existing resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateTargets { /// APIVersion specifies resource apiVersion. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1451,7 +1452,7 @@ pub struct PolicyRulesMutateTargets { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateTargetsContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -1477,7 +1478,7 @@ pub struct PolicyRulesMutateTargetsContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateTargetsContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -1509,7 +1510,7 @@ pub struct PolicyRulesMutateTargetsContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateTargetsContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -1530,7 +1531,7 @@ pub enum PolicyRulesMutateTargetsContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateTargetsContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -1542,7 +1543,7 @@ pub struct PolicyRulesMutateTargetsContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateTargetsContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -1552,7 +1553,7 @@ pub struct PolicyRulesMutateTargetsContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateTargetsContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -1568,7 +1569,7 @@ pub struct PolicyRulesMutateTargetsContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateTargetsContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -1584,7 +1585,7 @@ pub struct PolicyRulesMutateTargetsContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateTargetsContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -1600,7 +1601,7 @@ pub struct PolicyRulesMutateTargetsContextImageRegistryImageRegistryCredentials } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesMutateTargetsContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -1618,7 +1619,7 @@ pub struct PolicyRulesMutateTargetsContextVariable { /// Preconditions are used to determine if a policy rule should be applied by evaluating a /// set of conditions. The declaration can contain nested `any` or `all` statements. /// See: https://kyverno.io/docs/writing-policies/preconditions/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesPreconditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -1634,7 +1635,7 @@ pub struct PolicyRulesPreconditions { pub any: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesPreconditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1672,7 +1673,7 @@ pub enum PolicyRulesPreconditionsAllOperator { DurationLessThan, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesPreconditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1711,7 +1712,7 @@ pub enum PolicyRulesPreconditionsAnyOperator { } /// Validation is used to validate matching resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidate { /// AnyPattern specifies list of validation patterns. At least one of the patterns /// must be satisfied for the validation rule to succeed. @@ -1742,7 +1743,7 @@ pub struct PolicyRulesValidate { } /// CEL allows validation checks using the Common Expression Language (https://kubernetes.io/docs/reference/using-api/cel/). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateCel { /// AuditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. #[serde(default, skip_serializing_if = "Option::is_none", rename = "auditAnnotations")] @@ -1764,7 +1765,7 @@ pub struct PolicyRulesValidateCel { } /// AuditAnnotation describes how to produce an audit annotation for an API request. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateCelAuditAnnotations { /// key specifies the audit annotation key. The audit annotation keys of /// a ValidatingAdmissionPolicy must be unique. The key must be a qualified @@ -1807,7 +1808,7 @@ pub struct PolicyRulesValidateCelAuditAnnotations { } /// Validation specifies the CEL expression which is used to apply the validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateCelExpressions { /// Expression represents the expression which will be evaluated by CEL. /// ref: https://github.com/google/cel-spec @@ -1887,7 +1888,7 @@ pub struct PolicyRulesValidateCelExpressions { } /// ParamKind is a tuple of Group Kind and Version. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateCelParamKind { /// APIVersion is the API group version the resources belong to. /// In format of "group/version". @@ -1901,7 +1902,7 @@ pub struct PolicyRulesValidateCelParamKind { } /// ParamRef references a parameter resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateCelParamRef { /// `name` is the name of the resource being referenced. /// @@ -1965,7 +1966,7 @@ pub struct PolicyRulesValidateCelParamRef { /// /// One of `name` or `selector` must be set, but `name` and `selector` are /// mutually exclusive properties. If one is set, the other must be unset. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateCelParamRefSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1979,7 +1980,7 @@ pub struct PolicyRulesValidateCelParamRefSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateCelParamRefSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1995,7 +1996,7 @@ pub struct PolicyRulesValidateCelParamRefSelectorMatchExpressions { } /// Variable is the definition of a variable that is used for composition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateCelVariables { /// Expression is the expression that will be evaluated as the value of the variable. /// The CEL expression has access to the same identifiers as the CEL expressions in Validation. @@ -2007,7 +2008,7 @@ pub struct PolicyRulesValidateCelVariables { } /// Deny defines conditions used to pass or fail a validation rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateDeny { /// Multiple conditions can be declared under an `any` or `all` statement. /// See: https://kyverno.io/docs/writing-policies/validate/#deny-rules @@ -2017,7 +2018,7 @@ pub struct PolicyRulesValidateDeny { /// Multiple conditions can be declared under an `any` or `all` statement. /// See: https://kyverno.io/docs/writing-policies/validate/#deny-rules -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateDenyConditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -2033,7 +2034,7 @@ pub struct PolicyRulesValidateDenyConditions { pub any: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateDenyConditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2071,7 +2072,7 @@ pub enum PolicyRulesValidateDenyConditionsAllOperator { DurationLessThan, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateDenyConditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2110,7 +2111,7 @@ pub enum PolicyRulesValidateDenyConditionsAnyOperator { } /// ForEachValidation applies validate rules to a list of sub-elements by creating a context for each entry in the list and looping over it to apply the specified logic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeach { /// AnyPattern specifies list of validation patterns. At least one of the patterns /// must be satisfied for the validation rule to succeed. @@ -2146,7 +2147,7 @@ pub struct PolicyRulesValidateForeach { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -2172,7 +2173,7 @@ pub struct PolicyRulesValidateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -2204,7 +2205,7 @@ pub struct PolicyRulesValidateForeachContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -2225,7 +2226,7 @@ pub enum PolicyRulesValidateForeachContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -2237,7 +2238,7 @@ pub struct PolicyRulesValidateForeachContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -2247,7 +2248,7 @@ pub struct PolicyRulesValidateForeachContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -2263,7 +2264,7 @@ pub struct PolicyRulesValidateForeachContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -2279,7 +2280,7 @@ pub struct PolicyRulesValidateForeachContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -2295,7 +2296,7 @@ pub struct PolicyRulesValidateForeachContextImageRegistryImageRegistryCredential } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -2311,7 +2312,7 @@ pub struct PolicyRulesValidateForeachContextVariable { } /// Deny defines conditions used to pass or fail a validation rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachDeny { /// Multiple conditions can be declared under an `any` or `all` statement. A direct list /// of conditions (without `any` or `all` statements) is also supported for backwards compatibility @@ -2324,7 +2325,7 @@ pub struct PolicyRulesValidateForeachDeny { /// AnyAllConditions are used to determine if a policy rule should be applied by evaluating a /// set of conditions. The declaration can contain nested `any` or `all` statements. /// See: https://kyverno.io/docs/writing-policies/preconditions/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachPreconditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -2341,7 +2342,7 @@ pub struct PolicyRulesValidateForeachPreconditions { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachPreconditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2383,7 +2384,7 @@ pub enum PolicyRulesValidateForeachPreconditionsAllOperator { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateForeachPreconditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2425,7 +2426,7 @@ pub enum PolicyRulesValidateForeachPreconditionsAnyOperator { } /// Manifest specifies conditions for manifest verification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifests { /// AnnotationDomain is custom domain of annotation for message and signature. Default is "cosign.sigstore.dev". #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationDomain")] @@ -2445,7 +2446,7 @@ pub struct PolicyRulesValidateManifests { pub repository: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsAttestors { /// Count specifies the required number of entries that must match. If the count is null, all entries must match /// (a logical AND). If the count is 1, at least one entry must match (a logical OR). If the count contains a @@ -2458,7 +2459,7 @@ pub struct PolicyRulesValidateManifestsAttestors { pub entries: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsAttestorsEntries { /// Annotations are used for image verification. /// Every specified key-value pair must exist and match in the verified payload. @@ -2485,7 +2486,7 @@ pub struct PolicyRulesValidateManifestsAttestorsEntries { } /// Certificates specifies one or more certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsAttestorsEntriesCertificates { /// Cert is an optional PEM-encoded public certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2505,7 +2506,7 @@ pub struct PolicyRulesValidateManifestsAttestorsEntriesCertificates { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsAttestorsEntriesCertificatesCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -2523,7 +2524,7 @@ pub struct PolicyRulesValidateManifestsAttestorsEntriesCertificatesCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsAttestorsEntriesCertificatesRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -2539,7 +2540,7 @@ pub struct PolicyRulesValidateManifestsAttestorsEntriesCertificatesRekor { /// Keyless is a set of attribute used to verify a Sigstore keyless attestor. /// See https://github.com/sigstore/cosign/blob/main/KEYLESS.md. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsAttestorsEntriesKeyless { /// AdditionalExtensions are certificate-extensions used for keyless signing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -2566,7 +2567,7 @@ pub struct PolicyRulesValidateManifestsAttestorsEntriesKeyless { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsAttestorsEntriesKeylessCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -2584,7 +2585,7 @@ pub struct PolicyRulesValidateManifestsAttestorsEntriesKeylessCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsAttestorsEntriesKeylessRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -2599,7 +2600,7 @@ pub struct PolicyRulesValidateManifestsAttestorsEntriesKeylessRekor { } /// Keys specifies one or more public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. @@ -2633,7 +2634,7 @@ pub struct PolicyRulesValidateManifestsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsAttestorsEntriesKeysCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -2651,7 +2652,7 @@ pub struct PolicyRulesValidateManifestsAttestorsEntriesKeysCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsAttestorsEntriesKeysRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -2666,7 +2667,7 @@ pub struct PolicyRulesValidateManifestsAttestorsEntriesKeysRekor { } /// Reference to a Secret resource that contains a public key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsAttestorsEntriesKeysSecret { /// Name of the secret. The provided secret must contain a key named cosign.pub. pub name: String, @@ -2675,7 +2676,7 @@ pub struct PolicyRulesValidateManifestsAttestorsEntriesKeysSecret { } /// DryRun configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsDryRun { #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, @@ -2683,7 +2684,7 @@ pub struct PolicyRulesValidateManifestsDryRun { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsIgnoreFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub fields: Option>, @@ -2691,7 +2692,7 @@ pub struct PolicyRulesValidateManifestsIgnoreFields { pub objects: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidateManifestsIgnoreFieldsObjects { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -2707,7 +2708,7 @@ pub struct PolicyRulesValidateManifestsIgnoreFieldsObjects { /// PodSecurity applies exemptions for Kubernetes Pod Security admission /// by specifying exclusions for Pod Security Standards controls. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesValidatePodSecurity { /// Exclude specifies the Pod Security Standard controls to be excluded. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2819,7 +2820,7 @@ pub enum PolicyRulesValidatePodSecurityVersion { /// ImageVerification validates that images that match the specified pattern /// are signed with the supplied public key. Once the image is verified it is /// mutated to include the SHA digest retrieved during the registration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImages { /// Attestations are optional checks for signed in-toto Statements used to verify the image. /// See https://github.com/in-toto/attestation. Kyverno fetches signed attestations from the @@ -2871,7 +2872,7 @@ pub struct PolicyRulesVerifyImages { /// Attestation are checks for signed in-toto Statements that are used to verify the image. /// See https://github.com/in-toto/attestation. Kyverno fetches signed attestations from the /// OCI registry and decodes them into a list of Statements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestations { /// Attestors specify the required attestors (i.e. authorities). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2888,7 +2889,7 @@ pub struct PolicyRulesVerifyImagesAttestations { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsAttestors { /// Count specifies the required number of entries that must match. If the count is null, all entries must match /// (a logical AND). If the count is 1, at least one entry must match (a logical OR). If the count contains a @@ -2901,7 +2902,7 @@ pub struct PolicyRulesVerifyImagesAttestationsAttestors { pub entries: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntries { /// Annotations are used for image verification. /// Every specified key-value pair must exist and match in the verified payload. @@ -2928,7 +2929,7 @@ pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntries { } /// Certificates specifies one or more certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesCertificates { /// Cert is an optional PEM-encoded public certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2948,7 +2949,7 @@ pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesCertificates { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesCertificatesCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -2966,7 +2967,7 @@ pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesCertificatesCtlog /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesCertificatesRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -2982,7 +2983,7 @@ pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesCertificatesRekor /// Keyless is a set of attribute used to verify a Sigstore keyless attestor. /// See https://github.com/sigstore/cosign/blob/main/KEYLESS.md. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeyless { /// AdditionalExtensions are certificate-extensions used for keyless signing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -3009,7 +3010,7 @@ pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeyless { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeylessCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -3027,7 +3028,7 @@ pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeylessCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeylessRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -3042,7 +3043,7 @@ pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeylessRekor { } /// Keys specifies one or more public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. @@ -3076,7 +3077,7 @@ pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeysCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -3094,7 +3095,7 @@ pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeysCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeysRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -3109,7 +3110,7 @@ pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeysRekor { } /// Reference to a Secret resource that contains a public key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeysSecret { /// Name of the secret. The provided secret must contain a key named cosign.pub. pub name: String, @@ -3120,7 +3121,7 @@ pub struct PolicyRulesVerifyImagesAttestationsAttestorsEntriesKeysSecret { /// AnyAllConditions consists of conditions wrapped denoting a logical criteria to be fulfilled. /// AnyConditions get fulfilled when at least one of its sub-conditions passes. /// AllConditions get fulfilled only when all of its sub-conditions pass. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsConditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -3137,7 +3138,7 @@ pub struct PolicyRulesVerifyImagesAttestationsConditions { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsConditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3179,7 +3180,7 @@ pub enum PolicyRulesVerifyImagesAttestationsConditionsAllOperator { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestationsConditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3220,7 +3221,7 @@ pub enum PolicyRulesVerifyImagesAttestationsConditionsAnyOperator { DurationLessThan, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestors { /// Count specifies the required number of entries that must match. If the count is null, all entries must match /// (a logical AND). If the count is 1, at least one entry must match (a logical OR). If the count contains a @@ -3233,7 +3234,7 @@ pub struct PolicyRulesVerifyImagesAttestors { pub entries: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestorsEntries { /// Annotations are used for image verification. /// Every specified key-value pair must exist and match in the verified payload. @@ -3260,7 +3261,7 @@ pub struct PolicyRulesVerifyImagesAttestorsEntries { } /// Certificates specifies one or more certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestorsEntriesCertificates { /// Cert is an optional PEM-encoded public certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3280,7 +3281,7 @@ pub struct PolicyRulesVerifyImagesAttestorsEntriesCertificates { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestorsEntriesCertificatesCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -3298,7 +3299,7 @@ pub struct PolicyRulesVerifyImagesAttestorsEntriesCertificatesCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestorsEntriesCertificatesRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -3314,7 +3315,7 @@ pub struct PolicyRulesVerifyImagesAttestorsEntriesCertificatesRekor { /// Keyless is a set of attribute used to verify a Sigstore keyless attestor. /// See https://github.com/sigstore/cosign/blob/main/KEYLESS.md. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestorsEntriesKeyless { /// AdditionalExtensions are certificate-extensions used for keyless signing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -3341,7 +3342,7 @@ pub struct PolicyRulesVerifyImagesAttestorsEntriesKeyless { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestorsEntriesKeylessCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -3359,7 +3360,7 @@ pub struct PolicyRulesVerifyImagesAttestorsEntriesKeylessCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestorsEntriesKeylessRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -3374,7 +3375,7 @@ pub struct PolicyRulesVerifyImagesAttestorsEntriesKeylessRekor { } /// Keys specifies one or more public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. @@ -3408,7 +3409,7 @@ pub struct PolicyRulesVerifyImagesAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestorsEntriesKeysCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -3426,7 +3427,7 @@ pub struct PolicyRulesVerifyImagesAttestorsEntriesKeysCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestorsEntriesKeysRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -3441,7 +3442,7 @@ pub struct PolicyRulesVerifyImagesAttestorsEntriesKeysRekor { } /// Reference to a Secret resource that contains a public key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesAttestorsEntriesKeysSecret { /// Name of the secret. The provided secret must contain a key named cosign.pub. pub name: String, @@ -3450,7 +3451,7 @@ pub struct PolicyRulesVerifyImagesAttestorsEntriesKeysSecret { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRulesVerifyImagesImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -3487,7 +3488,7 @@ pub enum PolicyValidationFailureAction { EnforceX, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyValidationFailureActionOverrides { /// ValidationFailureAction defines the policy validation failure action #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3516,7 +3517,7 @@ pub enum PolicyValidationFailureActionOverridesAction { /// A label selector is a label query over a set of resources. The result of matchLabels and /// matchExpressions are ANDed. An empty label selector matches all objects. A null /// label selector matches no objects. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyValidationFailureActionOverridesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3530,7 +3531,7 @@ pub struct PolicyValidationFailureActionOverridesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyValidationFailureActionOverridesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3547,7 +3548,7 @@ pub struct PolicyValidationFailureActionOverridesNamespaceSelectorMatchExpressio /// WebhookConfiguration specifies the custom configuration for Kubernetes admission webhookconfiguration. /// Requires Kubernetes 1.27 or later. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyWebhookConfiguration { /// MatchCondition configures admission webhook matchConditions. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchConditions")] @@ -3555,7 +3556,7 @@ pub struct PolicyWebhookConfiguration { } /// MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyWebhookConfigurationMatchConditions { /// Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. /// CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables: @@ -3587,7 +3588,7 @@ pub struct PolicyWebhookConfigurationMatchConditions { } /// Status contains policy runtime data. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatus { /// AutogenStatus contains autogen status information. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3606,7 +3607,7 @@ pub struct PolicyStatus { } /// AutogenStatus contains autogen status information. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogen { /// Rules is a list of Rule instances. It contains auto generated rules added for pod controllers #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3616,7 +3617,7 @@ pub struct PolicyStatusAutogen { /// Rule defines a validation, mutation, or generation control for matching resources. /// Each rules contains a match declaration to select resources, and an optional exclude /// declaration to specify which resources to exclude. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRules { /// CELPreconditions are used to determine if a policy rule should be applied by evaluating a /// set of CEL conditions. It can only be used with the validate.cel subrule @@ -3669,7 +3670,7 @@ pub struct PolicyStatusAutogenRules { } /// MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesCelPreconditions { /// Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. /// CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables: @@ -3702,7 +3703,7 @@ pub struct PolicyStatusAutogenRulesCelPreconditions { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -3728,7 +3729,7 @@ pub struct PolicyStatusAutogenRulesContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -3760,7 +3761,7 @@ pub struct PolicyStatusAutogenRulesContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -3781,7 +3782,7 @@ pub enum PolicyStatusAutogenRulesContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -3793,7 +3794,7 @@ pub struct PolicyStatusAutogenRulesContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -3803,7 +3804,7 @@ pub struct PolicyStatusAutogenRulesContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -3819,7 +3820,7 @@ pub struct PolicyStatusAutogenRulesContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -3835,7 +3836,7 @@ pub struct PolicyStatusAutogenRulesContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -3851,7 +3852,7 @@ pub struct PolicyStatusAutogenRulesContextImageRegistryImageRegistryCredentials } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -3869,7 +3870,7 @@ pub struct PolicyStatusAutogenRulesContextVariable { /// ExcludeResources defines when this policy rule should not be applied. The exclude /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the name or role. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExclude { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3895,7 +3896,7 @@ pub struct PolicyStatusAutogenRulesExclude { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -3912,7 +3913,7 @@ pub struct PolicyStatusAutogenRulesExcludeAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -3958,7 +3959,7 @@ pub struct PolicyStatusAutogenRulesExcludeAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3972,7 +3973,7 @@ pub struct PolicyStatusAutogenRulesExcludeAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3991,7 +3992,7 @@ pub struct PolicyStatusAutogenRulesExcludeAllResourcesNamespaceSelectorMatchExpr /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4005,7 +4006,7 @@ pub struct PolicyStatusAutogenRulesExcludeAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4022,7 +4023,7 @@ pub struct PolicyStatusAutogenRulesExcludeAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -4041,7 +4042,7 @@ pub struct PolicyStatusAutogenRulesExcludeAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -4058,7 +4059,7 @@ pub struct PolicyStatusAutogenRulesExcludeAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -4104,7 +4105,7 @@ pub struct PolicyStatusAutogenRulesExcludeAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4118,7 +4119,7 @@ pub struct PolicyStatusAutogenRulesExcludeAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4137,7 +4138,7 @@ pub struct PolicyStatusAutogenRulesExcludeAnyResourcesNamespaceSelectorMatchExpr /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4151,7 +4152,7 @@ pub struct PolicyStatusAutogenRulesExcludeAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4168,7 +4169,7 @@ pub struct PolicyStatusAutogenRulesExcludeAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -4190,7 +4191,7 @@ pub struct PolicyStatusAutogenRulesExcludeAnySubjects { /// Requires at least one tag to be specified when under MatchResources. /// Specifying ResourceDescription directly under match is being deprecated. /// Please specify under "any" or "all" instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -4236,7 +4237,7 @@ pub struct PolicyStatusAutogenRulesExcludeResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4250,7 +4251,7 @@ pub struct PolicyStatusAutogenRulesExcludeResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4269,7 +4270,7 @@ pub struct PolicyStatusAutogenRulesExcludeResourcesNamespaceSelectorMatchExpress /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4283,7 +4284,7 @@ pub struct PolicyStatusAutogenRulesExcludeResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4300,7 +4301,7 @@ pub struct PolicyStatusAutogenRulesExcludeResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesExcludeSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -4319,7 +4320,7 @@ pub struct PolicyStatusAutogenRulesExcludeSubjects { } /// Generation is used to create new resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesGenerate { /// APIVersion specifies resource apiVersion. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4366,7 +4367,7 @@ pub struct PolicyStatusAutogenRulesGenerate { /// Clone specifies the source resource used to populate each generated resource. /// At most one of Data or Clone can be specified. If neither are provided, the generated /// resource will be created with default data only. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesGenerateClone { /// Name specifies name of the resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4377,7 +4378,7 @@ pub struct PolicyStatusAutogenRulesGenerateClone { } /// CloneList specifies the list of source resource used to populate each generated resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesGenerateCloneList { /// Kinds is a list of resource kinds. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4393,7 +4394,7 @@ pub struct PolicyStatusAutogenRulesGenerateCloneList { /// Selector is a label selector. Label keys and values in `matchLabels`. /// wildcard characters are not supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesGenerateCloneListSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4407,7 +4408,7 @@ pub struct PolicyStatusAutogenRulesGenerateCloneListSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesGenerateCloneListSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4422,7 +4423,7 @@ pub struct PolicyStatusAutogenRulesGenerateCloneListSelectorMatchExpressions { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesImageExtractors { /// JMESPath is an optional JMESPath expression to apply to the image value. /// This is useful when the extracted image begins with a prefix like 'docker://'. @@ -4452,7 +4453,7 @@ pub struct PolicyStatusAutogenRulesImageExtractors { /// criteria can include resource information (e.g. kind, name, namespace, labels) /// and admission review request information like the user name or role. /// At least one kind is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatch { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4478,7 +4479,7 @@ pub struct PolicyStatusAutogenRulesMatch { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -4495,7 +4496,7 @@ pub struct PolicyStatusAutogenRulesMatchAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -4541,7 +4542,7 @@ pub struct PolicyStatusAutogenRulesMatchAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4555,7 +4556,7 @@ pub struct PolicyStatusAutogenRulesMatchAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4574,7 +4575,7 @@ pub struct PolicyStatusAutogenRulesMatchAllResourcesNamespaceSelectorMatchExpres /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4588,7 +4589,7 @@ pub struct PolicyStatusAutogenRulesMatchAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4605,7 +4606,7 @@ pub struct PolicyStatusAutogenRulesMatchAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -4624,7 +4625,7 @@ pub struct PolicyStatusAutogenRulesMatchAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -4641,7 +4642,7 @@ pub struct PolicyStatusAutogenRulesMatchAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -4687,7 +4688,7 @@ pub struct PolicyStatusAutogenRulesMatchAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4701,7 +4702,7 @@ pub struct PolicyStatusAutogenRulesMatchAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4720,7 +4721,7 @@ pub struct PolicyStatusAutogenRulesMatchAnyResourcesNamespaceSelectorMatchExpres /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4734,7 +4735,7 @@ pub struct PolicyStatusAutogenRulesMatchAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4751,7 +4752,7 @@ pub struct PolicyStatusAutogenRulesMatchAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -4773,7 +4774,7 @@ pub struct PolicyStatusAutogenRulesMatchAnySubjects { /// Requires at least one tag to be specified when under MatchResources. /// Specifying ResourceDescription directly under match is being deprecated. /// Please specify under "any" or "all" instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -4819,7 +4820,7 @@ pub struct PolicyStatusAutogenRulesMatchResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4833,7 +4834,7 @@ pub struct PolicyStatusAutogenRulesMatchResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4852,7 +4853,7 @@ pub struct PolicyStatusAutogenRulesMatchResourcesNamespaceSelectorMatchExpressio /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4866,7 +4867,7 @@ pub struct PolicyStatusAutogenRulesMatchResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4883,7 +4884,7 @@ pub struct PolicyStatusAutogenRulesMatchResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMatchSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -4902,7 +4903,7 @@ pub struct PolicyStatusAutogenRulesMatchSubjects { } /// Mutation is used to modify matching resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutate { /// ForEach applies mutation rules to a list of sub-elements by creating a context for each entry in the list and looping over it to apply the specified logic. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4922,7 +4923,7 @@ pub struct PolicyStatusAutogenRulesMutate { } /// ForEachMutation applies mutation rules to a list of sub-elements by creating a context for each entry in the list and looping over it to apply the specified logic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeach { /// Context defines variables and data sources that can be used during rule execution. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4956,7 +4957,7 @@ pub struct PolicyStatusAutogenRulesMutateForeach { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -4982,7 +4983,7 @@ pub struct PolicyStatusAutogenRulesMutateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeachContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -5014,7 +5015,7 @@ pub struct PolicyStatusAutogenRulesMutateForeachContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeachContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -5035,7 +5036,7 @@ pub enum PolicyStatusAutogenRulesMutateForeachContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeachContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -5047,7 +5048,7 @@ pub struct PolicyStatusAutogenRulesMutateForeachContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeachContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -5057,7 +5058,7 @@ pub struct PolicyStatusAutogenRulesMutateForeachContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeachContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -5073,7 +5074,7 @@ pub struct PolicyStatusAutogenRulesMutateForeachContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeachContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -5089,7 +5090,7 @@ pub struct PolicyStatusAutogenRulesMutateForeachContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeachContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -5105,7 +5106,7 @@ pub struct PolicyStatusAutogenRulesMutateForeachContextImageRegistryImageRegistr } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeachContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -5130,7 +5131,7 @@ pub enum PolicyStatusAutogenRulesMutateForeachOrder { /// AnyAllConditions are used to determine if a policy rule should be applied by evaluating a /// set of conditions. The declaration can contain nested `any` or `all` statements. /// See: https://kyverno.io/docs/writing-policies/preconditions/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeachPreconditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -5147,7 +5148,7 @@ pub struct PolicyStatusAutogenRulesMutateForeachPreconditions { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeachPreconditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5189,7 +5190,7 @@ pub enum PolicyStatusAutogenRulesMutateForeachPreconditionsAllOperator { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateForeachPreconditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5231,7 +5232,7 @@ pub enum PolicyStatusAutogenRulesMutateForeachPreconditionsAnyOperator { } /// TargetResourceSpec defines targets for mutating existing resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateTargets { /// APIVersion specifies resource apiVersion. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -5262,7 +5263,7 @@ pub struct PolicyStatusAutogenRulesMutateTargets { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateTargetsContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -5288,7 +5289,7 @@ pub struct PolicyStatusAutogenRulesMutateTargetsContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateTargetsContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -5320,7 +5321,7 @@ pub struct PolicyStatusAutogenRulesMutateTargetsContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateTargetsContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -5341,7 +5342,7 @@ pub enum PolicyStatusAutogenRulesMutateTargetsContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateTargetsContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -5353,7 +5354,7 @@ pub struct PolicyStatusAutogenRulesMutateTargetsContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateTargetsContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -5363,7 +5364,7 @@ pub struct PolicyStatusAutogenRulesMutateTargetsContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateTargetsContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -5379,7 +5380,7 @@ pub struct PolicyStatusAutogenRulesMutateTargetsContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateTargetsContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -5395,7 +5396,7 @@ pub struct PolicyStatusAutogenRulesMutateTargetsContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateTargetsContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -5411,7 +5412,7 @@ pub struct PolicyStatusAutogenRulesMutateTargetsContextImageRegistryImageRegistr } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesMutateTargetsContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -5427,7 +5428,7 @@ pub struct PolicyStatusAutogenRulesMutateTargetsContextVariable { } /// Validation is used to validate matching resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidate { /// AnyPattern specifies list of validation patterns. At least one of the patterns /// must be satisfied for the validation rule to succeed. @@ -5458,7 +5459,7 @@ pub struct PolicyStatusAutogenRulesValidate { } /// CEL allows validation checks using the Common Expression Language (https://kubernetes.io/docs/reference/using-api/cel/). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateCel { /// AuditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. #[serde(default, skip_serializing_if = "Option::is_none", rename = "auditAnnotations")] @@ -5480,7 +5481,7 @@ pub struct PolicyStatusAutogenRulesValidateCel { } /// AuditAnnotation describes how to produce an audit annotation for an API request. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateCelAuditAnnotations { /// key specifies the audit annotation key. The audit annotation keys of /// a ValidatingAdmissionPolicy must be unique. The key must be a qualified @@ -5523,7 +5524,7 @@ pub struct PolicyStatusAutogenRulesValidateCelAuditAnnotations { } /// Validation specifies the CEL expression which is used to apply the validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateCelExpressions { /// Expression represents the expression which will be evaluated by CEL. /// ref: https://github.com/google/cel-spec @@ -5603,7 +5604,7 @@ pub struct PolicyStatusAutogenRulesValidateCelExpressions { } /// ParamKind is a tuple of Group Kind and Version. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateCelParamKind { /// APIVersion is the API group version the resources belong to. /// In format of "group/version". @@ -5617,7 +5618,7 @@ pub struct PolicyStatusAutogenRulesValidateCelParamKind { } /// ParamRef references a parameter resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateCelParamRef { /// `name` is the name of the resource being referenced. /// @@ -5681,7 +5682,7 @@ pub struct PolicyStatusAutogenRulesValidateCelParamRef { /// /// One of `name` or `selector` must be set, but `name` and `selector` are /// mutually exclusive properties. If one is set, the other must be unset. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateCelParamRefSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5695,7 +5696,7 @@ pub struct PolicyStatusAutogenRulesValidateCelParamRefSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateCelParamRefSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5711,7 +5712,7 @@ pub struct PolicyStatusAutogenRulesValidateCelParamRefSelectorMatchExpressions { } /// Variable is the definition of a variable that is used for composition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateCelVariables { /// Expression is the expression that will be evaluated as the value of the variable. /// The CEL expression has access to the same identifiers as the CEL expressions in Validation. @@ -5723,7 +5724,7 @@ pub struct PolicyStatusAutogenRulesValidateCelVariables { } /// Deny defines conditions used to pass or fail a validation rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateDeny { /// Multiple conditions can be declared under an `any` or `all` statement. A direct list /// of conditions (without `any` or `all` statements) is also supported for backwards compatibility @@ -5734,7 +5735,7 @@ pub struct PolicyStatusAutogenRulesValidateDeny { } /// ForEachValidation applies validate rules to a list of sub-elements by creating a context for each entry in the list and looping over it to apply the specified logic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeach { /// AnyPattern specifies list of validation patterns. At least one of the patterns /// must be satisfied for the validation rule to succeed. @@ -5770,7 +5771,7 @@ pub struct PolicyStatusAutogenRulesValidateForeach { /// ContextEntry adds variables and data sources to a rule Context. Either a /// ConfigMap reference or a APILookup must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. @@ -5796,7 +5797,7 @@ pub struct PolicyStatusAutogenRulesValidateForeachContext { /// APICall is an HTTP request to the Kubernetes API server, or other JSON web service. /// The data returned is stored in the context with the name for the context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachContextApiCall { /// The data object specifies the POST data sent to the server. /// Only applicable when the method field is set to POST. @@ -5828,7 +5829,7 @@ pub struct PolicyStatusAutogenRulesValidateForeachContextApiCall { } /// RequestData contains the HTTP POST data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachContextApiCallData { /// Key is a unique identifier for the data value pub key: String, @@ -5849,7 +5850,7 @@ pub enum PolicyStatusAutogenRulesValidateForeachContextApiCallMethod { /// Service is an API call to a JSON web service. /// This is used for non-Kubernetes API server calls. /// It's mutually exclusive with the URLPath field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachContextApiCallService { /// CABundle is a PEM encoded CA bundle which will be used to validate /// the server certificate. @@ -5861,7 +5862,7 @@ pub struct PolicyStatusAutogenRulesValidateForeachContextApiCallService { } /// ConfigMap is the ConfigMap reference. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachContextConfigMap { /// Name is the ConfigMap name. pub name: String, @@ -5871,7 +5872,7 @@ pub struct PolicyStatusAutogenRulesValidateForeachContextConfigMap { } /// GlobalContextEntryReference is a reference to a cached global context entry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachContextGlobalReference { /// JMESPath is an optional JSON Match Expression that can be used to /// transform the JSON response returned from the server. For example @@ -5887,7 +5888,7 @@ pub struct PolicyStatusAutogenRulesValidateForeachContextGlobalReference { /// ImageRegistry defines requests to an OCI/Docker V2 registry to fetch image /// details. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachContextImageRegistry { /// ImageRegistryCredentials provides credentials that will be used for authentication with registry #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageRegistryCredentials")] @@ -5903,7 +5904,7 @@ pub struct PolicyStatusAutogenRulesValidateForeachContextImageRegistry { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachContextImageRegistryImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -5919,7 +5920,7 @@ pub struct PolicyStatusAutogenRulesValidateForeachContextImageRegistryImageRegis } /// Variable defines an arbitrary JMESPath context variable that can be defined inline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachContextVariable { /// Default is an optional arbitrary JSON object that the variable may take if the JMESPath /// expression evaluates to nil @@ -5935,7 +5936,7 @@ pub struct PolicyStatusAutogenRulesValidateForeachContextVariable { } /// Deny defines conditions used to pass or fail a validation rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachDeny { /// Multiple conditions can be declared under an `any` or `all` statement. A direct list /// of conditions (without `any` or `all` statements) is also supported for backwards compatibility @@ -5948,7 +5949,7 @@ pub struct PolicyStatusAutogenRulesValidateForeachDeny { /// AnyAllConditions are used to determine if a policy rule should be applied by evaluating a /// set of conditions. The declaration can contain nested `any` or `all` statements. /// See: https://kyverno.io/docs/writing-policies/preconditions/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachPreconditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -5965,7 +5966,7 @@ pub struct PolicyStatusAutogenRulesValidateForeachPreconditions { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachPreconditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6007,7 +6008,7 @@ pub enum PolicyStatusAutogenRulesValidateForeachPreconditionsAllOperator { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateForeachPreconditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6049,7 +6050,7 @@ pub enum PolicyStatusAutogenRulesValidateForeachPreconditionsAnyOperator { } /// Manifest specifies conditions for manifest verification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifests { /// AnnotationDomain is custom domain of annotation for message and signature. Default is "cosign.sigstore.dev". #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationDomain")] @@ -6069,7 +6070,7 @@ pub struct PolicyStatusAutogenRulesValidateManifests { pub repository: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsAttestors { /// Count specifies the required number of entries that must match. If the count is null, all entries must match /// (a logical AND). If the count is 1, at least one entry must match (a logical OR). If the count contains a @@ -6082,7 +6083,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsAttestors { pub entries: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntries { /// Annotations are used for image verification. /// Every specified key-value pair must exist and match in the verified payload. @@ -6109,7 +6110,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntries { } /// Certificates specifies one or more certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesCertificates { /// Cert is an optional PEM-encoded public certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6129,7 +6130,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesCertificates /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesCertificatesCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6147,7 +6148,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesCertificates /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesCertificatesRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6163,7 +6164,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesCertificates /// Keyless is a set of attribute used to verify a Sigstore keyless attestor. /// See https://github.com/sigstore/cosign/blob/main/KEYLESS.md. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeyless { /// AdditionalExtensions are certificate-extensions used for keyless signing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -6190,7 +6191,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeyless { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeylessCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6208,7 +6209,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeylessCtlog /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeylessRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6223,7 +6224,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeylessRekor } /// Keys specifies one or more public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. @@ -6257,7 +6258,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeysCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6275,7 +6276,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeysCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeysRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6290,7 +6291,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeysRekor { } /// Reference to a Secret resource that contains a public key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeysSecret { /// Name of the secret. The provided secret must contain a key named cosign.pub. pub name: String, @@ -6299,7 +6300,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsAttestorsEntriesKeysSecret { } /// DryRun configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsDryRun { #[serde(default, skip_serializing_if = "Option::is_none")] pub enable: Option, @@ -6307,7 +6308,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsDryRun { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsIgnoreFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub fields: Option>, @@ -6315,7 +6316,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsIgnoreFields { pub objects: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidateManifestsIgnoreFieldsObjects { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -6331,7 +6332,7 @@ pub struct PolicyStatusAutogenRulesValidateManifestsIgnoreFieldsObjects { /// PodSecurity applies exemptions for Kubernetes Pod Security admission /// by specifying exclusions for Pod Security Standards controls. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesValidatePodSecurity { /// Exclude specifies the Pod Security Standard controls to be excluded. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6443,7 +6444,7 @@ pub enum PolicyStatusAutogenRulesValidatePodSecurityVersion { /// ImageVerification validates that images that match the specified pattern /// are signed with the supplied public key. Once the image is verified it is /// mutated to include the SHA digest retrieved during the registration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImages { /// Deprecated. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -6516,7 +6517,7 @@ pub struct PolicyStatusAutogenRulesVerifyImages { /// Attestation are checks for signed in-toto Statements that are used to verify the image. /// See https://github.com/in-toto/attestation. Kyverno fetches signed attestations from the /// OCI registry and decodes them into a list of Statements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestations { /// Attestors specify the required attestors (i.e. authorities). #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6533,7 +6534,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestations { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestors { /// Count specifies the required number of entries that must match. If the count is null, all entries must match /// (a logical AND). If the count is 1, at least one entry must match (a logical OR). If the count contains a @@ -6546,7 +6547,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestors { pub entries: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntries { /// Annotations are used for image verification. /// Every specified key-value pair must exist and match in the verified payload. @@ -6573,7 +6574,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntries { } /// Certificates specifies one or more certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesCertificates { /// Cert is an optional PEM-encoded public certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6593,7 +6594,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesCerti /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesCertificatesCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6611,7 +6612,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesCerti /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesCertificatesRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6627,7 +6628,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesCerti /// Keyless is a set of attribute used to verify a Sigstore keyless attestor. /// See https://github.com/sigstore/cosign/blob/main/KEYLESS.md. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeyless { /// AdditionalExtensions are certificate-extensions used for keyless signing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -6654,7 +6655,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeyle /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeylessCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6672,7 +6673,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeyle /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeylessRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6687,7 +6688,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeyle } /// Keys specifies one or more public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. @@ -6721,7 +6722,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeys /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeysCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6739,7 +6740,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeysC /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeysRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6754,7 +6755,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeysR } /// Reference to a Secret resource that contains a public key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeysSecret { /// Name of the secret. The provided secret must contain a key named cosign.pub. pub name: String, @@ -6765,7 +6766,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsAttestorsEntriesKeysS /// AnyAllConditions consists of conditions wrapped denoting a logical criteria to be fulfilled. /// AnyConditions get fulfilled when at least one of its sub-conditions passes. /// AllConditions get fulfilled only when all of its sub-conditions pass. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsConditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -6782,7 +6783,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsConditions { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsConditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6824,7 +6825,7 @@ pub enum PolicyStatusAutogenRulesVerifyImagesAttestationsConditionsAllOperator { } /// Condition defines variable-based conditional criteria for rule execution. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestationsConditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6865,7 +6866,7 @@ pub enum PolicyStatusAutogenRulesVerifyImagesAttestationsConditionsAnyOperator { DurationLessThan, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestors { /// Count specifies the required number of entries that must match. If the count is null, all entries must match /// (a logical AND). If the count is 1, at least one entry must match (a logical OR). If the count contains a @@ -6878,7 +6879,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestors { pub entries: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntries { /// Annotations are used for image verification. /// Every specified key-value pair must exist and match in the verified payload. @@ -6905,7 +6906,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntries { } /// Certificates specifies one or more certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesCertificates { /// Cert is an optional PEM-encoded public certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6925,7 +6926,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesCertificates { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesCertificatesCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -6943,7 +6944,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesCertificatesCtlog /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesCertificatesRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -6959,7 +6960,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesCertificatesRekor /// Keyless is a set of attribute used to verify a Sigstore keyless attestor. /// See https://github.com/sigstore/cosign/blob/main/KEYLESS.md. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeyless { /// AdditionalExtensions are certificate-extensions used for keyless signing. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalExtensions")] @@ -6986,7 +6987,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeyless { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeylessCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -7004,7 +7005,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeylessCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeylessRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -7019,7 +7020,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeylessRekor { } /// Keys specifies one or more public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. @@ -7053,7 +7054,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeys { /// CTLog (certificate timestamp log) provides a configuration for validation of Signed Certificate /// Timestamps (SCTs). If the value is unset, the default behavior by Cosign is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeysCtlog { /// IgnoreSCT defines whether to use the Signed Certificate Timestamp (SCT) log to check for a certificate /// timestamp. Default is false. Set to true if this was opted out during signing. @@ -7071,7 +7072,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeysCtlog { /// Rekor provides configuration for the Rekor transparency log service. If an empty object /// is provided the public instance of Rekor (https://rekor.sigstore.dev) is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeysRekor { /// IgnoreTlog skips transparency log verification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreTlog")] @@ -7086,7 +7087,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeysRekor { } /// Reference to a Secret resource that contains a public key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeysSecret { /// Name of the secret. The provided secret must contain a key named cosign.pub. pub name: String, @@ -7095,7 +7096,7 @@ pub struct PolicyStatusAutogenRulesVerifyImagesAttestorsEntriesKeysSecret { } /// ImageRegistryCredentials provides credentials that will be used for authentication with registry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusAutogenRulesVerifyImagesImageRegistryCredentials { /// AllowInsecureRegistry allows insecure access to a registry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowInsecureRegistry")] @@ -7121,7 +7122,7 @@ pub enum PolicyStatusAutogenRulesVerifyImagesType { /// RuleCountStatus contains four variables which describes counts for /// validate, generate, mutate and verify images rules -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusRulecount { /// Count for generate rules in policy pub generate: i64, @@ -7134,7 +7135,7 @@ pub struct PolicyStatusRulecount { } /// ValidatingAdmissionPolicy contains status information -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyStatusValidatingadmissionpolicy { /// Generated indicates whether a validating admission policy is generated from the policy or not pub generated: bool, diff --git a/kube-custom-resources-rs/src/kyverno_io/v2beta1/policyexceptions.rs b/kube-custom-resources-rs/src/kyverno_io/v2beta1/policyexceptions.rs index 59f2adeb0..48d9b9503 100644 --- a/kube-custom-resources-rs/src/kyverno_io/v2beta1/policyexceptions.rs +++ b/kube-custom-resources-rs/src/kyverno_io/v2beta1/policyexceptions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/policyexceptions.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/policyexceptions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { use self::prelude::*; /// Spec declares policy exception behaviors. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "kyverno.io", version = "v2beta1", kind = "PolicyException", plural = "policyexceptions")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PolicyExceptionSpec { /// Background controls if exceptions are applied to existing policies during a background scan. @@ -39,7 +40,7 @@ pub struct PolicyExceptionSpec { /// Conditions are used to determine if a resource applies to the exception by evaluating a /// set of conditions. The declaration can contain nested `any` or `all` statements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionConditions { /// AllConditions enable variable-based conditional rule execution. This is useful for /// finer control of when an rule is applied. A condition can reference object data @@ -55,7 +56,7 @@ pub struct PolicyExceptionConditions { pub any: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionConditionsAll { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -93,7 +94,7 @@ pub enum PolicyExceptionConditionsAllOperator { DurationLessThan, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionConditionsAny { /// Key is the context entry (using JMESPath) for conditional rule evaluation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -132,7 +133,7 @@ pub enum PolicyExceptionConditionsAnyOperator { } /// Exception stores infos about a policy and rules -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionExceptions { /// PolicyName identifies the policy to which the exception is applied. /// The policy name uses the format / unless it @@ -145,7 +146,7 @@ pub struct PolicyExceptionExceptions { } /// Match defines match clause used to check if a resource applies to the exception -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatch { /// All allows specifying resources which will be ANDed #[serde(default, skip_serializing_if = "Option::is_none")] @@ -156,7 +157,7 @@ pub struct PolicyExceptionMatch { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAll { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -173,7 +174,7 @@ pub struct PolicyExceptionMatchAll { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAllResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -219,7 +220,7 @@ pub struct PolicyExceptionMatchAllResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAllResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -233,7 +234,7 @@ pub struct PolicyExceptionMatchAllResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAllResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -252,7 +253,7 @@ pub struct PolicyExceptionMatchAllResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAllResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -266,7 +267,7 @@ pub struct PolicyExceptionMatchAllResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAllResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -283,7 +284,7 @@ pub struct PolicyExceptionMatchAllResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAllSubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. @@ -302,7 +303,7 @@ pub struct PolicyExceptionMatchAllSubjects { } /// ResourceFilter allow users to "AND" or "OR" between resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAny { /// ClusterRoles is the list of cluster-wide role names for the user. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoles")] @@ -319,7 +320,7 @@ pub struct PolicyExceptionMatchAny { } /// ResourceDescription contains information about the resource being created or modified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAnyResources { /// Annotations is a map of annotations (key-value pairs of type string). Annotation keys /// and values support the wildcard characters "*" (matches zero or many characters) and @@ -365,7 +366,7 @@ pub struct PolicyExceptionMatchAnyResources { /// and `?` (matches one character).Wildcards allows writing label selectors like /// ["storage.k8s.io/*": "*"]. Note that using ["*" : "*"] matches any key and value but /// does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAnyResourcesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -379,7 +380,7 @@ pub struct PolicyExceptionMatchAnyResourcesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAnyResourcesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -398,7 +399,7 @@ pub struct PolicyExceptionMatchAnyResourcesNamespaceSelectorMatchExpressions { /// characters `*` (matches zero or many characters) and `?` (matches one character). /// Wildcards allows writing label selectors like ["storage.k8s.io/*": "*"]. Note that /// using ["*" : "*"] matches any key and value but does not match an empty label set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAnyResourcesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -412,7 +413,7 @@ pub struct PolicyExceptionMatchAnyResourcesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAnyResourcesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -429,7 +430,7 @@ pub struct PolicyExceptionMatchAnyResourcesSelectorMatchExpressions { /// Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, /// or a value for non-objects such as user and group names. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyExceptionMatchAnySubjects { /// APIGroup holds the API group of the referenced subject. /// Defaults to "" for ServiceAccount subjects. diff --git a/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/codesigningconfigs.rs b/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/codesigningconfigs.rs index 85a271010..a375636e7 100644 --- a/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/codesigningconfigs.rs +++ b/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/codesigningconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/lambda-controller/lambda.services.k8s.aws/v1alpha1/codesigningconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/lambda-controller/lambda.services.k8s.aws/v1alpha1/codesigningconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/eventsourcemappings.rs b/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/eventsourcemappings.rs index 1c44303f3..66479e5a6 100644 --- a/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/eventsourcemappings.rs +++ b/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/eventsourcemappings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/lambda-controller/lambda.services.k8s.aws/v1alpha1/eventsourcemappings.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/lambda-controller/lambda.services.k8s.aws/v1alpha1/eventsourcemappings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/functions.rs b/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/functions.rs index 24cac7db9..be5647983 100644 --- a/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/functions.rs +++ b/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/functions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/lambda-controller/lambda.services.k8s.aws/v1alpha1/functions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/lambda-controller/lambda.services.k8s.aws/v1alpha1/functions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/functionurlconfigs.rs b/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/functionurlconfigs.rs index 478975b3d..8ee28bf69 100644 --- a/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/functionurlconfigs.rs +++ b/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/functionurlconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/lambda-controller/lambda.services.k8s.aws/v1alpha1/functionurlconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/lambda-controller/lambda.services.k8s.aws/v1alpha1/functionurlconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/layerversions.rs b/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/layerversions.rs index cde7fbe6f..1e980881c 100644 --- a/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/layerversions.rs +++ b/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/layerversions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/lambda-controller/lambda.services.k8s.aws/v1alpha1/layerversions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/lambda-controller/lambda.services.k8s.aws/v1alpha1/layerversions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/versions.rs b/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/versions.rs index 02e4e26fd..a1822c23c 100644 --- a/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/versions.rs +++ b/kube-custom-resources-rs/src/lambda_services_k8s_aws/v1alpha1/versions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/lambda-controller/lambda.services.k8s.aws/v1alpha1/versions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/lambda-controller/lambda.services.k8s.aws/v1alpha1/versions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/leaksignal_com/v1/cluster_leaksignal_istios.rs b/kube-custom-resources-rs/src/leaksignal_com/v1/cluster_leaksignal_istios.rs index c4fffaae3..c5ae184fe 100644 --- a/kube-custom-resources-rs/src/leaksignal_com/v1/cluster_leaksignal_istios.rs +++ b/kube-custom-resources-rs/src/leaksignal_com/v1/cluster_leaksignal_istios.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/leaksignal/leaksignal-operator/leaksignal.com/v1/cluster-leaksignal-istios.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/leaksignal/leaksignal-operator/leaksignal.com/v1/cluster-leaksignal-istios.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/leaksignal_com/v1/leaksignal_istios.rs b/kube-custom-resources-rs/src/leaksignal_com/v1/leaksignal_istios.rs index d9814e31e..c3ed6ec13 100644 --- a/kube-custom-resources-rs/src/leaksignal_com/v1/leaksignal_istios.rs +++ b/kube-custom-resources-rs/src/leaksignal_com/v1/leaksignal_istios.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/leaksignal/leaksignal-operator/leaksignal.com/v1/leaksignal-istios.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/leaksignal/leaksignal-operator/leaksignal.com/v1/leaksignal-istios.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta4/bitwarden_secrets.rs b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta4/bitwarden_secrets.rs index f0d7e095f..d1235a77b 100644 --- a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta4/bitwarden_secrets.rs +++ b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta4/bitwarden_secrets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta4/bitwarden-secrets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta4/bitwarden-secrets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta4/bitwarden_templates.rs b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta4/bitwarden_templates.rs index 5a14928e4..6238f1875 100644 --- a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta4/bitwarden_templates.rs +++ b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta4/bitwarden_templates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta4/bitwarden-templates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta4/bitwarden-templates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta4/registry_credentials.rs b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta4/registry_credentials.rs index b2bb36c57..2807087bd 100644 --- a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta4/registry_credentials.rs +++ b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta4/registry_credentials.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta4/registry-credentials.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta4/registry-credentials.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta5/bitwarden_secrets.rs b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta5/bitwarden_secrets.rs index a5db742c9..f83bf3445 100644 --- a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta5/bitwarden_secrets.rs +++ b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta5/bitwarden_secrets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta5/bitwarden-secrets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta5/bitwarden-secrets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta5/bitwarden_templates.rs b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta5/bitwarden_templates.rs index 79391c3f9..05b7e9167 100644 --- a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta5/bitwarden_templates.rs +++ b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta5/bitwarden_templates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta5/bitwarden-templates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta5/bitwarden-templates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta5/registry_credentials.rs b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta5/registry_credentials.rs index 722be8e4b..f93032eea 100644 --- a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta5/registry_credentials.rs +++ b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta5/registry_credentials.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta5/registry-credentials.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta5/registry-credentials.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/bitwarden_secrets.rs b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/bitwarden_secrets.rs index b281cc747..dc6110dc7 100644 --- a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/bitwarden_secrets.rs +++ b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/bitwarden_secrets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta6/bitwarden-secrets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta6/bitwarden-secrets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/bitwarden_templates.rs b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/bitwarden_templates.rs index 43aa4aca0..effc42d69 100644 --- a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/bitwarden_templates.rs +++ b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/bitwarden_templates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta6/bitwarden-templates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta6/bitwarden-templates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/registry_credentials.rs b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/registry_credentials.rs index ad8eb09e8..36c5d78d7 100644 --- a/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/registry_credentials.rs +++ b/kube-custom-resources-rs/src/lerentis_uploadfilter24_eu/v1beta6/registry_credentials.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta6/registry-credentials.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Lerentis/bitwarden-crd-operator/lerentis.uploadfilter24.eu/v1beta6/registry-credentials.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/limitador_kuadrant_io/v1alpha1/limitadors.rs b/kube-custom-resources-rs/src/limitador_kuadrant_io/v1alpha1/limitadors.rs index 2c3dacea7..9fcbca5fb 100644 --- a/kube-custom-resources-rs/src/limitador_kuadrant_io/v1alpha1/limitadors.rs +++ b/kube-custom-resources-rs/src/limitador_kuadrant_io/v1alpha1/limitadors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Kuadrant/limitador-operator/limitador.kuadrant.io/v1alpha1/limitadors.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Kuadrant/limitador-operator/limitador.kuadrant.io/v1alpha1/limitadors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// LimitadorSpec defines the desired state of Limitador -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "limitador.kuadrant.io", version = "v1alpha1", kind = "Limitador", plural = "limitadors")] #[kube(namespaced)] #[kube(status = "LimitadorStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct LimitadorSpec { /// Affinity is a group of affinity scheduling rules. @@ -56,7 +57,7 @@ pub struct LimitadorSpec { } /// Affinity is a group of affinity scheduling rules. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -70,7 +71,7 @@ pub struct LimitadorAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -81,7 +82,7 @@ pub struct LimitadorAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: LimitadorAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -90,7 +91,7 @@ pub struct LimitadorAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -101,7 +102,7 @@ pub struct LimitadorAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -113,7 +114,7 @@ pub struct LimitadorAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -125,7 +126,7 @@ pub struct LimitadorAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringEx } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -133,7 +134,7 @@ pub struct LimitadorAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -144,7 +145,7 @@ pub struct LimitadorAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -156,7 +157,7 @@ pub struct LimitadorAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -168,7 +169,7 @@ pub struct LimitadorAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExe } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -179,7 +180,7 @@ pub struct LimitadorAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -189,7 +190,7 @@ pub struct LimitadorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExe } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -206,7 +207,7 @@ pub struct LimitadorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExe } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -217,7 +218,7 @@ pub struct LimitadorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -229,7 +230,7 @@ pub struct LimitadorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExe } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -240,7 +241,7 @@ pub struct LimitadorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -252,7 +253,7 @@ pub struct LimitadorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExe } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -269,7 +270,7 @@ pub struct LimitadorAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExec } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -280,7 +281,7 @@ pub struct LimitadorAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExec } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -292,7 +293,7 @@ pub struct LimitadorAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExec } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -303,7 +304,7 @@ pub struct LimitadorAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExec } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -315,7 +316,7 @@ pub struct LimitadorAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExec } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -326,7 +327,7 @@ pub struct LimitadorAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -336,7 +337,7 @@ pub struct LimitadorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDurin } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -353,7 +354,7 @@ pub struct LimitadorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDurin } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -364,7 +365,7 @@ pub struct LimitadorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDurin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -376,7 +377,7 @@ pub struct LimitadorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDurin } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -387,7 +388,7 @@ pub struct LimitadorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDurin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -399,7 +400,7 @@ pub struct LimitadorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDurin } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -416,7 +417,7 @@ pub struct LimitadorAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuring } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -427,7 +428,7 @@ pub struct LimitadorAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuring } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -439,7 +440,7 @@ pub struct LimitadorAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuring } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -450,7 +451,7 @@ pub struct LimitadorAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuring } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -462,7 +463,7 @@ pub struct LimitadorAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuring } /// RateLimit defines the desired Limitador limit -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorLimits { pub conditions: Vec, pub max_value: i64, @@ -473,7 +474,7 @@ pub struct LimitadorLimits { pub variables: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorListener { #[serde(default, skip_serializing_if = "Option::is_none")] pub grpc: Option, @@ -481,19 +482,19 @@ pub struct LimitadorListener { pub http: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorListenerGrpc { #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorListenerHttp { #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorPdb { /// An eviction is allowed if at most "maxUnavailable" limitador pods are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] @@ -513,7 +514,7 @@ pub enum LimitadorRateLimitHeaders { } /// ResourceRequirements describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorResourceRequirements { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -529,14 +530,14 @@ pub struct LimitadorResourceRequirements { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorResourceRequirementsClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// Storage contains the options for Limitador counters database or in-memory data storage -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorStorage { #[serde(default, skip_serializing_if = "Option::is_none")] pub disk: Option, @@ -546,7 +547,7 @@ pub struct LimitadorStorage { pub redis_cached: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorStorageDisk { /// DiskOptimizeType defines the valid options for "optimize" option of the disk persistence type #[serde(default, skip_serializing_if = "Option::is_none")] @@ -563,7 +564,7 @@ pub enum LimitadorStorageDiskOptimize { Disk, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorStorageDiskPersistentVolumeClaim { /// Resources represents the minimum resources the volume should have. Ignored when VolumeName field is set #[serde(default, skip_serializing_if = "Option::is_none")] @@ -576,13 +577,13 @@ pub struct LimitadorStorageDiskPersistentVolumeClaim { } /// Resources represents the minimum resources the volume should have. Ignored when VolumeName field is set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorStorageDiskPersistentVolumeClaimResources { /// Storage Resource requests to be used on the PersistentVolumeClaim. To learn more about resource requests see: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ pub requests: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorStorageRedis { /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configSecretRef")] @@ -590,14 +591,14 @@ pub struct LimitadorStorageRedis { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorStorageRedisConfigSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorStorageRedisCached { /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configSecretRef")] @@ -607,14 +608,14 @@ pub struct LimitadorStorageRedisCached { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorStorageRedisCachedConfigSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorStorageRedisCachedOptions { /// BatchSize defines the size of entries to flush in as single flush [default: 100] #[serde(default, skip_serializing_if = "Option::is_none", rename = "batch-size")] @@ -639,13 +640,13 @@ pub enum LimitadorTelemetry { Exhaustive, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorTracing { pub endpoint: String, } /// LimitadorStatus defines the observed state of Limitador -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorStatus { /// Represents the observations of a foo's current state. Known .status.conditions.type are: "Ready" #[serde(default, skip_serializing_if = "Option::is_none")] @@ -659,7 +660,7 @@ pub struct LimitadorStatus { } /// Service provides information about the service exposing limitador API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorStatusService { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -667,7 +668,7 @@ pub struct LimitadorStatusService { pub ports: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LimitadorStatusServicePorts { #[serde(default, skip_serializing_if = "Option::is_none")] pub grpc: Option, diff --git a/kube-custom-resources-rs/src/litmuschaos_io/v1alpha1/chaosengines.rs b/kube-custom-resources-rs/src/litmuschaos_io/v1alpha1/chaosengines.rs index df98c2263..049ecfb77 100644 --- a/kube-custom-resources-rs/src/litmuschaos_io/v1alpha1/chaosengines.rs +++ b/kube-custom-resources-rs/src/litmuschaos_io/v1alpha1/chaosengines.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/litmuschaos/chaos-operator/litmuschaos.io/v1alpha1/chaosengines.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/litmuschaos/chaos-operator/litmuschaos.io/v1alpha1/chaosengines.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/litmuschaos_io/v1alpha1/chaosexperiments.rs b/kube-custom-resources-rs/src/litmuschaos_io/v1alpha1/chaosexperiments.rs index ff4cd667f..2d7c65874 100644 --- a/kube-custom-resources-rs/src/litmuschaos_io/v1alpha1/chaosexperiments.rs +++ b/kube-custom-resources-rs/src/litmuschaos_io/v1alpha1/chaosexperiments.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/litmuschaos/chaos-operator/litmuschaos.io/v1alpha1/chaosexperiments.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/litmuschaos/chaos-operator/litmuschaos.io/v1alpha1/chaosexperiments.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/litmuschaos_io/v1alpha1/chaosresults.rs b/kube-custom-resources-rs/src/litmuschaos_io/v1alpha1/chaosresults.rs index 22fd6b315..ef6afa3f7 100644 --- a/kube-custom-resources-rs/src/litmuschaos_io/v1alpha1/chaosresults.rs +++ b/kube-custom-resources-rs/src/litmuschaos_io/v1alpha1/chaosresults.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/litmuschaos/chaos-operator/litmuschaos.io/v1alpha1/chaosresults.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/litmuschaos/chaos-operator/litmuschaos.io/v1alpha1/chaosresults.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/clusterflows.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/clusterflows.rs index c982e61c9..ea91fbacb 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/clusterflows.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/clusterflows.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/clusterflows.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/clusterflows.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/clusteroutputs.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/clusteroutputs.rs index 9baa6a4b7..7cc378179 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/clusteroutputs.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/clusteroutputs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/clusteroutputs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/clusteroutputs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/flows.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/flows.rs index 00b2aa261..48b1dfb01 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/flows.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/flows.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/flows.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/flows.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/loggings.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/loggings.rs index 8019ef15e..41391af32 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/loggings.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/loggings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/loggings.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/loggings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/outputs.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/outputs.rs index 02eefb012..5cccb6e87 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/outputs.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1alpha1/outputs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/outputs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1alpha1/outputs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/clusterflows.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/clusterflows.rs index 545a5ff81..d930f01a4 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/clusterflows.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/clusterflows.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/clusterflows.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/clusterflows.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/clusteroutputs.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/clusteroutputs.rs index ac805ca98..edd8c1fe9 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/clusteroutputs.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/clusteroutputs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/clusteroutputs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/clusteroutputs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/flows.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/flows.rs index aa328ec60..4cd128d9e 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/flows.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/flows.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/flows.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/flows.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/outputs.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/outputs.rs index 73fa23eb8..05d72fd5b 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/outputs.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/outputs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/outputs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/outputs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngclusterflows.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngclusterflows.rs index 69f98e57c..c87b1b76e 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngclusterflows.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngclusterflows.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/syslogngclusterflows.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/syslogngclusterflows.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngclusteroutputs.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngclusteroutputs.rs index 1bb4192ab..80fe4b8d0 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngclusteroutputs.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngclusteroutputs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/syslogngclusteroutputs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/syslogngclusteroutputs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngflows.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngflows.rs index b94571fd5..ecdcfcac6 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngflows.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngflows.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/syslogngflows.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/syslogngflows.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngoutputs.rs b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngoutputs.rs index 49fde4d73..ca8135460 100644 --- a/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngoutputs.rs +++ b/kube-custom-resources-rs/src/logging_banzaicloud_io/v1beta1/syslogngoutputs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/syslogngoutputs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging.banzaicloud.io/v1beta1/syslogngoutputs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/logging_extensions_banzaicloud_io/v1alpha1/hosttailers.rs b/kube-custom-resources-rs/src/logging_extensions_banzaicloud_io/v1alpha1/hosttailers.rs index 6768e39da..0db59a4e2 100644 --- a/kube-custom-resources-rs/src/logging_extensions_banzaicloud_io/v1alpha1/hosttailers.rs +++ b/kube-custom-resources-rs/src/logging_extensions_banzaicloud_io/v1alpha1/hosttailers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging-extensions.banzaicloud.io/v1alpha1/hosttailers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kube-logging/logging-operator/logging-extensions.banzaicloud.io/v1alpha1/hosttailers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/loki_grafana_com/v1/alertingrules.rs b/kube-custom-resources-rs/src/loki_grafana_com/v1/alertingrules.rs index 39354f0f8..7ee025dc1 100644 --- a/kube-custom-resources-rs/src/loki_grafana_com/v1/alertingrules.rs +++ b/kube-custom-resources-rs/src/loki_grafana_com/v1/alertingrules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/loki.grafana.com/v1/alertingrules.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/loki.grafana.com/v1/alertingrules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// AlertingRuleSpec defines the desired state of AlertingRule -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "loki.grafana.com", version = "v1", kind = "AlertingRule", plural = "alertingrules")] #[kube(namespaced)] #[kube(status = "AlertingRuleStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct AlertingRuleSpec { /// List of groups for alerting rules. @@ -28,7 +29,7 @@ pub struct AlertingRuleSpec { } /// AlertingRuleGroup defines a group of Loki alerting rules. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertingRuleGroups { /// Interval defines the time interval between evaluation of the given /// alerting rule. @@ -44,7 +45,7 @@ pub struct AlertingRuleGroups { } /// AlertingRuleGroupSpec defines the spec for a Loki alerting rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertingRuleGroupsRules { /// The name of the alert. Must be a valid label value. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -66,7 +67,7 @@ pub struct AlertingRuleGroupsRules { } /// AlertingRuleStatus defines the observed state of AlertingRule -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertingRuleStatus { /// Conditions of the AlertingRule generation health. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/loki_grafana_com/v1/lokistacks.rs b/kube-custom-resources-rs/src/loki_grafana_com/v1/lokistacks.rs index 9d2e7a8e6..79949595b 100644 --- a/kube-custom-resources-rs/src/loki_grafana_com/v1/lokistacks.rs +++ b/kube-custom-resources-rs/src/loki_grafana_com/v1/lokistacks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/loki.grafana.com/v1/lokistacks.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/loki.grafana.com/v1/lokistacks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -69,7 +69,7 @@ pub struct LokiStackHashRing { } /// MemberList configuration spec -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackHashRingMemberlist { /// EnableIPv6 enables IPv6 support for the memberlist based hash ring. /// @@ -103,7 +103,7 @@ pub enum LokiStackHashRingType { } /// Limits defines the limits to be applied to log stream processing. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackLimits { /// Global defines the limits applied globally across the cluster. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -114,7 +114,7 @@ pub struct LokiStackLimits { } /// Global defines the limits applied globally across the cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackLimitsGlobal { /// IngestionLimits defines the limits applied on ingested log streams. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -128,7 +128,7 @@ pub struct LokiStackLimitsGlobal { } /// IngestionLimits defines the limits applied on ingested log streams. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackLimitsGlobalIngestion { /// IngestionBurstSize defines the local rate-limited sample size per /// distributor replica. It should be set to the set at least to the @@ -170,7 +170,7 @@ pub struct LokiStackLimitsGlobalIngestion { } /// QueryLimits defines the limit applied on querying log streams. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackLimitsGlobalQueries { /// CardinalityLimit defines the cardinality limit for index queries. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cardinalityLimit")] @@ -193,7 +193,7 @@ pub struct LokiStackLimitsGlobalQueries { } /// Retention defines how long logs are kept in storage. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackLimitsGlobalRetention { /// Days contains the number of days logs are kept. pub days: i64, @@ -203,7 +203,7 @@ pub struct LokiStackLimitsGlobalRetention { } /// RetentionStreamSpec defines a log stream with separate retention time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackLimitsGlobalRetentionStreams { /// Days contains the number of days logs are kept. pub days: i64, @@ -215,7 +215,7 @@ pub struct LokiStackLimitsGlobalRetentionStreams { } /// Tenants defines the limits applied per tenant. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackLimitsTenants { /// IngestionLimits defines the limits applied on ingested log streams. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -229,7 +229,7 @@ pub struct LokiStackLimitsTenants { } /// IngestionLimits defines the limits applied on ingested log streams. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackLimitsTenantsIngestion { /// IngestionBurstSize defines the local rate-limited sample size per /// distributor replica. It should be set to the set at least to the @@ -271,7 +271,7 @@ pub struct LokiStackLimitsTenantsIngestion { } /// QueryLimits defines the limit applied on querying log streams. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackLimitsTenantsQueries { /// Blocked defines the list of rules to block matching queries. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -297,7 +297,7 @@ pub struct LokiStackLimitsTenantsQueries { } /// BlockedQuerySpec defines the rule spec for queries to be blocked. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackLimitsTenantsQueriesBlocked { /// Hash is a 32-bit FNV-1 hash of the query string. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -314,7 +314,7 @@ pub struct LokiStackLimitsTenantsQueriesBlocked { } /// Retention defines how long logs are kept in storage. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackLimitsTenantsRetention { /// Days contains the number of days logs are kept. pub days: i64, @@ -324,7 +324,7 @@ pub struct LokiStackLimitsTenantsRetention { } /// RetentionStreamSpec defines a log stream with separate retention time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackLimitsTenantsRetentionStreams { /// Days contains the number of days logs are kept. pub days: i64, @@ -343,7 +343,7 @@ pub enum LokiStackManagementState { } /// Proxy defines the spec for the object proxy to configure cluster proxy information. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackProxy { /// HTTPProxy configures the HTTP_PROXY/http_proxy env variable. #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpProxy")] @@ -357,7 +357,7 @@ pub struct LokiStackProxy { } /// Replication defines the configuration for Loki data replication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackReplication { /// Factor defines the policy for log stream replication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -369,7 +369,7 @@ pub struct LokiStackReplication { } /// ZoneSpec defines the spec to support zone-aware component deployments. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackReplicationZones { /// MaxSkew describes the maximum degree to which Pods can be unevenly distributed. #[serde(rename = "maxSkew")] @@ -380,7 +380,7 @@ pub struct LokiStackReplicationZones { } /// Rules defines the spec for the ruler component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackRules { /// Enabled defines a flag to enable/disable the ruler component pub enabled: bool, @@ -396,7 +396,7 @@ pub struct LokiStackRules { /// Namespaces to be selected for PrometheusRules discovery. If unspecified, only /// the same namespace as the LokiStack object is in is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackRulesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -410,7 +410,7 @@ pub struct LokiStackRulesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackRulesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -427,7 +427,7 @@ pub struct LokiStackRulesNamespaceSelectorMatchExpressions { /// A selector to select which LokiRules to mount for loading alerting/recording /// rules from. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackRulesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -441,7 +441,7 @@ pub struct LokiStackRulesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackRulesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -553,7 +553,7 @@ pub enum LokiStackStorageSecretType { } /// TLS configuration for reaching the object storage endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackStorageTls { /// Key is the data key of a ConfigMap containing a CA certificate. /// It needs to be in the same namespace as the LokiStack custom resource. @@ -567,7 +567,7 @@ pub struct LokiStackStorageTls { } /// Template defines the resource/limits/tolerations/nodeselectors per component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplate { /// Compactor defines the compaction component spec. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -596,7 +596,7 @@ pub struct LokiStackTemplate { } /// Compactor defines the compaction component spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateCompactor { /// NodeSelector defines the labels required by a node to schedule /// the component onto it. @@ -617,7 +617,7 @@ pub struct LokiStackTemplateCompactor { /// PodAntiAffinity defines the pod anti affinity scheduling rules to schedule pods /// of a component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateCompactorPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -642,7 +642,7 @@ pub struct LokiStackTemplateCompactorPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateCompactorPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -653,7 +653,7 @@ pub struct LokiStackTemplateCompactorPodAntiAffinityPreferredDuringSchedulingIgn } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateCompactorPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -681,7 +681,7 @@ pub struct LokiStackTemplateCompactorPodAntiAffinityPreferredDuringSchedulingIgn } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateCompactorPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -695,7 +695,7 @@ pub struct LokiStackTemplateCompactorPodAntiAffinityPreferredDuringSchedulingIgn /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateCompactorPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -715,7 +715,7 @@ pub struct LokiStackTemplateCompactorPodAntiAffinityPreferredDuringSchedulingIgn /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateCompactorPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -729,7 +729,7 @@ pub struct LokiStackTemplateCompactorPodAntiAffinityPreferredDuringSchedulingIgn /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateCompactorPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -750,7 +750,7 @@ pub struct LokiStackTemplateCompactorPodAntiAffinityPreferredDuringSchedulingIgn /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateCompactorPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -778,7 +778,7 @@ pub struct LokiStackTemplateCompactorPodAntiAffinityRequiredDuringSchedulingIgno } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateCompactorPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -792,7 +792,7 @@ pub struct LokiStackTemplateCompactorPodAntiAffinityRequiredDuringSchedulingIgno /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateCompactorPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -812,7 +812,7 @@ pub struct LokiStackTemplateCompactorPodAntiAffinityRequiredDuringSchedulingIgno /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateCompactorPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -826,7 +826,7 @@ pub struct LokiStackTemplateCompactorPodAntiAffinityRequiredDuringSchedulingIgno /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateCompactorPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -843,7 +843,7 @@ pub struct LokiStackTemplateCompactorPodAntiAffinityRequiredDuringSchedulingIgno /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateCompactorTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -872,7 +872,7 @@ pub struct LokiStackTemplateCompactorTolerations { } /// Distributor defines the distributor component spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateDistributor { /// NodeSelector defines the labels required by a node to schedule /// the component onto it. @@ -893,7 +893,7 @@ pub struct LokiStackTemplateDistributor { /// PodAntiAffinity defines the pod anti affinity scheduling rules to schedule pods /// of a component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateDistributorPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -918,7 +918,7 @@ pub struct LokiStackTemplateDistributorPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateDistributorPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -929,7 +929,7 @@ pub struct LokiStackTemplateDistributorPodAntiAffinityPreferredDuringSchedulingI } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateDistributorPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -957,7 +957,7 @@ pub struct LokiStackTemplateDistributorPodAntiAffinityPreferredDuringSchedulingI } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateDistributorPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -971,7 +971,7 @@ pub struct LokiStackTemplateDistributorPodAntiAffinityPreferredDuringSchedulingI /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateDistributorPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -991,7 +991,7 @@ pub struct LokiStackTemplateDistributorPodAntiAffinityPreferredDuringSchedulingI /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateDistributorPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1005,7 +1005,7 @@ pub struct LokiStackTemplateDistributorPodAntiAffinityPreferredDuringSchedulingI /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateDistributorPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1026,7 +1026,7 @@ pub struct LokiStackTemplateDistributorPodAntiAffinityPreferredDuringSchedulingI /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateDistributorPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1054,7 +1054,7 @@ pub struct LokiStackTemplateDistributorPodAntiAffinityRequiredDuringSchedulingIg } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateDistributorPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1068,7 +1068,7 @@ pub struct LokiStackTemplateDistributorPodAntiAffinityRequiredDuringSchedulingIg /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateDistributorPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1088,7 +1088,7 @@ pub struct LokiStackTemplateDistributorPodAntiAffinityRequiredDuringSchedulingIg /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateDistributorPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1102,7 +1102,7 @@ pub struct LokiStackTemplateDistributorPodAntiAffinityRequiredDuringSchedulingIg /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateDistributorPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1119,7 +1119,7 @@ pub struct LokiStackTemplateDistributorPodAntiAffinityRequiredDuringSchedulingIg /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateDistributorTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -1148,7 +1148,7 @@ pub struct LokiStackTemplateDistributorTolerations { } /// Gateway defines the lokistack gateway component spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateGateway { /// NodeSelector defines the labels required by a node to schedule /// the component onto it. @@ -1169,7 +1169,7 @@ pub struct LokiStackTemplateGateway { /// PodAntiAffinity defines the pod anti affinity scheduling rules to schedule pods /// of a component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateGatewayPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -1194,7 +1194,7 @@ pub struct LokiStackTemplateGatewayPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateGatewayPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1205,7 +1205,7 @@ pub struct LokiStackTemplateGatewayPodAntiAffinityPreferredDuringSchedulingIgnor } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateGatewayPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1233,7 +1233,7 @@ pub struct LokiStackTemplateGatewayPodAntiAffinityPreferredDuringSchedulingIgnor } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateGatewayPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1247,7 +1247,7 @@ pub struct LokiStackTemplateGatewayPodAntiAffinityPreferredDuringSchedulingIgnor /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateGatewayPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1267,7 +1267,7 @@ pub struct LokiStackTemplateGatewayPodAntiAffinityPreferredDuringSchedulingIgnor /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateGatewayPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1281,7 +1281,7 @@ pub struct LokiStackTemplateGatewayPodAntiAffinityPreferredDuringSchedulingIgnor /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateGatewayPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1302,7 +1302,7 @@ pub struct LokiStackTemplateGatewayPodAntiAffinityPreferredDuringSchedulingIgnor /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateGatewayPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1330,7 +1330,7 @@ pub struct LokiStackTemplateGatewayPodAntiAffinityRequiredDuringSchedulingIgnore } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateGatewayPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1344,7 +1344,7 @@ pub struct LokiStackTemplateGatewayPodAntiAffinityRequiredDuringSchedulingIgnore /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateGatewayPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1364,7 +1364,7 @@ pub struct LokiStackTemplateGatewayPodAntiAffinityRequiredDuringSchedulingIgnore /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateGatewayPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1378,7 +1378,7 @@ pub struct LokiStackTemplateGatewayPodAntiAffinityRequiredDuringSchedulingIgnore /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateGatewayPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1395,7 +1395,7 @@ pub struct LokiStackTemplateGatewayPodAntiAffinityRequiredDuringSchedulingIgnore /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateGatewayTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -1424,7 +1424,7 @@ pub struct LokiStackTemplateGatewayTolerations { } /// IndexGateway defines the index gateway component spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIndexGateway { /// NodeSelector defines the labels required by a node to schedule /// the component onto it. @@ -1445,7 +1445,7 @@ pub struct LokiStackTemplateIndexGateway { /// PodAntiAffinity defines the pod anti affinity scheduling rules to schedule pods /// of a component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIndexGatewayPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -1470,7 +1470,7 @@ pub struct LokiStackTemplateIndexGatewayPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIndexGatewayPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1481,7 +1481,7 @@ pub struct LokiStackTemplateIndexGatewayPodAntiAffinityPreferredDuringScheduling } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIndexGatewayPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1509,7 +1509,7 @@ pub struct LokiStackTemplateIndexGatewayPodAntiAffinityPreferredDuringScheduling } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIndexGatewayPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1523,7 +1523,7 @@ pub struct LokiStackTemplateIndexGatewayPodAntiAffinityPreferredDuringScheduling /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIndexGatewayPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1543,7 +1543,7 @@ pub struct LokiStackTemplateIndexGatewayPodAntiAffinityPreferredDuringScheduling /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIndexGatewayPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1557,7 +1557,7 @@ pub struct LokiStackTemplateIndexGatewayPodAntiAffinityPreferredDuringScheduling /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIndexGatewayPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1578,7 +1578,7 @@ pub struct LokiStackTemplateIndexGatewayPodAntiAffinityPreferredDuringScheduling /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIndexGatewayPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1606,7 +1606,7 @@ pub struct LokiStackTemplateIndexGatewayPodAntiAffinityRequiredDuringSchedulingI } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIndexGatewayPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1620,7 +1620,7 @@ pub struct LokiStackTemplateIndexGatewayPodAntiAffinityRequiredDuringSchedulingI /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIndexGatewayPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1640,7 +1640,7 @@ pub struct LokiStackTemplateIndexGatewayPodAntiAffinityRequiredDuringSchedulingI /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIndexGatewayPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1654,7 +1654,7 @@ pub struct LokiStackTemplateIndexGatewayPodAntiAffinityRequiredDuringSchedulingI /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIndexGatewayPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1671,7 +1671,7 @@ pub struct LokiStackTemplateIndexGatewayPodAntiAffinityRequiredDuringSchedulingI /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIndexGatewayTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -1700,7 +1700,7 @@ pub struct LokiStackTemplateIndexGatewayTolerations { } /// Ingester defines the ingester component spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIngester { /// NodeSelector defines the labels required by a node to schedule /// the component onto it. @@ -1721,7 +1721,7 @@ pub struct LokiStackTemplateIngester { /// PodAntiAffinity defines the pod anti affinity scheduling rules to schedule pods /// of a component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIngesterPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -1746,7 +1746,7 @@ pub struct LokiStackTemplateIngesterPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIngesterPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1757,7 +1757,7 @@ pub struct LokiStackTemplateIngesterPodAntiAffinityPreferredDuringSchedulingIgno } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIngesterPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1785,7 +1785,7 @@ pub struct LokiStackTemplateIngesterPodAntiAffinityPreferredDuringSchedulingIgno } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIngesterPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1799,7 +1799,7 @@ pub struct LokiStackTemplateIngesterPodAntiAffinityPreferredDuringSchedulingIgno /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIngesterPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1819,7 +1819,7 @@ pub struct LokiStackTemplateIngesterPodAntiAffinityPreferredDuringSchedulingIgno /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIngesterPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1833,7 +1833,7 @@ pub struct LokiStackTemplateIngesterPodAntiAffinityPreferredDuringSchedulingIgno /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIngesterPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1854,7 +1854,7 @@ pub struct LokiStackTemplateIngesterPodAntiAffinityPreferredDuringSchedulingIgno /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIngesterPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1882,7 +1882,7 @@ pub struct LokiStackTemplateIngesterPodAntiAffinityRequiredDuringSchedulingIgnor } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIngesterPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1896,7 +1896,7 @@ pub struct LokiStackTemplateIngesterPodAntiAffinityRequiredDuringSchedulingIgnor /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIngesterPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1916,7 +1916,7 @@ pub struct LokiStackTemplateIngesterPodAntiAffinityRequiredDuringSchedulingIgnor /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIngesterPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1930,7 +1930,7 @@ pub struct LokiStackTemplateIngesterPodAntiAffinityRequiredDuringSchedulingIgnor /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIngesterPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1947,7 +1947,7 @@ pub struct LokiStackTemplateIngesterPodAntiAffinityRequiredDuringSchedulingIgnor /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIngesterTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -1976,7 +1976,7 @@ pub struct LokiStackTemplateIngesterTolerations { } /// Querier defines the querier component spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQuerier { /// NodeSelector defines the labels required by a node to schedule /// the component onto it. @@ -1997,7 +1997,7 @@ pub struct LokiStackTemplateQuerier { /// PodAntiAffinity defines the pod anti affinity scheduling rules to schedule pods /// of a component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQuerierPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -2022,7 +2022,7 @@ pub struct LokiStackTemplateQuerierPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQuerierPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -2033,7 +2033,7 @@ pub struct LokiStackTemplateQuerierPodAntiAffinityPreferredDuringSchedulingIgnor } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQuerierPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2061,7 +2061,7 @@ pub struct LokiStackTemplateQuerierPodAntiAffinityPreferredDuringSchedulingIgnor } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQuerierPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2075,7 +2075,7 @@ pub struct LokiStackTemplateQuerierPodAntiAffinityPreferredDuringSchedulingIgnor /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQuerierPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2095,7 +2095,7 @@ pub struct LokiStackTemplateQuerierPodAntiAffinityPreferredDuringSchedulingIgnor /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQuerierPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2109,7 +2109,7 @@ pub struct LokiStackTemplateQuerierPodAntiAffinityPreferredDuringSchedulingIgnor /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQuerierPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2130,7 +2130,7 @@ pub struct LokiStackTemplateQuerierPodAntiAffinityPreferredDuringSchedulingIgnor /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQuerierPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2158,7 +2158,7 @@ pub struct LokiStackTemplateQuerierPodAntiAffinityRequiredDuringSchedulingIgnore } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQuerierPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2172,7 +2172,7 @@ pub struct LokiStackTemplateQuerierPodAntiAffinityRequiredDuringSchedulingIgnore /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQuerierPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2192,7 +2192,7 @@ pub struct LokiStackTemplateQuerierPodAntiAffinityRequiredDuringSchedulingIgnore /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQuerierPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2206,7 +2206,7 @@ pub struct LokiStackTemplateQuerierPodAntiAffinityRequiredDuringSchedulingIgnore /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQuerierPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2223,7 +2223,7 @@ pub struct LokiStackTemplateQuerierPodAntiAffinityRequiredDuringSchedulingIgnore /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQuerierTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -2252,7 +2252,7 @@ pub struct LokiStackTemplateQuerierTolerations { } /// QueryFrontend defines the query frontend component spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQueryFrontend { /// NodeSelector defines the labels required by a node to schedule /// the component onto it. @@ -2273,7 +2273,7 @@ pub struct LokiStackTemplateQueryFrontend { /// PodAntiAffinity defines the pod anti affinity scheduling rules to schedule pods /// of a component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQueryFrontendPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -2298,7 +2298,7 @@ pub struct LokiStackTemplateQueryFrontendPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQueryFrontendPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -2309,7 +2309,7 @@ pub struct LokiStackTemplateQueryFrontendPodAntiAffinityPreferredDuringSchedulin } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQueryFrontendPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2337,7 +2337,7 @@ pub struct LokiStackTemplateQueryFrontendPodAntiAffinityPreferredDuringSchedulin } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQueryFrontendPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2351,7 +2351,7 @@ pub struct LokiStackTemplateQueryFrontendPodAntiAffinityPreferredDuringSchedulin /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQueryFrontendPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2371,7 +2371,7 @@ pub struct LokiStackTemplateQueryFrontendPodAntiAffinityPreferredDuringSchedulin /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQueryFrontendPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2385,7 +2385,7 @@ pub struct LokiStackTemplateQueryFrontendPodAntiAffinityPreferredDuringSchedulin /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQueryFrontendPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2406,7 +2406,7 @@ pub struct LokiStackTemplateQueryFrontendPodAntiAffinityPreferredDuringSchedulin /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQueryFrontendPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2434,7 +2434,7 @@ pub struct LokiStackTemplateQueryFrontendPodAntiAffinityRequiredDuringScheduling } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQueryFrontendPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2448,7 +2448,7 @@ pub struct LokiStackTemplateQueryFrontendPodAntiAffinityRequiredDuringScheduling /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQueryFrontendPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2468,7 +2468,7 @@ pub struct LokiStackTemplateQueryFrontendPodAntiAffinityRequiredDuringScheduling /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQueryFrontendPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2482,7 +2482,7 @@ pub struct LokiStackTemplateQueryFrontendPodAntiAffinityRequiredDuringScheduling /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQueryFrontendPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2499,7 +2499,7 @@ pub struct LokiStackTemplateQueryFrontendPodAntiAffinityRequiredDuringScheduling /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQueryFrontendTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -2528,7 +2528,7 @@ pub struct LokiStackTemplateQueryFrontendTolerations { } /// Ruler defines the ruler component spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateRuler { /// NodeSelector defines the labels required by a node to schedule /// the component onto it. @@ -2549,7 +2549,7 @@ pub struct LokiStackTemplateRuler { /// PodAntiAffinity defines the pod anti affinity scheduling rules to schedule pods /// of a component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateRulerPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -2574,7 +2574,7 @@ pub struct LokiStackTemplateRulerPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateRulerPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -2585,7 +2585,7 @@ pub struct LokiStackTemplateRulerPodAntiAffinityPreferredDuringSchedulingIgnored } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateRulerPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2613,7 +2613,7 @@ pub struct LokiStackTemplateRulerPodAntiAffinityPreferredDuringSchedulingIgnored } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateRulerPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2627,7 +2627,7 @@ pub struct LokiStackTemplateRulerPodAntiAffinityPreferredDuringSchedulingIgnored /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateRulerPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2647,7 +2647,7 @@ pub struct LokiStackTemplateRulerPodAntiAffinityPreferredDuringSchedulingIgnored /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateRulerPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2661,7 +2661,7 @@ pub struct LokiStackTemplateRulerPodAntiAffinityPreferredDuringSchedulingIgnored /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateRulerPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2682,7 +2682,7 @@ pub struct LokiStackTemplateRulerPodAntiAffinityPreferredDuringSchedulingIgnored /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateRulerPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2710,7 +2710,7 @@ pub struct LokiStackTemplateRulerPodAntiAffinityRequiredDuringSchedulingIgnoredD } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateRulerPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2724,7 +2724,7 @@ pub struct LokiStackTemplateRulerPodAntiAffinityRequiredDuringSchedulingIgnoredD /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateRulerPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2744,7 +2744,7 @@ pub struct LokiStackTemplateRulerPodAntiAffinityRequiredDuringSchedulingIgnoredD /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateRulerPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2758,7 +2758,7 @@ pub struct LokiStackTemplateRulerPodAntiAffinityRequiredDuringSchedulingIgnoredD /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateRulerPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2775,7 +2775,7 @@ pub struct LokiStackTemplateRulerPodAntiAffinityRequiredDuringSchedulingIgnoredD /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateRulerTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -2820,7 +2820,7 @@ pub struct LokiStackTenants { } /// AuthenticationSpec defines the oidc configuration per tenant for lokiStack Gateway component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTenantsAuthentication { /// TLSConfig defines the spec for the mTLS tenant's authentication. #[serde(default, skip_serializing_if = "Option::is_none", rename = "mTLS")] @@ -2837,14 +2837,14 @@ pub struct LokiStackTenantsAuthentication { } /// TLSConfig defines the spec for the mTLS tenant's authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTenantsAuthenticationMTls { /// CA defines the spec for the custom CA for tenant's authentication. pub ca: LokiStackTenantsAuthenticationMTlsCa, } /// CA defines the spec for the custom CA for tenant's authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTenantsAuthenticationMTlsCa { /// Key is the data key of a ConfigMap containing a CA certificate. /// It needs to be in the same namespace as the LokiStack custom resource. @@ -2858,7 +2858,7 @@ pub struct LokiStackTenantsAuthenticationMTlsCa { } /// OIDC defines the spec for the OIDC tenant's authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTenantsAuthenticationOidc { /// Group claim field from ID Token #[serde(default, skip_serializing_if = "Option::is_none", rename = "groupClaim")] @@ -2880,7 +2880,7 @@ pub struct LokiStackTenantsAuthenticationOidc { } /// IssuerCA defines the spec for the issuer CA for tenant's authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTenantsAuthenticationOidcIssuerCa { /// Key is the data key of a ConfigMap containing a CA certificate. /// It needs to be in the same namespace as the LokiStack custom resource. @@ -2894,14 +2894,14 @@ pub struct LokiStackTenantsAuthenticationOidcIssuerCa { } /// Secret defines the spec for the clientID and clientSecret for tenant's authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTenantsAuthenticationOidcSecret { /// Name of a secret in the namespace configured for tenant secrets. pub name: String, } /// Authorization defines the lokistack-gateway component authorization configuration spec per tenant. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTenantsAuthorization { /// OPA defines the spec for the third-party endpoint for tenant's authorization. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2915,14 +2915,14 @@ pub struct LokiStackTenantsAuthorization { } /// OPA defines the spec for the third-party endpoint for tenant's authorization. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTenantsAuthorizationOpa { /// URL defines the third-party endpoint for authorization. pub url: String, } /// RoleBindingsSpec binds a set of roles to a set of subjects. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTenantsAuthorizationRoleBindings { pub name: String, pub roles: Vec, @@ -2947,7 +2947,7 @@ pub enum LokiStackTenantsAuthorizationRoleBindingsSubjectsKind { } /// RoleSpec describes a set of permissions to interact with a tenant. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTenantsAuthorizationRoles { pub name: String, pub permissions: Vec, @@ -2969,7 +2969,7 @@ pub enum LokiStackTenantsMode { } /// Openshift defines the configuration specific to Openshift modes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTenantsOpenshift { /// AdminGroups defines a list of groups, whose members are considered to have admin-privileges by the Loki Operator. /// Setting this to an empty array disables admin groups. @@ -2984,7 +2984,7 @@ pub struct LokiStackTenantsOpenshift { } /// LokiStack CR spec Status. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackStatus { /// Components provides summary of all Loki pod status grouped /// per component. @@ -3001,7 +3001,7 @@ pub struct LokiStackStatus { /// Components provides summary of all Loki pod status grouped /// per component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackStatusComponents { /// Compactor is a map to the pod status of the compactor pod. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3031,7 +3031,7 @@ pub struct LokiStackStatusComponents { /// Storage provides summary of all changes that have occurred /// to the storage configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackStatusStorage { /// CredentialMode contains the authentication mode used for accessing the object storage. #[serde(default, skip_serializing_if = "Option::is_none", rename = "credentialMode")] diff --git a/kube-custom-resources-rs/src/loki_grafana_com/v1/recordingrules.rs b/kube-custom-resources-rs/src/loki_grafana_com/v1/recordingrules.rs index 5efbe5d32..01a373000 100644 --- a/kube-custom-resources-rs/src/loki_grafana_com/v1/recordingrules.rs +++ b/kube-custom-resources-rs/src/loki_grafana_com/v1/recordingrules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/loki.grafana.com/v1/recordingrules.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/loki.grafana.com/v1/recordingrules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// RecordingRuleSpec defines the desired state of RecordingRule -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "loki.grafana.com", version = "v1", kind = "RecordingRule", plural = "recordingrules")] #[kube(namespaced)] #[kube(status = "RecordingRuleStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct RecordingRuleSpec { /// List of groups for recording rules. @@ -28,7 +29,7 @@ pub struct RecordingRuleSpec { } /// RecordingRuleGroup defines a group of Loki recording rules. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RecordingRuleGroups { /// Interval defines the time interval between evaluation of the given /// recoding rule. @@ -44,7 +45,7 @@ pub struct RecordingRuleGroups { } /// RecordingRuleGroupSpec defines the spec for a Loki recording rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RecordingRuleGroupsRules { /// The LogQL expression to evaluate. Every evaluation cycle this is /// evaluated at the current time, and all resultant time series become @@ -59,7 +60,7 @@ pub struct RecordingRuleGroupsRules { } /// RecordingRuleStatus defines the observed state of RecordingRule -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RecordingRuleStatus { /// Conditions of the RecordingRule generation health. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/loki_grafana_com/v1/rulerconfigs.rs b/kube-custom-resources-rs/src/loki_grafana_com/v1/rulerconfigs.rs index 5d0a01b10..20dec38a6 100644 --- a/kube-custom-resources-rs/src/loki_grafana_com/v1/rulerconfigs.rs +++ b/kube-custom-resources-rs/src/loki_grafana_com/v1/rulerconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/loki.grafana.com/v1/rulerconfigs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/loki.grafana.com/v1/rulerconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// RulerConfigSpec defines the desired state of Ruler -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "loki.grafana.com", version = "v1", kind = "RulerConfig", plural = "rulerconfigs")] #[kube(namespaced)] #[kube(status = "RulerConfigStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct RulerConfigSpec { /// Defines alert manager configuration to notify on firing alerts. @@ -37,7 +38,7 @@ pub struct RulerConfigSpec { } /// Defines alert manager configuration to notify on firing alerts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigAlertmanager { /// Client configuration for reaching the alertmanager endpoint. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -67,7 +68,7 @@ pub struct RulerConfigAlertmanager { } /// Client configuration for reaching the alertmanager endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigAlertmanagerClient { /// Basic authentication configuration for reaching the alertmanager endpoints. #[serde(default, skip_serializing_if = "Option::is_none", rename = "basicAuth")] @@ -81,7 +82,7 @@ pub struct RulerConfigAlertmanagerClient { } /// Basic authentication configuration for reaching the alertmanager endpoints. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigAlertmanagerClientBasicAuth { /// The subject's password for the basic authentication configuration. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -92,7 +93,7 @@ pub struct RulerConfigAlertmanagerClientBasicAuth { } /// Header authentication configuration for reaching the alertmanager endpoints. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigAlertmanagerClientHeaderAuth { /// The credentials for the header authentication configuration. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -106,7 +107,7 @@ pub struct RulerConfigAlertmanagerClientHeaderAuth { } /// TLS configuration for reaching the alertmanager endpoints. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigAlertmanagerClientTls { /// The CA certificate file path for the TLS configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "caPath")] @@ -123,7 +124,7 @@ pub struct RulerConfigAlertmanagerClientTls { } /// Defines the configuration for DNS-based discovery of AlertManager hosts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigAlertmanagerDiscovery { /// Use DNS SRV records to discover Alertmanager hosts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "enableSRV")] @@ -134,7 +135,7 @@ pub struct RulerConfigAlertmanagerDiscovery { } /// Defines the configuration for the notification queue to AlertManager hosts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigAlertmanagerNotificationQueue { /// Capacity of the queue for notifications to be sent to the Alertmanager. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -157,7 +158,7 @@ pub struct RulerConfigAlertmanagerNotificationQueue { /// RelabelConfig allows dynamic rewriting of the label set, being applied to samples before ingestion. /// It defines `` and `` sections of Prometheus configuration. /// More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigAlertmanagerRelabelConfigs { /// Action to perform based on regex matching. Default is 'replace' #[serde(default, skip_serializing_if = "Option::is_none")] @@ -208,7 +209,7 @@ pub enum RulerConfigAlertmanagerRelabelConfigsAction { } /// Overrides defines the config overrides to be applied per-tenant. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigOverrides { /// AlertManagerOverrides defines the overrides to apply to the alertmanager config. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -216,7 +217,7 @@ pub struct RulerConfigOverrides { } /// AlertManagerOverrides defines the overrides to apply to the alertmanager config. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigOverridesAlertmanager { /// Client configuration for reaching the alertmanager endpoint. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -246,7 +247,7 @@ pub struct RulerConfigOverridesAlertmanager { } /// Client configuration for reaching the alertmanager endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigOverridesAlertmanagerClient { /// Basic authentication configuration for reaching the alertmanager endpoints. #[serde(default, skip_serializing_if = "Option::is_none", rename = "basicAuth")] @@ -260,7 +261,7 @@ pub struct RulerConfigOverridesAlertmanagerClient { } /// Basic authentication configuration for reaching the alertmanager endpoints. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigOverridesAlertmanagerClientBasicAuth { /// The subject's password for the basic authentication configuration. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -271,7 +272,7 @@ pub struct RulerConfigOverridesAlertmanagerClientBasicAuth { } /// Header authentication configuration for reaching the alertmanager endpoints. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigOverridesAlertmanagerClientHeaderAuth { /// The credentials for the header authentication configuration. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -285,7 +286,7 @@ pub struct RulerConfigOverridesAlertmanagerClientHeaderAuth { } /// TLS configuration for reaching the alertmanager endpoints. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigOverridesAlertmanagerClientTls { /// The CA certificate file path for the TLS configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "caPath")] @@ -302,7 +303,7 @@ pub struct RulerConfigOverridesAlertmanagerClientTls { } /// Defines the configuration for DNS-based discovery of AlertManager hosts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigOverridesAlertmanagerDiscovery { /// Use DNS SRV records to discover Alertmanager hosts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "enableSRV")] @@ -313,7 +314,7 @@ pub struct RulerConfigOverridesAlertmanagerDiscovery { } /// Defines the configuration for the notification queue to AlertManager hosts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigOverridesAlertmanagerNotificationQueue { /// Capacity of the queue for notifications to be sent to the Alertmanager. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -336,7 +337,7 @@ pub struct RulerConfigOverridesAlertmanagerNotificationQueue { /// RelabelConfig allows dynamic rewriting of the label set, being applied to samples before ingestion. /// It defines `` and `` sections of Prometheus configuration. /// More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigOverridesAlertmanagerRelabelConfigs { /// Action to perform based on regex matching. Default is 'replace' #[serde(default, skip_serializing_if = "Option::is_none")] @@ -387,7 +388,7 @@ pub enum RulerConfigOverridesAlertmanagerRelabelConfigsAction { } /// Defines a remote write endpoint to write recording rule metrics. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigRemoteWrite { /// Defines the configuration for remote write client. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -444,7 +445,7 @@ pub enum RulerConfigRemoteWriteClientAuthorization { /// RelabelConfig allows dynamic rewriting of the label set, being applied to samples before ingestion. /// It defines `` and `` sections of Prometheus configuration. /// More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigRemoteWriteClientRelabelConfigs { /// Action to perform based on regex matching. Default is 'replace' #[serde(default, skip_serializing_if = "Option::is_none")] @@ -495,7 +496,7 @@ pub enum RulerConfigRemoteWriteClientRelabelConfigsAction { } /// Defines the configuration for remote write client queue. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigRemoteWriteQueue { /// Maximum time a sample will wait in buffer. #[serde(default, skip_serializing_if = "Option::is_none", rename = "batchSendDeadline")] @@ -521,7 +522,7 @@ pub struct RulerConfigRemoteWriteQueue { } /// RulerConfigStatus defines the observed state of RulerConfig -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigStatus { /// Conditions of the RulerConfig health. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/alertingrules.rs b/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/alertingrules.rs index bdd521c63..661563ac0 100644 --- a/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/alertingrules.rs +++ b/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/alertingrules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/loki.grafana.com/v1beta1/alertingrules.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/loki.grafana.com/v1beta1/alertingrules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// AlertingRuleSpec defines the desired state of AlertingRule -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "loki.grafana.com", version = "v1beta1", kind = "AlertingRule", plural = "alertingrules")] #[kube(namespaced)] #[kube(status = "AlertingRuleStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct AlertingRuleSpec { /// List of groups for alerting rules. @@ -28,7 +29,7 @@ pub struct AlertingRuleSpec { } /// AlertingRuleGroup defines a group of Loki alerting rules. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertingRuleGroups { /// Interval defines the time interval between evaluation of the given /// alerting rule. @@ -44,7 +45,7 @@ pub struct AlertingRuleGroups { } /// AlertingRuleGroupSpec defines the spec for a Loki alerting rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertingRuleGroupsRules { /// The name of the alert. Must be a valid label value. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -66,7 +67,7 @@ pub struct AlertingRuleGroupsRules { } /// AlertingRuleStatus defines the observed state of AlertingRule -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertingRuleStatus { /// Conditions of the AlertingRule generation health. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/lokistacks.rs b/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/lokistacks.rs index ae41a037a..70371c2c6 100644 --- a/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/lokistacks.rs +++ b/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/lokistacks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/loki.grafana.com/v1beta1/lokistacks.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/loki.grafana.com/v1beta1/lokistacks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -48,7 +48,7 @@ pub struct LokiStackSpec { } /// Limits defines the per-tenant limits to be applied to log stream processing and the per-tenant the config overrides. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackLimits { /// Global defines the limits applied globally across the cluster. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -59,7 +59,7 @@ pub struct LokiStackLimits { } /// Global defines the limits applied globally across the cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackLimitsGlobal { /// IngestionLimits defines the limits applied on ingested log streams. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -70,7 +70,7 @@ pub struct LokiStackLimitsGlobal { } /// IngestionLimits defines the limits applied on ingested log streams. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackLimitsGlobalIngestion { /// IngestionBurstSize defines the local rate-limited sample size per /// distributor replica. It should be set to the set at least to the @@ -102,7 +102,7 @@ pub struct LokiStackLimitsGlobalIngestion { } /// QueryLimits defines the limit applied on querying log streams. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackLimitsGlobalQueries { /// MaxChunksPerQuery defines the maximum number of chunks /// that can be fetched by a single query. @@ -119,7 +119,7 @@ pub struct LokiStackLimitsGlobalQueries { } /// Tenants defines the limits and overrides applied per tenant. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackLimitsTenants { /// IngestionLimits defines the limits applied on ingested log streams. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -130,7 +130,7 @@ pub struct LokiStackLimitsTenants { } /// IngestionLimits defines the limits applied on ingested log streams. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackLimitsTenantsIngestion { /// IngestionBurstSize defines the local rate-limited sample size per /// distributor replica. It should be set to the set at least to the @@ -162,7 +162,7 @@ pub struct LokiStackLimitsTenantsIngestion { } /// QueryLimits defines the limit applied on querying log streams. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackLimitsTenantsQueries { /// MaxChunksPerQuery defines the maximum number of chunks /// that can be fetched by a single query. @@ -186,7 +186,7 @@ pub enum LokiStackManagementState { } /// Rules defines the spec for the ruler component -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackRules { /// Enabled defines a flag to enable/disable the ruler component pub enabled: bool, @@ -202,7 +202,7 @@ pub struct LokiStackRules { /// Namespaces to be selected for PrometheusRules discovery. If unspecified, only /// the same namespace as the LokiStack object is in is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackRulesNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -216,7 +216,7 @@ pub struct LokiStackRulesNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackRulesNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -233,7 +233,7 @@ pub struct LokiStackRulesNamespaceSelectorMatchExpressions { /// A selector to select which LokiRules to mount for loading alerting/recording /// rules from. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackRulesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -247,7 +247,7 @@ pub struct LokiStackRulesSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackRulesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -336,7 +336,7 @@ pub enum LokiStackStorageSecretType { } /// TLS configuration for reaching the object storage endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackStorageTls { /// CA is the name of a ConfigMap containing a CA certificate. /// It needs to be in the same namespace as the LokiStack custom resource. @@ -345,7 +345,7 @@ pub struct LokiStackStorageTls { } /// Template defines the resource/limits/tolerations/nodeselectors per component -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplate { /// Compactor defines the compaction component spec. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -374,7 +374,7 @@ pub struct LokiStackTemplate { } /// Compactor defines the compaction component spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateCompactor { /// NodeSelector defines the labels required by a node to schedule /// the component onto it. @@ -391,7 +391,7 @@ pub struct LokiStackTemplateCompactor { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateCompactorTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -420,7 +420,7 @@ pub struct LokiStackTemplateCompactorTolerations { } /// Distributor defines the distributor component spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateDistributor { /// NodeSelector defines the labels required by a node to schedule /// the component onto it. @@ -437,7 +437,7 @@ pub struct LokiStackTemplateDistributor { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateDistributorTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -466,7 +466,7 @@ pub struct LokiStackTemplateDistributorTolerations { } /// Gateway defines the lokistack gateway component spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateGateway { /// NodeSelector defines the labels required by a node to schedule /// the component onto it. @@ -483,7 +483,7 @@ pub struct LokiStackTemplateGateway { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateGatewayTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -512,7 +512,7 @@ pub struct LokiStackTemplateGatewayTolerations { } /// IndexGateway defines the index gateway component spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIndexGateway { /// NodeSelector defines the labels required by a node to schedule /// the component onto it. @@ -529,7 +529,7 @@ pub struct LokiStackTemplateIndexGateway { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIndexGatewayTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -558,7 +558,7 @@ pub struct LokiStackTemplateIndexGatewayTolerations { } /// Ingester defines the ingester component spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIngester { /// NodeSelector defines the labels required by a node to schedule /// the component onto it. @@ -575,7 +575,7 @@ pub struct LokiStackTemplateIngester { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateIngesterTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -604,7 +604,7 @@ pub struct LokiStackTemplateIngesterTolerations { } /// Querier defines the querier component spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQuerier { /// NodeSelector defines the labels required by a node to schedule /// the component onto it. @@ -621,7 +621,7 @@ pub struct LokiStackTemplateQuerier { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQuerierTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -650,7 +650,7 @@ pub struct LokiStackTemplateQuerierTolerations { } /// QueryFrontend defines the query frontend component spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQueryFrontend { /// NodeSelector defines the labels required by a node to schedule /// the component onto it. @@ -667,7 +667,7 @@ pub struct LokiStackTemplateQueryFrontend { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateQueryFrontendTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -696,7 +696,7 @@ pub struct LokiStackTemplateQueryFrontendTolerations { } /// Ruler defines the ruler component spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateRuler { /// NodeSelector defines the labels required by a node to schedule /// the component onto it. @@ -713,7 +713,7 @@ pub struct LokiStackTemplateRuler { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTemplateRulerTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -755,7 +755,7 @@ pub struct LokiStackTenants { } /// AuthenticationSpec defines the oidc configuration per tenant for lokiStack Gateway component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTenantsAuthentication { /// OIDC defines the spec for the OIDC tenant's authentication. pub oidc: LokiStackTenantsAuthenticationOidc, @@ -768,7 +768,7 @@ pub struct LokiStackTenantsAuthentication { } /// OIDC defines the spec for the OIDC tenant's authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTenantsAuthenticationOidc { /// Group claim field from ID Token #[serde(default, skip_serializing_if = "Option::is_none", rename = "groupClaim")] @@ -787,14 +787,14 @@ pub struct LokiStackTenantsAuthenticationOidc { } /// Secret defines the spec for the clientID, clientSecret and issuerCAPath for tenant's authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTenantsAuthenticationOidcSecret { /// Name of a secret in the namespace configured for tenant secrets. pub name: String, } /// Authorization defines the lokistack-gateway component authorization configuration spec per tenant. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTenantsAuthorization { /// OPA defines the spec for the third-party endpoint for tenant's authorization. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -808,14 +808,14 @@ pub struct LokiStackTenantsAuthorization { } /// OPA defines the spec for the third-party endpoint for tenant's authorization. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTenantsAuthorizationOpa { /// URL defines the third-party endpoint for authorization. pub url: String, } /// RoleBindingsSpec binds a set of roles to a set of subjects. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTenantsAuthorizationRoleBindings { pub name: String, pub roles: Vec, @@ -840,7 +840,7 @@ pub enum LokiStackTenantsAuthorizationRoleBindingsSubjectsKind { } /// RoleSpec describes a set of permissions to interact with a tenant. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackTenantsAuthorizationRoles { pub name: String, pub permissions: Vec, @@ -860,7 +860,7 @@ pub enum LokiStackTenantsMode { } /// LokiStackStatus defines the observed state of LokiStack -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackStatus { /// Components provides summary of all Loki pod status grouped /// per component. @@ -877,7 +877,7 @@ pub struct LokiStackStatus { /// Components provides summary of all Loki pod status grouped /// per component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackStatusComponents { /// Compactor is a map to the pod status of the compactor pod. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -907,7 +907,7 @@ pub struct LokiStackStatusComponents { /// Storage provides summary of all changes that have occurred /// to the storage configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LokiStackStatusStorage { /// Schemas is a list of schemas which have been applied /// to the LokiStack. diff --git a/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/recordingrules.rs b/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/recordingrules.rs index 3675b9b67..c20d2b7b2 100644 --- a/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/recordingrules.rs +++ b/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/recordingrules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/loki.grafana.com/v1beta1/recordingrules.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/loki.grafana.com/v1beta1/recordingrules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// RecordingRuleSpec defines the desired state of RecordingRule -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "loki.grafana.com", version = "v1beta1", kind = "RecordingRule", plural = "recordingrules")] #[kube(namespaced)] #[kube(status = "RecordingRuleStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct RecordingRuleSpec { /// List of groups for recording rules. @@ -27,7 +28,7 @@ pub struct RecordingRuleSpec { } /// RecordingRuleGroup defines a group of Loki recording rules. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RecordingRuleGroups { /// Interval defines the time interval between evaluation of the given /// recoding rule. @@ -43,7 +44,7 @@ pub struct RecordingRuleGroups { } /// RecordingRuleGroupSpec defines the spec for a Loki recording rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RecordingRuleGroupsRules { /// The LogQL expression to evaluate. Every evaluation cycle this is /// evaluated at the current time, and all resultant time series become @@ -55,7 +56,7 @@ pub struct RecordingRuleGroupsRules { } /// RecordingRuleStatus defines the observed state of RecordingRule -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RecordingRuleStatus { /// Conditions of the RecordingRule generation health. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/rulerconfigs.rs b/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/rulerconfigs.rs index db78f97e4..d44017a98 100644 --- a/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/rulerconfigs.rs +++ b/kube-custom-resources-rs/src/loki_grafana_com/v1beta1/rulerconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/loki.grafana.com/v1beta1/rulerconfigs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/grafana/loki/loki.grafana.com/v1beta1/rulerconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// RulerConfigSpec defines the desired state of Ruler -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "loki.grafana.com", version = "v1beta1", kind = "RulerConfig", plural = "rulerconfigs")] #[kube(namespaced)] #[kube(status = "RulerConfigStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct RulerConfigSpec { /// Defines alert manager configuration to notify on firing alerts. @@ -37,7 +38,7 @@ pub struct RulerConfigSpec { } /// Defines alert manager configuration to notify on firing alerts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigAlertmanager { /// Client configuration for reaching the alertmanager endpoint. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -67,7 +68,7 @@ pub struct RulerConfigAlertmanager { } /// Client configuration for reaching the alertmanager endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigAlertmanagerClient { /// Basic authentication configuration for reaching the alertmanager endpoints. #[serde(default, skip_serializing_if = "Option::is_none", rename = "basicAuth")] @@ -81,7 +82,7 @@ pub struct RulerConfigAlertmanagerClient { } /// Basic authentication configuration for reaching the alertmanager endpoints. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigAlertmanagerClientBasicAuth { /// The subject's password for the basic authentication configuration. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -92,7 +93,7 @@ pub struct RulerConfigAlertmanagerClientBasicAuth { } /// Header authentication configuration for reaching the alertmanager endpoints. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigAlertmanagerClientHeaderAuth { /// The credentials for the header authentication configuration. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -106,7 +107,7 @@ pub struct RulerConfigAlertmanagerClientHeaderAuth { } /// TLS configuration for reaching the alertmanager endpoints. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigAlertmanagerClientTls { /// The CA certificate file path for the TLS configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "caPath")] @@ -123,7 +124,7 @@ pub struct RulerConfigAlertmanagerClientTls { } /// Defines the configuration for DNS-based discovery of AlertManager hosts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigAlertmanagerDiscovery { /// Use DNS SRV records to discover Alertmanager hosts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "enableSRV")] @@ -134,7 +135,7 @@ pub struct RulerConfigAlertmanagerDiscovery { } /// Defines the configuration for the notification queue to AlertManager hosts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigAlertmanagerNotificationQueue { /// Capacity of the queue for notifications to be sent to the Alertmanager. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -157,7 +158,7 @@ pub struct RulerConfigAlertmanagerNotificationQueue { /// RelabelConfig allows dynamic rewriting of the label set, being applied to samples before ingestion. /// It defines `` and `` sections of Prometheus configuration. /// More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigAlertmanagerRelabelConfigs { /// Action to perform based on regex matching. Default is 'replace' #[serde(default, skip_serializing_if = "Option::is_none")] @@ -208,7 +209,7 @@ pub enum RulerConfigAlertmanagerRelabelConfigsAction { } /// Overrides defines the config overrides to be applied per-tenant. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigOverrides { /// AlertManagerOverrides defines the overrides to apply to the alertmanager config. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -216,7 +217,7 @@ pub struct RulerConfigOverrides { } /// AlertManagerOverrides defines the overrides to apply to the alertmanager config. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigOverridesAlertmanager { /// Client configuration for reaching the alertmanager endpoint. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -246,7 +247,7 @@ pub struct RulerConfigOverridesAlertmanager { } /// Client configuration for reaching the alertmanager endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigOverridesAlertmanagerClient { /// Basic authentication configuration for reaching the alertmanager endpoints. #[serde(default, skip_serializing_if = "Option::is_none", rename = "basicAuth")] @@ -260,7 +261,7 @@ pub struct RulerConfigOverridesAlertmanagerClient { } /// Basic authentication configuration for reaching the alertmanager endpoints. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigOverridesAlertmanagerClientBasicAuth { /// The subject's password for the basic authentication configuration. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -271,7 +272,7 @@ pub struct RulerConfigOverridesAlertmanagerClientBasicAuth { } /// Header authentication configuration for reaching the alertmanager endpoints. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigOverridesAlertmanagerClientHeaderAuth { /// The credentials for the header authentication configuration. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -285,7 +286,7 @@ pub struct RulerConfigOverridesAlertmanagerClientHeaderAuth { } /// TLS configuration for reaching the alertmanager endpoints. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigOverridesAlertmanagerClientTls { /// The CA certificate file path for the TLS configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "caPath")] @@ -302,7 +303,7 @@ pub struct RulerConfigOverridesAlertmanagerClientTls { } /// Defines the configuration for DNS-based discovery of AlertManager hosts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigOverridesAlertmanagerDiscovery { /// Use DNS SRV records to discover Alertmanager hosts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "enableSRV")] @@ -313,7 +314,7 @@ pub struct RulerConfigOverridesAlertmanagerDiscovery { } /// Defines the configuration for the notification queue to AlertManager hosts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigOverridesAlertmanagerNotificationQueue { /// Capacity of the queue for notifications to be sent to the Alertmanager. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -336,7 +337,7 @@ pub struct RulerConfigOverridesAlertmanagerNotificationQueue { /// RelabelConfig allows dynamic rewriting of the label set, being applied to samples before ingestion. /// It defines `` and `` sections of Prometheus configuration. /// More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigOverridesAlertmanagerRelabelConfigs { /// Action to perform based on regex matching. Default is 'replace' #[serde(default, skip_serializing_if = "Option::is_none")] @@ -387,7 +388,7 @@ pub enum RulerConfigOverridesAlertmanagerRelabelConfigsAction { } /// Defines a remote write endpoint to write recording rule metrics. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigRemoteWrite { /// Defines the configuration for remote write client. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -444,7 +445,7 @@ pub enum RulerConfigRemoteWriteClientAuthorization { /// RelabelConfig allows dynamic rewriting of the label set, being applied to samples before ingestion. /// It defines `` and `` sections of Prometheus configuration. /// More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigRemoteWriteClientRelabelConfigs { /// Action to perform based on regex matching. Default is 'replace' #[serde(default, skip_serializing_if = "Option::is_none")] @@ -495,7 +496,7 @@ pub enum RulerConfigRemoteWriteClientRelabelConfigsAction { } /// Defines the configuration for remote write client queue. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigRemoteWriteQueue { /// Maximum time a sample will wait in buffer. #[serde(default, skip_serializing_if = "Option::is_none", rename = "batchSendDeadline")] @@ -521,7 +522,7 @@ pub struct RulerConfigRemoteWriteQueue { } /// RulerConfigStatus defines the observed state of RulerConfig -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RulerConfigStatus { /// Conditions of the RulerConfig health. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/backingimagedatasources.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/backingimagedatasources.rs index 9347b0582..e7d883255 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/backingimagedatasources.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/backingimagedatasources.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/backingimagedatasources.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/backingimagedatasources.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/backingimagemanagers.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/backingimagemanagers.rs index b37732954..2f3b8335e 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/backingimagemanagers.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/backingimagemanagers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/backingimagemanagers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/backingimagemanagers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/backingimages.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/backingimages.rs index 3f9c9cf7a..92ab84248 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/backingimages.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/backingimages.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/backingimages.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/backingimages.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/backups.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/backups.rs index ff863c01e..6751180e1 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/backups.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/backups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/backups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/backups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/backuptargets.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/backuptargets.rs index 62a7298c0..5f54236fc 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/backuptargets.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/backuptargets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/backuptargets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/backuptargets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/backupvolumes.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/backupvolumes.rs index 4101728ea..da2995103 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/backupvolumes.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/backupvolumes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/backupvolumes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/backupvolumes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/engineimages.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/engineimages.rs index 79f9808cd..96eeb2fb9 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/engineimages.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/engineimages.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/engineimages.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/engineimages.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/engines.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/engines.rs index 99dd74a04..5144a21aa 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/engines.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/engines.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/engines.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/engines.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/instancemanagers.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/instancemanagers.rs index 2c092a844..2ddf68521 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/instancemanagers.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/instancemanagers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/instancemanagers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/instancemanagers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/nodes.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/nodes.rs index 3145a9f0f..1d1bf3637 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/nodes.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/nodes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/nodes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/nodes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/recurringjobs.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/recurringjobs.rs index 85308dacc..228c25fcc 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/recurringjobs.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/recurringjobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/recurringjobs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/recurringjobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/replicas.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/replicas.rs index b46c85bc2..fdf217f66 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/replicas.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/replicas.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/replicas.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/replicas.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/settings.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/settings.rs index 4ef679ac8..be697e03f 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/settings.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/settings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/settings.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/settings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/sharemanagers.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/sharemanagers.rs index 47742d63a..99ee46411 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/sharemanagers.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/sharemanagers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/sharemanagers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/sharemanagers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta1/volumes.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta1/volumes.rs index 7353be8f2..2adedac9e 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta1/volumes.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta1/volumes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/volumes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta1/volumes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backingimagedatasources.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backingimagedatasources.rs index 9596e7f72..720aac813 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backingimagedatasources.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backingimagedatasources.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/backingimagedatasources.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/backingimagedatasources.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backingimagemanagers.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backingimagemanagers.rs index e4d4ece8c..3b7c6b5d9 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backingimagemanagers.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backingimagemanagers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/backingimagemanagers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/backingimagemanagers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backingimages.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backingimages.rs index 9ef09ca1b..3026030ec 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backingimages.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backingimages.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/backingimages.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/backingimages.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backupbackingimages.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backupbackingimages.rs index 88b9145e7..60c076de7 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backupbackingimages.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backupbackingimages.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/backupbackingimages.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/backupbackingimages.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backups.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backups.rs index 3bd8d87b8..1a0759956 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backups.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/backups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/backups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backuptargets.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backuptargets.rs index 413eff0f9..fe3964e95 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backuptargets.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backuptargets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/backuptargets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/backuptargets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backupvolumes.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backupvolumes.rs index 7851aa95b..67077f2f8 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/backupvolumes.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/backupvolumes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/backupvolumes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/backupvolumes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/engineimages.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/engineimages.rs index afbc3006f..130bd85b5 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/engineimages.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/engineimages.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/engineimages.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/engineimages.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/engines.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/engines.rs index 529a8285e..251f9dc2c 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/engines.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/engines.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/engines.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/engines.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/instancemanagers.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/instancemanagers.rs index 6ca8068a7..eb8d78ff9 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/instancemanagers.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/instancemanagers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/instancemanagers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/instancemanagers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/nodes.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/nodes.rs index dc3b597a2..da87ee46d 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/nodes.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/nodes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/nodes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/nodes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/orphans.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/orphans.rs index c8f7d1028..717d431db 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/orphans.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/orphans.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/orphans.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/orphans.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/recurringjobs.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/recurringjobs.rs index f0dd33993..4eeecb6a2 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/recurringjobs.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/recurringjobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/recurringjobs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/recurringjobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/replicas.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/replicas.rs index f38255626..7cdd9806d 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/replicas.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/replicas.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/replicas.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/replicas.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/settings.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/settings.rs index 0f7123bf8..b3984b155 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/settings.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/settings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/settings.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/settings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/sharemanagers.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/sharemanagers.rs index 5f950d01c..2b373aee9 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/sharemanagers.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/sharemanagers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/sharemanagers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/sharemanagers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/snapshots.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/snapshots.rs index 2e11daed5..1f9e303c1 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/snapshots.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/snapshots.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/snapshots.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/snapshots.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/supportbundles.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/supportbundles.rs index 041313aca..85b61daf5 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/supportbundles.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/supportbundles.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/supportbundles.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/supportbundles.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/systembackups.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/systembackups.rs index c1a655394..180608957 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/systembackups.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/systembackups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/systembackups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/systembackups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/systemrestores.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/systemrestores.rs index dc265cca4..5f97e45ef 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/systemrestores.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/systemrestores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/systemrestores.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/systemrestores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/volumeattachments.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/volumeattachments.rs index 4a22963b0..d7c030760 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/volumeattachments.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/volumeattachments.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/volumeattachments.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/volumeattachments.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/longhorn_io/v1beta2/volumes.rs b/kube-custom-resources-rs/src/longhorn_io/v1beta2/volumes.rs index 8c158b530..01db4e6b2 100644 --- a/kube-custom-resources-rs/src/longhorn_io/v1beta2/volumes.rs +++ b/kube-custom-resources-rs/src/longhorn_io/v1beta2/volumes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/volumes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/longhorn/longhorn/longhorn.io/v1beta2/volumes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/moodles.rs b/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/moodles.rs index 803049be7..d2a77b139 100644 --- a/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/moodles.rs +++ b/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/moodles.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/krestomatio/moodle-operator/m4e.krestomat.io/v1alpha1/moodles.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/krestomatio/moodle-operator/m4e.krestomat.io/v1alpha1/moodles.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/nginxes.rs b/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/nginxes.rs index 805a52ae9..6265e9145 100644 --- a/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/nginxes.rs +++ b/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/nginxes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/krestomatio/moodle-operator/m4e.krestomat.io/v1alpha1/nginxes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/krestomatio/moodle-operator/m4e.krestomat.io/v1alpha1/nginxes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/phpfpms.rs b/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/phpfpms.rs index 3e8564000..ccf678aeb 100644 --- a/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/phpfpms.rs +++ b/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/phpfpms.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/krestomatio/moodle-operator/m4e.krestomat.io/v1alpha1/phpfpms.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/krestomatio/moodle-operator/m4e.krestomat.io/v1alpha1/phpfpms.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/routines.rs b/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/routines.rs index bc4120785..1e49efc1f 100644 --- a/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/routines.rs +++ b/kube-custom-resources-rs/src/m4e_krestomat_io/v1alpha1/routines.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/krestomatio/moodle-operator/m4e.krestomat.io/v1alpha1/routines.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/krestomatio/moodle-operator/m4e.krestomat.io/v1alpha1/routines.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/machine_deletion_remediation_medik8s_io/v1alpha1/machinedeletionremediations.rs b/kube-custom-resources-rs/src/machine_deletion_remediation_medik8s_io/v1alpha1/machinedeletionremediations.rs index 137b8ce51..92864ccf5 100644 --- a/kube-custom-resources-rs/src/machine_deletion_remediation_medik8s_io/v1alpha1/machinedeletionremediations.rs +++ b/kube-custom-resources-rs/src/machine_deletion_remediation_medik8s_io/v1alpha1/machinedeletionremediations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/medik8s/machine-deletion-remediation/machine-deletion-remediation.medik8s.io/v1alpha1/machinedeletionremediations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/medik8s/machine-deletion-remediation/machine-deletion-remediation.medik8s.io/v1alpha1/machinedeletionremediations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/machine_deletion_remediation_medik8s_io/v1alpha1/machinedeletionremediationtemplates.rs b/kube-custom-resources-rs/src/machine_deletion_remediation_medik8s_io/v1alpha1/machinedeletionremediationtemplates.rs index 74cd7d89a..d611e4ffb 100644 --- a/kube-custom-resources-rs/src/machine_deletion_remediation_medik8s_io/v1alpha1/machinedeletionremediationtemplates.rs +++ b/kube-custom-resources-rs/src/machine_deletion_remediation_medik8s_io/v1alpha1/machinedeletionremediationtemplates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/medik8s/machine-deletion-remediation/machine-deletion-remediation.medik8s.io/v1alpha1/machinedeletionremediationtemplates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/medik8s/machine-deletion-remediation/machine-deletion-remediation.medik8s.io/v1alpha1/machinedeletionremediationtemplates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/maps_k8s_elastic_co/v1alpha1/elasticmapsservers.rs b/kube-custom-resources-rs/src/maps_k8s_elastic_co/v1alpha1/elasticmapsservers.rs index 15d11e84a..5ca97ece7 100644 --- a/kube-custom-resources-rs/src/maps_k8s_elastic_co/v1alpha1/elasticmapsservers.rs +++ b/kube-custom-resources-rs/src/maps_k8s_elastic_co/v1alpha1/elasticmapsservers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/maps.k8s.elastic.co/v1alpha1/elasticmapsservers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/elastic/cloud-on-k8s/maps.k8s.elastic.co/v1alpha1/elasticmapsservers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/backups.rs b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/backups.rs index b8b796544..29da9f142 100644 --- a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/backups.rs +++ b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/backups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/backups.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/backups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// BackupSpec defines the desired state of Backup -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "mariadb.mmontes.io", version = "v1alpha1", kind = "Backup", plural = "backups")] #[kube(namespaced)] #[kube(status = "BackupStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct BackupSpec { /// Affinity to be used in the Backup Pod. @@ -64,7 +65,7 @@ pub struct BackupSpec { } /// Affinity to be used in the Backup Pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -78,7 +79,7 @@ pub struct BackupAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -89,7 +90,7 @@ pub struct BackupAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: BackupAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -98,7 +99,7 @@ pub struct BackupAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -109,7 +110,7 @@ pub struct BackupAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -121,7 +122,7 @@ pub struct BackupAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -133,7 +134,7 @@ pub struct BackupAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -141,7 +142,7 @@ pub struct BackupAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -152,7 +153,7 @@ pub struct BackupAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -164,7 +165,7 @@ pub struct BackupAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -176,7 +177,7 @@ pub struct BackupAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -187,7 +188,7 @@ pub struct BackupAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -197,7 +198,7 @@ pub struct BackupAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecut } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -214,7 +215,7 @@ pub struct BackupAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecut } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -225,7 +226,7 @@ pub struct BackupAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecut } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -237,7 +238,7 @@ pub struct BackupAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecut } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -248,7 +249,7 @@ pub struct BackupAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecut } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -260,7 +261,7 @@ pub struct BackupAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecut } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -277,7 +278,7 @@ pub struct BackupAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecuti } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -288,7 +289,7 @@ pub struct BackupAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecuti } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -300,7 +301,7 @@ pub struct BackupAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecuti } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -311,7 +312,7 @@ pub struct BackupAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecuti } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -323,7 +324,7 @@ pub struct BackupAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecuti } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -334,7 +335,7 @@ pub struct BackupAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -344,7 +345,7 @@ pub struct BackupAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringEx } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -361,7 +362,7 @@ pub struct BackupAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -372,7 +373,7 @@ pub struct BackupAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -384,7 +385,7 @@ pub struct BackupAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -395,7 +396,7 @@ pub struct BackupAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -407,7 +408,7 @@ pub struct BackupAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringEx } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -424,7 +425,7 @@ pub struct BackupAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -435,7 +436,7 @@ pub struct BackupAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -447,7 +448,7 @@ pub struct BackupAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -458,7 +459,7 @@ pub struct BackupAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -470,7 +471,7 @@ pub struct BackupAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExe } /// MariaDBRef is a reference to a MariaDB object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupMariaDbRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -499,7 +500,7 @@ pub struct BackupMariaDbRef { } /// SecurityContext holds pod-level security attributes and common container settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPodSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -536,7 +537,7 @@ pub struct BackupPodSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -553,7 +554,7 @@ pub struct BackupPodSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -565,7 +566,7 @@ pub struct BackupPodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -574,7 +575,7 @@ pub struct BackupPodSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupPodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -591,7 +592,7 @@ pub struct BackupPodSecurityContextWindowsOptions { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -607,7 +608,7 @@ pub struct BackupResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, @@ -622,7 +623,7 @@ pub enum BackupRestartPolicy { } /// Schedule defines when the Backup will be taken. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupSchedule { /// Cron is a cron expression that defines the schedule. pub cron: String, @@ -632,7 +633,7 @@ pub struct BackupSchedule { } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -670,7 +671,7 @@ pub struct BackupSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -681,7 +682,7 @@ pub struct BackupSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -698,7 +699,7 @@ pub struct BackupSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -710,7 +711,7 @@ pub struct BackupSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -727,7 +728,7 @@ pub struct BackupSecurityContextWindowsOptions { } /// Storage to be used in the Backup. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorage { /// PersistentVolumeClaim is a Kubernetes PVC specification. #[serde(default, skip_serializing_if = "Option::is_none", rename = "persistentVolumeClaim")] @@ -741,7 +742,7 @@ pub struct BackupStorage { } /// PersistentVolumeClaim is a Kubernetes PVC specification. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStoragePersistentVolumeClaim { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -770,7 +771,7 @@ pub struct BackupStoragePersistentVolumeClaim { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStoragePersistentVolumeClaimDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -782,7 +783,7 @@ pub struct BackupStoragePersistentVolumeClaimDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStoragePersistentVolumeClaimDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -797,7 +798,7 @@ pub struct BackupStoragePersistentVolumeClaimDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStoragePersistentVolumeClaimResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -813,14 +814,14 @@ pub struct BackupStoragePersistentVolumeClaimResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStoragePersistentVolumeClaimResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStoragePersistentVolumeClaimSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -831,7 +832,7 @@ pub struct BackupStoragePersistentVolumeClaimSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStoragePersistentVolumeClaimSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -843,7 +844,7 @@ pub struct BackupStoragePersistentVolumeClaimSelectorMatchExpressions { } /// S3 defines the configuration to store backups in a S3 compatible storage. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageS3 { /// AccessKeyIdSecretKeyRef is a reference to a Secret key containing the S3 access key id. #[serde(rename = "accessKeyIdSecretKeyRef")] @@ -870,7 +871,7 @@ pub struct BackupStorageS3 { } /// AccessKeyIdSecretKeyRef is a reference to a Secret key containing the S3 access key id. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageS3AccessKeyIdSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -883,7 +884,7 @@ pub struct BackupStorageS3AccessKeyIdSecretKeyRef { } /// AccessKeyIdSecretKeyRef is a reference to a Secret key containing the S3 secret key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageS3SecretAccessKeySecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -896,7 +897,7 @@ pub struct BackupStorageS3SecretAccessKeySecretKeyRef { } /// SessionTokenSecretKeyRef is a reference to a Secret key containing the S3 session token. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageS3SessionTokenSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -909,7 +910,7 @@ pub struct BackupStorageS3SessionTokenSecretKeyRef { } /// TLS provides the configuration required to establish TLS connections with S3. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageS3Tls { /// CASecretKeyRef is a reference to a Secret key containing a CA bundle in PEM format used to establish TLS connections with S3. #[serde(default, skip_serializing_if = "Option::is_none", rename = "caSecretKeyRef")] @@ -920,7 +921,7 @@ pub struct BackupStorageS3Tls { } /// CASecretKeyRef is a reference to a Secret key containing a CA bundle in PEM format used to establish TLS connections with S3. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageS3TlsCaSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -933,7 +934,7 @@ pub struct BackupStorageS3TlsCaSecretKeyRef { } /// Volume is a Kubernetes volume specification. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolume { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -1029,7 +1030,7 @@ pub struct BackupStorageVolume { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1046,7 +1047,7 @@ pub struct BackupStorageVolumeAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -1069,7 +1070,7 @@ pub struct BackupStorageVolumeAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -1083,7 +1084,7 @@ pub struct BackupStorageVolumeAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -1105,7 +1106,7 @@ pub struct BackupStorageVolumeCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1113,7 +1114,7 @@ pub struct BackupStorageVolumeCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1130,7 +1131,7 @@ pub struct BackupStorageVolumeCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1138,7 +1139,7 @@ pub struct BackupStorageVolumeCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1155,7 +1156,7 @@ pub struct BackupStorageVolumeConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeConfigMapItems { /// key is the key to project. pub key: String, @@ -1167,7 +1168,7 @@ pub struct BackupStorageVolumeConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -1186,7 +1187,7 @@ pub struct BackupStorageVolumeCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1194,7 +1195,7 @@ pub struct BackupStorageVolumeCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1205,7 +1206,7 @@ pub struct BackupStorageVolumeDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -1221,7 +1222,7 @@ pub struct BackupStorageVolumeDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1232,7 +1233,7 @@ pub struct BackupStorageVolumeDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1245,7 +1246,7 @@ pub struct BackupStorageVolumeDownwardApiItemsResourceFieldRef { } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1260,7 +1261,7 @@ pub struct BackupStorageVolumeEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -1274,7 +1275,7 @@ pub struct BackupStorageVolumeEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1284,12 +1285,12 @@ pub struct BackupStorageVolumeEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -1318,7 +1319,7 @@ pub struct BackupStorageVolumeEphemeralVolumeClaimTemplateSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1330,7 +1331,7 @@ pub struct BackupStorageVolumeEphemeralVolumeClaimTemplateSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1345,7 +1346,7 @@ pub struct BackupStorageVolumeEphemeralVolumeClaimTemplateSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1361,14 +1362,14 @@ pub struct BackupStorageVolumeEphemeralVolumeClaimTemplateSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1379,7 +1380,7 @@ pub struct BackupStorageVolumeEphemeralVolumeClaimTemplateSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1391,7 +1392,7 @@ pub struct BackupStorageVolumeEphemeralVolumeClaimTemplateSpecSelectorMatchExpre } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1411,7 +1412,7 @@ pub struct BackupStorageVolumeFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -1430,7 +1431,7 @@ pub struct BackupStorageVolumeFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1438,7 +1439,7 @@ pub struct BackupStorageVolumeFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -1449,7 +1450,7 @@ pub struct BackupStorageVolumeFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1466,7 +1467,7 @@ pub struct BackupStorageVolumeGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1479,7 +1480,7 @@ pub struct BackupStorageVolumeGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -1491,7 +1492,7 @@ pub struct BackupStorageVolumeGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -1501,7 +1502,7 @@ pub struct BackupStorageVolumeHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -1537,7 +1538,7 @@ pub struct BackupStorageVolumeIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1545,7 +1546,7 @@ pub struct BackupStorageVolumeIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -1557,7 +1558,7 @@ pub struct BackupStorageVolumeNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumePersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -1568,7 +1569,7 @@ pub struct BackupStorageVolumePersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumePhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1579,7 +1580,7 @@ pub struct BackupStorageVolumePhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumePortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1593,7 +1594,7 @@ pub struct BackupStorageVolumePortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1604,7 +1605,7 @@ pub struct BackupStorageVolumeProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1621,7 +1622,7 @@ pub struct BackupStorageVolumeProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1635,7 +1636,7 @@ pub struct BackupStorageVolumeProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -1647,7 +1648,7 @@ pub struct BackupStorageVolumeProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1655,7 +1656,7 @@ pub struct BackupStorageVolumeProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -1671,7 +1672,7 @@ pub struct BackupStorageVolumeProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1682,7 +1683,7 @@ pub struct BackupStorageVolumeProjectedSourcesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1695,7 +1696,7 @@ pub struct BackupStorageVolumeProjectedSourcesDownwardApiItemsResourceFieldRef { } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1709,7 +1710,7 @@ pub struct BackupStorageVolumeProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -1721,7 +1722,7 @@ pub struct BackupStorageVolumeProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1734,7 +1735,7 @@ pub struct BackupStorageVolumeProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1755,7 +1756,7 @@ pub struct BackupStorageVolumeQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1782,7 +1783,7 @@ pub struct BackupStorageVolumeRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1790,7 +1791,7 @@ pub struct BackupStorageVolumeRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1823,7 +1824,7 @@ pub struct BackupStorageVolumeScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1831,7 +1832,7 @@ pub struct BackupStorageVolumeScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1848,7 +1849,7 @@ pub struct BackupStorageVolumeSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeSecretItems { /// key is the key to project. pub key: String, @@ -1860,7 +1861,7 @@ pub struct BackupStorageVolumeSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1880,7 +1881,7 @@ pub struct BackupStorageVolumeStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1888,7 +1889,7 @@ pub struct BackupStorageVolumeStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStorageVolumeVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1905,7 +1906,7 @@ pub struct BackupStorageVolumeVsphereVolume { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1925,7 +1926,7 @@ pub struct BackupTolerations { } /// BackupStatus defines the observed state of Backup -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatus { /// Conditions for the Backup object. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/connections.rs b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/connections.rs index d36476947..579ce732d 100644 --- a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/connections.rs +++ b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/connections.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/connections.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/connections.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// ConnectionSpec defines the desired state of Connection -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "mariadb.mmontes.io", version = "v1alpha1", kind = "Connection", plural = "connections")] #[kube(namespaced)] #[kube(status = "ConnectionStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ConnectionSpec { /// Database to use when configuring the Connection. @@ -57,7 +58,7 @@ pub struct ConnectionSpec { } /// HealthCheck to be used in the Connection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConnectionHealthCheck { /// Interval used to perform health checks. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -68,7 +69,7 @@ pub struct ConnectionHealthCheck { } /// MariaDBRef is a reference to the MariaDB to connect to. Either MariaDBRef or MaxScaleRef must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConnectionMariaDbRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -97,7 +98,7 @@ pub struct ConnectionMariaDbRef { } /// MaxScaleRef is a reference to the MaxScale to connect to. Either MariaDBRef or MaxScaleRef must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConnectionMaxScaleRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -123,7 +124,7 @@ pub struct ConnectionMaxScaleRef { } /// PasswordSecretKeyRef is a reference to the password to use for configuring the Connection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConnectionPasswordSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -136,7 +137,7 @@ pub struct ConnectionPasswordSecretKeyRef { } /// SecretTemplate to be used in the Connection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConnectionSecretTemplate { /// Annotations to be added to the Secret object. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -168,7 +169,7 @@ pub struct ConnectionSecretTemplate { } /// ConnectionStatus defines the observed state of Connection -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ConnectionStatus { /// Conditions for the Connection object. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/databases.rs b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/databases.rs index bdaf78ae9..f745f46af 100644 --- a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/databases.rs +++ b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/databases.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/databases.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/databases.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// DatabaseSpec defines the desired state of Database -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "mariadb.mmontes.io", version = "v1alpha1", kind = "Database", plural = "databases")] #[kube(namespaced)] #[kube(status = "DatabaseStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct DatabaseSpec { /// CharacterSet to use in the Database. @@ -39,7 +40,7 @@ pub struct DatabaseSpec { } /// MariaDBRef is a reference to a MariaDB object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatabaseMariaDbRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -68,7 +69,7 @@ pub struct DatabaseMariaDbRef { } /// DatabaseStatus defines the observed state of Database -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatabaseStatus { /// Conditions for the Database object. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/grants.rs b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/grants.rs index 25fd5d0d7..4945381ec 100644 --- a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/grants.rs +++ b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/grants.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/grants.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/grants.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// GrantSpec defines the desired state of Grant -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "mariadb.mmontes.io", version = "v1alpha1", kind = "Grant", plural = "grants")] #[kube(namespaced)] #[kube(status = "GrantStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct GrantSpec { /// Database to use in the Grant. @@ -46,7 +47,7 @@ pub struct GrantSpec { } /// MariaDBRef is a reference to a MariaDB object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GrantMariaDbRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -75,7 +76,7 @@ pub struct GrantMariaDbRef { } /// GrantStatus defines the observed state of Grant -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GrantStatus { /// Conditions for the Grant object. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/mariadbs.rs b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/mariadbs.rs index b5d394b89..b126124c5 100644 --- a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/mariadbs.rs +++ b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/mariadbs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/mariadbs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/mariadbs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// MariaDBSpec defines the desired state of MariaDB -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "mariadb.mmontes.io", version = "v1alpha1", kind = "MariaDB", plural = "mariadbs")] #[kube(namespaced)] #[kube(status = "MariaDBStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct MariaDBSpec { /// Affinity to be used in the Pod. @@ -170,7 +171,7 @@ pub struct MariaDBSpec { } /// Affinity to be used in the Pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -184,7 +185,7 @@ pub struct MariaDBAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -195,7 +196,7 @@ pub struct MariaDBAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: MariaDBAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -204,7 +205,7 @@ pub struct MariaDBAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExec } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -215,7 +216,7 @@ pub struct MariaDBAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExec } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -227,7 +228,7 @@ pub struct MariaDBAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExec } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -239,7 +240,7 @@ pub struct MariaDBAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExec } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -247,7 +248,7 @@ pub struct MariaDBAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecu } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -258,7 +259,7 @@ pub struct MariaDBAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -270,7 +271,7 @@ pub struct MariaDBAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -282,7 +283,7 @@ pub struct MariaDBAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecu } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -293,7 +294,7 @@ pub struct MariaDBAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -303,7 +304,7 @@ pub struct MariaDBAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -320,7 +321,7 @@ pub struct MariaDBAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -331,7 +332,7 @@ pub struct MariaDBAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -343,7 +344,7 @@ pub struct MariaDBAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -354,7 +355,7 @@ pub struct MariaDBAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -366,7 +367,7 @@ pub struct MariaDBAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -383,7 +384,7 @@ pub struct MariaDBAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -394,7 +395,7 @@ pub struct MariaDBAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -406,7 +407,7 @@ pub struct MariaDBAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -417,7 +418,7 @@ pub struct MariaDBAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -429,7 +430,7 @@ pub struct MariaDBAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -440,7 +441,7 @@ pub struct MariaDBAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -450,7 +451,7 @@ pub struct MariaDBAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -467,7 +468,7 @@ pub struct MariaDBAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -478,7 +479,7 @@ pub struct MariaDBAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -490,7 +491,7 @@ pub struct MariaDBAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -501,7 +502,7 @@ pub struct MariaDBAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -513,7 +514,7 @@ pub struct MariaDBAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -530,7 +531,7 @@ pub struct MariaDBAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -541,7 +542,7 @@ pub struct MariaDBAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -553,7 +554,7 @@ pub struct MariaDBAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -564,7 +565,7 @@ pub struct MariaDBAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -576,7 +577,7 @@ pub struct MariaDBAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx } /// BootstrapFrom defines a source to bootstrap from. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFrom { /// BackupRef is a reference to a Backup object. It has priority over S3 and Volume. #[serde(default, skip_serializing_if = "Option::is_none", rename = "backupRef")] @@ -593,7 +594,7 @@ pub struct MariaDBBootstrapFrom { } /// BackupRef is a reference to a Backup object. It has priority over S3 and Volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromBackupRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -601,7 +602,7 @@ pub struct MariaDBBootstrapFromBackupRef { } /// S3 defines the configuration to restore backups from a S3 compatible storage. It has priority over Volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromS3 { /// AccessKeyIdSecretKeyRef is a reference to a Secret key containing the S3 access key id. #[serde(rename = "accessKeyIdSecretKeyRef")] @@ -628,7 +629,7 @@ pub struct MariaDBBootstrapFromS3 { } /// AccessKeyIdSecretKeyRef is a reference to a Secret key containing the S3 access key id. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromS3AccessKeyIdSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -641,7 +642,7 @@ pub struct MariaDBBootstrapFromS3AccessKeyIdSecretKeyRef { } /// AccessKeyIdSecretKeyRef is a reference to a Secret key containing the S3 secret key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromS3SecretAccessKeySecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -654,7 +655,7 @@ pub struct MariaDBBootstrapFromS3SecretAccessKeySecretKeyRef { } /// SessionTokenSecretKeyRef is a reference to a Secret key containing the S3 session token. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromS3SessionTokenSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -667,7 +668,7 @@ pub struct MariaDBBootstrapFromS3SessionTokenSecretKeyRef { } /// TLS provides the configuration required to establish TLS connections with S3. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromS3Tls { /// CASecretKeyRef is a reference to a Secret key containing a CA bundle in PEM format used to establish TLS connections with S3. #[serde(default, skip_serializing_if = "Option::is_none", rename = "caSecretKeyRef")] @@ -678,7 +679,7 @@ pub struct MariaDBBootstrapFromS3Tls { } /// CASecretKeyRef is a reference to a Secret key containing a CA bundle in PEM format used to establish TLS connections with S3. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromS3TlsCaSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -691,7 +692,7 @@ pub struct MariaDBBootstrapFromS3TlsCaSecretKeyRef { } /// Volume is a Kubernetes Volume object that contains a backup. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolume { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -787,7 +788,7 @@ pub struct MariaDBBootstrapFromVolume { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -804,7 +805,7 @@ pub struct MariaDBBootstrapFromVolumeAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -827,7 +828,7 @@ pub struct MariaDBBootstrapFromVolumeAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -841,7 +842,7 @@ pub struct MariaDBBootstrapFromVolumeAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -863,7 +864,7 @@ pub struct MariaDBBootstrapFromVolumeCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -871,7 +872,7 @@ pub struct MariaDBBootstrapFromVolumeCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -888,7 +889,7 @@ pub struct MariaDBBootstrapFromVolumeCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -896,7 +897,7 @@ pub struct MariaDBBootstrapFromVolumeCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -913,7 +914,7 @@ pub struct MariaDBBootstrapFromVolumeConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeConfigMapItems { /// key is the key to project. pub key: String, @@ -925,7 +926,7 @@ pub struct MariaDBBootstrapFromVolumeConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -944,7 +945,7 @@ pub struct MariaDBBootstrapFromVolumeCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -952,7 +953,7 @@ pub struct MariaDBBootstrapFromVolumeCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -963,7 +964,7 @@ pub struct MariaDBBootstrapFromVolumeDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -979,7 +980,7 @@ pub struct MariaDBBootstrapFromVolumeDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -990,7 +991,7 @@ pub struct MariaDBBootstrapFromVolumeDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1003,7 +1004,7 @@ pub struct MariaDBBootstrapFromVolumeDownwardApiItemsResourceFieldRef { } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1018,7 +1019,7 @@ pub struct MariaDBBootstrapFromVolumeEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -1032,7 +1033,7 @@ pub struct MariaDBBootstrapFromVolumeEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1042,12 +1043,12 @@ pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -1076,7 +1077,7 @@ pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1088,7 +1089,7 @@ pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpecDataSource } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1103,7 +1104,7 @@ pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpecDataSourceR } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1119,14 +1120,14 @@ pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1137,7 +1138,7 @@ pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1149,7 +1150,7 @@ pub struct MariaDBBootstrapFromVolumeEphemeralVolumeClaimTemplateSpecSelectorMat } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1169,7 +1170,7 @@ pub struct MariaDBBootstrapFromVolumeFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -1188,7 +1189,7 @@ pub struct MariaDBBootstrapFromVolumeFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1196,7 +1197,7 @@ pub struct MariaDBBootstrapFromVolumeFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -1207,7 +1208,7 @@ pub struct MariaDBBootstrapFromVolumeFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1224,7 +1225,7 @@ pub struct MariaDBBootstrapFromVolumeGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1237,7 +1238,7 @@ pub struct MariaDBBootstrapFromVolumeGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -1249,7 +1250,7 @@ pub struct MariaDBBootstrapFromVolumeGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -1259,7 +1260,7 @@ pub struct MariaDBBootstrapFromVolumeHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -1295,7 +1296,7 @@ pub struct MariaDBBootstrapFromVolumeIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1303,7 +1304,7 @@ pub struct MariaDBBootstrapFromVolumeIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -1315,7 +1316,7 @@ pub struct MariaDBBootstrapFromVolumeNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumePersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -1326,7 +1327,7 @@ pub struct MariaDBBootstrapFromVolumePersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumePhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1337,7 +1338,7 @@ pub struct MariaDBBootstrapFromVolumePhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumePortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1351,7 +1352,7 @@ pub struct MariaDBBootstrapFromVolumePortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1362,7 +1363,7 @@ pub struct MariaDBBootstrapFromVolumeProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1379,7 +1380,7 @@ pub struct MariaDBBootstrapFromVolumeProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1393,7 +1394,7 @@ pub struct MariaDBBootstrapFromVolumeProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -1405,7 +1406,7 @@ pub struct MariaDBBootstrapFromVolumeProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1413,7 +1414,7 @@ pub struct MariaDBBootstrapFromVolumeProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -1429,7 +1430,7 @@ pub struct MariaDBBootstrapFromVolumeProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1440,7 +1441,7 @@ pub struct MariaDBBootstrapFromVolumeProjectedSourcesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1453,7 +1454,7 @@ pub struct MariaDBBootstrapFromVolumeProjectedSourcesDownwardApiItemsResourceFie } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1467,7 +1468,7 @@ pub struct MariaDBBootstrapFromVolumeProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -1479,7 +1480,7 @@ pub struct MariaDBBootstrapFromVolumeProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1492,7 +1493,7 @@ pub struct MariaDBBootstrapFromVolumeProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1513,7 +1514,7 @@ pub struct MariaDBBootstrapFromVolumeQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1540,7 +1541,7 @@ pub struct MariaDBBootstrapFromVolumeRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1548,7 +1549,7 @@ pub struct MariaDBBootstrapFromVolumeRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1581,7 +1582,7 @@ pub struct MariaDBBootstrapFromVolumeScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1589,7 +1590,7 @@ pub struct MariaDBBootstrapFromVolumeScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1606,7 +1607,7 @@ pub struct MariaDBBootstrapFromVolumeSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeSecretItems { /// key is the key to project. pub key: String, @@ -1618,7 +1619,7 @@ pub struct MariaDBBootstrapFromVolumeSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1638,7 +1639,7 @@ pub struct MariaDBBootstrapFromVolumeStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1646,7 +1647,7 @@ pub struct MariaDBBootstrapFromVolumeStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBBootstrapFromVolumeVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1663,7 +1664,7 @@ pub struct MariaDBBootstrapFromVolumeVsphereVolume { } /// Connection defines templates to configure the general Connection object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBConnection { /// HealthCheck to be used in the Connection. #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthCheck")] @@ -1686,7 +1687,7 @@ pub struct MariaDBConnection { } /// HealthCheck to be used in the Connection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBConnectionHealthCheck { /// Interval used to perform health checks. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1697,7 +1698,7 @@ pub struct MariaDBConnectionHealthCheck { } /// SecretTemplate to be used in the Connection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBConnectionSecretTemplate { /// Annotations to be added to the Secret object. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1729,7 +1730,7 @@ pub struct MariaDBConnectionSecretTemplate { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -1742,7 +1743,7 @@ pub struct MariaDBEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1759,7 +1760,7 @@ pub struct MariaDBEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1772,7 +1773,7 @@ pub struct MariaDBEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1783,7 +1784,7 @@ pub struct MariaDBEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1796,7 +1797,7 @@ pub struct MariaDBEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1809,7 +1810,7 @@ pub struct MariaDBEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -1823,7 +1824,7 @@ pub struct MariaDBEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1834,7 +1835,7 @@ pub struct MariaDBEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1845,7 +1846,7 @@ pub struct MariaDBEnvFromSecretRef { } /// Replication configures high availability via Galera. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGalera { /// GaleraAgent is a sidecar agent that co-operates with mariadb-operator. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1880,7 +1881,7 @@ pub struct MariaDBGalera { } /// GaleraAgent is a sidecar agent that co-operates with mariadb-operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgent { /// Args to be used in the Container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1927,7 +1928,7 @@ pub struct MariaDBGaleraAgent { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -1940,7 +1941,7 @@ pub struct MariaDBGaleraAgentEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1957,7 +1958,7 @@ pub struct MariaDBGaleraAgentEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1970,7 +1971,7 @@ pub struct MariaDBGaleraAgentEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1981,7 +1982,7 @@ pub struct MariaDBGaleraAgentEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1994,7 +1995,7 @@ pub struct MariaDBGaleraAgentEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2007,7 +2008,7 @@ pub struct MariaDBGaleraAgentEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -2021,7 +2022,7 @@ pub struct MariaDBGaleraAgentEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2032,7 +2033,7 @@ pub struct MariaDBGaleraAgentEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2051,7 +2052,7 @@ pub enum MariaDBGaleraAgentImagePullPolicy { } /// KubernetesAuth to be used by the agent container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentKubernetesAuth { /// AuthDelegatorRoleName is the name of the ClusterRoleBinding that is associated with the "system:auth-delegator" ClusterRole. It is necessary for creating TokenReview objects in order for the agent to validate the service account token. #[serde(default, skip_serializing_if = "Option::is_none", rename = "authDelegatorRoleName")] @@ -2062,7 +2063,7 @@ pub struct MariaDBGaleraAgentKubernetesAuth { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2097,7 +2098,7 @@ pub struct MariaDBGaleraAgentLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2105,7 +2106,7 @@ pub struct MariaDBGaleraAgentLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2116,7 +2117,7 @@ pub struct MariaDBGaleraAgentLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2135,7 +2136,7 @@ pub struct MariaDBGaleraAgentLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2144,7 +2145,7 @@ pub struct MariaDBGaleraAgentLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2154,7 +2155,7 @@ pub struct MariaDBGaleraAgentLivenessProbeTcpSocket { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2189,7 +2190,7 @@ pub struct MariaDBGaleraAgentReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2197,7 +2198,7 @@ pub struct MariaDBGaleraAgentReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2208,7 +2209,7 @@ pub struct MariaDBGaleraAgentReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2227,7 +2228,7 @@ pub struct MariaDBGaleraAgentReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2236,7 +2237,7 @@ pub struct MariaDBGaleraAgentReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2246,7 +2247,7 @@ pub struct MariaDBGaleraAgentReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2262,14 +2263,14 @@ pub struct MariaDBGaleraAgentResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -2307,7 +2308,7 @@ pub struct MariaDBGaleraAgentSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2318,7 +2319,7 @@ pub struct MariaDBGaleraAgentSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2335,7 +2336,7 @@ pub struct MariaDBGaleraAgentSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -2347,7 +2348,7 @@ pub struct MariaDBGaleraAgentSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -2364,7 +2365,7 @@ pub struct MariaDBGaleraAgentSecurityContextWindowsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraAgentVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -2386,7 +2387,7 @@ pub struct MariaDBGaleraAgentVolumeMounts { } /// GaleraConfig defines storage options for the Galera configuration files. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraConfig { /// ReuseStorageVolume indicates that storage volume used by MariaDB should be reused to store the Galera configuration files. It defaults to false, which implies that a dedicated volume for the Galera configuration files is provisioned. #[serde(default, skip_serializing_if = "Option::is_none", rename = "reuseStorageVolume")] @@ -2397,7 +2398,7 @@ pub struct MariaDBGaleraConfig { } /// VolumeClaimTemplate is a template for the PVC that will contain the Galera configuration files shared between the InitContainer, Agent and MariaDB. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraConfigVolumeClaimTemplate { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -2432,7 +2433,7 @@ pub struct MariaDBGaleraConfigVolumeClaimTemplate { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraConfigVolumeClaimTemplateDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2444,7 +2445,7 @@ pub struct MariaDBGaleraConfigVolumeClaimTemplateDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraConfigVolumeClaimTemplateDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2459,7 +2460,7 @@ pub struct MariaDBGaleraConfigVolumeClaimTemplateDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraConfigVolumeClaimTemplateResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2475,14 +2476,14 @@ pub struct MariaDBGaleraConfigVolumeClaimTemplateResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraConfigVolumeClaimTemplateResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraConfigVolumeClaimTemplateSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2493,7 +2494,7 @@ pub struct MariaDBGaleraConfigVolumeClaimTemplateSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraConfigVolumeClaimTemplateSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2505,7 +2506,7 @@ pub struct MariaDBGaleraConfigVolumeClaimTemplateSelectorMatchExpressions { } /// InitContainer is an init container that co-operates with mariadb-operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainer { /// Args to be used in the Container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2542,7 +2543,7 @@ pub struct MariaDBGaleraInitContainer { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -2555,7 +2556,7 @@ pub struct MariaDBGaleraInitContainerEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -2572,7 +2573,7 @@ pub struct MariaDBGaleraInitContainerEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -2585,7 +2586,7 @@ pub struct MariaDBGaleraInitContainerEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2596,7 +2597,7 @@ pub struct MariaDBGaleraInitContainerEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2609,7 +2610,7 @@ pub struct MariaDBGaleraInitContainerEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2622,7 +2623,7 @@ pub struct MariaDBGaleraInitContainerEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -2636,7 +2637,7 @@ pub struct MariaDBGaleraInitContainerEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2647,7 +2648,7 @@ pub struct MariaDBGaleraInitContainerEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2666,7 +2667,7 @@ pub enum MariaDBGaleraInitContainerImagePullPolicy { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2701,7 +2702,7 @@ pub struct MariaDBGaleraInitContainerLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2709,7 +2710,7 @@ pub struct MariaDBGaleraInitContainerLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2720,7 +2721,7 @@ pub struct MariaDBGaleraInitContainerLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2739,7 +2740,7 @@ pub struct MariaDBGaleraInitContainerLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2748,7 +2749,7 @@ pub struct MariaDBGaleraInitContainerLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2758,7 +2759,7 @@ pub struct MariaDBGaleraInitContainerLivenessProbeTcpSocket { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2793,7 +2794,7 @@ pub struct MariaDBGaleraInitContainerReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2801,7 +2802,7 @@ pub struct MariaDBGaleraInitContainerReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2812,7 +2813,7 @@ pub struct MariaDBGaleraInitContainerReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2831,7 +2832,7 @@ pub struct MariaDBGaleraInitContainerReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2840,7 +2841,7 @@ pub struct MariaDBGaleraInitContainerReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2850,7 +2851,7 @@ pub struct MariaDBGaleraInitContainerReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2866,14 +2867,14 @@ pub struct MariaDBGaleraInitContainerResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -2911,7 +2912,7 @@ pub struct MariaDBGaleraInitContainerSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2922,7 +2923,7 @@ pub struct MariaDBGaleraInitContainerSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2939,7 +2940,7 @@ pub struct MariaDBGaleraInitContainerSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -2951,7 +2952,7 @@ pub struct MariaDBGaleraInitContainerSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -2968,7 +2969,7 @@ pub struct MariaDBGaleraInitContainerSecurityContextWindowsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraInitContainerVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -2990,7 +2991,7 @@ pub struct MariaDBGaleraInitContainerVolumeMounts { } /// Primary is the Galera configuration for the primary node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraPrimary { /// AutomaticFailover indicates whether the operator should automatically update PodIndex to perform an automatic primary failover. #[serde(default, skip_serializing_if = "Option::is_none", rename = "automaticFailover")] @@ -3001,7 +3002,7 @@ pub struct MariaDBGaleraPrimary { } /// GaleraRecovery is the recovery process performed by the operator whenever the Galera cluster is not healthy. More info: https://galeracluster.com/library/documentation/crash-recovery.html. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBGaleraRecovery { /// ClusterBootstrapTimeout is the time limit for bootstrapping a cluster. Once this timeout is reached, the Galera recovery state is reset and a new cluster bootstrap will be attempted. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterBootstrapTimeout")] @@ -3043,7 +3044,7 @@ pub enum MariaDBImagePullPolicy { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBImagePullSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3051,7 +3052,7 @@ pub struct MariaDBImagePullSecrets { } /// InheritMetadata defines the metadata to be inherited by children resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInheritMetadata { /// Annotations to be added to children resources. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3062,7 +3063,7 @@ pub struct MariaDBInheritMetadata { } /// Container object definition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainers { /// Args to be used in the Container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3099,7 +3100,7 @@ pub struct MariaDBInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -3112,7 +3113,7 @@ pub struct MariaDBInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -3129,7 +3130,7 @@ pub struct MariaDBInitContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -3142,7 +3143,7 @@ pub struct MariaDBInitContainersEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3153,7 +3154,7 @@ pub struct MariaDBInitContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -3166,7 +3167,7 @@ pub struct MariaDBInitContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3179,7 +3180,7 @@ pub struct MariaDBInitContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -3193,7 +3194,7 @@ pub struct MariaDBInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3204,7 +3205,7 @@ pub struct MariaDBInitContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3223,7 +3224,7 @@ pub enum MariaDBInitContainersImagePullPolicy { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3258,7 +3259,7 @@ pub struct MariaDBInitContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3266,7 +3267,7 @@ pub struct MariaDBInitContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3277,7 +3278,7 @@ pub struct MariaDBInitContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3296,7 +3297,7 @@ pub struct MariaDBInitContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -3305,7 +3306,7 @@ pub struct MariaDBInitContainersLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3315,7 +3316,7 @@ pub struct MariaDBInitContainersLivenessProbeTcpSocket { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3350,7 +3351,7 @@ pub struct MariaDBInitContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3358,7 +3359,7 @@ pub struct MariaDBInitContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3369,7 +3370,7 @@ pub struct MariaDBInitContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3388,7 +3389,7 @@ pub struct MariaDBInitContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -3397,7 +3398,7 @@ pub struct MariaDBInitContainersReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3407,7 +3408,7 @@ pub struct MariaDBInitContainersReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -3423,14 +3424,14 @@ pub struct MariaDBInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -3468,7 +3469,7 @@ pub struct MariaDBInitContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3479,7 +3480,7 @@ pub struct MariaDBInitContainersSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3496,7 +3497,7 @@ pub struct MariaDBInitContainersSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -3508,7 +3509,7 @@ pub struct MariaDBInitContainersSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -3525,7 +3526,7 @@ pub struct MariaDBInitContainersSecurityContextWindowsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -3547,7 +3548,7 @@ pub struct MariaDBInitContainersVolumeMounts { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3582,7 +3583,7 @@ pub struct MariaDBLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3590,7 +3591,7 @@ pub struct MariaDBLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3601,7 +3602,7 @@ pub struct MariaDBLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3620,7 +3621,7 @@ pub struct MariaDBLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -3629,7 +3630,7 @@ pub struct MariaDBLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3639,7 +3640,7 @@ pub struct MariaDBLivenessProbeTcpSocket { } /// MaxScale is the MaxScale specification that defines the MaxScale resource to be used with the current MariaDB. When enabling this field, MaxScaleRef is automatically set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScale { /// Admin configures the admin REST API and GUI. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3746,7 +3747,7 @@ pub struct MariaDBMaxScale { } /// Admin configures the admin REST API and GUI. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAdmin { /// GuiEnabled indicates whether the admin GUI should be enabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "guiEnabled")] @@ -3757,7 +3758,7 @@ pub struct MariaDBMaxScaleAdmin { } /// Affinity to be used in the Pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -3771,7 +3772,7 @@ pub struct MariaDBMaxScaleAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -3782,7 +3783,7 @@ pub struct MariaDBMaxScaleAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: MariaDBMaxScaleAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -3791,7 +3792,7 @@ pub struct MariaDBMaxScaleAffinityNodeAffinityPreferredDuringSchedulingIgnoredDu } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3802,7 +3803,7 @@ pub struct MariaDBMaxScaleAffinityNodeAffinityPreferredDuringSchedulingIgnoredDu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -3814,7 +3815,7 @@ pub struct MariaDBMaxScaleAffinityNodeAffinityPreferredDuringSchedulingIgnoredDu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -3826,7 +3827,7 @@ pub struct MariaDBMaxScaleAffinityNodeAffinityPreferredDuringSchedulingIgnoredDu } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -3834,7 +3835,7 @@ pub struct MariaDBMaxScaleAffinityNodeAffinityRequiredDuringSchedulingIgnoredDur } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3845,7 +3846,7 @@ pub struct MariaDBMaxScaleAffinityNodeAffinityRequiredDuringSchedulingIgnoredDur } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -3857,7 +3858,7 @@ pub struct MariaDBMaxScaleAffinityNodeAffinityRequiredDuringSchedulingIgnoredDur } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -3869,7 +3870,7 @@ pub struct MariaDBMaxScaleAffinityNodeAffinityRequiredDuringSchedulingIgnoredDur } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -3880,7 +3881,7 @@ pub struct MariaDBMaxScaleAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -3890,7 +3891,7 @@ pub struct MariaDBMaxScaleAffinityPodAffinityPreferredDuringSchedulingIgnoredDur } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -3907,7 +3908,7 @@ pub struct MariaDBMaxScaleAffinityPodAffinityPreferredDuringSchedulingIgnoredDur } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3918,7 +3919,7 @@ pub struct MariaDBMaxScaleAffinityPodAffinityPreferredDuringSchedulingIgnoredDur } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3930,7 +3931,7 @@ pub struct MariaDBMaxScaleAffinityPodAffinityPreferredDuringSchedulingIgnoredDur } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3941,7 +3942,7 @@ pub struct MariaDBMaxScaleAffinityPodAffinityPreferredDuringSchedulingIgnoredDur } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3953,7 +3954,7 @@ pub struct MariaDBMaxScaleAffinityPodAffinityPreferredDuringSchedulingIgnoredDur } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -3970,7 +3971,7 @@ pub struct MariaDBMaxScaleAffinityPodAffinityRequiredDuringSchedulingIgnoredDuri } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3981,7 +3982,7 @@ pub struct MariaDBMaxScaleAffinityPodAffinityRequiredDuringSchedulingIgnoredDuri } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3993,7 +3994,7 @@ pub struct MariaDBMaxScaleAffinityPodAffinityRequiredDuringSchedulingIgnoredDuri } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4004,7 +4005,7 @@ pub struct MariaDBMaxScaleAffinityPodAffinityRequiredDuringSchedulingIgnoredDuri } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4016,7 +4017,7 @@ pub struct MariaDBMaxScaleAffinityPodAffinityRequiredDuringSchedulingIgnoredDuri } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -4027,7 +4028,7 @@ pub struct MariaDBMaxScaleAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -4037,7 +4038,7 @@ pub struct MariaDBMaxScaleAffinityPodAntiAffinityPreferredDuringSchedulingIgnore } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -4054,7 +4055,7 @@ pub struct MariaDBMaxScaleAffinityPodAntiAffinityPreferredDuringSchedulingIgnore } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4065,7 +4066,7 @@ pub struct MariaDBMaxScaleAffinityPodAntiAffinityPreferredDuringSchedulingIgnore } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4077,7 +4078,7 @@ pub struct MariaDBMaxScaleAffinityPodAntiAffinityPreferredDuringSchedulingIgnore } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4088,7 +4089,7 @@ pub struct MariaDBMaxScaleAffinityPodAntiAffinityPreferredDuringSchedulingIgnore } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4100,7 +4101,7 @@ pub struct MariaDBMaxScaleAffinityPodAntiAffinityPreferredDuringSchedulingIgnore } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -4117,7 +4118,7 @@ pub struct MariaDBMaxScaleAffinityPodAntiAffinityRequiredDuringSchedulingIgnored } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4128,7 +4129,7 @@ pub struct MariaDBMaxScaleAffinityPodAntiAffinityRequiredDuringSchedulingIgnored } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4140,7 +4141,7 @@ pub struct MariaDBMaxScaleAffinityPodAntiAffinityRequiredDuringSchedulingIgnored } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4151,7 +4152,7 @@ pub struct MariaDBMaxScaleAffinityPodAntiAffinityRequiredDuringSchedulingIgnored } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4163,7 +4164,7 @@ pub struct MariaDBMaxScaleAffinityPodAntiAffinityRequiredDuringSchedulingIgnored } /// Auth defines the credentials required for MaxScale to connect to MariaDB. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAuth { /// AdminPasswordSecretKeyRef is Secret key reference to the admin password to call the admib REST API. It is defaulted if not provided. #[serde(default, skip_serializing_if = "Option::is_none", rename = "adminPasswordSecretKeyRef")] @@ -4216,7 +4217,7 @@ pub struct MariaDBMaxScaleAuth { } /// AdminPasswordSecretKeyRef is Secret key reference to the admin password to call the admib REST API. It is defaulted if not provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAuthAdminPasswordSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4229,7 +4230,7 @@ pub struct MariaDBMaxScaleAuthAdminPasswordSecretKeyRef { } /// ClientPasswordSecretKeyRef is Secret key reference to the password to connect to MaxScale. It is defaulted if not provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAuthClientPasswordSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4242,7 +4243,7 @@ pub struct MariaDBMaxScaleAuthClientPasswordSecretKeyRef { } /// MonitorPasswordSecretKeyRef is Secret key reference to the password used by MaxScale monitor to connect to MariaDB server. It is defaulted if not provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAuthMonitorPasswordSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4255,7 +4256,7 @@ pub struct MariaDBMaxScaleAuthMonitorPasswordSecretKeyRef { } /// ServerPasswordSecretKeyRef is Secret key reference to the password used by MaxScale to connect to MariaDB server. It is defaulted if not provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAuthServerPasswordSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4268,7 +4269,7 @@ pub struct MariaDBMaxScaleAuthServerPasswordSecretKeyRef { } /// SyncPasswordSecretKeyRef is Secret key reference to the password used by MaxScale config to connect to MariaDB server. It is defaulted when HA is enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleAuthSyncPasswordSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4281,7 +4282,7 @@ pub struct MariaDBMaxScaleAuthSyncPasswordSecretKeyRef { } /// Config defines the MaxScale configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConfig { /// Params is a key value pair of parameters to be used in the MaxScale static configuration file. Any parameter supported by MaxScale may be specified here. See reference: https://mariadb.com/kb/en/mariadb-maxscale-2308-mariadb-maxscale-configuration-guide/#global-settings. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4295,7 +4296,7 @@ pub struct MariaDBMaxScaleConfig { } /// Sync defines how to replicate configuration across MaxScale replicas. It is defaulted when HA is enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConfigSync { /// Database is the MariaDB logical database where the 'maxscale_config' table will be created in order to persist and synchronize config changes. If not provided, it defaults to 'mysql'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4309,7 +4310,7 @@ pub struct MariaDBMaxScaleConfigSync { } /// VolumeClaimTemplate provides a template to define the PVCs for storing MaxScale runtime configuration files. It is defaulted if not provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConfigVolumeClaimTemplate { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -4344,7 +4345,7 @@ pub struct MariaDBMaxScaleConfigVolumeClaimTemplate { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConfigVolumeClaimTemplateDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -4356,7 +4357,7 @@ pub struct MariaDBMaxScaleConfigVolumeClaimTemplateDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConfigVolumeClaimTemplateDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -4371,7 +4372,7 @@ pub struct MariaDBMaxScaleConfigVolumeClaimTemplateDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConfigVolumeClaimTemplateResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -4387,14 +4388,14 @@ pub struct MariaDBMaxScaleConfigVolumeClaimTemplateResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConfigVolumeClaimTemplateResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConfigVolumeClaimTemplateSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4405,7 +4406,7 @@ pub struct MariaDBMaxScaleConfigVolumeClaimTemplateSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConfigVolumeClaimTemplateSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4417,7 +4418,7 @@ pub struct MariaDBMaxScaleConfigVolumeClaimTemplateSelectorMatchExpressions { } /// Connection provides a template to define the Connection for MaxScale. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConnection { /// HealthCheck to be used in the Connection. #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthCheck")] @@ -4440,7 +4441,7 @@ pub struct MariaDBMaxScaleConnection { } /// HealthCheck to be used in the Connection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConnectionHealthCheck { /// Interval used to perform health checks. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4451,7 +4452,7 @@ pub struct MariaDBMaxScaleConnectionHealthCheck { } /// SecretTemplate to be used in the Connection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleConnectionSecretTemplate { /// Annotations to be added to the Secret object. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4483,7 +4484,7 @@ pub struct MariaDBMaxScaleConnectionSecretTemplate { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -4496,7 +4497,7 @@ pub struct MariaDBMaxScaleEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -4513,7 +4514,7 @@ pub struct MariaDBMaxScaleEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -4526,7 +4527,7 @@ pub struct MariaDBMaxScaleEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4537,7 +4538,7 @@ pub struct MariaDBMaxScaleEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -4550,7 +4551,7 @@ pub struct MariaDBMaxScaleEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4563,7 +4564,7 @@ pub struct MariaDBMaxScaleEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -4577,7 +4578,7 @@ pub struct MariaDBMaxScaleEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4588,7 +4589,7 @@ pub struct MariaDBMaxScaleEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4607,7 +4608,7 @@ pub enum MariaDBMaxScaleImagePullPolicy { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleImagePullSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4615,7 +4616,7 @@ pub struct MariaDBMaxScaleImagePullSecrets { } /// Container object definition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainers { /// Args to be used in the Container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4652,7 +4653,7 @@ pub struct MariaDBMaxScaleInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -4665,7 +4666,7 @@ pub struct MariaDBMaxScaleInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -4682,7 +4683,7 @@ pub struct MariaDBMaxScaleInitContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -4695,7 +4696,7 @@ pub struct MariaDBMaxScaleInitContainersEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4706,7 +4707,7 @@ pub struct MariaDBMaxScaleInitContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -4719,7 +4720,7 @@ pub struct MariaDBMaxScaleInitContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4732,7 +4733,7 @@ pub struct MariaDBMaxScaleInitContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -4746,7 +4747,7 @@ pub struct MariaDBMaxScaleInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4757,7 +4758,7 @@ pub struct MariaDBMaxScaleInitContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4776,7 +4777,7 @@ pub enum MariaDBMaxScaleInitContainersImagePullPolicy { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4811,7 +4812,7 @@ pub struct MariaDBMaxScaleInitContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4819,7 +4820,7 @@ pub struct MariaDBMaxScaleInitContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4830,7 +4831,7 @@ pub struct MariaDBMaxScaleInitContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4849,7 +4850,7 @@ pub struct MariaDBMaxScaleInitContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -4858,7 +4859,7 @@ pub struct MariaDBMaxScaleInitContainersLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4868,7 +4869,7 @@ pub struct MariaDBMaxScaleInitContainersLivenessProbeTcpSocket { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4903,7 +4904,7 @@ pub struct MariaDBMaxScaleInitContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4911,7 +4912,7 @@ pub struct MariaDBMaxScaleInitContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4922,7 +4923,7 @@ pub struct MariaDBMaxScaleInitContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4941,7 +4942,7 @@ pub struct MariaDBMaxScaleInitContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -4950,7 +4951,7 @@ pub struct MariaDBMaxScaleInitContainersReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4960,7 +4961,7 @@ pub struct MariaDBMaxScaleInitContainersReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -4976,14 +4977,14 @@ pub struct MariaDBMaxScaleInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -5021,7 +5022,7 @@ pub struct MariaDBMaxScaleInitContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5032,7 +5033,7 @@ pub struct MariaDBMaxScaleInitContainersSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5049,7 +5050,7 @@ pub struct MariaDBMaxScaleInitContainersSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -5061,7 +5062,7 @@ pub struct MariaDBMaxScaleInitContainersSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -5078,7 +5079,7 @@ pub struct MariaDBMaxScaleInitContainersSecurityContextWindowsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -5100,7 +5101,7 @@ pub struct MariaDBMaxScaleInitContainersVolumeMounts { } /// Service defines templates to configure the Kubernetes Service object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleKubernetesService { /// AllocateLoadBalancerNodePorts Service field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] @@ -5138,7 +5139,7 @@ pub enum MariaDBMaxScaleKubernetesServiceType { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5173,7 +5174,7 @@ pub struct MariaDBMaxScaleLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5181,7 +5182,7 @@ pub struct MariaDBMaxScaleLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -5192,7 +5193,7 @@ pub struct MariaDBMaxScaleLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5211,7 +5212,7 @@ pub struct MariaDBMaxScaleLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -5220,7 +5221,7 @@ pub struct MariaDBMaxScaleLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5230,7 +5231,7 @@ pub struct MariaDBMaxScaleLivenessProbeTcpSocket { } /// Monitor monitors MariaDB server instances. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleMonitor { /// CooperativeMonitoring enables coordination between multiple MaxScale instances running monitors. It is defaulted when HA is enabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cooperativeMonitoring")] @@ -5262,7 +5263,7 @@ pub enum MariaDBMaxScaleMonitorCooperativeMonitoring { } /// PodDisruptionBudget defines the budget for replica availability. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScalePodDisruptionBudget { /// MaxUnavailable defines the number of maximum unavailable Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] @@ -5273,7 +5274,7 @@ pub struct MariaDBMaxScalePodDisruptionBudget { } /// SecurityContext holds pod-level security attributes and common container settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScalePodSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -5310,7 +5311,7 @@ pub struct MariaDBMaxScalePodSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScalePodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5327,7 +5328,7 @@ pub struct MariaDBMaxScalePodSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScalePodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -5339,7 +5340,7 @@ pub struct MariaDBMaxScalePodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScalePodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -5348,7 +5349,7 @@ pub struct MariaDBMaxScalePodSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScalePodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -5365,7 +5366,7 @@ pub struct MariaDBMaxScalePodSecurityContextWindowsOptions { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5400,7 +5401,7 @@ pub struct MariaDBMaxScaleReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5408,7 +5409,7 @@ pub struct MariaDBMaxScaleReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -5419,7 +5420,7 @@ pub struct MariaDBMaxScaleReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5438,7 +5439,7 @@ pub struct MariaDBMaxScaleReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -5447,7 +5448,7 @@ pub struct MariaDBMaxScaleReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5457,7 +5458,7 @@ pub struct MariaDBMaxScaleReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -5473,14 +5474,14 @@ pub struct MariaDBMaxScaleResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -5518,7 +5519,7 @@ pub struct MariaDBMaxScaleSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5529,7 +5530,7 @@ pub struct MariaDBMaxScaleSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5546,7 +5547,7 @@ pub struct MariaDBMaxScaleSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -5558,7 +5559,7 @@ pub struct MariaDBMaxScaleSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -5592,7 +5593,7 @@ pub struct MariaDBMaxScaleServices { } /// MaxScaleListener defines how the MaxScale server will listen for connections. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleServicesListener { /// Name is the identifier of the listener. It is defaulted if not provided #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5621,7 +5622,7 @@ pub enum MariaDBMaxScaleServicesRouter { } /// Container object definition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainers { /// Args to be used in the Container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5658,7 +5659,7 @@ pub struct MariaDBMaxScaleSidecarContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -5671,7 +5672,7 @@ pub struct MariaDBMaxScaleSidecarContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -5688,7 +5689,7 @@ pub struct MariaDBMaxScaleSidecarContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -5701,7 +5702,7 @@ pub struct MariaDBMaxScaleSidecarContainersEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -5712,7 +5713,7 @@ pub struct MariaDBMaxScaleSidecarContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -5725,7 +5726,7 @@ pub struct MariaDBMaxScaleSidecarContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5738,7 +5739,7 @@ pub struct MariaDBMaxScaleSidecarContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -5752,7 +5753,7 @@ pub struct MariaDBMaxScaleSidecarContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5763,7 +5764,7 @@ pub struct MariaDBMaxScaleSidecarContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5782,7 +5783,7 @@ pub enum MariaDBMaxScaleSidecarContainersImagePullPolicy { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5817,7 +5818,7 @@ pub struct MariaDBMaxScaleSidecarContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5825,7 +5826,7 @@ pub struct MariaDBMaxScaleSidecarContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -5836,7 +5837,7 @@ pub struct MariaDBMaxScaleSidecarContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5855,7 +5856,7 @@ pub struct MariaDBMaxScaleSidecarContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -5864,7 +5865,7 @@ pub struct MariaDBMaxScaleSidecarContainersLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5874,7 +5875,7 @@ pub struct MariaDBMaxScaleSidecarContainersLivenessProbeTcpSocket { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5909,7 +5910,7 @@ pub struct MariaDBMaxScaleSidecarContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5917,7 +5918,7 @@ pub struct MariaDBMaxScaleSidecarContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -5928,7 +5929,7 @@ pub struct MariaDBMaxScaleSidecarContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5947,7 +5948,7 @@ pub struct MariaDBMaxScaleSidecarContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -5956,7 +5957,7 @@ pub struct MariaDBMaxScaleSidecarContainersReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5966,7 +5967,7 @@ pub struct MariaDBMaxScaleSidecarContainersReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -5982,14 +5983,14 @@ pub struct MariaDBMaxScaleSidecarContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -6027,7 +6028,7 @@ pub struct MariaDBMaxScaleSidecarContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6038,7 +6039,7 @@ pub struct MariaDBMaxScaleSidecarContainersSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6055,7 +6056,7 @@ pub struct MariaDBMaxScaleSidecarContainersSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -6067,7 +6068,7 @@ pub struct MariaDBMaxScaleSidecarContainersSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -6084,7 +6085,7 @@ pub struct MariaDBMaxScaleSidecarContainersSecurityContextWindowsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleSidecarContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -6106,7 +6107,7 @@ pub struct MariaDBMaxScaleSidecarContainersVolumeMounts { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6126,7 +6127,7 @@ pub struct MariaDBMaxScaleTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleTopologySpreadConstraints { /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -6160,7 +6161,7 @@ pub struct MariaDBMaxScaleTopologySpreadConstraints { } /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6171,7 +6172,7 @@ pub struct MariaDBMaxScaleTopologySpreadConstraintsLabelSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6183,7 +6184,7 @@ pub struct MariaDBMaxScaleTopologySpreadConstraintsLabelSelectorMatchExpressions } /// UpdateStrategy defines the update strategy for the StatefulSet object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleUpdateStrategy { /// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. #[serde(default, skip_serializing_if = "Option::is_none", rename = "rollingUpdate")] @@ -6194,7 +6195,7 @@ pub struct MariaDBMaxScaleUpdateStrategy { } /// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleUpdateStrategyRollingUpdate { /// The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0. Defaults to 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] @@ -6205,7 +6206,7 @@ pub struct MariaDBMaxScaleUpdateStrategyRollingUpdate { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -6227,7 +6228,7 @@ pub struct MariaDBMaxScaleVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -6325,7 +6326,7 @@ pub struct MariaDBMaxScaleVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6342,7 +6343,7 @@ pub struct MariaDBMaxScaleVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -6365,7 +6366,7 @@ pub struct MariaDBMaxScaleVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -6379,7 +6380,7 @@ pub struct MariaDBMaxScaleVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -6401,7 +6402,7 @@ pub struct MariaDBMaxScaleVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6409,7 +6410,7 @@ pub struct MariaDBMaxScaleVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6426,7 +6427,7 @@ pub struct MariaDBMaxScaleVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6434,7 +6435,7 @@ pub struct MariaDBMaxScaleVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -6451,7 +6452,7 @@ pub struct MariaDBMaxScaleVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -6463,7 +6464,7 @@ pub struct MariaDBMaxScaleVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -6482,7 +6483,7 @@ pub struct MariaDBMaxScaleVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6490,7 +6491,7 @@ pub struct MariaDBMaxScaleVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -6501,7 +6502,7 @@ pub struct MariaDBMaxScaleVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -6517,7 +6518,7 @@ pub struct MariaDBMaxScaleVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -6528,7 +6529,7 @@ pub struct MariaDBMaxScaleVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -6541,7 +6542,7 @@ pub struct MariaDBMaxScaleVolumesDownwardApiItemsResourceFieldRef { } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6556,7 +6557,7 @@ pub struct MariaDBMaxScaleVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -6570,7 +6571,7 @@ pub struct MariaDBMaxScaleVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6580,12 +6581,12 @@ pub struct MariaDBMaxScaleVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -6614,7 +6615,7 @@ pub struct MariaDBMaxScaleVolumesEphemeralVolumeClaimTemplateSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -6626,7 +6627,7 @@ pub struct MariaDBMaxScaleVolumesEphemeralVolumeClaimTemplateSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -6641,7 +6642,7 @@ pub struct MariaDBMaxScaleVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -6657,14 +6658,14 @@ pub struct MariaDBMaxScaleVolumesEphemeralVolumeClaimTemplateSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6675,7 +6676,7 @@ pub struct MariaDBMaxScaleVolumesEphemeralVolumeClaimTemplateSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6687,7 +6688,7 @@ pub struct MariaDBMaxScaleVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchEx } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6707,7 +6708,7 @@ pub struct MariaDBMaxScaleVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -6726,7 +6727,7 @@ pub struct MariaDBMaxScaleVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6734,7 +6735,7 @@ pub struct MariaDBMaxScaleVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -6745,7 +6746,7 @@ pub struct MariaDBMaxScaleVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6762,7 +6763,7 @@ pub struct MariaDBMaxScaleVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6775,7 +6776,7 @@ pub struct MariaDBMaxScaleVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -6787,7 +6788,7 @@ pub struct MariaDBMaxScaleVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -6797,7 +6798,7 @@ pub struct MariaDBMaxScaleVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -6833,7 +6834,7 @@ pub struct MariaDBMaxScaleVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6841,7 +6842,7 @@ pub struct MariaDBMaxScaleVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -6853,7 +6854,7 @@ pub struct MariaDBMaxScaleVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -6864,7 +6865,7 @@ pub struct MariaDBMaxScaleVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6875,7 +6876,7 @@ pub struct MariaDBMaxScaleVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6889,7 +6890,7 @@ pub struct MariaDBMaxScaleVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -6900,7 +6901,7 @@ pub struct MariaDBMaxScaleVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -6917,7 +6918,7 @@ pub struct MariaDBMaxScaleVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6931,7 +6932,7 @@ pub struct MariaDBMaxScaleVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -6943,7 +6944,7 @@ pub struct MariaDBMaxScaleVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6951,7 +6952,7 @@ pub struct MariaDBMaxScaleVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -6967,7 +6968,7 @@ pub struct MariaDBMaxScaleVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -6978,7 +6979,7 @@ pub struct MariaDBMaxScaleVolumesProjectedSourcesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -6991,7 +6992,7 @@ pub struct MariaDBMaxScaleVolumesProjectedSourcesDownwardApiItemsResourceFieldRe } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7005,7 +7006,7 @@ pub struct MariaDBMaxScaleVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -7017,7 +7018,7 @@ pub struct MariaDBMaxScaleVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7030,7 +7031,7 @@ pub struct MariaDBMaxScaleVolumesProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7051,7 +7052,7 @@ pub struct MariaDBMaxScaleVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -7078,7 +7079,7 @@ pub struct MariaDBMaxScaleVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7086,7 +7087,7 @@ pub struct MariaDBMaxScaleVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -7119,7 +7120,7 @@ pub struct MariaDBMaxScaleVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7127,7 +7128,7 @@ pub struct MariaDBMaxScaleVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -7144,7 +7145,7 @@ pub struct MariaDBMaxScaleVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesSecretItems { /// key is the key to project. pub key: String, @@ -7156,7 +7157,7 @@ pub struct MariaDBMaxScaleVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -7176,7 +7177,7 @@ pub struct MariaDBMaxScaleVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7184,7 +7185,7 @@ pub struct MariaDBMaxScaleVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -7201,7 +7202,7 @@ pub struct MariaDBMaxScaleVolumesVsphereVolume { } /// MaxScaleRef is a reference to a MaxScale resource to be used with the current MariaDB. Providing this field implies delegating high availability tasks such as primary failover to MaxScale. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMaxScaleRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -7227,7 +7228,7 @@ pub struct MariaDBMaxScaleRef { } /// Metrics configures metrics and how to scrape them. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetrics { /// Enabled is a flag to enable Metrics #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7247,7 +7248,7 @@ pub struct MariaDBMetrics { } /// Exporter defines the metrics exporter container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporter { /// Affinity to be used in the Pod. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7318,7 +7319,7 @@ pub struct MariaDBMetricsExporter { } /// Affinity to be used in the Pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -7332,7 +7333,7 @@ pub struct MariaDBMetricsExporterAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -7343,7 +7344,7 @@ pub struct MariaDBMetricsExporterAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: MariaDBMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -7352,7 +7353,7 @@ pub struct MariaDBMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIg } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7363,7 +7364,7 @@ pub struct MariaDBMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIg } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -7375,7 +7376,7 @@ pub struct MariaDBMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIg } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -7387,7 +7388,7 @@ pub struct MariaDBMetricsExporterAffinityNodeAffinityPreferredDuringSchedulingIg } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -7395,7 +7396,7 @@ pub struct MariaDBMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIgn } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7406,7 +7407,7 @@ pub struct MariaDBMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIgn } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -7418,7 +7419,7 @@ pub struct MariaDBMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIgn } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -7430,7 +7431,7 @@ pub struct MariaDBMetricsExporterAffinityNodeAffinityRequiredDuringSchedulingIgn } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -7441,7 +7442,7 @@ pub struct MariaDBMetricsExporterAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -7451,7 +7452,7 @@ pub struct MariaDBMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgn } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -7468,7 +7469,7 @@ pub struct MariaDBMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgn } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7479,7 +7480,7 @@ pub struct MariaDBMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgn } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7491,7 +7492,7 @@ pub struct MariaDBMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgn } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7502,7 +7503,7 @@ pub struct MariaDBMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgn } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7514,7 +7515,7 @@ pub struct MariaDBMetricsExporterAffinityPodAffinityPreferredDuringSchedulingIgn } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -7531,7 +7532,7 @@ pub struct MariaDBMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgno } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7542,7 +7543,7 @@ pub struct MariaDBMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgno } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7554,7 +7555,7 @@ pub struct MariaDBMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgno } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7565,7 +7566,7 @@ pub struct MariaDBMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgno } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7577,7 +7578,7 @@ pub struct MariaDBMetricsExporterAffinityPodAffinityRequiredDuringSchedulingIgno } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -7588,7 +7589,7 @@ pub struct MariaDBMetricsExporterAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -7598,7 +7599,7 @@ pub struct MariaDBMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulin } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -7615,7 +7616,7 @@ pub struct MariaDBMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulin } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7626,7 +7627,7 @@ pub struct MariaDBMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7638,7 +7639,7 @@ pub struct MariaDBMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulin } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7649,7 +7650,7 @@ pub struct MariaDBMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7661,7 +7662,7 @@ pub struct MariaDBMetricsExporterAffinityPodAntiAffinityPreferredDuringSchedulin } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -7678,7 +7679,7 @@ pub struct MariaDBMetricsExporterAffinityPodAntiAffinityRequiredDuringScheduling } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7689,7 +7690,7 @@ pub struct MariaDBMetricsExporterAffinityPodAntiAffinityRequiredDuringScheduling } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7701,7 +7702,7 @@ pub struct MariaDBMetricsExporterAffinityPodAntiAffinityRequiredDuringScheduling } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7712,7 +7713,7 @@ pub struct MariaDBMetricsExporterAffinityPodAntiAffinityRequiredDuringScheduling } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7724,7 +7725,7 @@ pub struct MariaDBMetricsExporterAffinityPodAntiAffinityRequiredDuringScheduling } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -7737,7 +7738,7 @@ pub struct MariaDBMetricsExporterEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -7754,7 +7755,7 @@ pub struct MariaDBMetricsExporterEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -7767,7 +7768,7 @@ pub struct MariaDBMetricsExporterEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -7778,7 +7779,7 @@ pub struct MariaDBMetricsExporterEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -7791,7 +7792,7 @@ pub struct MariaDBMetricsExporterEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -7804,7 +7805,7 @@ pub struct MariaDBMetricsExporterEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -7818,7 +7819,7 @@ pub struct MariaDBMetricsExporterEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7829,7 +7830,7 @@ pub struct MariaDBMetricsExporterEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7848,7 +7849,7 @@ pub enum MariaDBMetricsExporterImagePullPolicy { } /// Container object definition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainers { /// Args to be used in the Container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7885,7 +7886,7 @@ pub struct MariaDBMetricsExporterInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -7898,7 +7899,7 @@ pub struct MariaDBMetricsExporterInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -7915,7 +7916,7 @@ pub struct MariaDBMetricsExporterInitContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -7928,7 +7929,7 @@ pub struct MariaDBMetricsExporterInitContainersEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -7939,7 +7940,7 @@ pub struct MariaDBMetricsExporterInitContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -7952,7 +7953,7 @@ pub struct MariaDBMetricsExporterInitContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -7965,7 +7966,7 @@ pub struct MariaDBMetricsExporterInitContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -7979,7 +7980,7 @@ pub struct MariaDBMetricsExporterInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7990,7 +7991,7 @@ pub struct MariaDBMetricsExporterInitContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8009,7 +8010,7 @@ pub enum MariaDBMetricsExporterInitContainersImagePullPolicy { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8044,7 +8045,7 @@ pub struct MariaDBMetricsExporterInitContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8052,7 +8053,7 @@ pub struct MariaDBMetricsExporterInitContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -8063,7 +8064,7 @@ pub struct MariaDBMetricsExporterInitContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8082,7 +8083,7 @@ pub struct MariaDBMetricsExporterInitContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -8091,7 +8092,7 @@ pub struct MariaDBMetricsExporterInitContainersLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8101,7 +8102,7 @@ pub struct MariaDBMetricsExporterInitContainersLivenessProbeTcpSocket { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8136,7 +8137,7 @@ pub struct MariaDBMetricsExporterInitContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8144,7 +8145,7 @@ pub struct MariaDBMetricsExporterInitContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -8155,7 +8156,7 @@ pub struct MariaDBMetricsExporterInitContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8174,7 +8175,7 @@ pub struct MariaDBMetricsExporterInitContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -8183,7 +8184,7 @@ pub struct MariaDBMetricsExporterInitContainersReadinessProbeHttpGetHttpHeaders } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8193,7 +8194,7 @@ pub struct MariaDBMetricsExporterInitContainersReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -8209,14 +8210,14 @@ pub struct MariaDBMetricsExporterInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -8254,7 +8255,7 @@ pub struct MariaDBMetricsExporterInitContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8265,7 +8266,7 @@ pub struct MariaDBMetricsExporterInitContainersSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8282,7 +8283,7 @@ pub struct MariaDBMetricsExporterInitContainersSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -8294,7 +8295,7 @@ pub struct MariaDBMetricsExporterInitContainersSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -8311,7 +8312,7 @@ pub struct MariaDBMetricsExporterInitContainersSecurityContextWindowsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -8333,7 +8334,7 @@ pub struct MariaDBMetricsExporterInitContainersVolumeMounts { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8368,7 +8369,7 @@ pub struct MariaDBMetricsExporterLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8376,7 +8377,7 @@ pub struct MariaDBMetricsExporterLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -8387,7 +8388,7 @@ pub struct MariaDBMetricsExporterLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8406,7 +8407,7 @@ pub struct MariaDBMetricsExporterLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -8415,7 +8416,7 @@ pub struct MariaDBMetricsExporterLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8425,7 +8426,7 @@ pub struct MariaDBMetricsExporterLivenessProbeTcpSocket { } /// SecurityContext holds pod-level security attributes and common container settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterPodSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -8462,7 +8463,7 @@ pub struct MariaDBMetricsExporterPodSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterPodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8479,7 +8480,7 @@ pub struct MariaDBMetricsExporterPodSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterPodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -8491,7 +8492,7 @@ pub struct MariaDBMetricsExporterPodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterPodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -8500,7 +8501,7 @@ pub struct MariaDBMetricsExporterPodSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterPodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -8517,7 +8518,7 @@ pub struct MariaDBMetricsExporterPodSecurityContextWindowsOptions { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8552,7 +8553,7 @@ pub struct MariaDBMetricsExporterReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8560,7 +8561,7 @@ pub struct MariaDBMetricsExporterReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -8571,7 +8572,7 @@ pub struct MariaDBMetricsExporterReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8590,7 +8591,7 @@ pub struct MariaDBMetricsExporterReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -8599,7 +8600,7 @@ pub struct MariaDBMetricsExporterReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8609,7 +8610,7 @@ pub struct MariaDBMetricsExporterReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -8625,14 +8626,14 @@ pub struct MariaDBMetricsExporterResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -8670,7 +8671,7 @@ pub struct MariaDBMetricsExporterSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8681,7 +8682,7 @@ pub struct MariaDBMetricsExporterSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8698,7 +8699,7 @@ pub struct MariaDBMetricsExporterSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -8710,7 +8711,7 @@ pub struct MariaDBMetricsExporterSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -8727,7 +8728,7 @@ pub struct MariaDBMetricsExporterSecurityContextWindowsOptions { } /// Container object definition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainers { /// Args to be used in the Container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8764,7 +8765,7 @@ pub struct MariaDBMetricsExporterSidecarContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -8777,7 +8778,7 @@ pub struct MariaDBMetricsExporterSidecarContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -8794,7 +8795,7 @@ pub struct MariaDBMetricsExporterSidecarContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -8807,7 +8808,7 @@ pub struct MariaDBMetricsExporterSidecarContainersEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -8818,7 +8819,7 @@ pub struct MariaDBMetricsExporterSidecarContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -8831,7 +8832,7 @@ pub struct MariaDBMetricsExporterSidecarContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -8844,7 +8845,7 @@ pub struct MariaDBMetricsExporterSidecarContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -8858,7 +8859,7 @@ pub struct MariaDBMetricsExporterSidecarContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8869,7 +8870,7 @@ pub struct MariaDBMetricsExporterSidecarContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8888,7 +8889,7 @@ pub enum MariaDBMetricsExporterSidecarContainersImagePullPolicy { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8923,7 +8924,7 @@ pub struct MariaDBMetricsExporterSidecarContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8931,7 +8932,7 @@ pub struct MariaDBMetricsExporterSidecarContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -8942,7 +8943,7 @@ pub struct MariaDBMetricsExporterSidecarContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8961,7 +8962,7 @@ pub struct MariaDBMetricsExporterSidecarContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -8970,7 +8971,7 @@ pub struct MariaDBMetricsExporterSidecarContainersLivenessProbeHttpGetHttpHeader } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8980,7 +8981,7 @@ pub struct MariaDBMetricsExporterSidecarContainersLivenessProbeTcpSocket { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9015,7 +9016,7 @@ pub struct MariaDBMetricsExporterSidecarContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9023,7 +9024,7 @@ pub struct MariaDBMetricsExporterSidecarContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -9034,7 +9035,7 @@ pub struct MariaDBMetricsExporterSidecarContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9053,7 +9054,7 @@ pub struct MariaDBMetricsExporterSidecarContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -9062,7 +9063,7 @@ pub struct MariaDBMetricsExporterSidecarContainersReadinessProbeHttpGetHttpHeade } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9072,7 +9073,7 @@ pub struct MariaDBMetricsExporterSidecarContainersReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -9088,14 +9089,14 @@ pub struct MariaDBMetricsExporterSidecarContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -9133,7 +9134,7 @@ pub struct MariaDBMetricsExporterSidecarContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9144,7 +9145,7 @@ pub struct MariaDBMetricsExporterSidecarContainersSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9161,7 +9162,7 @@ pub struct MariaDBMetricsExporterSidecarContainersSecurityContextSeLinuxOptions } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -9173,7 +9174,7 @@ pub struct MariaDBMetricsExporterSidecarContainersSecurityContextSeccompProfile } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -9190,7 +9191,7 @@ pub struct MariaDBMetricsExporterSidecarContainersSecurityContextWindowsOptions } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterSidecarContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -9212,7 +9213,7 @@ pub struct MariaDBMetricsExporterSidecarContainersVolumeMounts { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9232,7 +9233,7 @@ pub struct MariaDBMetricsExporterTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterTopologySpreadConstraints { /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -9266,7 +9267,7 @@ pub struct MariaDBMetricsExporterTopologySpreadConstraints { } /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9277,7 +9278,7 @@ pub struct MariaDBMetricsExporterTopologySpreadConstraintsLabelSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -9289,7 +9290,7 @@ pub struct MariaDBMetricsExporterTopologySpreadConstraintsLabelSelectorMatchExpr } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -9311,7 +9312,7 @@ pub struct MariaDBMetricsExporterVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -9409,7 +9410,7 @@ pub struct MariaDBMetricsExporterVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -9426,7 +9427,7 @@ pub struct MariaDBMetricsExporterVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -9449,7 +9450,7 @@ pub struct MariaDBMetricsExporterVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -9463,7 +9464,7 @@ pub struct MariaDBMetricsExporterVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -9485,7 +9486,7 @@ pub struct MariaDBMetricsExporterVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9493,7 +9494,7 @@ pub struct MariaDBMetricsExporterVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -9510,7 +9511,7 @@ pub struct MariaDBMetricsExporterVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9518,7 +9519,7 @@ pub struct MariaDBMetricsExporterVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -9535,7 +9536,7 @@ pub struct MariaDBMetricsExporterVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -9547,7 +9548,7 @@ pub struct MariaDBMetricsExporterVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -9566,7 +9567,7 @@ pub struct MariaDBMetricsExporterVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9574,7 +9575,7 @@ pub struct MariaDBMetricsExporterVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -9585,7 +9586,7 @@ pub struct MariaDBMetricsExporterVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -9601,7 +9602,7 @@ pub struct MariaDBMetricsExporterVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -9612,7 +9613,7 @@ pub struct MariaDBMetricsExporterVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -9625,7 +9626,7 @@ pub struct MariaDBMetricsExporterVolumesDownwardApiItemsResourceFieldRef { } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9640,7 +9641,7 @@ pub struct MariaDBMetricsExporterVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -9654,7 +9655,7 @@ pub struct MariaDBMetricsExporterVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9664,12 +9665,12 @@ pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -9698,7 +9699,7 @@ pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -9710,7 +9711,7 @@ pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecDataSour } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -9725,7 +9726,7 @@ pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecDataSour } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -9741,14 +9742,14 @@ pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecResource } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9759,7 +9760,7 @@ pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecSelector } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -9771,7 +9772,7 @@ pub struct MariaDBMetricsExporterVolumesEphemeralVolumeClaimTemplateSpecSelector } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -9791,7 +9792,7 @@ pub struct MariaDBMetricsExporterVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -9810,7 +9811,7 @@ pub struct MariaDBMetricsExporterVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9818,7 +9819,7 @@ pub struct MariaDBMetricsExporterVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -9829,7 +9830,7 @@ pub struct MariaDBMetricsExporterVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -9846,7 +9847,7 @@ pub struct MariaDBMetricsExporterVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9859,7 +9860,7 @@ pub struct MariaDBMetricsExporterVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -9871,7 +9872,7 @@ pub struct MariaDBMetricsExporterVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -9881,7 +9882,7 @@ pub struct MariaDBMetricsExporterVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -9917,7 +9918,7 @@ pub struct MariaDBMetricsExporterVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9925,7 +9926,7 @@ pub struct MariaDBMetricsExporterVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -9937,7 +9938,7 @@ pub struct MariaDBMetricsExporterVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -9948,7 +9949,7 @@ pub struct MariaDBMetricsExporterVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -9959,7 +9960,7 @@ pub struct MariaDBMetricsExporterVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -9973,7 +9974,7 @@ pub struct MariaDBMetricsExporterVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -9984,7 +9985,7 @@ pub struct MariaDBMetricsExporterVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -10001,7 +10002,7 @@ pub struct MariaDBMetricsExporterVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10015,7 +10016,7 @@ pub struct MariaDBMetricsExporterVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -10027,7 +10028,7 @@ pub struct MariaDBMetricsExporterVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10035,7 +10036,7 @@ pub struct MariaDBMetricsExporterVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -10051,7 +10052,7 @@ pub struct MariaDBMetricsExporterVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -10062,7 +10063,7 @@ pub struct MariaDBMetricsExporterVolumesProjectedSourcesDownwardApiItemsFieldRef } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -10075,7 +10076,7 @@ pub struct MariaDBMetricsExporterVolumesProjectedSourcesDownwardApiItemsResource } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10089,7 +10090,7 @@ pub struct MariaDBMetricsExporterVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -10101,7 +10102,7 @@ pub struct MariaDBMetricsExporterVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10114,7 +10115,7 @@ pub struct MariaDBMetricsExporterVolumesProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10135,7 +10136,7 @@ pub struct MariaDBMetricsExporterVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -10162,7 +10163,7 @@ pub struct MariaDBMetricsExporterVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10170,7 +10171,7 @@ pub struct MariaDBMetricsExporterVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -10203,7 +10204,7 @@ pub struct MariaDBMetricsExporterVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10211,7 +10212,7 @@ pub struct MariaDBMetricsExporterVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -10228,7 +10229,7 @@ pub struct MariaDBMetricsExporterVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesSecretItems { /// key is the key to project. pub key: String, @@ -10240,7 +10241,7 @@ pub struct MariaDBMetricsExporterVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -10260,7 +10261,7 @@ pub struct MariaDBMetricsExporterVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10268,7 +10269,7 @@ pub struct MariaDBMetricsExporterVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsExporterVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -10285,7 +10286,7 @@ pub struct MariaDBMetricsExporterVolumesVsphereVolume { } /// PasswordSecretKeyRef is a reference to the password of the monitoring user used by the exporter. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsPasswordSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -10298,7 +10299,7 @@ pub struct MariaDBMetricsPasswordSecretKeyRef { } /// ServiceMonitor defines the ServiceMonior object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMetricsServiceMonitor { /// Interval for scraping metrics. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10315,7 +10316,7 @@ pub struct MariaDBMetricsServiceMonitor { } /// MyCnfConfigMapKeyRef is a reference to the my.cnf config file provided via a ConfigMap. If not provided, it will be defaulted with reference to a ConfigMap with the contents of the MyCnf field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBMyCnfConfigMapKeyRef { /// The key to select. pub key: String, @@ -10328,7 +10329,7 @@ pub struct MariaDBMyCnfConfigMapKeyRef { } /// PasswordSecretKeyRef is a reference to the password of the initial user provided via a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPasswordSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -10341,7 +10342,7 @@ pub struct MariaDBPasswordSecretKeyRef { } /// PodDisruptionBudget defines the budget for replica availability. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPodDisruptionBudget { /// MaxUnavailable defines the number of maximum unavailable Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] @@ -10352,7 +10353,7 @@ pub struct MariaDBPodDisruptionBudget { } /// SecurityContext holds pod-level security attributes and common container settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPodSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -10389,7 +10390,7 @@ pub struct MariaDBPodSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10406,7 +10407,7 @@ pub struct MariaDBPodSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -10418,7 +10419,7 @@ pub struct MariaDBPodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -10427,7 +10428,7 @@ pub struct MariaDBPodSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -10444,7 +10445,7 @@ pub struct MariaDBPodSecurityContextWindowsOptions { } /// PrimaryConnection defines templates to configure the primary Connection object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPrimaryConnection { /// HealthCheck to be used in the Connection. #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthCheck")] @@ -10467,7 +10468,7 @@ pub struct MariaDBPrimaryConnection { } /// HealthCheck to be used in the Connection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPrimaryConnectionHealthCheck { /// Interval used to perform health checks. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10478,7 +10479,7 @@ pub struct MariaDBPrimaryConnectionHealthCheck { } /// SecretTemplate to be used in the Connection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPrimaryConnectionSecretTemplate { /// Annotations to be added to the Secret object. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10510,7 +10511,7 @@ pub struct MariaDBPrimaryConnectionSecretTemplate { } /// PrimaryService defines templates to configure the primary Service object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBPrimaryService { /// AllocateLoadBalancerNodePorts Service field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] @@ -10548,7 +10549,7 @@ pub enum MariaDBPrimaryServiceType { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10583,7 +10584,7 @@ pub struct MariaDBReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10591,7 +10592,7 @@ pub struct MariaDBReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -10602,7 +10603,7 @@ pub struct MariaDBReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10621,7 +10622,7 @@ pub struct MariaDBReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -10630,7 +10631,7 @@ pub struct MariaDBReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10640,7 +10641,7 @@ pub struct MariaDBReadinessProbeTcpSocket { } /// Replication configures high availability via replication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBReplication { /// Enabled is a flag to enable Replication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10660,7 +10661,7 @@ pub struct MariaDBReplication { } /// Primary is the replication configuration for the primary node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBReplicationPrimary { /// AutomaticFailover indicates whether the operator should automatically update PodIndex to perform an automatic primary failover. #[serde(default, skip_serializing_if = "Option::is_none", rename = "automaticFailover")] @@ -10671,7 +10672,7 @@ pub struct MariaDBReplicationPrimary { } /// ReplicaReplication is the replication configuration for the replica nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBReplicationReplica { /// ConnectionRetries to be used when the replica connects to the primary. #[serde(default, skip_serializing_if = "Option::is_none", rename = "connectionRetries")] @@ -10701,7 +10702,7 @@ pub enum MariaDBReplicationReplicaGtid { } /// ReplPasswordSecretKeyRef provides a reference to the Secret to use as password for the replication user. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBReplicationReplicaReplPasswordSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -10721,7 +10722,7 @@ pub enum MariaDBReplicationReplicaWaitPoint { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -10737,14 +10738,14 @@ pub struct MariaDBResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// RootPasswordSecretKeyRef is a reference to a Secret key containing the root password. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBRootPasswordSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -10757,7 +10758,7 @@ pub struct MariaDBRootPasswordSecretKeyRef { } /// SecondaryConnection defines templates to configure the secondary Connection object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSecondaryConnection { /// HealthCheck to be used in the Connection. #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthCheck")] @@ -10780,7 +10781,7 @@ pub struct MariaDBSecondaryConnection { } /// HealthCheck to be used in the Connection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSecondaryConnectionHealthCheck { /// Interval used to perform health checks. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10791,7 +10792,7 @@ pub struct MariaDBSecondaryConnectionHealthCheck { } /// SecretTemplate to be used in the Connection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSecondaryConnectionSecretTemplate { /// Annotations to be added to the Secret object. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10823,7 +10824,7 @@ pub struct MariaDBSecondaryConnectionSecretTemplate { } /// SecondaryService defines templates to configure the secondary Service object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSecondaryService { /// AllocateLoadBalancerNodePorts Service field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] @@ -10861,7 +10862,7 @@ pub enum MariaDBSecondaryServiceType { } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -10899,7 +10900,7 @@ pub struct MariaDBSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10910,7 +10911,7 @@ pub struct MariaDBSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10927,7 +10928,7 @@ pub struct MariaDBSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -10939,7 +10940,7 @@ pub struct MariaDBSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -10956,7 +10957,7 @@ pub struct MariaDBSecurityContextWindowsOptions { } /// Service defines templates to configure the general Service object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBService { /// AllocateLoadBalancerNodePorts Service field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] @@ -10994,7 +10995,7 @@ pub enum MariaDBServiceType { } /// Container object definition. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainers { /// Args to be used in the Container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11031,7 +11032,7 @@ pub struct MariaDBSidecarContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -11044,7 +11045,7 @@ pub struct MariaDBSidecarContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -11061,7 +11062,7 @@ pub struct MariaDBSidecarContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -11074,7 +11075,7 @@ pub struct MariaDBSidecarContainersEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -11085,7 +11086,7 @@ pub struct MariaDBSidecarContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -11098,7 +11099,7 @@ pub struct MariaDBSidecarContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -11111,7 +11112,7 @@ pub struct MariaDBSidecarContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -11125,7 +11126,7 @@ pub struct MariaDBSidecarContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11136,7 +11137,7 @@ pub struct MariaDBSidecarContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11155,7 +11156,7 @@ pub enum MariaDBSidecarContainersImagePullPolicy { } /// LivenessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11190,7 +11191,7 @@ pub struct MariaDBSidecarContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11198,7 +11199,7 @@ pub struct MariaDBSidecarContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -11209,7 +11210,7 @@ pub struct MariaDBSidecarContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11228,7 +11229,7 @@ pub struct MariaDBSidecarContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -11237,7 +11238,7 @@ pub struct MariaDBSidecarContainersLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11247,7 +11248,7 @@ pub struct MariaDBSidecarContainersLivenessProbeTcpSocket { } /// ReadinessProbe to be used in the Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11282,7 +11283,7 @@ pub struct MariaDBSidecarContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11290,7 +11291,7 @@ pub struct MariaDBSidecarContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -11301,7 +11302,7 @@ pub struct MariaDBSidecarContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11320,7 +11321,7 @@ pub struct MariaDBSidecarContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -11329,7 +11330,7 @@ pub struct MariaDBSidecarContainersReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11339,7 +11340,7 @@ pub struct MariaDBSidecarContainersReadinessProbeTcpSocket { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -11355,14 +11356,14 @@ pub struct MariaDBSidecarContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -11400,7 +11401,7 @@ pub struct MariaDBSidecarContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11411,7 +11412,7 @@ pub struct MariaDBSidecarContainersSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11428,7 +11429,7 @@ pub struct MariaDBSidecarContainersSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -11440,7 +11441,7 @@ pub struct MariaDBSidecarContainersSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -11457,7 +11458,7 @@ pub struct MariaDBSidecarContainersSecurityContextWindowsOptions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBSidecarContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -11479,7 +11480,7 @@ pub struct MariaDBSidecarContainersVolumeMounts { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11499,7 +11500,7 @@ pub struct MariaDBTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBTopologySpreadConstraints { /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -11533,7 +11534,7 @@ pub struct MariaDBTopologySpreadConstraints { } /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11544,7 +11545,7 @@ pub struct MariaDBTopologySpreadConstraintsLabelSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11556,7 +11557,7 @@ pub struct MariaDBTopologySpreadConstraintsLabelSelectorMatchExpressions { } /// PodDisruptionBudget defines the update strategy for the StatefulSet object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBUpdateStrategy { /// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. #[serde(default, skip_serializing_if = "Option::is_none", rename = "rollingUpdate")] @@ -11567,7 +11568,7 @@ pub struct MariaDBUpdateStrategy { } /// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBUpdateStrategyRollingUpdate { /// The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0. Defaults to 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] @@ -11578,7 +11579,7 @@ pub struct MariaDBUpdateStrategyRollingUpdate { } /// VolumeClaimTemplate provides a template to define the Pod PVCs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumeClaimTemplate { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -11613,7 +11614,7 @@ pub struct MariaDBVolumeClaimTemplate { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumeClaimTemplateDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -11625,7 +11626,7 @@ pub struct MariaDBVolumeClaimTemplateDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumeClaimTemplateDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -11640,7 +11641,7 @@ pub struct MariaDBVolumeClaimTemplateDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumeClaimTemplateResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -11656,14 +11657,14 @@ pub struct MariaDBVolumeClaimTemplateResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumeClaimTemplateResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumeClaimTemplateSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11674,7 +11675,7 @@ pub struct MariaDBVolumeClaimTemplateSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumeClaimTemplateSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11686,7 +11687,7 @@ pub struct MariaDBVolumeClaimTemplateSelectorMatchExpressions { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -11708,7 +11709,7 @@ pub struct MariaDBVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -11806,7 +11807,7 @@ pub struct MariaDBVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -11823,7 +11824,7 @@ pub struct MariaDBVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -11846,7 +11847,7 @@ pub struct MariaDBVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -11860,7 +11861,7 @@ pub struct MariaDBVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -11882,7 +11883,7 @@ pub struct MariaDBVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11890,7 +11891,7 @@ pub struct MariaDBVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -11907,7 +11908,7 @@ pub struct MariaDBVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11915,7 +11916,7 @@ pub struct MariaDBVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -11932,7 +11933,7 @@ pub struct MariaDBVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -11944,7 +11945,7 @@ pub struct MariaDBVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -11963,7 +11964,7 @@ pub struct MariaDBVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11971,7 +11972,7 @@ pub struct MariaDBVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -11982,7 +11983,7 @@ pub struct MariaDBVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -11998,7 +11999,7 @@ pub struct MariaDBVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -12009,7 +12010,7 @@ pub struct MariaDBVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -12022,7 +12023,7 @@ pub struct MariaDBVolumesDownwardApiItemsResourceFieldRef { } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12037,7 +12038,7 @@ pub struct MariaDBVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -12051,7 +12052,7 @@ pub struct MariaDBVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12061,12 +12062,12 @@ pub struct MariaDBVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -12095,7 +12096,7 @@ pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -12107,7 +12108,7 @@ pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -12122,7 +12123,7 @@ pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -12138,14 +12139,14 @@ pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -12156,7 +12157,7 @@ pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -12168,7 +12169,7 @@ pub struct MariaDBVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpression } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -12188,7 +12189,7 @@ pub struct MariaDBVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -12207,7 +12208,7 @@ pub struct MariaDBVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12215,7 +12216,7 @@ pub struct MariaDBVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -12226,7 +12227,7 @@ pub struct MariaDBVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -12243,7 +12244,7 @@ pub struct MariaDBVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12256,7 +12257,7 @@ pub struct MariaDBVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -12268,7 +12269,7 @@ pub struct MariaDBVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -12278,7 +12279,7 @@ pub struct MariaDBVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -12314,7 +12315,7 @@ pub struct MariaDBVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12322,7 +12323,7 @@ pub struct MariaDBVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -12334,7 +12335,7 @@ pub struct MariaDBVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -12345,7 +12346,7 @@ pub struct MariaDBVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -12356,7 +12357,7 @@ pub struct MariaDBVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -12370,7 +12371,7 @@ pub struct MariaDBVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -12381,7 +12382,7 @@ pub struct MariaDBVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -12398,7 +12399,7 @@ pub struct MariaDBVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12412,7 +12413,7 @@ pub struct MariaDBVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -12424,7 +12425,7 @@ pub struct MariaDBVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12432,7 +12433,7 @@ pub struct MariaDBVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -12448,7 +12449,7 @@ pub struct MariaDBVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -12459,7 +12460,7 @@ pub struct MariaDBVolumesProjectedSourcesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -12472,7 +12473,7 @@ pub struct MariaDBVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12486,7 +12487,7 @@ pub struct MariaDBVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -12498,7 +12499,7 @@ pub struct MariaDBVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12511,7 +12512,7 @@ pub struct MariaDBVolumesProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12532,7 +12533,7 @@ pub struct MariaDBVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -12559,7 +12560,7 @@ pub struct MariaDBVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12567,7 +12568,7 @@ pub struct MariaDBVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -12600,7 +12601,7 @@ pub struct MariaDBVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12608,7 +12609,7 @@ pub struct MariaDBVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -12625,7 +12626,7 @@ pub struct MariaDBVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesSecretItems { /// key is the key to project. pub key: String, @@ -12637,7 +12638,7 @@ pub struct MariaDBVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -12657,7 +12658,7 @@ pub struct MariaDBVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12665,7 +12666,7 @@ pub struct MariaDBVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -12682,7 +12683,7 @@ pub struct MariaDBVolumesVsphereVolume { } /// MariaDBStatus defines the observed state of MariaDB -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBStatus { /// Conditions for the Mariadb object. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12705,7 +12706,7 @@ pub struct MariaDBStatus { } /// GaleraRecovery is the Galera recovery current state. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBStatusGaleraRecovery { /// Bootstrap indicates when and in which Pod the cluster bootstrap process has been performed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12722,7 +12723,7 @@ pub struct MariaDBStatusGaleraRecovery { } /// Bootstrap indicates when and in which Pod the cluster bootstrap process has been performed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBStatusGaleraRecoveryBootstrap { #[serde(default, skip_serializing_if = "Option::is_none")] pub pod: Option, @@ -12731,7 +12732,7 @@ pub struct MariaDBStatusGaleraRecoveryBootstrap { } /// State is a per Pod representation of the sequence recovery process. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBStatusGaleraRecoveryRecovered { #[serde(default, skip_serializing_if = "Option::is_none")] pub seqno: Option, @@ -12740,7 +12741,7 @@ pub struct MariaDBStatusGaleraRecoveryRecovered { } /// State is a per Pod representation of the Galera state file (grastate.dat). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MariaDBStatusGaleraRecoveryState { #[serde(default, skip_serializing_if = "Option::is_none", rename = "safeToBootstrap")] pub safe_to_bootstrap: Option, diff --git a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/restores.rs b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/restores.rs index 5f8ff5e14..b8033a74c 100644 --- a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/restores.rs +++ b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/restores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/restores.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/restores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// RestoreSpec defines the desired state of restore -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "mariadb.mmontes.io", version = "v1alpha1", kind = "Restore", plural = "restores")] #[kube(namespaced)] #[kube(status = "RestoreStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct RestoreSpec { /// Affinity to be used in the Restore Pod. @@ -68,7 +69,7 @@ pub struct RestoreSpec { } /// Affinity to be used in the Restore Pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -82,7 +83,7 @@ pub struct RestoreAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -93,7 +94,7 @@ pub struct RestoreAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: RestoreAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -102,7 +103,7 @@ pub struct RestoreAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExec } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -113,7 +114,7 @@ pub struct RestoreAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExec } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -125,7 +126,7 @@ pub struct RestoreAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExec } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -137,7 +138,7 @@ pub struct RestoreAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExec } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -145,7 +146,7 @@ pub struct RestoreAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecu } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -156,7 +157,7 @@ pub struct RestoreAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -168,7 +169,7 @@ pub struct RestoreAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -180,7 +181,7 @@ pub struct RestoreAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecu } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -191,7 +192,7 @@ pub struct RestoreAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -201,7 +202,7 @@ pub struct RestoreAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -218,7 +219,7 @@ pub struct RestoreAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -229,7 +230,7 @@ pub struct RestoreAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -241,7 +242,7 @@ pub struct RestoreAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -252,7 +253,7 @@ pub struct RestoreAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -264,7 +265,7 @@ pub struct RestoreAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -281,7 +282,7 @@ pub struct RestoreAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -292,7 +293,7 @@ pub struct RestoreAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -304,7 +305,7 @@ pub struct RestoreAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -315,7 +316,7 @@ pub struct RestoreAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -327,7 +328,7 @@ pub struct RestoreAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -338,7 +339,7 @@ pub struct RestoreAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -348,7 +349,7 @@ pub struct RestoreAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -365,7 +366,7 @@ pub struct RestoreAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -376,7 +377,7 @@ pub struct RestoreAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -388,7 +389,7 @@ pub struct RestoreAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -399,7 +400,7 @@ pub struct RestoreAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -411,7 +412,7 @@ pub struct RestoreAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -428,7 +429,7 @@ pub struct RestoreAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -439,7 +440,7 @@ pub struct RestoreAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -451,7 +452,7 @@ pub struct RestoreAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -462,7 +463,7 @@ pub struct RestoreAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -474,7 +475,7 @@ pub struct RestoreAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx } /// BackupRef is a reference to a Backup object. It has priority over S3 and Volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreBackupRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -482,7 +483,7 @@ pub struct RestoreBackupRef { } /// MariaDBRef is a reference to a MariaDB object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreMariaDbRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -511,7 +512,7 @@ pub struct RestoreMariaDbRef { } /// SecurityContext holds pod-level security attributes and common container settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePodSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -548,7 +549,7 @@ pub struct RestorePodSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -565,7 +566,7 @@ pub struct RestorePodSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -577,7 +578,7 @@ pub struct RestorePodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -586,7 +587,7 @@ pub struct RestorePodSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestorePodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -603,7 +604,7 @@ pub struct RestorePodSecurityContextWindowsOptions { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -619,7 +620,7 @@ pub struct RestoreResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, @@ -634,7 +635,7 @@ pub enum RestoreRestartPolicy { } /// S3 defines the configuration to restore backups from a S3 compatible storage. It has priority over Volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreS3 { /// AccessKeyIdSecretKeyRef is a reference to a Secret key containing the S3 access key id. #[serde(rename = "accessKeyIdSecretKeyRef")] @@ -661,7 +662,7 @@ pub struct RestoreS3 { } /// AccessKeyIdSecretKeyRef is a reference to a Secret key containing the S3 access key id. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreS3AccessKeyIdSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -674,7 +675,7 @@ pub struct RestoreS3AccessKeyIdSecretKeyRef { } /// AccessKeyIdSecretKeyRef is a reference to a Secret key containing the S3 secret key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreS3SecretAccessKeySecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -687,7 +688,7 @@ pub struct RestoreS3SecretAccessKeySecretKeyRef { } /// SessionTokenSecretKeyRef is a reference to a Secret key containing the S3 session token. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreS3SessionTokenSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -700,7 +701,7 @@ pub struct RestoreS3SessionTokenSecretKeyRef { } /// TLS provides the configuration required to establish TLS connections with S3. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreS3Tls { /// CASecretKeyRef is a reference to a Secret key containing a CA bundle in PEM format used to establish TLS connections with S3. #[serde(default, skip_serializing_if = "Option::is_none", rename = "caSecretKeyRef")] @@ -711,7 +712,7 @@ pub struct RestoreS3Tls { } /// CASecretKeyRef is a reference to a Secret key containing a CA bundle in PEM format used to establish TLS connections with S3. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreS3TlsCaSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -724,7 +725,7 @@ pub struct RestoreS3TlsCaSecretKeyRef { } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -762,7 +763,7 @@ pub struct RestoreSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -773,7 +774,7 @@ pub struct RestoreSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -790,7 +791,7 @@ pub struct RestoreSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -802,7 +803,7 @@ pub struct RestoreSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -819,7 +820,7 @@ pub struct RestoreSecurityContextWindowsOptions { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -839,7 +840,7 @@ pub struct RestoreTolerations { } /// Volume is a Kubernetes Volume object that contains a backup. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolume { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -935,7 +936,7 @@ pub struct RestoreVolume { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -952,7 +953,7 @@ pub struct RestoreVolumeAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -975,7 +976,7 @@ pub struct RestoreVolumeAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -989,7 +990,7 @@ pub struct RestoreVolumeAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -1011,7 +1012,7 @@ pub struct RestoreVolumeCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1019,7 +1020,7 @@ pub struct RestoreVolumeCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1036,7 +1037,7 @@ pub struct RestoreVolumeCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1044,7 +1045,7 @@ pub struct RestoreVolumeCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1061,7 +1062,7 @@ pub struct RestoreVolumeConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeConfigMapItems { /// key is the key to project. pub key: String, @@ -1073,7 +1074,7 @@ pub struct RestoreVolumeConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -1092,7 +1093,7 @@ pub struct RestoreVolumeCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1100,7 +1101,7 @@ pub struct RestoreVolumeCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1111,7 +1112,7 @@ pub struct RestoreVolumeDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -1127,7 +1128,7 @@ pub struct RestoreVolumeDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1138,7 +1139,7 @@ pub struct RestoreVolumeDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1151,7 +1152,7 @@ pub struct RestoreVolumeDownwardApiItemsResourceFieldRef { } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1166,7 +1167,7 @@ pub struct RestoreVolumeEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -1180,7 +1181,7 @@ pub struct RestoreVolumeEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1190,12 +1191,12 @@ pub struct RestoreVolumeEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -1224,7 +1225,7 @@ pub struct RestoreVolumeEphemeralVolumeClaimTemplateSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1236,7 +1237,7 @@ pub struct RestoreVolumeEphemeralVolumeClaimTemplateSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1251,7 +1252,7 @@ pub struct RestoreVolumeEphemeralVolumeClaimTemplateSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1267,14 +1268,14 @@ pub struct RestoreVolumeEphemeralVolumeClaimTemplateSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1285,7 +1286,7 @@ pub struct RestoreVolumeEphemeralVolumeClaimTemplateSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1297,7 +1298,7 @@ pub struct RestoreVolumeEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1317,7 +1318,7 @@ pub struct RestoreVolumeFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -1336,7 +1337,7 @@ pub struct RestoreVolumeFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1344,7 +1345,7 @@ pub struct RestoreVolumeFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -1355,7 +1356,7 @@ pub struct RestoreVolumeFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1372,7 +1373,7 @@ pub struct RestoreVolumeGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1385,7 +1386,7 @@ pub struct RestoreVolumeGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -1397,7 +1398,7 @@ pub struct RestoreVolumeGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -1407,7 +1408,7 @@ pub struct RestoreVolumeHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -1443,7 +1444,7 @@ pub struct RestoreVolumeIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1451,7 +1452,7 @@ pub struct RestoreVolumeIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -1463,7 +1464,7 @@ pub struct RestoreVolumeNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumePersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -1474,7 +1475,7 @@ pub struct RestoreVolumePersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumePhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1485,7 +1486,7 @@ pub struct RestoreVolumePhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumePortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1499,7 +1500,7 @@ pub struct RestoreVolumePortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1510,7 +1511,7 @@ pub struct RestoreVolumeProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1527,7 +1528,7 @@ pub struct RestoreVolumeProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1541,7 +1542,7 @@ pub struct RestoreVolumeProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -1553,7 +1554,7 @@ pub struct RestoreVolumeProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1561,7 +1562,7 @@ pub struct RestoreVolumeProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -1577,7 +1578,7 @@ pub struct RestoreVolumeProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1588,7 +1589,7 @@ pub struct RestoreVolumeProjectedSourcesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1601,7 +1602,7 @@ pub struct RestoreVolumeProjectedSourcesDownwardApiItemsResourceFieldRef { } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1615,7 +1616,7 @@ pub struct RestoreVolumeProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -1627,7 +1628,7 @@ pub struct RestoreVolumeProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1640,7 +1641,7 @@ pub struct RestoreVolumeProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1661,7 +1662,7 @@ pub struct RestoreVolumeQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1688,7 +1689,7 @@ pub struct RestoreVolumeRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1696,7 +1697,7 @@ pub struct RestoreVolumeRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1729,7 +1730,7 @@ pub struct RestoreVolumeScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1737,7 +1738,7 @@ pub struct RestoreVolumeScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1754,7 +1755,7 @@ pub struct RestoreVolumeSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeSecretItems { /// key is the key to project. pub key: String, @@ -1766,7 +1767,7 @@ pub struct RestoreVolumeSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1786,7 +1787,7 @@ pub struct RestoreVolumeStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1794,7 +1795,7 @@ pub struct RestoreVolumeStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreVolumeVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1811,7 +1812,7 @@ pub struct RestoreVolumeVsphereVolume { } /// RestoreStatus defines the observed state of restore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RestoreStatus { /// Conditions for the Restore object. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/sqljobs.rs b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/sqljobs.rs index 91d3a74b7..dbe082e99 100644 --- a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/sqljobs.rs +++ b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/sqljobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/sqljobs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/sqljobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// SqlJobSpec defines the desired state of SqlJob -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "mariadb.mmontes.io", version = "v1alpha1", kind = "SqlJob", plural = "sqljobs")] #[kube(namespaced)] #[kube(status = "SqlJobStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct SqlJobSpec { /// Affinity to be used in the SqlJob Pod. @@ -70,7 +71,7 @@ pub struct SqlJobSpec { } /// Affinity to be used in the SqlJob Pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -84,7 +85,7 @@ pub struct SqlJobAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -95,7 +96,7 @@ pub struct SqlJobAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: SqlJobAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -104,7 +105,7 @@ pub struct SqlJobAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -115,7 +116,7 @@ pub struct SqlJobAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -127,7 +128,7 @@ pub struct SqlJobAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -139,7 +140,7 @@ pub struct SqlJobAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -147,7 +148,7 @@ pub struct SqlJobAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -158,7 +159,7 @@ pub struct SqlJobAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -170,7 +171,7 @@ pub struct SqlJobAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -182,7 +183,7 @@ pub struct SqlJobAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -193,7 +194,7 @@ pub struct SqlJobAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -203,7 +204,7 @@ pub struct SqlJobAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecut } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -220,7 +221,7 @@ pub struct SqlJobAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecut } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -231,7 +232,7 @@ pub struct SqlJobAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecut } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -243,7 +244,7 @@ pub struct SqlJobAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecut } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -254,7 +255,7 @@ pub struct SqlJobAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecut } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -266,7 +267,7 @@ pub struct SqlJobAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecut } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -283,7 +284,7 @@ pub struct SqlJobAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecuti } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -294,7 +295,7 @@ pub struct SqlJobAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecuti } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -306,7 +307,7 @@ pub struct SqlJobAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecuti } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -317,7 +318,7 @@ pub struct SqlJobAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecuti } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -329,7 +330,7 @@ pub struct SqlJobAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecuti } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -340,7 +341,7 @@ pub struct SqlJobAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -350,7 +351,7 @@ pub struct SqlJobAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringEx } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -367,7 +368,7 @@ pub struct SqlJobAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -378,7 +379,7 @@ pub struct SqlJobAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -390,7 +391,7 @@ pub struct SqlJobAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -401,7 +402,7 @@ pub struct SqlJobAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -413,7 +414,7 @@ pub struct SqlJobAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringEx } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -430,7 +431,7 @@ pub struct SqlJobAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -441,7 +442,7 @@ pub struct SqlJobAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -453,7 +454,7 @@ pub struct SqlJobAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -464,7 +465,7 @@ pub struct SqlJobAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -476,7 +477,7 @@ pub struct SqlJobAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExe } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobDependsOn { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -484,7 +485,7 @@ pub struct SqlJobDependsOn { } /// MariaDBRef is a reference to a MariaDB object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobMariaDbRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -513,7 +514,7 @@ pub struct SqlJobMariaDbRef { } /// UserPasswordSecretKeyRef is a reference to the impersonated user's password to be used when executing the SqlJob. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobPasswordSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -526,7 +527,7 @@ pub struct SqlJobPasswordSecretKeyRef { } /// SecurityContext holds pod-level security attributes and common container settings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobPodSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -563,7 +564,7 @@ pub struct SqlJobPodSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobPodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -580,7 +581,7 @@ pub struct SqlJobPodSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobPodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -592,7 +593,7 @@ pub struct SqlJobPodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobPodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -601,7 +602,7 @@ pub struct SqlJobPodSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobPodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -618,7 +619,7 @@ pub struct SqlJobPodSecurityContextWindowsOptions { } /// Resouces describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -634,7 +635,7 @@ pub struct SqlJobResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, @@ -649,7 +650,7 @@ pub enum SqlJobRestartPolicy { } /// Schedule defines when the SqlJob will be executed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobSchedule { /// Cron is a cron expression that defines the schedule. pub cron: String, @@ -659,7 +660,7 @@ pub struct SqlJobSchedule { } /// SecurityContext holds security configuration that will be applied to a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -697,7 +698,7 @@ pub struct SqlJobSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -708,7 +709,7 @@ pub struct SqlJobSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -725,7 +726,7 @@ pub struct SqlJobSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -737,7 +738,7 @@ pub struct SqlJobSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -754,7 +755,7 @@ pub struct SqlJobSecurityContextWindowsOptions { } /// SqlConfigMapKeyRef is a reference to a ConfigMap containing the Sql script. It is defaulted to a ConfigMap with the contents of the Sql field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobSqlConfigMapKeyRef { /// The key to select. pub key: String, @@ -767,7 +768,7 @@ pub struct SqlJobSqlConfigMapKeyRef { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -787,7 +788,7 @@ pub struct SqlJobTolerations { } /// SqlJobStatus defines the observed state of SqlJob -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SqlJobStatus { /// Conditions for the SqlJob object. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/users.rs b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/users.rs index 50ea9d1f7..e01a7a2b5 100644 --- a/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/users.rs +++ b/kube-custom-resources-rs/src/mariadb_mmontes_io/v1alpha1/users.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/users.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/mariadb-operator/mariadb-operator/mariadb.mmontes.io/v1alpha1/users.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// UserSpec defines the desired state of User -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "mariadb.mmontes.io", version = "v1alpha1", kind = "User", plural = "users")] #[kube(namespaced)] #[kube(status = "UserStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct UserSpec { /// Host related to the User. @@ -42,7 +43,7 @@ pub struct UserSpec { } /// MariaDBRef is a reference to a MariaDB object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UserMariaDbRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -71,7 +72,7 @@ pub struct UserMariaDbRef { } /// PasswordSecretKeyRef is a reference to the password to be used by the User. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UserPasswordSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -84,7 +85,7 @@ pub struct UserPasswordSecretKeyRef { } /// UserStatus defines the observed state of User -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UserStatus { /// Conditions for the User object. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/marin3r_3scale_net/v1alpha1/envoyconfigrevisions.rs b/kube-custom-resources-rs/src/marin3r_3scale_net/v1alpha1/envoyconfigrevisions.rs index e8da7f0cf..c502836bc 100644 --- a/kube-custom-resources-rs/src/marin3r_3scale_net/v1alpha1/envoyconfigrevisions.rs +++ b/kube-custom-resources-rs/src/marin3r_3scale_net/v1alpha1/envoyconfigrevisions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/3scale-ops/marin3r/marin3r.3scale.net/v1alpha1/envoyconfigrevisions.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/3scale-ops/marin3r/marin3r.3scale.net/v1alpha1/envoyconfigrevisions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// EnvoyConfigRevisionSpec defines the desired state of EnvoyConfigRevision -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "marin3r.3scale.net", version = "v1alpha1", kind = "EnvoyConfigRevision", plural = "envoyconfigrevisions")] #[kube(namespaced)] #[kube(status = "EnvoyConfigRevisionStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct EnvoyConfigRevisionSpec { /// EnvoyAPI is the version of envoy's API to use. Defaults to v3. @@ -46,7 +47,7 @@ pub enum EnvoyConfigRevisionEnvoyApi { } /// EnvoyResources holds the different types of resources suported by the envoy discovery service -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigRevisionEnvoyResources { /// Clusters is a list of the envoy Cluster resource type. API V3 reference: https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/cluster/v3/cluster.proto #[serde(default, skip_serializing_if = "Option::is_none")] @@ -75,7 +76,7 @@ pub struct EnvoyConfigRevisionEnvoyResources { } /// EnvoyResource holds serialized representation of an envoy resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigRevisionEnvoyResourcesClusters { /// Name of the envoy resource. DEPRECATED: this field has no effect and will be removed in an upcoming release. The name of the resources for discovery purposes is included in the resource itself. Refer to the envoy API reference to check how the name is specified for each resource type. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -85,7 +86,7 @@ pub struct EnvoyConfigRevisionEnvoyResourcesClusters { } /// EnvoyResource holds serialized representation of an envoy resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigRevisionEnvoyResourcesEndpoints { /// Name of the envoy resource. DEPRECATED: this field has no effect and will be removed in an upcoming release. The name of the resources for discovery purposes is included in the resource itself. Refer to the envoy API reference to check how the name is specified for each resource type. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -95,7 +96,7 @@ pub struct EnvoyConfigRevisionEnvoyResourcesEndpoints { } /// EnvoyResource holds serialized representation of an envoy resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigRevisionEnvoyResourcesExtensionConfigs { /// Name of the envoy resource. DEPRECATED: this field has no effect and will be removed in an upcoming release. The name of the resources for discovery purposes is included in the resource itself. Refer to the envoy API reference to check how the name is specified for each resource type. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -105,7 +106,7 @@ pub struct EnvoyConfigRevisionEnvoyResourcesExtensionConfigs { } /// EnvoyResource holds serialized representation of an envoy resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigRevisionEnvoyResourcesListeners { /// Name of the envoy resource. DEPRECATED: this field has no effect and will be removed in an upcoming release. The name of the resources for discovery purposes is included in the resource itself. Refer to the envoy API reference to check how the name is specified for each resource type. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -115,7 +116,7 @@ pub struct EnvoyConfigRevisionEnvoyResourcesListeners { } /// EnvoyResource holds serialized representation of an envoy resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigRevisionEnvoyResourcesRoutes { /// Name of the envoy resource. DEPRECATED: this field has no effect and will be removed in an upcoming release. The name of the resources for discovery purposes is included in the resource itself. Refer to the envoy API reference to check how the name is specified for each resource type. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -125,7 +126,7 @@ pub struct EnvoyConfigRevisionEnvoyResourcesRoutes { } /// EnvoyResource holds serialized representation of an envoy resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigRevisionEnvoyResourcesRuntimes { /// Name of the envoy resource. DEPRECATED: this field has no effect and will be removed in an upcoming release. The name of the resources for discovery purposes is included in the resource itself. Refer to the envoy API reference to check how the name is specified for each resource type. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -135,7 +136,7 @@ pub struct EnvoyConfigRevisionEnvoyResourcesRuntimes { } /// EnvoyResource holds serialized representation of an envoy resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigRevisionEnvoyResourcesScopedRoutes { /// Name of the envoy resource. DEPRECATED: this field has no effect and will be removed in an upcoming release. The name of the resources for discovery purposes is included in the resource itself. Refer to the envoy API reference to check how the name is specified for each resource type. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -145,7 +146,7 @@ pub struct EnvoyConfigRevisionEnvoyResourcesScopedRoutes { } /// EnvoySecretResource holds a reference to a k8s Secret from where to take a secret from. Only Secrets within the same namespace can be referred. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigRevisionEnvoyResourcesSecrets { /// Name of the envoy tslCerticate secret resource. The certificate will be fetched from a Kubernetes Secrets of type 'kubernetes.io/tls' with this same name. pub name: String, @@ -155,7 +156,7 @@ pub struct EnvoyConfigRevisionEnvoyResourcesSecrets { } /// DEPRECATED: this field is deprecated and it's value will be ignored. The 'name' of the Kubernetes Secret must match the 'name' field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigRevisionEnvoyResourcesSecretsRef { /// name is unique within a namespace to reference a secret resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -198,7 +199,7 @@ pub enum EnvoyConfigRevisionResourcesBlueprint { } /// Specifies a label selector to watch for EndpointSlices that will be used to generate the endpoint resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigRevisionResourcesGenerateFromEndpointSlices { #[serde(rename = "clusterName")] pub cluster_name: String, @@ -209,7 +210,7 @@ pub struct EnvoyConfigRevisionResourcesGenerateFromEndpointSlices { } /// A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigRevisionResourcesGenerateFromEndpointSlicesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -220,7 +221,7 @@ pub struct EnvoyConfigRevisionResourcesGenerateFromEndpointSlicesSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigRevisionResourcesGenerateFromEndpointSlicesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -232,7 +233,7 @@ pub struct EnvoyConfigRevisionResourcesGenerateFromEndpointSlicesSelectorMatchEx } /// The name of a Kubernetes Secret of type "Opaque". It will generate an envoy "generic secret" proto. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigRevisionResourcesGenerateFromOpaqueSecret { /// A unique name to refer to the name:key combination pub alias: String, @@ -275,7 +276,7 @@ pub enum EnvoyConfigRevisionSerialization { } /// EnvoyConfigRevisionStatus defines the observed state of EnvoyConfigRevision -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigRevisionStatus { /// Conditions represent the latest available observations of an object's state #[serde(default, skip_serializing_if = "Option::is_none")] @@ -295,7 +296,7 @@ pub struct EnvoyConfigRevisionStatus { } /// ProvidesVersions keeps track of the version that this revision publishes in the xDS server for each resource type -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigRevisionStatusProvidesVersions { #[serde(default, skip_serializing_if = "Option::is_none")] pub clusters: Option, diff --git a/kube-custom-resources-rs/src/marin3r_3scale_net/v1alpha1/envoyconfigs.rs b/kube-custom-resources-rs/src/marin3r_3scale_net/v1alpha1/envoyconfigs.rs index e42648324..40b40fee1 100644 --- a/kube-custom-resources-rs/src/marin3r_3scale_net/v1alpha1/envoyconfigs.rs +++ b/kube-custom-resources-rs/src/marin3r_3scale_net/v1alpha1/envoyconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/3scale-ops/marin3r/marin3r.3scale.net/v1alpha1/envoyconfigs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/3scale-ops/marin3r/marin3r.3scale.net/v1alpha1/envoyconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// EnvoyConfigSpec defines the desired state of EnvoyConfig -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "marin3r.3scale.net", version = "v1alpha1", kind = "EnvoyConfig", plural = "envoyconfigs")] #[kube(namespaced)] #[kube(status = "EnvoyConfigStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct EnvoyConfigSpec { /// EnvoyAPI is the version of envoy's API to use. Defaults to v3. @@ -44,7 +45,7 @@ pub enum EnvoyConfigEnvoyApi { } /// EnvoyResources holds the different types of resources suported by the envoy discovery service DEPRECATED. Use the `resources` field instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigEnvoyResources { /// Clusters is a list of the envoy Cluster resource type. API V3 reference: https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/cluster/v3/cluster.proto #[serde(default, skip_serializing_if = "Option::is_none")] @@ -73,7 +74,7 @@ pub struct EnvoyConfigEnvoyResources { } /// EnvoyResource holds serialized representation of an envoy resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigEnvoyResourcesClusters { /// Name of the envoy resource. DEPRECATED: this field has no effect and will be removed in an upcoming release. The name of the resources for discovery purposes is included in the resource itself. Refer to the envoy API reference to check how the name is specified for each resource type. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -83,7 +84,7 @@ pub struct EnvoyConfigEnvoyResourcesClusters { } /// EnvoyResource holds serialized representation of an envoy resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigEnvoyResourcesEndpoints { /// Name of the envoy resource. DEPRECATED: this field has no effect and will be removed in an upcoming release. The name of the resources for discovery purposes is included in the resource itself. Refer to the envoy API reference to check how the name is specified for each resource type. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -93,7 +94,7 @@ pub struct EnvoyConfigEnvoyResourcesEndpoints { } /// EnvoyResource holds serialized representation of an envoy resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigEnvoyResourcesExtensionConfigs { /// Name of the envoy resource. DEPRECATED: this field has no effect and will be removed in an upcoming release. The name of the resources for discovery purposes is included in the resource itself. Refer to the envoy API reference to check how the name is specified for each resource type. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -103,7 +104,7 @@ pub struct EnvoyConfigEnvoyResourcesExtensionConfigs { } /// EnvoyResource holds serialized representation of an envoy resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigEnvoyResourcesListeners { /// Name of the envoy resource. DEPRECATED: this field has no effect and will be removed in an upcoming release. The name of the resources for discovery purposes is included in the resource itself. Refer to the envoy API reference to check how the name is specified for each resource type. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -113,7 +114,7 @@ pub struct EnvoyConfigEnvoyResourcesListeners { } /// EnvoyResource holds serialized representation of an envoy resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigEnvoyResourcesRoutes { /// Name of the envoy resource. DEPRECATED: this field has no effect and will be removed in an upcoming release. The name of the resources for discovery purposes is included in the resource itself. Refer to the envoy API reference to check how the name is specified for each resource type. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -123,7 +124,7 @@ pub struct EnvoyConfigEnvoyResourcesRoutes { } /// EnvoyResource holds serialized representation of an envoy resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigEnvoyResourcesRuntimes { /// Name of the envoy resource. DEPRECATED: this field has no effect and will be removed in an upcoming release. The name of the resources for discovery purposes is included in the resource itself. Refer to the envoy API reference to check how the name is specified for each resource type. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -133,7 +134,7 @@ pub struct EnvoyConfigEnvoyResourcesRuntimes { } /// EnvoyResource holds serialized representation of an envoy resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigEnvoyResourcesScopedRoutes { /// Name of the envoy resource. DEPRECATED: this field has no effect and will be removed in an upcoming release. The name of the resources for discovery purposes is included in the resource itself. Refer to the envoy API reference to check how the name is specified for each resource type. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -143,7 +144,7 @@ pub struct EnvoyConfigEnvoyResourcesScopedRoutes { } /// EnvoySecretResource holds a reference to a k8s Secret from where to take a secret from. Only Secrets within the same namespace can be referred. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigEnvoyResourcesSecrets { /// Name of the envoy tslCerticate secret resource. The certificate will be fetched from a Kubernetes Secrets of type 'kubernetes.io/tls' with this same name. pub name: String, @@ -153,7 +154,7 @@ pub struct EnvoyConfigEnvoyResourcesSecrets { } /// DEPRECATED: this field is deprecated and it's value will be ignored. The 'name' of the Kubernetes Secret must match the 'name' field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigEnvoyResourcesSecretsRef { /// name is unique within a namespace to reference a secret resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -196,7 +197,7 @@ pub enum EnvoyConfigResourcesBlueprint { } /// Specifies a label selector to watch for EndpointSlices that will be used to generate the endpoint resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigResourcesGenerateFromEndpointSlices { #[serde(rename = "clusterName")] pub cluster_name: String, @@ -207,7 +208,7 @@ pub struct EnvoyConfigResourcesGenerateFromEndpointSlices { } /// A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigResourcesGenerateFromEndpointSlicesSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -218,7 +219,7 @@ pub struct EnvoyConfigResourcesGenerateFromEndpointSlicesSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigResourcesGenerateFromEndpointSlicesSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -230,7 +231,7 @@ pub struct EnvoyConfigResourcesGenerateFromEndpointSlicesSelectorMatchExpression } /// The name of a Kubernetes Secret of type "Opaque". It will generate an envoy "generic secret" proto. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigResourcesGenerateFromOpaqueSecret { /// A unique name to refer to the name:key combination pub alias: String, @@ -271,7 +272,7 @@ pub enum EnvoyConfigSerialization { } /// EnvoyConfigStatus defines the observed state of EnvoyConfig -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigStatus { /// CacheState summarizes all the observations about the EnvoyConfig to give the user a concrete idea on the general status of the discovery servie cache. It is intended only for human consumption. Other controllers should relly on conditions to determine the status of the discovery server cache. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cacheState")] @@ -291,7 +292,7 @@ pub struct EnvoyConfigStatus { } /// ConfigRevisionRef holds a reference to EnvoyConfigRevision object -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigStatusRevisions { /// Ref is a reference to the EnvoyConfigRevision object that holds the configuration matching the Version field. #[serde(rename = "ref")] @@ -301,7 +302,7 @@ pub struct EnvoyConfigStatusRevisions { } /// Ref is a reference to the EnvoyConfigRevision object that holds the configuration matching the Version field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EnvoyConfigStatusRevisionsRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] diff --git a/kube-custom-resources-rs/src/mattermost_com/v1alpha1/clusterinstallations.rs b/kube-custom-resources-rs/src/mattermost_com/v1alpha1/clusterinstallations.rs index 508ef1052..bd6fc2585 100644 --- a/kube-custom-resources-rs/src/mattermost_com/v1alpha1/clusterinstallations.rs +++ b/kube-custom-resources-rs/src/mattermost_com/v1alpha1/clusterinstallations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/mattermost/mattermost-operator/mattermost.com/v1alpha1/clusterinstallations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/mattermost/mattermost-operator/mattermost.com/v1alpha1/clusterinstallations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/mattermost_com/v1alpha1/mattermostrestoredbs.rs b/kube-custom-resources-rs/src/mattermost_com/v1alpha1/mattermostrestoredbs.rs index 8fec7af2b..1e8539262 100644 --- a/kube-custom-resources-rs/src/mattermost_com/v1alpha1/mattermostrestoredbs.rs +++ b/kube-custom-resources-rs/src/mattermost_com/v1alpha1/mattermostrestoredbs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/mattermost/mattermost-operator/mattermost.com/v1alpha1/mattermostrestoredbs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/mattermost/mattermost-operator/mattermost.com/v1alpha1/mattermostrestoredbs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/acls.rs b/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/acls.rs index b4b116189..80a7e88a4 100644 --- a/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/acls.rs +++ b/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/acls.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/memorydb-controller/memorydb.services.k8s.aws/v1alpha1/acls.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/memorydb-controller/memorydb.services.k8s.aws/v1alpha1/acls.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/clusters.rs b/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/clusters.rs index 0ad54da5b..0bdfb6145 100644 --- a/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/clusters.rs +++ b/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/clusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/memorydb-controller/memorydb.services.k8s.aws/v1alpha1/clusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/memorydb-controller/memorydb.services.k8s.aws/v1alpha1/clusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/parametergroups.rs b/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/parametergroups.rs index 57a13394f..1f051844e 100644 --- a/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/parametergroups.rs +++ b/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/parametergroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/memorydb-controller/memorydb.services.k8s.aws/v1alpha1/parametergroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/memorydb-controller/memorydb.services.k8s.aws/v1alpha1/parametergroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/snapshots.rs b/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/snapshots.rs index e58600531..be641c53d 100644 --- a/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/snapshots.rs +++ b/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/snapshots.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/memorydb-controller/memorydb.services.k8s.aws/v1alpha1/snapshots.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/memorydb-controller/memorydb.services.k8s.aws/v1alpha1/snapshots.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/subnetgroups.rs b/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/subnetgroups.rs index 804f8fca9..88a90d817 100644 --- a/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/subnetgroups.rs +++ b/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/subnetgroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/memorydb-controller/memorydb.services.k8s.aws/v1alpha1/subnetgroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/memorydb-controller/memorydb.services.k8s.aws/v1alpha1/subnetgroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/users.rs b/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/users.rs index 1bd730940..32e2c1ce8 100644 --- a/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/users.rs +++ b/kube-custom-resources-rs/src/memorydb_services_k8s_aws/v1alpha1/users.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/memorydb-controller/memorydb.services.k8s.aws/v1alpha1/users.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/memorydb-controller/memorydb.services.k8s.aws/v1alpha1/users.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/metacontroller_k8s_io/v1alpha1/compositecontrollers.rs b/kube-custom-resources-rs/src/metacontroller_k8s_io/v1alpha1/compositecontrollers.rs index 63516ffaf..92ba09186 100644 --- a/kube-custom-resources-rs/src/metacontroller_k8s_io/v1alpha1/compositecontrollers.rs +++ b/kube-custom-resources-rs/src/metacontroller_k8s_io/v1alpha1/compositecontrollers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/metacontroller/metacontroller/metacontroller.k8s.io/v1alpha1/compositecontrollers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/metacontroller/metacontroller/metacontroller.k8s.io/v1alpha1/compositecontrollers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/metacontroller_k8s_io/v1alpha1/controllerrevisions.rs b/kube-custom-resources-rs/src/metacontroller_k8s_io/v1alpha1/controllerrevisions.rs index aace7d99b..d056d11b2 100644 --- a/kube-custom-resources-rs/src/metacontroller_k8s_io/v1alpha1/controllerrevisions.rs +++ b/kube-custom-resources-rs/src/metacontroller_k8s_io/v1alpha1/controllerrevisions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/metacontroller/metacontroller/metacontroller.k8s.io/v1alpha1/controllerrevisions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/metacontroller/metacontroller/metacontroller.k8s.io/v1alpha1/controllerrevisions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/metacontroller_k8s_io/v1alpha1/decoratorcontrollers.rs b/kube-custom-resources-rs/src/metacontroller_k8s_io/v1alpha1/decoratorcontrollers.rs index 45fd7a12c..ae26dfd72 100644 --- a/kube-custom-resources-rs/src/metacontroller_k8s_io/v1alpha1/decoratorcontrollers.rs +++ b/kube-custom-resources-rs/src/metacontroller_k8s_io/v1alpha1/decoratorcontrollers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/metacontroller/metacontroller/metacontroller.k8s.io/v1alpha1/decoratorcontrollers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/metacontroller/metacontroller/metacontroller.k8s.io/v1alpha1/decoratorcontrollers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/metal3_io/v1alpha1/bmceventsubscriptions.rs b/kube-custom-resources-rs/src/metal3_io/v1alpha1/bmceventsubscriptions.rs index 5085d8ec9..56b561325 100644 --- a/kube-custom-resources-rs/src/metal3_io/v1alpha1/bmceventsubscriptions.rs +++ b/kube-custom-resources-rs/src/metal3_io/v1alpha1/bmceventsubscriptions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/bmceventsubscriptions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/bmceventsubscriptions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/metal3_io/v1alpha1/dataimages.rs b/kube-custom-resources-rs/src/metal3_io/v1alpha1/dataimages.rs index c79a2973d..c4874bd9b 100644 --- a/kube-custom-resources-rs/src/metal3_io/v1alpha1/dataimages.rs +++ b/kube-custom-resources-rs/src/metal3_io/v1alpha1/dataimages.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/dataimages.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/dataimages.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/metal3_io/v1alpha1/firmwareschemas.rs b/kube-custom-resources-rs/src/metal3_io/v1alpha1/firmwareschemas.rs index 1e295c35f..5856e484d 100644 --- a/kube-custom-resources-rs/src/metal3_io/v1alpha1/firmwareschemas.rs +++ b/kube-custom-resources-rs/src/metal3_io/v1alpha1/firmwareschemas.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/firmwareschemas.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/firmwareschemas.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/metal3_io/v1alpha1/hardwaredata.rs b/kube-custom-resources-rs/src/metal3_io/v1alpha1/hardwaredata.rs index 0205ab404..6cb73a005 100644 --- a/kube-custom-resources-rs/src/metal3_io/v1alpha1/hardwaredata.rs +++ b/kube-custom-resources-rs/src/metal3_io/v1alpha1/hardwaredata.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/hardwaredata.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/hardwaredata.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/metal3_io/v1alpha1/hostfirmwarecomponents.rs b/kube-custom-resources-rs/src/metal3_io/v1alpha1/hostfirmwarecomponents.rs index d8fdf36ac..1c2e4b93e 100644 --- a/kube-custom-resources-rs/src/metal3_io/v1alpha1/hostfirmwarecomponents.rs +++ b/kube-custom-resources-rs/src/metal3_io/v1alpha1/hostfirmwarecomponents.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/hostfirmwarecomponents.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/hostfirmwarecomponents.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/metal3_io/v1alpha1/hostfirmwaresettings.rs b/kube-custom-resources-rs/src/metal3_io/v1alpha1/hostfirmwaresettings.rs index a568014db..71d5af95a 100644 --- a/kube-custom-resources-rs/src/metal3_io/v1alpha1/hostfirmwaresettings.rs +++ b/kube-custom-resources-rs/src/metal3_io/v1alpha1/hostfirmwaresettings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/hostfirmwaresettings.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/hostfirmwaresettings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// HostFirmwareSettingsSpec defines the desired state of HostFirmwareSettings. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "metal3.io", version = "v1alpha1", kind = "HostFirmwareSettings", plural = "hostfirmwaresettings")] #[kube(namespaced)] #[kube(status = "HostFirmwareSettingsStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct HostFirmwareSettingsSpec { /// Settings are the desired firmware settings stored as name/value pairs. @@ -25,7 +26,7 @@ pub struct HostFirmwareSettingsSpec { } /// HostFirmwareSettingsStatus defines the observed state of HostFirmwareSettings. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HostFirmwareSettingsStatus { /// Track whether settings stored in the spec are valid based on the schema #[serde(default, skip_serializing_if = "Option::is_none")] @@ -41,7 +42,7 @@ pub struct HostFirmwareSettingsStatus { } /// FirmwareSchema is a reference to the Schema used to describe each FirmwareSetting. By default, this will be a Schema in the same Namespace as the settings but it can be overwritten in the Spec -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HostFirmwareSettingsStatusSchema { /// `name` is the reference to the schema. pub name: String, diff --git a/kube-custom-resources-rs/src/metal3_io/v1alpha1/preprovisioningimages.rs b/kube-custom-resources-rs/src/metal3_io/v1alpha1/preprovisioningimages.rs index 1f0af0fac..ef895f56c 100644 --- a/kube-custom-resources-rs/src/metal3_io/v1alpha1/preprovisioningimages.rs +++ b/kube-custom-resources-rs/src/metal3_io/v1alpha1/preprovisioningimages.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/preprovisioningimages.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/metal3-io/baremetal-operator/metal3.io/v1alpha1/preprovisioningimages.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// PreprovisioningImageSpec defines the desired state of PreprovisioningImage. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "metal3.io", version = "v1alpha1", kind = "PreprovisioningImage", plural = "preprovisioningimages")] #[kube(namespaced)] #[kube(status = "PreprovisioningImageStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PreprovisioningImageSpec { /// acceptFormats is a list of acceptable image formats. @@ -30,7 +31,7 @@ pub struct PreprovisioningImageSpec { } /// PreprovisioningImageStatus defines the observed state of PreprovisioningImage. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PreprovisioningImageStatus { /// architecture is the processor architecture for which the image is built #[serde(default, skip_serializing_if = "Option::is_none")] @@ -65,7 +66,7 @@ pub enum PreprovisioningImageStatusFormat { } /// networkData is a reference to the version of the Secret containing the network data used to build the image. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PreprovisioningImageStatusNetworkData { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, diff --git a/kube-custom-resources-rs/src/microcks_github_io/v1alpha1/microcksinstalls.rs b/kube-custom-resources-rs/src/microcks_github_io/v1alpha1/microcksinstalls.rs index 7152d398a..232028c45 100644 --- a/kube-custom-resources-rs/src/microcks_github_io/v1alpha1/microcksinstalls.rs +++ b/kube-custom-resources-rs/src/microcks_github_io/v1alpha1/microcksinstalls.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/microcks/microcks-ansible-operator/microcks.github.io/v1alpha1/microcksinstalls.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/microcks/microcks-ansible-operator/microcks.github.io/v1alpha1/microcksinstalls.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/minio_min_io/v2/tenants.rs b/kube-custom-resources-rs/src/minio_min_io/v2/tenants.rs index d885107cd..7f27fd469 100644 --- a/kube-custom-resources-rs/src/minio_min_io/v2/tenants.rs +++ b/kube-custom-resources-rs/src/minio_min_io/v2/tenants.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/minio/operator/minio.min.io/v2/tenants.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/minio/operator/minio.min.io/v2/tenants.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/mirrors_kts_studio/v1alpha1/secretmirrors.rs b/kube-custom-resources-rs/src/mirrors_kts_studio/v1alpha1/secretmirrors.rs index d6fc4948b..6af7f21f4 100644 --- a/kube-custom-resources-rs/src/mirrors_kts_studio/v1alpha1/secretmirrors.rs +++ b/kube-custom-resources-rs/src/mirrors_kts_studio/v1alpha1/secretmirrors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/ktsstudio/mirrors/mirrors.kts.studio/v1alpha1/secretmirrors.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/ktsstudio/mirrors/mirrors.kts.studio/v1alpha1/secretmirrors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/mirrors_kts_studio/v1alpha2/secretmirrors.rs b/kube-custom-resources-rs/src/mirrors_kts_studio/v1alpha2/secretmirrors.rs index 359ed6ec3..9e0340ae1 100644 --- a/kube-custom-resources-rs/src/mirrors_kts_studio/v1alpha2/secretmirrors.rs +++ b/kube-custom-resources-rs/src/mirrors_kts_studio/v1alpha2/secretmirrors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/ktsstudio/mirrors/mirrors.kts.studio/v1alpha2/secretmirrors.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/ktsstudio/mirrors/mirrors.kts.studio/v1alpha2/secretmirrors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/model_kubedl_io/v1alpha1/models.rs b/kube-custom-resources-rs/src/model_kubedl_io/v1alpha1/models.rs index 11e0e82ef..43dd9ee9d 100644 --- a/kube-custom-resources-rs/src/model_kubedl_io/v1alpha1/models.rs +++ b/kube-custom-resources-rs/src/model_kubedl_io/v1alpha1/models.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/model.kubedl.io/v1alpha1/models.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/model.kubedl.io/v1alpha1/models.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/model_kubedl_io/v1alpha1/modelversions.rs b/kube-custom-resources-rs/src/model_kubedl_io/v1alpha1/modelversions.rs index 035ad4741..e20d23f81 100644 --- a/kube-custom-resources-rs/src/model_kubedl_io/v1alpha1/modelversions.rs +++ b/kube-custom-resources-rs/src/model_kubedl_io/v1alpha1/modelversions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/model.kubedl.io/v1alpha1/modelversions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/model.kubedl.io/v1alpha1/modelversions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/alertmanagers.rs b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/alertmanagers.rs index adb5448cd..d404aac5a 100644 --- a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/alertmanagers.rs +++ b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/alertmanagers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/alertmanagers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/alertmanagers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/podmonitors.rs b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/podmonitors.rs index 20d74d14a..b55cbf96c 100644 --- a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/podmonitors.rs +++ b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/podmonitors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/podmonitors.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/podmonitors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/probes.rs b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/probes.rs index 941c085ac..8c3cf287d 100644 --- a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/probes.rs +++ b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/probes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/probes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/probes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/prometheuses.rs b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/prometheuses.rs index c008fcc18..47e254980 100644 --- a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/prometheuses.rs +++ b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/prometheuses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/prometheuses.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/prometheuses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -14,11 +14,12 @@ use self::prelude::*; /// Specification of the desired behavior of the Prometheus cluster. More info: /// https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "monitoring.coreos.com", version = "v1", kind = "Prometheus", plural = "prometheuses")] #[kube(namespaced)] #[kube(status = "PrometheusStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PrometheusSpec { /// AdditionalAlertManagerConfigs specifies a key of a Secret containing @@ -783,7 +784,7 @@ pub struct PrometheusSpec { /// upgrades of Prometheus. It is advised to review Prometheus release notes /// to ensure that no incompatible AlertManager configs are going to break /// Prometheus after the upgrade. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAdditionalAlertManagerConfigs { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -818,7 +819,7 @@ pub struct PrometheusAdditionalAlertManagerConfigs { /// upgrades of Prometheus. It is advised to review Prometheus release notes /// to ensure that no incompatible alert relabel configs are going to break /// Prometheus after the upgrade. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAdditionalAlertRelabelConfigs { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -837,7 +838,7 @@ pub struct PrometheusAdditionalAlertRelabelConfigs { } /// Argument as part of the AdditionalArgs list. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAdditionalArgs { /// Name of the argument, e.g. "scrape.discovery-reload-interval". pub name: String, @@ -857,7 +858,7 @@ pub struct PrometheusAdditionalArgs { /// break upgrades of Prometheus. It is advised to review Prometheus release /// notes to ensure that no incompatible scrape configs are going to break /// Prometheus after the upgrade. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAdditionalScrapeConfigs { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -876,7 +877,7 @@ pub struct PrometheusAdditionalScrapeConfigs { } /// Defines the Pods' affinity scheduling rules if specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -890,7 +891,7 @@ pub struct PrometheusAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -914,7 +915,7 @@ pub struct PrometheusAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: PrometheusAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -923,7 +924,7 @@ pub struct PrometheusAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringE } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -935,7 +936,7 @@ pub struct PrometheusAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringE /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -953,7 +954,7 @@ pub struct PrometheusAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringE /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -974,7 +975,7 @@ pub struct PrometheusAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringE /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -984,7 +985,7 @@ pub struct PrometheusAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringEx /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -996,7 +997,7 @@ pub struct PrometheusAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringEx /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1014,7 +1015,7 @@ pub struct PrometheusAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringEx /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1031,7 +1032,7 @@ pub struct PrometheusAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringEx } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -1056,7 +1057,7 @@ pub struct PrometheusAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1067,7 +1068,7 @@ pub struct PrometheusAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1119,7 +1120,7 @@ pub struct PrometheusAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1133,7 +1134,7 @@ pub struct PrometheusAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1153,7 +1154,7 @@ pub struct PrometheusAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1167,7 +1168,7 @@ pub struct PrometheusAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1188,7 +1189,7 @@ pub struct PrometheusAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1240,7 +1241,7 @@ pub struct PrometheusAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExe /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1254,7 +1255,7 @@ pub struct PrometheusAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExe /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1274,7 +1275,7 @@ pub struct PrometheusAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExe /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1288,7 +1289,7 @@ pub struct PrometheusAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExe /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1304,7 +1305,7 @@ pub struct PrometheusAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExe } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -1329,7 +1330,7 @@ pub struct PrometheusAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1340,7 +1341,7 @@ pub struct PrometheusAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1392,7 +1393,7 @@ pub struct PrometheusAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1406,7 +1407,7 @@ pub struct PrometheusAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1426,7 +1427,7 @@ pub struct PrometheusAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1440,7 +1441,7 @@ pub struct PrometheusAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1461,7 +1462,7 @@ pub struct PrometheusAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1513,7 +1514,7 @@ pub struct PrometheusAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDurin /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1527,7 +1528,7 @@ pub struct PrometheusAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDurin /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1547,7 +1548,7 @@ pub struct PrometheusAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDurin /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1561,7 +1562,7 @@ pub struct PrometheusAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDurin /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1577,7 +1578,7 @@ pub struct PrometheusAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDurin } /// Defines the settings related to Alertmanager. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAlerting { /// AlertmanagerEndpoints Prometheus should fire alerts against. pub alertmanagers: Vec, @@ -1585,7 +1586,7 @@ pub struct PrometheusAlerting { /// AlertmanagerEndpoints defines a selection of a single Endpoints object /// containing Alertmanager IPs to fire alerts against. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAlertingAlertmanagers { /// Relabeling configs applied before sending alerts to a specific Alertmanager. /// It requires Prometheus >= v2.51.0. @@ -1656,7 +1657,7 @@ pub struct PrometheusAlertingAlertmanagers { /// /// /// More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAlertingAlertmanagersAlertRelabelings { /// Action to perform based on the regex matching. /// @@ -1755,7 +1756,7 @@ pub enum PrometheusAlertingAlertmanagersAlertRelabelingsAction { /// /// /// Cannot be set at the same time as `basicAuth`, `bearerTokenFile` or `sigv4`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAlertingAlertmanagersAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1772,7 +1773,7 @@ pub struct PrometheusAlertingAlertmanagersAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAlertingAlertmanagersAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1794,7 +1795,7 @@ pub struct PrometheusAlertingAlertmanagersAuthorizationCredentials { /// /// /// Cannot be set at the same time as `bearerTokenFile`, `authorization` or `sigv4`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAlertingAlertmanagersBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -1808,7 +1809,7 @@ pub struct PrometheusAlertingAlertmanagersBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAlertingAlertmanagersBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1828,7 +1829,7 @@ pub struct PrometheusAlertingAlertmanagersBasicAuthPassword { /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAlertingAlertmanagersBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1851,7 +1852,7 @@ pub struct PrometheusAlertingAlertmanagersBasicAuthUsername { /// /// /// More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAlertingAlertmanagersRelabelings { /// Action to perform based on the regex matching. /// @@ -1953,7 +1954,7 @@ pub enum PrometheusAlertingAlertmanagersRelabelingsAction { /// /// /// Cannot be set at the same time as `basicAuth`, `bearerTokenFile` or `authorization`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAlertingAlertmanagersSigv4 { /// AccessKey is the AWS API key. If not specified, the environment variable /// `AWS_ACCESS_KEY_ID` is used. @@ -1976,7 +1977,7 @@ pub struct PrometheusAlertingAlertmanagersSigv4 { /// AccessKey is the AWS API key. If not specified, the environment variable /// `AWS_ACCESS_KEY_ID` is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAlertingAlertmanagersSigv4AccessKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1996,7 +1997,7 @@ pub struct PrometheusAlertingAlertmanagersSigv4AccessKey { /// SecretKey is the AWS API secret. If not specified, the environment /// variable `AWS_SECRET_ACCESS_KEY` is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAlertingAlertmanagersSigv4SecretKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2015,7 +2016,7 @@ pub struct PrometheusAlertingAlertmanagersSigv4SecretKey { } /// TLS Config to use for Alertmanager. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAlertingAlertmanagersTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2044,7 +2045,7 @@ pub struct PrometheusAlertingAlertmanagersTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAlertingAlertmanagersTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2055,7 +2056,7 @@ pub struct PrometheusAlertingAlertmanagersTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAlertingAlertmanagersTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -2074,7 +2075,7 @@ pub struct PrometheusAlertingAlertmanagersTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAlertingAlertmanagersTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2093,7 +2094,7 @@ pub struct PrometheusAlertingAlertmanagersTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAlertingAlertmanagersTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2104,7 +2105,7 @@ pub struct PrometheusAlertingAlertmanagersTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAlertingAlertmanagersTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -2123,7 +2124,7 @@ pub struct PrometheusAlertingAlertmanagersTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAlertingAlertmanagersTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2142,7 +2143,7 @@ pub struct PrometheusAlertingAlertmanagersTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAlertingAlertmanagersTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2165,7 +2166,7 @@ pub struct PrometheusAlertingAlertmanagersTlsConfigKeySecret { /// If null, Prometheus is assumed to run inside of the cluster: it will /// discover the API servers automatically and use the Pod's CA certificate /// and bearer token file at /var/run/secrets/kubernetes.io/serviceaccount/. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusApiserverConfig { /// Authorization section for the API server. /// @@ -2210,7 +2211,7 @@ pub struct PrometheusApiserverConfig { /// /// Cannot be set at the same time as `basicAuth`, `bearerToken`, or /// `bearerTokenFile`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusApiserverConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2230,7 +2231,7 @@ pub struct PrometheusApiserverConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusApiserverConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2253,7 +2254,7 @@ pub struct PrometheusApiserverConfigAuthorizationCredentials { /// /// Cannot be set at the same time as `authorization`, `bearerToken`, or /// `bearerTokenFile`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusApiserverConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -2267,7 +2268,7 @@ pub struct PrometheusApiserverConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusApiserverConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2287,7 +2288,7 @@ pub struct PrometheusApiserverConfigBasicAuthPassword { /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusApiserverConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2306,7 +2307,7 @@ pub struct PrometheusApiserverConfigBasicAuthUsername { } /// TLS Config to use for the API server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusApiserverConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2335,7 +2336,7 @@ pub struct PrometheusApiserverConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusApiserverConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2346,7 +2347,7 @@ pub struct PrometheusApiserverConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusApiserverConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -2365,7 +2366,7 @@ pub struct PrometheusApiserverConfigTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusApiserverConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2384,7 +2385,7 @@ pub struct PrometheusApiserverConfigTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusApiserverConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2395,7 +2396,7 @@ pub struct PrometheusApiserverConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusApiserverConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -2414,7 +2415,7 @@ pub struct PrometheusApiserverConfigTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusApiserverConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2433,7 +2434,7 @@ pub struct PrometheusApiserverConfigTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusApiserverConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2461,14 +2462,14 @@ pub struct PrometheusApiserverConfigTlsConfigKeySecret { /// `spec.arbitraryFSAccessThroughSM` to 'true' would prevent the attack. /// Users should instead provide the credentials using the /// `spec.bearerTokenSecret` field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusArbitraryFsAccessThroughSMs { #[serde(default, skip_serializing_if = "Option::is_none")] pub deny: Option, } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainers { /// Arguments to the entrypoint. /// The container image's CMD is used if this is not provided. @@ -2635,7 +2636,7 @@ pub struct PrometheusContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -2656,7 +2657,7 @@ pub struct PrometheusContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -2675,7 +2676,7 @@ pub struct PrometheusContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -2695,7 +2696,7 @@ pub struct PrometheusContainersEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2707,7 +2708,7 @@ pub struct PrometheusContainersEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2720,7 +2721,7 @@ pub struct PrometheusContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2739,7 +2740,7 @@ pub struct PrometheusContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -2753,7 +2754,7 @@ pub struct PrometheusContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersEnvFromConfigMapRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -2770,7 +2771,7 @@ pub struct PrometheusContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersEnvFromSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -2788,7 +2789,7 @@ pub struct PrometheusContainersEnvFromSecretRef { /// Actions that the management system should take in response to container lifecycle events. /// Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, /// the container is terminated and restarted according to its restart policy. @@ -2813,7 +2814,7 @@ pub struct PrometheusContainersLifecycle { /// the container is terminated and restarted according to its restart policy. /// Other management of the container blocks until the hook completes. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2832,7 +2833,7 @@ pub struct PrometheusContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2844,7 +2845,7 @@ pub struct PrometheusContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2867,7 +2868,7 @@ pub struct PrometheusContainersLifecyclePostStartHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2877,7 +2878,7 @@ pub struct PrometheusContainersLifecyclePostStartHttpGetHttpHeaders { } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersLifecyclePostStartSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -2886,7 +2887,7 @@ pub struct PrometheusContainersLifecyclePostStartSleep { /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2906,7 +2907,7 @@ pub struct PrometheusContainersLifecyclePostStartTcpSocket { /// period (unless delayed by finalizers). Other management of the container blocks until the hook completes /// or until the termination grace period is reached. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2925,7 +2926,7 @@ pub struct PrometheusContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2937,7 +2938,7 @@ pub struct PrometheusContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2960,7 +2961,7 @@ pub struct PrometheusContainersLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2970,7 +2971,7 @@ pub struct PrometheusContainersLifecyclePreStopHttpGetHttpHeaders { } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersLifecyclePreStopSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -2979,7 +2980,7 @@ pub struct PrometheusContainersLifecyclePreStopSleep { /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2994,7 +2995,7 @@ pub struct PrometheusContainersLifecyclePreStopTcpSocket { /// Container will be restarted if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3044,7 +3045,7 @@ pub struct PrometheusContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -3056,7 +3057,7 @@ pub struct PrometheusContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3070,7 +3071,7 @@ pub struct PrometheusContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -3093,7 +3094,7 @@ pub struct PrometheusContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -3103,7 +3104,7 @@ pub struct PrometheusContainersLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3115,7 +3116,7 @@ pub struct PrometheusContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersPorts { /// Number of port to expose on the pod's IP address. /// This must be a valid port number, 0 < x < 65536. @@ -3145,7 +3146,7 @@ pub struct PrometheusContainersPorts { /// Container will be removed from service endpoints if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3195,7 +3196,7 @@ pub struct PrometheusContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -3207,7 +3208,7 @@ pub struct PrometheusContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3221,7 +3222,7 @@ pub struct PrometheusContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -3244,7 +3245,7 @@ pub struct PrometheusContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -3254,7 +3255,7 @@ pub struct PrometheusContainersReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3266,7 +3267,7 @@ pub struct PrometheusContainersReadinessProbeTcpSocket { } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. /// Supported values: cpu, memory. @@ -3281,7 +3282,7 @@ pub struct PrometheusContainersResizePolicy { /// Compute Resources required by this container. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -3307,7 +3308,7 @@ pub struct PrometheusContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -3318,7 +3319,7 @@ pub struct PrometheusContainersResourcesClaims { /// SecurityContext defines the security options the container should be run with. /// If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. /// More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -3403,7 +3404,7 @@ pub struct PrometheusContainersSecurityContext { /// appArmorProfile is the AppArmor options to use by this container. If set, this profile /// overrides the pod's appArmorProfile. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersSecurityContextAppArmorProfile { /// localhostProfile indicates a profile loaded on the node that should be used. /// The profile must be preconfigured on the node to work. @@ -3423,7 +3424,7 @@ pub struct PrometheusContainersSecurityContextAppArmorProfile { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3438,7 +3439,7 @@ pub struct PrometheusContainersSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3458,7 +3459,7 @@ pub struct PrometheusContainersSecurityContextSeLinuxOptions { /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -3481,7 +3482,7 @@ pub struct PrometheusContainersSecurityContextSeccompProfile { /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -3512,7 +3513,7 @@ pub struct PrometheusContainersSecurityContextWindowsOptions { /// when it might take a long time to load data or warm a cache, than during steady-state operation. /// This cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3562,7 +3563,7 @@ pub struct PrometheusContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -3574,7 +3575,7 @@ pub struct PrometheusContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3588,7 +3589,7 @@ pub struct PrometheusContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -3611,7 +3612,7 @@ pub struct PrometheusContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersStartupProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -3621,7 +3622,7 @@ pub struct PrometheusContainersStartupProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3633,7 +3634,7 @@ pub struct PrometheusContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -3643,7 +3644,7 @@ pub struct PrometheusContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -3737,7 +3738,7 @@ pub enum PrometheusExcludedFromEnforcementResource { /// Exemplars related settings that are runtime reloadable. /// It requires to enable the `exemplar-storage` feature flag to be effective. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusExemplars { /// Maximum number of exemplars stored in memory for all series. /// @@ -3754,7 +3755,7 @@ pub struct PrometheusExemplars { /// HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the /// pod's hosts file. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusHostAliases { /// Hostnames for the above IP address. pub hostnames: Vec, @@ -3775,7 +3776,7 @@ pub enum PrometheusImagePullPolicy { /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusImagePullSecrets { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -3789,7 +3790,7 @@ pub struct PrometheusImagePullSecrets { } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainers { /// Arguments to the entrypoint. /// The container image's CMD is used if this is not provided. @@ -3956,7 +3957,7 @@ pub struct PrometheusInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -3977,7 +3978,7 @@ pub struct PrometheusInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -3996,7 +3997,7 @@ pub struct PrometheusInitContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -4016,7 +4017,7 @@ pub struct PrometheusInitContainersEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4028,7 +4029,7 @@ pub struct PrometheusInitContainersEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -4041,7 +4042,7 @@ pub struct PrometheusInitContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4060,7 +4061,7 @@ pub struct PrometheusInitContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -4074,7 +4075,7 @@ pub struct PrometheusInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersEnvFromConfigMapRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -4091,7 +4092,7 @@ pub struct PrometheusInitContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersEnvFromSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -4109,7 +4110,7 @@ pub struct PrometheusInitContainersEnvFromSecretRef { /// Actions that the management system should take in response to container lifecycle events. /// Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, /// the container is terminated and restarted according to its restart policy. @@ -4134,7 +4135,7 @@ pub struct PrometheusInitContainersLifecycle { /// the container is terminated and restarted according to its restart policy. /// Other management of the container blocks until the hook completes. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4153,7 +4154,7 @@ pub struct PrometheusInitContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4165,7 +4166,7 @@ pub struct PrometheusInitContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4188,7 +4189,7 @@ pub struct PrometheusInitContainersLifecyclePostStartHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4198,7 +4199,7 @@ pub struct PrometheusInitContainersLifecyclePostStartHttpGetHttpHeaders { } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersLifecyclePostStartSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -4207,7 +4208,7 @@ pub struct PrometheusInitContainersLifecyclePostStartSleep { /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4227,7 +4228,7 @@ pub struct PrometheusInitContainersLifecyclePostStartTcpSocket { /// period (unless delayed by finalizers). Other management of the container blocks until the hook completes /// or until the termination grace period is reached. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4246,7 +4247,7 @@ pub struct PrometheusInitContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4258,7 +4259,7 @@ pub struct PrometheusInitContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4281,7 +4282,7 @@ pub struct PrometheusInitContainersLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4291,7 +4292,7 @@ pub struct PrometheusInitContainersLifecyclePreStopHttpGetHttpHeaders { } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersLifecyclePreStopSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -4300,7 +4301,7 @@ pub struct PrometheusInitContainersLifecyclePreStopSleep { /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4315,7 +4316,7 @@ pub struct PrometheusInitContainersLifecyclePreStopTcpSocket { /// Container will be restarted if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4365,7 +4366,7 @@ pub struct PrometheusInitContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4377,7 +4378,7 @@ pub struct PrometheusInitContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4391,7 +4392,7 @@ pub struct PrometheusInitContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4414,7 +4415,7 @@ pub struct PrometheusInitContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4424,7 +4425,7 @@ pub struct PrometheusInitContainersLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4436,7 +4437,7 @@ pub struct PrometheusInitContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersPorts { /// Number of port to expose on the pod's IP address. /// This must be a valid port number, 0 < x < 65536. @@ -4466,7 +4467,7 @@ pub struct PrometheusInitContainersPorts { /// Container will be removed from service endpoints if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4516,7 +4517,7 @@ pub struct PrometheusInitContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4528,7 +4529,7 @@ pub struct PrometheusInitContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4542,7 +4543,7 @@ pub struct PrometheusInitContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4565,7 +4566,7 @@ pub struct PrometheusInitContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4575,7 +4576,7 @@ pub struct PrometheusInitContainersReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4587,7 +4588,7 @@ pub struct PrometheusInitContainersReadinessProbeTcpSocket { } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. /// Supported values: cpu, memory. @@ -4602,7 +4603,7 @@ pub struct PrometheusInitContainersResizePolicy { /// Compute Resources required by this container. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -4628,7 +4629,7 @@ pub struct PrometheusInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -4639,7 +4640,7 @@ pub struct PrometheusInitContainersResourcesClaims { /// SecurityContext defines the security options the container should be run with. /// If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. /// More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -4724,7 +4725,7 @@ pub struct PrometheusInitContainersSecurityContext { /// appArmorProfile is the AppArmor options to use by this container. If set, this profile /// overrides the pod's appArmorProfile. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersSecurityContextAppArmorProfile { /// localhostProfile indicates a profile loaded on the node that should be used. /// The profile must be preconfigured on the node to work. @@ -4744,7 +4745,7 @@ pub struct PrometheusInitContainersSecurityContextAppArmorProfile { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4759,7 +4760,7 @@ pub struct PrometheusInitContainersSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4779,7 +4780,7 @@ pub struct PrometheusInitContainersSecurityContextSeLinuxOptions { /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -4802,7 +4803,7 @@ pub struct PrometheusInitContainersSecurityContextSeccompProfile { /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -4833,7 +4834,7 @@ pub struct PrometheusInitContainersSecurityContextWindowsOptions { /// when it might take a long time to load data or warm a cache, than during steady-state operation. /// This cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4883,7 +4884,7 @@ pub struct PrometheusInitContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4895,7 +4896,7 @@ pub struct PrometheusInitContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4909,7 +4910,7 @@ pub struct PrometheusInitContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4932,7 +4933,7 @@ pub struct PrometheusInitContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersStartupProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4942,7 +4943,7 @@ pub struct PrometheusInitContainersStartupProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4954,7 +4955,7 @@ pub struct PrometheusInitContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -4964,7 +4965,7 @@ pub struct PrometheusInitContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -5050,7 +5051,7 @@ pub enum PrometheusLogLevel { /// The default behavior is all PVCs are retained. /// This is an alpha field from kubernetes 1.23 until 1.26 and a beta field from 1.26. /// It requires enabling the StatefulSetAutoDeletePVC feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusPersistentVolumeClaimRetentionPolicy { /// WhenDeleted specifies what happens to PVCs created from StatefulSet /// VolumeClaimTemplates when the StatefulSet is deleted. The default policy @@ -5079,7 +5080,7 @@ pub struct PrometheusPersistentVolumeClaimRetentionPolicy { /// * "operator.prometheus.io/name" label, set to the name of the Prometheus object. /// * "operator.prometheus.io/shard" label, set to the shard number of the Prometheus object. /// * "kubectl.kubernetes.io/default-container" annotation, set to "prometheus". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusPodMetadata { /// Annotations is an unstructured key value map stored with a resource that may be /// set by external tools to store and retrieve arbitrary metadata. They are not @@ -5106,7 +5107,7 @@ pub struct PrometheusPodMetadata { /// Namespaces to match for PodMonitors discovery. An empty label selector /// matches all namespaces. A null label selector (default value) matches the current /// namespace only. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusPodMonitorNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5120,7 +5121,7 @@ pub struct PrometheusPodMonitorNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusPodMonitorNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5147,7 +5148,7 @@ pub struct PrometheusPodMonitorNamespaceSelectorMatchExpressions { /// This behavior is *deprecated* and will be removed in the next major version /// of the custom resource definition. It is recommended to use /// `spec.additionalScrapeConfigs` instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusPodMonitorSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5161,7 +5162,7 @@ pub struct PrometheusPodMonitorSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusPodMonitorSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5179,7 +5180,7 @@ pub struct PrometheusPodMonitorSelectorMatchExpressions { /// Namespaces to match for Probe discovery. An empty label /// selector matches all namespaces. A null label selector matches the /// current namespace only. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusProbeNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5193,7 +5194,7 @@ pub struct PrometheusProbeNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusProbeNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5220,7 +5221,7 @@ pub struct PrometheusProbeNamespaceSelectorMatchExpressions { /// This behavior is *deprecated* and will be removed in the next major version /// of the custom resource definition. It is recommended to use /// `spec.additionalScrapeConfigs` instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusProbeSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5234,7 +5235,7 @@ pub struct PrometheusProbeSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusProbeSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5252,7 +5253,7 @@ pub struct PrometheusProbeSelectorMatchExpressions { /// PrometheusRuleExcludeConfig enables users to configure excluded /// PrometheusRule names and their namespaces to be ignored while enforcing /// namespace label for alerts and metrics. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusPrometheusRulesExcludedFromEnforce { /// Name of the excluded PrometheusRule object. #[serde(rename = "ruleName")] @@ -5263,7 +5264,7 @@ pub struct PrometheusPrometheusRulesExcludedFromEnforce { } /// QuerySpec defines the configuration of the Promethus query service. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusQuery { /// The delta difference allowed for retrieving metrics during expression evaluations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "lookbackDelta")] @@ -5292,7 +5293,7 @@ pub enum PrometheusReloadStrategy { /// RemoteReadSpec defines the configuration for Prometheus to read back samples /// from a remote endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteRead { /// Authorization section for the URL. /// @@ -5384,7 +5385,7 @@ pub struct PrometheusRemoteRead { /// /// /// Cannot be set at the same time as `basicAuth`, or `oauth2`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteReadAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5404,7 +5405,7 @@ pub struct PrometheusRemoteReadAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteReadAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5426,7 +5427,7 @@ pub struct PrometheusRemoteReadAuthorizationCredentials { /// /// /// Cannot be set at the same time as `authorization`, or `oauth2`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteReadBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -5440,7 +5441,7 @@ pub struct PrometheusRemoteReadBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteReadBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5460,7 +5461,7 @@ pub struct PrometheusRemoteReadBasicAuthPassword { /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteReadBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5485,7 +5486,7 @@ pub struct PrometheusRemoteReadBasicAuthUsername { /// /// /// Cannot be set at the same time as `authorization`, or `basicAuth`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteReadOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -5509,7 +5510,7 @@ pub struct PrometheusRemoteReadOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteReadOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -5520,7 +5521,7 @@ pub struct PrometheusRemoteReadOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteReadOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -5539,7 +5540,7 @@ pub struct PrometheusRemoteReadOauth2ClientIdConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteReadOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5559,7 +5560,7 @@ pub struct PrometheusRemoteReadOauth2ClientIdSecret { /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteReadOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5578,7 +5579,7 @@ pub struct PrometheusRemoteReadOauth2ClientSecret { } /// TLS Config to use for the URL. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteReadTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5607,7 +5608,7 @@ pub struct PrometheusRemoteReadTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteReadTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -5618,7 +5619,7 @@ pub struct PrometheusRemoteReadTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteReadTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -5637,7 +5638,7 @@ pub struct PrometheusRemoteReadTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteReadTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5656,7 +5657,7 @@ pub struct PrometheusRemoteReadTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteReadTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -5667,7 +5668,7 @@ pub struct PrometheusRemoteReadTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteReadTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -5686,7 +5687,7 @@ pub struct PrometheusRemoteReadTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteReadTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5705,7 +5706,7 @@ pub struct PrometheusRemoteReadTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteReadTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5725,7 +5726,7 @@ pub struct PrometheusRemoteReadTlsConfigKeySecret { /// RemoteWriteSpec defines the configuration to write samples from Prometheus /// to a remote endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWrite { /// Authorization section for the URL. /// @@ -5843,7 +5844,7 @@ pub struct PrometheusRemoteWrite { /// /// /// Cannot be set at the same time as `sigv4`, `basicAuth`, `oauth2`, or `azureAd`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5863,7 +5864,7 @@ pub struct PrometheusRemoteWriteAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5888,7 +5889,7 @@ pub struct PrometheusRemoteWriteAuthorizationCredentials { /// /// /// Cannot be set at the same time as `authorization`, `basicAuth`, `oauth2`, or `sigv4`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteAzureAd { /// The Azure Cloud. Options are 'AzurePublic', 'AzureChina', or 'AzureGovernment'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5930,7 +5931,7 @@ pub enum PrometheusRemoteWriteAzureAdCloud { /// ManagedIdentity defines the Azure User-assigned Managed identity. /// Cannot be set at the same time as `oauth` or `sdk`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteAzureAdManagedIdentity { /// The client id #[serde(rename = "clientId")] @@ -5942,7 +5943,7 @@ pub struct PrometheusRemoteWriteAzureAdManagedIdentity { /// /// /// It requires Prometheus >= v2.48.0. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteAzureAdOauth { /// `clientID` is the clientId of the Azure Active Directory application that is being used to authenticate. #[serde(rename = "clientId")] @@ -5956,7 +5957,7 @@ pub struct PrometheusRemoteWriteAzureAdOauth { } /// `clientSecret` specifies a key of a Secret containing the client secret of the Azure Active Directory application that is being used to authenticate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteAzureAdOauthClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5980,7 +5981,7 @@ pub struct PrometheusRemoteWriteAzureAdOauthClientSecret { /// /// /// It requires Prometheus >= 2.52.0. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteAzureAdSdk { /// `tenantId` is the tenant ID of the azure active directory application that is being used to authenticate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "tenantId")] @@ -5991,7 +5992,7 @@ pub struct PrometheusRemoteWriteAzureAdSdk { /// /// /// Cannot be set at the same time as `sigv4`, `authorization`, `oauth2`, or `azureAd`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -6005,7 +6006,7 @@ pub struct PrometheusRemoteWriteBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -6025,7 +6026,7 @@ pub struct PrometheusRemoteWriteBasicAuthPassword { /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -6044,7 +6045,7 @@ pub struct PrometheusRemoteWriteBasicAuthUsername { } /// MetadataConfig configures the sending of series metadata to the remote storage. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteMetadataConfig { /// Defines whether metric metadata is sent to the remote storage or not. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6061,7 +6062,7 @@ pub struct PrometheusRemoteWriteMetadataConfig { /// /// /// Cannot be set at the same time as `sigv4`, `authorization`, `basicAuth`, or `azureAd`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -6085,7 +6086,7 @@ pub struct PrometheusRemoteWriteOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -6096,7 +6097,7 @@ pub struct PrometheusRemoteWriteOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -6115,7 +6116,7 @@ pub struct PrometheusRemoteWriteOauth2ClientIdConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -6135,7 +6136,7 @@ pub struct PrometheusRemoteWriteOauth2ClientIdSecret { /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -6154,7 +6155,7 @@ pub struct PrometheusRemoteWriteOauth2ClientSecret { } /// QueueConfig allows tuning of the remote write queue parameters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteQueueConfig { /// BatchSendDeadline is the maximum time a sample will wait in buffer. #[serde(default, skip_serializing_if = "Option::is_none", rename = "batchSendDeadline")] @@ -6201,7 +6202,7 @@ pub struct PrometheusRemoteWriteQueueConfig { /// /// /// Cannot be set at the same time as `authorization`, `basicAuth`, `oauth2`, or `azureAd`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteSigv4 { /// AccessKey is the AWS API key. If not specified, the environment variable /// `AWS_ACCESS_KEY_ID` is used. @@ -6224,7 +6225,7 @@ pub struct PrometheusRemoteWriteSigv4 { /// AccessKey is the AWS API key. If not specified, the environment variable /// `AWS_ACCESS_KEY_ID` is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteSigv4AccessKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -6244,7 +6245,7 @@ pub struct PrometheusRemoteWriteSigv4AccessKey { /// SecretKey is the AWS API secret. If not specified, the environment /// variable `AWS_SECRET_ACCESS_KEY` is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteSigv4SecretKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -6263,7 +6264,7 @@ pub struct PrometheusRemoteWriteSigv4SecretKey { } /// TLS Config to use for the URL. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6292,7 +6293,7 @@ pub struct PrometheusRemoteWriteTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -6303,7 +6304,7 @@ pub struct PrometheusRemoteWriteTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -6322,7 +6323,7 @@ pub struct PrometheusRemoteWriteTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -6341,7 +6342,7 @@ pub struct PrometheusRemoteWriteTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -6352,7 +6353,7 @@ pub struct PrometheusRemoteWriteTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -6371,7 +6372,7 @@ pub struct PrometheusRemoteWriteTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -6390,7 +6391,7 @@ pub struct PrometheusRemoteWriteTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -6413,7 +6414,7 @@ pub struct PrometheusRemoteWriteTlsConfigKeySecret { /// /// /// More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRemoteWriteWriteRelabelConfigs { /// Action to perform based on the regex matching. /// @@ -6509,7 +6510,7 @@ pub enum PrometheusRemoteWriteWriteRelabelConfigsAction { } /// Defines the resources requests and limits of the 'prometheus' container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -6535,7 +6536,7 @@ pub struct PrometheusResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -6546,7 +6547,7 @@ pub struct PrometheusResourcesClaims { /// Namespaces to match for PrometheusRule discovery. An empty label selector /// matches all namespaces. A null label selector matches the current /// namespace only. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRuleNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6560,7 +6561,7 @@ pub struct PrometheusRuleNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRuleNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6578,7 +6579,7 @@ pub struct PrometheusRuleNamespaceSelectorMatchExpressions { /// PrometheusRule objects to be selected for rule evaluation. An empty /// label selector matches all objects. A null label selector matches no /// objects. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRuleSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6592,7 +6593,7 @@ pub struct PrometheusRuleSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRuleSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6608,7 +6609,7 @@ pub struct PrometheusRuleSelectorMatchExpressions { } /// Defines the configuration of the Prometheus rules' engine. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRules { /// Defines the parameters of the Prometheus rules' engine. /// @@ -6622,7 +6623,7 @@ pub struct PrometheusRules { /// /// /// Any update to these parameters trigger a restart of the pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusRulesAlert { /// Minimum duration between alert and restored 'for' state. /// @@ -6641,7 +6642,7 @@ pub struct PrometheusRulesAlert { pub resend_delay: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusScrapeClasses { /// Default indicates that the scrape applies to all scrape objects that /// don't configure an explicit scrape class name. @@ -6690,7 +6691,7 @@ pub struct PrometheusScrapeClasses { /// /// /// More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusScrapeClassesMetricRelabelings { /// Action to perform based on the regex matching. /// @@ -6790,7 +6791,7 @@ pub enum PrometheusScrapeClassesMetricRelabelingsAction { /// /// /// More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusScrapeClassesRelabelings { /// Action to perform based on the regex matching. /// @@ -6891,7 +6892,7 @@ pub enum PrometheusScrapeClassesRelabelingsAction { /// /// /// For now only the `caFile`, `certFile` and `keyFile` fields are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusScrapeClassesTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6920,7 +6921,7 @@ pub struct PrometheusScrapeClassesTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusScrapeClassesTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -6931,7 +6932,7 @@ pub struct PrometheusScrapeClassesTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusScrapeClassesTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -6950,7 +6951,7 @@ pub struct PrometheusScrapeClassesTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusScrapeClassesTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -6969,7 +6970,7 @@ pub struct PrometheusScrapeClassesTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusScrapeClassesTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -6980,7 +6981,7 @@ pub struct PrometheusScrapeClassesTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusScrapeClassesTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -6999,7 +7000,7 @@ pub struct PrometheusScrapeClassesTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusScrapeClassesTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -7018,7 +7019,7 @@ pub struct PrometheusScrapeClassesTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusScrapeClassesTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -7042,7 +7043,7 @@ pub struct PrometheusScrapeClassesTlsConfigKeySecret { /// /// /// Note that the ScrapeConfig custom resource definition is currently at Alpha level. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusScrapeConfigNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7056,7 +7057,7 @@ pub struct PrometheusScrapeConfigNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusScrapeConfigNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7086,7 +7087,7 @@ pub struct PrometheusScrapeConfigNamespaceSelectorMatchExpressions { /// /// /// Note that the ScrapeConfig custom resource definition is currently at Alpha level. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusScrapeConfigSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7100,7 +7101,7 @@ pub struct PrometheusScrapeConfigSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusScrapeConfigSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7117,7 +7118,7 @@ pub struct PrometheusScrapeConfigSelectorMatchExpressions { /// SecurityContext holds pod-level security attributes and common container settings. /// This defaults to the default PodSecurityContext. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusSecurityContext { /// appArmorProfile is the AppArmor options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. @@ -7206,7 +7207,7 @@ pub struct PrometheusSecurityContext { /// appArmorProfile is the AppArmor options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusSecurityContextAppArmorProfile { /// localhostProfile indicates a profile loaded on the node that should be used. /// The profile must be preconfigured on the node to work. @@ -7229,7 +7230,7 @@ pub struct PrometheusSecurityContextAppArmorProfile { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7247,7 +7248,7 @@ pub struct PrometheusSecurityContextSeLinuxOptions { /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -7267,7 +7268,7 @@ pub struct PrometheusSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -7279,7 +7280,7 @@ pub struct PrometheusSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -7306,7 +7307,7 @@ pub struct PrometheusSecurityContextWindowsOptions { /// Namespaces to match for ServicedMonitors discovery. An empty label selector /// matches all namespaces. A null label selector (default value) matches the current /// namespace only. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusServiceMonitorNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7320,7 +7321,7 @@ pub struct PrometheusServiceMonitorNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusServiceMonitorNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7347,7 +7348,7 @@ pub struct PrometheusServiceMonitorNamespaceSelectorMatchExpressions { /// This behavior is *deprecated* and will be removed in the next major version /// of the custom resource definition. It is recommended to use /// `spec.additionalScrapeConfigs` instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusServiceMonitorSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7361,7 +7362,7 @@ pub struct PrometheusServiceMonitorSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusServiceMonitorSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7377,7 +7378,7 @@ pub struct PrometheusServiceMonitorSelectorMatchExpressions { } /// Storage defines the storage used by Prometheus. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusStorage { /// Deprecated: subPath usage will be removed in a future release. #[serde(default, skip_serializing_if = "Option::is_none", rename = "disableMountSubPath")] @@ -7403,7 +7404,7 @@ pub struct PrometheusStorage { /// EmptyDirVolumeSource to be used by the StatefulSet. /// If specified, it takes precedence over `ephemeral` and `volumeClaimTemplate`. /// More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusStorageEmptyDir { /// medium represents what type of storage medium should back this directory. /// The default is "" which means to use the node's default medium. @@ -7425,7 +7426,7 @@ pub struct PrometheusStorageEmptyDir { /// This is a beta field in k8s 1.21 and GA in 1.15. /// For lower versions, starting with k8s 1.19, it requires enabling the GenericEphemeralVolume feature gate. /// More info: https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/#generic-ephemeral-volumes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusStorageEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. /// The pod in which this EphemeralVolumeSource is embedded will be the @@ -7479,7 +7480,7 @@ pub struct PrometheusStorageEphemeral { /// /// /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusStorageEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during @@ -7496,7 +7497,7 @@ pub struct PrometheusStorageEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during /// validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusStorageEphemeralVolumeClaimTemplateMetadata { } @@ -7504,7 +7505,7 @@ pub struct PrometheusStorageEphemeralVolumeClaimTemplateMetadata { /// copied unchanged into the PVC that gets created from this /// template. The same fields as in a PersistentVolumeClaim /// are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusStorageEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -7590,7 +7591,7 @@ pub struct PrometheusStorageEphemeralVolumeClaimTemplateSpec { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusStorageEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -7626,7 +7627,7 @@ pub struct PrometheusStorageEphemeralVolumeClaimTemplateSpecDataSource { /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusStorageEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -7649,7 +7650,7 @@ pub struct PrometheusStorageEphemeralVolumeClaimTemplateSpecDataSourceRef { /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusStorageEphemeralVolumeClaimTemplateSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -7664,7 +7665,7 @@ pub struct PrometheusStorageEphemeralVolumeClaimTemplateSpecResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusStorageEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7678,7 +7679,7 @@ pub struct PrometheusStorageEphemeralVolumeClaimTemplateSpecSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusStorageEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7696,7 +7697,7 @@ pub struct PrometheusStorageEphemeralVolumeClaimTemplateSpecSelectorMatchExpress /// Defines the PVC spec to be used by the Prometheus StatefulSets. /// The easiest way to use a volume that cannot be automatically provisioned /// is to use a label selector alongside manually created PersistentVolumes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusStorageVolumeClaimTemplate { /// APIVersion defines the versioned schema of this representation of an object. /// Servers should convert recognized schemas to the latest internal value, and @@ -7724,7 +7725,7 @@ pub struct PrometheusStorageVolumeClaimTemplate { } /// EmbeddedMetadata contains metadata relevant to an EmbeddedResource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusStorageVolumeClaimTemplateMetadata { /// Annotations is an unstructured key value map stored with a resource that may be /// set by external tools to store and retrieve arbitrary metadata. They are not @@ -7750,7 +7751,7 @@ pub struct PrometheusStorageVolumeClaimTemplateMetadata { /// Defines the desired characteristics of a volume requested by a pod author. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusStorageVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -7836,7 +7837,7 @@ pub struct PrometheusStorageVolumeClaimTemplateSpec { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusStorageVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -7872,7 +7873,7 @@ pub struct PrometheusStorageVolumeClaimTemplateSpecDataSource { /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusStorageVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -7895,7 +7896,7 @@ pub struct PrometheusStorageVolumeClaimTemplateSpecDataSourceRef { /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusStorageVolumeClaimTemplateSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -7910,7 +7911,7 @@ pub struct PrometheusStorageVolumeClaimTemplateSpecResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusStorageVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7924,7 +7925,7 @@ pub struct PrometheusStorageVolumeClaimTemplateSpecSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusStorageVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7940,7 +7941,7 @@ pub struct PrometheusStorageVolumeClaimTemplateSpecSelectorMatchExpressions { } /// Deprecated: this field is never set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusStorageVolumeClaimTemplateStatus { /// accessModes contains the actual access modes the volume backing the PVC has. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -8038,7 +8039,7 @@ pub struct PrometheusStorageVolumeClaimTemplateStatus { /// ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. /// When this is unset, there is no ModifyVolume operation being attempted. /// This is an alpha field and requires enabling VolumeAttributesClass feature. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusStorageVolumeClaimTemplateStatusModifyVolumeStatus { /// status is the status of the ControllerModifyVolume operation. It can be in any of following states: /// - Pending @@ -8057,7 +8058,7 @@ pub struct PrometheusStorageVolumeClaimTemplateStatusModifyVolumeStatus { } /// Defines the configuration of the optional Thanos sidecar. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusThanos { /// AdditionalArgs allows setting additional arguments for the Thanos container. /// The arguments are passed as-is to the Thanos container which may cause issues @@ -8210,7 +8211,7 @@ pub struct PrometheusThanos { } /// Argument as part of the AdditionalArgs list. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusThanosAdditionalArgs { /// Name of the argument, e.g. "scrape.discovery-reload-interval". pub name: String, @@ -8223,7 +8224,7 @@ pub struct PrometheusThanosAdditionalArgs { /// /// /// Note: Currently only the `caFile`, `certFile`, and `keyFile` fields are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusThanosGrpcServerTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8252,7 +8253,7 @@ pub struct PrometheusThanosGrpcServerTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusThanosGrpcServerTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -8263,7 +8264,7 @@ pub struct PrometheusThanosGrpcServerTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusThanosGrpcServerTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -8282,7 +8283,7 @@ pub struct PrometheusThanosGrpcServerTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusThanosGrpcServerTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -8301,7 +8302,7 @@ pub struct PrometheusThanosGrpcServerTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusThanosGrpcServerTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -8312,7 +8313,7 @@ pub struct PrometheusThanosGrpcServerTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusThanosGrpcServerTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -8331,7 +8332,7 @@ pub struct PrometheusThanosGrpcServerTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusThanosGrpcServerTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -8350,7 +8351,7 @@ pub struct PrometheusThanosGrpcServerTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusThanosGrpcServerTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -8401,7 +8402,7 @@ pub enum PrometheusThanosLogLevel { /// /// /// objectStorageConfigFile takes precedence over this field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusThanosObjectStorageConfig { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -8420,7 +8421,7 @@ pub struct PrometheusThanosObjectStorageConfig { } /// Defines the resources requests and limits of the Thanos sidecar. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusThanosResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -8446,7 +8447,7 @@ pub struct PrometheusThanosResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusThanosResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -8465,7 +8466,7 @@ pub struct PrometheusThanosResourcesClaims { /// /// This is an *experimental feature*, it may change in any upcoming release /// in a breaking way. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusThanosTracingConfig { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -8484,7 +8485,7 @@ pub struct PrometheusThanosTracingConfig { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusThanosVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -8540,7 +8541,7 @@ pub struct PrometheusThanosVolumeMounts { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -8568,7 +8569,7 @@ pub struct PrometheusTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusTopologySpreadConstraints { /// Defines what Prometheus Operator managed labels should be added to labelSelector on the topologySpreadConstraint. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalLabelSelectors")] @@ -8696,7 +8697,7 @@ pub enum PrometheusTopologySpreadConstraintsAdditionalLabelSelectors { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods /// in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -8710,7 +8711,7 @@ pub struct PrometheusTopologySpreadConstraintsLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -8730,7 +8731,7 @@ pub struct PrometheusTopologySpreadConstraintsLabelSelectorMatchExpressions { /// /// This is an *experimental feature*, it may change in any upcoming release /// in a breaking way. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusTracingConfig { /// Client used to export the traces. Supported values are `http` or `grpc`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientType")] @@ -8782,7 +8783,7 @@ pub enum PrometheusTracingConfigCompression { } /// TLS Config to use when sending traces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusTracingConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8811,7 +8812,7 @@ pub struct PrometheusTracingConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusTracingConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -8822,7 +8823,7 @@ pub struct PrometheusTracingConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusTracingConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -8841,7 +8842,7 @@ pub struct PrometheusTracingConfigTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusTracingConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -8860,7 +8861,7 @@ pub struct PrometheusTracingConfigTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusTracingConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -8871,7 +8872,7 @@ pub struct PrometheusTracingConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusTracingConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -8890,7 +8891,7 @@ pub struct PrometheusTracingConfigTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusTracingConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -8909,7 +8910,7 @@ pub struct PrometheusTracingConfigTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusTracingConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -8929,7 +8930,7 @@ pub struct PrometheusTracingConfigTlsConfigKeySecret { /// Defines the runtime reloadable configuration of the timeseries database /// (TSDB). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusTsdb { /// Configures how old an out-of-order/out-of-bounds sample can be with /// respect to the TSDB max time. @@ -8949,7 +8950,7 @@ pub struct PrometheusTsdb { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -9004,7 +9005,7 @@ pub struct PrometheusVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. @@ -9154,7 +9155,7 @@ pub struct PrometheusVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -9180,7 +9181,7 @@ pub struct PrometheusVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -9206,7 +9207,7 @@ pub struct PrometheusVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force /// the ReadOnly setting in VolumeMounts. @@ -9221,7 +9222,7 @@ pub struct PrometheusVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it @@ -9250,7 +9251,7 @@ pub struct PrometheusVolumesCephfs { /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesCephfsSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -9265,7 +9266,7 @@ pub struct PrometheusVolumesCephfsSecretRef { /// cinder represents a cinder volume attached and mounted on kubelets host machine. /// More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesCinder { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -9290,7 +9291,7 @@ pub struct PrometheusVolumesCinder { /// secretRef is optional: points to a secret object containing parameters used to connect /// to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesCinderSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -9304,7 +9305,7 @@ pub struct PrometheusVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -9339,7 +9340,7 @@ pub struct PrometheusVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -9359,7 +9360,7 @@ pub struct PrometheusVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesCsi { /// driver is the name of the CSI driver that handles this volume. /// Consult with your admin for the correct name as registered in the cluster. @@ -9391,7 +9392,7 @@ pub struct PrometheusVolumesCsi { /// NodePublishVolume and NodeUnpublishVolume calls. /// This field is optional, and may be empty if no secret is required. If the /// secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesCsiNodePublishSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -9405,7 +9406,7 @@ pub struct PrometheusVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a /// Optional: mode bits used to set permissions on created files by default. @@ -9423,7 +9424,7 @@ pub struct PrometheusVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -9445,7 +9446,7 @@ pub struct PrometheusVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -9457,7 +9458,7 @@ pub struct PrometheusVolumesDownwardApiItemsFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -9471,7 +9472,7 @@ pub struct PrometheusVolumesDownwardApiItemsResourceFieldRef { /// emptyDir represents a temporary directory that shares a pod's lifetime. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. /// The default is "" which means to use the node's default medium. @@ -9517,7 +9518,7 @@ pub struct PrometheusVolumesEmptyDir { /// /// A pod can use both types of ephemeral volumes and /// persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. /// The pod in which this EphemeralVolumeSource is embedded will be the @@ -9571,7 +9572,7 @@ pub struct PrometheusVolumesEphemeral { /// /// /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during @@ -9588,7 +9589,7 @@ pub struct PrometheusVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during /// validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesEphemeralVolumeClaimTemplateMetadata { } @@ -9596,7 +9597,7 @@ pub struct PrometheusVolumesEphemeralVolumeClaimTemplateMetadata { /// copied unchanged into the PVC that gets created from this /// template. The same fields as in a PersistentVolumeClaim /// are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -9682,7 +9683,7 @@ pub struct PrometheusVolumesEphemeralVolumeClaimTemplateSpec { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -9718,7 +9719,7 @@ pub struct PrometheusVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -9741,7 +9742,7 @@ pub struct PrometheusVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesEphemeralVolumeClaimTemplateSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -9756,7 +9757,7 @@ pub struct PrometheusVolumesEphemeralVolumeClaimTemplateSpecResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9770,7 +9771,7 @@ pub struct PrometheusVolumesEphemeralVolumeClaimTemplateSpecSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -9786,7 +9787,7 @@ pub struct PrometheusVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpress } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesFc { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -9812,7 +9813,7 @@ pub struct PrometheusVolumesFc { /// flexVolume represents a generic volume resource that is /// provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -9842,7 +9843,7 @@ pub struct PrometheusVolumesFlexVolume { /// empty if no secret object is specified. If the secret object /// contains more than one secret, all secrets are passed to the plugin /// scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesFlexVolumeSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -9856,7 +9857,7 @@ pub struct PrometheusVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker /// should be considered as deprecated @@ -9870,7 +9871,7 @@ pub struct PrometheusVolumesFlocker { /// gcePersistentDisk represents a GCE Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -9901,7 +9902,7 @@ pub struct PrometheusVolumesGcePersistentDisk { /// DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an /// EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir /// into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesGitRepo { /// directory is the target directory name. /// Must not contain or start with '..'. If '.' is supplied, the volume directory will be the @@ -9918,7 +9919,7 @@ pub struct PrometheusVolumesGitRepo { /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod @@ -9941,7 +9942,7 @@ pub struct PrometheusVolumesGlusterfs { /// --- /// TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not /// mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesHostPath { /// path of the directory on the host. /// If the path is a symlink, it will follow the link to the real path. @@ -9957,7 +9958,7 @@ pub struct PrometheusVolumesHostPath { /// iscsi represents an ISCSI Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -10003,7 +10004,7 @@ pub struct PrometheusVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesIscsiSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -10018,7 +10019,7 @@ pub struct PrometheusVolumesIscsiSecretRef { /// nfs represents an NFS mount on the host that shares a pod's lifetime /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesNfs { /// path that is exported by the NFS server. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs @@ -10036,7 +10037,7 @@ pub struct PrometheusVolumesNfs { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -10049,7 +10050,7 @@ pub struct PrometheusVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -10062,7 +10063,7 @@ pub struct PrometheusVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesPortworxVolume { /// fSType represents the filesystem type to mount /// Must be a filesystem type supported by the host operating system. @@ -10079,7 +10080,7 @@ pub struct PrometheusVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -10095,7 +10096,7 @@ pub struct PrometheusVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesProjectedSources { /// ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field /// of ClusterTrustBundle objects in an auto-updating file. @@ -10145,7 +10146,7 @@ pub struct PrometheusVolumesProjectedSources { /// comments and block headers are stripped. Certificates are deduplicated. /// The ordering of certificates within the file is arbitrary, and Kubelet /// may change the order over time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesProjectedSourcesClusterTrustBundle { /// Select all ClusterTrustBundles that match this label selector. Only has /// effect if signerName is set. Mutually-exclusive with name. If unset, @@ -10177,7 +10178,7 @@ pub struct PrometheusVolumesProjectedSourcesClusterTrustBundle { /// effect if signerName is set. Mutually-exclusive with name. If unset, /// interpreted as "match nothing". If set but empty, interpreted as "match /// everything". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesProjectedSourcesClusterTrustBundleLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10191,7 +10192,7 @@ pub struct PrometheusVolumesProjectedSourcesClusterTrustBundleLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesProjectedSourcesClusterTrustBundleLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -10207,7 +10208,7 @@ pub struct PrometheusVolumesProjectedSourcesClusterTrustBundleLabelSelectorMatch } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced /// ConfigMap will be projected into the volume as a file whose name is the @@ -10233,7 +10234,7 @@ pub struct PrometheusVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -10253,7 +10254,7 @@ pub struct PrometheusVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10261,7 +10262,7 @@ pub struct PrometheusVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -10283,7 +10284,7 @@ pub struct PrometheusVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -10295,7 +10296,7 @@ pub struct PrometheusVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -10308,7 +10309,7 @@ pub struct PrometheusVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced /// Secret will be projected into the volume as a file whose name is the @@ -10334,7 +10335,7 @@ pub struct PrometheusVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -10354,7 +10355,7 @@ pub struct PrometheusVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token /// must identify itself with an identifier specified in the audience of the @@ -10376,7 +10377,7 @@ pub struct PrometheusVolumesProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesQuobyte { /// group to map volume access to /// Default is no group @@ -10404,7 +10405,7 @@ pub struct PrometheusVolumesQuobyte { /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -10451,7 +10452,7 @@ pub struct PrometheusVolumesRbd { /// overrides keyring. /// Default is nil. /// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesRbdSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -10465,7 +10466,7 @@ pub struct PrometheusVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesScaleIo { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -10506,7 +10507,7 @@ pub struct PrometheusVolumesScaleIo { /// secretRef references to the secret for ScaleIO user and other /// sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesScaleIoSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -10521,7 +10522,7 @@ pub struct PrometheusVolumesScaleIoSecretRef { /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -10551,7 +10552,7 @@ pub struct PrometheusVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesSecretItems { /// key is the key to project. pub key: String, @@ -10571,7 +10572,7 @@ pub struct PrometheusVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesStorageos { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -10602,7 +10603,7 @@ pub struct PrometheusVolumesStorageos { /// secretRef specifies the secret to use for obtaining the StorageOS API /// credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesStorageosSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -10616,7 +10617,7 @@ pub struct PrometheusVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusVolumesVsphereVolume { /// fsType is filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -10635,7 +10636,7 @@ pub struct PrometheusVolumesVsphereVolume { } /// Defines the configuration of the Prometheus web server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusWeb { /// Defines HTTP parameters for web server. #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpConfig")] @@ -10653,7 +10654,7 @@ pub struct PrometheusWeb { } /// Defines HTTP parameters for web server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusWebHttpConfig { /// List of headers that can be added to HTTP responses. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10666,7 +10667,7 @@ pub struct PrometheusWebHttpConfig { } /// List of headers that can be added to HTTP responses. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusWebHttpConfigHeaders { /// Set the Content-Security-Policy header to HTTP responses. /// Unset if blank. @@ -10715,7 +10716,7 @@ pub enum PrometheusWebHttpConfigHeadersXFrameOptions { } /// Defines the TLS parameters for HTTPS. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusWebTlsConfig { /// Contains the TLS certificate for the server. pub cert: PrometheusWebTlsConfigCert, @@ -10755,7 +10756,7 @@ pub struct PrometheusWebTlsConfig { } /// Contains the TLS certificate for the server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusWebTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -10766,7 +10767,7 @@ pub struct PrometheusWebTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusWebTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -10785,7 +10786,7 @@ pub struct PrometheusWebTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusWebTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -10804,7 +10805,7 @@ pub struct PrometheusWebTlsConfigCertSecret { } /// Contains the CA certificate for client certificate authentication to the server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusWebTlsConfigClientCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -10815,7 +10816,7 @@ pub struct PrometheusWebTlsConfigClientCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusWebTlsConfigClientCaConfigMap { /// The key to select. pub key: String, @@ -10834,7 +10835,7 @@ pub struct PrometheusWebTlsConfigClientCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusWebTlsConfigClientCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -10853,7 +10854,7 @@ pub struct PrometheusWebTlsConfigClientCaSecret { } /// Secret containing the TLS key for the server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusWebTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -10874,7 +10875,7 @@ pub struct PrometheusWebTlsConfigKeySecret { /// Most recent observed status of the Prometheus cluster. Read-only. /// More info: /// https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusStatus { /// Total number of available pods (ready for at least minReadySeconds) /// targeted by this Prometheus deployment. @@ -10907,7 +10908,7 @@ pub struct PrometheusStatus { pub updated_replicas: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusStatusShardStatuses { /// Total number of available pods (ready for at least minReadySeconds) /// targeted by this shard. diff --git a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/prometheusrules.rs b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/prometheusrules.rs index 039abe615..671f3eb57 100644 --- a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/prometheusrules.rs +++ b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/prometheusrules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/prometheusrules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/prometheusrules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/servicemonitors.rs b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/servicemonitors.rs index 5168a506d..03307ab8c 100644 --- a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/servicemonitors.rs +++ b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/servicemonitors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/servicemonitors.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/servicemonitors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/thanosrulers.rs b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/thanosrulers.rs index 1f5d0c11e..3be701fca 100644 --- a/kube-custom-resources-rs/src/monitoring_coreos_com/v1/thanosrulers.rs +++ b/kube-custom-resources-rs/src/monitoring_coreos_com/v1/thanosrulers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/thanosrulers.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1/thanosrulers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -14,11 +14,12 @@ use self::prelude::*; /// Specification of the desired behavior of the ThanosRuler cluster. More info: /// https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "monitoring.coreos.com", version = "v1", kind = "ThanosRuler", plural = "thanosrulers")] #[kube(namespaced)] #[kube(status = "ThanosRulerStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ThanosRulerSpec { /// AdditionalArgs allows setting additional arguments for the ThanosRuler container. @@ -266,7 +267,7 @@ pub struct ThanosRulerSpec { } /// Argument as part of the AdditionalArgs list. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAdditionalArgs { /// Name of the argument, e.g. "scrape.discovery-reload-interval". pub name: String, @@ -276,7 +277,7 @@ pub struct ThanosRulerAdditionalArgs { } /// If specified, the pod's scheduling constraints. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -290,7 +291,7 @@ pub struct ThanosRulerAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -314,7 +315,7 @@ pub struct ThanosRulerAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: ThanosRulerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -323,7 +324,7 @@ pub struct ThanosRulerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuring } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -335,7 +336,7 @@ pub struct ThanosRulerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuring /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -353,7 +354,7 @@ pub struct ThanosRulerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuring /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -374,7 +375,7 @@ pub struct ThanosRulerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuring /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -384,7 +385,7 @@ pub struct ThanosRulerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringE /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -396,7 +397,7 @@ pub struct ThanosRulerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringE /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -414,7 +415,7 @@ pub struct ThanosRulerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringE /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -431,7 +432,7 @@ pub struct ThanosRulerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringE } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -456,7 +457,7 @@ pub struct ThanosRulerAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -467,7 +468,7 @@ pub struct ThanosRulerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringE } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -519,7 +520,7 @@ pub struct ThanosRulerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringE /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -533,7 +534,7 @@ pub struct ThanosRulerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringE /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -553,7 +554,7 @@ pub struct ThanosRulerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringE /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -567,7 +568,7 @@ pub struct ThanosRulerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringE /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -588,7 +589,7 @@ pub struct ThanosRulerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringE /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -640,7 +641,7 @@ pub struct ThanosRulerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringEx /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -654,7 +655,7 @@ pub struct ThanosRulerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringEx /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -674,7 +675,7 @@ pub struct ThanosRulerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringEx /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -688,7 +689,7 @@ pub struct ThanosRulerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringEx /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -704,7 +705,7 @@ pub struct ThanosRulerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringEx } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -729,7 +730,7 @@ pub struct ThanosRulerAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -740,7 +741,7 @@ pub struct ThanosRulerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDur } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -792,7 +793,7 @@ pub struct ThanosRulerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDur /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -806,7 +807,7 @@ pub struct ThanosRulerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDur /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -826,7 +827,7 @@ pub struct ThanosRulerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDur /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -840,7 +841,7 @@ pub struct ThanosRulerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDur /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -861,7 +862,7 @@ pub struct ThanosRulerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDur /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -913,7 +914,7 @@ pub struct ThanosRulerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuri /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -927,7 +928,7 @@ pub struct ThanosRulerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuri /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -947,7 +948,7 @@ pub struct ThanosRulerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuri /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -961,7 +962,7 @@ pub struct ThanosRulerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuri /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -980,7 +981,7 @@ pub struct ThanosRulerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuri /// Alert relabel configurations must have the form as specified in the official Prometheus documentation: /// https://prometheus.io/docs/prometheus/latest/configuration/configuration/#alert_relabel_configs /// Alternative to AlertRelabelConfigFile, and lower order priority. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAlertRelabelConfigs { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1000,7 +1001,7 @@ pub struct ThanosRulerAlertRelabelConfigs { /// Define configuration for connecting to alertmanager. Only available with thanos v0.10.0 /// and higher. Maps to the `alertmanagers.config` arg. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerAlertmanagersConfig { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1019,7 +1020,7 @@ pub struct ThanosRulerAlertmanagersConfig { } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainers { /// Arguments to the entrypoint. /// The container image's CMD is used if this is not provided. @@ -1186,7 +1187,7 @@ pub struct ThanosRulerContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -1207,7 +1208,7 @@ pub struct ThanosRulerContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1226,7 +1227,7 @@ pub struct ThanosRulerContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1246,7 +1247,7 @@ pub struct ThanosRulerContainersEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1258,7 +1259,7 @@ pub struct ThanosRulerContainersEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1271,7 +1272,7 @@ pub struct ThanosRulerContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1290,7 +1291,7 @@ pub struct ThanosRulerContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -1304,7 +1305,7 @@ pub struct ThanosRulerContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersEnvFromConfigMapRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -1321,7 +1322,7 @@ pub struct ThanosRulerContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersEnvFromSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -1339,7 +1340,7 @@ pub struct ThanosRulerContainersEnvFromSecretRef { /// Actions that the management system should take in response to container lifecycle events. /// Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, /// the container is terminated and restarted according to its restart policy. @@ -1364,7 +1365,7 @@ pub struct ThanosRulerContainersLifecycle { /// the container is terminated and restarted according to its restart policy. /// Other management of the container blocks until the hook completes. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1383,7 +1384,7 @@ pub struct ThanosRulerContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -1395,7 +1396,7 @@ pub struct ThanosRulerContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -1418,7 +1419,7 @@ pub struct ThanosRulerContainersLifecyclePostStartHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -1428,7 +1429,7 @@ pub struct ThanosRulerContainersLifecyclePostStartHttpGetHttpHeaders { } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersLifecyclePostStartSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -1437,7 +1438,7 @@ pub struct ThanosRulerContainersLifecyclePostStartSleep { /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1457,7 +1458,7 @@ pub struct ThanosRulerContainersLifecyclePostStartTcpSocket { /// period (unless delayed by finalizers). Other management of the container blocks until the hook completes /// or until the termination grace period is reached. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1476,7 +1477,7 @@ pub struct ThanosRulerContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -1488,7 +1489,7 @@ pub struct ThanosRulerContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -1511,7 +1512,7 @@ pub struct ThanosRulerContainersLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -1521,7 +1522,7 @@ pub struct ThanosRulerContainersLifecyclePreStopHttpGetHttpHeaders { } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersLifecyclePreStopSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -1530,7 +1531,7 @@ pub struct ThanosRulerContainersLifecyclePreStopSleep { /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1545,7 +1546,7 @@ pub struct ThanosRulerContainersLifecyclePreStopTcpSocket { /// Container will be restarted if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1595,7 +1596,7 @@ pub struct ThanosRulerContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -1607,7 +1608,7 @@ pub struct ThanosRulerContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1621,7 +1622,7 @@ pub struct ThanosRulerContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -1644,7 +1645,7 @@ pub struct ThanosRulerContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -1654,7 +1655,7 @@ pub struct ThanosRulerContainersLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1666,7 +1667,7 @@ pub struct ThanosRulerContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersPorts { /// Number of port to expose on the pod's IP address. /// This must be a valid port number, 0 < x < 65536. @@ -1696,7 +1697,7 @@ pub struct ThanosRulerContainersPorts { /// Container will be removed from service endpoints if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1746,7 +1747,7 @@ pub struct ThanosRulerContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -1758,7 +1759,7 @@ pub struct ThanosRulerContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -1772,7 +1773,7 @@ pub struct ThanosRulerContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -1795,7 +1796,7 @@ pub struct ThanosRulerContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -1805,7 +1806,7 @@ pub struct ThanosRulerContainersReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1817,7 +1818,7 @@ pub struct ThanosRulerContainersReadinessProbeTcpSocket { } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. /// Supported values: cpu, memory. @@ -1832,7 +1833,7 @@ pub struct ThanosRulerContainersResizePolicy { /// Compute Resources required by this container. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -1858,7 +1859,7 @@ pub struct ThanosRulerContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -1869,7 +1870,7 @@ pub struct ThanosRulerContainersResourcesClaims { /// SecurityContext defines the security options the container should be run with. /// If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. /// More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -1954,7 +1955,7 @@ pub struct ThanosRulerContainersSecurityContext { /// appArmorProfile is the AppArmor options to use by this container. If set, this profile /// overrides the pod's appArmorProfile. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersSecurityContextAppArmorProfile { /// localhostProfile indicates a profile loaded on the node that should be used. /// The profile must be preconfigured on the node to work. @@ -1974,7 +1975,7 @@ pub struct ThanosRulerContainersSecurityContextAppArmorProfile { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1989,7 +1990,7 @@ pub struct ThanosRulerContainersSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2009,7 +2010,7 @@ pub struct ThanosRulerContainersSecurityContextSeLinuxOptions { /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -2032,7 +2033,7 @@ pub struct ThanosRulerContainersSecurityContextSeccompProfile { /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -2063,7 +2064,7 @@ pub struct ThanosRulerContainersSecurityContextWindowsOptions { /// when it might take a long time to load data or warm a cache, than during steady-state operation. /// This cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2113,7 +2114,7 @@ pub struct ThanosRulerContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2125,7 +2126,7 @@ pub struct ThanosRulerContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2139,7 +2140,7 @@ pub struct ThanosRulerContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2162,7 +2163,7 @@ pub struct ThanosRulerContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersStartupProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2172,7 +2173,7 @@ pub struct ThanosRulerContainersStartupProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2184,7 +2185,7 @@ pub struct ThanosRulerContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -2194,7 +2195,7 @@ pub struct ThanosRulerContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -2290,7 +2291,7 @@ pub enum ThanosRulerExcludedFromEnforcementResource { /// recorded rule data. /// Note: Currently only the CAFile, CertFile, and KeyFile fields are supported. /// Maps to the '--grpc-server-tls-*' CLI args. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerGrpcServerTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2319,7 +2320,7 @@ pub struct ThanosRulerGrpcServerTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerGrpcServerTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2330,7 +2331,7 @@ pub struct ThanosRulerGrpcServerTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerGrpcServerTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -2349,7 +2350,7 @@ pub struct ThanosRulerGrpcServerTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerGrpcServerTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2368,7 +2369,7 @@ pub struct ThanosRulerGrpcServerTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerGrpcServerTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2379,7 +2380,7 @@ pub struct ThanosRulerGrpcServerTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerGrpcServerTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -2398,7 +2399,7 @@ pub struct ThanosRulerGrpcServerTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerGrpcServerTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2417,7 +2418,7 @@ pub struct ThanosRulerGrpcServerTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerGrpcServerTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2437,7 +2438,7 @@ pub struct ThanosRulerGrpcServerTlsConfigKeySecret { /// HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the /// pod's hosts file. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerHostAliases { /// Hostnames for the above IP address. pub hostnames: Vec, @@ -2458,7 +2459,7 @@ pub enum ThanosRulerImagePullPolicy { /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerImagePullSecrets { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -2472,7 +2473,7 @@ pub struct ThanosRulerImagePullSecrets { } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainers { /// Arguments to the entrypoint. /// The container image's CMD is used if this is not provided. @@ -2639,7 +2640,7 @@ pub struct ThanosRulerInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -2660,7 +2661,7 @@ pub struct ThanosRulerInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -2679,7 +2680,7 @@ pub struct ThanosRulerInitContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -2699,7 +2700,7 @@ pub struct ThanosRulerInitContainersEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2711,7 +2712,7 @@ pub struct ThanosRulerInitContainersEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2724,7 +2725,7 @@ pub struct ThanosRulerInitContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2743,7 +2744,7 @@ pub struct ThanosRulerInitContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -2757,7 +2758,7 @@ pub struct ThanosRulerInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersEnvFromConfigMapRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -2774,7 +2775,7 @@ pub struct ThanosRulerInitContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersEnvFromSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -2792,7 +2793,7 @@ pub struct ThanosRulerInitContainersEnvFromSecretRef { /// Actions that the management system should take in response to container lifecycle events. /// Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, /// the container is terminated and restarted according to its restart policy. @@ -2817,7 +2818,7 @@ pub struct ThanosRulerInitContainersLifecycle { /// the container is terminated and restarted according to its restart policy. /// Other management of the container blocks until the hook completes. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2836,7 +2837,7 @@ pub struct ThanosRulerInitContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2848,7 +2849,7 @@ pub struct ThanosRulerInitContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2871,7 +2872,7 @@ pub struct ThanosRulerInitContainersLifecyclePostStartHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2881,7 +2882,7 @@ pub struct ThanosRulerInitContainersLifecyclePostStartHttpGetHttpHeaders { } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersLifecyclePostStartSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -2890,7 +2891,7 @@ pub struct ThanosRulerInitContainersLifecyclePostStartSleep { /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2910,7 +2911,7 @@ pub struct ThanosRulerInitContainersLifecyclePostStartTcpSocket { /// period (unless delayed by finalizers). Other management of the container blocks until the hook completes /// or until the termination grace period is reached. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2929,7 +2930,7 @@ pub struct ThanosRulerInitContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2941,7 +2942,7 @@ pub struct ThanosRulerInitContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2964,7 +2965,7 @@ pub struct ThanosRulerInitContainersLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2974,7 +2975,7 @@ pub struct ThanosRulerInitContainersLifecyclePreStopHttpGetHttpHeaders { } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersLifecyclePreStopSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -2983,7 +2984,7 @@ pub struct ThanosRulerInitContainersLifecyclePreStopSleep { /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2998,7 +2999,7 @@ pub struct ThanosRulerInitContainersLifecyclePreStopTcpSocket { /// Container will be restarted if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3048,7 +3049,7 @@ pub struct ThanosRulerInitContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -3060,7 +3061,7 @@ pub struct ThanosRulerInitContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3074,7 +3075,7 @@ pub struct ThanosRulerInitContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -3097,7 +3098,7 @@ pub struct ThanosRulerInitContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -3107,7 +3108,7 @@ pub struct ThanosRulerInitContainersLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3119,7 +3120,7 @@ pub struct ThanosRulerInitContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersPorts { /// Number of port to expose on the pod's IP address. /// This must be a valid port number, 0 < x < 65536. @@ -3149,7 +3150,7 @@ pub struct ThanosRulerInitContainersPorts { /// Container will be removed from service endpoints if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3199,7 +3200,7 @@ pub struct ThanosRulerInitContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -3211,7 +3212,7 @@ pub struct ThanosRulerInitContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3225,7 +3226,7 @@ pub struct ThanosRulerInitContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -3248,7 +3249,7 @@ pub struct ThanosRulerInitContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -3258,7 +3259,7 @@ pub struct ThanosRulerInitContainersReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3270,7 +3271,7 @@ pub struct ThanosRulerInitContainersReadinessProbeTcpSocket { } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. /// Supported values: cpu, memory. @@ -3285,7 +3286,7 @@ pub struct ThanosRulerInitContainersResizePolicy { /// Compute Resources required by this container. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -3311,7 +3312,7 @@ pub struct ThanosRulerInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -3322,7 +3323,7 @@ pub struct ThanosRulerInitContainersResourcesClaims { /// SecurityContext defines the security options the container should be run with. /// If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. /// More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -3407,7 +3408,7 @@ pub struct ThanosRulerInitContainersSecurityContext { /// appArmorProfile is the AppArmor options to use by this container. If set, this profile /// overrides the pod's appArmorProfile. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersSecurityContextAppArmorProfile { /// localhostProfile indicates a profile loaded on the node that should be used. /// The profile must be preconfigured on the node to work. @@ -3427,7 +3428,7 @@ pub struct ThanosRulerInitContainersSecurityContextAppArmorProfile { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3442,7 +3443,7 @@ pub struct ThanosRulerInitContainersSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3462,7 +3463,7 @@ pub struct ThanosRulerInitContainersSecurityContextSeLinuxOptions { /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -3485,7 +3486,7 @@ pub struct ThanosRulerInitContainersSecurityContextSeccompProfile { /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -3516,7 +3517,7 @@ pub struct ThanosRulerInitContainersSecurityContextWindowsOptions { /// when it might take a long time to load data or warm a cache, than during steady-state operation. /// This cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3566,7 +3567,7 @@ pub struct ThanosRulerInitContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -3578,7 +3579,7 @@ pub struct ThanosRulerInitContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3592,7 +3593,7 @@ pub struct ThanosRulerInitContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -3615,7 +3616,7 @@ pub struct ThanosRulerInitContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersStartupProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -3625,7 +3626,7 @@ pub struct ThanosRulerInitContainersStartupProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3637,7 +3638,7 @@ pub struct ThanosRulerInitContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -3647,7 +3648,7 @@ pub struct ThanosRulerInitContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -3731,7 +3732,7 @@ pub enum ThanosRulerLogLevel { /// ObjectStorageConfig configures object storage in Thanos. /// Alternative to ObjectStorageConfigFile, and lower order priority. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerObjectStorageConfig { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3758,7 +3759,7 @@ pub struct ThanosRulerObjectStorageConfig { /// * "app.kubernetes.io/instance" label, set to the name of the ThanosRuler instance. /// * "thanos-ruler" label, set to the name of the ThanosRuler instance. /// * "kubectl.kubernetes.io/default-container" annotation, set to "thanos-ruler". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerPodMetadata { /// Annotations is an unstructured key value map stored with a resource that may be /// set by external tools to store and retrieve arbitrary metadata. They are not @@ -3785,7 +3786,7 @@ pub struct ThanosRulerPodMetadata { /// PrometheusRuleExcludeConfig enables users to configure excluded /// PrometheusRule names and their namespaces to be ignored while enforcing /// namespace label for alerts and metrics. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerPrometheusRulesExcludedFromEnforce { /// Name of the excluded PrometheusRule object. #[serde(rename = "ruleName")] @@ -3799,7 +3800,7 @@ pub struct ThanosRulerPrometheusRulesExcludedFromEnforce { /// If this is defined, the QueryEndpoints field will be ignored. /// Maps to the `query.config` CLI argument. /// Only available with thanos v0.11.0 and higher. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerQueryConfig { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3819,7 +3820,7 @@ pub struct ThanosRulerQueryConfig { /// Resources defines the resource requirements for single Pods. /// If not provided, no requests/limits will be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -3845,7 +3846,7 @@ pub struct ThanosRulerResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -3855,7 +3856,7 @@ pub struct ThanosRulerResourcesClaims { /// Namespaces to be selected for Rules discovery. If unspecified, only /// the same namespace as the ThanosRuler object is in is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerRuleNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3869,7 +3870,7 @@ pub struct ThanosRulerRuleNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerRuleNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3886,7 +3887,7 @@ pub struct ThanosRulerRuleNamespaceSelectorMatchExpressions { /// A label selector to select which PrometheusRules to mount for alerting and /// recording. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerRuleSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3900,7 +3901,7 @@ pub struct ThanosRulerRuleSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerRuleSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3917,7 +3918,7 @@ pub struct ThanosRulerRuleSelectorMatchExpressions { /// SecurityContext holds pod-level security attributes and common container settings. /// This defaults to the default PodSecurityContext. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerSecurityContext { /// appArmorProfile is the AppArmor options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. @@ -4006,7 +4007,7 @@ pub struct ThanosRulerSecurityContext { /// appArmorProfile is the AppArmor options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerSecurityContextAppArmorProfile { /// localhostProfile indicates a profile loaded on the node that should be used. /// The profile must be preconfigured on the node to work. @@ -4029,7 +4030,7 @@ pub struct ThanosRulerSecurityContextAppArmorProfile { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4047,7 +4048,7 @@ pub struct ThanosRulerSecurityContextSeLinuxOptions { /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -4067,7 +4068,7 @@ pub struct ThanosRulerSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -4079,7 +4080,7 @@ pub struct ThanosRulerSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -4104,7 +4105,7 @@ pub struct ThanosRulerSecurityContextWindowsOptions { } /// Storage spec to specify how storage shall be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerStorage { /// Deprecated: subPath usage will be removed in a future release. #[serde(default, skip_serializing_if = "Option::is_none", rename = "disableMountSubPath")] @@ -4130,7 +4131,7 @@ pub struct ThanosRulerStorage { /// EmptyDirVolumeSource to be used by the StatefulSet. /// If specified, it takes precedence over `ephemeral` and `volumeClaimTemplate`. /// More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerStorageEmptyDir { /// medium represents what type of storage medium should back this directory. /// The default is "" which means to use the node's default medium. @@ -4152,7 +4153,7 @@ pub struct ThanosRulerStorageEmptyDir { /// This is a beta field in k8s 1.21 and GA in 1.15. /// For lower versions, starting with k8s 1.19, it requires enabling the GenericEphemeralVolume feature gate. /// More info: https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/#generic-ephemeral-volumes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerStorageEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. /// The pod in which this EphemeralVolumeSource is embedded will be the @@ -4206,7 +4207,7 @@ pub struct ThanosRulerStorageEphemeral { /// /// /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerStorageEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during @@ -4223,7 +4224,7 @@ pub struct ThanosRulerStorageEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during /// validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerStorageEphemeralVolumeClaimTemplateMetadata { } @@ -4231,7 +4232,7 @@ pub struct ThanosRulerStorageEphemeralVolumeClaimTemplateMetadata { /// copied unchanged into the PVC that gets created from this /// template. The same fields as in a PersistentVolumeClaim /// are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerStorageEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -4317,7 +4318,7 @@ pub struct ThanosRulerStorageEphemeralVolumeClaimTemplateSpec { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerStorageEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -4353,7 +4354,7 @@ pub struct ThanosRulerStorageEphemeralVolumeClaimTemplateSpecDataSource { /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerStorageEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -4376,7 +4377,7 @@ pub struct ThanosRulerStorageEphemeralVolumeClaimTemplateSpecDataSourceRef { /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerStorageEphemeralVolumeClaimTemplateSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -4391,7 +4392,7 @@ pub struct ThanosRulerStorageEphemeralVolumeClaimTemplateSpecResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerStorageEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4405,7 +4406,7 @@ pub struct ThanosRulerStorageEphemeralVolumeClaimTemplateSpecSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerStorageEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4423,7 +4424,7 @@ pub struct ThanosRulerStorageEphemeralVolumeClaimTemplateSpecSelectorMatchExpres /// Defines the PVC spec to be used by the Prometheus StatefulSets. /// The easiest way to use a volume that cannot be automatically provisioned /// is to use a label selector alongside manually created PersistentVolumes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerStorageVolumeClaimTemplate { /// APIVersion defines the versioned schema of this representation of an object. /// Servers should convert recognized schemas to the latest internal value, and @@ -4451,7 +4452,7 @@ pub struct ThanosRulerStorageVolumeClaimTemplate { } /// EmbeddedMetadata contains metadata relevant to an EmbeddedResource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerStorageVolumeClaimTemplateMetadata { /// Annotations is an unstructured key value map stored with a resource that may be /// set by external tools to store and retrieve arbitrary metadata. They are not @@ -4477,7 +4478,7 @@ pub struct ThanosRulerStorageVolumeClaimTemplateMetadata { /// Defines the desired characteristics of a volume requested by a pod author. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerStorageVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -4563,7 +4564,7 @@ pub struct ThanosRulerStorageVolumeClaimTemplateSpec { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerStorageVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -4599,7 +4600,7 @@ pub struct ThanosRulerStorageVolumeClaimTemplateSpecDataSource { /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerStorageVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -4622,7 +4623,7 @@ pub struct ThanosRulerStorageVolumeClaimTemplateSpecDataSourceRef { /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerStorageVolumeClaimTemplateSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -4637,7 +4638,7 @@ pub struct ThanosRulerStorageVolumeClaimTemplateSpecResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerStorageVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4651,7 +4652,7 @@ pub struct ThanosRulerStorageVolumeClaimTemplateSpecSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerStorageVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4667,7 +4668,7 @@ pub struct ThanosRulerStorageVolumeClaimTemplateSpecSelectorMatchExpressions { } /// Deprecated: this field is never set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerStorageVolumeClaimTemplateStatus { /// accessModes contains the actual access modes the volume backing the PVC has. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -4765,7 +4766,7 @@ pub struct ThanosRulerStorageVolumeClaimTemplateStatus { /// ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. /// When this is unset, there is no ModifyVolume operation being attempted. /// This is an alpha field and requires enabling VolumeAttributesClass feature. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerStorageVolumeClaimTemplateStatusModifyVolumeStatus { /// status is the status of the ControllerModifyVolume operation. It can be in any of following states: /// - Pending @@ -4785,7 +4786,7 @@ pub struct ThanosRulerStorageVolumeClaimTemplateStatusModifyVolumeStatus { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -4814,7 +4815,7 @@ pub struct ThanosRulerTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods @@ -4933,7 +4934,7 @@ pub struct ThanosRulerTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods /// in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4947,7 +4948,7 @@ pub struct ThanosRulerTopologySpreadConstraintsLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4970,7 +4971,7 @@ pub struct ThanosRulerTopologySpreadConstraintsLabelSelectorMatchExpressions { /// /// This is an *experimental feature*, it may change in any upcoming release /// in a breaking way. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerTracingConfig { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4989,7 +4990,7 @@ pub struct ThanosRulerTracingConfig { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -5044,7 +5045,7 @@ pub struct ThanosRulerVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. @@ -5194,7 +5195,7 @@ pub struct ThanosRulerVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -5220,7 +5221,7 @@ pub struct ThanosRulerVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -5246,7 +5247,7 @@ pub struct ThanosRulerVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force /// the ReadOnly setting in VolumeMounts. @@ -5261,7 +5262,7 @@ pub struct ThanosRulerVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it @@ -5290,7 +5291,7 @@ pub struct ThanosRulerVolumesCephfs { /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesCephfsSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -5305,7 +5306,7 @@ pub struct ThanosRulerVolumesCephfsSecretRef { /// cinder represents a cinder volume attached and mounted on kubelets host machine. /// More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesCinder { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -5330,7 +5331,7 @@ pub struct ThanosRulerVolumesCinder { /// secretRef is optional: points to a secret object containing parameters used to connect /// to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesCinderSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -5344,7 +5345,7 @@ pub struct ThanosRulerVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -5379,7 +5380,7 @@ pub struct ThanosRulerVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -5399,7 +5400,7 @@ pub struct ThanosRulerVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesCsi { /// driver is the name of the CSI driver that handles this volume. /// Consult with your admin for the correct name as registered in the cluster. @@ -5431,7 +5432,7 @@ pub struct ThanosRulerVolumesCsi { /// NodePublishVolume and NodeUnpublishVolume calls. /// This field is optional, and may be empty if no secret is required. If the /// secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesCsiNodePublishSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -5445,7 +5446,7 @@ pub struct ThanosRulerVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a /// Optional: mode bits used to set permissions on created files by default. @@ -5463,7 +5464,7 @@ pub struct ThanosRulerVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -5485,7 +5486,7 @@ pub struct ThanosRulerVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -5497,7 +5498,7 @@ pub struct ThanosRulerVolumesDownwardApiItemsFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -5511,7 +5512,7 @@ pub struct ThanosRulerVolumesDownwardApiItemsResourceFieldRef { /// emptyDir represents a temporary directory that shares a pod's lifetime. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. /// The default is "" which means to use the node's default medium. @@ -5557,7 +5558,7 @@ pub struct ThanosRulerVolumesEmptyDir { /// /// A pod can use both types of ephemeral volumes and /// persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. /// The pod in which this EphemeralVolumeSource is embedded will be the @@ -5611,7 +5612,7 @@ pub struct ThanosRulerVolumesEphemeral { /// /// /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during @@ -5628,7 +5629,7 @@ pub struct ThanosRulerVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during /// validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesEphemeralVolumeClaimTemplateMetadata { } @@ -5636,7 +5637,7 @@ pub struct ThanosRulerVolumesEphemeralVolumeClaimTemplateMetadata { /// copied unchanged into the PVC that gets created from this /// template. The same fields as in a PersistentVolumeClaim /// are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -5722,7 +5723,7 @@ pub struct ThanosRulerVolumesEphemeralVolumeClaimTemplateSpec { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -5758,7 +5759,7 @@ pub struct ThanosRulerVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -5781,7 +5782,7 @@ pub struct ThanosRulerVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesEphemeralVolumeClaimTemplateSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -5796,7 +5797,7 @@ pub struct ThanosRulerVolumesEphemeralVolumeClaimTemplateSpecResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5810,7 +5811,7 @@ pub struct ThanosRulerVolumesEphemeralVolumeClaimTemplateSpecSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5826,7 +5827,7 @@ pub struct ThanosRulerVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpres } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesFc { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -5852,7 +5853,7 @@ pub struct ThanosRulerVolumesFc { /// flexVolume represents a generic volume resource that is /// provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -5882,7 +5883,7 @@ pub struct ThanosRulerVolumesFlexVolume { /// empty if no secret object is specified. If the secret object /// contains more than one secret, all secrets are passed to the plugin /// scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesFlexVolumeSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -5896,7 +5897,7 @@ pub struct ThanosRulerVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker /// should be considered as deprecated @@ -5910,7 +5911,7 @@ pub struct ThanosRulerVolumesFlocker { /// gcePersistentDisk represents a GCE Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -5941,7 +5942,7 @@ pub struct ThanosRulerVolumesGcePersistentDisk { /// DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an /// EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir /// into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesGitRepo { /// directory is the target directory name. /// Must not contain or start with '..'. If '.' is supplied, the volume directory will be the @@ -5958,7 +5959,7 @@ pub struct ThanosRulerVolumesGitRepo { /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod @@ -5981,7 +5982,7 @@ pub struct ThanosRulerVolumesGlusterfs { /// --- /// TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not /// mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesHostPath { /// path of the directory on the host. /// If the path is a symlink, it will follow the link to the real path. @@ -5997,7 +5998,7 @@ pub struct ThanosRulerVolumesHostPath { /// iscsi represents an ISCSI Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -6043,7 +6044,7 @@ pub struct ThanosRulerVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesIscsiSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -6058,7 +6059,7 @@ pub struct ThanosRulerVolumesIscsiSecretRef { /// nfs represents an NFS mount on the host that shares a pod's lifetime /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesNfs { /// path that is exported by the NFS server. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs @@ -6076,7 +6077,7 @@ pub struct ThanosRulerVolumesNfs { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -6089,7 +6090,7 @@ pub struct ThanosRulerVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -6102,7 +6103,7 @@ pub struct ThanosRulerVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesPortworxVolume { /// fSType represents the filesystem type to mount /// Must be a filesystem type supported by the host operating system. @@ -6119,7 +6120,7 @@ pub struct ThanosRulerVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -6135,7 +6136,7 @@ pub struct ThanosRulerVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesProjectedSources { /// ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field /// of ClusterTrustBundle objects in an auto-updating file. @@ -6185,7 +6186,7 @@ pub struct ThanosRulerVolumesProjectedSources { /// comments and block headers are stripped. Certificates are deduplicated. /// The ordering of certificates within the file is arbitrary, and Kubelet /// may change the order over time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesProjectedSourcesClusterTrustBundle { /// Select all ClusterTrustBundles that match this label selector. Only has /// effect if signerName is set. Mutually-exclusive with name. If unset, @@ -6217,7 +6218,7 @@ pub struct ThanosRulerVolumesProjectedSourcesClusterTrustBundle { /// effect if signerName is set. Mutually-exclusive with name. If unset, /// interpreted as "match nothing". If set but empty, interpreted as "match /// everything". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesProjectedSourcesClusterTrustBundleLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6231,7 +6232,7 @@ pub struct ThanosRulerVolumesProjectedSourcesClusterTrustBundleLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesProjectedSourcesClusterTrustBundleLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6247,7 +6248,7 @@ pub struct ThanosRulerVolumesProjectedSourcesClusterTrustBundleLabelSelectorMatc } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced /// ConfigMap will be projected into the volume as a file whose name is the @@ -6273,7 +6274,7 @@ pub struct ThanosRulerVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -6293,7 +6294,7 @@ pub struct ThanosRulerVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6301,7 +6302,7 @@ pub struct ThanosRulerVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -6323,7 +6324,7 @@ pub struct ThanosRulerVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -6335,7 +6336,7 @@ pub struct ThanosRulerVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -6348,7 +6349,7 @@ pub struct ThanosRulerVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced /// Secret will be projected into the volume as a file whose name is the @@ -6374,7 +6375,7 @@ pub struct ThanosRulerVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -6394,7 +6395,7 @@ pub struct ThanosRulerVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token /// must identify itself with an identifier specified in the audience of the @@ -6416,7 +6417,7 @@ pub struct ThanosRulerVolumesProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesQuobyte { /// group to map volume access to /// Default is no group @@ -6444,7 +6445,7 @@ pub struct ThanosRulerVolumesQuobyte { /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -6491,7 +6492,7 @@ pub struct ThanosRulerVolumesRbd { /// overrides keyring. /// Default is nil. /// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesRbdSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -6505,7 +6506,7 @@ pub struct ThanosRulerVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesScaleIo { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -6546,7 +6547,7 @@ pub struct ThanosRulerVolumesScaleIo { /// secretRef references to the secret for ScaleIO user and other /// sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesScaleIoSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -6561,7 +6562,7 @@ pub struct ThanosRulerVolumesScaleIoSecretRef { /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -6591,7 +6592,7 @@ pub struct ThanosRulerVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesSecretItems { /// key is the key to project. pub key: String, @@ -6611,7 +6612,7 @@ pub struct ThanosRulerVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesStorageos { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -6642,7 +6643,7 @@ pub struct ThanosRulerVolumesStorageos { /// secretRef specifies the secret to use for obtaining the StorageOS API /// credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesStorageosSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -6656,7 +6657,7 @@ pub struct ThanosRulerVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerVolumesVsphereVolume { /// fsType is filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -6675,7 +6676,7 @@ pub struct ThanosRulerVolumesVsphereVolume { } /// Defines the configuration of the ThanosRuler web server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerWeb { /// Defines HTTP parameters for web server. #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpConfig")] @@ -6686,7 +6687,7 @@ pub struct ThanosRulerWeb { } /// Defines HTTP parameters for web server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerWebHttpConfig { /// List of headers that can be added to HTTP responses. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6699,7 +6700,7 @@ pub struct ThanosRulerWebHttpConfig { } /// List of headers that can be added to HTTP responses. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerWebHttpConfigHeaders { /// Set the Content-Security-Policy header to HTTP responses. /// Unset if blank. @@ -6748,7 +6749,7 @@ pub enum ThanosRulerWebHttpConfigHeadersXFrameOptions { } /// Defines the TLS parameters for HTTPS. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerWebTlsConfig { /// Contains the TLS certificate for the server. pub cert: ThanosRulerWebTlsConfigCert, @@ -6788,7 +6789,7 @@ pub struct ThanosRulerWebTlsConfig { } /// Contains the TLS certificate for the server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerWebTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -6799,7 +6800,7 @@ pub struct ThanosRulerWebTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerWebTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -6818,7 +6819,7 @@ pub struct ThanosRulerWebTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerWebTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -6837,7 +6838,7 @@ pub struct ThanosRulerWebTlsConfigCertSecret { } /// Contains the CA certificate for client certificate authentication to the server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerWebTlsConfigClientCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -6848,7 +6849,7 @@ pub struct ThanosRulerWebTlsConfigClientCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerWebTlsConfigClientCaConfigMap { /// The key to select. pub key: String, @@ -6867,7 +6868,7 @@ pub struct ThanosRulerWebTlsConfigClientCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerWebTlsConfigClientCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -6886,7 +6887,7 @@ pub struct ThanosRulerWebTlsConfigClientCaSecret { } /// Secret containing the TLS key for the server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerWebTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -6907,7 +6908,7 @@ pub struct ThanosRulerWebTlsConfigKeySecret { /// Most recent observed status of the ThanosRuler cluster. Read-only. /// More info: /// https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ThanosRulerStatus { /// Total number of available pods (ready for at least minReadySeconds) /// targeted by this ThanosRuler deployment. diff --git a/kube-custom-resources-rs/src/monitoring_coreos_com/v1alpha1/alertmanagerconfigs.rs b/kube-custom-resources-rs/src/monitoring_coreos_com/v1alpha1/alertmanagerconfigs.rs index 50e6e7e35..650d947ca 100644 --- a/kube-custom-resources-rs/src/monitoring_coreos_com/v1alpha1/alertmanagerconfigs.rs +++ b/kube-custom-resources-rs/src/monitoring_coreos_com/v1alpha1/alertmanagerconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/alertmanagerconfigs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/alertmanagerconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,10 +13,11 @@ use self::prelude::*; /// AlertmanagerConfigSpec is a specification of the desired behavior of the Alertmanager configuration. /// By definition, the Alertmanager configuration only applies to alerts for which /// the `namespace` label is equal to the namespace of the AlertmanagerConfig resource. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "monitoring.coreos.com", version = "v1alpha1", kind = "AlertmanagerConfig", plural = "alertmanagerconfigs")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct AlertmanagerConfigSpec { /// List of inhibition rules. The rules will only apply to alerts matching @@ -39,7 +40,7 @@ pub struct AlertmanagerConfigSpec { /// InhibitRule defines an inhibition rule that allows to mute alerts when other /// alerts are already firing. /// See https://prometheus.io/docs/alerting/latest/configuration/#inhibit_rule -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigInhibitRules { /// Labels that must have an equal value in the source and target alert for /// the inhibition to take effect. @@ -57,7 +58,7 @@ pub struct AlertmanagerConfigInhibitRules { } /// Matcher defines how to match on alert's labels. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigInhibitRulesSourceMatch { /// Match operation available with AlertManager >= v0.22.0 and /// takes precedence over Regex (deprecated) if non-empty. @@ -88,7 +89,7 @@ pub enum AlertmanagerConfigInhibitRulesSourceMatchMatchType { } /// Matcher defines how to match on alert's labels. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigInhibitRulesTargetMatch { /// Match operation available with AlertManager >= v0.22.0 and /// takes precedence over Regex (deprecated) if non-empty. @@ -119,7 +120,7 @@ pub enum AlertmanagerConfigInhibitRulesTargetMatchMatchType { } /// MuteTimeInterval specifies the periods in time when notifications will be muted -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigMuteTimeIntervals { /// Name of the time interval #[serde(default, skip_serializing_if = "Option::is_none")] @@ -130,7 +131,7 @@ pub struct AlertmanagerConfigMuteTimeIntervals { } /// TimeInterval describes intervals of time -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigMuteTimeIntervalsTimeIntervals { /// DaysOfMonth is a list of DayOfMonthRange #[serde(default, skip_serializing_if = "Option::is_none", rename = "daysOfMonth")] @@ -150,7 +151,7 @@ pub struct AlertmanagerConfigMuteTimeIntervalsTimeIntervals { } /// DayOfMonthRange is an inclusive range of days of the month beginning at 1 -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigMuteTimeIntervalsTimeIntervalsDaysOfMonth { /// End of the inclusive range #[serde(default, skip_serializing_if = "Option::is_none")] @@ -161,7 +162,7 @@ pub struct AlertmanagerConfigMuteTimeIntervalsTimeIntervalsDaysOfMonth { } /// TimeRange defines a start and end time in 24hr format -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigMuteTimeIntervalsTimeIntervalsTimes { /// EndTime is the end time in 24hr format. #[serde(default, skip_serializing_if = "Option::is_none", rename = "endTime")] @@ -172,7 +173,7 @@ pub struct AlertmanagerConfigMuteTimeIntervalsTimeIntervalsTimes { } /// Receiver defines one or more notification integrations. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceivers { /// List of Discord configurations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "discordConfigs")] @@ -220,7 +221,7 @@ pub struct AlertmanagerConfigReceivers { /// DiscordConfig configures notifications via Discord. /// See https://prometheus.io/docs/alerting/latest/configuration/#discord_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigs { /// The secret's key that contains the Discord webhook URL. /// The secret needs to be in the same namespace as the AlertmanagerConfig @@ -244,7 +245,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigs { /// The secret's key that contains the Discord webhook URL. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsApiUrl { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -263,7 +264,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsApiUrl { } /// HTTP client configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. @@ -295,7 +296,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -312,7 +313,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -332,7 +333,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigAuthorizationCrede /// BasicAuth for the client. /// This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -346,7 +347,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -366,7 +367,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigBasicAuthPassword /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -388,7 +389,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigBasicAuthUsername /// for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -407,7 +408,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigBearerTokenSecret } /// OAuth2 client credentials used to fetch a token for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -431,7 +432,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -442,7 +443,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -461,7 +462,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2ClientIdConf } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -481,7 +482,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2ClientIdSecr /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -500,7 +501,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2ClientSecret } /// TLS configuration for the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -520,7 +521,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -531,7 +532,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -550,7 +551,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCaConfigM } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -569,7 +570,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCaSecret } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -580,7 +581,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -599,7 +600,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCertConfi } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -618,7 +619,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCertSecre } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -637,7 +638,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigKeySecret } /// EmailConfig configures notifications via Email. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversEmailConfigs { /// The identity to use for authentication. #[serde(default, skip_serializing_if = "Option::is_none", rename = "authIdentity")] @@ -692,7 +693,7 @@ pub struct AlertmanagerConfigReceiversEmailConfigs { /// The secret's key that contains the password to use for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversEmailConfigsAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -713,7 +714,7 @@ pub struct AlertmanagerConfigReceiversEmailConfigsAuthPassword { /// The secret's key that contains the CRAM-MD5 secret. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversEmailConfigsAuthSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -732,7 +733,7 @@ pub struct AlertmanagerConfigReceiversEmailConfigsAuthSecret { } /// KeyValue defines a (key, value) tuple. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversEmailConfigsHeaders { /// Key of the tuple. pub key: String, @@ -741,7 +742,7 @@ pub struct AlertmanagerConfigReceiversEmailConfigsHeaders { } /// TLS configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -761,7 +762,7 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -772,7 +773,7 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -791,7 +792,7 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -810,7 +811,7 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -821,7 +822,7 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -840,7 +841,7 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -859,7 +860,7 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -879,7 +880,7 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigKeySecret { /// MSTeamsConfig configures notifications via Microsoft Teams. /// It requires Alertmanager >= 0.26.0. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigs { /// HTTP client configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpConfig")] @@ -903,7 +904,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigs { } /// HTTP client configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. @@ -935,7 +936,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -952,7 +953,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -972,7 +973,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigAuthorizationCrede /// BasicAuth for the client. /// This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -986,7 +987,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1006,7 +1007,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigBasicAuthPassword /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1028,7 +1029,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigBasicAuthUsername /// for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1047,7 +1048,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigBearerTokenSecret } /// OAuth2 client credentials used to fetch a token for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -1071,7 +1072,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1082,7 +1083,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -1101,7 +1102,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2ClientIdConf } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1121,7 +1122,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2ClientIdSecr /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1140,7 +1141,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2ClientSecret } /// TLS configuration for the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1160,7 +1161,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1171,7 +1172,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -1190,7 +1191,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCaConfigM } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1209,7 +1210,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCaSecret } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1220,7 +1221,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -1239,7 +1240,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCertConfi } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1258,7 +1259,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCertSecre } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1277,7 +1278,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigKeySecret } /// MSTeams webhook URL. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsWebhookUrl { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1297,7 +1298,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsWebhookUrl { /// OpsGenieConfig configures notifications via OpsGenie. /// See https://prometheus.io/docs/alerting/latest/configuration/#opsgenie_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigs { /// Comma separated list of actions that will be available for the alert. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1352,7 +1353,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigs { /// The secret's key that contains the OpsGenie API key. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsApiKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1371,7 +1372,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsApiKey { } /// KeyValue defines a (key, value) tuple. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsDetails { /// Key of the tuple. pub key: String, @@ -1380,7 +1381,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsDetails { } /// HTTP client configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. @@ -1412,7 +1413,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1429,7 +1430,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1449,7 +1450,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigAuthorizationCred /// BasicAuth for the client. /// This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -1463,7 +1464,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1483,7 +1484,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigBasicAuthPassword /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1505,7 +1506,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigBasicAuthUsername /// for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1524,7 +1525,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigBearerTokenSecret } /// OAuth2 client credentials used to fetch a token for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -1548,7 +1549,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1559,7 +1560,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -1578,7 +1579,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2ClientIdCon } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1598,7 +1599,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2ClientIdSec /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1617,7 +1618,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2ClientSecre } /// TLS configuration for the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1637,7 +1638,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1648,7 +1649,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -1667,7 +1668,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCaConfig } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1686,7 +1687,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCaSecret } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1697,7 +1698,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -1716,7 +1717,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCertConf } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1735,7 +1736,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCertSecr } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1755,7 +1756,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigKeySecre /// OpsGenieConfigResponder defines a responder to an incident. /// One of `id`, `name` or `username` has to be defined. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsResponders { /// ID of the responder. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1773,7 +1774,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsResponders { /// PagerDutyConfig configures notifications via PagerDuty. /// See https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigs { /// The class/type of the event. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1833,7 +1834,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigs { } /// KeyValue defines a (key, value) tuple. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsDetails { /// Key of the tuple. pub key: String, @@ -1842,7 +1843,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsDetails { } /// HTTP client configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. @@ -1874,7 +1875,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1891,7 +1892,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1911,7 +1912,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigAuthorizationCre /// BasicAuth for the client. /// This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -1925,7 +1926,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1945,7 +1946,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigBasicAuthPasswor /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1967,7 +1968,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigBasicAuthUsernam /// for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1986,7 +1987,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigBearerTokenSecre } /// OAuth2 client credentials used to fetch a token for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -2010,7 +2011,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2021,7 +2022,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -2040,7 +2041,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2ClientIdCo } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2060,7 +2061,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2ClientIdSe /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2079,7 +2080,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2ClientSecr } /// TLS configuration for the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2099,7 +2100,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2110,7 +2111,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -2129,7 +2130,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCaConfi } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2148,7 +2149,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCaSecre } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2159,7 +2160,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -2178,7 +2179,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCertCon } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2197,7 +2198,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCertSec } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2216,7 +2217,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigKeySecr } /// PagerDutyImageConfig attaches images to an incident -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsPagerDutyImageConfigs { /// Alt is the optional alternative text for the image. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2230,7 +2231,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsPagerDutyImageConfigs { } /// PagerDutyLinkConfig attaches text links to an incident -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsPagerDutyLinkConfigs { /// Text that describes the purpose of the link, and can be used as the link's text. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2244,7 +2245,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsPagerDutyLinkConfigs { /// Events API v2). Either this field or `serviceKey` needs to be defined. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsRoutingKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2267,7 +2268,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsRoutingKey { /// be defined. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsServiceKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2287,7 +2288,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsServiceKey { /// PushoverConfig configures notifications via Pushover. /// See https://prometheus.io/docs/alerting/latest/configuration/#pushover_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigs { /// The name of a device to send the notification to #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2352,7 +2353,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigs { } /// HTTP client configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. @@ -2384,7 +2385,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2401,7 +2402,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2421,7 +2422,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigAuthorizationCred /// BasicAuth for the client. /// This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -2435,7 +2436,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2455,7 +2456,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigBasicAuthPassword /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2477,7 +2478,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigBasicAuthUsername /// for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2496,7 +2497,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigBearerTokenSecret } /// OAuth2 client credentials used to fetch a token for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -2520,7 +2521,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2531,7 +2532,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -2550,7 +2551,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2ClientIdCon } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2570,7 +2571,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2ClientIdSec /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2589,7 +2590,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2ClientSecre } /// TLS configuration for the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2609,7 +2610,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2620,7 +2621,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -2639,7 +2640,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCaConfig } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2658,7 +2659,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCaSecret } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2669,7 +2670,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -2688,7 +2689,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCertConf } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2707,7 +2708,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCertSecr } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2729,7 +2730,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigKeySecre /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. /// Either `token` or `tokenFile` is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsToken { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2751,7 +2752,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsToken { /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. /// Either `userKey` or `userKeyFile` is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsUserKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2771,7 +2772,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsUserKey { /// SlackConfig configures notifications via Slack. /// See https://prometheus.io/docs/alerting/latest/configuration/#slack_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigs { /// A list of Slack actions that are sent with each notification. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2831,7 +2832,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigs { /// notification. /// See https://api.slack.com/docs/message-attachments#action_fields and /// https://api.slack.com/docs/message-buttons for more information. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsActions { /// SlackConfirmationField protect users from destructive actions or /// particularly distinguished decisions by asking them to confirm their button @@ -2858,7 +2859,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsActions { /// click one more time. /// See https://api.slack.com/docs/interactive-message-field-guide#confirmation_fields /// for more information. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsActionsConfirm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "dismissText")] pub dismiss_text: Option, @@ -2872,7 +2873,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsActionsConfirm { /// The secret's key that contains the Slack webhook URL. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsApiUrl { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2894,7 +2895,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsApiUrl { /// Each field must contain a title, value, and optionally, a boolean value to indicate if the field /// is short enough to be displayed next to other fields designated as short. /// See https://api.slack.com/docs/message-attachments#fields for more information. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub short: Option, @@ -2903,7 +2904,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsFields { } /// HTTP client configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. @@ -2935,7 +2936,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2952,7 +2953,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2972,7 +2973,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigAuthorizationCredent /// BasicAuth for the client. /// This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -2986,7 +2987,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3006,7 +3007,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigBasicAuthPassword { /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3028,7 +3029,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigBasicAuthUsername { /// for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3047,7 +3048,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigBearerTokenSecret { } /// OAuth2 client credentials used to fetch a token for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -3071,7 +3072,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3082,7 +3083,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -3101,7 +3102,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2ClientIdConfig } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3121,7 +3122,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2ClientIdSecret /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3140,7 +3141,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2ClientSecret { } /// TLS configuration for the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3160,7 +3161,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3171,7 +3172,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -3190,7 +3191,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCaConfigMap } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3209,7 +3210,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3220,7 +3221,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -3239,7 +3240,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCertConfigM } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3258,7 +3259,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCertSecret } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3278,7 +3279,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigKeySecret { /// SNSConfig configures notifications via AWS SNS. /// See https://prometheus.io/docs/alerting/latest/configuration/#sns_configs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigs { /// The SNS API URL i.e. https://sns.us-east-2.amazonaws.com. /// If not specified, the SNS API URL from the SNS SDK will be used. @@ -3317,7 +3318,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigs { } /// HTTP client configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. @@ -3349,7 +3350,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3366,7 +3367,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3386,7 +3387,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigAuthorizationCredentia /// BasicAuth for the client. /// This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -3400,7 +3401,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3420,7 +3421,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigBasicAuthPassword { /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3442,7 +3443,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigBasicAuthUsername { /// for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3461,7 +3462,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigBearerTokenSecret { } /// OAuth2 client credentials used to fetch a token for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -3485,7 +3486,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3496,7 +3497,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -3515,7 +3516,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2ClientIdConfigMa } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3535,7 +3536,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2ClientIdSecret { /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3554,7 +3555,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2ClientSecret { } /// TLS configuration for the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3574,7 +3575,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3585,7 +3586,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -3604,7 +3605,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3623,7 +3624,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3634,7 +3635,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -3653,7 +3654,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCertConfigMap } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3672,7 +3673,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3691,7 +3692,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigKeySecret { } /// Configures AWS's Signature Verification 4 signing process to sign requests. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsSigv4 { /// AccessKey is the AWS API key. If not specified, the environment variable /// `AWS_ACCESS_KEY_ID` is used. @@ -3714,7 +3715,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsSigv4 { /// AccessKey is the AWS API key. If not specified, the environment variable /// `AWS_ACCESS_KEY_ID` is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsSigv4AccessKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3734,7 +3735,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsSigv4AccessKey { /// SecretKey is the AWS API secret. If not specified, the environment /// variable `AWS_SECRET_ACCESS_KEY` is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsSigv4SecretKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3754,7 +3755,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsSigv4SecretKey { /// TelegramConfig configures notifications via Telegram. /// See https://prometheus.io/docs/alerting/latest/configuration/#telegram_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigs { /// The Telegram API URL i.e. https://api.telegram.org. /// If not specified, default API URL will be used. @@ -3801,7 +3802,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigs { /// /// /// Either `botToken` or `botTokenFile` is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsBotToken { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3820,7 +3821,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsBotToken { } /// HTTP client configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. @@ -3852,7 +3853,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3869,7 +3870,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3889,7 +3890,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigAuthorizationCred /// BasicAuth for the client. /// This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -3903,7 +3904,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3923,7 +3924,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigBasicAuthPassword /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3945,7 +3946,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigBasicAuthUsername /// for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3964,7 +3965,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigBearerTokenSecret } /// OAuth2 client credentials used to fetch a token for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -3988,7 +3989,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3999,7 +4000,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -4018,7 +4019,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2ClientIdCon } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4038,7 +4039,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2ClientIdSec /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4057,7 +4058,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2ClientSecre } /// TLS configuration for the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4077,7 +4078,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4088,7 +4089,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -4107,7 +4108,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCaConfig } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4126,7 +4127,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCaSecret } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4137,7 +4138,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -4156,7 +4157,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCertConf } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4175,7 +4176,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCertSecr } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4205,7 +4206,7 @@ pub enum AlertmanagerConfigReceiversTelegramConfigsParseMode { /// VictorOpsConfig configures notifications via VictorOps. /// See https://prometheus.io/docs/alerting/latest/configuration/#victorops_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigs { /// The secret's key that contains the API key to use when talking to the VictorOps API. /// The secret needs to be in the same namespace as the AlertmanagerConfig @@ -4244,7 +4245,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigs { /// The secret's key that contains the API key to use when talking to the VictorOps API. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsApiKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4263,7 +4264,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsApiKey { } /// KeyValue defines a (key, value) tuple. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsCustomFields { /// Key of the tuple. pub key: String, @@ -4272,7 +4273,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsCustomFields { } /// The HTTP client's configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. @@ -4304,7 +4305,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4321,7 +4322,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4341,7 +4342,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigAuthorizationCre /// BasicAuth for the client. /// This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -4355,7 +4356,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4375,7 +4376,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigBasicAuthPasswor /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4397,7 +4398,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigBasicAuthUsernam /// for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4416,7 +4417,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigBearerTokenSecre } /// OAuth2 client credentials used to fetch a token for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -4440,7 +4441,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4451,7 +4452,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -4470,7 +4471,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2ClientIdCo } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4490,7 +4491,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2ClientIdSe /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4509,7 +4510,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2ClientSecr } /// TLS configuration for the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4529,7 +4530,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4540,7 +4541,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -4559,7 +4560,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCaConfi } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4578,7 +4579,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCaSecre } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4589,7 +4590,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -4608,7 +4609,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCertCon } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4627,7 +4628,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCertSec } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4647,7 +4648,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigKeySecr /// WebexConfig configures notification via Cisco Webex /// See https://prometheus.io/docs/alerting/latest/configuration/#webex_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigs { /// The Webex Teams API URL i.e. https://webexapis.com/v1/messages /// Provide if different from the default API URL. @@ -4670,7 +4671,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigs { /// The HTTP client's configuration. /// You must supply the bot token via the `httpConfig.authorization` field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. @@ -4702,7 +4703,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4719,7 +4720,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4739,7 +4740,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigAuthorizationCredent /// BasicAuth for the client. /// This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -4753,7 +4754,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4773,7 +4774,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigBasicAuthPassword { /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4795,7 +4796,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigBasicAuthUsername { /// for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4814,7 +4815,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigBearerTokenSecret { } /// OAuth2 client credentials used to fetch a token for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -4838,7 +4839,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4849,7 +4850,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -4868,7 +4869,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2ClientIdConfig } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4888,7 +4889,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2ClientIdSecret /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4907,7 +4908,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2ClientSecret { } /// TLS configuration for the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4927,7 +4928,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4938,7 +4939,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -4957,7 +4958,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCaConfigMap } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4976,7 +4977,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4987,7 +4988,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -5006,7 +5007,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCertConfigM } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5025,7 +5026,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCertSecret } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5045,7 +5046,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigKeySecret { /// WebhookConfig configures notifications via a generic receiver supporting the webhook payload. /// See https://prometheus.io/docs/alerting/latest/configuration/#webhook_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigs { /// HTTP client configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpConfig")] @@ -5070,7 +5071,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigs { } /// HTTP client configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. @@ -5102,7 +5103,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5119,7 +5120,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5139,7 +5140,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigAuthorizationCrede /// BasicAuth for the client. /// This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -5153,7 +5154,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5173,7 +5174,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigBasicAuthPassword /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5195,7 +5196,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigBasicAuthUsername /// for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5214,7 +5215,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigBearerTokenSecret } /// OAuth2 client credentials used to fetch a token for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -5238,7 +5239,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -5249,7 +5250,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -5268,7 +5269,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2ClientIdConf } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5288,7 +5289,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2ClientIdSecr /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5307,7 +5308,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2ClientSecret } /// TLS configuration for the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5327,7 +5328,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -5338,7 +5339,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -5357,7 +5358,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCaConfigM } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5376,7 +5377,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCaSecret } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -5387,7 +5388,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -5406,7 +5407,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCertConfi } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5425,7 +5426,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCertSecre } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5448,7 +5449,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigKeySecret /// should be defined. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsUrlSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5468,7 +5469,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsUrlSecret { /// WeChatConfig configures notifications via WeChat. /// See https://prometheus.io/docs/alerting/latest/configuration/#wechat_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigs { #[serde(default, skip_serializing_if = "Option::is_none", rename = "agentID")] pub agent_id: Option, @@ -5505,7 +5506,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigs { /// The secret's key that contains the WeChat API key. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsApiSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5524,7 +5525,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsApiSecret { } /// HTTP client configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. @@ -5556,7 +5557,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5573,7 +5574,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5593,7 +5594,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigAuthorizationCreden /// BasicAuth for the client. /// This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -5607,7 +5608,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5627,7 +5628,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigBasicAuthPassword { /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5649,7 +5650,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigBasicAuthUsername { /// for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5668,7 +5669,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigBearerTokenSecret { } /// OAuth2 client credentials used to fetch a token for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -5692,7 +5693,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -5703,7 +5704,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -5722,7 +5723,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2ClientIdConfi } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5742,7 +5743,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2ClientIdSecre /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5761,7 +5762,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2ClientSecret } /// TLS configuration for the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5781,7 +5782,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -5792,7 +5793,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -5811,7 +5812,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCaConfigMa } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5830,7 +5831,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -5841,7 +5842,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -5860,7 +5861,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCertConfig } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5879,7 +5880,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCertSecret } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5900,7 +5901,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigKeySecret /// The Alertmanager route definition for alerts matching the resource's /// namespace. If present, it will be added to the generated Alertmanager /// configuration as a first-level route. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigRoute { /// ActiveTimeIntervals is a list of MuteTimeInterval names when this route should be active. #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeTimeIntervals")] @@ -5956,7 +5957,7 @@ pub struct AlertmanagerConfigRoute { } /// Matcher defines how to match on alert's labels. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigRouteMatchers { /// Match operation available with AlertManager >= v0.22.0 and /// takes precedence over Regex (deprecated) if non-empty. diff --git a/kube-custom-resources-rs/src/monitoring_coreos_com/v1alpha1/prometheusagents.rs b/kube-custom-resources-rs/src/monitoring_coreos_com/v1alpha1/prometheusagents.rs index 471dce3e9..6c77c88e5 100644 --- a/kube-custom-resources-rs/src/monitoring_coreos_com/v1alpha1/prometheusagents.rs +++ b/kube-custom-resources-rs/src/monitoring_coreos_com/v1alpha1/prometheusagents.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/prometheusagents.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/prometheusagents.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -14,11 +14,12 @@ use self::prelude::*; /// Specification of the desired behavior of the Prometheus agent. More info: /// https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "monitoring.coreos.com", version = "v1alpha1", kind = "PrometheusAgent", plural = "prometheusagents")] #[kube(namespaced)] #[kube(status = "PrometheusAgentStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PrometheusAgentSpec { /// AdditionalArgs allows setting additional arguments for the 'prometheus' container. @@ -631,7 +632,7 @@ pub struct PrometheusAgentSpec { } /// Argument as part of the AdditionalArgs list. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAdditionalArgs { /// Name of the argument, e.g. "scrape.discovery-reload-interval". pub name: String, @@ -651,7 +652,7 @@ pub struct PrometheusAgentAdditionalArgs { /// break upgrades of Prometheus. It is advised to review Prometheus release /// notes to ensure that no incompatible scrape configs are going to break /// Prometheus after the upgrade. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAdditionalScrapeConfigs { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -670,7 +671,7 @@ pub struct PrometheusAgentAdditionalScrapeConfigs { } /// Defines the Pods' affinity scheduling rules if specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -684,7 +685,7 @@ pub struct PrometheusAgentAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -708,7 +709,7 @@ pub struct PrometheusAgentAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: PrometheusAgentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -717,7 +718,7 @@ pub struct PrometheusAgentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDu } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -729,7 +730,7 @@ pub struct PrometheusAgentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDu /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -747,7 +748,7 @@ pub struct PrometheusAgentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDu /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -768,7 +769,7 @@ pub struct PrometheusAgentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDu /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -778,7 +779,7 @@ pub struct PrometheusAgentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDur /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -790,7 +791,7 @@ pub struct PrometheusAgentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDur /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -808,7 +809,7 @@ pub struct PrometheusAgentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDur /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -825,7 +826,7 @@ pub struct PrometheusAgentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDur } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -850,7 +851,7 @@ pub struct PrometheusAgentAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -861,7 +862,7 @@ pub struct PrometheusAgentAffinityPodAffinityPreferredDuringSchedulingIgnoredDur } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -913,7 +914,7 @@ pub struct PrometheusAgentAffinityPodAffinityPreferredDuringSchedulingIgnoredDur /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -927,7 +928,7 @@ pub struct PrometheusAgentAffinityPodAffinityPreferredDuringSchedulingIgnoredDur /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -947,7 +948,7 @@ pub struct PrometheusAgentAffinityPodAffinityPreferredDuringSchedulingIgnoredDur /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -961,7 +962,7 @@ pub struct PrometheusAgentAffinityPodAffinityPreferredDuringSchedulingIgnoredDur /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -982,7 +983,7 @@ pub struct PrometheusAgentAffinityPodAffinityPreferredDuringSchedulingIgnoredDur /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1034,7 +1035,7 @@ pub struct PrometheusAgentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuri /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1048,7 +1049,7 @@ pub struct PrometheusAgentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuri /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1068,7 +1069,7 @@ pub struct PrometheusAgentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuri /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1082,7 +1083,7 @@ pub struct PrometheusAgentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuri /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1098,7 +1099,7 @@ pub struct PrometheusAgentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuri } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -1123,7 +1124,7 @@ pub struct PrometheusAgentAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1134,7 +1135,7 @@ pub struct PrometheusAgentAffinityPodAntiAffinityPreferredDuringSchedulingIgnore } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1186,7 +1187,7 @@ pub struct PrometheusAgentAffinityPodAntiAffinityPreferredDuringSchedulingIgnore /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1200,7 +1201,7 @@ pub struct PrometheusAgentAffinityPodAntiAffinityPreferredDuringSchedulingIgnore /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1220,7 +1221,7 @@ pub struct PrometheusAgentAffinityPodAntiAffinityPreferredDuringSchedulingIgnore /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1234,7 +1235,7 @@ pub struct PrometheusAgentAffinityPodAntiAffinityPreferredDuringSchedulingIgnore /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1255,7 +1256,7 @@ pub struct PrometheusAgentAffinityPodAntiAffinityPreferredDuringSchedulingIgnore /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1307,7 +1308,7 @@ pub struct PrometheusAgentAffinityPodAntiAffinityRequiredDuringSchedulingIgnored /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1321,7 +1322,7 @@ pub struct PrometheusAgentAffinityPodAntiAffinityRequiredDuringSchedulingIgnored /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1341,7 +1342,7 @@ pub struct PrometheusAgentAffinityPodAntiAffinityRequiredDuringSchedulingIgnored /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1355,7 +1356,7 @@ pub struct PrometheusAgentAffinityPodAntiAffinityRequiredDuringSchedulingIgnored /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1375,7 +1376,7 @@ pub struct PrometheusAgentAffinityPodAntiAffinityRequiredDuringSchedulingIgnored /// If null, Prometheus is assumed to run inside of the cluster: it will /// discover the API servers automatically and use the Pod's CA certificate /// and bearer token file at /var/run/secrets/kubernetes.io/serviceaccount/. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentApiserverConfig { /// Authorization section for the API server. /// @@ -1420,7 +1421,7 @@ pub struct PrometheusAgentApiserverConfig { /// /// Cannot be set at the same time as `basicAuth`, `bearerToken`, or /// `bearerTokenFile`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentApiserverConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1440,7 +1441,7 @@ pub struct PrometheusAgentApiserverConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentApiserverConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1463,7 +1464,7 @@ pub struct PrometheusAgentApiserverConfigAuthorizationCredentials { /// /// Cannot be set at the same time as `authorization`, `bearerToken`, or /// `bearerTokenFile`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentApiserverConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -1477,7 +1478,7 @@ pub struct PrometheusAgentApiserverConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentApiserverConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1497,7 +1498,7 @@ pub struct PrometheusAgentApiserverConfigBasicAuthPassword { /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentApiserverConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1516,7 +1517,7 @@ pub struct PrometheusAgentApiserverConfigBasicAuthUsername { } /// TLS Config to use for the API server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentApiserverConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1545,7 +1546,7 @@ pub struct PrometheusAgentApiserverConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentApiserverConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1556,7 +1557,7 @@ pub struct PrometheusAgentApiserverConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentApiserverConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -1575,7 +1576,7 @@ pub struct PrometheusAgentApiserverConfigTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentApiserverConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1594,7 +1595,7 @@ pub struct PrometheusAgentApiserverConfigTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentApiserverConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1605,7 +1606,7 @@ pub struct PrometheusAgentApiserverConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentApiserverConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -1624,7 +1625,7 @@ pub struct PrometheusAgentApiserverConfigTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentApiserverConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1643,7 +1644,7 @@ pub struct PrometheusAgentApiserverConfigTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentApiserverConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1671,14 +1672,14 @@ pub struct PrometheusAgentApiserverConfigTlsConfigKeySecret { /// `spec.arbitraryFSAccessThroughSM` to 'true' would prevent the attack. /// Users should instead provide the credentials using the /// `spec.bearerTokenSecret` field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentArbitraryFsAccessThroughSMs { #[serde(default, skip_serializing_if = "Option::is_none")] pub deny: Option, } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainers { /// Arguments to the entrypoint. /// The container image's CMD is used if this is not provided. @@ -1845,7 +1846,7 @@ pub struct PrometheusAgentContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -1866,7 +1867,7 @@ pub struct PrometheusAgentContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1885,7 +1886,7 @@ pub struct PrometheusAgentContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1905,7 +1906,7 @@ pub struct PrometheusAgentContainersEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1917,7 +1918,7 @@ pub struct PrometheusAgentContainersEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1930,7 +1931,7 @@ pub struct PrometheusAgentContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1949,7 +1950,7 @@ pub struct PrometheusAgentContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -1963,7 +1964,7 @@ pub struct PrometheusAgentContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersEnvFromConfigMapRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -1980,7 +1981,7 @@ pub struct PrometheusAgentContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersEnvFromSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -1998,7 +1999,7 @@ pub struct PrometheusAgentContainersEnvFromSecretRef { /// Actions that the management system should take in response to container lifecycle events. /// Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, /// the container is terminated and restarted according to its restart policy. @@ -2023,7 +2024,7 @@ pub struct PrometheusAgentContainersLifecycle { /// the container is terminated and restarted according to its restart policy. /// Other management of the container blocks until the hook completes. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2042,7 +2043,7 @@ pub struct PrometheusAgentContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2054,7 +2055,7 @@ pub struct PrometheusAgentContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2077,7 +2078,7 @@ pub struct PrometheusAgentContainersLifecyclePostStartHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2087,7 +2088,7 @@ pub struct PrometheusAgentContainersLifecyclePostStartHttpGetHttpHeaders { } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersLifecyclePostStartSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -2096,7 +2097,7 @@ pub struct PrometheusAgentContainersLifecyclePostStartSleep { /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2116,7 +2117,7 @@ pub struct PrometheusAgentContainersLifecyclePostStartTcpSocket { /// period (unless delayed by finalizers). Other management of the container blocks until the hook completes /// or until the termination grace period is reached. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2135,7 +2136,7 @@ pub struct PrometheusAgentContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2147,7 +2148,7 @@ pub struct PrometheusAgentContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2170,7 +2171,7 @@ pub struct PrometheusAgentContainersLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2180,7 +2181,7 @@ pub struct PrometheusAgentContainersLifecyclePreStopHttpGetHttpHeaders { } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersLifecyclePreStopSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -2189,7 +2190,7 @@ pub struct PrometheusAgentContainersLifecyclePreStopSleep { /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2204,7 +2205,7 @@ pub struct PrometheusAgentContainersLifecyclePreStopTcpSocket { /// Container will be restarted if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2254,7 +2255,7 @@ pub struct PrometheusAgentContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2266,7 +2267,7 @@ pub struct PrometheusAgentContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2280,7 +2281,7 @@ pub struct PrometheusAgentContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2303,7 +2304,7 @@ pub struct PrometheusAgentContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2313,7 +2314,7 @@ pub struct PrometheusAgentContainersLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2325,7 +2326,7 @@ pub struct PrometheusAgentContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersPorts { /// Number of port to expose on the pod's IP address. /// This must be a valid port number, 0 < x < 65536. @@ -2355,7 +2356,7 @@ pub struct PrometheusAgentContainersPorts { /// Container will be removed from service endpoints if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2405,7 +2406,7 @@ pub struct PrometheusAgentContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2417,7 +2418,7 @@ pub struct PrometheusAgentContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2431,7 +2432,7 @@ pub struct PrometheusAgentContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2454,7 +2455,7 @@ pub struct PrometheusAgentContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2464,7 +2465,7 @@ pub struct PrometheusAgentContainersReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2476,7 +2477,7 @@ pub struct PrometheusAgentContainersReadinessProbeTcpSocket { } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. /// Supported values: cpu, memory. @@ -2491,7 +2492,7 @@ pub struct PrometheusAgentContainersResizePolicy { /// Compute Resources required by this container. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -2517,7 +2518,7 @@ pub struct PrometheusAgentContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -2528,7 +2529,7 @@ pub struct PrometheusAgentContainersResourcesClaims { /// SecurityContext defines the security options the container should be run with. /// If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. /// More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -2613,7 +2614,7 @@ pub struct PrometheusAgentContainersSecurityContext { /// appArmorProfile is the AppArmor options to use by this container. If set, this profile /// overrides the pod's appArmorProfile. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersSecurityContextAppArmorProfile { /// localhostProfile indicates a profile loaded on the node that should be used. /// The profile must be preconfigured on the node to work. @@ -2633,7 +2634,7 @@ pub struct PrometheusAgentContainersSecurityContextAppArmorProfile { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2648,7 +2649,7 @@ pub struct PrometheusAgentContainersSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2668,7 +2669,7 @@ pub struct PrometheusAgentContainersSecurityContextSeLinuxOptions { /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -2691,7 +2692,7 @@ pub struct PrometheusAgentContainersSecurityContextSeccompProfile { /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -2722,7 +2723,7 @@ pub struct PrometheusAgentContainersSecurityContextWindowsOptions { /// when it might take a long time to load data or warm a cache, than during steady-state operation. /// This cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2772,7 +2773,7 @@ pub struct PrometheusAgentContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -2784,7 +2785,7 @@ pub struct PrometheusAgentContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2798,7 +2799,7 @@ pub struct PrometheusAgentContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -2821,7 +2822,7 @@ pub struct PrometheusAgentContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersStartupProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -2831,7 +2832,7 @@ pub struct PrometheusAgentContainersStartupProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2843,7 +2844,7 @@ pub struct PrometheusAgentContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -2853,7 +2854,7 @@ pub struct PrometheusAgentContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -2947,7 +2948,7 @@ pub enum PrometheusAgentExcludedFromEnforcementResource { /// HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the /// pod's hosts file. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentHostAliases { /// Hostnames for the above IP address. pub hostnames: Vec, @@ -2968,7 +2969,7 @@ pub enum PrometheusAgentImagePullPolicy { /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentImagePullSecrets { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -2982,7 +2983,7 @@ pub struct PrometheusAgentImagePullSecrets { } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainers { /// Arguments to the entrypoint. /// The container image's CMD is used if this is not provided. @@ -3149,7 +3150,7 @@ pub struct PrometheusAgentInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -3170,7 +3171,7 @@ pub struct PrometheusAgentInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -3189,7 +3190,7 @@ pub struct PrometheusAgentInitContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -3209,7 +3210,7 @@ pub struct PrometheusAgentInitContainersEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3221,7 +3222,7 @@ pub struct PrometheusAgentInitContainersEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -3234,7 +3235,7 @@ pub struct PrometheusAgentInitContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3253,7 +3254,7 @@ pub struct PrometheusAgentInitContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -3267,7 +3268,7 @@ pub struct PrometheusAgentInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersEnvFromConfigMapRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -3284,7 +3285,7 @@ pub struct PrometheusAgentInitContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersEnvFromSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -3302,7 +3303,7 @@ pub struct PrometheusAgentInitContainersEnvFromSecretRef { /// Actions that the management system should take in response to container lifecycle events. /// Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, /// the container is terminated and restarted according to its restart policy. @@ -3327,7 +3328,7 @@ pub struct PrometheusAgentInitContainersLifecycle { /// the container is terminated and restarted according to its restart policy. /// Other management of the container blocks until the hook completes. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3346,7 +3347,7 @@ pub struct PrometheusAgentInitContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -3358,7 +3359,7 @@ pub struct PrometheusAgentInitContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -3381,7 +3382,7 @@ pub struct PrometheusAgentInitContainersLifecyclePostStartHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -3391,7 +3392,7 @@ pub struct PrometheusAgentInitContainersLifecyclePostStartHttpGetHttpHeaders { } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersLifecyclePostStartSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -3400,7 +3401,7 @@ pub struct PrometheusAgentInitContainersLifecyclePostStartSleep { /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3420,7 +3421,7 @@ pub struct PrometheusAgentInitContainersLifecyclePostStartTcpSocket { /// period (unless delayed by finalizers). Other management of the container blocks until the hook completes /// or until the termination grace period is reached. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3439,7 +3440,7 @@ pub struct PrometheusAgentInitContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -3451,7 +3452,7 @@ pub struct PrometheusAgentInitContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -3474,7 +3475,7 @@ pub struct PrometheusAgentInitContainersLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -3484,7 +3485,7 @@ pub struct PrometheusAgentInitContainersLifecyclePreStopHttpGetHttpHeaders { } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersLifecyclePreStopSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -3493,7 +3494,7 @@ pub struct PrometheusAgentInitContainersLifecyclePreStopSleep { /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3508,7 +3509,7 @@ pub struct PrometheusAgentInitContainersLifecyclePreStopTcpSocket { /// Container will be restarted if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3558,7 +3559,7 @@ pub struct PrometheusAgentInitContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -3570,7 +3571,7 @@ pub struct PrometheusAgentInitContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3584,7 +3585,7 @@ pub struct PrometheusAgentInitContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -3607,7 +3608,7 @@ pub struct PrometheusAgentInitContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -3617,7 +3618,7 @@ pub struct PrometheusAgentInitContainersLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3629,7 +3630,7 @@ pub struct PrometheusAgentInitContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersPorts { /// Number of port to expose on the pod's IP address. /// This must be a valid port number, 0 < x < 65536. @@ -3659,7 +3660,7 @@ pub struct PrometheusAgentInitContainersPorts { /// Container will be removed from service endpoints if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3709,7 +3710,7 @@ pub struct PrometheusAgentInitContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -3721,7 +3722,7 @@ pub struct PrometheusAgentInitContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3735,7 +3736,7 @@ pub struct PrometheusAgentInitContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -3758,7 +3759,7 @@ pub struct PrometheusAgentInitContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -3768,7 +3769,7 @@ pub struct PrometheusAgentInitContainersReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3780,7 +3781,7 @@ pub struct PrometheusAgentInitContainersReadinessProbeTcpSocket { } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. /// Supported values: cpu, memory. @@ -3795,7 +3796,7 @@ pub struct PrometheusAgentInitContainersResizePolicy { /// Compute Resources required by this container. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -3821,7 +3822,7 @@ pub struct PrometheusAgentInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -3832,7 +3833,7 @@ pub struct PrometheusAgentInitContainersResourcesClaims { /// SecurityContext defines the security options the container should be run with. /// If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. /// More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -3917,7 +3918,7 @@ pub struct PrometheusAgentInitContainersSecurityContext { /// appArmorProfile is the AppArmor options to use by this container. If set, this profile /// overrides the pod's appArmorProfile. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersSecurityContextAppArmorProfile { /// localhostProfile indicates a profile loaded on the node that should be used. /// The profile must be preconfigured on the node to work. @@ -3937,7 +3938,7 @@ pub struct PrometheusAgentInitContainersSecurityContextAppArmorProfile { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3952,7 +3953,7 @@ pub struct PrometheusAgentInitContainersSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3972,7 +3973,7 @@ pub struct PrometheusAgentInitContainersSecurityContextSeLinuxOptions { /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -3995,7 +3996,7 @@ pub struct PrometheusAgentInitContainersSecurityContextSeccompProfile { /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -4026,7 +4027,7 @@ pub struct PrometheusAgentInitContainersSecurityContextWindowsOptions { /// when it might take a long time to load data or warm a cache, than during steady-state operation. /// This cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4076,7 +4077,7 @@ pub struct PrometheusAgentInitContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -4088,7 +4089,7 @@ pub struct PrometheusAgentInitContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4102,7 +4103,7 @@ pub struct PrometheusAgentInitContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -4125,7 +4126,7 @@ pub struct PrometheusAgentInitContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersStartupProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -4135,7 +4136,7 @@ pub struct PrometheusAgentInitContainersStartupProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4147,7 +4148,7 @@ pub struct PrometheusAgentInitContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -4157,7 +4158,7 @@ pub struct PrometheusAgentInitContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -4243,7 +4244,7 @@ pub enum PrometheusAgentLogLevel { /// The default behavior is all PVCs are retained. /// This is an alpha field from kubernetes 1.23 until 1.26 and a beta field from 1.26. /// It requires enabling the StatefulSetAutoDeletePVC feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentPersistentVolumeClaimRetentionPolicy { /// WhenDeleted specifies what happens to PVCs created from StatefulSet /// VolumeClaimTemplates when the StatefulSet is deleted. The default policy @@ -4272,7 +4273,7 @@ pub struct PrometheusAgentPersistentVolumeClaimRetentionPolicy { /// * "operator.prometheus.io/name" label, set to the name of the Prometheus object. /// * "operator.prometheus.io/shard" label, set to the shard number of the Prometheus object. /// * "kubectl.kubernetes.io/default-container" annotation, set to "prometheus". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentPodMetadata { /// Annotations is an unstructured key value map stored with a resource that may be /// set by external tools to store and retrieve arbitrary metadata. They are not @@ -4299,7 +4300,7 @@ pub struct PrometheusAgentPodMetadata { /// Namespaces to match for PodMonitors discovery. An empty label selector /// matches all namespaces. A null label selector (default value) matches the current /// namespace only. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentPodMonitorNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4313,7 +4314,7 @@ pub struct PrometheusAgentPodMonitorNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentPodMonitorNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4340,7 +4341,7 @@ pub struct PrometheusAgentPodMonitorNamespaceSelectorMatchExpressions { /// This behavior is *deprecated* and will be removed in the next major version /// of the custom resource definition. It is recommended to use /// `spec.additionalScrapeConfigs` instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentPodMonitorSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4354,7 +4355,7 @@ pub struct PrometheusAgentPodMonitorSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentPodMonitorSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4372,7 +4373,7 @@ pub struct PrometheusAgentPodMonitorSelectorMatchExpressions { /// Namespaces to match for Probe discovery. An empty label /// selector matches all namespaces. A null label selector matches the /// current namespace only. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentProbeNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4386,7 +4387,7 @@ pub struct PrometheusAgentProbeNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentProbeNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4413,7 +4414,7 @@ pub struct PrometheusAgentProbeNamespaceSelectorMatchExpressions { /// This behavior is *deprecated* and will be removed in the next major version /// of the custom resource definition. It is recommended to use /// `spec.additionalScrapeConfigs` instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentProbeSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4427,7 +4428,7 @@ pub struct PrometheusAgentProbeSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentProbeSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4453,7 +4454,7 @@ pub enum PrometheusAgentReloadStrategy { /// RemoteWriteSpec defines the configuration to write samples from Prometheus /// to a remote endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWrite { /// Authorization section for the URL. /// @@ -4571,7 +4572,7 @@ pub struct PrometheusAgentRemoteWrite { /// /// /// Cannot be set at the same time as `sigv4`, `basicAuth`, `oauth2`, or `azureAd`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4591,7 +4592,7 @@ pub struct PrometheusAgentRemoteWriteAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4616,7 +4617,7 @@ pub struct PrometheusAgentRemoteWriteAuthorizationCredentials { /// /// /// Cannot be set at the same time as `authorization`, `basicAuth`, `oauth2`, or `sigv4`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteAzureAd { /// The Azure Cloud. Options are 'AzurePublic', 'AzureChina', or 'AzureGovernment'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4658,7 +4659,7 @@ pub enum PrometheusAgentRemoteWriteAzureAdCloud { /// ManagedIdentity defines the Azure User-assigned Managed identity. /// Cannot be set at the same time as `oauth` or `sdk`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteAzureAdManagedIdentity { /// The client id #[serde(rename = "clientId")] @@ -4670,7 +4671,7 @@ pub struct PrometheusAgentRemoteWriteAzureAdManagedIdentity { /// /// /// It requires Prometheus >= v2.48.0. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteAzureAdOauth { /// `clientID` is the clientId of the Azure Active Directory application that is being used to authenticate. #[serde(rename = "clientId")] @@ -4684,7 +4685,7 @@ pub struct PrometheusAgentRemoteWriteAzureAdOauth { } /// `clientSecret` specifies a key of a Secret containing the client secret of the Azure Active Directory application that is being used to authenticate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteAzureAdOauthClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4708,7 +4709,7 @@ pub struct PrometheusAgentRemoteWriteAzureAdOauthClientSecret { /// /// /// It requires Prometheus >= 2.52.0. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteAzureAdSdk { /// `tenantId` is the tenant ID of the azure active directory application that is being used to authenticate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "tenantId")] @@ -4719,7 +4720,7 @@ pub struct PrometheusAgentRemoteWriteAzureAdSdk { /// /// /// Cannot be set at the same time as `sigv4`, `authorization`, `oauth2`, or `azureAd`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -4733,7 +4734,7 @@ pub struct PrometheusAgentRemoteWriteBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4753,7 +4754,7 @@ pub struct PrometheusAgentRemoteWriteBasicAuthPassword { /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4772,7 +4773,7 @@ pub struct PrometheusAgentRemoteWriteBasicAuthUsername { } /// MetadataConfig configures the sending of series metadata to the remote storage. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteMetadataConfig { /// Defines whether metric metadata is sent to the remote storage or not. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4789,7 +4790,7 @@ pub struct PrometheusAgentRemoteWriteMetadataConfig { /// /// /// Cannot be set at the same time as `sigv4`, `authorization`, `basicAuth`, or `azureAd`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -4813,7 +4814,7 @@ pub struct PrometheusAgentRemoteWriteOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4824,7 +4825,7 @@ pub struct PrometheusAgentRemoteWriteOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -4843,7 +4844,7 @@ pub struct PrometheusAgentRemoteWriteOauth2ClientIdConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4863,7 +4864,7 @@ pub struct PrometheusAgentRemoteWriteOauth2ClientIdSecret { /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4882,7 +4883,7 @@ pub struct PrometheusAgentRemoteWriteOauth2ClientSecret { } /// QueueConfig allows tuning of the remote write queue parameters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteQueueConfig { /// BatchSendDeadline is the maximum time a sample will wait in buffer. #[serde(default, skip_serializing_if = "Option::is_none", rename = "batchSendDeadline")] @@ -4929,7 +4930,7 @@ pub struct PrometheusAgentRemoteWriteQueueConfig { /// /// /// Cannot be set at the same time as `authorization`, `basicAuth`, `oauth2`, or `azureAd`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteSigv4 { /// AccessKey is the AWS API key. If not specified, the environment variable /// `AWS_ACCESS_KEY_ID` is used. @@ -4952,7 +4953,7 @@ pub struct PrometheusAgentRemoteWriteSigv4 { /// AccessKey is the AWS API key. If not specified, the environment variable /// `AWS_ACCESS_KEY_ID` is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteSigv4AccessKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4972,7 +4973,7 @@ pub struct PrometheusAgentRemoteWriteSigv4AccessKey { /// SecretKey is the AWS API secret. If not specified, the environment /// variable `AWS_SECRET_ACCESS_KEY` is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteSigv4SecretKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4991,7 +4992,7 @@ pub struct PrometheusAgentRemoteWriteSigv4SecretKey { } /// TLS Config to use for the URL. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5020,7 +5021,7 @@ pub struct PrometheusAgentRemoteWriteTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -5031,7 +5032,7 @@ pub struct PrometheusAgentRemoteWriteTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -5050,7 +5051,7 @@ pub struct PrometheusAgentRemoteWriteTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5069,7 +5070,7 @@ pub struct PrometheusAgentRemoteWriteTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -5080,7 +5081,7 @@ pub struct PrometheusAgentRemoteWriteTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -5099,7 +5100,7 @@ pub struct PrometheusAgentRemoteWriteTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5118,7 +5119,7 @@ pub struct PrometheusAgentRemoteWriteTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5141,7 +5142,7 @@ pub struct PrometheusAgentRemoteWriteTlsConfigKeySecret { /// /// /// More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentRemoteWriteWriteRelabelConfigs { /// Action to perform based on the regex matching. /// @@ -5237,7 +5238,7 @@ pub enum PrometheusAgentRemoteWriteWriteRelabelConfigsAction { } /// Defines the resources requests and limits of the 'prometheus' container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -5263,7 +5264,7 @@ pub struct PrometheusAgentResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -5271,7 +5272,7 @@ pub struct PrometheusAgentResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentScrapeClasses { /// Default indicates that the scrape applies to all scrape objects that /// don't configure an explicit scrape class name. @@ -5320,7 +5321,7 @@ pub struct PrometheusAgentScrapeClasses { /// /// /// More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentScrapeClassesMetricRelabelings { /// Action to perform based on the regex matching. /// @@ -5420,7 +5421,7 @@ pub enum PrometheusAgentScrapeClassesMetricRelabelingsAction { /// /// /// More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentScrapeClassesRelabelings { /// Action to perform based on the regex matching. /// @@ -5521,7 +5522,7 @@ pub enum PrometheusAgentScrapeClassesRelabelingsAction { /// /// /// For now only the `caFile`, `certFile` and `keyFile` fields are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentScrapeClassesTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5550,7 +5551,7 @@ pub struct PrometheusAgentScrapeClassesTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentScrapeClassesTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -5561,7 +5562,7 @@ pub struct PrometheusAgentScrapeClassesTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentScrapeClassesTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -5580,7 +5581,7 @@ pub struct PrometheusAgentScrapeClassesTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentScrapeClassesTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5599,7 +5600,7 @@ pub struct PrometheusAgentScrapeClassesTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentScrapeClassesTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -5610,7 +5611,7 @@ pub struct PrometheusAgentScrapeClassesTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentScrapeClassesTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -5629,7 +5630,7 @@ pub struct PrometheusAgentScrapeClassesTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentScrapeClassesTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5648,7 +5649,7 @@ pub struct PrometheusAgentScrapeClassesTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentScrapeClassesTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5672,7 +5673,7 @@ pub struct PrometheusAgentScrapeClassesTlsConfigKeySecret { /// /// /// Note that the ScrapeConfig custom resource definition is currently at Alpha level. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentScrapeConfigNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5686,7 +5687,7 @@ pub struct PrometheusAgentScrapeConfigNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentScrapeConfigNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5716,7 +5717,7 @@ pub struct PrometheusAgentScrapeConfigNamespaceSelectorMatchExpressions { /// /// /// Note that the ScrapeConfig custom resource definition is currently at Alpha level. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentScrapeConfigSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5730,7 +5731,7 @@ pub struct PrometheusAgentScrapeConfigSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentScrapeConfigSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5747,7 +5748,7 @@ pub struct PrometheusAgentScrapeConfigSelectorMatchExpressions { /// SecurityContext holds pod-level security attributes and common container settings. /// This defaults to the default PodSecurityContext. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentSecurityContext { /// appArmorProfile is the AppArmor options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. @@ -5836,7 +5837,7 @@ pub struct PrometheusAgentSecurityContext { /// appArmorProfile is the AppArmor options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentSecurityContextAppArmorProfile { /// localhostProfile indicates a profile loaded on the node that should be used. /// The profile must be preconfigured on the node to work. @@ -5859,7 +5860,7 @@ pub struct PrometheusAgentSecurityContextAppArmorProfile { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5877,7 +5878,7 @@ pub struct PrometheusAgentSecurityContextSeLinuxOptions { /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -5897,7 +5898,7 @@ pub struct PrometheusAgentSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -5909,7 +5910,7 @@ pub struct PrometheusAgentSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -5936,7 +5937,7 @@ pub struct PrometheusAgentSecurityContextWindowsOptions { /// Namespaces to match for ServicedMonitors discovery. An empty label selector /// matches all namespaces. A null label selector (default value) matches the current /// namespace only. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentServiceMonitorNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5950,7 +5951,7 @@ pub struct PrometheusAgentServiceMonitorNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentServiceMonitorNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5977,7 +5978,7 @@ pub struct PrometheusAgentServiceMonitorNamespaceSelectorMatchExpressions { /// This behavior is *deprecated* and will be removed in the next major version /// of the custom resource definition. It is recommended to use /// `spec.additionalScrapeConfigs` instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentServiceMonitorSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5991,7 +5992,7 @@ pub struct PrometheusAgentServiceMonitorSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentServiceMonitorSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6007,7 +6008,7 @@ pub struct PrometheusAgentServiceMonitorSelectorMatchExpressions { } /// Storage defines the storage used by Prometheus. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentStorage { /// Deprecated: subPath usage will be removed in a future release. #[serde(default, skip_serializing_if = "Option::is_none", rename = "disableMountSubPath")] @@ -6033,7 +6034,7 @@ pub struct PrometheusAgentStorage { /// EmptyDirVolumeSource to be used by the StatefulSet. /// If specified, it takes precedence over `ephemeral` and `volumeClaimTemplate`. /// More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentStorageEmptyDir { /// medium represents what type of storage medium should back this directory. /// The default is "" which means to use the node's default medium. @@ -6055,7 +6056,7 @@ pub struct PrometheusAgentStorageEmptyDir { /// This is a beta field in k8s 1.21 and GA in 1.15. /// For lower versions, starting with k8s 1.19, it requires enabling the GenericEphemeralVolume feature gate. /// More info: https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/#generic-ephemeral-volumes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentStorageEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. /// The pod in which this EphemeralVolumeSource is embedded will be the @@ -6109,7 +6110,7 @@ pub struct PrometheusAgentStorageEphemeral { /// /// /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentStorageEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during @@ -6126,7 +6127,7 @@ pub struct PrometheusAgentStorageEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during /// validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentStorageEphemeralVolumeClaimTemplateMetadata { } @@ -6134,7 +6135,7 @@ pub struct PrometheusAgentStorageEphemeralVolumeClaimTemplateMetadata { /// copied unchanged into the PVC that gets created from this /// template. The same fields as in a PersistentVolumeClaim /// are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentStorageEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -6220,7 +6221,7 @@ pub struct PrometheusAgentStorageEphemeralVolumeClaimTemplateSpec { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentStorageEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -6256,7 +6257,7 @@ pub struct PrometheusAgentStorageEphemeralVolumeClaimTemplateSpecDataSource { /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentStorageEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -6279,7 +6280,7 @@ pub struct PrometheusAgentStorageEphemeralVolumeClaimTemplateSpecDataSourceRef { /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentStorageEphemeralVolumeClaimTemplateSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -6294,7 +6295,7 @@ pub struct PrometheusAgentStorageEphemeralVolumeClaimTemplateSpecResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentStorageEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6308,7 +6309,7 @@ pub struct PrometheusAgentStorageEphemeralVolumeClaimTemplateSpecSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentStorageEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6326,7 +6327,7 @@ pub struct PrometheusAgentStorageEphemeralVolumeClaimTemplateSpecSelectorMatchEx /// Defines the PVC spec to be used by the Prometheus StatefulSets. /// The easiest way to use a volume that cannot be automatically provisioned /// is to use a label selector alongside manually created PersistentVolumes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentStorageVolumeClaimTemplate { /// APIVersion defines the versioned schema of this representation of an object. /// Servers should convert recognized schemas to the latest internal value, and @@ -6354,7 +6355,7 @@ pub struct PrometheusAgentStorageVolumeClaimTemplate { } /// EmbeddedMetadata contains metadata relevant to an EmbeddedResource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentStorageVolumeClaimTemplateMetadata { /// Annotations is an unstructured key value map stored with a resource that may be /// set by external tools to store and retrieve arbitrary metadata. They are not @@ -6380,7 +6381,7 @@ pub struct PrometheusAgentStorageVolumeClaimTemplateMetadata { /// Defines the desired characteristics of a volume requested by a pod author. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentStorageVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -6466,7 +6467,7 @@ pub struct PrometheusAgentStorageVolumeClaimTemplateSpec { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentStorageVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -6502,7 +6503,7 @@ pub struct PrometheusAgentStorageVolumeClaimTemplateSpecDataSource { /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentStorageVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -6525,7 +6526,7 @@ pub struct PrometheusAgentStorageVolumeClaimTemplateSpecDataSourceRef { /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentStorageVolumeClaimTemplateSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -6540,7 +6541,7 @@ pub struct PrometheusAgentStorageVolumeClaimTemplateSpecResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentStorageVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6554,7 +6555,7 @@ pub struct PrometheusAgentStorageVolumeClaimTemplateSpecSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentStorageVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6570,7 +6571,7 @@ pub struct PrometheusAgentStorageVolumeClaimTemplateSpecSelectorMatchExpressions } /// Deprecated: this field is never set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentStorageVolumeClaimTemplateStatus { /// accessModes contains the actual access modes the volume backing the PVC has. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -6668,7 +6669,7 @@ pub struct PrometheusAgentStorageVolumeClaimTemplateStatus { /// ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. /// When this is unset, there is no ModifyVolume operation being attempted. /// This is an alpha field and requires enabling VolumeAttributesClass feature. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentStorageVolumeClaimTemplateStatusModifyVolumeStatus { /// status is the status of the ControllerModifyVolume operation. It can be in any of following states: /// - Pending @@ -6688,7 +6689,7 @@ pub struct PrometheusAgentStorageVolumeClaimTemplateStatusModifyVolumeStatus { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -6716,7 +6717,7 @@ pub struct PrometheusAgentTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentTopologySpreadConstraints { /// Defines what Prometheus Operator managed labels should be added to labelSelector on the topologySpreadConstraint. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalLabelSelectors")] @@ -6844,7 +6845,7 @@ pub enum PrometheusAgentTopologySpreadConstraintsAdditionalLabelSelectors { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods /// in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6858,7 +6859,7 @@ pub struct PrometheusAgentTopologySpreadConstraintsLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6878,7 +6879,7 @@ pub struct PrometheusAgentTopologySpreadConstraintsLabelSelectorMatchExpressions /// /// This is an *experimental feature*, it may change in any upcoming release /// in a breaking way. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentTracingConfig { /// Client used to export the traces. Supported values are `http` or `grpc`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientType")] @@ -6930,7 +6931,7 @@ pub enum PrometheusAgentTracingConfigCompression { } /// TLS Config to use when sending traces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentTracingConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6959,7 +6960,7 @@ pub struct PrometheusAgentTracingConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentTracingConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -6970,7 +6971,7 @@ pub struct PrometheusAgentTracingConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentTracingConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -6989,7 +6990,7 @@ pub struct PrometheusAgentTracingConfigTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentTracingConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -7008,7 +7009,7 @@ pub struct PrometheusAgentTracingConfigTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentTracingConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -7019,7 +7020,7 @@ pub struct PrometheusAgentTracingConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentTracingConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -7038,7 +7039,7 @@ pub struct PrometheusAgentTracingConfigTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentTracingConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -7057,7 +7058,7 @@ pub struct PrometheusAgentTracingConfigTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentTracingConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -7076,7 +7077,7 @@ pub struct PrometheusAgentTracingConfigTlsConfigKeySecret { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -7131,7 +7132,7 @@ pub struct PrometheusAgentVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. @@ -7281,7 +7282,7 @@ pub struct PrometheusAgentVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -7307,7 +7308,7 @@ pub struct PrometheusAgentVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -7333,7 +7334,7 @@ pub struct PrometheusAgentVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force /// the ReadOnly setting in VolumeMounts. @@ -7348,7 +7349,7 @@ pub struct PrometheusAgentVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it @@ -7377,7 +7378,7 @@ pub struct PrometheusAgentVolumesCephfs { /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesCephfsSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -7392,7 +7393,7 @@ pub struct PrometheusAgentVolumesCephfsSecretRef { /// cinder represents a cinder volume attached and mounted on kubelets host machine. /// More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesCinder { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -7417,7 +7418,7 @@ pub struct PrometheusAgentVolumesCinder { /// secretRef is optional: points to a secret object containing parameters used to connect /// to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesCinderSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -7431,7 +7432,7 @@ pub struct PrometheusAgentVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -7466,7 +7467,7 @@ pub struct PrometheusAgentVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -7486,7 +7487,7 @@ pub struct PrometheusAgentVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesCsi { /// driver is the name of the CSI driver that handles this volume. /// Consult with your admin for the correct name as registered in the cluster. @@ -7518,7 +7519,7 @@ pub struct PrometheusAgentVolumesCsi { /// NodePublishVolume and NodeUnpublishVolume calls. /// This field is optional, and may be empty if no secret is required. If the /// secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesCsiNodePublishSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -7532,7 +7533,7 @@ pub struct PrometheusAgentVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a /// Optional: mode bits used to set permissions on created files by default. @@ -7550,7 +7551,7 @@ pub struct PrometheusAgentVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -7572,7 +7573,7 @@ pub struct PrometheusAgentVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -7584,7 +7585,7 @@ pub struct PrometheusAgentVolumesDownwardApiItemsFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -7598,7 +7599,7 @@ pub struct PrometheusAgentVolumesDownwardApiItemsResourceFieldRef { /// emptyDir represents a temporary directory that shares a pod's lifetime. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. /// The default is "" which means to use the node's default medium. @@ -7644,7 +7645,7 @@ pub struct PrometheusAgentVolumesEmptyDir { /// /// A pod can use both types of ephemeral volumes and /// persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. /// The pod in which this EphemeralVolumeSource is embedded will be the @@ -7698,7 +7699,7 @@ pub struct PrometheusAgentVolumesEphemeral { /// /// /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during @@ -7715,7 +7716,7 @@ pub struct PrometheusAgentVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during /// validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesEphemeralVolumeClaimTemplateMetadata { } @@ -7723,7 +7724,7 @@ pub struct PrometheusAgentVolumesEphemeralVolumeClaimTemplateMetadata { /// copied unchanged into the PVC that gets created from this /// template. The same fields as in a PersistentVolumeClaim /// are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -7809,7 +7810,7 @@ pub struct PrometheusAgentVolumesEphemeralVolumeClaimTemplateSpec { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -7845,7 +7846,7 @@ pub struct PrometheusAgentVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -7868,7 +7869,7 @@ pub struct PrometheusAgentVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesEphemeralVolumeClaimTemplateSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -7883,7 +7884,7 @@ pub struct PrometheusAgentVolumesEphemeralVolumeClaimTemplateSpecResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7897,7 +7898,7 @@ pub struct PrometheusAgentVolumesEphemeralVolumeClaimTemplateSpecSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7913,7 +7914,7 @@ pub struct PrometheusAgentVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchEx } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesFc { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -7939,7 +7940,7 @@ pub struct PrometheusAgentVolumesFc { /// flexVolume represents a generic volume resource that is /// provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -7969,7 +7970,7 @@ pub struct PrometheusAgentVolumesFlexVolume { /// empty if no secret object is specified. If the secret object /// contains more than one secret, all secrets are passed to the plugin /// scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesFlexVolumeSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -7983,7 +7984,7 @@ pub struct PrometheusAgentVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker /// should be considered as deprecated @@ -7997,7 +7998,7 @@ pub struct PrometheusAgentVolumesFlocker { /// gcePersistentDisk represents a GCE Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -8028,7 +8029,7 @@ pub struct PrometheusAgentVolumesGcePersistentDisk { /// DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an /// EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir /// into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesGitRepo { /// directory is the target directory name. /// Must not contain or start with '..'. If '.' is supplied, the volume directory will be the @@ -8045,7 +8046,7 @@ pub struct PrometheusAgentVolumesGitRepo { /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod @@ -8068,7 +8069,7 @@ pub struct PrometheusAgentVolumesGlusterfs { /// --- /// TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not /// mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesHostPath { /// path of the directory on the host. /// If the path is a symlink, it will follow the link to the real path. @@ -8084,7 +8085,7 @@ pub struct PrometheusAgentVolumesHostPath { /// iscsi represents an ISCSI Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -8130,7 +8131,7 @@ pub struct PrometheusAgentVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesIscsiSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -8145,7 +8146,7 @@ pub struct PrometheusAgentVolumesIscsiSecretRef { /// nfs represents an NFS mount on the host that shares a pod's lifetime /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesNfs { /// path that is exported by the NFS server. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs @@ -8163,7 +8164,7 @@ pub struct PrometheusAgentVolumesNfs { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -8176,7 +8177,7 @@ pub struct PrometheusAgentVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -8189,7 +8190,7 @@ pub struct PrometheusAgentVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesPortworxVolume { /// fSType represents the filesystem type to mount /// Must be a filesystem type supported by the host operating system. @@ -8206,7 +8207,7 @@ pub struct PrometheusAgentVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -8222,7 +8223,7 @@ pub struct PrometheusAgentVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesProjectedSources { /// ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field /// of ClusterTrustBundle objects in an auto-updating file. @@ -8272,7 +8273,7 @@ pub struct PrometheusAgentVolumesProjectedSources { /// comments and block headers are stripped. Certificates are deduplicated. /// The ordering of certificates within the file is arbitrary, and Kubelet /// may change the order over time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesProjectedSourcesClusterTrustBundle { /// Select all ClusterTrustBundles that match this label selector. Only has /// effect if signerName is set. Mutually-exclusive with name. If unset, @@ -8304,7 +8305,7 @@ pub struct PrometheusAgentVolumesProjectedSourcesClusterTrustBundle { /// effect if signerName is set. Mutually-exclusive with name. If unset, /// interpreted as "match nothing". If set but empty, interpreted as "match /// everything". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesProjectedSourcesClusterTrustBundleLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -8318,7 +8319,7 @@ pub struct PrometheusAgentVolumesProjectedSourcesClusterTrustBundleLabelSelector /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesProjectedSourcesClusterTrustBundleLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -8334,7 +8335,7 @@ pub struct PrometheusAgentVolumesProjectedSourcesClusterTrustBundleLabelSelector } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced /// ConfigMap will be projected into the volume as a file whose name is the @@ -8360,7 +8361,7 @@ pub struct PrometheusAgentVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -8380,7 +8381,7 @@ pub struct PrometheusAgentVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8388,7 +8389,7 @@ pub struct PrometheusAgentVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -8410,7 +8411,7 @@ pub struct PrometheusAgentVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -8422,7 +8423,7 @@ pub struct PrometheusAgentVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -8435,7 +8436,7 @@ pub struct PrometheusAgentVolumesProjectedSourcesDownwardApiItemsResourceFieldRe } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced /// Secret will be projected into the volume as a file whose name is the @@ -8461,7 +8462,7 @@ pub struct PrometheusAgentVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -8481,7 +8482,7 @@ pub struct PrometheusAgentVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token /// must identify itself with an identifier specified in the audience of the @@ -8503,7 +8504,7 @@ pub struct PrometheusAgentVolumesProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesQuobyte { /// group to map volume access to /// Default is no group @@ -8531,7 +8532,7 @@ pub struct PrometheusAgentVolumesQuobyte { /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -8578,7 +8579,7 @@ pub struct PrometheusAgentVolumesRbd { /// overrides keyring. /// Default is nil. /// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesRbdSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -8592,7 +8593,7 @@ pub struct PrometheusAgentVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesScaleIo { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -8633,7 +8634,7 @@ pub struct PrometheusAgentVolumesScaleIo { /// secretRef references to the secret for ScaleIO user and other /// sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesScaleIoSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -8648,7 +8649,7 @@ pub struct PrometheusAgentVolumesScaleIoSecretRef { /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -8678,7 +8679,7 @@ pub struct PrometheusAgentVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesSecretItems { /// key is the key to project. pub key: String, @@ -8698,7 +8699,7 @@ pub struct PrometheusAgentVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesStorageos { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -8729,7 +8730,7 @@ pub struct PrometheusAgentVolumesStorageos { /// secretRef specifies the secret to use for obtaining the StorageOS API /// credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesStorageosSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -8743,7 +8744,7 @@ pub struct PrometheusAgentVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentVolumesVsphereVolume { /// fsType is filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -8762,7 +8763,7 @@ pub struct PrometheusAgentVolumesVsphereVolume { } /// Defines the configuration of the Prometheus web server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentWeb { /// Defines HTTP parameters for web server. #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpConfig")] @@ -8780,7 +8781,7 @@ pub struct PrometheusAgentWeb { } /// Defines HTTP parameters for web server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentWebHttpConfig { /// List of headers that can be added to HTTP responses. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8793,7 +8794,7 @@ pub struct PrometheusAgentWebHttpConfig { } /// List of headers that can be added to HTTP responses. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentWebHttpConfigHeaders { /// Set the Content-Security-Policy header to HTTP responses. /// Unset if blank. @@ -8842,7 +8843,7 @@ pub enum PrometheusAgentWebHttpConfigHeadersXFrameOptions { } /// Defines the TLS parameters for HTTPS. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentWebTlsConfig { /// Contains the TLS certificate for the server. pub cert: PrometheusAgentWebTlsConfigCert, @@ -8882,7 +8883,7 @@ pub struct PrometheusAgentWebTlsConfig { } /// Contains the TLS certificate for the server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentWebTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -8893,7 +8894,7 @@ pub struct PrometheusAgentWebTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentWebTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -8912,7 +8913,7 @@ pub struct PrometheusAgentWebTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentWebTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -8931,7 +8932,7 @@ pub struct PrometheusAgentWebTlsConfigCertSecret { } /// Contains the CA certificate for client certificate authentication to the server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentWebTlsConfigClientCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -8942,7 +8943,7 @@ pub struct PrometheusAgentWebTlsConfigClientCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentWebTlsConfigClientCaConfigMap { /// The key to select. pub key: String, @@ -8961,7 +8962,7 @@ pub struct PrometheusAgentWebTlsConfigClientCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentWebTlsConfigClientCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -8980,7 +8981,7 @@ pub struct PrometheusAgentWebTlsConfigClientCaSecret { } /// Secret containing the TLS key for the server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentWebTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -9001,7 +9002,7 @@ pub struct PrometheusAgentWebTlsConfigKeySecret { /// Most recent observed status of the Prometheus cluster. Read-only. /// More info: /// https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentStatus { /// Total number of available pods (ready for at least minReadySeconds) /// targeted by this Prometheus deployment. @@ -9034,7 +9035,7 @@ pub struct PrometheusAgentStatus { pub updated_replicas: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PrometheusAgentStatusShardStatuses { /// Total number of available pods (ready for at least minReadySeconds) /// targeted by this shard. diff --git a/kube-custom-resources-rs/src/monitoring_coreos_com/v1alpha1/scrapeconfigs.rs b/kube-custom-resources-rs/src/monitoring_coreos_com/v1alpha1/scrapeconfigs.rs index 3ad3fa0a0..231f1c65c 100644 --- a/kube-custom-resources-rs/src/monitoring_coreos_com/v1alpha1/scrapeconfigs.rs +++ b/kube-custom-resources-rs/src/monitoring_coreos_com/v1alpha1/scrapeconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/scrapeconfigs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1alpha1/scrapeconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { use self::prelude::*; /// ScrapeConfigSpec is a specification of the desired configuration for a scrape configuration. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "monitoring.coreos.com", version = "v1alpha1", kind = "ScrapeConfig", plural = "scrapeconfigs")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ScrapeConfigSpec { /// NomadSDConfigs defines a list of Nomad service discovery configurations. @@ -198,7 +199,7 @@ pub struct ScrapeConfigSpec { /// NomadSDConfig configurations allow retrieving scrape targets from Nomad's Service API. /// See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#nomad_sd_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigNomadSdConfigs { /// The information to access the Nomad API. It is to be defined /// as the Nomad documentation requires. @@ -266,7 +267,7 @@ pub struct ScrapeConfigNomadSdConfigs { } /// Authorization header to use on every scrape request. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigNomadSdConfigsAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -283,7 +284,7 @@ pub struct ScrapeConfigNomadSdConfigsAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigNomadSdConfigsAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -302,7 +303,7 @@ pub struct ScrapeConfigNomadSdConfigsAuthorizationCredentials { } /// BasicAuth information to use on every scrape request. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigNomadSdConfigsBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -316,7 +317,7 @@ pub struct ScrapeConfigNomadSdConfigsBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigNomadSdConfigsBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -336,7 +337,7 @@ pub struct ScrapeConfigNomadSdConfigsBasicAuthPassword { /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigNomadSdConfigsBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -356,7 +357,7 @@ pub struct ScrapeConfigNomadSdConfigsBasicAuthUsername { /// Optional OAuth 2.0 configuration. /// Cannot be set at the same time as `authorization` or `basic_auth`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigNomadSdConfigsOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -380,7 +381,7 @@ pub struct ScrapeConfigNomadSdConfigsOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigNomadSdConfigsOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -391,7 +392,7 @@ pub struct ScrapeConfigNomadSdConfigsOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigNomadSdConfigsOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -410,7 +411,7 @@ pub struct ScrapeConfigNomadSdConfigsOauth2ClientIdConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigNomadSdConfigsOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -430,7 +431,7 @@ pub struct ScrapeConfigNomadSdConfigsOauth2ClientIdSecret { /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigNomadSdConfigsOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -449,7 +450,7 @@ pub struct ScrapeConfigNomadSdConfigsOauth2ClientSecret { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigNomadSdConfigsProxyConnectHeader { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -468,7 +469,7 @@ pub struct ScrapeConfigNomadSdConfigsProxyConnectHeader { } /// TLS configuration applying to the target HTTP endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigNomadSdConfigsTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -488,7 +489,7 @@ pub struct ScrapeConfigNomadSdConfigsTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigNomadSdConfigsTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -499,7 +500,7 @@ pub struct ScrapeConfigNomadSdConfigsTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigNomadSdConfigsTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -518,7 +519,7 @@ pub struct ScrapeConfigNomadSdConfigsTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigNomadSdConfigsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -537,7 +538,7 @@ pub struct ScrapeConfigNomadSdConfigsTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigNomadSdConfigsTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -548,7 +549,7 @@ pub struct ScrapeConfigNomadSdConfigsTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigNomadSdConfigsTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -567,7 +568,7 @@ pub struct ScrapeConfigNomadSdConfigsTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigNomadSdConfigsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -586,7 +587,7 @@ pub struct ScrapeConfigNomadSdConfigsTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigNomadSdConfigsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -605,7 +606,7 @@ pub struct ScrapeConfigNomadSdConfigsTlsConfigKeySecret { } /// Authorization header to use on every scrape request. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -622,7 +623,7 @@ pub struct ScrapeConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -642,7 +643,7 @@ pub struct ScrapeConfigAuthorizationCredentials { /// AzureSDConfig allow retrieving scrape targets from Azure VMs. /// See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#azure_sd_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigAzureSdConfigs { /// # The authentication method, either `OAuth` or `ManagedIdentity` or `SDK`. /// See https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview @@ -688,7 +689,7 @@ pub enum ScrapeConfigAzureSdConfigsAuthenticationMethod { } /// Optional client secret. Only required with the OAuth authentication method. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigAzureSdConfigsClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -707,7 +708,7 @@ pub struct ScrapeConfigAzureSdConfigsClientSecret { } /// BasicAuth information to use on every scrape request. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -721,7 +722,7 @@ pub struct ScrapeConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -741,7 +742,7 @@ pub struct ScrapeConfigBasicAuthPassword { /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -761,7 +762,7 @@ pub struct ScrapeConfigBasicAuthUsername { /// ConsulSDConfig defines a Consul service discovery configuration /// See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#consul_sd_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigConsulSdConfigs { /// Allow stale Consul results (see https://www.consul.io/api/features/consistency.html). Will reduce load on Consul. /// If unset, Prometheus uses its default value. @@ -854,7 +855,7 @@ pub struct ScrapeConfigConsulSdConfigs { } /// Authorization header configuration to authenticate against the Consul Server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigConsulSdConfigsAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -871,7 +872,7 @@ pub struct ScrapeConfigConsulSdConfigsAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigConsulSdConfigsAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -891,7 +892,7 @@ pub struct ScrapeConfigConsulSdConfigsAuthorizationCredentials { /// BasicAuth information to authenticate against the Consul Server. /// More info: https://prometheus.io/docs/operating/configuration/#endpoints -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigConsulSdConfigsBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -905,7 +906,7 @@ pub struct ScrapeConfigConsulSdConfigsBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigConsulSdConfigsBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -925,7 +926,7 @@ pub struct ScrapeConfigConsulSdConfigsBasicAuthPassword { /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigConsulSdConfigsBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -944,7 +945,7 @@ pub struct ScrapeConfigConsulSdConfigsBasicAuthUsername { } /// Optional OAuth 2.0 configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigConsulSdConfigsOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -968,7 +969,7 @@ pub struct ScrapeConfigConsulSdConfigsOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigConsulSdConfigsOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -979,7 +980,7 @@ pub struct ScrapeConfigConsulSdConfigsOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigConsulSdConfigsOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -998,7 +999,7 @@ pub struct ScrapeConfigConsulSdConfigsOauth2ClientIdConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigConsulSdConfigsOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1018,7 +1019,7 @@ pub struct ScrapeConfigConsulSdConfigsOauth2ClientIdSecret { /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigConsulSdConfigsOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1037,7 +1038,7 @@ pub struct ScrapeConfigConsulSdConfigsOauth2ClientSecret { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigConsulSdConfigsProxyConnectHeader { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1066,7 +1067,7 @@ pub enum ScrapeConfigConsulSdConfigsScheme { } /// TLS Config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigConsulSdConfigsTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1086,7 +1087,7 @@ pub struct ScrapeConfigConsulSdConfigsTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigConsulSdConfigsTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1097,7 +1098,7 @@ pub struct ScrapeConfigConsulSdConfigsTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigConsulSdConfigsTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -1116,7 +1117,7 @@ pub struct ScrapeConfigConsulSdConfigsTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigConsulSdConfigsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1135,7 +1136,7 @@ pub struct ScrapeConfigConsulSdConfigsTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigConsulSdConfigsTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1146,7 +1147,7 @@ pub struct ScrapeConfigConsulSdConfigsTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigConsulSdConfigsTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -1165,7 +1166,7 @@ pub struct ScrapeConfigConsulSdConfigsTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigConsulSdConfigsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1184,7 +1185,7 @@ pub struct ScrapeConfigConsulSdConfigsTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigConsulSdConfigsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1203,7 +1204,7 @@ pub struct ScrapeConfigConsulSdConfigsTlsConfigKeySecret { } /// Consul ACL TokenRef, if not provided it will use the ACL from the local Consul Agent. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigConsulSdConfigsTokenRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1224,7 +1225,7 @@ pub struct ScrapeConfigConsulSdConfigsTokenRef { /// DigitalOceanSDConfig allow retrieving scrape targets from DigitalOcean's Droplets API. /// This service discovery uses the public IPv4 address by default, by that can be changed with relabeling /// See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#digitalocean_sd_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDigitalOceanSdConfigs { /// Authorization header configuration to authenticate against the DigitalOcean API. /// Cannot be set at the same time as `oauth2`. @@ -1281,7 +1282,7 @@ pub struct ScrapeConfigDigitalOceanSdConfigs { /// Authorization header configuration to authenticate against the DigitalOcean API. /// Cannot be set at the same time as `oauth2`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDigitalOceanSdConfigsAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1298,7 +1299,7 @@ pub struct ScrapeConfigDigitalOceanSdConfigsAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDigitalOceanSdConfigsAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1318,7 +1319,7 @@ pub struct ScrapeConfigDigitalOceanSdConfigsAuthorizationCredentials { /// Optional OAuth 2.0 configuration. /// Cannot be set at the same time as `authorization`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDigitalOceanSdConfigsOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -1342,7 +1343,7 @@ pub struct ScrapeConfigDigitalOceanSdConfigsOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDigitalOceanSdConfigsOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1353,7 +1354,7 @@ pub struct ScrapeConfigDigitalOceanSdConfigsOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDigitalOceanSdConfigsOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -1372,7 +1373,7 @@ pub struct ScrapeConfigDigitalOceanSdConfigsOauth2ClientIdConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDigitalOceanSdConfigsOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1392,7 +1393,7 @@ pub struct ScrapeConfigDigitalOceanSdConfigsOauth2ClientIdSecret { /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDigitalOceanSdConfigsOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1411,7 +1412,7 @@ pub struct ScrapeConfigDigitalOceanSdConfigsOauth2ClientSecret { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDigitalOceanSdConfigsProxyConnectHeader { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1430,7 +1431,7 @@ pub struct ScrapeConfigDigitalOceanSdConfigsProxyConnectHeader { } /// TLS configuration applying to the target HTTP endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDigitalOceanSdConfigsTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1450,7 +1451,7 @@ pub struct ScrapeConfigDigitalOceanSdConfigsTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDigitalOceanSdConfigsTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1461,7 +1462,7 @@ pub struct ScrapeConfigDigitalOceanSdConfigsTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDigitalOceanSdConfigsTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -1480,7 +1481,7 @@ pub struct ScrapeConfigDigitalOceanSdConfigsTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDigitalOceanSdConfigsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1499,7 +1500,7 @@ pub struct ScrapeConfigDigitalOceanSdConfigsTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDigitalOceanSdConfigsTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1510,7 +1511,7 @@ pub struct ScrapeConfigDigitalOceanSdConfigsTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDigitalOceanSdConfigsTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -1529,7 +1530,7 @@ pub struct ScrapeConfigDigitalOceanSdConfigsTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDigitalOceanSdConfigsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1548,7 +1549,7 @@ pub struct ScrapeConfigDigitalOceanSdConfigsTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDigitalOceanSdConfigsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1569,7 +1570,7 @@ pub struct ScrapeConfigDigitalOceanSdConfigsTlsConfigKeySecret { /// DNSSDConfig allows specifying a set of DNS domain names which are periodically queried to discover a list of targets. /// The DNS servers to be contacted are read from /etc/resolv.conf. /// See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#dns_sd_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDnsSdConfigs { /// A list of DNS domain names to be queried. pub names: Vec, @@ -1610,7 +1611,7 @@ pub enum ScrapeConfigDnsSdConfigsType { /// This SD discovers "containers" and will create a target for each network IP and /// port the container is configured to expose. /// See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#docker_sd_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDockerSdConfigs { /// Authorization header configuration to authenticate against the Docker API. /// Cannot be set at the same time as `oauth2`. @@ -1678,7 +1679,7 @@ pub struct ScrapeConfigDockerSdConfigs { /// Authorization header configuration to authenticate against the Docker API. /// Cannot be set at the same time as `oauth2`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDockerSdConfigsAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1695,7 +1696,7 @@ pub struct ScrapeConfigDockerSdConfigsAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDockerSdConfigsAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1714,7 +1715,7 @@ pub struct ScrapeConfigDockerSdConfigsAuthorizationCredentials { } /// BasicAuth information to use on every scrape request. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDockerSdConfigsBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -1728,7 +1729,7 @@ pub struct ScrapeConfigDockerSdConfigsBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDockerSdConfigsBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1748,7 +1749,7 @@ pub struct ScrapeConfigDockerSdConfigsBasicAuthPassword { /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDockerSdConfigsBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1767,7 +1768,7 @@ pub struct ScrapeConfigDockerSdConfigsBasicAuthUsername { } /// DockerFilter is the configuration to limit the discovery process to a subset of available resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDockerSdConfigsFilters { pub name: String, pub values: Vec, @@ -1775,7 +1776,7 @@ pub struct ScrapeConfigDockerSdConfigsFilters { /// Optional OAuth 2.0 configuration. /// Cannot be set at the same time as `authorization`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDockerSdConfigsOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -1799,7 +1800,7 @@ pub struct ScrapeConfigDockerSdConfigsOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDockerSdConfigsOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1810,7 +1811,7 @@ pub struct ScrapeConfigDockerSdConfigsOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDockerSdConfigsOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -1829,7 +1830,7 @@ pub struct ScrapeConfigDockerSdConfigsOauth2ClientIdConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDockerSdConfigsOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1849,7 +1850,7 @@ pub struct ScrapeConfigDockerSdConfigsOauth2ClientIdSecret { /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDockerSdConfigsOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1868,7 +1869,7 @@ pub struct ScrapeConfigDockerSdConfigsOauth2ClientSecret { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDockerSdConfigsProxyConnectHeader { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1887,7 +1888,7 @@ pub struct ScrapeConfigDockerSdConfigsProxyConnectHeader { } /// TLS configuration applying to the target HTTP endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDockerSdConfigsTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1907,7 +1908,7 @@ pub struct ScrapeConfigDockerSdConfigsTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDockerSdConfigsTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1918,7 +1919,7 @@ pub struct ScrapeConfigDockerSdConfigsTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDockerSdConfigsTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -1937,7 +1938,7 @@ pub struct ScrapeConfigDockerSdConfigsTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDockerSdConfigsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1956,7 +1957,7 @@ pub struct ScrapeConfigDockerSdConfigsTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDockerSdConfigsTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1967,7 +1968,7 @@ pub struct ScrapeConfigDockerSdConfigsTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDockerSdConfigsTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -1986,7 +1987,7 @@ pub struct ScrapeConfigDockerSdConfigsTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDockerSdConfigsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2005,7 +2006,7 @@ pub struct ScrapeConfigDockerSdConfigsTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigDockerSdConfigsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2027,7 +2028,7 @@ pub struct ScrapeConfigDockerSdConfigsTlsConfigKeySecret { /// The private IP address is used by default, but may be changed to the public IP address with relabeling. /// The IAM credentials used must have the ec2:DescribeInstances permission to discover scrape targets /// See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#ec2_sd_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigEc2SdConfigs { /// AccessKey is the AWS API key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessKey")] @@ -2057,7 +2058,7 @@ pub struct ScrapeConfigEc2SdConfigs { } /// AccessKey is the AWS API key. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigEc2SdConfigsAccessKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2076,14 +2077,14 @@ pub struct ScrapeConfigEc2SdConfigsAccessKey { } /// EC2Filter is the configuration for filtering EC2 instances. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigEc2SdConfigsFilters { pub name: String, pub values: Vec, } /// SecretKey is the AWS API secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigEc2SdConfigsSecretKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2104,7 +2105,7 @@ pub struct ScrapeConfigEc2SdConfigsSecretKey { /// Eureka SD configurations allow retrieving scrape targets using the Eureka REST API. /// Prometheus will periodically check the REST endpoint and create a target for every app instance. /// See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#eureka_sd_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigEurekaSdConfigs { /// Authorization header to use on every scrape request. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2161,7 +2162,7 @@ pub struct ScrapeConfigEurekaSdConfigs { } /// Authorization header to use on every scrape request. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigEurekaSdConfigsAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2178,7 +2179,7 @@ pub struct ScrapeConfigEurekaSdConfigsAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigEurekaSdConfigsAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2197,7 +2198,7 @@ pub struct ScrapeConfigEurekaSdConfigsAuthorizationCredentials { } /// BasicAuth information to use on every scrape request. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigEurekaSdConfigsBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -2211,7 +2212,7 @@ pub struct ScrapeConfigEurekaSdConfigsBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigEurekaSdConfigsBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2231,7 +2232,7 @@ pub struct ScrapeConfigEurekaSdConfigsBasicAuthPassword { /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigEurekaSdConfigsBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2251,7 +2252,7 @@ pub struct ScrapeConfigEurekaSdConfigsBasicAuthUsername { /// Optional OAuth 2.0 configuration. /// Cannot be set at the same time as `authorization` or `basic_auth`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigEurekaSdConfigsOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -2275,7 +2276,7 @@ pub struct ScrapeConfigEurekaSdConfigsOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigEurekaSdConfigsOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2286,7 +2287,7 @@ pub struct ScrapeConfigEurekaSdConfigsOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigEurekaSdConfigsOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -2305,7 +2306,7 @@ pub struct ScrapeConfigEurekaSdConfigsOauth2ClientIdConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigEurekaSdConfigsOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2325,7 +2326,7 @@ pub struct ScrapeConfigEurekaSdConfigsOauth2ClientIdSecret { /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigEurekaSdConfigsOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2344,7 +2345,7 @@ pub struct ScrapeConfigEurekaSdConfigsOauth2ClientSecret { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigEurekaSdConfigsProxyConnectHeader { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2363,7 +2364,7 @@ pub struct ScrapeConfigEurekaSdConfigsProxyConnectHeader { } /// TLS configuration applying to the target HTTP endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigEurekaSdConfigsTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2383,7 +2384,7 @@ pub struct ScrapeConfigEurekaSdConfigsTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigEurekaSdConfigsTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2394,7 +2395,7 @@ pub struct ScrapeConfigEurekaSdConfigsTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigEurekaSdConfigsTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -2413,7 +2414,7 @@ pub struct ScrapeConfigEurekaSdConfigsTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigEurekaSdConfigsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2432,7 +2433,7 @@ pub struct ScrapeConfigEurekaSdConfigsTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigEurekaSdConfigsTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2443,7 +2444,7 @@ pub struct ScrapeConfigEurekaSdConfigsTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigEurekaSdConfigsTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -2462,7 +2463,7 @@ pub struct ScrapeConfigEurekaSdConfigsTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigEurekaSdConfigsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2481,7 +2482,7 @@ pub struct ScrapeConfigEurekaSdConfigsTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigEurekaSdConfigsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2501,7 +2502,7 @@ pub struct ScrapeConfigEurekaSdConfigsTlsConfigKeySecret { /// FileSDConfig defines a Prometheus file service discovery configuration /// See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#file_sd_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigFileSdConfigs { /// List of files to be used for file discovery. Recommendation: use absolute paths. While relative paths work, the /// prometheus-operator project makes no guarantees about the working directory where the configuration file is @@ -2528,7 +2529,7 @@ pub struct ScrapeConfigFileSdConfigs { /// Google Cloud credentials is mounted into the Prometheus or PrometheusAgent /// pod via the `.spec.secrets` field and that the GOOGLE_APPLICATION_CREDENTIALS /// environment variable is set to /etc/prometheus/secrets//. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigGceSdConfigs { /// Filter can be used optionally to filter the instance list by other criteria /// Syntax of this filter is described in the filter query parameter section: @@ -2617,7 +2618,7 @@ pub struct ScrapeConfigHetznerSdConfigs { /// Authorization header configuration, required when role is hcloud. /// Role robot does not support bearer token authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHetznerSdConfigsAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2634,7 +2635,7 @@ pub struct ScrapeConfigHetznerSdConfigsAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHetznerSdConfigsAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2654,7 +2655,7 @@ pub struct ScrapeConfigHetznerSdConfigsAuthorizationCredentials { /// BasicAuth information to use on every scrape request, required when role is robot. /// Role hcloud does not support basic auth. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHetznerSdConfigsBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -2668,7 +2669,7 @@ pub struct ScrapeConfigHetznerSdConfigsBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHetznerSdConfigsBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2688,7 +2689,7 @@ pub struct ScrapeConfigHetznerSdConfigsBasicAuthPassword { /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHetznerSdConfigsBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2708,7 +2709,7 @@ pub struct ScrapeConfigHetznerSdConfigsBasicAuthUsername { /// Optional OAuth 2.0 configuration. /// Cannot be used at the same time as `basic_auth` or `authorization`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHetznerSdConfigsOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -2732,7 +2733,7 @@ pub struct ScrapeConfigHetznerSdConfigsOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHetznerSdConfigsOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2743,7 +2744,7 @@ pub struct ScrapeConfigHetznerSdConfigsOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHetznerSdConfigsOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -2762,7 +2763,7 @@ pub struct ScrapeConfigHetznerSdConfigsOauth2ClientIdConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHetznerSdConfigsOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2782,7 +2783,7 @@ pub struct ScrapeConfigHetznerSdConfigsOauth2ClientIdSecret { /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHetznerSdConfigsOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2801,7 +2802,7 @@ pub struct ScrapeConfigHetznerSdConfigsOauth2ClientSecret { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHetznerSdConfigsProxyConnectHeader { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2835,7 +2836,7 @@ pub enum ScrapeConfigHetznerSdConfigsRole { } /// TLS configuration to use on every scrape request. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHetznerSdConfigsTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2855,7 +2856,7 @@ pub struct ScrapeConfigHetznerSdConfigsTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHetznerSdConfigsTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2866,7 +2867,7 @@ pub struct ScrapeConfigHetznerSdConfigsTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHetznerSdConfigsTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -2885,7 +2886,7 @@ pub struct ScrapeConfigHetznerSdConfigsTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHetznerSdConfigsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2904,7 +2905,7 @@ pub struct ScrapeConfigHetznerSdConfigsTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHetznerSdConfigsTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2915,7 +2916,7 @@ pub struct ScrapeConfigHetznerSdConfigsTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHetznerSdConfigsTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -2934,7 +2935,7 @@ pub struct ScrapeConfigHetznerSdConfigsTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHetznerSdConfigsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2953,7 +2954,7 @@ pub struct ScrapeConfigHetznerSdConfigsTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHetznerSdConfigsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2973,7 +2974,7 @@ pub struct ScrapeConfigHetznerSdConfigsTlsConfigKeySecret { /// HTTPSDConfig defines a prometheus HTTP service discovery configuration /// See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#http_sd_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHttpSdConfigs { /// Authorization header configuration to authenticate against the target HTTP endpoint. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3022,7 +3023,7 @@ pub struct ScrapeConfigHttpSdConfigs { } /// Authorization header configuration to authenticate against the target HTTP endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHttpSdConfigsAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3039,7 +3040,7 @@ pub struct ScrapeConfigHttpSdConfigsAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHttpSdConfigsAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3059,7 +3060,7 @@ pub struct ScrapeConfigHttpSdConfigsAuthorizationCredentials { /// BasicAuth information to authenticate against the target HTTP endpoint. /// More info: https://prometheus.io/docs/operating/configuration/#endpoints -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHttpSdConfigsBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -3073,7 +3074,7 @@ pub struct ScrapeConfigHttpSdConfigsBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHttpSdConfigsBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3093,7 +3094,7 @@ pub struct ScrapeConfigHttpSdConfigsBasicAuthPassword { /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHttpSdConfigsBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3112,7 +3113,7 @@ pub struct ScrapeConfigHttpSdConfigsBasicAuthUsername { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHttpSdConfigsProxyConnectHeader { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3131,7 +3132,7 @@ pub struct ScrapeConfigHttpSdConfigsProxyConnectHeader { } /// TLS configuration applying to the target HTTP endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHttpSdConfigsTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3151,7 +3152,7 @@ pub struct ScrapeConfigHttpSdConfigsTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHttpSdConfigsTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3162,7 +3163,7 @@ pub struct ScrapeConfigHttpSdConfigsTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHttpSdConfigsTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -3181,7 +3182,7 @@ pub struct ScrapeConfigHttpSdConfigsTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHttpSdConfigsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3200,7 +3201,7 @@ pub struct ScrapeConfigHttpSdConfigsTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHttpSdConfigsTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3211,7 +3212,7 @@ pub struct ScrapeConfigHttpSdConfigsTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHttpSdConfigsTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -3230,7 +3231,7 @@ pub struct ScrapeConfigHttpSdConfigsTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHttpSdConfigsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3249,7 +3250,7 @@ pub struct ScrapeConfigHttpSdConfigsTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigHttpSdConfigsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3345,7 +3346,7 @@ pub struct ScrapeConfigKubernetesSdConfigs { /// Optional metadata to attach to discovered targets. /// It requires Prometheus >= v2.35.0 for `pod` role and /// Prometheus >= v2.37.0 for `endpoints` and `endpointslice` roles. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKubernetesSdConfigsAttachMetadata { /// Attaches node metadata to discovered targets. /// When set to true, Prometheus must have the `get` permission on the @@ -3357,7 +3358,7 @@ pub struct ScrapeConfigKubernetesSdConfigsAttachMetadata { /// Authorization header to use on every scrape request. /// Cannot be set at the same time as `basicAuth`, or `oauth2`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKubernetesSdConfigsAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3374,7 +3375,7 @@ pub struct ScrapeConfigKubernetesSdConfigsAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKubernetesSdConfigsAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3394,7 +3395,7 @@ pub struct ScrapeConfigKubernetesSdConfigsAuthorizationCredentials { /// BasicAuth information to use on every scrape request. /// Cannot be set at the same time as `authorization`, or `oauth2`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKubernetesSdConfigsBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -3408,7 +3409,7 @@ pub struct ScrapeConfigKubernetesSdConfigsBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKubernetesSdConfigsBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3428,7 +3429,7 @@ pub struct ScrapeConfigKubernetesSdConfigsBasicAuthPassword { /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKubernetesSdConfigsBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3447,7 +3448,7 @@ pub struct ScrapeConfigKubernetesSdConfigsBasicAuthUsername { } /// Optional namespace discovery. If omitted, Prometheus discovers targets across all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKubernetesSdConfigsNamespaces { /// List of namespaces where to watch for resources. /// If empty and `ownNamespace` isn't true, Prometheus watches for resources in all namespaces. @@ -3460,7 +3461,7 @@ pub struct ScrapeConfigKubernetesSdConfigsNamespaces { /// Optional OAuth 2.0 configuration. /// Cannot be set at the same time as `authorization`, or `basicAuth`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKubernetesSdConfigsOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -3484,7 +3485,7 @@ pub struct ScrapeConfigKubernetesSdConfigsOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKubernetesSdConfigsOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3495,7 +3496,7 @@ pub struct ScrapeConfigKubernetesSdConfigsOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKubernetesSdConfigsOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -3514,7 +3515,7 @@ pub struct ScrapeConfigKubernetesSdConfigsOauth2ClientIdConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKubernetesSdConfigsOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3534,7 +3535,7 @@ pub struct ScrapeConfigKubernetesSdConfigsOauth2ClientIdSecret { /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKubernetesSdConfigsOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3553,7 +3554,7 @@ pub struct ScrapeConfigKubernetesSdConfigsOauth2ClientSecret { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKubernetesSdConfigsProxyConnectHeader { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3630,7 +3631,7 @@ pub enum ScrapeConfigKubernetesSdConfigsSelectorsRole { } /// TLS configuration to use on every scrape request. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKubernetesSdConfigsTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3650,7 +3651,7 @@ pub struct ScrapeConfigKubernetesSdConfigsTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKubernetesSdConfigsTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3661,7 +3662,7 @@ pub struct ScrapeConfigKubernetesSdConfigsTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKubernetesSdConfigsTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -3680,7 +3681,7 @@ pub struct ScrapeConfigKubernetesSdConfigsTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKubernetesSdConfigsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3699,7 +3700,7 @@ pub struct ScrapeConfigKubernetesSdConfigsTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKubernetesSdConfigsTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3710,7 +3711,7 @@ pub struct ScrapeConfigKubernetesSdConfigsTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKubernetesSdConfigsTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -3729,7 +3730,7 @@ pub struct ScrapeConfigKubernetesSdConfigsTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKubernetesSdConfigsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3748,7 +3749,7 @@ pub struct ScrapeConfigKubernetesSdConfigsTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKubernetesSdConfigsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3768,7 +3769,7 @@ pub struct ScrapeConfigKubernetesSdConfigsTlsConfigKeySecret { /// KumaSDConfig allow retrieving scrape targets from Kuma's control plane. /// See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#kuma_sd_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKumaSdConfigs { /// Authorization header to use on every scrape request. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3831,7 +3832,7 @@ pub struct ScrapeConfigKumaSdConfigs { } /// Authorization header to use on every scrape request. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKumaSdConfigsAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3848,7 +3849,7 @@ pub struct ScrapeConfigKumaSdConfigsAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKumaSdConfigsAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3867,7 +3868,7 @@ pub struct ScrapeConfigKumaSdConfigsAuthorizationCredentials { } /// BasicAuth information to use on every scrape request. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKumaSdConfigsBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -3881,7 +3882,7 @@ pub struct ScrapeConfigKumaSdConfigsBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKumaSdConfigsBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3901,7 +3902,7 @@ pub struct ScrapeConfigKumaSdConfigsBasicAuthPassword { /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKumaSdConfigsBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3921,7 +3922,7 @@ pub struct ScrapeConfigKumaSdConfigsBasicAuthUsername { /// Optional OAuth 2.0 configuration. /// Cannot be set at the same time as `authorization`, or `basicAuth`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKumaSdConfigsOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -3945,7 +3946,7 @@ pub struct ScrapeConfigKumaSdConfigsOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKumaSdConfigsOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3956,7 +3957,7 @@ pub struct ScrapeConfigKumaSdConfigsOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKumaSdConfigsOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -3975,7 +3976,7 @@ pub struct ScrapeConfigKumaSdConfigsOauth2ClientIdConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKumaSdConfigsOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3995,7 +3996,7 @@ pub struct ScrapeConfigKumaSdConfigsOauth2ClientIdSecret { /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKumaSdConfigsOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4014,7 +4015,7 @@ pub struct ScrapeConfigKumaSdConfigsOauth2ClientSecret { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKumaSdConfigsProxyConnectHeader { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4033,7 +4034,7 @@ pub struct ScrapeConfigKumaSdConfigsProxyConnectHeader { } /// TLS configuration to use on every scrape request -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKumaSdConfigsTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4053,7 +4054,7 @@ pub struct ScrapeConfigKumaSdConfigsTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKumaSdConfigsTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4064,7 +4065,7 @@ pub struct ScrapeConfigKumaSdConfigsTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKumaSdConfigsTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -4083,7 +4084,7 @@ pub struct ScrapeConfigKumaSdConfigsTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKumaSdConfigsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4102,7 +4103,7 @@ pub struct ScrapeConfigKumaSdConfigsTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKumaSdConfigsTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4113,7 +4114,7 @@ pub struct ScrapeConfigKumaSdConfigsTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKumaSdConfigsTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -4132,7 +4133,7 @@ pub struct ScrapeConfigKumaSdConfigsTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKumaSdConfigsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4151,7 +4152,7 @@ pub struct ScrapeConfigKumaSdConfigsTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigKumaSdConfigsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4174,7 +4175,7 @@ pub struct ScrapeConfigKumaSdConfigsTlsConfigKeySecret { /// /// /// More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigMetricRelabelings { /// Action to perform based on the regex matching. /// @@ -4344,7 +4345,7 @@ pub struct ScrapeConfigOpenstackSdConfigs { /// The applicationCredentialSecret field is required if using an application /// credential to authenticate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigOpenstackSdConfigsApplicationCredentialSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4379,7 +4380,7 @@ pub enum ScrapeConfigOpenstackSdConfigsAvailability { /// Password for the Identity V2 and V3 APIs. Consult with your provider's /// control panel to discover your account's preferred method of authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigOpenstackSdConfigsPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4410,7 +4411,7 @@ pub enum ScrapeConfigOpenstackSdConfigsRole { } /// TLS configuration applying to the target HTTP endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigOpenstackSdConfigsTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4430,7 +4431,7 @@ pub struct ScrapeConfigOpenstackSdConfigsTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigOpenstackSdConfigsTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4441,7 +4442,7 @@ pub struct ScrapeConfigOpenstackSdConfigsTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigOpenstackSdConfigsTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -4460,7 +4461,7 @@ pub struct ScrapeConfigOpenstackSdConfigsTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigOpenstackSdConfigsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4479,7 +4480,7 @@ pub struct ScrapeConfigOpenstackSdConfigsTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigOpenstackSdConfigsTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4490,7 +4491,7 @@ pub struct ScrapeConfigOpenstackSdConfigsTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigOpenstackSdConfigsTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -4509,7 +4510,7 @@ pub struct ScrapeConfigOpenstackSdConfigsTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigOpenstackSdConfigsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4528,7 +4529,7 @@ pub struct ScrapeConfigOpenstackSdConfigsTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigOpenstackSdConfigsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4547,7 +4548,7 @@ pub struct ScrapeConfigOpenstackSdConfigsTlsConfigKeySecret { } /// SecretKeySelector selects a key of a Secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigProxyConnectHeader { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4570,7 +4571,7 @@ pub struct ScrapeConfigProxyConnectHeader { /// /// /// More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigRelabelings { /// Action to perform based on the regex matching. /// @@ -4676,7 +4677,7 @@ pub enum ScrapeConfigScheme { /// StaticConfig defines a Prometheus static configuration. /// See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigStaticConfigs { /// Labels assigned to all metrics scraped from the targets. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4687,7 +4688,7 @@ pub struct ScrapeConfigStaticConfigs { } /// TLS configuration to use on every scrape request -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4707,7 +4708,7 @@ pub struct ScrapeConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4718,7 +4719,7 @@ pub struct ScrapeConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -4737,7 +4738,7 @@ pub struct ScrapeConfigTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4756,7 +4757,7 @@ pub struct ScrapeConfigTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4767,7 +4768,7 @@ pub struct ScrapeConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -4786,7 +4787,7 @@ pub struct ScrapeConfigTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4805,7 +4806,7 @@ pub struct ScrapeConfigTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScrapeConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, diff --git a/kube-custom-resources-rs/src/monitoring_coreos_com/v1beta1/alertmanagerconfigs.rs b/kube-custom-resources-rs/src/monitoring_coreos_com/v1beta1/alertmanagerconfigs.rs index 745dc20ab..05075fae6 100644 --- a/kube-custom-resources-rs/src/monitoring_coreos_com/v1beta1/alertmanagerconfigs.rs +++ b/kube-custom-resources-rs/src/monitoring_coreos_com/v1beta1/alertmanagerconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1beta1/alertmanagerconfigs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/prometheus-operator/prometheus-operator/monitoring.coreos.com/v1beta1/alertmanagerconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,10 +13,11 @@ use self::prelude::*; /// AlertmanagerConfigSpec is a specification of the desired behavior of the Alertmanager configuration. /// By definition, the Alertmanager configuration only applies to alerts for which /// the `namespace` label is equal to the namespace of the AlertmanagerConfig resource. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "monitoring.coreos.com", version = "v1beta1", kind = "AlertmanagerConfig", plural = "alertmanagerconfigs")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct AlertmanagerConfigSpec { /// List of inhibition rules. The rules will only apply to alerts matching @@ -39,7 +40,7 @@ pub struct AlertmanagerConfigSpec { /// InhibitRule defines an inhibition rule that allows to mute alerts when other /// alerts are already firing. /// See https://prometheus.io/docs/alerting/latest/configuration/#inhibit_rule -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigInhibitRules { /// Labels that must have an equal value in the source and target alert for /// the inhibition to take effect. @@ -57,7 +58,7 @@ pub struct AlertmanagerConfigInhibitRules { } /// Matcher defines how to match on alert's labels. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigInhibitRulesSourceMatch { /// Match operator, one of `=` (equal to), `!=` (not equal to), `=~` (regex /// match) or `!~` (not regex match). @@ -85,7 +86,7 @@ pub enum AlertmanagerConfigInhibitRulesSourceMatchMatchType { } /// Matcher defines how to match on alert's labels. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigInhibitRulesTargetMatch { /// Match operator, one of `=` (equal to), `!=` (not equal to), `=~` (regex /// match) or `!~` (not regex match). @@ -113,7 +114,7 @@ pub enum AlertmanagerConfigInhibitRulesTargetMatchMatchType { } /// Receiver defines one or more notification integrations. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceivers { /// List of Slack configurations. #[serde(default, skip_serializing_if = "Option::is_none", rename = "discordConfigs")] @@ -161,7 +162,7 @@ pub struct AlertmanagerConfigReceivers { /// DiscordConfig configures notifications via Discord. /// See https://prometheus.io/docs/alerting/latest/configuration/#discord_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigs { /// The secret's key that contains the Discord webhook URL. /// The secret needs to be in the same namespace as the AlertmanagerConfig @@ -185,7 +186,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigs { /// The secret's key that contains the Discord webhook URL. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsApiUrl { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -204,7 +205,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsApiUrl { } /// HTTP client configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. @@ -236,7 +237,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -253,7 +254,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -273,7 +274,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigAuthorizationCrede /// BasicAuth for the client. /// This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -287,7 +288,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -307,7 +308,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigBasicAuthPassword /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -329,7 +330,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigBasicAuthUsername /// for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -338,7 +339,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigBearerTokenSecret } /// OAuth2 client credentials used to fetch a token for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -362,7 +363,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -373,7 +374,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -392,7 +393,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2ClientIdConf } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -412,7 +413,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2ClientIdSecr /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -431,7 +432,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigOauth2ClientSecret } /// TLS configuration for the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -451,7 +452,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -462,7 +463,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -481,7 +482,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCaConfigM } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -500,7 +501,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCaSecret } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -511,7 +512,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -530,7 +531,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCertConfi } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -549,7 +550,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigCertSecre } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -568,7 +569,7 @@ pub struct AlertmanagerConfigReceiversDiscordConfigsHttpConfigTlsConfigKeySecret } /// EmailConfig configures notifications via Email. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversEmailConfigs { /// The identity to use for authentication. #[serde(default, skip_serializing_if = "Option::is_none", rename = "authIdentity")] @@ -623,7 +624,7 @@ pub struct AlertmanagerConfigReceiversEmailConfigs { /// The secret's key that contains the password to use for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversEmailConfigsAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -634,7 +635,7 @@ pub struct AlertmanagerConfigReceiversEmailConfigsAuthPassword { /// The secret's key that contains the CRAM-MD5 secret. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversEmailConfigsAuthSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -643,7 +644,7 @@ pub struct AlertmanagerConfigReceiversEmailConfigsAuthSecret { } /// KeyValue defines a (key, value) tuple. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversEmailConfigsHeaders { /// Key of the tuple. pub key: String, @@ -652,7 +653,7 @@ pub struct AlertmanagerConfigReceiversEmailConfigsHeaders { } /// TLS configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -672,7 +673,7 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -683,7 +684,7 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -702,7 +703,7 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -721,7 +722,7 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -732,7 +733,7 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -751,7 +752,7 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCertConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -770,7 +771,7 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -790,7 +791,7 @@ pub struct AlertmanagerConfigReceiversEmailConfigsTlsConfigKeySecret { /// MSTeamsConfig configures notifications via Microsoft Teams. /// It requires Alertmanager >= 0.26.0. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigs { /// HTTP client configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpConfig")] @@ -814,7 +815,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigs { } /// HTTP client configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. @@ -846,7 +847,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -863,7 +864,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -883,7 +884,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigAuthorizationCrede /// BasicAuth for the client. /// This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -897,7 +898,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -917,7 +918,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigBasicAuthPassword /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -939,7 +940,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigBasicAuthUsername /// for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -948,7 +949,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigBearerTokenSecret } /// OAuth2 client credentials used to fetch a token for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -972,7 +973,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -983,7 +984,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -1002,7 +1003,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2ClientIdConf } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1022,7 +1023,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2ClientIdSecr /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1041,7 +1042,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigOauth2ClientSecret } /// TLS configuration for the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1061,7 +1062,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1072,7 +1073,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -1091,7 +1092,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCaConfigM } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1110,7 +1111,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCaSecret } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1121,7 +1122,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -1140,7 +1141,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCertConfi } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1159,7 +1160,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigCertSecre } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1178,7 +1179,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsHttpConfigTlsConfigKeySecret } /// MSTeams webhook URL. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversMsteamsConfigsWebhookUrl { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1198,7 +1199,7 @@ pub struct AlertmanagerConfigReceiversMsteamsConfigsWebhookUrl { /// OpsGenieConfig configures notifications via OpsGenie. /// See https://prometheus.io/docs/alerting/latest/configuration/#opsgenie_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigs { /// Comma separated list of actions that will be available for the alert. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1249,7 +1250,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigs { /// The secret's key that contains the OpsGenie API key. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsApiKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1258,7 +1259,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsApiKey { } /// KeyValue defines a (key, value) tuple. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsDetails { /// Key of the tuple. pub key: String, @@ -1267,7 +1268,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsDetails { } /// HTTP client configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. @@ -1299,7 +1300,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1316,7 +1317,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1336,7 +1337,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigAuthorizationCred /// BasicAuth for the client. /// This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -1350,7 +1351,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1370,7 +1371,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigBasicAuthPassword /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1392,7 +1393,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigBasicAuthUsername /// for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1401,7 +1402,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigBearerTokenSecret } /// OAuth2 client credentials used to fetch a token for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -1425,7 +1426,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1436,7 +1437,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -1455,7 +1456,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2ClientIdCon } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1475,7 +1476,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2ClientIdSec /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1494,7 +1495,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigOauth2ClientSecre } /// TLS configuration for the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1514,7 +1515,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1525,7 +1526,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -1544,7 +1545,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCaConfig } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1563,7 +1564,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCaSecret } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1574,7 +1575,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -1593,7 +1594,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCertConf } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1612,7 +1613,7 @@ pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigCertSecr } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversOpsgenieConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1666,7 +1667,7 @@ pub enum AlertmanagerConfigReceiversOpsgenieConfigsRespondersType { /// PagerDutyConfig configures notifications via PagerDuty. /// See https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigs { /// The class/type of the event. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1726,7 +1727,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigs { } /// KeyValue defines a (key, value) tuple. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsDetails { /// Key of the tuple. pub key: String, @@ -1735,7 +1736,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsDetails { } /// HTTP client configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. @@ -1767,7 +1768,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1784,7 +1785,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1804,7 +1805,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigAuthorizationCre /// BasicAuth for the client. /// This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -1818,7 +1819,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1838,7 +1839,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigBasicAuthPasswor /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1860,7 +1861,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigBasicAuthUsernam /// for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1869,7 +1870,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigBearerTokenSecre } /// OAuth2 client credentials used to fetch a token for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -1893,7 +1894,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1904,7 +1905,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -1923,7 +1924,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2ClientIdCo } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1943,7 +1944,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2ClientIdSe /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1962,7 +1963,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigOauth2ClientSecr } /// TLS configuration for the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1982,7 +1983,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1993,7 +1994,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -2012,7 +2013,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCaConfi } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2031,7 +2032,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCaSecre } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2042,7 +2043,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -2061,7 +2062,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCertCon } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2080,7 +2081,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigCertSec } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2099,7 +2100,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsHttpConfigTlsConfigKeySecr } /// PagerDutyImageConfig attaches images to an incident -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsPagerDutyImageConfigs { /// Alt is the optional alternative text for the image. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2113,7 +2114,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsPagerDutyImageConfigs { } /// PagerDutyLinkConfig attaches text links to an incident -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsPagerDutyLinkConfigs { /// Text that describes the purpose of the link, and can be used as the link's text. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2127,7 +2128,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsPagerDutyLinkConfigs { /// Events API v2). Either this field or `serviceKey` needs to be defined. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsRoutingKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2140,7 +2141,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsRoutingKey { /// be defined. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPagerdutyConfigsServiceKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2150,7 +2151,7 @@ pub struct AlertmanagerConfigReceiversPagerdutyConfigsServiceKey { /// PushoverConfig configures notifications via Pushover. /// See https://prometheus.io/docs/alerting/latest/configuration/#pushover_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigs { /// The name of a device to send the notification to #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2215,7 +2216,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigs { } /// HTTP client configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. @@ -2247,7 +2248,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2264,7 +2265,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2284,7 +2285,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigAuthorizationCred /// BasicAuth for the client. /// This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -2298,7 +2299,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2318,7 +2319,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigBasicAuthPassword /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2340,7 +2341,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigBasicAuthUsername /// for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2349,7 +2350,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigBearerTokenSecret } /// OAuth2 client credentials used to fetch a token for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -2373,7 +2374,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2384,7 +2385,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -2403,7 +2404,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2ClientIdCon } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2423,7 +2424,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2ClientIdSec /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2442,7 +2443,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigOauth2ClientSecre } /// TLS configuration for the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2462,7 +2463,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2473,7 +2474,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -2492,7 +2493,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCaConfig } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2511,7 +2512,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCaSecret } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2522,7 +2523,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -2541,7 +2542,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCertConf } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2560,7 +2561,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigCertSecr } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2582,7 +2583,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsHttpConfigTlsConfigKeySecre /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. /// Either `token` or `tokenFile` is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsToken { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2594,7 +2595,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsToken { /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. /// Either `userKey` or `userKeyFile` is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversPushoverConfigsUserKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2604,7 +2605,7 @@ pub struct AlertmanagerConfigReceiversPushoverConfigsUserKey { /// SlackConfig configures notifications via Slack. /// See https://prometheus.io/docs/alerting/latest/configuration/#slack_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigs { /// A list of Slack actions that are sent with each notification. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2664,7 +2665,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigs { /// notification. /// See https://api.slack.com/docs/message-attachments#action_fields and /// https://api.slack.com/docs/message-buttons for more information. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsActions { /// SlackConfirmationField protect users from destructive actions or /// particularly distinguished decisions by asking them to confirm their button @@ -2691,7 +2692,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsActions { /// click one more time. /// See https://api.slack.com/docs/interactive-message-field-guide#confirmation_fields /// for more information. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsActionsConfirm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "dismissText")] pub dismiss_text: Option, @@ -2705,7 +2706,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsActionsConfirm { /// The secret's key that contains the Slack webhook URL. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsApiUrl { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2717,7 +2718,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsApiUrl { /// Each field must contain a title, value, and optionally, a boolean value to indicate if the field /// is short enough to be displayed next to other fields designated as short. /// See https://api.slack.com/docs/message-attachments#fields for more information. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub short: Option, @@ -2726,7 +2727,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsFields { } /// HTTP client configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. @@ -2758,7 +2759,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2775,7 +2776,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2795,7 +2796,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigAuthorizationCredent /// BasicAuth for the client. /// This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -2809,7 +2810,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2829,7 +2830,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigBasicAuthPassword { /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2851,7 +2852,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigBasicAuthUsername { /// for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2860,7 +2861,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigBearerTokenSecret { } /// OAuth2 client credentials used to fetch a token for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -2884,7 +2885,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2895,7 +2896,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -2914,7 +2915,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2ClientIdConfig } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2934,7 +2935,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2ClientIdSecret /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2953,7 +2954,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigOauth2ClientSecret { } /// TLS configuration for the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2973,7 +2974,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2984,7 +2985,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -3003,7 +3004,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCaConfigMap } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3022,7 +3023,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3033,7 +3034,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -3052,7 +3053,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCertConfigM } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3071,7 +3072,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigCertSecret } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3091,7 +3092,7 @@ pub struct AlertmanagerConfigReceiversSlackConfigsHttpConfigTlsConfigKeySecret { /// SNSConfig configures notifications via AWS SNS. /// See https://prometheus.io/docs/alerting/latest/configuration/#sns_configs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigs { /// The SNS API URL i.e. https://sns.us-east-2.amazonaws.com. /// If not specified, the SNS API URL from the SNS SDK will be used. @@ -3130,7 +3131,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigs { } /// HTTP client configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. @@ -3162,7 +3163,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3179,7 +3180,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3199,7 +3200,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigAuthorizationCredentia /// BasicAuth for the client. /// This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -3213,7 +3214,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3233,7 +3234,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigBasicAuthPassword { /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3255,7 +3256,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigBasicAuthUsername { /// for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3264,7 +3265,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigBearerTokenSecret { } /// OAuth2 client credentials used to fetch a token for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -3288,7 +3289,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3299,7 +3300,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -3318,7 +3319,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2ClientIdConfigMa } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3338,7 +3339,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2ClientIdSecret { /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3357,7 +3358,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigOauth2ClientSecret { } /// TLS configuration for the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3377,7 +3378,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3388,7 +3389,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -3407,7 +3408,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCaConfigMap { } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3426,7 +3427,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3437,7 +3438,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -3456,7 +3457,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCertConfigMap } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3475,7 +3476,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigCertSecret { } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3494,7 +3495,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsHttpConfigTlsConfigKeySecret { } /// Configures AWS's Signature Verification 4 signing process to sign requests. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsSigv4 { /// AccessKey is the AWS API key. If not specified, the environment variable /// `AWS_ACCESS_KEY_ID` is used. @@ -3517,7 +3518,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsSigv4 { /// AccessKey is the AWS API key. If not specified, the environment variable /// `AWS_ACCESS_KEY_ID` is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsSigv4AccessKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3537,7 +3538,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsSigv4AccessKey { /// SecretKey is the AWS API secret. If not specified, the environment /// variable `AWS_SECRET_ACCESS_KEY` is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversSnsConfigsSigv4SecretKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3557,7 +3558,7 @@ pub struct AlertmanagerConfigReceiversSnsConfigsSigv4SecretKey { /// TelegramConfig configures notifications via Telegram. /// See https://prometheus.io/docs/alerting/latest/configuration/#telegram_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigs { /// The Telegram API URL i.e. https://api.telegram.org. /// If not specified, default API URL will be used. @@ -3604,7 +3605,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigs { /// /// /// Either `botToken` or `botTokenFile` is required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsBotToken { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3613,7 +3614,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsBotToken { } /// HTTP client configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. @@ -3645,7 +3646,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3662,7 +3663,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3682,7 +3683,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigAuthorizationCred /// BasicAuth for the client. /// This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -3696,7 +3697,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3716,7 +3717,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigBasicAuthPassword /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3738,7 +3739,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigBasicAuthUsername /// for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3747,7 +3748,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigBearerTokenSecret } /// OAuth2 client credentials used to fetch a token for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -3771,7 +3772,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3782,7 +3783,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -3801,7 +3802,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2ClientIdCon } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3821,7 +3822,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2ClientIdSec /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3840,7 +3841,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigOauth2ClientSecre } /// TLS configuration for the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3860,7 +3861,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3871,7 +3872,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -3890,7 +3891,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCaConfig } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3909,7 +3910,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCaSecret } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -3920,7 +3921,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -3939,7 +3940,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCertConf } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3958,7 +3959,7 @@ pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigCertSecr } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversTelegramConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3988,7 +3989,7 @@ pub enum AlertmanagerConfigReceiversTelegramConfigsParseMode { /// VictorOpsConfig configures notifications via VictorOps. /// See https://prometheus.io/docs/alerting/latest/configuration/#victorops_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigs { /// The secret's key that contains the API key to use when talking to the VictorOps API. /// The secret needs to be in the same namespace as the AlertmanagerConfig @@ -4027,7 +4028,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigs { /// The secret's key that contains the API key to use when talking to the VictorOps API. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsApiKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4036,7 +4037,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsApiKey { } /// KeyValue defines a (key, value) tuple. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsCustomFields { /// Key of the tuple. pub key: String, @@ -4045,7 +4046,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsCustomFields { } /// The HTTP client's configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. @@ -4077,7 +4078,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4094,7 +4095,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4114,7 +4115,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigAuthorizationCre /// BasicAuth for the client. /// This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -4128,7 +4129,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4148,7 +4149,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigBasicAuthPasswor /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4170,7 +4171,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigBasicAuthUsernam /// for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4179,7 +4180,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigBearerTokenSecre } /// OAuth2 client credentials used to fetch a token for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -4203,7 +4204,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4214,7 +4215,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -4233,7 +4234,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2ClientIdCo } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4253,7 +4254,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2ClientIdSe /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4272,7 +4273,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigOauth2ClientSecr } /// TLS configuration for the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4292,7 +4293,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4303,7 +4304,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -4322,7 +4323,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCaConfi } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4341,7 +4342,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCaSecre } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4352,7 +4353,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -4371,7 +4372,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCertCon } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4390,7 +4391,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigCertSec } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4410,7 +4411,7 @@ pub struct AlertmanagerConfigReceiversVictoropsConfigsHttpConfigTlsConfigKeySecr /// WebexConfig configures notification via Cisco Webex /// See https://prometheus.io/docs/alerting/latest/configuration/#webex_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigs { /// The Webex Teams API URL i.e. https://webexapis.com/v1/messages #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiURL")] @@ -4432,7 +4433,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigs { /// The HTTP client's configuration. /// You must use this configuration to supply the bot token as part of the HTTP `Authorization` header. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. @@ -4464,7 +4465,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4481,7 +4482,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4501,7 +4502,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigAuthorizationCredent /// BasicAuth for the client. /// This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -4515,7 +4516,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4535,7 +4536,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigBasicAuthPassword { /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4557,7 +4558,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigBasicAuthUsername { /// for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4566,7 +4567,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigBearerTokenSecret { } /// OAuth2 client credentials used to fetch a token for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -4590,7 +4591,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4601,7 +4602,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -4620,7 +4621,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2ClientIdConfig } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4640,7 +4641,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2ClientIdSecret /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4659,7 +4660,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigOauth2ClientSecret { } /// TLS configuration for the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4679,7 +4680,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4690,7 +4691,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -4709,7 +4710,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCaConfigMap } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4728,7 +4729,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4739,7 +4740,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -4758,7 +4759,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCertConfigM } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4777,7 +4778,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigCertSecret } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4797,7 +4798,7 @@ pub struct AlertmanagerConfigReceiversWebexConfigsHttpConfigTlsConfigKeySecret { /// WebhookConfig configures notifications via a generic receiver supporting the webhook payload. /// See https://prometheus.io/docs/alerting/latest/configuration/#webhook_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigs { /// HTTP client configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpConfig")] @@ -4822,7 +4823,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigs { } /// HTTP client configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. @@ -4854,7 +4855,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4871,7 +4872,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4891,7 +4892,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigAuthorizationCrede /// BasicAuth for the client. /// This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -4905,7 +4906,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4925,7 +4926,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigBasicAuthPassword /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4947,7 +4948,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigBasicAuthUsername /// for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4956,7 +4957,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigBearerTokenSecret } /// OAuth2 client credentials used to fetch a token for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -4980,7 +4981,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -4991,7 +4992,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -5010,7 +5011,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2ClientIdConf } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5030,7 +5031,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2ClientIdSecr /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5049,7 +5050,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigOauth2ClientSecret } /// TLS configuration for the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5069,7 +5070,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -5080,7 +5081,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -5099,7 +5100,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCaConfigM } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5118,7 +5119,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCaSecret } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -5129,7 +5130,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -5148,7 +5149,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCertConfi } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5167,7 +5168,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigCertSecre } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5190,7 +5191,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsHttpConfigTlsConfigKeySecret /// should be defined. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWebhookConfigsUrlSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5200,7 +5201,7 @@ pub struct AlertmanagerConfigReceiversWebhookConfigsUrlSecret { /// WeChatConfig configures notifications via WeChat. /// See https://prometheus.io/docs/alerting/latest/configuration/#wechat_config -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigs { #[serde(default, skip_serializing_if = "Option::is_none", rename = "agentID")] pub agent_id: Option, @@ -5237,7 +5238,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigs { /// The secret's key that contains the WeChat API key. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsApiSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5246,7 +5247,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsApiSecret { } /// HTTP client configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. @@ -5278,7 +5279,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfig { /// Authorization header configuration for the client. /// This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigAuthorization { /// Selects a key of a Secret in the namespace that contains the credentials for authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5295,7 +5296,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigAuthorization { } /// Selects a key of a Secret in the namespace that contains the credentials for authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigAuthorizationCredentials { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5315,7 +5316,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigAuthorizationCreden /// BasicAuth for the client. /// This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. @@ -5329,7 +5330,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigBasicAuth { /// `password` specifies a key of a Secret containing the password for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigBasicAuthPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5349,7 +5350,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigBasicAuthPassword { /// `username` specifies a key of a Secret containing the username for /// authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigBasicAuthUsername { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5371,7 +5372,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigBasicAuthUsername { /// for authentication. /// The secret needs to be in the same namespace as the AlertmanagerConfig /// object and accessible by the Prometheus Operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5380,7 +5381,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigBearerTokenSecret { } /// OAuth2 client credentials used to fetch a token for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. @@ -5404,7 +5405,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2 { /// `clientId` specifies a key of a Secret or ConfigMap containing the /// OAuth2 client's ID. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2ClientId { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -5415,7 +5416,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2ClientId { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2ClientIdConfigMap { /// The key to select. pub key: String, @@ -5434,7 +5435,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2ClientIdConfi } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2ClientIdSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5454,7 +5455,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2ClientIdSecre /// `clientSecret` specifies a key of a Secret containing the OAuth2 /// client's secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2ClientSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5473,7 +5474,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigOauth2ClientSecret } /// TLS configuration for the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfig { /// Certificate authority used when verifying server certificates. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5493,7 +5494,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfig { } /// Certificate authority used when verifying server certificates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCa { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -5504,7 +5505,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCa { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCaConfigMap { /// The key to select. pub key: String, @@ -5523,7 +5524,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCaConfigMa } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCaSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5542,7 +5543,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCaSecret { } /// Client certificate to present when doing client-authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCert { /// ConfigMap containing data to use for the targets. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -5553,7 +5554,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCert { } /// ConfigMap containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCertConfigMap { /// The key to select. pub key: String, @@ -5572,7 +5573,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCertConfig } /// Secret containing data to use for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCertSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5591,7 +5592,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigCertSecret } /// Secret containing the client key file for the targets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigKeySecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -5612,7 +5613,7 @@ pub struct AlertmanagerConfigReceiversWechatConfigsHttpConfigTlsConfigKeySecret /// The Alertmanager route definition for alerts matching the resource's /// namespace. If present, it will be added to the generated Alertmanager /// configuration as a first-level route. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigRoute { /// ActiveTimeIntervals is a list of TimeInterval names when this route should be active. #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeTimeIntervals")] @@ -5668,7 +5669,7 @@ pub struct AlertmanagerConfigRoute { } /// Matcher defines how to match on alert's labels. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigRouteMatchers { /// Match operator, one of `=` (equal to), `!=` (not equal to), `=~` (regex /// match) or `!~` (not regex match). @@ -5696,7 +5697,7 @@ pub enum AlertmanagerConfigRouteMatchersMatchType { } /// TimeInterval specifies the periods in time when notifications will be muted or active. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigTimeIntervals { /// Name of the time interval. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5707,7 +5708,7 @@ pub struct AlertmanagerConfigTimeIntervals { } /// TimePeriod describes periods of time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigTimeIntervalsTimeIntervals { /// DaysOfMonth is a list of DayOfMonthRange #[serde(default, skip_serializing_if = "Option::is_none", rename = "daysOfMonth")] @@ -5727,7 +5728,7 @@ pub struct AlertmanagerConfigTimeIntervalsTimeIntervals { } /// DayOfMonthRange is an inclusive range of days of the month beginning at 1 -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigTimeIntervalsTimeIntervalsDaysOfMonth { /// End of the inclusive range #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5738,7 +5739,7 @@ pub struct AlertmanagerConfigTimeIntervalsTimeIntervalsDaysOfMonth { } /// TimeRange defines a start and end time in 24hr format -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertmanagerConfigTimeIntervalsTimeIntervalsTimes { /// EndTime is the end time in 24hr format. #[serde(default, skip_serializing_if = "Option::is_none", rename = "endTime")] diff --git a/kube-custom-resources-rs/src/monocle_monocle_change_metrics_io/v1alpha1/monocles.rs b/kube-custom-resources-rs/src/monocle_monocle_change_metrics_io/v1alpha1/monocles.rs index d8df31bd2..cd3b00147 100644 --- a/kube-custom-resources-rs/src/monocle_monocle_change_metrics_io/v1alpha1/monocles.rs +++ b/kube-custom-resources-rs/src/monocle_monocle_change_metrics_io/v1alpha1/monocles.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/change-metrics/monocle-operator/monocle.monocle.change-metrics.io/v1alpha1/monocles.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/change-metrics/monocle-operator/monocle.monocle.change-metrics.io/v1alpha1/monocles.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/mq_services_k8s_aws/v1alpha1/brokers.rs b/kube-custom-resources-rs/src/mq_services_k8s_aws/v1alpha1/brokers.rs index 072cf20dd..0d2436704 100644 --- a/kube-custom-resources-rs/src/mq_services_k8s_aws/v1alpha1/brokers.rs +++ b/kube-custom-resources-rs/src/mq_services_k8s_aws/v1alpha1/brokers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/mq-controller/mq.services.k8s.aws/v1alpha1/brokers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/mq-controller/mq.services.k8s.aws/v1alpha1/brokers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/clusterinfoimports.rs b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/clusterinfoimports.rs index 7696204b3..cc8f83a03 100644 --- a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/clusterinfoimports.rs +++ b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/clusterinfoimports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/clusterinfoimports.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/clusterinfoimports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/clustersets.rs b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/clustersets.rs index 76523a494..f41487a24 100644 --- a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/clustersets.rs +++ b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/clustersets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/clustersets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/clustersets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/gateways.rs b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/gateways.rs index 038043251..13238071d 100644 --- a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/gateways.rs +++ b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/gateways.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/gateways.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/gateways.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/labelidentities.rs b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/labelidentities.rs index fc2e79567..5b51df617 100644 --- a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/labelidentities.rs +++ b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/labelidentities.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/labelidentities.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/labelidentities.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/memberclusterannounces.rs b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/memberclusterannounces.rs index afa12fa05..0f2f998ad 100644 --- a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/memberclusterannounces.rs +++ b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/memberclusterannounces.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/memberclusterannounces.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/memberclusterannounces.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/multiclusterconfigs.rs b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/multiclusterconfigs.rs index d74a8279c..5ac777947 100644 --- a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/multiclusterconfigs.rs +++ b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/multiclusterconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/multiclusterconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/multiclusterconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/resourceexports.rs b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/resourceexports.rs index 8d7af0afd..5dfdd5dab 100644 --- a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/resourceexports.rs +++ b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/resourceexports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/resourceexports.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/resourceexports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/resourceimports.rs b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/resourceimports.rs index f0c8f03d5..15e23ed2d 100644 --- a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/resourceimports.rs +++ b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha1/resourceimports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/resourceimports.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha1/resourceimports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// ResourceImportSpec defines the desired state of ResourceImport. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "multicluster.crd.antrea.io", version = "v1alpha1", kind = "ResourceImport", plural = "resourceimports")] #[kube(namespaced)] #[kube(status = "ResourceImportStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ResourceImportSpec { /// ClusterIDs specifies the member clusters this resource to import to. @@ -57,7 +58,7 @@ pub struct ResourceImportSpec { } /// If imported resource is ClusterInfo. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusterinfo { /// ClusterID of the member cluster. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterID")] @@ -77,14 +78,14 @@ pub struct ResourceImportClusterinfo { } /// GatewayInfo includes information of a Gateway. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusterinfoGatewayInfos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gatewayIP")] pub gateway_ip: Option, } /// WireGuardInfo includes information of a WireGuard tunnel. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusterinfoWireGuard { /// Public key of the WireGuard tunnel. #[serde(default, skip_serializing_if = "Option::is_none", rename = "publicKey")] @@ -92,7 +93,7 @@ pub struct ResourceImportClusterinfoWireGuard { } /// If imported resource is AntreaClusterNetworkPolicy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicy { /// Select workloads on which the rules will be applied to. Cannot be set in /// conjunction with AppliedTo in each rule. @@ -121,7 +122,7 @@ pub struct ResourceImportClusternetworkpolicy { } /// AppliedTo describes the grouping selector of workloads in AppliedTo field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyAppliedTo { /// Select ExternalEntities from NetworkPolicy's Namespace as workloads /// in AppliedTo fields. If set with NamespaceSelector, @@ -171,7 +172,7 @@ pub struct ResourceImportClusternetworkpolicyAppliedTo { /// ExternalEntities are matched from Namespaces matched by the /// NamespaceSelector. /// Cannot be set with any other selector except NamespaceSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyAppliedToExternalEntitySelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -185,7 +186,7 @@ pub struct ResourceImportClusternetworkpolicyAppliedToExternalEntitySelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyAppliedToExternalEntitySelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -205,7 +206,7 @@ pub struct ResourceImportClusternetworkpolicyAppliedToExternalEntitySelectorMatc /// Pods are matched from Namespaces matched by the NamespaceSelector. /// Cannot be set with any other selector except PodSelector or /// ExternalEntitySelector. Cannot be set with Namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyAppliedToNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -219,7 +220,7 @@ pub struct ResourceImportClusternetworkpolicyAppliedToNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyAppliedToNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -236,7 +237,7 @@ pub struct ResourceImportClusternetworkpolicyAppliedToNamespaceSelectorMatchExpr /// Select Nodes in cluster as workloads in AppliedTo fields. /// Cannot be set with any other selector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyAppliedToNodeSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -250,7 +251,7 @@ pub struct ResourceImportClusternetworkpolicyAppliedToNodeSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyAppliedToNodeSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -269,7 +270,7 @@ pub struct ResourceImportClusternetworkpolicyAppliedToNodeSelectorMatchExpressio /// AppliedTo fields. If set with NamespaceSelector, Pods are /// matched from Namespaces matched by the NamespaceSelector. /// Cannot be set with any other selector except NamespaceSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyAppliedToPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -283,7 +284,7 @@ pub struct ResourceImportClusternetworkpolicyAppliedToPodSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyAppliedToPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -303,7 +304,7 @@ pub struct ResourceImportClusternetworkpolicyAppliedToPodSelectorMatchExpression /// that only has ingress rules or rule level AppliedTo field in an ingress rule. /// Only a NodePort Service can be referred by this field. /// Cannot be set with any other selector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyAppliedToService { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -314,7 +315,7 @@ pub struct ResourceImportClusternetworkpolicyAppliedToService { /// Select all Pods with the ServiceAccount matched by this field, as /// workloads in AppliedTo fields. /// Cannot be set with any other selector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyAppliedToServiceAccount { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -325,7 +326,7 @@ pub struct ResourceImportClusternetworkpolicyAppliedToServiceAccount { /// Rule describes the traffic allowed to/from the workloads selected by /// Spec.AppliedTo. Based on the action specified in the rule, traffic is either /// allowed or denied which exactly match the specified ports and protocol. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgress { /// Action specifies the action to be applied on the rule. pub action: String, @@ -381,7 +382,7 @@ pub struct ResourceImportClusternetworkpolicyEgress { } /// AppliedTo describes the grouping selector of workloads in AppliedTo field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressAppliedTo { /// Select ExternalEntities from NetworkPolicy's Namespace as workloads /// in AppliedTo fields. If set with NamespaceSelector, @@ -431,7 +432,7 @@ pub struct ResourceImportClusternetworkpolicyEgressAppliedTo { /// ExternalEntities are matched from Namespaces matched by the /// NamespaceSelector. /// Cannot be set with any other selector except NamespaceSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressAppliedToExternalEntitySelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -445,7 +446,7 @@ pub struct ResourceImportClusternetworkpolicyEgressAppliedToExternalEntitySelect /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressAppliedToExternalEntitySelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -465,7 +466,7 @@ pub struct ResourceImportClusternetworkpolicyEgressAppliedToExternalEntitySelect /// Pods are matched from Namespaces matched by the NamespaceSelector. /// Cannot be set with any other selector except PodSelector or /// ExternalEntitySelector. Cannot be set with Namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressAppliedToNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -479,7 +480,7 @@ pub struct ResourceImportClusternetworkpolicyEgressAppliedToNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressAppliedToNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -496,7 +497,7 @@ pub struct ResourceImportClusternetworkpolicyEgressAppliedToNamespaceSelectorMat /// Select Nodes in cluster as workloads in AppliedTo fields. /// Cannot be set with any other selector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressAppliedToNodeSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -510,7 +511,7 @@ pub struct ResourceImportClusternetworkpolicyEgressAppliedToNodeSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressAppliedToNodeSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -529,7 +530,7 @@ pub struct ResourceImportClusternetworkpolicyEgressAppliedToNodeSelectorMatchExp /// AppliedTo fields. If set with NamespaceSelector, Pods are /// matched from Namespaces matched by the NamespaceSelector. /// Cannot be set with any other selector except NamespaceSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressAppliedToPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -543,7 +544,7 @@ pub struct ResourceImportClusternetworkpolicyEgressAppliedToPodSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressAppliedToPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -563,7 +564,7 @@ pub struct ResourceImportClusternetworkpolicyEgressAppliedToPodSelectorMatchExpr /// that only has ingress rules or rule level AppliedTo field in an ingress rule. /// Only a NodePort Service can be referred by this field. /// Cannot be set with any other selector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressAppliedToService { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -574,7 +575,7 @@ pub struct ResourceImportClusternetworkpolicyEgressAppliedToService { /// Select all Pods with the ServiceAccount matched by this field, as /// workloads in AppliedTo fields. /// Cannot be set with any other selector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressAppliedToServiceAccount { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -583,7 +584,7 @@ pub struct ResourceImportClusternetworkpolicyEgressAppliedToServiceAccount { } /// NetworkPolicyPeer describes the grouping selector of workloads. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressFrom { /// Select ExternalEntities from NetworkPolicy's Namespace as workloads /// in To/From fields. If set with NamespaceSelector, @@ -653,7 +654,7 @@ pub struct ResourceImportClusternetworkpolicyEgressFrom { /// ExternalEntities are matched from Namespaces matched by the /// NamespaceSelector. /// Cannot be set with any other selector except NamespaceSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressFromExternalEntitySelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -667,7 +668,7 @@ pub struct ResourceImportClusternetworkpolicyEgressFromExternalEntitySelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressFromExternalEntitySelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -685,7 +686,7 @@ pub struct ResourceImportClusternetworkpolicyEgressFromExternalEntitySelectorMat /// IPBlock describes the IPAddresses/IPBlocks that is matched in to/from. /// IPBlock cannot be set as part of the AppliedTo field. /// Cannot be set with any other selector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressFromIpBlock { /// CIDR is a string representing the IP Block /// Valid examples are "192.168.1.1/24". @@ -697,7 +698,7 @@ pub struct ResourceImportClusternetworkpolicyEgressFromIpBlock { /// Pods are matched from Namespaces matched by the NamespaceSelector. /// Cannot be set with any other selector except PodSelector or /// ExternalEntitySelector. Cannot be set with Namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressFromNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -711,7 +712,7 @@ pub struct ResourceImportClusternetworkpolicyEgressFromNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressFromNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -733,7 +734,7 @@ pub struct ResourceImportClusternetworkpolicyEgressFromNamespaceSelectorMatchExp /// ExternalEntitySelector. This field can only be set when NetworkPolicyPeer /// is created for ClusterNetworkPolicy ingress/egress rules. /// Cannot be set with NamespaceSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressFromNamespaces { /// Selects from the same Namespace of the appliedTo workloads. #[serde(default, skip_serializing_if = "Option::is_none", rename = "match")] @@ -746,7 +747,7 @@ pub struct ResourceImportClusternetworkpolicyEgressFromNamespaces { /// Select certain Nodes which match the label selector. /// A NodeSelector cannot be set with any other selector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressFromNodeSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -760,7 +761,7 @@ pub struct ResourceImportClusternetworkpolicyEgressFromNodeSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressFromNodeSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -779,7 +780,7 @@ pub struct ResourceImportClusternetworkpolicyEgressFromNodeSelectorMatchExpressi /// To/From fields. If set with NamespaceSelector, Pods are /// matched from Namespaces matched by the NamespaceSelector. /// Cannot be set with any other selector except NamespaceSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressFromPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -793,7 +794,7 @@ pub struct ResourceImportClusternetworkpolicyEgressFromPodSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressFromPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -811,7 +812,7 @@ pub struct ResourceImportClusternetworkpolicyEgressFromPodSelectorMatchExpressio /// Select all Pods with the ServiceAccount matched by this field, as /// workloads in To/From fields. /// Cannot be set with any other selector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressFromServiceAccount { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -819,7 +820,7 @@ pub struct ResourceImportClusternetworkpolicyEgressFromServiceAccount { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressL7Protocols { /// HTTPProtocol matches HTTP requests with specific host, method, and path. All fields could be used alone or together. /// If all fields are not provided, it matches all HTTP requests. @@ -833,7 +834,7 @@ pub struct ResourceImportClusternetworkpolicyEgressL7Protocols { /// HTTPProtocol matches HTTP requests with specific host, method, and path. All fields could be used alone or together. /// If all fields are not provided, it matches all HTTP requests. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressL7ProtocolsHttp { /// Host represents the hostname present in the URI or the HTTP Host header to match. /// It does not contain the port associated with the host. @@ -850,7 +851,7 @@ pub struct ResourceImportClusternetworkpolicyEgressL7ProtocolsHttp { /// TLSProtocol matches TLS handshake packets with specific SNI. If the field is not provided, this /// matches all TLS handshake packets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressL7ProtocolsTls { /// SNI (Server Name Indication) indicates the server domain name in the TLS/SSL hello message. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -858,7 +859,7 @@ pub struct ResourceImportClusternetworkpolicyEgressL7ProtocolsTls { } /// NetworkPolicyPort describes the port and protocol to match in a rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressPorts { /// EndPort defines the end of the port range, inclusive. /// It can only be specified when a numerical `port` is specified. @@ -885,7 +886,7 @@ pub struct ResourceImportClusternetworkpolicyEgressPorts { /// NetworkPolicyProtocol defines additional protocols that are not supported by /// `ports`. All fields should be used as a standalone field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressProtocols { /// ICMPProtocol matches ICMP traffic with specific ICMPType and/or ICMPCode. All /// fields could be used alone or together. If all fields are not provided, this @@ -906,7 +907,7 @@ pub struct ResourceImportClusternetworkpolicyEgressProtocols { /// ICMPProtocol matches ICMP traffic with specific ICMPType and/or ICMPCode. All /// fields could be used alone or together. If all fields are not provided, this /// matches all ICMP traffic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressProtocolsIcmp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "icmpCode")] pub icmp_code: Option, @@ -921,7 +922,7 @@ pub struct ResourceImportClusternetworkpolicyEgressProtocolsIcmp { /// IGMPReportV2 int32 = 0x16 /// IGMPReportV3 int32 = 0x22 /// If groupAddress is empty, all groupAddresses will be matched. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressProtocolsIgmp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "groupAddress")] pub group_address: Option, @@ -930,7 +931,7 @@ pub struct ResourceImportClusternetworkpolicyEgressProtocolsIgmp { } /// NetworkPolicyPeer describes the grouping selector of workloads. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressTo { /// Select ExternalEntities from NetworkPolicy's Namespace as workloads /// in To/From fields. If set with NamespaceSelector, @@ -1000,7 +1001,7 @@ pub struct ResourceImportClusternetworkpolicyEgressTo { /// ExternalEntities are matched from Namespaces matched by the /// NamespaceSelector. /// Cannot be set with any other selector except NamespaceSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressToExternalEntitySelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1014,7 +1015,7 @@ pub struct ResourceImportClusternetworkpolicyEgressToExternalEntitySelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressToExternalEntitySelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1032,7 +1033,7 @@ pub struct ResourceImportClusternetworkpolicyEgressToExternalEntitySelectorMatch /// IPBlock describes the IPAddresses/IPBlocks that is matched in to/from. /// IPBlock cannot be set as part of the AppliedTo field. /// Cannot be set with any other selector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressToIpBlock { /// CIDR is a string representing the IP Block /// Valid examples are "192.168.1.1/24". @@ -1044,7 +1045,7 @@ pub struct ResourceImportClusternetworkpolicyEgressToIpBlock { /// Pods are matched from Namespaces matched by the NamespaceSelector. /// Cannot be set with any other selector except PodSelector or /// ExternalEntitySelector. Cannot be set with Namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressToNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1058,7 +1059,7 @@ pub struct ResourceImportClusternetworkpolicyEgressToNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressToNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1080,7 +1081,7 @@ pub struct ResourceImportClusternetworkpolicyEgressToNamespaceSelectorMatchExpre /// ExternalEntitySelector. This field can only be set when NetworkPolicyPeer /// is created for ClusterNetworkPolicy ingress/egress rules. /// Cannot be set with NamespaceSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressToNamespaces { /// Selects from the same Namespace of the appliedTo workloads. #[serde(default, skip_serializing_if = "Option::is_none", rename = "match")] @@ -1093,7 +1094,7 @@ pub struct ResourceImportClusternetworkpolicyEgressToNamespaces { /// Select certain Nodes which match the label selector. /// A NodeSelector cannot be set with any other selector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressToNodeSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1107,7 +1108,7 @@ pub struct ResourceImportClusternetworkpolicyEgressToNodeSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressToNodeSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1126,7 +1127,7 @@ pub struct ResourceImportClusternetworkpolicyEgressToNodeSelectorMatchExpression /// To/From fields. If set with NamespaceSelector, Pods are /// matched from Namespaces matched by the NamespaceSelector. /// Cannot be set with any other selector except NamespaceSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressToPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1140,7 +1141,7 @@ pub struct ResourceImportClusternetworkpolicyEgressToPodSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressToPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1158,7 +1159,7 @@ pub struct ResourceImportClusternetworkpolicyEgressToPodSelectorMatchExpressions /// Select all Pods with the ServiceAccount matched by this field, as /// workloads in To/From fields. /// Cannot be set with any other selector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressToServiceAccount { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1168,7 +1169,7 @@ pub struct ResourceImportClusternetworkpolicyEgressToServiceAccount { /// PeerService refers to a Service, which can be a in-cluster Service or /// imported multi-cluster service. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyEgressToServices { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1181,7 +1182,7 @@ pub struct ResourceImportClusternetworkpolicyEgressToServices { /// Rule describes the traffic allowed to/from the workloads selected by /// Spec.AppliedTo. Based on the action specified in the rule, traffic is either /// allowed or denied which exactly match the specified ports and protocol. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngress { /// Action specifies the action to be applied on the rule. pub action: String, @@ -1237,7 +1238,7 @@ pub struct ResourceImportClusternetworkpolicyIngress { } /// AppliedTo describes the grouping selector of workloads in AppliedTo field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressAppliedTo { /// Select ExternalEntities from NetworkPolicy's Namespace as workloads /// in AppliedTo fields. If set with NamespaceSelector, @@ -1287,7 +1288,7 @@ pub struct ResourceImportClusternetworkpolicyIngressAppliedTo { /// ExternalEntities are matched from Namespaces matched by the /// NamespaceSelector. /// Cannot be set with any other selector except NamespaceSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressAppliedToExternalEntitySelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1301,7 +1302,7 @@ pub struct ResourceImportClusternetworkpolicyIngressAppliedToExternalEntitySelec /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressAppliedToExternalEntitySelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1321,7 +1322,7 @@ pub struct ResourceImportClusternetworkpolicyIngressAppliedToExternalEntitySelec /// Pods are matched from Namespaces matched by the NamespaceSelector. /// Cannot be set with any other selector except PodSelector or /// ExternalEntitySelector. Cannot be set with Namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressAppliedToNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1335,7 +1336,7 @@ pub struct ResourceImportClusternetworkpolicyIngressAppliedToNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressAppliedToNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1352,7 +1353,7 @@ pub struct ResourceImportClusternetworkpolicyIngressAppliedToNamespaceSelectorMa /// Select Nodes in cluster as workloads in AppliedTo fields. /// Cannot be set with any other selector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressAppliedToNodeSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1366,7 +1367,7 @@ pub struct ResourceImportClusternetworkpolicyIngressAppliedToNodeSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressAppliedToNodeSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1385,7 +1386,7 @@ pub struct ResourceImportClusternetworkpolicyIngressAppliedToNodeSelectorMatchEx /// AppliedTo fields. If set with NamespaceSelector, Pods are /// matched from Namespaces matched by the NamespaceSelector. /// Cannot be set with any other selector except NamespaceSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressAppliedToPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1399,7 +1400,7 @@ pub struct ResourceImportClusternetworkpolicyIngressAppliedToPodSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressAppliedToPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1419,7 +1420,7 @@ pub struct ResourceImportClusternetworkpolicyIngressAppliedToPodSelectorMatchExp /// that only has ingress rules or rule level AppliedTo field in an ingress rule. /// Only a NodePort Service can be referred by this field. /// Cannot be set with any other selector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressAppliedToService { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1430,7 +1431,7 @@ pub struct ResourceImportClusternetworkpolicyIngressAppliedToService { /// Select all Pods with the ServiceAccount matched by this field, as /// workloads in AppliedTo fields. /// Cannot be set with any other selector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressAppliedToServiceAccount { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1439,7 +1440,7 @@ pub struct ResourceImportClusternetworkpolicyIngressAppliedToServiceAccount { } /// NetworkPolicyPeer describes the grouping selector of workloads. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressFrom { /// Select ExternalEntities from NetworkPolicy's Namespace as workloads /// in To/From fields. If set with NamespaceSelector, @@ -1509,7 +1510,7 @@ pub struct ResourceImportClusternetworkpolicyIngressFrom { /// ExternalEntities are matched from Namespaces matched by the /// NamespaceSelector. /// Cannot be set with any other selector except NamespaceSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressFromExternalEntitySelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1523,7 +1524,7 @@ pub struct ResourceImportClusternetworkpolicyIngressFromExternalEntitySelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressFromExternalEntitySelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1541,7 +1542,7 @@ pub struct ResourceImportClusternetworkpolicyIngressFromExternalEntitySelectorMa /// IPBlock describes the IPAddresses/IPBlocks that is matched in to/from. /// IPBlock cannot be set as part of the AppliedTo field. /// Cannot be set with any other selector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressFromIpBlock { /// CIDR is a string representing the IP Block /// Valid examples are "192.168.1.1/24". @@ -1553,7 +1554,7 @@ pub struct ResourceImportClusternetworkpolicyIngressFromIpBlock { /// Pods are matched from Namespaces matched by the NamespaceSelector. /// Cannot be set with any other selector except PodSelector or /// ExternalEntitySelector. Cannot be set with Namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressFromNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1567,7 +1568,7 @@ pub struct ResourceImportClusternetworkpolicyIngressFromNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressFromNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1589,7 +1590,7 @@ pub struct ResourceImportClusternetworkpolicyIngressFromNamespaceSelectorMatchEx /// ExternalEntitySelector. This field can only be set when NetworkPolicyPeer /// is created for ClusterNetworkPolicy ingress/egress rules. /// Cannot be set with NamespaceSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressFromNamespaces { /// Selects from the same Namespace of the appliedTo workloads. #[serde(default, skip_serializing_if = "Option::is_none", rename = "match")] @@ -1602,7 +1603,7 @@ pub struct ResourceImportClusternetworkpolicyIngressFromNamespaces { /// Select certain Nodes which match the label selector. /// A NodeSelector cannot be set with any other selector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressFromNodeSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1616,7 +1617,7 @@ pub struct ResourceImportClusternetworkpolicyIngressFromNodeSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressFromNodeSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1635,7 +1636,7 @@ pub struct ResourceImportClusternetworkpolicyIngressFromNodeSelectorMatchExpress /// To/From fields. If set with NamespaceSelector, Pods are /// matched from Namespaces matched by the NamespaceSelector. /// Cannot be set with any other selector except NamespaceSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressFromPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1649,7 +1650,7 @@ pub struct ResourceImportClusternetworkpolicyIngressFromPodSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressFromPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1667,7 +1668,7 @@ pub struct ResourceImportClusternetworkpolicyIngressFromPodSelectorMatchExpressi /// Select all Pods with the ServiceAccount matched by this field, as /// workloads in To/From fields. /// Cannot be set with any other selector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressFromServiceAccount { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1675,7 +1676,7 @@ pub struct ResourceImportClusternetworkpolicyIngressFromServiceAccount { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressL7Protocols { /// HTTPProtocol matches HTTP requests with specific host, method, and path. All fields could be used alone or together. /// If all fields are not provided, it matches all HTTP requests. @@ -1689,7 +1690,7 @@ pub struct ResourceImportClusternetworkpolicyIngressL7Protocols { /// HTTPProtocol matches HTTP requests with specific host, method, and path. All fields could be used alone or together. /// If all fields are not provided, it matches all HTTP requests. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressL7ProtocolsHttp { /// Host represents the hostname present in the URI or the HTTP Host header to match. /// It does not contain the port associated with the host. @@ -1706,7 +1707,7 @@ pub struct ResourceImportClusternetworkpolicyIngressL7ProtocolsHttp { /// TLSProtocol matches TLS handshake packets with specific SNI. If the field is not provided, this /// matches all TLS handshake packets. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressL7ProtocolsTls { /// SNI (Server Name Indication) indicates the server domain name in the TLS/SSL hello message. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1714,7 +1715,7 @@ pub struct ResourceImportClusternetworkpolicyIngressL7ProtocolsTls { } /// NetworkPolicyPort describes the port and protocol to match in a rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressPorts { /// EndPort defines the end of the port range, inclusive. /// It can only be specified when a numerical `port` is specified. @@ -1741,7 +1742,7 @@ pub struct ResourceImportClusternetworkpolicyIngressPorts { /// NetworkPolicyProtocol defines additional protocols that are not supported by /// `ports`. All fields should be used as a standalone field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressProtocols { /// ICMPProtocol matches ICMP traffic with specific ICMPType and/or ICMPCode. All /// fields could be used alone or together. If all fields are not provided, this @@ -1762,7 +1763,7 @@ pub struct ResourceImportClusternetworkpolicyIngressProtocols { /// ICMPProtocol matches ICMP traffic with specific ICMPType and/or ICMPCode. All /// fields could be used alone or together. If all fields are not provided, this /// matches all ICMP traffic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressProtocolsIcmp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "icmpCode")] pub icmp_code: Option, @@ -1777,7 +1778,7 @@ pub struct ResourceImportClusternetworkpolicyIngressProtocolsIcmp { /// IGMPReportV2 int32 = 0x16 /// IGMPReportV3 int32 = 0x22 /// If groupAddress is empty, all groupAddresses will be matched. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressProtocolsIgmp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "groupAddress")] pub group_address: Option, @@ -1786,7 +1787,7 @@ pub struct ResourceImportClusternetworkpolicyIngressProtocolsIgmp { } /// NetworkPolicyPeer describes the grouping selector of workloads. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressTo { /// Select ExternalEntities from NetworkPolicy's Namespace as workloads /// in To/From fields. If set with NamespaceSelector, @@ -1856,7 +1857,7 @@ pub struct ResourceImportClusternetworkpolicyIngressTo { /// ExternalEntities are matched from Namespaces matched by the /// NamespaceSelector. /// Cannot be set with any other selector except NamespaceSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressToExternalEntitySelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1870,7 +1871,7 @@ pub struct ResourceImportClusternetworkpolicyIngressToExternalEntitySelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressToExternalEntitySelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1888,7 +1889,7 @@ pub struct ResourceImportClusternetworkpolicyIngressToExternalEntitySelectorMatc /// IPBlock describes the IPAddresses/IPBlocks that is matched in to/from. /// IPBlock cannot be set as part of the AppliedTo field. /// Cannot be set with any other selector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressToIpBlock { /// CIDR is a string representing the IP Block /// Valid examples are "192.168.1.1/24". @@ -1900,7 +1901,7 @@ pub struct ResourceImportClusternetworkpolicyIngressToIpBlock { /// Pods are matched from Namespaces matched by the NamespaceSelector. /// Cannot be set with any other selector except PodSelector or /// ExternalEntitySelector. Cannot be set with Namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressToNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1914,7 +1915,7 @@ pub struct ResourceImportClusternetworkpolicyIngressToNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressToNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1936,7 +1937,7 @@ pub struct ResourceImportClusternetworkpolicyIngressToNamespaceSelectorMatchExpr /// ExternalEntitySelector. This field can only be set when NetworkPolicyPeer /// is created for ClusterNetworkPolicy ingress/egress rules. /// Cannot be set with NamespaceSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressToNamespaces { /// Selects from the same Namespace of the appliedTo workloads. #[serde(default, skip_serializing_if = "Option::is_none", rename = "match")] @@ -1949,7 +1950,7 @@ pub struct ResourceImportClusternetworkpolicyIngressToNamespaces { /// Select certain Nodes which match the label selector. /// A NodeSelector cannot be set with any other selector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressToNodeSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1963,7 +1964,7 @@ pub struct ResourceImportClusternetworkpolicyIngressToNodeSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressToNodeSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1982,7 +1983,7 @@ pub struct ResourceImportClusternetworkpolicyIngressToNodeSelectorMatchExpressio /// To/From fields. If set with NamespaceSelector, Pods are /// matched from Namespaces matched by the NamespaceSelector. /// Cannot be set with any other selector except NamespaceSelector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressToPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1996,7 +1997,7 @@ pub struct ResourceImportClusternetworkpolicyIngressToPodSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressToPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2014,7 +2015,7 @@ pub struct ResourceImportClusternetworkpolicyIngressToPodSelectorMatchExpression /// Select all Pods with the ServiceAccount matched by this field, as /// workloads in To/From fields. /// Cannot be set with any other selector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressToServiceAccount { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2024,7 +2025,7 @@ pub struct ResourceImportClusternetworkpolicyIngressToServiceAccount { /// PeerService refers to a Service, which can be a in-cluster Service or /// imported multi-cluster service. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportClusternetworkpolicyIngressToServices { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2035,7 +2036,7 @@ pub struct ResourceImportClusternetworkpolicyIngressToServices { } /// If imported resource is EndPoints. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportEndpoints { #[serde(default, skip_serializing_if = "Option::is_none")] pub subsets: Option>, @@ -2057,7 +2058,7 @@ pub struct ResourceImportEndpoints { /// /// a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], /// b: [ 10.10.1.1:309, 10.10.2.2:309 ] -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportEndpointsSubsets { /// IP addresses which offer the related ports that are marked as ready. These endpoints /// should be considered safe for load balancers and clients to utilize. @@ -2074,7 +2075,7 @@ pub struct ResourceImportEndpointsSubsets { } /// EndpointAddress is a tuple that describes single IP address. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportEndpointsSubsetsAddresses { /// The Hostname of this endpoint #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2092,7 +2093,7 @@ pub struct ResourceImportEndpointsSubsetsAddresses { } /// Reference to object providing the endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportEndpointsSubsetsAddressesTargetRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2130,7 +2131,7 @@ pub struct ResourceImportEndpointsSubsetsAddressesTargetRef { } /// EndpointAddress is a tuple that describes single IP address. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportEndpointsSubsetsNotReadyAddresses { /// The Hostname of this endpoint #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2148,7 +2149,7 @@ pub struct ResourceImportEndpointsSubsetsNotReadyAddresses { } /// Reference to object providing the endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportEndpointsSubsetsNotReadyAddressesTargetRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2186,7 +2187,7 @@ pub struct ResourceImportEndpointsSubsetsNotReadyAddressesTargetRef { } /// EndpointPort is a tuple that describes a single port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportEndpointsSubsetsPorts { /// The application protocol for this port. /// This is used as a hint for implementations to offer richer behavior for protocols that they understand. @@ -2224,7 +2225,7 @@ pub struct ResourceImportEndpointsSubsetsPorts { } /// If imported resource is ExternalEntity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportExternalentity { /// ExternalEntitySpec defines the desired state for ExternalEntity. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2232,7 +2233,7 @@ pub struct ResourceImportExternalentity { } /// ExternalEntitySpec defines the desired state for ExternalEntity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportExternalentityExternalentityspec { /// Endpoints is a list of external endpoints associated with this entity. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2247,7 +2248,7 @@ pub struct ResourceImportExternalentityExternalentityspec { } /// Endpoint refers to an endpoint associated with the ExternalEntity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportExternalentityExternalentityspecEndpoints { /// IP associated with this endpoint. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2258,7 +2259,7 @@ pub struct ResourceImportExternalentityExternalentityspecEndpoints { } /// NamedPort describes the port and protocol to match in a rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportExternalentityExternalentityspecPorts { /// Name associated with the Port. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2273,7 +2274,7 @@ pub struct ResourceImportExternalentityExternalentityspecPorts { } /// If imported resource kind is LabelIdentity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportLabelIdentity { /// ID is the ID allocated for the label identity by the leader cluster. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2286,14 +2287,14 @@ pub struct ResourceImportLabelIdentity { } /// If imported resource kind is unknown. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportRaw { #[serde(default, skip_serializing_if = "Option::is_none")] pub data: Option, } /// If imported resource is ServiceImport. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportServiceImport { /// APIVersion defines the versioned schema of this representation of an object. /// Servers should convert recognized schemas to the latest internal value, and @@ -2319,7 +2320,7 @@ pub struct ResourceImportServiceImport { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportServiceImportMetadata { } @@ -2348,7 +2349,7 @@ pub struct ResourceImportServiceImportSpec { } /// ServicePort represents the port on which the service is exposed -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportServiceImportSpecPorts { /// The application protocol for this port. /// This field follows standard Kubernetes label syntax. @@ -2375,7 +2376,7 @@ pub struct ResourceImportServiceImportSpecPorts { } /// sessionAffinityConfig contains session affinity configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportServiceImportSpecSessionAffinityConfig { /// clientIP contains the configurations of Client IP based session affinity. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] @@ -2383,7 +2384,7 @@ pub struct ResourceImportServiceImportSpecSessionAffinityConfig { } /// clientIP contains the configurations of Client IP based session affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportServiceImportSpecSessionAffinityConfigClientIp { /// timeoutSeconds specifies the seconds of ClientIP type session sticky time. /// The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". @@ -2402,7 +2403,7 @@ pub enum ResourceImportServiceImportSpecType { /// status contains information about the exported services that form /// the multi-cluster service referenced by this ServiceImport. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportServiceImportStatus { /// clusters is the list of exporting clusters from which this service /// was derived. @@ -2411,7 +2412,7 @@ pub struct ResourceImportServiceImportStatus { } /// ClusterStatus contains service configuration mapped to a specific source cluster -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportServiceImportStatusClusters { /// cluster is the name of the exporting cluster. Must be a valid RFC-1123 DNS /// label. @@ -2419,14 +2420,14 @@ pub struct ResourceImportServiceImportStatusClusters { } /// ResourceImportStatus defines the observed state of ResourceImport. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterStatuses")] pub cluster_statuses: Option>, } /// ResourceImportClusterStatus indicates the readiness status of the ResourceImport in clusters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceImportStatusClusterStatuses { /// ClusterID is the unique identifier of this cluster. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterID")] diff --git a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha2/clusterclaims.rs b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha2/clusterclaims.rs index 6335ce642..2fe42039a 100644 --- a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha2/clusterclaims.rs +++ b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha2/clusterclaims.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha2/clusterclaims.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha2/clusterclaims.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha2/clustersets.rs b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha2/clustersets.rs index 71615b0b9..0b772629b 100644 --- a/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha2/clustersets.rs +++ b/kube-custom-resources-rs/src/multicluster_crd_antrea_io/v1alpha2/clustersets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha2/clustersets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/antrea-io/antrea/multicluster.crd.antrea.io/v1alpha2/clustersets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/multicluster_x_k8s_io/v1alpha1/appliedworks.rs b/kube-custom-resources-rs/src/multicluster_x_k8s_io/v1alpha1/appliedworks.rs index 1bcde4360..419098e1d 100644 --- a/kube-custom-resources-rs/src/multicluster_x_k8s_io/v1alpha1/appliedworks.rs +++ b/kube-custom-resources-rs/src/multicluster_x_k8s_io/v1alpha1/appliedworks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/work-api/multicluster.x-k8s.io/v1alpha1/appliedworks.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/work-api/multicluster.x-k8s.io/v1alpha1/appliedworks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/multicluster_x_k8s_io/v1alpha1/serviceexports.rs b/kube-custom-resources-rs/src/multicluster_x_k8s_io/v1alpha1/serviceexports.rs index b9e490c8a..a0da55def 100644 --- a/kube-custom-resources-rs/src/multicluster_x_k8s_io/v1alpha1/serviceexports.rs +++ b/kube-custom-resources-rs/src/multicluster_x_k8s_io/v1alpha1/serviceexports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/mcs-api/multicluster.x-k8s.io/v1alpha1/serviceexports.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/mcs-api/multicluster.x-k8s.io/v1alpha1/serviceexports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -14,7 +14,7 @@ use self::prelude::*; /// Service configuration comes from the Service that had the same /// name and namespace as this ServiceExport. /// Populated by the multi-cluster service implementation's controller. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceExportStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, diff --git a/kube-custom-resources-rs/src/multicluster_x_k8s_io/v1alpha1/serviceimports.rs b/kube-custom-resources-rs/src/multicluster_x_k8s_io/v1alpha1/serviceimports.rs index 00849c97f..0dee96254 100644 --- a/kube-custom-resources-rs/src/multicluster_x_k8s_io/v1alpha1/serviceimports.rs +++ b/kube-custom-resources-rs/src/multicluster_x_k8s_io/v1alpha1/serviceimports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/mcs-api/multicluster.x-k8s.io/v1alpha1/serviceimports.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/mcs-api/multicluster.x-k8s.io/v1alpha1/serviceimports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -39,7 +39,7 @@ pub struct ServiceImportSpec { } /// ServicePort represents the port on which the service is exposed -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceImportPorts { /// The application protocol for this port. /// This is used as a hint for implementations to offer richer behavior for protocols that they understand. @@ -76,7 +76,7 @@ pub struct ServiceImportPorts { } /// sessionAffinityConfig contains session affinity configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceImportSessionAffinityConfig { /// clientIP contains the configurations of Client IP based session affinity. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] @@ -84,7 +84,7 @@ pub struct ServiceImportSessionAffinityConfig { } /// clientIP contains the configurations of Client IP based session affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceImportSessionAffinityConfigClientIp { /// timeoutSeconds specifies the seconds of ClientIP type session sticky time. /// The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". @@ -103,7 +103,7 @@ pub enum ServiceImportType { /// status contains information about the exported services that form /// the multi-cluster service referenced by this ServiceImport. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceImportStatus { /// clusters is the list of exporting clusters from which this service /// was derived. @@ -112,7 +112,7 @@ pub struct ServiceImportStatus { } /// ClusterStatus contains service configuration mapped to a specific source cluster -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceImportStatusClusters { /// cluster is the name of the exporting cluster. Must be a valid RFC-1123 DNS /// label. diff --git a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1/assign.rs b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1/assign.rs index 1100fd14e..3f21aa307 100644 --- a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1/assign.rs +++ b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1/assign.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1/assign.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1/assign.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1/assignmetadata.rs b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1/assignmetadata.rs index 5a133e99e..35de84175 100644 --- a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1/assignmetadata.rs +++ b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1/assignmetadata.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1/assignmetadata.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1/assignmetadata.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1/modifyset.rs b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1/modifyset.rs index ed66981c1..5511fc7dd 100644 --- a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1/modifyset.rs +++ b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1/modifyset.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1/modifyset.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1/modifyset.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/assign.rs b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/assign.rs index dcc6ffc4d..5354aad77 100644 --- a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/assign.rs +++ b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/assign.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1alpha1/assign.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1alpha1/assign.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/assignimage.rs b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/assignimage.rs index cd4717edb..278ed79cc 100644 --- a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/assignimage.rs +++ b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/assignimage.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1alpha1/assignimage.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1alpha1/assignimage.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/assignmetadata.rs b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/assignmetadata.rs index 15becba52..bcef77711 100644 --- a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/assignmetadata.rs +++ b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/assignmetadata.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1alpha1/assignmetadata.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1alpha1/assignmetadata.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/modifyset.rs b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/modifyset.rs index c9d190d67..2df0058c5 100644 --- a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/modifyset.rs +++ b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1alpha1/modifyset.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1alpha1/modifyset.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1alpha1/modifyset.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1beta1/assign.rs b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1beta1/assign.rs index f372370eb..f80e82713 100644 --- a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1beta1/assign.rs +++ b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1beta1/assign.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1beta1/assign.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1beta1/assign.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1beta1/assignmetadata.rs b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1beta1/assignmetadata.rs index b212eb0fb..fc18ab75b 100644 --- a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1beta1/assignmetadata.rs +++ b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1beta1/assignmetadata.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1beta1/assignmetadata.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1beta1/assignmetadata.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1beta1/modifyset.rs b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1beta1/modifyset.rs index 552e4cc38..2f657fd89 100644 --- a/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1beta1/modifyset.rs +++ b/kube-custom-resources-rs/src/mutations_gatekeeper_sh/v1beta1/modifyset.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1beta1/modifyset.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/mutations.gatekeeper.sh/v1beta1/modifyset.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/nativestor_alauda_io/v1/rawdevices.rs b/kube-custom-resources-rs/src/nativestor_alauda_io/v1/rawdevices.rs index 4bc106f99..3e35d5594 100644 --- a/kube-custom-resources-rs/src/nativestor_alauda_io/v1/rawdevices.rs +++ b/kube-custom-resources-rs/src/nativestor_alauda_io/v1/rawdevices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/alauda/nativestor/nativestor.alauda.io/v1/rawdevices.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/alauda/nativestor/nativestor.alauda.io/v1/rawdevices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/netchecks_io/v1/networkassertions.rs b/kube-custom-resources-rs/src/netchecks_io/v1/networkassertions.rs index 5503e1d20..77277db69 100644 --- a/kube-custom-resources-rs/src/netchecks_io/v1/networkassertions.rs +++ b/kube-custom-resources-rs/src/netchecks_io/v1/networkassertions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/hardbyte/netchecks/netchecks.io/v1/networkassertions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/hardbyte/netchecks/netchecks.io/v1/networkassertions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networkfirewall_services_k8s_aws/v1alpha1/firewallpolicies.rs b/kube-custom-resources-rs/src/networkfirewall_services_k8s_aws/v1alpha1/firewallpolicies.rs index 76f4546e8..55d8b824c 100644 --- a/kube-custom-resources-rs/src/networkfirewall_services_k8s_aws/v1alpha1/firewallpolicies.rs +++ b/kube-custom-resources-rs/src/networkfirewall_services_k8s_aws/v1alpha1/firewallpolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/networkfirewall-controller/networkfirewall.services.k8s.aws/v1alpha1/firewallpolicies.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/networkfirewall-controller/networkfirewall.services.k8s.aws/v1alpha1/firewallpolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networkfirewall_services_k8s_aws/v1alpha1/firewalls.rs b/kube-custom-resources-rs/src/networkfirewall_services_k8s_aws/v1alpha1/firewalls.rs index dc183d08c..3f07f9307 100644 --- a/kube-custom-resources-rs/src/networkfirewall_services_k8s_aws/v1alpha1/firewalls.rs +++ b/kube-custom-resources-rs/src/networkfirewall_services_k8s_aws/v1alpha1/firewalls.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/networkfirewall-controller/networkfirewall.services.k8s.aws/v1alpha1/firewalls.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/networkfirewall-controller/networkfirewall.services.k8s.aws/v1alpha1/firewalls.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networkfirewall_services_k8s_aws/v1alpha1/rulegroups.rs b/kube-custom-resources-rs/src/networkfirewall_services_k8s_aws/v1alpha1/rulegroups.rs index 965bb2480..5b9ae21a0 100644 --- a/kube-custom-resources-rs/src/networkfirewall_services_k8s_aws/v1alpha1/rulegroups.rs +++ b/kube-custom-resources-rs/src/networkfirewall_services_k8s_aws/v1alpha1/rulegroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/networkfirewall-controller/networkfirewall.services.k8s.aws/v1alpha1/rulegroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/networkfirewall-controller/networkfirewall.services.k8s.aws/v1alpha1/rulegroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_gke_io/v1/managedcertificates.rs b/kube-custom-resources-rs/src/networking_gke_io/v1/managedcertificates.rs index a36602a1b..27d018487 100644 --- a/kube-custom-resources-rs/src/networking_gke_io/v1/managedcertificates.rs +++ b/kube-custom-resources-rs/src/networking_gke_io/v1/managedcertificates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/gke-managed-certs/networking.gke.io/v1/managedcertificates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/gke-managed-certs/networking.gke.io/v1/managedcertificates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1/destinationrules.rs b/kube-custom-resources-rs/src/networking_istio_io/v1/destinationrules.rs index e7f11f196..f031bc3bd 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1/destinationrules.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1/destinationrules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1/destinationrules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1/destinationrules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1/gateways.rs b/kube-custom-resources-rs/src/networking_istio_io/v1/gateways.rs index 64c8c4710..b4dc7f7b7 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1/gateways.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1/gateways.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1/gateways.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1/gateways.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1/serviceentries.rs b/kube-custom-resources-rs/src/networking_istio_io/v1/serviceentries.rs index 35c9fa08d..c2f589c09 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1/serviceentries.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1/serviceentries.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1/serviceentries.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1/serviceentries.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1/sidecars.rs b/kube-custom-resources-rs/src/networking_istio_io/v1/sidecars.rs index 398b0c533..9fdc3708a 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1/sidecars.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1/sidecars.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1/sidecars.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1/sidecars.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1/virtualservices.rs b/kube-custom-resources-rs/src/networking_istio_io/v1/virtualservices.rs index d8ac6ada1..6875b929f 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1/virtualservices.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1/virtualservices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1/virtualservices.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1/virtualservices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1/workloadentries.rs b/kube-custom-resources-rs/src/networking_istio_io/v1/workloadentries.rs index 3f7eddc3b..1f941bc56 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1/workloadentries.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1/workloadentries.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1/workloadentries.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1/workloadentries.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1/workloadgroups.rs b/kube-custom-resources-rs/src/networking_istio_io/v1/workloadgroups.rs index a2d739c50..0402bdf08 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1/workloadgroups.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1/workloadgroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1/workloadgroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1/workloadgroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/destinationrules.rs b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/destinationrules.rs index 823a6b683..e59fe9c58 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/destinationrules.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/destinationrules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1alpha3/destinationrules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1alpha3/destinationrules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/envoyfilters.rs b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/envoyfilters.rs index 9aafa0a7d..72bb57ba2 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/envoyfilters.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/envoyfilters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1alpha3/envoyfilters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1alpha3/envoyfilters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/gateways.rs b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/gateways.rs index 379fe3b21..016f9d369 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/gateways.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/gateways.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1alpha3/gateways.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1alpha3/gateways.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/serviceentries.rs b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/serviceentries.rs index 3584f80c3..0a9cf4f8b 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/serviceentries.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/serviceentries.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1alpha3/serviceentries.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1alpha3/serviceentries.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/sidecars.rs b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/sidecars.rs index c991ca7ad..f1cffedfa 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/sidecars.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/sidecars.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1alpha3/sidecars.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1alpha3/sidecars.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/virtualservices.rs b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/virtualservices.rs index 1dd36dc90..112839fc9 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/virtualservices.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/virtualservices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1alpha3/virtualservices.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1alpha3/virtualservices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/workloadentries.rs b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/workloadentries.rs index 63b24f4d7..425845cf6 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/workloadentries.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/workloadentries.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1alpha3/workloadentries.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1alpha3/workloadentries.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/workloadgroups.rs b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/workloadgroups.rs index d851f3b1f..79ff9ec8b 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/workloadgroups.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1alpha3/workloadgroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1alpha3/workloadgroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1alpha3/workloadgroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/destinationrules.rs b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/destinationrules.rs index 35e3a183e..ba932dfc3 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/destinationrules.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/destinationrules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1beta1/destinationrules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1beta1/destinationrules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/gateways.rs b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/gateways.rs index a5ae60965..54e3f3066 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/gateways.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/gateways.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1beta1/gateways.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1beta1/gateways.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/proxyconfigs.rs b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/proxyconfigs.rs index 170739026..6d764a11a 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/proxyconfigs.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/proxyconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1beta1/proxyconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1beta1/proxyconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/serviceentries.rs b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/serviceentries.rs index 376260511..4c761c308 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/serviceentries.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/serviceentries.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1beta1/serviceentries.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1beta1/serviceentries.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/sidecars.rs b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/sidecars.rs index 7746eb7c2..4ea3e8618 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/sidecars.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/sidecars.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1beta1/sidecars.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1beta1/sidecars.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/virtualservices.rs b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/virtualservices.rs index 12db76c4a..922e0cd60 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/virtualservices.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/virtualservices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1beta1/virtualservices.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1beta1/virtualservices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/workloadentries.rs b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/workloadentries.rs index 4e589816a..73644dad1 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/workloadentries.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/workloadentries.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1beta1/workloadentries.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1beta1/workloadentries.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/workloadgroups.rs b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/workloadgroups.rs index 420f91557..39f75761d 100644 --- a/kube-custom-resources-rs/src/networking_istio_io/v1beta1/workloadgroups.rs +++ b/kube-custom-resources-rs/src/networking_istio_io/v1beta1/workloadgroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1beta1/workloadgroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/networking.istio.io/v1beta1/workloadgroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_k8s_aws/v1alpha1/policyendpoints.rs b/kube-custom-resources-rs/src/networking_k8s_aws/v1alpha1/policyendpoints.rs index b0fe483f1..3245fd4c4 100644 --- a/kube-custom-resources-rs/src/networking_k8s_aws/v1alpha1/policyendpoints.rs +++ b/kube-custom-resources-rs/src/networking_k8s_aws/v1alpha1/policyendpoints.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/amazon-network-policy-controller-k8s/networking.k8s.aws/v1alpha1/policyendpoints.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/amazon-network-policy-controller-k8s/networking.k8s.aws/v1alpha1/policyendpoints.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_karmada_io/v1alpha1/multiclusteringresses.rs b/kube-custom-resources-rs/src/networking_karmada_io/v1alpha1/multiclusteringresses.rs index f42e99b9e..b57a130e4 100644 --- a/kube-custom-resources-rs/src/networking_karmada_io/v1alpha1/multiclusteringresses.rs +++ b/kube-custom-resources-rs/src/networking_karmada_io/v1alpha1/multiclusteringresses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/networking.karmada.io/v1alpha1/multiclusteringresses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/networking.karmada.io/v1alpha1/multiclusteringresses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/networking_karmada_io/v1alpha1/multiclusterservices.rs b/kube-custom-resources-rs/src/networking_karmada_io/v1alpha1/multiclusterservices.rs index 98d2d5c4e..30a808cd1 100644 --- a/kube-custom-resources-rs/src/networking_karmada_io/v1alpha1/multiclusterservices.rs +++ b/kube-custom-resources-rs/src/networking_karmada_io/v1alpha1/multiclusterservices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/networking.karmada.io/v1alpha1/multiclusterservices.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/networking.karmada.io/v1alpha1/multiclusterservices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// Spec is the desired state of the MultiClusterService. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "networking.karmada.io", version = "v1alpha1", kind = "MultiClusterService", plural = "multiclusterservices")] #[kube(namespaced)] #[kube(status = "MultiClusterServiceStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct MultiClusterServiceSpec { /// ConsumerClusters specifies the clusters where the service will be exposed, for clients. @@ -59,7 +60,7 @@ pub struct MultiClusterServiceSpec { } /// ClusterSelector specifies the cluster to be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MultiClusterServiceConsumerClusters { /// Name is the name of the cluster to be selected. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -67,7 +68,7 @@ pub struct MultiClusterServiceConsumerClusters { } /// ExposurePort describes which port will be exposed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MultiClusterServicePorts { /// Name is the name of the port that needs to be exposed within the service. /// The port name must be the same as that defined in the service. @@ -78,7 +79,7 @@ pub struct MultiClusterServicePorts { } /// ClusterSelector specifies the cluster to be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MultiClusterServiceProviderClusters { /// Name is the name of the cluster to be selected. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -92,7 +93,7 @@ pub struct MultiClusterServiceProviderClusters { /// be selected, that means the referencing service will be exposed /// across all registered clusters. /// Deprecated: in favor of ProviderClusters/ConsumerClusters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MultiClusterServiceRange { /// ClusterNames is the list of clusters to be selected. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterNames")] @@ -100,7 +101,7 @@ pub struct MultiClusterServiceRange { } /// Status is the current state of the MultiClusterService. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MultiClusterServiceStatus { /// Current service state #[serde(default, skip_serializing_if = "Option::is_none")] @@ -113,7 +114,7 @@ pub struct MultiClusterServiceStatus { /// LoadBalancer contains the current status of the load-balancer, /// if one is present. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MultiClusterServiceStatusLoadBalancer { /// Ingress is a list containing ingress points for the load-balancer. /// Traffic intended for the service should be sent to these ingress points. @@ -123,7 +124,7 @@ pub struct MultiClusterServiceStatusLoadBalancer { /// LoadBalancerIngress represents the status of a load-balancer ingress point: /// traffic intended for the service should be sent to an ingress point. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MultiClusterServiceStatusLoadBalancerIngress { /// Hostname is set for load-balancer ingress points that are DNS based /// (typically AWS load-balancers) @@ -147,7 +148,7 @@ pub struct MultiClusterServiceStatusLoadBalancerIngress { pub ports: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MultiClusterServiceStatusLoadBalancerIngressPorts { /// Error is to record the problem with the service port /// The format of the error shall comply with the following rules: diff --git a/kube-custom-resources-rs/src/nfd_k8s_sigs_io/v1alpha1/nodefeaturerules.rs b/kube-custom-resources-rs/src/nfd_k8s_sigs_io/v1alpha1/nodefeaturerules.rs index 842ccd051..3bc64d9ad 100644 --- a/kube-custom-resources-rs/src/nfd_k8s_sigs_io/v1alpha1/nodefeaturerules.rs +++ b/kube-custom-resources-rs/src/nfd_k8s_sigs_io/v1alpha1/nodefeaturerules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/nfd.k8s-sigs.io/v1alpha1/nodefeaturerules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/clusternet/clusternet/nfd.k8s-sigs.io/v1alpha1/nodefeaturerules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/nfd_kubernetes_io/v1/nodefeaturediscoveries.rs b/kube-custom-resources-rs/src/nfd_kubernetes_io/v1/nodefeaturediscoveries.rs index 093f8d59e..d95636642 100644 --- a/kube-custom-resources-rs/src/nfd_kubernetes_io/v1/nodefeaturediscoveries.rs +++ b/kube-custom-resources-rs/src/nfd_kubernetes_io/v1/nodefeaturediscoveries.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/node-feature-discovery-operator/nfd.kubernetes.io/v1/nodefeaturediscoveries.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/node-feature-discovery-operator/nfd.kubernetes.io/v1/nodefeaturediscoveries.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// NodeFeatureDiscoverySpec defines the desired state of NodeFeatureDiscovery -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "nfd.kubernetes.io", version = "v1", kind = "NodeFeatureDiscovery", plural = "nodefeaturediscoveries")] #[kube(namespaced)] #[kube(status = "NodeFeatureDiscoveryStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct NodeFeatureDiscoverySpec { /// ExtraLabelNs defines the list of of allowed extra label namespaces By default, only allow labels in the default `feature.node.kubernetes.io` label namespace @@ -45,7 +46,7 @@ pub struct NodeFeatureDiscoverySpec { } /// OperandSpec describes configuration options for the operand -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeFeatureDiscoveryOperand { /// Image defines the image to pull for the NFD operand [defaults to registry.k8s.io/nfd/node-feature-discovery] #[serde(default, skip_serializing_if = "Option::is_none")] @@ -59,7 +60,7 @@ pub struct NodeFeatureDiscoveryOperand { } /// WorkerConfig describes configuration options for the NFD worker. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeFeatureDiscoveryWorkerConfig { /// BinaryData holds the NFD configuration file #[serde(rename = "configData")] @@ -67,7 +68,7 @@ pub struct NodeFeatureDiscoveryWorkerConfig { } /// NodeFeatureDiscoveryStatus defines the observed state of NodeFeatureDiscovery -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct NodeFeatureDiscoveryStatus { /// Conditions represents the latest available observations of current state. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/nfd_kubernetes_io/v1alpha1/nodefeaturerules.rs b/kube-custom-resources-rs/src/nfd_kubernetes_io/v1alpha1/nodefeaturerules.rs index 1cdef4494..3cf160aa2 100644 --- a/kube-custom-resources-rs/src/nfd_kubernetes_io/v1alpha1/nodefeaturerules.rs +++ b/kube-custom-resources-rs/src/nfd_kubernetes_io/v1alpha1/nodefeaturerules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/node-feature-discovery-operator/nfd.kubernetes.io/v1alpha1/nodefeaturerules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/node-feature-discovery-operator/nfd.kubernetes.io/v1alpha1/nodefeaturerules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/nodeinfo_volcano_sh/v1alpha1/numatopologies.rs b/kube-custom-resources-rs/src/nodeinfo_volcano_sh/v1alpha1/numatopologies.rs index fc1912008..8518b8ca3 100644 --- a/kube-custom-resources-rs/src/nodeinfo_volcano_sh/v1alpha1/numatopologies.rs +++ b/kube-custom-resources-rs/src/nodeinfo_volcano_sh/v1alpha1/numatopologies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/volcano-sh/volcano/nodeinfo.volcano.sh/v1alpha1/numatopologies.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/volcano-sh/volcano/nodeinfo.volcano.sh/v1alpha1/numatopologies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/notebook_kubedl_io/v1alpha1/notebooks.rs b/kube-custom-resources-rs/src/notebook_kubedl_io/v1alpha1/notebooks.rs index 9257f03b8..975203183 100644 --- a/kube-custom-resources-rs/src/notebook_kubedl_io/v1alpha1/notebooks.rs +++ b/kube-custom-resources-rs/src/notebook_kubedl_io/v1alpha1/notebooks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/notebook.kubedl.io/v1alpha1/notebooks.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/notebook.kubedl.io/v1alpha1/notebooks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1/receivers.rs b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1/receivers.rs index f94133436..8a9d88e2d 100644 --- a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1/receivers.rs +++ b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1/receivers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1/receivers.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1/receivers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -84,7 +84,7 @@ pub enum ReceiverResourcesKind { /// SecretRef specifies the Secret containing the token used /// to validate the payload authenticity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReceiverSecretRef { /// Name of the referent. pub name: String, @@ -120,7 +120,7 @@ pub enum ReceiverType { } /// ReceiverStatus defines the observed state of the Receiver. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReceiverStatus { /// Conditions holds the conditions for the Receiver. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta1/alerts.rs b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta1/alerts.rs index 5aa2e0ded..343422a0e 100644 --- a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta1/alerts.rs +++ b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta1/alerts.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta1/alerts.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta1/alerts.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// AlertSpec defines an alerting rule for events involving a list of objects -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "notification.toolkit.fluxcd.io", version = "v1beta1", kind = "Alert", plural = "alerts")] #[kube(namespaced)] #[kube(status = "AlertStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct AlertSpec { /// Filter events based on severity, defaults to ('info'). @@ -52,7 +53,7 @@ pub enum AlertEventSeverity { /// CrossNamespaceObjectReference contains enough information to let you locate the /// typed referenced object at cluster level -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertEventSources { /// API version of the referent #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -90,14 +91,14 @@ pub enum AlertEventSourcesKind { } /// Send events using this provider. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertProviderRef { /// Name of the referent. pub name: String, } /// AlertStatus defines the observed state of Alert -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, diff --git a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta1/providers.rs b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta1/providers.rs index e35a4a96c..381eca716 100644 --- a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta1/providers.rs +++ b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta1/providers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta1/providers.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta1/providers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -52,7 +52,7 @@ pub struct ProviderSpec { /// CertSecretRef can be given the name of a secret containing /// a PEM-encoded CA certificate (`caFile`) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProviderCertSecretRef { /// Name of the referent. pub name: String, @@ -60,7 +60,7 @@ pub struct ProviderCertSecretRef { /// Secret reference containing the provider webhook URL /// using "address" as data key -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProviderSecretRef { /// Name of the referent. pub name: String, @@ -114,7 +114,7 @@ pub enum ProviderType { } /// ProviderStatus defines the observed state of Provider -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProviderStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, diff --git a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta1/receivers.rs b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta1/receivers.rs index 5bb8f0654..e4309e040 100644 --- a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta1/receivers.rs +++ b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta1/receivers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta1/receivers.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta1/receivers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -41,7 +41,7 @@ pub struct ReceiverSpec { /// CrossNamespaceObjectReference contains enough information to let you locate the /// typed referenced object at cluster level -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReceiverResources { /// API version of the referent #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -80,7 +80,7 @@ pub enum ReceiverResourcesKind { /// Secret reference containing the token used /// to validate the payload authenticity -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReceiverSecretRef { /// Name of the referent. pub name: String, @@ -114,7 +114,7 @@ pub enum ReceiverType { } /// ReceiverStatus defines the observed state of Receiver -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReceiverStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, diff --git a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta2/alerts.rs b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta2/alerts.rs index fa9a1d1a7..2db113b84 100644 --- a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta2/alerts.rs +++ b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta2/alerts.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta2/alerts.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta2/alerts.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// AlertSpec defines an alerting rule for events involving a list of objects. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "notification.toolkit.fluxcd.io", version = "v1beta2", kind = "Alert", plural = "alerts")] #[kube(namespaced)] #[kube(status = "AlertStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct AlertSpec { /// EventMetadata is an optional field for adding metadata to events dispatched by the @@ -104,14 +105,14 @@ pub enum AlertEventSourcesKind { } /// ProviderRef specifies which Provider this Alert should use. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertProviderRef { /// Name of the referent. pub name: String, } /// AlertStatus defines the observed state of the Alert. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertStatus { /// Conditions holds the conditions for the Alert. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta2/providers.rs b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta2/providers.rs index 2be709c43..2f25aca42 100644 --- a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta2/providers.rs +++ b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta2/providers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta2/providers.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta2/providers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -66,7 +66,7 @@ pub struct ProviderSpec { /// /// Note: Support for the `caFile` key has /// been deprecated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProviderCertSecretRef { /// Name of the referent. pub name: String, @@ -74,7 +74,7 @@ pub struct ProviderCertSecretRef { /// SecretRef specifies the Secret containing the authentication /// credentials for this Provider. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProviderSecretRef { /// Name of the referent. pub name: String, @@ -138,7 +138,7 @@ pub enum ProviderType { } /// ProviderStatus defines the observed state of the Provider. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProviderStatus { /// Conditions holds the conditions for the Provider. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta2/receivers.rs b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta2/receivers.rs index fb1a4079a..11fc77248 100644 --- a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta2/receivers.rs +++ b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta2/receivers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta2/receivers.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta2/receivers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -84,7 +84,7 @@ pub enum ReceiverResourcesKind { /// SecretRef specifies the Secret containing the token used /// to validate the payload authenticity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReceiverSecretRef { /// Name of the referent. pub name: String, @@ -118,7 +118,7 @@ pub enum ReceiverType { } /// ReceiverStatus defines the observed state of the Receiver. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReceiverStatus { /// Conditions holds the conditions for the Receiver. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta3/alerts.rs b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta3/alerts.rs index 7fb1db821..f02575ef1 100644 --- a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta3/alerts.rs +++ b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta3/alerts.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta3/alerts.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta3/alerts.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { use self::prelude::*; /// AlertSpec defines an alerting rule for events involving a list of objects. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "notification.toolkit.fluxcd.io", version = "v1beta3", kind = "Alert", plural = "alerts")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct AlertSpec { /// EventMetadata is an optional field for adding metadata to events dispatched by the @@ -102,7 +103,7 @@ pub enum AlertEventSourcesKind { } /// ProviderRef specifies which Provider this Alert should use. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AlertProviderRef { /// Name of the referent. pub name: String, diff --git a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta3/providers.rs b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta3/providers.rs index abd8bd412..765d86a27 100644 --- a/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta3/providers.rs +++ b/kube-custom-resources-rs/src/notification_toolkit_fluxcd_io/v1beta3/providers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta3/providers.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/notification-controller/notification.toolkit.fluxcd.io/v1beta3/providers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -65,7 +65,7 @@ pub struct ProviderSpec { /// /// Note: Support for the `caFile` key has /// been deprecated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProviderCertSecretRef { /// Name of the referent. pub name: String, @@ -73,7 +73,7 @@ pub struct ProviderCertSecretRef { /// SecretRef specifies the Secret containing the authentication /// credentials for this Provider. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProviderSecretRef { /// Name of the referent. pub name: String, diff --git a/kube-custom-resources-rs/src/objectbucket_io/v1alpha1/objectbucketclaims.rs b/kube-custom-resources-rs/src/objectbucket_io/v1alpha1/objectbucketclaims.rs index 13ef4b683..1c3e71314 100644 --- a/kube-custom-resources-rs/src/objectbucket_io/v1alpha1/objectbucketclaims.rs +++ b/kube-custom-resources-rs/src/objectbucket_io/v1alpha1/objectbucketclaims.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/objectbucket.io/v1alpha1/objectbucketclaims.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/objectbucket.io/v1alpha1/objectbucketclaims.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/objectbucket_io/v1alpha1/objectbuckets.rs b/kube-custom-resources-rs/src/objectbucket_io/v1alpha1/objectbuckets.rs index c8ce6af1a..481edf85b 100644 --- a/kube-custom-resources-rs/src/objectbucket_io/v1alpha1/objectbuckets.rs +++ b/kube-custom-resources-rs/src/objectbucket_io/v1alpha1/objectbuckets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/objectbucket.io/v1alpha1/objectbuckets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/rook/rook/objectbucket.io/v1alpha1/objectbuckets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/onepassword_com/v1/onepassworditems.rs b/kube-custom-resources-rs/src/onepassword_com/v1/onepassworditems.rs index 84abbe9b7..e5da5ee8e 100644 --- a/kube-custom-resources-rs/src/onepassword_com/v1/onepassworditems.rs +++ b/kube-custom-resources-rs/src/onepassword_com/v1/onepassworditems.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/1Password/onepassword-operator/onepassword.com/v1/onepassworditems.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/1Password/onepassword-operator/onepassword.com/v1/onepassworditems.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/opensearchservice_services_k8s_aws/v1alpha1/domains.rs b/kube-custom-resources-rs/src/opensearchservice_services_k8s_aws/v1alpha1/domains.rs index 2c3cf2886..0aaa401d6 100644 --- a/kube-custom-resources-rs/src/opensearchservice_services_k8s_aws/v1alpha1/domains.rs +++ b/kube-custom-resources-rs/src/opensearchservice_services_k8s_aws/v1alpha1/domains.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/opensearchservice-controller/opensearchservice.services.k8s.aws/v1alpha1/domains.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/opensearchservice-controller/opensearchservice.services.k8s.aws/v1alpha1/domains.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/opentelemetry_io/v1alpha1/instrumentations.rs b/kube-custom-resources-rs/src/opentelemetry_io/v1alpha1/instrumentations.rs index 95388aa07..c68757b4b 100644 --- a/kube-custom-resources-rs/src/opentelemetry_io/v1alpha1/instrumentations.rs +++ b/kube-custom-resources-rs/src/opentelemetry_io/v1alpha1/instrumentations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-telemetry/opentelemetry-operator/opentelemetry.io/v1alpha1/instrumentations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-telemetry/opentelemetry-operator/opentelemetry.io/v1alpha1/instrumentations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/opentelemetry_io/v1alpha1/opampbridges.rs b/kube-custom-resources-rs/src/opentelemetry_io/v1alpha1/opampbridges.rs index aeeca6e2a..8f68280af 100644 --- a/kube-custom-resources-rs/src/opentelemetry_io/v1alpha1/opampbridges.rs +++ b/kube-custom-resources-rs/src/opentelemetry_io/v1alpha1/opampbridges.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-telemetry/opentelemetry-operator/opentelemetry.io/v1alpha1/opampbridges.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-telemetry/opentelemetry-operator/opentelemetry.io/v1alpha1/opampbridges.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/opentelemetry_io/v1alpha1/opentelemetrycollectors.rs b/kube-custom-resources-rs/src/opentelemetry_io/v1alpha1/opentelemetrycollectors.rs index d73876aee..e966436e0 100644 --- a/kube-custom-resources-rs/src/opentelemetry_io/v1alpha1/opentelemetrycollectors.rs +++ b/kube-custom-resources-rs/src/opentelemetry_io/v1alpha1/opentelemetrycollectors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-telemetry/opentelemetry-operator/opentelemetry.io/v1alpha1/opentelemetrycollectors.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-telemetry/opentelemetry-operator/opentelemetry.io/v1alpha1/opentelemetrycollectors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/opentelemetry_io/v1beta1/opentelemetrycollectors.rs b/kube-custom-resources-rs/src/opentelemetry_io/v1beta1/opentelemetrycollectors.rs index 685dc8987..ff241d8fe 100644 --- a/kube-custom-resources-rs/src/opentelemetry_io/v1beta1/opentelemetrycollectors.rs +++ b/kube-custom-resources-rs/src/opentelemetry_io/v1beta1/opentelemetrycollectors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-telemetry/opentelemetry-operator/opentelemetry.io/v1beta1/opentelemetrycollectors.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-telemetry/opentelemetry-operator/opentelemetry.io/v1beta1/opentelemetrycollectors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operations_kubeedge_io/v1alpha1/nodeupgradejobs.rs b/kube-custom-resources-rs/src/operations_kubeedge_io/v1alpha1/nodeupgradejobs.rs index 88651433a..8c27ae815 100644 --- a/kube-custom-resources-rs/src/operations_kubeedge_io/v1alpha1/nodeupgradejobs.rs +++ b/kube-custom-resources-rs/src/operations_kubeedge_io/v1alpha1/nodeupgradejobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/operations.kubeedge.io/v1alpha1/nodeupgradejobs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/operations.kubeedge.io/v1alpha1/nodeupgradejobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquacsps.rs b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquacsps.rs index ed237871e..4da213089 100644 --- a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquacsps.rs +++ b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquacsps.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/operator.aquasec.com/v1alpha1/aquacsps.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/operator.aquasec.com/v1alpha1/aquacsps.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquadatabases.rs b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquadatabases.rs index 0814d87cf..8ba50ea62 100644 --- a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquadatabases.rs +++ b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquadatabases.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/operator.aquasec.com/v1alpha1/aquadatabases.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/operator.aquasec.com/v1alpha1/aquadatabases.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquaenforcers.rs b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquaenforcers.rs index 61874fda0..84b9884d0 100644 --- a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquaenforcers.rs +++ b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquaenforcers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/operator.aquasec.com/v1alpha1/aquaenforcers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/operator.aquasec.com/v1alpha1/aquaenforcers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquagateways.rs b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquagateways.rs index 37cd3845a..bd94d05e2 100644 --- a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquagateways.rs +++ b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquagateways.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/operator.aquasec.com/v1alpha1/aquagateways.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/operator.aquasec.com/v1alpha1/aquagateways.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquakubeenforcers.rs b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquakubeenforcers.rs index 4bb5fe7d0..7bfa5d868 100644 --- a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquakubeenforcers.rs +++ b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquakubeenforcers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/operator.aquasec.com/v1alpha1/aquakubeenforcers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/operator.aquasec.com/v1alpha1/aquakubeenforcers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquascanners.rs b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquascanners.rs index 425d25659..add0e6d62 100644 --- a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquascanners.rs +++ b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquascanners.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/operator.aquasec.com/v1alpha1/aquascanners.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/operator.aquasec.com/v1alpha1/aquascanners.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquaservers.rs b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquaservers.rs index 33ec554e1..a05a18e25 100644 --- a/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquaservers.rs +++ b/kube-custom-resources-rs/src/operator_aquasec_com/v1alpha1/aquaservers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/operator.aquasec.com/v1alpha1/aquaservers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aquasecurity/aqua-operator/operator.aquasec.com/v1alpha1/aquaservers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_authorino_kuadrant_io/v1beta1/authorinos.rs b/kube-custom-resources-rs/src/operator_authorino_kuadrant_io/v1beta1/authorinos.rs index 24d853108..fac2d9e4b 100644 --- a/kube-custom-resources-rs/src/operator_authorino_kuadrant_io/v1beta1/authorinos.rs +++ b/kube-custom-resources-rs/src/operator_authorino_kuadrant_io/v1beta1/authorinos.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Kuadrant/authorino-operator/operator.authorino.kuadrant.io/v1beta1/authorinos.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Kuadrant/authorino-operator/operator.authorino.kuadrant.io/v1beta1/authorinos.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/bootstrapproviders.rs b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/bootstrapproviders.rs index 4eadc21db..e9cbb53ac 100644 --- a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/bootstrapproviders.rs +++ b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/bootstrapproviders.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha1/bootstrapproviders.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha1/bootstrapproviders.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/controlplaneproviders.rs b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/controlplaneproviders.rs index 4fd065d6a..54ed96129 100644 --- a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/controlplaneproviders.rs +++ b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/controlplaneproviders.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha1/controlplaneproviders.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha1/controlplaneproviders.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/coreproviders.rs b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/coreproviders.rs index 8b675c29f..8ceac903b 100644 --- a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/coreproviders.rs +++ b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/coreproviders.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha1/coreproviders.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha1/coreproviders.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/infrastructureproviders.rs b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/infrastructureproviders.rs index fe7dcdf42..62f517423 100644 --- a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/infrastructureproviders.rs +++ b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha1/infrastructureproviders.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha1/infrastructureproviders.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha1/infrastructureproviders.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/addonproviders.rs b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/addonproviders.rs index 77066de9e..161e63256 100644 --- a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/addonproviders.rs +++ b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/addonproviders.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha2/addonproviders.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha2/addonproviders.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/bootstrapproviders.rs b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/bootstrapproviders.rs index 29d559129..2f511ccb0 100644 --- a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/bootstrapproviders.rs +++ b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/bootstrapproviders.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha2/bootstrapproviders.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha2/bootstrapproviders.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/controlplaneproviders.rs b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/controlplaneproviders.rs index 576e50eb9..77fe8b12a 100644 --- a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/controlplaneproviders.rs +++ b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/controlplaneproviders.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha2/controlplaneproviders.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha2/controlplaneproviders.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/coreproviders.rs b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/coreproviders.rs index 2aadde84e..545398a44 100644 --- a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/coreproviders.rs +++ b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/coreproviders.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha2/coreproviders.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha2/coreproviders.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/infrastructureproviders.rs b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/infrastructureproviders.rs index 5cd1945fb..09d2000a1 100644 --- a/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/infrastructureproviders.rs +++ b/kube-custom-resources-rs/src/operator_cluster_x_k8s_io/v1alpha2/infrastructureproviders.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha2/infrastructureproviders.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api-operator/operator.cluster.x-k8s.io/v1alpha2/infrastructureproviders.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_cryostat_io/v1beta1/cryostats.rs b/kube-custom-resources-rs/src/operator_cryostat_io/v1beta1/cryostats.rs index 2ae755c71..09e100fe5 100644 --- a/kube-custom-resources-rs/src/operator_cryostat_io/v1beta1/cryostats.rs +++ b/kube-custom-resources-rs/src/operator_cryostat_io/v1beta1/cryostats.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cryostatio/cryostat-operator/operator.cryostat.io/v1beta1/cryostats.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cryostatio/cryostat-operator/operator.cryostat.io/v1beta1/cryostats.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// CryostatSpec defines the desired state of Cryostat. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "operator.cryostat.io", version = "v1beta1", kind = "Cryostat", plural = "cryostats")] #[kube(namespaced)] #[kube(status = "CryostatStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct CryostatSpec { /// Override default authorization properties for Cryostat on OpenShift. @@ -73,7 +74,7 @@ pub struct CryostatSpec { } /// Override default authorization properties for Cryostat on OpenShift. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatAuthProperties { /// Name of the ClusterRole to use when Cryostat requests a role-scoped OAuth token. This ClusterRole should contain permissions for all Kubernetes objects listed in custom permission mapping. More details: https://docs.openshift.com/container-platform/4.11/authentication/tokens-scoping.html#scoping-tokens-role-scope_configuring-internal-oauth #[serde(rename = "clusterRoleName")] @@ -86,7 +87,7 @@ pub struct CryostatAuthProperties { } /// A ConfigMap containing a .jfc template file. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatEventTemplates { /// Name of config map in the local namespace. #[serde(rename = "configMapName")] @@ -96,7 +97,7 @@ pub struct CryostatEventTemplates { } /// Options to customize the JMX target connections cache for the Cryostat application. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatJmxCacheOptions { /// The maximum number of JMX connections to cache. Use `-1` for an unlimited cache size (TTL expiration only). Defaults to `-1`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "targetCacheSize")] @@ -107,7 +108,7 @@ pub struct CryostatJmxCacheOptions { } /// Options to configure the Cryostat application's credentials database. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatJmxCredentialsDatabaseOptions { /// Name of the secret containing the password to encrypt credentials database. #[serde(default, skip_serializing_if = "Option::is_none", rename = "databaseSecretName")] @@ -115,7 +116,7 @@ pub struct CryostatJmxCredentialsDatabaseOptions { } /// Options to control how the operator exposes the application outside of the cluster, such as using an Ingress or Route. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptions { /// Specifications for how to expose the Cryostat command service, which serves the WebSocket command channel. /// Deprecated: CommandConfig is no longer used. @@ -131,7 +132,7 @@ pub struct CryostatNetworkOptions { /// Specifications for how to expose the Cryostat command service, which serves the WebSocket command channel. /// Deprecated: CommandConfig is no longer used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCommandConfig { /// Annotations to add to the Ingress or Route during its creation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -145,7 +146,7 @@ pub struct CryostatNetworkOptionsCommandConfig { } /// Configuration for an Ingress object. Currently subpaths are not supported, so unique hosts must be specified (if a single external IP is being used) to differentiate between ingresses/services. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCommandConfigIngressSpec { /// DefaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultBackend")] @@ -162,7 +163,7 @@ pub struct CryostatNetworkOptionsCommandConfigIngressSpec { } /// DefaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCommandConfigIngressSpecDefaultBackend { /// Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -173,7 +174,7 @@ pub struct CryostatNetworkOptionsCommandConfigIngressSpecDefaultBackend { } /// Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCommandConfigIngressSpecDefaultBackendResource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -185,7 +186,7 @@ pub struct CryostatNetworkOptionsCommandConfigIngressSpecDefaultBackendResource } /// Service references a Service as a Backend. This is a mutually exclusive setting with "Resource". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCommandConfigIngressSpecDefaultBackendService { /// Name is the referenced service. The service must exist in the same namespace as the Ingress object. pub name: String, @@ -195,7 +196,7 @@ pub struct CryostatNetworkOptionsCommandConfigIngressSpecDefaultBackendService { } /// Port of the referenced service. A port name or port number is required for a IngressServiceBackend. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCommandConfigIngressSpecDefaultBackendServicePort { /// Name is the name of the port on the Service. This is a mutually exclusive setting with "Number". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -206,7 +207,7 @@ pub struct CryostatNetworkOptionsCommandConfigIngressSpecDefaultBackendServicePo } /// IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCommandConfigIngressSpecRules { /// Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the "host" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the IP in the Spec of the parent Ingress. 2. The `:` delimiter is not respected because ports are not allowed. Currently the port of an Ingress is implicitly :80 for http and :443 for https. Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue. /// Host can be "precise" which is a domain name without the terminating dot of a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. "*.foo.com"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule. @@ -218,14 +219,14 @@ pub struct CryostatNetworkOptionsCommandConfigIngressSpecRules { } /// HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCommandConfigIngressSpecRulesHttp { /// A collection of paths that map requests to backends. pub paths: Vec, } /// HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCommandConfigIngressSpecRulesHttpPaths { /// Backend defines the referenced service endpoint to which the traffic will be forwarded to. pub backend: CryostatNetworkOptionsCommandConfigIngressSpecRulesHttpPathsBackend, @@ -238,7 +239,7 @@ pub struct CryostatNetworkOptionsCommandConfigIngressSpecRulesHttpPaths { } /// Backend defines the referenced service endpoint to which the traffic will be forwarded to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCommandConfigIngressSpecRulesHttpPathsBackend { /// Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -249,7 +250,7 @@ pub struct CryostatNetworkOptionsCommandConfigIngressSpecRulesHttpPathsBackend { } /// Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCommandConfigIngressSpecRulesHttpPathsBackendResource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -261,7 +262,7 @@ pub struct CryostatNetworkOptionsCommandConfigIngressSpecRulesHttpPathsBackendRe } /// Service references a Service as a Backend. This is a mutually exclusive setting with "Resource". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCommandConfigIngressSpecRulesHttpPathsBackendService { /// Name is the referenced service. The service must exist in the same namespace as the Ingress object. pub name: String, @@ -271,7 +272,7 @@ pub struct CryostatNetworkOptionsCommandConfigIngressSpecRulesHttpPathsBackendSe } /// Port of the referenced service. A port name or port number is required for a IngressServiceBackend. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCommandConfigIngressSpecRulesHttpPathsBackendServicePort { /// Name is the name of the port on the Service. This is a mutually exclusive setting with "Number". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -282,7 +283,7 @@ pub struct CryostatNetworkOptionsCommandConfigIngressSpecRulesHttpPathsBackendSe } /// IngressTLS describes the transport layer security associated with an Ingress. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCommandConfigIngressSpecTls { /// Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -293,7 +294,7 @@ pub struct CryostatNetworkOptionsCommandConfigIngressSpecTls { } /// Specifications for how to expose the Cryostat service, which serves the Cryostat application. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCoreConfig { /// Annotations to add to the Ingress or Route during its creation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -307,7 +308,7 @@ pub struct CryostatNetworkOptionsCoreConfig { } /// Configuration for an Ingress object. Currently subpaths are not supported, so unique hosts must be specified (if a single external IP is being used) to differentiate between ingresses/services. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCoreConfigIngressSpec { /// DefaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultBackend")] @@ -324,7 +325,7 @@ pub struct CryostatNetworkOptionsCoreConfigIngressSpec { } /// DefaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCoreConfigIngressSpecDefaultBackend { /// Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -335,7 +336,7 @@ pub struct CryostatNetworkOptionsCoreConfigIngressSpecDefaultBackend { } /// Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCoreConfigIngressSpecDefaultBackendResource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -347,7 +348,7 @@ pub struct CryostatNetworkOptionsCoreConfigIngressSpecDefaultBackendResource { } /// Service references a Service as a Backend. This is a mutually exclusive setting with "Resource". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCoreConfigIngressSpecDefaultBackendService { /// Name is the referenced service. The service must exist in the same namespace as the Ingress object. pub name: String, @@ -357,7 +358,7 @@ pub struct CryostatNetworkOptionsCoreConfigIngressSpecDefaultBackendService { } /// Port of the referenced service. A port name or port number is required for a IngressServiceBackend. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCoreConfigIngressSpecDefaultBackendServicePort { /// Name is the name of the port on the Service. This is a mutually exclusive setting with "Number". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -368,7 +369,7 @@ pub struct CryostatNetworkOptionsCoreConfigIngressSpecDefaultBackendServicePort } /// IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCoreConfigIngressSpecRules { /// Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the "host" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the IP in the Spec of the parent Ingress. 2. The `:` delimiter is not respected because ports are not allowed. Currently the port of an Ingress is implicitly :80 for http and :443 for https. Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue. /// Host can be "precise" which is a domain name without the terminating dot of a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. "*.foo.com"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule. @@ -380,14 +381,14 @@ pub struct CryostatNetworkOptionsCoreConfigIngressSpecRules { } /// HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCoreConfigIngressSpecRulesHttp { /// A collection of paths that map requests to backends. pub paths: Vec, } /// HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCoreConfigIngressSpecRulesHttpPaths { /// Backend defines the referenced service endpoint to which the traffic will be forwarded to. pub backend: CryostatNetworkOptionsCoreConfigIngressSpecRulesHttpPathsBackend, @@ -400,7 +401,7 @@ pub struct CryostatNetworkOptionsCoreConfigIngressSpecRulesHttpPaths { } /// Backend defines the referenced service endpoint to which the traffic will be forwarded to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCoreConfigIngressSpecRulesHttpPathsBackend { /// Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -411,7 +412,7 @@ pub struct CryostatNetworkOptionsCoreConfigIngressSpecRulesHttpPathsBackend { } /// Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCoreConfigIngressSpecRulesHttpPathsBackendResource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -423,7 +424,7 @@ pub struct CryostatNetworkOptionsCoreConfigIngressSpecRulesHttpPathsBackendResou } /// Service references a Service as a Backend. This is a mutually exclusive setting with "Resource". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCoreConfigIngressSpecRulesHttpPathsBackendService { /// Name is the referenced service. The service must exist in the same namespace as the Ingress object. pub name: String, @@ -433,7 +434,7 @@ pub struct CryostatNetworkOptionsCoreConfigIngressSpecRulesHttpPathsBackendServi } /// Port of the referenced service. A port name or port number is required for a IngressServiceBackend. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCoreConfigIngressSpecRulesHttpPathsBackendServicePort { /// Name is the name of the port on the Service. This is a mutually exclusive setting with "Number". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -444,7 +445,7 @@ pub struct CryostatNetworkOptionsCoreConfigIngressSpecRulesHttpPathsBackendServi } /// IngressTLS describes the transport layer security associated with an Ingress. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsCoreConfigIngressSpecTls { /// Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -455,7 +456,7 @@ pub struct CryostatNetworkOptionsCoreConfigIngressSpecTls { } /// Specifications for how to expose Cryostat's Grafana service, which serves the Grafana dashboard. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsGrafanaConfig { /// Annotations to add to the Ingress or Route during its creation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -469,7 +470,7 @@ pub struct CryostatNetworkOptionsGrafanaConfig { } /// Configuration for an Ingress object. Currently subpaths are not supported, so unique hosts must be specified (if a single external IP is being used) to differentiate between ingresses/services. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsGrafanaConfigIngressSpec { /// DefaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultBackend")] @@ -486,7 +487,7 @@ pub struct CryostatNetworkOptionsGrafanaConfigIngressSpec { } /// DefaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsGrafanaConfigIngressSpecDefaultBackend { /// Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -497,7 +498,7 @@ pub struct CryostatNetworkOptionsGrafanaConfigIngressSpecDefaultBackend { } /// Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsGrafanaConfigIngressSpecDefaultBackendResource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -509,7 +510,7 @@ pub struct CryostatNetworkOptionsGrafanaConfigIngressSpecDefaultBackendResource } /// Service references a Service as a Backend. This is a mutually exclusive setting with "Resource". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsGrafanaConfigIngressSpecDefaultBackendService { /// Name is the referenced service. The service must exist in the same namespace as the Ingress object. pub name: String, @@ -519,7 +520,7 @@ pub struct CryostatNetworkOptionsGrafanaConfigIngressSpecDefaultBackendService { } /// Port of the referenced service. A port name or port number is required for a IngressServiceBackend. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsGrafanaConfigIngressSpecDefaultBackendServicePort { /// Name is the name of the port on the Service. This is a mutually exclusive setting with "Number". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -530,7 +531,7 @@ pub struct CryostatNetworkOptionsGrafanaConfigIngressSpecDefaultBackendServicePo } /// IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsGrafanaConfigIngressSpecRules { /// Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the "host" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the IP in the Spec of the parent Ingress. 2. The `:` delimiter is not respected because ports are not allowed. Currently the port of an Ingress is implicitly :80 for http and :443 for https. Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue. /// Host can be "precise" which is a domain name without the terminating dot of a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. "*.foo.com"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule. @@ -542,14 +543,14 @@ pub struct CryostatNetworkOptionsGrafanaConfigIngressSpecRules { } /// HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsGrafanaConfigIngressSpecRulesHttp { /// A collection of paths that map requests to backends. pub paths: Vec, } /// HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsGrafanaConfigIngressSpecRulesHttpPaths { /// Backend defines the referenced service endpoint to which the traffic will be forwarded to. pub backend: CryostatNetworkOptionsGrafanaConfigIngressSpecRulesHttpPathsBackend, @@ -562,7 +563,7 @@ pub struct CryostatNetworkOptionsGrafanaConfigIngressSpecRulesHttpPaths { } /// Backend defines the referenced service endpoint to which the traffic will be forwarded to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsGrafanaConfigIngressSpecRulesHttpPathsBackend { /// Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -573,7 +574,7 @@ pub struct CryostatNetworkOptionsGrafanaConfigIngressSpecRulesHttpPathsBackend { } /// Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsGrafanaConfigIngressSpecRulesHttpPathsBackendResource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -585,7 +586,7 @@ pub struct CryostatNetworkOptionsGrafanaConfigIngressSpecRulesHttpPathsBackendRe } /// Service references a Service as a Backend. This is a mutually exclusive setting with "Resource". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsGrafanaConfigIngressSpecRulesHttpPathsBackendService { /// Name is the referenced service. The service must exist in the same namespace as the Ingress object. pub name: String, @@ -595,7 +596,7 @@ pub struct CryostatNetworkOptionsGrafanaConfigIngressSpecRulesHttpPathsBackendSe } /// Port of the referenced service. A port name or port number is required for a IngressServiceBackend. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsGrafanaConfigIngressSpecRulesHttpPathsBackendServicePort { /// Name is the name of the port on the Service. This is a mutually exclusive setting with "Number". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -606,7 +607,7 @@ pub struct CryostatNetworkOptionsGrafanaConfigIngressSpecRulesHttpPathsBackendSe } /// IngressTLS describes the transport layer security associated with an Ingress. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatNetworkOptionsGrafanaConfigIngressSpecTls { /// Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -617,7 +618,7 @@ pub struct CryostatNetworkOptionsGrafanaConfigIngressSpecTls { } /// Options to configure the Cryostat deployments and pods metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatOperandMetadata { /// Options to configure the Cryostat deployments metadata #[serde(default, skip_serializing_if = "Option::is_none", rename = "deploymentMetadata")] @@ -628,7 +629,7 @@ pub struct CryostatOperandMetadata { } /// Options to configure the Cryostat deployments metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatOperandMetadataDeploymentMetadata { /// Annotations to add to the resources during its creation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -639,7 +640,7 @@ pub struct CryostatOperandMetadataDeploymentMetadata { } /// Options to configure the Cryostat pods metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatOperandMetadataPodMetadata { /// Annotations to add to the resources during its creation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -650,7 +651,7 @@ pub struct CryostatOperandMetadataPodMetadata { } /// Options to configure Cryostat Automated Report Analysis. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptions { /// The number of report sidecar replica containers to deploy. Each replica can service one report generation request at a time. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -670,7 +671,7 @@ pub struct CryostatReportOptions { } /// The resources allocated to each sidecar replica. A replica with more resources can handle larger input recordings and will process them faster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -686,14 +687,14 @@ pub struct CryostatReportOptionsResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// Options to configure scheduling for the reports deployment -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptions { /// Affinity rules for scheduling Cryostat pods. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -707,7 +708,7 @@ pub struct CryostatReportOptionsSchedulingOptions { } /// Affinity rules for scheduling Cryostat pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinity { /// Node affinity scheduling rules for a Cryostat pod. See: https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#NodeAffinity #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -721,7 +722,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinity { } /// Node affinity scheduling rules for a Cryostat pod. See: https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#NodeAffinity -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -732,7 +733,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: CryostatReportOptionsSchedulingOptionsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -741,7 +742,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityNodeAffinityPreferredDu } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -752,7 +753,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityNodeAffinityPreferredDu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -764,7 +765,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityNodeAffinityPreferredDu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -776,7 +777,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityNodeAffinityPreferredDu } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -784,7 +785,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityNodeAffinityRequiredDur } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -795,7 +796,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityNodeAffinityRequiredDur } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -807,7 +808,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityNodeAffinityRequiredDur } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -819,7 +820,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityNodeAffinityRequiredDur } /// Pod affinity scheduling rules for a Cryostat pod. See: https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#PodAffinity -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -830,7 +831,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -840,7 +841,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAffinityPreferredDur } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -857,7 +858,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAffinityPreferredDur } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -868,7 +869,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAffinityPreferredDur } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -880,7 +881,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAffinityPreferredDur } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -891,7 +892,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAffinityPreferredDur } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -903,7 +904,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAffinityPreferredDur } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -920,7 +921,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAffinityRequiredDuri } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -931,7 +932,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAffinityRequiredDuri } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -943,7 +944,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAffinityRequiredDuri } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -954,7 +955,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAffinityRequiredDuri } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -966,7 +967,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAffinityRequiredDuri } /// Pod anti-affinity scheduling rules for a Cryostat pod. See: https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#PodAntiAffinity -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -977,7 +978,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -987,7 +988,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAntiAffinityPreferre } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1004,7 +1005,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAntiAffinityPreferre } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1015,7 +1016,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAntiAffinityPreferre } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1027,7 +1028,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAntiAffinityPreferre } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1038,7 +1039,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAntiAffinityPreferre } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1050,7 +1051,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAntiAffinityPreferre } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1067,7 +1068,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAntiAffinityRequired } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1078,7 +1079,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAntiAffinityRequired } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1090,7 +1091,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAntiAffinityRequired } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1101,7 +1102,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAntiAffinityRequired } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1113,7 +1114,7 @@ pub struct CryostatReportOptionsSchedulingOptionsAffinityPodAntiAffinityRequired } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSchedulingOptionsTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1133,7 +1134,7 @@ pub struct CryostatReportOptionsSchedulingOptionsTolerations { } /// Options to configure the Security Contexts for the Cryostat report generator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSecurityOptions { /// Security Context to apply to the Cryostat report generator pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "podSecurityContext")] @@ -1144,7 +1145,7 @@ pub struct CryostatReportOptionsSecurityOptions { } /// Security Context to apply to the Cryostat report generator pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSecurityOptionsPodSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -1181,7 +1182,7 @@ pub struct CryostatReportOptionsSecurityOptionsPodSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSecurityOptionsPodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1198,7 +1199,7 @@ pub struct CryostatReportOptionsSecurityOptionsPodSecurityContextSeLinuxOptions } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSecurityOptionsPodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -1210,7 +1211,7 @@ pub struct CryostatReportOptionsSecurityOptionsPodSecurityContextSeccompProfile } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSecurityOptionsPodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -1219,7 +1220,7 @@ pub struct CryostatReportOptionsSecurityOptionsPodSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSecurityOptionsPodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -1236,7 +1237,7 @@ pub struct CryostatReportOptionsSecurityOptionsPodSecurityContextWindowsOptions } /// Security Context to apply to the Cryostat report generator container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSecurityOptionsReportsSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -1274,7 +1275,7 @@ pub struct CryostatReportOptionsSecurityOptionsReportsSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSecurityOptionsReportsSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1285,7 +1286,7 @@ pub struct CryostatReportOptionsSecurityOptionsReportsSecurityContextCapabilitie } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSecurityOptionsReportsSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1302,7 +1303,7 @@ pub struct CryostatReportOptionsSecurityOptionsReportsSecurityContextSeLinuxOpti } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSecurityOptionsReportsSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -1314,7 +1315,7 @@ pub struct CryostatReportOptionsSecurityOptionsReportsSecurityContextSeccompProf } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatReportOptionsSecurityOptionsReportsSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -1331,7 +1332,7 @@ pub struct CryostatReportOptionsSecurityOptionsReportsSecurityContextWindowsOpti } /// Resource requirements for the Cryostat deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatResources { /// Resource requirements for the Cryostat application. If specifying a memory limit, at least 768MiB is recommended. #[serde(default, skip_serializing_if = "Option::is_none", rename = "coreResources")] @@ -1345,7 +1346,7 @@ pub struct CryostatResources { } /// Resource requirements for the Cryostat application. If specifying a memory limit, at least 768MiB is recommended. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatResourcesCoreResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1361,14 +1362,14 @@ pub struct CryostatResourcesCoreResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatResourcesCoreResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// Resource requirements for the JFR Data Source container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatResourcesDataSourceResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1384,14 +1385,14 @@ pub struct CryostatResourcesDataSourceResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatResourcesDataSourceResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// Resource requirements for the Grafana container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatResourcesGrafanaResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1407,14 +1408,14 @@ pub struct CryostatResourcesGrafanaResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatResourcesGrafanaResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// Options to configure scheduling for the Cryostat deployment -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptions { /// Affinity rules for scheduling Cryostat pods. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1428,7 +1429,7 @@ pub struct CryostatSchedulingOptions { } /// Affinity rules for scheduling Cryostat pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinity { /// Node affinity scheduling rules for a Cryostat pod. See: https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#NodeAffinity #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -1442,7 +1443,7 @@ pub struct CryostatSchedulingOptionsAffinity { } /// Node affinity scheduling rules for a Cryostat pod. See: https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#NodeAffinity -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -1453,7 +1454,7 @@ pub struct CryostatSchedulingOptionsAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: CryostatSchedulingOptionsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -1462,7 +1463,7 @@ pub struct CryostatSchedulingOptionsAffinityNodeAffinityPreferredDuringSchedulin } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1473,7 +1474,7 @@ pub struct CryostatSchedulingOptionsAffinityNodeAffinityPreferredDuringSchedulin } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1485,7 +1486,7 @@ pub struct CryostatSchedulingOptionsAffinityNodeAffinityPreferredDuringSchedulin } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1497,7 +1498,7 @@ pub struct CryostatSchedulingOptionsAffinityNodeAffinityPreferredDuringSchedulin } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -1505,7 +1506,7 @@ pub struct CryostatSchedulingOptionsAffinityNodeAffinityRequiredDuringScheduling } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1516,7 +1517,7 @@ pub struct CryostatSchedulingOptionsAffinityNodeAffinityRequiredDuringScheduling } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1528,7 +1529,7 @@ pub struct CryostatSchedulingOptionsAffinityNodeAffinityRequiredDuringScheduling } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1540,7 +1541,7 @@ pub struct CryostatSchedulingOptionsAffinityNodeAffinityRequiredDuringScheduling } /// Pod affinity scheduling rules for a Cryostat pod. See: https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#PodAffinity -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -1551,7 +1552,7 @@ pub struct CryostatSchedulingOptionsAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1561,7 +1562,7 @@ pub struct CryostatSchedulingOptionsAffinityPodAffinityPreferredDuringScheduling } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1578,7 +1579,7 @@ pub struct CryostatSchedulingOptionsAffinityPodAffinityPreferredDuringScheduling } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1589,7 +1590,7 @@ pub struct CryostatSchedulingOptionsAffinityPodAffinityPreferredDuringScheduling } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1601,7 +1602,7 @@ pub struct CryostatSchedulingOptionsAffinityPodAffinityPreferredDuringScheduling } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1612,7 +1613,7 @@ pub struct CryostatSchedulingOptionsAffinityPodAffinityPreferredDuringScheduling } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1624,7 +1625,7 @@ pub struct CryostatSchedulingOptionsAffinityPodAffinityPreferredDuringScheduling } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1641,7 +1642,7 @@ pub struct CryostatSchedulingOptionsAffinityPodAffinityRequiredDuringSchedulingI } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1652,7 +1653,7 @@ pub struct CryostatSchedulingOptionsAffinityPodAffinityRequiredDuringSchedulingI } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1664,7 +1665,7 @@ pub struct CryostatSchedulingOptionsAffinityPodAffinityRequiredDuringSchedulingI } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1675,7 +1676,7 @@ pub struct CryostatSchedulingOptionsAffinityPodAffinityRequiredDuringSchedulingI } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1687,7 +1688,7 @@ pub struct CryostatSchedulingOptionsAffinityPodAffinityRequiredDuringSchedulingI } /// Pod anti-affinity scheduling rules for a Cryostat pod. See: https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#PodAntiAffinity -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -1698,7 +1699,7 @@ pub struct CryostatSchedulingOptionsAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1708,7 +1709,7 @@ pub struct CryostatSchedulingOptionsAffinityPodAntiAffinityPreferredDuringSchedu } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1725,7 +1726,7 @@ pub struct CryostatSchedulingOptionsAffinityPodAntiAffinityPreferredDuringSchedu } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1736,7 +1737,7 @@ pub struct CryostatSchedulingOptionsAffinityPodAntiAffinityPreferredDuringSchedu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1748,7 +1749,7 @@ pub struct CryostatSchedulingOptionsAffinityPodAntiAffinityPreferredDuringSchedu } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1759,7 +1760,7 @@ pub struct CryostatSchedulingOptionsAffinityPodAntiAffinityPreferredDuringSchedu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1771,7 +1772,7 @@ pub struct CryostatSchedulingOptionsAffinityPodAntiAffinityPreferredDuringSchedu } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1788,7 +1789,7 @@ pub struct CryostatSchedulingOptionsAffinityPodAntiAffinityRequiredDuringSchedul } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1799,7 +1800,7 @@ pub struct CryostatSchedulingOptionsAffinityPodAntiAffinityRequiredDuringSchedul } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1811,7 +1812,7 @@ pub struct CryostatSchedulingOptionsAffinityPodAntiAffinityRequiredDuringSchedul } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1822,7 +1823,7 @@ pub struct CryostatSchedulingOptionsAffinityPodAntiAffinityRequiredDuringSchedul } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1834,7 +1835,7 @@ pub struct CryostatSchedulingOptionsAffinityPodAntiAffinityRequiredDuringSchedul } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSchedulingOptionsTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1854,7 +1855,7 @@ pub struct CryostatSchedulingOptionsTolerations { } /// Options to configure the Security Contexts for the Cryostat application. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSecurityOptions { /// Security Context to apply to the Cryostat application container. #[serde(default, skip_serializing_if = "Option::is_none", rename = "coreSecurityContext")] @@ -1871,7 +1872,7 @@ pub struct CryostatSecurityOptions { } /// Security Context to apply to the Cryostat application container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSecurityOptionsCoreSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -1909,7 +1910,7 @@ pub struct CryostatSecurityOptionsCoreSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSecurityOptionsCoreSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1920,7 +1921,7 @@ pub struct CryostatSecurityOptionsCoreSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSecurityOptionsCoreSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1937,7 +1938,7 @@ pub struct CryostatSecurityOptionsCoreSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSecurityOptionsCoreSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -1949,7 +1950,7 @@ pub struct CryostatSecurityOptionsCoreSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSecurityOptionsCoreSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -1966,7 +1967,7 @@ pub struct CryostatSecurityOptionsCoreSecurityContextWindowsOptions { } /// Security Context to apply to the JFR Data Source container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSecurityOptionsDataSourceSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -2004,7 +2005,7 @@ pub struct CryostatSecurityOptionsDataSourceSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSecurityOptionsDataSourceSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2015,7 +2016,7 @@ pub struct CryostatSecurityOptionsDataSourceSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSecurityOptionsDataSourceSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2032,7 +2033,7 @@ pub struct CryostatSecurityOptionsDataSourceSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSecurityOptionsDataSourceSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -2044,7 +2045,7 @@ pub struct CryostatSecurityOptionsDataSourceSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSecurityOptionsDataSourceSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -2061,7 +2062,7 @@ pub struct CryostatSecurityOptionsDataSourceSecurityContextWindowsOptions { } /// Security Context to apply to the Grafana container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSecurityOptionsGrafanaSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -2099,7 +2100,7 @@ pub struct CryostatSecurityOptionsGrafanaSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSecurityOptionsGrafanaSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2110,7 +2111,7 @@ pub struct CryostatSecurityOptionsGrafanaSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSecurityOptionsGrafanaSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2127,7 +2128,7 @@ pub struct CryostatSecurityOptionsGrafanaSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSecurityOptionsGrafanaSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -2139,7 +2140,7 @@ pub struct CryostatSecurityOptionsGrafanaSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSecurityOptionsGrafanaSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -2156,7 +2157,7 @@ pub struct CryostatSecurityOptionsGrafanaSecurityContextWindowsOptions { } /// Security Context to apply to the Cryostat pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSecurityOptionsPodSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -2193,7 +2194,7 @@ pub struct CryostatSecurityOptionsPodSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSecurityOptionsPodSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2210,7 +2211,7 @@ pub struct CryostatSecurityOptionsPodSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSecurityOptionsPodSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -2222,7 +2223,7 @@ pub struct CryostatSecurityOptionsPodSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSecurityOptionsPodSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -2231,7 +2232,7 @@ pub struct CryostatSecurityOptionsPodSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatSecurityOptionsPodSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -2248,7 +2249,7 @@ pub struct CryostatSecurityOptionsPodSecurityContextWindowsOptions { } /// Options to customize the services created for the Cryostat application and Grafana dashboard. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatServiceOptions { /// Specification for the service responsible for the Cryostat application. #[serde(default, skip_serializing_if = "Option::is_none", rename = "coreConfig")] @@ -2262,7 +2263,7 @@ pub struct CryostatServiceOptions { } /// Specification for the service responsible for the Cryostat application. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatServiceOptionsCoreConfig { /// Annotations to add to the service during its creation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2282,7 +2283,7 @@ pub struct CryostatServiceOptionsCoreConfig { } /// Specification for the service responsible for the Cryostat Grafana dashboard. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatServiceOptionsGrafanaConfig { /// Annotations to add to the service during its creation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2299,7 +2300,7 @@ pub struct CryostatServiceOptionsGrafanaConfig { } /// Specification for the service responsible for the cryostat-reports sidecars. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatServiceOptionsReportsConfig { /// Annotations to add to the service during its creation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2316,7 +2317,7 @@ pub struct CryostatServiceOptionsReportsConfig { } /// Options to customize the storage for Flight Recordings and Templates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatStorageOptions { /// Configuration for an EmptyDir to be created by the operator instead of a PVC. #[serde(default, skip_serializing_if = "Option::is_none", rename = "emptyDir")] @@ -2327,7 +2328,7 @@ pub struct CryostatStorageOptions { } /// Configuration for an EmptyDir to be created by the operator instead of a PVC. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatStorageOptionsEmptyDir { /// When enabled, Cryostat will use EmptyDir volumes instead of a Persistent Volume Claim. Any PVC configurations will be ignored. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2341,7 +2342,7 @@ pub struct CryostatStorageOptionsEmptyDir { } /// Configuration for the Persistent Volume Claim to be created by the operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatStorageOptionsPvc { /// Annotations to add to the Persistent Volume Claim during its creation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2355,7 +2356,7 @@ pub struct CryostatStorageOptionsPvc { } /// Spec for a Persistent Volume Claim, whose options will override the defaults used by the operator. Unless overriden, the PVC will be created with the default Storage Class and 500MiB of storage. Once the operator has created the PVC, changes to this field have no effect. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatStorageOptionsPvcSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -2384,7 +2385,7 @@ pub struct CryostatStorageOptionsPvcSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatStorageOptionsPvcSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2396,7 +2397,7 @@ pub struct CryostatStorageOptionsPvcSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatStorageOptionsPvcSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2411,7 +2412,7 @@ pub struct CryostatStorageOptionsPvcSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatStorageOptionsPvcSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -2427,14 +2428,14 @@ pub struct CryostatStorageOptionsPvcSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatStorageOptionsPvcSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatStorageOptionsPvcSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2445,7 +2446,7 @@ pub struct CryostatStorageOptionsPvcSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatStorageOptionsPvcSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2457,7 +2458,7 @@ pub struct CryostatStorageOptionsPvcSpecSelectorMatchExpressions { } /// Options to configure the Cryostat application's target discovery mechanisms. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatTargetDiscoveryOptions { /// When true, the Cryostat application will disable the built-in discovery mechanisms. Defaults to false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "builtInDiscoveryDisabled")] @@ -2476,7 +2477,7 @@ pub struct CryostatTargetDiscoveryOptions { pub discovery_port_numbers: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatTrustedCertSecrets { /// Key within secret containing the certificate. #[serde(default, skip_serializing_if = "Option::is_none", rename = "certificateKey")] @@ -2487,7 +2488,7 @@ pub struct CryostatTrustedCertSecrets { } /// CryostatStatus defines the observed state of Cryostat. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct CryostatStatus { /// Address of the deployed Cryostat web application. #[serde(rename = "applicationUrl")] diff --git a/kube-custom-resources-rs/src/operator_marin3r_3scale_net/v1alpha1/discoveryservicecertificates.rs b/kube-custom-resources-rs/src/operator_marin3r_3scale_net/v1alpha1/discoveryservicecertificates.rs index 193749681..395436938 100644 --- a/kube-custom-resources-rs/src/operator_marin3r_3scale_net/v1alpha1/discoveryservicecertificates.rs +++ b/kube-custom-resources-rs/src/operator_marin3r_3scale_net/v1alpha1/discoveryservicecertificates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/3scale-ops/marin3r/operator.marin3r.3scale.net/v1alpha1/discoveryservicecertificates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/3scale-ops/marin3r/operator.marin3r.3scale.net/v1alpha1/discoveryservicecertificates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_marin3r_3scale_net/v1alpha1/discoveryservices.rs b/kube-custom-resources-rs/src/operator_marin3r_3scale_net/v1alpha1/discoveryservices.rs index d90421896..f0f635ea1 100644 --- a/kube-custom-resources-rs/src/operator_marin3r_3scale_net/v1alpha1/discoveryservices.rs +++ b/kube-custom-resources-rs/src/operator_marin3r_3scale_net/v1alpha1/discoveryservices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/3scale-ops/marin3r/operator.marin3r.3scale.net/v1alpha1/discoveryservices.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/3scale-ops/marin3r/operator.marin3r.3scale.net/v1alpha1/discoveryservices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_marin3r_3scale_net/v1alpha1/envoydeployments.rs b/kube-custom-resources-rs/src/operator_marin3r_3scale_net/v1alpha1/envoydeployments.rs index e613e96e7..fce10b360 100644 --- a/kube-custom-resources-rs/src/operator_marin3r_3scale_net/v1alpha1/envoydeployments.rs +++ b/kube-custom-resources-rs/src/operator_marin3r_3scale_net/v1alpha1/envoydeployments.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/3scale-ops/marin3r/operator.marin3r.3scale.net/v1alpha1/envoydeployments.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/3scale-ops/marin3r/operator.marin3r.3scale.net/v1alpha1/envoydeployments.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_open_cluster_management_io/v1/clustermanagers.rs b/kube-custom-resources-rs/src/operator_open_cluster_management_io/v1/clustermanagers.rs index 63f7b32c2..09ef72f05 100644 --- a/kube-custom-resources-rs/src/operator_open_cluster_management_io/v1/clustermanagers.rs +++ b/kube-custom-resources-rs/src/operator_open_cluster_management_io/v1/clustermanagers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-cluster-management-io/ocm/operator.open-cluster-management.io/v1/clustermanagers.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-cluster-management-io/ocm/operator.open-cluster-management.io/v1/clustermanagers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,10 +13,11 @@ mod prelude { use self::prelude::*; /// Spec represents a desired deployment configuration of controllers that govern registration and work distribution for attached Klusterlets. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "operator.open-cluster-management.io", version = "v1", kind = "ClusterManager", plural = "clustermanagers")] #[kube(status = "ClusterManagerStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterManagerSpec { /// AddOnManagerConfiguration contains the configuration of addon manager @@ -52,14 +53,14 @@ pub struct ClusterManagerSpec { } /// AddOnManagerConfiguration contains the configuration of addon manager -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterManagerAddOnManagerConfiguration { /// FeatureGates represents the list of feature gates for addon manager If it is set empty, default feature gates will be used. If it is set, featuregate/Foo is an example of one item in FeatureGates: 1. If featuregate/Foo does not exist, registration-operator will discard it 2. If featuregate/Foo exists and is false by default. It is now possible to set featuregate/Foo=[false|true] 3. If featuregate/Foo exists and is true by default. If a cluster-admin upgrading from 1 to 2 wants to continue having featuregate/Foo=false, he can set featuregate/Foo=false before upgrading. Let's say the cluster-admin wants featuregate/Foo=false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "featureGates")] pub feature_gates: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterManagerAddOnManagerConfigurationFeatureGates { /// Feature is the key of feature gate. e.g. featuregate/Foo. pub feature: String, @@ -85,7 +86,7 @@ pub struct ClusterManagerDeployOption { } /// Hosted includes configurations we need for clustermanager in the Hosted mode. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterManagerDeployOptionHosted { /// RegistrationWebhookConfiguration represents the customized webhook-server configuration of registration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "registrationWebhookConfiguration")] @@ -96,7 +97,7 @@ pub struct ClusterManagerDeployOptionHosted { } /// RegistrationWebhookConfiguration represents the customized webhook-server configuration of registration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterManagerDeployOptionHostedRegistrationWebhookConfiguration { /// Address represents the address of a webhook-server. It could be in IP format or fqdn format. The Address must be reachable by apiserver of the hub cluster. pub address: String, @@ -106,7 +107,7 @@ pub struct ClusterManagerDeployOptionHostedRegistrationWebhookConfiguration { } /// WorkWebhookConfiguration represents the customized webhook-server configuration of work. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterManagerDeployOptionHostedWorkWebhookConfiguration { /// Address represents the address of a webhook-server. It could be in IP format or fqdn format. The Address must be reachable by apiserver of the hub cluster. pub address: String, @@ -123,7 +124,7 @@ pub enum ClusterManagerDeployOptionMode { } /// NodePlacement enables explicit control over the scheduling of the deployed pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterManagerNodePlacement { /// NodeSelector defines which Nodes the Pods are scheduled on. The default is an empty list. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelector")] @@ -134,7 +135,7 @@ pub struct ClusterManagerNodePlacement { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterManagerNodePlacementTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -154,7 +155,7 @@ pub struct ClusterManagerNodePlacementTolerations { } /// RegistrationConfiguration contains the configuration of registration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterManagerRegistrationConfiguration { /// AutoApproveUser represents a list of users that can auto approve CSR and accept client. If the credential of the bootstrap-hub-kubeconfig matches to the users, the cluster created by the bootstrap-hub-kubeconfig will be auto-registered into the hub cluster. This takes effect only when ManagedClusterAutoApproval feature gate is enabled. #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoApproveUsers")] @@ -164,7 +165,7 @@ pub struct ClusterManagerRegistrationConfiguration { pub feature_gates: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterManagerRegistrationConfigurationFeatureGates { /// Feature is the key of feature gate. e.g. featuregate/Foo. pub feature: String, @@ -180,7 +181,7 @@ pub enum ClusterManagerRegistrationConfigurationFeatureGatesMode { } /// ResourceRequirement specify QoS classes of deployments managed by clustermanager. It applies to all the containers in the deployments. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterManagerResourceRequirement { /// ResourceRequirements defines resource requests and limits when Type is ResourceQosClassResourceRequirement #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceRequirements")] @@ -190,7 +191,7 @@ pub struct ClusterManagerResourceRequirement { } /// ResourceRequirements defines resource requests and limits when Type is ResourceQosClassResourceRequirement -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterManagerResourceRequirementResourceRequirements { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -206,7 +207,7 @@ pub struct ClusterManagerResourceRequirementResourceRequirements { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterManagerResourceRequirementResourceRequirementsClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, @@ -221,7 +222,7 @@ pub enum ClusterManagerResourceRequirementType { } /// WorkConfiguration contains the configuration of work -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterManagerWorkConfiguration { /// FeatureGates represents the list of feature gates for work If it is set empty, default feature gates will be used. If it is set, featuregate/Foo is an example of one item in FeatureGates: 1. If featuregate/Foo does not exist, registration-operator will discard it 2. If featuregate/Foo exists and is false by default. It is now possible to set featuregate/Foo=[false|true] 3. If featuregate/Foo exists and is true by default. If a cluster-admin upgrading from 1 to 2 wants to continue having featuregate/Foo=false, he can set featuregate/Foo=false before upgrading. Let's say the cluster-admin wants featuregate/Foo=false. #[serde(default, skip_serializing_if = "Option::is_none", rename = "featureGates")] @@ -232,7 +233,7 @@ pub struct ClusterManagerWorkConfiguration { pub work_driver: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterManagerWorkConfigurationFeatureGates { /// Feature is the key of feature gate. e.g. featuregate/Foo. pub feature: String, @@ -259,7 +260,7 @@ pub enum ClusterManagerWorkConfigurationWorkDriver { } /// Status represents the current status of controllers that govern the lifecycle of managed clusters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterManagerStatus { /// Conditions contain the different condition statuses for this ClusterManager. Valid condition types are: Applied: Components in hub are applied. Available: Components in hub are available and ready to serve. Progressing: Components in hub are in a transitioning state. Degraded: Components in hub do not match the desired configuration and only provide degraded service. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -276,7 +277,7 @@ pub struct ClusterManagerStatus { } /// GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. The definition matches the GenerationStatus defined in github.com/openshift/api/v1 -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterManagerStatusGenerations { /// group is the group of the resource that you're tracking #[serde(default, skip_serializing_if = "Option::is_none")] @@ -299,7 +300,7 @@ pub struct ClusterManagerStatusGenerations { } /// RelatedResourceMeta represents the resource that is managed by an operator -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterManagerStatusRelatedResources { /// group is the group of the resource that you're tracking #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/operator_open_cluster_management_io/v1/klusterlets.rs b/kube-custom-resources-rs/src/operator_open_cluster_management_io/v1/klusterlets.rs index ee1713517..305c43cef 100644 --- a/kube-custom-resources-rs/src/operator_open_cluster_management_io/v1/klusterlets.rs +++ b/kube-custom-resources-rs/src/operator_open_cluster_management_io/v1/klusterlets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-cluster-management-io/ocm/operator.open-cluster-management.io/v1/klusterlets.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-cluster-management-io/ocm/operator.open-cluster-management.io/v1/klusterlets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,10 +13,11 @@ mod prelude { use self::prelude::*; /// Spec represents the desired deployment configuration of Klusterlet agent. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "operator.open-cluster-management.io", version = "v1", kind = "Klusterlet", plural = "klusterlets")] #[kube(status = "KlusterletStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct KlusterletSpec { /// ClusterName is the name of the managed cluster to be created on hub. The Klusterlet agent generates a random name if it is not set, or discovers the appropriate cluster name on OpenShift. @@ -61,7 +62,7 @@ pub struct KlusterletSpec { } /// DeployOption contains the options of deploying a klusterlet -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KlusterletDeployOption { /// Mode can be Default, Hosted, Singleton or SingletonHosted. It is Default mode if not specified In Default mode, all klusterlet related resources are deployed on the managed cluster. In Hosted mode, only crd and configurations are installed on the spoke/managed cluster. Controllers run in another cluster (defined as management-cluster) and connect to the mangaged cluster with the kubeconfig in secret of "external-managed-kubeconfig"(a kubeconfig of managed-cluster with cluster-admin permission). In Singleton mode, registration/work agent is started as a single deployment. In SingletonHosted mode, agent is started as a single deployment in hosted mode. Note: Do not modify the Mode field once it's applied. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -69,7 +70,7 @@ pub struct KlusterletDeployOption { } /// ServerURL represents the apiserver url and ca bundle that is accessible externally -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KlusterletExternalServerUrLs { /// CABundle is the ca bundle to connect to apiserver of the managed cluster. System certs are used if it is not set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "caBundle")] @@ -80,7 +81,7 @@ pub struct KlusterletExternalServerUrLs { } /// HubApiServerHostAlias contains the host alias for hub api server. registration-agent and work-agent will use it to communicate with hub api server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KlusterletHubApiServerHostAlias { /// Hostname for the above IP address. pub hostname: String, @@ -89,7 +90,7 @@ pub struct KlusterletHubApiServerHostAlias { } /// NodePlacement enables explicit control over the scheduling of the deployed pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KlusterletNodePlacement { /// NodeSelector defines which Nodes the Pods are scheduled on. The default is an empty list. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelector")] @@ -100,7 +101,7 @@ pub struct KlusterletNodePlacement { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KlusterletNodePlacementTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -120,7 +121,7 @@ pub struct KlusterletNodePlacementTolerations { } /// RegistrationConfiguration contains the configuration of registration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KlusterletRegistrationConfiguration { /// BootstrapKubeConfigs defines the ordered list of bootstrap kubeconfigs. The order decides which bootstrap kubeconfig to use first when rebootstrap. /// When the agent loses the connection to the current hub over HubConnectionTimeoutSeconds, or the managedcluster CR is set `hubAcceptsClient=false` on the hub, the controller marks the related bootstrap kubeconfig as "failed". @@ -147,7 +148,7 @@ pub struct KlusterletRegistrationConfiguration { /// BootstrapKubeConfigs defines the ordered list of bootstrap kubeconfigs. The order decides which bootstrap kubeconfig to use first when rebootstrap. /// When the agent loses the connection to the current hub over HubConnectionTimeoutSeconds, or the managedcluster CR is set `hubAcceptsClient=false` on the hub, the controller marks the related bootstrap kubeconfig as "failed". /// A failed bootstrapkubeconfig won't be used for the duration specified by SkipFailedBootstrapKubeConfigSeconds. But if the user updates the content of a failed bootstrapkubeconfig, the "failed" mark will be cleared. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KlusterletRegistrationConfigurationBootstrapKubeConfigs { /// LocalSecretsConfig include a list of secrets that contains the kubeconfigs for ordered bootstrap kubeconifigs. The secrets must be in the same namespace where the agent controller runs. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localSecretsConfig")] @@ -158,7 +159,7 @@ pub struct KlusterletRegistrationConfigurationBootstrapKubeConfigs { } /// LocalSecretsConfig include a list of secrets that contains the kubeconfigs for ordered bootstrap kubeconifigs. The secrets must be in the same namespace where the agent controller runs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KlusterletRegistrationConfigurationBootstrapKubeConfigsLocalSecretsConfig { /// HubConnectionTimeoutSeconds is used to set the timeout of connecting to the hub cluster. When agent loses the connection to the hub over the timeout seconds, the agent do a rebootstrap. By default is 10 mins. #[serde(default, skip_serializing_if = "Option::is_none", rename = "hubConnectionTimeoutSeconds")] @@ -177,7 +178,7 @@ pub enum KlusterletRegistrationConfigurationBootstrapKubeConfigsType { LocalSecrets, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KlusterletRegistrationConfigurationFeatureGates { /// Feature is the key of feature gate. e.g. featuregate/Foo. pub feature: String, @@ -193,7 +194,7 @@ pub enum KlusterletRegistrationConfigurationFeatureGatesMode { } /// ResourceRequirement specify QoS classes of deployments managed by klusterlet. It applies to all the containers in the deployments. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KlusterletResourceRequirement { /// ResourceRequirements defines resource requests and limits when Type is ResourceQosClassResourceRequirement #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceRequirements")] @@ -203,7 +204,7 @@ pub struct KlusterletResourceRequirement { } /// ResourceRequirements defines resource requests and limits when Type is ResourceQosClassResourceRequirement -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KlusterletResourceRequirementResourceRequirements { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -219,7 +220,7 @@ pub struct KlusterletResourceRequirementResourceRequirements { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KlusterletResourceRequirementResourceRequirementsClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, @@ -234,7 +235,7 @@ pub enum KlusterletResourceRequirementType { } /// WorkConfiguration contains the configuration of work -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KlusterletWorkConfiguration { /// AppliedManifestWorkEvictionGracePeriod is the eviction grace period the work agent will wait before evicting the AppliedManifestWorks, whose corresponding ManifestWorks are missing on the hub cluster, from the managed cluster. If not present, the default value of the work agent will be used. #[serde(default, skip_serializing_if = "Option::is_none", rename = "appliedManifestWorkEvictionGracePeriod")] @@ -250,7 +251,7 @@ pub struct KlusterletWorkConfiguration { pub kube_apiqps: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KlusterletWorkConfigurationFeatureGates { /// Feature is the key of feature gate. e.g. featuregate/Foo. pub feature: String, @@ -266,7 +267,7 @@ pub enum KlusterletWorkConfigurationFeatureGatesMode { } /// Status represents the current status of Klusterlet agent. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KlusterletStatus { /// Conditions contain the different condition statuses for this Klusterlet. Valid condition types are: Applied: Components have been applied in the managed cluster. Available: Components in the managed cluster are available and ready to serve. Progressing: Components in the managed cluster are in a transitioning state. Degraded: Components in the managed cluster do not match the desired configuration and only provide degraded service. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -283,7 +284,7 @@ pub struct KlusterletStatus { } /// GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. The definition matches the GenerationStatus defined in github.com/openshift/api/v1 -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KlusterletStatusGenerations { /// group is the group of the resource that you're tracking #[serde(default, skip_serializing_if = "Option::is_none")] @@ -306,7 +307,7 @@ pub struct KlusterletStatusGenerations { } /// RelatedResourceMeta represents the resource that is managed by an operator -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KlusterletStatusRelatedResources { /// group is the group of the resource that you're tracking #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/operator_shipwright_io/v1alpha1/shipwrightbuilds.rs b/kube-custom-resources-rs/src/operator_shipwright_io/v1alpha1/shipwrightbuilds.rs index 06269aca9..16b7e9889 100644 --- a/kube-custom-resources-rs/src/operator_shipwright_io/v1alpha1/shipwrightbuilds.rs +++ b/kube-custom-resources-rs/src/operator_shipwright_io/v1alpha1/shipwrightbuilds.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/shipwright-io/operator/operator.shipwright.io/v1alpha1/shipwrightbuilds.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/shipwright-io/operator/operator.shipwright.io/v1alpha1/shipwrightbuilds.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { use self::prelude::*; /// ShipwrightBuildSpec defines the configuration of a Shipwright Build deployment. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "operator.shipwright.io", version = "v1alpha1", kind = "ShipwrightBuild", plural = "shipwrightbuilds")] #[kube(status = "ShipwrightBuildStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ShipwrightBuildSpec { /// TargetNamespace is the target namespace where Shipwright's build controller will be deployed. @@ -23,7 +24,7 @@ pub struct ShipwrightBuildSpec { } /// ShipwrightBuildStatus defines the observed state of ShipwrightBuild -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ShipwrightBuildStatus { /// Conditions holds the latest available observations of a resource's current state. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonchains.rs b/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonchains.rs index c6f9ad5f8..c90fc33f7 100644 --- a/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonchains.rs +++ b/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonchains.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tektoncd/operator/operator.tekton.dev/v1alpha1/tektonchains.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tektoncd/operator/operator.tekton.dev/v1alpha1/tektonchains.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonconfigs.rs b/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonconfigs.rs index 033b90238..cbe0b41f7 100644 --- a/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonconfigs.rs +++ b/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tektoncd/operator/operator.tekton.dev/v1alpha1/tektonconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tektoncd/operator/operator.tekton.dev/v1alpha1/tektonconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonhubs.rs b/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonhubs.rs index fc74bc5bb..e7f21ac31 100644 --- a/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonhubs.rs +++ b/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonhubs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tektoncd/operator/operator.tekton.dev/v1alpha1/tektonhubs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tektoncd/operator/operator.tekton.dev/v1alpha1/tektonhubs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektoninstallersets.rs b/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektoninstallersets.rs index 8d037dda6..24cc18886 100644 --- a/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektoninstallersets.rs +++ b/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektoninstallersets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tektoncd/operator/operator.tekton.dev/v1alpha1/tektoninstallersets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tektoncd/operator/operator.tekton.dev/v1alpha1/tektoninstallersets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonpipelines.rs b/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonpipelines.rs index 405700c1f..916cbb1a4 100644 --- a/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonpipelines.rs +++ b/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektonpipelines.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tektoncd/operator/operator.tekton.dev/v1alpha1/tektonpipelines.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tektoncd/operator/operator.tekton.dev/v1alpha1/tektonpipelines.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektontriggers.rs b/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektontriggers.rs index 19351a6e4..62cf038a9 100644 --- a/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektontriggers.rs +++ b/kube-custom-resources-rs/src/operator_tekton_dev/v1alpha1/tektontriggers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tektoncd/operator/operator.tekton.dev/v1alpha1/tektontriggers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tektoncd/operator/operator.tekton.dev/v1alpha1/tektontriggers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/amazoncloudintegrations.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/amazoncloudintegrations.rs index 54975aeeb..86126e4dc 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/amazoncloudintegrations.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/amazoncloudintegrations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/amazoncloudintegrations.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/amazoncloudintegrations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { use self::prelude::*; /// AmazonCloudIntegrationSpec defines the desired state of AmazonCloudIntegration -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "operator.tigera.io", version = "v1", kind = "AmazonCloudIntegration", plural = "amazoncloudintegrations")] #[kube(status = "AmazonCloudIntegrationStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct AmazonCloudIntegrationSpec { /// AWSRegion is the region in which your cluster is located. @@ -51,7 +52,7 @@ pub enum AmazonCloudIntegrationDefaultPodMetadataAccess { } /// AmazonCloudIntegrationStatus defines the observed state of AmazonCloudIntegration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AmazonCloudIntegrationStatus { /// Conditions represents the latest observed set of conditions for the component. A component may be one or more of Ready, Progressing, Degraded or other customer types. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/apiservers.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/apiservers.rs index d7abea7bf..c31197d67 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/apiservers.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/apiservers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/apiservers.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/apiservers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,10 +13,11 @@ mod prelude { use self::prelude::*; /// Specification of the desired state for the Tigera API server. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "operator.tigera.io", version = "v1", kind = "APIServer", plural = "apiservers")] #[kube(status = "APIServerStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct APIServerSpec { /// APIServerDeployment configures the calico-apiserver (or tigera-apiserver in Enterprise) Deployment. If @@ -29,7 +30,7 @@ pub struct APIServerSpec { /// APIServerDeployment configures the calico-apiserver (or tigera-apiserver in Enterprise) Deployment. If /// used in conjunction with ControlPlaneNodeSelector or ControlPlaneTolerations, then these overrides /// take precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeployment { /// Metadata is a subset of a Kubernetes object's metadata that is added to the Deployment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -40,7 +41,7 @@ pub struct APIServerApiServerDeployment { } /// Metadata is a subset of a Kubernetes object's metadata that is added to the Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -55,7 +56,7 @@ pub struct APIServerApiServerDeploymentMetadata { } /// Spec is the specification of the API server Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpec { /// MinReadySeconds is the minimum number of seconds for which a newly created Deployment pod should /// be ready without any of its container crashing, for it to be considered available. @@ -69,7 +70,7 @@ pub struct APIServerApiServerDeploymentSpec { } /// Template describes the API server Deployment pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. @@ -82,7 +83,7 @@ pub struct APIServerApiServerDeploymentSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -97,7 +98,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateMetadata { } /// Spec is the API server Deployment's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpec { /// Affinity is a group of affinity scheduling rules for the API server pods. /// If specified, this overrides any affinity that may be set on the API server Deployment. @@ -142,7 +143,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpec { /// If specified, this overrides any affinity that may be set on the API server Deployment. /// If omitted, the API server Deployment will use its default value for affinity. /// WARNING: Please note that this field will override the default API server Deployment affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -156,7 +157,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -180,7 +181,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: APIServerApiServerDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -189,7 +190,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityNodeAffinityPrefe } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -201,7 +202,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityNodeAffinityPrefe /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -219,7 +220,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityNodeAffinityPrefe /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -240,7 +241,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityNodeAffinityPrefe /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -250,7 +251,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityNodeAffinityRequi /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -262,7 +263,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityNodeAffinityRequi /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -280,7 +281,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityNodeAffinityRequi /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -297,7 +298,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityNodeAffinityRequi } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -322,7 +323,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -333,7 +334,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAffinityPrefer } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -361,7 +362,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAffinityPrefer } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -375,7 +376,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAffinityPrefer /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -395,7 +396,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAffinityPrefer /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -409,7 +410,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAffinityPrefer /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -430,7 +431,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAffinityPrefer /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -458,7 +459,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAffinityRequir } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -472,7 +473,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAffinityRequir /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -492,7 +493,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAffinityRequir /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -506,7 +507,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAffinityRequir /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -522,7 +523,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAffinityRequir } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -547,7 +548,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -558,7 +559,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAntiAffinityPr } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -586,7 +587,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAntiAffinityPr } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -600,7 +601,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAntiAffinityPr /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -620,7 +621,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAntiAffinityPr /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -634,7 +635,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAntiAffinityPr /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -655,7 +656,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAntiAffinityPr /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -683,7 +684,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAntiAffinityRe } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -697,7 +698,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAntiAffinityRe /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -717,7 +718,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAntiAffinityRe /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -731,7 +732,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAntiAffinityRe /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -773,7 +774,7 @@ pub enum APIServerApiServerDeploymentSpecTemplateSpecContainersName { /// If specified, this overrides the named API server Deployment container's resources. /// If omitted, the API server Deployment will use its default value for this container's resources. /// If used in conjunction with the deprecated ComponentResources, then this value takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -795,7 +796,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -826,7 +827,7 @@ pub enum APIServerApiServerDeploymentSpecTemplateSpecInitContainersName { /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named API server Deployment init container's resources. /// If omitted, the API server Deployment will use its default value for this init container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -848,7 +849,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -858,7 +859,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecInitContainersResourcesCl /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -887,7 +888,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods @@ -999,7 +1000,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecTopologySpreadConstraints /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods /// in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1013,7 +1014,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecTopologySpreadConstraints /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerApiServerDeploymentSpecTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1029,7 +1030,7 @@ pub struct APIServerApiServerDeploymentSpecTemplateSpecTopologySpreadConstraints } /// Most recently observed status for the Tigera API server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct APIServerStatus { /// Conditions represents the latest observed set of conditions for the component. A component may be one or more of /// Ready, Progressing, Degraded or other customer types. diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/applicationlayers.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/applicationlayers.rs index 3d319ea7e..a424d2d84 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/applicationlayers.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/applicationlayers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/applicationlayers.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/applicationlayers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,10 +13,11 @@ mod prelude { use self::prelude::*; /// ApplicationLayerSpec defines the desired state of ApplicationLayer -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "operator.tigera.io", version = "v1", kind = "ApplicationLayer", plural = "applicationlayers")] #[kube(status = "ApplicationLayerStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ApplicationLayerSpec { /// Application Layer Policy controls whether or not ALP enforcement is enabled for the cluster. @@ -39,7 +40,7 @@ pub struct ApplicationLayerSpec { } /// User-configurable settings for the Envoy proxy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApplicationLayerEnvoy { /// If set to true, the Envoy connection manager will use the real remote address /// of the client connection when determining internal versus external origin and @@ -54,7 +55,7 @@ pub struct ApplicationLayerEnvoy { } /// L7LogCollectorDaemonSet configures the L7LogCollector DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApplicationLayerL7LogCollectorDaemonSet { /// Spec is the specification of the L7LogCollector DaemonSet. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -62,7 +63,7 @@ pub struct ApplicationLayerL7LogCollectorDaemonSet { } /// Spec is the specification of the L7LogCollector DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApplicationLayerL7LogCollectorDaemonSetSpec { /// Template describes the L7LogCollector DaemonSet pod that will be created. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -70,7 +71,7 @@ pub struct ApplicationLayerL7LogCollectorDaemonSetSpec { } /// Template describes the L7LogCollector DaemonSet pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApplicationLayerL7LogCollectorDaemonSetSpecTemplate { /// Spec is the L7LogCollector DaemonSet's PodSpec. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -78,7 +79,7 @@ pub struct ApplicationLayerL7LogCollectorDaemonSetSpecTemplate { } /// Spec is the L7LogCollector DaemonSet's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApplicationLayerL7LogCollectorDaemonSetSpecTemplateSpec { /// Containers is a list of L7LogCollector DaemonSet containers. /// If specified, this overrides the specified L7LogCollector DaemonSet containers. @@ -119,7 +120,7 @@ pub enum ApplicationLayerL7LogCollectorDaemonSetSpecTemplateSpecContainersName { /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named L7LogCollector DaemonSet container's resources. /// If omitted, the L7LogCollector DaemonSet will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApplicationLayerL7LogCollectorDaemonSetSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -141,7 +142,7 @@ pub struct ApplicationLayerL7LogCollectorDaemonSetSpecTemplateSpecContainersReso } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApplicationLayerL7LogCollectorDaemonSetSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -150,7 +151,7 @@ pub struct ApplicationLayerL7LogCollectorDaemonSetSpecTemplateSpecContainersReso } /// L7LogCollectorDaemonSetInitContainer is a L7LogCollector DaemonSet init container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApplicationLayerL7LogCollectorDaemonSetSpecTemplateSpecInitContainers { /// Name is an enum which identifies the L7LogCollector DaemonSet init container by name. pub name: String, @@ -164,7 +165,7 @@ pub struct ApplicationLayerL7LogCollectorDaemonSetSpecTemplateSpecInitContainers /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named L7LogCollector DaemonSet init container's resources. /// If omitted, the L7LogCollector DaemonSet will use its default value for this init container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApplicationLayerL7LogCollectorDaemonSetSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -186,7 +187,7 @@ pub struct ApplicationLayerL7LogCollectorDaemonSetSpecTemplateSpecInitContainers } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApplicationLayerL7LogCollectorDaemonSetSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -195,7 +196,7 @@ pub struct ApplicationLayerL7LogCollectorDaemonSetSpecTemplateSpecInitContainers } /// Specification for application layer (L7) log collection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApplicationLayerLogCollection { /// This setting enables or disable log collection. /// Allowed values are Enabled or Disabled. @@ -214,7 +215,7 @@ pub struct ApplicationLayerLogCollection { } /// ApplicationLayerStatus defines the observed state of ApplicationLayer -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApplicationLayerStatus { /// Conditions represents the latest observed set of conditions for the component. A component may be one or more of /// Ready, Progressing, Degraded or other customer types. diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/authentications.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/authentications.rs index 07dce9923..8eea4581c 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/authentications.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/authentications.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/authentications.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/authentications.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,10 +13,11 @@ mod prelude { use self::prelude::*; /// AuthenticationSpec defines the desired state of Authentication -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "operator.tigera.io", version = "v1", kind = "Authentication", plural = "authentications")] #[kube(status = "AuthenticationStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct AuthenticationSpec { /// DexDeployment configures the Dex Deployment. @@ -47,7 +48,7 @@ pub struct AuthenticationSpec { } /// DexDeployment configures the Dex Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AuthenticationDexDeployment { /// Spec is the specification of the Dex Deployment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -55,7 +56,7 @@ pub struct AuthenticationDexDeployment { } /// Spec is the specification of the Dex Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AuthenticationDexDeploymentSpec { /// Template describes the Dex Deployment pod that will be created. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -63,7 +64,7 @@ pub struct AuthenticationDexDeploymentSpec { } /// Template describes the Dex Deployment pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AuthenticationDexDeploymentSpecTemplate { /// Spec is the Dex Deployment's PodSpec. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -71,7 +72,7 @@ pub struct AuthenticationDexDeploymentSpecTemplate { } /// Spec is the Dex Deployment's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AuthenticationDexDeploymentSpecTemplateSpec { /// Containers is a list of Dex containers. /// If specified, this overrides the specified Dex Deployment containers. @@ -108,7 +109,7 @@ pub enum AuthenticationDexDeploymentSpecTemplateSpecContainersName { /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named Dex Deployment container's resources. /// If omitted, the Dex Deployment will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AuthenticationDexDeploymentSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -130,7 +131,7 @@ pub struct AuthenticationDexDeploymentSpecTemplateSpecContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AuthenticationDexDeploymentSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -161,7 +162,7 @@ pub enum AuthenticationDexDeploymentSpecTemplateSpecInitContainersName { /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named Dex Deployment init container's resources. /// If omitted, the Dex Deployment will use its default value for this init container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AuthenticationDexDeploymentSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -183,7 +184,7 @@ pub struct AuthenticationDexDeploymentSpecTemplateSpecInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AuthenticationDexDeploymentSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -192,7 +193,7 @@ pub struct AuthenticationDexDeploymentSpecTemplateSpecInitContainersResourcesCla } /// LDAP contains the configuration needed to setup LDAP authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AuthenticationLdap { /// Group search configuration to find the groups that a user is in. #[serde(default, skip_serializing_if = "Option::is_none", rename = "groupSearch")] @@ -210,7 +211,7 @@ pub struct AuthenticationLdap { } /// Group search configuration to find the groups that a user is in. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AuthenticationLdapGroupSearch { /// BaseDN to start the search from. For example "cn=groups,dc=example,dc=com" #[serde(rename = "baseDN")] @@ -230,7 +231,7 @@ pub struct AuthenticationLdapGroupSearch { } /// UserMatch when the value of a UserAttribute and a GroupAttribute match, a user belongs to the group. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AuthenticationLdapGroupSearchUserMatchers { /// The attribute of a group that links it to a user. #[serde(rename = "groupAttribute")] @@ -241,7 +242,7 @@ pub struct AuthenticationLdapGroupSearchUserMatchers { } /// User entry search configuration to match the credentials with a user. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AuthenticationLdapUserSearch { /// BaseDN to start the search from. For example "cn=users,dc=example,dc=com" #[serde(rename = "baseDN")] @@ -256,7 +257,7 @@ pub struct AuthenticationLdapUserSearch { } /// OIDC contains the configuration needed to setup OIDC authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AuthenticationOidc { /// Some providers do not include the claim "email_verified" when there is no verification in the user enrollment /// process or if they are acting as a proxy for another identity provider. By default those tokens are deemed invalid. @@ -309,7 +310,7 @@ pub enum AuthenticationOidcType { } /// Openshift contains the configuration needed to setup Openshift OAuth authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AuthenticationOpenshift { /// IssuerURL is the URL to the Openshift OAuth provider. Ex.: https://api.my-ocp-domain.com:6443 #[serde(rename = "issuerURL")] @@ -317,7 +318,7 @@ pub struct AuthenticationOpenshift { } /// AuthenticationStatus defines the observed state of Authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AuthenticationStatus { /// Conditions represents the latest observed set of conditions for the component. A component may be one or more of /// Ready, Progressing, Degraded or other customer types. diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/compliances.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/compliances.rs index b86027af5..903db59cd 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/compliances.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/compliances.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/compliances.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/compliances.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,10 +13,11 @@ mod prelude { use self::prelude::*; /// Specification of the desired state for Tigera compliance reporting. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "operator.tigera.io", version = "v1", kind = "Compliance", plural = "compliances")] #[kube(status = "ComplianceStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ComplianceSpec { /// ComplianceBenchmarkerDaemonSet configures the Compliance Benchmarker DaemonSet. @@ -37,7 +38,7 @@ pub struct ComplianceSpec { } /// ComplianceBenchmarkerDaemonSet configures the Compliance Benchmarker DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceBenchmarkerDaemonSet { /// Spec is the specification of the Compliance Benchmarker DaemonSet. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -45,7 +46,7 @@ pub struct ComplianceComplianceBenchmarkerDaemonSet { } /// Spec is the specification of the Compliance Benchmarker DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceBenchmarkerDaemonSetSpec { /// Template describes the Compliance Benchmarker DaemonSet pod that will be created. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -53,7 +54,7 @@ pub struct ComplianceComplianceBenchmarkerDaemonSetSpec { } /// Template describes the Compliance Benchmarker DaemonSet pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceBenchmarkerDaemonSetSpecTemplate { /// Spec is the Compliance Benchmarker DaemonSet's PodSpec. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -61,7 +62,7 @@ pub struct ComplianceComplianceBenchmarkerDaemonSetSpecTemplate { } /// Spec is the Compliance Benchmarker DaemonSet's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceBenchmarkerDaemonSetSpecTemplateSpec { /// Containers is a list of Compliance benchmark containers. /// If specified, this overrides the specified Compliance Benchmarker DaemonSet containers. @@ -98,7 +99,7 @@ pub enum ComplianceComplianceBenchmarkerDaemonSetSpecTemplateSpecContainersName /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named Compliance Benchmarker DaemonSet container's resources. /// If omitted, the Compliance Benchmarker DaemonSet will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceBenchmarkerDaemonSetSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -120,7 +121,7 @@ pub struct ComplianceComplianceBenchmarkerDaemonSetSpecTemplateSpecContainersRes } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceBenchmarkerDaemonSetSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -151,7 +152,7 @@ pub enum ComplianceComplianceBenchmarkerDaemonSetSpecTemplateSpecInitContainersN /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named Compliance Benchmarker DaemonSet init container's resources. /// If omitted, the Compliance Benchmarker DaemonSet will use its default value for this init container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceBenchmarkerDaemonSetSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -173,7 +174,7 @@ pub struct ComplianceComplianceBenchmarkerDaemonSetSpecTemplateSpecInitContainer } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceBenchmarkerDaemonSetSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -182,7 +183,7 @@ pub struct ComplianceComplianceBenchmarkerDaemonSetSpecTemplateSpecInitContainer } /// ComplianceControllerDeployment configures the Compliance Controller Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceControllerDeployment { /// Spec is the specification of the compliance controller Deployment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -190,7 +191,7 @@ pub struct ComplianceComplianceControllerDeployment { } /// Spec is the specification of the compliance controller Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceControllerDeploymentSpec { /// Template describes the compliance controller Deployment pod that will be created. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -198,7 +199,7 @@ pub struct ComplianceComplianceControllerDeploymentSpec { } /// Template describes the compliance controller Deployment pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceControllerDeploymentSpecTemplate { /// Spec is the compliance controller Deployment's PodSpec. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -206,7 +207,7 @@ pub struct ComplianceComplianceControllerDeploymentSpecTemplate { } /// Spec is the compliance controller Deployment's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceControllerDeploymentSpecTemplateSpec { /// Containers is a list of compliance controller containers. /// If specified, this overrides the specified compliance controller Deployment containers. @@ -243,7 +244,7 @@ pub enum ComplianceComplianceControllerDeploymentSpecTemplateSpecContainersName /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named compliance controller Deployment container's resources. /// If omitted, the compliance controller Deployment will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceControllerDeploymentSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -265,7 +266,7 @@ pub struct ComplianceComplianceControllerDeploymentSpecTemplateSpecContainersRes } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceControllerDeploymentSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -296,7 +297,7 @@ pub enum ComplianceComplianceControllerDeploymentSpecTemplateSpecInitContainersN /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named compliance controller Deployment init container's resources. /// If omitted, the compliance controller Deployment will use its default value for this init container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceControllerDeploymentSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -318,7 +319,7 @@ pub struct ComplianceComplianceControllerDeploymentSpecTemplateSpecInitContainer } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceControllerDeploymentSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -327,7 +328,7 @@ pub struct ComplianceComplianceControllerDeploymentSpecTemplateSpecInitContainer } /// ComplianceReporterPodTemplate configures the Compliance Reporter PodTemplate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceReporterPodTemplate { /// Spec is the specification of the ComplianceReporter PodTemplateSpec. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -335,7 +336,7 @@ pub struct ComplianceComplianceReporterPodTemplate { } /// Spec is the specification of the ComplianceReporter PodTemplateSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceReporterPodTemplateTemplate { /// Spec is the ComplianceReporter PodTemplate's PodSpec. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -343,7 +344,7 @@ pub struct ComplianceComplianceReporterPodTemplateTemplate { } /// Spec is the ComplianceReporter PodTemplate's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceReporterPodTemplateTemplateSpec { /// Containers is a list of ComplianceServer containers. /// If specified, this overrides the specified ComplianceReporter PodSpec containers. @@ -380,7 +381,7 @@ pub enum ComplianceComplianceReporterPodTemplateTemplateSpecContainersName { /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named ComplianceServer Deployment container's resources. /// If omitted, the ComplianceServer Deployment will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceReporterPodTemplateTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -402,7 +403,7 @@ pub struct ComplianceComplianceReporterPodTemplateTemplateSpecContainersResource } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceReporterPodTemplateTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -433,7 +434,7 @@ pub enum ComplianceComplianceReporterPodTemplateTemplateSpecInitContainersName { /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named ComplianceReporter PodSpec init container's resources. /// If omitted, the ComplianceServer Deployment will use its default value for this init container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceReporterPodTemplateTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -455,7 +456,7 @@ pub struct ComplianceComplianceReporterPodTemplateTemplateSpecInitContainersReso } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceReporterPodTemplateTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -464,7 +465,7 @@ pub struct ComplianceComplianceReporterPodTemplateTemplateSpecInitContainersReso } /// ComplianceServerDeployment configures the Compliance Server Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceServerDeployment { /// Spec is the specification of the ComplianceServer Deployment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -472,7 +473,7 @@ pub struct ComplianceComplianceServerDeployment { } /// Spec is the specification of the ComplianceServer Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceServerDeploymentSpec { /// Template describes the ComplianceServer Deployment pod that will be created. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -480,7 +481,7 @@ pub struct ComplianceComplianceServerDeploymentSpec { } /// Template describes the ComplianceServer Deployment pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceServerDeploymentSpecTemplate { /// Spec is the ComplianceServer Deployment's PodSpec. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -488,7 +489,7 @@ pub struct ComplianceComplianceServerDeploymentSpecTemplate { } /// Spec is the ComplianceServer Deployment's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceServerDeploymentSpecTemplateSpec { /// Containers is a list of ComplianceServer containers. /// If specified, this overrides the specified ComplianceServer Deployment containers. @@ -525,7 +526,7 @@ pub enum ComplianceComplianceServerDeploymentSpecTemplateSpecContainersName { /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named ComplianceServer Deployment container's resources. /// If omitted, the ComplianceServer Deployment will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceServerDeploymentSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -547,7 +548,7 @@ pub struct ComplianceComplianceServerDeploymentSpecTemplateSpecContainersResourc } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceServerDeploymentSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -578,7 +579,7 @@ pub enum ComplianceComplianceServerDeploymentSpecTemplateSpecInitContainersName /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named ComplianceServer Deployment init container's resources. /// If omitted, the ComplianceServer Deployment will use its default value for this init container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceServerDeploymentSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -600,7 +601,7 @@ pub struct ComplianceComplianceServerDeploymentSpecTemplateSpecInitContainersRes } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceServerDeploymentSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -609,7 +610,7 @@ pub struct ComplianceComplianceServerDeploymentSpecTemplateSpecInitContainersRes } /// ComplianceSnapshotterDeployment configures the Compliance Snapshotter Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceSnapshotterDeployment { /// Spec is the specification of the compliance snapshotter Deployment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -617,7 +618,7 @@ pub struct ComplianceComplianceSnapshotterDeployment { } /// Spec is the specification of the compliance snapshotter Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceSnapshotterDeploymentSpec { /// Template describes the compliance snapshotter Deployment pod that will be created. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -625,7 +626,7 @@ pub struct ComplianceComplianceSnapshotterDeploymentSpec { } /// Template describes the compliance snapshotter Deployment pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceSnapshotterDeploymentSpecTemplate { /// Spec is the compliance snapshotter Deployment's PodSpec. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -633,7 +634,7 @@ pub struct ComplianceComplianceSnapshotterDeploymentSpecTemplate { } /// Spec is the compliance snapshotter Deployment's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceSnapshotterDeploymentSpecTemplateSpec { /// Containers is a list of compliance snapshotter containers. /// If specified, this overrides the specified compliance snapshotter Deployment containers. @@ -670,7 +671,7 @@ pub enum ComplianceComplianceSnapshotterDeploymentSpecTemplateSpecContainersName /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named compliance snapshotter Deployment container's resources. /// If omitted, the compliance snapshotter Deployment will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceSnapshotterDeploymentSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -692,7 +693,7 @@ pub struct ComplianceComplianceSnapshotterDeploymentSpecTemplateSpecContainersRe } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceSnapshotterDeploymentSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -723,7 +724,7 @@ pub enum ComplianceComplianceSnapshotterDeploymentSpecTemplateSpecInitContainers /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named compliance snapshotter Deployment init container's resources. /// If omitted, the compliance snapshotter Deployment will use its default value for this init container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceSnapshotterDeploymentSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -745,7 +746,7 @@ pub struct ComplianceComplianceSnapshotterDeploymentSpecTemplateSpecInitContaine } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceComplianceSnapshotterDeploymentSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -754,7 +755,7 @@ pub struct ComplianceComplianceSnapshotterDeploymentSpecTemplateSpecInitContaine } /// Most recently observed state for Tigera compliance reporting. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ComplianceStatus { /// Conditions represents the latest observed set of conditions for the component. A component may be one or more of /// Ready, Progressing, Degraded or other customer types. diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/egressgateways.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/egressgateways.rs index fd9981b92..196942ccb 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/egressgateways.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/egressgateways.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/egressgateways.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/egressgateways.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// EgressGatewaySpec defines the desired state of EgressGateway -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "operator.tigera.io", version = "v1", kind = "EgressGateway", plural = "egressgateways")] #[kube(namespaced)] #[kube(status = "EgressGatewayStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct EgressGatewaySpec { /// AWS defines the additional configuration options for Egress Gateways on AWS. @@ -53,7 +54,7 @@ pub struct EgressGatewaySpec { } /// AWS defines the additional configuration options for Egress Gateways on AWS. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayAws { /// ElasticIPs defines the set of elastic IPs that can be used for Egress Gateway pods. /// NativeIP must be Enabled if elastic IPs are set. @@ -77,7 +78,7 @@ pub enum EgressGatewayAwsNativeIp { /// HTTP probe should succeed for Egress Gateways to become ready. /// Otherwise one of ICMP or HTTP probe should succeed for Egress gateways to become /// ready if configured. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayEgressGatewayFailureDetection { /// HealthTimeoutDataStoreSeconds defines how long Egress Gateway can fail to connect /// to the datastore before reporting not ready. @@ -100,7 +101,7 @@ pub struct EgressGatewayEgressGatewayFailureDetection { /// HTTPProbe define outgoing HTTP probes that Egress Gateway will use to /// verify its upsteam connection. Egress Gateway will report not ready if all /// fail. Timeout must be greater than interval. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayEgressGatewayFailureDetectionHttpProbe { /// IntervalSeconds defines the interval of HTTP probes. Used when URLs is non-empty. /// Default: 10 @@ -118,7 +119,7 @@ pub struct EgressGatewayEgressGatewayFailureDetectionHttpProbe { /// ICMPProbe define outgoing ICMP probes that Egress Gateway will use to /// verify its upstream connection. Egress Gateway will report not ready if all /// fail. Timeout must be greater than interval. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayEgressGatewayFailureDetectionIcmpProbe { /// IntervalSeconds defines the interval of ICMP probes. Used when IPs is non-empty. /// Default: 5 @@ -133,7 +134,7 @@ pub struct EgressGatewayEgressGatewayFailureDetectionIcmpProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayIpPools { /// CIDR is the IPPool CIDR that the Egress Gateways can use. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -155,7 +156,7 @@ pub enum EgressGatewayLogSeverity { } /// Template describes the EGW Deployment pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. @@ -168,7 +169,7 @@ pub struct EgressGatewayTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -185,7 +186,7 @@ pub struct EgressGatewayTemplateMetadata { } /// Spec is the EGW Deployment's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpec { /// Affinity is a group of affinity scheduling rules for the EGW pods. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -220,7 +221,7 @@ pub struct EgressGatewayTemplateSpec { } /// Affinity is a group of affinity scheduling rules for the EGW pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -234,7 +235,7 @@ pub struct EgressGatewayTemplateSpecAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -258,7 +259,7 @@ pub struct EgressGatewayTemplateSpecAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: EgressGatewayTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -267,7 +268,7 @@ pub struct EgressGatewayTemplateSpecAffinityNodeAffinityPreferredDuringSchedulin } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -279,7 +280,7 @@ pub struct EgressGatewayTemplateSpecAffinityNodeAffinityPreferredDuringSchedulin /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -297,7 +298,7 @@ pub struct EgressGatewayTemplateSpecAffinityNodeAffinityPreferredDuringSchedulin /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -318,7 +319,7 @@ pub struct EgressGatewayTemplateSpecAffinityNodeAffinityPreferredDuringSchedulin /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -328,7 +329,7 @@ pub struct EgressGatewayTemplateSpecAffinityNodeAffinityRequiredDuringScheduling /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -340,7 +341,7 @@ pub struct EgressGatewayTemplateSpecAffinityNodeAffinityRequiredDuringScheduling /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -358,7 +359,7 @@ pub struct EgressGatewayTemplateSpecAffinityNodeAffinityRequiredDuringScheduling /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -375,7 +376,7 @@ pub struct EgressGatewayTemplateSpecAffinityNodeAffinityRequiredDuringScheduling } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -400,7 +401,7 @@ pub struct EgressGatewayTemplateSpecAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -411,7 +412,7 @@ pub struct EgressGatewayTemplateSpecAffinityPodAffinityPreferredDuringScheduling } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -439,7 +440,7 @@ pub struct EgressGatewayTemplateSpecAffinityPodAffinityPreferredDuringScheduling } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -453,7 +454,7 @@ pub struct EgressGatewayTemplateSpecAffinityPodAffinityPreferredDuringScheduling /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -473,7 +474,7 @@ pub struct EgressGatewayTemplateSpecAffinityPodAffinityPreferredDuringScheduling /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -487,7 +488,7 @@ pub struct EgressGatewayTemplateSpecAffinityPodAffinityPreferredDuringScheduling /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -508,7 +509,7 @@ pub struct EgressGatewayTemplateSpecAffinityPodAffinityPreferredDuringScheduling /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -536,7 +537,7 @@ pub struct EgressGatewayTemplateSpecAffinityPodAffinityRequiredDuringSchedulingI } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -550,7 +551,7 @@ pub struct EgressGatewayTemplateSpecAffinityPodAffinityRequiredDuringSchedulingI /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -570,7 +571,7 @@ pub struct EgressGatewayTemplateSpecAffinityPodAffinityRequiredDuringSchedulingI /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -584,7 +585,7 @@ pub struct EgressGatewayTemplateSpecAffinityPodAffinityRequiredDuringSchedulingI /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -600,7 +601,7 @@ pub struct EgressGatewayTemplateSpecAffinityPodAffinityRequiredDuringSchedulingI } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -625,7 +626,7 @@ pub struct EgressGatewayTemplateSpecAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -636,7 +637,7 @@ pub struct EgressGatewayTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedu } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -664,7 +665,7 @@ pub struct EgressGatewayTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedu } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -678,7 +679,7 @@ pub struct EgressGatewayTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -698,7 +699,7 @@ pub struct EgressGatewayTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedu /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -712,7 +713,7 @@ pub struct EgressGatewayTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -733,7 +734,7 @@ pub struct EgressGatewayTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedu /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -761,7 +762,7 @@ pub struct EgressGatewayTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedul } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -775,7 +776,7 @@ pub struct EgressGatewayTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedul /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -795,7 +796,7 @@ pub struct EgressGatewayTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedul /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -809,7 +810,7 @@ pub struct EgressGatewayTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedul /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -849,7 +850,7 @@ pub enum EgressGatewayTemplateSpecContainersName { /// If specified, this overrides the named EGW Deployment container's resources. /// If omitted, the EGW Deployment will use its default value for this container's resources. /// If used in conjunction with the deprecated ComponentResources, then this value takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -871,7 +872,7 @@ pub struct EgressGatewayTemplateSpecContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -904,7 +905,7 @@ pub enum EgressGatewayTemplateSpecInitContainersName { /// If specified, this overrides the named EGW Deployment init container's resources. /// If omitted, the EGW Deployment will use its default value for this init container's resources. /// If used in conjunction with the deprecated ComponentResources, then this value takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -926,7 +927,7 @@ pub struct EgressGatewayTemplateSpecInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -936,7 +937,7 @@ pub struct EgressGatewayTemplateSpecInitContainersResourcesClaims { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -965,7 +966,7 @@ pub struct EgressGatewayTemplateSpecTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods @@ -1077,7 +1078,7 @@ pub struct EgressGatewayTemplateSpecTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods /// in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1091,7 +1092,7 @@ pub struct EgressGatewayTemplateSpecTopologySpreadConstraintsLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1107,7 +1108,7 @@ pub struct EgressGatewayTemplateSpecTopologySpreadConstraintsLabelSelectorMatchE } /// EgressGatewayStatus defines the observed state of EgressGateway -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct EgressGatewayStatus { /// Conditions represents the latest observed set of conditions for the component. A component may be one or more of /// Ready, Progressing, Degraded or other customer types. diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/imagesets.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/imagesets.rs index b9205715c..e0e6df3c3 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/imagesets.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/imagesets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/imagesets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/imagesets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/installations.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/installations.rs index c0145799e..6636f3e1d 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/installations.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/installations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/installations.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/installations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,10 +13,11 @@ mod prelude { use self::prelude::*; /// Specification of the desired state for the Calico or Calico Enterprise installation. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "operator.tigera.io", version = "v1", kind = "Installation", plural = "installations")] #[kube(status = "InstallationStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct InstallationSpec { /// CalicoKubeControllersDeployment configures the calico-kube-controllers Deployment. If used in @@ -158,7 +159,7 @@ pub struct InstallationSpec { /// CalicoKubeControllersDeployment configures the calico-kube-controllers Deployment. If used in /// conjunction with the deprecated ComponentResources, then these overrides take precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeployment { /// Metadata is a subset of a Kubernetes object's metadata that is added to the Deployment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -169,7 +170,7 @@ pub struct InstallationCalicoKubeControllersDeployment { } /// Metadata is a subset of a Kubernetes object's metadata that is added to the Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -184,7 +185,7 @@ pub struct InstallationCalicoKubeControllersDeploymentMetadata { } /// Spec is the specification of the calico-kube-controllers Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpec { /// MinReadySeconds is the minimum number of seconds for which a newly created Deployment pod should /// be ready without any of its container crashing, for it to be considered available. @@ -198,7 +199,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpec { } /// Template describes the calico-kube-controllers Deployment pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. @@ -211,7 +212,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -226,7 +227,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateMetadata { } /// Spec is the calico-kube-controllers Deployment's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpec { /// Affinity is a group of affinity scheduling rules for the calico-kube-controllers pods. /// If specified, this overrides any affinity that may be set on the calico-kube-controllers Deployment. @@ -261,7 +262,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpec { /// If specified, this overrides any affinity that may be set on the calico-kube-controllers Deployment. /// If omitted, the calico-kube-controllers Deployment will use its default value for affinity. /// WARNING: Please note that this field will override the default calico-kube-controllers Deployment affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -275,7 +276,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -299,7 +300,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNo /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -308,7 +309,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNo } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -320,7 +321,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNo /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -338,7 +339,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNo /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -359,7 +360,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNo /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -369,7 +370,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNo /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -381,7 +382,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNo /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -399,7 +400,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNo /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -416,7 +417,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNo } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -441,7 +442,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPo } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -452,7 +453,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPo } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -480,7 +481,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPo } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -494,7 +495,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPo /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -514,7 +515,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPo /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -528,7 +529,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPo /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -549,7 +550,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPo /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -577,7 +578,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPo } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -591,7 +592,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPo /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -611,7 +612,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPo /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -625,7 +626,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPo /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -641,7 +642,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPo } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -666,7 +667,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPo } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -677,7 +678,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPo } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -705,7 +706,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPo } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -719,7 +720,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPo /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -739,7 +740,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPo /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -753,7 +754,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPo /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -774,7 +775,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPo /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -802,7 +803,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPo } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -816,7 +817,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPo /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -836,7 +837,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPo /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -850,7 +851,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPo /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -890,7 +891,7 @@ pub enum InstallationCalicoKubeControllersDeploymentSpecTemplateSpecContainersNa /// If specified, this overrides the named calico-kube-controllers Deployment container's resources. /// If omitted, the calico-kube-controllers Deployment will use its default value for this container's resources. /// If used in conjunction with the deprecated ComponentResources, then this value takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -912,7 +913,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecContainers } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -922,7 +923,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecContainers /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -951,7 +952,7 @@ pub struct InstallationCalicoKubeControllersDeploymentSpecTemplateSpecToleration } /// CalicoNetwork specifies networking configuration options for Calico. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNetwork { /// BGP configures whether or not to enable Calico's BGP capabilities. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1032,7 +1033,7 @@ pub enum InstallationCalicoNetworkHostPorts { Disabled, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNetworkIpPools { /// AllowedUse controls what the IP pool will be used for. If not specified or empty, defaults to /// ["Tunnel", "Workload"] for back-compatibility @@ -1105,7 +1106,7 @@ pub enum InstallationCalicoNetworkMultiInterfaceMode { /// NodeAddressAutodetectionV4 specifies an approach to automatically detect node IPv4 addresses. If not specified, /// will use default auto-detection settings to acquire an IPv4 address for each node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNetworkNodeAddressAutodetectionV4 { /// CanReach enables IP auto-detection based on which source address on the node is used to reach the /// specified IP or domain. @@ -1141,7 +1142,7 @@ pub enum InstallationCalicoNetworkNodeAddressAutodetectionV4Kubernetes { /// NodeAddressAutodetectionV6 specifies an approach to automatically detect node IPv6 addresses. If not specified, /// IPv6 addresses will not be auto-detected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNetworkNodeAddressAutodetectionV6 { /// CanReach enables IP auto-detection based on which source address on the node is used to reach the /// specified IP or domain. @@ -1201,7 +1202,7 @@ pub enum InstallationCalicoNetworkWindowsDataplane { /// CalicoNodeDaemonSet configures the calico-node DaemonSet. If used in /// conjunction with the deprecated ComponentResources, then these overrides take precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSet { /// Metadata is a subset of a Kubernetes object's metadata that is added to the DaemonSet. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1212,7 +1213,7 @@ pub struct InstallationCalicoNodeDaemonSet { } /// Metadata is a subset of a Kubernetes object's metadata that is added to the DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -1227,7 +1228,7 @@ pub struct InstallationCalicoNodeDaemonSetMetadata { } /// Spec is the specification of the calico-node DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpec { /// MinReadySeconds is the minimum number of seconds for which a newly created DaemonSet pod should /// be ready without any of its container crashing, for it to be considered available. @@ -1241,7 +1242,7 @@ pub struct InstallationCalicoNodeDaemonSetSpec { } /// Template describes the calico-node DaemonSet pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. @@ -1254,7 +1255,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -1269,7 +1270,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateMetadata { } /// Spec is the calico-node DaemonSet's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpec { /// Affinity is a group of affinity scheduling rules for the calico-node pods. /// If specified, this overrides any affinity that may be set on the calico-node DaemonSet. @@ -1306,7 +1307,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpec { /// If specified, this overrides any affinity that may be set on the calico-node DaemonSet. /// If omitted, the calico-node DaemonSet will use its default value for affinity. /// WARNING: Please note that this field will override the default calico-node DaemonSet affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -1320,7 +1321,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -1344,7 +1345,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -1353,7 +1354,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityPr } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1365,7 +1366,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityPr /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1383,7 +1384,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityPr /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1404,7 +1405,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityPr /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -1414,7 +1415,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityRe /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1426,7 +1427,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityRe /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1444,7 +1445,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityRe /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1461,7 +1462,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityRe } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -1486,7 +1487,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1497,7 +1498,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityPre } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1525,7 +1526,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityPre } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1539,7 +1540,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityPre /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1559,7 +1560,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityPre /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1573,7 +1574,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityPre /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1594,7 +1595,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityPre /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1622,7 +1623,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityReq } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1636,7 +1637,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityReq /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1656,7 +1657,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityReq /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1670,7 +1671,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityReq /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1686,7 +1687,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityReq } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -1711,7 +1712,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinit } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1722,7 +1723,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinit } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1750,7 +1751,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinit } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1764,7 +1765,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinit /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1784,7 +1785,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinit /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1798,7 +1799,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinit /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1819,7 +1820,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinit /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1847,7 +1848,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinit } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1861,7 +1862,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinit /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1881,7 +1882,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinit /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1895,7 +1896,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinit /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1935,7 +1936,7 @@ pub enum InstallationCalicoNodeDaemonSetSpecTemplateSpecContainersName { /// If specified, this overrides the named calico-node DaemonSet container's resources. /// If omitted, the calico-node DaemonSet will use its default value for this container's resources. /// If used in conjunction with the deprecated ComponentResources, then this value takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -1957,7 +1958,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -2000,7 +2001,7 @@ pub enum InstallationCalicoNodeDaemonSetSpecTemplateSpecInitContainersName { /// If specified, this overrides the named calico-node DaemonSet init container's resources. /// If omitted, the calico-node DaemonSet will use its default value for this container's resources. /// If used in conjunction with the deprecated ComponentResources, then this value takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -2022,7 +2023,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecInitContainersResource } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -2032,7 +2033,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecInitContainersResource /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -2061,7 +2062,7 @@ pub struct InstallationCalicoNodeDaemonSetSpecTemplateSpecTolerations { } /// CalicoNodeWindowsDaemonSet configures the calico-node-windows DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSet { /// Metadata is a subset of a Kubernetes object's metadata that is added to the DaemonSet. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2072,7 +2073,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSet { } /// Metadata is a subset of a Kubernetes object's metadata that is added to the DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -2087,7 +2088,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetMetadata { } /// Spec is the specification of the calico-node-windows DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpec { /// MinReadySeconds is the minimum number of seconds for which a newly created DaemonSet pod should /// be ready without any of its container crashing, for it to be considered available. @@ -2101,7 +2102,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpec { } /// Template describes the calico-node-windows DaemonSet pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. @@ -2114,7 +2115,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -2129,7 +2130,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateMetadata { } /// Spec is the calico-node-windows DaemonSet's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpec { /// Affinity is a group of affinity scheduling rules for the calico-node-windows pods. /// If specified, this overrides any affinity that may be set on the calico-node-windows DaemonSet. @@ -2166,7 +2167,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpec { /// If specified, this overrides any affinity that may be set on the calico-node-windows DaemonSet. /// If omitted, the calico-node-windows DaemonSet will use its default value for affinity. /// WARNING: Please note that this field will override the default calico-node-windows DaemonSet affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -2180,7 +2181,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -2204,7 +2205,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAff /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -2213,7 +2214,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAff } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2225,7 +2226,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAff /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -2243,7 +2244,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAff /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -2264,7 +2265,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAff /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -2274,7 +2275,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAff /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2286,7 +2287,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAff /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -2304,7 +2305,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAff /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -2321,7 +2322,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAff } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -2346,7 +2347,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffi } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -2357,7 +2358,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffi } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2385,7 +2386,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffi } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2399,7 +2400,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffi /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2419,7 +2420,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffi /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2433,7 +2434,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffi /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2454,7 +2455,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffi /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2482,7 +2483,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffi } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2496,7 +2497,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffi /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2516,7 +2517,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffi /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2530,7 +2531,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffi /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2546,7 +2547,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffi } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -2571,7 +2572,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAnti } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -2582,7 +2583,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAnti } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2610,7 +2611,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAnti } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2624,7 +2625,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAnti /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2644,7 +2645,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAnti /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2658,7 +2659,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAnti /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2679,7 +2680,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAnti /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2707,7 +2708,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAnti } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2721,7 +2722,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAnti /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2741,7 +2742,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAnti /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2755,7 +2756,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAnti /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2795,7 +2796,7 @@ pub enum InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecContainersName { /// If specified, this overrides the named calico-node-windows DaemonSet container's resources. /// If omitted, the calico-node-windows DaemonSet will use its default value for this container's resources. /// If used in conjunction with the deprecated ComponentResources, then this value takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -2817,7 +2818,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecContainersResou } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -2860,7 +2861,7 @@ pub enum InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecInitContainersNam /// If specified, this overrides the named calico-node-windows DaemonSet init container's resources. /// If omitted, the calico-node-windows DaemonSet will use its default value for this container's resources. /// If used in conjunction with the deprecated ComponentResources, then this value takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -2882,7 +2883,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecInitContainersR } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -2892,7 +2893,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecInitContainersR /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -2922,7 +2923,7 @@ pub struct InstallationCalicoNodeWindowsDaemonSetSpecTemplateSpecTolerations { /// Deprecated. The CalicoWindowsUpgradeDaemonSet is deprecated and will be removed from the API in the future. /// CalicoWindowsUpgradeDaemonSet configures the calico-windows-upgrade DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSet { /// Metadata is a subset of a Kubernetes object's metadata that is added to the Deployment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2933,7 +2934,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSet { } /// Metadata is a subset of a Kubernetes object's metadata that is added to the Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -2948,7 +2949,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetMetadata { } /// Spec is the specification of the calico-windows-upgrade DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpec { /// MinReadySeconds is the minimum number of seconds for which a newly created Deployment pod should /// be ready without any of its container crashing, for it to be considered available. @@ -2962,7 +2963,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpec { } /// Template describes the calico-windows-upgrade DaemonSet pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. @@ -2975,7 +2976,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -2990,7 +2991,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateMetadata { } /// Spec is the calico-windows-upgrade DaemonSet's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpec { /// Affinity is a group of affinity scheduling rules for the calico-windows-upgrade pods. /// If specified, this overrides any affinity that may be set on the calico-windows-upgrade DaemonSet. @@ -3022,7 +3023,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpec { /// If specified, this overrides any affinity that may be set on the calico-windows-upgrade DaemonSet. /// If omitted, the calico-windows-upgrade DaemonSet will use its default value for affinity. /// WARNING: Please note that this field will override the default calico-windows-upgrade DaemonSet affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -3036,7 +3037,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -3060,7 +3061,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNode /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -3069,7 +3070,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNode } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3081,7 +3082,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNode /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -3099,7 +3100,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNode /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -3120,7 +3121,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNode /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -3130,7 +3131,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNode /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3142,7 +3143,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNode /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -3160,7 +3161,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNode /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -3177,7 +3178,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNode } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -3202,7 +3203,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodA } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -3213,7 +3214,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodA } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -3241,7 +3242,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodA } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3255,7 +3256,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodA /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3275,7 +3276,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodA /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3289,7 +3290,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodA /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3310,7 +3311,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodA /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -3338,7 +3339,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodA } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3352,7 +3353,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodA /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3372,7 +3373,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodA /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3386,7 +3387,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodA /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3402,7 +3403,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodA } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -3427,7 +3428,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodA } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -3438,7 +3439,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodA } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -3466,7 +3467,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodA } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3480,7 +3481,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodA /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3500,7 +3501,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodA /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3514,7 +3515,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodA /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3535,7 +3536,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodA /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -3563,7 +3564,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodA } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3577,7 +3578,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodA /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3597,7 +3598,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodA /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3611,7 +3612,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodA /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3648,7 +3649,7 @@ pub enum InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecContainersName /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named calico-windows-upgrade DaemonSet container's resources. /// If omitted, the calico-windows-upgrade DaemonSet will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -3670,7 +3671,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecContainersRe } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -3680,7 +3681,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecContainersRe /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -3711,7 +3712,7 @@ pub struct InstallationCalicoWindowsUpgradeDaemonSetSpecTemplateSpecTolerations /// CertificateManagement configures pods to submit a CertificateSigningRequest to the certificates.k8s.io/v1beta1 API in order /// to obtain TLS certificates. This feature requires that you bring your own CSR signing and approval process, otherwise /// pods will be stuck during initialization. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCertificateManagement { /// Certificate of the authority that signs the CertificateSigningRequests in PEM format. #[serde(rename = "caCert")] @@ -3857,7 +3858,7 @@ pub enum InstallationComponentResourcesComponentName { } /// ResourceRequirements allows customization of limits and requests for compute resources such as cpu and memory. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationComponentResourcesResourceRequirements { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -3879,7 +3880,7 @@ pub struct InstallationComponentResourcesResourceRequirements { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationComponentResourcesResourceRequirementsClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -3889,7 +3890,7 @@ pub struct InstallationComponentResourcesResourceRequirementsClaims { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationControlPlaneTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -3918,7 +3919,7 @@ pub struct InstallationControlPlaneTolerations { } /// CSINodeDriverDaemonSet configures the csi-node-driver DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSet { /// Metadata is a subset of a Kubernetes object's metadata that is added to the DaemonSet. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3929,7 +3930,7 @@ pub struct InstallationCsiNodeDriverDaemonSet { } /// Metadata is a subset of a Kubernetes object's metadata that is added to the DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -3944,7 +3945,7 @@ pub struct InstallationCsiNodeDriverDaemonSetMetadata { } /// Spec is the specification of the csi-node-driver DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpec { /// MinReadySeconds is the minimum number of seconds for which a newly created DaemonSet pod should /// be ready without any of its container crashing, for it to be considered available. @@ -3958,7 +3959,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpec { } /// Template describes the csi-node-driver DaemonSet pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. @@ -3971,7 +3972,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -3986,7 +3987,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateMetadata { } /// Spec is the csi-node-driver DaemonSet's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpec { /// Affinity is a group of affinity scheduling rules for the csi-node-driver pods. /// If specified, this overrides any affinity that may be set on the csi-node-driver DaemonSet. @@ -4018,7 +4019,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpec { /// If specified, this overrides any affinity that may be set on the csi-node-driver DaemonSet. /// If omitted, the csi-node-driver DaemonSet will use its default value for affinity. /// WARNING: Please note that this field will override the default csi-node-driver DaemonSet affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -4032,7 +4033,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -4056,7 +4057,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinit /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -4065,7 +4066,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinit } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4077,7 +4078,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinit /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -4095,7 +4096,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinit /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -4116,7 +4117,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinit /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -4126,7 +4127,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinit /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4138,7 +4139,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinit /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -4156,7 +4157,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinit /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -4173,7 +4174,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinit } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -4198,7 +4199,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinity } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -4209,7 +4210,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinity } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -4237,7 +4238,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinity } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4251,7 +4252,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinity /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4271,7 +4272,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinity /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4285,7 +4286,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinity /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4306,7 +4307,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinity /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -4334,7 +4335,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinity } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4348,7 +4349,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinity /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4368,7 +4369,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinity /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4382,7 +4383,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinity /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4398,7 +4399,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinity } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -4423,7 +4424,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffi } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -4434,7 +4435,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffi } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -4462,7 +4463,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffi } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4476,7 +4477,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffi /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4496,7 +4497,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffi /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4510,7 +4511,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffi /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4531,7 +4532,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffi /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -4559,7 +4560,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffi } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4573,7 +4574,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffi /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4593,7 +4594,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffi /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4607,7 +4608,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffi /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4649,7 +4650,7 @@ pub enum InstallationCsiNodeDriverDaemonSetSpecTemplateSpecContainersName { /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named csi-node-driver DaemonSet container's resources. /// If omitted, the csi-node-driver DaemonSet will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -4671,7 +4672,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecContainersResources } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -4681,7 +4682,7 @@ pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecContainersResources /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationCsiNodeDriverDaemonSetSpecTemplateSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -4718,7 +4719,7 @@ pub enum InstallationFipsMode { /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationImagePullSecrets { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -4747,7 +4748,7 @@ pub enum InstallationKubernetesProvider { } /// Logging Configuration for Components -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationLogging { /// Customized logging specification for calico-cni plugin #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4755,7 +4756,7 @@ pub struct InstallationLogging { } /// Customized logging specification for calico-cni plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationLoggingCni { /// Default: 30 (days) #[serde(default, skip_serializing_if = "Option::is_none", rename = "logFileMaxAgeDays")] @@ -4782,7 +4783,7 @@ pub enum InstallationLoggingCniLogSeverity { /// NodeUpdateStrategy can be used to customize the desired update strategy, such as the MaxUnavailable /// field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationNodeUpdateStrategy { /// Rolling update config params. Present only if type = "RollingUpdate". /// --- @@ -4801,7 +4802,7 @@ pub struct InstallationNodeUpdateStrategy { /// TODO: Update this to follow our convention for oneOf, whatever we decide it /// to be. Same as Deployment `strategy.rollingUpdate`. /// See https://github.com/kubernetes/kubernetes/issues/35345 -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationNodeUpdateStrategyRollingUpdate { /// The maximum number of nodes with an existing available DaemonSet pod that /// can have an updated DaemonSet pod during during an update. @@ -4843,7 +4844,7 @@ pub struct InstallationNodeUpdateStrategyRollingUpdate { /// Deprecated. Please use Installation.Spec.TyphaDeployment instead. /// TyphaAffinity allows configuration of node affinity characteristics for Typha pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaAffinity { /// NodeAffinity describes node affinity scheduling rules for typha. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -4851,7 +4852,7 @@ pub struct InstallationTyphaAffinity { } /// NodeAffinity describes node affinity scheduling rules for typha. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -4876,7 +4877,7 @@ pub struct InstallationTyphaAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: InstallationTyphaAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -4885,7 +4886,7 @@ pub struct InstallationTyphaAffinityNodeAffinityPreferredDuringSchedulingIgnored } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4897,7 +4898,7 @@ pub struct InstallationTyphaAffinityNodeAffinityPreferredDuringSchedulingIgnored /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -4915,7 +4916,7 @@ pub struct InstallationTyphaAffinityNodeAffinityPreferredDuringSchedulingIgnored /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -4943,7 +4944,7 @@ pub struct InstallationTyphaAffinityNodeAffinityPreferredDuringSchedulingIgnored /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -4953,7 +4954,7 @@ pub struct InstallationTyphaAffinityNodeAffinityRequiredDuringSchedulingIgnoredD /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4965,7 +4966,7 @@ pub struct InstallationTyphaAffinityNodeAffinityRequiredDuringSchedulingIgnoredD /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -4983,7 +4984,7 @@ pub struct InstallationTyphaAffinityNodeAffinityRequiredDuringSchedulingIgnoredD /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -5001,7 +5002,7 @@ pub struct InstallationTyphaAffinityNodeAffinityRequiredDuringSchedulingIgnoredD /// TyphaDeployment configures the typha Deployment. If used in conjunction with the deprecated /// ComponentResources or TyphaAffinity, then these overrides take precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeployment { /// Metadata is a subset of a Kubernetes object's metadata that is added to the Deployment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5012,7 +5013,7 @@ pub struct InstallationTyphaDeployment { } /// Metadata is a subset of a Kubernetes object's metadata that is added to the Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -5027,7 +5028,7 @@ pub struct InstallationTyphaDeploymentMetadata { } /// Spec is the specification of the typha Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpec { /// MinReadySeconds is the minimum number of seconds for which a newly created Deployment pod should /// be ready without any of its container crashing, for it to be considered available. @@ -5044,7 +5045,7 @@ pub struct InstallationTyphaDeploymentSpec { } /// The deployment strategy to use to replace existing pods with new ones. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecStrategy { /// Rolling update config params. Present only if DeploymentStrategyType = /// RollingUpdate. @@ -5056,7 +5057,7 @@ pub struct InstallationTyphaDeploymentSpecStrategy { /// Rolling update config params. Present only if DeploymentStrategyType = /// RollingUpdate. /// to be. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecStrategyRollingUpdate { /// The maximum number of pods that can be scheduled above the desired number of /// pods. @@ -5086,7 +5087,7 @@ pub struct InstallationTyphaDeploymentSpecStrategyRollingUpdate { } /// Template describes the typha Deployment pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. @@ -5099,7 +5100,7 @@ pub struct InstallationTyphaDeploymentSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -5114,7 +5115,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateMetadata { } /// Spec is the typha Deployment's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpec { /// Affinity is a group of affinity scheduling rules for the typha pods. /// If specified, this overrides any affinity that may be set on the typha Deployment. @@ -5168,7 +5169,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpec { /// If omitted, the typha Deployment will use its default value for affinity. /// If used in conjunction with the deprecated TyphaAffinity, then this value takes precedence. /// WARNING: Please note that this field will override the default calico-typha Deployment affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -5182,7 +5183,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -5206,7 +5207,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: InstallationTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -5215,7 +5216,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityPrefer } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5227,7 +5228,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityPrefer /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -5245,7 +5246,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityPrefer /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -5266,7 +5267,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityPrefer /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -5276,7 +5277,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityRequir /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5288,7 +5289,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityRequir /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -5306,7 +5307,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityRequir /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -5323,7 +5324,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityRequir } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -5348,7 +5349,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -5359,7 +5360,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAffinityPreferr } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -5387,7 +5388,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAffinityPreferr } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5401,7 +5402,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAffinityPreferr /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5421,7 +5422,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAffinityPreferr /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5435,7 +5436,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAffinityPreferr /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5456,7 +5457,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAffinityPreferr /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -5484,7 +5485,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAffinityRequire } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5498,7 +5499,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAffinityRequire /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5518,7 +5519,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAffinityRequire /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5532,7 +5533,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAffinityRequire /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5548,7 +5549,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAffinityRequire } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -5573,7 +5574,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -5584,7 +5585,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityPre } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -5612,7 +5613,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityPre } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5626,7 +5627,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityPre /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5646,7 +5647,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityPre /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5660,7 +5661,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityPre /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5681,7 +5682,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityPre /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -5709,7 +5710,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityReq } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5723,7 +5724,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityReq /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5743,7 +5744,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityReq /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5757,7 +5758,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityReq /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5797,7 +5798,7 @@ pub enum InstallationTyphaDeploymentSpecTemplateSpecContainersName { /// If specified, this overrides the named typha Deployment container's resources. /// If omitted, the typha Deployment will use its default value for this container's resources. /// If used in conjunction with the deprecated ComponentResources, then this value takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -5819,7 +5820,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -5852,7 +5853,7 @@ pub enum InstallationTyphaDeploymentSpecTemplateSpecInitContainersName { /// If specified, this overrides the named typha Deployment init container's resources. /// If omitted, the typha Deployment will use its default value for this init container's resources. /// If used in conjunction with the deprecated ComponentResources, then this value takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -5874,7 +5875,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -5884,7 +5885,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecInitContainersResourcesCla /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -5913,7 +5914,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods @@ -6025,7 +6026,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecTopologySpreadConstraints /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods /// in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6039,7 +6040,7 @@ pub struct InstallationTyphaDeploymentSpecTemplateSpecTopologySpreadConstraintsL /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationTyphaDeploymentSpecTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6062,7 +6063,7 @@ pub enum InstallationVariant { } /// Windows Configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationWindowsNodes { /// CNIBinDir is the path to the CNI binaries directory on Windows, it must match what is used as 'bin_dir' under /// [plugins] @@ -6090,7 +6091,7 @@ pub struct InstallationWindowsNodes { } /// Most recently observed state for the Calico or Calico Enterprise installation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatus { /// CalicoVersion shows the current running version of calico. /// CalicoVersion along with Variant is needed to know the exact @@ -6118,7 +6119,7 @@ pub struct InstallationStatus { } /// Computed is the final installation including overlaid resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputed { /// CalicoKubeControllersDeployment configures the calico-kube-controllers Deployment. If used in /// conjunction with the deprecated ComponentResources, then these overrides take precedence. @@ -6259,7 +6260,7 @@ pub struct InstallationStatusComputed { /// CalicoKubeControllersDeployment configures the calico-kube-controllers Deployment. If used in /// conjunction with the deprecated ComponentResources, then these overrides take precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeployment { /// Metadata is a subset of a Kubernetes object's metadata that is added to the Deployment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6270,7 +6271,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeployment { } /// Metadata is a subset of a Kubernetes object's metadata that is added to the Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -6285,7 +6286,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentMetadata { } /// Spec is the specification of the calico-kube-controllers Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpec { /// MinReadySeconds is the minimum number of seconds for which a newly created Deployment pod should /// be ready without any of its container crashing, for it to be considered available. @@ -6299,7 +6300,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpec { } /// Template describes the calico-kube-controllers Deployment pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. @@ -6312,7 +6313,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -6327,7 +6328,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate } /// Spec is the calico-kube-controllers Deployment's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpec { /// Affinity is a group of affinity scheduling rules for the calico-kube-controllers pods. /// If specified, this overrides any affinity that may be set on the calico-kube-controllers Deployment. @@ -6362,7 +6363,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate /// If specified, this overrides any affinity that may be set on the calico-kube-controllers Deployment. /// If omitted, the calico-kube-controllers Deployment will use its default value for affinity. /// WARNING: Please note that this field will override the default calico-kube-controllers Deployment affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -6376,7 +6377,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -6400,7 +6401,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -6409,7 +6410,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6421,7 +6422,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -6439,7 +6440,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -6460,7 +6461,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -6470,7 +6471,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6482,7 +6483,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -6500,7 +6501,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -6517,7 +6518,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -6542,7 +6543,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -6553,7 +6554,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -6581,7 +6582,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6595,7 +6596,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6615,7 +6616,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6629,7 +6630,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6650,7 +6651,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -6678,7 +6679,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6692,7 +6693,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6712,7 +6713,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6726,7 +6727,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6742,7 +6743,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -6767,7 +6768,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -6778,7 +6779,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -6806,7 +6807,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6820,7 +6821,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6840,7 +6841,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6854,7 +6855,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6875,7 +6876,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -6903,7 +6904,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6917,7 +6918,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6937,7 +6938,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6951,7 +6952,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6991,7 +6992,7 @@ pub enum InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSp /// If specified, this overrides the named calico-kube-controllers Deployment container's resources. /// If omitted, the calico-kube-controllers Deployment will use its default value for this container's resources. /// If used in conjunction with the deprecated ComponentResources, then this value takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -7013,7 +7014,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -7023,7 +7024,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplateSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -7052,7 +7053,7 @@ pub struct InstallationStatusComputedCalicoKubeControllersDeploymentSpecTemplate } /// CalicoNetwork specifies networking configuration options for Calico. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNetwork { /// BGP configures whether or not to enable Calico's BGP capabilities. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7133,7 +7134,7 @@ pub enum InstallationStatusComputedCalicoNetworkHostPorts { Disabled, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNetworkIpPools { /// AllowedUse controls what the IP pool will be used for. If not specified or empty, defaults to /// ["Tunnel", "Workload"] for back-compatibility @@ -7206,7 +7207,7 @@ pub enum InstallationStatusComputedCalicoNetworkMultiInterfaceMode { /// NodeAddressAutodetectionV4 specifies an approach to automatically detect node IPv4 addresses. If not specified, /// will use default auto-detection settings to acquire an IPv4 address for each node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNetworkNodeAddressAutodetectionV4 { /// CanReach enables IP auto-detection based on which source address on the node is used to reach the /// specified IP or domain. @@ -7242,7 +7243,7 @@ pub enum InstallationStatusComputedCalicoNetworkNodeAddressAutodetectionV4Kubern /// NodeAddressAutodetectionV6 specifies an approach to automatically detect node IPv6 addresses. If not specified, /// IPv6 addresses will not be auto-detected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNetworkNodeAddressAutodetectionV6 { /// CanReach enables IP auto-detection based on which source address on the node is used to reach the /// specified IP or domain. @@ -7302,7 +7303,7 @@ pub enum InstallationStatusComputedCalicoNetworkWindowsDataplane { /// CalicoNodeDaemonSet configures the calico-node DaemonSet. If used in /// conjunction with the deprecated ComponentResources, then these overrides take precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSet { /// Metadata is a subset of a Kubernetes object's metadata that is added to the DaemonSet. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7313,7 +7314,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSet { } /// Metadata is a subset of a Kubernetes object's metadata that is added to the DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -7328,7 +7329,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetMetadata { } /// Spec is the specification of the calico-node DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpec { /// MinReadySeconds is the minimum number of seconds for which a newly created DaemonSet pod should /// be ready without any of its container crashing, for it to be considered available. @@ -7342,7 +7343,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpec { } /// Template describes the calico-node DaemonSet pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. @@ -7355,7 +7356,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -7370,7 +7371,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateMetadata { } /// Spec is the calico-node DaemonSet's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpec { /// Affinity is a group of affinity scheduling rules for the calico-node pods. /// If specified, this overrides any affinity that may be set on the calico-node DaemonSet. @@ -7407,7 +7408,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpec { /// If specified, this overrides any affinity that may be set on the calico-node DaemonSet. /// If omitted, the calico-node DaemonSet will use its default value for affinity. /// WARNING: Please note that this field will override the default calico-node DaemonSet affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -7421,7 +7422,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -7445,7 +7446,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -7454,7 +7455,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7466,7 +7467,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -7484,7 +7485,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -7505,7 +7506,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -7515,7 +7516,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7527,7 +7528,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -7545,7 +7546,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -7562,7 +7563,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -7587,7 +7588,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -7598,7 +7599,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -7626,7 +7627,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7640,7 +7641,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7660,7 +7661,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7674,7 +7675,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7695,7 +7696,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -7723,7 +7724,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7737,7 +7738,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7757,7 +7758,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7771,7 +7772,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7787,7 +7788,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -7812,7 +7813,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -7823,7 +7824,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -7851,7 +7852,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7865,7 +7866,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7885,7 +7886,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7899,7 +7900,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7920,7 +7921,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -7948,7 +7949,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7962,7 +7963,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7982,7 +7983,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7996,7 +7997,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinity /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -8036,7 +8037,7 @@ pub enum InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecContainers /// If specified, this overrides the named calico-node DaemonSet container's resources. /// If omitted, the calico-node DaemonSet will use its default value for this container's resources. /// If used in conjunction with the deprecated ComponentResources, then this value takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -8058,7 +8059,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecContaine } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -8101,7 +8102,7 @@ pub enum InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecInitContai /// If specified, this overrides the named calico-node DaemonSet init container's resources. /// If omitted, the calico-node DaemonSet will use its default value for this container's resources. /// If used in conjunction with the deprecated ComponentResources, then this value takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -8123,7 +8124,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecInitCont } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -8133,7 +8134,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecInitCont /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -8162,7 +8163,7 @@ pub struct InstallationStatusComputedCalicoNodeDaemonSetSpecTemplateSpecTolerati } /// CalicoNodeWindowsDaemonSet configures the calico-node-windows DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSet { /// Metadata is a subset of a Kubernetes object's metadata that is added to the DaemonSet. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8173,7 +8174,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSet { } /// Metadata is a subset of a Kubernetes object's metadata that is added to the DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -8188,7 +8189,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetMetadata { } /// Spec is the specification of the calico-node-windows DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpec { /// MinReadySeconds is the minimum number of seconds for which a newly created DaemonSet pod should /// be ready without any of its container crashing, for it to be considered available. @@ -8202,7 +8203,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpec { } /// Template describes the calico-node-windows DaemonSet pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. @@ -8215,7 +8216,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -8230,7 +8231,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateMetad } /// Spec is the calico-node-windows DaemonSet's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpec { /// Affinity is a group of affinity scheduling rules for the calico-node-windows pods. /// If specified, this overrides any affinity that may be set on the calico-node-windows DaemonSet. @@ -8267,7 +8268,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpec /// If specified, this overrides any affinity that may be set on the calico-node-windows DaemonSet. /// If omitted, the calico-node-windows DaemonSet will use its default value for affinity. /// WARNING: Please note that this field will override the default calico-node-windows DaemonSet affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -8281,7 +8282,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -8305,7 +8306,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -8314,7 +8315,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -8326,7 +8327,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -8344,7 +8345,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -8365,7 +8366,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -8375,7 +8376,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -8387,7 +8388,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -8405,7 +8406,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -8422,7 +8423,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -8447,7 +8448,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -8458,7 +8459,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -8486,7 +8487,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -8500,7 +8501,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -8520,7 +8521,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -8534,7 +8535,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -8555,7 +8556,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -8583,7 +8584,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -8597,7 +8598,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -8617,7 +8618,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -8631,7 +8632,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -8647,7 +8648,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -8672,7 +8673,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -8683,7 +8684,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -8711,7 +8712,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -8725,7 +8726,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -8745,7 +8746,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -8759,7 +8760,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -8780,7 +8781,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -8808,7 +8809,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -8822,7 +8823,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -8842,7 +8843,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -8856,7 +8857,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecA /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -8896,7 +8897,7 @@ pub enum InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecCon /// If specified, this overrides the named calico-node-windows DaemonSet container's resources. /// If omitted, the calico-node-windows DaemonSet will use its default value for this container's resources. /// If used in conjunction with the deprecated ComponentResources, then this value takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -8918,7 +8919,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecC } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -8961,7 +8962,7 @@ pub enum InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecIni /// If specified, this overrides the named calico-node-windows DaemonSet init container's resources. /// If omitted, the calico-node-windows DaemonSet will use its default value for this container's resources. /// If used in conjunction with the deprecated ComponentResources, then this value takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -8983,7 +8984,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecI } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -8993,7 +8994,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecI /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -9023,7 +9024,7 @@ pub struct InstallationStatusComputedCalicoNodeWindowsDaemonSetSpecTemplateSpecT /// Deprecated. The CalicoWindowsUpgradeDaemonSet is deprecated and will be removed from the API in the future. /// CalicoWindowsUpgradeDaemonSet configures the calico-windows-upgrade DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSet { /// Metadata is a subset of a Kubernetes object's metadata that is added to the Deployment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9034,7 +9035,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSet { } /// Metadata is a subset of a Kubernetes object's metadata that is added to the Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -9049,7 +9050,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetMetadata { } /// Spec is the specification of the calico-windows-upgrade DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpec { /// MinReadySeconds is the minimum number of seconds for which a newly created Deployment pod should /// be ready without any of its container crashing, for it to be considered available. @@ -9063,7 +9064,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpec { } /// Template describes the calico-windows-upgrade DaemonSet pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. @@ -9076,7 +9077,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -9091,7 +9092,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateMe } /// Spec is the calico-windows-upgrade DaemonSet's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpec { /// Affinity is a group of affinity scheduling rules for the calico-windows-upgrade pods. /// If specified, this overrides any affinity that may be set on the calico-windows-upgrade DaemonSet. @@ -9123,7 +9124,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp /// If specified, this overrides any affinity that may be set on the calico-windows-upgrade DaemonSet. /// If omitted, the calico-windows-upgrade DaemonSet will use its default value for affinity. /// WARNING: Please note that this field will override the default calico-windows-upgrade DaemonSet affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -9137,7 +9138,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -9161,7 +9162,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -9170,7 +9171,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9182,7 +9183,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -9200,7 +9201,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -9221,7 +9222,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -9231,7 +9232,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9243,7 +9244,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -9261,7 +9262,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -9278,7 +9279,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -9303,7 +9304,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -9314,7 +9315,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -9342,7 +9343,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9356,7 +9357,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -9376,7 +9377,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9390,7 +9391,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -9411,7 +9412,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -9439,7 +9440,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9453,7 +9454,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -9473,7 +9474,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9487,7 +9488,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -9503,7 +9504,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -9528,7 +9529,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -9539,7 +9540,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -9567,7 +9568,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9581,7 +9582,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -9601,7 +9602,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9615,7 +9616,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -9636,7 +9637,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -9664,7 +9665,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9678,7 +9679,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -9698,7 +9699,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -9712,7 +9713,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -9749,7 +9750,7 @@ pub enum InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpec /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named calico-windows-upgrade DaemonSet container's resources. /// If omitted, the calico-windows-upgrade DaemonSet will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -9771,7 +9772,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -9781,7 +9782,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -9812,7 +9813,7 @@ pub struct InstallationStatusComputedCalicoWindowsUpgradeDaemonSetSpecTemplateSp /// CertificateManagement configures pods to submit a CertificateSigningRequest to the certificates.k8s.io/v1beta1 API in order /// to obtain TLS certificates. This feature requires that you bring your own CSR signing and approval process, otherwise /// pods will be stuck during initialization. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCertificateManagement { /// Certificate of the authority that signs the CertificateSigningRequests in PEM format. #[serde(rename = "caCert")] @@ -9958,7 +9959,7 @@ pub enum InstallationStatusComputedComponentResourcesComponentName { } /// ResourceRequirements allows customization of limits and requests for compute resources such as cpu and memory. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedComponentResourcesResourceRequirements { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -9980,7 +9981,7 @@ pub struct InstallationStatusComputedComponentResourcesResourceRequirements { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedComponentResourcesResourceRequirementsClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -9990,7 +9991,7 @@ pub struct InstallationStatusComputedComponentResourcesResourceRequirementsClaim /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedControlPlaneTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -10019,7 +10020,7 @@ pub struct InstallationStatusComputedControlPlaneTolerations { } /// CSINodeDriverDaemonSet configures the csi-node-driver DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSet { /// Metadata is a subset of a Kubernetes object's metadata that is added to the DaemonSet. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10030,7 +10031,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSet { } /// Metadata is a subset of a Kubernetes object's metadata that is added to the DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -10045,7 +10046,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetMetadata { } /// Spec is the specification of the csi-node-driver DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpec { /// MinReadySeconds is the minimum number of seconds for which a newly created DaemonSet pod should /// be ready without any of its container crashing, for it to be considered available. @@ -10059,7 +10060,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpec { } /// Template describes the csi-node-driver DaemonSet pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. @@ -10072,7 +10073,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -10087,7 +10088,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateMetadata } /// Spec is the csi-node-driver DaemonSet's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpec { /// Affinity is a group of affinity scheduling rules for the csi-node-driver pods. /// If specified, this overrides any affinity that may be set on the csi-node-driver DaemonSet. @@ -10119,7 +10120,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpec { /// If specified, this overrides any affinity that may be set on the csi-node-driver DaemonSet. /// If omitted, the csi-node-driver DaemonSet will use its default value for affinity. /// WARNING: Please note that this field will override the default csi-node-driver DaemonSet affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -10133,7 +10134,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -10157,7 +10158,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -10166,7 +10167,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10178,7 +10179,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -10196,7 +10197,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -10217,7 +10218,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -10227,7 +10228,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10239,7 +10240,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -10257,7 +10258,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -10274,7 +10275,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -10299,7 +10300,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -10310,7 +10311,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -10338,7 +10339,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10352,7 +10353,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -10372,7 +10373,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10386,7 +10387,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -10407,7 +10408,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -10435,7 +10436,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10449,7 +10450,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -10469,7 +10470,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10483,7 +10484,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -10499,7 +10500,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -10524,7 +10525,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -10535,7 +10536,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -10563,7 +10564,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10577,7 +10578,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -10597,7 +10598,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10611,7 +10612,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -10632,7 +10633,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -10660,7 +10661,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10674,7 +10675,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -10694,7 +10695,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10708,7 +10709,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffin /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -10750,7 +10751,7 @@ pub enum InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecContain /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named csi-node-driver DaemonSet container's resources. /// If omitted, the csi-node-driver DaemonSet will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -10772,7 +10773,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecConta } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -10782,7 +10783,7 @@ pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecConta /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedCsiNodeDriverDaemonSetSpecTemplateSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -10819,7 +10820,7 @@ pub enum InstallationStatusComputedFipsMode { /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedImagePullSecrets { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -10848,7 +10849,7 @@ pub enum InstallationStatusComputedKubernetesProvider { } /// Logging Configuration for Components -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedLogging { /// Customized logging specification for calico-cni plugin #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10856,7 +10857,7 @@ pub struct InstallationStatusComputedLogging { } /// Customized logging specification for calico-cni plugin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedLoggingCni { /// Default: 30 (days) #[serde(default, skip_serializing_if = "Option::is_none", rename = "logFileMaxAgeDays")] @@ -10883,7 +10884,7 @@ pub enum InstallationStatusComputedLoggingCniLogSeverity { /// NodeUpdateStrategy can be used to customize the desired update strategy, such as the MaxUnavailable /// field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedNodeUpdateStrategy { /// Rolling update config params. Present only if type = "RollingUpdate". /// --- @@ -10902,7 +10903,7 @@ pub struct InstallationStatusComputedNodeUpdateStrategy { /// TODO: Update this to follow our convention for oneOf, whatever we decide it /// to be. Same as Deployment `strategy.rollingUpdate`. /// See https://github.com/kubernetes/kubernetes/issues/35345 -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedNodeUpdateStrategyRollingUpdate { /// The maximum number of nodes with an existing available DaemonSet pod that /// can have an updated DaemonSet pod during during an update. @@ -10944,7 +10945,7 @@ pub struct InstallationStatusComputedNodeUpdateStrategyRollingUpdate { /// Deprecated. Please use Installation.Spec.TyphaDeployment instead. /// TyphaAffinity allows configuration of node affinity characteristics for Typha pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaAffinity { /// NodeAffinity describes node affinity scheduling rules for typha. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -10952,7 +10953,7 @@ pub struct InstallationStatusComputedTyphaAffinity { } /// NodeAffinity describes node affinity scheduling rules for typha. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -10977,7 +10978,7 @@ pub struct InstallationStatusComputedTyphaAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: InstallationStatusComputedTyphaAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -10986,7 +10987,7 @@ pub struct InstallationStatusComputedTyphaAffinityNodeAffinityPreferredDuringSch } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10998,7 +10999,7 @@ pub struct InstallationStatusComputedTyphaAffinityNodeAffinityPreferredDuringSch /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -11016,7 +11017,7 @@ pub struct InstallationStatusComputedTyphaAffinityNodeAffinityPreferredDuringSch /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -11044,7 +11045,7 @@ pub struct InstallationStatusComputedTyphaAffinityNodeAffinityPreferredDuringSch /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -11054,7 +11055,7 @@ pub struct InstallationStatusComputedTyphaAffinityNodeAffinityRequiredDuringSche /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11066,7 +11067,7 @@ pub struct InstallationStatusComputedTyphaAffinityNodeAffinityRequiredDuringSche /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -11084,7 +11085,7 @@ pub struct InstallationStatusComputedTyphaAffinityNodeAffinityRequiredDuringSche /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -11102,7 +11103,7 @@ pub struct InstallationStatusComputedTyphaAffinityNodeAffinityRequiredDuringSche /// TyphaDeployment configures the typha Deployment. If used in conjunction with the deprecated /// ComponentResources or TyphaAffinity, then these overrides take precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeployment { /// Metadata is a subset of a Kubernetes object's metadata that is added to the Deployment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11113,7 +11114,7 @@ pub struct InstallationStatusComputedTyphaDeployment { } /// Metadata is a subset of a Kubernetes object's metadata that is added to the Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -11128,7 +11129,7 @@ pub struct InstallationStatusComputedTyphaDeploymentMetadata { } /// Spec is the specification of the typha Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpec { /// MinReadySeconds is the minimum number of seconds for which a newly created Deployment pod should /// be ready without any of its container crashing, for it to be considered available. @@ -11145,7 +11146,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpec { } /// The deployment strategy to use to replace existing pods with new ones. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecStrategy { /// Rolling update config params. Present only if DeploymentStrategyType = /// RollingUpdate. @@ -11157,7 +11158,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecStrategy { /// Rolling update config params. Present only if DeploymentStrategyType = /// RollingUpdate. /// to be. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecStrategyRollingUpdate { /// The maximum number of pods that can be scheduled above the desired number of /// pods. @@ -11187,7 +11188,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecStrategyRollingUpdate { } /// Template describes the typha Deployment pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. @@ -11200,7 +11201,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplate { /// Metadata is a subset of a Kubernetes object's metadata that is added to /// the pod's metadata. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateMetadata { /// Annotations is a map of arbitrary non-identifying metadata. Each of these /// key/value pairs are added to the object's annotations provided the key does not @@ -11215,7 +11216,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateMetadata { } /// Spec is the typha Deployment's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpec { /// Affinity is a group of affinity scheduling rules for the typha pods. /// If specified, this overrides any affinity that may be set on the typha Deployment. @@ -11269,7 +11270,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpec { /// If omitted, the typha Deployment will use its default value for affinity. /// If used in conjunction with the deprecated TyphaAffinity, then this value takes precedence. /// WARNING: Please note that this field will override the default calico-typha Deployment affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -11283,7 +11284,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -11307,7 +11308,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityNode /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -11316,7 +11317,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityNode } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11328,7 +11329,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityNode /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -11346,7 +11347,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityNode /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -11367,7 +11368,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityNode /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -11377,7 +11378,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityNode /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11389,7 +11390,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityNode /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -11407,7 +11408,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityNode /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -11424,7 +11425,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityNode } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -11449,7 +11450,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodA } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -11460,7 +11461,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodA } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -11488,7 +11489,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodA } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11502,7 +11503,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodA /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11522,7 +11523,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodA /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11536,7 +11537,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodA /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11557,7 +11558,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodA /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -11585,7 +11586,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodA } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11599,7 +11600,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodA /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11619,7 +11620,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodA /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11633,7 +11634,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodA /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11649,7 +11650,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodA } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -11674,7 +11675,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodA } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -11685,7 +11686,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodA } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -11713,7 +11714,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodA } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11727,7 +11728,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodA /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11747,7 +11748,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodA /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11761,7 +11762,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodA /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11782,7 +11783,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodA /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -11810,7 +11811,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodA } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11824,7 +11825,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodA /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11844,7 +11845,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodA /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11858,7 +11859,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodA /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11898,7 +11899,7 @@ pub enum InstallationStatusComputedTyphaDeploymentSpecTemplateSpecContainersName /// If specified, this overrides the named typha Deployment container's resources. /// If omitted, the typha Deployment will use its default value for this container's resources. /// If used in conjunction with the deprecated ComponentResources, then this value takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -11920,7 +11921,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecContainersRe } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -11953,7 +11954,7 @@ pub enum InstallationStatusComputedTyphaDeploymentSpecTemplateSpecInitContainers /// If specified, this overrides the named typha Deployment init container's resources. /// If omitted, the typha Deployment will use its default value for this init container's resources. /// If used in conjunction with the deprecated ComponentResources, then this value takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -11975,7 +11976,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecInitContaine } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -11985,7 +11986,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecInitContaine /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -12014,7 +12015,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecTolerations } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods @@ -12126,7 +12127,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecTopologySpre /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods /// in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -12140,7 +12141,7 @@ pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecTopologySpre /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedTyphaDeploymentSpecTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -12163,7 +12164,7 @@ pub enum InstallationStatusComputedVariant { } /// Windows Configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstallationStatusComputedWindowsNodes { /// CNIBinDir is the path to the CNI binaries directory on Windows, it must match what is used as 'bin_dir' under /// [plugins] diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/intrusiondetections.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/intrusiondetections.rs index 761df8502..e84cfbff1 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/intrusiondetections.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/intrusiondetections.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/intrusiondetections.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/intrusiondetections.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,10 +13,11 @@ mod prelude { use self::prelude::*; /// Specification of the desired state for Tigera intrusion detection. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "operator.tigera.io", version = "v1", kind = "IntrusionDetection", plural = "intrusiondetections")] #[kube(status = "IntrusionDetectionStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct IntrusionDetectionSpec { /// AnomalyDetection is now deprecated, and configuring it has no effect. @@ -32,7 +33,7 @@ pub struct IntrusionDetectionSpec { } /// AnomalyDetection is now deprecated, and configuring it has no effect. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IntrusionDetectionAnomalyDetection { /// StorageClassName is now deprecated, and configuring it has no effect. #[serde(default, skip_serializing_if = "Option::is_none", rename = "storageClassName")] @@ -57,7 +58,7 @@ pub enum IntrusionDetectionComponentResourcesComponentName { } /// ResourceRequirements allows customization of limits and requests for compute resources such as cpu and memory. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IntrusionDetectionComponentResourcesResourceRequirements { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -79,7 +80,7 @@ pub struct IntrusionDetectionComponentResourcesResourceRequirements { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IntrusionDetectionComponentResourcesResourceRequirementsClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -88,7 +89,7 @@ pub struct IntrusionDetectionComponentResourcesResourceRequirementsClaims { } /// IntrusionDetectionControllerDeployment configures the IntrusionDetection Controller Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IntrusionDetectionIntrusionDetectionControllerDeployment { /// Spec is the specification of the IntrusionDetectionController Deployment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -96,7 +97,7 @@ pub struct IntrusionDetectionIntrusionDetectionControllerDeployment { } /// Spec is the specification of the IntrusionDetectionController Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IntrusionDetectionIntrusionDetectionControllerDeploymentSpec { /// Template describes the IntrusionDetectionController Deployment pod that will be created. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -104,7 +105,7 @@ pub struct IntrusionDetectionIntrusionDetectionControllerDeploymentSpec { } /// Template describes the IntrusionDetectionController Deployment pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IntrusionDetectionIntrusionDetectionControllerDeploymentSpecTemplate { /// Spec is the IntrusionDetectionController Deployment's PodSpec. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -112,7 +113,7 @@ pub struct IntrusionDetectionIntrusionDetectionControllerDeploymentSpecTemplate } /// Spec is the IntrusionDetectionController Deployment's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IntrusionDetectionIntrusionDetectionControllerDeploymentSpecTemplateSpec { /// Containers is a list of IntrusionDetectionController containers. /// If specified, this overrides the specified IntrusionDetectionController Deployment containers. @@ -151,7 +152,7 @@ pub enum IntrusionDetectionIntrusionDetectionControllerDeploymentSpecTemplateSpe /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named IntrusionDetectionController Deployment container's resources. /// If omitted, the IntrusionDetection Deployment will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IntrusionDetectionIntrusionDetectionControllerDeploymentSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -173,7 +174,7 @@ pub struct IntrusionDetectionIntrusionDetectionControllerDeploymentSpecTemplateS } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IntrusionDetectionIntrusionDetectionControllerDeploymentSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -204,7 +205,7 @@ pub enum IntrusionDetectionIntrusionDetectionControllerDeploymentSpecTemplateSpe /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named IntrusionDetectionController Deployment init container's resources. /// If omitted, the IntrusionDetectionController Deployment will use its default value for this init container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IntrusionDetectionIntrusionDetectionControllerDeploymentSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -226,7 +227,7 @@ pub struct IntrusionDetectionIntrusionDetectionControllerDeploymentSpecTemplateS } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IntrusionDetectionIntrusionDetectionControllerDeploymentSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -235,7 +236,7 @@ pub struct IntrusionDetectionIntrusionDetectionControllerDeploymentSpecTemplateS } /// Most recently observed state for Tigera intrusion detection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IntrusionDetectionStatus { /// Conditions represents the latest observed set of conditions for the component. A component may be one or more of /// Ready, Progressing, Degraded or other customer types. diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/logcollectors.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/logcollectors.rs index 33d2a472c..f116d1ac7 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/logcollectors.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/logcollectors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/logcollectors.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/logcollectors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,10 +13,11 @@ mod prelude { use self::prelude::*; /// Specification of the desired state for Tigera log collection. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "operator.tigera.io", version = "v1", kind = "LogCollector", plural = "logcollectors")] #[kube(status = "LogCollectorStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct LogCollectorSpec { /// Configuration for importing audit logs from managed kubernetes cluster log sources. @@ -43,7 +44,7 @@ pub struct LogCollectorSpec { } /// Configuration for importing audit logs from managed kubernetes cluster log sources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogCollectorAdditionalSources { /// If specified with EKS Provider in Installation, enables fetching EKS /// audit logs. @@ -53,7 +54,7 @@ pub struct LogCollectorAdditionalSources { /// If specified with EKS Provider in Installation, enables fetching EKS /// audit logs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogCollectorAdditionalSourcesEksCloudwatchLog { /// Cloudwatch audit logs fetching interval in seconds. /// Default: 60 @@ -71,7 +72,7 @@ pub struct LogCollectorAdditionalSourcesEksCloudwatchLog { } /// Configuration for exporting flow, audit, and DNS logs to external storage. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogCollectorAdditionalStores { /// If specified, enables exporting of flow, audit, and DNS logs to Amazon S3 storage. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -85,7 +86,7 @@ pub struct LogCollectorAdditionalStores { } /// If specified, enables exporting of flow, audit, and DNS logs to Amazon S3 storage. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogCollectorAdditionalStoresS3 { /// Name of the S3 bucket to send logs #[serde(rename = "bucketName")] @@ -98,14 +99,14 @@ pub struct LogCollectorAdditionalStoresS3 { } /// If specified, enables exporting of flow, audit, and DNS logs to splunk. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogCollectorAdditionalStoresSplunk { /// Location for splunk's http event collector end point. example `https://1.2.3.4:8088` pub endpoint: String, } /// If specified, enables exporting of flow, audit, and DNS logs to syslog. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogCollectorAdditionalStoresSyslog { /// Encryption configures traffic encryption to the Syslog server. /// Default: None @@ -140,7 +141,7 @@ pub enum LogCollectorCollectProcessPath { } /// EKSLogForwarderDeployment configures the EKSLogForwarderDeployment Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogCollectorEksLogForwarderDeployment { /// Spec is the specification of the EKSLogForwarder Deployment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -148,7 +149,7 @@ pub struct LogCollectorEksLogForwarderDeployment { } /// Spec is the specification of the EKSLogForwarder Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogCollectorEksLogForwarderDeploymentSpec { /// Template describes the EKSLogForwarder Deployment pod that will be created. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -156,7 +157,7 @@ pub struct LogCollectorEksLogForwarderDeploymentSpec { } /// Template describes the EKSLogForwarder Deployment pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogCollectorEksLogForwarderDeploymentSpecTemplate { /// Spec is the EKSLogForwarder Deployment's PodSpec. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -164,7 +165,7 @@ pub struct LogCollectorEksLogForwarderDeploymentSpecTemplate { } /// Spec is the EKSLogForwarder Deployment's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogCollectorEksLogForwarderDeploymentSpecTemplateSpec { /// Containers is a list of EKSLogForwarder containers. /// If specified, this overrides the specified EKSLogForwarder Deployment containers. @@ -201,7 +202,7 @@ pub enum LogCollectorEksLogForwarderDeploymentSpecTemplateSpecContainersName { /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named EKSLogForwarder Deployment container's resources. /// If omitted, the EKSLogForwarder Deployment will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogCollectorEksLogForwarderDeploymentSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -223,7 +224,7 @@ pub struct LogCollectorEksLogForwarderDeploymentSpecTemplateSpecContainersResour } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogCollectorEksLogForwarderDeploymentSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -254,7 +255,7 @@ pub enum LogCollectorEksLogForwarderDeploymentSpecTemplateSpecInitContainersName /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named EKSLogForwarder Deployment init container's resources. /// If omitted, the EKSLogForwarder Deployment will use its default value for this init container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogCollectorEksLogForwarderDeploymentSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -276,7 +277,7 @@ pub struct LogCollectorEksLogForwarderDeploymentSpecTemplateSpecInitContainersRe } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogCollectorEksLogForwarderDeploymentSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -285,7 +286,7 @@ pub struct LogCollectorEksLogForwarderDeploymentSpecTemplateSpecInitContainersRe } /// FluentdDaemonSet configures the Fluentd DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogCollectorFluentdDaemonSet { /// Spec is the specification of the Fluentd DaemonSet. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -293,7 +294,7 @@ pub struct LogCollectorFluentdDaemonSet { } /// Spec is the specification of the Fluentd DaemonSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogCollectorFluentdDaemonSetSpec { /// Template describes the Fluentd DaemonSet pod that will be created. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -301,7 +302,7 @@ pub struct LogCollectorFluentdDaemonSetSpec { } /// Template describes the Fluentd DaemonSet pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogCollectorFluentdDaemonSetSpecTemplate { /// Spec is the Fluentd DaemonSet's PodSpec. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -309,7 +310,7 @@ pub struct LogCollectorFluentdDaemonSetSpecTemplate { } /// Spec is the Fluentd DaemonSet's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogCollectorFluentdDaemonSetSpecTemplateSpec { /// Containers is a list of Fluentd DaemonSet containers. /// If specified, this overrides the specified Fluentd DaemonSet containers. @@ -346,7 +347,7 @@ pub enum LogCollectorFluentdDaemonSetSpecTemplateSpecContainersName { /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named Fluentd DaemonSet container's resources. /// If omitted, the Fluentd DaemonSet will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogCollectorFluentdDaemonSetSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -368,7 +369,7 @@ pub struct LogCollectorFluentdDaemonSetSpecTemplateSpecContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogCollectorFluentdDaemonSetSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -399,7 +400,7 @@ pub enum LogCollectorFluentdDaemonSetSpecTemplateSpecInitContainersName { /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named Fluentd DaemonSet init container's resources. /// If omitted, the Fluentd DaemonSet will use its default value for this init container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogCollectorFluentdDaemonSetSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -421,7 +422,7 @@ pub struct LogCollectorFluentdDaemonSetSpecTemplateSpecInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogCollectorFluentdDaemonSetSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -430,7 +431,7 @@ pub struct LogCollectorFluentdDaemonSetSpecTemplateSpecInitContainersResourcesCl } /// Most recently observed state for Tigera log collection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogCollectorStatus { /// Conditions represents the latest observed set of conditions for the component. A component may be one or more of /// Ready, Progressing, Degraded or other customer types. diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/logstorages.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/logstorages.rs index f1e72524b..e20a0427e 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/logstorages.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/logstorages.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/logstorages.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/logstorages.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,10 +13,11 @@ mod prelude { use self::prelude::*; /// Specification of the desired state for Tigera log storage. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "operator.tigera.io", version = "v1", kind = "LogStorage", plural = "logstorages")] #[kube(status = "LogStorageStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct LogStorageSpec { /// ComponentResources can be used to customize the resource requirements for each component. @@ -79,7 +80,7 @@ pub enum LogStorageComponentResourcesComponentName { } /// ResourceRequirements allows customization of limits and requests for compute resources such as cpu and memory. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageComponentResourcesResourceRequirements { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -101,7 +102,7 @@ pub struct LogStorageComponentResourcesResourceRequirements { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageComponentResourcesResourceRequirementsClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -111,7 +112,7 @@ pub struct LogStorageComponentResourcesResourceRequirementsClaims { /// ECKOperatorStatefulSet configures the ECKOperator StatefulSet. If used in conjunction with the deprecated /// ComponentResources, then these overrides take precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageEckOperatorStatefulSet { /// Spec is the specification of the ECKOperator StatefulSet. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -119,7 +120,7 @@ pub struct LogStorageEckOperatorStatefulSet { } /// Spec is the specification of the ECKOperator StatefulSet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageEckOperatorStatefulSetSpec { /// Template describes the ECKOperator StatefulSet pod that will be created. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -127,7 +128,7 @@ pub struct LogStorageEckOperatorStatefulSetSpec { } /// Template describes the ECKOperator StatefulSet pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageEckOperatorStatefulSetSpecTemplate { /// Spec is the ECKOperator StatefulSet's PodSpec. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -135,7 +136,7 @@ pub struct LogStorageEckOperatorStatefulSetSpecTemplate { } /// Spec is the ECKOperator StatefulSet's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageEckOperatorStatefulSetSpecTemplateSpec { /// Containers is a list of ECKOperator StatefulSet containers. /// If specified, this overrides the specified ECKOperator StatefulSet containers. @@ -172,7 +173,7 @@ pub enum LogStorageEckOperatorStatefulSetSpecTemplateSpecContainersName { /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named ECKOperator StatefulSet container's resources. /// If omitted, the ECKOperator StatefulSet will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageEckOperatorStatefulSetSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -194,7 +195,7 @@ pub struct LogStorageEckOperatorStatefulSetSpecTemplateSpecContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageEckOperatorStatefulSetSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -203,7 +204,7 @@ pub struct LogStorageEckOperatorStatefulSetSpecTemplateSpecContainersResourcesCl } /// ECKOperatorStatefulSetInitContainer is a ECKOperator StatefulSet init container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageEckOperatorStatefulSetSpecTemplateSpecInitContainers { /// Name is an enum which identifies the ECKOperator StatefulSet init container by name. pub name: String, @@ -217,7 +218,7 @@ pub struct LogStorageEckOperatorStatefulSetSpecTemplateSpecInitContainers { /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named ECKOperator StatefulSet init container's resources. /// If omitted, the ECKOperator StatefulSet will use its default value for this init container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageEckOperatorStatefulSetSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -239,7 +240,7 @@ pub struct LogStorageEckOperatorStatefulSetSpecTemplateSpecInitContainersResourc } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageEckOperatorStatefulSetSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -248,7 +249,7 @@ pub struct LogStorageEckOperatorStatefulSetSpecTemplateSpecInitContainersResourc } /// ElasticsearchMetricsDeployment configures the tigera-elasticsearch-metric Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageElasticsearchMetricsDeployment { /// Spec is the specification of the ElasticsearchMetrics Deployment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -256,7 +257,7 @@ pub struct LogStorageElasticsearchMetricsDeployment { } /// Spec is the specification of the ElasticsearchMetrics Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageElasticsearchMetricsDeploymentSpec { /// Template describes the ElasticsearchMetrics Deployment pod that will be created. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -264,7 +265,7 @@ pub struct LogStorageElasticsearchMetricsDeploymentSpec { } /// Template describes the ElasticsearchMetrics Deployment pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageElasticsearchMetricsDeploymentSpecTemplate { /// Spec is the ElasticsearchMetrics Deployment's PodSpec. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -272,7 +273,7 @@ pub struct LogStorageElasticsearchMetricsDeploymentSpecTemplate { } /// Spec is the ElasticsearchMetrics Deployment's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageElasticsearchMetricsDeploymentSpecTemplateSpec { /// Containers is a list of ElasticsearchMetricsDeployment containers. /// If specified, this overrides the specified ElasticsearchMetricsDeployment containers. @@ -309,7 +310,7 @@ pub enum LogStorageElasticsearchMetricsDeploymentSpecTemplateSpecContainersName /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named ElasticsearchMetricsDeployment container's resources. /// If omitted, the ElasticsearchMetrics Deployment will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageElasticsearchMetricsDeploymentSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -331,7 +332,7 @@ pub struct LogStorageElasticsearchMetricsDeploymentSpecTemplateSpecContainersRes } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageElasticsearchMetricsDeploymentSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -362,7 +363,7 @@ pub enum LogStorageElasticsearchMetricsDeploymentSpecTemplateSpecInitContainersN /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named ElasticsearchMetricsDeployment init container's resources. /// If omitted, the ElasticsearchMetrics Deployment will use its default value for this init container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageElasticsearchMetricsDeploymentSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -384,7 +385,7 @@ pub struct LogStorageElasticsearchMetricsDeploymentSpecTemplateSpecInitContainer } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageElasticsearchMetricsDeploymentSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -393,7 +394,7 @@ pub struct LogStorageElasticsearchMetricsDeploymentSpecTemplateSpecInitContainer } /// Index defines the configuration for the indices in the Elasticsearch cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageIndices { /// Replicas defines how many replicas each index will have. See https://www.elastic.co/guide/en/elasticsearch/reference/current/scalability.html #[serde(default, skip_serializing_if = "Option::is_none")] @@ -401,7 +402,7 @@ pub struct LogStorageIndices { } /// Kibana configures the Kibana Spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageKibana { /// Spec is the specification of the Kibana. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -409,7 +410,7 @@ pub struct LogStorageKibana { } /// Spec is the specification of the Kibana. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageKibanaSpec { /// Template describes the Kibana pod that will be created. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -417,7 +418,7 @@ pub struct LogStorageKibanaSpec { } /// Template describes the Kibana pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageKibanaSpecTemplate { /// Spec is the Kibana's PodSpec. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -425,7 +426,7 @@ pub struct LogStorageKibanaSpecTemplate { } /// Spec is the Kibana's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageKibanaSpecTemplateSpec { /// Containers is a list of Kibana containers. /// If specified, this overrides the specified Kibana Deployment containers. @@ -462,7 +463,7 @@ pub enum LogStorageKibanaSpecTemplateSpecContainersName { /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named Kibana container's resources. /// If omitted, the Kibana will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageKibanaSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -484,7 +485,7 @@ pub struct LogStorageKibanaSpecTemplateSpecContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageKibanaSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -517,7 +518,7 @@ pub enum LogStorageKibanaSpecTemplateSpecInitContainersName { /// If specified, this overrides the named Kibana Deployment init container's resources. /// If omitted, the Kibana Deployment will use its default value for this init container's resources. /// If used in conjunction with the deprecated ComponentResources, then this value takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageKibanaSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -539,7 +540,7 @@ pub struct LogStorageKibanaSpecTemplateSpecInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageKibanaSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -548,7 +549,7 @@ pub struct LogStorageKibanaSpecTemplateSpecInitContainersResourcesClaims { } /// LinseedDeployment configures the linseed Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageLinseedDeployment { /// Spec is the specification of the linseed Deployment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -556,7 +557,7 @@ pub struct LogStorageLinseedDeployment { } /// Spec is the specification of the linseed Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageLinseedDeploymentSpec { /// Template describes the linseed Deployment pod that will be created. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -564,7 +565,7 @@ pub struct LogStorageLinseedDeploymentSpec { } /// Template describes the linseed Deployment pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageLinseedDeploymentSpecTemplate { /// Spec is the linseed Deployment's PodSpec. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -572,7 +573,7 @@ pub struct LogStorageLinseedDeploymentSpecTemplate { } /// Spec is the linseed Deployment's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageLinseedDeploymentSpecTemplateSpec { /// Containers is a list of linseed containers. /// If specified, this overrides the specified linseed Deployment containers. @@ -609,7 +610,7 @@ pub enum LogStorageLinseedDeploymentSpecTemplateSpecContainersName { /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named linseed Deployment container's resources. /// If omitted, the linseed Deployment will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageLinseedDeploymentSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -631,7 +632,7 @@ pub struct LogStorageLinseedDeploymentSpecTemplateSpecContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageLinseedDeploymentSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -664,7 +665,7 @@ pub enum LogStorageLinseedDeploymentSpecTemplateSpecInitContainersName { /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named linseed Deployment init container's resources. /// If omitted, the linseed Deployment will use its default value for this init container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageLinseedDeploymentSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -686,7 +687,7 @@ pub struct LogStorageLinseedDeploymentSpecTemplateSpecInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageLinseedDeploymentSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -695,7 +696,7 @@ pub struct LogStorageLinseedDeploymentSpecTemplateSpecInitContainersResourcesCla } /// Nodes defines the configuration for a set of identical Elasticsearch cluster nodes, each of type master, data, and ingest. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageNodes { /// Count defines the number of nodes in the Elasticsearch cluster. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -709,7 +710,7 @@ pub struct LogStorageNodes { } /// NodeSets defines configuration specific to each Elasticsearch Node Set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageNodesNodeSets { /// SelectionAttributes defines K8s node attributes a NodeSet should use when setting the Node Affinity selectors and /// Elasticsearch cluster awareness attributes for the Elasticsearch nodes. The list of SelectionAttributes are used @@ -721,7 +722,7 @@ pub struct LogStorageNodesNodeSets { /// NodeSetSelectionAttribute defines a K8s node "attribute" the Elasticsearch nodes should be aware of. The "Name" and "Value" /// are used together to set the "awareness" attributes in Elasticsearch, while the "NodeLabel" and "Value" are used together /// to define Node Affinity for the Pods created for the Elasticsearch nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageNodesNodeSetsSelectionAttributes { pub name: String, #[serde(rename = "nodeLabel")] @@ -730,7 +731,7 @@ pub struct LogStorageNodesNodeSetsSelectionAttributes { } /// ResourceRequirements defines the resource limits and requirements for the Elasticsearch cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageNodesResourceRequirements { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -752,7 +753,7 @@ pub struct LogStorageNodesResourceRequirements { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageNodesResourceRequirementsClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -761,7 +762,7 @@ pub struct LogStorageNodesResourceRequirementsClaims { } /// Retention defines how long data is retained in the Elasticsearch cluster before it is cleared. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageRetention { /// AuditReports configures the retention period for audit logs, in days. Logs written on a day that started at least this long ago are /// removed. To keep logs for at least x days, use a retention period of x+1. @@ -802,7 +803,7 @@ pub struct LogStorageRetention { } /// Most recently observed state for Tigera log storage. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct LogStorageStatus { /// Conditions represents the latest observed set of conditions for the component. A component may be one or more of /// Ready, Progressing, Degraded or other customer types. diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/managementclusterconnections.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/managementclusterconnections.rs index 1c6eaa1e9..18ac638d4 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/managementclusterconnections.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/managementclusterconnections.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/managementclusterconnections.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/managementclusterconnections.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,10 +13,11 @@ mod prelude { use self::prelude::*; /// ManagementClusterConnectionSpec defines the desired state of ManagementClusterConnection -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "operator.tigera.io", version = "v1", kind = "ManagementClusterConnection", plural = "managementclusterconnections")] #[kube(status = "ManagementClusterConnectionStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ManagementClusterConnectionSpec { /// GuardianDeployment configures the guardian Deployment. @@ -32,7 +33,7 @@ pub struct ManagementClusterConnectionSpec { } /// GuardianDeployment configures the guardian Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagementClusterConnectionGuardianDeployment { /// Spec is the specification of the guardian Deployment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -40,7 +41,7 @@ pub struct ManagementClusterConnectionGuardianDeployment { } /// Spec is the specification of the guardian Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagementClusterConnectionGuardianDeploymentSpec { /// Template describes the guardian Deployment pod that will be created. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -48,7 +49,7 @@ pub struct ManagementClusterConnectionGuardianDeploymentSpec { } /// Template describes the guardian Deployment pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagementClusterConnectionGuardianDeploymentSpecTemplate { /// Spec is the guardian Deployment's PodSpec. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -56,7 +57,7 @@ pub struct ManagementClusterConnectionGuardianDeploymentSpecTemplate { } /// Spec is the guardian Deployment's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagementClusterConnectionGuardianDeploymentSpecTemplateSpec { /// Containers is a list of guardian containers. /// If specified, this overrides the specified guardian Deployment containers. @@ -93,7 +94,7 @@ pub enum ManagementClusterConnectionGuardianDeploymentSpecTemplateSpecContainers /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named guardian Deployment container's resources. /// If omitted, the guardian Deployment will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagementClusterConnectionGuardianDeploymentSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -115,7 +116,7 @@ pub struct ManagementClusterConnectionGuardianDeploymentSpecTemplateSpecContaine } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagementClusterConnectionGuardianDeploymentSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -124,7 +125,7 @@ pub struct ManagementClusterConnectionGuardianDeploymentSpecTemplateSpecContaine } /// GuardianDeploymentInitContainer is a guardian Deployment init container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagementClusterConnectionGuardianDeploymentSpecTemplateSpecInitContainers { /// Name is an enum which identifies the guardian Deployment init container by name. pub name: String, @@ -138,7 +139,7 @@ pub struct ManagementClusterConnectionGuardianDeploymentSpecTemplateSpecInitCont /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named guardian Deployment init container's resources. /// If omitted, the guardian Deployment will use its default value for this init container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagementClusterConnectionGuardianDeploymentSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -160,7 +161,7 @@ pub struct ManagementClusterConnectionGuardianDeploymentSpecTemplateSpecInitCont } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagementClusterConnectionGuardianDeploymentSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -169,7 +170,7 @@ pub struct ManagementClusterConnectionGuardianDeploymentSpecTemplateSpecInitCont } /// TLS provides options for configuring how Managed Clusters can establish an mTLS connection with the Management Cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagementClusterConnectionTls { /// CA indicates which verification method the tunnel client should use to verify the tunnel server's identity. /// When left blank or set to 'Tigera', the tunnel client will expect a self-signed cert to be included in the certificate bundle @@ -188,7 +189,7 @@ pub enum ManagementClusterConnectionTlsCa { } /// ManagementClusterConnectionStatus defines the observed state of ManagementClusterConnection -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagementClusterConnectionStatus { /// Conditions represents the latest observed set of conditions for the component. A component may be one or more of /// Ready, Progressing, Degraded or other customer types. diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/managementclusters.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/managementclusters.rs index dfcf7f2a1..8993b9e4f 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/managementclusters.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/managementclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/managementclusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/managementclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/managers.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/managers.rs index 6eaaf0fed..2600c6e56 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/managers.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/managers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/managers.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/managers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,10 +13,11 @@ mod prelude { use self::prelude::*; /// Specification of the desired state for the Calico Enterprise manager. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "operator.tigera.io", version = "v1", kind = "Manager", plural = "managers")] #[kube(status = "ManagerStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ManagerSpec { /// ManagerDeployment configures the Manager Deployment. @@ -25,7 +26,7 @@ pub struct ManagerSpec { } /// ManagerDeployment configures the Manager Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagerManagerDeployment { /// Spec is the specification of the Manager Deployment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -33,7 +34,7 @@ pub struct ManagerManagerDeployment { } /// Spec is the specification of the Manager Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagerManagerDeploymentSpec { /// Template describes the Manager Deployment pod that will be created. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -41,7 +42,7 @@ pub struct ManagerManagerDeploymentSpec { } /// Template describes the Manager Deployment pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagerManagerDeploymentSpecTemplate { /// Spec is the Manager Deployment's PodSpec. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -49,7 +50,7 @@ pub struct ManagerManagerDeploymentSpecTemplate { } /// Spec is the Manager Deployment's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagerManagerDeploymentSpecTemplateSpec { /// Containers is a list of Manager containers. /// If specified, this overrides the specified Manager Deployment containers. @@ -90,7 +91,7 @@ pub enum ManagerManagerDeploymentSpecTemplateSpecContainersName { /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named Manager Deployment container's resources. /// If omitted, the Manager Deployment will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagerManagerDeploymentSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -112,7 +113,7 @@ pub struct ManagerManagerDeploymentSpecTemplateSpecContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagerManagerDeploymentSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -149,7 +150,7 @@ pub enum ManagerManagerDeploymentSpecTemplateSpecInitContainersName { /// If specified, this overrides the named Manager Deployment init container's resources. /// If omitted, the Manager Deployment will use its default value for this init container's resources. /// If used in conjunction with the deprecated ComponentResources, then this value takes precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagerManagerDeploymentSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -171,7 +172,7 @@ pub struct ManagerManagerDeploymentSpecTemplateSpecInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagerManagerDeploymentSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -180,7 +181,7 @@ pub struct ManagerManagerDeploymentSpecTemplateSpecInitContainersResourcesClaims } /// Most recently observed state for the Calico Enterprise manager. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ManagerStatus { /// Conditions represents the latest observed set of conditions for the component. A component may be one or more of /// Ready, Progressing, Degraded or other customer types. diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/monitors.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/monitors.rs index 302d889fd..839a41b56 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/monitors.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/monitors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/monitors.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/monitors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,10 +13,11 @@ mod prelude { use self::prelude::*; /// MonitorSpec defines the desired state of Tigera monitor. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "operator.tigera.io", version = "v1", kind = "Monitor", plural = "monitors")] #[kube(status = "MonitorStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct MonitorSpec { /// AlertManager is the configuration for the AlertManager. @@ -33,7 +34,7 @@ pub struct MonitorSpec { } /// AlertManager is the configuration for the AlertManager. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MonitorAlertManager { /// Spec is the specification of the Alertmanager. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -41,7 +42,7 @@ pub struct MonitorAlertManager { } /// Spec is the specification of the Alertmanager. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MonitorAlertManagerSpec { /// Define resources requests and limits for single Pods. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -49,7 +50,7 @@ pub struct MonitorAlertManagerSpec { } /// Define resources requests and limits for single Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MonitorAlertManagerSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -71,7 +72,7 @@ pub struct MonitorAlertManagerSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MonitorAlertManagerSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -82,7 +83,7 @@ pub struct MonitorAlertManagerSpecResourcesClaims { /// ExternalPrometheus optionally configures integration with an external Prometheus for scraping Calico metrics. When /// specified, the operator will render resources in the defined namespace. This option can be useful for configuring /// scraping from git-ops tools without the need of post-installation steps. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MonitorExternalPrometheus { /// Namespace is the namespace where the operator will create resources for your Prometheus instance. The namespace /// must be created before the operator will create Prometheus resources. @@ -103,7 +104,7 @@ pub struct MonitorExternalPrometheus { /// - Params to scrape all metrics available in Calico Enterprise. /// - BearerTokenSecret (If not overridden, the operator will also create corresponding RBAC that allows authz to the metrics.) /// - TLSConfig, containing the caFile and serverName. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MonitorExternalPrometheusServiceMonitor { /// The endpoints to scrape. This struct contains a subset of the Endpoint as defined in the prometheus docs. Fields /// related to connecting to our Prometheus server are automatically set by the operator. @@ -117,7 +118,7 @@ pub struct MonitorExternalPrometheusServiceMonitor { } /// Endpoint contains a subset of relevant fields from the Prometheus Endpoint struct. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MonitorExternalPrometheusServiceMonitorEndpoints { /// Secret to mount to read bearer token for scraping targets. /// Recommended: when unset, the operator will create a Secret, a ClusterRole and a ClusterRoleBinding. @@ -154,7 +155,7 @@ pub struct MonitorExternalPrometheusServiceMonitorEndpoints { /// Secret to mount to read bearer token for scraping targets. /// Recommended: when unset, the operator will create a Secret, a ClusterRole and a ClusterRoleBinding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MonitorExternalPrometheusServiceMonitorEndpointsBearerTokenSecret { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -171,7 +172,7 @@ pub struct MonitorExternalPrometheusServiceMonitorEndpointsBearerTokenSecret { /// RelabelConfig allows dynamic rewriting of the label set, being applied to samples before ingestion. /// It defines ``-section of Prometheus configuration. /// More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MonitorExternalPrometheusServiceMonitorEndpointsMetricRelabelings { /// Action to perform based on regex matching. Default is 'replace'. /// uppercase and lowercase actions require Prometheus >= 2.36. @@ -243,7 +244,7 @@ pub enum MonitorExternalPrometheusServiceMonitorEndpointsMetricRelabelingsAction /// RelabelConfig allows dynamic rewriting of the label set, being applied to samples before ingestion. /// It defines ``-section of Prometheus configuration. /// More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MonitorExternalPrometheusServiceMonitorEndpointsRelabelings { /// Action to perform based on regex matching. Default is 'replace'. /// uppercase and lowercase actions require Prometheus >= 2.36. @@ -313,7 +314,7 @@ pub enum MonitorExternalPrometheusServiceMonitorEndpointsRelabelingsAction { } /// Prometheus is the configuration for the Prometheus. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MonitorPrometheus { /// Spec is the specification of the Prometheus. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -321,7 +322,7 @@ pub struct MonitorPrometheus { } /// Spec is the specification of the Prometheus. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MonitorPrometheusSpec { /// CommonPrometheusFields are the options available to both the Prometheus server and agent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "commonPrometheusFields")] @@ -329,7 +330,7 @@ pub struct MonitorPrometheusSpec { } /// CommonPrometheusFields are the options available to both the Prometheus server and agent. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MonitorPrometheusSpecCommonPrometheusFields { /// Containers is a list of Prometheus containers. /// If specified, this overrides the specified Prometheus Deployment containers. @@ -364,7 +365,7 @@ pub enum MonitorPrometheusSpecCommonPrometheusFieldsContainersName { /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named Prometheus container's resources. /// If omitted, the Prometheus will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MonitorPrometheusSpecCommonPrometheusFieldsContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -386,7 +387,7 @@ pub struct MonitorPrometheusSpecCommonPrometheusFieldsContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MonitorPrometheusSpecCommonPrometheusFieldsContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -395,7 +396,7 @@ pub struct MonitorPrometheusSpecCommonPrometheusFieldsContainersResourcesClaims } /// Define resources requests and limits for single Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MonitorPrometheusSpecCommonPrometheusFieldsResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -417,7 +418,7 @@ pub struct MonitorPrometheusSpecCommonPrometheusFieldsResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MonitorPrometheusSpecCommonPrometheusFieldsResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -426,7 +427,7 @@ pub struct MonitorPrometheusSpecCommonPrometheusFieldsResourcesClaims { } /// MonitorStatus defines the observed state of Tigera monitor. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct MonitorStatus { /// Conditions represents the latest observed set of conditions for the component. A component may be one or more of /// Ready, Progressing, Degraded or other customer types. diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/packetcaptures.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/packetcaptures.rs index 88609742f..92634d8ae 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/packetcaptures.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/packetcaptures.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/packetcaptures.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/packetcaptures.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,10 +13,11 @@ mod prelude { use self::prelude::*; /// Specification of the desired state for the PacketCapture. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "operator.tigera.io", version = "v1", kind = "PacketCapture", plural = "packetcaptures")] #[kube(status = "PacketCaptureStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PacketCaptureSpec { /// PacketCaptureDeployment configures the PacketCapture Deployment. @@ -25,7 +26,7 @@ pub struct PacketCaptureSpec { } /// PacketCaptureDeployment configures the PacketCapture Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PacketCapturePacketCaptureDeployment { /// Spec is the specification of the PacketCapture Deployment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -33,7 +34,7 @@ pub struct PacketCapturePacketCaptureDeployment { } /// Spec is the specification of the PacketCapture Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PacketCapturePacketCaptureDeploymentSpec { /// Template describes the PacketCapture Deployment pod that will be created. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -41,7 +42,7 @@ pub struct PacketCapturePacketCaptureDeploymentSpec { } /// Template describes the PacketCapture Deployment pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PacketCapturePacketCaptureDeploymentSpecTemplate { /// Spec is the PacketCapture Deployment's PodSpec. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -49,7 +50,7 @@ pub struct PacketCapturePacketCaptureDeploymentSpecTemplate { } /// Spec is the PacketCapture Deployment's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PacketCapturePacketCaptureDeploymentSpecTemplateSpec { /// Containers is a list of PacketCapture containers. /// If specified, this overrides the specified PacketCapture Deployment containers. @@ -86,7 +87,7 @@ pub enum PacketCapturePacketCaptureDeploymentSpecTemplateSpecContainersName { /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named PacketCapture Deployment container's resources. /// If omitted, the PacketCapture Deployment will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PacketCapturePacketCaptureDeploymentSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -108,7 +109,7 @@ pub struct PacketCapturePacketCaptureDeploymentSpecTemplateSpecContainersResourc } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PacketCapturePacketCaptureDeploymentSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -139,7 +140,7 @@ pub enum PacketCapturePacketCaptureDeploymentSpecTemplateSpecInitContainersName /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named PacketCapture Deployment init container's resources. /// If omitted, the PacketCapture Deployment will use its default value for this init container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PacketCapturePacketCaptureDeploymentSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -161,7 +162,7 @@ pub struct PacketCapturePacketCaptureDeploymentSpecTemplateSpecInitContainersRes } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PacketCapturePacketCaptureDeploymentSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -170,7 +171,7 @@ pub struct PacketCapturePacketCaptureDeploymentSpecTemplateSpecInitContainersRes } /// Most recently observed state for the PacketCapture. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PacketCaptureStatus { /// Conditions represents the latest observed set of conditions for the component. A component may be one or more of /// Ready, Progressing, Degraded or other customer types. diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/policyrecommendations.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/policyrecommendations.rs index 41903b09c..de88f06f2 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/policyrecommendations.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/policyrecommendations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/policyrecommendations.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/policyrecommendations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,10 +13,11 @@ use self::prelude::*; /// PolicyRecommendationSpec defines configuration for the Calico Enterprise Policy Recommendation /// service. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "operator.tigera.io", version = "v1", kind = "PolicyRecommendation", plural = "policyrecommendations")] #[kube(status = "PolicyRecommendationStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PolicyRecommendationSpec { /// PolicyRecommendation configures the PolicyRecommendation Deployment. @@ -25,7 +26,7 @@ pub struct PolicyRecommendationSpec { } /// PolicyRecommendation configures the PolicyRecommendation Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRecommendationPolicyRecommendationDeployment { /// Spec is the specification of the PolicyRecommendation Deployment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -33,7 +34,7 @@ pub struct PolicyRecommendationPolicyRecommendationDeployment { } /// Spec is the specification of the PolicyRecommendation Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRecommendationPolicyRecommendationDeploymentSpec { /// Template describes the PolicyRecommendation Deployment pod that will be created. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -41,7 +42,7 @@ pub struct PolicyRecommendationPolicyRecommendationDeploymentSpec { } /// Template describes the PolicyRecommendation Deployment pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRecommendationPolicyRecommendationDeploymentSpecTemplate { /// Spec is the PolicyRecommendation Deployment's PodSpec. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -49,7 +50,7 @@ pub struct PolicyRecommendationPolicyRecommendationDeploymentSpecTemplate { } /// Spec is the PolicyRecommendation Deployment's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRecommendationPolicyRecommendationDeploymentSpecTemplateSpec { /// Containers is a list of PolicyRecommendation containers. /// If specified, this overrides the specified PolicyRecommendation Deployment containers. @@ -86,7 +87,7 @@ pub enum PolicyRecommendationPolicyRecommendationDeploymentSpecTemplateSpecConta /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named PolicyRecommendation Deployment container's resources. /// If omitted, the PolicyRecommendation Deployment will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRecommendationPolicyRecommendationDeploymentSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -108,7 +109,7 @@ pub struct PolicyRecommendationPolicyRecommendationDeploymentSpecTemplateSpecCon } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRecommendationPolicyRecommendationDeploymentSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -138,7 +139,7 @@ pub enum PolicyRecommendationPolicyRecommendationDeploymentSpecTemplateSpecInitC /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named PolicyRecommendation Deployment init container's resources. /// If omitted, the PolicyRecommendation Deployment will use its default value for this init container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRecommendationPolicyRecommendationDeploymentSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -160,7 +161,7 @@ pub struct PolicyRecommendationPolicyRecommendationDeploymentSpecTemplateSpecIni } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRecommendationPolicyRecommendationDeploymentSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -169,7 +170,7 @@ pub struct PolicyRecommendationPolicyRecommendationDeploymentSpecTemplateSpecIni } /// PolicyRecommendationStatus defines the observed state of Tigera policy recommendation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PolicyRecommendationStatus { /// State provides user-readable status. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/tenants.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/tenants.rs index 0e4a825ac..d2c50710f 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/tenants.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/tenants.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/tenants.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/tenants.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "operator.tigera.io", version = "v1", kind = "Tenant", plural = "tenants")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct TenantSpec { /// ControlPlaneReplicas defines how many replicas of the control plane core components will be deployed @@ -42,7 +43,7 @@ pub struct TenantSpec { } /// DashboardsJob configures the Dashboards job -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantDashboardsJob { /// Spec is the specification of the dashboards job. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -50,7 +51,7 @@ pub struct TenantDashboardsJob { } /// Spec is the specification of the dashboards job. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantDashboardsJobSpec { /// Template describes the Dashboards job pod that will be created. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -58,7 +59,7 @@ pub struct TenantDashboardsJobSpec { } /// Template describes the Dashboards job pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantDashboardsJobSpecTemplate { /// Spec is the Dashboard job's PodSpec. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -66,7 +67,7 @@ pub struct TenantDashboardsJobSpecTemplate { } /// Spec is the Dashboard job's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantDashboardsJobSpecTemplateSpec { /// Containers is a list of dashboards job containers. /// If specified, this overrides the specified Dashboard job containers. @@ -98,7 +99,7 @@ pub enum TenantDashboardsJobSpecTemplateSpecContainersName { /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named Dashboard Job container's resources. /// If omitted, the Dashboard Job will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantDashboardsJobSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -120,7 +121,7 @@ pub struct TenantDashboardsJobSpecTemplateSpecContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantDashboardsJobSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -130,7 +131,7 @@ pub struct TenantDashboardsJobSpecTemplateSpecContainersResourcesClaims { /// Elastic configures per-tenant ElasticSearch and Kibana parameters. /// This field is required for clusters using external ES. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantElastic { #[serde(default, skip_serializing_if = "Option::is_none", rename = "kibanaURL")] pub kibana_url: Option, @@ -175,7 +176,7 @@ pub enum TenantIndicesDataType { } /// LinseedDeployment configures the linseed Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantLinseedDeployment { /// Spec is the specification of the linseed Deployment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -183,7 +184,7 @@ pub struct TenantLinseedDeployment { } /// Spec is the specification of the linseed Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantLinseedDeploymentSpec { /// Template describes the linseed Deployment pod that will be created. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -191,7 +192,7 @@ pub struct TenantLinseedDeploymentSpec { } /// Template describes the linseed Deployment pod that will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantLinseedDeploymentSpecTemplate { /// Spec is the linseed Deployment's PodSpec. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -199,7 +200,7 @@ pub struct TenantLinseedDeploymentSpecTemplate { } /// Spec is the linseed Deployment's PodSpec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantLinseedDeploymentSpecTemplateSpec { /// Containers is a list of linseed containers. /// If specified, this overrides the specified linseed Deployment containers. @@ -236,7 +237,7 @@ pub enum TenantLinseedDeploymentSpecTemplateSpecContainersName { /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named linseed Deployment container's resources. /// If omitted, the linseed Deployment will use its default value for this container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantLinseedDeploymentSpecTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -258,7 +259,7 @@ pub struct TenantLinseedDeploymentSpecTemplateSpecContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantLinseedDeploymentSpecTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -291,7 +292,7 @@ pub enum TenantLinseedDeploymentSpecTemplateSpecInitContainersName { /// Resources allows customization of limits and requests for compute resources such as cpu and memory. /// If specified, this overrides the named linseed Deployment init container's resources. /// If omitted, the linseed Deployment will use its default value for this init container's resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantLinseedDeploymentSpecTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -313,7 +314,7 @@ pub struct TenantLinseedDeploymentSpecTemplateSpecInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantLinseedDeploymentSpecTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -321,7 +322,7 @@ pub struct TenantLinseedDeploymentSpecTemplateSpecInitContainersResourcesClaims pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TenantStatus { } diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/tigerastatuses.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/tigerastatuses.rs index 875739197..30b5999e7 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/tigerastatuses.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/tigerastatuses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/tigerastatuses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/tigerastatuses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/tlspassthroughroutes.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/tlspassthroughroutes.rs index 127a25c9a..0c8e5d667 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/tlspassthroughroutes.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/tlspassthroughroutes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/tlspassthroughroutes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/tlspassthroughroutes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -27,7 +27,7 @@ pub struct TLSPassThroughRouteSpec { /// SNIMatch is used to match requests based on the server name for the intended destination server. Matching requests /// will be proxied to the Destination. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TLSPassThroughRouteSniMatch { /// ServerName is used to match the server name for the request. #[serde(rename = "serverName")] diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1/tlsterminatedroutes.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1/tlsterminatedroutes.rs index 771942126..d66b520c0 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1/tlsterminatedroutes.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1/tlsterminatedroutes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/tlsterminatedroutes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/tlsterminatedroutes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -42,7 +42,7 @@ pub struct TLSTerminatedRouteSpec { /// CABundle is where we read the CA bundle from to authenticate the /// destination (if non-empty) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TLSTerminatedRouteCaBundle { /// The key to select. pub key: String, @@ -58,7 +58,7 @@ pub struct TLSTerminatedRouteCaBundle { /// ForwardingMTLSCert is the certificate used for mTLS between voltron and the destination. Either both ForwardingMTLSCert /// and ForwardingMTLSKey must be specified, or neither can be specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TLSTerminatedRouteMtlsCert { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -74,7 +74,7 @@ pub struct TLSTerminatedRouteMtlsCert { /// ForwardingMTLSKey is the key used for mTLS between voltron and the destination. Either both ForwardingMTLSCert /// and ForwardingMTLSKey must be specified, or neither can be specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TLSTerminatedRouteMtlsKey { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -90,7 +90,7 @@ pub struct TLSTerminatedRouteMtlsKey { /// PathMatch is used to match requests based on what's in the path. Matching requests will be proxied to the Destination /// defined in this structure. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TLSTerminatedRoutePathMatch { /// Path is the path portion of the URL based on which we proxy. pub path: String, diff --git a/kube-custom-resources-rs/src/operator_tigera_io/v1beta1/amazoncloudintegrations.rs b/kube-custom-resources-rs/src/operator_tigera_io/v1beta1/amazoncloudintegrations.rs index d82697b4b..93c677e2c 100644 --- a/kube-custom-resources-rs/src/operator_tigera_io/v1beta1/amazoncloudintegrations.rs +++ b/kube-custom-resources-rs/src/operator_tigera_io/v1beta1/amazoncloudintegrations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1beta1/amazoncloudintegrations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1beta1/amazoncloudintegrations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmalertmanagerconfigs.rs b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmalertmanagerconfigs.rs index 0c8f32e50..b54fdf3f5 100644 --- a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmalertmanagerconfigs.rs +++ b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmalertmanagerconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/VictoriaMetrics/operator/operator.victoriametrics.com/v1beta1/vmalertmanagerconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/VictoriaMetrics/operator/operator.victoriametrics.com/v1beta1/vmalertmanagerconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmnodescrapes.rs b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmnodescrapes.rs index fb601110d..376fbcb64 100644 --- a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmnodescrapes.rs +++ b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmnodescrapes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/VictoriaMetrics/operator/operator.victoriametrics.com/v1beta1/vmnodescrapes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/VictoriaMetrics/operator/operator.victoriametrics.com/v1beta1/vmnodescrapes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmpodscrapes.rs b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmpodscrapes.rs index 75ff80b9e..89b8ab57e 100644 --- a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmpodscrapes.rs +++ b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmpodscrapes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/VictoriaMetrics/operator/operator.victoriametrics.com/v1beta1/vmpodscrapes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/VictoriaMetrics/operator/operator.victoriametrics.com/v1beta1/vmpodscrapes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmprobes.rs b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmprobes.rs index 9747510a0..1d9b9758c 100644 --- a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmprobes.rs +++ b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmprobes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/VictoriaMetrics/operator/operator.victoriametrics.com/v1beta1/vmprobes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/VictoriaMetrics/operator/operator.victoriametrics.com/v1beta1/vmprobes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmrules.rs b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmrules.rs index 178b1ada7..3304ae5fc 100644 --- a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmrules.rs +++ b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmrules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/VictoriaMetrics/operator/operator.victoriametrics.com/v1beta1/vmrules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/VictoriaMetrics/operator/operator.victoriametrics.com/v1beta1/vmrules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmservicescrapes.rs b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmservicescrapes.rs index f9a66ca4a..41bf0aed0 100644 --- a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmservicescrapes.rs +++ b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmservicescrapes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/VictoriaMetrics/operator/operator.victoriametrics.com/v1beta1/vmservicescrapes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/VictoriaMetrics/operator/operator.victoriametrics.com/v1beta1/vmservicescrapes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmstaticscrapes.rs b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmstaticscrapes.rs index 68c49f86f..f690c6843 100644 --- a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmstaticscrapes.rs +++ b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmstaticscrapes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/VictoriaMetrics/operator/operator.victoriametrics.com/v1beta1/vmstaticscrapes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/VictoriaMetrics/operator/operator.victoriametrics.com/v1beta1/vmstaticscrapes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmusers.rs b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmusers.rs index 77d48bc26..d20ec5ec2 100644 --- a/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmusers.rs +++ b/kube-custom-resources-rs/src/operator_victoriametrics_com/v1beta1/vmusers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/VictoriaMetrics/operator/operator.victoriametrics.com/v1beta1/vmusers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/VictoriaMetrics/operator/operator.victoriametrics.com/v1beta1/vmusers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/backups.rs b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/backups.rs index 50b822ade..47c809b37 100644 --- a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/backups.rs +++ b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/backups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/backups.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/backups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// BackupSpec defines the desired state of Backup. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "oracle.db.anthosapis.com", version = "v1alpha1", kind = "Backup", plural = "backups")] #[kube(namespaced)] #[kube(status = "BackupStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct BackupSpec { /// For a Physical backup this slice can be used to indicate what PDBs, schemas, tablespaces or tables to back up. @@ -99,7 +100,7 @@ pub enum BackupType { } /// BackupStatus defines the observed state of Backup. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub backupid: Option, diff --git a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/backupschedules.rs b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/backupschedules.rs index fc2440313..41b081476 100644 --- a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/backupschedules.rs +++ b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/backupschedules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/backupschedules.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/backupschedules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "oracle.db.anthosapis.com", version = "v1alpha1", kind = "BackupSchedule", plural = "backupschedules")] #[kube(namespaced)] #[kube(status = "BackupScheduleStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct BackupScheduleSpec { /// BackupLabels define the desired labels that scheduled backups will be created with. @@ -39,7 +40,7 @@ pub struct BackupScheduleSpec { } /// BackupRetentionPolicy is the policy used to trigger automatic deletion of backups produced from this BackupSchedule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupScheduleBackupRetentionPolicy { /// BackupRetention is the number of successful backups to keep around. The default is 7. A value of 0 means "do not delete backups based on count". Max of 512 allows for ~21 days of hourly backups or ~1.4 years of daily backups. #[serde(default, skip_serializing_if = "Option::is_none", rename = "backupRetention")] @@ -47,7 +48,7 @@ pub struct BackupScheduleBackupRetentionPolicy { } /// BackupSpec defines the Backup that will be created on the provided schedule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupScheduleBackupSpec { /// For a Physical backup this slice can be used to indicate what PDBs, schemas, tablespaces or tables to back up. #[serde(default, skip_serializing_if = "Option::is_none", rename = "backupItems")] @@ -129,7 +130,7 @@ pub enum BackupScheduleBackupSpecType { } /// BackupScheduleStatus defines the observed state of BackupSchedule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupScheduleStatus { /// BackupHistory stores the records for up to 7 of the latest backups. #[serde(default, skip_serializing_if = "Option::is_none", rename = "backupHistory")] @@ -146,7 +147,7 @@ pub struct BackupScheduleStatus { } /// BackupHistoryRecord is a historical record of a Backup. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BackupScheduleStatusBackupHistory { /// BackupName is the name of the Backup that gets created. #[serde(rename = "backupName")] diff --git a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/configs.rs b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/configs.rs index 9e846da5b..d921951f7 100644 --- a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/configs.rs +++ b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/configs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/configs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/configs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/cronanythings.rs b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/cronanythings.rs index 7b5594d02..dadf011f6 100644 --- a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/cronanythings.rs +++ b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/cronanythings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/cronanythings.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/cronanythings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/databases.rs b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/databases.rs index 90bc5a310..5e91b0b27 100644 --- a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/databases.rs +++ b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/databases.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/databases.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/databases.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// DatabaseSpec defines the desired state of Database. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "oracle.db.anthosapis.com", version = "v1alpha1", kind = "Database", plural = "databases")] #[kube(namespaced)] #[kube(status = "DatabaseStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct DatabaseSpec { /// AdminPasswordGsmSecretRef is a reference to the secret object containing sensitive information to pass to config agent. This field is optional, and may be empty if plaintext password is used. @@ -37,7 +38,7 @@ pub struct DatabaseSpec { } /// AdminPasswordGsmSecretRef is a reference to the secret object containing sensitive information to pass to config agent. This field is optional, and may be empty if plaintext password is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatabaseAdminPasswordGsmSecretRef { /// ProjectId identifies the project where the secret resource is. #[serde(default, skip_serializing_if = "Option::is_none", rename = "projectId")] @@ -51,7 +52,7 @@ pub struct DatabaseAdminPasswordGsmSecretRef { } /// UserSpec defines the desired state of the Database Users. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatabaseUsers { /// A reference to a GSM secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gsmSecretRef")] @@ -71,7 +72,7 @@ pub struct DatabaseUsers { } /// A reference to a GSM secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatabaseUsersGsmSecretRef { /// ProjectId identifies the project where the secret resource is. #[serde(default, skip_serializing_if = "Option::is_none", rename = "projectId")] @@ -85,7 +86,7 @@ pub struct DatabaseUsersGsmSecretRef { } /// A reference to a k8s secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatabaseUsersSecretRef { /// name is unique within a namespace to reference a secret resource. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -96,7 +97,7 @@ pub struct DatabaseUsersSecretRef { } /// DatabaseStatus defines the observed state of Database. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DatabaseStatus { /// UserResourceVersions is a map of username to user resource version (plaintext or GSM). For GSM Resource version, use format: "projects/{ProjectId}/secrets/{SecretId}/versions/{Version}". #[serde(default, skip_serializing_if = "Option::is_none", rename = "UserResourceVersions")] diff --git a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/exports.rs b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/exports.rs index 475bf8212..3b6082edc 100644 --- a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/exports.rs +++ b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/exports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/exports.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/exports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// ExportSpec defines the desired state of Export -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "oracle.db.anthosapis.com", version = "v1alpha1", kind = "Export", plural = "exports")] #[kube(namespaced)] #[kube(status = "ExportStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ExportSpec { /// DatabaseName is the database resource name within Instance to export from. @@ -57,7 +58,7 @@ pub enum ExportType { } /// ExportStatus defines the observed state of Export. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ExportStatus { /// Conditions represents the latest available observations of the export's current state. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/imports.rs b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/imports.rs index 631b88fb2..ef81e411d 100644 --- a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/imports.rs +++ b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/imports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/imports.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/imports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// ImportSpec defines the desired state of Import. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "oracle.db.anthosapis.com", version = "v1alpha1", kind = "Import", plural = "imports")] #[kube(namespaced)] #[kube(status = "ImportStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ImportSpec { /// DatabaseName is the database resource name within Instance to import into. @@ -46,7 +47,7 @@ pub enum ImportType { } /// ImportStatus defines the observed state of Import. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ImportStatus { /// Conditions represents the latest available observations of the import's current state. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/pitrs.rs b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/pitrs.rs index 2024c825f..ab088796e 100644 --- a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/pitrs.rs +++ b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/pitrs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/pitrs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/pitrs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// PITRSpec defines the desired state of PITR -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "oracle.db.anthosapis.com", version = "v1alpha1", kind = "PITR", plural = "pitrs")] #[kube(namespaced)] #[kube(status = "PITRStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PITRSpec { /// Schedule is a cron-style expression of the schedule on which Backup will be created for PITR. For allowed syntax, see en.wikipedia.org/wiki/Cron and godoc.org/github.com/robfig/cron. Default to backup every 4 hours. @@ -33,7 +34,7 @@ pub struct PITRSpec { } /// InstanceRef references to the instance that the PITR applies to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PITRInstanceRef { /// `name` is the name of a database instance. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -41,7 +42,7 @@ pub struct PITRInstanceRef { } /// PITRStatus defines the observed state of PITR -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PITRStatus { /// AvailableRecoveryWindowSCN represents the actual PITR recoverable SCN ranges for an instance in the current timeline/incarnation. #[serde(default, skip_serializing_if = "Option::is_none", rename = "availableRecoveryWindowSCN")] @@ -60,7 +61,7 @@ pub struct PITRStatus { pub current_database_incarnation: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PITRStatusAvailableRecoveryWindowScn { /// Begin SCN. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -70,7 +71,7 @@ pub struct PITRStatusAvailableRecoveryWindowScn { pub end: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PITRStatusAvailableRecoveryWindowTime { /// Begin time. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/releases.rs b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/releases.rs index 46720722e..f13cff792 100644 --- a/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/releases.rs +++ b/kube-custom-resources-rs/src/oracle_db_anthosapis_com/v1alpha1/releases.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/releases.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/elcarro-oracle-operator/oracle.db.anthosapis.com/v1alpha1/releases.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/org_eclipse_che/v1/checlusters.rs b/kube-custom-resources-rs/src/org_eclipse_che/v1/checlusters.rs index 07a6b6e16..c010488cd 100644 --- a/kube-custom-resources-rs/src/org_eclipse_che/v1/checlusters.rs +++ b/kube-custom-resources-rs/src/org_eclipse_che/v1/checlusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/eclipse-che/che-operator/org.eclipse.che/v1/checlusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/eclipse-che/che-operator/org.eclipse.che/v1/checlusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/org_eclipse_che/v2/checlusters.rs b/kube-custom-resources-rs/src/org_eclipse_che/v2/checlusters.rs index 01b0cad87..1f6f71d84 100644 --- a/kube-custom-resources-rs/src/org_eclipse_che/v2/checlusters.rs +++ b/kube-custom-resources-rs/src/org_eclipse_che/v2/checlusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/eclipse-che/che-operator/org.eclipse.che/v2/checlusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/eclipse-che/che-operator/org.eclipse.che/v2/checlusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/organizations_services_k8s_aws/v1alpha1/organizationalunits.rs b/kube-custom-resources-rs/src/organizations_services_k8s_aws/v1alpha1/organizationalunits.rs index 55678aa9d..77dede9d5 100644 --- a/kube-custom-resources-rs/src/organizations_services_k8s_aws/v1alpha1/organizationalunits.rs +++ b/kube-custom-resources-rs/src/organizations_services_k8s_aws/v1alpha1/organizationalunits.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/organizations-controller/organizations.services.k8s.aws/v1alpha1/organizationalunits.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/organizations-controller/organizations.services.k8s.aws/v1alpha1/organizationalunits.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/pgv2_percona_com/v2/perconapgbackups.rs b/kube-custom-resources-rs/src/pgv2_percona_com/v2/perconapgbackups.rs index 5053e58ed..f2bdf3d2c 100644 --- a/kube-custom-resources-rs/src/pgv2_percona_com/v2/perconapgbackups.rs +++ b/kube-custom-resources-rs/src/pgv2_percona_com/v2/perconapgbackups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/percona/percona-postgresql-operator/pgv2.percona.com/v2/perconapgbackups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/percona/percona-postgresql-operator/pgv2.percona.com/v2/perconapgbackups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/pgv2_percona_com/v2/perconapgclusters.rs b/kube-custom-resources-rs/src/pgv2_percona_com/v2/perconapgclusters.rs index e2ca45c77..4a992fbb5 100644 --- a/kube-custom-resources-rs/src/pgv2_percona_com/v2/perconapgclusters.rs +++ b/kube-custom-resources-rs/src/pgv2_percona_com/v2/perconapgclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/percona/percona-postgresql-operator/pgv2.percona.com/v2/perconapgclusters.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/percona/percona-postgresql-operator/pgv2.percona.com/v2/perconapgclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "pgv2.percona.com", version = "v2", kind = "PerconaPGCluster", plural = "perconapgclusters")] #[kube(namespaced)] #[kube(status = "PerconaPGClusterStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PerconaPGClusterSpec { /// PostgreSQL backup configuration @@ -104,14 +105,14 @@ pub struct PerconaPGClusterSpec { } /// PostgreSQL backup configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackups { /// pgBackRest archive configuration pub pgbackrest: PerconaPGClusterBackupsPgbackrest, } /// pgBackRest archive configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrest { /// Projected volumes containing custom pgBackRest configuration. These files are mounted /// under "/etc/pgbackrest/conf.d" alongside any pgBackRest configuration generated by the @@ -155,7 +156,7 @@ pub struct PerconaPGClusterBackupsPgbackrest { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestConfiguration { /// ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field /// of ClusterTrustBundle objects in an auto-updating file. @@ -205,7 +206,7 @@ pub struct PerconaPGClusterBackupsPgbackrestConfiguration { /// comments and block headers are stripped. Certificates are deduplicated. /// The ordering of certificates within the file is arbitrary, and Kubelet /// may change the order over time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestConfigurationClusterTrustBundle { /// Select all ClusterTrustBundles that match this label selector. Only has /// effect if signerName is set. Mutually-exclusive with name. If unset, @@ -237,7 +238,7 @@ pub struct PerconaPGClusterBackupsPgbackrestConfigurationClusterTrustBundle { /// effect if signerName is set. Mutually-exclusive with name. If unset, /// interpreted as "match nothing". If set but empty, interpreted as "match /// everything". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestConfigurationClusterTrustBundleLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -251,7 +252,7 @@ pub struct PerconaPGClusterBackupsPgbackrestConfigurationClusterTrustBundleLabel /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestConfigurationClusterTrustBundleLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -267,7 +268,7 @@ pub struct PerconaPGClusterBackupsPgbackrestConfigurationClusterTrustBundleLabel } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestConfigurationConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced /// ConfigMap will be projected into the volume as a file whose name is the @@ -289,7 +290,7 @@ pub struct PerconaPGClusterBackupsPgbackrestConfigurationConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestConfigurationConfigMapItems { /// key is the key to project. pub key: String, @@ -309,7 +310,7 @@ pub struct PerconaPGClusterBackupsPgbackrestConfigurationConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestConfigurationDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -317,7 +318,7 @@ pub struct PerconaPGClusterBackupsPgbackrestConfigurationDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestConfigurationDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -339,7 +340,7 @@ pub struct PerconaPGClusterBackupsPgbackrestConfigurationDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestConfigurationDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -351,7 +352,7 @@ pub struct PerconaPGClusterBackupsPgbackrestConfigurationDownwardApiItemsFieldRe /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestConfigurationDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -364,7 +365,7 @@ pub struct PerconaPGClusterBackupsPgbackrestConfigurationDownwardApiItemsResourc } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestConfigurationSecret { /// items if unspecified, each key-value pair in the Data field of the referenced /// Secret will be projected into the volume as a file whose name is the @@ -386,7 +387,7 @@ pub struct PerconaPGClusterBackupsPgbackrestConfigurationSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestConfigurationSecretItems { /// key is the key to project. pub key: String, @@ -406,7 +407,7 @@ pub struct PerconaPGClusterBackupsPgbackrestConfigurationSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestConfigurationServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token /// must identify itself with an identifier specified in the audience of the @@ -428,7 +429,7 @@ pub struct PerconaPGClusterBackupsPgbackrestConfigurationServiceAccountToken { } /// Jobs field allows configuration for all backup jobs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobs { /// Scheduling constraints of pgBackRest backup Job pods. /// More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node @@ -457,7 +458,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobs { /// Scheduling constraints of pgBackRest backup Job pods. /// More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -471,7 +472,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -495,7 +496,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: PerconaPGClusterBackupsPgbackrestJobsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -504,7 +505,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityNodeAffinityPreferredDur } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -516,7 +517,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityNodeAffinityPreferredDur /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -534,7 +535,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityNodeAffinityPreferredDur /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -555,7 +556,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityNodeAffinityPreferredDur /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -565,7 +566,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityNodeAffinityRequiredDuri /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -577,7 +578,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityNodeAffinityRequiredDuri /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -595,7 +596,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityNodeAffinityRequiredDuri /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -612,7 +613,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityNodeAffinityRequiredDuri } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -637,7 +638,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -648,7 +649,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAffinityPreferredDuri } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -700,7 +701,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAffinityPreferredDuri /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -714,7 +715,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAffinityPreferredDuri /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -734,7 +735,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAffinityPreferredDuri /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -748,7 +749,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAffinityPreferredDuri /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -769,7 +770,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAffinityPreferredDuri /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -821,7 +822,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAffinityRequiredDurin /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -835,7 +836,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAffinityRequiredDurin /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -855,7 +856,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAffinityRequiredDurin /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -869,7 +870,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAffinityRequiredDurin /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -885,7 +886,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAffinityRequiredDurin } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -910,7 +911,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -921,7 +922,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAntiAffinityPreferred } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -973,7 +974,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAntiAffinityPreferred /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -987,7 +988,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAntiAffinityPreferred /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1007,7 +1008,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAntiAffinityPreferred /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1021,7 +1022,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAntiAffinityPreferred /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1042,7 +1043,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAntiAffinityPreferred /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1094,7 +1095,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAntiAffinityRequiredD /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1108,7 +1109,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAntiAffinityRequiredD /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1128,7 +1129,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAntiAffinityRequiredD /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1142,7 +1143,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAntiAffinityRequiredD /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1159,7 +1160,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsAffinityPodAntiAffinityRequiredD /// Resource limits for backup jobs. Includes manual, scheduled and replica /// create backups -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -1185,7 +1186,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -1194,7 +1195,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsResourcesClaims { } /// SecurityContext defines the security settings for PGBackRest pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsSecurityContext { /// appArmorProfile is the AppArmor options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. @@ -1283,7 +1284,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsSecurityContext { /// appArmorProfile is the AppArmor options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsSecurityContextAppArmorProfile { /// localhostProfile indicates a profile loaded on the node that should be used. /// The profile must be preconfigured on the node to work. @@ -1306,7 +1307,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsSecurityContextAppArmorProfile { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1324,7 +1325,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsSecurityContextSeLinuxOptions { /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -1344,7 +1345,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -1356,7 +1357,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -1382,7 +1383,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsSecurityContextWindowsOptions { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestJobsTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -1411,7 +1412,7 @@ pub struct PerconaPGClusterBackupsPgbackrestJobsTolerations { } /// Defines details for manual pgBackRest backup Jobs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestManual { /// Command line options to include when running the pgBackRest backup command. /// https://pgbackrest.org/command.html#command-backup @@ -1423,7 +1424,7 @@ pub struct PerconaPGClusterBackupsPgbackrestManual { } /// Metadata contains metadata for custom resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -1434,7 +1435,7 @@ pub struct PerconaPGClusterBackupsPgbackrestMetadata { /// Defines configuration for a pgBackRest dedicated repository host. This section is only /// applicable if at least one "volume" (i.e. PVC-based) repository is defined in the "repos" /// section, therefore enabling a dedicated repository host Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHost { /// Scheduling constraints of the Dedicated repo host pod. /// Changing this value causes repo host to restart. @@ -1474,7 +1475,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHost { /// Scheduling constraints of the Dedicated repo host pod. /// Changing this value causes repo host to restart. /// More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -1488,7 +1489,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -1512,7 +1513,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: PerconaPGClusterBackupsPgbackrestRepoHostAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -1521,7 +1522,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityNodeAffinityPreferre } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1533,7 +1534,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityNodeAffinityPreferre /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1551,7 +1552,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityNodeAffinityPreferre /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1572,7 +1573,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityNodeAffinityPreferre /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -1582,7 +1583,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityNodeAffinityRequired /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1594,7 +1595,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityNodeAffinityRequired /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1612,7 +1613,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityNodeAffinityRequired /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1629,7 +1630,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityNodeAffinityRequired } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -1654,7 +1655,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1665,7 +1666,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAffinityPreferred } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1717,7 +1718,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAffinityPreferred /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1731,7 +1732,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAffinityPreferred /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1751,7 +1752,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAffinityPreferred /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1765,7 +1766,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAffinityPreferred /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1786,7 +1787,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAffinityPreferred /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1838,7 +1839,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAffinityRequiredD /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1852,7 +1853,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAffinityRequiredD /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1872,7 +1873,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAffinityRequiredD /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1886,7 +1887,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAffinityRequiredD /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1902,7 +1903,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAffinityRequiredD } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -1927,7 +1928,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1938,7 +1939,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityPrefe } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -1990,7 +1991,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityPrefe /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2004,7 +2005,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityPrefe /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2024,7 +2025,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityPrefe /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2038,7 +2039,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityPrefe /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2059,7 +2060,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityPrefe /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -2111,7 +2112,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityRequi /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2125,7 +2126,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityRequi /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2145,7 +2146,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityRequi /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2159,7 +2160,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityRequi /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2175,7 +2176,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityRequi } /// Resource requirements for a pgBackRest repository host -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -2201,7 +2202,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -2210,7 +2211,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostResourcesClaims { } /// SecurityContext defines the security settings for PGBackRest pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostSecurityContext { /// appArmorProfile is the AppArmor options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. @@ -2299,7 +2300,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostSecurityContext { /// appArmorProfile is the AppArmor options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostSecurityContextAppArmorProfile { /// localhostProfile indicates a profile loaded on the node that should be used. /// The profile must be preconfigured on the node to work. @@ -2322,7 +2323,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostSecurityContextAppArmorProfi /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2340,7 +2341,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostSecurityContextSeLinuxOption /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -2360,7 +2361,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostSecurityContextSeccompProfil } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -2372,7 +2373,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -2398,7 +2399,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostSecurityContextWindowsOption /// ConfigMap containing custom SSH configuration. /// Deprecated: Repository hosts use mTLS for encryption, authentication, and authorization. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostSshConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced /// ConfigMap will be projected into the volume as a file whose name is the @@ -2420,7 +2421,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostSshConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostSshConfigMapItems { /// key is the key to project. pub key: String, @@ -2441,7 +2442,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostSshConfigMapItems { /// Secret containing custom SSH keys. /// Deprecated: Repository hosts use mTLS for encryption, authentication, and authorization. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostSshSecret { /// items if unspecified, each key-value pair in the Data field of the referenced /// Secret will be projected into the volume as a file whose name is the @@ -2463,7 +2464,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostSshSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostSshSecretItems { /// key is the key to project. pub key: String, @@ -2484,7 +2485,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostSshSecretItems { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -2513,7 +2514,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods @@ -2632,7 +2633,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods /// in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2646,7 +2647,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostTopologySpreadConstraintsLab /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepoHostTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2662,7 +2663,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRepoHostTopologySpreadConstraintsLab } /// PGBackRestRepo represents a pgBackRest repository. Only one of its members may be specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRepos { /// Represents a pgBackRest repository that is created using Azure storage #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2687,14 +2688,14 @@ pub struct PerconaPGClusterBackupsPgbackrestRepos { } /// Represents a pgBackRest repository that is created using Azure storage -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestReposAzure { /// The Azure container utilized for the repository pub container: String, } /// Represents a pgBackRest repository that is created using Google Cloud Storage -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestReposGcs { /// The GCS bucket utilized for the repository pub bucket: String, @@ -2702,7 +2703,7 @@ pub struct PerconaPGClusterBackupsPgbackrestReposGcs { /// RepoS3 represents a pgBackRest repository that is created using AWS S3 (or S3-compatible) /// storage -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestReposS3 { /// The S3 bucket utilized for the repository pub bucket: String, @@ -2715,7 +2716,7 @@ pub struct PerconaPGClusterBackupsPgbackrestReposS3 { /// Defines the schedules for the pgBackRest backups /// Full, Differential and Incremental backup types are supported: /// https://pgbackrest.org/user-guide.html#concept/backup -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestReposSchedules { /// Defines the Cron schedule for a differential pgBackRest backup. /// Follows the standard Cron schedule syntax: @@ -2735,7 +2736,7 @@ pub struct PerconaPGClusterBackupsPgbackrestReposSchedules { } /// Represents a pgBackRest repository that is created using a PersistentVolumeClaim -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestReposVolume { /// Defines a PersistentVolumeClaim spec used to create and/or bind a volume #[serde(rename = "volumeClaimSpec")] @@ -2743,7 +2744,7 @@ pub struct PerconaPGClusterBackupsPgbackrestReposVolume { } /// Defines a PersistentVolumeClaim spec used to create and/or bind a volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestReposVolumeVolumeClaimSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -2829,7 +2830,7 @@ pub struct PerconaPGClusterBackupsPgbackrestReposVolumeVolumeClaimSpec { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestReposVolumeVolumeClaimSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -2865,7 +2866,7 @@ pub struct PerconaPGClusterBackupsPgbackrestReposVolumeVolumeClaimSpecDataSource /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestReposVolumeVolumeClaimSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -2888,7 +2889,7 @@ pub struct PerconaPGClusterBackupsPgbackrestReposVolumeVolumeClaimSpecDataSource /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestReposVolumeVolumeClaimSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -2903,7 +2904,7 @@ pub struct PerconaPGClusterBackupsPgbackrestReposVolumeVolumeClaimSpecResources } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestReposVolumeVolumeClaimSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2917,7 +2918,7 @@ pub struct PerconaPGClusterBackupsPgbackrestReposVolumeVolumeClaimSpecSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestReposVolumeVolumeClaimSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2933,7 +2934,7 @@ pub struct PerconaPGClusterBackupsPgbackrestReposVolumeVolumeClaimSpecSelectorMa } /// Defines details for performing an in-place restore using pgBackRest -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestore { /// Scheduling constraints of the pgBackRest restore Job. /// More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node @@ -2974,7 +2975,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestore { /// Scheduling constraints of the pgBackRest restore Job. /// More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -2988,7 +2989,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -3012,7 +3013,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: PerconaPGClusterBackupsPgbackrestRestoreAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -3021,7 +3022,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityNodeAffinityPreferred } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3033,7 +3034,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityNodeAffinityPreferred /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -3051,7 +3052,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityNodeAffinityPreferred /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -3072,7 +3073,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityNodeAffinityPreferred /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -3082,7 +3083,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityNodeAffinityRequiredD /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3094,7 +3095,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityNodeAffinityRequiredD /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -3112,7 +3113,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityNodeAffinityRequiredD /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -3129,7 +3130,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityNodeAffinityRequiredD } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -3154,7 +3155,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -3165,7 +3166,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAffinityPreferredD } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -3217,7 +3218,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAffinityPreferredD /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3231,7 +3232,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAffinityPreferredD /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3251,7 +3252,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAffinityPreferredD /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3265,7 +3266,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAffinityPreferredD /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3286,7 +3287,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAffinityPreferredD /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -3338,7 +3339,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAffinityRequiredDu /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3352,7 +3353,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAffinityRequiredDu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3372,7 +3373,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAffinityRequiredDu /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3386,7 +3387,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAffinityRequiredDu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3402,7 +3403,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAffinityRequiredDu } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -3427,7 +3428,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -3438,7 +3439,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityPrefer } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -3490,7 +3491,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityPrefer /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3504,7 +3505,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityPrefer /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3524,7 +3525,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityPrefer /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3538,7 +3539,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityPrefer /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3559,7 +3560,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityPrefer /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -3611,7 +3612,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityRequir /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3625,7 +3626,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityRequir /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3645,7 +3646,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityRequir /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3659,7 +3660,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityRequir /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3675,7 +3676,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityRequir } /// Resource requirements for the pgBackRest restore Job. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -3701,7 +3702,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -3711,7 +3712,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreResourcesClaims { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestRestoreTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -3740,7 +3741,7 @@ pub struct PerconaPGClusterBackupsPgbackrestRestoreTolerations { } /// Configuration for pgBackRest sidecar containers -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestSidecars { /// Defines the configuration for the pgBackRest sidecar container #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3751,7 +3752,7 @@ pub struct PerconaPGClusterBackupsPgbackrestSidecars { } /// Defines the configuration for the pgBackRest sidecar container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestSidecarsPgbackrest { /// Resource requirements for a sidecar container #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3759,7 +3760,7 @@ pub struct PerconaPGClusterBackupsPgbackrestSidecarsPgbackrest { } /// Resource requirements for a sidecar container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestSidecarsPgbackrestResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -3785,7 +3786,7 @@ pub struct PerconaPGClusterBackupsPgbackrestSidecarsPgbackrestResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestSidecarsPgbackrestResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -3794,7 +3795,7 @@ pub struct PerconaPGClusterBackupsPgbackrestSidecarsPgbackrestResourcesClaims { } /// Defines the configuration for the pgBackRest config sidecar container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestSidecarsPgbackrestConfig { /// Resource requirements for a sidecar container #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3802,7 +3803,7 @@ pub struct PerconaPGClusterBackupsPgbackrestSidecarsPgbackrestConfig { } /// Resource requirements for a sidecar container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestSidecarsPgbackrestConfigResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -3828,7 +3829,7 @@ pub struct PerconaPGClusterBackupsPgbackrestSidecarsPgbackrestConfigResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterBackupsPgbackrestSidecarsPgbackrestConfigResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -3837,7 +3838,7 @@ pub struct PerconaPGClusterBackupsPgbackrestSidecarsPgbackrestConfigResourcesCla } /// Specifies a data source for bootstrapping the PostgreSQL cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSource { /// Defines a pgBackRest cloud-based data source that can be used to pre-populate the /// PostgreSQL data directory for a new PostgreSQL cluster using a pgBackRest restore. @@ -3860,7 +3861,7 @@ pub struct PerconaPGClusterDataSource { /// PostgreSQL data directory for a new PostgreSQL cluster using a pgBackRest restore. /// The PGBackRest field is incompatible with the PostgresCluster field: only one /// data source can be used for pre-populating a new PostgreSQL cluster -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrest { /// Scheduling constraints of the pgBackRest restore Job. /// More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node @@ -3903,7 +3904,7 @@ pub struct PerconaPGClusterDataSourcePgbackrest { /// Scheduling constraints of the pgBackRest restore Job. /// More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -3917,7 +3918,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -3941,7 +3942,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: PerconaPGClusterDataSourcePgbackrestAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -3950,7 +3951,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityNodeAffinityPreferredDuri } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3962,7 +3963,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityNodeAffinityPreferredDuri /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -3980,7 +3981,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityNodeAffinityPreferredDuri /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -4001,7 +4002,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityNodeAffinityPreferredDuri /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -4011,7 +4012,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityNodeAffinityRequiredDurin /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4023,7 +4024,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityNodeAffinityRequiredDurin /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -4041,7 +4042,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityNodeAffinityRequiredDurin /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -4058,7 +4059,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityNodeAffinityRequiredDurin } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -4083,7 +4084,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -4094,7 +4095,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAffinityPreferredDurin } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -4146,7 +4147,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAffinityPreferredDurin /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4160,7 +4161,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAffinityPreferredDurin /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4180,7 +4181,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAffinityPreferredDurin /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4194,7 +4195,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAffinityPreferredDurin /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4215,7 +4216,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAffinityPreferredDurin /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -4267,7 +4268,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAffinityRequiredDuring /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4281,7 +4282,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAffinityRequiredDuring /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4301,7 +4302,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAffinityRequiredDuring /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4315,7 +4316,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAffinityRequiredDuring /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4331,7 +4332,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAffinityRequiredDuring } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -4356,7 +4357,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -4367,7 +4368,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAntiAffinityPreferredD } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -4419,7 +4420,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAntiAffinityPreferredD /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4433,7 +4434,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAntiAffinityPreferredD /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4453,7 +4454,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAntiAffinityPreferredD /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4467,7 +4468,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAntiAffinityPreferredD /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4488,7 +4489,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAntiAffinityPreferredD /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -4540,7 +4541,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAntiAffinityRequiredDu /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4554,7 +4555,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAntiAffinityRequiredDu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4574,7 +4575,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAntiAffinityRequiredDu /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4588,7 +4589,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAntiAffinityRequiredDu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4604,7 +4605,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestAffinityPodAntiAffinityRequiredDu } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestConfiguration { /// ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field /// of ClusterTrustBundle objects in an auto-updating file. @@ -4654,7 +4655,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestConfiguration { /// comments and block headers are stripped. Certificates are deduplicated. /// The ordering of certificates within the file is arbitrary, and Kubelet /// may change the order over time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestConfigurationClusterTrustBundle { /// Select all ClusterTrustBundles that match this label selector. Only has /// effect if signerName is set. Mutually-exclusive with name. If unset, @@ -4686,7 +4687,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestConfigurationClusterTrustBundle { /// effect if signerName is set. Mutually-exclusive with name. If unset, /// interpreted as "match nothing". If set but empty, interpreted as "match /// everything". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestConfigurationClusterTrustBundleLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4700,7 +4701,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestConfigurationClusterTrustBundleLa /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestConfigurationClusterTrustBundleLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4716,7 +4717,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestConfigurationClusterTrustBundleLa } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestConfigurationConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced /// ConfigMap will be projected into the volume as a file whose name is the @@ -4738,7 +4739,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestConfigurationConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestConfigurationConfigMapItems { /// key is the key to project. pub key: String, @@ -4758,7 +4759,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestConfigurationConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestConfigurationDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4766,7 +4767,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestConfigurationDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestConfigurationDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -4788,7 +4789,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestConfigurationDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestConfigurationDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4800,7 +4801,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestConfigurationDownwardApiItemsFiel /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestConfigurationDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -4813,7 +4814,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestConfigurationDownwardApiItemsReso } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestConfigurationSecret { /// items if unspecified, each key-value pair in the Data field of the referenced /// Secret will be projected into the volume as a file whose name is the @@ -4835,7 +4836,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestConfigurationSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestConfigurationSecretItems { /// key is the key to project. pub key: String, @@ -4855,7 +4856,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestConfigurationSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestConfigurationServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token /// must identify itself with an identifier specified in the audience of the @@ -4877,7 +4878,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestConfigurationServiceAccountToken } /// Defines a pgBackRest repository -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestRepo { /// Represents a pgBackRest repository that is created using Azure storage #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4902,14 +4903,14 @@ pub struct PerconaPGClusterDataSourcePgbackrestRepo { } /// Represents a pgBackRest repository that is created using Azure storage -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestRepoAzure { /// The Azure container utilized for the repository pub container: String, } /// Represents a pgBackRest repository that is created using Google Cloud Storage -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestRepoGcs { /// The GCS bucket utilized for the repository pub bucket: String, @@ -4917,7 +4918,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestRepoGcs { /// RepoS3 represents a pgBackRest repository that is created using AWS S3 (or S3-compatible) /// storage -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestRepoS3 { /// The S3 bucket utilized for the repository pub bucket: String, @@ -4930,7 +4931,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestRepoS3 { /// Defines the schedules for the pgBackRest backups /// Full, Differential and Incremental backup types are supported: /// https://pgbackrest.org/user-guide.html#concept/backup -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestRepoSchedules { /// Defines the Cron schedule for a differential pgBackRest backup. /// Follows the standard Cron schedule syntax: @@ -4950,7 +4951,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestRepoSchedules { } /// Represents a pgBackRest repository that is created using a PersistentVolumeClaim -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestRepoVolume { /// Defines a PersistentVolumeClaim spec used to create and/or bind a volume #[serde(rename = "volumeClaimSpec")] @@ -4958,7 +4959,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestRepoVolume { } /// Defines a PersistentVolumeClaim spec used to create and/or bind a volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestRepoVolumeVolumeClaimSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -5044,7 +5045,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestRepoVolumeVolumeClaimSpec { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestRepoVolumeVolumeClaimSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -5080,7 +5081,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestRepoVolumeVolumeClaimSpecDataSour /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestRepoVolumeVolumeClaimSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -5103,7 +5104,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestRepoVolumeVolumeClaimSpecDataSour /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestRepoVolumeVolumeClaimSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -5118,7 +5119,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestRepoVolumeVolumeClaimSpecResource } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestRepoVolumeVolumeClaimSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5132,7 +5133,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestRepoVolumeVolumeClaimSpecSelector /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestRepoVolumeVolumeClaimSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5148,7 +5149,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestRepoVolumeVolumeClaimSpecSelector } /// Resource requirements for the pgBackRest restore Job. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -5174,7 +5175,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -5184,7 +5185,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestResourcesClaims { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePgbackrestTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -5216,7 +5217,7 @@ pub struct PerconaPGClusterDataSourcePgbackrestTolerations { /// directory for a new PostgreSQL cluster using a pgBackRest restore. /// The PGBackRest field is incompatible with the PostgresCluster field: only one /// data source can be used for pre-populating a new PostgreSQL cluster -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresCluster { /// Scheduling constraints of the pgBackRest restore Job. /// More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node @@ -5255,7 +5256,7 @@ pub struct PerconaPGClusterDataSourcePostgresCluster { /// Scheduling constraints of the pgBackRest restore Job. /// More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -5269,7 +5270,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -5293,7 +5294,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: PerconaPGClusterDataSourcePostgresClusterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -5302,7 +5303,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityNodeAffinityPreferre } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5314,7 +5315,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityNodeAffinityPreferre /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -5332,7 +5333,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityNodeAffinityPreferre /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -5353,7 +5354,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityNodeAffinityPreferre /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -5363,7 +5364,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityNodeAffinityRequired /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5375,7 +5376,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityNodeAffinityRequired /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -5393,7 +5394,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityNodeAffinityRequired /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -5410,7 +5411,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityNodeAffinityRequired } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -5435,7 +5436,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -5446,7 +5447,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAffinityPreferred } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -5498,7 +5499,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAffinityPreferred /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5512,7 +5513,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAffinityPreferred /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5532,7 +5533,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAffinityPreferred /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5546,7 +5547,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAffinityPreferred /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5567,7 +5568,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAffinityPreferred /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -5619,7 +5620,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAffinityRequiredD /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5633,7 +5634,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAffinityRequiredD /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5653,7 +5654,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAffinityRequiredD /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5667,7 +5668,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAffinityRequiredD /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5683,7 +5684,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAffinityRequiredD } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -5708,7 +5709,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -5719,7 +5720,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAntiAffinityPrefe } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -5771,7 +5772,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAntiAffinityPrefe /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5785,7 +5786,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAntiAffinityPrefe /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5805,7 +5806,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAntiAffinityPrefe /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5819,7 +5820,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAntiAffinityPrefe /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5840,7 +5841,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAntiAffinityPrefe /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -5892,7 +5893,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAntiAffinityRequi /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5906,7 +5907,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAntiAffinityRequi /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5926,7 +5927,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAntiAffinityRequi /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5940,7 +5941,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAntiAffinityRequi /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5956,7 +5957,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterAffinityPodAntiAffinityRequi } /// Resource requirements for the pgBackRest restore Job. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -5982,7 +5983,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -5992,7 +5993,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterResourcesClaims { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourcePostgresClusterTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -6021,7 +6022,7 @@ pub struct PerconaPGClusterDataSourcePostgresClusterTolerations { } /// Defines any existing volumes to reuse for this PostgresCluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourceVolumes { /// Defines the existing pgBackRest repo volume and directory to use in the /// current PostgresCluster. @@ -6040,7 +6041,7 @@ pub struct PerconaPGClusterDataSourceVolumes { /// Defines the existing pgBackRest repo volume and directory to use in the /// current PostgresCluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourceVolumesPgBackRestVolume { /// Annotations of the move dir Job. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6063,7 +6064,7 @@ pub struct PerconaPGClusterDataSourceVolumesPgBackRestVolume { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourceVolumesPgBackRestVolumeTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -6093,7 +6094,7 @@ pub struct PerconaPGClusterDataSourceVolumesPgBackRestVolumeTolerations { /// Defines the existing pgData volume and directory to use in the current /// PostgresCluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourceVolumesPgDataVolume { /// Annotations of the move dir Job. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6116,7 +6117,7 @@ pub struct PerconaPGClusterDataSourceVolumesPgDataVolume { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourceVolumesPgDataVolumeTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -6147,7 +6148,7 @@ pub struct PerconaPGClusterDataSourceVolumesPgDataVolumeTolerations { /// Defines the existing pg_wal volume and directory to use in the current /// PostgresCluster. Note that a defined pg_wal volume MUST be accompanied by /// a pgData volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourceVolumesPgWalVolume { /// Annotations of the move dir Job. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6170,7 +6171,7 @@ pub struct PerconaPGClusterDataSourceVolumesPgWalVolume { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDataSourceVolumesPgWalVolumeTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -6201,7 +6202,7 @@ pub struct PerconaPGClusterDataSourceVolumesPgWalVolumeTolerations { /// DatabaseInitSQL defines a ConfigMap containing custom SQL that will /// be run after the cluster is initialized. This ConfigMap must be in the same /// namespace as the cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterDatabaseInitSql { /// Key is the ConfigMap data key that points to a SQL string pub key: String, @@ -6210,7 +6211,7 @@ pub struct PerconaPGClusterDatabaseInitSql { } /// Specification of the service that exposes the PostgreSQL primary instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterExpose { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -6241,7 +6242,7 @@ pub enum PerconaPGClusterExposeType { } /// Specification of the service that exposes PostgreSQL replica instances -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterExposeReplicas { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -6272,7 +6273,7 @@ pub enum PerconaPGClusterExposeReplicasType { } /// The specification of extensions. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterExtensions { #[serde(default, skip_serializing_if = "Option::is_none")] pub builtin: Option, @@ -6287,7 +6288,7 @@ pub struct PerconaPGClusterExtensions { pub storage: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterExtensionsBuiltin { #[serde(default, skip_serializing_if = "Option::is_none")] pub pg_audit: Option, @@ -6295,7 +6296,7 @@ pub struct PerconaPGClusterExtensionsBuiltin { pub pg_stat_monitor: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterExtensionsCustom { #[serde(default, skip_serializing_if = "Option::is_none")] pub checksum: Option, @@ -6305,7 +6306,7 @@ pub struct PerconaPGClusterExtensionsCustom { pub version: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterExtensionsStorage { #[serde(default, skip_serializing_if = "Option::is_none")] pub bucket: Option, @@ -6331,7 +6332,7 @@ pub struct PerconaPGClusterExtensionsStorage { /// projected volume as files using the keys in the Data field as the file names. /// Note that this is identical to a secret volume source without the default /// mode. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterExtensionsStorageSecret { /// items if unspecified, each key-value pair in the Data field of the referenced /// Secret will be projected into the volume as a file whose name is the @@ -6353,7 +6354,7 @@ pub struct PerconaPGClusterExtensionsStorageSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterExtensionsStorageSecretItems { /// key is the key to project. pub key: String, @@ -6391,7 +6392,7 @@ pub enum PerconaPGClusterImagePullPolicy { /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterImagePullSecrets { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -6400,7 +6401,7 @@ pub struct PerconaPGClusterImagePullSecrets { pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstances { /// Scheduling constraints of a PostgreSQL pod. Changing this value causes /// PostgreSQL to restart. @@ -6472,7 +6473,7 @@ pub struct PerconaPGClusterInstances { /// Scheduling constraints of a PostgreSQL pod. Changing this value causes /// PostgreSQL to restart. /// More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -6486,7 +6487,7 @@ pub struct PerconaPGClusterInstancesAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -6510,7 +6511,7 @@ pub struct PerconaPGClusterInstancesAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: PerconaPGClusterInstancesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -6519,7 +6520,7 @@ pub struct PerconaPGClusterInstancesAffinityNodeAffinityPreferredDuringSchedulin } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6531,7 +6532,7 @@ pub struct PerconaPGClusterInstancesAffinityNodeAffinityPreferredDuringSchedulin /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -6549,7 +6550,7 @@ pub struct PerconaPGClusterInstancesAffinityNodeAffinityPreferredDuringSchedulin /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -6570,7 +6571,7 @@ pub struct PerconaPGClusterInstancesAffinityNodeAffinityPreferredDuringSchedulin /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -6580,7 +6581,7 @@ pub struct PerconaPGClusterInstancesAffinityNodeAffinityRequiredDuringScheduling /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6592,7 +6593,7 @@ pub struct PerconaPGClusterInstancesAffinityNodeAffinityRequiredDuringScheduling /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -6610,7 +6611,7 @@ pub struct PerconaPGClusterInstancesAffinityNodeAffinityRequiredDuringScheduling /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -6627,7 +6628,7 @@ pub struct PerconaPGClusterInstancesAffinityNodeAffinityRequiredDuringScheduling } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -6652,7 +6653,7 @@ pub struct PerconaPGClusterInstancesAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -6663,7 +6664,7 @@ pub struct PerconaPGClusterInstancesAffinityPodAffinityPreferredDuringScheduling } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -6715,7 +6716,7 @@ pub struct PerconaPGClusterInstancesAffinityPodAffinityPreferredDuringScheduling /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6729,7 +6730,7 @@ pub struct PerconaPGClusterInstancesAffinityPodAffinityPreferredDuringScheduling /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6749,7 +6750,7 @@ pub struct PerconaPGClusterInstancesAffinityPodAffinityPreferredDuringScheduling /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6763,7 +6764,7 @@ pub struct PerconaPGClusterInstancesAffinityPodAffinityPreferredDuringScheduling /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6784,7 +6785,7 @@ pub struct PerconaPGClusterInstancesAffinityPodAffinityPreferredDuringScheduling /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -6836,7 +6837,7 @@ pub struct PerconaPGClusterInstancesAffinityPodAffinityRequiredDuringSchedulingI /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6850,7 +6851,7 @@ pub struct PerconaPGClusterInstancesAffinityPodAffinityRequiredDuringSchedulingI /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6870,7 +6871,7 @@ pub struct PerconaPGClusterInstancesAffinityPodAffinityRequiredDuringSchedulingI /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6884,7 +6885,7 @@ pub struct PerconaPGClusterInstancesAffinityPodAffinityRequiredDuringSchedulingI /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6900,7 +6901,7 @@ pub struct PerconaPGClusterInstancesAffinityPodAffinityRequiredDuringSchedulingI } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -6925,7 +6926,7 @@ pub struct PerconaPGClusterInstancesAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -6936,7 +6937,7 @@ pub struct PerconaPGClusterInstancesAffinityPodAntiAffinityPreferredDuringSchedu } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -6988,7 +6989,7 @@ pub struct PerconaPGClusterInstancesAffinityPodAntiAffinityPreferredDuringSchedu /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7002,7 +7003,7 @@ pub struct PerconaPGClusterInstancesAffinityPodAntiAffinityPreferredDuringSchedu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7022,7 +7023,7 @@ pub struct PerconaPGClusterInstancesAffinityPodAntiAffinityPreferredDuringSchedu /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7036,7 +7037,7 @@ pub struct PerconaPGClusterInstancesAffinityPodAntiAffinityPreferredDuringSchedu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7057,7 +7058,7 @@ pub struct PerconaPGClusterInstancesAffinityPodAntiAffinityPreferredDuringSchedu /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -7109,7 +7110,7 @@ pub struct PerconaPGClusterInstancesAffinityPodAntiAffinityRequiredDuringSchedul /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7123,7 +7124,7 @@ pub struct PerconaPGClusterInstancesAffinityPodAntiAffinityRequiredDuringSchedul /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7143,7 +7144,7 @@ pub struct PerconaPGClusterInstancesAffinityPodAntiAffinityRequiredDuringSchedul /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7157,7 +7158,7 @@ pub struct PerconaPGClusterInstancesAffinityPodAntiAffinityRequiredDuringSchedul /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7174,7 +7175,7 @@ pub struct PerconaPGClusterInstancesAffinityPodAntiAffinityRequiredDuringSchedul /// Defines a PersistentVolumeClaim for PostgreSQL data. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesDataVolumeClaimSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -7260,7 +7261,7 @@ pub struct PerconaPGClusterInstancesDataVolumeClaimSpec { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesDataVolumeClaimSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -7296,7 +7297,7 @@ pub struct PerconaPGClusterInstancesDataVolumeClaimSpecDataSource { /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesDataVolumeClaimSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -7319,7 +7320,7 @@ pub struct PerconaPGClusterInstancesDataVolumeClaimSpecDataSourceRef { /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesDataVolumeClaimSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -7334,7 +7335,7 @@ pub struct PerconaPGClusterInstancesDataVolumeClaimSpecResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesDataVolumeClaimSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7348,7 +7349,7 @@ pub struct PerconaPGClusterInstancesDataVolumeClaimSpecSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesDataVolumeClaimSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7364,7 +7365,7 @@ pub struct PerconaPGClusterInstancesDataVolumeClaimSpecSelectorMatchExpressions } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainers { /// Arguments to the entrypoint. /// The container image's CMD is used if this is not provided. @@ -7531,7 +7532,7 @@ pub struct PerconaPGClusterInstancesInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -7552,7 +7553,7 @@ pub struct PerconaPGClusterInstancesInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -7571,7 +7572,7 @@ pub struct PerconaPGClusterInstancesInitContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -7587,7 +7588,7 @@ pub struct PerconaPGClusterInstancesInitContainersEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -7599,7 +7600,7 @@ pub struct PerconaPGClusterInstancesInitContainersEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -7612,7 +7613,7 @@ pub struct PerconaPGClusterInstancesInitContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -7627,7 +7628,7 @@ pub struct PerconaPGClusterInstancesInitContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -7641,7 +7642,7 @@ pub struct PerconaPGClusterInstancesInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -7654,7 +7655,7 @@ pub struct PerconaPGClusterInstancesInitContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -7668,7 +7669,7 @@ pub struct PerconaPGClusterInstancesInitContainersEnvFromSecretRef { /// Actions that the management system should take in response to container lifecycle events. /// Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, /// the container is terminated and restarted according to its restart policy. @@ -7693,7 +7694,7 @@ pub struct PerconaPGClusterInstancesInitContainersLifecycle { /// the container is terminated and restarted according to its restart policy. /// Other management of the container blocks until the hook completes. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7712,7 +7713,7 @@ pub struct PerconaPGClusterInstancesInitContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -7724,7 +7725,7 @@ pub struct PerconaPGClusterInstancesInitContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -7747,7 +7748,7 @@ pub struct PerconaPGClusterInstancesInitContainersLifecyclePostStartHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -7757,7 +7758,7 @@ pub struct PerconaPGClusterInstancesInitContainersLifecyclePostStartHttpGetHttpH } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersLifecyclePostStartSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -7766,7 +7767,7 @@ pub struct PerconaPGClusterInstancesInitContainersLifecyclePostStartSleep { /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7786,7 +7787,7 @@ pub struct PerconaPGClusterInstancesInitContainersLifecyclePostStartTcpSocket { /// period (unless delayed by finalizers). Other management of the container blocks until the hook completes /// or until the termination grace period is reached. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7805,7 +7806,7 @@ pub struct PerconaPGClusterInstancesInitContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -7817,7 +7818,7 @@ pub struct PerconaPGClusterInstancesInitContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -7840,7 +7841,7 @@ pub struct PerconaPGClusterInstancesInitContainersLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -7850,7 +7851,7 @@ pub struct PerconaPGClusterInstancesInitContainersLifecyclePreStopHttpGetHttpHea } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersLifecyclePreStopSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -7859,7 +7860,7 @@ pub struct PerconaPGClusterInstancesInitContainersLifecyclePreStopSleep { /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7874,7 +7875,7 @@ pub struct PerconaPGClusterInstancesInitContainersLifecyclePreStopTcpSocket { /// Container will be restarted if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7924,7 +7925,7 @@ pub struct PerconaPGClusterInstancesInitContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -7936,7 +7937,7 @@ pub struct PerconaPGClusterInstancesInitContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -7950,7 +7951,7 @@ pub struct PerconaPGClusterInstancesInitContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -7973,7 +7974,7 @@ pub struct PerconaPGClusterInstancesInitContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -7983,7 +7984,7 @@ pub struct PerconaPGClusterInstancesInitContainersLivenessProbeHttpGetHttpHeader } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7995,7 +7996,7 @@ pub struct PerconaPGClusterInstancesInitContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersPorts { /// Number of port to expose on the pod's IP address. /// This must be a valid port number, 0 < x < 65536. @@ -8025,7 +8026,7 @@ pub struct PerconaPGClusterInstancesInitContainersPorts { /// Container will be removed from service endpoints if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8075,7 +8076,7 @@ pub struct PerconaPGClusterInstancesInitContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -8087,7 +8088,7 @@ pub struct PerconaPGClusterInstancesInitContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -8101,7 +8102,7 @@ pub struct PerconaPGClusterInstancesInitContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -8124,7 +8125,7 @@ pub struct PerconaPGClusterInstancesInitContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -8134,7 +8135,7 @@ pub struct PerconaPGClusterInstancesInitContainersReadinessProbeHttpGetHttpHeade } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8146,7 +8147,7 @@ pub struct PerconaPGClusterInstancesInitContainersReadinessProbeTcpSocket { } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. /// Supported values: cpu, memory. @@ -8161,7 +8162,7 @@ pub struct PerconaPGClusterInstancesInitContainersResizePolicy { /// Compute Resources required by this container. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -8187,7 +8188,7 @@ pub struct PerconaPGClusterInstancesInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -8198,7 +8199,7 @@ pub struct PerconaPGClusterInstancesInitContainersResourcesClaims { /// SecurityContext defines the security options the container should be run with. /// If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. /// More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -8283,7 +8284,7 @@ pub struct PerconaPGClusterInstancesInitContainersSecurityContext { /// appArmorProfile is the AppArmor options to use by this container. If set, this profile /// overrides the pod's appArmorProfile. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersSecurityContextAppArmorProfile { /// localhostProfile indicates a profile loaded on the node that should be used. /// The profile must be preconfigured on the node to work. @@ -8303,7 +8304,7 @@ pub struct PerconaPGClusterInstancesInitContainersSecurityContextAppArmorProfile /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8318,7 +8319,7 @@ pub struct PerconaPGClusterInstancesInitContainersSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8338,7 +8339,7 @@ pub struct PerconaPGClusterInstancesInitContainersSecurityContextSeLinuxOptions /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -8361,7 +8362,7 @@ pub struct PerconaPGClusterInstancesInitContainersSecurityContextSeccompProfile /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -8392,7 +8393,7 @@ pub struct PerconaPGClusterInstancesInitContainersSecurityContextWindowsOptions /// when it might take a long time to load data or warm a cache, than during steady-state operation. /// This cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8442,7 +8443,7 @@ pub struct PerconaPGClusterInstancesInitContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -8454,7 +8455,7 @@ pub struct PerconaPGClusterInstancesInitContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -8468,7 +8469,7 @@ pub struct PerconaPGClusterInstancesInitContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -8491,7 +8492,7 @@ pub struct PerconaPGClusterInstancesInitContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersStartupProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -8501,7 +8502,7 @@ pub struct PerconaPGClusterInstancesInitContainersStartupProbeHttpGetHttpHeaders } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8513,7 +8514,7 @@ pub struct PerconaPGClusterInstancesInitContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -8523,7 +8524,7 @@ pub struct PerconaPGClusterInstancesInitContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -8578,7 +8579,7 @@ pub struct PerconaPGClusterInstancesInitContainersVolumeMounts { } /// Metadata contains metadata for custom resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -8587,7 +8588,7 @@ pub struct PerconaPGClusterInstancesMetadata { } /// Compute resources of a PostgreSQL container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -8613,7 +8614,7 @@ pub struct PerconaPGClusterInstancesResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -8622,7 +8623,7 @@ pub struct PerconaPGClusterInstancesResourcesClaims { } /// SecurityContext defines the security settings for a PostgreSQL pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSecurityContext { /// appArmorProfile is the AppArmor options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. @@ -8711,7 +8712,7 @@ pub struct PerconaPGClusterInstancesSecurityContext { /// appArmorProfile is the AppArmor options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSecurityContextAppArmorProfile { /// localhostProfile indicates a profile loaded on the node that should be used. /// The profile must be preconfigured on the node to work. @@ -8734,7 +8735,7 @@ pub struct PerconaPGClusterInstancesSecurityContextAppArmorProfile { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8752,7 +8753,7 @@ pub struct PerconaPGClusterInstancesSecurityContextSeLinuxOptions { /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -8772,7 +8773,7 @@ pub struct PerconaPGClusterInstancesSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -8784,7 +8785,7 @@ pub struct PerconaPGClusterInstancesSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -8809,7 +8810,7 @@ pub struct PerconaPGClusterInstancesSecurityContextWindowsOptions { } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecars { /// Arguments to the entrypoint. /// The container image's CMD is used if this is not provided. @@ -8976,7 +8977,7 @@ pub struct PerconaPGClusterInstancesSidecars { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -8997,7 +8998,7 @@ pub struct PerconaPGClusterInstancesSidecarsEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -9016,7 +9017,7 @@ pub struct PerconaPGClusterInstancesSidecarsEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -9032,7 +9033,7 @@ pub struct PerconaPGClusterInstancesSidecarsEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -9044,7 +9045,7 @@ pub struct PerconaPGClusterInstancesSidecarsEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -9057,7 +9058,7 @@ pub struct PerconaPGClusterInstancesSidecarsEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -9072,7 +9073,7 @@ pub struct PerconaPGClusterInstancesSidecarsEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -9086,7 +9087,7 @@ pub struct PerconaPGClusterInstancesSidecarsEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -9099,7 +9100,7 @@ pub struct PerconaPGClusterInstancesSidecarsEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -9113,7 +9114,7 @@ pub struct PerconaPGClusterInstancesSidecarsEnvFromSecretRef { /// Actions that the management system should take in response to container lifecycle events. /// Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, /// the container is terminated and restarted according to its restart policy. @@ -9138,7 +9139,7 @@ pub struct PerconaPGClusterInstancesSidecarsLifecycle { /// the container is terminated and restarted according to its restart policy. /// Other management of the container blocks until the hook completes. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9157,7 +9158,7 @@ pub struct PerconaPGClusterInstancesSidecarsLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -9169,7 +9170,7 @@ pub struct PerconaPGClusterInstancesSidecarsLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -9192,7 +9193,7 @@ pub struct PerconaPGClusterInstancesSidecarsLifecyclePostStartHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsLifecyclePostStartHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -9202,7 +9203,7 @@ pub struct PerconaPGClusterInstancesSidecarsLifecyclePostStartHttpGetHttpHeaders } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsLifecyclePostStartSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -9211,7 +9212,7 @@ pub struct PerconaPGClusterInstancesSidecarsLifecyclePostStartSleep { /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9231,7 +9232,7 @@ pub struct PerconaPGClusterInstancesSidecarsLifecyclePostStartTcpSocket { /// period (unless delayed by finalizers). Other management of the container blocks until the hook completes /// or until the termination grace period is reached. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9250,7 +9251,7 @@ pub struct PerconaPGClusterInstancesSidecarsLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -9262,7 +9263,7 @@ pub struct PerconaPGClusterInstancesSidecarsLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -9285,7 +9286,7 @@ pub struct PerconaPGClusterInstancesSidecarsLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsLifecyclePreStopHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -9295,7 +9296,7 @@ pub struct PerconaPGClusterInstancesSidecarsLifecyclePreStopHttpGetHttpHeaders { } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsLifecyclePreStopSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -9304,7 +9305,7 @@ pub struct PerconaPGClusterInstancesSidecarsLifecyclePreStopSleep { /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9319,7 +9320,7 @@ pub struct PerconaPGClusterInstancesSidecarsLifecyclePreStopTcpSocket { /// Container will be restarted if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9369,7 +9370,7 @@ pub struct PerconaPGClusterInstancesSidecarsLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -9381,7 +9382,7 @@ pub struct PerconaPGClusterInstancesSidecarsLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -9395,7 +9396,7 @@ pub struct PerconaPGClusterInstancesSidecarsLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -9418,7 +9419,7 @@ pub struct PerconaPGClusterInstancesSidecarsLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -9428,7 +9429,7 @@ pub struct PerconaPGClusterInstancesSidecarsLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9440,7 +9441,7 @@ pub struct PerconaPGClusterInstancesSidecarsLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsPorts { /// Number of port to expose on the pod's IP address. /// This must be a valid port number, 0 < x < 65536. @@ -9470,7 +9471,7 @@ pub struct PerconaPGClusterInstancesSidecarsPorts { /// Container will be removed from service endpoints if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9520,7 +9521,7 @@ pub struct PerconaPGClusterInstancesSidecarsReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -9532,7 +9533,7 @@ pub struct PerconaPGClusterInstancesSidecarsReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -9546,7 +9547,7 @@ pub struct PerconaPGClusterInstancesSidecarsReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -9569,7 +9570,7 @@ pub struct PerconaPGClusterInstancesSidecarsReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -9579,7 +9580,7 @@ pub struct PerconaPGClusterInstancesSidecarsReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9591,7 +9592,7 @@ pub struct PerconaPGClusterInstancesSidecarsReadinessProbeTcpSocket { } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsResizePolicy { /// Name of the resource to which this resource resize policy applies. /// Supported values: cpu, memory. @@ -9606,7 +9607,7 @@ pub struct PerconaPGClusterInstancesSidecarsResizePolicy { /// Compute Resources required by this container. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -9632,7 +9633,7 @@ pub struct PerconaPGClusterInstancesSidecarsResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -9643,7 +9644,7 @@ pub struct PerconaPGClusterInstancesSidecarsResourcesClaims { /// SecurityContext defines the security options the container should be run with. /// If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. /// More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -9728,7 +9729,7 @@ pub struct PerconaPGClusterInstancesSidecarsSecurityContext { /// appArmorProfile is the AppArmor options to use by this container. If set, this profile /// overrides the pod's appArmorProfile. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsSecurityContextAppArmorProfile { /// localhostProfile indicates a profile loaded on the node that should be used. /// The profile must be preconfigured on the node to work. @@ -9748,7 +9749,7 @@ pub struct PerconaPGClusterInstancesSidecarsSecurityContextAppArmorProfile { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9763,7 +9764,7 @@ pub struct PerconaPGClusterInstancesSidecarsSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9783,7 +9784,7 @@ pub struct PerconaPGClusterInstancesSidecarsSecurityContextSeLinuxOptions { /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -9806,7 +9807,7 @@ pub struct PerconaPGClusterInstancesSidecarsSecurityContextSeccompProfile { /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -9837,7 +9838,7 @@ pub struct PerconaPGClusterInstancesSidecarsSecurityContextWindowsOptions { /// when it might take a long time to load data or warm a cache, than during steady-state operation. /// This cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9887,7 +9888,7 @@ pub struct PerconaPGClusterInstancesSidecarsStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -9899,7 +9900,7 @@ pub struct PerconaPGClusterInstancesSidecarsStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -9913,7 +9914,7 @@ pub struct PerconaPGClusterInstancesSidecarsStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -9936,7 +9937,7 @@ pub struct PerconaPGClusterInstancesSidecarsStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsStartupProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -9946,7 +9947,7 @@ pub struct PerconaPGClusterInstancesSidecarsStartupProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -9958,7 +9959,7 @@ pub struct PerconaPGClusterInstancesSidecarsStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -9968,7 +9969,7 @@ pub struct PerconaPGClusterInstancesSidecarsVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesSidecarsVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -10022,7 +10023,7 @@ pub struct PerconaPGClusterInstancesSidecarsVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesTablespaceVolumes { /// Defines a PersistentVolumeClaim for a tablespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes @@ -10035,7 +10036,7 @@ pub struct PerconaPGClusterInstancesTablespaceVolumes { /// Defines a PersistentVolumeClaim for a tablespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesTablespaceVolumesDataVolumeClaimSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -10121,7 +10122,7 @@ pub struct PerconaPGClusterInstancesTablespaceVolumesDataVolumeClaimSpec { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesTablespaceVolumesDataVolumeClaimSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -10157,7 +10158,7 @@ pub struct PerconaPGClusterInstancesTablespaceVolumesDataVolumeClaimSpecDataSour /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesTablespaceVolumesDataVolumeClaimSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -10180,7 +10181,7 @@ pub struct PerconaPGClusterInstancesTablespaceVolumesDataVolumeClaimSpecDataSour /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesTablespaceVolumesDataVolumeClaimSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -10195,7 +10196,7 @@ pub struct PerconaPGClusterInstancesTablespaceVolumesDataVolumeClaimSpecResource } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesTablespaceVolumesDataVolumeClaimSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10209,7 +10210,7 @@ pub struct PerconaPGClusterInstancesTablespaceVolumesDataVolumeClaimSpecSelector /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesTablespaceVolumesDataVolumeClaimSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -10226,7 +10227,7 @@ pub struct PerconaPGClusterInstancesTablespaceVolumesDataVolumeClaimSpecSelector /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -10255,7 +10256,7 @@ pub struct PerconaPGClusterInstancesTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods @@ -10374,7 +10375,7 @@ pub struct PerconaPGClusterInstancesTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods /// in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10388,7 +10389,7 @@ pub struct PerconaPGClusterInstancesTopologySpreadConstraintsLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -10404,7 +10405,7 @@ pub struct PerconaPGClusterInstancesTopologySpreadConstraintsLabelSelectorMatchE } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -10460,7 +10461,7 @@ pub struct PerconaPGClusterInstancesVolumeMounts { /// Defines a separate PersistentVolumeClaim for PostgreSQL's write-ahead log. /// More info: https://www.postgresql.org/docs/current/wal.html -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesWalVolumeClaimSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -10546,7 +10547,7 @@ pub struct PerconaPGClusterInstancesWalVolumeClaimSpec { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesWalVolumeClaimSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -10582,7 +10583,7 @@ pub struct PerconaPGClusterInstancesWalVolumeClaimSpecDataSource { /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesWalVolumeClaimSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -10605,7 +10606,7 @@ pub struct PerconaPGClusterInstancesWalVolumeClaimSpecDataSourceRef { /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesWalVolumeClaimSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -10620,7 +10621,7 @@ pub struct PerconaPGClusterInstancesWalVolumeClaimSpecResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesWalVolumeClaimSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -10634,7 +10635,7 @@ pub struct PerconaPGClusterInstancesWalVolumeClaimSpecSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterInstancesWalVolumeClaimSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -10650,7 +10651,7 @@ pub struct PerconaPGClusterInstancesWalVolumeClaimSpecSelectorMatchExpressions { } /// Metadata contains metadata for custom resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -10658,7 +10659,7 @@ pub struct PerconaPGClusterMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterPatroni { /// Patroni dynamic configuration settings. Changes to this value will be /// automatically reloaded without validation. Changes to certain PostgreSQL @@ -10686,7 +10687,7 @@ pub struct PerconaPGClusterPatroni { } /// Switchover gives options to perform ad hoc switchovers in a PostgresCluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterPatroniSwitchover { /// Whether or not the operator should allow switchovers in a PostgresCluster pub enabled: bool, @@ -10712,7 +10713,7 @@ pub enum PerconaPGClusterPatroniSwitchoverType { } /// The specification of PMM sidecars. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterPmm { /// SecurityContext holds security configuration that will be applied to a container. /// Some fields are present in both SecurityContext and PodSecurityContext. When both @@ -10740,7 +10741,7 @@ pub struct PerconaPGClusterPmm { /// SecurityContext holds security configuration that will be applied to a container. /// Some fields are present in both SecurityContext and PodSecurityContext. When both /// are set, the values in SecurityContext take precedence. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterPmmContainerSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -10825,7 +10826,7 @@ pub struct PerconaPGClusterPmmContainerSecurityContext { /// appArmorProfile is the AppArmor options to use by this container. If set, this profile /// overrides the pod's appArmorProfile. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterPmmContainerSecurityContextAppArmorProfile { /// localhostProfile indicates a profile loaded on the node that should be used. /// The profile must be preconfigured on the node to work. @@ -10845,7 +10846,7 @@ pub struct PerconaPGClusterPmmContainerSecurityContextAppArmorProfile { /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterPmmContainerSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10860,7 +10861,7 @@ pub struct PerconaPGClusterPmmContainerSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterPmmContainerSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -10880,7 +10881,7 @@ pub struct PerconaPGClusterPmmContainerSecurityContextSeLinuxOptions { /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterPmmContainerSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -10903,7 +10904,7 @@ pub struct PerconaPGClusterPmmContainerSecurityContextSeccompProfile { /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterPmmContainerSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -10936,7 +10937,7 @@ pub enum PerconaPGClusterPmmImagePullPolicy { } /// Compute resources of a PMM container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterPmmResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -10962,7 +10963,7 @@ pub struct PerconaPGClusterPmmResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterPmmResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -10971,7 +10972,7 @@ pub struct PerconaPGClusterPmmResourcesClaims { } /// The specification of a proxy that connects to PostgreSQL. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxy { /// Defines a PgBouncer proxy and connection pooler. #[serde(rename = "pgBouncer")] @@ -10979,7 +10980,7 @@ pub struct PerconaPGClusterProxy { } /// Defines a PgBouncer proxy and connection pooler. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncer { /// Scheduling constraints of a PgBouncer pod. Changing this value causes /// PgBouncer to restart. @@ -11057,7 +11058,7 @@ pub struct PerconaPGClusterProxyPgBouncer { /// Scheduling constraints of a PgBouncer pod. Changing this value causes /// PgBouncer to restart. /// More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -11071,7 +11072,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -11095,7 +11096,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: PerconaPGClusterProxyPgBouncerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -11104,7 +11105,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityNodeAffinityPreferredDuringSche } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11116,7 +11117,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityNodeAffinityPreferredDuringSche /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -11134,7 +11135,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityNodeAffinityPreferredDuringSche /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -11155,7 +11156,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityNodeAffinityPreferredDuringSche /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -11165,7 +11166,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityNodeAffinityRequiredDuringSched /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11177,7 +11178,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityNodeAffinityRequiredDuringSched /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -11195,7 +11196,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityNodeAffinityRequiredDuringSched /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -11212,7 +11213,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityNodeAffinityRequiredDuringSched } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -11237,7 +11238,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -11248,7 +11249,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityPodAffinityPreferredDuringSched } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -11300,7 +11301,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityPodAffinityPreferredDuringSched /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11314,7 +11315,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityPodAffinityPreferredDuringSched /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11334,7 +11335,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityPodAffinityPreferredDuringSched /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11348,7 +11349,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityPodAffinityPreferredDuringSched /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11369,7 +11370,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityPodAffinityPreferredDuringSched /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -11421,7 +11422,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityPodAffinityRequiredDuringSchedu /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11435,7 +11436,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityPodAffinityRequiredDuringSchedu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11455,7 +11456,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityPodAffinityRequiredDuringSchedu /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11469,7 +11470,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityPodAffinityRequiredDuringSchedu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11485,7 +11486,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityPodAffinityRequiredDuringSchedu } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -11510,7 +11511,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -11521,7 +11522,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityPodAntiAffinityPreferredDuringS } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -11573,7 +11574,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityPodAntiAffinityPreferredDuringS /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11587,7 +11588,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityPodAntiAffinityPreferredDuringS /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11607,7 +11608,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityPodAntiAffinityPreferredDuringS /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11621,7 +11622,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityPodAntiAffinityPreferredDuringS /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11642,7 +11643,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityPodAntiAffinityPreferredDuringS /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -11694,7 +11695,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityPodAntiAffinityRequiredDuringSc /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11708,7 +11709,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityPodAntiAffinityRequiredDuringSc /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11728,7 +11729,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityPodAntiAffinityRequiredDuringSc /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11742,7 +11743,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityPodAntiAffinityRequiredDuringSc /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11761,7 +11762,7 @@ pub struct PerconaPGClusterProxyPgBouncerAffinityPodAntiAffinityRequiredDuringSc /// values will be automatically reloaded without validation. Be careful, as /// you may put PgBouncer into an unusable state. /// More info: https://www.pgbouncer.org/usage.html#reload -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerConfig { /// PgBouncer database definitions. The key is the database requested by a /// client while the value is a libpq-styled connection string. The special @@ -11790,7 +11791,7 @@ pub struct PerconaPGClusterProxyPgBouncerConfig { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerConfigFiles { /// ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field /// of ClusterTrustBundle objects in an auto-updating file. @@ -11840,7 +11841,7 @@ pub struct PerconaPGClusterProxyPgBouncerConfigFiles { /// comments and block headers are stripped. Certificates are deduplicated. /// The ordering of certificates within the file is arbitrary, and Kubelet /// may change the order over time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerConfigFilesClusterTrustBundle { /// Select all ClusterTrustBundles that match this label selector. Only has /// effect if signerName is set. Mutually-exclusive with name. If unset, @@ -11872,7 +11873,7 @@ pub struct PerconaPGClusterProxyPgBouncerConfigFilesClusterTrustBundle { /// effect if signerName is set. Mutually-exclusive with name. If unset, /// interpreted as "match nothing". If set but empty, interpreted as "match /// everything". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerConfigFilesClusterTrustBundleLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -11886,7 +11887,7 @@ pub struct PerconaPGClusterProxyPgBouncerConfigFilesClusterTrustBundleLabelSelec /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerConfigFilesClusterTrustBundleLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -11902,7 +11903,7 @@ pub struct PerconaPGClusterProxyPgBouncerConfigFilesClusterTrustBundleLabelSelec } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerConfigFilesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced /// ConfigMap will be projected into the volume as a file whose name is the @@ -11924,7 +11925,7 @@ pub struct PerconaPGClusterProxyPgBouncerConfigFilesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerConfigFilesConfigMapItems { /// key is the key to project. pub key: String, @@ -11944,7 +11945,7 @@ pub struct PerconaPGClusterProxyPgBouncerConfigFilesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerConfigFilesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -11952,7 +11953,7 @@ pub struct PerconaPGClusterProxyPgBouncerConfigFilesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerConfigFilesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -11974,7 +11975,7 @@ pub struct PerconaPGClusterProxyPgBouncerConfigFilesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerConfigFilesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -11986,7 +11987,7 @@ pub struct PerconaPGClusterProxyPgBouncerConfigFilesDownwardApiItemsFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerConfigFilesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -11999,7 +12000,7 @@ pub struct PerconaPGClusterProxyPgBouncerConfigFilesDownwardApiItemsResourceFiel } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerConfigFilesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced /// Secret will be projected into the volume as a file whose name is the @@ -12021,7 +12022,7 @@ pub struct PerconaPGClusterProxyPgBouncerConfigFilesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerConfigFilesSecretItems { /// key is the key to project. pub key: String, @@ -12041,7 +12042,7 @@ pub struct PerconaPGClusterProxyPgBouncerConfigFilesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerConfigFilesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token /// must identify itself with an identifier specified in the audience of the @@ -12067,7 +12068,7 @@ pub struct PerconaPGClusterProxyPgBouncerConfigFilesServiceAccountToken { /// be PEM-encoded certificates and keys. Changing this value causes PgBouncer /// to restart. /// More info: https://kubernetes.io/docs/concepts/configuration/secret/#projection-of-secret-keys-to-specific-paths -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerCustomTlsSecret { /// items if unspecified, each key-value pair in the Data field of the referenced /// Secret will be projected into the volume as a file whose name is the @@ -12089,7 +12090,7 @@ pub struct PerconaPGClusterProxyPgBouncerCustomTlsSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerCustomTlsSecretItems { /// key is the key to project. pub key: String, @@ -12109,7 +12110,7 @@ pub struct PerconaPGClusterProxyPgBouncerCustomTlsSecretItems { } /// Specification of the service that exposes PgBouncer. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerExpose { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -12140,7 +12141,7 @@ pub enum PerconaPGClusterProxyPgBouncerExposeType { } /// Metadata contains metadata for custom resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -12151,7 +12152,7 @@ pub struct PerconaPGClusterProxyPgBouncerMetadata { /// Compute resources of a PgBouncer container. Changing this value causes /// PgBouncer to restart. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -12177,7 +12178,7 @@ pub struct PerconaPGClusterProxyPgBouncerResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -12186,7 +12187,7 @@ pub struct PerconaPGClusterProxyPgBouncerResourcesClaims { } /// SecurityContext defines the security settings for PGBouncer pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSecurityContext { /// appArmorProfile is the AppArmor options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. @@ -12275,7 +12276,7 @@ pub struct PerconaPGClusterProxyPgBouncerSecurityContext { /// appArmorProfile is the AppArmor options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSecurityContextAppArmorProfile { /// localhostProfile indicates a profile loaded on the node that should be used. /// The profile must be preconfigured on the node to work. @@ -12298,7 +12299,7 @@ pub struct PerconaPGClusterProxyPgBouncerSecurityContextAppArmorProfile { /// both SecurityContext and PodSecurityContext, the value specified in SecurityContext /// takes precedence for that container. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12316,7 +12317,7 @@ pub struct PerconaPGClusterProxyPgBouncerSecurityContextSeLinuxOptions { /// The seccomp options to use by the containers in this pod. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -12336,7 +12337,7 @@ pub struct PerconaPGClusterProxyPgBouncerSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -12348,7 +12349,7 @@ pub struct PerconaPGClusterProxyPgBouncerSecurityContextSysctls { /// If unspecified, the options within a container's SecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -12373,7 +12374,7 @@ pub struct PerconaPGClusterProxyPgBouncerSecurityContextWindowsOptions { } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecars { /// Arguments to the entrypoint. /// The container image's CMD is used if this is not provided. @@ -12540,7 +12541,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecars { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -12561,7 +12562,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -12580,7 +12581,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -12596,7 +12597,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsEnvValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -12608,7 +12609,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsEnvValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -12621,7 +12622,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -12636,7 +12637,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -12650,7 +12651,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsEnvFromConfigMapRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -12663,7 +12664,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsEnvFromSecretRef { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -12677,7 +12678,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsEnvFromSecretRef { /// Actions that the management system should take in response to container lifecycle events. /// Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, /// the container is terminated and restarted according to its restart policy. @@ -12702,7 +12703,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecycle { /// the container is terminated and restarted according to its restart policy. /// Other management of the container blocks until the hook completes. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12721,7 +12722,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -12733,7 +12734,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -12756,7 +12757,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecyclePostStartHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecyclePostStartHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -12766,7 +12767,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecyclePostStartHttpGetHttpHe } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecyclePostStartSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -12775,7 +12776,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecyclePostStartSleep { /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12795,7 +12796,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecyclePostStartTcpSocket { /// period (unless delayed by finalizers). Other management of the container blocks until the hook completes /// or until the termination grace period is reached. /// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12814,7 +12815,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -12826,7 +12827,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -12849,7 +12850,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecyclePreStopHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -12859,7 +12860,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecyclePreStopHttpGetHttpHead } /// Sleep represents the duration that the container should sleep before being terminated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecyclePreStopSleep { /// Seconds is the number of seconds to sleep. pub seconds: i64, @@ -12868,7 +12869,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecyclePreStopSleep { /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept /// for the backward compatibility. There are no validation of this field and /// lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12883,7 +12884,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsLifecyclePreStopTcpSocket { /// Container will be restarted if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -12933,7 +12934,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -12945,7 +12946,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -12959,7 +12960,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -12982,7 +12983,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsLivenessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -12992,7 +12993,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsLivenessProbeHttpGetHttpHeaders } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13004,7 +13005,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsPorts { /// Number of port to expose on the pod's IP address. /// This must be a valid port number, 0 < x < 65536. @@ -13034,7 +13035,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsPorts { /// Container will be removed from service endpoints if the probe fails. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13084,7 +13085,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -13096,7 +13097,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -13110,7 +13111,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -13133,7 +13134,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsReadinessProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -13143,7 +13144,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsReadinessProbeHttpGetHttpHeader } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13155,7 +13156,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsReadinessProbeTcpSocket { } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsResizePolicy { /// Name of the resource to which this resource resize policy applies. /// Supported values: cpu, memory. @@ -13170,7 +13171,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsResizePolicy { /// Compute Resources required by this container. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -13196,7 +13197,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -13207,7 +13208,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsResourcesClaims { /// SecurityContext defines the security options the container should be run with. /// If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. /// More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more /// privileges than its parent process. This bool directly controls if @@ -13292,7 +13293,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsSecurityContext { /// appArmorProfile is the AppArmor options to use by this container. If set, this profile /// overrides the pod's appArmorProfile. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsSecurityContextAppArmorProfile { /// localhostProfile indicates a profile loaded on the node that should be used. /// The profile must be preconfigured on the node to work. @@ -13312,7 +13313,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsSecurityContextAppArmorProfile /// The capabilities to add/drop when running containers. /// Defaults to the default set of capabilities granted by the container runtime. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13327,7 +13328,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsSecurityContextCapabilities { /// container. May also be set in PodSecurityContext. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13347,7 +13348,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsSecurityContextSeLinuxOptions { /// provided at both the pod & container level, the container options /// override the pod options. /// Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. /// The profile must be preconfigured on the node to work. @@ -13370,7 +13371,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsSecurityContextSeccompProfile { /// If unspecified, the options from the PodSecurityContext will be used. /// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. /// Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the @@ -13401,7 +13402,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsSecurityContextWindowsOptions { /// when it might take a long time to load data or warm a cache, than during steady-state operation. /// This cannot be updated. /// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13451,7 +13452,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the /// command is root ('/') in the container's filesystem. The command is simply exec'd, it is @@ -13463,7 +13464,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -13477,7 +13478,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set /// "Host" in httpHeaders instead. @@ -13500,7 +13501,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsStartupProbeHttpGetHttpHeaders { /// The header field name. /// This will be canonicalized upon output, so case-variant names will be understood as the same header. @@ -13510,7 +13511,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsStartupProbeHttpGetHttpHeaders } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -13522,7 +13523,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -13532,7 +13533,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerSidecarsVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -13588,7 +13589,7 @@ pub struct PerconaPGClusterProxyPgBouncerSidecarsVolumeMounts { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -13617,7 +13618,7 @@ pub struct PerconaPGClusterProxyPgBouncerTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods @@ -13736,7 +13737,7 @@ pub struct PerconaPGClusterProxyPgBouncerTopologySpreadConstraints { /// LabelSelector is used to find matching pods. /// Pods that match this label selector are counted to determine the number of pods /// in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -13750,7 +13751,7 @@ pub struct PerconaPGClusterProxyPgBouncerTopologySpreadConstraintsLabelSelector /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterProxyPgBouncerTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -13765,7 +13766,7 @@ pub struct PerconaPGClusterProxyPgBouncerTopologySpreadConstraintsLabelSelectorM pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterSecrets { /// The secret containing the replication client certificates and keys for /// secure connections to the PostgreSQL server. It will need to contain the @@ -13794,7 +13795,7 @@ pub struct PerconaPGClusterSecrets { /// with the data keys set to tls.crt, tls.key and ca.crt, respectively. /// NOTE: If CustomReplicationClientTLSSecret is provided, CustomTLSSecret /// MUST be provided and the ca.crt provided must be the same. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterSecretsCustomReplicationTlsSecret { /// items if unspecified, each key-value pair in the Data field of the referenced /// Secret will be projected into the volume as a file whose name is the @@ -13816,7 +13817,7 @@ pub struct PerconaPGClusterSecretsCustomReplicationTlsSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterSecretsCustomReplicationTlsSecretItems { /// key is the key to project. pub key: String, @@ -13844,7 +13845,7 @@ pub struct PerconaPGClusterSecretsCustomReplicationTlsSecretItems { /// https://k8s.io/docs/concepts/configuration/secret/#projection-of-secret-keys-to-specific-paths /// NOTE: If CustomTLSSecret is provided, CustomReplicationClientTLSSecret /// MUST be provided and the ca.crt provided must be the same. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterSecretsCustomTlsSecret { /// items if unspecified, each key-value pair in the Data field of the referenced /// Secret will be projected into the volume as a file whose name is the @@ -13866,7 +13867,7 @@ pub struct PerconaPGClusterSecretsCustomTlsSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterSecretsCustomTlsSecretItems { /// key is the key to project. pub key: String, @@ -13886,7 +13887,7 @@ pub struct PerconaPGClusterSecretsCustomTlsSecretItems { } /// Run this cluster as a read-only copy of an existing cluster or archive. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterStandby { /// Whether or not the PostgreSQL cluster should be read-only. When this is /// true, WAL files are applied from a pgBackRest repository or another @@ -13904,7 +13905,7 @@ pub struct PerconaPGClusterStandby { pub repo_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterUsers { /// Databases to which this user can connect and create objects. Removing a /// database from this list does NOT revoke access. This field is ignored for @@ -13946,7 +13947,7 @@ pub enum PerconaPGClusterUsersPasswordType { AlphaNumeric, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -13955,7 +13956,7 @@ pub struct PerconaPGClusterStatus { pub state: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterStatusPgbouncer { #[serde(default, skip_serializing_if = "Option::is_none")] pub ready: Option, @@ -13963,7 +13964,7 @@ pub struct PerconaPGClusterStatusPgbouncer { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterStatusPostgres { #[serde(default, skip_serializing_if = "Option::is_none")] pub instances: Option>, @@ -13973,7 +13974,7 @@ pub struct PerconaPGClusterStatusPostgres { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaPGClusterStatusPostgresInstances { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/pgv2_percona_com/v2/perconapgrestores.rs b/kube-custom-resources-rs/src/pgv2_percona_com/v2/perconapgrestores.rs index ce532aa70..901c1f418 100644 --- a/kube-custom-resources-rs/src/pgv2_percona_com/v2/perconapgrestores.rs +++ b/kube-custom-resources-rs/src/pgv2_percona_com/v2/perconapgrestores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/percona/percona-postgresql-operator/pgv2.percona.com/v2/perconapgrestores.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/percona/percona-postgresql-operator/pgv2.percona.com/v2/perconapgrestores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/pipes_services_k8s_aws/v1alpha1/pipes.rs b/kube-custom-resources-rs/src/pipes_services_k8s_aws/v1alpha1/pipes.rs index b9cef83cd..458beef6a 100644 --- a/kube-custom-resources-rs/src/pipes_services_k8s_aws/v1alpha1/pipes.rs +++ b/kube-custom-resources-rs/src/pipes_services_k8s_aws/v1alpha1/pipes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/pipes-controller/pipes.services.k8s.aws/v1alpha1/pipes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/pipes-controller/pipes.services.k8s.aws/v1alpha1/pipes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/pkg_crossplane_io/v1/configurationrevisions.rs b/kube-custom-resources-rs/src/pkg_crossplane_io/v1/configurationrevisions.rs index 5e357fa30..9f93dcfb2 100644 --- a/kube-custom-resources-rs/src/pkg_crossplane_io/v1/configurationrevisions.rs +++ b/kube-custom-resources-rs/src/pkg_crossplane_io/v1/configurationrevisions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1/configurationrevisions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1/configurationrevisions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/pkg_crossplane_io/v1/configurations.rs b/kube-custom-resources-rs/src/pkg_crossplane_io/v1/configurations.rs index 4daa35bf6..2f825f9cd 100644 --- a/kube-custom-resources-rs/src/pkg_crossplane_io/v1/configurations.rs +++ b/kube-custom-resources-rs/src/pkg_crossplane_io/v1/configurations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1/configurations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1/configurations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/pkg_crossplane_io/v1/providerrevisions.rs b/kube-custom-resources-rs/src/pkg_crossplane_io/v1/providerrevisions.rs index 099372562..a52639ca4 100644 --- a/kube-custom-resources-rs/src/pkg_crossplane_io/v1/providerrevisions.rs +++ b/kube-custom-resources-rs/src/pkg_crossplane_io/v1/providerrevisions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1/providerrevisions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1/providerrevisions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/pkg_crossplane_io/v1/providers.rs b/kube-custom-resources-rs/src/pkg_crossplane_io/v1/providers.rs index 24e5494e2..2e103e402 100644 --- a/kube-custom-resources-rs/src/pkg_crossplane_io/v1/providers.rs +++ b/kube-custom-resources-rs/src/pkg_crossplane_io/v1/providers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1/providers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1/providers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/pkg_crossplane_io/v1alpha1/controllerconfigs.rs b/kube-custom-resources-rs/src/pkg_crossplane_io/v1alpha1/controllerconfigs.rs index 2f7098970..260d7e0a1 100644 --- a/kube-custom-resources-rs/src/pkg_crossplane_io/v1alpha1/controllerconfigs.rs +++ b/kube-custom-resources-rs/src/pkg_crossplane_io/v1alpha1/controllerconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1alpha1/controllerconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1alpha1/controllerconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/pkg_crossplane_io/v1beta1/locks.rs b/kube-custom-resources-rs/src/pkg_crossplane_io/v1beta1/locks.rs index f4731249a..2c835dbec 100644 --- a/kube-custom-resources-rs/src/pkg_crossplane_io/v1beta1/locks.rs +++ b/kube-custom-resources-rs/src/pkg_crossplane_io/v1beta1/locks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1beta1/locks.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/crossplane/crossplane/pkg.crossplane.io/v1beta1/locks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/policy_clusterpedia_io/v1alpha1/clusterimportpolicies.rs b/kube-custom-resources-rs/src/policy_clusterpedia_io/v1alpha1/clusterimportpolicies.rs index b4b0e6cbd..38daa1602 100644 --- a/kube-custom-resources-rs/src/policy_clusterpedia_io/v1alpha1/clusterimportpolicies.rs +++ b/kube-custom-resources-rs/src/policy_clusterpedia_io/v1alpha1/clusterimportpolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/clusterpedia-io/clusterpedia/policy.clusterpedia.io/v1alpha1/clusterimportpolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/clusterpedia-io/clusterpedia/policy.clusterpedia.io/v1alpha1/clusterimportpolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,10 +10,11 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "policy.clusterpedia.io", version = "v1alpha1", kind = "ClusterImportPolicy", plural = "clusterimportpolicies")] #[kube(status = "ClusterImportPolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterImportPolicySpec { #[serde(rename = "creationCondition")] @@ -26,7 +27,7 @@ pub struct ClusterImportPolicySpec { pub template: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterImportPolicyReferences { pub group: String, pub key: String, @@ -39,7 +40,7 @@ pub struct ClusterImportPolicyReferences { pub versions: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterImportPolicySource { pub group: String, pub resource: String, @@ -49,7 +50,7 @@ pub struct ClusterImportPolicySource { pub versions: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterImportPolicyStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, diff --git a/kube-custom-resources-rs/src/policy_clusterpedia_io/v1alpha1/pediaclusterlifecycles.rs b/kube-custom-resources-rs/src/policy_clusterpedia_io/v1alpha1/pediaclusterlifecycles.rs index 014b35f3d..b400791a6 100644 --- a/kube-custom-resources-rs/src/policy_clusterpedia_io/v1alpha1/pediaclusterlifecycles.rs +++ b/kube-custom-resources-rs/src/policy_clusterpedia_io/v1alpha1/pediaclusterlifecycles.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/clusterpedia-io/clusterpedia/policy.clusterpedia.io/v1alpha1/pediaclusterlifecycles.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/clusterpedia-io/clusterpedia/policy.clusterpedia.io/v1alpha1/pediaclusterlifecycles.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,10 +10,11 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "policy.clusterpedia.io", version = "v1alpha1", kind = "PediaClusterLifecycle", plural = "pediaclusterlifecycles")] #[kube(status = "PediaClusterLifecycleStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PediaClusterLifecycleSpec { #[serde(rename = "creationCondition")] @@ -24,7 +25,7 @@ pub struct PediaClusterLifecycleSpec { pub template: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PediaClusterLifecycleReferences { pub group: String, pub key: String, @@ -36,7 +37,7 @@ pub struct PediaClusterLifecycleReferences { pub version: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PediaClusterLifecycleSource { pub group: String, pub name: String, @@ -46,7 +47,7 @@ pub struct PediaClusterLifecycleSource { pub version: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PediaClusterLifecycleStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, @@ -54,7 +55,7 @@ pub struct PediaClusterLifecycleStatus { pub references: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PediaClusterLifecycleStatusReferences { pub group: String, pub name: String, diff --git a/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/clusteroverridepolicies.rs b/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/clusteroverridepolicies.rs index a0a35f786..0c3b33bc7 100644 --- a/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/clusteroverridepolicies.rs +++ b/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/clusteroverridepolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/policy.karmada.io/v1alpha1/clusteroverridepolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/policy.karmada.io/v1alpha1/clusteroverridepolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,9 +11,10 @@ mod prelude { use self::prelude::*; /// Spec represents the desired behavior of ClusterOverridePolicy. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "policy.karmada.io", version = "v1alpha1", kind = "ClusterOverridePolicy", plural = "clusteroverridepolicies")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterOverridePolicySpec { /// OverrideRules defines a collection of override rules on target clusters. @@ -40,7 +41,7 @@ pub struct ClusterOverridePolicySpec { } /// RuleWithCluster defines the override rules on clusters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyOverrideRules { /// Overriders represents the override rules that would apply on resources pub overriders: ClusterOverridePolicyOverrideRulesOverriders, @@ -52,7 +53,7 @@ pub struct ClusterOverridePolicyOverrideRules { } /// Overriders represents the override rules that would apply on resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyOverrideRulesOverriders { /// AnnotationsOverrider represents the rules dedicated to handling workload annotations #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationsOverrider")] @@ -224,7 +225,7 @@ pub enum ClusterOverridePolicyOverrideRulesOverridersImageOverriderOperator { /// /// /// If not nil, only images matches the filters will be processed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyOverrideRulesOverridersImageOverriderPredicate { /// Path indicates the path of target field pub path: String, @@ -284,7 +285,7 @@ pub enum ClusterOverridePolicyOverrideRulesOverridersPlaintextOperator { /// TargetCluster defines restrictions on this override policy /// that only applies to resources propagated to the matching clusters. /// nil means matching all clusters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyOverrideRulesTargetCluster { /// ClusterNames is the list of clusters to be selected. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterNames")] @@ -308,7 +309,7 @@ pub struct ClusterOverridePolicyOverrideRulesTargetCluster { /// The key(field) of the match expression should be 'provider', 'region', or 'zone', /// and the operator of the match expression should be 'In' or 'NotIn'. /// If non-nil and non-empty, only the clusters match this filter will be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyOverrideRulesTargetClusterFieldSelector { /// A list of field selector requirements. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -317,7 +318,7 @@ pub struct ClusterOverridePolicyOverrideRulesTargetClusterFieldSelector { /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyOverrideRulesTargetClusterFieldSelectorMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -335,7 +336,7 @@ pub struct ClusterOverridePolicyOverrideRulesTargetClusterFieldSelectorMatchExpr /// LabelSelector is a filter to select member clusters by labels. /// If non-nil and non-empty, only the clusters match this filter will be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyOverrideRulesTargetClusterLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -349,7 +350,7 @@ pub struct ClusterOverridePolicyOverrideRulesTargetClusterLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyOverrideRulesTargetClusterLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -368,7 +369,7 @@ pub struct ClusterOverridePolicyOverrideRulesTargetClusterLabelSelectorMatchExpr /// /// /// Deprecated: This filed is deprecated in v1.0 and please use the OverrideRules instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyOverriders { /// AnnotationsOverrider represents the rules dedicated to handling workload annotations #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationsOverrider")] @@ -540,7 +541,7 @@ pub enum ClusterOverridePolicyOverridersImageOverriderOperator { /// /// /// If not nil, only images matches the filters will be processed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyOverridersImageOverriderPredicate { /// Path indicates the path of target field pub path: String, @@ -598,7 +599,7 @@ pub enum ClusterOverridePolicyOverridersPlaintextOperator { } /// ResourceSelector the resources will be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyResourceSelectors { /// APIVersion represents the API version of the target resources. #[serde(rename = "apiVersion")] @@ -621,7 +622,7 @@ pub struct ClusterOverridePolicyResourceSelectors { /// A label query over a set of resources. /// If name is not empty, labelSelector will be ignored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyResourceSelectorsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -635,7 +636,7 @@ pub struct ClusterOverridePolicyResourceSelectorsLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyResourceSelectorsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -656,7 +657,7 @@ pub struct ClusterOverridePolicyResourceSelectorsLabelSelectorMatchExpressions { /// /// /// Deprecated: This filed is deprecated in v1.0 and please use the OverrideRules instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyTargetCluster { /// ClusterNames is the list of clusters to be selected. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterNames")] @@ -680,7 +681,7 @@ pub struct ClusterOverridePolicyTargetCluster { /// The key(field) of the match expression should be 'provider', 'region', or 'zone', /// and the operator of the match expression should be 'In' or 'NotIn'. /// If non-nil and non-empty, only the clusters match this filter will be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyTargetClusterFieldSelector { /// A list of field selector requirements. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -689,7 +690,7 @@ pub struct ClusterOverridePolicyTargetClusterFieldSelector { /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyTargetClusterFieldSelectorMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -707,7 +708,7 @@ pub struct ClusterOverridePolicyTargetClusterFieldSelectorMatchExpressions { /// LabelSelector is a filter to select member clusters by labels. /// If non-nil and non-empty, only the clusters match this filter will be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyTargetClusterLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -721,7 +722,7 @@ pub struct ClusterOverridePolicyTargetClusterLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterOverridePolicyTargetClusterLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, diff --git a/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/clusterpropagationpolicies.rs b/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/clusterpropagationpolicies.rs index 2100c7489..4f621bbb3 100644 --- a/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/clusterpropagationpolicies.rs +++ b/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/clusterpropagationpolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/policy.karmada.io/v1alpha1/clusterpropagationpolicies.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/policy.karmada.io/v1alpha1/clusterpropagationpolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/federatedresourcequotas.rs b/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/federatedresourcequotas.rs index ce6b326c1..b8e9f823c 100644 --- a/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/federatedresourcequotas.rs +++ b/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/federatedresourcequotas.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/policy.karmada.io/v1alpha1/federatedresourcequotas.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/policy.karmada.io/v1alpha1/federatedresourcequotas.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/overridepolicies.rs b/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/overridepolicies.rs index 7d99686a3..20c05ed97 100644 --- a/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/overridepolicies.rs +++ b/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/overridepolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/policy.karmada.io/v1alpha1/overridepolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/policy.karmada.io/v1alpha1/overridepolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { use self::prelude::*; /// Spec represents the desired behavior of OverridePolicy. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "policy.karmada.io", version = "v1alpha1", kind = "OverridePolicy", plural = "overridepolicies")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct OverridePolicySpec { /// OverrideRules defines a collection of override rules on target clusters. @@ -41,7 +42,7 @@ pub struct OverridePolicySpec { } /// RuleWithCluster defines the override rules on clusters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyOverrideRules { /// Overriders represents the override rules that would apply on resources pub overriders: OverridePolicyOverrideRulesOverriders, @@ -53,7 +54,7 @@ pub struct OverridePolicyOverrideRules { } /// Overriders represents the override rules that would apply on resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyOverrideRulesOverriders { /// AnnotationsOverrider represents the rules dedicated to handling workload annotations #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationsOverrider")] @@ -225,7 +226,7 @@ pub enum OverridePolicyOverrideRulesOverridersImageOverriderOperator { /// /// /// If not nil, only images matches the filters will be processed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyOverrideRulesOverridersImageOverriderPredicate { /// Path indicates the path of target field pub path: String, @@ -285,7 +286,7 @@ pub enum OverridePolicyOverrideRulesOverridersPlaintextOperator { /// TargetCluster defines restrictions on this override policy /// that only applies to resources propagated to the matching clusters. /// nil means matching all clusters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyOverrideRulesTargetCluster { /// ClusterNames is the list of clusters to be selected. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterNames")] @@ -309,7 +310,7 @@ pub struct OverridePolicyOverrideRulesTargetCluster { /// The key(field) of the match expression should be 'provider', 'region', or 'zone', /// and the operator of the match expression should be 'In' or 'NotIn'. /// If non-nil and non-empty, only the clusters match this filter will be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyOverrideRulesTargetClusterFieldSelector { /// A list of field selector requirements. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -318,7 +319,7 @@ pub struct OverridePolicyOverrideRulesTargetClusterFieldSelector { /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyOverrideRulesTargetClusterFieldSelectorMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -336,7 +337,7 @@ pub struct OverridePolicyOverrideRulesTargetClusterFieldSelectorMatchExpressions /// LabelSelector is a filter to select member clusters by labels. /// If non-nil and non-empty, only the clusters match this filter will be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyOverrideRulesTargetClusterLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -350,7 +351,7 @@ pub struct OverridePolicyOverrideRulesTargetClusterLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyOverrideRulesTargetClusterLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -369,7 +370,7 @@ pub struct OverridePolicyOverrideRulesTargetClusterLabelSelectorMatchExpressions /// /// /// Deprecated: This filed is deprecated in v1.0 and please use the OverrideRules instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyOverriders { /// AnnotationsOverrider represents the rules dedicated to handling workload annotations #[serde(default, skip_serializing_if = "Option::is_none", rename = "annotationsOverrider")] @@ -541,7 +542,7 @@ pub enum OverridePolicyOverridersImageOverriderOperator { /// /// /// If not nil, only images matches the filters will be processed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyOverridersImageOverriderPredicate { /// Path indicates the path of target field pub path: String, @@ -599,7 +600,7 @@ pub enum OverridePolicyOverridersPlaintextOperator { } /// ResourceSelector the resources will be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyResourceSelectors { /// APIVersion represents the API version of the target resources. #[serde(rename = "apiVersion")] @@ -622,7 +623,7 @@ pub struct OverridePolicyResourceSelectors { /// A label query over a set of resources. /// If name is not empty, labelSelector will be ignored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyResourceSelectorsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -636,7 +637,7 @@ pub struct OverridePolicyResourceSelectorsLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyResourceSelectorsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -657,7 +658,7 @@ pub struct OverridePolicyResourceSelectorsLabelSelectorMatchExpressions { /// /// /// Deprecated: This filed is deprecated in v1.0 and please use the OverrideRules instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyTargetCluster { /// ClusterNames is the list of clusters to be selected. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterNames")] @@ -681,7 +682,7 @@ pub struct OverridePolicyTargetCluster { /// The key(field) of the match expression should be 'provider', 'region', or 'zone', /// and the operator of the match expression should be 'In' or 'NotIn'. /// If non-nil and non-empty, only the clusters match this filter will be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyTargetClusterFieldSelector { /// A list of field selector requirements. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -690,7 +691,7 @@ pub struct OverridePolicyTargetClusterFieldSelector { /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyTargetClusterFieldSelectorMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -708,7 +709,7 @@ pub struct OverridePolicyTargetClusterFieldSelectorMatchExpressions { /// LabelSelector is a filter to select member clusters by labels. /// If non-nil and non-empty, only the clusters match this filter will be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyTargetClusterLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -722,7 +723,7 @@ pub struct OverridePolicyTargetClusterLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OverridePolicyTargetClusterLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, diff --git a/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/propagationpolicies.rs b/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/propagationpolicies.rs index 173514286..57f8708a0 100644 --- a/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/propagationpolicies.rs +++ b/kube-custom-resources-rs/src/policy_karmada_io/v1alpha1/propagationpolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/policy.karmada.io/v1alpha1/propagationpolicies.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/policy.karmada.io/v1alpha1/propagationpolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/policy_kubeedge_io/v1alpha1/serviceaccountaccesses.rs b/kube-custom-resources-rs/src/policy_kubeedge_io/v1alpha1/serviceaccountaccesses.rs index 166a0fdea..f2a2c30c4 100644 --- a/kube-custom-resources-rs/src/policy_kubeedge_io/v1alpha1/serviceaccountaccesses.rs +++ b/kube-custom-resources-rs/src/policy_kubeedge_io/v1alpha1/serviceaccountaccesses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/policy.kubeedge.io/v1alpha1/serviceaccountaccesses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/policy.kubeedge.io/v1alpha1/serviceaccountaccesses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/policy_networking_k8s_io/v1alpha1/adminnetworkpolicies.rs b/kube-custom-resources-rs/src/policy_networking_k8s_io/v1alpha1/adminnetworkpolicies.rs index c8e331a5c..489278a6f 100644 --- a/kube-custom-resources-rs/src/policy_networking_k8s_io/v1alpha1/adminnetworkpolicies.rs +++ b/kube-custom-resources-rs/src/policy_networking_k8s_io/v1alpha1/adminnetworkpolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/network-policy-api/policy.networking.k8s.io/v1alpha1/adminnetworkpolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/network-policy-api/policy.networking.k8s.io/v1alpha1/adminnetworkpolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// Specification of the desired behavior of AdminNetworkPolicy. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "policy.networking.k8s.io", version = "v1alpha1", kind = "AdminNetworkPolicy", plural = "adminnetworkpolicies")] #[kube(status = "AdminNetworkPolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct AdminNetworkPolicySpec { /// Egress is the list of Egress rules to be applied to the selected pods. @@ -117,7 +118,7 @@ pub enum AdminNetworkPolicyEgressAction { /// AdminNetworkPolicyPort describes how to select network ports on pod(s). /// Exactly one field must be set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicyEgressPorts { /// Port selects a port on a pod(s) based on number. /// @@ -138,7 +139,7 @@ pub struct AdminNetworkPolicyEgressPorts { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicyEgressPortsPortNumber { /// Number defines a network port value. /// @@ -158,7 +159,7 @@ pub struct AdminNetworkPolicyEgressPortsPortNumber { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicyEgressPortsPortRange { /// End defines a network port that is the end of a port range, the End value /// must be greater than Start. @@ -185,7 +186,7 @@ pub struct AdminNetworkPolicyEgressPortsPortRange { /// Exactly one of the selector pointers must be set for a given peer. If a /// consumer observes none of its fields are set, they must assume an unknown /// option has been specified and fail closed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicyEgressTo { /// Namespaces defines a way to select all pods within a set of Namespaces. /// Note that host-networked pods are not included in this type of peer. @@ -209,7 +210,7 @@ pub struct AdminNetworkPolicyEgressTo { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicyEgressToNamespaces { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -223,7 +224,7 @@ pub struct AdminNetworkPolicyEgressToNamespaces { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicyEgressToNamespacesMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -244,7 +245,7 @@ pub struct AdminNetworkPolicyEgressToNamespacesMatchExpressions { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicyEgressToPods { /// NamespaceSelector follows standard label selector semantics; if empty, /// it selects all Namespaces. @@ -258,7 +259,7 @@ pub struct AdminNetworkPolicyEgressToPods { /// NamespaceSelector follows standard label selector semantics; if empty, /// it selects all Namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicyEgressToPodsNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -272,7 +273,7 @@ pub struct AdminNetworkPolicyEgressToPodsNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicyEgressToPodsNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -289,7 +290,7 @@ pub struct AdminNetworkPolicyEgressToPodsNamespaceSelectorMatchExpressions { /// PodSelector is used to explicitly select pods within a namespace; if empty, /// it selects all Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicyEgressToPodsPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -303,7 +304,7 @@ pub struct AdminNetworkPolicyEgressToPodsPodSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicyEgressToPodsPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -378,7 +379,7 @@ pub enum AdminNetworkPolicyIngressAction { /// Exactly one of the selector pointers must be set for a given peer. If a /// consumer observes none of its fields are set, they must assume an unknown /// option has been specified and fail closed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicyIngressFrom { /// Namespaces defines a way to select all pods within a set of Namespaces. /// Note that host-networked pods are not included in this type of peer. @@ -402,7 +403,7 @@ pub struct AdminNetworkPolicyIngressFrom { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicyIngressFromNamespaces { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -416,7 +417,7 @@ pub struct AdminNetworkPolicyIngressFromNamespaces { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicyIngressFromNamespacesMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -437,7 +438,7 @@ pub struct AdminNetworkPolicyIngressFromNamespacesMatchExpressions { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicyIngressFromPods { /// NamespaceSelector follows standard label selector semantics; if empty, /// it selects all Namespaces. @@ -451,7 +452,7 @@ pub struct AdminNetworkPolicyIngressFromPods { /// NamespaceSelector follows standard label selector semantics; if empty, /// it selects all Namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicyIngressFromPodsNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -465,7 +466,7 @@ pub struct AdminNetworkPolicyIngressFromPodsNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicyIngressFromPodsNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -482,7 +483,7 @@ pub struct AdminNetworkPolicyIngressFromPodsNamespaceSelectorMatchExpressions { /// PodSelector is used to explicitly select pods within a namespace; if empty, /// it selects all Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicyIngressFromPodsPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -496,7 +497,7 @@ pub struct AdminNetworkPolicyIngressFromPodsPodSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicyIngressFromPodsPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -513,7 +514,7 @@ pub struct AdminNetworkPolicyIngressFromPodsPodSelectorMatchExpressions { /// AdminNetworkPolicyPort describes how to select network ports on pod(s). /// Exactly one field must be set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicyIngressPorts { /// Port selects a port on a pod(s) based on number. /// @@ -534,7 +535,7 @@ pub struct AdminNetworkPolicyIngressPorts { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicyIngressPortsPortNumber { /// Number defines a network port value. /// @@ -554,7 +555,7 @@ pub struct AdminNetworkPolicyIngressPortsPortNumber { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicyIngressPortsPortRange { /// End defines a network port that is the end of a port range, the End value /// must be greater than Start. @@ -582,7 +583,7 @@ pub struct AdminNetworkPolicyIngressPortsPortRange { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicySubject { /// Namespaces is used to select pods via namespace selectors. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -593,7 +594,7 @@ pub struct AdminNetworkPolicySubject { } /// Namespaces is used to select pods via namespace selectors. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicySubjectNamespaces { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -607,7 +608,7 @@ pub struct AdminNetworkPolicySubjectNamespaces { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicySubjectNamespacesMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -623,7 +624,7 @@ pub struct AdminNetworkPolicySubjectNamespacesMatchExpressions { } /// Pods is used to select pods via namespace AND pod selectors. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicySubjectPods { /// NamespaceSelector follows standard label selector semantics; if empty, /// it selects all Namespaces. @@ -637,7 +638,7 @@ pub struct AdminNetworkPolicySubjectPods { /// NamespaceSelector follows standard label selector semantics; if empty, /// it selects all Namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicySubjectPodsNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -651,7 +652,7 @@ pub struct AdminNetworkPolicySubjectPodsNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicySubjectPodsNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -668,7 +669,7 @@ pub struct AdminNetworkPolicySubjectPodsNamespaceSelectorMatchExpressions { /// PodSelector is used to explicitly select pods within a namespace; if empty, /// it selects all Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicySubjectPodsPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -682,7 +683,7 @@ pub struct AdminNetworkPolicySubjectPodsPodSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicySubjectPodsPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -698,7 +699,7 @@ pub struct AdminNetworkPolicySubjectPodsPodSelectorMatchExpressions { } /// Status is the status to be reported by the implementation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AdminNetworkPolicyStatus { pub conditions: Vec, } diff --git a/kube-custom-resources-rs/src/policy_networking_k8s_io/v1alpha1/baselineadminnetworkpolicies.rs b/kube-custom-resources-rs/src/policy_networking_k8s_io/v1alpha1/baselineadminnetworkpolicies.rs index 259c3aec8..ae4c65829 100644 --- a/kube-custom-resources-rs/src/policy_networking_k8s_io/v1alpha1/baselineadminnetworkpolicies.rs +++ b/kube-custom-resources-rs/src/policy_networking_k8s_io/v1alpha1/baselineadminnetworkpolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/network-policy-api/policy.networking.k8s.io/v1alpha1/baselineadminnetworkpolicies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/network-policy-api/policy.networking.k8s.io/v1alpha1/baselineadminnetworkpolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// Specification of the desired behavior of BaselineAdminNetworkPolicy. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "policy.networking.k8s.io", version = "v1alpha1", kind = "BaselineAdminNetworkPolicy", plural = "baselineadminnetworkpolicies")] #[kube(status = "BaselineAdminNetworkPolicyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct BaselineAdminNetworkPolicySpec { /// Egress is the list of Egress rules to be applied to the selected pods if @@ -102,7 +103,7 @@ pub enum BaselineAdminNetworkPolicyEgressAction { /// AdminNetworkPolicyPort describes how to select network ports on pod(s). /// Exactly one field must be set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicyEgressPorts { /// Port selects a port on a pod(s) based on number. /// @@ -123,7 +124,7 @@ pub struct BaselineAdminNetworkPolicyEgressPorts { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicyEgressPortsPortNumber { /// Number defines a network port value. /// @@ -143,7 +144,7 @@ pub struct BaselineAdminNetworkPolicyEgressPortsPortNumber { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicyEgressPortsPortRange { /// End defines a network port that is the end of a port range, the End value /// must be greater than Start. @@ -170,7 +171,7 @@ pub struct BaselineAdminNetworkPolicyEgressPortsPortRange { /// Exactly one of the selector pointers must be set for a given peer. If a /// consumer observes none of its fields are set, they must assume an unknown /// option has been specified and fail closed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicyEgressTo { /// Namespaces defines a way to select all pods within a set of Namespaces. /// Note that host-networked pods are not included in this type of peer. @@ -194,7 +195,7 @@ pub struct BaselineAdminNetworkPolicyEgressTo { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicyEgressToNamespaces { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -208,7 +209,7 @@ pub struct BaselineAdminNetworkPolicyEgressToNamespaces { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicyEgressToNamespacesMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -229,7 +230,7 @@ pub struct BaselineAdminNetworkPolicyEgressToNamespacesMatchExpressions { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicyEgressToPods { /// NamespaceSelector follows standard label selector semantics; if empty, /// it selects all Namespaces. @@ -243,7 +244,7 @@ pub struct BaselineAdminNetworkPolicyEgressToPods { /// NamespaceSelector follows standard label selector semantics; if empty, /// it selects all Namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicyEgressToPodsNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -257,7 +258,7 @@ pub struct BaselineAdminNetworkPolicyEgressToPodsNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicyEgressToPodsNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -274,7 +275,7 @@ pub struct BaselineAdminNetworkPolicyEgressToPodsNamespaceSelectorMatchExpressio /// PodSelector is used to explicitly select pods within a namespace; if empty, /// it selects all Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicyEgressToPodsPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -288,7 +289,7 @@ pub struct BaselineAdminNetworkPolicyEgressToPodsPodSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicyEgressToPodsPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -358,7 +359,7 @@ pub enum BaselineAdminNetworkPolicyIngressAction { /// Exactly one of the selector pointers must be set for a given peer. If a /// consumer observes none of its fields are set, they must assume an unknown /// option has been specified and fail closed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicyIngressFrom { /// Namespaces defines a way to select all pods within a set of Namespaces. /// Note that host-networked pods are not included in this type of peer. @@ -382,7 +383,7 @@ pub struct BaselineAdminNetworkPolicyIngressFrom { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicyIngressFromNamespaces { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -396,7 +397,7 @@ pub struct BaselineAdminNetworkPolicyIngressFromNamespaces { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicyIngressFromNamespacesMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -417,7 +418,7 @@ pub struct BaselineAdminNetworkPolicyIngressFromNamespacesMatchExpressions { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicyIngressFromPods { /// NamespaceSelector follows standard label selector semantics; if empty, /// it selects all Namespaces. @@ -431,7 +432,7 @@ pub struct BaselineAdminNetworkPolicyIngressFromPods { /// NamespaceSelector follows standard label selector semantics; if empty, /// it selects all Namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicyIngressFromPodsNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -445,7 +446,7 @@ pub struct BaselineAdminNetworkPolicyIngressFromPodsNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicyIngressFromPodsNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -462,7 +463,7 @@ pub struct BaselineAdminNetworkPolicyIngressFromPodsNamespaceSelectorMatchExpres /// PodSelector is used to explicitly select pods within a namespace; if empty, /// it selects all Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicyIngressFromPodsPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -476,7 +477,7 @@ pub struct BaselineAdminNetworkPolicyIngressFromPodsPodSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicyIngressFromPodsPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -493,7 +494,7 @@ pub struct BaselineAdminNetworkPolicyIngressFromPodsPodSelectorMatchExpressions /// AdminNetworkPolicyPort describes how to select network ports on pod(s). /// Exactly one field must be set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicyIngressPorts { /// Port selects a port on a pod(s) based on number. /// @@ -514,7 +515,7 @@ pub struct BaselineAdminNetworkPolicyIngressPorts { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicyIngressPortsPortNumber { /// Number defines a network port value. /// @@ -534,7 +535,7 @@ pub struct BaselineAdminNetworkPolicyIngressPortsPortNumber { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicyIngressPortsPortRange { /// End defines a network port that is the end of a port range, the End value /// must be greater than Start. @@ -562,7 +563,7 @@ pub struct BaselineAdminNetworkPolicyIngressPortsPortRange { /// /// /// Support: Core -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicySubject { /// Namespaces is used to select pods via namespace selectors. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -573,7 +574,7 @@ pub struct BaselineAdminNetworkPolicySubject { } /// Namespaces is used to select pods via namespace selectors. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicySubjectNamespaces { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -587,7 +588,7 @@ pub struct BaselineAdminNetworkPolicySubjectNamespaces { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicySubjectNamespacesMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -603,7 +604,7 @@ pub struct BaselineAdminNetworkPolicySubjectNamespacesMatchExpressions { } /// Pods is used to select pods via namespace AND pod selectors. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicySubjectPods { /// NamespaceSelector follows standard label selector semantics; if empty, /// it selects all Namespaces. @@ -617,7 +618,7 @@ pub struct BaselineAdminNetworkPolicySubjectPods { /// NamespaceSelector follows standard label selector semantics; if empty, /// it selects all Namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicySubjectPodsNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -631,7 +632,7 @@ pub struct BaselineAdminNetworkPolicySubjectPodsNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicySubjectPodsNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -648,7 +649,7 @@ pub struct BaselineAdminNetworkPolicySubjectPodsNamespaceSelectorMatchExpression /// PodSelector is used to explicitly select pods within a namespace; if empty, /// it selects all Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicySubjectPodsPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -662,7 +663,7 @@ pub struct BaselineAdminNetworkPolicySubjectPodsPodSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicySubjectPodsPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -678,7 +679,7 @@ pub struct BaselineAdminNetworkPolicySubjectPodsPodSelectorMatchExpressions { } /// Status is the status to be reported by the implementation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BaselineAdminNetworkPolicyStatus { pub conditions: Vec, } diff --git a/kube-custom-resources-rs/src/postgres_operator_crunchydata_com/v1beta1/pgadmins.rs b/kube-custom-resources-rs/src/postgres_operator_crunchydata_com/v1beta1/pgadmins.rs index 5e7ee3301..ee806e752 100644 --- a/kube-custom-resources-rs/src/postgres_operator_crunchydata_com/v1beta1/pgadmins.rs +++ b/kube-custom-resources-rs/src/postgres_operator_crunchydata_com/v1beta1/pgadmins.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/pgadmins.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/pgadmins.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// PGAdminSpec defines the desired state of PGAdmin -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "postgres-operator.crunchydata.com", version = "v1beta1", kind = "PGAdmin", plural = "pgadmins")] #[kube(namespaced)] #[kube(status = "PGAdminStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PGAdminSpec { /// Scheduling constraints of the PGAdmin pod. More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node @@ -62,7 +63,7 @@ pub struct PGAdminSpec { } /// Scheduling constraints of the PGAdmin pod. More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -76,7 +77,7 @@ pub struct PGAdminAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -87,7 +88,7 @@ pub struct PGAdminAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: PGAdminAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -96,7 +97,7 @@ pub struct PGAdminAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExec } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -107,7 +108,7 @@ pub struct PGAdminAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExec } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -119,7 +120,7 @@ pub struct PGAdminAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExec } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -131,7 +132,7 @@ pub struct PGAdminAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExec } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -139,7 +140,7 @@ pub struct PGAdminAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecu } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -150,7 +151,7 @@ pub struct PGAdminAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -162,7 +163,7 @@ pub struct PGAdminAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -174,7 +175,7 @@ pub struct PGAdminAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecu } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -185,7 +186,7 @@ pub struct PGAdminAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -195,7 +196,7 @@ pub struct PGAdminAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -212,7 +213,7 @@ pub struct PGAdminAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -223,7 +224,7 @@ pub struct PGAdminAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -235,7 +236,7 @@ pub struct PGAdminAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -246,7 +247,7 @@ pub struct PGAdminAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -258,7 +259,7 @@ pub struct PGAdminAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecu } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -275,7 +276,7 @@ pub struct PGAdminAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -286,7 +287,7 @@ pub struct PGAdminAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -298,7 +299,7 @@ pub struct PGAdminAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -309,7 +310,7 @@ pub struct PGAdminAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -321,7 +322,7 @@ pub struct PGAdminAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecut } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -332,7 +333,7 @@ pub struct PGAdminAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -342,7 +343,7 @@ pub struct PGAdminAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -359,7 +360,7 @@ pub struct PGAdminAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -370,7 +371,7 @@ pub struct PGAdminAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -382,7 +383,7 @@ pub struct PGAdminAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -393,7 +394,7 @@ pub struct PGAdminAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -405,7 +406,7 @@ pub struct PGAdminAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringE } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -422,7 +423,7 @@ pub struct PGAdminAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -433,7 +434,7 @@ pub struct PGAdminAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -445,7 +446,7 @@ pub struct PGAdminAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -456,7 +457,7 @@ pub struct PGAdminAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -468,7 +469,7 @@ pub struct PGAdminAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringEx } /// Configuration settings for the pgAdmin process. Changes to any of these values will be loaded without validation. Be careful, as you may put pgAdmin into an unusable state. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminConfig { /// A Secret containing the value for the CONFIG_DATABASE_URI setting. More info: https://www.pgadmin.org/docs/pgadmin4/latest/external_database.html #[serde(default, skip_serializing_if = "Option::is_none", rename = "configDatabaseURI")] @@ -488,7 +489,7 @@ pub struct PGAdminConfig { } /// A Secret containing the value for the CONFIG_DATABASE_URI setting. More info: https://www.pgadmin.org/docs/pgadmin4/latest/external_database.html -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminConfigConfigDatabaseUri { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -501,7 +502,7 @@ pub struct PGAdminConfigConfigDatabaseUri { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminConfigFiles { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -518,7 +519,7 @@ pub struct PGAdminConfigFiles { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminConfigFilesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -532,7 +533,7 @@ pub struct PGAdminConfigFilesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminConfigFilesConfigMapItems { /// key is the key to project. pub key: String, @@ -544,7 +545,7 @@ pub struct PGAdminConfigFilesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminConfigFilesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -552,7 +553,7 @@ pub struct PGAdminConfigFilesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminConfigFilesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -568,7 +569,7 @@ pub struct PGAdminConfigFilesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminConfigFilesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -579,7 +580,7 @@ pub struct PGAdminConfigFilesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminConfigFilesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -592,7 +593,7 @@ pub struct PGAdminConfigFilesDownwardApiItemsResourceFieldRef { } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminConfigFilesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -606,7 +607,7 @@ pub struct PGAdminConfigFilesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminConfigFilesSecretItems { /// key is the key to project. pub key: String, @@ -618,7 +619,7 @@ pub struct PGAdminConfigFilesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminConfigFilesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -631,7 +632,7 @@ pub struct PGAdminConfigFilesServiceAccountToken { } /// A Secret containing the value for the LDAP_BIND_PASSWORD setting. More info: https://www.pgadmin.org/docs/pgadmin4/latest/ldap.html -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminConfigLdapBindPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -644,7 +645,7 @@ pub struct PGAdminConfigLdapBindPassword { } /// Defines a PersistentVolumeClaim for pgAdmin data. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminDataVolumeClaimSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -673,7 +674,7 @@ pub struct PGAdminDataVolumeClaimSpec { } /// 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. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminDataVolumeClaimSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -685,7 +686,7 @@ pub struct PGAdminDataVolumeClaimSpecDataSource { } /// dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local 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, 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. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminDataVolumeClaimSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -697,7 +698,7 @@ pub struct PGAdminDataVolumeClaimSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminDataVolumeClaimSpecResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -708,7 +709,7 @@ pub struct PGAdminDataVolumeClaimSpecResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminDataVolumeClaimSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -719,7 +720,7 @@ pub struct PGAdminDataVolumeClaimSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminDataVolumeClaimSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -739,7 +740,7 @@ pub enum PGAdminImagePullPolicy { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminImagePullSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] @@ -747,7 +748,7 @@ pub struct PGAdminImagePullSecrets { } /// Metadata contains metadata for custom resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -756,7 +757,7 @@ pub struct PGAdminMetadata { } /// Resource requirements for the PGAdmin container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -766,7 +767,7 @@ pub struct PGAdminResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminServerGroups { /// The name for the ServerGroup in pgAdmin. Must be unique in the pgAdmin's ServerGroups since it becomes the ServerGroup name in pgAdmin. pub name: String, @@ -779,7 +780,7 @@ pub struct PGAdminServerGroups { } /// PostgresClusterSelector selects clusters to dynamically add to pgAdmin by matching labels. An empty selector like `{}` will select ALL clusters in the namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminServerGroupsPostgresClusterSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -790,7 +791,7 @@ pub struct PGAdminServerGroupsPostgresClusterSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminServerGroupsPostgresClusterSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -802,7 +803,7 @@ pub struct PGAdminServerGroupsPostgresClusterSelectorMatchExpressions { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -821,7 +822,7 @@ pub struct PGAdminTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminUsers { /// A reference to the secret that holds the user's password. #[serde(rename = "passwordRef")] @@ -834,7 +835,7 @@ pub struct PGAdminUsers { } /// A reference to the secret that holds the user's password. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminUsersPasswordRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -853,7 +854,7 @@ pub enum PGAdminUsersRole { } /// PGAdminStatus defines the observed state of PGAdmin -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGAdminStatus { /// conditions represent the observations of pgAdmin's current state. Known .status.conditions.type is: "PersistentVolumeResizing" #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/postgres_operator_crunchydata_com/v1beta1/pgupgrades.rs b/kube-custom-resources-rs/src/postgres_operator_crunchydata_com/v1beta1/pgupgrades.rs index 8d6e88790..15e5b37c1 100644 --- a/kube-custom-resources-rs/src/postgres_operator_crunchydata_com/v1beta1/pgupgrades.rs +++ b/kube-custom-resources-rs/src/postgres_operator_crunchydata_com/v1beta1/pgupgrades.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/pgupgrades.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/pgupgrades.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// PGUpgradeSpec defines the desired state of PGUpgrade -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "postgres-operator.crunchydata.com", version = "v1beta1", kind = "PGUpgrade", plural = "pgupgrades")] #[kube(namespaced)] #[kube(status = "PGUpgradeStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PGUpgradeSpec { /// Scheduling constraints of the PGUpgrade pod. More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node @@ -59,7 +60,7 @@ pub struct PGUpgradeSpec { } /// Scheduling constraints of the PGUpgrade pod. More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -73,7 +74,7 @@ pub struct PGUpgradeAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -84,7 +85,7 @@ pub struct PGUpgradeAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: PGUpgradeAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -93,7 +94,7 @@ pub struct PGUpgradeAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -104,7 +105,7 @@ pub struct PGUpgradeAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -116,7 +117,7 @@ pub struct PGUpgradeAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -128,7 +129,7 @@ pub struct PGUpgradeAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringEx } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -136,7 +137,7 @@ pub struct PGUpgradeAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -147,7 +148,7 @@ pub struct PGUpgradeAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -159,7 +160,7 @@ pub struct PGUpgradeAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -171,7 +172,7 @@ pub struct PGUpgradeAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExe } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -182,7 +183,7 @@ pub struct PGUpgradeAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -192,7 +193,7 @@ pub struct PGUpgradeAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExe } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -209,7 +210,7 @@ pub struct PGUpgradeAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExe } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -220,7 +221,7 @@ pub struct PGUpgradeAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -232,7 +233,7 @@ pub struct PGUpgradeAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExe } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -243,7 +244,7 @@ pub struct PGUpgradeAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -255,7 +256,7 @@ pub struct PGUpgradeAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExe } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -272,7 +273,7 @@ pub struct PGUpgradeAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExec } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -283,7 +284,7 @@ pub struct PGUpgradeAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExec } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -295,7 +296,7 @@ pub struct PGUpgradeAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExec } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -306,7 +307,7 @@ pub struct PGUpgradeAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExec } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -318,7 +319,7 @@ pub struct PGUpgradeAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExec } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -329,7 +330,7 @@ pub struct PGUpgradeAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -339,7 +340,7 @@ pub struct PGUpgradeAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDurin } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -356,7 +357,7 @@ pub struct PGUpgradeAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDurin } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -367,7 +368,7 @@ pub struct PGUpgradeAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDurin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -379,7 +380,7 @@ pub struct PGUpgradeAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDurin } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -390,7 +391,7 @@ pub struct PGUpgradeAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDurin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -402,7 +403,7 @@ pub struct PGUpgradeAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDurin } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -419,7 +420,7 @@ pub struct PGUpgradeAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuring } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -430,7 +431,7 @@ pub struct PGUpgradeAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuring } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -442,7 +443,7 @@ pub struct PGUpgradeAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuring } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -453,7 +454,7 @@ pub struct PGUpgradeAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuring } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -473,7 +474,7 @@ pub enum PGUpgradeImagePullPolicy { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeImagePullSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] @@ -481,7 +482,7 @@ pub struct PGUpgradeImagePullSecrets { } /// Metadata contains metadata for custom resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -490,7 +491,7 @@ pub struct PGUpgradeMetadata { } /// Resource requirements for the PGUpgrade container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -501,7 +502,7 @@ pub struct PGUpgradeResources { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -521,7 +522,7 @@ pub struct PGUpgradeTolerations { } /// PGUpgradeStatus defines the observed state of PGUpgrade -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PGUpgradeStatus { /// conditions represent the observations of PGUpgrade's current state. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/postgres_operator_crunchydata_com/v1beta1/postgresclusters.rs b/kube-custom-resources-rs/src/postgres_operator_crunchydata_com/v1beta1/postgresclusters.rs index f8ebc415b..d8b45b168 100644 --- a/kube-custom-resources-rs/src/postgres_operator_crunchydata_com/v1beta1/postgresclusters.rs +++ b/kube-custom-resources-rs/src/postgres_operator_crunchydata_com/v1beta1/postgresclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/postgresclusters.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/CrunchyData/postgres-operator/postgres-operator.crunchydata.com/v1beta1/postgresclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// PostgresClusterSpec defines the desired state of PostgresCluster -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "postgres-operator.crunchydata.com", version = "v1beta1", kind = "PostgresCluster", plural = "postgresclusters")] #[kube(namespaced)] #[kube(status = "PostgresClusterStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PostgresClusterSpec { /// PostgreSQL backup configuration @@ -100,14 +101,14 @@ pub struct PostgresClusterSpec { } /// PostgreSQL backup configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackups { /// pgBackRest archive configuration pub pgbackrest: PostgresClusterBackupsPgbackrest, } /// pgBackRest archive configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrest { /// Projected volumes containing custom pgBackRest configuration. These files are mounted under "/etc/pgbackrest/conf.d" alongside any pgBackRest configuration generated by the PostgreSQL Operator: https://pgbackrest.org/configuration.html #[serde(default, skip_serializing_if = "Option::is_none")] @@ -141,7 +142,7 @@ pub struct PostgresClusterBackupsPgbackrest { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestConfiguration { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -158,7 +159,7 @@ pub struct PostgresClusterBackupsPgbackrestConfiguration { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestConfigurationConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -172,7 +173,7 @@ pub struct PostgresClusterBackupsPgbackrestConfigurationConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestConfigurationConfigMapItems { /// key is the key to project. pub key: String, @@ -184,7 +185,7 @@ pub struct PostgresClusterBackupsPgbackrestConfigurationConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestConfigurationDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -192,7 +193,7 @@ pub struct PostgresClusterBackupsPgbackrestConfigurationDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestConfigurationDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -208,7 +209,7 @@ pub struct PostgresClusterBackupsPgbackrestConfigurationDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestConfigurationDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -219,7 +220,7 @@ pub struct PostgresClusterBackupsPgbackrestConfigurationDownwardApiItemsFieldRef } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestConfigurationDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -232,7 +233,7 @@ pub struct PostgresClusterBackupsPgbackrestConfigurationDownwardApiItemsResource } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestConfigurationSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -246,7 +247,7 @@ pub struct PostgresClusterBackupsPgbackrestConfigurationSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestConfigurationSecretItems { /// key is the key to project. pub key: String, @@ -258,7 +259,7 @@ pub struct PostgresClusterBackupsPgbackrestConfigurationSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestConfigurationServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -271,7 +272,7 @@ pub struct PostgresClusterBackupsPgbackrestConfigurationServiceAccountToken { } /// Jobs field allows configuration for all backup jobs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobs { /// Scheduling constraints of pgBackRest backup Job pods. More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node #[serde(default, skip_serializing_if = "Option::is_none")] @@ -291,7 +292,7 @@ pub struct PostgresClusterBackupsPgbackrestJobs { } /// Scheduling constraints of pgBackRest backup Job pods. More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -305,7 +306,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -316,7 +317,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: PostgresClusterBackupsPgbackrestJobsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -325,7 +326,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityNodeAffinityPreferredDuri } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -336,7 +337,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityNodeAffinityPreferredDuri } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -348,7 +349,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityNodeAffinityPreferredDuri } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -360,7 +361,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityNodeAffinityPreferredDuri } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -368,7 +369,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityNodeAffinityRequiredDurin } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -379,7 +380,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityNodeAffinityRequiredDurin } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -391,7 +392,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityNodeAffinityRequiredDurin } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -403,7 +404,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityNodeAffinityRequiredDurin } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -414,7 +415,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -424,7 +425,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAffinityPreferredDurin } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -441,7 +442,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAffinityPreferredDurin } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -452,7 +453,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAffinityPreferredDurin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -464,7 +465,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAffinityPreferredDurin } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -475,7 +476,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAffinityPreferredDurin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -487,7 +488,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAffinityPreferredDurin } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -504,7 +505,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAffinityRequiredDuring } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -515,7 +516,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAffinityRequiredDuring } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -527,7 +528,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAffinityRequiredDuring } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -538,7 +539,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAffinityRequiredDuring } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -550,7 +551,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAffinityRequiredDuring } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -561,7 +562,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -571,7 +572,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAntiAffinityPreferredD } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -588,7 +589,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAntiAffinityPreferredD } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -599,7 +600,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAntiAffinityPreferredD } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -611,7 +612,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAntiAffinityPreferredD } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -622,7 +623,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAntiAffinityPreferredD } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -634,7 +635,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAntiAffinityPreferredD } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -651,7 +652,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAntiAffinityRequiredDu } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -662,7 +663,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAntiAffinityRequiredDu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -674,7 +675,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAntiAffinityRequiredDu } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -685,7 +686,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAntiAffinityRequiredDu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -697,7 +698,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsAffinityPodAntiAffinityRequiredDu } /// Resource limits for backup jobs. Includes manual, scheduled and replica create backups -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -708,7 +709,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsResources { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestJobsTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -728,7 +729,7 @@ pub struct PostgresClusterBackupsPgbackrestJobsTolerations { } /// Defines details for manual pgBackRest backup Jobs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestManual { /// Command line options to include when running the pgBackRest backup command. https://pgbackrest.org/command.html#command-backup #[serde(default, skip_serializing_if = "Option::is_none")] @@ -739,7 +740,7 @@ pub struct PostgresClusterBackupsPgbackrestManual { } /// Metadata contains metadata for custom resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -748,7 +749,7 @@ pub struct PostgresClusterBackupsPgbackrestMetadata { } /// Defines configuration for a pgBackRest dedicated repository host. This section is only applicable if at least one "volume" (i.e. PVC-based) repository is defined in the "repos" section, therefore enabling a dedicated repository host Deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHost { /// Scheduling constraints of the Dedicated repo host pod. Changing this value causes repo host to restart. More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node #[serde(default, skip_serializing_if = "Option::is_none")] @@ -774,7 +775,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHost { } /// Scheduling constraints of the Dedicated repo host pod. Changing this value causes repo host to restart. More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -788,7 +789,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -799,7 +800,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: PostgresClusterBackupsPgbackrestRepoHostAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -808,7 +809,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityNodeAffinityPreferred } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -819,7 +820,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityNodeAffinityPreferred } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -831,7 +832,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityNodeAffinityPreferred } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -843,7 +844,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityNodeAffinityPreferred } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -851,7 +852,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityNodeAffinityRequiredD } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -862,7 +863,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityNodeAffinityRequiredD } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -874,7 +875,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityNodeAffinityRequiredD } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -886,7 +887,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityNodeAffinityRequiredD } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -897,7 +898,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -907,7 +908,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAffinityPreferredD } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -924,7 +925,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAffinityPreferredD } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -935,7 +936,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAffinityPreferredD } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -947,7 +948,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAffinityPreferredD } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -958,7 +959,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAffinityPreferredD } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -970,7 +971,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAffinityPreferredD } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -987,7 +988,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAffinityRequiredDu } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -998,7 +999,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAffinityRequiredDu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1010,7 +1011,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAffinityRequiredDu } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1021,7 +1022,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAffinityRequiredDu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1033,7 +1034,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAffinityRequiredDu } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -1044,7 +1045,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1054,7 +1055,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityPrefer } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1071,7 +1072,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityPrefer } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1082,7 +1083,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityPrefer } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1094,7 +1095,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityPrefer } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1105,7 +1106,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityPrefer } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1117,7 +1118,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityPrefer } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1134,7 +1135,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityRequir } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1145,7 +1146,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityRequir } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1157,7 +1158,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityRequir } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1168,7 +1169,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityRequir } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1180,7 +1181,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostAffinityPodAntiAffinityRequir } /// Resource requirements for a pgBackRest repository host -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1191,7 +1192,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostResources { } /// ConfigMap containing custom SSH configuration. Deprecated: Repository hosts use mTLS for encryption, authentication, and authorization. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostSshConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1205,7 +1206,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostSshConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostSshConfigMapItems { /// key is the key to project. pub key: String, @@ -1217,7 +1218,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostSshConfigMapItems { } /// Secret containing custom SSH keys. Deprecated: Repository hosts use mTLS for encryption, authentication, and authorization. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostSshSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1231,7 +1232,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostSshSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostSshSecretItems { /// key is the key to project. pub key: String, @@ -1243,7 +1244,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostSshSecretItems { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1263,7 +1264,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostTopologySpreadConstraints { /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1285,7 +1286,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostTopologySpreadConstraints { } /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1296,7 +1297,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostTopologySpreadConstraintsLabe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepoHostTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1308,7 +1309,7 @@ pub struct PostgresClusterBackupsPgbackrestRepoHostTopologySpreadConstraintsLabe } /// PGBackRestRepo represents a pgBackRest repository. Only one of its members may be specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRepos { /// Represents a pgBackRest repository that is created using Azure storage #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1330,21 +1331,21 @@ pub struct PostgresClusterBackupsPgbackrestRepos { } /// Represents a pgBackRest repository that is created using Azure storage -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestReposAzure { /// The Azure container utilized for the repository pub container: String, } /// Represents a pgBackRest repository that is created using Google Cloud Storage -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestReposGcs { /// The GCS bucket utilized for the repository pub bucket: String, } /// RepoS3 represents a pgBackRest repository that is created using AWS S3 (or S3-compatible) storage -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestReposS3 { /// The S3 bucket utilized for the repository pub bucket: String, @@ -1355,7 +1356,7 @@ pub struct PostgresClusterBackupsPgbackrestReposS3 { } /// Defines the schedules for the pgBackRest backups Full, Differential and Incremental backup types are supported: https://pgbackrest.org/user-guide.html#concept/backup -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestReposSchedules { /// Defines the Cron schedule for a differential pgBackRest backup. Follows the standard Cron schedule syntax: https://k8s.io/docs/concepts/workloads/controllers/cron-jobs/#cron-schedule-syntax #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1369,7 +1370,7 @@ pub struct PostgresClusterBackupsPgbackrestReposSchedules { } /// Represents a pgBackRest repository that is created using a PersistentVolumeClaim -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestReposVolume { /// Defines a PersistentVolumeClaim spec used to create and/or bind a volume #[serde(rename = "volumeClaimSpec")] @@ -1377,7 +1378,7 @@ pub struct PostgresClusterBackupsPgbackrestReposVolume { } /// Defines a PersistentVolumeClaim spec used to create and/or bind a volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestReposVolumeVolumeClaimSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(rename = "accessModes")] @@ -1405,7 +1406,7 @@ pub struct PostgresClusterBackupsPgbackrestReposVolumeVolumeClaimSpec { } /// 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. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestReposVolumeVolumeClaimSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1417,7 +1418,7 @@ pub struct PostgresClusterBackupsPgbackrestReposVolumeVolumeClaimSpecDataSource } /// dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local 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, 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. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestReposVolumeVolumeClaimSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1429,7 +1430,7 @@ pub struct PostgresClusterBackupsPgbackrestReposVolumeVolumeClaimSpecDataSourceR } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestReposVolumeVolumeClaimSpecResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1439,7 +1440,7 @@ pub struct PostgresClusterBackupsPgbackrestReposVolumeVolumeClaimSpecResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestReposVolumeVolumeClaimSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1450,7 +1451,7 @@ pub struct PostgresClusterBackupsPgbackrestReposVolumeVolumeClaimSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestReposVolumeVolumeClaimSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1462,7 +1463,7 @@ pub struct PostgresClusterBackupsPgbackrestReposVolumeVolumeClaimSpecSelectorMat } /// Defines details for performing an in-place restore using pgBackRest -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestore { /// Scheduling constraints of the pgBackRest restore Job. More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1493,7 +1494,7 @@ pub struct PostgresClusterBackupsPgbackrestRestore { } /// Scheduling constraints of the pgBackRest restore Job. More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -1507,7 +1508,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -1518,7 +1519,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: PostgresClusterBackupsPgbackrestRestoreAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -1527,7 +1528,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityNodeAffinityPreferredD } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1538,7 +1539,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityNodeAffinityPreferredD } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1550,7 +1551,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityNodeAffinityPreferredD } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1562,7 +1563,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityNodeAffinityPreferredD } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -1570,7 +1571,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityNodeAffinityRequiredDu } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1581,7 +1582,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityNodeAffinityRequiredDu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -1593,7 +1594,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityNodeAffinityRequiredDu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -1605,7 +1606,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityNodeAffinityRequiredDu } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -1616,7 +1617,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1626,7 +1627,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAffinityPreferredDu } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1643,7 +1644,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAffinityPreferredDu } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1654,7 +1655,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAffinityPreferredDu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1666,7 +1667,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAffinityPreferredDu } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1677,7 +1678,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAffinityPreferredDu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1689,7 +1690,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAffinityPreferredDu } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1706,7 +1707,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAffinityRequiredDur } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1717,7 +1718,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAffinityRequiredDur } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1729,7 +1730,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAffinityRequiredDur } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1740,7 +1741,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAffinityRequiredDur } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1752,7 +1753,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAffinityRequiredDur } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -1763,7 +1764,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -1773,7 +1774,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityPreferr } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1790,7 +1791,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityPreferr } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1801,7 +1802,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityPreferr } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1813,7 +1814,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityPreferr } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1824,7 +1825,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityPreferr } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1836,7 +1837,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityPreferr } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1853,7 +1854,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityRequire } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1864,7 +1865,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityRequire } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1876,7 +1877,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityRequire } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1887,7 +1888,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityRequire } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1899,7 +1900,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreAffinityPodAntiAffinityRequire } /// Resource requirements for the pgBackRest restore Job. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1910,7 +1911,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreResources { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestRestoreTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1930,7 +1931,7 @@ pub struct PostgresClusterBackupsPgbackrestRestoreTolerations { } /// Configuration for pgBackRest sidecar containers -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestSidecars { /// Defines the configuration for the pgBackRest sidecar container #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1941,7 +1942,7 @@ pub struct PostgresClusterBackupsPgbackrestSidecars { } /// Defines the configuration for the pgBackRest sidecar container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestSidecarsPgbackrest { /// Resource requirements for a sidecar container #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1949,7 +1950,7 @@ pub struct PostgresClusterBackupsPgbackrestSidecarsPgbackrest { } /// Resource requirements for a sidecar container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestSidecarsPgbackrestResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1960,7 +1961,7 @@ pub struct PostgresClusterBackupsPgbackrestSidecarsPgbackrestResources { } /// Defines the configuration for the pgBackRest config sidecar container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestSidecarsPgbackrestConfig { /// Resource requirements for a sidecar container #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1968,7 +1969,7 @@ pub struct PostgresClusterBackupsPgbackrestSidecarsPgbackrestConfig { } /// Resource requirements for a sidecar container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterBackupsPgbackrestSidecarsPgbackrestConfigResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1978,14 +1979,14 @@ pub struct PostgresClusterBackupsPgbackrestSidecarsPgbackrestConfigResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub files: Option>, } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterConfigFiles { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2002,7 +2003,7 @@ pub struct PostgresClusterConfigFiles { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterConfigFilesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2016,7 +2017,7 @@ pub struct PostgresClusterConfigFilesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterConfigFilesConfigMapItems { /// key is the key to project. pub key: String, @@ -2028,7 +2029,7 @@ pub struct PostgresClusterConfigFilesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterConfigFilesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2036,7 +2037,7 @@ pub struct PostgresClusterConfigFilesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterConfigFilesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -2052,7 +2053,7 @@ pub struct PostgresClusterConfigFilesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterConfigFilesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2063,7 +2064,7 @@ pub struct PostgresClusterConfigFilesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterConfigFilesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2076,7 +2077,7 @@ pub struct PostgresClusterConfigFilesDownwardApiItemsResourceFieldRef { } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterConfigFilesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2090,7 +2091,7 @@ pub struct PostgresClusterConfigFilesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterConfigFilesSecretItems { /// key is the key to project. pub key: String, @@ -2102,7 +2103,7 @@ pub struct PostgresClusterConfigFilesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterConfigFilesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2115,7 +2116,7 @@ pub struct PostgresClusterConfigFilesServiceAccountToken { } /// The secret containing the replication client certificates and keys for secure connections to the PostgreSQL server. It will need to contain the client TLS certificate, TLS key and the Certificate Authority certificate with the data keys set to tls.crt, tls.key and ca.crt, respectively. NOTE: If CustomReplicationClientTLSSecret is provided, CustomTLSSecret MUST be provided and the ca.crt provided must be the same. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterCustomReplicationTlsSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2129,7 +2130,7 @@ pub struct PostgresClusterCustomReplicationTlsSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterCustomReplicationTlsSecretItems { /// key is the key to project. pub key: String, @@ -2141,7 +2142,7 @@ pub struct PostgresClusterCustomReplicationTlsSecretItems { } /// The secret containing the Certificates and Keys to encrypt PostgreSQL traffic will need to contain the server TLS certificate, TLS key and the Certificate Authority certificate with the data keys set to tls.crt, tls.key and ca.crt, respectively. It will then be mounted as a volume projection to the '/pgconf/tls' directory. For more information on Kubernetes secret projections, please see https://k8s.io/docs/concepts/configuration/secret/#projection-of-secret-keys-to-specific-paths NOTE: If CustomTLSSecret is provided, CustomReplicationClientTLSSecret MUST be provided and the ca.crt provided must be the same. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterCustomTlsSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2155,7 +2156,7 @@ pub struct PostgresClusterCustomTlsSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterCustomTlsSecretItems { /// key is the key to project. pub key: String, @@ -2167,7 +2168,7 @@ pub struct PostgresClusterCustomTlsSecretItems { } /// Specifies a data source for bootstrapping the PostgreSQL cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSource { /// Defines a pgBackRest cloud-based data source that can be used to pre-populate the PostgreSQL data directory for a new PostgreSQL cluster using a pgBackRest restore. The PGBackRest field is incompatible with the PostgresCluster field: only one data source can be used for pre-populating a new PostgreSQL cluster #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2181,7 +2182,7 @@ pub struct PostgresClusterDataSource { } /// Defines a pgBackRest cloud-based data source that can be used to pre-populate the PostgreSQL data directory for a new PostgreSQL cluster using a pgBackRest restore. The PGBackRest field is incompatible with the PostgresCluster field: only one data source can be used for pre-populating a new PostgreSQL cluster -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrest { /// Scheduling constraints of the pgBackRest restore Job. More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2211,7 +2212,7 @@ pub struct PostgresClusterDataSourcePgbackrest { } /// Scheduling constraints of the pgBackRest restore Job. More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -2225,7 +2226,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -2236,7 +2237,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: PostgresClusterDataSourcePgbackrestAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -2245,7 +2246,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityNodeAffinityPreferredDurin } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2256,7 +2257,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityNodeAffinityPreferredDurin } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -2268,7 +2269,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityNodeAffinityPreferredDurin } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -2280,7 +2281,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityNodeAffinityPreferredDurin } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -2288,7 +2289,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityNodeAffinityRequiredDuring } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2299,7 +2300,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityNodeAffinityRequiredDuring } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -2311,7 +2312,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityNodeAffinityRequiredDuring } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -2323,7 +2324,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityNodeAffinityRequiredDuring } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -2334,7 +2335,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -2344,7 +2345,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityPodAffinityPreferredDuring } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2361,7 +2362,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityPodAffinityPreferredDuring } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2372,7 +2373,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityPodAffinityPreferredDuring } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2384,7 +2385,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityPodAffinityPreferredDuring } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2395,7 +2396,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityPodAffinityPreferredDuring } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2407,7 +2408,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityPodAffinityPreferredDuring } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2424,7 +2425,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityPodAffinityRequiredDuringS } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2435,7 +2436,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityPodAffinityRequiredDuringS } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2447,7 +2448,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityPodAffinityRequiredDuringS } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2458,7 +2459,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityPodAffinityRequiredDuringS } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2470,7 +2471,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityPodAffinityRequiredDuringS } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -2481,7 +2482,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -2491,7 +2492,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityPodAntiAffinityPreferredDu } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2508,7 +2509,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityPodAntiAffinityPreferredDu } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2519,7 +2520,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityPodAntiAffinityPreferredDu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2531,7 +2532,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityPodAntiAffinityPreferredDu } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2542,7 +2543,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityPodAntiAffinityPreferredDu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2554,7 +2555,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityPodAntiAffinityPreferredDu } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2571,7 +2572,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityPodAntiAffinityRequiredDur } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2582,7 +2583,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityPodAntiAffinityRequiredDur } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2594,7 +2595,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityPodAntiAffinityRequiredDur } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2605,7 +2606,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityPodAntiAffinityRequiredDur } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2617,7 +2618,7 @@ pub struct PostgresClusterDataSourcePgbackrestAffinityPodAntiAffinityRequiredDur } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestConfiguration { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -2634,7 +2635,7 @@ pub struct PostgresClusterDataSourcePgbackrestConfiguration { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestConfigurationConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2648,7 +2649,7 @@ pub struct PostgresClusterDataSourcePgbackrestConfigurationConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestConfigurationConfigMapItems { /// key is the key to project. pub key: String, @@ -2660,7 +2661,7 @@ pub struct PostgresClusterDataSourcePgbackrestConfigurationConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestConfigurationDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2668,7 +2669,7 @@ pub struct PostgresClusterDataSourcePgbackrestConfigurationDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestConfigurationDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -2684,7 +2685,7 @@ pub struct PostgresClusterDataSourcePgbackrestConfigurationDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestConfigurationDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2695,7 +2696,7 @@ pub struct PostgresClusterDataSourcePgbackrestConfigurationDownwardApiItemsField } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestConfigurationDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2708,7 +2709,7 @@ pub struct PostgresClusterDataSourcePgbackrestConfigurationDownwardApiItemsResou } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestConfigurationSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2722,7 +2723,7 @@ pub struct PostgresClusterDataSourcePgbackrestConfigurationSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestConfigurationSecretItems { /// key is the key to project. pub key: String, @@ -2734,7 +2735,7 @@ pub struct PostgresClusterDataSourcePgbackrestConfigurationSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestConfigurationServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2747,7 +2748,7 @@ pub struct PostgresClusterDataSourcePgbackrestConfigurationServiceAccountToken { } /// Defines a pgBackRest repository -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestRepo { /// Represents a pgBackRest repository that is created using Azure storage #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2769,21 +2770,21 @@ pub struct PostgresClusterDataSourcePgbackrestRepo { } /// Represents a pgBackRest repository that is created using Azure storage -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestRepoAzure { /// The Azure container utilized for the repository pub container: String, } /// Represents a pgBackRest repository that is created using Google Cloud Storage -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestRepoGcs { /// The GCS bucket utilized for the repository pub bucket: String, } /// RepoS3 represents a pgBackRest repository that is created using AWS S3 (or S3-compatible) storage -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestRepoS3 { /// The S3 bucket utilized for the repository pub bucket: String, @@ -2794,7 +2795,7 @@ pub struct PostgresClusterDataSourcePgbackrestRepoS3 { } /// Defines the schedules for the pgBackRest backups Full, Differential and Incremental backup types are supported: https://pgbackrest.org/user-guide.html#concept/backup -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestRepoSchedules { /// Defines the Cron schedule for a differential pgBackRest backup. Follows the standard Cron schedule syntax: https://k8s.io/docs/concepts/workloads/controllers/cron-jobs/#cron-schedule-syntax #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2808,7 +2809,7 @@ pub struct PostgresClusterDataSourcePgbackrestRepoSchedules { } /// Represents a pgBackRest repository that is created using a PersistentVolumeClaim -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestRepoVolume { /// Defines a PersistentVolumeClaim spec used to create and/or bind a volume #[serde(rename = "volumeClaimSpec")] @@ -2816,7 +2817,7 @@ pub struct PostgresClusterDataSourcePgbackrestRepoVolume { } /// Defines a PersistentVolumeClaim spec used to create and/or bind a volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestRepoVolumeVolumeClaimSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -2845,7 +2846,7 @@ pub struct PostgresClusterDataSourcePgbackrestRepoVolumeVolumeClaimSpec { } /// 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. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestRepoVolumeVolumeClaimSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2857,7 +2858,7 @@ pub struct PostgresClusterDataSourcePgbackrestRepoVolumeVolumeClaimSpecDataSourc } /// dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local 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, 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. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestRepoVolumeVolumeClaimSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -2869,7 +2870,7 @@ pub struct PostgresClusterDataSourcePgbackrestRepoVolumeVolumeClaimSpecDataSourc } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestRepoVolumeVolumeClaimSpecResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2880,7 +2881,7 @@ pub struct PostgresClusterDataSourcePgbackrestRepoVolumeVolumeClaimSpecResources } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestRepoVolumeVolumeClaimSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2891,7 +2892,7 @@ pub struct PostgresClusterDataSourcePgbackrestRepoVolumeVolumeClaimSpecSelector } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestRepoVolumeVolumeClaimSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2903,7 +2904,7 @@ pub struct PostgresClusterDataSourcePgbackrestRepoVolumeVolumeClaimSpecSelectorM } /// Resource requirements for the pgBackRest restore Job. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2914,7 +2915,7 @@ pub struct PostgresClusterDataSourcePgbackrestResources { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePgbackrestTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2934,7 +2935,7 @@ pub struct PostgresClusterDataSourcePgbackrestTolerations { } /// Defines a pgBackRest data source that can be used to pre-populate the PostgreSQL data directory for a new PostgreSQL cluster using a pgBackRest restore. The PGBackRest field is incompatible with the PostgresCluster field: only one data source can be used for pre-populating a new PostgreSQL cluster -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresCluster { /// Scheduling constraints of the pgBackRest restore Job. More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2963,7 +2964,7 @@ pub struct PostgresClusterDataSourcePostgresCluster { } /// Scheduling constraints of the pgBackRest restore Job. More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -2977,7 +2978,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -2988,7 +2989,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: PostgresClusterDataSourcePostgresClusterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -2997,7 +2998,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityNodeAffinityPreferred } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3008,7 +3009,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityNodeAffinityPreferred } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -3020,7 +3021,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityNodeAffinityPreferred } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -3032,7 +3033,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityNodeAffinityPreferred } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -3040,7 +3041,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityNodeAffinityRequiredD } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3051,7 +3052,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityNodeAffinityRequiredD } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -3063,7 +3064,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityNodeAffinityRequiredD } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -3075,7 +3076,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityNodeAffinityRequiredD } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -3086,7 +3087,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -3096,7 +3097,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAffinityPreferredD } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -3113,7 +3114,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAffinityPreferredD } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3124,7 +3125,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAffinityPreferredD } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3136,7 +3137,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAffinityPreferredD } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3147,7 +3148,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAffinityPreferredD } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3159,7 +3160,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAffinityPreferredD } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -3176,7 +3177,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAffinityRequiredDu } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3187,7 +3188,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAffinityRequiredDu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3199,7 +3200,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAffinityRequiredDu } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3210,7 +3211,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAffinityRequiredDu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3222,7 +3223,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAffinityRequiredDu } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -3233,7 +3234,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -3243,7 +3244,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAntiAffinityPrefer } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -3260,7 +3261,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAntiAffinityPrefer } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3271,7 +3272,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAntiAffinityPrefer } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3283,7 +3284,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAntiAffinityPrefer } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3294,7 +3295,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAntiAffinityPrefer } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3306,7 +3307,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAntiAffinityPrefer } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -3323,7 +3324,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAntiAffinityRequir } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3334,7 +3335,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAntiAffinityRequir } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3346,7 +3347,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAntiAffinityRequir } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3357,7 +3358,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAntiAffinityRequir } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3369,7 +3370,7 @@ pub struct PostgresClusterDataSourcePostgresClusterAffinityPodAntiAffinityRequir } /// Resource requirements for the pgBackRest restore Job. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3380,7 +3381,7 @@ pub struct PostgresClusterDataSourcePostgresClusterResources { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourcePostgresClusterTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3400,7 +3401,7 @@ pub struct PostgresClusterDataSourcePostgresClusterTolerations { } /// Defines any existing volumes to reuse for this PostgresCluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourceVolumes { /// Defines the existing pgBackRest repo volume and directory to use in the current PostgresCluster. #[serde(default, skip_serializing_if = "Option::is_none", rename = "pgBackRestVolume")] @@ -3414,7 +3415,7 @@ pub struct PostgresClusterDataSourceVolumes { } /// Defines the existing pgBackRest repo volume and directory to use in the current PostgresCluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourceVolumesPgBackRestVolume { /// The existing directory. When not set, a move Job is not created for the associated volume. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3425,7 +3426,7 @@ pub struct PostgresClusterDataSourceVolumesPgBackRestVolume { } /// Defines the existing pgData volume and directory to use in the current PostgresCluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourceVolumesPgDataVolume { /// The existing directory. When not set, a move Job is not created for the associated volume. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3436,7 +3437,7 @@ pub struct PostgresClusterDataSourceVolumesPgDataVolume { } /// Defines the existing pg_wal volume and directory to use in the current PostgresCluster. Note that a defined pg_wal volume MUST be accompanied by a pgData volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDataSourceVolumesPgWalVolume { /// The existing directory. When not set, a move Job is not created for the associated volume. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3447,7 +3448,7 @@ pub struct PostgresClusterDataSourceVolumesPgWalVolume { } /// DatabaseInitSQL defines a ConfigMap containing custom SQL that will be run after the cluster is initialized. This ConfigMap must be in the same namespace as the cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterDatabaseInitSql { /// Key is the ConfigMap data key that points to a SQL string pub key: String, @@ -3464,14 +3465,14 @@ pub enum PostgresClusterImagePullPolicy { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterImagePullSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstances { /// Scheduling constraints of a PostgreSQL pod. Changing this value causes PostgreSQL to restart. More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3518,7 +3519,7 @@ pub struct PostgresClusterInstances { } /// Scheduling constraints of a PostgreSQL pod. Changing this value causes PostgreSQL to restart. More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -3532,7 +3533,7 @@ pub struct PostgresClusterInstancesAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -3543,7 +3544,7 @@ pub struct PostgresClusterInstancesAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: PostgresClusterInstancesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -3552,7 +3553,7 @@ pub struct PostgresClusterInstancesAffinityNodeAffinityPreferredDuringScheduling } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3563,7 +3564,7 @@ pub struct PostgresClusterInstancesAffinityNodeAffinityPreferredDuringScheduling } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -3575,7 +3576,7 @@ pub struct PostgresClusterInstancesAffinityNodeAffinityPreferredDuringScheduling } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -3587,7 +3588,7 @@ pub struct PostgresClusterInstancesAffinityNodeAffinityPreferredDuringScheduling } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -3595,7 +3596,7 @@ pub struct PostgresClusterInstancesAffinityNodeAffinityRequiredDuringSchedulingI } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3606,7 +3607,7 @@ pub struct PostgresClusterInstancesAffinityNodeAffinityRequiredDuringSchedulingI } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -3618,7 +3619,7 @@ pub struct PostgresClusterInstancesAffinityNodeAffinityRequiredDuringSchedulingI } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -3630,7 +3631,7 @@ pub struct PostgresClusterInstancesAffinityNodeAffinityRequiredDuringSchedulingI } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -3641,7 +3642,7 @@ pub struct PostgresClusterInstancesAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -3651,7 +3652,7 @@ pub struct PostgresClusterInstancesAffinityPodAffinityPreferredDuringSchedulingI } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -3668,7 +3669,7 @@ pub struct PostgresClusterInstancesAffinityPodAffinityPreferredDuringSchedulingI } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3679,7 +3680,7 @@ pub struct PostgresClusterInstancesAffinityPodAffinityPreferredDuringSchedulingI } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3691,7 +3692,7 @@ pub struct PostgresClusterInstancesAffinityPodAffinityPreferredDuringSchedulingI } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3702,7 +3703,7 @@ pub struct PostgresClusterInstancesAffinityPodAffinityPreferredDuringSchedulingI } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3714,7 +3715,7 @@ pub struct PostgresClusterInstancesAffinityPodAffinityPreferredDuringSchedulingI } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -3731,7 +3732,7 @@ pub struct PostgresClusterInstancesAffinityPodAffinityRequiredDuringSchedulingIg } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3742,7 +3743,7 @@ pub struct PostgresClusterInstancesAffinityPodAffinityRequiredDuringSchedulingIg } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3754,7 +3755,7 @@ pub struct PostgresClusterInstancesAffinityPodAffinityRequiredDuringSchedulingIg } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3765,7 +3766,7 @@ pub struct PostgresClusterInstancesAffinityPodAffinityRequiredDuringSchedulingIg } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3777,7 +3778,7 @@ pub struct PostgresClusterInstancesAffinityPodAffinityRequiredDuringSchedulingIg } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -3788,7 +3789,7 @@ pub struct PostgresClusterInstancesAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -3798,7 +3799,7 @@ pub struct PostgresClusterInstancesAffinityPodAntiAffinityPreferredDuringSchedul } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -3815,7 +3816,7 @@ pub struct PostgresClusterInstancesAffinityPodAntiAffinityPreferredDuringSchedul } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3826,7 +3827,7 @@ pub struct PostgresClusterInstancesAffinityPodAntiAffinityPreferredDuringSchedul } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3838,7 +3839,7 @@ pub struct PostgresClusterInstancesAffinityPodAntiAffinityPreferredDuringSchedul } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3849,7 +3850,7 @@ pub struct PostgresClusterInstancesAffinityPodAntiAffinityPreferredDuringSchedul } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3861,7 +3862,7 @@ pub struct PostgresClusterInstancesAffinityPodAntiAffinityPreferredDuringSchedul } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -3878,7 +3879,7 @@ pub struct PostgresClusterInstancesAffinityPodAntiAffinityRequiredDuringScheduli } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3889,7 +3890,7 @@ pub struct PostgresClusterInstancesAffinityPodAntiAffinityRequiredDuringScheduli } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3901,7 +3902,7 @@ pub struct PostgresClusterInstancesAffinityPodAntiAffinityRequiredDuringScheduli } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -3912,7 +3913,7 @@ pub struct PostgresClusterInstancesAffinityPodAntiAffinityRequiredDuringScheduli } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -3924,7 +3925,7 @@ pub struct PostgresClusterInstancesAffinityPodAntiAffinityRequiredDuringScheduli } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainers { /// Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3994,7 +3995,7 @@ pub struct PostgresClusterInstancesContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -4007,7 +4008,7 @@ pub struct PostgresClusterInstancesContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -4024,7 +4025,7 @@ pub struct PostgresClusterInstancesContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -4037,7 +4038,7 @@ pub struct PostgresClusterInstancesContainersEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4048,7 +4049,7 @@ pub struct PostgresClusterInstancesContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -4061,7 +4062,7 @@ pub struct PostgresClusterInstancesContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4074,7 +4075,7 @@ pub struct PostgresClusterInstancesContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -4088,7 +4089,7 @@ pub struct PostgresClusterInstancesContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4099,7 +4100,7 @@ pub struct PostgresClusterInstancesContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4110,7 +4111,7 @@ pub struct PostgresClusterInstancesContainersEnvFromSecretRef { } /// Actions that the management system should take in response to container lifecycle events. Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -4121,7 +4122,7 @@ pub struct PostgresClusterInstancesContainersLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4135,7 +4136,7 @@ pub struct PostgresClusterInstancesContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4143,7 +4144,7 @@ pub struct PostgresClusterInstancesContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4162,7 +4163,7 @@ pub struct PostgresClusterInstancesContainersLifecyclePostStartHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name pub name: String, @@ -4171,7 +4172,7 @@ pub struct PostgresClusterInstancesContainersLifecyclePostStartHttpGetHttpHeader } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4181,7 +4182,7 @@ pub struct PostgresClusterInstancesContainersLifecyclePostStartTcpSocket { } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4195,7 +4196,7 @@ pub struct PostgresClusterInstancesContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4203,7 +4204,7 @@ pub struct PostgresClusterInstancesContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4222,7 +4223,7 @@ pub struct PostgresClusterInstancesContainersLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name pub name: String, @@ -4231,7 +4232,7 @@ pub struct PostgresClusterInstancesContainersLifecyclePreStopHttpGetHttpHeaders } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4241,7 +4242,7 @@ pub struct PostgresClusterInstancesContainersLifecyclePreStopTcpSocket { } /// Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4276,7 +4277,7 @@ pub struct PostgresClusterInstancesContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4284,7 +4285,7 @@ pub struct PostgresClusterInstancesContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4295,7 +4296,7 @@ pub struct PostgresClusterInstancesContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4314,7 +4315,7 @@ pub struct PostgresClusterInstancesContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersLivenessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -4323,7 +4324,7 @@ pub struct PostgresClusterInstancesContainersLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4333,7 +4334,7 @@ pub struct PostgresClusterInstancesContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -4353,7 +4354,7 @@ pub struct PostgresClusterInstancesContainersPorts { } /// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4388,7 +4389,7 @@ pub struct PostgresClusterInstancesContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4396,7 +4397,7 @@ pub struct PostgresClusterInstancesContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4407,7 +4408,7 @@ pub struct PostgresClusterInstancesContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4426,7 +4427,7 @@ pub struct PostgresClusterInstancesContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersReadinessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -4435,7 +4436,7 @@ pub struct PostgresClusterInstancesContainersReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4445,7 +4446,7 @@ pub struct PostgresClusterInstancesContainersReadinessProbeTcpSocket { } /// Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4456,7 +4457,7 @@ pub struct PostgresClusterInstancesContainersResources { } /// SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -4494,7 +4495,7 @@ pub struct PostgresClusterInstancesContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4505,7 +4506,7 @@ pub struct PostgresClusterInstancesContainersSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4522,7 +4523,7 @@ pub struct PostgresClusterInstancesContainersSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -4533,7 +4534,7 @@ pub struct PostgresClusterInstancesContainersSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -4550,7 +4551,7 @@ pub struct PostgresClusterInstancesContainersSecurityContextWindowsOptions { } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4585,7 +4586,7 @@ pub struct PostgresClusterInstancesContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4593,7 +4594,7 @@ pub struct PostgresClusterInstancesContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4604,7 +4605,7 @@ pub struct PostgresClusterInstancesContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4623,7 +4624,7 @@ pub struct PostgresClusterInstancesContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersStartupProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -4632,7 +4633,7 @@ pub struct PostgresClusterInstancesContainersStartupProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4642,7 +4643,7 @@ pub struct PostgresClusterInstancesContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -4652,7 +4653,7 @@ pub struct PostgresClusterInstancesContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -4674,7 +4675,7 @@ pub struct PostgresClusterInstancesContainersVolumeMounts { } /// Defines a PersistentVolumeClaim for PostgreSQL data. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesDataVolumeClaimSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(rename = "accessModes")] @@ -4702,7 +4703,7 @@ pub struct PostgresClusterInstancesDataVolumeClaimSpec { } /// 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. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesDataVolumeClaimSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -4714,7 +4715,7 @@ pub struct PostgresClusterInstancesDataVolumeClaimSpecDataSource { } /// dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local 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, 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. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesDataVolumeClaimSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -4726,7 +4727,7 @@ pub struct PostgresClusterInstancesDataVolumeClaimSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesDataVolumeClaimSpecResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4736,7 +4737,7 @@ pub struct PostgresClusterInstancesDataVolumeClaimSpecResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesDataVolumeClaimSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4747,7 +4748,7 @@ pub struct PostgresClusterInstancesDataVolumeClaimSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesDataVolumeClaimSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4759,7 +4760,7 @@ pub struct PostgresClusterInstancesDataVolumeClaimSpecSelectorMatchExpressions { } /// Metadata contains metadata for custom resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -4768,7 +4769,7 @@ pub struct PostgresClusterInstancesMetadata { } /// Compute resources of a PostgreSQL container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4779,7 +4780,7 @@ pub struct PostgresClusterInstancesResources { } /// Configuration for instance sidecar containers -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesSidecars { /// Defines the configuration for the replica cert copy sidecar container #[serde(default, skip_serializing_if = "Option::is_none", rename = "replicaCertCopy")] @@ -4787,7 +4788,7 @@ pub struct PostgresClusterInstancesSidecars { } /// Defines the configuration for the replica cert copy sidecar container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesSidecarsReplicaCertCopy { /// Resource requirements for a sidecar container #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4795,7 +4796,7 @@ pub struct PostgresClusterInstancesSidecarsReplicaCertCopy { } /// Resource requirements for a sidecar container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesSidecarsReplicaCertCopyResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4805,7 +4806,7 @@ pub struct PostgresClusterInstancesSidecarsReplicaCertCopyResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesTablespaceVolumes { /// Defines a PersistentVolumeClaim for a tablespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes #[serde(rename = "dataVolumeClaimSpec")] @@ -4815,7 +4816,7 @@ pub struct PostgresClusterInstancesTablespaceVolumes { } /// Defines a PersistentVolumeClaim for a tablespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesTablespaceVolumesDataVolumeClaimSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -4844,7 +4845,7 @@ pub struct PostgresClusterInstancesTablespaceVolumesDataVolumeClaimSpec { } /// 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. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesTablespaceVolumesDataVolumeClaimSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -4856,7 +4857,7 @@ pub struct PostgresClusterInstancesTablespaceVolumesDataVolumeClaimSpecDataSourc } /// dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local 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, 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. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesTablespaceVolumesDataVolumeClaimSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -4868,7 +4869,7 @@ pub struct PostgresClusterInstancesTablespaceVolumesDataVolumeClaimSpecDataSourc } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesTablespaceVolumesDataVolumeClaimSpecResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4879,7 +4880,7 @@ pub struct PostgresClusterInstancesTablespaceVolumesDataVolumeClaimSpecResources } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesTablespaceVolumesDataVolumeClaimSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4890,7 +4891,7 @@ pub struct PostgresClusterInstancesTablespaceVolumesDataVolumeClaimSpecSelector } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesTablespaceVolumesDataVolumeClaimSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4902,7 +4903,7 @@ pub struct PostgresClusterInstancesTablespaceVolumesDataVolumeClaimSpecSelectorM } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4922,7 +4923,7 @@ pub struct PostgresClusterInstancesTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesTopologySpreadConstraints { /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -4944,7 +4945,7 @@ pub struct PostgresClusterInstancesTopologySpreadConstraints { } /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -4955,7 +4956,7 @@ pub struct PostgresClusterInstancesTopologySpreadConstraintsLabelSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -4967,7 +4968,7 @@ pub struct PostgresClusterInstancesTopologySpreadConstraintsLabelSelectorMatchEx } /// Defines a separate PersistentVolumeClaim for PostgreSQL's write-ahead log. More info: https://www.postgresql.org/docs/current/wal.html -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesWalVolumeClaimSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(rename = "accessModes")] @@ -4995,7 +4996,7 @@ pub struct PostgresClusterInstancesWalVolumeClaimSpec { } /// 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. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesWalVolumeClaimSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -5007,7 +5008,7 @@ pub struct PostgresClusterInstancesWalVolumeClaimSpecDataSource { } /// dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local 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, 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. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesWalVolumeClaimSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -5019,7 +5020,7 @@ pub struct PostgresClusterInstancesWalVolumeClaimSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesWalVolumeClaimSpecResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5029,7 +5030,7 @@ pub struct PostgresClusterInstancesWalVolumeClaimSpecResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesWalVolumeClaimSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5040,7 +5041,7 @@ pub struct PostgresClusterInstancesWalVolumeClaimSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterInstancesWalVolumeClaimSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5052,7 +5053,7 @@ pub struct PostgresClusterInstancesWalVolumeClaimSpecSelectorMatchExpressions { } /// Metadata contains metadata for custom resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -5061,7 +5062,7 @@ pub struct PostgresClusterMetadata { } /// The specification of monitoring tools that connect to PostgreSQL -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterMonitoring { /// PGMonitorSpec defines the desired state of the pgMonitor tool suite #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5069,13 +5070,13 @@ pub struct PostgresClusterMonitoring { } /// PGMonitorSpec defines the desired state of the pgMonitor tool suite -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterMonitoringPgmonitor { #[serde(default, skip_serializing_if = "Option::is_none")] pub exporter: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterMonitoringPgmonitorExporter { /// Projected volumes containing custom PostgreSQL Exporter configuration. Currently supports the customization of PostgreSQL Exporter queries. If a "queries.yml" file is detected in any volume projected using this field, it will be loaded using the "extend.query-path" flag: https://github.com/prometheus-community/postgres_exporter#flags Changing the values of field causes PostgreSQL and the exporter to restart. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5092,7 +5093,7 @@ pub struct PostgresClusterMonitoringPgmonitorExporter { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterMonitoringPgmonitorExporterConfiguration { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -5109,7 +5110,7 @@ pub struct PostgresClusterMonitoringPgmonitorExporterConfiguration { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterMonitoringPgmonitorExporterConfigurationConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5123,7 +5124,7 @@ pub struct PostgresClusterMonitoringPgmonitorExporterConfigurationConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterMonitoringPgmonitorExporterConfigurationConfigMapItems { /// key is the key to project. pub key: String, @@ -5135,7 +5136,7 @@ pub struct PostgresClusterMonitoringPgmonitorExporterConfigurationConfigMapItems } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterMonitoringPgmonitorExporterConfigurationDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5143,7 +5144,7 @@ pub struct PostgresClusterMonitoringPgmonitorExporterConfigurationDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterMonitoringPgmonitorExporterConfigurationDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -5159,7 +5160,7 @@ pub struct PostgresClusterMonitoringPgmonitorExporterConfigurationDownwardApiIte } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterMonitoringPgmonitorExporterConfigurationDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -5170,7 +5171,7 @@ pub struct PostgresClusterMonitoringPgmonitorExporterConfigurationDownwardApiIte } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterMonitoringPgmonitorExporterConfigurationDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -5183,7 +5184,7 @@ pub struct PostgresClusterMonitoringPgmonitorExporterConfigurationDownwardApiIte } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterMonitoringPgmonitorExporterConfigurationSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5197,7 +5198,7 @@ pub struct PostgresClusterMonitoringPgmonitorExporterConfigurationSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterMonitoringPgmonitorExporterConfigurationSecretItems { /// key is the key to project. pub key: String, @@ -5209,7 +5210,7 @@ pub struct PostgresClusterMonitoringPgmonitorExporterConfigurationSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterMonitoringPgmonitorExporterConfigurationServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5222,7 +5223,7 @@ pub struct PostgresClusterMonitoringPgmonitorExporterConfigurationServiceAccount } /// Projected secret containing custom TLS certificates to encrypt output from the exporter web server -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterMonitoringPgmonitorExporterCustomTlsSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5236,7 +5237,7 @@ pub struct PostgresClusterMonitoringPgmonitorExporterCustomTlsSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterMonitoringPgmonitorExporterCustomTlsSecretItems { /// key is the key to project. pub key: String, @@ -5248,7 +5249,7 @@ pub struct PostgresClusterMonitoringPgmonitorExporterCustomTlsSecretItems { } /// Changing this value causes PostgreSQL and the exporter to restart. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterMonitoringPgmonitorExporterResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5258,7 +5259,7 @@ pub struct PostgresClusterMonitoringPgmonitorExporterResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterPatroni { /// Patroni dynamic configuration settings. Changes to this value will be automatically reloaded without validation. Changes to certain PostgreSQL parameters cause PostgreSQL to restart. More info: https://patroni.readthedocs.io/en/latest/dynamic_configuration.html #[serde(default, skip_serializing_if = "Option::is_none", rename = "dynamicConfiguration")] @@ -5278,7 +5279,7 @@ pub struct PostgresClusterPatroni { } /// Switchover gives options to perform ad hoc switchovers in a PostgresCluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterPatroniSwitchover { /// Whether or not the operator should allow switchovers in a PostgresCluster pub enabled: bool, @@ -5298,7 +5299,7 @@ pub enum PostgresClusterPatroniSwitchoverType { } /// The specification of a proxy that connects to PostgreSQL. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxy { /// Defines a PgBouncer proxy and connection pooler. #[serde(rename = "pgBouncer")] @@ -5306,7 +5307,7 @@ pub struct PostgresClusterProxy { } /// Defines a PgBouncer proxy and connection pooler. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncer { /// Scheduling constraints of a PgBouncer pod. Changing this value causes PgBouncer to restart. More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5356,7 +5357,7 @@ pub struct PostgresClusterProxyPgBouncer { } /// Scheduling constraints of a PgBouncer pod. Changing this value causes PgBouncer to restart. More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -5370,7 +5371,7 @@ pub struct PostgresClusterProxyPgBouncerAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -5381,7 +5382,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: PostgresClusterProxyPgBouncerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -5390,7 +5391,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityNodeAffinityPreferredDuringSched } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5401,7 +5402,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityNodeAffinityPreferredDuringSched } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -5413,7 +5414,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityNodeAffinityPreferredDuringSched } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -5425,7 +5426,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityNodeAffinityPreferredDuringSched } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -5433,7 +5434,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityNodeAffinityRequiredDuringSchedu } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5444,7 +5445,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityNodeAffinityRequiredDuringSchedu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -5456,7 +5457,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityNodeAffinityRequiredDuringSchedu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -5468,7 +5469,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityNodeAffinityRequiredDuringSchedu } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -5479,7 +5480,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -5489,7 +5490,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityPodAffinityPreferredDuringSchedu } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -5506,7 +5507,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityPodAffinityPreferredDuringSchedu } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5517,7 +5518,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityPodAffinityPreferredDuringSchedu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5529,7 +5530,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityPodAffinityPreferredDuringSchedu } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5540,7 +5541,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityPodAffinityPreferredDuringSchedu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5552,7 +5553,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityPodAffinityPreferredDuringSchedu } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -5569,7 +5570,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityPodAffinityRequiredDuringSchedul } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5580,7 +5581,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityPodAffinityRequiredDuringSchedul } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5592,7 +5593,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityPodAffinityRequiredDuringSchedul } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5603,7 +5604,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityPodAffinityRequiredDuringSchedul } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5615,7 +5616,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityPodAffinityRequiredDuringSchedul } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -5626,7 +5627,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -5636,7 +5637,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityPodAntiAffinityPreferredDuringSc } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -5653,7 +5654,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityPodAntiAffinityPreferredDuringSc } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5664,7 +5665,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityPodAntiAffinityPreferredDuringSc } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5676,7 +5677,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityPodAntiAffinityPreferredDuringSc } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5687,7 +5688,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityPodAntiAffinityPreferredDuringSc } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5699,7 +5700,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityPodAntiAffinityPreferredDuringSc } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -5716,7 +5717,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityPodAntiAffinityRequiredDuringSch } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5727,7 +5728,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityPodAntiAffinityRequiredDuringSch } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5739,7 +5740,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityPodAntiAffinityRequiredDuringSch } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5750,7 +5751,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityPodAntiAffinityRequiredDuringSch } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5762,7 +5763,7 @@ pub struct PostgresClusterProxyPgBouncerAffinityPodAntiAffinityRequiredDuringSch } /// Configuration settings for the PgBouncer process. Changes to any of these values will be automatically reloaded without validation. Be careful, as you may put PgBouncer into an unusable state. More info: https://www.pgbouncer.org/usage.html#reload -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerConfig { /// PgBouncer database definitions. The key is the database requested by a client while the value is a libpq-styled connection string. The special key "*" acts as a fallback. When this field is empty, PgBouncer is configured with a single "*" entry that connects to the primary PostgreSQL instance. More info: https://www.pgbouncer.org/config.html#section-databases #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5779,7 +5780,7 @@ pub struct PostgresClusterProxyPgBouncerConfig { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerConfigFiles { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -5796,7 +5797,7 @@ pub struct PostgresClusterProxyPgBouncerConfigFiles { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerConfigFilesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5810,7 +5811,7 @@ pub struct PostgresClusterProxyPgBouncerConfigFilesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerConfigFilesConfigMapItems { /// key is the key to project. pub key: String, @@ -5822,7 +5823,7 @@ pub struct PostgresClusterProxyPgBouncerConfigFilesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerConfigFilesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5830,7 +5831,7 @@ pub struct PostgresClusterProxyPgBouncerConfigFilesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerConfigFilesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -5846,7 +5847,7 @@ pub struct PostgresClusterProxyPgBouncerConfigFilesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerConfigFilesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -5857,7 +5858,7 @@ pub struct PostgresClusterProxyPgBouncerConfigFilesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerConfigFilesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -5870,7 +5871,7 @@ pub struct PostgresClusterProxyPgBouncerConfigFilesDownwardApiItemsResourceField } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerConfigFilesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5884,7 +5885,7 @@ pub struct PostgresClusterProxyPgBouncerConfigFilesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerConfigFilesSecretItems { /// key is the key to project. pub key: String, @@ -5896,7 +5897,7 @@ pub struct PostgresClusterProxyPgBouncerConfigFilesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerConfigFilesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5909,7 +5910,7 @@ pub struct PostgresClusterProxyPgBouncerConfigFilesServiceAccountToken { } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainers { /// Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5979,7 +5980,7 @@ pub struct PostgresClusterProxyPgBouncerContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -5992,7 +5993,7 @@ pub struct PostgresClusterProxyPgBouncerContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -6009,7 +6010,7 @@ pub struct PostgresClusterProxyPgBouncerContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -6022,7 +6023,7 @@ pub struct PostgresClusterProxyPgBouncerContainersEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -6033,7 +6034,7 @@ pub struct PostgresClusterProxyPgBouncerContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -6046,7 +6047,7 @@ pub struct PostgresClusterProxyPgBouncerContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -6059,7 +6060,7 @@ pub struct PostgresClusterProxyPgBouncerContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -6073,7 +6074,7 @@ pub struct PostgresClusterProxyPgBouncerContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6084,7 +6085,7 @@ pub struct PostgresClusterProxyPgBouncerContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6095,7 +6096,7 @@ pub struct PostgresClusterProxyPgBouncerContainersEnvFromSecretRef { } /// Actions that the management system should take in response to container lifecycle events. Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -6106,7 +6107,7 @@ pub struct PostgresClusterProxyPgBouncerContainersLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6120,7 +6121,7 @@ pub struct PostgresClusterProxyPgBouncerContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6128,7 +6129,7 @@ pub struct PostgresClusterProxyPgBouncerContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6147,7 +6148,7 @@ pub struct PostgresClusterProxyPgBouncerContainersLifecyclePostStartHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name pub name: String, @@ -6156,7 +6157,7 @@ pub struct PostgresClusterProxyPgBouncerContainersLifecyclePostStartHttpGetHttpH } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6166,7 +6167,7 @@ pub struct PostgresClusterProxyPgBouncerContainersLifecyclePostStartTcpSocket { } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6180,7 +6181,7 @@ pub struct PostgresClusterProxyPgBouncerContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6188,7 +6189,7 @@ pub struct PostgresClusterProxyPgBouncerContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6207,7 +6208,7 @@ pub struct PostgresClusterProxyPgBouncerContainersLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name pub name: String, @@ -6216,7 +6217,7 @@ pub struct PostgresClusterProxyPgBouncerContainersLifecyclePreStopHttpGetHttpHea } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6226,7 +6227,7 @@ pub struct PostgresClusterProxyPgBouncerContainersLifecyclePreStopTcpSocket { } /// Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6261,7 +6262,7 @@ pub struct PostgresClusterProxyPgBouncerContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6269,7 +6270,7 @@ pub struct PostgresClusterProxyPgBouncerContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -6280,7 +6281,7 @@ pub struct PostgresClusterProxyPgBouncerContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6299,7 +6300,7 @@ pub struct PostgresClusterProxyPgBouncerContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersLivenessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -6308,7 +6309,7 @@ pub struct PostgresClusterProxyPgBouncerContainersLivenessProbeHttpGetHttpHeader } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6318,7 +6319,7 @@ pub struct PostgresClusterProxyPgBouncerContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -6338,7 +6339,7 @@ pub struct PostgresClusterProxyPgBouncerContainersPorts { } /// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6373,7 +6374,7 @@ pub struct PostgresClusterProxyPgBouncerContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6381,7 +6382,7 @@ pub struct PostgresClusterProxyPgBouncerContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -6392,7 +6393,7 @@ pub struct PostgresClusterProxyPgBouncerContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6411,7 +6412,7 @@ pub struct PostgresClusterProxyPgBouncerContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersReadinessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -6420,7 +6421,7 @@ pub struct PostgresClusterProxyPgBouncerContainersReadinessProbeHttpGetHttpHeade } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6430,7 +6431,7 @@ pub struct PostgresClusterProxyPgBouncerContainersReadinessProbeTcpSocket { } /// Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6441,7 +6442,7 @@ pub struct PostgresClusterProxyPgBouncerContainersResources { } /// SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -6479,7 +6480,7 @@ pub struct PostgresClusterProxyPgBouncerContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6490,7 +6491,7 @@ pub struct PostgresClusterProxyPgBouncerContainersSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6507,7 +6508,7 @@ pub struct PostgresClusterProxyPgBouncerContainersSecurityContextSeLinuxOptions } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -6518,7 +6519,7 @@ pub struct PostgresClusterProxyPgBouncerContainersSecurityContextSeccompProfile } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -6535,7 +6536,7 @@ pub struct PostgresClusterProxyPgBouncerContainersSecurityContextWindowsOptions } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6570,7 +6571,7 @@ pub struct PostgresClusterProxyPgBouncerContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6578,7 +6579,7 @@ pub struct PostgresClusterProxyPgBouncerContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -6589,7 +6590,7 @@ pub struct PostgresClusterProxyPgBouncerContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6608,7 +6609,7 @@ pub struct PostgresClusterProxyPgBouncerContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersStartupProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -6617,7 +6618,7 @@ pub struct PostgresClusterProxyPgBouncerContainersStartupProbeHttpGetHttpHeaders } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6627,7 +6628,7 @@ pub struct PostgresClusterProxyPgBouncerContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -6637,7 +6638,7 @@ pub struct PostgresClusterProxyPgBouncerContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -6659,7 +6660,7 @@ pub struct PostgresClusterProxyPgBouncerContainersVolumeMounts { } /// A secret projection containing a certificate and key with which to encrypt connections to PgBouncer. The "tls.crt", "tls.key", and "ca.crt" paths must be PEM-encoded certificates and keys. Changing this value causes PgBouncer to restart. More info: https://kubernetes.io/docs/concepts/configuration/secret/#projection-of-secret-keys-to-specific-paths -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerCustomTlsSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6673,7 +6674,7 @@ pub struct PostgresClusterProxyPgBouncerCustomTlsSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerCustomTlsSecretItems { /// key is the key to project. pub key: String, @@ -6685,7 +6686,7 @@ pub struct PostgresClusterProxyPgBouncerCustomTlsSecretItems { } /// Metadata contains metadata for custom resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -6694,7 +6695,7 @@ pub struct PostgresClusterProxyPgBouncerMetadata { } /// Compute resources of a PgBouncer container. Changing this value causes PgBouncer to restart. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6705,7 +6706,7 @@ pub struct PostgresClusterProxyPgBouncerResources { } /// Specification of the service that exposes PgBouncer. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerService { /// More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies #[serde(default, skip_serializing_if = "Option::is_none", rename = "externalTrafficPolicy")] @@ -6739,7 +6740,7 @@ pub enum PostgresClusterProxyPgBouncerServiceInternalTrafficPolicy { } /// Metadata contains metadata for custom resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerServiceMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -6757,7 +6758,7 @@ pub enum PostgresClusterProxyPgBouncerServiceType { } /// Configuration for pgBouncer sidecar containers -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerSidecars { /// Defines the configuration for the pgBouncer config sidecar container #[serde(default, skip_serializing_if = "Option::is_none", rename = "pgbouncerConfig")] @@ -6765,7 +6766,7 @@ pub struct PostgresClusterProxyPgBouncerSidecars { } /// Defines the configuration for the pgBouncer config sidecar container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerSidecarsPgbouncerConfig { /// Resource requirements for a sidecar container #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6773,7 +6774,7 @@ pub struct PostgresClusterProxyPgBouncerSidecarsPgbouncerConfig { } /// Resource requirements for a sidecar container -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerSidecarsPgbouncerConfigResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6784,7 +6785,7 @@ pub struct PostgresClusterProxyPgBouncerSidecarsPgbouncerConfigResources { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6804,7 +6805,7 @@ pub struct PostgresClusterProxyPgBouncerTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerTopologySpreadConstraints { /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -6826,7 +6827,7 @@ pub struct PostgresClusterProxyPgBouncerTopologySpreadConstraints { } /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6837,7 +6838,7 @@ pub struct PostgresClusterProxyPgBouncerTopologySpreadConstraintsLabelSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterProxyPgBouncerTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6849,7 +6850,7 @@ pub struct PostgresClusterProxyPgBouncerTopologySpreadConstraintsLabelSelectorMa } /// Specification of the service that exposes PostgreSQL replica instances -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterReplicaService { /// More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies #[serde(default, skip_serializing_if = "Option::is_none", rename = "externalTrafficPolicy")] @@ -6883,7 +6884,7 @@ pub enum PostgresClusterReplicaServiceInternalTrafficPolicy { } /// Metadata contains metadata for custom resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterReplicaServiceMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -6901,7 +6902,7 @@ pub enum PostgresClusterReplicaServiceType { } /// Specification of the service that exposes the PostgreSQL primary instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterService { /// More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies #[serde(default, skip_serializing_if = "Option::is_none", rename = "externalTrafficPolicy")] @@ -6935,7 +6936,7 @@ pub enum PostgresClusterServiceInternalTrafficPolicy { } /// Metadata contains metadata for custom resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterServiceMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -6953,7 +6954,7 @@ pub enum PostgresClusterServiceType { } /// Run this cluster as a read-only copy of an existing cluster or archive. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterStandby { /// Whether or not the PostgreSQL cluster should be read-only. When this is true, WAL files are applied from a pgBackRest repository or another PostgreSQL server. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6970,7 +6971,7 @@ pub struct PostgresClusterStandby { } /// The specification of a user interface that connects to PostgreSQL. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterface { /// Defines a pgAdmin user interface. #[serde(rename = "pgAdmin")] @@ -6978,7 +6979,7 @@ pub struct PostgresClusterUserInterface { } /// Defines a pgAdmin user interface. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdmin { /// Scheduling constraints of a pgAdmin pod. Changing this value causes pgAdmin to restart. More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7016,7 +7017,7 @@ pub struct PostgresClusterUserInterfacePgAdmin { } /// Scheduling constraints of a pgAdmin pod. Changing this value causes pgAdmin to restart. More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -7030,7 +7031,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -7041,7 +7042,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: PostgresClusterUserInterfacePgAdminAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -7050,7 +7051,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityNodeAffinityPreferredDurin } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7061,7 +7062,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityNodeAffinityPreferredDurin } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -7073,7 +7074,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityNodeAffinityPreferredDurin } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -7085,7 +7086,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityNodeAffinityPreferredDurin } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -7093,7 +7094,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityNodeAffinityRequiredDuring } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7104,7 +7105,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityNodeAffinityRequiredDuring } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -7116,7 +7117,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityNodeAffinityRequiredDuring } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -7128,7 +7129,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityNodeAffinityRequiredDuring } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -7139,7 +7140,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -7149,7 +7150,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityPodAffinityPreferredDuring } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -7166,7 +7167,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityPodAffinityPreferredDuring } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7177,7 +7178,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityPodAffinityPreferredDuring } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7189,7 +7190,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityPodAffinityPreferredDuring } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7200,7 +7201,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityPodAffinityPreferredDuring } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7212,7 +7213,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityPodAffinityPreferredDuring } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -7229,7 +7230,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityPodAffinityRequiredDuringS } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7240,7 +7241,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityPodAffinityRequiredDuringS } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7252,7 +7253,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityPodAffinityRequiredDuringS } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7263,7 +7264,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityPodAffinityRequiredDuringS } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7275,7 +7276,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityPodAffinityRequiredDuringS } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -7286,7 +7287,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -7296,7 +7297,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityPodAntiAffinityPreferredDu } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -7313,7 +7314,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityPodAntiAffinityPreferredDu } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7324,7 +7325,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityPodAntiAffinityPreferredDu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7336,7 +7337,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityPodAntiAffinityPreferredDu } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7347,7 +7348,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityPodAntiAffinityPreferredDu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7359,7 +7360,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityPodAntiAffinityPreferredDu } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -7376,7 +7377,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityPodAntiAffinityRequiredDur } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7387,7 +7388,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityPodAntiAffinityRequiredDur } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7399,7 +7400,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityPodAntiAffinityRequiredDur } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7410,7 +7411,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityPodAntiAffinityRequiredDur } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7422,7 +7423,7 @@ pub struct PostgresClusterUserInterfacePgAdminAffinityPodAntiAffinityRequiredDur } /// Configuration settings for the pgAdmin process. Changes to any of these values will be loaded without validation. Be careful, as you may put pgAdmin into an unusable state. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminConfig { /// Files allows the user to mount projected volumes into the pgAdmin container so that files can be referenced by pgAdmin as needed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7436,7 +7437,7 @@ pub struct PostgresClusterUserInterfacePgAdminConfig { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminConfigFiles { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -7453,7 +7454,7 @@ pub struct PostgresClusterUserInterfacePgAdminConfigFiles { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminConfigFilesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7467,7 +7468,7 @@ pub struct PostgresClusterUserInterfacePgAdminConfigFilesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminConfigFilesConfigMapItems { /// key is the key to project. pub key: String, @@ -7479,7 +7480,7 @@ pub struct PostgresClusterUserInterfacePgAdminConfigFilesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminConfigFilesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7487,7 +7488,7 @@ pub struct PostgresClusterUserInterfacePgAdminConfigFilesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminConfigFilesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -7503,7 +7504,7 @@ pub struct PostgresClusterUserInterfacePgAdminConfigFilesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminConfigFilesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -7514,7 +7515,7 @@ pub struct PostgresClusterUserInterfacePgAdminConfigFilesDownwardApiItemsFieldRe } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminConfigFilesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -7527,7 +7528,7 @@ pub struct PostgresClusterUserInterfacePgAdminConfigFilesDownwardApiItemsResourc } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminConfigFilesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7541,7 +7542,7 @@ pub struct PostgresClusterUserInterfacePgAdminConfigFilesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminConfigFilesSecretItems { /// key is the key to project. pub key: String, @@ -7553,7 +7554,7 @@ pub struct PostgresClusterUserInterfacePgAdminConfigFilesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminConfigFilesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7566,7 +7567,7 @@ pub struct PostgresClusterUserInterfacePgAdminConfigFilesServiceAccountToken { } /// A Secret containing the value for the LDAP_BIND_PASSWORD setting. More info: https://www.pgadmin.org/docs/pgadmin4/latest/ldap.html -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminConfigLdapBindPassword { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -7579,7 +7580,7 @@ pub struct PostgresClusterUserInterfacePgAdminConfigLdapBindPassword { } /// Defines a PersistentVolumeClaim for pgAdmin data. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminDataVolumeClaimSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -7608,7 +7609,7 @@ pub struct PostgresClusterUserInterfacePgAdminDataVolumeClaimSpec { } /// 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. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminDataVolumeClaimSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -7620,7 +7621,7 @@ pub struct PostgresClusterUserInterfacePgAdminDataVolumeClaimSpecDataSource { } /// dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local 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, 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. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminDataVolumeClaimSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -7632,7 +7633,7 @@ pub struct PostgresClusterUserInterfacePgAdminDataVolumeClaimSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminDataVolumeClaimSpecResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7643,7 +7644,7 @@ pub struct PostgresClusterUserInterfacePgAdminDataVolumeClaimSpecResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminDataVolumeClaimSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7654,7 +7655,7 @@ pub struct PostgresClusterUserInterfacePgAdminDataVolumeClaimSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminDataVolumeClaimSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7666,7 +7667,7 @@ pub struct PostgresClusterUserInterfacePgAdminDataVolumeClaimSpecSelectorMatchEx } /// Metadata contains metadata for custom resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -7675,7 +7676,7 @@ pub struct PostgresClusterUserInterfacePgAdminMetadata { } /// Compute resources of a pgAdmin container. Changing this value causes pgAdmin to restart. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7686,7 +7687,7 @@ pub struct PostgresClusterUserInterfacePgAdminResources { } /// Specification of the service that exposes pgAdmin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminService { /// More info: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-policies #[serde(default, skip_serializing_if = "Option::is_none", rename = "externalTrafficPolicy")] @@ -7720,7 +7721,7 @@ pub enum PostgresClusterUserInterfacePgAdminServiceInternalTrafficPolicy { } /// Metadata contains metadata for custom resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminServiceMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -7738,7 +7739,7 @@ pub enum PostgresClusterUserInterfacePgAdminServiceType { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7758,7 +7759,7 @@ pub struct PostgresClusterUserInterfacePgAdminTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminTopologySpreadConstraints { /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -7780,7 +7781,7 @@ pub struct PostgresClusterUserInterfacePgAdminTopologySpreadConstraints { } /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -7791,7 +7792,7 @@ pub struct PostgresClusterUserInterfacePgAdminTopologySpreadConstraintsLabelSele } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUserInterfacePgAdminTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -7802,7 +7803,7 @@ pub struct PostgresClusterUserInterfacePgAdminTopologySpreadConstraintsLabelSele pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterUsers { /// Databases to which this user can connect and create objects. Removing a database from this list does NOT revoke access. This field is ignored for the "postgres" user. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7834,7 +7835,7 @@ pub enum PostgresClusterUsersPasswordType { } /// PostgresClusterStatus defines the observed state of PostgresCluster -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterStatus { /// conditions represent the observations of postgrescluster's current state. Known .status.conditions.type are: "PersistentVolumeResizing", "Progressing", "ProxyAvailable" #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7883,7 +7884,7 @@ pub struct PostgresClusterStatus { pub users_revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterStatusInstances { pub name: String, /// Total number of ready pods. @@ -7898,13 +7899,13 @@ pub struct PostgresClusterStatusInstances { } /// Current state of PostgreSQL cluster monitoring tool configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterStatusMonitoring { #[serde(default, skip_serializing_if = "Option::is_none", rename = "exporterConfiguration")] pub exporter_configuration: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterStatusPatroni { /// Tracks the execution of the switchover requests. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7918,7 +7919,7 @@ pub struct PostgresClusterStatusPatroni { } /// Status information for pgBackRest -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterStatusPgbackrest { /// Status information for manual backups #[serde(default, skip_serializing_if = "Option::is_none", rename = "manualBackup")] @@ -7938,7 +7939,7 @@ pub struct PostgresClusterStatusPgbackrest { } /// Status information for manual backups -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterStatusPgbackrestManualBackup { /// The number of actively running manual backup Pods. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7962,7 +7963,7 @@ pub struct PostgresClusterStatusPgbackrestManualBackup { } /// Status information for the pgBackRest dedicated repository host -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterStatusPgbackrestRepoHost { /// 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 #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -7976,7 +7977,7 @@ pub struct PostgresClusterStatusPgbackrestRepoHost { } /// RepoStatus the status of a pgBackRest repository -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterStatusPgbackrestRepos { /// Whether or not the pgBackRest repository PersistentVolumeClaim is bound to a volume #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7998,7 +7999,7 @@ pub struct PostgresClusterStatusPgbackrestRepos { } /// Status information for in-place restores -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterStatusPgbackrestRestore { /// The number of actively running manual backup Pods. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8021,7 +8022,7 @@ pub struct PostgresClusterStatusPgbackrestRestore { pub succeeded: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterStatusPgbackrestScheduledBackups { /// The number of actively running manual backup Pods. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8050,13 +8051,13 @@ pub struct PostgresClusterStatusPgbackrestScheduledBackups { } /// Current state of the PostgreSQL proxy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterStatusProxy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "pgBouncer")] pub pg_bouncer: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterStatusProxyPgBouncer { /// Identifies the revision of PgBouncer assets that have been installed into PostgreSQL. #[serde(default, skip_serializing_if = "Option::is_none", rename = "postgresRevision")] @@ -8069,14 +8070,14 @@ pub struct PostgresClusterStatusProxyPgBouncer { pub replicas: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterStatusRegistrationRequired { #[serde(default, skip_serializing_if = "Option::is_none", rename = "pgoVersion")] pub pgo_version: Option, } /// Current state of the PostgreSQL user interface. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterStatusUserInterface { /// The state of the pgAdmin user interface. #[serde(default, skip_serializing_if = "Option::is_none", rename = "pgAdmin")] @@ -8084,7 +8085,7 @@ pub struct PostgresClusterStatusUserInterface { } /// The state of the pgAdmin user interface. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PostgresClusterStatusUserInterfacePgAdmin { /// Hash that indicates which users have been installed into pgAdmin. #[serde(default, skip_serializing_if = "Option::is_none", rename = "usersRevision")] diff --git a/kube-custom-resources-rs/src/postgresql_cnpg_io/v1/backups.rs b/kube-custom-resources-rs/src/postgresql_cnpg_io/v1/backups.rs index 7dfdc1df9..07df46569 100644 --- a/kube-custom-resources-rs/src/postgresql_cnpg_io/v1/backups.rs +++ b/kube-custom-resources-rs/src/postgresql_cnpg_io/v1/backups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cloudnative-pg/cloudnative-pg/postgresql.cnpg.io/v1/backups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cloudnative-pg/cloudnative-pg/postgresql.cnpg.io/v1/backups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/postgresql_cnpg_io/v1/poolers.rs b/kube-custom-resources-rs/src/postgresql_cnpg_io/v1/poolers.rs index 7dae862e9..7400c5031 100644 --- a/kube-custom-resources-rs/src/postgresql_cnpg_io/v1/poolers.rs +++ b/kube-custom-resources-rs/src/postgresql_cnpg_io/v1/poolers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cloudnative-pg/cloudnative-pg/postgresql.cnpg.io/v1/poolers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cloudnative-pg/cloudnative-pg/postgresql.cnpg.io/v1/poolers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/postgresql_cnpg_io/v1/scheduledbackups.rs b/kube-custom-resources-rs/src/postgresql_cnpg_io/v1/scheduledbackups.rs index a8e83e35e..e4b96b18c 100644 --- a/kube-custom-resources-rs/src/postgresql_cnpg_io/v1/scheduledbackups.rs +++ b/kube-custom-resources-rs/src/postgresql_cnpg_io/v1/scheduledbackups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cloudnative-pg/cloudnative-pg/postgresql.cnpg.io/v1/scheduledbackups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cloudnative-pg/cloudnative-pg/postgresql.cnpg.io/v1/scheduledbackups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/projectcontour_io/v1/httpproxies.rs b/kube-custom-resources-rs/src/projectcontour_io/v1/httpproxies.rs index e434895c1..fb52a3ad5 100644 --- a/kube-custom-resources-rs/src/projectcontour_io/v1/httpproxies.rs +++ b/kube-custom-resources-rs/src/projectcontour_io/v1/httpproxies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/projectcontour/contour/projectcontour.io/v1/httpproxies.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/projectcontour/contour/projectcontour.io/v1/httpproxies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// HTTPProxySpec defines the spec of the CRD. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "projectcontour.io", version = "v1", kind = "HTTPProxy", plural = "httpproxies")] #[kube(namespaced)] #[kube(status = "HTTPProxyStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct HTTPProxySpec { /// Includes allow for specific routing configuration to be included from another HTTPProxy, @@ -42,7 +43,7 @@ pub struct HTTPProxySpec { } /// Include describes a set of policies that can be applied to an HTTPProxy in a namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyIncludes { /// Conditions are a set of rules that are applied to included HTTPProxies. /// In effect, they are added onto the Conditions of included HTTPProxy Route @@ -63,7 +64,7 @@ pub struct HTTPProxyIncludes { /// MatchCondition are a general holder for matching rules for HTTPProxies. /// One of Prefix, Exact, Regex, Header or QueryParameter must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyIncludesConditions { /// Exact defines a exact match for a request. /// This field is not allowed in include match conditions. @@ -85,7 +86,7 @@ pub struct HTTPProxyIncludesConditions { } /// Header specifies the header condition to match. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyIncludesConditionsHeader { /// Contains specifies a substring that must be present in /// the header value. @@ -133,7 +134,7 @@ pub struct HTTPProxyIncludesConditionsHeader { } /// QueryParameter specifies the query parameter condition to match. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyIncludesConditionsQueryParameter { /// Contains specifies a substring that must be present in /// the query parameter value. @@ -168,7 +169,7 @@ pub struct HTTPProxyIncludesConditionsQueryParameter { } /// Route contains the set of routes for a virtual host. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutes { /// AuthPolicy updates the authorization policy that was set /// on the root HTTPProxy object for client requests that @@ -260,7 +261,7 @@ pub struct HTTPProxyRoutes { /// AuthPolicy updates the authorization policy that was set /// on the root HTTPProxy object for client requests that /// match this route. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesAuthPolicy { /// Context is a set of key/value pairs that are sent to the /// authentication server in the check request. If a context @@ -277,7 +278,7 @@ pub struct HTTPProxyRoutesAuthPolicy { /// MatchCondition are a general holder for matching rules for HTTPProxies. /// One of Prefix, Exact, Regex, Header or QueryParameter must be provided. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesConditions { /// Exact defines a exact match for a request. /// This field is not allowed in include match conditions. @@ -299,7 +300,7 @@ pub struct HTTPProxyRoutesConditions { } /// Header specifies the header condition to match. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesConditionsHeader { /// Contains specifies a substring that must be present in /// the header value. @@ -347,7 +348,7 @@ pub struct HTTPProxyRoutesConditionsHeader { } /// QueryParameter specifies the query parameter condition to match. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesConditionsQueryParameter { /// Contains specifies a substring that must be present in /// the query parameter value. @@ -381,7 +382,7 @@ pub struct HTTPProxyRoutesConditionsQueryParameter { pub suffix: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesCookieRewritePolicies { /// DomainRewrite enables rewriting the Set-Cookie Domain element. /// If not set, Domain will not be rewritten. @@ -405,7 +406,7 @@ pub struct HTTPProxyRoutesCookieRewritePolicies { /// DomainRewrite enables rewriting the Set-Cookie Domain element. /// If not set, Domain will not be rewritten. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesCookieRewritePoliciesDomainRewrite { /// Value is the value to rewrite the Domain attribute to. /// For now this is required. @@ -414,7 +415,7 @@ pub struct HTTPProxyRoutesCookieRewritePoliciesDomainRewrite { /// PathRewrite enables rewriting the Set-Cookie Path element. /// If not set, Path will not be rewritten. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesCookieRewritePoliciesPathRewrite { /// Value is the value to rewrite the Path attribute to. /// For now this is required. @@ -429,7 +430,7 @@ pub enum HTTPProxyRoutesCookieRewritePoliciesSameSite { } /// DirectResponsePolicy returns an arbitrary HTTP response directly. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesDirectResponsePolicy { /// Body is the content of the response body. /// If this setting is omitted, no body is included in the generated response. @@ -443,7 +444,7 @@ pub struct HTTPProxyRoutesDirectResponsePolicy { } /// The health check policy for this route. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesHealthCheckPolicy { /// The ranges of HTTP response statuses considered healthy. Follow half-open /// semantics, i.e. for each range the start is inclusive and the end is exclusive. @@ -472,7 +473,7 @@ pub struct HTTPProxyRoutesHealthCheckPolicy { pub unhealthy_threshold_count: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesHealthCheckPolicyExpectedStatuses { /// The end (exclusive) of a range of HTTP status codes. pub end: i64, @@ -481,7 +482,7 @@ pub struct HTTPProxyRoutesHealthCheckPolicyExpectedStatuses { } /// The policy to define when to handle redirects responses internally. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesInternalRedirectPolicy { /// AllowCrossSchemeRedirect Allow internal redirect to follow a target URI with a different scheme /// than the value of x-forwarded-proto. @@ -553,7 +554,7 @@ pub enum HTTPProxyRoutesIpDenyPolicySource { } /// The policy for verifying JWTs for requests to this route. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesJwtVerificationPolicy { /// Disabled defines whether to disable all JWT verification for this /// route. This can be used to opt specific routes out of the default @@ -571,7 +572,7 @@ pub struct HTTPProxyRoutesJwtVerificationPolicy { } /// The load balancing policy for this route. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesLoadBalancerPolicy { /// RequestHashPolicies contains a list of hash policies to apply when the /// `RequestHash` load balancing strategy is chosen. If an element of the @@ -592,7 +593,7 @@ pub struct HTTPProxyRoutesLoadBalancerPolicy { /// RequestHashPolicy contains configuration for an individual hash policy /// on a request attribute. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesLoadBalancerPolicyRequestHashPolicies { /// HashSourceIP should be set to true when request source IP hash based /// load balancing is desired. It must be the only hash option field set, @@ -620,7 +621,7 @@ pub struct HTTPProxyRoutesLoadBalancerPolicyRequestHashPolicies { /// HeaderHashOptions should be set when request header hash based load /// balancing is desired. It must be the only hash option field set, /// otherwise this request hash policy object will be ignored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesLoadBalancerPolicyRequestHashPoliciesHeaderHashOptions { /// HeaderName is the name of the HTTP request header that will be used to /// calculate the hash key. If the header specified is not present on a @@ -632,7 +633,7 @@ pub struct HTTPProxyRoutesLoadBalancerPolicyRequestHashPoliciesHeaderHashOptions /// QueryParameterHashOptions should be set when request query parameter hash based load /// balancing is desired. It must be the only hash option field set, /// otherwise this request hash policy object will be ignored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesLoadBalancerPolicyRequestHashPoliciesQueryParameterHashOptions { /// ParameterName is the name of the HTTP request query parameter that will be used to /// calculate the hash key. If the query parameter specified is not present on a @@ -643,7 +644,7 @@ pub struct HTTPProxyRoutesLoadBalancerPolicyRequestHashPoliciesQueryParameterHas /// The policy for rewriting the path of the request URL /// after the request has been routed to a Service. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesPathRewritePolicy { /// ReplacePrefix describes how the path prefix should be replaced. #[serde(default, skip_serializing_if = "Option::is_none", rename = "replacePrefix")] @@ -651,7 +652,7 @@ pub struct HTTPProxyRoutesPathRewritePolicy { } /// ReplacePrefix describes a path prefix replacement. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesPathRewritePolicyReplacePrefix { /// Prefix specifies the URL path prefix to be replaced. /// If Prefix is specified, it must exactly match the MatchCondition @@ -670,7 +671,7 @@ pub struct HTTPProxyRoutesPathRewritePolicyReplacePrefix { } /// The policy for rate limiting on the route. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesRateLimitPolicy { /// Global defines global rate limiting parameters, i.e. parameters /// defining descriptors that are sent to an external rate limit @@ -687,7 +688,7 @@ pub struct HTTPProxyRoutesRateLimitPolicy { /// Global defines global rate limiting parameters, i.e. parameters /// defining descriptors that are sent to an external rate limit /// service (RLS) for a rate limit decision on each request. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesRateLimitPolicyGlobal { /// Descriptors defines the list of descriptors that will /// be generated and sent to the rate limit service. Each @@ -701,7 +702,7 @@ pub struct HTTPProxyRoutesRateLimitPolicyGlobal { } /// RateLimitDescriptor defines a list of key-value pair generators. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesRateLimitPolicyGlobalDescriptors { /// Entries is the list of key-value pair generators. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -710,7 +711,7 @@ pub struct HTTPProxyRoutesRateLimitPolicyGlobalDescriptors { /// RateLimitDescriptorEntry is a key-value pair generator. Exactly /// one field on this struct must be non-nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesRateLimitPolicyGlobalDescriptorsEntries { /// GenericKey defines a descriptor entry with a static key and value. #[serde(default, skip_serializing_if = "Option::is_none", rename = "genericKey")] @@ -732,7 +733,7 @@ pub struct HTTPProxyRoutesRateLimitPolicyGlobalDescriptorsEntries { } /// GenericKey defines a descriptor entry with a static key and value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesRateLimitPolicyGlobalDescriptorsEntriesGenericKey { /// Key defines the key of the descriptor entry. If not set, the /// key is set to "generic_key". @@ -745,14 +746,14 @@ pub struct HTTPProxyRoutesRateLimitPolicyGlobalDescriptorsEntriesGenericKey { /// RemoteAddress defines a descriptor entry with a key of "remote_address" /// and a value equal to the client's IP address (from x-forwarded-for). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesRateLimitPolicyGlobalDescriptorsEntriesRemoteAddress { } /// RequestHeader defines a descriptor entry that's populated only if /// a given header is present on the request. The descriptor key is static, /// and the descriptor value is equal to the value of the header. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesRateLimitPolicyGlobalDescriptorsEntriesRequestHeader { /// DescriptorKey defines the key to use on the descriptor entry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "descriptorKey")] @@ -765,7 +766,7 @@ pub struct HTTPProxyRoutesRateLimitPolicyGlobalDescriptorsEntriesRequestHeader { /// RequestHeaderValueMatch defines a descriptor entry that's populated /// if the request's headers match a set of 1+ match criteria. The /// descriptor key is "header_match", and the descriptor value is static. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesRateLimitPolicyGlobalDescriptorsEntriesRequestHeaderValueMatch { /// ExpectMatch defines whether the request must positively match the match /// criteria in order to generate a descriptor entry (i.e. true), or not @@ -788,7 +789,7 @@ pub struct HTTPProxyRoutesRateLimitPolicyGlobalDescriptorsEntriesRequestHeaderVa /// For negative matching rules only (e.g. NotContains or NotExact) you can set /// TreatMissingAsEmpty. /// IgnoreCase has no effect for Regex. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesRateLimitPolicyGlobalDescriptorsEntriesRequestHeaderValueMatchHeaders { /// Contains specifies a substring that must be present in /// the header value. @@ -864,7 +865,7 @@ pub struct HTTPProxyRoutesRateLimitPolicyLocal { } /// HeaderValue represents a header name/value pair -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesRateLimitPolicyLocalResponseHeadersToAdd { /// Name represents a key of a header pub name: String, @@ -894,7 +895,7 @@ pub enum HTTPProxyRoutesRateLimitPolicyLocalUnit { /// Provided header must come from trusted source. /// **NOTE: The header rewrite is only done while forwarding and has no bearing /// on the routing decision. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesRequestHeadersPolicy { /// Remove specifies a list of HTTP header names to remove. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -906,7 +907,7 @@ pub struct HTTPProxyRoutesRequestHeadersPolicy { } /// HeaderValue represents a header name/value pair -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesRequestHeadersPolicySet { /// Name represents a key of a header pub name: String, @@ -915,7 +916,7 @@ pub struct HTTPProxyRoutesRequestHeadersPolicySet { } /// RequestRedirectPolicy defines an HTTP redirection. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesRequestRedirectPolicy { /// Hostname is the precise hostname to be used in the value of the `Location` /// header in the response. @@ -969,7 +970,7 @@ pub enum HTTPProxyRoutesRequestRedirectPolicyStatusCode { /// The policy for managing response headers during proxying. /// Rewriting the 'Host' header is not supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesResponseHeadersPolicy { /// Remove specifies a list of HTTP header names to remove. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -981,7 +982,7 @@ pub struct HTTPProxyRoutesResponseHeadersPolicy { } /// HeaderValue represents a header name/value pair -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesResponseHeadersPolicySet { /// Name represents a key of a header pub name: String, @@ -990,7 +991,7 @@ pub struct HTTPProxyRoutesResponseHeadersPolicySet { } /// The retry policy for this route. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesRetryPolicy { /// NumRetries is maximum allowed number of retries. /// If set to -1, then retries are disabled. @@ -1027,7 +1028,7 @@ pub struct HTTPProxyRoutesRetryPolicy { } /// Service defines an Kubernetes Service to proxy traffic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesServices { /// The policies for rewriting Set-Cookie header attributes. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cookieRewritePolicies")] @@ -1071,7 +1072,7 @@ pub struct HTTPProxyRoutesServices { pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesServicesCookieRewritePolicies { /// DomainRewrite enables rewriting the Set-Cookie Domain element. /// If not set, Domain will not be rewritten. @@ -1095,7 +1096,7 @@ pub struct HTTPProxyRoutesServicesCookieRewritePolicies { /// DomainRewrite enables rewriting the Set-Cookie Domain element. /// If not set, Domain will not be rewritten. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesServicesCookieRewritePoliciesDomainRewrite { /// Value is the value to rewrite the Domain attribute to. /// For now this is required. @@ -1104,7 +1105,7 @@ pub struct HTTPProxyRoutesServicesCookieRewritePoliciesDomainRewrite { /// PathRewrite enables rewriting the Set-Cookie Path element. /// If not set, Path will not be rewritten. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesServicesCookieRewritePoliciesPathRewrite { /// Value is the value to rewrite the Path attribute to. /// For now this is required. @@ -1130,7 +1131,7 @@ pub enum HTTPProxyRoutesServicesProtocol { } /// The policy for managing request headers during proxying. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesServicesRequestHeadersPolicy { /// Remove specifies a list of HTTP header names to remove. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1142,7 +1143,7 @@ pub struct HTTPProxyRoutesServicesRequestHeadersPolicy { } /// HeaderValue represents a header name/value pair -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesServicesRequestHeadersPolicySet { /// Name represents a key of a header pub name: String, @@ -1152,7 +1153,7 @@ pub struct HTTPProxyRoutesServicesRequestHeadersPolicySet { /// The policy for managing response headers during proxying. /// Rewriting the 'Host' header is not supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesServicesResponseHeadersPolicy { /// Remove specifies a list of HTTP header names to remove. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1164,7 +1165,7 @@ pub struct HTTPProxyRoutesServicesResponseHeadersPolicy { } /// HeaderValue represents a header name/value pair -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesServicesResponseHeadersPolicySet { /// Name represents a key of a header pub name: String, @@ -1173,7 +1174,7 @@ pub struct HTTPProxyRoutesServicesResponseHeadersPolicySet { } /// Slow start will gradually increase amount of traffic to a newly added endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesServicesSlowStartPolicy { /// The speed of traffic increase over the slow start window. /// Defaults to 1.0, so that endpoint would get linearly increasing amount of traffic. @@ -1194,7 +1195,7 @@ pub struct HTTPProxyRoutesServicesSlowStartPolicy { } /// UpstreamValidation defines how to verify the backend service's certificate -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesServicesValidation { /// Name or namespaced name of the Kubernetes secret used to validate the certificate presented by the backend. /// The secret must contain key named ca.crt. @@ -1214,7 +1215,7 @@ pub struct HTTPProxyRoutesServicesValidation { } /// The timeout policy for this route. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyRoutesTimeoutPolicy { /// Timeout for how long the proxy should wait while there is no activity during single request/response (for HTTP/1.1) or stream (for HTTP/2). /// Timeout will not trigger while HTTP/1.1 connection is idle between two consecutive requests. @@ -1233,7 +1234,7 @@ pub struct HTTPProxyRoutesTimeoutPolicy { } /// TCPProxy holds TCP proxy information. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyTcpproxy { /// The health check policy for this tcp proxy #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthCheckPolicy")] @@ -1257,7 +1258,7 @@ pub struct HTTPProxyTcpproxy { } /// The health check policy for this tcp proxy -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyTcpproxyHealthCheckPolicy { /// The number of healthy health checks required before a host is marked healthy #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthyThresholdCount")] @@ -1274,7 +1275,7 @@ pub struct HTTPProxyTcpproxyHealthCheckPolicy { } /// Include specifies that this tcpproxy should be delegated to another HTTPProxy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyTcpproxyInclude { /// Name of the child HTTPProxy pub name: String, @@ -1286,7 +1287,7 @@ pub struct HTTPProxyTcpproxyInclude { /// IncludesDeprecated allow for specific routing configuration to be appended to another HTTPProxy in another namespace. /// Exists due to a mistake when developing HTTPProxy and the field was marked plural /// when it should have been singular. This field should stay to not break backwards compatibility to v1 users. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyTcpproxyIncludes { /// Name of the child HTTPProxy pub name: String, @@ -1298,7 +1299,7 @@ pub struct HTTPProxyTcpproxyIncludes { /// The load balancing policy for the backend services. Note that the /// `Cookie` and `RequestHash` load balancing strategies cannot be used /// here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyTcpproxyLoadBalancerPolicy { /// RequestHashPolicies contains a list of hash policies to apply when the /// `RequestHash` load balancing strategy is chosen. If an element of the @@ -1319,7 +1320,7 @@ pub struct HTTPProxyTcpproxyLoadBalancerPolicy { /// RequestHashPolicy contains configuration for an individual hash policy /// on a request attribute. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyTcpproxyLoadBalancerPolicyRequestHashPolicies { /// HashSourceIP should be set to true when request source IP hash based /// load balancing is desired. It must be the only hash option field set, @@ -1347,7 +1348,7 @@ pub struct HTTPProxyTcpproxyLoadBalancerPolicyRequestHashPolicies { /// HeaderHashOptions should be set when request header hash based load /// balancing is desired. It must be the only hash option field set, /// otherwise this request hash policy object will be ignored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyTcpproxyLoadBalancerPolicyRequestHashPoliciesHeaderHashOptions { /// HeaderName is the name of the HTTP request header that will be used to /// calculate the hash key. If the header specified is not present on a @@ -1359,7 +1360,7 @@ pub struct HTTPProxyTcpproxyLoadBalancerPolicyRequestHashPoliciesHeaderHashOptio /// QueryParameterHashOptions should be set when request query parameter hash based load /// balancing is desired. It must be the only hash option field set, /// otherwise this request hash policy object will be ignored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyTcpproxyLoadBalancerPolicyRequestHashPoliciesQueryParameterHashOptions { /// ParameterName is the name of the HTTP request query parameter that will be used to /// calculate the hash key. If the query parameter specified is not present on a @@ -1369,7 +1370,7 @@ pub struct HTTPProxyTcpproxyLoadBalancerPolicyRequestHashPoliciesQueryParameterH } /// Service defines an Kubernetes Service to proxy traffic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyTcpproxyServices { /// The policies for rewriting Set-Cookie header attributes. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cookieRewritePolicies")] @@ -1413,7 +1414,7 @@ pub struct HTTPProxyTcpproxyServices { pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyTcpproxyServicesCookieRewritePolicies { /// DomainRewrite enables rewriting the Set-Cookie Domain element. /// If not set, Domain will not be rewritten. @@ -1437,7 +1438,7 @@ pub struct HTTPProxyTcpproxyServicesCookieRewritePolicies { /// DomainRewrite enables rewriting the Set-Cookie Domain element. /// If not set, Domain will not be rewritten. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyTcpproxyServicesCookieRewritePoliciesDomainRewrite { /// Value is the value to rewrite the Domain attribute to. /// For now this is required. @@ -1446,7 +1447,7 @@ pub struct HTTPProxyTcpproxyServicesCookieRewritePoliciesDomainRewrite { /// PathRewrite enables rewriting the Set-Cookie Path element. /// If not set, Path will not be rewritten. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyTcpproxyServicesCookieRewritePoliciesPathRewrite { /// Value is the value to rewrite the Path attribute to. /// For now this is required. @@ -1472,7 +1473,7 @@ pub enum HTTPProxyTcpproxyServicesProtocol { } /// The policy for managing request headers during proxying. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyTcpproxyServicesRequestHeadersPolicy { /// Remove specifies a list of HTTP header names to remove. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1484,7 +1485,7 @@ pub struct HTTPProxyTcpproxyServicesRequestHeadersPolicy { } /// HeaderValue represents a header name/value pair -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyTcpproxyServicesRequestHeadersPolicySet { /// Name represents a key of a header pub name: String, @@ -1494,7 +1495,7 @@ pub struct HTTPProxyTcpproxyServicesRequestHeadersPolicySet { /// The policy for managing response headers during proxying. /// Rewriting the 'Host' header is not supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyTcpproxyServicesResponseHeadersPolicy { /// Remove specifies a list of HTTP header names to remove. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1506,7 +1507,7 @@ pub struct HTTPProxyTcpproxyServicesResponseHeadersPolicy { } /// HeaderValue represents a header name/value pair -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyTcpproxyServicesResponseHeadersPolicySet { /// Name represents a key of a header pub name: String, @@ -1515,7 +1516,7 @@ pub struct HTTPProxyTcpproxyServicesResponseHeadersPolicySet { } /// Slow start will gradually increase amount of traffic to a newly added endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyTcpproxyServicesSlowStartPolicy { /// The speed of traffic increase over the slow start window. /// Defaults to 1.0, so that endpoint would get linearly increasing amount of traffic. @@ -1536,7 +1537,7 @@ pub struct HTTPProxyTcpproxyServicesSlowStartPolicy { } /// UpstreamValidation defines how to verify the backend service's certificate -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyTcpproxyServicesValidation { /// Name or namespaced name of the Kubernetes secret used to validate the certificate presented by the backend. /// The secret must contain key named ca.crt. @@ -1557,7 +1558,7 @@ pub struct HTTPProxyTcpproxyServicesValidation { /// Virtualhost appears at most once. If it is present, the object is considered /// to be a "root" HTTPProxy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyVirtualhost { /// This field configures an extension service to perform /// authorization for this virtual host. Authorization can @@ -1605,7 +1606,7 @@ pub struct HTTPProxyVirtualhost { /// If the TLS configuration requires client certificate /// validation, the client certificate is always included in the /// authentication check request. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyVirtualhostAuthorization { /// AuthPolicy sets a default authorization policy for client requests. /// This policy will be used unless overridden by individual routes. @@ -1633,7 +1634,7 @@ pub struct HTTPProxyVirtualhostAuthorization { /// AuthPolicy sets a default authorization policy for client requests. /// This policy will be used unless overridden by individual routes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyVirtualhostAuthorizationAuthPolicy { /// Context is a set of key/value pairs that are sent to the /// authentication server in the check request. If a context @@ -1649,7 +1650,7 @@ pub struct HTTPProxyVirtualhostAuthorizationAuthPolicy { } /// ExtensionServiceRef specifies the extension resource that will authorize client requests. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyVirtualhostAuthorizationExtensionRef { /// API version of the referent. /// If this field is not specified, the default "projectcontour.io/v1alpha1" will be used @@ -1667,7 +1668,7 @@ pub struct HTTPProxyVirtualhostAuthorizationExtensionRef { } /// WithRequestBody specifies configuration for sending the client request's body to authorization server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyVirtualhostAuthorizationWithRequestBody { /// If AllowPartialMessage is true, then Envoy will buffer the body until MaxRequestBytes are reached. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPartialMessage")] @@ -1681,7 +1682,7 @@ pub struct HTTPProxyVirtualhostAuthorizationWithRequestBody { } /// Specifies the cross-origin policy to apply to the VirtualHost. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyVirtualhostCorsPolicy { /// Specifies whether the resource allows credentials. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowCredentials")] @@ -1757,7 +1758,7 @@ pub enum HTTPProxyVirtualhostIpDenyPolicySource { } /// JWTProvider defines how to verify JWTs on requests. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyVirtualhostJwtProviders { /// Audiences that JWTs are allowed to have in the "aud" field. /// If not provided, JWT audiences are not checked. @@ -1788,7 +1789,7 @@ pub struct HTTPProxyVirtualhostJwtProviders { } /// Remote JWKS to use for verifying JWT signatures. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyVirtualhostJwtProvidersRemoteJwks { /// How long to cache the JWKS locally. If not specified, /// Envoy's default of 5m applies. @@ -1831,7 +1832,7 @@ pub enum HTTPProxyVirtualhostJwtProvidersRemoteJwksDnsLookupFamily { } /// UpstreamValidation defines how to verify the JWKS's TLS certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyVirtualhostJwtProvidersRemoteJwksValidation { /// Name or namespaced name of the Kubernetes secret used to validate the certificate presented by the backend. /// The secret must contain key named ca.crt. @@ -1851,7 +1852,7 @@ pub struct HTTPProxyVirtualhostJwtProvidersRemoteJwksValidation { } /// The policy for rate limiting on the virtual host. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyVirtualhostRateLimitPolicy { /// Global defines global rate limiting parameters, i.e. parameters /// defining descriptors that are sent to an external rate limit @@ -1868,7 +1869,7 @@ pub struct HTTPProxyVirtualhostRateLimitPolicy { /// Global defines global rate limiting parameters, i.e. parameters /// defining descriptors that are sent to an external rate limit /// service (RLS) for a rate limit decision on each request. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyVirtualhostRateLimitPolicyGlobal { /// Descriptors defines the list of descriptors that will /// be generated and sent to the rate limit service. Each @@ -1882,7 +1883,7 @@ pub struct HTTPProxyVirtualhostRateLimitPolicyGlobal { } /// RateLimitDescriptor defines a list of key-value pair generators. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyVirtualhostRateLimitPolicyGlobalDescriptors { /// Entries is the list of key-value pair generators. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1891,7 +1892,7 @@ pub struct HTTPProxyVirtualhostRateLimitPolicyGlobalDescriptors { /// RateLimitDescriptorEntry is a key-value pair generator. Exactly /// one field on this struct must be non-nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyVirtualhostRateLimitPolicyGlobalDescriptorsEntries { /// GenericKey defines a descriptor entry with a static key and value. #[serde(default, skip_serializing_if = "Option::is_none", rename = "genericKey")] @@ -1913,7 +1914,7 @@ pub struct HTTPProxyVirtualhostRateLimitPolicyGlobalDescriptorsEntries { } /// GenericKey defines a descriptor entry with a static key and value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyVirtualhostRateLimitPolicyGlobalDescriptorsEntriesGenericKey { /// Key defines the key of the descriptor entry. If not set, the /// key is set to "generic_key". @@ -1926,14 +1927,14 @@ pub struct HTTPProxyVirtualhostRateLimitPolicyGlobalDescriptorsEntriesGenericKey /// RemoteAddress defines a descriptor entry with a key of "remote_address" /// and a value equal to the client's IP address (from x-forwarded-for). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyVirtualhostRateLimitPolicyGlobalDescriptorsEntriesRemoteAddress { } /// RequestHeader defines a descriptor entry that's populated only if /// a given header is present on the request. The descriptor key is static, /// and the descriptor value is equal to the value of the header. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyVirtualhostRateLimitPolicyGlobalDescriptorsEntriesRequestHeader { /// DescriptorKey defines the key to use on the descriptor entry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "descriptorKey")] @@ -1946,7 +1947,7 @@ pub struct HTTPProxyVirtualhostRateLimitPolicyGlobalDescriptorsEntriesRequestHea /// RequestHeaderValueMatch defines a descriptor entry that's populated /// if the request's headers match a set of 1+ match criteria. The /// descriptor key is "header_match", and the descriptor value is static. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyVirtualhostRateLimitPolicyGlobalDescriptorsEntriesRequestHeaderValueMatch { /// ExpectMatch defines whether the request must positively match the match /// criteria in order to generate a descriptor entry (i.e. true), or not @@ -1969,7 +1970,7 @@ pub struct HTTPProxyVirtualhostRateLimitPolicyGlobalDescriptorsEntriesRequestHea /// For negative matching rules only (e.g. NotContains or NotExact) you can set /// TreatMissingAsEmpty. /// IgnoreCase has no effect for Regex. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyVirtualhostRateLimitPolicyGlobalDescriptorsEntriesRequestHeaderValueMatchHeaders { /// Contains specifies a substring that must be present in /// the header value. @@ -2045,7 +2046,7 @@ pub struct HTTPProxyVirtualhostRateLimitPolicyLocal { } /// HeaderValue represents a header name/value pair -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyVirtualhostRateLimitPolicyLocalResponseHeadersToAdd { /// Name represents a key of a header pub name: String, @@ -2070,7 +2071,7 @@ pub enum HTTPProxyVirtualhostRateLimitPolicyLocalUnit { /// host. The SNI names that will be matched on are described in fqdn, /// the tls.secretName secret must contain a certificate that itself /// contains a name that matches the FQDN. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyVirtualhostTls { /// ClientValidation defines how to verify the client certificate /// when an external client establishes a TLS connection to Envoy. @@ -2123,7 +2124,7 @@ pub struct HTTPProxyVirtualhostTls { /// be only used in conjunction with an external authorization server that /// performs client validation as Contour will ensure client certificates /// are passed along. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyVirtualhostTlsClientValidation { /// Name of a Kubernetes secret that contains a CA certificate bundle. /// The secret must contain key named ca.crt. @@ -2172,7 +2173,7 @@ pub struct HTTPProxyVirtualhostTlsClientValidation { /// ForwardClientCertificate adds the selected data from the passed client TLS certificate /// to the x-forwarded-client-cert header. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyVirtualhostTlsClientValidationForwardClientCertificate { /// Client cert in URL encoded PEM format. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2192,7 +2193,7 @@ pub struct HTTPProxyVirtualhostTlsClientValidationForwardClientCertificate { } /// Status is a container for computed information about the HTTPProxy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyStatus { /// Conditions contains information about the current status of the HTTPProxy, /// in an upstream-friendly container. @@ -2215,7 +2216,7 @@ pub struct HTTPProxyStatus { } /// LoadBalancer contains the current status of the load balancer. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyStatusLoadBalancer { /// Ingress is a list containing ingress points for the load-balancer. /// Traffic intended for the service should be sent to these ingress points. @@ -2225,7 +2226,7 @@ pub struct HTTPProxyStatusLoadBalancer { /// LoadBalancerIngress represents the status of a load-balancer ingress point: /// traffic intended for the service should be sent to an ingress point. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyStatusLoadBalancerIngress { /// Hostname is set for load-balancer ingress points that are DNS based /// (typically AWS load-balancers) @@ -2249,7 +2250,7 @@ pub struct HTTPProxyStatusLoadBalancerIngress { pub ports: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HTTPProxyStatusLoadBalancerIngressPorts { /// Error is to record the problem with the service port /// The format of the error shall comply with the following rules: diff --git a/kube-custom-resources-rs/src/projectcontour_io/v1/tlscertificatedelegations.rs b/kube-custom-resources-rs/src/projectcontour_io/v1/tlscertificatedelegations.rs index 7d2c09cc1..32a540808 100644 --- a/kube-custom-resources-rs/src/projectcontour_io/v1/tlscertificatedelegations.rs +++ b/kube-custom-resources-rs/src/projectcontour_io/v1/tlscertificatedelegations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/projectcontour/contour/projectcontour.io/v1/tlscertificatedelegations.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/projectcontour/contour/projectcontour.io/v1/tlscertificatedelegations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// TLSCertificateDelegationSpec defines the spec of the CRD -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "projectcontour.io", version = "v1", kind = "TLSCertificateDelegation", plural = "tlscertificatedelegations")] #[kube(namespaced)] #[kube(status = "TLSCertificateDelegationStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct TLSCertificateDelegationSpec { pub delegations: Vec, @@ -23,7 +24,7 @@ pub struct TLSCertificateDelegationSpec { /// CertificateDelegation maps the authority to reference a secret /// in the current namespace to a set of namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TLSCertificateDelegationDelegations { /// required, the name of a secret in the current namespace. #[serde(rename = "secretName")] @@ -39,7 +40,7 @@ pub struct TLSCertificateDelegationDelegations { /// TLSCertificateDelegationStatus allows for the status of the delegation /// to be presented to the user. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TLSCertificateDelegationStatus { /// Conditions contains information about the current status of the HTTPProxy, /// in an upstream-friendly container. diff --git a/kube-custom-resources-rs/src/projectcontour_io/v1alpha1/contourconfigurations.rs b/kube-custom-resources-rs/src/projectcontour_io/v1alpha1/contourconfigurations.rs index e1163c2d8..3204898f4 100644 --- a/kube-custom-resources-rs/src/projectcontour_io/v1alpha1/contourconfigurations.rs +++ b/kube-custom-resources-rs/src/projectcontour_io/v1alpha1/contourconfigurations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/contourconfigurations.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/contourconfigurations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -14,11 +14,12 @@ use self::prelude::*; /// ContourConfigurationSpec represents a configuration of a Contour controller. /// It contains most of all the options that can be customized, the /// other remaining options being command line flags. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "projectcontour.io", version = "v1alpha1", kind = "ContourConfiguration", plural = "contourconfigurations")] #[kube(namespaced)] #[kube(status = "ContourConfigurationStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ContourConfigurationSpec { /// Debug contains parameters to enable debug logging @@ -79,7 +80,7 @@ pub struct ContourConfigurationSpec { /// Debug contains parameters to enable debug logging /// and debug interfaces inside Contour. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationDebug { /// Defines the Contour debug address interface. /// Contour's default is "127.0.0.1". @@ -93,7 +94,7 @@ pub struct ContourConfigurationDebug { /// Envoy contains parameters for Envoy as well /// as how to optionally configure a managed Envoy fleet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationEnvoy { /// ClientCertificate defines the namespace/name of the Kubernetes /// secret containing the client certificate and private key @@ -152,7 +153,7 @@ pub struct ContourConfigurationEnvoy { /// secret containing the client certificate and private key /// to be used when establishing TLS connection to upstream /// cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationEnvoyClientCertificate { pub name: String, pub namespace: String, @@ -160,7 +161,7 @@ pub struct ContourConfigurationEnvoyClientCertificate { /// Cluster holds various configurable Envoy cluster values that can /// be set in the config file. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationEnvoyCluster { /// GlobalCircuitBreakerDefaults specifies default circuit breaker budget across all services. /// If defined, this will be used as the default for all services. @@ -201,7 +202,7 @@ pub struct ContourConfigurationEnvoyCluster { /// GlobalCircuitBreakerDefaults specifies default circuit breaker budget across all services. /// If defined, this will be used as the default for all services. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationEnvoyClusterCircuitBreakers { /// The maximum number of connections that a single Envoy instance allows to the Kubernetes Service; defaults to 1024. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxConnections")] @@ -218,7 +219,7 @@ pub struct ContourConfigurationEnvoyClusterCircuitBreakers { } /// UpstreamTLS contains the TLS policy parameters for upstream connections -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationEnvoyClusterUpstreamTls { /// CipherSuites defines the TLS ciphers to be supported by Envoy TLS /// listeners when negotiating TLS 1.2. Ciphers are validated against the @@ -268,7 +269,7 @@ pub struct ContourConfigurationEnvoyClusterUpstreamTls { /// Health defines the endpoint Envoy uses to serve health checks. /// Contour's default is { address: "0.0.0.0", port: 8002 }. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationEnvoyHealth { /// Defines the health address interface. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -280,7 +281,7 @@ pub struct ContourConfigurationEnvoyHealth { /// Defines the HTTP Listener for Envoy. /// Contour's default is { address: "0.0.0.0", port: 8080, accessLog: "/dev/stdout" }. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationEnvoyHttp { /// AccessLog defines where Envoy logs are outputted for this listener. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessLog")] @@ -295,7 +296,7 @@ pub struct ContourConfigurationEnvoyHttp { /// Defines the HTTPS Listener for Envoy. /// Contour's default is { address: "0.0.0.0", port: 8443, accessLog: "/dev/stdout" }. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationEnvoyHttps { /// AccessLog defines where Envoy logs are outputted for this listener. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessLog")] @@ -309,7 +310,7 @@ pub struct ContourConfigurationEnvoyHttps { } /// Listener hold various configurable Envoy listener values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationEnvoyListener { /// ConnectionBalancer. If the value is exact, the listener will use the exact connection balancer /// See https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/listener.proto#envoy-api-msg-listener-connectionbalanceconfig @@ -386,7 +387,7 @@ pub struct ContourConfigurationEnvoyListener { /// SocketOptions defines configurable socket options for the listeners. /// Single set of options are applied to all listeners. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationEnvoyListenerSocketOptions { /// Defines the value for IPv4 TOS field (including 6 bit DSCP field) for IP packets originating from Envoy listeners. /// Single value is applied to all listeners. @@ -401,7 +402,7 @@ pub struct ContourConfigurationEnvoyListenerSocketOptions { } /// TLS holds various configurable Envoy TLS listener values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationEnvoyListenerTls { /// CipherSuites defines the TLS ciphers to be supported by Envoy TLS /// listeners when negotiating TLS 1.2. Ciphers are validated against the @@ -450,7 +451,7 @@ pub struct ContourConfigurationEnvoyListenerTls { } /// Logging defines how Envoy's logs can be configured. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationEnvoyLogging { /// AccessLogFormat sets the global access log format. /// Values: `envoy` (default), `json`. @@ -474,7 +475,7 @@ pub struct ContourConfigurationEnvoyLogging { /// Metrics defines the endpoint Envoy uses to serve metrics. /// Contour's default is { address: "0.0.0.0", port: 8002 }. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationEnvoyMetrics { /// Defines the metrics address interface. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -490,7 +491,7 @@ pub struct ContourConfigurationEnvoyMetrics { /// TLS holds TLS file config details. /// Metrics and health endpoints cannot have same port number when metrics is served over HTTPS. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationEnvoyMetricsTls { /// CA filename. #[serde(default, skip_serializing_if = "Option::is_none", rename = "caFile")] @@ -504,7 +505,7 @@ pub struct ContourConfigurationEnvoyMetricsTls { } /// Network holds various configurable Envoy network values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationEnvoyNetwork { /// Configure the port used to access the Envoy Admin interface. /// If configured to port "0" then the admin interface is disabled. @@ -523,7 +524,7 @@ pub struct ContourConfigurationEnvoyNetwork { /// Service holds Envoy service parameters for setting Ingress status. /// Contour's default is { namespace: "projectcontour", name: "envoy" }. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationEnvoyService { pub name: String, pub namespace: String, @@ -531,7 +532,7 @@ pub struct ContourConfigurationEnvoyService { /// Timeouts holds various configurable timeouts that can /// be set in the config file. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationEnvoyTimeouts { /// ConnectTimeout defines how long the proxy should wait when establishing connection to upstream service. /// If not set, a default value of 2 seconds will be used. @@ -590,7 +591,7 @@ pub struct ContourConfigurationEnvoyTimeouts { /// Gateway contains parameters for the gateway-api Gateway that Contour /// is configured to serve traffic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationGateway { /// GatewayRef defines the specific Gateway that this Contour /// instance corresponds to. @@ -600,7 +601,7 @@ pub struct ContourConfigurationGateway { /// GatewayRef defines the specific Gateway that this Contour /// instance corresponds to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationGatewayGatewayRef { pub name: String, pub namespace: String, @@ -608,7 +609,7 @@ pub struct ContourConfigurationGatewayGatewayRef { /// GlobalExternalAuthorization allows envoys external authorization filter /// to be enabled for all virtual hosts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationGlobalExtAuth { /// AuthPolicy sets a default authorization policy for client requests. /// This policy will be used unless overridden by individual routes. @@ -636,7 +637,7 @@ pub struct ContourConfigurationGlobalExtAuth { /// AuthPolicy sets a default authorization policy for client requests. /// This policy will be used unless overridden by individual routes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationGlobalExtAuthAuthPolicy { /// Context is a set of key/value pairs that are sent to the /// authentication server in the check request. If a context @@ -652,7 +653,7 @@ pub struct ContourConfigurationGlobalExtAuthAuthPolicy { } /// ExtensionServiceRef specifies the extension resource that will authorize client requests. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationGlobalExtAuthExtensionRef { /// API version of the referent. /// If this field is not specified, the default "projectcontour.io/v1alpha1" will be used @@ -670,7 +671,7 @@ pub struct ContourConfigurationGlobalExtAuthExtensionRef { } /// WithRequestBody specifies configuration for sending the client request's body to authorization server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationGlobalExtAuthWithRequestBody { /// If AllowPartialMessage is true, then Envoy will buffer the body until MaxRequestBytes are reached. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPartialMessage")] @@ -685,7 +686,7 @@ pub struct ContourConfigurationGlobalExtAuthWithRequestBody { /// Health defines the endpoints Contour uses to serve health checks. /// Contour's default is { address: "0.0.0.0", port: 8000 }. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationHealth { /// Defines the health address interface. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -696,7 +697,7 @@ pub struct ContourConfigurationHealth { } /// HTTPProxy defines parameters on HTTPProxy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationHttpproxy { /// DisablePermitInsecure disables the use of the /// permitInsecure field in HTTPProxy. @@ -714,14 +715,14 @@ pub struct ContourConfigurationHttpproxy { /// FallbackCertificate defines the namespace/name of the Kubernetes secret to /// use as fallback when a non-SNI request is received. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationHttpproxyFallbackCertificate { pub name: String, pub namespace: String, } /// Ingress contains parameters for ingress options. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationIngress { /// Ingress Class Names Contour should use. #[serde(default, skip_serializing_if = "Option::is_none", rename = "classNames")] @@ -733,7 +734,7 @@ pub struct ContourConfigurationIngress { /// Metrics defines the endpoint Contour uses to serve metrics. /// Contour's default is { address: "0.0.0.0", port: 8000 }. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationMetrics { /// Defines the metrics address interface. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -749,7 +750,7 @@ pub struct ContourConfigurationMetrics { /// TLS holds TLS file config details. /// Metrics and health endpoints cannot have same port number when metrics is served over HTTPS. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationMetricsTls { /// CA filename. #[serde(default, skip_serializing_if = "Option::is_none", rename = "caFile")] @@ -763,7 +764,7 @@ pub struct ContourConfigurationMetricsTls { } /// Policy specifies default policy applied if not overridden by the user -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationPolicy { /// ApplyToIngress determines if the Policies will apply to ingress objects /// Contour's default is false. @@ -778,7 +779,7 @@ pub struct ContourConfigurationPolicy { } /// RequestHeadersPolicy defines the request headers set/removed on all routes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationPolicyRequestHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub remove: Option>, @@ -787,7 +788,7 @@ pub struct ContourConfigurationPolicyRequestHeaders { } /// ResponseHeadersPolicy defines the response headers set/removed on all routes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationPolicyResponseHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub remove: Option>, @@ -797,7 +798,7 @@ pub struct ContourConfigurationPolicyResponseHeaders { /// RateLimitService optionally holds properties of the Rate Limit Service /// to be used for global rate limiting. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationRateLimitService { /// DefaultGlobalRateLimitPolicy allows setting a default global rate limit policy for every HTTPProxy. /// HTTPProxy can overwrite this configuration. @@ -829,7 +830,7 @@ pub struct ContourConfigurationRateLimitService { /// DefaultGlobalRateLimitPolicy allows setting a default global rate limit policy for every HTTPProxy. /// HTTPProxy can overwrite this configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationRateLimitServiceDefaultGlobalRateLimitPolicy { /// Descriptors defines the list of descriptors that will /// be generated and sent to the rate limit service. Each @@ -843,7 +844,7 @@ pub struct ContourConfigurationRateLimitServiceDefaultGlobalRateLimitPolicy { } /// RateLimitDescriptor defines a list of key-value pair generators. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationRateLimitServiceDefaultGlobalRateLimitPolicyDescriptors { /// Entries is the list of key-value pair generators. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -852,7 +853,7 @@ pub struct ContourConfigurationRateLimitServiceDefaultGlobalRateLimitPolicyDescr /// RateLimitDescriptorEntry is a key-value pair generator. Exactly /// one field on this struct must be non-nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationRateLimitServiceDefaultGlobalRateLimitPolicyDescriptorsEntries { /// GenericKey defines a descriptor entry with a static key and value. #[serde(default, skip_serializing_if = "Option::is_none", rename = "genericKey")] @@ -874,7 +875,7 @@ pub struct ContourConfigurationRateLimitServiceDefaultGlobalRateLimitPolicyDescr } /// GenericKey defines a descriptor entry with a static key and value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationRateLimitServiceDefaultGlobalRateLimitPolicyDescriptorsEntriesGenericKey { /// Key defines the key of the descriptor entry. If not set, the /// key is set to "generic_key". @@ -887,14 +888,14 @@ pub struct ContourConfigurationRateLimitServiceDefaultGlobalRateLimitPolicyDescr /// RemoteAddress defines a descriptor entry with a key of "remote_address" /// and a value equal to the client's IP address (from x-forwarded-for). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationRateLimitServiceDefaultGlobalRateLimitPolicyDescriptorsEntriesRemoteAddress { } /// RequestHeader defines a descriptor entry that's populated only if /// a given header is present on the request. The descriptor key is static, /// and the descriptor value is equal to the value of the header. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationRateLimitServiceDefaultGlobalRateLimitPolicyDescriptorsEntriesRequestHeader { /// DescriptorKey defines the key to use on the descriptor entry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "descriptorKey")] @@ -907,7 +908,7 @@ pub struct ContourConfigurationRateLimitServiceDefaultGlobalRateLimitPolicyDescr /// RequestHeaderValueMatch defines a descriptor entry that's populated /// if the request's headers match a set of 1+ match criteria. The /// descriptor key is "header_match", and the descriptor value is static. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationRateLimitServiceDefaultGlobalRateLimitPolicyDescriptorsEntriesRequestHeaderValueMatch { /// ExpectMatch defines whether the request must positively match the match /// criteria in order to generate a descriptor entry (i.e. true), or not @@ -930,7 +931,7 @@ pub struct ContourConfigurationRateLimitServiceDefaultGlobalRateLimitPolicyDescr /// For negative matching rules only (e.g. NotContains or NotExact) you can set /// TreatMissingAsEmpty. /// IgnoreCase has no effect for Regex. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationRateLimitServiceDefaultGlobalRateLimitPolicyDescriptorsEntriesRequestHeaderValueMatchHeaders { /// Contains specifies a substring that must be present in /// the header value. @@ -978,14 +979,14 @@ pub struct ContourConfigurationRateLimitServiceDefaultGlobalRateLimitPolicyDescr } /// ExtensionService identifies the extension service defining the RLS. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationRateLimitServiceExtensionService { pub name: String, pub namespace: String, } /// Tracing defines properties for exporting trace data to OpenTelemetry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationTracing { /// CustomTags defines a list of custom tags with unique tag name. #[serde(default, skip_serializing_if = "Option::is_none", rename = "customTags")] @@ -1016,7 +1017,7 @@ pub struct ContourConfigurationTracing { /// CustomTag defines custom tags with unique tag name /// to create tags for the active span. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationTracingCustomTags { /// Literal is a static custom tag value. /// Precisely one of Literal, RequestHeaderName must be set. @@ -1033,14 +1034,14 @@ pub struct ContourConfigurationTracingCustomTags { } /// ExtensionService identifies the extension service defining the otel-collector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationTracingExtensionService { pub name: String, pub namespace: String, } /// XDSServer contains parameters for the xDS server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationXdsServer { /// Defines the xDS gRPC API address which Contour will serve. /// Contour's default is "0.0.0.0". @@ -1063,7 +1064,7 @@ pub struct ContourConfigurationXdsServer { /// TLS holds TLS file config details. /// Contour's default is { caFile: "/certs/ca.crt", certFile: "/certs/tls.cert", keyFile: "/certs/tls.key", insecure: false }. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationXdsServerTls { /// CA filename. #[serde(default, skip_serializing_if = "Option::is_none", rename = "caFile")] @@ -1080,7 +1081,7 @@ pub struct ContourConfigurationXdsServerTls { } /// ContourConfigurationStatus defines the observed state of a ContourConfiguration resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourConfigurationStatus { /// Conditions contains the current status of the Contour resource. /// Contour will update a single condition, `Valid`, that is in normal-true polarity. diff --git a/kube-custom-resources-rs/src/projectcontour_io/v1alpha1/contourdeployments.rs b/kube-custom-resources-rs/src/projectcontour_io/v1alpha1/contourdeployments.rs index 2dce10ca6..25041b5fc 100644 --- a/kube-custom-resources-rs/src/projectcontour_io/v1alpha1/contourdeployments.rs +++ b/kube-custom-resources-rs/src/projectcontour_io/v1alpha1/contourdeployments.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/contourdeployments.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/contourdeployments.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -14,11 +14,12 @@ use self::prelude::*; /// ContourDeploymentSpec specifies options for how a Contour /// instance should be provisioned. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "projectcontour.io", version = "v1alpha1", kind = "ContourDeployment", plural = "contourdeployments")] #[kube(namespaced)] #[kube(status = "ContourDeploymentStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ContourDeploymentSpec { /// Contour specifies deployment-time settings for the Contour @@ -50,7 +51,7 @@ pub struct ContourDeploymentSpec { /// part of the installation, i.e. the xDS server/control plane /// and associated resources, including things like replica count /// for the Deployment, and node placement constraints for the pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentContour { /// Deployment describes the settings for running contour as a `Deployment`. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -92,7 +93,7 @@ pub struct ContourDeploymentContour { } /// Deployment describes the settings for running contour as a `Deployment`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentContourDeployment { /// Replicas is the desired number of replicas. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -103,7 +104,7 @@ pub struct ContourDeploymentContourDeployment { } /// Strategy describes the deployment strategy to use to replace existing pods with new pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentContourDeploymentStrategy { /// Rolling update config params. Present only if DeploymentStrategyType = /// RollingUpdate. @@ -122,7 +123,7 @@ pub struct ContourDeploymentContourDeploymentStrategy { /// --- /// TODO: Update this to follow our convention for oneOf, whatever we decide it /// to be. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentContourDeploymentStrategyRollingUpdate { /// The maximum number of pods that can be scheduled above the desired number of /// pods. @@ -152,7 +153,7 @@ pub struct ContourDeploymentContourDeploymentStrategyRollingUpdate { } /// NodePlacement describes node scheduling configuration of Contour pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentContourNodePlacement { /// NodeSelector is the simplest recommended form of node selection constraint /// and specifies a map of key-value pairs. For the pod to be eligible @@ -174,7 +175,7 @@ pub struct ContourDeploymentContourNodePlacement { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentContourNodePlacementTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -205,7 +206,7 @@ pub struct ContourDeploymentContourNodePlacementTolerations { /// Compute Resources required by contour container. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentContourResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -227,7 +228,7 @@ pub struct ContourDeploymentContourResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentContourResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -240,7 +241,7 @@ pub struct ContourDeploymentContourResourcesClaims { /// and associated resources, including things like the workload /// type to use (DaemonSet or Deployment), node placement constraints /// for the pods, and various options for the Envoy service. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoy { /// The base ID to use when allocating shared memory regions. /// if Envoy needs to be run multiple times on the same machine, each running Envoy will need a unique base ID @@ -304,7 +305,7 @@ pub struct ContourDeploymentEnvoy { /// DaemonSet describes the settings for running envoy as a `DaemonSet`. /// if `WorkloadType` is `Deployment`,it's must be nil -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyDaemonSet { /// Strategy describes the deployment strategy to use to replace existing DaemonSet pods with new pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "updateStrategy")] @@ -312,7 +313,7 @@ pub struct ContourDeploymentEnvoyDaemonSet { } /// Strategy describes the deployment strategy to use to replace existing DaemonSet pods with new pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyDaemonSetUpdateStrategy { /// Rolling update config params. Present only if type = "RollingUpdate". /// --- @@ -331,7 +332,7 @@ pub struct ContourDeploymentEnvoyDaemonSetUpdateStrategy { /// TODO: Update this to follow our convention for oneOf, whatever we decide it /// to be. Same as Deployment `strategy.rollingUpdate`. /// See https://github.com/kubernetes/kubernetes/issues/35345 -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyDaemonSetUpdateStrategyRollingUpdate { /// The maximum number of nodes with an existing available DaemonSet pod that /// can have an updated DaemonSet pod during during an update. @@ -373,7 +374,7 @@ pub struct ContourDeploymentEnvoyDaemonSetUpdateStrategyRollingUpdate { /// Deployment describes the settings for running envoy as a `Deployment`. /// if `WorkloadType` is `DaemonSet`,it's must be nil -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyDeployment { /// Replicas is the desired number of replicas. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -384,7 +385,7 @@ pub struct ContourDeploymentEnvoyDeployment { } /// Strategy describes the deployment strategy to use to replace existing pods with new pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyDeploymentStrategy { /// Rolling update config params. Present only if DeploymentStrategyType = /// RollingUpdate. @@ -403,7 +404,7 @@ pub struct ContourDeploymentEnvoyDeploymentStrategy { /// --- /// TODO: Update this to follow our convention for oneOf, whatever we decide it /// to be. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyDeploymentStrategyRollingUpdate { /// The maximum number of pods that can be scheduled above the desired number of /// pods. @@ -433,7 +434,7 @@ pub struct ContourDeploymentEnvoyDeploymentStrategyRollingUpdate { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumeMounts { /// Path within the container at which the volume should be mounted. Must /// not contain ':'. @@ -480,7 +481,7 @@ pub struct ContourDeploymentEnvoyExtraVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. @@ -622,7 +623,7 @@ pub struct ContourDeploymentEnvoyExtraVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -648,7 +649,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -674,7 +675,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force /// the ReadOnly setting in VolumeMounts. @@ -689,7 +690,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it @@ -718,7 +719,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesCephfs { /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. /// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesCephfsSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -733,7 +734,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesCephfsSecretRef { /// cinder represents a cinder volume attached and mounted on kubelets host machine. /// More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesCinder { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -758,7 +759,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesCinder { /// secretRef is optional: points to a secret object containing parameters used to connect /// to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesCinderSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -772,7 +773,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -807,7 +808,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -827,7 +828,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesCsi { /// driver is the name of the CSI driver that handles this volume. /// Consult with your admin for the correct name as registered in the cluster. @@ -859,7 +860,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesCsi { /// NodePublishVolume and NodeUnpublishVolume calls. /// This field is optional, and may be empty if no secret is required. If the /// secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesCsiNodePublishSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -873,7 +874,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a /// Optional: mode bits used to set permissions on created files by default. @@ -891,7 +892,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -913,7 +914,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -925,7 +926,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesDownwardApiItemsFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -939,7 +940,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesDownwardApiItemsResourceFieldRef { /// emptyDir represents a temporary directory that shares a pod's lifetime. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. /// The default is "" which means to use the node's default medium. @@ -977,7 +978,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesEmptyDir { /// more information. /// A pod can use both types of ephemeral volumes and /// persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. /// The pod in which this EphemeralVolumeSource is embedded will be the @@ -1019,7 +1020,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesEphemeral { /// This field is read-only and no changes will be made by Kubernetes /// to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during @@ -1036,7 +1037,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC /// when creating it. No other fields are allowed and will be rejected during /// validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesEphemeralVolumeClaimTemplateMetadata { } @@ -1044,7 +1045,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesEphemeralVolumeClaimTemplateMetadat /// copied unchanged into the PVC that gets created from this /// template. The same fields as in a PersistentVolumeClaim /// are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 @@ -1130,7 +1131,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesEphemeralVolumeClaimTemplateSpec { /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -1166,7 +1167,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesEphemeralVolumeClaimTemplateSpecDat /// in any namespaces. /// (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. /// If APIGroup is not specified, the specified Kind must be in the core API group. @@ -1189,7 +1190,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesEphemeralVolumeClaimTemplateSpecDat /// that are lower than previous value but must still be higher than capacity recorded in the /// status field of the claim. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesEphemeralVolumeClaimTemplateSpecResources { /// Limits describes the maximum amount of compute resources allowed. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ @@ -1204,7 +1205,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesEphemeralVolumeClaimTemplateSpecRes } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1218,7 +1219,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesEphemeralVolumeClaimTemplateSpecSel /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1234,7 +1235,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesEphemeralVolumeClaimTemplateSpecSel } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesFc { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -1260,7 +1261,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesFc { /// flexVolume represents a generic volume resource that is /// provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -1290,7 +1291,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesFlexVolume { /// empty if no secret object is specified. If the secret object /// contains more than one secret, all secrets are passed to the plugin /// scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesFlexVolumeSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -1304,7 +1305,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker /// should be considered as deprecated @@ -1318,7 +1319,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesFlocker { /// gcePersistentDisk represents a GCE Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -1349,7 +1350,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesGcePersistentDisk { /// DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an /// EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir /// into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesGitRepo { /// directory is the target directory name. /// Must not contain or start with '..'. If '.' is supplied, the volume directory will be the @@ -1366,7 +1367,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesGitRepo { /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. /// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod @@ -1389,7 +1390,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesGlusterfs { /// --- /// TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not /// mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesHostPath { /// path of the directory on the host. /// If the path is a symlink, it will follow the link to the real path. @@ -1405,7 +1406,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesHostPath { /// iscsi represents an ISCSI Disk resource that is attached to a /// kubelet's host machine and then exposed to the pod. /// More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -1451,7 +1452,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesIscsiSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -1466,7 +1467,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesIscsiSecretRef { /// nfs represents an NFS mount on the host that shares a pod's lifetime /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesNfs { /// path that is exported by the NFS server. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs @@ -1484,7 +1485,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesNfs { /// persistentVolumeClaimVolumeSource represents a reference to a /// PersistentVolumeClaim in the same namespace. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. /// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -1497,7 +1498,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -1510,7 +1511,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesPortworxVolume { /// fSType represents the filesystem type to mount /// Must be a filesystem type supported by the host operating system. @@ -1527,7 +1528,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -1543,7 +1544,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesProjectedSources { /// ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field /// of ClusterTrustBundle objects in an auto-updating file. @@ -1581,7 +1582,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesProjectedSources { /// comments and block headers are stripped. Certificates are deduplicated. /// The ordering of certificates within the file is arbitrary, and Kubelet /// may change the order over time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesClusterTrustBundle { /// Select all ClusterTrustBundles that match this label selector. Only has /// effect if signerName is set. Mutually-exclusive with name. If unset, @@ -1613,7 +1614,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesClusterTrustBundle /// effect if signerName is set. Mutually-exclusive with name. If unset, /// interpreted as "match nothing". If set but empty, interpreted as "match /// everything". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesClusterTrustBundleLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1627,7 +1628,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesClusterTrustBundleL /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesClusterTrustBundleLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1643,7 +1644,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesClusterTrustBundleL } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced /// ConfigMap will be projected into the volume as a file whose name is the @@ -1669,7 +1670,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -1689,7 +1690,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1697,7 +1698,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -1719,7 +1720,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1731,7 +1732,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesDownwardApiItemsFie /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1744,7 +1745,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesDownwardApiItemsRes } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced /// Secret will be projected into the volume as a file whose name is the @@ -1770,7 +1771,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -1790,7 +1791,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token /// must identify itself with an identifier specified in the audience of the @@ -1812,7 +1813,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesProjectedSourcesServiceAccountToken } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesQuobyte { /// group to map volume access to /// Default is no group @@ -1840,7 +1841,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesQuobyte { /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. /// More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. /// Tip: Ensure that the filesystem type is supported by the host operating system. @@ -1887,7 +1888,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesRbd { /// overrides keyring. /// Default is nil. /// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesRbdSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -1901,7 +1902,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesScaleIo { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -1942,7 +1943,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesScaleIo { /// secretRef references to the secret for ScaleIO user and other /// sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesScaleIoSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -1957,7 +1958,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesScaleIoSecretRef { /// secret represents a secret that should populate this volume. /// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. /// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. @@ -1987,7 +1988,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesSecretItems { /// key is the key to project. pub key: String, @@ -2007,7 +2008,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesStorageos { /// fsType is the filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -2038,7 +2039,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesStorageos { /// secretRef specifies the secret to use for obtaining the StorageOS API /// credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesStorageosSecretRef { /// Name of the referent. /// This field is effectively required, but due to backwards compatibility is @@ -2052,7 +2053,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyExtraVolumesVsphereVolume { /// fsType is filesystem type to mount. /// Must be a filesystem type supported by the host operating system. @@ -2071,7 +2072,7 @@ pub struct ContourDeploymentEnvoyExtraVolumesVsphereVolume { } /// NetworkPublishing defines how to expose Envoy to a network. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyNetworkPublishing { /// ExternalTrafficPolicy describes how nodes distribute service traffic they /// receive on one of the Service's "externally-facing" addresses (NodePorts, ExternalIPs, @@ -2117,7 +2118,7 @@ pub struct ContourDeploymentEnvoyNetworkPublishing { } /// NodePlacement describes node scheduling configuration of Envoy pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyNodePlacement { /// NodeSelector is the simplest recommended form of node selection constraint /// and specifies a map of key-value pairs. For the pod to be eligible @@ -2139,7 +2140,7 @@ pub struct ContourDeploymentEnvoyNodePlacement { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyNodePlacementTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -2170,7 +2171,7 @@ pub struct ContourDeploymentEnvoyNodePlacementTolerations { /// Compute Resources required by envoy container. /// Cannot be updated. /// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyResources { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -2192,7 +2193,7 @@ pub struct ContourDeploymentEnvoyResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentEnvoyResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -2203,7 +2204,7 @@ pub struct ContourDeploymentEnvoyResourcesClaims { /// RuntimeSettings is a ContourConfiguration spec to be used when /// provisioning a Contour instance that will influence aspects of /// the Contour instance's runtime behavior. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettings { /// Debug contains parameters to enable debug logging /// and debug interfaces inside Contour. @@ -2263,7 +2264,7 @@ pub struct ContourDeploymentRuntimeSettings { /// Debug contains parameters to enable debug logging /// and debug interfaces inside Contour. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsDebug { /// Defines the Contour debug address interface. /// Contour's default is "127.0.0.1". @@ -2277,7 +2278,7 @@ pub struct ContourDeploymentRuntimeSettingsDebug { /// Envoy contains parameters for Envoy as well /// as how to optionally configure a managed Envoy fleet. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsEnvoy { /// ClientCertificate defines the namespace/name of the Kubernetes /// secret containing the client certificate and private key @@ -2336,7 +2337,7 @@ pub struct ContourDeploymentRuntimeSettingsEnvoy { /// secret containing the client certificate and private key /// to be used when establishing TLS connection to upstream /// cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsEnvoyClientCertificate { pub name: String, pub namespace: String, @@ -2344,7 +2345,7 @@ pub struct ContourDeploymentRuntimeSettingsEnvoyClientCertificate { /// Cluster holds various configurable Envoy cluster values that can /// be set in the config file. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsEnvoyCluster { /// GlobalCircuitBreakerDefaults specifies default circuit breaker budget across all services. /// If defined, this will be used as the default for all services. @@ -2385,7 +2386,7 @@ pub struct ContourDeploymentRuntimeSettingsEnvoyCluster { /// GlobalCircuitBreakerDefaults specifies default circuit breaker budget across all services. /// If defined, this will be used as the default for all services. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsEnvoyClusterCircuitBreakers { /// The maximum number of connections that a single Envoy instance allows to the Kubernetes Service; defaults to 1024. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxConnections")] @@ -2402,7 +2403,7 @@ pub struct ContourDeploymentRuntimeSettingsEnvoyClusterCircuitBreakers { } /// UpstreamTLS contains the TLS policy parameters for upstream connections -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsEnvoyClusterUpstreamTls { /// CipherSuites defines the TLS ciphers to be supported by Envoy TLS /// listeners when negotiating TLS 1.2. Ciphers are validated against the @@ -2452,7 +2453,7 @@ pub struct ContourDeploymentRuntimeSettingsEnvoyClusterUpstreamTls { /// Health defines the endpoint Envoy uses to serve health checks. /// Contour's default is { address: "0.0.0.0", port: 8002 }. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsEnvoyHealth { /// Defines the health address interface. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2464,7 +2465,7 @@ pub struct ContourDeploymentRuntimeSettingsEnvoyHealth { /// Defines the HTTP Listener for Envoy. /// Contour's default is { address: "0.0.0.0", port: 8080, accessLog: "/dev/stdout" }. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsEnvoyHttp { /// AccessLog defines where Envoy logs are outputted for this listener. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessLog")] @@ -2479,7 +2480,7 @@ pub struct ContourDeploymentRuntimeSettingsEnvoyHttp { /// Defines the HTTPS Listener for Envoy. /// Contour's default is { address: "0.0.0.0", port: 8443, accessLog: "/dev/stdout" }. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsEnvoyHttps { /// AccessLog defines where Envoy logs are outputted for this listener. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessLog")] @@ -2493,7 +2494,7 @@ pub struct ContourDeploymentRuntimeSettingsEnvoyHttps { } /// Listener hold various configurable Envoy listener values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsEnvoyListener { /// ConnectionBalancer. If the value is exact, the listener will use the exact connection balancer /// See https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/listener.proto#envoy-api-msg-listener-connectionbalanceconfig @@ -2570,7 +2571,7 @@ pub struct ContourDeploymentRuntimeSettingsEnvoyListener { /// SocketOptions defines configurable socket options for the listeners. /// Single set of options are applied to all listeners. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsEnvoyListenerSocketOptions { /// Defines the value for IPv4 TOS field (including 6 bit DSCP field) for IP packets originating from Envoy listeners. /// Single value is applied to all listeners. @@ -2585,7 +2586,7 @@ pub struct ContourDeploymentRuntimeSettingsEnvoyListenerSocketOptions { } /// TLS holds various configurable Envoy TLS listener values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsEnvoyListenerTls { /// CipherSuites defines the TLS ciphers to be supported by Envoy TLS /// listeners when negotiating TLS 1.2. Ciphers are validated against the @@ -2634,7 +2635,7 @@ pub struct ContourDeploymentRuntimeSettingsEnvoyListenerTls { } /// Logging defines how Envoy's logs can be configured. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsEnvoyLogging { /// AccessLogFormat sets the global access log format. /// Values: `envoy` (default), `json`. @@ -2658,7 +2659,7 @@ pub struct ContourDeploymentRuntimeSettingsEnvoyLogging { /// Metrics defines the endpoint Envoy uses to serve metrics. /// Contour's default is { address: "0.0.0.0", port: 8002 }. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsEnvoyMetrics { /// Defines the metrics address interface. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2674,7 +2675,7 @@ pub struct ContourDeploymentRuntimeSettingsEnvoyMetrics { /// TLS holds TLS file config details. /// Metrics and health endpoints cannot have same port number when metrics is served over HTTPS. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsEnvoyMetricsTls { /// CA filename. #[serde(default, skip_serializing_if = "Option::is_none", rename = "caFile")] @@ -2688,7 +2689,7 @@ pub struct ContourDeploymentRuntimeSettingsEnvoyMetricsTls { } /// Network holds various configurable Envoy network values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsEnvoyNetwork { /// Configure the port used to access the Envoy Admin interface. /// If configured to port "0" then the admin interface is disabled. @@ -2707,7 +2708,7 @@ pub struct ContourDeploymentRuntimeSettingsEnvoyNetwork { /// Service holds Envoy service parameters for setting Ingress status. /// Contour's default is { namespace: "projectcontour", name: "envoy" }. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsEnvoyService { pub name: String, pub namespace: String, @@ -2715,7 +2716,7 @@ pub struct ContourDeploymentRuntimeSettingsEnvoyService { /// Timeouts holds various configurable timeouts that can /// be set in the config file. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsEnvoyTimeouts { /// ConnectTimeout defines how long the proxy should wait when establishing connection to upstream service. /// If not set, a default value of 2 seconds will be used. @@ -2774,7 +2775,7 @@ pub struct ContourDeploymentRuntimeSettingsEnvoyTimeouts { /// Gateway contains parameters for the gateway-api Gateway that Contour /// is configured to serve traffic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsGateway { /// GatewayRef defines the specific Gateway that this Contour /// instance corresponds to. @@ -2784,7 +2785,7 @@ pub struct ContourDeploymentRuntimeSettingsGateway { /// GatewayRef defines the specific Gateway that this Contour /// instance corresponds to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsGatewayGatewayRef { pub name: String, pub namespace: String, @@ -2792,7 +2793,7 @@ pub struct ContourDeploymentRuntimeSettingsGatewayGatewayRef { /// GlobalExternalAuthorization allows envoys external authorization filter /// to be enabled for all virtual hosts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsGlobalExtAuth { /// AuthPolicy sets a default authorization policy for client requests. /// This policy will be used unless overridden by individual routes. @@ -2820,7 +2821,7 @@ pub struct ContourDeploymentRuntimeSettingsGlobalExtAuth { /// AuthPolicy sets a default authorization policy for client requests. /// This policy will be used unless overridden by individual routes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsGlobalExtAuthAuthPolicy { /// Context is a set of key/value pairs that are sent to the /// authentication server in the check request. If a context @@ -2836,7 +2837,7 @@ pub struct ContourDeploymentRuntimeSettingsGlobalExtAuthAuthPolicy { } /// ExtensionServiceRef specifies the extension resource that will authorize client requests. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsGlobalExtAuthExtensionRef { /// API version of the referent. /// If this field is not specified, the default "projectcontour.io/v1alpha1" will be used @@ -2854,7 +2855,7 @@ pub struct ContourDeploymentRuntimeSettingsGlobalExtAuthExtensionRef { } /// WithRequestBody specifies configuration for sending the client request's body to authorization server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsGlobalExtAuthWithRequestBody { /// If AllowPartialMessage is true, then Envoy will buffer the body until MaxRequestBytes are reached. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPartialMessage")] @@ -2869,7 +2870,7 @@ pub struct ContourDeploymentRuntimeSettingsGlobalExtAuthWithRequestBody { /// Health defines the endpoints Contour uses to serve health checks. /// Contour's default is { address: "0.0.0.0", port: 8000 }. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsHealth { /// Defines the health address interface. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2880,7 +2881,7 @@ pub struct ContourDeploymentRuntimeSettingsHealth { } /// HTTPProxy defines parameters on HTTPProxy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsHttpproxy { /// DisablePermitInsecure disables the use of the /// permitInsecure field in HTTPProxy. @@ -2898,14 +2899,14 @@ pub struct ContourDeploymentRuntimeSettingsHttpproxy { /// FallbackCertificate defines the namespace/name of the Kubernetes secret to /// use as fallback when a non-SNI request is received. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsHttpproxyFallbackCertificate { pub name: String, pub namespace: String, } /// Ingress contains parameters for ingress options. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsIngress { /// Ingress Class Names Contour should use. #[serde(default, skip_serializing_if = "Option::is_none", rename = "classNames")] @@ -2917,7 +2918,7 @@ pub struct ContourDeploymentRuntimeSettingsIngress { /// Metrics defines the endpoint Contour uses to serve metrics. /// Contour's default is { address: "0.0.0.0", port: 8000 }. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsMetrics { /// Defines the metrics address interface. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2933,7 +2934,7 @@ pub struct ContourDeploymentRuntimeSettingsMetrics { /// TLS holds TLS file config details. /// Metrics and health endpoints cannot have same port number when metrics is served over HTTPS. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsMetricsTls { /// CA filename. #[serde(default, skip_serializing_if = "Option::is_none", rename = "caFile")] @@ -2947,7 +2948,7 @@ pub struct ContourDeploymentRuntimeSettingsMetricsTls { } /// Policy specifies default policy applied if not overridden by the user -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsPolicy { /// ApplyToIngress determines if the Policies will apply to ingress objects /// Contour's default is false. @@ -2962,7 +2963,7 @@ pub struct ContourDeploymentRuntimeSettingsPolicy { } /// RequestHeadersPolicy defines the request headers set/removed on all routes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsPolicyRequestHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub remove: Option>, @@ -2971,7 +2972,7 @@ pub struct ContourDeploymentRuntimeSettingsPolicyRequestHeaders { } /// ResponseHeadersPolicy defines the response headers set/removed on all routes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsPolicyResponseHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub remove: Option>, @@ -2981,7 +2982,7 @@ pub struct ContourDeploymentRuntimeSettingsPolicyResponseHeaders { /// RateLimitService optionally holds properties of the Rate Limit Service /// to be used for global rate limiting. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsRateLimitService { /// DefaultGlobalRateLimitPolicy allows setting a default global rate limit policy for every HTTPProxy. /// HTTPProxy can overwrite this configuration. @@ -3013,7 +3014,7 @@ pub struct ContourDeploymentRuntimeSettingsRateLimitService { /// DefaultGlobalRateLimitPolicy allows setting a default global rate limit policy for every HTTPProxy. /// HTTPProxy can overwrite this configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsRateLimitServiceDefaultGlobalRateLimitPolicy { /// Descriptors defines the list of descriptors that will /// be generated and sent to the rate limit service. Each @@ -3027,7 +3028,7 @@ pub struct ContourDeploymentRuntimeSettingsRateLimitServiceDefaultGlobalRateLimi } /// RateLimitDescriptor defines a list of key-value pair generators. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsRateLimitServiceDefaultGlobalRateLimitPolicyDescriptors { /// Entries is the list of key-value pair generators. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3036,7 +3037,7 @@ pub struct ContourDeploymentRuntimeSettingsRateLimitServiceDefaultGlobalRateLimi /// RateLimitDescriptorEntry is a key-value pair generator. Exactly /// one field on this struct must be non-nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsRateLimitServiceDefaultGlobalRateLimitPolicyDescriptorsEntries { /// GenericKey defines a descriptor entry with a static key and value. #[serde(default, skip_serializing_if = "Option::is_none", rename = "genericKey")] @@ -3058,7 +3059,7 @@ pub struct ContourDeploymentRuntimeSettingsRateLimitServiceDefaultGlobalRateLimi } /// GenericKey defines a descriptor entry with a static key and value. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsRateLimitServiceDefaultGlobalRateLimitPolicyDescriptorsEntriesGenericKey { /// Key defines the key of the descriptor entry. If not set, the /// key is set to "generic_key". @@ -3071,14 +3072,14 @@ pub struct ContourDeploymentRuntimeSettingsRateLimitServiceDefaultGlobalRateLimi /// RemoteAddress defines a descriptor entry with a key of "remote_address" /// and a value equal to the client's IP address (from x-forwarded-for). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsRateLimitServiceDefaultGlobalRateLimitPolicyDescriptorsEntriesRemoteAddress { } /// RequestHeader defines a descriptor entry that's populated only if /// a given header is present on the request. The descriptor key is static, /// and the descriptor value is equal to the value of the header. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsRateLimitServiceDefaultGlobalRateLimitPolicyDescriptorsEntriesRequestHeader { /// DescriptorKey defines the key to use on the descriptor entry. #[serde(default, skip_serializing_if = "Option::is_none", rename = "descriptorKey")] @@ -3091,7 +3092,7 @@ pub struct ContourDeploymentRuntimeSettingsRateLimitServiceDefaultGlobalRateLimi /// RequestHeaderValueMatch defines a descriptor entry that's populated /// if the request's headers match a set of 1+ match criteria. The /// descriptor key is "header_match", and the descriptor value is static. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsRateLimitServiceDefaultGlobalRateLimitPolicyDescriptorsEntriesRequestHeaderValueMatch { /// ExpectMatch defines whether the request must positively match the match /// criteria in order to generate a descriptor entry (i.e. true), or not @@ -3114,7 +3115,7 @@ pub struct ContourDeploymentRuntimeSettingsRateLimitServiceDefaultGlobalRateLimi /// For negative matching rules only (e.g. NotContains or NotExact) you can set /// TreatMissingAsEmpty. /// IgnoreCase has no effect for Regex. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsRateLimitServiceDefaultGlobalRateLimitPolicyDescriptorsEntriesRequestHeaderValueMatchHeaders { /// Contains specifies a substring that must be present in /// the header value. @@ -3162,14 +3163,14 @@ pub struct ContourDeploymentRuntimeSettingsRateLimitServiceDefaultGlobalRateLimi } /// ExtensionService identifies the extension service defining the RLS. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsRateLimitServiceExtensionService { pub name: String, pub namespace: String, } /// Tracing defines properties for exporting trace data to OpenTelemetry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsTracing { /// CustomTags defines a list of custom tags with unique tag name. #[serde(default, skip_serializing_if = "Option::is_none", rename = "customTags")] @@ -3200,7 +3201,7 @@ pub struct ContourDeploymentRuntimeSettingsTracing { /// CustomTag defines custom tags with unique tag name /// to create tags for the active span. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsTracingCustomTags { /// Literal is a static custom tag value. /// Precisely one of Literal, RequestHeaderName must be set. @@ -3217,14 +3218,14 @@ pub struct ContourDeploymentRuntimeSettingsTracingCustomTags { } /// ExtensionService identifies the extension service defining the otel-collector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsTracingExtensionService { pub name: String, pub namespace: String, } /// XDSServer contains parameters for the xDS server. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsXdsServer { /// Defines the xDS gRPC API address which Contour will serve. /// Contour's default is "0.0.0.0". @@ -3247,7 +3248,7 @@ pub struct ContourDeploymentRuntimeSettingsXdsServer { /// TLS holds TLS file config details. /// Contour's default is { caFile: "/certs/ca.crt", certFile: "/certs/tls.cert", keyFile: "/certs/tls.key", insecure: false }. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentRuntimeSettingsXdsServerTls { /// CA filename. #[serde(default, skip_serializing_if = "Option::is_none", rename = "caFile")] @@ -3264,7 +3265,7 @@ pub struct ContourDeploymentRuntimeSettingsXdsServerTls { } /// ContourDeploymentStatus defines the observed state of a ContourDeployment resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ContourDeploymentStatus { /// Conditions describe the current conditions of the ContourDeployment resource. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/projectcontour_io/v1alpha1/extensionservices.rs b/kube-custom-resources-rs/src/projectcontour_io/v1alpha1/extensionservices.rs index 65c8850ab..0db83df06 100644 --- a/kube-custom-resources-rs/src/projectcontour_io/v1alpha1/extensionservices.rs +++ b/kube-custom-resources-rs/src/projectcontour_io/v1alpha1/extensionservices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/extensionservices.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/projectcontour/contour/projectcontour.io/v1alpha1/extensionservices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// ExtensionServiceSpec defines the desired state of an ExtensionService resource. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "projectcontour.io", version = "v1alpha1", kind = "ExtensionService", plural = "extensionservices")] #[kube(namespaced)] #[kube(status = "ExtensionServiceStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ExtensionServiceSpec { /// The policy for load balancing GRPC service requests. Note that the @@ -52,7 +53,7 @@ pub struct ExtensionServiceSpec { /// The policy for load balancing GRPC service requests. Note that the /// `Cookie` and `RequestHash` load balancing strategies cannot be used /// here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ExtensionServiceLoadBalancerPolicy { /// RequestHashPolicies contains a list of hash policies to apply when the /// `RequestHash` load balancing strategy is chosen. If an element of the @@ -73,7 +74,7 @@ pub struct ExtensionServiceLoadBalancerPolicy { /// RequestHashPolicy contains configuration for an individual hash policy /// on a request attribute. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ExtensionServiceLoadBalancerPolicyRequestHashPolicies { /// HashSourceIP should be set to true when request source IP hash based /// load balancing is desired. It must be the only hash option field set, @@ -101,7 +102,7 @@ pub struct ExtensionServiceLoadBalancerPolicyRequestHashPolicies { /// HeaderHashOptions should be set when request header hash based load /// balancing is desired. It must be the only hash option field set, /// otherwise this request hash policy object will be ignored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ExtensionServiceLoadBalancerPolicyRequestHashPoliciesHeaderHashOptions { /// HeaderName is the name of the HTTP request header that will be used to /// calculate the hash key. If the header specified is not present on a @@ -113,7 +114,7 @@ pub struct ExtensionServiceLoadBalancerPolicyRequestHashPoliciesHeaderHashOption /// QueryParameterHashOptions should be set when request query parameter hash based load /// balancing is desired. It must be the only hash option field set, /// otherwise this request hash policy object will be ignored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ExtensionServiceLoadBalancerPolicyRequestHashPoliciesQueryParameterHashOptions { /// ParameterName is the name of the HTTP request query parameter that will be used to /// calculate the hash key. If the query parameter specified is not present on a @@ -140,7 +141,7 @@ pub enum ExtensionServiceProtocolVersion { /// ExtensionServiceTarget defines an Kubernetes Service to target with /// extension service traffic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ExtensionServiceServices { /// Name is the name of Kubernetes service that will accept service /// traffic. @@ -153,7 +154,7 @@ pub struct ExtensionServiceServices { } /// The timeout policy for requests to the services. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ExtensionServiceTimeoutPolicy { /// Timeout for how long the proxy should wait while there is no activity during single request/response (for HTTP/1.1) or stream (for HTTP/2). /// Timeout will not trigger while HTTP/1.1 connection is idle between two consecutive requests. @@ -172,7 +173,7 @@ pub struct ExtensionServiceTimeoutPolicy { } /// UpstreamValidation defines how to verify the backend service's certificate -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ExtensionServiceValidation { /// Name or namespaced name of the Kubernetes secret used to validate the certificate presented by the backend. /// The secret must contain key named ca.crt. @@ -193,7 +194,7 @@ pub struct ExtensionServiceValidation { /// ExtensionServiceStatus defines the observed state of an /// ExtensionService resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ExtensionServiceStatus { /// Conditions contains the current status of the ExtensionService resource. /// Contour will update a single condition, `Valid`, that is in normal-true polarity. diff --git a/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/alertmanagerdefinitions.rs b/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/alertmanagerdefinitions.rs index ff283e1c7..2774f389d 100644 --- a/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/alertmanagerdefinitions.rs +++ b/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/alertmanagerdefinitions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/prometheusservice-controller/prometheusservice.services.k8s.aws/v1alpha1/alertmanagerdefinitions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/prometheusservice-controller/prometheusservice.services.k8s.aws/v1alpha1/alertmanagerdefinitions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/loggingconfigurations.rs b/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/loggingconfigurations.rs index 270779517..1b0b2cfff 100644 --- a/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/loggingconfigurations.rs +++ b/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/loggingconfigurations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/prometheusservice-controller/prometheusservice.services.k8s.aws/v1alpha1/loggingconfigurations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/prometheusservice-controller/prometheusservice.services.k8s.aws/v1alpha1/loggingconfigurations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/rulegroupsnamespaces.rs b/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/rulegroupsnamespaces.rs index 28d6f1101..20fd845bf 100644 --- a/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/rulegroupsnamespaces.rs +++ b/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/rulegroupsnamespaces.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/prometheusservice-controller/prometheusservice.services.k8s.aws/v1alpha1/rulegroupsnamespaces.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/prometheusservice-controller/prometheusservice.services.k8s.aws/v1alpha1/rulegroupsnamespaces.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/workspaces.rs b/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/workspaces.rs index 4ac2d39b6..880e55aad 100644 --- a/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/workspaces.rs +++ b/kube-custom-resources-rs/src/prometheusservice_services_k8s_aws/v1alpha1/workspaces.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/prometheusservice-controller/prometheusservice.services.k8s.aws/v1alpha1/workspaces.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/prometheusservice-controller/prometheusservice.services.k8s.aws/v1alpha1/workspaces.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ps_percona_com/v1alpha1/perconaservermysqlbackups.rs b/kube-custom-resources-rs/src/ps_percona_com/v1alpha1/perconaservermysqlbackups.rs index 2e6caa2c9..4e1067ab5 100644 --- a/kube-custom-resources-rs/src/ps_percona_com/v1alpha1/perconaservermysqlbackups.rs +++ b/kube-custom-resources-rs/src/ps_percona_com/v1alpha1/perconaservermysqlbackups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/percona/percona-server-mysql-operator/ps.percona.com/v1alpha1/perconaservermysqlbackups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/percona/percona-server-mysql-operator/ps.percona.com/v1alpha1/perconaservermysqlbackups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ps_percona_com/v1alpha1/perconaservermysqlrestores.rs b/kube-custom-resources-rs/src/ps_percona_com/v1alpha1/perconaservermysqlrestores.rs index 84862b122..cf590d7e8 100644 --- a/kube-custom-resources-rs/src/ps_percona_com/v1alpha1/perconaservermysqlrestores.rs +++ b/kube-custom-resources-rs/src/ps_percona_com/v1alpha1/perconaservermysqlrestores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/percona/percona-server-mysql-operator/ps.percona.com/v1alpha1/perconaservermysqlrestores.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/percona/percona-server-mysql-operator/ps.percona.com/v1alpha1/perconaservermysqlrestores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ps_percona_com/v1alpha1/perconaservermysqls.rs b/kube-custom-resources-rs/src/ps_percona_com/v1alpha1/perconaservermysqls.rs index 1baa56c44..d2def3ce7 100644 --- a/kube-custom-resources-rs/src/ps_percona_com/v1alpha1/perconaservermysqls.rs +++ b/kube-custom-resources-rs/src/ps_percona_com/v1alpha1/perconaservermysqls.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/percona/percona-server-mysql-operator/ps.percona.com/v1alpha1/perconaservermysqls.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/percona/percona-server-mysql-operator/ps.percona.com/v1alpha1/perconaservermysqls.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "ps.percona.com", version = "v1alpha1", kind = "PerconaServerMySQL", plural = "perconaservermysqls")] #[kube(namespaced)] #[kube(status = "PerconaServerMySQLStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PerconaServerMySQLSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowUnsafeConfigurations")] @@ -57,7 +58,7 @@ pub struct PerconaServerMySQLSpec { pub upgrade_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackup { #[serde(default, skip_serializing_if = "Option::is_none", rename = "backoffLimit")] pub backoff_limit: Option, @@ -80,7 +81,7 @@ pub struct PerconaServerMySQLBackup { pub storages: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -106,7 +107,7 @@ pub struct PerconaServerMySQLBackupContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -114,7 +115,7 @@ pub struct PerconaServerMySQLBackupContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -126,7 +127,7 @@ pub struct PerconaServerMySQLBackupContainerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -134,7 +135,7 @@ pub struct PerconaServerMySQLBackupContainerSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -146,13 +147,13 @@ pub struct PerconaServerMySQLBackupContainerSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -162,12 +163,12 @@ pub struct PerconaServerMySQLBackupResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStorages { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -207,7 +208,7 @@ pub struct PerconaServerMySQLBackupStorages { pub volume_spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -217,7 +218,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -225,13 +226,13 @@ pub struct PerconaServerMySQLBackupStoragesAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: PerconaServerMySQLBackupStoragesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -239,7 +240,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityNodeAffinityPreferredDuringSc pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -247,7 +248,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityNodeAffinityPreferredDuringSc pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -255,13 +256,13 @@ pub struct PerconaServerMySQLBackupStoragesAffinityNodeAffinityPreferredDuringSc pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -269,7 +270,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityNodeAffinityRequiredDuringSch pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -277,7 +278,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityNodeAffinityRequiredDuringSch pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -285,7 +286,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityNodeAffinityRequiredDuringSch pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -293,14 +294,14 @@ pub struct PerconaServerMySQLBackupStoragesAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: PerconaServerMySQLBackupStoragesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -316,7 +317,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityPodAffinityPreferredDuringSch pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -324,7 +325,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityPodAffinityPreferredDuringSch pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -332,7 +333,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityPodAffinityPreferredDuringSch pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -340,7 +341,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityPodAffinityPreferredDuringSch pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -348,7 +349,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityPodAffinityPreferredDuringSch pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -364,7 +365,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityPodAffinityRequiredDuringSche pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -372,7 +373,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityPodAffinityRequiredDuringSche pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -380,7 +381,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityPodAffinityRequiredDuringSche pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -388,7 +389,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityPodAffinityRequiredDuringSche pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -396,7 +397,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityPodAffinityRequiredDuringSche pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -404,14 +405,14 @@ pub struct PerconaServerMySQLBackupStoragesAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: PerconaServerMySQLBackupStoragesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -427,7 +428,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityPodAntiAffinityPreferredDurin pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -435,7 +436,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityPodAntiAffinityPreferredDurin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -443,7 +444,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityPodAntiAffinityPreferredDurin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -451,7 +452,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityPodAntiAffinityPreferredDurin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -459,7 +460,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityPodAntiAffinityPreferredDurin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -475,7 +476,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityPodAntiAffinityRequiredDuring pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -483,7 +484,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityPodAntiAffinityRequiredDuring pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -491,7 +492,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityPodAntiAffinityRequiredDuring pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -499,7 +500,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityPodAntiAffinityRequiredDuring pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -507,7 +508,7 @@ pub struct PerconaServerMySQLBackupStoragesAffinityPodAntiAffinityRequiredDuring pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesAzure { #[serde(rename = "containerName")] pub container_name: String, @@ -521,7 +522,7 @@ pub struct PerconaServerMySQLBackupStoragesAzure { pub storage_class: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -547,7 +548,7 @@ pub struct PerconaServerMySQLBackupStoragesContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -555,7 +556,7 @@ pub struct PerconaServerMySQLBackupStoragesContainerSecurityContextCapabilities pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -567,7 +568,7 @@ pub struct PerconaServerMySQLBackupStoragesContainerSecurityContextSeLinuxOption pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -575,7 +576,7 @@ pub struct PerconaServerMySQLBackupStoragesContainerSecurityContextSeccompProfil pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -587,7 +588,7 @@ pub struct PerconaServerMySQLBackupStoragesContainerSecurityContextWindowsOption pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesGcs { pub bucket: String, #[serde(rename = "credentialsSecret")] @@ -600,7 +601,7 @@ pub struct PerconaServerMySQLBackupStoragesGcs { pub storage_class: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesPodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -624,7 +625,7 @@ pub struct PerconaServerMySQLBackupStoragesPodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesPodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -636,7 +637,7 @@ pub struct PerconaServerMySQLBackupStoragesPodSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesPodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -644,13 +645,13 @@ pub struct PerconaServerMySQLBackupStoragesPodSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesPodSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesPodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -662,7 +663,7 @@ pub struct PerconaServerMySQLBackupStoragesPodSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -672,12 +673,12 @@ pub struct PerconaServerMySQLBackupStoragesResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesS3 { pub bucket: String, #[serde(rename = "credentialsSecret")] @@ -692,7 +693,7 @@ pub struct PerconaServerMySQLBackupStoragesS3 { pub storage_class: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -706,7 +707,7 @@ pub struct PerconaServerMySQLBackupStoragesTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -726,7 +727,7 @@ pub struct PerconaServerMySQLBackupStoragesTopologySpreadConstraints { pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -734,7 +735,7 @@ pub struct PerconaServerMySQLBackupStoragesTopologySpreadConstraintsLabelSelecto pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -742,7 +743,7 @@ pub struct PerconaServerMySQLBackupStoragesTopologySpreadConstraintsLabelSelecto pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesVolumeSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "emptyDir")] pub empty_dir: Option, @@ -752,7 +753,7 @@ pub struct PerconaServerMySQLBackupStoragesVolumeSpec { pub persistent_volume_claim: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesVolumeSpecEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -760,14 +761,14 @@ pub struct PerconaServerMySQLBackupStoragesVolumeSpecEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesVolumeSpecHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesVolumeSpecPersistentVolumeClaim { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -789,7 +790,7 @@ pub struct PerconaServerMySQLBackupStoragesVolumeSpecPersistentVolumeClaim { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesVolumeSpecPersistentVolumeClaimDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -797,7 +798,7 @@ pub struct PerconaServerMySQLBackupStoragesVolumeSpecPersistentVolumeClaimDataSo pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesVolumeSpecPersistentVolumeClaimDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -807,7 +808,7 @@ pub struct PerconaServerMySQLBackupStoragesVolumeSpecPersistentVolumeClaimDataSo pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesVolumeSpecPersistentVolumeClaimResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -815,7 +816,7 @@ pub struct PerconaServerMySQLBackupStoragesVolumeSpecPersistentVolumeClaimResour pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesVolumeSpecPersistentVolumeClaimSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -823,7 +824,7 @@ pub struct PerconaServerMySQLBackupStoragesVolumeSpecPersistentVolumeClaimSelect pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLBackupStoragesVolumeSpecPersistentVolumeClaimSelectorMatchExpressions { pub key: String, pub operator: String, @@ -831,7 +832,7 @@ pub struct PerconaServerMySQLBackupStoragesVolumeSpecPersistentVolumeClaimSelect pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysql { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -898,7 +899,7 @@ pub struct PerconaServerMySQLMysql { pub volume_spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinity { #[serde(default, skip_serializing_if = "Option::is_none")] pub advanced: Option, @@ -906,7 +907,7 @@ pub struct PerconaServerMySQLMysqlAffinity { pub anti_affinity_topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvanced { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -916,7 +917,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvanced { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -924,13 +925,13 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: PerconaServerMySQLMysqlAffinityAdvancedNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -938,7 +939,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedNodeAffinityPreferredDuringSch pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -946,7 +947,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedNodeAffinityPreferredDuringSch pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -954,13 +955,13 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedNodeAffinityPreferredDuringSch pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -968,7 +969,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedNodeAffinityRequiredDuringSche pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -976,7 +977,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedNodeAffinityRequiredDuringSche pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -984,7 +985,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedNodeAffinityRequiredDuringSche pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -992,14 +993,14 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: PerconaServerMySQLMysqlAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1015,7 +1016,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAffinityPreferredDuringSche pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1023,7 +1024,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAffinityPreferredDuringSche pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1031,7 +1032,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAffinityPreferredDuringSche pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1039,7 +1040,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAffinityPreferredDuringSche pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1047,7 +1048,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAffinityPreferredDuringSche pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1063,7 +1064,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAffinityRequiredDuringSched pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1071,7 +1072,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAffinityRequiredDuringSched pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1079,7 +1080,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAffinityRequiredDuringSched pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1087,7 +1088,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAffinityRequiredDuringSched pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1095,7 +1096,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAffinityRequiredDuringSched pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -1103,14 +1104,14 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: PerconaServerMySQLMysqlAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1126,7 +1127,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAntiAffinityPreferredDuring pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1134,7 +1135,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAntiAffinityPreferredDuring pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1142,7 +1143,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAntiAffinityPreferredDuring pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1150,7 +1151,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAntiAffinityPreferredDuring pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1158,7 +1159,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAntiAffinityPreferredDuring pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1174,7 +1175,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAntiAffinityRequiredDuringS pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1182,7 +1183,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAntiAffinityRequiredDuringS pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1190,7 +1191,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAntiAffinityRequiredDuringS pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1198,7 +1199,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAntiAffinityRequiredDuringS pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1206,7 +1207,7 @@ pub struct PerconaServerMySQLMysqlAffinityAdvancedPodAntiAffinityRequiredDuringS pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1232,7 +1233,7 @@ pub struct PerconaServerMySQLMysqlContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1240,7 +1241,7 @@ pub struct PerconaServerMySQLMysqlContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1252,7 +1253,7 @@ pub struct PerconaServerMySQLMysqlContainerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1260,7 +1261,7 @@ pub struct PerconaServerMySQLMysqlContainerSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1272,7 +1273,7 @@ pub struct PerconaServerMySQLMysqlContainerSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1281,7 +1282,7 @@ pub struct PerconaServerMySQLMysqlEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -1293,7 +1294,7 @@ pub struct PerconaServerMySQLMysqlEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1302,7 +1303,7 @@ pub struct PerconaServerMySQLMysqlEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1310,7 +1311,7 @@ pub struct PerconaServerMySQLMysqlEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1319,7 +1320,7 @@ pub struct PerconaServerMySQLMysqlEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1328,7 +1329,7 @@ pub struct PerconaServerMySQLMysqlEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -1338,7 +1339,7 @@ pub struct PerconaServerMySQLMysqlEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1346,7 +1347,7 @@ pub struct PerconaServerMySQLMysqlEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1354,7 +1355,7 @@ pub struct PerconaServerMySQLMysqlEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlExpose { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -1374,13 +1375,13 @@ pub struct PerconaServerMySQLMysqlExpose { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1404,20 +1405,20 @@ pub struct PerconaServerMySQLMysqlLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1430,20 +1431,20 @@ pub struct PerconaServerMySQLMysqlLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlPodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -1467,7 +1468,7 @@ pub struct PerconaServerMySQLMysqlPodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlPodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1479,7 +1480,7 @@ pub struct PerconaServerMySQLMysqlPodSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlPodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1487,13 +1488,13 @@ pub struct PerconaServerMySQLMysqlPodSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlPodSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlPodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1505,7 +1506,7 @@ pub struct PerconaServerMySQLMysqlPodSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1529,20 +1530,20 @@ pub struct PerconaServerMySQLMysqlReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1555,20 +1556,20 @@ pub struct PerconaServerMySQLMysqlReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -1578,18 +1579,18 @@ pub struct PerconaServerMySQLMysqlResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarPvCs { pub name: String, pub spec: PerconaServerMySQLMysqlSidecarPvCsSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarPvCsSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -1611,7 +1612,7 @@ pub struct PerconaServerMySQLMysqlSidecarPvCsSpec { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarPvCsSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -1619,7 +1620,7 @@ pub struct PerconaServerMySQLMysqlSidecarPvCsSpecDataSource { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarPvCsSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -1629,7 +1630,7 @@ pub struct PerconaServerMySQLMysqlSidecarPvCsSpecDataSourceRef { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarPvCsSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -1637,7 +1638,7 @@ pub struct PerconaServerMySQLMysqlSidecarPvCsSpecResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarPvCsSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1645,7 +1646,7 @@ pub struct PerconaServerMySQLMysqlSidecarPvCsSpecSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarPvCsSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1653,7 +1654,7 @@ pub struct PerconaServerMySQLMysqlSidecarPvCsSpecSelectorMatchExpressions { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -1716,7 +1717,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1728,7 +1729,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesAwsElasticBlockStore { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -1744,7 +1745,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -1754,7 +1755,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1769,13 +1770,13 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1787,13 +1788,13 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1805,7 +1806,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1813,7 +1814,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1826,13 +1827,13 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1840,7 +1841,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -1851,7 +1852,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1859,7 +1860,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1868,7 +1869,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesDownwardApiItemsResourceFieldRef pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -1876,24 +1877,24 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: PerconaServerMySQLMysqlSidecarVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesEphemeralVolumeClaimTemplateMetadata { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -1915,7 +1916,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesEphemeralVolumeClaimTemplateSpec pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -1923,7 +1924,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesEphemeralVolumeClaimTemplateSpec pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -1933,7 +1934,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesEphemeralVolumeClaimTemplateSpec pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -1941,7 +1942,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesEphemeralVolumeClaimTemplateSpec pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1949,7 +1950,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesEphemeralVolumeClaimTemplateSpec pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1957,7 +1958,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesEphemeralVolumeClaimTemplateSpec pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1971,7 +1972,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1984,13 +1985,13 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -1998,7 +1999,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2010,7 +2011,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesGcePersistentDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -2019,7 +2020,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -2027,14 +2028,14 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -2058,13 +2059,13 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -2072,7 +2073,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -2080,7 +2081,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesPersistentVolumeClaim { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2088,7 +2089,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesPhotonPersistentDisk { pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2098,7 +2099,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesPortworxVolume { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2106,7 +2107,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterTrustBundle")] pub cluster_trust_bundle: Option, @@ -2120,7 +2121,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSources { pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSourcesClusterTrustBundle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -2133,7 +2134,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSourcesClusterTrustBund pub signer_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSourcesClusterTrustBundleLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2141,7 +2142,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSourcesClusterTrustBund pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSourcesClusterTrustBundleLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2149,7 +2150,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSourcesClusterTrustBund pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -2159,7 +2160,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSourcesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2167,13 +2168,13 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSourcesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -2184,7 +2185,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSourcesDownwardApiItems pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2192,7 +2193,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSourcesDownwardApiItems pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2201,7 +2202,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSourcesDownwardApiItems pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -2211,7 +2212,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSourcesSecret { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2219,7 +2220,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSourcesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -2228,7 +2229,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesProjectedSourcesServiceAccountTo pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -2242,7 +2243,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2260,13 +2261,13 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2288,13 +2289,13 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2306,7 +2307,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2314,7 +2315,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2328,13 +2329,13 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2346,7 +2347,7 @@ pub struct PerconaServerMySQLMysqlSidecarVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecars { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -2397,7 +2398,7 @@ pub struct PerconaServerMySQLMysqlSidecars { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2406,7 +2407,7 @@ pub struct PerconaServerMySQLMysqlSidecarsEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -2418,7 +2419,7 @@ pub struct PerconaServerMySQLMysqlSidecarsEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2427,7 +2428,7 @@ pub struct PerconaServerMySQLMysqlSidecarsEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2435,7 +2436,7 @@ pub struct PerconaServerMySQLMysqlSidecarsEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2444,7 +2445,7 @@ pub struct PerconaServerMySQLMysqlSidecarsEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2453,7 +2454,7 @@ pub struct PerconaServerMySQLMysqlSidecarsEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -2463,7 +2464,7 @@ pub struct PerconaServerMySQLMysqlSidecarsEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2471,7 +2472,7 @@ pub struct PerconaServerMySQLMysqlSidecarsEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2479,7 +2480,7 @@ pub struct PerconaServerMySQLMysqlSidecarsEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -2487,7 +2488,7 @@ pub struct PerconaServerMySQLMysqlSidecarsLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2499,13 +2500,13 @@ pub struct PerconaServerMySQLMysqlSidecarsLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2518,25 +2519,25 @@ pub struct PerconaServerMySQLMysqlSidecarsLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsLifecyclePostStartSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2548,13 +2549,13 @@ pub struct PerconaServerMySQLMysqlSidecarsLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2567,25 +2568,25 @@ pub struct PerconaServerMySQLMysqlSidecarsLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsLifecyclePreStopSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2609,20 +2610,20 @@ pub struct PerconaServerMySQLMysqlSidecarsLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2635,20 +2636,20 @@ pub struct PerconaServerMySQLMysqlSidecarsLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -2662,7 +2663,7 @@ pub struct PerconaServerMySQLMysqlSidecarsPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2686,20 +2687,20 @@ pub struct PerconaServerMySQLMysqlSidecarsReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2712,20 +2713,20 @@ pub struct PerconaServerMySQLMysqlSidecarsReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -2733,7 +2734,7 @@ pub struct PerconaServerMySQLMysqlSidecarsResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2743,12 +2744,12 @@ pub struct PerconaServerMySQLMysqlSidecarsResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -2774,7 +2775,7 @@ pub struct PerconaServerMySQLMysqlSidecarsSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -2782,7 +2783,7 @@ pub struct PerconaServerMySQLMysqlSidecarsSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2794,7 +2795,7 @@ pub struct PerconaServerMySQLMysqlSidecarsSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2802,7 +2803,7 @@ pub struct PerconaServerMySQLMysqlSidecarsSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2814,7 +2815,7 @@ pub struct PerconaServerMySQLMysqlSidecarsSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2838,20 +2839,20 @@ pub struct PerconaServerMySQLMysqlSidecarsStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2864,27 +2865,27 @@ pub struct PerconaServerMySQLMysqlSidecarsStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlSidecarsVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -2899,7 +2900,7 @@ pub struct PerconaServerMySQLMysqlSidecarsVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2923,20 +2924,20 @@ pub struct PerconaServerMySQLMysqlStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2949,20 +2950,20 @@ pub struct PerconaServerMySQLMysqlStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -2976,7 +2977,7 @@ pub struct PerconaServerMySQLMysqlTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -2996,7 +2997,7 @@ pub struct PerconaServerMySQLMysqlTopologySpreadConstraints { pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3004,7 +3005,7 @@ pub struct PerconaServerMySQLMysqlTopologySpreadConstraintsLabelSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3012,7 +3013,7 @@ pub struct PerconaServerMySQLMysqlTopologySpreadConstraintsLabelSelectorMatchExp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlVolumeSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "emptyDir")] pub empty_dir: Option, @@ -3022,7 +3023,7 @@ pub struct PerconaServerMySQLMysqlVolumeSpec { pub persistent_volume_claim: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlVolumeSpecEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -3030,14 +3031,14 @@ pub struct PerconaServerMySQLMysqlVolumeSpecEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlVolumeSpecHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlVolumeSpecPersistentVolumeClaim { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -3059,7 +3060,7 @@ pub struct PerconaServerMySQLMysqlVolumeSpecPersistentVolumeClaim { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlVolumeSpecPersistentVolumeClaimDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -3067,7 +3068,7 @@ pub struct PerconaServerMySQLMysqlVolumeSpecPersistentVolumeClaimDataSource { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlVolumeSpecPersistentVolumeClaimDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -3077,7 +3078,7 @@ pub struct PerconaServerMySQLMysqlVolumeSpecPersistentVolumeClaimDataSourceRef { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlVolumeSpecPersistentVolumeClaimResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -3085,7 +3086,7 @@ pub struct PerconaServerMySQLMysqlVolumeSpecPersistentVolumeClaimResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlVolumeSpecPersistentVolumeClaimSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3093,7 +3094,7 @@ pub struct PerconaServerMySQLMysqlVolumeSpecPersistentVolumeClaimSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLMysqlVolumeSpecPersistentVolumeClaimSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3101,7 +3102,7 @@ pub struct PerconaServerMySQLMysqlVolumeSpecPersistentVolumeClaimSelectorMatchEx pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestrator { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -3160,7 +3161,7 @@ pub struct PerconaServerMySQLOrchestrator { pub volume_spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinity { #[serde(default, skip_serializing_if = "Option::is_none")] pub advanced: Option, @@ -3168,7 +3169,7 @@ pub struct PerconaServerMySQLOrchestratorAffinity { pub anti_affinity_topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvanced { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -3178,7 +3179,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvanced { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3186,13 +3187,13 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: PerconaServerMySQLOrchestratorAffinityAdvancedNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3200,7 +3201,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedNodeAffinityPreferredDu pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -3208,7 +3209,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedNodeAffinityPreferredDu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -3216,13 +3217,13 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedNodeAffinityPreferredDu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3230,7 +3231,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedNodeAffinityRequiredDur pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -3238,7 +3239,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedNodeAffinityRequiredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -3246,7 +3247,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedNodeAffinityRequiredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3254,14 +3255,14 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: PerconaServerMySQLOrchestratorAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3277,7 +3278,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAffinityPreferredDur pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3285,7 +3286,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAffinityPreferredDur pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3293,7 +3294,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAffinityPreferredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3301,7 +3302,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAffinityPreferredDur pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3309,7 +3310,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAffinityPreferredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3325,7 +3326,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAffinityRequiredDuri pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3333,7 +3334,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAffinityRequiredDuri pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3341,7 +3342,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAffinityRequiredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3349,7 +3350,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAffinityRequiredDuri pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3357,7 +3358,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAffinityRequiredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3365,14 +3366,14 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: PerconaServerMySQLOrchestratorAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3388,7 +3389,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAntiAffinityPreferre pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3396,7 +3397,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAntiAffinityPreferre pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3404,7 +3405,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAntiAffinityPreferre pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3412,7 +3413,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAntiAffinityPreferre pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3420,7 +3421,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAntiAffinityPreferre pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3436,7 +3437,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAntiAffinityRequired pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3444,7 +3445,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAntiAffinityRequired pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3452,7 +3453,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAntiAffinityRequired pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3460,7 +3461,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAntiAffinityRequired pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3468,7 +3469,7 @@ pub struct PerconaServerMySQLOrchestratorAffinityAdvancedPodAntiAffinityRequired pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -3494,7 +3495,7 @@ pub struct PerconaServerMySQLOrchestratorContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -3502,7 +3503,7 @@ pub struct PerconaServerMySQLOrchestratorContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -3514,7 +3515,7 @@ pub struct PerconaServerMySQLOrchestratorContainerSecurityContextSeLinuxOptions pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -3522,7 +3523,7 @@ pub struct PerconaServerMySQLOrchestratorContainerSecurityContextSeccompProfile pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -3534,7 +3535,7 @@ pub struct PerconaServerMySQLOrchestratorContainerSecurityContextWindowsOptions pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3543,7 +3544,7 @@ pub struct PerconaServerMySQLOrchestratorEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -3555,7 +3556,7 @@ pub struct PerconaServerMySQLOrchestratorEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3564,7 +3565,7 @@ pub struct PerconaServerMySQLOrchestratorEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3572,7 +3573,7 @@ pub struct PerconaServerMySQLOrchestratorEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3581,7 +3582,7 @@ pub struct PerconaServerMySQLOrchestratorEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3590,7 +3591,7 @@ pub struct PerconaServerMySQLOrchestratorEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -3600,7 +3601,7 @@ pub struct PerconaServerMySQLOrchestratorEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3608,7 +3609,7 @@ pub struct PerconaServerMySQLOrchestratorEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3616,7 +3617,7 @@ pub struct PerconaServerMySQLOrchestratorEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorExpose { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3634,13 +3635,13 @@ pub struct PerconaServerMySQLOrchestratorExpose { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3664,20 +3665,20 @@ pub struct PerconaServerMySQLOrchestratorLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3690,20 +3691,20 @@ pub struct PerconaServerMySQLOrchestratorLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorPodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -3727,7 +3728,7 @@ pub struct PerconaServerMySQLOrchestratorPodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorPodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -3739,7 +3740,7 @@ pub struct PerconaServerMySQLOrchestratorPodSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorPodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -3747,13 +3748,13 @@ pub struct PerconaServerMySQLOrchestratorPodSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorPodSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorPodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -3765,7 +3766,7 @@ pub struct PerconaServerMySQLOrchestratorPodSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3789,20 +3790,20 @@ pub struct PerconaServerMySQLOrchestratorReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3815,20 +3816,20 @@ pub struct PerconaServerMySQLOrchestratorReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -3838,12 +3839,12 @@ pub struct PerconaServerMySQLOrchestratorResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3867,20 +3868,20 @@ pub struct PerconaServerMySQLOrchestratorStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3893,20 +3894,20 @@ pub struct PerconaServerMySQLOrchestratorStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -3920,7 +3921,7 @@ pub struct PerconaServerMySQLOrchestratorTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3940,7 +3941,7 @@ pub struct PerconaServerMySQLOrchestratorTopologySpreadConstraints { pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3948,7 +3949,7 @@ pub struct PerconaServerMySQLOrchestratorTopologySpreadConstraintsLabelSelector pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3956,7 +3957,7 @@ pub struct PerconaServerMySQLOrchestratorTopologySpreadConstraintsLabelSelectorM pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorVolumeSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "emptyDir")] pub empty_dir: Option, @@ -3966,7 +3967,7 @@ pub struct PerconaServerMySQLOrchestratorVolumeSpec { pub persistent_volume_claim: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorVolumeSpecEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -3974,14 +3975,14 @@ pub struct PerconaServerMySQLOrchestratorVolumeSpecEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorVolumeSpecHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorVolumeSpecPersistentVolumeClaim { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -4003,7 +4004,7 @@ pub struct PerconaServerMySQLOrchestratorVolumeSpecPersistentVolumeClaim { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorVolumeSpecPersistentVolumeClaimDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -4011,7 +4012,7 @@ pub struct PerconaServerMySQLOrchestratorVolumeSpecPersistentVolumeClaimDataSour pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorVolumeSpecPersistentVolumeClaimDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -4021,7 +4022,7 @@ pub struct PerconaServerMySQLOrchestratorVolumeSpecPersistentVolumeClaimDataSour pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorVolumeSpecPersistentVolumeClaimResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -4029,7 +4030,7 @@ pub struct PerconaServerMySQLOrchestratorVolumeSpecPersistentVolumeClaimResource pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorVolumeSpecPersistentVolumeClaimSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4037,7 +4038,7 @@ pub struct PerconaServerMySQLOrchestratorVolumeSpecPersistentVolumeClaimSelector pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLOrchestratorVolumeSpecPersistentVolumeClaimSelectorMatchExpressions { pub key: String, pub operator: String, @@ -4045,7 +4046,7 @@ pub struct PerconaServerMySQLOrchestratorVolumeSpecPersistentVolumeClaimSelector pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLPmm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerSecurityContext")] pub container_security_context: Option, @@ -4064,7 +4065,7 @@ pub struct PerconaServerMySQLPmm { pub server_user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLPmmContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -4090,7 +4091,7 @@ pub struct PerconaServerMySQLPmmContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLPmmContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -4098,7 +4099,7 @@ pub struct PerconaServerMySQLPmmContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLPmmContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -4110,7 +4111,7 @@ pub struct PerconaServerMySQLPmmContainerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLPmmContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -4118,7 +4119,7 @@ pub struct PerconaServerMySQLPmmContainerSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLPmmContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4130,7 +4131,7 @@ pub struct PerconaServerMySQLPmmContainerSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLPmmResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -4140,12 +4141,12 @@ pub struct PerconaServerMySQLPmmResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLPmmResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxy { #[serde(default, skip_serializing_if = "Option::is_none")] pub haproxy: Option, @@ -4153,7 +4154,7 @@ pub struct PerconaServerMySQLProxy { pub router: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxy { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -4212,7 +4213,7 @@ pub struct PerconaServerMySQLProxyHaproxy { pub volume_spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinity { #[serde(default, skip_serializing_if = "Option::is_none")] pub advanced: Option, @@ -4220,7 +4221,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinity { pub anti_affinity_topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvanced { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -4230,7 +4231,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvanced { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -4238,13 +4239,13 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: PerconaServerMySQLProxyHaproxyAffinityAdvancedNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4252,7 +4253,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedNodeAffinityPreferredDu pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -4260,7 +4261,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedNodeAffinityPreferredDu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -4268,13 +4269,13 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedNodeAffinityPreferredDu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4282,7 +4283,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedNodeAffinityRequiredDur pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -4290,7 +4291,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedNodeAffinityRequiredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -4298,7 +4299,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedNodeAffinityRequiredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -4306,14 +4307,14 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -4329,7 +4330,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAffinityPreferredDur pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4337,7 +4338,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAffinityPreferredDur pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -4345,7 +4346,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAffinityPreferredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4353,7 +4354,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAffinityPreferredDur pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -4361,7 +4362,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAffinityPreferredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -4377,7 +4378,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAffinityRequiredDuri pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4385,7 +4386,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAffinityRequiredDuri pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -4393,7 +4394,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAffinityRequiredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4401,7 +4402,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAffinityRequiredDuri pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -4409,7 +4410,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAffinityRequiredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -4417,14 +4418,14 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -4440,7 +4441,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAntiAffinityPreferre pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4448,7 +4449,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAntiAffinityPreferre pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -4456,7 +4457,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAntiAffinityPreferre pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4464,7 +4465,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAntiAffinityPreferre pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -4472,7 +4473,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAntiAffinityPreferre pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -4488,7 +4489,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAntiAffinityRequired pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4496,7 +4497,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAntiAffinityRequired pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -4504,7 +4505,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAntiAffinityRequired pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4512,7 +4513,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAntiAffinityRequired pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -4520,7 +4521,7 @@ pub struct PerconaServerMySQLProxyHaproxyAffinityAdvancedPodAntiAffinityRequired pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -4546,7 +4547,7 @@ pub struct PerconaServerMySQLProxyHaproxyContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -4554,7 +4555,7 @@ pub struct PerconaServerMySQLProxyHaproxyContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -4566,7 +4567,7 @@ pub struct PerconaServerMySQLProxyHaproxyContainerSecurityContextSeLinuxOptions pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -4574,7 +4575,7 @@ pub struct PerconaServerMySQLProxyHaproxyContainerSecurityContextSeccompProfile pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4586,7 +4587,7 @@ pub struct PerconaServerMySQLProxyHaproxyContainerSecurityContextWindowsOptions pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4595,7 +4596,7 @@ pub struct PerconaServerMySQLProxyHaproxyEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -4607,7 +4608,7 @@ pub struct PerconaServerMySQLProxyHaproxyEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4616,7 +4617,7 @@ pub struct PerconaServerMySQLProxyHaproxyEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4624,7 +4625,7 @@ pub struct PerconaServerMySQLProxyHaproxyEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4633,7 +4634,7 @@ pub struct PerconaServerMySQLProxyHaproxyEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4642,7 +4643,7 @@ pub struct PerconaServerMySQLProxyHaproxyEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -4652,7 +4653,7 @@ pub struct PerconaServerMySQLProxyHaproxyEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4660,7 +4661,7 @@ pub struct PerconaServerMySQLProxyHaproxyEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4668,7 +4669,7 @@ pub struct PerconaServerMySQLProxyHaproxyEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyExpose { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -4686,13 +4687,13 @@ pub struct PerconaServerMySQLProxyHaproxyExpose { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4716,20 +4717,20 @@ pub struct PerconaServerMySQLProxyHaproxyLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4742,20 +4743,20 @@ pub struct PerconaServerMySQLProxyHaproxyLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyPodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -4779,7 +4780,7 @@ pub struct PerconaServerMySQLProxyHaproxyPodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyPodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -4791,7 +4792,7 @@ pub struct PerconaServerMySQLProxyHaproxyPodSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyPodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -4799,13 +4800,13 @@ pub struct PerconaServerMySQLProxyHaproxyPodSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyPodSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyPodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4817,7 +4818,7 @@ pub struct PerconaServerMySQLProxyHaproxyPodSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4841,20 +4842,20 @@ pub struct PerconaServerMySQLProxyHaproxyReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4867,20 +4868,20 @@ pub struct PerconaServerMySQLProxyHaproxyReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -4890,12 +4891,12 @@ pub struct PerconaServerMySQLProxyHaproxyResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4919,20 +4920,20 @@ pub struct PerconaServerMySQLProxyHaproxyStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4945,20 +4946,20 @@ pub struct PerconaServerMySQLProxyHaproxyStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -4972,7 +4973,7 @@ pub struct PerconaServerMySQLProxyHaproxyTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -4992,7 +4993,7 @@ pub struct PerconaServerMySQLProxyHaproxyTopologySpreadConstraints { pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5000,7 +5001,7 @@ pub struct PerconaServerMySQLProxyHaproxyTopologySpreadConstraintsLabelSelector pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5008,7 +5009,7 @@ pub struct PerconaServerMySQLProxyHaproxyTopologySpreadConstraintsLabelSelectorM pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyVolumeSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "emptyDir")] pub empty_dir: Option, @@ -5018,7 +5019,7 @@ pub struct PerconaServerMySQLProxyHaproxyVolumeSpec { pub persistent_volume_claim: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyVolumeSpecEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -5026,14 +5027,14 @@ pub struct PerconaServerMySQLProxyHaproxyVolumeSpecEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyVolumeSpecHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyVolumeSpecPersistentVolumeClaim { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -5055,7 +5056,7 @@ pub struct PerconaServerMySQLProxyHaproxyVolumeSpecPersistentVolumeClaim { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyVolumeSpecPersistentVolumeClaimDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -5063,7 +5064,7 @@ pub struct PerconaServerMySQLProxyHaproxyVolumeSpecPersistentVolumeClaimDataSour pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyVolumeSpecPersistentVolumeClaimDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -5073,7 +5074,7 @@ pub struct PerconaServerMySQLProxyHaproxyVolumeSpecPersistentVolumeClaimDataSour pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyVolumeSpecPersistentVolumeClaimResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -5081,7 +5082,7 @@ pub struct PerconaServerMySQLProxyHaproxyVolumeSpecPersistentVolumeClaimResource pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyVolumeSpecPersistentVolumeClaimSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5089,7 +5090,7 @@ pub struct PerconaServerMySQLProxyHaproxyVolumeSpecPersistentVolumeClaimSelector pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyHaproxyVolumeSpecPersistentVolumeClaimSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5097,7 +5098,7 @@ pub struct PerconaServerMySQLProxyHaproxyVolumeSpecPersistentVolumeClaimSelector pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouter { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -5156,7 +5157,7 @@ pub struct PerconaServerMySQLProxyRouter { pub volume_spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinity { #[serde(default, skip_serializing_if = "Option::is_none")] pub advanced: Option, @@ -5164,7 +5165,7 @@ pub struct PerconaServerMySQLProxyRouterAffinity { pub anti_affinity_topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvanced { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -5174,7 +5175,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvanced { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -5182,13 +5183,13 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: PerconaServerMySQLProxyRouterAffinityAdvancedNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5196,7 +5197,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedNodeAffinityPreferredDur pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -5204,7 +5205,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedNodeAffinityPreferredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -5212,13 +5213,13 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedNodeAffinityPreferredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5226,7 +5227,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedNodeAffinityRequiredDuri pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -5234,7 +5235,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedNodeAffinityRequiredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -5242,7 +5243,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedNodeAffinityRequiredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -5250,14 +5251,14 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: PerconaServerMySQLProxyRouterAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5273,7 +5274,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAffinityPreferredDuri pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5281,7 +5282,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAffinityPreferredDuri pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5289,7 +5290,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAffinityPreferredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5297,7 +5298,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAffinityPreferredDuri pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5305,7 +5306,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAffinityPreferredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5321,7 +5322,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAffinityRequiredDurin pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5329,7 +5330,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAffinityRequiredDurin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5337,7 +5338,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAffinityRequiredDurin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5345,7 +5346,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAffinityRequiredDurin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5353,7 +5354,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAffinityRequiredDurin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -5361,14 +5362,14 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: PerconaServerMySQLProxyRouterAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5384,7 +5385,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAntiAffinityPreferred pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5392,7 +5393,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAntiAffinityPreferred pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5400,7 +5401,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAntiAffinityPreferred pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5408,7 +5409,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAntiAffinityPreferred pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5416,7 +5417,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAntiAffinityPreferred pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5432,7 +5433,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAntiAffinityRequiredD pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5440,7 +5441,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAntiAffinityRequiredD pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5448,7 +5449,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAntiAffinityRequiredD pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5456,7 +5457,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAntiAffinityRequiredD pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5464,7 +5465,7 @@ pub struct PerconaServerMySQLProxyRouterAffinityAdvancedPodAntiAffinityRequiredD pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -5490,7 +5491,7 @@ pub struct PerconaServerMySQLProxyRouterContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -5498,7 +5499,7 @@ pub struct PerconaServerMySQLProxyRouterContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5510,7 +5511,7 @@ pub struct PerconaServerMySQLProxyRouterContainerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5518,7 +5519,7 @@ pub struct PerconaServerMySQLProxyRouterContainerSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5530,7 +5531,7 @@ pub struct PerconaServerMySQLProxyRouterContainerSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5539,7 +5540,7 @@ pub struct PerconaServerMySQLProxyRouterEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -5551,7 +5552,7 @@ pub struct PerconaServerMySQLProxyRouterEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5560,7 +5561,7 @@ pub struct PerconaServerMySQLProxyRouterEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -5568,7 +5569,7 @@ pub struct PerconaServerMySQLProxyRouterEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -5577,7 +5578,7 @@ pub struct PerconaServerMySQLProxyRouterEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5586,7 +5587,7 @@ pub struct PerconaServerMySQLProxyRouterEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -5596,7 +5597,7 @@ pub struct PerconaServerMySQLProxyRouterEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -5604,7 +5605,7 @@ pub struct PerconaServerMySQLProxyRouterEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -5612,7 +5613,7 @@ pub struct PerconaServerMySQLProxyRouterEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterExpose { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -5630,13 +5631,13 @@ pub struct PerconaServerMySQLProxyRouterExpose { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5660,20 +5661,20 @@ pub struct PerconaServerMySQLProxyRouterLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5686,20 +5687,20 @@ pub struct PerconaServerMySQLProxyRouterLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterPodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -5723,7 +5724,7 @@ pub struct PerconaServerMySQLProxyRouterPodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterPodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5735,7 +5736,7 @@ pub struct PerconaServerMySQLProxyRouterPodSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterPodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5743,13 +5744,13 @@ pub struct PerconaServerMySQLProxyRouterPodSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterPodSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterPodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5761,7 +5762,7 @@ pub struct PerconaServerMySQLProxyRouterPodSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5785,20 +5786,20 @@ pub struct PerconaServerMySQLProxyRouterReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5811,20 +5812,20 @@ pub struct PerconaServerMySQLProxyRouterReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -5834,12 +5835,12 @@ pub struct PerconaServerMySQLProxyRouterResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5863,20 +5864,20 @@ pub struct PerconaServerMySQLProxyRouterStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5889,20 +5890,20 @@ pub struct PerconaServerMySQLProxyRouterStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -5916,7 +5917,7 @@ pub struct PerconaServerMySQLProxyRouterTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5936,7 +5937,7 @@ pub struct PerconaServerMySQLProxyRouterTopologySpreadConstraints { pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5944,7 +5945,7 @@ pub struct PerconaServerMySQLProxyRouterTopologySpreadConstraintsLabelSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5952,7 +5953,7 @@ pub struct PerconaServerMySQLProxyRouterTopologySpreadConstraintsLabelSelectorMa pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterVolumeSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "emptyDir")] pub empty_dir: Option, @@ -5962,7 +5963,7 @@ pub struct PerconaServerMySQLProxyRouterVolumeSpec { pub persistent_volume_claim: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterVolumeSpecEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -5970,14 +5971,14 @@ pub struct PerconaServerMySQLProxyRouterVolumeSpecEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterVolumeSpecHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterVolumeSpecPersistentVolumeClaim { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -5999,7 +6000,7 @@ pub struct PerconaServerMySQLProxyRouterVolumeSpecPersistentVolumeClaim { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterVolumeSpecPersistentVolumeClaimDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -6007,7 +6008,7 @@ pub struct PerconaServerMySQLProxyRouterVolumeSpecPersistentVolumeClaimDataSourc pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterVolumeSpecPersistentVolumeClaimDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -6017,7 +6018,7 @@ pub struct PerconaServerMySQLProxyRouterVolumeSpecPersistentVolumeClaimDataSourc pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterVolumeSpecPersistentVolumeClaimResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -6025,7 +6026,7 @@ pub struct PerconaServerMySQLProxyRouterVolumeSpecPersistentVolumeClaimResources pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterVolumeSpecPersistentVolumeClaimSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6033,7 +6034,7 @@ pub struct PerconaServerMySQLProxyRouterVolumeSpecPersistentVolumeClaimSelector pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLProxyRouterVolumeSpecPersistentVolumeClaimSelectorMatchExpressions { pub key: String, pub operator: String, @@ -6041,7 +6042,7 @@ pub struct PerconaServerMySQLProxyRouterVolumeSpecPersistentVolumeClaimSelectorM pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLTls { #[serde(default, skip_serializing_if = "Option::is_none", rename = "SANs")] pub sa_ns: Option>, @@ -6049,7 +6050,7 @@ pub struct PerconaServerMySQLTls { pub issuer_conf: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLTlsIssuerConf { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -6058,7 +6059,7 @@ pub struct PerconaServerMySQLTlsIssuerConf { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkit { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerSecurityContext")] pub container_security_context: Option, @@ -6081,7 +6082,7 @@ pub struct PerconaServerMySQLToolkit { pub startup_probe: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -6107,7 +6108,7 @@ pub struct PerconaServerMySQLToolkitContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -6115,7 +6116,7 @@ pub struct PerconaServerMySQLToolkitContainerSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -6127,7 +6128,7 @@ pub struct PerconaServerMySQLToolkitContainerSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -6135,7 +6136,7 @@ pub struct PerconaServerMySQLToolkitContainerSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -6147,7 +6148,7 @@ pub struct PerconaServerMySQLToolkitContainerSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6156,7 +6157,7 @@ pub struct PerconaServerMySQLToolkitEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -6168,7 +6169,7 @@ pub struct PerconaServerMySQLToolkitEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6177,7 +6178,7 @@ pub struct PerconaServerMySQLToolkitEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -6185,7 +6186,7 @@ pub struct PerconaServerMySQLToolkitEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -6194,7 +6195,7 @@ pub struct PerconaServerMySQLToolkitEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6203,7 +6204,7 @@ pub struct PerconaServerMySQLToolkitEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -6213,7 +6214,7 @@ pub struct PerconaServerMySQLToolkitEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -6221,7 +6222,7 @@ pub struct PerconaServerMySQLToolkitEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -6229,13 +6230,13 @@ pub struct PerconaServerMySQLToolkitEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -6259,20 +6260,20 @@ pub struct PerconaServerMySQLToolkitLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -6285,20 +6286,20 @@ pub struct PerconaServerMySQLToolkitLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -6322,20 +6323,20 @@ pub struct PerconaServerMySQLToolkitReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -6348,20 +6349,20 @@ pub struct PerconaServerMySQLToolkitReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -6371,12 +6372,12 @@ pub struct PerconaServerMySQLToolkitResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -6400,20 +6401,20 @@ pub struct PerconaServerMySQLToolkitStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -6426,20 +6427,20 @@ pub struct PerconaServerMySQLToolkitStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLToolkitStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLUpgradeOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub apply: Option, @@ -6447,7 +6448,7 @@ pub struct PerconaServerMySQLUpgradeOptions { pub version_service_endpoint: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "backupVersion")] pub backup_version: Option, @@ -6471,7 +6472,7 @@ pub struct PerconaServerMySQLStatus { pub toolkit_version: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLStatusHaproxy { #[serde(default, skip_serializing_if = "Option::is_none")] pub ready: Option, @@ -6483,7 +6484,7 @@ pub struct PerconaServerMySQLStatusHaproxy { pub version: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLStatusMysql { #[serde(default, skip_serializing_if = "Option::is_none")] pub ready: Option, @@ -6495,7 +6496,7 @@ pub struct PerconaServerMySQLStatusMysql { pub version: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLStatusOrchestrator { #[serde(default, skip_serializing_if = "Option::is_none")] pub ready: Option, @@ -6507,7 +6508,7 @@ pub struct PerconaServerMySQLStatusOrchestrator { pub version: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaServerMySQLStatusRouter { #[serde(default, skip_serializing_if = "Option::is_none")] pub ready: Option, diff --git a/kube-custom-resources-rs/src/psmdb_percona_com/v1/perconaservermongodbbackups.rs b/kube-custom-resources-rs/src/psmdb_percona_com/v1/perconaservermongodbbackups.rs index d281d6799..e32025977 100644 --- a/kube-custom-resources-rs/src/psmdb_percona_com/v1/perconaservermongodbbackups.rs +++ b/kube-custom-resources-rs/src/psmdb_percona_com/v1/perconaservermongodbbackups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/percona/percona-server-mongodb-operator/psmdb.percona.com/v1/perconaservermongodbbackups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/percona/percona-server-mongodb-operator/psmdb.percona.com/v1/perconaservermongodbbackups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/psmdb_percona_com/v1/perconaservermongodbrestores.rs b/kube-custom-resources-rs/src/psmdb_percona_com/v1/perconaservermongodbrestores.rs index ac1d7a20b..476be6bbe 100644 --- a/kube-custom-resources-rs/src/psmdb_percona_com/v1/perconaservermongodbrestores.rs +++ b/kube-custom-resources-rs/src/psmdb_percona_com/v1/perconaservermongodbrestores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/percona/percona-server-mongodb-operator/psmdb.percona.com/v1/perconaservermongodbrestores.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/percona/percona-server-mongodb-operator/psmdb.percona.com/v1/perconaservermongodbrestores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ptp_openshift_io/v1/nodeptpdevices.rs b/kube-custom-resources-rs/src/ptp_openshift_io/v1/nodeptpdevices.rs index 8e69b76de..c463b68b9 100644 --- a/kube-custom-resources-rs/src/ptp_openshift_io/v1/nodeptpdevices.rs +++ b/kube-custom-resources-rs/src/ptp_openshift_io/v1/nodeptpdevices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/openshift/ptp-operator/ptp.openshift.io/v1/nodeptpdevices.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/openshift/ptp-operator/ptp.openshift.io/v1/nodeptpdevices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/pxc_percona_com/v1/perconaxtradbclusterbackups.rs b/kube-custom-resources-rs/src/pxc_percona_com/v1/perconaxtradbclusterbackups.rs index 8871f6817..1cb45088a 100644 --- a/kube-custom-resources-rs/src/pxc_percona_com/v1/perconaxtradbclusterbackups.rs +++ b/kube-custom-resources-rs/src/pxc_percona_com/v1/perconaxtradbclusterbackups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/percona/percona-xtradb-cluster-operator/pxc.percona.com/v1/perconaxtradbclusterbackups.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/percona/percona-xtradb-cluster-operator/pxc.percona.com/v1/perconaxtradbclusterbackups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "pxc.percona.com", version = "v1", kind = "PerconaXtraDBClusterBackup", plural = "perconaxtradbclusterbackups")] #[kube(namespaced)] #[kube(status = "PerconaXtraDBClusterBackupStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PerconaXtraDBClusterBackupSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerOptions")] @@ -26,7 +27,7 @@ pub struct PerconaXtraDBClusterBackupSpec { pub storage_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterBackupContainerOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option, @@ -34,7 +35,7 @@ pub struct PerconaXtraDBClusterBackupContainerOptions { pub env: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterBackupContainerOptionsArgs { #[serde(default, skip_serializing_if = "Option::is_none")] pub xbcloud: Option>, @@ -44,7 +45,7 @@ pub struct PerconaXtraDBClusterBackupContainerOptionsArgs { pub xtrabackup: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterBackupContainerOptionsEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -53,7 +54,7 @@ pub struct PerconaXtraDBClusterBackupContainerOptionsEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterBackupContainerOptionsEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -65,7 +66,7 @@ pub struct PerconaXtraDBClusterBackupContainerOptionsEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterBackupContainerOptionsEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -74,7 +75,7 @@ pub struct PerconaXtraDBClusterBackupContainerOptionsEnvValueFromConfigMapKeyRef pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterBackupContainerOptionsEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -82,7 +83,7 @@ pub struct PerconaXtraDBClusterBackupContainerOptionsEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterBackupContainerOptionsEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -91,7 +92,7 @@ pub struct PerconaXtraDBClusterBackupContainerOptionsEnvValueFromResourceFieldRe pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterBackupContainerOptionsEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -100,7 +101,7 @@ pub struct PerconaXtraDBClusterBackupContainerOptionsEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterBackupStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub azure: Option, @@ -134,7 +135,7 @@ pub struct PerconaXtraDBClusterBackupStatus { pub verify_tls: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterBackupStatusAzure { #[serde(default, skip_serializing_if = "Option::is_none")] pub container: Option, @@ -146,7 +147,7 @@ pub struct PerconaXtraDBClusterBackupStatusAzure { pub storage_class: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterBackupStatusS3 { #[serde(default, skip_serializing_if = "Option::is_none")] pub bucket: Option, diff --git a/kube-custom-resources-rs/src/pxc_percona_com/v1/perconaxtradbclusterrestores.rs b/kube-custom-resources-rs/src/pxc_percona_com/v1/perconaxtradbclusterrestores.rs index dad6bf09d..433303c5c 100644 --- a/kube-custom-resources-rs/src/pxc_percona_com/v1/perconaxtradbclusterrestores.rs +++ b/kube-custom-resources-rs/src/pxc_percona_com/v1/perconaxtradbclusterrestores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/percona/percona-xtradb-cluster-operator/pxc.percona.com/v1/perconaxtradbclusterrestores.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/percona/percona-xtradb-cluster-operator/pxc.percona.com/v1/perconaxtradbclusterrestores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "pxc.percona.com", version = "v1", kind = "PerconaXtraDBClusterRestore", plural = "perconaxtradbclusterrestores")] #[kube(namespaced)] #[kube(status = "PerconaXtraDBClusterRestoreStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PerconaXtraDBClusterRestoreSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "backupName")] @@ -33,7 +34,7 @@ pub struct PerconaXtraDBClusterRestoreSpec { pub resources: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterRestoreBackupSource { #[serde(default, skip_serializing_if = "Option::is_none")] pub azure: Option, @@ -67,7 +68,7 @@ pub struct PerconaXtraDBClusterRestoreBackupSource { pub verify_tls: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterRestoreBackupSourceAzure { #[serde(default, skip_serializing_if = "Option::is_none")] pub container: Option, @@ -79,7 +80,7 @@ pub struct PerconaXtraDBClusterRestoreBackupSourceAzure { pub storage_class: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterRestoreBackupSourceS3 { #[serde(default, skip_serializing_if = "Option::is_none")] pub bucket: Option, @@ -91,7 +92,7 @@ pub struct PerconaXtraDBClusterRestoreBackupSourceS3 { pub region: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterRestoreContainerOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option, @@ -99,7 +100,7 @@ pub struct PerconaXtraDBClusterRestoreContainerOptions { pub env: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterRestoreContainerOptionsArgs { #[serde(default, skip_serializing_if = "Option::is_none")] pub xbcloud: Option>, @@ -109,7 +110,7 @@ pub struct PerconaXtraDBClusterRestoreContainerOptionsArgs { pub xtrabackup: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterRestoreContainerOptionsEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -118,7 +119,7 @@ pub struct PerconaXtraDBClusterRestoreContainerOptionsEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterRestoreContainerOptionsEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -130,7 +131,7 @@ pub struct PerconaXtraDBClusterRestoreContainerOptionsEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterRestoreContainerOptionsEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -139,7 +140,7 @@ pub struct PerconaXtraDBClusterRestoreContainerOptionsEnvValueFromConfigMapKeyRe pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterRestoreContainerOptionsEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -147,7 +148,7 @@ pub struct PerconaXtraDBClusterRestoreContainerOptionsEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterRestoreContainerOptionsEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -156,7 +157,7 @@ pub struct PerconaXtraDBClusterRestoreContainerOptionsEnvValueFromResourceFieldR pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterRestoreContainerOptionsEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -165,7 +166,7 @@ pub struct PerconaXtraDBClusterRestoreContainerOptionsEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterRestorePitr { #[serde(default, skip_serializing_if = "Option::is_none", rename = "backupSource")] pub backup_source: Option, @@ -177,7 +178,7 @@ pub struct PerconaXtraDBClusterRestorePitr { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterRestorePitrBackupSource { #[serde(default, skip_serializing_if = "Option::is_none")] pub azure: Option, @@ -211,7 +212,7 @@ pub struct PerconaXtraDBClusterRestorePitrBackupSource { pub verify_tls: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterRestorePitrBackupSourceAzure { #[serde(default, skip_serializing_if = "Option::is_none")] pub container: Option, @@ -223,7 +224,7 @@ pub struct PerconaXtraDBClusterRestorePitrBackupSourceAzure { pub storage_class: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterRestorePitrBackupSourceS3 { #[serde(default, skip_serializing_if = "Option::is_none")] pub bucket: Option, @@ -235,7 +236,7 @@ pub struct PerconaXtraDBClusterRestorePitrBackupSourceS3 { pub region: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterRestoreResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -245,12 +246,12 @@ pub struct PerconaXtraDBClusterRestoreResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterRestoreResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PerconaXtraDBClusterRestoreStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub comments: Option, diff --git a/kube-custom-resources-rs/src/pxc_percona_com/v1/perconaxtradbclusters.rs b/kube-custom-resources-rs/src/pxc_percona_com/v1/perconaxtradbclusters.rs index b672fb168..e6b47df6c 100644 --- a/kube-custom-resources-rs/src/pxc_percona_com/v1/perconaxtradbclusters.rs +++ b/kube-custom-resources-rs/src/pxc_percona_com/v1/perconaxtradbclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/percona/percona-xtradb-cluster-operator/pxc.percona.com/v1/perconaxtradbclusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/percona/percona-xtradb-cluster-operator/pxc.percona.com/v1/perconaxtradbclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/quay_redhat_com/v1/quayregistries.rs b/kube-custom-resources-rs/src/quay_redhat_com/v1/quayregistries.rs index 3c8c339ff..ee8cdb7d0 100644 --- a/kube-custom-resources-rs/src/quay_redhat_com/v1/quayregistries.rs +++ b/kube-custom-resources-rs/src/quay_redhat_com/v1/quayregistries.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/quay/quay-operator/quay.redhat.com/v1/quayregistries.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/quay/quay-operator/quay.redhat.com/v1/quayregistries.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/quota_codeflare_dev/v1alpha1/quotasubtrees.rs b/kube-custom-resources-rs/src/quota_codeflare_dev/v1alpha1/quotasubtrees.rs index 6e0aa7d6e..35c159eac 100644 --- a/kube-custom-resources-rs/src/quota_codeflare_dev/v1alpha1/quotasubtrees.rs +++ b/kube-custom-resources-rs/src/quota_codeflare_dev/v1alpha1/quotasubtrees.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/project-codeflare/codeflare-operator/quota.codeflare.dev/v1alpha1/quotasubtrees.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/project-codeflare/codeflare-operator/quota.codeflare.dev/v1alpha1/quotasubtrees.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/ray_io/v1/rayclusters.rs b/kube-custom-resources-rs/src/ray_io/v1/rayclusters.rs index 7f48a369b..ac4e5b1ee 100644 --- a/kube-custom-resources-rs/src/ray_io/v1/rayclusters.rs +++ b/kube-custom-resources-rs/src/ray_io/v1/rayclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/ray-project/kuberay/ray.io/v1/rayclusters.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/ray-project/kuberay/ray.io/v1/rayclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "ray.io", version = "v1", kind = "RayCluster", plural = "rayclusters")] #[kube(namespaced)] #[kube(status = "RayClusterStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct RayClusterSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoscalerOptions")] @@ -35,7 +36,7 @@ pub struct RayClusterSpec { pub worker_group_specs: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub env: Option>, @@ -57,7 +58,7 @@ pub struct RayClusterAutoscalerOptions { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -66,7 +67,7 @@ pub struct RayClusterAutoscalerOptionsEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -78,7 +79,7 @@ pub struct RayClusterAutoscalerOptionsEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -87,7 +88,7 @@ pub struct RayClusterAutoscalerOptionsEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -95,7 +96,7 @@ pub struct RayClusterAutoscalerOptionsEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -104,7 +105,7 @@ pub struct RayClusterAutoscalerOptionsEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -113,7 +114,7 @@ pub struct RayClusterAutoscalerOptionsEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -123,7 +124,7 @@ pub struct RayClusterAutoscalerOptionsEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -131,7 +132,7 @@ pub struct RayClusterAutoscalerOptionsEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -139,7 +140,7 @@ pub struct RayClusterAutoscalerOptionsEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -149,12 +150,12 @@ pub struct RayClusterAutoscalerOptionsResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -180,7 +181,7 @@ pub struct RayClusterAutoscalerOptionsSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -188,7 +189,7 @@ pub struct RayClusterAutoscalerOptionsSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -200,7 +201,7 @@ pub struct RayClusterAutoscalerOptionsSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -208,7 +209,7 @@ pub struct RayClusterAutoscalerOptionsSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -227,7 +228,7 @@ pub enum RayClusterAutoscalerOptionsUpscalingMode { Conservative, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -242,7 +243,7 @@ pub struct RayClusterAutoscalerOptionsVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "enableIngress")] pub enable_ingress: Option, @@ -255,7 +256,7 @@ pub struct RayClusterHeadGroupSpec { pub template: RayClusterHeadGroupSpecTemplate, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecHeadService { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -269,7 +270,7 @@ pub struct RayClusterHeadGroupSpecHeadService { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecHeadServiceMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -283,7 +284,7 @@ pub struct RayClusterHeadGroupSpecHeadServiceMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecHeadServiceSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] pub allocate_load_balancer_node_ports: Option, @@ -325,7 +326,7 @@ pub struct RayClusterHeadGroupSpecHeadServiceSpec { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecHeadServiceSpecPorts { #[serde(default, skip_serializing_if = "Option::is_none", rename = "appProtocol")] pub app_protocol: Option, @@ -340,19 +341,19 @@ pub struct RayClusterHeadGroupSpecHeadServiceSpecPorts { pub target_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecHeadServiceSpecSessionAffinityConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] pub client_ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecHeadServiceSpecSessionAffinityConfigClientIp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecHeadServiceStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, @@ -360,13 +361,13 @@ pub struct RayClusterHeadGroupSpecHeadServiceStatus { pub load_balancer: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecHeadServiceStatusLoadBalancer { #[serde(default, skip_serializing_if = "Option::is_none")] pub ingress: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecHeadServiceStatusLoadBalancerIngress { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostname: Option, @@ -376,7 +377,7 @@ pub struct RayClusterHeadGroupSpecHeadServiceStatusLoadBalancerIngress { pub ports: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecHeadServiceStatusLoadBalancerIngressPorts { #[serde(default, skip_serializing_if = "Option::is_none")] pub error: Option, @@ -384,7 +385,7 @@ pub struct RayClusterHeadGroupSpecHeadServiceStatusLoadBalancerIngressPorts { pub protocol: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -392,7 +393,7 @@ pub struct RayClusterHeadGroupSpecTemplate { pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -406,7 +407,7 @@ pub struct RayClusterHeadGroupSpecTemplateMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] pub active_deadline_seconds: Option, @@ -487,7 +488,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpec { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -497,7 +498,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -505,13 +506,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -519,7 +520,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDurin pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -527,7 +528,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDurin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -535,13 +536,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDurin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -549,7 +550,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuring pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -557,7 +558,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuring pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -565,7 +566,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuring pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -573,14 +574,14 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -592,7 +593,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuring pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -600,7 +601,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuring pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -608,7 +609,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuring pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -616,7 +617,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuring pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -624,7 +625,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuring pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -636,7 +637,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringS pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -644,7 +645,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringS pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -652,7 +653,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringS pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -660,7 +661,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringS pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -668,7 +669,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringS pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -676,14 +677,14 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -695,7 +696,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDu pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -703,7 +704,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -711,7 +712,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -719,7 +720,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -727,7 +728,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -739,7 +740,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDur pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -747,7 +748,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDur pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -755,7 +756,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -763,7 +764,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDur pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -771,7 +772,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -822,7 +823,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -831,7 +832,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -843,7 +844,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -852,7 +853,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvValueFromConfigMapKey pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -860,7 +861,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -869,7 +870,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvValueFromResourceFiel pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -878,7 +879,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvValueFromSecretKeyRef pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -888,7 +889,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -896,7 +897,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -904,7 +905,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -912,7 +913,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -922,13 +923,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -941,20 +942,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePostStartHttpGe pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -964,13 +965,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -983,20 +984,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePreStopHttpGet pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1020,20 +1021,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1046,20 +1047,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -1073,7 +1074,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1097,20 +1098,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1123,20 +1124,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -1144,7 +1145,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -1154,12 +1155,12 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1185,7 +1186,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1193,7 +1194,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersSecurityContextCapabilit pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1205,7 +1206,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersSecurityContextSeLinuxOp pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1213,7 +1214,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersSecurityContextSeccompPr pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1225,7 +1226,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersSecurityContextWindowsOp pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1249,20 +1250,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1275,27 +1276,27 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1310,7 +1311,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecDnsConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, @@ -1320,7 +1321,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecDnsConfig { pub searches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecDnsConfigOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1328,7 +1329,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecDnsConfigOptions { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -1381,7 +1382,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1390,7 +1391,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -1402,7 +1403,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1411,7 +1412,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromCon pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1419,7 +1420,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromFie pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1428,7 +1429,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromRes pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1437,7 +1438,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromSec pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -1447,7 +1448,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1455,7 +1456,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvFromConfigMa pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1463,7 +1464,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvFromSecretRe pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -1471,7 +1472,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1481,13 +1482,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostSt pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1500,20 +1501,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostSt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1523,13 +1524,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreSto pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1542,20 +1543,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreSto pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1579,20 +1580,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1605,20 +1606,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeHt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -1632,7 +1633,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1656,20 +1657,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbe pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1682,20 +1683,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeH pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -1703,7 +1704,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -1713,12 +1714,12 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1744,7 +1745,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersSecurityContext pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1752,7 +1753,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersSecurityContext pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1764,7 +1765,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersSecurityContext pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1772,7 +1773,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersSecurityContext pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1784,7 +1785,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersSecurityContext pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1808,20 +1809,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1834,27 +1835,27 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeHtt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1869,7 +1870,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -1877,13 +1878,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -1934,7 +1935,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1943,7 +1944,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -1955,7 +1956,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1964,7 +1965,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvValueFromConfigMa pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1972,7 +1973,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvValueFromFieldRef pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1981,7 +1982,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvValueFromResource pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1990,7 +1991,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvValueFromSecretKe pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -2000,7 +2001,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2008,7 +2009,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvFromConfigMapRef pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2016,7 +2017,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -2024,7 +2025,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2034,13 +2035,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2053,20 +2054,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartHt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2076,13 +2077,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2095,20 +2096,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopHttp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2132,20 +2133,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2158,20 +2159,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLivenessProbeHttpGet pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -2185,7 +2186,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2209,20 +2210,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2235,20 +2236,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersReadinessProbeHttpGe pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -2256,7 +2257,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2266,12 +2267,12 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -2297,7 +2298,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -2305,7 +2306,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersSecurityContextCapab pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2317,7 +2318,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersSecurityContextSeLin pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2325,7 +2326,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersSecurityContextSecco pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2337,7 +2338,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersSecurityContextWindo pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2361,20 +2362,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2387,27 +2388,27 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersStartupProbeHttpGet pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -2422,25 +2423,25 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecOs { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecReadinessGates { #[serde(rename = "conditionType")] pub condition_type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecResourceClaims { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecResourceClaimsSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceClaimName")] pub resource_claim_name: Option, @@ -2448,12 +2449,12 @@ pub struct RayClusterHeadGroupSpecTemplateSpecResourceClaimsSource { pub resource_claim_template_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecSchedulingGates { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -2477,7 +2478,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2489,7 +2490,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2497,13 +2498,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2515,7 +2516,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -2529,7 +2530,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -2549,7 +2550,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecTopologySpreadConstraints { pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2557,7 +2558,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecTopologySpreadConstraintsLabelSele pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2565,7 +2566,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecTopologySpreadConstraintsLabelSele pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -2628,7 +2629,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2640,7 +2641,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesAwsElasticBlockStore { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -2656,7 +2657,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -2666,7 +2667,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2681,13 +2682,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2699,13 +2700,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2717,7 +2718,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2725,7 +2726,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2738,13 +2739,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2752,7 +2753,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -2763,7 +2764,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2771,7 +2772,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2780,7 +2781,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesDownwardApiItemsResourceFie pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -2788,20 +2789,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -2815,7 +2816,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplat pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -2835,7 +2836,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplat pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -2843,7 +2844,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplat pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -2853,7 +2854,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplat pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2863,12 +2864,12 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplat pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2876,7 +2877,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplat pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2884,7 +2885,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplat pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2898,7 +2899,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2911,13 +2912,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -2925,7 +2926,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2937,7 +2938,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesGcePersistentDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -2946,7 +2947,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -2954,14 +2955,14 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -2985,13 +2986,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -2999,7 +3000,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -3007,7 +3008,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesPersistentVolumeClaim { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3015,7 +3016,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesPhotonPersistentDisk { pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3025,7 +3026,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesPortworxVolume { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3033,7 +3034,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -3045,7 +3046,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSources { pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -3055,7 +3056,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3063,13 +3064,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesConfigMapIt pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -3080,7 +3081,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApi pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3088,7 +3089,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApi pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3097,7 +3098,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApi pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -3107,7 +3108,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesSecret { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3115,7 +3116,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesSecretItems pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -3124,7 +3125,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesServiceAcco pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -3138,7 +3139,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3156,13 +3157,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3184,13 +3185,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3202,7 +3203,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3210,7 +3211,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3224,13 +3225,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3242,7 +3243,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecs { #[serde(rename = "groupName")] pub group_name: String, @@ -3261,13 +3262,13 @@ pub struct RayClusterWorkerGroupSpecs { pub template: RayClusterWorkerGroupSpecsTemplate, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsScaleStrategy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "workersToDelete")] pub workers_to_delete: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -3275,7 +3276,7 @@ pub struct RayClusterWorkerGroupSpecsTemplate { pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3289,7 +3290,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] pub active_deadline_seconds: Option, @@ -3370,7 +3371,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpec { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -3380,7 +3381,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3388,13 +3389,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3402,7 +3403,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDu pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -3410,7 +3411,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -3418,13 +3419,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3432,7 +3433,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDur pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -3440,7 +3441,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -3448,7 +3449,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3456,14 +3457,14 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3475,7 +3476,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDur pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3483,7 +3484,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDur pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3491,7 +3492,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3499,7 +3500,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDur pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3507,7 +3508,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3519,7 +3520,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuri pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3527,7 +3528,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuri pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3535,7 +3536,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3543,7 +3544,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuri pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3551,7 +3552,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3559,14 +3560,14 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3578,7 +3579,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferre pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3586,7 +3587,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferre pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3594,7 +3595,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferre pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3602,7 +3603,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferre pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3610,7 +3611,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferre pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3622,7 +3623,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequired pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3630,7 +3631,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequired pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3638,7 +3639,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequired pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3646,7 +3647,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequired pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3654,7 +3655,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequired pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -3705,7 +3706,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3714,7 +3715,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -3726,7 +3727,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3735,7 +3736,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvValueFromConfigMap pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3743,7 +3744,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvValueFromFieldRef pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3752,7 +3753,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvValueFromResourceF pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3761,7 +3762,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvValueFromSecretKey pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -3771,7 +3772,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3779,7 +3780,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3787,7 +3788,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -3795,7 +3796,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3805,13 +3806,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3824,20 +3825,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartHtt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3847,13 +3848,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3866,20 +3867,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopHttpG pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3903,20 +3904,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3929,20 +3930,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLivenessProbeHttpGet pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -3956,7 +3957,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3980,20 +3981,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4006,20 +4007,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersReadinessProbeHttpGet pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -4027,7 +4028,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -4037,12 +4038,12 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -4068,7 +4069,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -4076,7 +4077,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersSecurityContextCapabi pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -4088,7 +4089,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersSecurityContextSeLinu pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -4096,7 +4097,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersSecurityContextSeccom pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4108,7 +4109,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersSecurityContextWindow pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4132,20 +4133,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4158,27 +4159,27 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -4193,7 +4194,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecDnsConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, @@ -4203,7 +4204,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecDnsConfig { pub searches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecDnsConfigOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4211,7 +4212,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecDnsConfigOptions { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -4264,7 +4265,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4273,7 +4274,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -4285,7 +4286,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFrom pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4294,7 +4295,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFrom pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4302,7 +4303,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFrom pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4311,7 +4312,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFrom pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4320,7 +4321,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFrom pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -4330,7 +4331,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4338,7 +4339,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvFromConfi pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4346,7 +4347,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvFromSecre pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -4354,7 +4355,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4364,13 +4365,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePos pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4383,20 +4384,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePos pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4406,13 +4407,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePre pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4425,20 +4426,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePre pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4462,20 +4463,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProb pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4488,20 +4489,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProb pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -4515,7 +4516,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4539,20 +4540,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessPro pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4565,20 +4566,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessPro pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -4586,7 +4587,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersResizePolicy pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -4596,12 +4597,12 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -4627,7 +4628,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityCont pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -4635,7 +4636,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityCont pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -4647,7 +4648,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityCont pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -4655,7 +4656,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityCont pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4667,7 +4668,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityCont pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4691,20 +4692,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbe pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4717,27 +4718,27 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbe pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -4752,7 +4753,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersVolumeMounts pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -4760,13 +4761,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -4817,7 +4818,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4826,7 +4827,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -4838,7 +4839,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4847,7 +4848,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromConfi pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4855,7 +4856,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromField pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4864,7 +4865,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromResou pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4873,7 +4874,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromSecre pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -4883,7 +4884,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4891,7 +4892,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvFromConfigMapR pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4899,7 +4900,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvFromSecretRef pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -4907,7 +4908,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4917,13 +4918,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStar pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4936,20 +4937,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStar pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4959,13 +4960,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStop pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4978,20 +4979,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopH pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5015,20 +5016,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5041,20 +5042,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeHttp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -5068,7 +5069,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5092,20 +5093,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5118,20 +5119,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeHtt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -5139,7 +5140,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -5149,12 +5150,12 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -5180,7 +5181,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -5188,7 +5189,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersSecurityContextCa pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5200,7 +5201,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersSecurityContextSe pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5208,7 +5209,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersSecurityContextSe pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5220,7 +5221,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersSecurityContextWi pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5244,20 +5245,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5270,27 +5271,27 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersStartupProbeHttpG pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -5305,25 +5306,25 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecOs { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecReadinessGates { #[serde(rename = "conditionType")] pub condition_type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecResourceClaims { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecResourceClaimsSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceClaimName")] pub resource_claim_name: Option, @@ -5331,12 +5332,12 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecResourceClaimsSource { pub resource_claim_template_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecSchedulingGates { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -5360,7 +5361,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5372,7 +5373,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5380,13 +5381,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5398,7 +5399,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -5412,7 +5413,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5432,7 +5433,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecTopologySpreadConstraints { pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5440,7 +5441,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecTopologySpreadConstraintsLabelS pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5448,7 +5449,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecTopologySpreadConstraintsLabelS pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -5511,7 +5512,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5523,7 +5524,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesAwsElasticBlockStore { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -5539,7 +5540,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -5549,7 +5550,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5564,13 +5565,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5582,13 +5583,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5600,7 +5601,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5608,7 +5609,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5621,13 +5622,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5635,7 +5636,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -5646,7 +5647,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -5654,7 +5655,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesDownwardApiItemsFieldRef pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -5663,7 +5664,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesDownwardApiItemsResource pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -5671,20 +5672,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -5698,7 +5699,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemp pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -5718,7 +5719,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemp pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -5726,7 +5727,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemp pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -5736,7 +5737,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemp pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -5746,12 +5747,12 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemp pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5759,7 +5760,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemp pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5767,7 +5768,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5781,7 +5782,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5794,13 +5795,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -5808,7 +5809,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5820,7 +5821,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesGcePersistentDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -5829,7 +5830,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -5837,14 +5838,14 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -5868,13 +5869,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -5882,7 +5883,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -5890,7 +5891,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesPersistentVolumeClaim { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5898,7 +5899,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesPhotonPersistentDisk { pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5908,7 +5909,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesPortworxVolume { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5916,7 +5917,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -5928,7 +5929,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSources { pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -5938,7 +5939,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesConfigMa pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5946,13 +5947,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesConfigMa pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -5963,7 +5964,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownward pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -5971,7 +5972,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownward pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -5980,7 +5981,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownward pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -5990,7 +5991,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesSecret { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5998,7 +5999,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesSecretIt pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -6007,7 +6008,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesServiceA pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -6021,7 +6022,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6039,13 +6040,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6067,13 +6068,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -6085,7 +6086,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6093,7 +6094,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6107,13 +6108,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6125,7 +6126,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "availableWorkerReplicas")] pub available_worker_replicas: Option, @@ -6161,7 +6162,7 @@ pub struct RayClusterStatus { pub state_transition_times: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterStatusHead { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podIP")] pub pod_ip: Option, diff --git a/kube-custom-resources-rs/src/ray_io/v1/rayjobs.rs b/kube-custom-resources-rs/src/ray_io/v1/rayjobs.rs index fc1b0b2f9..1946cfae4 100644 --- a/kube-custom-resources-rs/src/ray_io/v1/rayjobs.rs +++ b/kube-custom-resources-rs/src/ray_io/v1/rayjobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/ray-project/kuberay/ray.io/v1/rayjobs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/ray-project/kuberay/ray.io/v1/rayjobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "ray.io", version = "v1", kind = "RayJob", plural = "rayjobs")] #[kube(namespaced)] #[kube(status = "RayJobStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct RayJobSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] @@ -52,7 +53,7 @@ pub struct RayJobSpec { pub ttl_seconds_after_finished: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoscalerOptions")] pub autoscaler_options: Option, @@ -70,7 +71,7 @@ pub struct RayJobRayClusterSpec { pub worker_group_specs: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub env: Option>, @@ -92,7 +93,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptions { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -101,7 +102,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -113,7 +114,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -122,7 +123,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -130,7 +131,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -139,7 +140,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -148,7 +149,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -158,7 +159,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -166,7 +167,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -174,7 +175,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -184,12 +185,12 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -215,7 +216,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -223,7 +224,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -235,7 +236,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -243,7 +244,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -262,7 +263,7 @@ pub enum RayJobRayClusterSpecAutoscalerOptionsUpscalingMode { Conservative, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -277,7 +278,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "enableIngress")] pub enable_ingress: Option, @@ -290,7 +291,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpec { pub template: RayJobRayClusterSpecHeadGroupSpecTemplate, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecHeadService { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -304,7 +305,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecHeadService { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -318,7 +319,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] pub allocate_load_balancer_node_ports: Option, @@ -360,7 +361,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceSpec { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceSpecPorts { #[serde(default, skip_serializing_if = "Option::is_none", rename = "appProtocol")] pub app_protocol: Option, @@ -375,19 +376,19 @@ pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceSpecPorts { pub target_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceSpecSessionAffinityConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] pub client_ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceSpecSessionAffinityConfigClientIp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, @@ -395,13 +396,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceStatus { pub load_balancer: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceStatusLoadBalancer { #[serde(default, skip_serializing_if = "Option::is_none")] pub ingress: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceStatusLoadBalancerIngress { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostname: Option, @@ -411,7 +412,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceStatusLoadBalancerIngress pub ports: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceStatusLoadBalancerIngressPorts { #[serde(default, skip_serializing_if = "Option::is_none")] pub error: Option, @@ -419,7 +420,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceStatusLoadBalancerIngress pub protocol: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -427,7 +428,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplate { pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -441,7 +442,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] pub active_deadline_seconds: Option, @@ -522,7 +523,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpec { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -532,7 +533,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -540,13 +541,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -554,7 +555,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityPref pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -562,7 +563,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityPref pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -570,13 +571,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityPref pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -584,7 +585,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityRequ pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -592,7 +593,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityRequ pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -600,7 +601,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityRequ pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -608,14 +609,14 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -627,7 +628,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityPrefe pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -635,7 +636,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityPrefe pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -643,7 +644,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityPrefe pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -651,7 +652,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityPrefe pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -659,7 +660,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityPrefe pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -671,7 +672,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityRequi pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -679,7 +680,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityRequi pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -687,7 +688,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityRequi pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -695,7 +696,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityRequi pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -703,7 +704,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityRequi pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -711,14 +712,14 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinity pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -730,7 +731,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityP pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -738,7 +739,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityP pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -746,7 +747,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityP pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -754,7 +755,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityP pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -762,7 +763,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityP pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -774,7 +775,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityR pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -782,7 +783,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityR pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -790,7 +791,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityR pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -798,7 +799,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityR pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -806,7 +807,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityR pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -857,7 +858,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -866,7 +867,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -878,7 +879,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -887,7 +888,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvValueFromCo pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -895,7 +896,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvValueFromFi pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -904,7 +905,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvValueFromRe pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -913,7 +914,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvValueFromSe pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -923,7 +924,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -931,7 +932,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvFromConfigM pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -939,7 +940,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvFromSecretR pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -947,7 +948,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -957,13 +958,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePostS pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -976,20 +977,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePostS pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -999,13 +1000,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePreSt pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1018,20 +1019,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePreSt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1055,20 +1056,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLivenessProbe pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1081,20 +1082,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLivenessProbeH pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -1108,7 +1109,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1132,20 +1133,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersReadinessProbe pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1158,20 +1159,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersReadinessProbe pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -1179,7 +1180,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -1189,12 +1190,12 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1220,7 +1221,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersSecurityContex pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1228,7 +1229,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersSecurityContex pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1240,7 +1241,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersSecurityContex pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1248,7 +1249,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersSecurityContex pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1260,7 +1261,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersSecurityContex pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1284,20 +1285,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1310,27 +1311,27 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersStartupProbeHt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1345,7 +1346,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecDnsConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, @@ -1355,7 +1356,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecDnsConfig { pub searches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecDnsConfigOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1363,7 +1364,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecDnsConfigOptions { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -1416,7 +1417,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1425,7 +1426,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -1437,7 +1438,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvVa pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1446,7 +1447,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvVa pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1454,7 +1455,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvVa pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1463,7 +1464,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvVa pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1472,7 +1473,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvVa pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -1482,7 +1483,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvFr pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1490,7 +1491,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvFr pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1498,7 +1499,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvFr pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -1506,7 +1507,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifec pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1516,13 +1517,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifec pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1535,20 +1536,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifec pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1558,13 +1559,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifec pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1577,20 +1578,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifec pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1614,20 +1615,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLiven pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1640,20 +1641,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLiven pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -1667,7 +1668,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersPorts pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1691,20 +1692,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersReadi pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1717,20 +1718,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersReadi pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -1738,7 +1739,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersResiz pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -1748,12 +1749,12 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersResou pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1779,7 +1780,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersSecur pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1787,7 +1788,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersSecur pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1799,7 +1800,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersSecur pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1807,7 +1808,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersSecur pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1819,7 +1820,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersSecur pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1843,20 +1844,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersStart pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1869,27 +1870,27 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersStart pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1904,7 +1905,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersVolum pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -1912,13 +1913,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -1969,7 +1970,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1978,7 +1979,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -1990,7 +1991,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvValueFr pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1999,7 +2000,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvValueFr pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2007,7 +2008,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvValueFr pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2016,7 +2017,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvValueFr pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2025,7 +2026,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvValueFr pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -2035,7 +2036,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2043,7 +2044,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvFromCon pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2051,7 +2052,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvFromSec pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -2059,7 +2060,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecycle pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2069,13 +2070,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecycleP pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2088,20 +2089,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecycleP pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2111,13 +2112,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecycleP pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2130,20 +2131,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecycleP pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2167,20 +2168,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLivenessPr pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2193,20 +2194,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLivenessPr pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -2220,7 +2221,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2244,20 +2245,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersReadinessP pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2270,20 +2271,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersReadinessP pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -2291,7 +2292,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersResizePoli pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2301,12 +2302,12 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersResources pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -2332,7 +2333,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersSecurityCo pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -2340,7 +2341,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersSecurityCo pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2352,7 +2353,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersSecurityCo pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2360,7 +2361,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersSecurityCo pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2372,7 +2373,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersSecurityCo pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2396,20 +2397,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersStartupPro pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2422,27 +2423,27 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersStartupPro pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -2457,25 +2458,25 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersVolumeMoun pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecOs { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecReadinessGates { #[serde(rename = "conditionType")] pub condition_type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecResourceClaims { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecResourceClaimsSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceClaimName")] pub resource_claim_name: Option, @@ -2483,12 +2484,12 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecResourceClaimsSource { pub resource_claim_template_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecSchedulingGates { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -2512,7 +2513,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2524,7 +2525,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecSecurityContextSeLinuxOp pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2532,13 +2533,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecSecurityContextSeccompPr pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2550,7 +2551,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecSecurityContextWindowsOp pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -2564,7 +2565,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -2584,7 +2585,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecTopologySpreadConstraint pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2592,7 +2593,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecTopologySpreadConstraint pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2600,7 +2601,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecTopologySpreadConstraint pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -2663,7 +2664,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2675,7 +2676,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesAwsElasticBlockSt pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -2691,7 +2692,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -2701,7 +2702,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2716,13 +2717,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2734,13 +2735,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2752,7 +2753,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2760,7 +2761,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2773,13 +2774,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2787,7 +2788,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -2798,7 +2799,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesDownwardApiItems pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2806,7 +2807,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesDownwardApiItemsF pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2815,7 +2816,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesDownwardApiItemsR pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -2823,20 +2824,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -2850,7 +2851,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeCl pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -2870,7 +2871,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeCl pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -2878,7 +2879,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeCl pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -2888,7 +2889,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeCl pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2898,12 +2899,12 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeCl pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2911,7 +2912,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeCl pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2919,7 +2920,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeCl pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2933,7 +2934,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2946,13 +2947,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -2960,7 +2961,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2972,7 +2973,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesGcePersistentDisk pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -2981,7 +2982,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -2989,14 +2990,14 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -3020,13 +3021,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -3034,7 +3035,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -3042,7 +3043,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesPersistentVolumeC pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3050,7 +3051,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesPhotonPersistentD pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3060,7 +3061,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesPortworxVolume { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3068,7 +3069,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -3080,7 +3081,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSources pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -3090,7 +3091,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesC pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3098,13 +3099,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesC pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -3115,7 +3116,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesD pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3123,7 +3124,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesD pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3132,7 +3133,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesD pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -3142,7 +3143,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesS pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3150,7 +3151,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesS pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -3159,7 +3160,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesS pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -3173,7 +3174,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3191,13 +3192,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3219,13 +3220,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3237,7 +3238,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3245,7 +3246,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3259,13 +3260,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3277,7 +3278,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecs { #[serde(rename = "groupName")] pub group_name: String, @@ -3296,13 +3297,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecs { pub template: RayJobRayClusterSpecWorkerGroupSpecsTemplate, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsScaleStrategy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "workersToDelete")] pub workers_to_delete: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -3310,7 +3311,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplate { pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3324,7 +3325,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] pub active_deadline_seconds: Option, @@ -3405,7 +3406,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpec { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -3415,7 +3416,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3423,13 +3424,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinity pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3437,7 +3438,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityP pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -3445,7 +3446,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityP pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -3453,13 +3454,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityP pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3467,7 +3468,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityR pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -3475,7 +3476,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityR pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -3483,7 +3484,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityR pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3491,14 +3492,14 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3510,7 +3511,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityPr pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3518,7 +3519,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityPr pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3526,7 +3527,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityPr pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3534,7 +3535,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityPr pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3542,7 +3543,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityPr pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3554,7 +3555,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityRe pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3562,7 +3563,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityRe pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3570,7 +3571,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityRe pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3578,7 +3579,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityRe pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3586,7 +3587,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityRe pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3594,14 +3595,14 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffini pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3613,7 +3614,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffini pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3621,7 +3622,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffini pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3629,7 +3630,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffini pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3637,7 +3638,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffini pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3645,7 +3646,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffini pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3657,7 +3658,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffini pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3665,7 +3666,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffini pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3673,7 +3674,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffini pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3681,7 +3682,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffini pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3689,7 +3690,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffini pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -3740,7 +3741,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3749,7 +3750,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -3761,7 +3762,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvValueFro pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3770,7 +3771,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvValueFro pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3778,7 +3779,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvValueFro pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3787,7 +3788,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvValueFro pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3796,7 +3797,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvValueFro pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -3806,7 +3807,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3814,7 +3815,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvFromConf pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3822,7 +3823,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvFromSecr pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -3830,7 +3831,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3840,13 +3841,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePo pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3859,20 +3860,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePo pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3882,13 +3883,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePr pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3901,20 +3902,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePr pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3938,20 +3939,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLivenessPro pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3964,20 +3965,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLivenessPro pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -3991,7 +3992,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4015,20 +4016,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersReadinessPr pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4041,20 +4042,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersReadinessPr pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -4062,7 +4063,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersResizePolic pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -4072,12 +4073,12 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -4103,7 +4104,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersSecurityCon pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -4111,7 +4112,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersSecurityCon pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -4123,7 +4124,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersSecurityCon pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -4131,7 +4132,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersSecurityCon pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4143,7 +4144,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersSecurityCon pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4167,20 +4168,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersStartupProb pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4193,27 +4194,27 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersStartupProb pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -4228,7 +4229,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersVolumeMount pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecDnsConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, @@ -4238,7 +4239,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecDnsConfig { pub searches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecDnsConfigOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4246,7 +4247,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecDnsConfigOptions { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -4299,7 +4300,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4308,7 +4309,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEn pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -4320,7 +4321,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEn pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4329,7 +4330,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEn pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4337,7 +4338,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEn pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4346,7 +4347,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEn pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4355,7 +4356,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEn pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -4365,7 +4366,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEn pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4373,7 +4374,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEn pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4381,7 +4382,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEn pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -4389,7 +4390,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLi pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4399,13 +4400,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLi pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4418,20 +4419,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLi pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4441,13 +4442,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLi pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4460,20 +4461,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLi pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4497,20 +4498,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLi pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4523,20 +4524,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLi pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -4550,7 +4551,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersPo pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4574,20 +4575,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersRe pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4600,20 +4601,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersRe pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -4621,7 +4622,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersRe pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -4631,12 +4632,12 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersRe pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -4662,7 +4663,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersSe pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -4670,7 +4671,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersSe pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -4682,7 +4683,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersSe pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -4690,7 +4691,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersSe pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4702,7 +4703,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersSe pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4726,20 +4727,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersSt pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4752,27 +4753,27 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersSt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -4787,7 +4788,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersVo pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -4795,13 +4796,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -4852,7 +4853,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4861,7 +4862,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -4873,7 +4874,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvValu pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4882,7 +4883,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvValu pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4890,7 +4891,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvValu pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4899,7 +4900,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvValu pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4908,7 +4909,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvValu pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -4918,7 +4919,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvFrom pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4926,7 +4927,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvFrom pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4934,7 +4935,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvFrom pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -4942,7 +4943,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyc pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4952,13 +4953,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyc pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4971,20 +4972,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyc pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4994,13 +4995,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyc pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5013,20 +5014,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyc pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5050,20 +5051,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLivenes pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5076,20 +5077,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLivenes pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -5103,7 +5104,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5127,20 +5128,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersReadine pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5153,20 +5154,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersReadine pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -5174,7 +5175,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersResizeP pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -5184,12 +5185,12 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersResourc pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -5215,7 +5216,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersSecurit pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -5223,7 +5224,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersSecurit pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5235,7 +5236,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersSecurit pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5243,7 +5244,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersSecurit pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5255,7 +5256,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersSecurit pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5279,20 +5280,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersStartup pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5305,27 +5306,27 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersStartup pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -5340,25 +5341,25 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersVolumeM pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecOs { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecReadinessGates { #[serde(rename = "conditionType")] pub condition_type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecResourceClaims { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecResourceClaimsSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceClaimName")] pub resource_claim_name: Option, @@ -5366,12 +5367,12 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecResourceClaimsSource pub resource_claim_template_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecSchedulingGates { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -5395,7 +5396,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5407,7 +5408,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecSecurityContextSeLinu pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5415,13 +5416,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecSecurityContextSeccom pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5433,7 +5434,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecSecurityContextWindow pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -5447,7 +5448,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5467,7 +5468,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecTopologySpreadConstra pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5475,7 +5476,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecTopologySpreadConstra pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5483,7 +5484,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecTopologySpreadConstra pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -5546,7 +5547,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5558,7 +5559,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesAwsElasticBloc pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -5574,7 +5575,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -5584,7 +5585,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5599,13 +5600,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5617,13 +5618,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5635,7 +5636,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5643,7 +5644,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesConfigMapItems pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5656,13 +5657,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5670,7 +5671,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -5681,7 +5682,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesDownwardApiIte pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -5689,7 +5690,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesDownwardApiIte pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -5698,7 +5699,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesDownwardApiIte pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -5706,20 +5707,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -5733,7 +5734,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolum pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -5753,7 +5754,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolum pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -5761,7 +5762,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolum pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -5771,7 +5772,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolum pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -5781,12 +5782,12 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolum pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5794,7 +5795,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolum pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5802,7 +5803,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolum pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5816,7 +5817,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5829,13 +5830,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -5843,7 +5844,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5855,7 +5856,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesGcePersistentD pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -5864,7 +5865,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -5872,14 +5873,14 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -5903,13 +5904,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -5917,7 +5918,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -5925,7 +5926,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesPersistentVolu pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5933,7 +5934,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesPhotonPersiste pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5943,7 +5944,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesPortworxVolume pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5951,7 +5952,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -5963,7 +5964,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourc pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -5973,7 +5974,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourc pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5981,13 +5982,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourc pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -5998,7 +5999,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourc pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -6006,7 +6007,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourc pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -6015,7 +6016,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourc pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -6025,7 +6026,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourc pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6033,7 +6034,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourc pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -6042,7 +6043,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourc pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -6056,7 +6057,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6074,13 +6075,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6102,13 +6103,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -6120,7 +6121,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6128,7 +6129,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6142,13 +6143,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6160,13 +6161,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesVsphereVolume pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "backoffLimit")] pub backoff_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -6174,7 +6175,7 @@ pub struct RayJobSubmitterPodTemplate { pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -6188,7 +6189,7 @@ pub struct RayJobSubmitterPodTemplateMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] pub active_deadline_seconds: Option, @@ -6269,7 +6270,7 @@ pub struct RayJobSubmitterPodTemplateSpec { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -6279,7 +6280,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -6287,13 +6288,13 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: RayJobSubmitterPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6301,7 +6302,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityPreferredDuringSche pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -6309,7 +6310,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityPreferredDuringSche pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -6317,13 +6318,13 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityPreferredDuringSche pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6331,7 +6332,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityRequiredDuringSched pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -6339,7 +6340,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityRequiredDuringSched pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -6347,7 +6348,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityRequiredDuringSched pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -6355,14 +6356,14 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayJobSubmitterPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -6374,7 +6375,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityPreferredDuringSched pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6382,7 +6383,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityPreferredDuringSched pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -6390,7 +6391,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityPreferredDuringSched pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6398,7 +6399,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityPreferredDuringSched pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -6406,7 +6407,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityPreferredDuringSched pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -6418,7 +6419,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityRequiredDuringSchedu pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6426,7 +6427,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityRequiredDuringSchedu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -6434,7 +6435,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityRequiredDuringSchedu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6442,7 +6443,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityRequiredDuringSchedu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -6450,7 +6451,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityRequiredDuringSchedu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -6458,14 +6459,14 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -6477,7 +6478,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityPreferredDuringS pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6485,7 +6486,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityPreferredDuringS pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -6493,7 +6494,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityPreferredDuringS pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6501,7 +6502,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityPreferredDuringS pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -6509,7 +6510,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityPreferredDuringS pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -6521,7 +6522,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSc pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6529,7 +6530,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSc pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -6537,7 +6538,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSc pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6545,7 +6546,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSc pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -6553,7 +6554,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSc pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -6604,7 +6605,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6613,7 +6614,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -6625,7 +6626,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6634,7 +6635,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -6642,7 +6643,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -6651,7 +6652,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersEnvValueFromResourceFieldRef pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6660,7 +6661,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -6670,7 +6671,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -6678,7 +6679,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -6686,7 +6687,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -6694,7 +6695,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -6704,13 +6705,13 @@ pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -6723,20 +6724,20 @@ pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -6746,13 +6747,13 @@ pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -6765,20 +6766,20 @@ pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -6802,20 +6803,20 @@ pub struct RayJobSubmitterPodTemplateSpecContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -6828,20 +6829,20 @@ pub struct RayJobSubmitterPodTemplateSpecContainersLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -6855,7 +6856,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -6879,20 +6880,20 @@ pub struct RayJobSubmitterPodTemplateSpecContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -6905,20 +6906,20 @@ pub struct RayJobSubmitterPodTemplateSpecContainersReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -6926,7 +6927,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -6936,12 +6937,12 @@ pub struct RayJobSubmitterPodTemplateSpecContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -6967,7 +6968,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -6975,7 +6976,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -6987,7 +6988,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersSecurityContextSeLinuxOptions pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -6995,7 +6996,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersSecurityContextSeccompProfile pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -7007,7 +7008,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersSecurityContextWindowsOptions pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -7031,20 +7032,20 @@ pub struct RayJobSubmitterPodTemplateSpecContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7057,27 +7058,27 @@ pub struct RayJobSubmitterPodTemplateSpecContainersStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -7092,7 +7093,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecDnsConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, @@ -7102,7 +7103,7 @@ pub struct RayJobSubmitterPodTemplateSpecDnsConfig { pub searches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecDnsConfigOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -7110,7 +7111,7 @@ pub struct RayJobSubmitterPodTemplateSpecDnsConfigOptions { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -7163,7 +7164,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7172,7 +7173,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -7184,7 +7185,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7193,7 +7194,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvValueFromConfigMa pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -7201,7 +7202,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvValueFromFieldRef pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -7210,7 +7211,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvValueFromResource pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7219,7 +7220,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvValueFromSecretKe pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -7229,7 +7230,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -7237,7 +7238,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvFromConfigMapRef pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -7245,7 +7246,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -7253,7 +7254,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -7263,13 +7264,13 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7282,20 +7283,20 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePostStartHt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -7305,13 +7306,13 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7324,20 +7325,20 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePreStopHttp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -7361,20 +7362,20 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7387,20 +7388,20 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLivenessProbeHttpGet pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -7414,7 +7415,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -7438,20 +7439,20 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7464,20 +7465,20 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersReadinessProbeHttpGe pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -7485,7 +7486,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -7495,12 +7496,12 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -7526,7 +7527,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -7534,7 +7535,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersSecurityContextCapab pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -7546,7 +7547,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersSecurityContextSeLin pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -7554,7 +7555,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersSecurityContextSecco pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -7566,7 +7567,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersSecurityContextWindo pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -7590,20 +7591,20 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7616,27 +7617,27 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersStartupProbeHttpGet pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -7651,7 +7652,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -7659,13 +7660,13 @@ pub struct RayJobSubmitterPodTemplateSpecHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -7716,7 +7717,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7725,7 +7726,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -7737,7 +7738,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7746,7 +7747,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvValueFromConfigMapKeyR pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -7754,7 +7755,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -7763,7 +7764,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvValueFromResourceField pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7772,7 +7773,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvValueFromSecretKeyRef pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -7782,7 +7783,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -7790,7 +7791,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -7798,7 +7799,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -7806,7 +7807,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -7816,13 +7817,13 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7835,20 +7836,20 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePostStartHttpGet pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -7858,13 +7859,13 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7877,20 +7878,20 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -7914,20 +7915,20 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7940,20 +7941,20 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -7967,7 +7968,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -7991,20 +7992,20 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -8017,20 +8018,20 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -8038,7 +8039,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -8048,12 +8049,12 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -8079,7 +8080,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -8087,7 +8088,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersSecurityContextCapabiliti pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -8099,7 +8100,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersSecurityContextSeLinuxOpt pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -8107,7 +8108,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersSecurityContextSeccompPro pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -8119,7 +8120,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersSecurityContextWindowsOpt pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -8143,20 +8144,20 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -8169,27 +8170,27 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -8204,25 +8205,25 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecOs { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecReadinessGates { #[serde(rename = "conditionType")] pub condition_type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecResourceClaims { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecResourceClaimsSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceClaimName")] pub resource_claim_name: Option, @@ -8230,12 +8231,12 @@ pub struct RayJobSubmitterPodTemplateSpecResourceClaimsSource { pub resource_claim_template_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecSchedulingGates { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -8259,7 +8260,7 @@ pub struct RayJobSubmitterPodTemplateSpecSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -8271,7 +8272,7 @@ pub struct RayJobSubmitterPodTemplateSpecSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -8279,13 +8280,13 @@ pub struct RayJobSubmitterPodTemplateSpecSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -8297,7 +8298,7 @@ pub struct RayJobSubmitterPodTemplateSpecSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -8311,7 +8312,7 @@ pub struct RayJobSubmitterPodTemplateSpecTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -8331,7 +8332,7 @@ pub struct RayJobSubmitterPodTemplateSpecTopologySpreadConstraints { pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -8339,7 +8340,7 @@ pub struct RayJobSubmitterPodTemplateSpecTopologySpreadConstraintsLabelSelector pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -8347,7 +8348,7 @@ pub struct RayJobSubmitterPodTemplateSpecTopologySpreadConstraintsLabelSelectorM pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -8410,7 +8411,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8422,7 +8423,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesAwsElasticBlockStore { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -8438,7 +8439,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -8448,7 +8449,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8463,13 +8464,13 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8481,13 +8482,13 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -8499,7 +8500,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8507,7 +8508,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -8520,13 +8521,13 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -8534,7 +8535,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -8545,7 +8546,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -8553,7 +8554,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -8562,7 +8563,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesDownwardApiItemsResourceFieldRef pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -8570,20 +8571,20 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -8597,7 +8598,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateMeta pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -8617,7 +8618,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -8625,7 +8626,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -8635,7 +8636,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -8645,12 +8646,12 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -8658,7 +8659,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -8666,7 +8667,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8680,7 +8681,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -8693,13 +8694,13 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -8707,7 +8708,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8719,7 +8720,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesGcePersistentDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -8728,7 +8729,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -8736,14 +8737,14 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -8767,13 +8768,13 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -8781,7 +8782,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -8789,7 +8790,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesPersistentVolumeClaim { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8797,7 +8798,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesPhotonPersistentDisk { pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8807,7 +8808,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesPortworxVolume { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -8815,7 +8816,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -8827,7 +8828,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSources { pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -8837,7 +8838,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8845,13 +8846,13 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -8862,7 +8863,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesDownwardApiItems pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -8870,7 +8871,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesDownwardApiItems pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -8879,7 +8880,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesDownwardApiItems pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -8889,7 +8890,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesSecret { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8897,7 +8898,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -8906,7 +8907,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesServiceAccountTo pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -8920,7 +8921,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8938,13 +8939,13 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8966,13 +8967,13 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -8984,7 +8985,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8992,7 +8993,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -9006,13 +9007,13 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -9024,7 +9025,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "dashboardURL")] pub dashboard_url: Option, @@ -9050,7 +9051,7 @@ pub struct RayJobStatus { pub start_time: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobStatusRayClusterStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "availableWorkerReplicas")] pub available_worker_replicas: Option, @@ -9086,7 +9087,7 @@ pub struct RayJobStatusRayClusterStatus { pub state_transition_times: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobStatusRayClusterStatusHead { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podIP")] pub pod_ip: Option, diff --git a/kube-custom-resources-rs/src/ray_io/v1/rayservices.rs b/kube-custom-resources-rs/src/ray_io/v1/rayservices.rs index 9b8c6fa10..3e05d6bdc 100644 --- a/kube-custom-resources-rs/src/ray_io/v1/rayservices.rs +++ b/kube-custom-resources-rs/src/ray_io/v1/rayservices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/ray-project/kuberay/ray.io/v1/rayservices.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/ray-project/kuberay/ray.io/v1/rayservices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "ray.io", version = "v1", kind = "RayService", plural = "rayservices")] #[kube(namespaced)] #[kube(status = "RayServiceStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct RayServiceSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "deploymentUnhealthySecondThreshold")] @@ -31,7 +32,7 @@ pub struct RayServiceSpec { pub service_unhealthy_second_threshold: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoscalerOptions")] pub autoscaler_options: Option, @@ -49,7 +50,7 @@ pub struct RayServiceRayClusterConfig { pub worker_group_specs: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub env: Option>, @@ -71,7 +72,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptions { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -80,7 +81,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -92,7 +93,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -101,7 +102,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvValueFromConfigMapKeyRe pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -109,7 +110,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -118,7 +119,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvValueFromResourceFieldR pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -127,7 +128,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -137,7 +138,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -145,7 +146,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -153,7 +154,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -163,12 +164,12 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -194,7 +195,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -202,7 +203,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsSecurityContextCapabilitie pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -214,7 +215,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsSecurityContextSeLinuxOpti pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -222,7 +223,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsSecurityContextSeccompProf pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -241,7 +242,7 @@ pub enum RayServiceRayClusterConfigAutoscalerOptionsUpscalingMode { Conservative, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -256,7 +257,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "enableIngress")] pub enable_ingress: Option, @@ -269,7 +270,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpec { pub template: RayServiceRayClusterConfigHeadGroupSpecTemplate, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecHeadService { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -283,7 +284,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecHeadService { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -297,7 +298,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] pub allocate_load_balancer_node_ports: Option, @@ -339,7 +340,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceSpec { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceSpecPorts { #[serde(default, skip_serializing_if = "Option::is_none", rename = "appProtocol")] pub app_protocol: Option, @@ -354,19 +355,19 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceSpecPorts { pub target_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceSpecSessionAffinityConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] pub client_ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceSpecSessionAffinityConfigClientIp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, @@ -374,13 +375,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceStatus { pub load_balancer: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceStatusLoadBalancer { #[serde(default, skip_serializing_if = "Option::is_none")] pub ingress: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceStatusLoadBalancerIngress { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostname: Option, @@ -390,7 +391,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceStatusLoadBalancerI pub ports: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceStatusLoadBalancerIngressPorts { #[serde(default, skip_serializing_if = "Option::is_none")] pub error: Option, @@ -398,7 +399,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceStatusLoadBalancerI pub protocol: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -406,7 +407,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplate { pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -420,7 +421,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] pub active_deadline_seconds: Option, @@ -501,7 +502,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpec { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -511,7 +512,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -519,13 +520,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffini pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -533,7 +534,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffini pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -541,7 +542,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffini pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -549,13 +550,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffini pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -563,7 +564,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffini pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -571,7 +572,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffini pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -579,7 +580,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffini pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -587,14 +588,14 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinit pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -606,7 +607,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinit pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -614,7 +615,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinit pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -622,7 +623,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinit pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -630,7 +631,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinit pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -638,7 +639,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinit pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -650,7 +651,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinit pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -658,7 +659,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinit pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -666,7 +667,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinit pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -674,7 +675,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinit pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -682,7 +683,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinit pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -690,14 +691,14 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAff pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -709,7 +710,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAff pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -717,7 +718,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAff pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -725,7 +726,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAff pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -733,7 +734,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAff pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -741,7 +742,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAff pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -753,7 +754,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAff pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -761,7 +762,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAff pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -769,7 +770,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAff pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -777,7 +778,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAff pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -785,7 +786,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAff pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -836,7 +837,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -845,7 +846,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -857,7 +858,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvValue pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -866,7 +867,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvValue pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -874,7 +875,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvValue pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -883,7 +884,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvValue pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -892,7 +893,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvValue pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -902,7 +903,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvFrom pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -910,7 +911,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvFromC pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -918,7 +919,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvFromS pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -926,7 +927,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecycl pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -936,13 +937,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecycl pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -955,20 +956,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecycl pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -978,13 +979,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecycl pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -997,20 +998,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecycl pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1034,20 +1035,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLiveness pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1060,20 +1061,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLiveness pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -1087,7 +1088,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1111,20 +1112,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersReadines pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1137,20 +1138,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersReadines pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -1158,7 +1159,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersResizePo pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -1168,12 +1169,12 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersResource pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1199,7 +1200,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersSecurity pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1207,7 +1208,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersSecurity pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1219,7 +1220,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersSecurity pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1227,7 +1228,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersSecurity pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1239,7 +1240,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersSecurity pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1263,20 +1264,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersStartupP pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1289,27 +1290,27 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersStartupP pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1324,7 +1325,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersVolumeMo pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecDnsConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, @@ -1334,7 +1335,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecDnsConfig { pub searches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecDnsConfigOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1342,7 +1343,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecDnsConfigOptions { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -1395,7 +1396,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1404,7 +1405,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -1416,7 +1417,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1425,7 +1426,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1433,7 +1434,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1442,7 +1443,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1451,7 +1452,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -1461,7 +1462,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1469,7 +1470,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1477,7 +1478,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -1485,7 +1486,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1495,13 +1496,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1514,20 +1515,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1537,13 +1538,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1556,20 +1557,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1593,20 +1594,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1619,20 +1620,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -1646,7 +1647,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1670,20 +1671,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1696,20 +1697,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -1717,7 +1718,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -1727,12 +1728,12 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1758,7 +1759,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1766,7 +1767,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1778,7 +1779,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1786,7 +1787,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1798,7 +1799,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1822,20 +1823,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1848,27 +1849,27 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1883,7 +1884,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -1891,13 +1892,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -1948,7 +1949,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1957,7 +1958,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnv pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -1969,7 +1970,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvV pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1978,7 +1979,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvV pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1986,7 +1987,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvV pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1995,7 +1996,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvV pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2004,7 +2005,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvV pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -2014,7 +2015,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvF pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2022,7 +2023,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvF pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2030,7 +2031,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvF pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -2038,7 +2039,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLife pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2048,13 +2049,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLife pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2067,20 +2068,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLife pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2090,13 +2091,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLife pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2109,20 +2110,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLife pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2146,20 +2147,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLive pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2172,20 +2173,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLive pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -2199,7 +2200,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersPort pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2223,20 +2224,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersRead pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2249,20 +2250,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersRead pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -2270,7 +2271,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersResi pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2280,12 +2281,12 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersReso pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -2311,7 +2312,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersSecu pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -2319,7 +2320,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersSecu pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2331,7 +2332,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersSecu pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2339,7 +2340,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersSecu pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2351,7 +2352,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersSecu pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2375,20 +2376,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersStar pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2401,27 +2402,27 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersStar pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -2436,25 +2437,25 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersVolu pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecOs { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecReadinessGates { #[serde(rename = "conditionType")] pub condition_type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecResourceClaims { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecResourceClaimsSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceClaimName")] pub resource_claim_name: Option, @@ -2462,12 +2463,12 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecResourceClaimsSour pub resource_claim_template_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecSchedulingGates { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -2491,7 +2492,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2503,7 +2504,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecSecurityContextSeL pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2511,13 +2512,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecSecurityContextSec pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2529,7 +2530,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecSecurityContextWin pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -2543,7 +2544,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -2563,7 +2564,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecTopologySpreadCons pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2571,7 +2572,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecTopologySpreadCons pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2579,7 +2580,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecTopologySpreadCons pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -2642,7 +2643,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2654,7 +2655,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesAwsElasticB pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -2670,7 +2671,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -2680,7 +2681,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2695,13 +2696,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2713,13 +2714,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2731,7 +2732,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2739,7 +2740,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesConfigMapIt pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2752,13 +2753,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2766,7 +2767,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesDownwardApi pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -2777,7 +2778,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesDownwardApi pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2785,7 +2786,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesDownwardApi pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2794,7 +2795,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesDownwardApi pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -2802,20 +2803,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -2829,7 +2830,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVo pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -2849,7 +2850,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVo pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -2857,7 +2858,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVo pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -2867,7 +2868,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVo pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2877,12 +2878,12 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVo pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2890,7 +2891,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVo pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2898,7 +2899,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVo pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2912,7 +2913,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2925,13 +2926,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesFlexVolume pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -2939,7 +2940,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2951,7 +2952,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesGcePersiste pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -2960,7 +2961,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -2968,14 +2969,14 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -2999,13 +3000,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -3013,7 +3014,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -3021,7 +3022,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesPersistentV pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3029,7 +3030,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesPhotonPersi pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3039,7 +3040,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesPortworxVol pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3047,7 +3048,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -3059,7 +3060,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSo pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -3069,7 +3070,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSo pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3077,13 +3078,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSo pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -3094,7 +3095,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSo pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3102,7 +3103,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSo pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3111,7 +3112,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSo pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -3121,7 +3122,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSo pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3129,7 +3130,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSo pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -3138,7 +3139,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSo pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -3152,7 +3153,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3170,13 +3171,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3198,13 +3199,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3216,7 +3217,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3224,7 +3225,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesSecretItems pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3238,13 +3239,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3256,7 +3257,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesVsphereVolu pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecs { #[serde(rename = "groupName")] pub group_name: String, @@ -3275,13 +3276,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecs { pub template: RayServiceRayClusterConfigWorkerGroupSpecsTemplate, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsScaleStrategy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "workersToDelete")] pub workers_to_delete: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -3289,7 +3290,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplate { pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3303,7 +3304,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] pub active_deadline_seconds: Option, @@ -3384,7 +3385,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpec { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -3394,7 +3395,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3402,13 +3403,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAff pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3416,7 +3417,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAff pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -3424,7 +3425,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAff pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -3432,13 +3433,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAff pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3446,7 +3447,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAff pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -3454,7 +3455,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAff pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -3462,7 +3463,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAff pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3470,14 +3471,14 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffi pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3489,7 +3490,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffi pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3497,7 +3498,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffi pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3505,7 +3506,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffi pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3513,7 +3514,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffi pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3521,7 +3522,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffi pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3533,7 +3534,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffi pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3541,7 +3542,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffi pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3549,7 +3550,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffi pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3557,7 +3558,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffi pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3565,7 +3566,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffi pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3573,14 +3574,14 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAnti pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3592,7 +3593,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAnti pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3600,7 +3601,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAnti pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3608,7 +3609,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAnti pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3616,7 +3617,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAnti pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3624,7 +3625,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAnti pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3636,7 +3637,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAnti pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3644,7 +3645,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAnti pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3652,7 +3653,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAnti pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3660,7 +3661,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAnti pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3668,7 +3669,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAnti pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -3719,7 +3720,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3728,7 +3729,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -3740,7 +3741,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvVa pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3749,7 +3750,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvVa pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3757,7 +3758,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvVa pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3766,7 +3767,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvVa pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3775,7 +3776,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvVa pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -3785,7 +3786,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvFr pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3793,7 +3794,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvFr pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3801,7 +3802,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvFr pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -3809,7 +3810,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifec pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3819,13 +3820,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifec pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3838,20 +3839,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifec pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3861,13 +3862,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifec pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3880,20 +3881,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifec pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3917,20 +3918,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLiven pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3943,20 +3944,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLiven pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -3970,7 +3971,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersPorts pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3994,20 +3995,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersReadi pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4020,20 +4021,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersReadi pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -4041,7 +4042,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersResiz pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -4051,12 +4052,12 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersResou pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -4082,7 +4083,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersSecur pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -4090,7 +4091,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersSecur pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -4102,7 +4103,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersSecur pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -4110,7 +4111,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersSecur pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4122,7 +4123,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersSecur pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4146,20 +4147,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersStart pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4172,27 +4173,27 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersStart pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -4207,7 +4208,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersVolum pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecDnsConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, @@ -4217,7 +4218,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecDnsConfig { pub searches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecDnsConfigOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4225,7 +4226,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecDnsConfigOption pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -4278,7 +4279,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4287,7 +4288,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -4299,7 +4300,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4308,7 +4309,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4316,7 +4317,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4325,7 +4326,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4334,7 +4335,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -4344,7 +4345,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4352,7 +4353,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4360,7 +4361,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -4368,7 +4369,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4378,13 +4379,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4397,20 +4398,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4420,13 +4421,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4439,20 +4440,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4476,20 +4477,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4502,20 +4503,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -4529,7 +4530,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4553,20 +4554,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4579,20 +4580,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -4600,7 +4601,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -4610,12 +4611,12 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -4641,7 +4642,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -4649,7 +4650,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -4661,7 +4662,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -4669,7 +4670,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4681,7 +4682,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4705,20 +4706,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4731,27 +4732,27 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -4766,7 +4767,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -4774,13 +4775,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -4831,7 +4832,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainers pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4840,7 +4841,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersE pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -4852,7 +4853,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersE pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4861,7 +4862,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersE pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4869,7 +4870,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersE pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4878,7 +4879,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersE pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4887,7 +4888,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersE pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -4897,7 +4898,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersE pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4905,7 +4906,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersE pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4913,7 +4914,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersE pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -4921,7 +4922,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersL pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4931,13 +4932,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersL pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4950,20 +4951,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersL pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4973,13 +4974,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersL pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4992,20 +4993,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersL pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5029,20 +5030,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersL pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5055,20 +5056,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersL pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -5082,7 +5083,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersP pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5106,20 +5107,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersR pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5132,20 +5133,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersR pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -5153,7 +5154,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersR pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -5163,12 +5164,12 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersR pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -5194,7 +5195,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersS pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -5202,7 +5203,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersS pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5214,7 +5215,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersS pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5222,7 +5223,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersS pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5234,7 +5235,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersS pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5258,20 +5259,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersS pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5284,27 +5285,27 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersS pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -5319,25 +5320,25 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersV pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecOs { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecReadinessGates { #[serde(rename = "conditionType")] pub condition_type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecResourceClaims { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecResourceClaimsSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceClaimName")] pub resource_claim_name: Option, @@ -5345,12 +5346,12 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecResourceClaimsS pub resource_claim_template_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecSchedulingGates { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -5374,7 +5375,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecSecurityContext pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5386,7 +5387,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecSecurityContext pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5394,13 +5395,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecSecurityContext pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5412,7 +5413,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecSecurityContext pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -5426,7 +5427,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5446,7 +5447,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecTopologySpreadC pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5454,7 +5455,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecTopologySpreadC pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5462,7 +5463,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecTopologySpreadC pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -5525,7 +5526,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5537,7 +5538,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesAwsElast pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -5553,7 +5554,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesAzureDis pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -5563,7 +5564,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesAzureFil pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5578,13 +5579,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5596,13 +5597,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5614,7 +5615,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesConfigMa pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5622,7 +5623,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesConfigMa pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5635,13 +5636,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5649,7 +5650,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesDownward pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -5660,7 +5661,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesDownward pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -5668,7 +5669,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesDownward pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -5677,7 +5678,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesDownward pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -5685,20 +5686,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEmptyDir pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -5712,7 +5713,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemera pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -5732,7 +5733,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemera pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -5740,7 +5741,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemera pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -5750,7 +5751,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemera pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -5760,12 +5761,12 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemera pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5773,7 +5774,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemera pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5781,7 +5782,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemera pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5795,7 +5796,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5808,13 +5809,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesFlexVolu pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -5822,7 +5823,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesFlocker pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5834,7 +5835,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesGcePersi pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -5843,7 +5844,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesGitRepo pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -5851,14 +5852,14 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesGlusterf pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -5882,13 +5883,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -5896,7 +5897,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -5904,7 +5905,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesPersiste pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5912,7 +5913,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesPhotonPe pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5922,7 +5923,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesPortworx pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5930,7 +5931,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjecte pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -5942,7 +5943,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjecte pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -5952,7 +5953,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjecte pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5960,13 +5961,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjecte pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -5977,7 +5978,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjecte pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -5985,7 +5986,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjecte pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -5994,7 +5995,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjecte pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -6004,7 +6005,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjecte pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6012,7 +6013,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjecte pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -6021,7 +6022,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjecte pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -6035,7 +6036,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesQuobyte pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6053,13 +6054,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6081,13 +6082,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesScaleIo pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -6099,7 +6100,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6107,7 +6108,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesSecretIt pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6121,13 +6122,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesStorageo pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6139,7 +6140,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesVsphereV pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceServeService { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -6153,7 +6154,7 @@ pub struct RayServiceServeService { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceServeServiceMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -6167,7 +6168,7 @@ pub struct RayServiceServeServiceMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceServeServiceSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] pub allocate_load_balancer_node_ports: Option, @@ -6209,7 +6210,7 @@ pub struct RayServiceServeServiceSpec { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceServeServiceSpecPorts { #[serde(default, skip_serializing_if = "Option::is_none", rename = "appProtocol")] pub app_protocol: Option, @@ -6224,19 +6225,19 @@ pub struct RayServiceServeServiceSpecPorts { pub target_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceServeServiceSpecSessionAffinityConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] pub client_ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceServeServiceSpecSessionAffinityConfigClientIp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceServeServiceStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, @@ -6244,13 +6245,13 @@ pub struct RayServiceServeServiceStatus { pub load_balancer: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceServeServiceStatusLoadBalancer { #[serde(default, skip_serializing_if = "Option::is_none")] pub ingress: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceServeServiceStatusLoadBalancerIngress { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostname: Option, @@ -6260,7 +6261,7 @@ pub struct RayServiceServeServiceStatusLoadBalancerIngress { pub ports: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceServeServiceStatusLoadBalancerIngressPorts { #[serde(default, skip_serializing_if = "Option::is_none")] pub error: Option, @@ -6268,7 +6269,7 @@ pub struct RayServiceServeServiceStatusLoadBalancerIngressPorts { pub protocol: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeServiceStatus")] pub active_service_status: Option, @@ -6284,7 +6285,7 @@ pub struct RayServiceStatus { pub service_status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceStatusActiveServiceStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "applicationStatuses")] pub application_statuses: Option>, @@ -6294,7 +6295,7 @@ pub struct RayServiceStatusActiveServiceStatus { pub ray_cluster_status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceStatusActiveServiceStatusApplicationStatuses { #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthLastUpdateTime")] pub health_last_update_time: Option, @@ -6306,7 +6307,7 @@ pub struct RayServiceStatusActiveServiceStatusApplicationStatuses { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceStatusActiveServiceStatusApplicationStatusesServeDeploymentStatuses { #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthLastUpdateTime")] pub health_last_update_time: Option, @@ -6316,7 +6317,7 @@ pub struct RayServiceStatusActiveServiceStatusApplicationStatusesServeDeployment pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceStatusActiveServiceStatusRayClusterStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "availableWorkerReplicas")] pub available_worker_replicas: Option, @@ -6352,7 +6353,7 @@ pub struct RayServiceStatusActiveServiceStatusRayClusterStatus { pub state_transition_times: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceStatusActiveServiceStatusRayClusterStatusHead { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podIP")] pub pod_ip: Option, @@ -6362,7 +6363,7 @@ pub struct RayServiceStatusActiveServiceStatusRayClusterStatusHead { pub service_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceStatusPendingServiceStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "applicationStatuses")] pub application_statuses: Option>, @@ -6372,7 +6373,7 @@ pub struct RayServiceStatusPendingServiceStatus { pub ray_cluster_status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceStatusPendingServiceStatusApplicationStatuses { #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthLastUpdateTime")] pub health_last_update_time: Option, @@ -6384,7 +6385,7 @@ pub struct RayServiceStatusPendingServiceStatusApplicationStatuses { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceStatusPendingServiceStatusApplicationStatusesServeDeploymentStatuses { #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthLastUpdateTime")] pub health_last_update_time: Option, @@ -6394,7 +6395,7 @@ pub struct RayServiceStatusPendingServiceStatusApplicationStatusesServeDeploymen pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceStatusPendingServiceStatusRayClusterStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "availableWorkerReplicas")] pub available_worker_replicas: Option, @@ -6430,7 +6431,7 @@ pub struct RayServiceStatusPendingServiceStatusRayClusterStatus { pub state_transition_times: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceStatusPendingServiceStatusRayClusterStatusHead { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podIP")] pub pod_ip: Option, diff --git a/kube-custom-resources-rs/src/ray_io/v1alpha1/rayclusters.rs b/kube-custom-resources-rs/src/ray_io/v1alpha1/rayclusters.rs index 5abab3b21..40ca936ee 100644 --- a/kube-custom-resources-rs/src/ray_io/v1alpha1/rayclusters.rs +++ b/kube-custom-resources-rs/src/ray_io/v1alpha1/rayclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/ray-project/kuberay/ray.io/v1alpha1/rayclusters.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/ray-project/kuberay/ray.io/v1alpha1/rayclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "ray.io", version = "v1alpha1", kind = "RayCluster", plural = "rayclusters")] #[kube(namespaced)] #[kube(status = "RayClusterStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct RayClusterSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoscalerOptions")] @@ -35,7 +36,7 @@ pub struct RayClusterSpec { pub worker_group_specs: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub env: Option>, @@ -57,7 +58,7 @@ pub struct RayClusterAutoscalerOptions { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -66,7 +67,7 @@ pub struct RayClusterAutoscalerOptionsEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -78,7 +79,7 @@ pub struct RayClusterAutoscalerOptionsEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -87,7 +88,7 @@ pub struct RayClusterAutoscalerOptionsEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -95,7 +96,7 @@ pub struct RayClusterAutoscalerOptionsEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -104,7 +105,7 @@ pub struct RayClusterAutoscalerOptionsEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -113,7 +114,7 @@ pub struct RayClusterAutoscalerOptionsEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -123,7 +124,7 @@ pub struct RayClusterAutoscalerOptionsEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -131,7 +132,7 @@ pub struct RayClusterAutoscalerOptionsEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -139,7 +140,7 @@ pub struct RayClusterAutoscalerOptionsEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -149,12 +150,12 @@ pub struct RayClusterAutoscalerOptionsResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -180,7 +181,7 @@ pub struct RayClusterAutoscalerOptionsSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -188,7 +189,7 @@ pub struct RayClusterAutoscalerOptionsSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -200,7 +201,7 @@ pub struct RayClusterAutoscalerOptionsSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -208,7 +209,7 @@ pub struct RayClusterAutoscalerOptionsSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -227,7 +228,7 @@ pub enum RayClusterAutoscalerOptionsUpscalingMode { Conservative, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterAutoscalerOptionsVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -242,7 +243,7 @@ pub struct RayClusterAutoscalerOptionsVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "enableIngress")] pub enable_ingress: Option, @@ -255,7 +256,7 @@ pub struct RayClusterHeadGroupSpec { pub template: RayClusterHeadGroupSpecTemplate, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecHeadService { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -269,7 +270,7 @@ pub struct RayClusterHeadGroupSpecHeadService { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecHeadServiceMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -283,7 +284,7 @@ pub struct RayClusterHeadGroupSpecHeadServiceMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecHeadServiceSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] pub allocate_load_balancer_node_ports: Option, @@ -325,7 +326,7 @@ pub struct RayClusterHeadGroupSpecHeadServiceSpec { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecHeadServiceSpecPorts { #[serde(default, skip_serializing_if = "Option::is_none", rename = "appProtocol")] pub app_protocol: Option, @@ -340,19 +341,19 @@ pub struct RayClusterHeadGroupSpecHeadServiceSpecPorts { pub target_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecHeadServiceSpecSessionAffinityConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] pub client_ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecHeadServiceSpecSessionAffinityConfigClientIp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecHeadServiceStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, @@ -360,13 +361,13 @@ pub struct RayClusterHeadGroupSpecHeadServiceStatus { pub load_balancer: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecHeadServiceStatusLoadBalancer { #[serde(default, skip_serializing_if = "Option::is_none")] pub ingress: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecHeadServiceStatusLoadBalancerIngress { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostname: Option, @@ -376,7 +377,7 @@ pub struct RayClusterHeadGroupSpecHeadServiceStatusLoadBalancerIngress { pub ports: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecHeadServiceStatusLoadBalancerIngressPorts { #[serde(default, skip_serializing_if = "Option::is_none")] pub error: Option, @@ -384,7 +385,7 @@ pub struct RayClusterHeadGroupSpecHeadServiceStatusLoadBalancerIngressPorts { pub protocol: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -392,7 +393,7 @@ pub struct RayClusterHeadGroupSpecTemplate { pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -406,7 +407,7 @@ pub struct RayClusterHeadGroupSpecTemplateMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] pub active_deadline_seconds: Option, @@ -487,7 +488,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpec { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -497,7 +498,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -505,13 +506,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -519,7 +520,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDurin pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -527,7 +528,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDurin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -535,13 +536,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDurin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -549,7 +550,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuring pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -557,7 +558,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuring pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -565,7 +566,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuring pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -573,14 +574,14 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -592,7 +593,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuring pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -600,7 +601,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuring pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -608,7 +609,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuring pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -616,7 +617,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuring pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -624,7 +625,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuring pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -636,7 +637,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringS pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -644,7 +645,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringS pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -652,7 +653,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringS pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -660,7 +661,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringS pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -668,7 +669,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringS pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -676,14 +677,14 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -695,7 +696,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDu pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -703,7 +704,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -711,7 +712,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -719,7 +720,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -727,7 +728,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -739,7 +740,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDur pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -747,7 +748,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDur pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -755,7 +756,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -763,7 +764,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDur pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -771,7 +772,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -822,7 +823,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -831,7 +832,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -843,7 +844,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -852,7 +853,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvValueFromConfigMapKey pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -860,7 +861,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -869,7 +870,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvValueFromResourceFiel pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -878,7 +879,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvValueFromSecretKeyRef pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -888,7 +889,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -896,7 +897,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -904,7 +905,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -912,7 +913,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -922,13 +923,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -941,20 +942,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePostStartHttpGe pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -964,13 +965,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -983,20 +984,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePreStopHttpGet pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1020,20 +1021,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1046,20 +1047,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -1073,7 +1074,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1097,20 +1098,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1123,20 +1124,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -1144,7 +1145,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -1154,12 +1155,12 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1185,7 +1186,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1193,7 +1194,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersSecurityContextCapabilit pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1205,7 +1206,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersSecurityContextSeLinuxOp pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1213,7 +1214,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersSecurityContextSeccompPr pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1225,7 +1226,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersSecurityContextWindowsOp pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1249,20 +1250,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1275,27 +1276,27 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1310,7 +1311,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecDnsConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, @@ -1320,7 +1321,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecDnsConfig { pub searches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecDnsConfigOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1328,7 +1329,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecDnsConfigOptions { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -1381,7 +1382,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1390,7 +1391,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -1402,7 +1403,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1411,7 +1412,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromCon pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1419,7 +1420,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromFie pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1428,7 +1429,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromRes pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1437,7 +1438,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromSec pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -1447,7 +1448,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1455,7 +1456,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvFromConfigMa pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1463,7 +1464,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersEnvFromSecretRe pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -1471,7 +1472,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1481,13 +1482,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostSt pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1500,20 +1501,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostSt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1523,13 +1524,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreSto pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1542,20 +1543,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreSto pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1579,20 +1580,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1605,20 +1606,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeHt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -1632,7 +1633,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1656,20 +1657,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbe pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1682,20 +1683,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeH pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -1703,7 +1704,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -1713,12 +1714,12 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1744,7 +1745,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersSecurityContext pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1752,7 +1753,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersSecurityContext pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1764,7 +1765,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersSecurityContext pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1772,7 +1773,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersSecurityContext pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1784,7 +1785,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersSecurityContext pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1808,20 +1809,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1834,27 +1835,27 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeHtt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1869,7 +1870,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecEphemeralContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -1877,13 +1878,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -1934,7 +1935,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1943,7 +1944,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -1955,7 +1956,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1964,7 +1965,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvValueFromConfigMa pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1972,7 +1973,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvValueFromFieldRef pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1981,7 +1982,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvValueFromResource pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1990,7 +1991,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvValueFromSecretKe pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -2000,7 +2001,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2008,7 +2009,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvFromConfigMapRef pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2016,7 +2017,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -2024,7 +2025,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2034,13 +2035,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2053,20 +2054,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartHt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2076,13 +2077,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2095,20 +2096,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopHttp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2132,20 +2133,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2158,20 +2159,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLivenessProbeHttpGet pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -2185,7 +2186,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2209,20 +2210,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2235,20 +2236,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersReadinessProbeHttpGe pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -2256,7 +2257,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2266,12 +2267,12 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -2297,7 +2298,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -2305,7 +2306,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersSecurityContextCapab pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2317,7 +2318,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersSecurityContextSeLin pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2325,7 +2326,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersSecurityContextSecco pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2337,7 +2338,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersSecurityContextWindo pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2361,20 +2362,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2387,27 +2388,27 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersStartupProbeHttpGet pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -2422,25 +2423,25 @@ pub struct RayClusterHeadGroupSpecTemplateSpecInitContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecOs { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecReadinessGates { #[serde(rename = "conditionType")] pub condition_type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecResourceClaims { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecResourceClaimsSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceClaimName")] pub resource_claim_name: Option, @@ -2448,12 +2449,12 @@ pub struct RayClusterHeadGroupSpecTemplateSpecResourceClaimsSource { pub resource_claim_template_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecSchedulingGates { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -2477,7 +2478,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2489,7 +2490,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2497,13 +2498,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2515,7 +2516,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -2529,7 +2530,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -2549,7 +2550,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecTopologySpreadConstraints { pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2557,7 +2558,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecTopologySpreadConstraintsLabelSele pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2565,7 +2566,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecTopologySpreadConstraintsLabelSele pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -2628,7 +2629,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2640,7 +2641,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesAwsElasticBlockStore { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -2656,7 +2657,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -2666,7 +2667,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2681,13 +2682,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2699,13 +2700,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2717,7 +2718,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2725,7 +2726,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2738,13 +2739,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2752,7 +2753,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -2763,7 +2764,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2771,7 +2772,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2780,7 +2781,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesDownwardApiItemsResourceFie pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -2788,20 +2789,20 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -2815,7 +2816,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplat pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -2835,7 +2836,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplat pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -2843,7 +2844,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplat pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -2853,7 +2854,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplat pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2863,12 +2864,12 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplat pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2876,7 +2877,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplat pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2884,7 +2885,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplat pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2898,7 +2899,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2911,13 +2912,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -2925,7 +2926,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2937,7 +2938,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesGcePersistentDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -2946,7 +2947,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -2954,14 +2955,14 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -2985,13 +2986,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -2999,7 +3000,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -3007,7 +3008,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesPersistentVolumeClaim { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3015,7 +3016,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesPhotonPersistentDisk { pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3025,7 +3026,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesPortworxVolume { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3033,7 +3034,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -3045,7 +3046,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSources { pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -3055,7 +3056,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3063,13 +3064,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesConfigMapIt pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -3080,7 +3081,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApi pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3088,7 +3089,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApi pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3097,7 +3098,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApi pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -3107,7 +3108,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesSecret { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3115,7 +3116,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesSecretItems pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -3124,7 +3125,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesProjectedSourcesServiceAcco pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -3138,7 +3139,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3156,13 +3157,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3184,13 +3185,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3202,7 +3203,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3210,7 +3211,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3224,13 +3225,13 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterHeadGroupSpecTemplateSpecVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3242,7 +3243,7 @@ pub struct RayClusterHeadGroupSpecTemplateSpecVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecs { #[serde(rename = "groupName")] pub group_name: String, @@ -3259,13 +3260,13 @@ pub struct RayClusterWorkerGroupSpecs { pub template: RayClusterWorkerGroupSpecsTemplate, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsScaleStrategy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "workersToDelete")] pub workers_to_delete: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -3273,7 +3274,7 @@ pub struct RayClusterWorkerGroupSpecsTemplate { pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3287,7 +3288,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] pub active_deadline_seconds: Option, @@ -3368,7 +3369,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpec { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -3378,7 +3379,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3386,13 +3387,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3400,7 +3401,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDu pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -3408,7 +3409,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -3416,13 +3417,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3430,7 +3431,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDur pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -3438,7 +3439,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -3446,7 +3447,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3454,14 +3455,14 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3473,7 +3474,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDur pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3481,7 +3482,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDur pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3489,7 +3490,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3497,7 +3498,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDur pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3505,7 +3506,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3517,7 +3518,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuri pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3525,7 +3526,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuri pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3533,7 +3534,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3541,7 +3542,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuri pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3549,7 +3550,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3557,14 +3558,14 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3576,7 +3577,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferre pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3584,7 +3585,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferre pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3592,7 +3593,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferre pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3600,7 +3601,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferre pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3608,7 +3609,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferre pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3620,7 +3621,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequired pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3628,7 +3629,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequired pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3636,7 +3637,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequired pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3644,7 +3645,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequired pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3652,7 +3653,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequired pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -3703,7 +3704,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3712,7 +3713,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -3724,7 +3725,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3733,7 +3734,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvValueFromConfigMap pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3741,7 +3742,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvValueFromFieldRef pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3750,7 +3751,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvValueFromResourceF pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3759,7 +3760,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvValueFromSecretKey pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -3769,7 +3770,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3777,7 +3778,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3785,7 +3786,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -3793,7 +3794,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3803,13 +3804,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3822,20 +3823,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartHtt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3845,13 +3846,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3864,20 +3865,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopHttpG pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3901,20 +3902,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3927,20 +3928,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLivenessProbeHttpGet pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -3954,7 +3955,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3978,20 +3979,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4004,20 +4005,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersReadinessProbeHttpGet pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -4025,7 +4026,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -4035,12 +4036,12 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -4066,7 +4067,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -4074,7 +4075,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersSecurityContextCapabi pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -4086,7 +4087,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersSecurityContextSeLinu pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -4094,7 +4095,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersSecurityContextSeccom pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4106,7 +4107,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersSecurityContextWindow pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4130,20 +4131,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4156,27 +4157,27 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -4191,7 +4192,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecDnsConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, @@ -4201,7 +4202,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecDnsConfig { pub searches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecDnsConfigOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4209,7 +4210,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecDnsConfigOptions { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -4262,7 +4263,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4271,7 +4272,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -4283,7 +4284,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFrom pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4292,7 +4293,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFrom pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4300,7 +4301,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFrom pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4309,7 +4310,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFrom pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4318,7 +4319,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFrom pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -4328,7 +4329,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4336,7 +4337,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvFromConfi pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4344,7 +4345,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersEnvFromSecre pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -4352,7 +4353,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4362,13 +4363,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePos pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4381,20 +4382,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePos pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4404,13 +4405,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePre pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4423,20 +4424,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePre pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4460,20 +4461,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProb pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4486,20 +4487,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProb pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -4513,7 +4514,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4537,20 +4538,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessPro pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4563,20 +4564,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessPro pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -4584,7 +4585,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersResizePolicy pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -4594,12 +4595,12 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -4625,7 +4626,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityCont pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -4633,7 +4634,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityCont pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -4645,7 +4646,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityCont pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -4653,7 +4654,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityCont pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4665,7 +4666,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityCont pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4689,20 +4690,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbe pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4715,27 +4716,27 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbe pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -4750,7 +4751,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecEphemeralContainersVolumeMounts pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -4758,13 +4759,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -4815,7 +4816,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4824,7 +4825,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -4836,7 +4837,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4845,7 +4846,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromConfi pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4853,7 +4854,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromField pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4862,7 +4863,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromResou pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4871,7 +4872,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromSecre pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -4881,7 +4882,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4889,7 +4890,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvFromConfigMapR pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4897,7 +4898,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersEnvFromSecretRef pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -4905,7 +4906,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4915,13 +4916,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStar pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4934,20 +4935,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStar pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4957,13 +4958,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStop pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4976,20 +4977,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopH pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5013,20 +5014,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5039,20 +5040,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeHttp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -5066,7 +5067,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5090,20 +5091,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5116,20 +5117,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeHtt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -5137,7 +5138,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -5147,12 +5148,12 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -5178,7 +5179,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -5186,7 +5187,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersSecurityContextCa pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5198,7 +5199,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersSecurityContextSe pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5206,7 +5207,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersSecurityContextSe pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5218,7 +5219,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersSecurityContextWi pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5242,20 +5243,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5268,27 +5269,27 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersStartupProbeHttpG pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -5303,25 +5304,25 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecInitContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecOs { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecReadinessGates { #[serde(rename = "conditionType")] pub condition_type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecResourceClaims { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecResourceClaimsSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceClaimName")] pub resource_claim_name: Option, @@ -5329,12 +5330,12 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecResourceClaimsSource { pub resource_claim_template_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecSchedulingGates { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -5358,7 +5359,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5370,7 +5371,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5378,13 +5379,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5396,7 +5397,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -5410,7 +5411,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5430,7 +5431,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecTopologySpreadConstraints { pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5438,7 +5439,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecTopologySpreadConstraintsLabelS pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5446,7 +5447,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecTopologySpreadConstraintsLabelS pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -5509,7 +5510,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5521,7 +5522,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesAwsElasticBlockStore { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -5537,7 +5538,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -5547,7 +5548,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5562,13 +5563,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5580,13 +5581,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5598,7 +5599,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5606,7 +5607,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5619,13 +5620,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5633,7 +5634,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -5644,7 +5645,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -5652,7 +5653,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesDownwardApiItemsFieldRef pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -5661,7 +5662,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesDownwardApiItemsResource pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -5669,20 +5670,20 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -5696,7 +5697,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemp pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -5716,7 +5717,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemp pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -5724,7 +5725,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemp pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -5734,7 +5735,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemp pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -5744,12 +5745,12 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemp pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5757,7 +5758,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemp pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5765,7 +5766,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5779,7 +5780,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5792,13 +5793,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -5806,7 +5807,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5818,7 +5819,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesGcePersistentDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -5827,7 +5828,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -5835,14 +5836,14 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -5866,13 +5867,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -5880,7 +5881,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -5888,7 +5889,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesPersistentVolumeClaim { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5896,7 +5897,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesPhotonPersistentDisk { pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5906,7 +5907,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesPortworxVolume { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5914,7 +5915,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -5926,7 +5927,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSources { pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -5936,7 +5937,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesConfigMa pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5944,13 +5945,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesConfigMa pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -5961,7 +5962,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownward pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -5969,7 +5970,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownward pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -5978,7 +5979,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownward pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -5988,7 +5989,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesSecret { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5996,7 +5997,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesSecretIt pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -6005,7 +6006,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesServiceA pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -6019,7 +6020,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6037,13 +6038,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6065,13 +6066,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -6083,7 +6084,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6091,7 +6092,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6105,13 +6106,13 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6123,7 +6124,7 @@ pub struct RayClusterWorkerGroupSpecsTemplateSpecVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "availableWorkerReplicas")] pub available_worker_replicas: Option, @@ -6157,7 +6158,7 @@ pub struct RayClusterStatus { pub state: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayClusterStatusHead { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podIP")] pub pod_ip: Option, diff --git a/kube-custom-resources-rs/src/ray_io/v1alpha1/rayjobs.rs b/kube-custom-resources-rs/src/ray_io/v1alpha1/rayjobs.rs index 935b5a451..b2ac96c58 100644 --- a/kube-custom-resources-rs/src/ray_io/v1alpha1/rayjobs.rs +++ b/kube-custom-resources-rs/src/ray_io/v1alpha1/rayjobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/ray-project/kuberay/ray.io/v1alpha1/rayjobs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/ray-project/kuberay/ray.io/v1alpha1/rayjobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "ray.io", version = "v1alpha1", kind = "RayJob", plural = "rayjobs")] #[kube(namespaced)] #[kube(status = "RayJobStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct RayJobSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterSelector")] @@ -46,7 +47,7 @@ pub struct RayJobSpec { pub ttl_seconds_after_finished: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoscalerOptions")] pub autoscaler_options: Option, @@ -64,7 +65,7 @@ pub struct RayJobRayClusterSpec { pub worker_group_specs: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub env: Option>, @@ -86,7 +87,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptions { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -95,7 +96,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -107,7 +108,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -116,7 +117,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -124,7 +125,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -133,7 +134,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -142,7 +143,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -152,7 +153,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -160,7 +161,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -168,7 +169,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -178,12 +179,12 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -209,7 +210,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -217,7 +218,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -229,7 +230,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -237,7 +238,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -256,7 +257,7 @@ pub enum RayJobRayClusterSpecAutoscalerOptionsUpscalingMode { Conservative, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecAutoscalerOptionsVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -271,7 +272,7 @@ pub struct RayJobRayClusterSpecAutoscalerOptionsVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "enableIngress")] pub enable_ingress: Option, @@ -284,7 +285,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpec { pub template: RayJobRayClusterSpecHeadGroupSpecTemplate, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecHeadService { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -298,7 +299,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecHeadService { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -312,7 +313,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] pub allocate_load_balancer_node_ports: Option, @@ -354,7 +355,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceSpec { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceSpecPorts { #[serde(default, skip_serializing_if = "Option::is_none", rename = "appProtocol")] pub app_protocol: Option, @@ -369,19 +370,19 @@ pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceSpecPorts { pub target_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceSpecSessionAffinityConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] pub client_ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceSpecSessionAffinityConfigClientIp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, @@ -389,13 +390,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceStatus { pub load_balancer: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceStatusLoadBalancer { #[serde(default, skip_serializing_if = "Option::is_none")] pub ingress: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceStatusLoadBalancerIngress { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostname: Option, @@ -405,7 +406,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceStatusLoadBalancerIngress pub ports: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceStatusLoadBalancerIngressPorts { #[serde(default, skip_serializing_if = "Option::is_none")] pub error: Option, @@ -413,7 +414,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecHeadServiceStatusLoadBalancerIngress pub protocol: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -421,7 +422,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplate { pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -435,7 +436,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] pub active_deadline_seconds: Option, @@ -516,7 +517,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpec { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -526,7 +527,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -534,13 +535,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -548,7 +549,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityPref pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -556,7 +557,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityPref pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -564,13 +565,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityPref pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -578,7 +579,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityRequ pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -586,7 +587,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityRequ pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -594,7 +595,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityNodeAffinityRequ pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -602,14 +603,14 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -621,7 +622,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityPrefe pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -629,7 +630,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityPrefe pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -637,7 +638,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityPrefe pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -645,7 +646,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityPrefe pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -653,7 +654,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityPrefe pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -665,7 +666,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityRequi pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -673,7 +674,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityRequi pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -681,7 +682,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityRequi pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -689,7 +690,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityRequi pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -697,7 +698,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAffinityRequi pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -705,14 +706,14 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinity pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -724,7 +725,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityP pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -732,7 +733,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityP pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -740,7 +741,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityP pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -748,7 +749,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityP pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -756,7 +757,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityP pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -768,7 +769,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityR pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -776,7 +777,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityR pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -784,7 +785,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityR pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -792,7 +793,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityR pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -800,7 +801,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecAffinityPodAntiAffinityR pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -851,7 +852,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -860,7 +861,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -872,7 +873,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -881,7 +882,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvValueFromCo pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -889,7 +890,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvValueFromFi pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -898,7 +899,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvValueFromRe pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -907,7 +908,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvValueFromSe pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -917,7 +918,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -925,7 +926,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvFromConfigM pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -933,7 +934,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersEnvFromSecretR pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -941,7 +942,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -951,13 +952,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePostS pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -970,20 +971,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePostS pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -993,13 +994,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePreSt pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1012,20 +1013,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePreSt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1049,20 +1050,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLivenessProbe pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1075,20 +1076,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLivenessProbeH pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -1102,7 +1103,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1126,20 +1127,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersReadinessProbe pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1152,20 +1153,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersReadinessProbe pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -1173,7 +1174,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -1183,12 +1184,12 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1214,7 +1215,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersSecurityContex pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1222,7 +1223,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersSecurityContex pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1234,7 +1235,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersSecurityContex pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1242,7 +1243,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersSecurityContex pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1254,7 +1255,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersSecurityContex pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1278,20 +1279,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1304,27 +1305,27 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersStartupProbeHt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1339,7 +1340,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecDnsConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, @@ -1349,7 +1350,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecDnsConfig { pub searches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecDnsConfigOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1357,7 +1358,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecDnsConfigOptions { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -1410,7 +1411,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1419,7 +1420,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -1431,7 +1432,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvVa pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1440,7 +1441,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvVa pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1448,7 +1449,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvVa pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1457,7 +1458,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvVa pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1466,7 +1467,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvVa pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -1476,7 +1477,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvFr pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1484,7 +1485,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvFr pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1492,7 +1493,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersEnvFr pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -1500,7 +1501,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifec pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1510,13 +1511,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifec pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1529,20 +1530,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifec pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1552,13 +1553,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifec pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1571,20 +1572,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifec pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1608,20 +1609,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLiven pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1634,20 +1635,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLiven pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -1661,7 +1662,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersPorts pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1685,20 +1686,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersReadi pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1711,20 +1712,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersReadi pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -1732,7 +1733,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersResiz pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -1742,12 +1743,12 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersResou pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1773,7 +1774,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersSecur pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1781,7 +1782,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersSecur pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1793,7 +1794,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersSecur pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1801,7 +1802,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersSecur pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1813,7 +1814,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersSecur pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1837,20 +1838,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersStart pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1863,27 +1864,27 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersStart pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1898,7 +1899,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecEphemeralContainersVolum pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -1906,13 +1907,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -1963,7 +1964,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1972,7 +1973,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -1984,7 +1985,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvValueFr pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1993,7 +1994,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvValueFr pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2001,7 +2002,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvValueFr pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2010,7 +2011,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvValueFr pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2019,7 +2020,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvValueFr pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -2029,7 +2030,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2037,7 +2038,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvFromCon pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2045,7 +2046,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersEnvFromSec pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -2053,7 +2054,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecycle pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2063,13 +2064,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecycleP pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2082,20 +2083,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecycleP pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2105,13 +2106,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecycleP pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2124,20 +2125,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecycleP pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2161,20 +2162,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLivenessPr pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2187,20 +2188,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLivenessPr pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -2214,7 +2215,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2238,20 +2239,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersReadinessP pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2264,20 +2265,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersReadinessP pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -2285,7 +2286,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersResizePoli pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2295,12 +2296,12 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersResources pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -2326,7 +2327,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersSecurityCo pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -2334,7 +2335,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersSecurityCo pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2346,7 +2347,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersSecurityCo pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2354,7 +2355,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersSecurityCo pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2366,7 +2367,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersSecurityCo pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2390,20 +2391,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersStartupPro pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2416,27 +2417,27 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersStartupPro pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -2451,25 +2452,25 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecInitContainersVolumeMoun pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecOs { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecReadinessGates { #[serde(rename = "conditionType")] pub condition_type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecResourceClaims { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecResourceClaimsSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceClaimName")] pub resource_claim_name: Option, @@ -2477,12 +2478,12 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecResourceClaimsSource { pub resource_claim_template_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecSchedulingGates { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -2506,7 +2507,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2518,7 +2519,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecSecurityContextSeLinuxOp pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2526,13 +2527,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecSecurityContextSeccompPr pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2544,7 +2545,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecSecurityContextWindowsOp pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -2558,7 +2559,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -2578,7 +2579,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecTopologySpreadConstraint pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2586,7 +2587,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecTopologySpreadConstraint pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2594,7 +2595,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecTopologySpreadConstraint pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -2657,7 +2658,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2669,7 +2670,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesAwsElasticBlockSt pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -2685,7 +2686,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -2695,7 +2696,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2710,13 +2711,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2728,13 +2729,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2746,7 +2747,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2754,7 +2755,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2767,13 +2768,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2781,7 +2782,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -2792,7 +2793,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesDownwardApiItems pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2800,7 +2801,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesDownwardApiItemsF pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2809,7 +2810,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesDownwardApiItemsR pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -2817,20 +2818,20 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -2844,7 +2845,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeCl pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -2864,7 +2865,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeCl pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -2872,7 +2873,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeCl pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -2882,7 +2883,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeCl pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2892,12 +2893,12 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeCl pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2905,7 +2906,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeCl pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2913,7 +2914,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesEphemeralVolumeCl pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2927,7 +2928,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2940,13 +2941,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -2954,7 +2955,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2966,7 +2967,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesGcePersistentDisk pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -2975,7 +2976,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -2983,14 +2984,14 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -3014,13 +3015,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -3028,7 +3029,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -3036,7 +3037,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesPersistentVolumeC pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3044,7 +3045,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesPhotonPersistentD pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3054,7 +3055,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesPortworxVolume { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3062,7 +3063,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -3074,7 +3075,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSources pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -3084,7 +3085,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesC pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3092,13 +3093,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesC pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -3109,7 +3110,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesD pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3117,7 +3118,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesD pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3126,7 +3127,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesD pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -3136,7 +3137,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesS pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3144,7 +3145,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesS pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -3153,7 +3154,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesProjectedSourcesS pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -3167,7 +3168,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3185,13 +3186,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3213,13 +3214,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3231,7 +3232,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3239,7 +3240,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3253,13 +3254,13 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3271,7 +3272,7 @@ pub struct RayJobRayClusterSpecHeadGroupSpecTemplateSpecVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecs { #[serde(rename = "groupName")] pub group_name: String, @@ -3288,13 +3289,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecs { pub template: RayJobRayClusterSpecWorkerGroupSpecsTemplate, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsScaleStrategy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "workersToDelete")] pub workers_to_delete: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -3302,7 +3303,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplate { pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3316,7 +3317,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] pub active_deadline_seconds: Option, @@ -3397,7 +3398,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpec { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -3407,7 +3408,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3415,13 +3416,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinity pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3429,7 +3430,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityP pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -3437,7 +3438,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityP pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -3445,13 +3446,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityP pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3459,7 +3460,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityR pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -3467,7 +3468,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityR pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -3475,7 +3476,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityNodeAffinityR pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3483,14 +3484,14 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3502,7 +3503,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityPr pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3510,7 +3511,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityPr pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3518,7 +3519,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityPr pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3526,7 +3527,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityPr pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3534,7 +3535,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityPr pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3546,7 +3547,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityRe pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3554,7 +3555,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityRe pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3562,7 +3563,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityRe pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3570,7 +3571,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityRe pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3578,7 +3579,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAffinityRe pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3586,14 +3587,14 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffini pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3605,7 +3606,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffini pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3613,7 +3614,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffini pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3621,7 +3622,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffini pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3629,7 +3630,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffini pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3637,7 +3638,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffini pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3649,7 +3650,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffini pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3657,7 +3658,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffini pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3665,7 +3666,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffini pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3673,7 +3674,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffini pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3681,7 +3682,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecAffinityPodAntiAffini pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -3732,7 +3733,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3741,7 +3742,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -3753,7 +3754,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvValueFro pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3762,7 +3763,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvValueFro pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3770,7 +3771,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvValueFro pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3779,7 +3780,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvValueFro pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3788,7 +3789,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvValueFro pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -3798,7 +3799,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3806,7 +3807,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvFromConf pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3814,7 +3815,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersEnvFromSecr pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -3822,7 +3823,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3832,13 +3833,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePo pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3851,20 +3852,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePo pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3874,13 +3875,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePr pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3893,20 +3894,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePr pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3930,20 +3931,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLivenessPro pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3956,20 +3957,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLivenessPro pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -3983,7 +3984,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4007,20 +4008,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersReadinessPr pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4033,20 +4034,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersReadinessPr pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -4054,7 +4055,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersResizePolic pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -4064,12 +4065,12 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -4095,7 +4096,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersSecurityCon pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -4103,7 +4104,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersSecurityCon pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -4115,7 +4116,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersSecurityCon pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -4123,7 +4124,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersSecurityCon pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4135,7 +4136,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersSecurityCon pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4159,20 +4160,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersStartupProb pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4185,27 +4186,27 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersStartupProb pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -4220,7 +4221,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecContainersVolumeMount pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecDnsConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, @@ -4230,7 +4231,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecDnsConfig { pub searches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecDnsConfigOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4238,7 +4239,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecDnsConfigOptions { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -4291,7 +4292,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4300,7 +4301,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEn pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -4312,7 +4313,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEn pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4321,7 +4322,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEn pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4329,7 +4330,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEn pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4338,7 +4339,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEn pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4347,7 +4348,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEn pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -4357,7 +4358,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEn pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4365,7 +4366,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEn pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4373,7 +4374,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersEn pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -4381,7 +4382,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLi pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4391,13 +4392,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLi pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4410,20 +4411,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLi pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4433,13 +4434,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLi pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4452,20 +4453,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLi pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4489,20 +4490,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLi pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4515,20 +4516,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLi pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -4542,7 +4543,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersPo pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4566,20 +4567,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersRe pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4592,20 +4593,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersRe pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -4613,7 +4614,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersRe pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -4623,12 +4624,12 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersRe pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -4654,7 +4655,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersSe pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -4662,7 +4663,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersSe pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -4674,7 +4675,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersSe pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -4682,7 +4683,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersSe pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4694,7 +4695,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersSe pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4718,20 +4719,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersSt pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4744,27 +4745,27 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersSt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -4779,7 +4780,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecEphemeralContainersVo pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -4787,13 +4788,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -4844,7 +4845,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4853,7 +4854,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -4865,7 +4866,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvValu pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4874,7 +4875,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvValu pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4882,7 +4883,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvValu pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4891,7 +4892,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvValu pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4900,7 +4901,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvValu pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -4910,7 +4911,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvFrom pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4918,7 +4919,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvFrom pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4926,7 +4927,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersEnvFrom pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -4934,7 +4935,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyc pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4944,13 +4945,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyc pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4963,20 +4964,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyc pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4986,13 +4987,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyc pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5005,20 +5006,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyc pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5042,20 +5043,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLivenes pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5068,20 +5069,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLivenes pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -5095,7 +5096,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5119,20 +5120,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersReadine pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5145,20 +5146,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersReadine pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -5166,7 +5167,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersResizeP pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -5176,12 +5177,12 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersResourc pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -5207,7 +5208,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersSecurit pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -5215,7 +5216,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersSecurit pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5227,7 +5228,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersSecurit pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5235,7 +5236,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersSecurit pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5247,7 +5248,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersSecurit pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5271,20 +5272,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersStartup pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5297,27 +5298,27 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersStartup pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -5332,25 +5333,25 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecInitContainersVolumeM pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecOs { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecReadinessGates { #[serde(rename = "conditionType")] pub condition_type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecResourceClaims { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecResourceClaimsSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceClaimName")] pub resource_claim_name: Option, @@ -5358,12 +5359,12 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecResourceClaimsSource pub resource_claim_template_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecSchedulingGates { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -5387,7 +5388,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5399,7 +5400,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecSecurityContextSeLinu pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5407,13 +5408,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecSecurityContextSeccom pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5425,7 +5426,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecSecurityContextWindow pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -5439,7 +5440,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5459,7 +5460,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecTopologySpreadConstra pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5467,7 +5468,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecTopologySpreadConstra pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5475,7 +5476,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecTopologySpreadConstra pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -5538,7 +5539,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5550,7 +5551,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesAwsElasticBloc pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -5566,7 +5567,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -5576,7 +5577,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5591,13 +5592,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5609,13 +5610,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5627,7 +5628,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5635,7 +5636,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesConfigMapItems pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5648,13 +5649,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5662,7 +5663,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -5673,7 +5674,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesDownwardApiIte pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -5681,7 +5682,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesDownwardApiIte pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -5690,7 +5691,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesDownwardApiIte pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -5698,20 +5699,20 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -5725,7 +5726,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolum pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -5745,7 +5746,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolum pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -5753,7 +5754,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolum pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -5763,7 +5764,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolum pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -5773,12 +5774,12 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolum pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5786,7 +5787,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolum pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5794,7 +5795,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesEphemeralVolum pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5808,7 +5809,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5821,13 +5822,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -5835,7 +5836,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5847,7 +5848,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesGcePersistentD pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -5856,7 +5857,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -5864,14 +5865,14 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -5895,13 +5896,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -5909,7 +5910,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -5917,7 +5918,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesPersistentVolu pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5925,7 +5926,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesPhotonPersiste pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5935,7 +5936,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesPortworxVolume pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5943,7 +5944,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -5955,7 +5956,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourc pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -5965,7 +5966,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourc pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5973,13 +5974,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourc pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -5990,7 +5991,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourc pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -5998,7 +5999,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourc pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -6007,7 +6008,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourc pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -6017,7 +6018,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourc pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6025,7 +6026,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourc pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -6034,7 +6035,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesProjectedSourc pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -6048,7 +6049,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6066,13 +6067,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6094,13 +6095,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -6112,7 +6113,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6120,7 +6121,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6134,13 +6135,13 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6152,7 +6153,7 @@ pub struct RayJobRayClusterSpecWorkerGroupSpecsTemplateSpecVolumesVsphereVolume pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -6160,7 +6161,7 @@ pub struct RayJobSubmitterPodTemplate { pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -6174,7 +6175,7 @@ pub struct RayJobSubmitterPodTemplateMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] pub active_deadline_seconds: Option, @@ -6255,7 +6256,7 @@ pub struct RayJobSubmitterPodTemplateSpec { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -6265,7 +6266,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -6273,13 +6274,13 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: RayJobSubmitterPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6287,7 +6288,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityPreferredDuringSche pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -6295,7 +6296,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityPreferredDuringSche pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -6303,13 +6304,13 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityPreferredDuringSche pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6317,7 +6318,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityRequiredDuringSched pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -6325,7 +6326,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityRequiredDuringSched pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -6333,7 +6334,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityNodeAffinityRequiredDuringSched pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -6341,14 +6342,14 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayJobSubmitterPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -6360,7 +6361,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityPreferredDuringSched pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6368,7 +6369,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityPreferredDuringSched pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -6376,7 +6377,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityPreferredDuringSched pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6384,7 +6385,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityPreferredDuringSched pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -6392,7 +6393,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityPreferredDuringSched pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -6404,7 +6405,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityRequiredDuringSchedu pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6412,7 +6413,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityRequiredDuringSchedu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -6420,7 +6421,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityRequiredDuringSchedu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6428,7 +6429,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityRequiredDuringSchedu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -6436,7 +6437,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAffinityRequiredDuringSchedu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -6444,14 +6445,14 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -6463,7 +6464,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityPreferredDuringS pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6471,7 +6472,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityPreferredDuringS pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -6479,7 +6480,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityPreferredDuringS pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6487,7 +6488,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityPreferredDuringS pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -6495,7 +6496,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityPreferredDuringS pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -6507,7 +6508,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSc pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6515,7 +6516,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSc pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -6523,7 +6524,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSc pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6531,7 +6532,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSc pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -6539,7 +6540,7 @@ pub struct RayJobSubmitterPodTemplateSpecAffinityPodAntiAffinityRequiredDuringSc pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -6590,7 +6591,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6599,7 +6600,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -6611,7 +6612,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6620,7 +6621,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -6628,7 +6629,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -6637,7 +6638,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersEnvValueFromResourceFieldRef pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6646,7 +6647,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -6656,7 +6657,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -6664,7 +6665,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -6672,7 +6673,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -6680,7 +6681,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -6690,13 +6691,13 @@ pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -6709,20 +6710,20 @@ pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -6732,13 +6733,13 @@ pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -6751,20 +6752,20 @@ pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -6788,20 +6789,20 @@ pub struct RayJobSubmitterPodTemplateSpecContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -6814,20 +6815,20 @@ pub struct RayJobSubmitterPodTemplateSpecContainersLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -6841,7 +6842,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -6865,20 +6866,20 @@ pub struct RayJobSubmitterPodTemplateSpecContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -6891,20 +6892,20 @@ pub struct RayJobSubmitterPodTemplateSpecContainersReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -6912,7 +6913,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -6922,12 +6923,12 @@ pub struct RayJobSubmitterPodTemplateSpecContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -6953,7 +6954,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -6961,7 +6962,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -6973,7 +6974,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersSecurityContextSeLinuxOptions pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -6981,7 +6982,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersSecurityContextSeccompProfile pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -6993,7 +6994,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersSecurityContextWindowsOptions pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -7017,20 +7018,20 @@ pub struct RayJobSubmitterPodTemplateSpecContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7043,27 +7044,27 @@ pub struct RayJobSubmitterPodTemplateSpecContainersStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -7078,7 +7079,7 @@ pub struct RayJobSubmitterPodTemplateSpecContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecDnsConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, @@ -7088,7 +7089,7 @@ pub struct RayJobSubmitterPodTemplateSpecDnsConfig { pub searches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecDnsConfigOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -7096,7 +7097,7 @@ pub struct RayJobSubmitterPodTemplateSpecDnsConfigOptions { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -7149,7 +7150,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7158,7 +7159,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -7170,7 +7171,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7179,7 +7180,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvValueFromConfigMa pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -7187,7 +7188,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvValueFromFieldRef pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -7196,7 +7197,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvValueFromResource pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7205,7 +7206,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvValueFromSecretKe pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -7215,7 +7216,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -7223,7 +7224,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvFromConfigMapRef pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -7231,7 +7232,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -7239,7 +7240,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -7249,13 +7250,13 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7268,20 +7269,20 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePostStartHt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -7291,13 +7292,13 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7310,20 +7311,20 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePreStopHttp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -7347,20 +7348,20 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7373,20 +7374,20 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLivenessProbeHttpGet pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -7400,7 +7401,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -7424,20 +7425,20 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7450,20 +7451,20 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersReadinessProbeHttpGe pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -7471,7 +7472,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -7481,12 +7482,12 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -7512,7 +7513,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -7520,7 +7521,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersSecurityContextCapab pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -7532,7 +7533,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersSecurityContextSeLin pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -7540,7 +7541,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersSecurityContextSecco pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -7552,7 +7553,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersSecurityContextWindo pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -7576,20 +7577,20 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7602,27 +7603,27 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersStartupProbeHttpGet pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -7637,7 +7638,7 @@ pub struct RayJobSubmitterPodTemplateSpecEphemeralContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -7645,13 +7646,13 @@ pub struct RayJobSubmitterPodTemplateSpecHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -7702,7 +7703,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7711,7 +7712,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -7723,7 +7724,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7732,7 +7733,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvValueFromConfigMapKeyR pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -7740,7 +7741,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -7749,7 +7750,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvValueFromResourceField pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -7758,7 +7759,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvValueFromSecretKeyRef pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -7768,7 +7769,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -7776,7 +7777,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -7784,7 +7785,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -7792,7 +7793,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -7802,13 +7803,13 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7821,20 +7822,20 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePostStartHttpGet pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -7844,13 +7845,13 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7863,20 +7864,20 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -7900,20 +7901,20 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7926,20 +7927,20 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -7953,7 +7954,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -7977,20 +7978,20 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -8003,20 +8004,20 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -8024,7 +8025,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersResizePolicy { pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -8034,12 +8035,12 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -8065,7 +8066,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -8073,7 +8074,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersSecurityContextCapabiliti pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -8085,7 +8086,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersSecurityContextSeLinuxOpt pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -8093,7 +8094,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersSecurityContextSeccompPro pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -8105,7 +8106,7 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersSecurityContextWindowsOpt pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -8129,20 +8130,20 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -8155,27 +8156,27 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -8190,25 +8191,25 @@ pub struct RayJobSubmitterPodTemplateSpecInitContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecOs { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecReadinessGates { #[serde(rename = "conditionType")] pub condition_type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecResourceClaims { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecResourceClaimsSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceClaimName")] pub resource_claim_name: Option, @@ -8216,12 +8217,12 @@ pub struct RayJobSubmitterPodTemplateSpecResourceClaimsSource { pub resource_claim_template_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecSchedulingGates { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -8245,7 +8246,7 @@ pub struct RayJobSubmitterPodTemplateSpecSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -8257,7 +8258,7 @@ pub struct RayJobSubmitterPodTemplateSpecSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -8265,13 +8266,13 @@ pub struct RayJobSubmitterPodTemplateSpecSecurityContextSeccompProfile { pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -8283,7 +8284,7 @@ pub struct RayJobSubmitterPodTemplateSpecSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -8297,7 +8298,7 @@ pub struct RayJobSubmitterPodTemplateSpecTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -8317,7 +8318,7 @@ pub struct RayJobSubmitterPodTemplateSpecTopologySpreadConstraints { pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -8325,7 +8326,7 @@ pub struct RayJobSubmitterPodTemplateSpecTopologySpreadConstraintsLabelSelector pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -8333,7 +8334,7 @@ pub struct RayJobSubmitterPodTemplateSpecTopologySpreadConstraintsLabelSelectorM pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -8396,7 +8397,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8408,7 +8409,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesAwsElasticBlockStore { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -8424,7 +8425,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -8434,7 +8435,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8449,13 +8450,13 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8467,13 +8468,13 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -8485,7 +8486,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8493,7 +8494,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -8506,13 +8507,13 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -8520,7 +8521,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -8531,7 +8532,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -8539,7 +8540,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -8548,7 +8549,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesDownwardApiItemsResourceFieldRef pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -8556,20 +8557,20 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -8583,7 +8584,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateMeta pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -8603,7 +8604,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -8611,7 +8612,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -8621,7 +8622,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -8631,12 +8632,12 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -8644,7 +8645,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -8652,7 +8653,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8666,7 +8667,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -8679,13 +8680,13 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -8693,7 +8694,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8705,7 +8706,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesGcePersistentDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -8714,7 +8715,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -8722,14 +8723,14 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -8753,13 +8754,13 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -8767,7 +8768,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -8775,7 +8776,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesPersistentVolumeClaim { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8783,7 +8784,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesPhotonPersistentDisk { pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8793,7 +8794,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesPortworxVolume { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -8801,7 +8802,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -8813,7 +8814,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSources { pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -8823,7 +8824,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8831,13 +8832,13 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -8848,7 +8849,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesDownwardApiItems pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -8856,7 +8857,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesDownwardApiItems pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -8865,7 +8866,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesDownwardApiItems pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -8875,7 +8876,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesSecret { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8883,7 +8884,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -8892,7 +8893,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesProjectedSourcesServiceAccountTo pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -8906,7 +8907,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8924,13 +8925,13 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8952,13 +8953,13 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -8970,7 +8971,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -8978,7 +8979,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8992,13 +8993,13 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobSubmitterPodTemplateSpecVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -9010,7 +9011,7 @@ pub struct RayJobSubmitterPodTemplateSpecVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "dashboardURL")] pub dashboard_url: Option, @@ -9034,7 +9035,7 @@ pub struct RayJobStatus { pub start_time: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobStatusRayClusterStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "availableWorkerReplicas")] pub available_worker_replicas: Option, @@ -9068,7 +9069,7 @@ pub struct RayJobStatusRayClusterStatus { pub state: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayJobStatusRayClusterStatusHead { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podIP")] pub pod_ip: Option, diff --git a/kube-custom-resources-rs/src/ray_io/v1alpha1/rayservices.rs b/kube-custom-resources-rs/src/ray_io/v1alpha1/rayservices.rs index dc77dd9e4..519fcd928 100644 --- a/kube-custom-resources-rs/src/ray_io/v1alpha1/rayservices.rs +++ b/kube-custom-resources-rs/src/ray_io/v1alpha1/rayservices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/ray-project/kuberay/ray.io/v1alpha1/rayservices.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/ray-project/kuberay/ray.io/v1alpha1/rayservices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "ray.io", version = "v1alpha1", kind = "RayService", plural = "rayservices")] #[kube(namespaced)] #[kube(status = "RayServiceStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct RayServiceSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "deploymentUnhealthySecondThreshold")] @@ -31,7 +32,7 @@ pub struct RayServiceSpec { pub service_unhealthy_second_threshold: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "autoscalerOptions")] pub autoscaler_options: Option, @@ -49,7 +50,7 @@ pub struct RayServiceRayClusterConfig { pub worker_group_specs: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub env: Option>, @@ -71,7 +72,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptions { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -80,7 +81,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -92,7 +93,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -101,7 +102,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvValueFromConfigMapKeyRe pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -109,7 +110,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -118,7 +119,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvValueFromResourceFieldR pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -127,7 +128,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -137,7 +138,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -145,7 +146,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -153,7 +154,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -163,12 +164,12 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -194,7 +195,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -202,7 +203,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsSecurityContextCapabilitie pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -214,7 +215,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsSecurityContextSeLinuxOpti pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -222,7 +223,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsSecurityContextSeccompProf pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -241,7 +242,7 @@ pub enum RayServiceRayClusterConfigAutoscalerOptionsUpscalingMode { Conservative, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigAutoscalerOptionsVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -256,7 +257,7 @@ pub struct RayServiceRayClusterConfigAutoscalerOptionsVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "enableIngress")] pub enable_ingress: Option, @@ -269,7 +270,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpec { pub template: RayServiceRayClusterConfigHeadGroupSpecTemplate, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecHeadService { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -283,7 +284,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecHeadService { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -297,7 +298,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] pub allocate_load_balancer_node_ports: Option, @@ -339,7 +340,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceSpec { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceSpecPorts { #[serde(default, skip_serializing_if = "Option::is_none", rename = "appProtocol")] pub app_protocol: Option, @@ -354,19 +355,19 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceSpecPorts { pub target_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceSpecSessionAffinityConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] pub client_ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceSpecSessionAffinityConfigClientIp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, @@ -374,13 +375,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceStatus { pub load_balancer: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceStatusLoadBalancer { #[serde(default, skip_serializing_if = "Option::is_none")] pub ingress: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceStatusLoadBalancerIngress { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostname: Option, @@ -390,7 +391,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceStatusLoadBalancerI pub ports: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceStatusLoadBalancerIngressPorts { #[serde(default, skip_serializing_if = "Option::is_none")] pub error: Option, @@ -398,7 +399,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecHeadServiceStatusLoadBalancerI pub protocol: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -406,7 +407,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplate { pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -420,7 +421,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] pub active_deadline_seconds: Option, @@ -501,7 +502,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpec { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -511,7 +512,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -519,13 +520,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffini pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -533,7 +534,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffini pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -541,7 +542,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffini pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -549,13 +550,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffini pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -563,7 +564,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffini pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -571,7 +572,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffini pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -579,7 +580,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityNodeAffini pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -587,14 +588,14 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinit pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -606,7 +607,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinit pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -614,7 +615,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinit pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -622,7 +623,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinit pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -630,7 +631,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinit pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -638,7 +639,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinit pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -650,7 +651,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinit pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -658,7 +659,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinit pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -666,7 +667,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinit pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -674,7 +675,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinit pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -682,7 +683,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAffinit pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -690,14 +691,14 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAff pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -709,7 +710,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAff pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -717,7 +718,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAff pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -725,7 +726,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAff pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -733,7 +734,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAff pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -741,7 +742,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAff pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -753,7 +754,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAff pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -761,7 +762,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAff pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -769,7 +770,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAff pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -777,7 +778,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAff pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -785,7 +786,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecAffinityPodAntiAff pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -836,7 +837,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -845,7 +846,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -857,7 +858,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvValue pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -866,7 +867,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvValue pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -874,7 +875,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvValue pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -883,7 +884,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvValue pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -892,7 +893,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvValue pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -902,7 +903,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvFrom pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -910,7 +911,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvFromC pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -918,7 +919,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersEnvFromS pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -926,7 +927,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecycl pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -936,13 +937,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecycl pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -955,20 +956,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecycl pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -978,13 +979,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecycl pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -997,20 +998,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecycl pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1034,20 +1035,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLiveness pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1060,20 +1061,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLiveness pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -1087,7 +1088,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1111,20 +1112,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersReadines pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1137,20 +1138,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersReadines pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -1158,7 +1159,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersResizePo pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -1168,12 +1169,12 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersResource pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1199,7 +1200,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersSecurity pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1207,7 +1208,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersSecurity pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1219,7 +1220,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersSecurity pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1227,7 +1228,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersSecurity pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1239,7 +1240,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersSecurity pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1263,20 +1264,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersStartupP pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1289,27 +1290,27 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersStartupP pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1324,7 +1325,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecContainersVolumeMo pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecDnsConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, @@ -1334,7 +1335,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecDnsConfig { pub searches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecDnsConfigOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1342,7 +1343,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecDnsConfigOptions { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -1395,7 +1396,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1404,7 +1405,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -1416,7 +1417,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1425,7 +1426,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1433,7 +1434,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1442,7 +1443,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1451,7 +1452,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -1461,7 +1462,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1469,7 +1470,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1477,7 +1478,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -1485,7 +1486,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1495,13 +1496,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1514,20 +1515,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1537,13 +1538,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1556,20 +1557,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1593,20 +1594,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1619,20 +1620,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -1646,7 +1647,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1670,20 +1671,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1696,20 +1697,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -1717,7 +1718,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -1727,12 +1728,12 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1758,7 +1759,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1766,7 +1767,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1778,7 +1779,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1786,7 +1787,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1798,7 +1799,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1822,20 +1823,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1848,27 +1849,27 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1883,7 +1884,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecEphemeralContainer pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -1891,13 +1892,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -1948,7 +1949,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1957,7 +1958,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnv pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -1969,7 +1970,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvV pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1978,7 +1979,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvV pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1986,7 +1987,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvV pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1995,7 +1996,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvV pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2004,7 +2005,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvV pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -2014,7 +2015,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvF pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2022,7 +2023,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvF pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2030,7 +2031,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersEnvF pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -2038,7 +2039,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLife pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2048,13 +2049,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLife pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2067,20 +2068,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLife pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2090,13 +2091,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLife pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2109,20 +2110,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLife pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2146,20 +2147,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLive pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2172,20 +2173,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLive pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -2199,7 +2200,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersPort pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2223,20 +2224,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersRead pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2249,20 +2250,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersRead pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -2270,7 +2271,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersResi pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2280,12 +2281,12 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersReso pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -2311,7 +2312,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersSecu pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -2319,7 +2320,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersSecu pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2331,7 +2332,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersSecu pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2339,7 +2340,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersSecu pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2351,7 +2352,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersSecu pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2375,20 +2376,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersStar pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2401,27 +2402,27 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersStar pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -2436,25 +2437,25 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecInitContainersVolu pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecOs { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecReadinessGates { #[serde(rename = "conditionType")] pub condition_type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecResourceClaims { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecResourceClaimsSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceClaimName")] pub resource_claim_name: Option, @@ -2462,12 +2463,12 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecResourceClaimsSour pub resource_claim_template_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecSchedulingGates { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -2491,7 +2492,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2503,7 +2504,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecSecurityContextSeL pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2511,13 +2512,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecSecurityContextSec pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2529,7 +2530,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecSecurityContextWin pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -2543,7 +2544,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -2563,7 +2564,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecTopologySpreadCons pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2571,7 +2572,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecTopologySpreadCons pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2579,7 +2580,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecTopologySpreadCons pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -2642,7 +2643,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2654,7 +2655,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesAwsElasticB pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -2670,7 +2671,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -2680,7 +2681,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2695,13 +2696,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2713,13 +2714,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2731,7 +2732,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2739,7 +2740,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesConfigMapIt pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2752,13 +2753,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -2766,7 +2767,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesDownwardApi pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -2777,7 +2778,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesDownwardApi pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2785,7 +2786,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesDownwardApi pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2794,7 +2795,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesDownwardApi pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -2802,20 +2803,20 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -2829,7 +2830,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVo pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -2849,7 +2850,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVo pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -2857,7 +2858,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVo pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -2867,7 +2868,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVo pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2877,12 +2878,12 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVo pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2890,7 +2891,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVo pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2898,7 +2899,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesEphemeralVo pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2912,7 +2913,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -2925,13 +2926,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesFlexVolume pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -2939,7 +2940,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -2951,7 +2952,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesGcePersiste pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -2960,7 +2961,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -2968,14 +2969,14 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -2999,13 +3000,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -3013,7 +3014,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -3021,7 +3022,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesPersistentV pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3029,7 +3030,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesPhotonPersi pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3039,7 +3040,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesPortworxVol pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3047,7 +3048,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -3059,7 +3060,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSo pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -3069,7 +3070,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSo pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3077,13 +3078,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSo pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -3094,7 +3095,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSo pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3102,7 +3103,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSo pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3111,7 +3112,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSo pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -3121,7 +3122,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSo pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3129,7 +3130,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSo pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -3138,7 +3139,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesProjectedSo pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -3152,7 +3153,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3170,13 +3171,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3198,13 +3199,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3216,7 +3217,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3224,7 +3225,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesSecretItems pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3238,13 +3239,13 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3256,7 +3257,7 @@ pub struct RayServiceRayClusterConfigHeadGroupSpecTemplateSpecVolumesVsphereVolu pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecs { #[serde(rename = "groupName")] pub group_name: String, @@ -3273,13 +3274,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecs { pub template: RayServiceRayClusterConfigWorkerGroupSpecsTemplate, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsScaleStrategy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "workersToDelete")] pub workers_to_delete: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -3287,7 +3288,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplate { pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3301,7 +3302,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] pub active_deadline_seconds: Option, @@ -3382,7 +3383,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpec { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -3392,7 +3393,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3400,13 +3401,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAff pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3414,7 +3415,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAff pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -3422,7 +3423,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAff pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -3430,13 +3431,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAff pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3444,7 +3445,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAff pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -3452,7 +3453,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAff pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -3460,7 +3461,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityNodeAff pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3468,14 +3469,14 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffi pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3487,7 +3488,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffi pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3495,7 +3496,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffi pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3503,7 +3504,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffi pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3511,7 +3512,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffi pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3519,7 +3520,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffi pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3531,7 +3532,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffi pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3539,7 +3540,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffi pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3547,7 +3548,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffi pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3555,7 +3556,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffi pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3563,7 +3564,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAffi pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3571,14 +3572,14 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAnti pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3590,7 +3591,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAnti pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3598,7 +3599,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAnti pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3606,7 +3607,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAnti pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3614,7 +3615,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAnti pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3622,7 +3623,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAnti pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3634,7 +3635,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAnti pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3642,7 +3643,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAnti pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3650,7 +3651,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAnti pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3658,7 +3659,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAnti pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3666,7 +3667,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecAffinityPodAnti pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -3717,7 +3718,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3726,7 +3727,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -3738,7 +3739,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvVa pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3747,7 +3748,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvVa pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3755,7 +3756,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvVa pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3764,7 +3765,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvVa pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3773,7 +3774,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvVa pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -3783,7 +3784,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvFr pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3791,7 +3792,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvFr pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3799,7 +3800,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersEnvFr pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -3807,7 +3808,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifec pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3817,13 +3818,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifec pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3836,20 +3837,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifec pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3859,13 +3860,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifec pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3878,20 +3879,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifec pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3915,20 +3916,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLiven pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3941,20 +3942,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLiven pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -3968,7 +3969,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersPorts pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3992,20 +3993,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersReadi pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4018,20 +4019,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersReadi pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -4039,7 +4040,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersResiz pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -4049,12 +4050,12 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersResou pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -4080,7 +4081,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersSecur pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -4088,7 +4089,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersSecur pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -4100,7 +4101,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersSecur pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -4108,7 +4109,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersSecur pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4120,7 +4121,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersSecur pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4144,20 +4145,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersStart pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4170,27 +4171,27 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersStart pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -4205,7 +4206,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecContainersVolum pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecDnsConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, @@ -4215,7 +4216,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecDnsConfig { pub searches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecDnsConfigOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4223,7 +4224,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecDnsConfigOption pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -4276,7 +4277,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4285,7 +4286,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -4297,7 +4298,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4306,7 +4307,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4314,7 +4315,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4323,7 +4324,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4332,7 +4333,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -4342,7 +4343,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4350,7 +4351,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4358,7 +4359,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -4366,7 +4367,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4376,13 +4377,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4395,20 +4396,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4418,13 +4419,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4437,20 +4438,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4474,20 +4475,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4500,20 +4501,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -4527,7 +4528,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4551,20 +4552,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4577,20 +4578,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -4598,7 +4599,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -4608,12 +4609,12 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -4639,7 +4640,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -4647,7 +4648,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -4659,7 +4660,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -4667,7 +4668,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -4679,7 +4680,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4703,20 +4704,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4729,27 +4730,27 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -4764,7 +4765,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecEphemeralContai pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -4772,13 +4773,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -4829,7 +4830,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainers pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4838,7 +4839,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersE pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -4850,7 +4851,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersE pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4859,7 +4860,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersE pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4867,7 +4868,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersE pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4876,7 +4877,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersE pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4885,7 +4886,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersE pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -4895,7 +4896,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersE pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4903,7 +4904,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersE pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4911,7 +4912,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersE pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -4919,7 +4920,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersL pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4929,13 +4930,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersL pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4948,20 +4949,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersL pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4971,13 +4972,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersL pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4990,20 +4991,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersL pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5027,20 +5028,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersL pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5053,20 +5054,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersL pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -5080,7 +5081,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersP pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5104,20 +5105,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersR pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5130,20 +5131,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersR pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -5151,7 +5152,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersR pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -5161,12 +5162,12 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersR pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -5192,7 +5193,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersS pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -5200,7 +5201,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersS pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5212,7 +5213,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersS pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5220,7 +5221,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersS pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5232,7 +5233,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersS pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5256,20 +5257,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersS pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5282,27 +5283,27 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersS pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -5317,25 +5318,25 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecInitContainersV pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecOs { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecReadinessGates { #[serde(rename = "conditionType")] pub condition_type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecResourceClaims { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] pub source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecResourceClaimsSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceClaimName")] pub resource_claim_name: Option, @@ -5343,12 +5344,12 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecResourceClaimsS pub resource_claim_template_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecSchedulingGates { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -5372,7 +5373,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecSecurityContext pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5384,7 +5385,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecSecurityContext pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5392,13 +5393,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecSecurityContext pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5410,7 +5411,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecSecurityContext pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -5424,7 +5425,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5444,7 +5445,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecTopologySpreadC pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5452,7 +5453,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecTopologySpreadC pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5460,7 +5461,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecTopologySpreadC pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -5523,7 +5524,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5535,7 +5536,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesAwsElast pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -5551,7 +5552,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesAzureDis pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -5561,7 +5562,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesAzureFil pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5576,13 +5577,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5594,13 +5595,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5612,7 +5613,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesConfigMa pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5620,7 +5621,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesConfigMa pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5633,13 +5634,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5647,7 +5648,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesDownward pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -5658,7 +5659,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesDownward pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -5666,7 +5667,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesDownward pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -5675,7 +5676,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesDownward pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -5683,20 +5684,20 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEmptyDir pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -5710,7 +5711,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemera pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -5730,7 +5731,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemera pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -5738,7 +5739,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemera pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -5748,7 +5749,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemera pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -5758,12 +5759,12 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemera pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5771,7 +5772,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemera pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -5779,7 +5780,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesEphemera pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5793,7 +5794,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5806,13 +5807,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesFlexVolu pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -5820,7 +5821,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesFlocker pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5832,7 +5833,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesGcePersi pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -5841,7 +5842,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesGitRepo pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -5849,14 +5850,14 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesGlusterf pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -5880,13 +5881,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -5894,7 +5895,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -5902,7 +5903,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesPersiste pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5910,7 +5911,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesPhotonPe pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5920,7 +5921,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesPortworx pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5928,7 +5929,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjecte pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -5940,7 +5941,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjecte pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -5950,7 +5951,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjecte pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5958,13 +5959,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjecte pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -5975,7 +5976,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjecte pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -5983,7 +5984,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjecte pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -5992,7 +5993,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjecte pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -6002,7 +6003,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjecte pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6010,7 +6011,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjecte pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -6019,7 +6020,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesProjecte pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -6033,7 +6034,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesQuobyte pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6051,13 +6052,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6079,13 +6080,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesScaleIo pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -6097,7 +6098,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6105,7 +6106,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesSecretIt pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6119,13 +6120,13 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesStorageo pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6137,7 +6138,7 @@ pub struct RayServiceRayClusterConfigWorkerGroupSpecsTemplateSpecVolumesVsphereV pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceServeService { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -6151,7 +6152,7 @@ pub struct RayServiceServeService { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceServeServiceMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -6165,7 +6166,7 @@ pub struct RayServiceServeServiceMetadata { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceServeServiceSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] pub allocate_load_balancer_node_ports: Option, @@ -6207,7 +6208,7 @@ pub struct RayServiceServeServiceSpec { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceServeServiceSpecPorts { #[serde(default, skip_serializing_if = "Option::is_none", rename = "appProtocol")] pub app_protocol: Option, @@ -6222,19 +6223,19 @@ pub struct RayServiceServeServiceSpecPorts { pub target_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceServeServiceSpecSessionAffinityConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] pub client_ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceServeServiceSpecSessionAffinityConfigClientIp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceServeServiceStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, @@ -6242,13 +6243,13 @@ pub struct RayServiceServeServiceStatus { pub load_balancer: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceServeServiceStatusLoadBalancer { #[serde(default, skip_serializing_if = "Option::is_none")] pub ingress: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceServeServiceStatusLoadBalancerIngress { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostname: Option, @@ -6258,7 +6259,7 @@ pub struct RayServiceServeServiceStatusLoadBalancerIngress { pub ports: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceServeServiceStatusLoadBalancerIngressPorts { #[serde(default, skip_serializing_if = "Option::is_none")] pub error: Option, @@ -6266,7 +6267,7 @@ pub struct RayServiceServeServiceStatusLoadBalancerIngressPorts { pub protocol: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeServiceStatus")] pub active_service_status: Option, @@ -6280,7 +6281,7 @@ pub struct RayServiceStatus { pub service_status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceStatusActiveServiceStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "applicationStatuses")] pub application_statuses: Option>, @@ -6290,7 +6291,7 @@ pub struct RayServiceStatusActiveServiceStatus { pub ray_cluster_status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceStatusActiveServiceStatusApplicationStatuses { #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthLastUpdateTime")] pub health_last_update_time: Option, @@ -6302,7 +6303,7 @@ pub struct RayServiceStatusActiveServiceStatusApplicationStatuses { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceStatusActiveServiceStatusApplicationStatusesServeDeploymentStatuses { #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthLastUpdateTime")] pub health_last_update_time: Option, @@ -6312,7 +6313,7 @@ pub struct RayServiceStatusActiveServiceStatusApplicationStatusesServeDeployment pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceStatusActiveServiceStatusRayClusterStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "availableWorkerReplicas")] pub available_worker_replicas: Option, @@ -6346,7 +6347,7 @@ pub struct RayServiceStatusActiveServiceStatusRayClusterStatus { pub state: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceStatusActiveServiceStatusRayClusterStatusHead { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podIP")] pub pod_ip: Option, @@ -6354,7 +6355,7 @@ pub struct RayServiceStatusActiveServiceStatusRayClusterStatusHead { pub service_ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceStatusPendingServiceStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "applicationStatuses")] pub application_statuses: Option>, @@ -6364,7 +6365,7 @@ pub struct RayServiceStatusPendingServiceStatus { pub ray_cluster_status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceStatusPendingServiceStatusApplicationStatuses { #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthLastUpdateTime")] pub health_last_update_time: Option, @@ -6376,7 +6377,7 @@ pub struct RayServiceStatusPendingServiceStatusApplicationStatuses { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceStatusPendingServiceStatusApplicationStatusesServeDeploymentStatuses { #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthLastUpdateTime")] pub health_last_update_time: Option, @@ -6386,7 +6387,7 @@ pub struct RayServiceStatusPendingServiceStatusApplicationStatusesServeDeploymen pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceStatusPendingServiceStatusRayClusterStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "availableWorkerReplicas")] pub available_worker_replicas: Option, @@ -6420,7 +6421,7 @@ pub struct RayServiceStatusPendingServiceStatusRayClusterStatus { pub state: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RayServiceStatusPendingServiceStatusRayClusterStatusHead { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podIP")] pub pod_ip: Option, diff --git a/kube-custom-resources-rs/src/rbacmanager_reactiveops_io/v1beta1/rbacdefinitions.rs b/kube-custom-resources-rs/src/rbacmanager_reactiveops_io/v1beta1/rbacdefinitions.rs index fcf3cdbe4..95eec1073 100644 --- a/kube-custom-resources-rs/src/rbacmanager_reactiveops_io/v1beta1/rbacdefinitions.rs +++ b/kube-custom-resources-rs/src/rbacmanager_reactiveops_io/v1beta1/rbacdefinitions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/FairwindsOps/rbac-manager/rbacmanager.reactiveops.io/v1beta1/rbacdefinitions.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/FairwindsOps/rbac-manager/rbacmanager.reactiveops.io/v1beta1/rbacdefinitions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,7 +10,7 @@ mod prelude { } use self::prelude::*; -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RBACDefinitionRbacBindings { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRoleBindings")] pub cluster_role_bindings: Option>, @@ -20,13 +20,13 @@ pub struct RBACDefinitionRbacBindings { pub subjects: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RBACDefinitionRbacBindingsClusterRoleBindings { #[serde(rename = "clusterRole")] pub cluster_role: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RBACDefinitionRbacBindingsRoleBindings { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterRole")] pub cluster_role: Option, @@ -38,7 +38,7 @@ pub struct RBACDefinitionRbacBindingsRoleBindings { pub role: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RBACDefinitionRbacBindingsRoleBindingsNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -81,7 +81,7 @@ pub enum RBACDefinitionRbacBindingsSubjectsKind { User, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RBACDefinitionStatus { } diff --git a/kube-custom-resources-rs/src/rc_app_stacks/v1/runtimecomponents.rs b/kube-custom-resources-rs/src/rc_app_stacks/v1/runtimecomponents.rs index bb8e8273c..8fc497857 100644 --- a/kube-custom-resources-rs/src/rc_app_stacks/v1/runtimecomponents.rs +++ b/kube-custom-resources-rs/src/rc_app_stacks/v1/runtimecomponents.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/application-stacks/runtime-component-operator/rc.app.stacks/v1/runtimecomponents.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/application-stacks/runtime-component-operator/rc.app.stacks/v1/runtimecomponents.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/rc_app_stacks/v1/runtimeoperations.rs b/kube-custom-resources-rs/src/rc_app_stacks/v1/runtimeoperations.rs index da4e29a04..e3a26a18c 100644 --- a/kube-custom-resources-rs/src/rc_app_stacks/v1/runtimeoperations.rs +++ b/kube-custom-resources-rs/src/rc_app_stacks/v1/runtimeoperations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/application-stacks/runtime-component-operator/rc.app.stacks/v1/runtimeoperations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/application-stacks/runtime-component-operator/rc.app.stacks/v1/runtimeoperations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/rc_app_stacks/v1beta2/runtimecomponents.rs b/kube-custom-resources-rs/src/rc_app_stacks/v1beta2/runtimecomponents.rs index a113588f1..79b5b5702 100644 --- a/kube-custom-resources-rs/src/rc_app_stacks/v1beta2/runtimecomponents.rs +++ b/kube-custom-resources-rs/src/rc_app_stacks/v1beta2/runtimecomponents.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/application-stacks/runtime-component-operator/rc.app.stacks/v1beta2/runtimecomponents.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/application-stacks/runtime-component-operator/rc.app.stacks/v1beta2/runtimecomponents.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/rc_app_stacks/v1beta2/runtimeoperations.rs b/kube-custom-resources-rs/src/rc_app_stacks/v1beta2/runtimeoperations.rs index 3b4a998d3..5022a8b8a 100644 --- a/kube-custom-resources-rs/src/rc_app_stacks/v1beta2/runtimeoperations.rs +++ b/kube-custom-resources-rs/src/rc_app_stacks/v1beta2/runtimeoperations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/application-stacks/runtime-component-operator/rc.app.stacks/v1beta2/runtimeoperations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/application-stacks/runtime-component-operator/rc.app.stacks/v1beta2/runtimeoperations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbclusterparametergroups.rs b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbclusterparametergroups.rs index 39f377534..05cf962d9 100644 --- a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbclusterparametergroups.rs +++ b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbclusterparametergroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/rds-controller/rds.services.k8s.aws/v1alpha1/dbclusterparametergroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/rds-controller/rds.services.k8s.aws/v1alpha1/dbclusterparametergroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbclusters.rs b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbclusters.rs index dc8e90f0e..ddc357902 100644 --- a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbclusters.rs +++ b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/rds-controller/rds.services.k8s.aws/v1alpha1/dbclusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/rds-controller/rds.services.k8s.aws/v1alpha1/dbclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbinstances.rs b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbinstances.rs index 74d6fb4ec..7b9c0a6d7 100644 --- a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbinstances.rs +++ b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbinstances.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/rds-controller/rds.services.k8s.aws/v1alpha1/dbinstances.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/rds-controller/rds.services.k8s.aws/v1alpha1/dbinstances.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbparametergroups.rs b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbparametergroups.rs index 11bfb0ca5..0e29d0ec3 100644 --- a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbparametergroups.rs +++ b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbparametergroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/rds-controller/rds.services.k8s.aws/v1alpha1/dbparametergroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/rds-controller/rds.services.k8s.aws/v1alpha1/dbparametergroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbproxies.rs b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbproxies.rs index a06c5d2fb..255fa0f05 100644 --- a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbproxies.rs +++ b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbproxies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/rds-controller/rds.services.k8s.aws/v1alpha1/dbproxies.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/rds-controller/rds.services.k8s.aws/v1alpha1/dbproxies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbsubnetgroups.rs b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbsubnetgroups.rs index 5614520a6..6488aeb6e 100644 --- a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbsubnetgroups.rs +++ b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/dbsubnetgroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/rds-controller/rds.services.k8s.aws/v1alpha1/dbsubnetgroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/rds-controller/rds.services.k8s.aws/v1alpha1/dbsubnetgroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/globalclusters.rs b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/globalclusters.rs index 7074af4e4..d4f29cd95 100644 --- a/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/globalclusters.rs +++ b/kube-custom-resources-rs/src/rds_services_k8s_aws/v1alpha1/globalclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/rds-controller/rds.services.k8s.aws/v1alpha1/globalclusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/rds-controller/rds.services.k8s.aws/v1alpha1/globalclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/redhatcop_redhat_io/v1alpha1/keepalivedgroups.rs b/kube-custom-resources-rs/src/redhatcop_redhat_io/v1alpha1/keepalivedgroups.rs index f5d1d2f24..fe2c0c49c 100644 --- a/kube-custom-resources-rs/src/redhatcop_redhat_io/v1alpha1/keepalivedgroups.rs +++ b/kube-custom-resources-rs/src/redhatcop_redhat_io/v1alpha1/keepalivedgroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/redhat-cop/keepalived-operator/redhatcop.redhat.io/v1alpha1/keepalivedgroups.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/redhat-cop/keepalived-operator/redhatcop.redhat.io/v1alpha1/keepalivedgroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// KeepalivedGroupSpec defines the desired state of KeepalivedGroup -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "redhatcop.redhat.io", version = "v1alpha1", kind = "KeepalivedGroup", plural = "keepalivedgroups")] #[kube(namespaced)] #[kube(status = "KeepalivedGroupStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct KeepalivedGroupSpec { /// // +kubebuilder:validation:UniqueItems=true @@ -43,7 +44,7 @@ pub struct KeepalivedGroupSpec { } /// PasswordAuth references a Kubernetes secret to extract the password for VRRP authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KeepalivedGroupPasswordAuth { #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretKey")] pub secret_key: Option, @@ -53,7 +54,7 @@ pub struct KeepalivedGroupPasswordAuth { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KeepalivedGroupPasswordAuthSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -61,7 +62,7 @@ pub struct KeepalivedGroupPasswordAuthSecretRef { } /// KeepalivedGroupStatus defines the observed state of KeepalivedGroup -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct KeepalivedGroupStatus { /// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/registry_apicur_io/v1/apicurioregistries.rs b/kube-custom-resources-rs/src/registry_apicur_io/v1/apicurioregistries.rs index 55d15c5e6..54b17608a 100644 --- a/kube-custom-resources-rs/src/registry_apicur_io/v1/apicurioregistries.rs +++ b/kube-custom-resources-rs/src/registry_apicur_io/v1/apicurioregistries.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/Apicurio/apicurio-registry-operator/registry.apicur.io/v1/apicurioregistries.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/Apicurio/apicurio-registry-operator/registry.apicur.io/v1/apicurioregistries.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// ApicurioRegistrySpec defines the desired state of ApicurioRegistry -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "registry.apicur.io", version = "v1", kind = "ApicurioRegistry", plural = "apicurioregistries")] #[kube(namespaced)] #[kube(status = "ApicurioRegistryStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ApicurioRegistrySpec { /// Apicurio Registry application configuration @@ -29,7 +30,7 @@ pub struct ApicurioRegistrySpec { } /// Apicurio Registry application configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryConfiguration { /// Environment variables: /// List of additional environment variables that will be provided to the Apicurio Registry application. @@ -60,7 +61,7 @@ pub struct ApicurioRegistryConfiguration { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryConfigurationEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -73,7 +74,7 @@ pub struct ApicurioRegistryConfigurationEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryConfigurationEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -90,7 +91,7 @@ pub struct ApicurioRegistryConfigurationEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryConfigurationEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -103,7 +104,7 @@ pub struct ApicurioRegistryConfigurationEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryConfigurationEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -114,7 +115,7 @@ pub struct ApicurioRegistryConfigurationEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryConfigurationEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -127,7 +128,7 @@ pub struct ApicurioRegistryConfigurationEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryConfigurationEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -140,7 +141,7 @@ pub struct ApicurioRegistryConfigurationEnvValueFromSecretKeyRef { } /// Configuration of Apicurio Registry KafkaSQL storage -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryConfigurationKafkasql { /// Kafka bootstrap servers URL: /// URL of one of the Kafka brokers, which provide initial metadata about the Kafka cluster, for example: `..svc:9092`. @@ -154,7 +155,7 @@ pub struct ApicurioRegistryConfigurationKafkasql { /// Kafka security configuration: /// Provide the following configuration options if your Kafka cluster is secured using TLS or SCRAM. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryConfigurationKafkasqlSecurity { /// SCRAM: /// Kafka is secured using SCRAM. @@ -168,7 +169,7 @@ pub struct ApicurioRegistryConfigurationKafkasqlSecurity { /// SCRAM: /// Kafka is secured using SCRAM. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryConfigurationKafkasqlSecurityScram { /// Mechanism: /// Name of the SCRAM mechanism, default value is SCRAM-SHA-512. @@ -189,7 +190,7 @@ pub struct ApicurioRegistryConfigurationKafkasqlSecurityScram { /// TLS: /// Kafka is secured using TLS. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryConfigurationKafkasqlSecurityTls { /// Keystore Secret name: /// Name of a Secret that contains TLS keystore (in PKCS12 format) under the `user.p12` key, and keystore password under the `user.password` key. @@ -202,7 +203,7 @@ pub struct ApicurioRegistryConfigurationKafkasqlSecurityTls { } /// Security configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryConfigurationSecurity { /// HTTPS: /// Configure Apicurio Registry to be accessible using HTTPS. @@ -216,7 +217,7 @@ pub struct ApicurioRegistryConfigurationSecurity { /// HTTPS: /// Configure Apicurio Registry to be accessible using HTTPS. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryConfigurationSecurityHttps { /// Disable HTTP: /// Disable HTTP if HTTPS is enabled. @@ -230,7 +231,7 @@ pub struct ApicurioRegistryConfigurationSecurityHttps { /// Keycloak: /// Configure Apicurio Registry to use Keycloak for Identity and Access Management (IAM). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryConfigurationSecurityKeycloak { /// Client ID for the REST API #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiClientId")] @@ -248,7 +249,7 @@ pub struct ApicurioRegistryConfigurationSecurityKeycloak { } /// Configuration of Apicurio Registry SQL storage -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryConfigurationSql { /// SQL data source #[serde(default, skip_serializing_if = "Option::is_none", rename = "dataSource")] @@ -256,7 +257,7 @@ pub struct ApicurioRegistryConfigurationSql { } /// SQL data source -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryConfigurationSqlDataSource { /// Data source password #[serde(default, skip_serializing_if = "Option::is_none")] @@ -271,7 +272,7 @@ pub struct ApicurioRegistryConfigurationSqlDataSource { } /// Configuration of Apicurio Registry web console -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryConfigurationUi { /// Read-only: /// Set the web console to read-only mode. WARNING: This does not affect access to the Apicurio REST API. @@ -280,7 +281,7 @@ pub struct ApicurioRegistryConfigurationUi { } /// Apicurio Registry deployment configuration -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeployment { /// Affinity #[serde(default, skip_serializing_if = "Option::is_none")] @@ -316,7 +317,7 @@ pub struct ApicurioRegistryDeployment { } /// Affinity -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -330,7 +331,7 @@ pub struct ApicurioRegistryDeploymentAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -341,7 +342,7 @@ pub struct ApicurioRegistryDeploymentAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: ApicurioRegistryDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -350,7 +351,7 @@ pub struct ApicurioRegistryDeploymentAffinityNodeAffinityPreferredDuringScheduli } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -361,7 +362,7 @@ pub struct ApicurioRegistryDeploymentAffinityNodeAffinityPreferredDuringScheduli } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -373,7 +374,7 @@ pub struct ApicurioRegistryDeploymentAffinityNodeAffinityPreferredDuringScheduli } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -385,7 +386,7 @@ pub struct ApicurioRegistryDeploymentAffinityNodeAffinityPreferredDuringScheduli } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -393,7 +394,7 @@ pub struct ApicurioRegistryDeploymentAffinityNodeAffinityRequiredDuringSchedulin } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -404,7 +405,7 @@ pub struct ApicurioRegistryDeploymentAffinityNodeAffinityRequiredDuringSchedulin } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -416,7 +417,7 @@ pub struct ApicurioRegistryDeploymentAffinityNodeAffinityRequiredDuringSchedulin } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -428,7 +429,7 @@ pub struct ApicurioRegistryDeploymentAffinityNodeAffinityRequiredDuringSchedulin } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -439,7 +440,7 @@ pub struct ApicurioRegistryDeploymentAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -449,7 +450,7 @@ pub struct ApicurioRegistryDeploymentAffinityPodAffinityPreferredDuringSchedulin } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -472,7 +473,7 @@ pub struct ApicurioRegistryDeploymentAffinityPodAffinityPreferredDuringSchedulin } /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -483,7 +484,7 @@ pub struct ApicurioRegistryDeploymentAffinityPodAffinityPreferredDuringSchedulin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -495,7 +496,7 @@ pub struct ApicurioRegistryDeploymentAffinityPodAffinityPreferredDuringSchedulin } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -506,7 +507,7 @@ pub struct ApicurioRegistryDeploymentAffinityPodAffinityPreferredDuringSchedulin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -518,7 +519,7 @@ pub struct ApicurioRegistryDeploymentAffinityPodAffinityPreferredDuringSchedulin } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -541,7 +542,7 @@ pub struct ApicurioRegistryDeploymentAffinityPodAffinityRequiredDuringScheduling } /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -552,7 +553,7 @@ pub struct ApicurioRegistryDeploymentAffinityPodAffinityRequiredDuringScheduling } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -564,7 +565,7 @@ pub struct ApicurioRegistryDeploymentAffinityPodAffinityRequiredDuringScheduling } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -575,7 +576,7 @@ pub struct ApicurioRegistryDeploymentAffinityPodAffinityRequiredDuringScheduling } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -587,7 +588,7 @@ pub struct ApicurioRegistryDeploymentAffinityPodAffinityRequiredDuringScheduling } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -598,7 +599,7 @@ pub struct ApicurioRegistryDeploymentAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -608,7 +609,7 @@ pub struct ApicurioRegistryDeploymentAffinityPodAntiAffinityPreferredDuringSched } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -631,7 +632,7 @@ pub struct ApicurioRegistryDeploymentAffinityPodAntiAffinityPreferredDuringSched } /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -642,7 +643,7 @@ pub struct ApicurioRegistryDeploymentAffinityPodAntiAffinityPreferredDuringSched } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -654,7 +655,7 @@ pub struct ApicurioRegistryDeploymentAffinityPodAntiAffinityPreferredDuringSched } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -665,7 +666,7 @@ pub struct ApicurioRegistryDeploymentAffinityPodAntiAffinityPreferredDuringSched } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -677,7 +678,7 @@ pub struct ApicurioRegistryDeploymentAffinityPodAntiAffinityPreferredDuringSched } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -700,7 +701,7 @@ pub struct ApicurioRegistryDeploymentAffinityPodAntiAffinityRequiredDuringSchedu } /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -711,7 +712,7 @@ pub struct ApicurioRegistryDeploymentAffinityPodAntiAffinityRequiredDuringSchedu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -723,7 +724,7 @@ pub struct ApicurioRegistryDeploymentAffinityPodAntiAffinityRequiredDuringSchedu } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -734,7 +735,7 @@ pub struct ApicurioRegistryDeploymentAffinityPodAntiAffinityRequiredDuringSchedu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -746,7 +747,7 @@ pub struct ApicurioRegistryDeploymentAffinityPodAntiAffinityRequiredDuringSchedu } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentImagePullSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -755,7 +756,7 @@ pub struct ApicurioRegistryDeploymentImagePullSecrets { /// Apicurio Registry managed resources: /// Configure how the Operator manages Kubernetes resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentManagedResources { /// Disable Ingress: /// Operator will not create or manage an Ingress for Apicurio Registry, so it can be done manually. @@ -772,7 +773,7 @@ pub struct ApicurioRegistryDeploymentManagedResources { } /// Metadata of the Apicurio Registry pod -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentMetadata { /// Annotations: /// Additional Apicurio Registry Pod annotations. @@ -784,7 +785,7 @@ pub struct ApicurioRegistryDeploymentMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreview { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -792,7 +793,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreview { pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -828,7 +829,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewMetadata { pub uid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewMetadataManagedFields { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -846,11 +847,11 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewMetadataManagedFields pub time: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewMetadataManagedFieldsFieldsV1 { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewMetadataOwnerReferences { #[serde(rename = "apiVersion")] pub api_version: String, @@ -863,7 +864,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewMetadataOwnerReferenc pub uid: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] pub active_deadline_seconds: Option, @@ -939,7 +940,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpec { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -949,7 +950,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -957,13 +958,13 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityNodeAffin pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -971,7 +972,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityNodeAffin pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -979,7 +980,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityNodeAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -987,13 +988,13 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityNodeAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1001,7 +1002,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityNodeAffin pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -1009,7 +1010,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityNodeAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -1017,7 +1018,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityNodeAffin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -1025,14 +1026,14 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAffini pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1048,7 +1049,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAffini pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1056,7 +1057,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAffini pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1064,7 +1065,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAffini pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1072,7 +1073,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAffini pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1080,7 +1081,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAffini pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1096,7 +1097,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAffini pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1104,7 +1105,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAffini pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1112,7 +1113,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAffini pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1120,7 +1121,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAffini pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1128,7 +1129,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAffini pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -1136,14 +1137,14 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAntiAf pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1159,7 +1160,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAntiAf pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1167,7 +1168,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAntiAf pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1175,7 +1176,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAntiAf pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1183,7 +1184,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAntiAf pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1191,7 +1192,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAntiAf pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1207,7 +1208,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAntiAf pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1215,7 +1216,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAntiAf pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1223,7 +1224,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAntiAf pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1231,7 +1232,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAntiAf pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1239,7 +1240,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecAffinityPodAntiAf pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -1290,7 +1291,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1299,7 +1300,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -1311,7 +1312,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersEnvValu pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1320,7 +1321,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersEnvValu pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1328,7 +1329,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersEnvValu pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1337,7 +1338,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersEnvValu pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1346,7 +1347,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersEnvValu pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -1356,7 +1357,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersEnvFrom pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1364,7 +1365,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersEnvFrom pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1372,7 +1373,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersEnvFrom pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -1380,7 +1381,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLifecyc pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1392,13 +1393,13 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLifecyc pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1411,25 +1412,25 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLifecyc pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLifecyclePostStartSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1441,13 +1442,13 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLifecyc pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1460,25 +1461,25 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLifecyc pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLifecyclePreStopSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1502,20 +1503,20 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLivenes pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1528,20 +1529,20 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLivenes pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -1555,7 +1556,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersPorts { pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1579,20 +1580,20 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersReadine pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1605,20 +1606,20 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersReadine pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -1626,7 +1627,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersResizeP pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -1636,12 +1637,12 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersResourc pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1667,7 +1668,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersSecurit pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1675,7 +1676,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersSecurit pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1687,7 +1688,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersSecurit pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -1695,7 +1696,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersSecurit pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1707,7 +1708,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersSecurit pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1731,20 +1732,20 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersStartup pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1757,27 +1758,27 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersStartup pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1792,7 +1793,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecContainersVolumeM pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecDnsConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, @@ -1802,7 +1803,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecDnsConfig { pub searches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecDnsConfigOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1810,7 +1811,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecDnsConfigOptions pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -1863,7 +1864,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1872,7 +1873,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -1884,7 +1885,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1893,7 +1894,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1901,7 +1902,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1910,7 +1911,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1919,7 +1920,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -1929,7 +1930,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1937,7 +1938,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1945,7 +1946,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -1953,7 +1954,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1965,13 +1966,13 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1984,25 +1985,25 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersLifecyclePostStartSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2014,13 +2015,13 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2033,25 +2034,25 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersLifecyclePreStopSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2075,20 +2076,20 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2101,20 +2102,20 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -2128,7 +2129,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2152,20 +2153,20 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2178,20 +2179,20 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -2199,7 +2200,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2209,12 +2210,12 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -2240,7 +2241,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -2248,7 +2249,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2260,7 +2261,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2268,7 +2269,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2280,7 +2281,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2304,20 +2305,20 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2330,27 +2331,27 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -2365,7 +2366,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecEphemeralContaine pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -2373,13 +2374,13 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -2430,7 +2431,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2439,7 +2440,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersEnv pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -2451,7 +2452,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersEnv pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2460,7 +2461,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersEnv pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2468,7 +2469,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersEnv pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2477,7 +2478,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersEnv pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2486,7 +2487,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersEnv pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -2496,7 +2497,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersEnv pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2504,7 +2505,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersEnv pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2512,7 +2513,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersEnv pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -2520,7 +2521,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLif pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2532,13 +2533,13 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLif pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2551,25 +2552,25 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLif pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLifecyclePostStartSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2581,13 +2582,13 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLif pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2600,25 +2601,25 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLif pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLifecyclePreStopSleep { pub seconds: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2642,20 +2643,20 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLiv pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLivenessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2668,20 +2669,20 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLiv pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -2695,7 +2696,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersPor pub protocol: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2719,20 +2720,20 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersRea pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersReadinessProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2745,20 +2746,20 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersRea pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersResizePolicy { #[serde(rename = "resourceName")] pub resource_name: String, @@ -2766,7 +2767,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersRes pub restart_policy: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub claims: Option>, @@ -2776,12 +2777,12 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersRes pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersResourcesClaims { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -2807,7 +2808,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersSec pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -2815,7 +2816,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersSec pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2827,7 +2828,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersSec pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2835,7 +2836,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersSec pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2847,7 +2848,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersSec pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2871,20 +2872,20 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersSta pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersStartupProbeGrpc { pub port: i32, #[serde(default, skip_serializing_if = "Option::is_none")] pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2897,27 +2898,27 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersSta pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -2932,18 +2933,18 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecInitContainersVol pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecOs { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecReadinessGates { #[serde(rename = "conditionType")] pub condition_type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -2967,7 +2968,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2979,7 +2980,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecSecurityContextSe pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -2987,13 +2988,13 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecSecurityContextSe pub r#type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -3005,7 +3006,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecSecurityContextWi pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -3019,7 +3020,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3039,7 +3040,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecTopologySpreadCon pub when_unsatisfiable: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3047,7 +3048,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecTopologySpreadCon pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3055,7 +3056,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecTopologySpreadCon pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -3118,7 +3119,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3130,7 +3131,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesAwsElastic pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -3146,7 +3147,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesAzureDisk pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -3156,7 +3157,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesAzureFile pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3171,13 +3172,13 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3189,13 +3190,13 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3207,7 +3208,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesConfigMap pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3215,7 +3216,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesConfigMapI pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3228,13 +3229,13 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3242,7 +3243,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesDownwardAp pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -3253,7 +3254,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesDownwardAp pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3261,7 +3262,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesDownwardAp pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3270,7 +3271,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesDownwardAp pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -3278,24 +3279,24 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, pub spec: ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesEphemeralVolumeClaimTemplateSpec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesEphemeralVolumeClaimTemplateMetadata { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -3317,7 +3318,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesEphemeralV pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -3325,7 +3326,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesEphemeralV pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -3335,7 +3336,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesEphemeralV pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -3343,7 +3344,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesEphemeralV pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3351,7 +3352,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesEphemeralV pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3359,7 +3360,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesEphemeralV pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3373,7 +3374,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3386,13 +3387,13 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesFlexVolume pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -3400,7 +3401,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3412,7 +3413,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesGcePersist pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -3421,7 +3422,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -3429,14 +3430,14 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesGlusterfs pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -3460,13 +3461,13 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -3474,7 +3475,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -3482,7 +3483,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesPersistent pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3490,7 +3491,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesPhotonPers pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3500,7 +3501,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesPortworxVo pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3508,7 +3509,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjected pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterTrustBundle")] pub cluster_trust_bundle: Option, @@ -3522,7 +3523,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedS pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedSourcesClusterTrustBundle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3535,7 +3536,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedS pub signer_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedSourcesClusterTrustBundleLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3543,7 +3544,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedS pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedSourcesClusterTrustBundleLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -3551,7 +3552,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedS pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -3561,7 +3562,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedS pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3569,13 +3570,13 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedS pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -3586,7 +3587,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedS pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3594,7 +3595,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedS pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3603,7 +3604,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedS pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -3613,7 +3614,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedS pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3621,7 +3622,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedS pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -3630,7 +3631,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesProjectedS pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -3644,7 +3645,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3662,13 +3663,13 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3690,13 +3691,13 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3708,7 +3709,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3716,7 +3717,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesSecretItem pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3730,13 +3731,13 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesStorageos pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3749,7 +3750,7 @@ pub struct ApicurioRegistryDeploymentPodTemplateSpecPreviewSpecVolumesVsphereVol } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryDeploymentTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3768,7 +3769,7 @@ pub struct ApicurioRegistryDeploymentTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryStatus { /// Conditions: /// Apicurio Registry application and Operator conditions. @@ -3784,14 +3785,14 @@ pub struct ApicurioRegistryStatus { } /// Information about the Apicurio Registry application -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryStatusInfo { /// Apicurio Registry URL #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ApicurioRegistryStatusManagedResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub kind: Option, diff --git a/kube-custom-resources-rs/src/registry_devfile_io/v1alpha1/clusterdevfileregistrieslists.rs b/kube-custom-resources-rs/src/registry_devfile_io/v1alpha1/clusterdevfileregistrieslists.rs index f0c4090fb..2a18e699e 100644 --- a/kube-custom-resources-rs/src/registry_devfile_io/v1alpha1/clusterdevfileregistrieslists.rs +++ b/kube-custom-resources-rs/src/registry_devfile_io/v1alpha1/clusterdevfileregistrieslists.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/devfile/registry-operator/registry.devfile.io/v1alpha1/clusterdevfileregistrieslists.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/devfile/registry-operator/registry.devfile.io/v1alpha1/clusterdevfileregistrieslists.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,10 +11,11 @@ mod prelude { use self::prelude::*; /// DevfileRegistriesListSpec defines the desired state of DevfileRegistriesList -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "registry.devfile.io", version = "v1alpha1", kind = "ClusterDevfileRegistriesList", plural = "clusterdevfileregistrieslists")] #[kube(status = "ClusterDevfileRegistriesListStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterDevfileRegistriesListSpec { /// DevfileRegistries is a list of devfile registry services @@ -23,7 +24,7 @@ pub struct ClusterDevfileRegistriesListSpec { } /// DevfileRegistryService represents the properties used to identify a devfile registry service. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDevfileRegistriesListDevfileRegistries { /// Name is the unique Name of the devfile registry. pub name: String, @@ -35,7 +36,7 @@ pub struct ClusterDevfileRegistriesListDevfileRegistries { } /// DevfileRegistriesListStatus defines the observed state of DevfileRegistriesList -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterDevfileRegistriesListStatus { /// Conditions shows the state of this CR's devfile registry list. If registries are no longer reachable, they will be listed here #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/registry_devfile_io/v1alpha1/devfileregistries.rs b/kube-custom-resources-rs/src/registry_devfile_io/v1alpha1/devfileregistries.rs index 4d3021f25..986cb254c 100644 --- a/kube-custom-resources-rs/src/registry_devfile_io/v1alpha1/devfileregistries.rs +++ b/kube-custom-resources-rs/src/registry_devfile_io/v1alpha1/devfileregistries.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/devfile/registry-operator/registry.devfile.io/v1alpha1/devfileregistries.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/devfile/registry-operator/registry.devfile.io/v1alpha1/devfileregistries.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// DevfileRegistrySpec defines the desired state of DevfileRegistry -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "registry.devfile.io", version = "v1alpha1", kind = "DevfileRegistry", plural = "devfileregistries")] #[kube(namespaced)] #[kube(status = "DevfileRegistryStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct DevfileRegistrySpec { /// Sets the devfile index container spec to be deployed on the Devfile Registry @@ -63,7 +64,7 @@ pub struct DevfileRegistrySpec { } /// Sets the devfile index container spec to be deployed on the Devfile Registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DevfileRegistryDevfileIndex { /// Sets the container image #[serde(default, skip_serializing_if = "Option::is_none")] @@ -77,7 +78,7 @@ pub struct DevfileRegistryDevfileIndex { } /// DevfileRegistrySpecK8sOnly defines the desired state of the kubernetes-only fields of the DevfileRegistry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DevfileRegistryK8s { /// Ingress class for a Kubernetes cluster. Defaults to nginx. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ingressClass")] @@ -88,7 +89,7 @@ pub struct DevfileRegistryK8s { } /// Sets the OCI registry container spec to be deployed on the Devfile Registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DevfileRegistryOciRegistry { /// Sets the container image #[serde(default, skip_serializing_if = "Option::is_none")] @@ -102,7 +103,7 @@ pub struct DevfileRegistryOciRegistry { } /// Sets the registry viewer container spec to be deployed on the Devfile Registry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DevfileRegistryRegistryViewer { /// Sets the container image #[serde(default, skip_serializing_if = "Option::is_none")] @@ -116,7 +117,7 @@ pub struct DevfileRegistryRegistryViewer { } /// DevfileRegistrySpecStorage defines the desired state of the storage for the DevfileRegistry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DevfileRegistryStorage { /// Instructs the operator to deploy the DevfileRegistry with persistent storage Disabled by default. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -127,7 +128,7 @@ pub struct DevfileRegistryStorage { } /// Telemetry defines the desired state for telemetry in the DevfileRegistry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DevfileRegistryTelemetry { /// Specify a telemetry key to allow devfile specific data to be sent to a client's own Segment analytics source. If the write key is specified then telemetry will be enabled #[serde(default, skip_serializing_if = "Option::is_none")] @@ -141,7 +142,7 @@ pub struct DevfileRegistryTelemetry { } /// DevfileRegistrySpecTLS defines the desired state for TLS in the DevfileRegistry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DevfileRegistryTls { /// Instructs the operator to deploy the DevfileRegistry with TLS enabled. Enabled by default. Disabling is only recommended for development or test. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -152,7 +153,7 @@ pub struct DevfileRegistryTls { } /// DevfileRegistryStatus defines the observed state of DevfileRegistry -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DevfileRegistryStatus { /// Conditions shows the state devfile registries. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/registry_devfile_io/v1alpha1/devfileregistrieslists.rs b/kube-custom-resources-rs/src/registry_devfile_io/v1alpha1/devfileregistrieslists.rs index 9bbd00594..f45db723a 100644 --- a/kube-custom-resources-rs/src/registry_devfile_io/v1alpha1/devfileregistrieslists.rs +++ b/kube-custom-resources-rs/src/registry_devfile_io/v1alpha1/devfileregistrieslists.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/devfile/registry-operator/registry.devfile.io/v1alpha1/devfileregistrieslists.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/devfile/registry-operator/registry.devfile.io/v1alpha1/devfileregistrieslists.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// DevfileRegistriesListSpec defines the desired state of DevfileRegistriesList -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "registry.devfile.io", version = "v1alpha1", kind = "DevfileRegistriesList", plural = "devfileregistrieslists")] #[kube(namespaced)] #[kube(status = "DevfileRegistriesListStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct DevfileRegistriesListSpec { /// DevfileRegistries is a list of devfile registry services @@ -24,7 +25,7 @@ pub struct DevfileRegistriesListSpec { } /// DevfileRegistryService represents the properties used to identify a devfile registry service. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DevfileRegistriesListDevfileRegistries { /// Name is the unique Name of the devfile registry. pub name: String, @@ -36,7 +37,7 @@ pub struct DevfileRegistriesListDevfileRegistries { } /// DevfileRegistriesListStatus defines the observed state of DevfileRegistriesList -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DevfileRegistriesListStatus { /// Conditions shows the state of this CR's devfile registry list. If registries are no longer reachable, they will be listed here #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/reliablesyncs_kubeedge_io/v1alpha1/clusterobjectsyncs.rs b/kube-custom-resources-rs/src/reliablesyncs_kubeedge_io/v1alpha1/clusterobjectsyncs.rs index 89b104458..ae6685c87 100644 --- a/kube-custom-resources-rs/src/reliablesyncs_kubeedge_io/v1alpha1/clusterobjectsyncs.rs +++ b/kube-custom-resources-rs/src/reliablesyncs_kubeedge_io/v1alpha1/clusterobjectsyncs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/reliablesyncs.kubeedge.io/v1alpha1/clusterobjectsyncs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/reliablesyncs.kubeedge.io/v1alpha1/clusterobjectsyncs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/reliablesyncs_kubeedge_io/v1alpha1/objectsyncs.rs b/kube-custom-resources-rs/src/reliablesyncs_kubeedge_io/v1alpha1/objectsyncs.rs index e285845e9..856020b60 100644 --- a/kube-custom-resources-rs/src/reliablesyncs_kubeedge_io/v1alpha1/objectsyncs.rs +++ b/kube-custom-resources-rs/src/reliablesyncs_kubeedge_io/v1alpha1/objectsyncs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/reliablesyncs.kubeedge.io/v1alpha1/objectsyncs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/reliablesyncs.kubeedge.io/v1alpha1/objectsyncs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/remediation_medik8s_io/v1alpha1/nodehealthchecks.rs b/kube-custom-resources-rs/src/remediation_medik8s_io/v1alpha1/nodehealthchecks.rs index 2c67914a9..174af2e77 100644 --- a/kube-custom-resources-rs/src/remediation_medik8s_io/v1alpha1/nodehealthchecks.rs +++ b/kube-custom-resources-rs/src/remediation_medik8s_io/v1alpha1/nodehealthchecks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/medik8s/node-healthcheck-operator/remediation.medik8s.io/v1alpha1/nodehealthchecks.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/medik8s/node-healthcheck-operator/remediation.medik8s.io/v1alpha1/nodehealthchecks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/repo_manager_pulpproject_org/v1beta2/pulpbackups.rs b/kube-custom-resources-rs/src/repo_manager_pulpproject_org/v1beta2/pulpbackups.rs index 610f38d93..0c904ab6c 100644 --- a/kube-custom-resources-rs/src/repo_manager_pulpproject_org/v1beta2/pulpbackups.rs +++ b/kube-custom-resources-rs/src/repo_manager_pulpproject_org/v1beta2/pulpbackups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/pulp/pulp-operator/repo-manager.pulpproject.org/v1beta2/pulpbackups.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/pulp/pulp-operator/repo-manager.pulpproject.org/v1beta2/pulpbackups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// PulpBackupSpec defines the desired state of PulpBackup -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "repo-manager.pulpproject.org", version = "v1beta2", kind = "PulpBackup", plural = "pulpbackups")] #[kube(namespaced)] #[kube(status = "PulpBackupStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PulpBackupSpec { /// Secret where the administrator password can be found @@ -52,7 +53,7 @@ pub struct PulpBackupSpec { } /// Affinity is a group of affinity scheduling rules. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -66,7 +67,7 @@ pub struct PulpBackupAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -77,7 +78,7 @@ pub struct PulpBackupAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: PulpBackupAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -86,7 +87,7 @@ pub struct PulpBackupAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringE } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -97,7 +98,7 @@ pub struct PulpBackupAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringE } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -109,7 +110,7 @@ pub struct PulpBackupAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringE } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -121,7 +122,7 @@ pub struct PulpBackupAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringE } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -129,7 +130,7 @@ pub struct PulpBackupAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -140,7 +141,7 @@ pub struct PulpBackupAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -152,7 +153,7 @@ pub struct PulpBackupAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringEx } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -164,7 +165,7 @@ pub struct PulpBackupAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringEx } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -175,7 +176,7 @@ pub struct PulpBackupAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -185,7 +186,7 @@ pub struct PulpBackupAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -208,7 +209,7 @@ pub struct PulpBackupAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -219,7 +220,7 @@ pub struct PulpBackupAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -231,7 +232,7 @@ pub struct PulpBackupAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -242,7 +243,7 @@ pub struct PulpBackupAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -254,7 +255,7 @@ pub struct PulpBackupAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringEx } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -277,7 +278,7 @@ pub struct PulpBackupAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -288,7 +289,7 @@ pub struct PulpBackupAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -300,7 +301,7 @@ pub struct PulpBackupAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -311,7 +312,7 @@ pub struct PulpBackupAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -323,7 +324,7 @@ pub struct PulpBackupAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExe } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -334,7 +335,7 @@ pub struct PulpBackupAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -344,7 +345,7 @@ pub struct PulpBackupAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -367,7 +368,7 @@ pub struct PulpBackupAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri } /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -378,7 +379,7 @@ pub struct PulpBackupAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -390,7 +391,7 @@ pub struct PulpBackupAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -401,7 +402,7 @@ pub struct PulpBackupAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -413,7 +414,7 @@ pub struct PulpBackupAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuri } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -436,7 +437,7 @@ pub struct PulpBackupAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDurin } /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -447,7 +448,7 @@ pub struct PulpBackupAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDurin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -459,7 +460,7 @@ pub struct PulpBackupAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDurin } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -470,7 +471,7 @@ pub struct PulpBackupAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDurin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -482,7 +483,7 @@ pub struct PulpBackupAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDurin } /// PulpBackupStatus defines the observed state of PulpBackup -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpBackupStatus { /// Administrator password secret used by the deployed instance #[serde(rename = "adminPasswordSecret")] diff --git a/kube-custom-resources-rs/src/repo_manager_pulpproject_org/v1beta2/pulprestores.rs b/kube-custom-resources-rs/src/repo_manager_pulpproject_org/v1beta2/pulprestores.rs index 5858d04ac..c3a0ccf92 100644 --- a/kube-custom-resources-rs/src/repo_manager_pulpproject_org/v1beta2/pulprestores.rs +++ b/kube-custom-resources-rs/src/repo_manager_pulpproject_org/v1beta2/pulprestores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/pulp/pulp-operator/repo-manager.pulpproject.org/v1beta2/pulprestores.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/pulp/pulp-operator/repo-manager.pulpproject.org/v1beta2/pulprestores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// PulpRestoreSpec defines the desired state of PulpRestore -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "repo-manager.pulpproject.org", version = "v1beta2", kind = "PulpRestore", plural = "pulprestores")] #[kube(namespaced)] #[kube(status = "PulpRestoreStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct PulpRestoreSpec { /// Backup directory name, set as a status found on the backup object (backupDirectory) @@ -47,7 +48,7 @@ pub enum PulpRestoreDeploymentType { } /// PulpRestoreStatus defines the observed state of PulpRestore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PulpRestoreStatus { pub conditions: Vec, pub postgres_secret: String, diff --git a/kube-custom-resources-rs/src/repo_manager_pulpproject_org/v1beta2/pulps.rs b/kube-custom-resources-rs/src/repo_manager_pulpproject_org/v1beta2/pulps.rs index da075294e..d35b1dcbe 100644 --- a/kube-custom-resources-rs/src/repo_manager_pulpproject_org/v1beta2/pulps.rs +++ b/kube-custom-resources-rs/src/repo_manager_pulpproject_org/v1beta2/pulps.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/pulp/pulp-operator/repo-manager.pulpproject.org/v1beta2/pulps.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/pulp/pulp-operator/repo-manager.pulpproject.org/v1beta2/pulps.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/reports_kyverno_io/v1/clusterephemeralreports.rs b/kube-custom-resources-rs/src/reports_kyverno_io/v1/clusterephemeralreports.rs index 873242c20..aaf7b87b4 100644 --- a/kube-custom-resources-rs/src/reports_kyverno_io/v1/clusterephemeralreports.rs +++ b/kube-custom-resources-rs/src/reports_kyverno_io/v1/clusterephemeralreports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/reports.kyverno.io/v1/clusterephemeralreports.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/reports.kyverno.io/v1/clusterephemeralreports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/reports_kyverno_io/v1/ephemeralreports.rs b/kube-custom-resources-rs/src/reports_kyverno_io/v1/ephemeralreports.rs index 9d5670dde..27cca2709 100644 --- a/kube-custom-resources-rs/src/reports_kyverno_io/v1/ephemeralreports.rs +++ b/kube-custom-resources-rs/src/reports_kyverno_io/v1/ephemeralreports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/reports.kyverno.io/v1/ephemeralreports.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kyverno/kyverno/reports.kyverno.io/v1/ephemeralreports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/resources_teleport_dev/v1/teleportloginrules.rs b/kube-custom-resources-rs/src/resources_teleport_dev/v1/teleportloginrules.rs index b162b3f75..3fad9d9d7 100644 --- a/kube-custom-resources-rs/src/resources_teleport_dev/v1/teleportloginrules.rs +++ b/kube-custom-resources-rs/src/resources_teleport_dev/v1/teleportloginrules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/gravitational/teleport/resources.teleport.dev/v1/teleportloginrules.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/gravitational/teleport/resources.teleport.dev/v1/teleportloginrules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// LoginRule resource definition v1 from Teleport -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "resources.teleport.dev", version = "v1", kind = "TeleportLoginRule", plural = "teleportloginrules")] #[kube(namespaced)] #[kube(status = "TeleportLoginRuleStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct TeleportLoginRuleSpec { /// Priority is the priority of the login rule relative to other login rules in the same cluster. Login rules with a lower numbered priority will be evaluated first. @@ -31,7 +32,7 @@ pub struct TeleportLoginRuleSpec { } /// Status defines the observed state of the Teleport resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TeleportLoginRuleStatus { /// Conditions represent the latest available observations of an object's state #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/resources_teleport_dev/v1/teleportoktaimportrules.rs b/kube-custom-resources-rs/src/resources_teleport_dev/v1/teleportoktaimportrules.rs index a6b863f3b..119037ec4 100644 --- a/kube-custom-resources-rs/src/resources_teleport_dev/v1/teleportoktaimportrules.rs +++ b/kube-custom-resources-rs/src/resources_teleport_dev/v1/teleportoktaimportrules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/gravitational/teleport/resources.teleport.dev/v1/teleportoktaimportrules.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/gravitational/teleport/resources.teleport.dev/v1/teleportoktaimportrules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// OktaImportRule resource definition v1 from Teleport -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "resources.teleport.dev", version = "v1", kind = "TeleportOktaImportRule", plural = "teleportoktaimportrules")] #[kube(namespaced)] #[kube(status = "TeleportOktaImportRuleStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct TeleportOktaImportRuleSpec { /// Mappings is a list of matches that will map match conditions to labels. @@ -26,7 +27,7 @@ pub struct TeleportOktaImportRuleSpec { pub priority: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TeleportOktaImportRuleMappings { /// AddLabels specifies which labels to add if any of the previous matches match. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -37,7 +38,7 @@ pub struct TeleportOktaImportRuleMappings { } /// AddLabels specifies which labels to add if any of the previous matches match. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TeleportOktaImportRuleMappingsAddLabels { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -45,7 +46,7 @@ pub struct TeleportOktaImportRuleMappingsAddLabels { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TeleportOktaImportRuleMappingsMatch { /// AppIDs is a list of app IDs to match against. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -62,7 +63,7 @@ pub struct TeleportOktaImportRuleMappingsMatch { } /// Status defines the observed state of the Teleport resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TeleportOktaImportRuleStatus { /// Conditions represent the latest available observations of an object's state #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/resources_teleport_dev/v2/teleportsamlconnectors.rs b/kube-custom-resources-rs/src/resources_teleport_dev/v2/teleportsamlconnectors.rs index 22ceb81de..413b1f1b6 100644 --- a/kube-custom-resources-rs/src/resources_teleport_dev/v2/teleportsamlconnectors.rs +++ b/kube-custom-resources-rs/src/resources_teleport_dev/v2/teleportsamlconnectors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/gravitational/teleport/resources.teleport.dev/v2/teleportsamlconnectors.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/gravitational/teleport/resources.teleport.dev/v2/teleportsamlconnectors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// SAMLConnector resource definition v2 from Teleport -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "resources.teleport.dev", version = "v2", kind = "TeleportSAMLConnector", plural = "teleportsamlconnectors")] #[kube(namespaced)] #[kube(status = "TeleportSAMLConnectorStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct TeleportSAMLConnectorSpec { /// AssertionConsumerService is a URL for assertion consumer service on the service provider (Teleport's side). @@ -66,7 +67,7 @@ pub struct TeleportSAMLConnectorSpec { } /// EncryptionKeyPair is a key pair used for decrypting SAML assertions. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TeleportSAMLConnectorAssertionKeyPair { /// Cert is a PEM-encoded x509 certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -76,7 +77,7 @@ pub struct TeleportSAMLConnectorAssertionKeyPair { pub private_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TeleportSAMLConnectorAttributesToRoles { /// Name is an attribute statement name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -90,7 +91,7 @@ pub struct TeleportSAMLConnectorAttributesToRoles { } /// ClientRedirectSettings defines which client redirect URLs are allowed for non-browser SSO logins other than the standard localhost ones. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TeleportSAMLConnectorClientRedirectSettings { /// a list of hostnames allowed for https client redirect URLs #[serde(default, skip_serializing_if = "Option::is_none")] @@ -98,7 +99,7 @@ pub struct TeleportSAMLConnectorClientRedirectSettings { } /// SigningKeyPair is an x509 key pair used to sign AuthnRequest. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TeleportSAMLConnectorSigningKeyPair { /// Cert is a PEM-encoded x509 certificate. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -109,7 +110,7 @@ pub struct TeleportSAMLConnectorSigningKeyPair { } /// Status defines the observed state of the Teleport resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TeleportSAMLConnectorStatus { /// Conditions represent the latest available observations of an object's state #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/resources_teleport_dev/v2/teleportusers.rs b/kube-custom-resources-rs/src/resources_teleport_dev/v2/teleportusers.rs index 3c8fa4b2e..08b50c705 100644 --- a/kube-custom-resources-rs/src/resources_teleport_dev/v2/teleportusers.rs +++ b/kube-custom-resources-rs/src/resources_teleport_dev/v2/teleportusers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/gravitational/teleport/resources.teleport.dev/v2/teleportusers.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/gravitational/teleport/resources.teleport.dev/v2/teleportusers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// User resource definition v2 from Teleport -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "resources.teleport.dev", version = "v2", kind = "TeleportUser", plural = "teleportusers")] #[kube(namespaced)] #[kube(status = "TeleportUserStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct TeleportUserSpec { /// GithubIdentities list associated Github OAuth2 identities that let user log in using externally verified identity @@ -39,7 +40,7 @@ pub struct TeleportUserSpec { pub trusted_device_ids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TeleportUserGithubIdentities { /// ConnectorID is id of registered OIDC connector, e.g. 'google-example.com' #[serde(default, skip_serializing_if = "Option::is_none")] @@ -49,7 +50,7 @@ pub struct TeleportUserGithubIdentities { pub username: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TeleportUserOidcIdentities { /// ConnectorID is id of registered OIDC connector, e.g. 'google-example.com' #[serde(default, skip_serializing_if = "Option::is_none")] @@ -59,7 +60,7 @@ pub struct TeleportUserOidcIdentities { pub username: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TeleportUserSamlIdentities { /// ConnectorID is id of registered OIDC connector, e.g. 'google-example.com' #[serde(default, skip_serializing_if = "Option::is_none")] @@ -70,7 +71,7 @@ pub struct TeleportUserSamlIdentities { } /// Status defines the observed state of the Teleport resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TeleportUserStatus { /// Conditions represent the latest available observations of an object's state #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/resources_teleport_dev/v3/teleportgithubconnectors.rs b/kube-custom-resources-rs/src/resources_teleport_dev/v3/teleportgithubconnectors.rs index 73802a1be..fe44e75ca 100644 --- a/kube-custom-resources-rs/src/resources_teleport_dev/v3/teleportgithubconnectors.rs +++ b/kube-custom-resources-rs/src/resources_teleport_dev/v3/teleportgithubconnectors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/gravitational/teleport/resources.teleport.dev/v3/teleportgithubconnectors.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/gravitational/teleport/resources.teleport.dev/v3/teleportgithubconnectors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// GithubConnector resource definition v3 from Teleport -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "resources.teleport.dev", version = "v3", kind = "TeleportGithubConnector", plural = "teleportgithubconnectors")] #[kube(namespaced)] #[kube(status = "TeleportGithubConnectorStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct TeleportGithubConnectorSpec { /// APIEndpointURL is the URL of the API endpoint of the Github instance this connector is for. @@ -45,14 +46,14 @@ pub struct TeleportGithubConnectorSpec { } /// ClientRedirectSettings defines which client redirect URLs are allowed for non-browser SSO logins other than the standard localhost ones. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TeleportGithubConnectorClientRedirectSettings { /// a list of hostnames allowed for https client redirect URLs #[serde(default, skip_serializing_if = "Option::is_none")] pub allowed_https_hostnames: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TeleportGithubConnectorTeamsToRoles { /// Organization is a Github organization a user belongs to. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -66,7 +67,7 @@ pub struct TeleportGithubConnectorTeamsToRoles { } /// Status defines the observed state of the Teleport resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TeleportGithubConnectorStatus { /// Conditions represent the latest available observations of an object's state #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/resources_teleport_dev/v3/teleportoidcconnectors.rs b/kube-custom-resources-rs/src/resources_teleport_dev/v3/teleportoidcconnectors.rs index 3facce49a..8d66b5285 100644 --- a/kube-custom-resources-rs/src/resources_teleport_dev/v3/teleportoidcconnectors.rs +++ b/kube-custom-resources-rs/src/resources_teleport_dev/v3/teleportoidcconnectors.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/gravitational/teleport/resources.teleport.dev/v3/teleportoidcconnectors.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/gravitational/teleport/resources.teleport.dev/v3/teleportoidcconnectors.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// OIDCConnector resource definition v3 from Teleport -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "resources.teleport.dev", version = "v3", kind = "TeleportOIDCConnector", plural = "teleportoidcconnectors")] #[kube(namespaced)] #[kube(status = "TeleportOIDCConnectorStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct TeleportOIDCConnectorSpec { /// ACR is an Authentication Context Class Reference value. The meaning of the ACR value is context-specific and varies for identity providers. @@ -71,7 +72,7 @@ pub struct TeleportOIDCConnectorSpec { pub username_claim: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TeleportOIDCConnectorClaimsToRoles { /// Claim is a claim name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -85,7 +86,7 @@ pub struct TeleportOIDCConnectorClaimsToRoles { } /// ClientRedirectSettings defines which client redirect URLs are allowed for non-browser SSO logins other than the standard localhost ones. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TeleportOIDCConnectorClientRedirectSettings { /// a list of hostnames allowed for https client redirect URLs #[serde(default, skip_serializing_if = "Option::is_none")] @@ -93,7 +94,7 @@ pub struct TeleportOIDCConnectorClientRedirectSettings { } /// Status defines the observed state of the Teleport resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TeleportOIDCConnectorStatus { /// Conditions represent the latest available observations of an object's state #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/brokers.rs b/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/brokers.rs index 7574ea8db..efb50d082 100644 --- a/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/brokers.rs +++ b/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/brokers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apache/rocketmq-operator/rocketmq.apache.org/v1alpha1/brokers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apache/rocketmq-operator/rocketmq.apache.org/v1alpha1/brokers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/consoles.rs b/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/consoles.rs index 8f9789950..5f29a4a83 100644 --- a/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/consoles.rs +++ b/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/consoles.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apache/rocketmq-operator/rocketmq.apache.org/v1alpha1/consoles.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apache/rocketmq-operator/rocketmq.apache.org/v1alpha1/consoles.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/nameservices.rs b/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/nameservices.rs index 7a3eb748a..01a12610f 100644 --- a/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/nameservices.rs +++ b/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/nameservices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apache/rocketmq-operator/rocketmq.apache.org/v1alpha1/nameservices.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apache/rocketmq-operator/rocketmq.apache.org/v1alpha1/nameservices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/topictransfers.rs b/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/topictransfers.rs index 268c210c9..e9caa96b9 100644 --- a/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/topictransfers.rs +++ b/kube-custom-resources-rs/src/rocketmq_apache_org/v1alpha1/topictransfers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apache/rocketmq-operator/rocketmq.apache.org/v1alpha1/topictransfers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apache/rocketmq-operator/rocketmq.apache.org/v1alpha1/topictransfers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/route53_services_k8s_aws/v1alpha1/hostedzones.rs b/kube-custom-resources-rs/src/route53_services_k8s_aws/v1alpha1/hostedzones.rs index 5061adb9f..3f385e054 100644 --- a/kube-custom-resources-rs/src/route53_services_k8s_aws/v1alpha1/hostedzones.rs +++ b/kube-custom-resources-rs/src/route53_services_k8s_aws/v1alpha1/hostedzones.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/route53-controller/route53.services.k8s.aws/v1alpha1/hostedzones.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/route53-controller/route53.services.k8s.aws/v1alpha1/hostedzones.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/route53_services_k8s_aws/v1alpha1/recordsets.rs b/kube-custom-resources-rs/src/route53_services_k8s_aws/v1alpha1/recordsets.rs index ddee7948d..26bba0097 100644 --- a/kube-custom-resources-rs/src/route53_services_k8s_aws/v1alpha1/recordsets.rs +++ b/kube-custom-resources-rs/src/route53_services_k8s_aws/v1alpha1/recordsets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/route53-controller/route53.services.k8s.aws/v1alpha1/recordsets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/route53-controller/route53.services.k8s.aws/v1alpha1/recordsets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/route53resolver_services_k8s_aws/v1alpha1/resolverendpoints.rs b/kube-custom-resources-rs/src/route53resolver_services_k8s_aws/v1alpha1/resolverendpoints.rs index cb7f0765d..b2a172058 100644 --- a/kube-custom-resources-rs/src/route53resolver_services_k8s_aws/v1alpha1/resolverendpoints.rs +++ b/kube-custom-resources-rs/src/route53resolver_services_k8s_aws/v1alpha1/resolverendpoints.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/route53resolver-controller/route53resolver.services.k8s.aws/v1alpha1/resolverendpoints.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/route53resolver-controller/route53resolver.services.k8s.aws/v1alpha1/resolverendpoints.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/route53resolver_services_k8s_aws/v1alpha1/resolverrules.rs b/kube-custom-resources-rs/src/route53resolver_services_k8s_aws/v1alpha1/resolverrules.rs index b6d9a18dd..d9c460e4e 100644 --- a/kube-custom-resources-rs/src/route53resolver_services_k8s_aws/v1alpha1/resolverrules.rs +++ b/kube-custom-resources-rs/src/route53resolver_services_k8s_aws/v1alpha1/resolverrules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/route53resolver-controller/route53resolver.services.k8s.aws/v1alpha1/resolverrules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/route53resolver-controller/route53resolver.services.k8s.aws/v1alpha1/resolverrules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/rules_kubeedge_io/v1/ruleendpoints.rs b/kube-custom-resources-rs/src/rules_kubeedge_io/v1/ruleendpoints.rs index b40ffc5c5..1f81541be 100644 --- a/kube-custom-resources-rs/src/rules_kubeedge_io/v1/ruleendpoints.rs +++ b/kube-custom-resources-rs/src/rules_kubeedge_io/v1/ruleendpoints.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/rules.kubeedge.io/v1/ruleendpoints.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/rules.kubeedge.io/v1/ruleendpoints.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/rules_kubeedge_io/v1/rules.rs b/kube-custom-resources-rs/src/rules_kubeedge_io/v1/rules.rs index dedc9d2f8..9f273e91d 100644 --- a/kube-custom-resources-rs/src/rules_kubeedge_io/v1/rules.rs +++ b/kube-custom-resources-rs/src/rules_kubeedge_io/v1/rules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/rules.kubeedge.io/v1/rules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeedge/kubeedge/rules.kubeedge.io/v1/rules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/runtime_cluster_x_k8s_io/v1alpha1/extensionconfigs.rs b/kube-custom-resources-rs/src/runtime_cluster_x_k8s_io/v1alpha1/extensionconfigs.rs index bdc9325a6..3a716992e 100644 --- a/kube-custom-resources-rs/src/runtime_cluster_x_k8s_io/v1alpha1/extensionconfigs.rs +++ b/kube-custom-resources-rs/src/runtime_cluster_x_k8s_io/v1alpha1/extensionconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/runtime.cluster.x-k8s.io/v1alpha1/extensionconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/cluster-api/runtime.cluster.x-k8s.io/v1alpha1/extensionconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/s3_services_k8s_aws/v1alpha1/buckets.rs b/kube-custom-resources-rs/src/s3_services_k8s_aws/v1alpha1/buckets.rs index acb9c7cc8..fcdb041f5 100644 --- a/kube-custom-resources-rs/src/s3_services_k8s_aws/v1alpha1/buckets.rs +++ b/kube-custom-resources-rs/src/s3_services_k8s_aws/v1alpha1/buckets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/s3-controller/s3.services.k8s.aws/v1alpha1/buckets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/s3-controller/s3.services.k8s.aws/v1alpha1/buckets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/s3_snappcloud_io/v1alpha1/s3buckets.rs b/kube-custom-resources-rs/src/s3_snappcloud_io/v1alpha1/s3buckets.rs index 8107c8c26..fd8d6f4a4 100644 --- a/kube-custom-resources-rs/src/s3_snappcloud_io/v1alpha1/s3buckets.rs +++ b/kube-custom-resources-rs/src/s3_snappcloud_io/v1alpha1/s3buckets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/snapp-incubator/ceph-s3-operator/s3.snappcloud.io/v1alpha1/s3buckets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/snapp-incubator/ceph-s3-operator/s3.snappcloud.io/v1alpha1/s3buckets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/s3_snappcloud_io/v1alpha1/s3userclaims.rs b/kube-custom-resources-rs/src/s3_snappcloud_io/v1alpha1/s3userclaims.rs index db85bf2bd..d3bde2174 100644 --- a/kube-custom-resources-rs/src/s3_snappcloud_io/v1alpha1/s3userclaims.rs +++ b/kube-custom-resources-rs/src/s3_snappcloud_io/v1alpha1/s3userclaims.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/snapp-incubator/ceph-s3-operator/s3.snappcloud.io/v1alpha1/s3userclaims.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/snapp-incubator/ceph-s3-operator/s3.snappcloud.io/v1alpha1/s3userclaims.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/s3_snappcloud_io/v1alpha1/s3users.rs b/kube-custom-resources-rs/src/s3_snappcloud_io/v1alpha1/s3users.rs index 51d84dd9a..88fc93920 100644 --- a/kube-custom-resources-rs/src/s3_snappcloud_io/v1alpha1/s3users.rs +++ b/kube-custom-resources-rs/src/s3_snappcloud_io/v1alpha1/s3users.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/snapp-incubator/ceph-s3-operator/s3.snappcloud.io/v1alpha1/s3users.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/snapp-incubator/ceph-s3-operator/s3.snappcloud.io/v1alpha1/s3users.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/apps.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/apps.rs index 00a1fa23a..5ca51477a 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/apps.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/apps.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/apps.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/apps.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/dataqualityjobdefinitions.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/dataqualityjobdefinitions.rs index 43499270c..be959555b 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/dataqualityjobdefinitions.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/dataqualityjobdefinitions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/dataqualityjobdefinitions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/dataqualityjobdefinitions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/domains.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/domains.rs index 08819dff7..84c7d6117 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/domains.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/domains.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/domains.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/domains.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/endpointconfigs.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/endpointconfigs.rs index 0ad4ca8c5..dd137c64a 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/endpointconfigs.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/endpointconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/endpointconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/endpointconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/endpoints.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/endpoints.rs index 2d7b1ff43..784a607d5 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/endpoints.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/endpoints.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/endpoints.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/endpoints.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/featuregroups.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/featuregroups.rs index 51b48b3fa..2b7281145 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/featuregroups.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/featuregroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/featuregroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/featuregroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/hyperparametertuningjobs.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/hyperparametertuningjobs.rs index 3f9fdc1a7..abab7cf25 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/hyperparametertuningjobs.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/hyperparametertuningjobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/hyperparametertuningjobs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/hyperparametertuningjobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelbiasjobdefinitions.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelbiasjobdefinitions.rs index e6ac44911..410c3dfc5 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelbiasjobdefinitions.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelbiasjobdefinitions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/modelbiasjobdefinitions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/modelbiasjobdefinitions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelexplainabilityjobdefinitions.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelexplainabilityjobdefinitions.rs index f8be799fc..2bbe8cbe7 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelexplainabilityjobdefinitions.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelexplainabilityjobdefinitions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/modelexplainabilityjobdefinitions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/modelexplainabilityjobdefinitions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelpackagegroups.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelpackagegroups.rs index 6350020a3..af18885ca 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelpackagegroups.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelpackagegroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/modelpackagegroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/modelpackagegroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelpackages.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelpackages.rs index 8558fe8c4..ab3f918bc 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelpackages.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelpackages.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/modelpackages.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/modelpackages.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelqualityjobdefinitions.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelqualityjobdefinitions.rs index 9b6da480b..f356dea29 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelqualityjobdefinitions.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/modelqualityjobdefinitions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/modelqualityjobdefinitions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/modelqualityjobdefinitions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/models.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/models.rs index 3776945b8..473ab86e7 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/models.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/models.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/models.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/models.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/monitoringschedules.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/monitoringschedules.rs index 11c4e44c0..7cc58d333 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/monitoringschedules.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/monitoringschedules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/monitoringschedules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/monitoringschedules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/notebookinstancelifecycleconfigs.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/notebookinstancelifecycleconfigs.rs index 62c7a5012..c546a6e09 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/notebookinstancelifecycleconfigs.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/notebookinstancelifecycleconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/notebookinstancelifecycleconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/notebookinstancelifecycleconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/notebookinstances.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/notebookinstances.rs index 7be795593..49efcdf84 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/notebookinstances.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/notebookinstances.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/notebookinstances.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/notebookinstances.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/processingjobs.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/processingjobs.rs index 7986c7096..9784da69c 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/processingjobs.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/processingjobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/processingjobs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/processingjobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/trainingjobs.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/trainingjobs.rs index 5e651976b..d1b310745 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/trainingjobs.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/trainingjobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/trainingjobs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/trainingjobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/transformjobs.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/transformjobs.rs index ef820f30a..ce390b466 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/transformjobs.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/transformjobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/transformjobs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/transformjobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/userprofiles.rs b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/userprofiles.rs index ffb341cbd..04057aef9 100644 --- a/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/userprofiles.rs +++ b/kube-custom-resources-rs/src/sagemaker_services_k8s_aws/v1alpha1/userprofiles.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/userprofiles.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sagemaker-controller/sagemaker.services.k8s.aws/v1alpha1/userprofiles.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/scheduling_koordinator_sh/v1alpha1/devices.rs b/kube-custom-resources-rs/src/scheduling_koordinator_sh/v1alpha1/devices.rs index d95d70fcc..9b49d34d5 100644 --- a/kube-custom-resources-rs/src/scheduling_koordinator_sh/v1alpha1/devices.rs +++ b/kube-custom-resources-rs/src/scheduling_koordinator_sh/v1alpha1/devices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/koordinator-sh/koordinator/scheduling.koordinator.sh/v1alpha1/devices.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/koordinator-sh/koordinator/scheduling.koordinator.sh/v1alpha1/devices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/scheduling_koordinator_sh/v1alpha1/podmigrationjobs.rs b/kube-custom-resources-rs/src/scheduling_koordinator_sh/v1alpha1/podmigrationjobs.rs index 3630c1260..ca9e08751 100644 --- a/kube-custom-resources-rs/src/scheduling_koordinator_sh/v1alpha1/podmigrationjobs.rs +++ b/kube-custom-resources-rs/src/scheduling_koordinator_sh/v1alpha1/podmigrationjobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/koordinator-sh/koordinator/scheduling.koordinator.sh/v1alpha1/podmigrationjobs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/koordinator-sh/koordinator/scheduling.koordinator.sh/v1alpha1/podmigrationjobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/scheduling_koordinator_sh/v1alpha1/reservations.rs b/kube-custom-resources-rs/src/scheduling_koordinator_sh/v1alpha1/reservations.rs index 64ac79ea4..ae5e99f50 100644 --- a/kube-custom-resources-rs/src/scheduling_koordinator_sh/v1alpha1/reservations.rs +++ b/kube-custom-resources-rs/src/scheduling_koordinator_sh/v1alpha1/reservations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/koordinator-sh/koordinator/scheduling.koordinator.sh/v1alpha1/reservations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/koordinator-sh/koordinator/scheduling.koordinator.sh/v1alpha1/reservations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/scheduling_sigs_k8s_io/v1alpha1/elasticquotas.rs b/kube-custom-resources-rs/src/scheduling_sigs_k8s_io/v1alpha1/elasticquotas.rs index b74f9a5fb..f8b7f0490 100644 --- a/kube-custom-resources-rs/src/scheduling_sigs_k8s_io/v1alpha1/elasticquotas.rs +++ b/kube-custom-resources-rs/src/scheduling_sigs_k8s_io/v1alpha1/elasticquotas.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/koordinator-sh/koordinator/scheduling.sigs.k8s.io/v1alpha1/elasticquotas.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/koordinator-sh/koordinator/scheduling.sigs.k8s.io/v1alpha1/elasticquotas.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/scheduling_sigs_k8s_io/v1alpha1/podgroups.rs b/kube-custom-resources-rs/src/scheduling_sigs_k8s_io/v1alpha1/podgroups.rs index aea6ff292..6de3d77be 100644 --- a/kube-custom-resources-rs/src/scheduling_sigs_k8s_io/v1alpha1/podgroups.rs +++ b/kube-custom-resources-rs/src/scheduling_sigs_k8s_io/v1alpha1/podgroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/koordinator-sh/koordinator/scheduling.sigs.k8s.io/v1alpha1/podgroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/koordinator-sh/koordinator/scheduling.sigs.k8s.io/v1alpha1/podgroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/scheduling_volcano_sh/v1beta1/podgroups.rs b/kube-custom-resources-rs/src/scheduling_volcano_sh/v1beta1/podgroups.rs index 58188e803..2d435a04d 100644 --- a/kube-custom-resources-rs/src/scheduling_volcano_sh/v1beta1/podgroups.rs +++ b/kube-custom-resources-rs/src/scheduling_volcano_sh/v1beta1/podgroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/volcano-sh/volcano/scheduling.volcano.sh/v1beta1/podgroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/volcano-sh/volcano/scheduling.volcano.sh/v1beta1/podgroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/scheduling_volcano_sh/v1beta1/queues.rs b/kube-custom-resources-rs/src/scheduling_volcano_sh/v1beta1/queues.rs index d6a8d9ba2..a1551bdbd 100644 --- a/kube-custom-resources-rs/src/scheduling_volcano_sh/v1beta1/queues.rs +++ b/kube-custom-resources-rs/src/scheduling_volcano_sh/v1beta1/queues.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/volcano-sh/volcano/scheduling.volcano.sh/v1beta1/queues.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/volcano-sh/volcano/scheduling.volcano.sh/v1beta1/queues.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/schemas_schemahero_io/v1alpha4/datatypes.rs b/kube-custom-resources-rs/src/schemas_schemahero_io/v1alpha4/datatypes.rs index c82cb21ac..9e86ccb86 100644 --- a/kube-custom-resources-rs/src/schemas_schemahero_io/v1alpha4/datatypes.rs +++ b/kube-custom-resources-rs/src/schemas_schemahero_io/v1alpha4/datatypes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/schemahero/schemahero/schemas.schemahero.io/v1alpha4/datatypes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/schemahero/schemahero/schemas.schemahero.io/v1alpha4/datatypes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/schemas_schemahero_io/v1alpha4/migrations.rs b/kube-custom-resources-rs/src/schemas_schemahero_io/v1alpha4/migrations.rs index 081ecb3dc..2b68bf147 100644 --- a/kube-custom-resources-rs/src/schemas_schemahero_io/v1alpha4/migrations.rs +++ b/kube-custom-resources-rs/src/schemas_schemahero_io/v1alpha4/migrations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/schemahero/schemahero/schemas.schemahero.io/v1alpha4/migrations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/schemahero/schemahero/schemas.schemahero.io/v1alpha4/migrations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/schemas_schemahero_io/v1alpha4/tables.rs b/kube-custom-resources-rs/src/schemas_schemahero_io/v1alpha4/tables.rs index ad08663c3..7243cd009 100644 --- a/kube-custom-resources-rs/src/schemas_schemahero_io/v1alpha4/tables.rs +++ b/kube-custom-resources-rs/src/schemas_schemahero_io/v1alpha4/tables.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/schemahero/schemahero/schemas.schemahero.io/v1alpha4/tables.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/schemahero/schemahero/schemas.schemahero.io/v1alpha4/tables.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/scylla_scylladb_com/v1/scyllaclusters.rs b/kube-custom-resources-rs/src/scylla_scylladb_com/v1/scyllaclusters.rs index 4022fc823..320903e4e 100644 --- a/kube-custom-resources-rs/src/scylla_scylladb_com/v1/scyllaclusters.rs +++ b/kube-custom-resources-rs/src/scylla_scylladb_com/v1/scyllaclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/scylladb/scylla-operator/scylla.scylladb.com/v1/scyllaclusters.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/scylladb/scylla-operator/scylla.scylladb.com/v1/scyllaclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// spec defines the desired state of this scylla cluster. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "scylla.scylladb.com", version = "v1", kind = "ScyllaCluster", plural = "scyllaclusters")] #[kube(namespaced)] #[kube(status = "ScyllaClusterStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ScyllaClusterSpec { /// agentRepository is the repository to pull the agent image from. @@ -95,7 +96,7 @@ pub struct ScyllaClusterSpec { } /// alternator designates this cluster an Alternator cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterAlternator { /// insecureDisableAuthorization disables Alternator authorization. If not specified, the authorization is enabled. For backwards compatibility the authorization is disabled when this field is not specified and a manual port is used. #[serde(default, skip_serializing_if = "Option::is_none", rename = "insecureDisableAuthorization")] @@ -115,7 +116,7 @@ pub struct ScyllaClusterAlternator { } /// servingCertificate references a TLS certificate for serving secure traffic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterAlternatorServingCertificate { /// operatorManagedOptions specifies options for certificates manged by the operator. #[serde(default, skip_serializing_if = "Option::is_none", rename = "operatorManagedOptions")] @@ -129,7 +130,7 @@ pub struct ScyllaClusterAlternatorServingCertificate { } /// operatorManagedOptions specifies options for certificates manged by the operator. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterAlternatorServingCertificateOperatorManagedOptions { /// additionalDNSNames represents external DNS names that the certificates should be signed for. #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalDNSNames")] @@ -147,14 +148,14 @@ pub enum ScyllaClusterAlternatorServingCertificateType { } /// userManagedOptions specifies options for certificates manged by users. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterAlternatorServingCertificateUserManagedOptions { /// secretName references a kubernetes.io/tls type secret containing the TLS cert and key. #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretName")] pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterBackups { /// cron specifies the task schedule as a cron expression. It supports an extended syntax including @monthly, @weekly, @daily, @midnight, @hourly, @every X[h|m|s]. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -198,7 +199,7 @@ pub struct ScyllaClusterBackups { } /// datacenter holds a specification of a datacenter. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenter { /// name is the name of the scylla datacenter. Used in the cassandra-rackdc.properties file. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -209,7 +210,7 @@ pub struct ScyllaClusterDatacenter { } /// RackSpec is the desired state for a Scylla Rack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacks { /// agentResources specify the resources for the Agent container. #[serde(default, skip_serializing_if = "Option::is_none", rename = "agentResources")] @@ -247,7 +248,7 @@ pub struct ScyllaClusterDatacenterRacks { } /// agentResources specify the resources for the Agent container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksAgentResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -263,14 +264,14 @@ pub struct ScyllaClusterDatacenterRacksAgentResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksAgentResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksAgentVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -292,7 +293,7 @@ pub struct ScyllaClusterDatacenterRacksAgentVolumeMounts { } /// placement describes restrictions for the nodes Scylla is scheduled on. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacement { /// nodeAffinity describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -309,7 +310,7 @@ pub struct ScyllaClusterDatacenterRacksPlacement { } /// nodeAffinity describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -320,7 +321,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: ScyllaClusterDatacenterRacksPlacementNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -329,7 +330,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementNodeAffinityPreferredDuringSched } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -340,7 +341,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementNodeAffinityPreferredDuringSched } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -352,7 +353,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementNodeAffinityPreferredDuringSched } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -364,7 +365,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementNodeAffinityPreferredDuringSched } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -372,7 +373,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementNodeAffinityRequiredDuringSchedu } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -383,7 +384,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementNodeAffinityRequiredDuringSchedu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -395,7 +396,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementNodeAffinityRequiredDuringSchedu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -407,7 +408,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementNodeAffinityRequiredDuringSchedu } /// podAffinity describes pod affinity scheduling rules. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -418,7 +419,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -428,7 +429,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementPodAffinityPreferredDuringSchedu } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -451,7 +452,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementPodAffinityPreferredDuringSchedu } /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -462,7 +463,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementPodAffinityPreferredDuringSchedu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -474,7 +475,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementPodAffinityPreferredDuringSchedu } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -485,7 +486,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementPodAffinityPreferredDuringSchedu } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -497,7 +498,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementPodAffinityPreferredDuringSchedu } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -520,7 +521,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementPodAffinityRequiredDuringSchedul } /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -531,7 +532,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementPodAffinityRequiredDuringSchedul } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -543,7 +544,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementPodAffinityRequiredDuringSchedul } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -554,7 +555,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementPodAffinityRequiredDuringSchedul } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -566,7 +567,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementPodAffinityRequiredDuringSchedul } /// podAntiAffinity describes pod anti-affinity scheduling rules. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -577,7 +578,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -587,7 +588,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementPodAntiAffinityPreferredDuringSc } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -610,7 +611,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementPodAntiAffinityPreferredDuringSc } /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -621,7 +622,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementPodAntiAffinityPreferredDuringSc } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -633,7 +634,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementPodAntiAffinityPreferredDuringSc } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -644,7 +645,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementPodAntiAffinityPreferredDuringSc } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -656,7 +657,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementPodAntiAffinityPreferredDuringSc } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -679,7 +680,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementPodAntiAffinityRequiredDuringSch } /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -690,7 +691,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementPodAntiAffinityRequiredDuringSch } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -702,7 +703,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementPodAntiAffinityRequiredDuringSch } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -713,7 +714,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementPodAntiAffinityRequiredDuringSch } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -725,7 +726,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementPodAntiAffinityRequiredDuringSch } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksPlacementTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -745,7 +746,7 @@ pub struct ScyllaClusterDatacenterRacksPlacementTolerations { } /// resources the Scylla container will use. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -761,14 +762,14 @@ pub struct ScyllaClusterDatacenterRacksResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// storage describes the underlying storage that Scylla will consume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksStorage { /// capacity describes the requested size of each persistent volume. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -782,7 +783,7 @@ pub struct ScyllaClusterDatacenterRacksStorage { } /// metadata controls shared metadata for the volume claim for this rack. At this point, the values are applied only for the initial claim and are not reconciled during its lifetime. Note that this may get fixed in the future and this behaviour shouldn't be relied on in any way. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksStorageMetadata { /// annotations is a custom key value map that gets merged with managed object annotations. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -793,7 +794,7 @@ pub struct ScyllaClusterDatacenterRacksStorageMetadata { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -815,7 +816,7 @@ pub struct ScyllaClusterDatacenterRacksVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -913,7 +914,7 @@ pub struct ScyllaClusterDatacenterRacksVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -930,7 +931,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -953,7 +954,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -967,7 +968,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -989,7 +990,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -997,7 +998,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1014,7 +1015,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1022,7 +1023,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1039,7 +1040,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -1051,7 +1052,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -1070,7 +1071,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1078,7 +1079,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1089,7 +1090,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -1105,7 +1106,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1116,7 +1117,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1129,7 +1130,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesDownwardApiItemsResourceFieldRef { } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1144,7 +1145,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -1158,7 +1159,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1168,12 +1169,12 @@ pub struct ScyllaClusterDatacenterRacksVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -1205,7 +1206,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesEphemeralVolumeClaimTemplateSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1217,7 +1218,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesEphemeralVolumeClaimTemplateSpecDa } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1232,7 +1233,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesEphemeralVolumeClaimTemplateSpecDa } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesEphemeralVolumeClaimTemplateSpecResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1243,7 +1244,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesEphemeralVolumeClaimTemplateSpecRe } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1254,7 +1255,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesEphemeralVolumeClaimTemplateSpecSe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1266,7 +1267,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesEphemeralVolumeClaimTemplateSpecSe } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1286,7 +1287,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -1305,7 +1306,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1313,7 +1314,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -1324,7 +1325,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1341,7 +1342,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1354,7 +1355,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -1366,7 +1367,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -1376,7 +1377,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -1412,7 +1413,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1420,7 +1421,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -1432,7 +1433,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -1443,7 +1444,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1454,7 +1455,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1468,7 +1469,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1479,7 +1480,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesProjectedSources { /// ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field of ClusterTrustBundle objects in an auto-updating file. /// Alpha, gated by the ClusterTrustBundleProjection feature gate. @@ -1505,7 +1506,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesProjectedSources { /// Alpha, gated by the ClusterTrustBundleProjection feature gate. /// ClusterTrustBundle objects can either be selected by name, or by the combination of signer name and a label selector. /// Kubelet performs aggressive normalization of the PEM contents written into the pod filesystem. Esoteric PEM features such as inter-block comments and block headers are stripped. Certificates are deduplicated. The ordering of certificates within the file is arbitrary, and Kubelet may change the order over time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesProjectedSourcesClusterTrustBundle { /// Select all ClusterTrustBundles that match this label selector. Only has effect if signerName is set. Mutually-exclusive with name. If unset, interpreted as "match nothing". If set but empty, interpreted as "match everything". #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -1524,7 +1525,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesProjectedSourcesClusterTrustBundle } /// Select all ClusterTrustBundles that match this label selector. Only has effect if signerName is set. Mutually-exclusive with name. If unset, interpreted as "match nothing". If set but empty, interpreted as "match everything". -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesProjectedSourcesClusterTrustBundleLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1535,7 +1536,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesProjectedSourcesClusterTrustBundle } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesProjectedSourcesClusterTrustBundleLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1547,7 +1548,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesProjectedSourcesClusterTrustBundle } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1561,7 +1562,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -1573,7 +1574,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1581,7 +1582,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -1597,7 +1598,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1608,7 +1609,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesProjectedSourcesDownwardApiItemsFi } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1621,7 +1622,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesProjectedSourcesDownwardApiItemsRe } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1635,7 +1636,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -1647,7 +1648,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1660,7 +1661,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesProjectedSourcesServiceAccountToke } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1681,7 +1682,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1708,7 +1709,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1716,7 +1717,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1749,7 +1750,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1757,7 +1758,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1774,7 +1775,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesSecretItems { /// key is the key to project. pub key: String, @@ -1786,7 +1787,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1806,7 +1807,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1814,7 +1815,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterDatacenterRacksVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1831,7 +1832,7 @@ pub struct ScyllaClusterDatacenterRacksVolumesVsphereVolume { } /// exposeOptions specifies options for exposing ScyllaCluster services. EXPERIMENTAL. Do not rely on any particular behaviour controlled by this field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterExposeOptions { /// BroadcastOptions defines how ScyllaDB node publishes its IP address to other nodes and clients. #[serde(default, skip_serializing_if = "Option::is_none", rename = "broadcastOptions")] @@ -1845,7 +1846,7 @@ pub struct ScyllaClusterExposeOptions { } /// BroadcastOptions defines how ScyllaDB node publishes its IP address to other nodes and clients. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterExposeOptionsBroadcastOptions { /// clients specifies options related to the address that is broadcasted for communication with clients. This field controls the `broadcast_rpc_address` value in ScyllaDB config. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1856,7 +1857,7 @@ pub struct ScyllaClusterExposeOptionsBroadcastOptions { } /// clients specifies options related to the address that is broadcasted for communication with clients. This field controls the `broadcast_rpc_address` value in ScyllaDB config. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterExposeOptionsBroadcastOptionsClients { /// podIP holds options related to Pod IP address. #[serde(default, skip_serializing_if = "Option::is_none", rename = "podIP")] @@ -1867,7 +1868,7 @@ pub struct ScyllaClusterExposeOptionsBroadcastOptionsClients { } /// podIP holds options related to Pod IP address. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterExposeOptionsBroadcastOptionsClientsPodIp { /// sourceType specifies source of the Pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1875,7 +1876,7 @@ pub struct ScyllaClusterExposeOptionsBroadcastOptionsClientsPodIp { } /// nodes specifies options related to the address that is broadcasted for communication with other nodes. This field controls the `broadcast_address` value in ScyllaDB config. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterExposeOptionsBroadcastOptionsNodes { /// podIP holds options related to Pod IP address. #[serde(default, skip_serializing_if = "Option::is_none", rename = "podIP")] @@ -1886,7 +1887,7 @@ pub struct ScyllaClusterExposeOptionsBroadcastOptionsNodes { } /// podIP holds options related to Pod IP address. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterExposeOptionsBroadcastOptionsNodesPodIp { /// sourceType specifies source of the Pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1894,7 +1895,7 @@ pub struct ScyllaClusterExposeOptionsBroadcastOptionsNodesPodIp { } /// cql specifies expose options for CQL SSL backend. EXPERIMENTAL. Do not rely on any particular behaviour controlled by this field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterExposeOptionsCql { /// ingress is an Ingress configuration options. EXPERIMENTAL. Do not rely on any particular behaviour controlled by this field. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1902,7 +1903,7 @@ pub struct ScyllaClusterExposeOptionsCql { } /// ingress is an Ingress configuration options. EXPERIMENTAL. Do not rely on any particular behaviour controlled by this field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterExposeOptionsCqlIngress { /// annotations is a custom key value map that gets merged with managed object annotations. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1919,7 +1920,7 @@ pub struct ScyllaClusterExposeOptionsCqlIngress { } /// nodeService controls properties of Service dedicated for each ScyllaCluster node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterExposeOptionsNodeService { /// allocateLoadBalancerNodePorts controls value of service.spec.allocateLoadBalancerNodePorts of each node Service. Check Kubernetes corev1.Service documentation about semantic of this field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] @@ -1945,7 +1946,7 @@ pub struct ScyllaClusterExposeOptionsNodeService { } /// genericUpgrade allows to configure behavior of generic upgrade logic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterGenericUpgrade { /// failureStrategy specifies which logic is executed when upgrade failure happens. Currently only Retry is supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "failureStrategy")] @@ -1956,7 +1957,7 @@ pub struct ScyllaClusterGenericUpgrade { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterImagePullSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1964,7 +1965,7 @@ pub struct ScyllaClusterImagePullSecrets { } /// network holds the networking config. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterNetwork { /// dnsPolicy defines how a pod's DNS will be configured. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dnsPolicy")] @@ -1975,7 +1976,7 @@ pub struct ScyllaClusterNetwork { } /// podMetadata controls shared metadata for all pods created based on this spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterPodMetadata { /// annotations is a custom key value map that gets merged with managed object annotations. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1986,14 +1987,14 @@ pub struct ScyllaClusterPodMetadata { } /// PodReadinessGate contains the reference to a pod condition -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterReadinessGates { /// ConditionType refers to a condition in the pod's condition list with matching type. #[serde(rename = "conditionType")] pub condition_type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterRepairs { /// cron specifies the task schedule as a cron expression. It supports an extended syntax including @monthly, @weekly, @daily, @midnight, @hourly, @every X[h|m|s]. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2037,7 +2038,7 @@ pub struct ScyllaClusterRepairs { } /// status is the current status of this scylla cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterStatus { /// availableMembers is the number of ScyllaDB members in all racks that are available. #[serde(default, skip_serializing_if = "Option::is_none", rename = "availableMembers")] @@ -2074,7 +2075,7 @@ pub struct ScyllaClusterStatus { pub upgrade: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterStatusBackups { /// cron reflects the task schedule as a cron expression. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2124,7 +2125,7 @@ pub struct ScyllaClusterStatusBackups { } /// racks reflect status of cluster racks. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterStatusRacks { /// availableMembers is the number of available members in the Rack. #[serde(default, skip_serializing_if = "Option::is_none", rename = "availableMembers")] @@ -2153,7 +2154,7 @@ pub struct ScyllaClusterStatusRacks { } /// RackCondition is an observation about the state of a rack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterStatusRacksConditions { /// status represent condition status. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2163,7 +2164,7 @@ pub struct ScyllaClusterStatusRacksConditions { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterStatusRepairs { /// cron reflects the task schedule as a cron expression. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2213,7 +2214,7 @@ pub struct ScyllaClusterStatusRepairs { } /// upgrade reflects state of ongoing upgrade procedure. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScyllaClusterStatusUpgrade { /// currentNode node under upgrade. DEPRECATED. #[serde(default, skip_serializing_if = "Option::is_none", rename = "currentNode")] diff --git a/kube-custom-resources-rs/src/scylla_scylladb_com/v1alpha1/nodeconfigs.rs b/kube-custom-resources-rs/src/scylla_scylladb_com/v1alpha1/nodeconfigs.rs index cadbff10a..909bc4d90 100644 --- a/kube-custom-resources-rs/src/scylla_scylladb_com/v1alpha1/nodeconfigs.rs +++ b/kube-custom-resources-rs/src/scylla_scylladb_com/v1alpha1/nodeconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/scylladb/scylla-operator/scylla.scylladb.com/v1alpha1/nodeconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/scylladb/scylla-operator/scylla.scylladb.com/v1alpha1/nodeconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/scylla_scylladb_com/v1alpha1/scyllaoperatorconfigs.rs b/kube-custom-resources-rs/src/scylla_scylladb_com/v1alpha1/scyllaoperatorconfigs.rs index 6769bc9da..294ac3005 100644 --- a/kube-custom-resources-rs/src/scylla_scylladb_com/v1alpha1/scyllaoperatorconfigs.rs +++ b/kube-custom-resources-rs/src/scylla_scylladb_com/v1alpha1/scyllaoperatorconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/scylladb/scylla-operator/scylla.scylladb.com/v1alpha1/scyllaoperatorconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/scylladb/scylla-operator/scylla.scylladb.com/v1alpha1/scyllaoperatorconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/secretgenerator_mittwald_de/v1alpha1/basicauths.rs b/kube-custom-resources-rs/src/secretgenerator_mittwald_de/v1alpha1/basicauths.rs index 5f3449bbf..c1723a464 100644 --- a/kube-custom-resources-rs/src/secretgenerator_mittwald_de/v1alpha1/basicauths.rs +++ b/kube-custom-resources-rs/src/secretgenerator_mittwald_de/v1alpha1/basicauths.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/mittwald/kubernetes-secret-generator/secretgenerator.mittwald.de/v1alpha1/basicauths.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/mittwald/kubernetes-secret-generator/secretgenerator.mittwald.de/v1alpha1/basicauths.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/secretgenerator_mittwald_de/v1alpha1/sshkeypairs.rs b/kube-custom-resources-rs/src/secretgenerator_mittwald_de/v1alpha1/sshkeypairs.rs index e9aad5a12..9381020a3 100644 --- a/kube-custom-resources-rs/src/secretgenerator_mittwald_de/v1alpha1/sshkeypairs.rs +++ b/kube-custom-resources-rs/src/secretgenerator_mittwald_de/v1alpha1/sshkeypairs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/mittwald/kubernetes-secret-generator/secretgenerator.mittwald.de/v1alpha1/sshkeypairs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/mittwald/kubernetes-secret-generator/secretgenerator.mittwald.de/v1alpha1/sshkeypairs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/secretgenerator_mittwald_de/v1alpha1/stringsecrets.rs b/kube-custom-resources-rs/src/secretgenerator_mittwald_de/v1alpha1/stringsecrets.rs index 26364dcdb..5c09f9982 100644 --- a/kube-custom-resources-rs/src/secretgenerator_mittwald_de/v1alpha1/stringsecrets.rs +++ b/kube-custom-resources-rs/src/secretgenerator_mittwald_de/v1alpha1/stringsecrets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/mittwald/kubernetes-secret-generator/secretgenerator.mittwald.de/v1alpha1/stringsecrets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/mittwald/kubernetes-secret-generator/secretgenerator.mittwald.de/v1alpha1/stringsecrets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/secrets_crossplane_io/v1alpha1/storeconfigs.rs b/kube-custom-resources-rs/src/secrets_crossplane_io/v1alpha1/storeconfigs.rs index 282c0b111..128393b78 100644 --- a/kube-custom-resources-rs/src/secrets_crossplane_io/v1alpha1/storeconfigs.rs +++ b/kube-custom-resources-rs/src/secrets_crossplane_io/v1alpha1/storeconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/crossplane/crossplane/secrets.crossplane.io/v1alpha1/storeconfigs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/crossplane/crossplane/secrets.crossplane.io/v1alpha1/storeconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,9 +10,10 @@ mod prelude { use self::prelude::*; /// A StoreConfigSpec defines the desired state of a StoreConfig. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "secrets.crossplane.io", version = "v1alpha1", kind = "StoreConfig", plural = "storeconfigs")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct StoreConfigSpec { /// DefaultScope used for scoping secrets for "cluster-scoped" resources. @@ -67,7 +68,7 @@ pub struct StoreConfigKubernetesAuth { /// Env is a reference to an environment variable that contains credentials /// that must be used to connect to the provider. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct StoreConfigKubernetesAuthEnv { /// Name is the name of an environment variable. pub name: String, @@ -75,7 +76,7 @@ pub struct StoreConfigKubernetesAuthEnv { /// Fs is a reference to a filesystem location that contains credentials that /// must be used to connect to the provider. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct StoreConfigKubernetesAuthFs { /// Path is a filesystem path. pub path: String, @@ -83,7 +84,7 @@ pub struct StoreConfigKubernetesAuthFs { /// A SecretRef is a reference to a secret key that contains the credentials /// that must be used to connect to the provider. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct StoreConfigKubernetesAuthSecretRef { /// The key to select. pub key: String, @@ -103,7 +104,7 @@ pub enum StoreConfigKubernetesAuthSource { } /// Plugin configures External secret store as a plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct StoreConfigPlugin { /// ConfigRef contains store config reference info. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configRef")] @@ -114,7 +115,7 @@ pub struct StoreConfigPlugin { } /// ConfigRef contains store config reference info. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct StoreConfigPluginConfigRef { /// APIVersion of the referenced config. #[serde(rename = "apiVersion")] diff --git a/kube-custom-resources-rs/src/secrets_doppler_com/v1alpha1/dopplersecrets.rs b/kube-custom-resources-rs/src/secrets_doppler_com/v1alpha1/dopplersecrets.rs index 6ae4386ce..aa0443af3 100644 --- a/kube-custom-resources-rs/src/secrets_doppler_com/v1alpha1/dopplersecrets.rs +++ b/kube-custom-resources-rs/src/secrets_doppler_com/v1alpha1/dopplersecrets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/DopplerHQ/kubernetes-operator/secrets.doppler.com/v1alpha1/dopplersecrets.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/DopplerHQ/kubernetes-operator/secrets.doppler.com/v1alpha1/dopplersecrets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// DopplerSecretSpec defines the desired state of DopplerSecret -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "secrets.doppler.com", version = "v1alpha1", kind = "DopplerSecret", plural = "dopplersecrets")] #[kube(namespaced)] #[kube(status = "DopplerSecretStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct DopplerSecretSpec { /// The Doppler config @@ -70,7 +71,7 @@ pub enum DopplerSecretFormat { } /// The Kubernetes secret where the operator will store and sync the fetched secrets -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DopplerSecretManagedSecret { /// The name of the Secret resource pub name: String, @@ -120,7 +121,7 @@ pub enum DopplerSecretNameTransformer { } /// A list of processors to transform the data during ingestion -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DopplerSecretProcessors { /// The mapped name of the field in the managed secret, defaults to the original Doppler secret name for Opaque Kubernetes secrets. If omitted for other types, the value is not copied to the managed secret. #[serde(default, skip_serializing_if = "Option::is_none", rename = "asName")] @@ -140,7 +141,7 @@ pub enum DopplerSecretProcessorsType { } /// The Kubernetes secret containing the Doppler service token -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DopplerSecretTokenSecret { /// The name of the Secret resource pub name: String, @@ -150,7 +151,7 @@ pub struct DopplerSecretTokenSecret { } /// DopplerSecretStatus defines the observed state of DopplerSecret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DopplerSecretStatus { pub conditions: Vec, } diff --git a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/hcpauths.rs b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/hcpauths.rs index 0f27393cc..b3bda77a7 100644 --- a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/hcpauths.rs +++ b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/hcpauths.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/hcpauths.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/hcpauths.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/hcpvaultsecretsapps.rs b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/hcpvaultsecretsapps.rs index 84feb199c..4ae44ae72 100644 --- a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/hcpvaultsecretsapps.rs +++ b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/hcpvaultsecretsapps.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/hcpvaultsecretsapps.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/hcpvaultsecretsapps.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// HCPVaultSecretsAppSpec defines the desired state of HCPVaultSecretsApp -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "secrets.hashicorp.com", version = "v1beta1", kind = "HCPVaultSecretsApp", plural = "hcpvaultsecretsapps")] #[kube(namespaced)] #[kube(status = "HCPVaultSecretsAppStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct HCPVaultSecretsAppSpec { /// AppName of the Vault Secrets Application that is to be synced. @@ -46,7 +47,7 @@ pub struct HCPVaultSecretsAppSpec { /// Destination provides configuration necessary for syncing the HCP Vault /// Application secrets to Kubernetes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HCPVaultSecretsAppDestination { /// Annotations to apply to the Secret. Requires Create to be set to true. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -76,7 +77,7 @@ pub struct HCPVaultSecretsAppDestination { /// Transformation provides configuration for transforming the secret data before /// it is stored in the Destination. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HCPVaultSecretsAppDestinationTransformation { /// ExcludeRaw data from the destination Secret. Exclusion policy can be set /// globally by including 'exclude-raw` in the '--global-transformation-options' @@ -111,7 +112,7 @@ pub struct HCPVaultSecretsAppDestinationTransformation { /// Templates maps a template name to its Template. Templates are always included /// in the rendered K8s Secret, and take precedence over templates defined in a /// SecretTransformation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HCPVaultSecretsAppDestinationTransformationTemplates { /// Name of the Template #[serde(default, skip_serializing_if = "Option::is_none")] @@ -126,7 +127,7 @@ pub struct HCPVaultSecretsAppDestinationTransformationTemplates { /// TransformationRef contains the configuration for accessing templates from an /// SecretTransformation resource. TransformationRefs can be shared across all /// syncable secret custom resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HCPVaultSecretsAppDestinationTransformationTransformationRefs { /// IgnoreExcludes controls whether to use the SecretTransformation's Excludes /// data key filters. @@ -149,7 +150,7 @@ pub struct HCPVaultSecretsAppDestinationTransformationTransformationRefs { /// TemplateRef points to templating text that is stored in a /// SecretTransformation custom resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HCPVaultSecretsAppDestinationTransformationTransformationRefsTemplateRefs { /// KeyOverride to the rendered template in the Destination secret. If Key is /// empty, then the Key from reference spec will be used. Set this to override the @@ -197,7 +198,7 @@ pub enum HCPVaultSecretsAppRolloutRestartTargetsKind { } /// HCPVaultSecretsAppStatus defines the observed state of HCPVaultSecretsApp -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HCPVaultSecretsAppStatus { /// LastGeneration is the Generation of the last reconciled resource. #[serde(rename = "lastGeneration")] diff --git a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultauths.rs b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultauths.rs index 7e4b402a0..191ee93ea 100644 --- a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultauths.rs +++ b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultauths.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultauths.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultauths.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -74,7 +74,7 @@ pub struct VaultAuthSpec { } /// AppRole specific auth configuration, requires that the Method be set to `appRole`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultAuthAppRole { /// RoleID of the AppRole Role to use for authenticating to Vault. #[serde(rename = "roleId")] @@ -87,7 +87,7 @@ pub struct VaultAuthAppRole { } /// AWS specific auth configuration, requires that Method be set to `aws`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultAuthAws { /// The Vault header value to include in the STS signing request #[serde(default, skip_serializing_if = "Option::is_none", rename = "headerValue")] @@ -120,7 +120,7 @@ pub struct VaultAuthAws { } /// GCP specific auth configuration, requires that Method be set to `gcp`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultAuthGcp { /// GKE cluster name. Defaults to the cluster-name returned from the operator /// pod's local metadata server. @@ -145,7 +145,7 @@ pub struct VaultAuthGcp { } /// JWT specific auth configuration, requires that the Method be set to `jwt`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultAuthJwt { /// TokenAudiences to include in the ServiceAccount token. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -167,7 +167,7 @@ pub struct VaultAuthJwt { } /// Kubernetes specific auth configuration, requires that the Method be set to `kubernetes`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultAuthKubernetes { /// TokenAudiences to include in the ServiceAccount token. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -204,7 +204,7 @@ pub enum VaultAuthMethod { /// --client-cache-persistence-model=direct-encrypted. Typically, there should only ever /// be one VaultAuth configured with StorageEncryption in the Cluster, and it should have /// the label: cacheStorageEncryption=true -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultAuthStorageEncryption { /// KeyName to use for encrypt/decrypt operations via Vault Transit. #[serde(rename = "keyName")] @@ -214,7 +214,7 @@ pub struct VaultAuthStorageEncryption { } /// VaultAuthStatus defines the observed state of VaultAuth -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultAuthStatus { pub error: String, /// Valid auth mechanism. diff --git a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultconnections.rs b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultconnections.rs index 066e9dbd7..2283daec6 100644 --- a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultconnections.rs +++ b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultconnections.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultconnections.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultconnections.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultdynamicsecrets.rs b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultdynamicsecrets.rs index 095ce29a5..70823dc10 100644 --- a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultdynamicsecrets.rs +++ b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultdynamicsecrets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultdynamicsecrets.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultdynamicsecrets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// VaultDynamicSecretSpec defines the desired state of VaultDynamicSecret -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "secrets.hashicorp.com", version = "v1beta1", kind = "VaultDynamicSecret", plural = "vaultdynamicsecrets")] #[kube(namespaced)] #[kube(status = "VaultDynamicSecretStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct VaultDynamicSecretSpec { /// AllowStaticCreds should be set when syncing credentials that are periodically @@ -83,7 +84,7 @@ pub struct VaultDynamicSecretSpec { } /// Destination provides configuration necessary for syncing the Vault secret to Kubernetes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultDynamicSecretDestination { /// Annotations to apply to the Secret. Requires Create to be set to true. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -113,7 +114,7 @@ pub struct VaultDynamicSecretDestination { /// Transformation provides configuration for transforming the secret data before /// it is stored in the Destination. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultDynamicSecretDestinationTransformation { /// ExcludeRaw data from the destination Secret. Exclusion policy can be set /// globally by including 'exclude-raw` in the '--global-transformation-options' @@ -148,7 +149,7 @@ pub struct VaultDynamicSecretDestinationTransformation { /// Templates maps a template name to its Template. Templates are always included /// in the rendered K8s Secret, and take precedence over templates defined in a /// SecretTransformation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultDynamicSecretDestinationTransformationTemplates { /// Name of the Template #[serde(default, skip_serializing_if = "Option::is_none")] @@ -163,7 +164,7 @@ pub struct VaultDynamicSecretDestinationTransformationTemplates { /// TransformationRef contains the configuration for accessing templates from an /// SecretTransformation resource. TransformationRefs can be shared across all /// syncable secret custom resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultDynamicSecretDestinationTransformationTransformationRefs { /// IgnoreExcludes controls whether to use the SecretTransformation's Excludes /// data key filters. @@ -186,7 +187,7 @@ pub struct VaultDynamicSecretDestinationTransformationTransformationRefs { /// TemplateRef points to templating text that is stored in a /// SecretTransformation custom resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultDynamicSecretDestinationTransformationTransformationRefsTemplateRefs { /// KeyOverride to the rendered template in the Destination secret. If Key is /// empty, then the Key from reference spec will be used. Set this to override the @@ -245,7 +246,7 @@ pub enum VaultDynamicSecretRolloutRestartTargetsKind { } /// VaultDynamicSecretStatus defines the observed state of VaultDynamicSecret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultDynamicSecretStatus { /// LastGeneration is the Generation of the last reconciled resource. #[serde(rename = "lastGeneration")] @@ -282,7 +283,7 @@ pub struct VaultDynamicSecretStatus { } /// SecretLease for the Vault secret. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultDynamicSecretStatusSecretLease { /// LeaseDuration of the Vault secret. pub duration: i64, @@ -296,7 +297,7 @@ pub struct VaultDynamicSecretStatusSecretLease { } /// StaticCredsMetaData contains the static creds response meta-data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultDynamicSecretStatusStaticCredsMetaData { /// LastVaultRotation represents the last time Vault rotated the password #[serde(rename = "lastVaultRotation")] @@ -318,7 +319,7 @@ pub struct VaultDynamicSecretStatusStaticCredsMetaData { /// VaultClientMeta contains the status of the Vault client and is used during /// resource reconciliation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultDynamicSecretStatusVaultClientMeta { /// CacheKey is the unique key used to identify the client cache. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cacheKey")] diff --git a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultpkisecrets.rs b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultpkisecrets.rs index 395241533..a95f70db9 100644 --- a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultpkisecrets.rs +++ b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultpkisecrets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultpkisecrets.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultpkisecrets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// VaultPKISecretSpec defines the desired state of VaultPKISecret -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "secrets.hashicorp.com", version = "v1beta1", kind = "VaultPKISecret", plural = "vaultpkisecrets")] #[kube(namespaced)] #[kube(status = "VaultPKISecretStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct VaultPKISecretSpec { /// AltNames to include in the request @@ -123,7 +124,7 @@ pub struct VaultPKISecretSpec { /// set to "certificate" + "ca_chain" from the Vault response ("issuing_ca" /// is used when "ca_chain" is empty). The "remove_roots_from_chain=true" /// option is used with Vault to exclude the root CA from the Vault response. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultPKISecretDestination { /// Annotations to apply to the Secret. Requires Create to be set to true. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -153,7 +154,7 @@ pub struct VaultPKISecretDestination { /// Transformation provides configuration for transforming the secret data before /// it is stored in the Destination. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultPKISecretDestinationTransformation { /// ExcludeRaw data from the destination Secret. Exclusion policy can be set /// globally by including 'exclude-raw` in the '--global-transformation-options' @@ -188,7 +189,7 @@ pub struct VaultPKISecretDestinationTransformation { /// Templates maps a template name to its Template. Templates are always included /// in the rendered K8s Secret, and take precedence over templates defined in a /// SecretTransformation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultPKISecretDestinationTransformationTemplates { /// Name of the Template #[serde(default, skip_serializing_if = "Option::is_none")] @@ -203,7 +204,7 @@ pub struct VaultPKISecretDestinationTransformationTemplates { /// TransformationRef contains the configuration for accessing templates from an /// SecretTransformation resource. TransformationRefs can be shared across all /// syncable secret custom resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultPKISecretDestinationTransformationTransformationRefs { /// IgnoreExcludes controls whether to use the SecretTransformation's Excludes /// data key filters. @@ -226,7 +227,7 @@ pub struct VaultPKISecretDestinationTransformationTransformationRefs { /// TemplateRef points to templating text that is stored in a /// SecretTransformation custom resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultPKISecretDestinationTransformationTransformationRefsTemplateRefs { /// KeyOverride to the rendered template in the Destination secret. If Key is /// empty, then the Key from reference spec will be used. Set this to override the @@ -274,7 +275,7 @@ pub enum VaultPKISecretRolloutRestartTargetsKind { } /// VaultPKISecretStatus defines the observed state of VaultPKISecret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultPKISecretStatus { pub error: String, #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultstaticsecrets.rs b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultstaticsecrets.rs index 75fd31656..270311873 100644 --- a/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultstaticsecrets.rs +++ b/kube-custom-resources-rs/src/secrets_hashicorp_com/v1beta1/vaultstaticsecrets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultstaticsecrets.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/hashicorp/vault-secrets-operator/secrets.hashicorp.com/v1beta1/vaultstaticsecrets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -63,7 +63,7 @@ pub struct VaultStaticSecretSpec { } /// Destination provides configuration necessary for syncing the Vault secret to Kubernetes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultStaticSecretDestination { /// Annotations to apply to the Secret. Requires Create to be set to true. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -93,7 +93,7 @@ pub struct VaultStaticSecretDestination { /// Transformation provides configuration for transforming the secret data before /// it is stored in the Destination. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultStaticSecretDestinationTransformation { /// ExcludeRaw data from the destination Secret. Exclusion policy can be set /// globally by including 'exclude-raw` in the '--global-transformation-options' @@ -128,7 +128,7 @@ pub struct VaultStaticSecretDestinationTransformation { /// Templates maps a template name to its Template. Templates are always included /// in the rendered K8s Secret, and take precedence over templates defined in a /// SecretTransformation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultStaticSecretDestinationTransformationTemplates { /// Name of the Template #[serde(default, skip_serializing_if = "Option::is_none")] @@ -143,7 +143,7 @@ pub struct VaultStaticSecretDestinationTransformationTemplates { /// TransformationRef contains the configuration for accessing templates from an /// SecretTransformation resource. TransformationRefs can be shared across all /// syncable secret custom resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultStaticSecretDestinationTransformationTransformationRefs { /// IgnoreExcludes controls whether to use the SecretTransformation's Excludes /// data key filters. @@ -166,7 +166,7 @@ pub struct VaultStaticSecretDestinationTransformationTransformationRefs { /// TemplateRef points to templating text that is stored in a /// SecretTransformation custom resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultStaticSecretDestinationTransformationTransformationRefsTemplateRefs { /// KeyOverride to the rendered template in the Destination secret. If Key is /// empty, then the Key from reference spec will be used. Set this to override the @@ -223,7 +223,7 @@ pub enum VaultStaticSecretType { } /// VaultStaticSecretStatus defines the observed state of VaultStaticSecret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VaultStaticSecretStatus { /// LastGeneration is the Generation of the last reconciled resource. #[serde(rename = "lastGeneration")] diff --git a/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1/secretproviderclasses.rs b/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1/secretproviderclasses.rs index a6a113ad6..44af58697 100644 --- a/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1/secretproviderclasses.rs +++ b/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1/secretproviderclasses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/secrets-store-csi-driver/secrets-store.csi.x-k8s.io/v1/secretproviderclasses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/secrets-store-csi-driver/secrets-store.csi.x-k8s.io/v1/secretproviderclasses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1/secretproviderclasspodstatuses.rs b/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1/secretproviderclasspodstatuses.rs index 0f0eb9a2f..dc3c39d05 100644 --- a/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1/secretproviderclasspodstatuses.rs +++ b/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1/secretproviderclasspodstatuses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/secrets-store-csi-driver/secrets-store.csi.x-k8s.io/v1/secretproviderclasspodstatuses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/secrets-store-csi-driver/secrets-store.csi.x-k8s.io/v1/secretproviderclasspodstatuses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1alpha1/secretproviderclasses.rs b/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1alpha1/secretproviderclasses.rs index 79fb841c5..fc51c7223 100644 --- a/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1alpha1/secretproviderclasses.rs +++ b/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1alpha1/secretproviderclasses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/secrets-store-csi-driver/secrets-store.csi.x-k8s.io/v1alpha1/secretproviderclasses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/secrets-store-csi-driver/secrets-store.csi.x-k8s.io/v1alpha1/secretproviderclasses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1alpha1/secretproviderclasspodstatuses.rs b/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1alpha1/secretproviderclasspodstatuses.rs index 3f41e8789..e9e486f83 100644 --- a/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1alpha1/secretproviderclasspodstatuses.rs +++ b/kube-custom-resources-rs/src/secrets_store_csi_x_k8s_io/v1alpha1/secretproviderclasspodstatuses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/secrets-store-csi-driver/secrets-store.csi.x-k8s.io/v1alpha1/secretproviderclasspodstatuses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/secrets-store-csi-driver/secrets-store.csi.x-k8s.io/v1alpha1/secretproviderclasspodstatuses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/secretsmanager_services_k8s_aws/v1alpha1/secrets.rs b/kube-custom-resources-rs/src/secretsmanager_services_k8s_aws/v1alpha1/secrets.rs index 425740ecc..7995e8f37 100644 --- a/kube-custom-resources-rs/src/secretsmanager_services_k8s_aws/v1alpha1/secrets.rs +++ b/kube-custom-resources-rs/src/secretsmanager_services_k8s_aws/v1alpha1/secrets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/secretsmanager-controller/secretsmanager.services.k8s.aws/v1alpha1/secrets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/secretsmanager-controller/secretsmanager.services.k8s.aws/v1alpha1/secrets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/secscan_quay_redhat_com/v1alpha1/imagemanifestvulns.rs b/kube-custom-resources-rs/src/secscan_quay_redhat_com/v1alpha1/imagemanifestvulns.rs index 1675cf952..9d712268a 100644 --- a/kube-custom-resources-rs/src/secscan_quay_redhat_com/v1alpha1/imagemanifestvulns.rs +++ b/kube-custom-resources-rs/src/secscan_quay_redhat_com/v1alpha1/imagemanifestvulns.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/quay/container-security-operator/secscan.quay.redhat.com/v1alpha1/imagemanifestvulns.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/quay/container-security-operator/secscan.quay.redhat.com/v1alpha1/imagemanifestvulns.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/security_istio_io/v1/authorizationpolicies.rs b/kube-custom-resources-rs/src/security_istio_io/v1/authorizationpolicies.rs index ba626f065..e8896e728 100644 --- a/kube-custom-resources-rs/src/security_istio_io/v1/authorizationpolicies.rs +++ b/kube-custom-resources-rs/src/security_istio_io/v1/authorizationpolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/security.istio.io/v1/authorizationpolicies.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/security.istio.io/v1/authorizationpolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/security_istio_io/v1/peerauthentications.rs b/kube-custom-resources-rs/src/security_istio_io/v1/peerauthentications.rs index 0781c2d45..a72743746 100644 --- a/kube-custom-resources-rs/src/security_istio_io/v1/peerauthentications.rs +++ b/kube-custom-resources-rs/src/security_istio_io/v1/peerauthentications.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/security.istio.io/v1/peerauthentications.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/security.istio.io/v1/peerauthentications.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/security_istio_io/v1/requestauthentications.rs b/kube-custom-resources-rs/src/security_istio_io/v1/requestauthentications.rs index 0089b7360..bbb02631a 100644 --- a/kube-custom-resources-rs/src/security_istio_io/v1/requestauthentications.rs +++ b/kube-custom-resources-rs/src/security_istio_io/v1/requestauthentications.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/security.istio.io/v1/requestauthentications.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/security.istio.io/v1/requestauthentications.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/security_istio_io/v1beta1/authorizationpolicies.rs b/kube-custom-resources-rs/src/security_istio_io/v1beta1/authorizationpolicies.rs index d6c7e3440..5f33c4ce6 100644 --- a/kube-custom-resources-rs/src/security_istio_io/v1beta1/authorizationpolicies.rs +++ b/kube-custom-resources-rs/src/security_istio_io/v1beta1/authorizationpolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/security.istio.io/v1beta1/authorizationpolicies.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/security.istio.io/v1beta1/authorizationpolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/security_istio_io/v1beta1/peerauthentications.rs b/kube-custom-resources-rs/src/security_istio_io/v1beta1/peerauthentications.rs index 7fd3c6530..2d6089fcc 100644 --- a/kube-custom-resources-rs/src/security_istio_io/v1beta1/peerauthentications.rs +++ b/kube-custom-resources-rs/src/security_istio_io/v1beta1/peerauthentications.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/security.istio.io/v1beta1/peerauthentications.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/security.istio.io/v1beta1/peerauthentications.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/security_istio_io/v1beta1/requestauthentications.rs b/kube-custom-resources-rs/src/security_istio_io/v1beta1/requestauthentications.rs index 38a869f56..2cadf0361 100644 --- a/kube-custom-resources-rs/src/security_istio_io/v1beta1/requestauthentications.rs +++ b/kube-custom-resources-rs/src/security_istio_io/v1beta1/requestauthentications.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/security.istio.io/v1beta1/requestauthentications.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/security.istio.io/v1beta1/requestauthentications.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/apparmorprofiles.rs b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/apparmorprofiles.rs index 85cf8dd01..faf3fd0e1 100644 --- a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/apparmorprofiles.rs +++ b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/apparmorprofiles.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/apparmorprofiles.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/apparmorprofiles.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/profilebindings.rs b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/profilebindings.rs index ca233f922..c655ed805 100644 --- a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/profilebindings.rs +++ b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/profilebindings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/profilebindings.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/profilebindings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -42,7 +42,7 @@ pub enum ProfileBindingProfileRefKind { } /// ProfileBindingStatus contains status of the Profilebinding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProfileBindingStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeWorkloads")] pub active_workloads: Option>, diff --git a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/profilerecordings.rs b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/profilerecordings.rs index 7e0aa988c..5a876d3dc 100644 --- a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/profilerecordings.rs +++ b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/profilerecordings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/profilerecordings.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/profilerecordings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -63,7 +63,7 @@ pub enum ProfileRecordingMergeStrategy { /// PodSelector selects the pods to record. This field follows standard /// label selector semantics. An empty podSelector matches all pods in this /// namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProfileRecordingPodSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -77,7 +77,7 @@ pub struct ProfileRecordingPodSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProfileRecordingPodSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -102,7 +102,7 @@ pub enum ProfileRecordingRecorder { } /// ProfileRecordingStatus contains status of the ProfileRecording. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ProfileRecordingStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeWorkloads")] pub active_workloads: Option>, diff --git a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/securityprofilenodestatuses.rs b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/securityprofilenodestatuses.rs index eef088e02..72ab993c0 100644 --- a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/securityprofilenodestatuses.rs +++ b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/securityprofilenodestatuses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/securityprofilenodestatuses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/securityprofilenodestatuses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/securityprofilesoperatordaemons.rs b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/securityprofilesoperatordaemons.rs index 688a345bd..16502db95 100644 --- a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/securityprofilesoperatordaemons.rs +++ b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha1/securityprofilesoperatordaemons.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/securityprofilesoperatordaemons.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha1/securityprofilesoperatordaemons.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// SPODStatus defines the desired state of SPOD. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "security-profiles-operator.x-k8s.io", version = "v1alpha1", kind = "SecurityProfilesOperatorDaemon", plural = "securityprofilesoperatordaemons")] #[kube(namespaced)] #[kube(status = "SecurityProfilesOperatorDaemonStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct SecurityProfilesOperatorDaemonSpec { /// Affinity if specified, the SPOD's affinity. @@ -102,7 +103,7 @@ pub struct SecurityProfilesOperatorDaemonSpec { } /// Affinity if specified, the SPOD's affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -116,7 +117,7 @@ pub struct SecurityProfilesOperatorDaemonAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -140,7 +141,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityNodeAffinity { /// An empty preferred scheduling term matches all objects with implicit weight 0 /// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: SecurityProfilesOperatorDaemonAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -149,7 +150,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityNodeAffinityPreferredDuringSche } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -161,7 +162,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityNodeAffinityPreferredDuringSche /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -179,7 +180,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityNodeAffinityPreferredDuringSche /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -200,7 +201,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityNodeAffinityPreferredDuringSche /// If the affinity requirements specified by this field cease to be met /// at some point during pod execution (e.g. due to an update), the system /// may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -210,7 +211,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityNodeAffinityRequiredDuringSched /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -222,7 +223,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityNodeAffinityRequiredDuringSched /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -240,7 +241,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityNodeAffinityRequiredDuringSched /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -257,7 +258,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityNodeAffinityRequiredDuringSched } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the affinity expressions specified by this field, but it may choose @@ -282,7 +283,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -293,7 +294,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityPodAffinityPreferredDuringSched } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -345,7 +346,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityPodAffinityPreferredDuringSched /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -359,7 +360,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityPodAffinityPreferredDuringSched /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -379,7 +380,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityPodAffinityPreferredDuringSched /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -393,7 +394,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityPodAffinityPreferredDuringSched /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -414,7 +415,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityPodAffinityPreferredDuringSched /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -466,7 +467,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityPodAffinityRequiredDuringSchedu /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -480,7 +481,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityPodAffinityRequiredDuringSchedu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -500,7 +501,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityPodAffinityRequiredDuringSchedu /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -514,7 +515,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityPodAffinityRequiredDuringSchedu /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -530,7 +531,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityPodAffinityRequiredDuringSchedu } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy /// the anti-affinity expressions specified by this field, but it may choose @@ -555,7 +556,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -566,7 +567,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityPodAntiAffinityPreferredDuringS } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -618,7 +619,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityPodAntiAffinityPreferredDuringS /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -632,7 +633,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityPodAntiAffinityPreferredDuringS /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -652,7 +653,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityPodAntiAffinityPreferredDuringS /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -666,7 +667,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityPodAntiAffinityPreferredDuringS /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -687,7 +688,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityPodAntiAffinityPreferredDuringS /// where co-located is defined as running on a node whose value of /// the label with key matches that of any node on which /// a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. @@ -739,7 +740,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityPodAntiAffinityRequiredDuringSc /// A label query over a set of resources, in this case pods. /// If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -753,7 +754,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityPodAntiAffinityRequiredDuringSc /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -773,7 +774,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityPodAntiAffinityRequiredDuringSc /// and the ones listed in the namespaces field. /// null selector and null or empty namespaces list means "this pod's namespace". /// An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -787,7 +788,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityPodAntiAffinityRequiredDuringSc /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -804,7 +805,7 @@ pub struct SecurityProfilesOperatorDaemonAffinityPodAntiAffinityRequiredDuringSc /// DaemonResourceRequirements if defined, overwrites the default resource requirements /// of SPOD daemon. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonDaemonResourceRequirements { /// Claims lists the names of resources, defined in spec.resourceClaims, /// that are used by this container. @@ -830,7 +831,7 @@ pub struct SecurityProfilesOperatorDaemonDaemonResourceRequirements { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonDaemonResourceRequirementsClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of /// the Pod where this field is used. It makes that resource available @@ -840,7 +841,7 @@ pub struct SecurityProfilesOperatorDaemonDaemonResourceRequirementsClaims { /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonImagePullSecrets { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -851,7 +852,7 @@ pub struct SecurityProfilesOperatorDaemonImagePullSecrets { /// Defines options specific to the SELinux /// functionality of the SecurityProfilesOperator -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonSelinuxOptions { /// Lists the profiles coming from the system itself that are /// allowed to be inherited by workloads. Use this with care, @@ -863,7 +864,7 @@ pub struct SecurityProfilesOperatorDaemonSelinuxOptions { /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -891,7 +892,7 @@ pub struct SecurityProfilesOperatorDaemonTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonWebhookOptions { /// FailurePolicy sets the webhook failure policy #[serde(default, skip_serializing_if = "Option::is_none", rename = "failurePolicy")] @@ -908,7 +909,7 @@ pub struct SecurityProfilesOperatorDaemonWebhookOptions { } /// NamespaceSelector sets webhook's namespace selector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonWebhookOptionsNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -922,7 +923,7 @@ pub struct SecurityProfilesOperatorDaemonWebhookOptionsNamespaceSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonWebhookOptionsNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -938,7 +939,7 @@ pub struct SecurityProfilesOperatorDaemonWebhookOptionsNamespaceSelectorMatchExp } /// ObjectSelector sets webhook's object selector -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonWebhookOptionsObjectSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -952,7 +953,7 @@ pub struct SecurityProfilesOperatorDaemonWebhookOptionsObjectSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonWebhookOptionsObjectSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -968,7 +969,7 @@ pub struct SecurityProfilesOperatorDaemonWebhookOptionsObjectSelectorMatchExpres } /// SPODStatus defines the observed state of SPOD. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SecurityProfilesOperatorDaemonStatus { /// Conditions of the resource. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha2/rawselinuxprofiles.rs b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha2/rawselinuxprofiles.rs index 1c3b07ad2..af700df1a 100644 --- a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha2/rawselinuxprofiles.rs +++ b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1alpha2/rawselinuxprofiles.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha2/rawselinuxprofiles.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1alpha2/rawselinuxprofiles.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// RawSelinuxProfileSpec defines the desired state of RawSelinuxProfile. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "security-profiles-operator.x-k8s.io", version = "v1alpha2", kind = "RawSelinuxProfile", plural = "rawselinuxprofiles")] #[kube(namespaced)] #[kube(status = "RawSelinuxProfileStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct RawSelinuxProfileSpec { /// Whether the profile is disabled and should be skipped during reconciliation. @@ -26,7 +27,7 @@ pub struct RawSelinuxProfileSpec { } /// SelinuxProfileStatus defines the observed state of SelinuxProfile. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct RawSelinuxProfileStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeWorkloads")] pub active_workloads: Option>, diff --git a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1beta1/seccompprofiles.rs b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1beta1/seccompprofiles.rs index 5291f6029..632ccdbbc 100644 --- a/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1beta1/seccompprofiles.rs +++ b/kube-custom-resources-rs/src/security_profiles_operator_x_k8s_io/v1beta1/seccompprofiles.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1beta1/seccompprofiles.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/security-profiles-operator/security-profiles-operator.x-k8s.io/v1beta1/seccompprofiles.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -146,7 +146,7 @@ pub enum SeccompProfileSyscallsArgsOp { } /// SeccompProfileStatus contains status of the deployed SeccompProfile. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SeccompProfileStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeWorkloads")] pub active_workloads: Option>, diff --git a/kube-custom-resources-rs/src/self_node_remediation_medik8s_io/v1alpha1/selfnoderemediationconfigs.rs b/kube-custom-resources-rs/src/self_node_remediation_medik8s_io/v1alpha1/selfnoderemediationconfigs.rs index 14ca1ac89..550f3c570 100644 --- a/kube-custom-resources-rs/src/self_node_remediation_medik8s_io/v1alpha1/selfnoderemediationconfigs.rs +++ b/kube-custom-resources-rs/src/self_node_remediation_medik8s_io/v1alpha1/selfnoderemediationconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/medik8s/self-node-remediation/self-node-remediation.medik8s.io/v1alpha1/selfnoderemediationconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/medik8s/self-node-remediation/self-node-remediation.medik8s.io/v1alpha1/selfnoderemediationconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/self_node_remediation_medik8s_io/v1alpha1/selfnoderemediations.rs b/kube-custom-resources-rs/src/self_node_remediation_medik8s_io/v1alpha1/selfnoderemediations.rs index 863490b03..62e6192f1 100644 --- a/kube-custom-resources-rs/src/self_node_remediation_medik8s_io/v1alpha1/selfnoderemediations.rs +++ b/kube-custom-resources-rs/src/self_node_remediation_medik8s_io/v1alpha1/selfnoderemediations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/medik8s/self-node-remediation/self-node-remediation.medik8s.io/v1alpha1/selfnoderemediations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/medik8s/self-node-remediation/self-node-remediation.medik8s.io/v1alpha1/selfnoderemediations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/self_node_remediation_medik8s_io/v1alpha1/selfnoderemediationtemplates.rs b/kube-custom-resources-rs/src/self_node_remediation_medik8s_io/v1alpha1/selfnoderemediationtemplates.rs index c2351fdf7..e2907fec2 100644 --- a/kube-custom-resources-rs/src/self_node_remediation_medik8s_io/v1alpha1/selfnoderemediationtemplates.rs +++ b/kube-custom-resources-rs/src/self_node_remediation_medik8s_io/v1alpha1/selfnoderemediationtemplates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/medik8s/self-node-remediation/self-node-remediation.medik8s.io/v1alpha1/selfnoderemediationtemplates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/medik8s/self-node-remediation/self-node-remediation.medik8s.io/v1alpha1/selfnoderemediationtemplates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sematext_com/v1/sematextagents.rs b/kube-custom-resources-rs/src/sematext_com/v1/sematextagents.rs index 75dbc5e39..2d50f9634 100644 --- a/kube-custom-resources-rs/src/sematext_com/v1/sematextagents.rs +++ b/kube-custom-resources-rs/src/sematext_com/v1/sematextagents.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/sematext/sematext-operator/sematext.com/v1/sematextagents.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/sematext/sematext-operator/sematext.com/v1/sematextagents.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/servicebinding_io/v1alpha3/clusterworkloadresourcemappings.rs b/kube-custom-resources-rs/src/servicebinding_io/v1alpha3/clusterworkloadresourcemappings.rs index ebef965b6..da4a987a4 100644 --- a/kube-custom-resources-rs/src/servicebinding_io/v1alpha3/clusterworkloadresourcemappings.rs +++ b/kube-custom-resources-rs/src/servicebinding_io/v1alpha3/clusterworkloadresourcemappings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/redhat-developer/service-binding-operator/servicebinding.io/v1alpha3/clusterworkloadresourcemappings.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/redhat-developer/service-binding-operator/servicebinding.io/v1alpha3/clusterworkloadresourcemappings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/servicebinding_io/v1alpha3/servicebindings.rs b/kube-custom-resources-rs/src/servicebinding_io/v1alpha3/servicebindings.rs index 94828f212..1b7d4e29c 100644 --- a/kube-custom-resources-rs/src/servicebinding_io/v1alpha3/servicebindings.rs +++ b/kube-custom-resources-rs/src/servicebinding_io/v1alpha3/servicebindings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/redhat-developer/service-binding-operator/servicebinding.io/v1alpha3/servicebindings.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/redhat-developer/service-binding-operator/servicebinding.io/v1alpha3/servicebindings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// ServiceBindingSpec defines the desired state of ServiceBinding -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "servicebinding.io", version = "v1alpha3", kind = "ServiceBinding", plural = "servicebindings")] #[kube(namespaced)] #[kube(status = "ServiceBindingStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ServiceBindingSpec { /// Env is the collection of mappings from Secret entries to environment variables @@ -38,7 +39,7 @@ pub struct ServiceBindingSpec { } /// EnvMapping defines a mapping from the value of a Secret entry to an environment variable -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceBindingEnv { /// Key is the key in the Secret that will be exposed pub key: String, @@ -47,7 +48,7 @@ pub struct ServiceBindingEnv { } /// Service is a reference to an object that fulfills the ProvisionedService duck type -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceBindingService { /// API version of the referent. #[serde(rename = "apiVersion")] @@ -59,7 +60,7 @@ pub struct ServiceBindingService { } /// Workload is a reference to an object -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceBindingWorkload { /// API version of the referent. #[serde(rename = "apiVersion")] @@ -78,7 +79,7 @@ pub struct ServiceBindingWorkload { } /// Selector is a query that selects the workload or workloads to bind the service to -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceBindingWorkloadSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -89,7 +90,7 @@ pub struct ServiceBindingWorkloadSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceBindingWorkloadSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -101,7 +102,7 @@ pub struct ServiceBindingWorkloadSelectorMatchExpressions { } /// ServiceBindingStatus defines the observed state of ServiceBinding -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceBindingStatus { /// Binding exposes the projected secret for this ServiceBinding #[serde(default, skip_serializing_if = "Option::is_none")] @@ -115,7 +116,7 @@ pub struct ServiceBindingStatus { } /// Binding exposes the projected secret for this ServiceBinding -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceBindingStatusBinding { /// Name of the referent secret. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names pub name: String, diff --git a/kube-custom-resources-rs/src/servicebinding_io/v1beta1/clusterworkloadresourcemappings.rs b/kube-custom-resources-rs/src/servicebinding_io/v1beta1/clusterworkloadresourcemappings.rs index 20288fdf1..bcf702cb7 100644 --- a/kube-custom-resources-rs/src/servicebinding_io/v1beta1/clusterworkloadresourcemappings.rs +++ b/kube-custom-resources-rs/src/servicebinding_io/v1beta1/clusterworkloadresourcemappings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/redhat-developer/service-binding-operator/servicebinding.io/v1beta1/clusterworkloadresourcemappings.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/redhat-developer/service-binding-operator/servicebinding.io/v1beta1/clusterworkloadresourcemappings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/servicebinding_io/v1beta1/servicebindings.rs b/kube-custom-resources-rs/src/servicebinding_io/v1beta1/servicebindings.rs index 9ed6cbdbb..3604bb4ad 100644 --- a/kube-custom-resources-rs/src/servicebinding_io/v1beta1/servicebindings.rs +++ b/kube-custom-resources-rs/src/servicebinding_io/v1beta1/servicebindings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/redhat-developer/service-binding-operator/servicebinding.io/v1beta1/servicebindings.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/redhat-developer/service-binding-operator/servicebinding.io/v1beta1/servicebindings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// ServiceBindingSpec defines the desired state of ServiceBinding -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "servicebinding.io", version = "v1beta1", kind = "ServiceBinding", plural = "servicebindings")] #[kube(namespaced)] #[kube(status = "ServiceBindingStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ServiceBindingSpec { /// Env is the collection of mappings from Secret entries to environment variables @@ -38,7 +39,7 @@ pub struct ServiceBindingSpec { } /// EnvMapping defines a mapping from the value of a Secret entry to an environment variable -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceBindingEnv { /// Key is the key in the Secret that will be exposed pub key: String, @@ -47,7 +48,7 @@ pub struct ServiceBindingEnv { } /// Service is a reference to an object that fulfills the ProvisionedService duck type -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceBindingService { /// API version of the referent. #[serde(rename = "apiVersion")] @@ -59,7 +60,7 @@ pub struct ServiceBindingService { } /// Workload is a reference to an object -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceBindingWorkload { /// API version of the referent. #[serde(rename = "apiVersion")] @@ -78,7 +79,7 @@ pub struct ServiceBindingWorkload { } /// Selector is a query that selects the workload or workloads to bind the service to -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceBindingWorkloadSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -89,7 +90,7 @@ pub struct ServiceBindingWorkloadSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceBindingWorkloadSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -101,7 +102,7 @@ pub struct ServiceBindingWorkloadSelectorMatchExpressions { } /// ServiceBindingStatus defines the observed state of ServiceBinding -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceBindingStatus { /// Binding exposes the projected secret for this ServiceBinding #[serde(default, skip_serializing_if = "Option::is_none")] @@ -115,7 +116,7 @@ pub struct ServiceBindingStatus { } /// Binding exposes the projected secret for this ServiceBinding -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ServiceBindingStatusBinding { /// Name of the referent secret. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names pub name: String, diff --git a/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/istiocontrolplanes.rs b/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/istiocontrolplanes.rs index b92eccc9d..a907bf74a 100644 --- a/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/istiocontrolplanes.rs +++ b/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/istiocontrolplanes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/istiocontrolplanes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/istiocontrolplanes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -68,7 +68,7 @@ pub struct IstioControlPlaneSpec { pub watch_one_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneContainerImageConfiguration { #[serde(default, skip_serializing_if = "Option::is_none")] pub hub: Option, @@ -87,13 +87,13 @@ pub enum IstioControlPlaneContainerImageConfigurationImagePullPolicy { IfNotPresent, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneContainerImageConfigurationImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneHttpProxyEnvs { #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpProxy")] pub http_proxy: Option, @@ -103,7 +103,7 @@ pub struct IstioControlPlaneHttpProxyEnvs { pub no_proxy: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiod { #[serde(default, skip_serializing_if = "Option::is_none", rename = "certProvider")] pub cert_provider: Option, @@ -133,7 +133,7 @@ pub enum IstioControlPlaneIstiodCertProvider { Istiod, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeployment { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -179,7 +179,7 @@ pub struct IstioControlPlaneIstiodDeployment { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -189,7 +189,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -197,7 +197,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none")] pub preference: Option, @@ -205,7 +205,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityNodeAffinityPreferredDuringS pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -213,7 +213,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityNodeAffinityPreferredDuringS pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -223,7 +223,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityNodeAffinityPreferredDuringS pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -233,13 +233,13 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityNodeAffinityPreferredDuringS pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelectorTerms")] pub node_selector_terms: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -247,7 +247,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityNodeAffinityRequiredDuringSc pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -257,7 +257,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityNodeAffinityRequiredDuringSc pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -267,7 +267,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityNodeAffinityRequiredDuringSc pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -275,7 +275,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -283,7 +283,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityPodAffinityPreferredDuringSc pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -295,7 +295,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityPodAffinityPreferredDuringSc pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -303,7 +303,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityPodAffinityPreferredDuringSc pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -313,7 +313,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityPodAffinityPreferredDuringSc pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -321,7 +321,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityPodAffinityPreferredDuringSc pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -331,7 +331,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityPodAffinityPreferredDuringSc pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -343,7 +343,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityPodAffinityRequiredDuringSch pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -351,7 +351,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityPodAffinityRequiredDuringSch pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -361,7 +361,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityPodAffinityRequiredDuringSch pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -369,7 +369,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityPodAffinityRequiredDuringSch pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -379,7 +379,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityPodAffinityRequiredDuringSch pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -387,7 +387,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -395,7 +395,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityPreferredDuri pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -407,7 +407,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityPreferredDuri pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -415,7 +415,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityPreferredDuri pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -425,7 +425,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityPreferredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -433,7 +433,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityPreferredDuri pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -443,7 +443,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityPreferredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -455,7 +455,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityRequiredDurin pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -463,7 +463,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityRequiredDurin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -473,7 +473,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityRequiredDurin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -481,7 +481,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityRequiredDurin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -491,7 +491,7 @@ pub struct IstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityRequiredDurin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentDeploymentStrategy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "rollingUpdate")] pub rolling_update: Option, @@ -499,7 +499,7 @@ pub struct IstioControlPlaneIstiodDeploymentDeploymentStrategy { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentDeploymentStrategyRollingUpdate { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxSurge")] pub max_surge: Option, @@ -507,7 +507,7 @@ pub struct IstioControlPlaneIstiodDeploymentDeploymentStrategyRollingUpdate { pub max_unavailable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentEnv { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -517,7 +517,7 @@ pub struct IstioControlPlaneIstiodDeploymentEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -529,7 +529,7 @@ pub struct IstioControlPlaneIstiodDeploymentEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentEnvValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -539,13 +539,13 @@ pub struct IstioControlPlaneIstiodDeploymentEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentEnvValueFromConfigMapKeyRefLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -553,7 +553,7 @@ pub struct IstioControlPlaneIstiodDeploymentEnvValueFromFieldRef { pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -563,7 +563,7 @@ pub struct IstioControlPlaneIstiodDeploymentEnvValueFromResourceFieldRef { pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentEnvValueFromSecretKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -573,19 +573,19 @@ pub struct IstioControlPlaneIstiodDeploymentEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentEnvValueFromSecretKeyRefLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -609,13 +609,13 @@ pub struct IstioControlPlaneIstiodDeploymentLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentLivenessProbeGrpc { #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, @@ -623,7 +623,7 @@ pub struct IstioControlPlaneIstiodDeploymentLivenessProbeGrpc { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -637,7 +637,7 @@ pub struct IstioControlPlaneIstiodDeploymentLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentLivenessProbeHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -645,7 +645,7 @@ pub struct IstioControlPlaneIstiodDeploymentLivenessProbeHttpGetHttpHeaders { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -653,7 +653,7 @@ pub struct IstioControlPlaneIstiodDeploymentLivenessProbeTcpSocket { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -661,7 +661,7 @@ pub struct IstioControlPlaneIstiodDeploymentMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentPodDisruptionBudget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] pub max_unavailable: Option, @@ -669,7 +669,7 @@ pub struct IstioControlPlaneIstiodDeploymentPodDisruptionBudget { pub min_available: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentPodMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -677,7 +677,7 @@ pub struct IstioControlPlaneIstiodDeploymentPodMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentPodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -701,7 +701,7 @@ pub struct IstioControlPlaneIstiodDeploymentPodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentPodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -713,7 +713,7 @@ pub struct IstioControlPlaneIstiodDeploymentPodSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentPodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -721,7 +721,7 @@ pub struct IstioControlPlaneIstiodDeploymentPodSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentPodSecurityContextSysctls { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -729,7 +729,7 @@ pub struct IstioControlPlaneIstiodDeploymentPodSecurityContextSysctls { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentPodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -741,7 +741,7 @@ pub struct IstioControlPlaneIstiodDeploymentPodSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -765,13 +765,13 @@ pub struct IstioControlPlaneIstiodDeploymentReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentReadinessProbeGrpc { #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, @@ -779,7 +779,7 @@ pub struct IstioControlPlaneIstiodDeploymentReadinessProbeGrpc { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -793,7 +793,7 @@ pub struct IstioControlPlaneIstiodDeploymentReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentReadinessProbeHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -801,7 +801,7 @@ pub struct IstioControlPlaneIstiodDeploymentReadinessProbeHttpGetHttpHeaders { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -809,7 +809,7 @@ pub struct IstioControlPlaneIstiodDeploymentReadinessProbeTcpSocket { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentReplicas { #[serde(default, skip_serializing_if = "Option::is_none")] pub count: Option, @@ -821,7 +821,7 @@ pub struct IstioControlPlaneIstiodDeploymentReplicas { pub target_cpu_utilization_percentage: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -829,7 +829,7 @@ pub struct IstioControlPlaneIstiodDeploymentResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -855,7 +855,7 @@ pub struct IstioControlPlaneIstiodDeploymentSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -863,7 +863,7 @@ pub struct IstioControlPlaneIstiodDeploymentSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -875,7 +875,7 @@ pub struct IstioControlPlaneIstiodDeploymentSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -883,7 +883,7 @@ pub struct IstioControlPlaneIstiodDeploymentSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -895,7 +895,7 @@ pub struct IstioControlPlaneIstiodDeploymentSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -909,7 +909,7 @@ pub struct IstioControlPlaneIstiodDeploymentTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -921,7 +921,7 @@ pub struct IstioControlPlaneIstiodDeploymentTopologySpreadConstraints { pub when_unsatisfiable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -929,7 +929,7 @@ pub struct IstioControlPlaneIstiodDeploymentTopologySpreadConstraintsLabelSelect pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentTopologySpreadConstraintsLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -939,7 +939,7 @@ pub struct IstioControlPlaneIstiodDeploymentTopologySpreadConstraintsLabelSelect pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumeMounts { #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, @@ -955,7 +955,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumes { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -963,7 +963,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumes { pub volume_source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -1025,7 +1025,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSource { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1037,7 +1037,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceAwsElasticBlockSt pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -1053,7 +1053,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -1063,7 +1063,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceAzureFile { pub share_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceCephfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub monitors: Option>, @@ -1079,13 +1079,13 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1097,13 +1097,13 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceCinder { pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1115,7 +1115,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceConfigMapItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1125,13 +1125,13 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceConfigMapItems { pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceConfigMapLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceCsi { #[serde(default, skip_serializing_if = "Option::is_none")] pub driver: Option, @@ -1145,13 +1145,13 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1159,7 +1159,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -1171,7 +1171,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceDownwardApiItems pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1179,7 +1179,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceDownwardApiItemsF pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1189,7 +1189,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceDownwardApiItemsR pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -1197,13 +1197,13 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -1211,7 +1211,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeCl pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -1247,7 +1247,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeCl pub uid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataCreationTimestamp { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -1255,7 +1255,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeCl pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataDeletionTimestamp { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -1263,7 +1263,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeCl pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFields { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1281,13 +1281,13 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeCl pub time: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFieldsFieldsV1 { #[serde(default, skip_serializing_if = "Option::is_none", rename = "Raw")] pub raw: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFieldsTime { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -1295,7 +1295,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeCl pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataOwnerReferences { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1311,7 +1311,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeCl pub uid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -1331,7 +1331,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeCl pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -1341,7 +1341,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeCl pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -1351,7 +1351,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeCl pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -1359,19 +1359,19 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeCl pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResourcesLimits { #[serde(default, skip_serializing_if = "Option::is_none")] pub string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResourcesRequests { #[serde(default, skip_serializing_if = "Option::is_none")] pub string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1379,7 +1379,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeCl pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1389,7 +1389,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeCl pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1403,7 +1403,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceFlexVolume { #[serde(default, skip_serializing_if = "Option::is_none")] pub driver: Option, @@ -1417,13 +1417,13 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -1431,7 +1431,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1443,7 +1443,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceGcePersistentDisk pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -1453,7 +1453,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceGlusterfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub endpoints: Option, @@ -1463,7 +1463,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceHostPath { #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, @@ -1471,7 +1471,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceHostPath { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -1497,13 +1497,13 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceIscsi { pub target_portal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceNfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, @@ -1513,7 +1513,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceNfs { pub server: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourcePersistentVolumeClaim { #[serde(default, skip_serializing_if = "Option::is_none", rename = "claimName")] pub claim_name: Option, @@ -1521,7 +1521,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourcePersistentVolumeC pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourcePhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1529,7 +1529,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourcePhotonPersistentD pub pd_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourcePortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1539,7 +1539,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourcePortworxVolume { pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1547,7 +1547,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -1559,7 +1559,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSources pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -1569,7 +1569,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesC pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesConfigMapItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1579,19 +1579,19 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesC pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesConfigMapLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -1603,7 +1603,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesD pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1611,7 +1611,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesD pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1621,7 +1621,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesD pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -1631,7 +1631,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesS pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesSecretItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1641,13 +1641,13 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesS pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesSecretLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -1657,7 +1657,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesS pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -1673,7 +1673,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceQuobyte { pub volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1693,13 +1693,13 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1723,13 +1723,13 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1741,7 +1741,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceSecretItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1751,7 +1751,7 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceSecretItems { pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1765,13 +1765,13 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1783,19 +1783,19 @@ pub struct IstioControlPlaneIstiodDeploymentVolumesVolumeSourceVsphereVolume { pub volume_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodExternalIstiod { #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodSpiffe { #[serde(default, skip_serializing_if = "Option::is_none", rename = "operatorEndpoints")] pub operator_endpoints: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneIstiodSpiffeOperatorEndpoints { #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, @@ -1809,7 +1809,7 @@ pub enum IstioControlPlaneJwtPolicy { FirstPartyJwt, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneK8sResourceOverlays { #[serde(default, skip_serializing_if = "Option::is_none", rename = "groupVersionKind")] pub group_version_kind: Option, @@ -1819,7 +1819,7 @@ pub struct IstioControlPlaneK8sResourceOverlays { pub patches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneK8sResourceOverlaysGroupVersionKind { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -1829,7 +1829,7 @@ pub struct IstioControlPlaneK8sResourceOverlaysGroupVersionKind { pub version: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneK8sResourceOverlaysObjectKey { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1837,7 +1837,7 @@ pub struct IstioControlPlaneK8sResourceOverlaysObjectKey { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneK8sResourceOverlaysPatches { #[serde(default, skip_serializing_if = "Option::is_none", rename = "parseValue")] pub parse_value: Option, @@ -1859,13 +1859,13 @@ pub enum IstioControlPlaneK8sResourceOverlaysPatchesType { Remove, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneLogging { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessLogEncoding")] pub access_log_encoding: Option, @@ -1961,7 +1961,7 @@ pub enum IstioControlPlaneMeshConfigAccessLogEncoding { Json, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigCa { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -2004,7 +2004,7 @@ pub enum IstioControlPlaneMeshConfigCaTlsSettingsMode { IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigCaCertificates { #[serde(default, skip_serializing_if = "Option::is_none", rename = "certSigners")] pub cert_signers: Option>, @@ -2016,7 +2016,7 @@ pub struct IstioControlPlaneMeshConfigCaCertificates { pub trust_domains: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigCertificates { #[serde(default, skip_serializing_if = "Option::is_none", rename = "dnsNames")] pub dns_names: Option>, @@ -2024,7 +2024,7 @@ pub struct IstioControlPlaneMeshConfigCertificates { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigConfigSources { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -2065,7 +2065,7 @@ pub enum IstioControlPlaneMeshConfigConfigSourcesTlsSettingsMode { IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "availabilityZone")] pub availability_zone: Option, @@ -2149,7 +2149,7 @@ pub enum IstioControlPlaneMeshConfigDefaultConfigControlPlaneAuthPolicy { Inherit, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigEnvoyAccessLogService { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -2159,7 +2159,7 @@ pub struct IstioControlPlaneMeshConfigDefaultConfigEnvoyAccessLogService { pub tls_settings: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigEnvoyAccessLogServiceTcpKeepalive { #[serde(default, skip_serializing_if = "Option::is_none")] pub interval: Option, @@ -2200,7 +2200,7 @@ pub enum IstioControlPlaneMeshConfigDefaultConfigEnvoyAccessLogServiceTlsSetting IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigEnvoyMetricsService { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -2210,7 +2210,7 @@ pub struct IstioControlPlaneMeshConfigDefaultConfigEnvoyMetricsService { pub tls_settings: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigEnvoyMetricsServiceTcpKeepalive { #[serde(default, skip_serializing_if = "Option::is_none")] pub interval: Option, @@ -2251,7 +2251,7 @@ pub enum IstioControlPlaneMeshConfigDefaultConfigEnvoyMetricsServiceTlsSettingsM IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigGatewayTopology { #[serde(default, skip_serializing_if = "Option::is_none", rename = "forwardClientCertDetails")] pub forward_client_cert_details: Option, @@ -2275,7 +2275,7 @@ pub enum IstioControlPlaneMeshConfigDefaultConfigGatewayTopologyForwardClientCer AlwaysForwardOnly, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigImage { #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageType")] pub image_type: Option, @@ -2291,7 +2291,7 @@ pub enum IstioControlPlaneMeshConfigDefaultConfigInterceptionMode { None, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigPrivateKeyProvider { #[serde(default, skip_serializing_if = "Option::is_none")] pub cryptomb: Option, @@ -2299,19 +2299,19 @@ pub struct IstioControlPlaneMeshConfigDefaultConfigPrivateKeyProvider { pub qat: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigPrivateKeyProviderCryptomb { #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollDelay")] pub poll_delay: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigPrivateKeyProviderQat { #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollDelay")] pub poll_delay: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigProxyStatsMatcher { #[serde(default, skip_serializing_if = "Option::is_none", rename = "inclusionPrefixes")] pub inclusion_prefixes: Option>, @@ -2321,7 +2321,7 @@ pub struct IstioControlPlaneMeshConfigDefaultConfigProxyStatsMatcher { pub inclusion_suffixes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2341,13 +2341,13 @@ pub struct IstioControlPlaneMeshConfigDefaultConfigReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2360,7 +2360,7 @@ pub struct IstioControlPlaneMeshConfigDefaultConfigReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigReadinessProbeHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2368,14 +2368,14 @@ pub struct IstioControlPlaneMeshConfigDefaultConfigReadinessProbeHttpGetHttpHead pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigSds { #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, @@ -2383,7 +2383,7 @@ pub struct IstioControlPlaneMeshConfigDefaultConfigSds { pub k8s_sa_jwt_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigTracing { #[serde(default, skip_serializing_if = "Option::is_none", rename = "customTags")] pub custom_tags: Option>, @@ -2405,7 +2405,7 @@ pub struct IstioControlPlaneMeshConfigDefaultConfigTracing { pub zipkin: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigTracingCustomTags { #[serde(default, skip_serializing_if = "Option::is_none")] pub environment: Option, @@ -2415,7 +2415,7 @@ pub struct IstioControlPlaneMeshConfigDefaultConfigTracingCustomTags { pub literal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigTracingCustomTagsEnvironment { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultValue")] pub default_value: Option, @@ -2423,7 +2423,7 @@ pub struct IstioControlPlaneMeshConfigDefaultConfigTracingCustomTagsEnvironment pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigTracingCustomTagsHeader { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultValue")] pub default_value: Option, @@ -2431,19 +2431,19 @@ pub struct IstioControlPlaneMeshConfigDefaultConfigTracingCustomTagsHeader { pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigTracingCustomTagsLiteral { #[serde(default, skip_serializing_if = "Option::is_none")] pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigTracingDatadog { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigTracingLightstep { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessToken")] pub access_token: Option, @@ -2451,7 +2451,7 @@ pub struct IstioControlPlaneMeshConfigDefaultConfigTracingLightstep { pub address: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigTracingOpenCensusAgent { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -2459,7 +2459,7 @@ pub struct IstioControlPlaneMeshConfigDefaultConfigTracingOpenCensusAgent { pub context: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigTracingStackdriver { #[serde(default, skip_serializing_if = "Option::is_none")] pub debug: Option, @@ -2502,7 +2502,7 @@ pub enum IstioControlPlaneMeshConfigDefaultConfigTracingTlsSettingsMode { IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultConfigTracingZipkin { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -2518,7 +2518,7 @@ pub enum IstioControlPlaneMeshConfigDefaultConfigTracingServiceName { CanonicalNameAndNamespace, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultHttpRetryPolicy { pub attempts: i32, #[serde(default, skip_serializing_if = "Option::is_none", rename = "perTryTimeout")] @@ -2529,7 +2529,7 @@ pub struct IstioControlPlaneMeshConfigDefaultHttpRetryPolicy { pub retry_remote_localities: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDefaultProviders { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessLogging")] pub access_logging: Option>, @@ -2539,7 +2539,7 @@ pub struct IstioControlPlaneMeshConfigDefaultProviders { pub tracing: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDiscoverySelectors { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2547,7 +2547,7 @@ pub struct IstioControlPlaneMeshConfigDiscoverySelectors { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigDiscoverySelectorsMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -2557,7 +2557,7 @@ pub struct IstioControlPlaneMeshConfigDiscoverySelectorsMatchExpressions { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigExtensionProviders { #[serde(default, skip_serializing_if = "Option::is_none")] pub datadog: Option, @@ -2591,7 +2591,7 @@ pub struct IstioControlPlaneMeshConfigExtensionProviders { pub zipkin: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigExtensionProvidersDatadog { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxTagLength")] pub max_tag_length: Option, @@ -2601,7 +2601,7 @@ pub struct IstioControlPlaneMeshConfigExtensionProvidersDatadog { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigExtensionProvidersEnvoyExtAuthzGrpc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "failOpen")] pub fail_open: Option, @@ -2617,7 +2617,7 @@ pub struct IstioControlPlaneMeshConfigExtensionProvidersEnvoyExtAuthzGrpc { pub timeout: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigExtensionProvidersEnvoyExtAuthzGrpcIncludeRequestBodyInCheck { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPartialMessage")] pub allow_partial_message: Option, @@ -2627,7 +2627,7 @@ pub struct IstioControlPlaneMeshConfigExtensionProvidersEnvoyExtAuthzGrpcInclude pub pack_as_bytes: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigExtensionProvidersEnvoyExtAuthzHttp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "failOpen")] pub fail_open: Option, @@ -2657,7 +2657,7 @@ pub struct IstioControlPlaneMeshConfigExtensionProvidersEnvoyExtAuthzHttp { pub timeout: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigExtensionProvidersEnvoyExtAuthzHttpIncludeRequestBodyInCheck { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPartialMessage")] pub allow_partial_message: Option, @@ -2667,7 +2667,7 @@ pub struct IstioControlPlaneMeshConfigExtensionProvidersEnvoyExtAuthzHttpInclude pub pack_as_bytes: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigExtensionProvidersEnvoyFileAccessLog { #[serde(default, skip_serializing_if = "Option::is_none", rename = "logFormat")] pub log_format: Option, @@ -2675,7 +2675,7 @@ pub struct IstioControlPlaneMeshConfigExtensionProvidersEnvoyFileAccessLog { pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigExtensionProvidersEnvoyFileAccessLogLogFormat { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option, @@ -2683,11 +2683,11 @@ pub struct IstioControlPlaneMeshConfigExtensionProvidersEnvoyFileAccessLogLogFor pub text: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigExtensionProvidersEnvoyFileAccessLogLogFormatLabels { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigExtensionProvidersEnvoyHttpAls { #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalRequestHeadersToLog")] pub additional_request_headers_to_log: Option>, @@ -2705,7 +2705,7 @@ pub struct IstioControlPlaneMeshConfigExtensionProvidersEnvoyHttpAls { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigExtensionProvidersEnvoyOtelAls { #[serde(default, skip_serializing_if = "Option::is_none", rename = "logFormat")] pub log_format: Option, @@ -2717,7 +2717,7 @@ pub struct IstioControlPlaneMeshConfigExtensionProvidersEnvoyOtelAls { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigExtensionProvidersEnvoyOtelAlsLogFormat { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option, @@ -2725,11 +2725,11 @@ pub struct IstioControlPlaneMeshConfigExtensionProvidersEnvoyOtelAlsLogFormat { pub text: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigExtensionProvidersEnvoyOtelAlsLogFormatLabels { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigExtensionProvidersEnvoyTcpAls { #[serde(default, skip_serializing_if = "Option::is_none", rename = "filterStateObjectsToLog")] pub filter_state_objects_to_log: Option>, @@ -2741,7 +2741,7 @@ pub struct IstioControlPlaneMeshConfigExtensionProvidersEnvoyTcpAls { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigExtensionProvidersLightstep { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessToken")] pub access_token: Option, @@ -2753,7 +2753,7 @@ pub struct IstioControlPlaneMeshConfigExtensionProvidersLightstep { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigExtensionProvidersOpencensus { #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option>, @@ -2765,7 +2765,7 @@ pub struct IstioControlPlaneMeshConfigExtensionProvidersOpencensus { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigExtensionProvidersOpentelemetry { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxTagLength")] pub max_tag_length: Option, @@ -2775,11 +2775,11 @@ pub struct IstioControlPlaneMeshConfigExtensionProvidersOpentelemetry { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigExtensionProvidersPrometheus { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigExtensionProvidersSkywalking { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessToken")] pub access_token: Option, @@ -2789,7 +2789,7 @@ pub struct IstioControlPlaneMeshConfigExtensionProvidersSkywalking { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigExtensionProvidersStackdriver { #[serde(default, skip_serializing_if = "Option::is_none")] pub debug: Option, @@ -2805,13 +2805,13 @@ pub struct IstioControlPlaneMeshConfigExtensionProvidersStackdriver { pub max_tag_length: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigExtensionProvidersStackdriverLogging { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigExtensionProvidersZipkin { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxTagLength")] pub max_tag_length: Option, @@ -2841,7 +2841,7 @@ pub enum IstioControlPlaneMeshConfigIngressControllerMode { Strict, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigLocalityLbSetting { #[serde(default, skip_serializing_if = "Option::is_none")] pub distribute: Option>, @@ -2853,7 +2853,7 @@ pub struct IstioControlPlaneMeshConfigLocalityLbSetting { pub failover_priority: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigLocalityLbSettingDistribute { #[serde(default, skip_serializing_if = "Option::is_none")] pub from: Option, @@ -2861,7 +2861,7 @@ pub struct IstioControlPlaneMeshConfigLocalityLbSettingDistribute { pub to: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigLocalityLbSettingFailover { #[serde(default, skip_serializing_if = "Option::is_none")] pub from: Option, @@ -2869,7 +2869,7 @@ pub struct IstioControlPlaneMeshConfigLocalityLbSettingFailover { pub to: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigMeshMtls { #[serde(default, skip_serializing_if = "Option::is_none", rename = "minProtocolVersion")] pub min_protocol_version: Option, @@ -2885,7 +2885,7 @@ pub enum IstioControlPlaneMeshConfigMeshMtlsMinProtocolVersion { Tlsv13, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigOutboundTrafficPolicy { #[serde(default, skip_serializing_if = "Option::is_none")] pub mode: Option, @@ -2899,7 +2899,7 @@ pub enum IstioControlPlaneMeshConfigOutboundTrafficPolicyMode { AllowAny, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigPathNormalization { #[serde(default, skip_serializing_if = "Option::is_none")] pub normalization: Option, @@ -2919,7 +2919,7 @@ pub enum IstioControlPlaneMeshConfigPathNormalizationNormalization { DecodeAndMergeSlashes, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigServiceSettings { #[serde(default, skip_serializing_if = "Option::is_none")] pub hosts: Option>, @@ -2927,13 +2927,13 @@ pub struct IstioControlPlaneMeshConfigServiceSettings { pub settings: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigServiceSettingsSettings { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterLocal")] pub cluster_local: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshConfigTcpKeepalive { #[serde(default, skip_serializing_if = "Option::is_none")] pub interval: Option, @@ -2943,7 +2943,7 @@ pub struct IstioControlPlaneMeshConfigTcpKeepalive { pub time: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansion { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterServices")] pub cluster_services: Option, @@ -2957,13 +2957,13 @@ pub struct IstioControlPlaneMeshExpansion { pub webhook: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionClusterServices { #[serde(default, skip_serializing_if = "Option::is_none")] pub expose: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGateway { #[serde(default, skip_serializing_if = "Option::is_none")] pub deployment: Option, @@ -2977,7 +2977,7 @@ pub struct IstioControlPlaneMeshExpansionGateway { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeployment { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -3023,7 +3023,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeployment { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -3033,7 +3033,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3041,7 +3041,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none")] pub preference: Option, @@ -3049,7 +3049,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinityPr pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3057,7 +3057,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinityPr pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3067,7 +3067,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinityPr pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3077,13 +3077,13 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinityPr pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelectorTerms")] pub node_selector_terms: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3091,7 +3091,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinityRe pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3101,7 +3101,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinityRe pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3111,7 +3111,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinityRe pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3119,7 +3119,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -3127,7 +3127,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityPre pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3139,7 +3139,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityPre pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3147,7 +3147,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityPre pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3157,7 +3157,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityPre pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3165,7 +3165,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityPre pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3175,7 +3175,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityPre pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3187,7 +3187,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityReq pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3195,7 +3195,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityReq pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3205,7 +3205,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityReq pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3213,7 +3213,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityReq pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3223,7 +3223,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityReq pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3231,7 +3231,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinit pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -3239,7 +3239,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinit pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3251,7 +3251,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinit pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3259,7 +3259,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinit pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3269,7 +3269,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinit pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3277,7 +3277,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinit pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3287,7 +3287,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinit pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3299,7 +3299,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinit pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3307,7 +3307,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinit pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3317,7 +3317,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinit pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3325,7 +3325,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinit pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3335,7 +3335,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinit pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentDeploymentStrategy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "rollingUpdate")] pub rolling_update: Option, @@ -3343,7 +3343,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentDeploymentStrategy { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentDeploymentStrategyRollingUpdate { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxSurge")] pub max_surge: Option, @@ -3351,7 +3351,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentDeploymentStrategyRoll pub max_unavailable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentEnv { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3361,7 +3361,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -3373,7 +3373,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentEnvValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3383,13 +3383,13 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentEnvValueFromConfigMapK pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentEnvValueFromConfigMapKeyRefLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3397,7 +3397,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentEnvValueFromFieldRef { pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3407,7 +3407,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentEnvValueFromResourceFi pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentEnvValueFromSecretKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3417,19 +3417,19 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentEnvValueFromSecretKeyR pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentEnvValueFromSecretKeyRefLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3453,13 +3453,13 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentLivenessProbeGrpc { #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, @@ -3467,7 +3467,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentLivenessProbeGrpc { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3481,7 +3481,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentLivenessProbeHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3489,7 +3489,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentLivenessProbeHttpGetHt pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3497,7 +3497,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentLivenessProbeTcpSocket pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3505,7 +3505,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentPodDisruptionBudget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] pub max_unavailable: Option, @@ -3513,7 +3513,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentPodDisruptionBudget { pub min_available: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentPodMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3521,7 +3521,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentPodMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentPodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -3545,7 +3545,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentPodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentPodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -3557,7 +3557,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentPodSecurityContextSeLi pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentPodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -3565,7 +3565,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentPodSecurityContextSecc pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentPodSecurityContextSysctls { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3573,7 +3573,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentPodSecurityContextSysc pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentPodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -3585,7 +3585,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentPodSecurityContextWind pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3609,13 +3609,13 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentReadinessProbeGrpc { #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, @@ -3623,7 +3623,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentReadinessProbeGrpc { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3637,7 +3637,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentReadinessProbeHttpGet pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentReadinessProbeHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3645,7 +3645,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentReadinessProbeHttpGetH pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3653,7 +3653,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentReadinessProbeTcpSocke pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentReplicas { #[serde(default, skip_serializing_if = "Option::is_none")] pub count: Option, @@ -3665,7 +3665,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentReplicas { pub target_cpu_utilization_percentage: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -3673,7 +3673,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -3699,7 +3699,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -3707,7 +3707,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentSecurityContextCapabil pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -3719,7 +3719,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentSecurityContextSeLinux pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -3727,7 +3727,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentSecurityContextSeccomp pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -3739,7 +3739,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentSecurityContextWindows pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -3753,7 +3753,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3765,7 +3765,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentTopologySpreadConstrai pub when_unsatisfiable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3773,7 +3773,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentTopologySpreadConstrai pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentTopologySpreadConstraintsLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3783,7 +3783,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentTopologySpreadConstrai pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumeMounts { #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, @@ -3799,7 +3799,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumes { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3807,7 +3807,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumes { pub volume_source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -3869,7 +3869,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSource { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3881,7 +3881,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceAws pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -3897,7 +3897,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceAzu pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -3907,7 +3907,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceAzu pub share_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceCephfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub monitors: Option>, @@ -3923,13 +3923,13 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceCep pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3941,13 +3941,13 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceCin pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3959,7 +3959,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceCon pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceConfigMapItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3969,13 +3969,13 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceCon pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceConfigMapLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceCsi { #[serde(default, skip_serializing_if = "Option::is_none")] pub driver: Option, @@ -3989,13 +3989,13 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceCsi pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -4003,7 +4003,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceDow pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -4015,7 +4015,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceDow pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4023,7 +4023,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceDow pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4033,7 +4033,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceDow pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -4041,13 +4041,13 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEmp pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -4055,7 +4055,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEph pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -4091,7 +4091,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEph pub uid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataCreationTimestamp { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -4099,7 +4099,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEph pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataDeletionTimestamp { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -4107,7 +4107,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEph pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFields { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4125,13 +4125,13 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEph pub time: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFieldsFieldsV1 { #[serde(default, skip_serializing_if = "Option::is_none", rename = "Raw")] pub raw: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFieldsTime { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -4139,7 +4139,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEph pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataOwnerReferences { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4155,7 +4155,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEph pub uid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -4175,7 +4175,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEph pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -4185,7 +4185,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEph pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -4195,7 +4195,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEph pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -4203,19 +4203,19 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEph pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResourcesLimits { #[serde(default, skip_serializing_if = "Option::is_none")] pub string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResourcesRequests { #[serde(default, skip_serializing_if = "Option::is_none")] pub string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4223,7 +4223,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEph pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -4233,7 +4233,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEph pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4247,7 +4247,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceFc pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceFlexVolume { #[serde(default, skip_serializing_if = "Option::is_none")] pub driver: Option, @@ -4261,13 +4261,13 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceFle pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -4275,7 +4275,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceFlo pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4287,7 +4287,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceGce pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -4297,7 +4297,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceGit pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceGlusterfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub endpoints: Option, @@ -4307,7 +4307,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceGlu pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceHostPath { #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, @@ -4315,7 +4315,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceHos pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -4341,13 +4341,13 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceIsc pub target_portal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceNfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, @@ -4357,7 +4357,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceNfs pub server: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourcePersistentVolumeClaim { #[serde(default, skip_serializing_if = "Option::is_none", rename = "claimName")] pub claim_name: Option, @@ -4365,7 +4365,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourcePer pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourcePhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4373,7 +4373,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourcePho pub pd_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourcePortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4383,7 +4383,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourcePor pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -4391,7 +4391,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourcePro pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -4403,7 +4403,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourcePro pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -4413,7 +4413,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourcePro pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjectedSourcesConfigMapItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -4423,19 +4423,19 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourcePro pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjectedSourcesConfigMapLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -4447,7 +4447,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourcePro pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4455,7 +4455,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourcePro pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4465,7 +4465,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourcePro pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -4475,7 +4475,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourcePro pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjectedSourcesSecretItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -4485,13 +4485,13 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourcePro pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjectedSourcesSecretLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -4501,7 +4501,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourcePro pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -4517,7 +4517,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceQuo pub volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4537,13 +4537,13 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceRbd pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4567,13 +4567,13 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceSca pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -4585,7 +4585,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceSec pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceSecretItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -4595,7 +4595,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceSec pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4609,13 +4609,13 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceSto pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4627,7 +4627,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceVsp pub volume_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayK8sResourceOverlays { #[serde(default, skip_serializing_if = "Option::is_none", rename = "groupVersionKind")] pub group_version_kind: Option, @@ -4637,7 +4637,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayK8sResourceOverlays { pub patches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayK8sResourceOverlaysGroupVersionKind { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -4647,7 +4647,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayK8sResourceOverlaysGroupVersionK pub version: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayK8sResourceOverlaysObjectKey { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4655,7 +4655,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayK8sResourceOverlaysObjectKey { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayK8sResourceOverlaysPatches { #[serde(default, skip_serializing_if = "Option::is_none", rename = "parseValue")] pub parse_value: Option, @@ -4677,7 +4677,7 @@ pub enum IstioControlPlaneMeshExpansionGatewayK8sResourceOverlaysPatchesType { Remove, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -4685,7 +4685,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayService { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterIP")] pub cluster_ip: Option, @@ -4719,7 +4719,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayService { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayServiceMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -4727,7 +4727,7 @@ pub struct IstioControlPlaneMeshExpansionGatewayServiceMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayServicePorts { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4740,13 +4740,13 @@ pub struct IstioControlPlaneMeshExpansionGatewayServicePorts { pub target_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayServiceSessionAffinityConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] pub client_ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionGatewayServiceSessionAffinityConfigClientIp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] pub timeout_seconds: Option, @@ -4760,13 +4760,13 @@ pub enum IstioControlPlaneMeshExpansionGatewayServiceType { LoadBalancer, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionIstiod { #[serde(default, skip_serializing_if = "Option::is_none")] pub expose: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneMeshExpansionWebhook { #[serde(default, skip_serializing_if = "Option::is_none")] pub expose: Option, @@ -4780,7 +4780,7 @@ pub enum IstioControlPlaneMode { Passive, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterDomain")] pub cluster_domain: Option, @@ -4812,7 +4812,7 @@ pub struct IstioControlPlaneProxy { pub tracer: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -4820,7 +4820,7 @@ pub struct IstioControlPlaneProxyLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4830,13 +4830,13 @@ pub struct IstioControlPlaneProxyLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4850,7 +4850,7 @@ pub struct IstioControlPlaneProxyLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyLifecyclePostStartHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4858,7 +4858,7 @@ pub struct IstioControlPlaneProxyLifecyclePostStartHttpGetHttpHeaders { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4866,7 +4866,7 @@ pub struct IstioControlPlaneProxyLifecyclePostStartTcpSocket { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4876,13 +4876,13 @@ pub struct IstioControlPlaneProxyLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4896,7 +4896,7 @@ pub struct IstioControlPlaneProxyLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyLifecyclePreStopHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4904,7 +4904,7 @@ pub struct IstioControlPlaneProxyLifecyclePreStopHttpGetHttpHeaders { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4930,7 +4930,7 @@ pub enum IstioControlPlaneProxyLogLevel { Off, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -4938,7 +4938,7 @@ pub struct IstioControlPlaneProxyResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInit { #[serde(default, skip_serializing_if = "Option::is_none")] pub cni: Option, @@ -4948,7 +4948,7 @@ pub struct IstioControlPlaneProxyInit { pub resources: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCni { #[serde(default, skip_serializing_if = "Option::is_none", rename = "binDir")] pub bin_dir: Option, @@ -4978,7 +4978,7 @@ pub struct IstioControlPlaneProxyInitCni { pub taint: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonset { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -5024,7 +5024,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonset { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -5034,7 +5034,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -5042,7 +5042,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none")] pub preference: Option, @@ -5050,7 +5050,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityPreferredDu pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5058,7 +5058,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityPreferredDu pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5068,7 +5068,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityPreferredDu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5078,13 +5078,13 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityPreferredDu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelectorTerms")] pub node_selector_terms: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5092,7 +5092,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityRequiredDur pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5102,7 +5102,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityRequiredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5112,7 +5112,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityRequiredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -5120,7 +5120,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -5128,7 +5128,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityPreferredDur pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5140,7 +5140,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityPreferredDur pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5148,7 +5148,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityPreferredDur pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5158,7 +5158,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityPreferredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5166,7 +5166,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityPreferredDur pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5176,7 +5176,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityPreferredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5188,7 +5188,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityRequiredDuri pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5196,7 +5196,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityRequiredDuri pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5206,7 +5206,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityRequiredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5214,7 +5214,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityRequiredDuri pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5224,7 +5224,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityRequiredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -5232,7 +5232,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -5240,7 +5240,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityPreferre pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5252,7 +5252,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityPreferre pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5260,7 +5260,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityPreferre pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5270,7 +5270,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityPreferre pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5278,7 +5278,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityPreferre pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5288,7 +5288,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityPreferre pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5300,7 +5300,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityRequired pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5308,7 +5308,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityRequired pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5318,7 +5318,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityRequired pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5326,7 +5326,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityRequired pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5336,7 +5336,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityRequired pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetDeploymentStrategy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "rollingUpdate")] pub rolling_update: Option, @@ -5344,7 +5344,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetDeploymentStrategy { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetDeploymentStrategyRollingUpdate { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxSurge")] pub max_surge: Option, @@ -5352,7 +5352,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetDeploymentStrategyRollingUpdate pub max_unavailable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetEnv { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -5362,7 +5362,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -5374,7 +5374,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetEnvValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5384,13 +5384,13 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetEnvValueFromConfigMapKeyRefLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -5398,7 +5398,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetEnvValueFromFieldRef { pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -5408,7 +5408,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetEnvValueFromResourceFieldRef { pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetEnvValueFromSecretKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5418,19 +5418,19 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetEnvValueFromSecretKeyRefLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5454,13 +5454,13 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetLivenessProbeGrpc { #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, @@ -5468,7 +5468,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetLivenessProbeGrpc { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5482,7 +5482,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetLivenessProbeHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -5490,7 +5490,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetLivenessProbeHttpGetHttpHeaders pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5498,7 +5498,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetLivenessProbeTcpSocket { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -5506,7 +5506,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetPodDisruptionBudget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] pub max_unavailable: Option, @@ -5514,7 +5514,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetPodDisruptionBudget { pub min_available: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetPodMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -5522,7 +5522,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetPodMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetPodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -5546,7 +5546,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetPodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetPodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5558,7 +5558,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetPodSecurityContextSeLinuxOption pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetPodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5566,7 +5566,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetPodSecurityContextSeccompProfil pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetPodSecurityContextSysctls { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -5574,7 +5574,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetPodSecurityContextSysctls { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetPodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5586,7 +5586,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetPodSecurityContextWindowsOption pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5610,13 +5610,13 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetReadinessProbeGrpc { #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, @@ -5624,7 +5624,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetReadinessProbeGrpc { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5638,7 +5638,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetReadinessProbeHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -5646,7 +5646,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetReadinessProbeHttpGetHttpHeader pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5654,7 +5654,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetReadinessProbeTcpSocket { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetReplicas { #[serde(default, skip_serializing_if = "Option::is_none")] pub count: Option, @@ -5666,7 +5666,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetReplicas { pub target_cpu_utilization_percentage: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -5674,7 +5674,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -5700,7 +5700,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -5708,7 +5708,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5720,7 +5720,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5728,7 +5728,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5740,7 +5740,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -5754,7 +5754,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5766,7 +5766,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetTopologySpreadConstraints { pub when_unsatisfiable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5774,7 +5774,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetTopologySpreadConstraintsLabelS pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetTopologySpreadConstraintsLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5784,7 +5784,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetTopologySpreadConstraintsLabelS pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumeMounts { #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, @@ -5800,7 +5800,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumes { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -5808,7 +5808,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumes { pub volume_source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -5870,7 +5870,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSource { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5882,7 +5882,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceAwsElasticBl pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -5898,7 +5898,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -5908,7 +5908,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceAzureFile { pub share_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceCephfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub monitors: Option>, @@ -5924,13 +5924,13 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5942,13 +5942,13 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceCinder { pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5960,7 +5960,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceConfigMapItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5970,13 +5970,13 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceConfigMapIte pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceConfigMapLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceCsi { #[serde(default, skip_serializing_if = "Option::is_none")] pub driver: Option, @@ -5990,13 +5990,13 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -6004,7 +6004,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceDownwardApi pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -6016,7 +6016,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceDownwardApiI pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -6024,7 +6024,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceDownwardApiI pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -6034,7 +6034,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceDownwardApiI pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -6042,13 +6042,13 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -6056,7 +6056,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVol pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -6092,7 +6092,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVol pub uid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataCreationTimestamp { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -6100,7 +6100,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVol pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataDeletionTimestamp { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -6108,7 +6108,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVol pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFields { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -6126,13 +6126,13 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVol pub time: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFieldsFieldsV1 { #[serde(default, skip_serializing_if = "Option::is_none", rename = "Raw")] pub raw: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFieldsTime { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -6140,7 +6140,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVol pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataOwnerReferences { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -6156,7 +6156,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVol pub uid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -6176,7 +6176,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVol pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -6186,7 +6186,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVol pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -6196,7 +6196,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVol pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -6204,19 +6204,19 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVol pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResourcesLimits { #[serde(default, skip_serializing_if = "Option::is_none")] pub string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResourcesRequests { #[serde(default, skip_serializing_if = "Option::is_none")] pub string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6224,7 +6224,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVol pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6234,7 +6234,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVol pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6248,7 +6248,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceFlexVolume { #[serde(default, skip_serializing_if = "Option::is_none")] pub driver: Option, @@ -6262,13 +6262,13 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -6276,7 +6276,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6288,7 +6288,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceGcePersisten pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -6298,7 +6298,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceGlusterfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub endpoints: Option, @@ -6308,7 +6308,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceHostPath { #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, @@ -6316,7 +6316,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceHostPath { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -6342,13 +6342,13 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceIscsi { pub target_portal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceNfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, @@ -6358,7 +6358,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceNfs { pub server: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourcePersistentVolumeClaim { #[serde(default, skip_serializing_if = "Option::is_none", rename = "claimName")] pub claim_name: Option, @@ -6366,7 +6366,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourcePersistentVo pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourcePhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6374,7 +6374,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourcePhotonPersis pub pd_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourcePortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6384,7 +6384,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourcePortworxVolu pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -6392,7 +6392,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -6404,7 +6404,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSou pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -6414,7 +6414,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSou pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSourcesConfigMapItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6424,19 +6424,19 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSou pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSourcesConfigMapLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -6448,7 +6448,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSou pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -6456,7 +6456,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSou pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -6466,7 +6466,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSou pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -6476,7 +6476,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSou pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSourcesSecretItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6486,13 +6486,13 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSou pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSourcesSecretLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -6502,7 +6502,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSou pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -6518,7 +6518,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceQuobyte { pub volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6538,13 +6538,13 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6568,13 +6568,13 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -6586,7 +6586,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceSecretItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6596,7 +6596,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceSecretItems pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6610,13 +6610,13 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6628,7 +6628,7 @@ pub struct IstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceVsphereVolum pub volume_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniRepair { #[serde(default, skip_serializing_if = "Option::is_none", rename = "brokenPodLabelKey")] pub broken_pod_label_key: Option, @@ -6644,7 +6644,7 @@ pub struct IstioControlPlaneProxyInitCniRepair { pub label_pods: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniResourceQuotas { #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, @@ -6654,7 +6654,7 @@ pub struct IstioControlPlaneProxyInitCniResourceQuotas { pub priority_classes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniTaint { #[serde(default, skip_serializing_if = "Option::is_none")] pub container: Option, @@ -6662,7 +6662,7 @@ pub struct IstioControlPlaneProxyInitCniTaint { pub enabled: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniTaintContainer { #[serde(default, skip_serializing_if = "Option::is_none")] pub env: Option>, @@ -6676,7 +6676,7 @@ pub struct IstioControlPlaneProxyInitCniTaintContainer { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniTaintContainerEnv { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -6686,7 +6686,7 @@ pub struct IstioControlPlaneProxyInitCniTaintContainerEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniTaintContainerEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -6698,7 +6698,7 @@ pub struct IstioControlPlaneProxyInitCniTaintContainerEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniTaintContainerEnvValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6708,13 +6708,13 @@ pub struct IstioControlPlaneProxyInitCniTaintContainerEnvValueFromConfigMapKeyRe pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniTaintContainerEnvValueFromConfigMapKeyRefLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniTaintContainerEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -6722,7 +6722,7 @@ pub struct IstioControlPlaneProxyInitCniTaintContainerEnvValueFromFieldRef { pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniTaintContainerEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -6732,7 +6732,7 @@ pub struct IstioControlPlaneProxyInitCniTaintContainerEnvValueFromResourceFieldR pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniTaintContainerEnvValueFromSecretKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6742,13 +6742,13 @@ pub struct IstioControlPlaneProxyInitCniTaintContainerEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniTaintContainerEnvValueFromSecretKeyRefLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniTaintContainerResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -6756,7 +6756,7 @@ pub struct IstioControlPlaneProxyInitCniTaintContainerResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniTaintContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -6782,7 +6782,7 @@ pub struct IstioControlPlaneProxyInitCniTaintContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniTaintContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -6790,7 +6790,7 @@ pub struct IstioControlPlaneProxyInitCniTaintContainerSecurityContextCapabilitie pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniTaintContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -6802,7 +6802,7 @@ pub struct IstioControlPlaneProxyInitCniTaintContainerSecurityContextSeLinuxOpti pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniTaintContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -6810,7 +6810,7 @@ pub struct IstioControlPlaneProxyInitCniTaintContainerSecurityContextSeccompProf pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniTaintContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -6822,7 +6822,7 @@ pub struct IstioControlPlaneProxyInitCniTaintContainerSecurityContextWindowsOpti pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitCniTaintContainerVolumeMounts { #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, @@ -6838,7 +6838,7 @@ pub struct IstioControlPlaneProxyInitCniTaintContainerVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyInitResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -6846,19 +6846,19 @@ pub struct IstioControlPlaneProxyInitResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneProxyWasm { #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSds { #[serde(default, skip_serializing_if = "Option::is_none", rename = "tokenAudience")] pub token_audience: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjector { #[serde(default, skip_serializing_if = "Option::is_none")] pub deployment: Option, @@ -6868,7 +6868,7 @@ pub struct IstioControlPlaneSidecarInjector { pub templates: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeployment { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -6914,7 +6914,7 @@ pub struct IstioControlPlaneSidecarInjectorDeployment { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -6924,7 +6924,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -6932,7 +6932,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none")] pub preference: Option, @@ -6940,7 +6940,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityPreferr pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6948,7 +6948,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityPreferr pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6958,7 +6958,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityPreferr pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6968,13 +6968,13 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityPreferr pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelectorTerms")] pub node_selector_terms: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6982,7 +6982,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityRequire pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6992,7 +6992,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityRequire pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7002,7 +7002,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityRequire pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -7010,7 +7010,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -7018,7 +7018,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityPreferre pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -7030,7 +7030,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityPreferre pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -7038,7 +7038,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityPreferre pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7048,7 +7048,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityPreferre pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -7056,7 +7056,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityPreferre pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7066,7 +7066,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityPreferre pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -7078,7 +7078,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityRequired pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -7086,7 +7086,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityRequired pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7096,7 +7096,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityRequired pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -7104,7 +7104,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityRequired pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7114,7 +7114,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityRequired pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -7122,7 +7122,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -7130,7 +7130,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityPref pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -7142,7 +7142,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityPref pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -7150,7 +7150,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityPref pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7160,7 +7160,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityPref pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -7168,7 +7168,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityPref pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7178,7 +7178,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityPref pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -7190,7 +7190,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityRequ pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -7198,7 +7198,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityRequ pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7208,7 +7208,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityRequ pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -7216,7 +7216,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityRequ pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7226,7 +7226,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityRequ pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentDeploymentStrategy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "rollingUpdate")] pub rolling_update: Option, @@ -7234,7 +7234,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentDeploymentStrategy { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentDeploymentStrategyRollingUpdate { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxSurge")] pub max_surge: Option, @@ -7242,7 +7242,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentDeploymentStrategyRollingUp pub max_unavailable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentEnv { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -7252,7 +7252,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -7264,7 +7264,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentEnvValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7274,13 +7274,13 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentEnvValueFromConfigMapKeyRef pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentEnvValueFromConfigMapKeyRefLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -7288,7 +7288,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentEnvValueFromFieldRef { pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -7298,7 +7298,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentEnvValueFromResourceFieldRe pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentEnvValueFromSecretKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7308,19 +7308,19 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentEnvValueFromSecretKeyRefLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -7344,13 +7344,13 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentLivenessProbeGrpc { #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, @@ -7358,7 +7358,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentLivenessProbeGrpc { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7372,7 +7372,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentLivenessProbeHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -7380,7 +7380,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentLivenessProbeHttpGetHttpHea pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7388,7 +7388,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentLivenessProbeTcpSocket { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -7396,7 +7396,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentPodDisruptionBudget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] pub max_unavailable: Option, @@ -7404,7 +7404,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentPodDisruptionBudget { pub min_available: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentPodMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -7412,7 +7412,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentPodMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentPodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -7436,7 +7436,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentPodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentPodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -7448,7 +7448,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentPodSecurityContextSeLinuxOp pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentPodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -7456,7 +7456,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentPodSecurityContextSeccompPr pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentPodSecurityContextSysctls { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -7464,7 +7464,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentPodSecurityContextSysctls { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentPodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -7476,7 +7476,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentPodSecurityContextWindowsOp pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -7500,13 +7500,13 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentReadinessProbeGrpc { #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, @@ -7514,7 +7514,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentReadinessProbeGrpc { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7528,7 +7528,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentReadinessProbeHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -7536,7 +7536,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentReadinessProbeHttpGetHttpHe pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7544,7 +7544,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentReadinessProbeTcpSocket { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentReplicas { #[serde(default, skip_serializing_if = "Option::is_none")] pub count: Option, @@ -7556,7 +7556,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentReplicas { pub target_cpu_utilization_percentage: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -7564,7 +7564,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -7590,7 +7590,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -7598,7 +7598,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentSecurityContextCapabilities pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -7610,7 +7610,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentSecurityContextSeLinuxOptio pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -7618,7 +7618,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentSecurityContextSeccompProfi pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -7630,7 +7630,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentSecurityContextWindowsOptio pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -7644,7 +7644,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -7656,7 +7656,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentTopologySpreadConstraints { pub when_unsatisfiable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -7664,7 +7664,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentTopologySpreadConstraintsLa pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentTopologySpreadConstraintsLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7674,7 +7674,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentTopologySpreadConstraintsLa pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumeMounts { #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, @@ -7690,7 +7690,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumes { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -7698,7 +7698,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumes { pub volume_source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -7760,7 +7760,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSource { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -7772,7 +7772,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceAwsElast pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -7788,7 +7788,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceAzureDis pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -7798,7 +7798,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceAzureFil pub share_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceCephfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub monitors: Option>, @@ -7814,13 +7814,13 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -7832,13 +7832,13 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceCinder { pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -7850,7 +7850,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceConfigMa pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceConfigMapItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7860,13 +7860,13 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceConfigMa pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceConfigMapLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceCsi { #[serde(default, skip_serializing_if = "Option::is_none")] pub driver: Option, @@ -7880,13 +7880,13 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -7894,7 +7894,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceDownward pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -7906,7 +7906,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceDownward pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -7914,7 +7914,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceDownward pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -7924,7 +7924,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceDownward pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -7932,13 +7932,13 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEmptyDir pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -7946,7 +7946,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemera pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -7982,7 +7982,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemera pub uid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataCreationTimestamp { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -7990,7 +7990,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemera pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataDeletionTimestamp { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -7998,7 +7998,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemera pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFields { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -8016,13 +8016,13 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemera pub time: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFieldsFieldsV1 { #[serde(default, skip_serializing_if = "Option::is_none", rename = "Raw")] pub raw: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFieldsTime { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -8030,7 +8030,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemera pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataOwnerReferences { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -8046,7 +8046,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemera pub uid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -8066,7 +8066,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemera pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -8076,7 +8076,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemera pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -8086,7 +8086,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemera pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -8094,19 +8094,19 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemera pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResourcesLimits { #[serde(default, skip_serializing_if = "Option::is_none")] pub string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResourcesRequests { #[serde(default, skip_serializing_if = "Option::is_none")] pub string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -8114,7 +8114,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemera pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -8124,7 +8124,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemera pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8138,7 +8138,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceFlexVolume { #[serde(default, skip_serializing_if = "Option::is_none")] pub driver: Option, @@ -8152,13 +8152,13 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceFlexVolu pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -8166,7 +8166,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceFlocker pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8178,7 +8178,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceGcePersi pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -8188,7 +8188,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceGitRepo pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceGlusterfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub endpoints: Option, @@ -8198,7 +8198,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceGlusterf pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceHostPath { #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, @@ -8206,7 +8206,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceHostPath pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -8232,13 +8232,13 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceIscsi { pub target_portal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceNfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, @@ -8248,7 +8248,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceNfs { pub server: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourcePersistentVolumeClaim { #[serde(default, skip_serializing_if = "Option::is_none", rename = "claimName")] pub claim_name: Option, @@ -8256,7 +8256,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourcePersiste pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourcePhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8264,7 +8264,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourcePhotonPe pub pd_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourcePortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8274,7 +8274,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourcePortworx pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -8282,7 +8282,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjecte pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -8294,7 +8294,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjecte pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -8304,7 +8304,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjecte pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjectedSourcesConfigMapItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -8314,19 +8314,19 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjecte pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjectedSourcesConfigMapLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -8338,7 +8338,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjecte pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -8346,7 +8346,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjecte pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -8356,7 +8356,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjecte pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -8366,7 +8366,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjecte pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjectedSourcesSecretItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -8376,13 +8376,13 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjecte pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjectedSourcesSecretLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -8392,7 +8392,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjecte pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -8408,7 +8408,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceQuobyte pub volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8428,13 +8428,13 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8458,13 +8458,13 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceScaleIo pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -8476,7 +8476,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceSecretItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -8486,7 +8486,7 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceSecretIt pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8500,13 +8500,13 @@ pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceStorageo pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8551,7 +8551,7 @@ pub struct IstioControlPlaneSidecarInjectorService { pub r#type: IstioControlPlaneSidecarInjectorServiceType, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorServiceMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -8559,7 +8559,7 @@ pub struct IstioControlPlaneSidecarInjectorServiceMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorServicePorts { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -8572,13 +8572,13 @@ pub struct IstioControlPlaneSidecarInjectorServicePorts { pub target_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorServiceSessionAffinityConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] pub client_ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorServiceSessionAffinityConfigClientIp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] pub timeout_seconds: Option, @@ -8592,7 +8592,7 @@ pub enum IstioControlPlaneSidecarInjectorServiceType { LoadBalancer, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorTemplates { #[serde(default, skip_serializing_if = "Option::is_none", rename = "customTemplates")] pub custom_templates: Option>, @@ -8602,7 +8602,7 @@ pub struct IstioControlPlaneSidecarInjectorTemplates { pub sidecar: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneSidecarInjectorTemplatesCustomTemplates { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -8610,13 +8610,13 @@ pub struct IstioControlPlaneSidecarInjectorTemplatesCustomTemplates { pub template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneTelemetryV2 { #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneTracer { #[serde(default, skip_serializing_if = "Option::is_none", rename = "customTags")] pub custom_tags: Option>, @@ -8638,7 +8638,7 @@ pub struct IstioControlPlaneTracer { pub zipkin: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneTracerCustomTags { #[serde(default, skip_serializing_if = "Option::is_none")] pub environment: Option, @@ -8648,7 +8648,7 @@ pub struct IstioControlPlaneTracerCustomTags { pub literal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneTracerCustomTagsEnvironment { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultValue")] pub default_value: Option, @@ -8656,7 +8656,7 @@ pub struct IstioControlPlaneTracerCustomTagsEnvironment { pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneTracerCustomTagsHeader { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultValue")] pub default_value: Option, @@ -8664,19 +8664,19 @@ pub struct IstioControlPlaneTracerCustomTagsHeader { pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneTracerCustomTagsLiteral { #[serde(default, skip_serializing_if = "Option::is_none")] pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneTracerDatadog { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneTracerLightstep { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessToken")] pub access_token: Option, @@ -8684,7 +8684,7 @@ pub struct IstioControlPlaneTracerLightstep { pub address: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneTracerOpenCensusAgent { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -8692,7 +8692,7 @@ pub struct IstioControlPlaneTracerOpenCensusAgent { pub context: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneTracerStackdriver { #[serde(default, skip_serializing_if = "Option::is_none")] pub debug: Option, @@ -8735,13 +8735,13 @@ pub enum IstioControlPlaneTracerTlsSettingsMode { IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneTracerZipkin { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "caRootCertificate")] pub ca_root_certificate: Option, @@ -8765,7 +8765,7 @@ pub struct IstioControlPlaneStatus { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusChecksums { #[serde(default, skip_serializing_if = "Option::is_none", rename = "meshConfig")] pub mesh_config: Option, @@ -8773,7 +8773,7 @@ pub struct IstioControlPlaneStatusChecksums { pub sidecar_injector: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessLogEncoding")] pub access_log_encoding: Option, @@ -8869,7 +8869,7 @@ pub enum IstioControlPlaneStatusMeshConfigAccessLogEncoding { Json, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigCa { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -8912,7 +8912,7 @@ pub enum IstioControlPlaneStatusMeshConfigCaTlsSettingsMode { IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigCaCertificates { #[serde(default, skip_serializing_if = "Option::is_none", rename = "certSigners")] pub cert_signers: Option>, @@ -8924,7 +8924,7 @@ pub struct IstioControlPlaneStatusMeshConfigCaCertificates { pub trust_domains: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigCertificates { #[serde(default, skip_serializing_if = "Option::is_none", rename = "dnsNames")] pub dns_names: Option>, @@ -8932,7 +8932,7 @@ pub struct IstioControlPlaneStatusMeshConfigCertificates { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigConfigSources { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -8973,7 +8973,7 @@ pub enum IstioControlPlaneStatusMeshConfigConfigSourcesTlsSettingsMode { IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "availabilityZone")] pub availability_zone: Option, @@ -9057,7 +9057,7 @@ pub enum IstioControlPlaneStatusMeshConfigDefaultConfigControlPlaneAuthPolicy { Inherit, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigEnvoyAccessLogService { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -9067,7 +9067,7 @@ pub struct IstioControlPlaneStatusMeshConfigDefaultConfigEnvoyAccessLogService { pub tls_settings: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigEnvoyAccessLogServiceTcpKeepalive { #[serde(default, skip_serializing_if = "Option::is_none")] pub interval: Option, @@ -9108,7 +9108,7 @@ pub enum IstioControlPlaneStatusMeshConfigDefaultConfigEnvoyAccessLogServiceTlsS IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigEnvoyMetricsService { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -9118,7 +9118,7 @@ pub struct IstioControlPlaneStatusMeshConfigDefaultConfigEnvoyMetricsService { pub tls_settings: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigEnvoyMetricsServiceTcpKeepalive { #[serde(default, skip_serializing_if = "Option::is_none")] pub interval: Option, @@ -9159,7 +9159,7 @@ pub enum IstioControlPlaneStatusMeshConfigDefaultConfigEnvoyMetricsServiceTlsSet IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigGatewayTopology { #[serde(default, skip_serializing_if = "Option::is_none", rename = "forwardClientCertDetails")] pub forward_client_cert_details: Option, @@ -9183,7 +9183,7 @@ pub enum IstioControlPlaneStatusMeshConfigDefaultConfigGatewayTopologyForwardCli AlwaysForwardOnly, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigImage { #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageType")] pub image_type: Option, @@ -9199,7 +9199,7 @@ pub enum IstioControlPlaneStatusMeshConfigDefaultConfigInterceptionMode { None, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigPrivateKeyProvider { #[serde(default, skip_serializing_if = "Option::is_none")] pub cryptomb: Option, @@ -9207,19 +9207,19 @@ pub struct IstioControlPlaneStatusMeshConfigDefaultConfigPrivateKeyProvider { pub qat: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigPrivateKeyProviderCryptomb { #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollDelay")] pub poll_delay: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigPrivateKeyProviderQat { #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollDelay")] pub poll_delay: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigProxyStatsMatcher { #[serde(default, skip_serializing_if = "Option::is_none", rename = "inclusionPrefixes")] pub inclusion_prefixes: Option>, @@ -9229,7 +9229,7 @@ pub struct IstioControlPlaneStatusMeshConfigDefaultConfigProxyStatsMatcher { pub inclusion_suffixes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -9249,13 +9249,13 @@ pub struct IstioControlPlaneStatusMeshConfigDefaultConfigReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -9268,7 +9268,7 @@ pub struct IstioControlPlaneStatusMeshConfigDefaultConfigReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigReadinessProbeHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -9276,14 +9276,14 @@ pub struct IstioControlPlaneStatusMeshConfigDefaultConfigReadinessProbeHttpGetHt pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigSds { #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, @@ -9291,7 +9291,7 @@ pub struct IstioControlPlaneStatusMeshConfigDefaultConfigSds { pub k8s_sa_jwt_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigTracing { #[serde(default, skip_serializing_if = "Option::is_none", rename = "customTags")] pub custom_tags: Option>, @@ -9313,7 +9313,7 @@ pub struct IstioControlPlaneStatusMeshConfigDefaultConfigTracing { pub zipkin: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigTracingCustomTags { #[serde(default, skip_serializing_if = "Option::is_none")] pub environment: Option, @@ -9323,7 +9323,7 @@ pub struct IstioControlPlaneStatusMeshConfigDefaultConfigTracingCustomTags { pub literal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigTracingCustomTagsEnvironment { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultValue")] pub default_value: Option, @@ -9331,7 +9331,7 @@ pub struct IstioControlPlaneStatusMeshConfigDefaultConfigTracingCustomTagsEnviro pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigTracingCustomTagsHeader { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultValue")] pub default_value: Option, @@ -9339,19 +9339,19 @@ pub struct IstioControlPlaneStatusMeshConfigDefaultConfigTracingCustomTagsHeader pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigTracingCustomTagsLiteral { #[serde(default, skip_serializing_if = "Option::is_none")] pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigTracingDatadog { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigTracingLightstep { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessToken")] pub access_token: Option, @@ -9359,7 +9359,7 @@ pub struct IstioControlPlaneStatusMeshConfigDefaultConfigTracingLightstep { pub address: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigTracingOpenCensusAgent { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -9367,7 +9367,7 @@ pub struct IstioControlPlaneStatusMeshConfigDefaultConfigTracingOpenCensusAgent pub context: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigTracingStackdriver { #[serde(default, skip_serializing_if = "Option::is_none")] pub debug: Option, @@ -9410,7 +9410,7 @@ pub enum IstioControlPlaneStatusMeshConfigDefaultConfigTracingTlsSettingsMode { IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultConfigTracingZipkin { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -9426,7 +9426,7 @@ pub enum IstioControlPlaneStatusMeshConfigDefaultConfigTracingServiceName { CanonicalNameAndNamespace, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultHttpRetryPolicy { pub attempts: i32, #[serde(default, skip_serializing_if = "Option::is_none", rename = "perTryTimeout")] @@ -9437,7 +9437,7 @@ pub struct IstioControlPlaneStatusMeshConfigDefaultHttpRetryPolicy { pub retry_remote_localities: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDefaultProviders { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessLogging")] pub access_logging: Option>, @@ -9447,7 +9447,7 @@ pub struct IstioControlPlaneStatusMeshConfigDefaultProviders { pub tracing: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDiscoverySelectors { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -9455,7 +9455,7 @@ pub struct IstioControlPlaneStatusMeshConfigDiscoverySelectors { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigDiscoverySelectorsMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -9465,7 +9465,7 @@ pub struct IstioControlPlaneStatusMeshConfigDiscoverySelectorsMatchExpressions { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigExtensionProviders { #[serde(default, skip_serializing_if = "Option::is_none")] pub datadog: Option, @@ -9499,7 +9499,7 @@ pub struct IstioControlPlaneStatusMeshConfigExtensionProviders { pub zipkin: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersDatadog { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxTagLength")] pub max_tag_length: Option, @@ -9509,7 +9509,7 @@ pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersDatadog { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyExtAuthzGrpc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "failOpen")] pub fail_open: Option, @@ -9525,7 +9525,7 @@ pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyExtAuthzGrpc pub timeout: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyExtAuthzGrpcIncludeRequestBodyInCheck { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPartialMessage")] pub allow_partial_message: Option, @@ -9535,7 +9535,7 @@ pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyExtAuthzGrpcI pub pack_as_bytes: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyExtAuthzHttp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "failOpen")] pub fail_open: Option, @@ -9565,7 +9565,7 @@ pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyExtAuthzHttp pub timeout: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyExtAuthzHttpIncludeRequestBodyInCheck { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPartialMessage")] pub allow_partial_message: Option, @@ -9575,7 +9575,7 @@ pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyExtAuthzHttpI pub pack_as_bytes: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyFileAccessLog { #[serde(default, skip_serializing_if = "Option::is_none", rename = "logFormat")] pub log_format: Option, @@ -9583,7 +9583,7 @@ pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyFileAccessLog pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyFileAccessLogLogFormat { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option, @@ -9591,11 +9591,11 @@ pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyFileAccessLog pub text: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyFileAccessLogLogFormatLabels { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyHttpAls { #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalRequestHeadersToLog")] pub additional_request_headers_to_log: Option>, @@ -9613,7 +9613,7 @@ pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyHttpAls { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyOtelAls { #[serde(default, skip_serializing_if = "Option::is_none", rename = "logFormat")] pub log_format: Option, @@ -9625,7 +9625,7 @@ pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyOtelAls { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyOtelAlsLogFormat { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option, @@ -9633,11 +9633,11 @@ pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyOtelAlsLogFor pub text: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyOtelAlsLogFormatLabels { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyTcpAls { #[serde(default, skip_serializing_if = "Option::is_none", rename = "filterStateObjectsToLog")] pub filter_state_objects_to_log: Option>, @@ -9649,7 +9649,7 @@ pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyTcpAls { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersLightstep { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessToken")] pub access_token: Option, @@ -9661,7 +9661,7 @@ pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersLightstep { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersOpencensus { #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option>, @@ -9673,7 +9673,7 @@ pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersOpencensus { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersOpentelemetry { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxTagLength")] pub max_tag_length: Option, @@ -9683,11 +9683,11 @@ pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersOpentelemetry { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersPrometheus { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersSkywalking { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessToken")] pub access_token: Option, @@ -9697,7 +9697,7 @@ pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersSkywalking { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersStackdriver { #[serde(default, skip_serializing_if = "Option::is_none")] pub debug: Option, @@ -9713,13 +9713,13 @@ pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersStackdriver { pub max_tag_length: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersStackdriverLogging { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigExtensionProvidersZipkin { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxTagLength")] pub max_tag_length: Option, @@ -9749,7 +9749,7 @@ pub enum IstioControlPlaneStatusMeshConfigIngressControllerMode { Strict, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigLocalityLbSetting { #[serde(default, skip_serializing_if = "Option::is_none")] pub distribute: Option>, @@ -9761,7 +9761,7 @@ pub struct IstioControlPlaneStatusMeshConfigLocalityLbSetting { pub failover_priority: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigLocalityLbSettingDistribute { #[serde(default, skip_serializing_if = "Option::is_none")] pub from: Option, @@ -9769,7 +9769,7 @@ pub struct IstioControlPlaneStatusMeshConfigLocalityLbSettingDistribute { pub to: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigLocalityLbSettingFailover { #[serde(default, skip_serializing_if = "Option::is_none")] pub from: Option, @@ -9777,7 +9777,7 @@ pub struct IstioControlPlaneStatusMeshConfigLocalityLbSettingFailover { pub to: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigMeshMtls { #[serde(default, skip_serializing_if = "Option::is_none", rename = "minProtocolVersion")] pub min_protocol_version: Option, @@ -9793,7 +9793,7 @@ pub enum IstioControlPlaneStatusMeshConfigMeshMtlsMinProtocolVersion { Tlsv13, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigOutboundTrafficPolicy { #[serde(default, skip_serializing_if = "Option::is_none")] pub mode: Option, @@ -9807,7 +9807,7 @@ pub enum IstioControlPlaneStatusMeshConfigOutboundTrafficPolicyMode { AllowAny, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigPathNormalization { #[serde(default, skip_serializing_if = "Option::is_none")] pub normalization: Option, @@ -9827,7 +9827,7 @@ pub enum IstioControlPlaneStatusMeshConfigPathNormalizationNormalization { DecodeAndMergeSlashes, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigServiceSettings { #[serde(default, skip_serializing_if = "Option::is_none")] pub hosts: Option>, @@ -9835,13 +9835,13 @@ pub struct IstioControlPlaneStatusMeshConfigServiceSettings { pub settings: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigServiceSettingsSettings { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterLocal")] pub cluster_local: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioControlPlaneStatusMeshConfigTcpKeepalive { #[serde(default, skip_serializing_if = "Option::is_none")] pub interval: Option, diff --git a/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/istiomeshes.rs b/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/istiomeshes.rs index 8ef0d7997..6f0d84db7 100644 --- a/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/istiomeshes.rs +++ b/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/istiomeshes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/istiomeshes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/istiomeshes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -10,18 +10,19 @@ mod prelude { } use self::prelude::*; -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "servicemesh.cisco.com", version = "v1alpha1", kind = "IstioMesh", plural = "istiomeshes")] #[kube(namespaced)] #[kube(status = "IstioMeshStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct IstioMeshSpec { #[serde(default, skip_serializing_if = "Option::is_none")] pub config: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessLogEncoding")] pub access_log_encoding: Option, @@ -117,7 +118,7 @@ pub enum IstioMeshConfigAccessLogEncoding { Json, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigCa { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -160,7 +161,7 @@ pub enum IstioMeshConfigCaTlsSettingsMode { IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigCaCertificates { #[serde(default, skip_serializing_if = "Option::is_none", rename = "certSigners")] pub cert_signers: Option>, @@ -172,7 +173,7 @@ pub struct IstioMeshConfigCaCertificates { pub trust_domains: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigCertificates { #[serde(default, skip_serializing_if = "Option::is_none", rename = "dnsNames")] pub dns_names: Option>, @@ -180,7 +181,7 @@ pub struct IstioMeshConfigCertificates { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigConfigSources { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -221,7 +222,7 @@ pub enum IstioMeshConfigConfigSourcesTlsSettingsMode { IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "availabilityZone")] pub availability_zone: Option, @@ -305,7 +306,7 @@ pub enum IstioMeshConfigDefaultConfigControlPlaneAuthPolicy { Inherit, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigEnvoyAccessLogService { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -315,7 +316,7 @@ pub struct IstioMeshConfigDefaultConfigEnvoyAccessLogService { pub tls_settings: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigEnvoyAccessLogServiceTcpKeepalive { #[serde(default, skip_serializing_if = "Option::is_none")] pub interval: Option, @@ -356,7 +357,7 @@ pub enum IstioMeshConfigDefaultConfigEnvoyAccessLogServiceTlsSettingsMode { IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigEnvoyMetricsService { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -366,7 +367,7 @@ pub struct IstioMeshConfigDefaultConfigEnvoyMetricsService { pub tls_settings: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigEnvoyMetricsServiceTcpKeepalive { #[serde(default, skip_serializing_if = "Option::is_none")] pub interval: Option, @@ -407,7 +408,7 @@ pub enum IstioMeshConfigDefaultConfigEnvoyMetricsServiceTlsSettingsMode { IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigGatewayTopology { #[serde(default, skip_serializing_if = "Option::is_none", rename = "forwardClientCertDetails")] pub forward_client_cert_details: Option, @@ -431,7 +432,7 @@ pub enum IstioMeshConfigDefaultConfigGatewayTopologyForwardClientCertDetails { AlwaysForwardOnly, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigImage { #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageType")] pub image_type: Option, @@ -447,7 +448,7 @@ pub enum IstioMeshConfigDefaultConfigInterceptionMode { None, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigPrivateKeyProvider { #[serde(default, skip_serializing_if = "Option::is_none")] pub cryptomb: Option, @@ -455,19 +456,19 @@ pub struct IstioMeshConfigDefaultConfigPrivateKeyProvider { pub qat: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigPrivateKeyProviderCryptomb { #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollDelay")] pub poll_delay: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigPrivateKeyProviderQat { #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollDelay")] pub poll_delay: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigProxyStatsMatcher { #[serde(default, skip_serializing_if = "Option::is_none", rename = "inclusionPrefixes")] pub inclusion_prefixes: Option>, @@ -477,7 +478,7 @@ pub struct IstioMeshConfigDefaultConfigProxyStatsMatcher { pub inclusion_suffixes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -497,13 +498,13 @@ pub struct IstioMeshConfigDefaultConfigReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -516,7 +517,7 @@ pub struct IstioMeshConfigDefaultConfigReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigReadinessProbeHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -524,14 +525,14 @@ pub struct IstioMeshConfigDefaultConfigReadinessProbeHttpGetHttpHeaders { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigSds { #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, @@ -539,7 +540,7 @@ pub struct IstioMeshConfigDefaultConfigSds { pub k8s_sa_jwt_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigTracing { #[serde(default, skip_serializing_if = "Option::is_none", rename = "customTags")] pub custom_tags: Option>, @@ -561,7 +562,7 @@ pub struct IstioMeshConfigDefaultConfigTracing { pub zipkin: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigTracingCustomTags { #[serde(default, skip_serializing_if = "Option::is_none")] pub environment: Option, @@ -571,7 +572,7 @@ pub struct IstioMeshConfigDefaultConfigTracingCustomTags { pub literal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigTracingCustomTagsEnvironment { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultValue")] pub default_value: Option, @@ -579,7 +580,7 @@ pub struct IstioMeshConfigDefaultConfigTracingCustomTagsEnvironment { pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigTracingCustomTagsHeader { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultValue")] pub default_value: Option, @@ -587,19 +588,19 @@ pub struct IstioMeshConfigDefaultConfigTracingCustomTagsHeader { pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigTracingCustomTagsLiteral { #[serde(default, skip_serializing_if = "Option::is_none")] pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigTracingDatadog { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigTracingLightstep { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessToken")] pub access_token: Option, @@ -607,7 +608,7 @@ pub struct IstioMeshConfigDefaultConfigTracingLightstep { pub address: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigTracingOpenCensusAgent { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -615,7 +616,7 @@ pub struct IstioMeshConfigDefaultConfigTracingOpenCensusAgent { pub context: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigTracingStackdriver { #[serde(default, skip_serializing_if = "Option::is_none")] pub debug: Option, @@ -658,7 +659,7 @@ pub enum IstioMeshConfigDefaultConfigTracingTlsSettingsMode { IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultConfigTracingZipkin { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -674,7 +675,7 @@ pub enum IstioMeshConfigDefaultConfigTracingServiceName { CanonicalNameAndNamespace, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultHttpRetryPolicy { pub attempts: i32, #[serde(default, skip_serializing_if = "Option::is_none", rename = "perTryTimeout")] @@ -685,7 +686,7 @@ pub struct IstioMeshConfigDefaultHttpRetryPolicy { pub retry_remote_localities: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDefaultProviders { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessLogging")] pub access_logging: Option>, @@ -695,7 +696,7 @@ pub struct IstioMeshConfigDefaultProviders { pub tracing: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDiscoverySelectors { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -703,7 +704,7 @@ pub struct IstioMeshConfigDiscoverySelectors { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigDiscoverySelectorsMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -713,7 +714,7 @@ pub struct IstioMeshConfigDiscoverySelectorsMatchExpressions { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigExtensionProviders { #[serde(default, skip_serializing_if = "Option::is_none")] pub datadog: Option, @@ -747,7 +748,7 @@ pub struct IstioMeshConfigExtensionProviders { pub zipkin: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigExtensionProvidersDatadog { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxTagLength")] pub max_tag_length: Option, @@ -757,7 +758,7 @@ pub struct IstioMeshConfigExtensionProvidersDatadog { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigExtensionProvidersEnvoyExtAuthzGrpc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "failOpen")] pub fail_open: Option, @@ -773,7 +774,7 @@ pub struct IstioMeshConfigExtensionProvidersEnvoyExtAuthzGrpc { pub timeout: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigExtensionProvidersEnvoyExtAuthzGrpcIncludeRequestBodyInCheck { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPartialMessage")] pub allow_partial_message: Option, @@ -783,7 +784,7 @@ pub struct IstioMeshConfigExtensionProvidersEnvoyExtAuthzGrpcIncludeRequestBodyI pub pack_as_bytes: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigExtensionProvidersEnvoyExtAuthzHttp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "failOpen")] pub fail_open: Option, @@ -813,7 +814,7 @@ pub struct IstioMeshConfigExtensionProvidersEnvoyExtAuthzHttp { pub timeout: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigExtensionProvidersEnvoyExtAuthzHttpIncludeRequestBodyInCheck { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPartialMessage")] pub allow_partial_message: Option, @@ -823,7 +824,7 @@ pub struct IstioMeshConfigExtensionProvidersEnvoyExtAuthzHttpIncludeRequestBodyI pub pack_as_bytes: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigExtensionProvidersEnvoyFileAccessLog { #[serde(default, skip_serializing_if = "Option::is_none", rename = "logFormat")] pub log_format: Option, @@ -831,7 +832,7 @@ pub struct IstioMeshConfigExtensionProvidersEnvoyFileAccessLog { pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigExtensionProvidersEnvoyFileAccessLogLogFormat { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option, @@ -839,11 +840,11 @@ pub struct IstioMeshConfigExtensionProvidersEnvoyFileAccessLogLogFormat { pub text: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigExtensionProvidersEnvoyFileAccessLogLogFormatLabels { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigExtensionProvidersEnvoyHttpAls { #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalRequestHeadersToLog")] pub additional_request_headers_to_log: Option>, @@ -861,7 +862,7 @@ pub struct IstioMeshConfigExtensionProvidersEnvoyHttpAls { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigExtensionProvidersEnvoyOtelAls { #[serde(default, skip_serializing_if = "Option::is_none", rename = "logFormat")] pub log_format: Option, @@ -873,7 +874,7 @@ pub struct IstioMeshConfigExtensionProvidersEnvoyOtelAls { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigExtensionProvidersEnvoyOtelAlsLogFormat { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option, @@ -881,11 +882,11 @@ pub struct IstioMeshConfigExtensionProvidersEnvoyOtelAlsLogFormat { pub text: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigExtensionProvidersEnvoyOtelAlsLogFormatLabels { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigExtensionProvidersEnvoyTcpAls { #[serde(default, skip_serializing_if = "Option::is_none", rename = "filterStateObjectsToLog")] pub filter_state_objects_to_log: Option>, @@ -897,7 +898,7 @@ pub struct IstioMeshConfigExtensionProvidersEnvoyTcpAls { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigExtensionProvidersLightstep { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessToken")] pub access_token: Option, @@ -909,7 +910,7 @@ pub struct IstioMeshConfigExtensionProvidersLightstep { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigExtensionProvidersOpencensus { #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option>, @@ -921,7 +922,7 @@ pub struct IstioMeshConfigExtensionProvidersOpencensus { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigExtensionProvidersOpentelemetry { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxTagLength")] pub max_tag_length: Option, @@ -931,11 +932,11 @@ pub struct IstioMeshConfigExtensionProvidersOpentelemetry { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigExtensionProvidersPrometheus { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigExtensionProvidersSkywalking { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessToken")] pub access_token: Option, @@ -945,7 +946,7 @@ pub struct IstioMeshConfigExtensionProvidersSkywalking { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigExtensionProvidersStackdriver { #[serde(default, skip_serializing_if = "Option::is_none")] pub debug: Option, @@ -961,13 +962,13 @@ pub struct IstioMeshConfigExtensionProvidersStackdriver { pub max_tag_length: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigExtensionProvidersStackdriverLogging { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigExtensionProvidersZipkin { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxTagLength")] pub max_tag_length: Option, @@ -997,7 +998,7 @@ pub enum IstioMeshConfigIngressControllerMode { Strict, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigLocalityLbSetting { #[serde(default, skip_serializing_if = "Option::is_none")] pub distribute: Option>, @@ -1009,7 +1010,7 @@ pub struct IstioMeshConfigLocalityLbSetting { pub failover_priority: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigLocalityLbSettingDistribute { #[serde(default, skip_serializing_if = "Option::is_none")] pub from: Option, @@ -1017,7 +1018,7 @@ pub struct IstioMeshConfigLocalityLbSettingDistribute { pub to: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigLocalityLbSettingFailover { #[serde(default, skip_serializing_if = "Option::is_none")] pub from: Option, @@ -1025,7 +1026,7 @@ pub struct IstioMeshConfigLocalityLbSettingFailover { pub to: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigMeshMtls { #[serde(default, skip_serializing_if = "Option::is_none", rename = "minProtocolVersion")] pub min_protocol_version: Option, @@ -1041,7 +1042,7 @@ pub enum IstioMeshConfigMeshMtlsMinProtocolVersion { Tlsv13, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigOutboundTrafficPolicy { #[serde(default, skip_serializing_if = "Option::is_none")] pub mode: Option, @@ -1055,7 +1056,7 @@ pub enum IstioMeshConfigOutboundTrafficPolicyMode { AllowAny, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigPathNormalization { #[serde(default, skip_serializing_if = "Option::is_none")] pub normalization: Option, @@ -1075,7 +1076,7 @@ pub enum IstioMeshConfigPathNormalizationNormalization { DecodeAndMergeSlashes, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigServiceSettings { #[serde(default, skip_serializing_if = "Option::is_none")] pub hosts: Option>, @@ -1083,13 +1084,13 @@ pub struct IstioMeshConfigServiceSettings { pub settings: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigServiceSettingsSettings { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterLocal")] pub cluster_local: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshConfigTcpKeepalive { #[serde(default, skip_serializing_if = "Option::is_none")] pub interval: Option, @@ -1099,7 +1100,7 @@ pub struct IstioMeshConfigTcpKeepalive { pub time: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "errorMessage")] pub error_message: Option, diff --git a/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/istiomeshgateways.rs b/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/istiomeshgateways.rs index 25a5aa6d2..18f86f17e 100644 --- a/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/istiomeshgateways.rs +++ b/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/istiomeshgateways.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/istiomeshgateways.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/istiomeshgateways.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -31,7 +31,7 @@ pub struct IstioMeshGatewaySpec { pub r#type: IstioMeshGatewayType, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeployment { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -77,7 +77,7 @@ pub struct IstioMeshGatewayDeployment { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -87,7 +87,7 @@ pub struct IstioMeshGatewayDeploymentAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -95,7 +95,7 @@ pub struct IstioMeshGatewayDeploymentAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none")] pub preference: Option, @@ -103,7 +103,7 @@ pub struct IstioMeshGatewayDeploymentAffinityNodeAffinityPreferredDuringScheduli pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -111,7 +111,7 @@ pub struct IstioMeshGatewayDeploymentAffinityNodeAffinityPreferredDuringScheduli pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -121,7 +121,7 @@ pub struct IstioMeshGatewayDeploymentAffinityNodeAffinityPreferredDuringScheduli pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -131,13 +131,13 @@ pub struct IstioMeshGatewayDeploymentAffinityNodeAffinityPreferredDuringScheduli pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelectorTerms")] pub node_selector_terms: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -145,7 +145,7 @@ pub struct IstioMeshGatewayDeploymentAffinityNodeAffinityRequiredDuringSchedulin pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -155,7 +155,7 @@ pub struct IstioMeshGatewayDeploymentAffinityNodeAffinityRequiredDuringSchedulin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -165,7 +165,7 @@ pub struct IstioMeshGatewayDeploymentAffinityNodeAffinityRequiredDuringSchedulin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -173,7 +173,7 @@ pub struct IstioMeshGatewayDeploymentAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -181,7 +181,7 @@ pub struct IstioMeshGatewayDeploymentAffinityPodAffinityPreferredDuringSchedulin pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -193,7 +193,7 @@ pub struct IstioMeshGatewayDeploymentAffinityPodAffinityPreferredDuringSchedulin pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -201,7 +201,7 @@ pub struct IstioMeshGatewayDeploymentAffinityPodAffinityPreferredDuringSchedulin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -211,7 +211,7 @@ pub struct IstioMeshGatewayDeploymentAffinityPodAffinityPreferredDuringSchedulin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -219,7 +219,7 @@ pub struct IstioMeshGatewayDeploymentAffinityPodAffinityPreferredDuringSchedulin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -229,7 +229,7 @@ pub struct IstioMeshGatewayDeploymentAffinityPodAffinityPreferredDuringSchedulin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -241,7 +241,7 @@ pub struct IstioMeshGatewayDeploymentAffinityPodAffinityRequiredDuringScheduling pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -249,7 +249,7 @@ pub struct IstioMeshGatewayDeploymentAffinityPodAffinityRequiredDuringScheduling pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -259,7 +259,7 @@ pub struct IstioMeshGatewayDeploymentAffinityPodAffinityRequiredDuringScheduling pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -267,7 +267,7 @@ pub struct IstioMeshGatewayDeploymentAffinityPodAffinityRequiredDuringScheduling pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -277,7 +277,7 @@ pub struct IstioMeshGatewayDeploymentAffinityPodAffinityRequiredDuringScheduling pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -285,7 +285,7 @@ pub struct IstioMeshGatewayDeploymentAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -293,7 +293,7 @@ pub struct IstioMeshGatewayDeploymentAffinityPodAntiAffinityPreferredDuringSched pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -305,7 +305,7 @@ pub struct IstioMeshGatewayDeploymentAffinityPodAntiAffinityPreferredDuringSched pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -313,7 +313,7 @@ pub struct IstioMeshGatewayDeploymentAffinityPodAntiAffinityPreferredDuringSched pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -323,7 +323,7 @@ pub struct IstioMeshGatewayDeploymentAffinityPodAntiAffinityPreferredDuringSched pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -331,7 +331,7 @@ pub struct IstioMeshGatewayDeploymentAffinityPodAntiAffinityPreferredDuringSched pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -341,7 +341,7 @@ pub struct IstioMeshGatewayDeploymentAffinityPodAntiAffinityPreferredDuringSched pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -353,7 +353,7 @@ pub struct IstioMeshGatewayDeploymentAffinityPodAntiAffinityRequiredDuringSchedu pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -361,7 +361,7 @@ pub struct IstioMeshGatewayDeploymentAffinityPodAntiAffinityRequiredDuringSchedu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -371,7 +371,7 @@ pub struct IstioMeshGatewayDeploymentAffinityPodAntiAffinityRequiredDuringSchedu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -379,7 +379,7 @@ pub struct IstioMeshGatewayDeploymentAffinityPodAntiAffinityRequiredDuringSchedu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -389,7 +389,7 @@ pub struct IstioMeshGatewayDeploymentAffinityPodAntiAffinityRequiredDuringSchedu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentDeploymentStrategy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "rollingUpdate")] pub rolling_update: Option, @@ -397,7 +397,7 @@ pub struct IstioMeshGatewayDeploymentDeploymentStrategy { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentDeploymentStrategyRollingUpdate { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxSurge")] pub max_surge: Option, @@ -405,7 +405,7 @@ pub struct IstioMeshGatewayDeploymentDeploymentStrategyRollingUpdate { pub max_unavailable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentEnv { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -415,7 +415,7 @@ pub struct IstioMeshGatewayDeploymentEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -427,7 +427,7 @@ pub struct IstioMeshGatewayDeploymentEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentEnvValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -437,13 +437,13 @@ pub struct IstioMeshGatewayDeploymentEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentEnvValueFromConfigMapKeyRefLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -451,7 +451,7 @@ pub struct IstioMeshGatewayDeploymentEnvValueFromFieldRef { pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -461,7 +461,7 @@ pub struct IstioMeshGatewayDeploymentEnvValueFromResourceFieldRef { pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentEnvValueFromSecretKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -471,19 +471,19 @@ pub struct IstioMeshGatewayDeploymentEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentEnvValueFromSecretKeyRefLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -507,13 +507,13 @@ pub struct IstioMeshGatewayDeploymentLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentLivenessProbeGrpc { #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, @@ -521,7 +521,7 @@ pub struct IstioMeshGatewayDeploymentLivenessProbeGrpc { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -535,7 +535,7 @@ pub struct IstioMeshGatewayDeploymentLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentLivenessProbeHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -543,7 +543,7 @@ pub struct IstioMeshGatewayDeploymentLivenessProbeHttpGetHttpHeaders { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -551,7 +551,7 @@ pub struct IstioMeshGatewayDeploymentLivenessProbeTcpSocket { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -559,7 +559,7 @@ pub struct IstioMeshGatewayDeploymentMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentPodDisruptionBudget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] pub max_unavailable: Option, @@ -567,7 +567,7 @@ pub struct IstioMeshGatewayDeploymentPodDisruptionBudget { pub min_available: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentPodMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -575,7 +575,7 @@ pub struct IstioMeshGatewayDeploymentPodMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentPodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -599,7 +599,7 @@ pub struct IstioMeshGatewayDeploymentPodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentPodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -611,7 +611,7 @@ pub struct IstioMeshGatewayDeploymentPodSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentPodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -619,7 +619,7 @@ pub struct IstioMeshGatewayDeploymentPodSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentPodSecurityContextSysctls { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -627,7 +627,7 @@ pub struct IstioMeshGatewayDeploymentPodSecurityContextSysctls { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentPodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -639,7 +639,7 @@ pub struct IstioMeshGatewayDeploymentPodSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -663,13 +663,13 @@ pub struct IstioMeshGatewayDeploymentReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentReadinessProbeGrpc { #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, @@ -677,7 +677,7 @@ pub struct IstioMeshGatewayDeploymentReadinessProbeGrpc { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -691,7 +691,7 @@ pub struct IstioMeshGatewayDeploymentReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentReadinessProbeHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -699,7 +699,7 @@ pub struct IstioMeshGatewayDeploymentReadinessProbeHttpGetHttpHeaders { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -707,7 +707,7 @@ pub struct IstioMeshGatewayDeploymentReadinessProbeTcpSocket { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentReplicas { #[serde(default, skip_serializing_if = "Option::is_none")] pub count: Option, @@ -719,7 +719,7 @@ pub struct IstioMeshGatewayDeploymentReplicas { pub target_cpu_utilization_percentage: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -727,7 +727,7 @@ pub struct IstioMeshGatewayDeploymentResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -753,7 +753,7 @@ pub struct IstioMeshGatewayDeploymentSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -761,7 +761,7 @@ pub struct IstioMeshGatewayDeploymentSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -773,7 +773,7 @@ pub struct IstioMeshGatewayDeploymentSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -781,7 +781,7 @@ pub struct IstioMeshGatewayDeploymentSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -793,7 +793,7 @@ pub struct IstioMeshGatewayDeploymentSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -807,7 +807,7 @@ pub struct IstioMeshGatewayDeploymentTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -819,7 +819,7 @@ pub struct IstioMeshGatewayDeploymentTopologySpreadConstraints { pub when_unsatisfiable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -827,7 +827,7 @@ pub struct IstioMeshGatewayDeploymentTopologySpreadConstraintsLabelSelector { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentTopologySpreadConstraintsLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -837,7 +837,7 @@ pub struct IstioMeshGatewayDeploymentTopologySpreadConstraintsLabelSelectorMatch pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumeMounts { #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, @@ -853,7 +853,7 @@ pub struct IstioMeshGatewayDeploymentVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumes { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -861,7 +861,7 @@ pub struct IstioMeshGatewayDeploymentVolumes { pub volume_source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -923,7 +923,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSource { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -935,7 +935,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceAwsElasticBlockStore { pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -951,7 +951,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -961,7 +961,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceAzureFile { pub share_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceCephfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub monitors: Option>, @@ -977,13 +977,13 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -995,13 +995,13 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceCinder { pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1013,7 +1013,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceConfigMapItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1023,13 +1023,13 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceConfigMapItems { pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceConfigMapLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceCsi { #[serde(default, skip_serializing_if = "Option::is_none")] pub driver: Option, @@ -1043,13 +1043,13 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1057,7 +1057,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -1069,7 +1069,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1077,7 +1077,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceDownwardApiItemsFieldRef pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1087,7 +1087,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceDownwardApiItemsResource pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -1095,13 +1095,13 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -1109,7 +1109,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemp pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -1145,7 +1145,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemp pub uid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataCreationTimestamp { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -1153,7 +1153,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemp pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataDeletionTimestamp { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -1161,7 +1161,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemp pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFields { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1179,13 +1179,13 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemp pub time: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFieldsFieldsV1 { #[serde(default, skip_serializing_if = "Option::is_none", rename = "Raw")] pub raw: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFieldsTime { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -1193,7 +1193,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemp pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataOwnerReferences { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1209,7 +1209,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemp pub uid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -1229,7 +1229,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemp pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -1239,7 +1239,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemp pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -1249,7 +1249,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemp pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -1257,19 +1257,19 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemp pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResourcesLimits { #[serde(default, skip_serializing_if = "Option::is_none")] pub string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResourcesRequests { #[serde(default, skip_serializing_if = "Option::is_none")] pub string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1277,7 +1277,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemp pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1287,7 +1287,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemp pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1301,7 +1301,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceFlexVolume { #[serde(default, skip_serializing_if = "Option::is_none")] pub driver: Option, @@ -1315,13 +1315,13 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -1329,7 +1329,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1341,7 +1341,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceGcePersistentDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -1351,7 +1351,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceGlusterfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub endpoints: Option, @@ -1361,7 +1361,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceHostPath { #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, @@ -1369,7 +1369,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceHostPath { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -1395,13 +1395,13 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceIscsi { pub target_portal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceNfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, @@ -1411,7 +1411,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceNfs { pub server: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourcePersistentVolumeClaim { #[serde(default, skip_serializing_if = "Option::is_none", rename = "claimName")] pub claim_name: Option, @@ -1419,7 +1419,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourcePersistentVolumeClaim { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourcePhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1427,7 +1427,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourcePhotonPersistentDisk { pub pd_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourcePortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1437,7 +1437,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourcePortworxVolume { pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1445,7 +1445,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -1457,7 +1457,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceProjectedSources { pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -1467,7 +1467,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceProjectedSourcesConfigMa pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceProjectedSourcesConfigMapItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1477,19 +1477,19 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceProjectedSourcesConfigMa pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceProjectedSourcesConfigMapLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -1501,7 +1501,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceProjectedSourcesDownward pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1509,7 +1509,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceProjectedSourcesDownward pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1519,7 +1519,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceProjectedSourcesDownward pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -1529,7 +1529,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceProjectedSourcesSecret { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceProjectedSourcesSecretItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1539,13 +1539,13 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceProjectedSourcesSecretIt pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceProjectedSourcesSecretLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -1555,7 +1555,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceProjectedSourcesServiceA pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -1571,7 +1571,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceQuobyte { pub volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1591,13 +1591,13 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1621,13 +1621,13 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1639,7 +1639,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceSecretItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1649,7 +1649,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceSecretItems { pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1663,13 +1663,13 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1681,7 +1681,7 @@ pub struct IstioMeshGatewayDeploymentVolumesVolumeSourceVsphereVolume { pub volume_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayIstioControlPlane { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1689,7 +1689,7 @@ pub struct IstioMeshGatewayIstioControlPlane { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayK8sResourceOverlays { #[serde(default, skip_serializing_if = "Option::is_none", rename = "groupVersionKind")] pub group_version_kind: Option, @@ -1699,7 +1699,7 @@ pub struct IstioMeshGatewayK8sResourceOverlays { pub patches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayK8sResourceOverlaysGroupVersionKind { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -1709,7 +1709,7 @@ pub struct IstioMeshGatewayK8sResourceOverlaysGroupVersionKind { pub version: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayK8sResourceOverlaysObjectKey { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1717,7 +1717,7 @@ pub struct IstioMeshGatewayK8sResourceOverlaysObjectKey { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayK8sResourceOverlaysPatches { #[serde(default, skip_serializing_if = "Option::is_none", rename = "parseValue")] pub parse_value: Option, @@ -1772,7 +1772,7 @@ pub struct IstioMeshGatewayService { pub r#type: IstioMeshGatewayServiceType, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayServiceMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -1780,7 +1780,7 @@ pub struct IstioMeshGatewayServiceMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayServicePorts { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1793,13 +1793,13 @@ pub struct IstioMeshGatewayServicePorts { pub target_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayServiceSessionAffinityConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] pub client_ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayServiceSessionAffinityConfigClientIp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] pub timeout_seconds: Option, @@ -1821,7 +1821,7 @@ pub enum IstioMeshGatewayType { Egress, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IstioMeshGatewayStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "ErrorMessage")] pub error_message: Option, diff --git a/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/peeristiocontrolplanes.rs b/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/peeristiocontrolplanes.rs index 02b037d87..4d3615be8 100644 --- a/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/peeristiocontrolplanes.rs +++ b/kube-custom-resources-rs/src/servicemesh_cisco_com/v1alpha1/peeristiocontrolplanes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/peeristiocontrolplanes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/banzaicloud/istio-operator/servicemesh.cisco.com/v1alpha1/peeristiocontrolplanes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -68,7 +68,7 @@ pub struct PeerIstioControlPlaneSpec { pub watch_one_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneContainerImageConfiguration { #[serde(default, skip_serializing_if = "Option::is_none")] pub hub: Option, @@ -87,13 +87,13 @@ pub enum PeerIstioControlPlaneContainerImageConfigurationImagePullPolicy { IfNotPresent, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneContainerImageConfigurationImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneHttpProxyEnvs { #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpProxy")] pub http_proxy: Option, @@ -103,7 +103,7 @@ pub struct PeerIstioControlPlaneHttpProxyEnvs { pub no_proxy: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiod { #[serde(default, skip_serializing_if = "Option::is_none", rename = "certProvider")] pub cert_provider: Option, @@ -133,7 +133,7 @@ pub enum PeerIstioControlPlaneIstiodCertProvider { Istiod, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeployment { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -179,7 +179,7 @@ pub struct PeerIstioControlPlaneIstiodDeployment { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -189,7 +189,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -197,7 +197,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none")] pub preference: Option, @@ -205,7 +205,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityNodeAffinityPreferredDur pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -213,7 +213,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityNodeAffinityPreferredDur pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -223,7 +223,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityNodeAffinityPreferredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -233,13 +233,13 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityNodeAffinityPreferredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelectorTerms")] pub node_selector_terms: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -247,7 +247,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityNodeAffinityRequiredDuri pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -257,7 +257,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityNodeAffinityRequiredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -267,7 +267,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityNodeAffinityRequiredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -275,7 +275,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -283,7 +283,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAffinityPreferredDuri pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -295,7 +295,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAffinityPreferredDuri pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -303,7 +303,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAffinityPreferredDuri pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -313,7 +313,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAffinityPreferredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -321,7 +321,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAffinityPreferredDuri pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -331,7 +331,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAffinityPreferredDuri pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -343,7 +343,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAffinityRequiredDurin pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -351,7 +351,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAffinityRequiredDurin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -361,7 +361,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAffinityRequiredDurin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -369,7 +369,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAffinityRequiredDurin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -379,7 +379,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAffinityRequiredDurin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -387,7 +387,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -395,7 +395,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityPreferred pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -407,7 +407,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityPreferred pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -415,7 +415,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityPreferred pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -425,7 +425,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityPreferred pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -433,7 +433,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityPreferred pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -443,7 +443,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityPreferred pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -455,7 +455,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityRequiredD pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -463,7 +463,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityRequiredD pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -473,7 +473,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityRequiredD pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -481,7 +481,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityRequiredD pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -491,7 +491,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentAffinityPodAntiAffinityRequiredD pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentDeploymentStrategy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "rollingUpdate")] pub rolling_update: Option, @@ -499,7 +499,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentDeploymentStrategy { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentDeploymentStrategyRollingUpdate { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxSurge")] pub max_surge: Option, @@ -507,7 +507,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentDeploymentStrategyRollingUpdate pub max_unavailable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentEnv { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -517,7 +517,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -529,7 +529,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentEnvValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -539,13 +539,13 @@ pub struct PeerIstioControlPlaneIstiodDeploymentEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentEnvValueFromConfigMapKeyRefLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -553,7 +553,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentEnvValueFromFieldRef { pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -563,7 +563,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentEnvValueFromResourceFieldRef { pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentEnvValueFromSecretKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -573,19 +573,19 @@ pub struct PeerIstioControlPlaneIstiodDeploymentEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentEnvValueFromSecretKeyRefLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -609,13 +609,13 @@ pub struct PeerIstioControlPlaneIstiodDeploymentLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentLivenessProbeGrpc { #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, @@ -623,7 +623,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentLivenessProbeGrpc { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -637,7 +637,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentLivenessProbeHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -645,7 +645,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentLivenessProbeHttpGetHttpHeaders pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -653,7 +653,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentLivenessProbeTcpSocket { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -661,7 +661,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentPodDisruptionBudget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] pub max_unavailable: Option, @@ -669,7 +669,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentPodDisruptionBudget { pub min_available: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentPodMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -677,7 +677,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentPodMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentPodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -701,7 +701,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentPodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentPodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -713,7 +713,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentPodSecurityContextSeLinuxOptions pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentPodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -721,7 +721,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentPodSecurityContextSeccompProfile pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentPodSecurityContextSysctls { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -729,7 +729,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentPodSecurityContextSysctls { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentPodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -741,7 +741,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentPodSecurityContextWindowsOptions pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -765,13 +765,13 @@ pub struct PeerIstioControlPlaneIstiodDeploymentReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentReadinessProbeGrpc { #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, @@ -779,7 +779,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentReadinessProbeGrpc { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -793,7 +793,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentReadinessProbeHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -801,7 +801,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentReadinessProbeHttpGetHttpHeaders pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -809,7 +809,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentReadinessProbeTcpSocket { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentReplicas { #[serde(default, skip_serializing_if = "Option::is_none")] pub count: Option, @@ -821,7 +821,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentReplicas { pub target_cpu_utilization_percentage: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -829,7 +829,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -855,7 +855,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -863,7 +863,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -875,7 +875,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -883,7 +883,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentSecurityContextSeccompProfile { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -895,7 +895,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -909,7 +909,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -921,7 +921,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentTopologySpreadConstraints { pub when_unsatisfiable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -929,7 +929,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentTopologySpreadConstraintsLabelSe pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentTopologySpreadConstraintsLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -939,7 +939,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentTopologySpreadConstraintsLabelSe pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumeMounts { #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, @@ -955,7 +955,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumes { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -963,7 +963,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumes { pub volume_source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -1025,7 +1025,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSource { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1037,7 +1037,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceAwsElasticBlo pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -1053,7 +1053,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -1063,7 +1063,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceAzureFile { pub share_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceCephfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub monitors: Option>, @@ -1079,13 +1079,13 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1097,13 +1097,13 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceCinder { pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1115,7 +1115,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceConfigMapItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1125,13 +1125,13 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceConfigMapItem pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceConfigMapLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceCsi { #[serde(default, skip_serializing_if = "Option::is_none")] pub driver: Option, @@ -1145,13 +1145,13 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1159,7 +1159,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -1171,7 +1171,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceDownwardApiIt pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1179,7 +1179,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceDownwardApiIt pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1189,7 +1189,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceDownwardApiIt pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -1197,13 +1197,13 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -1211,7 +1211,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolu pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -1247,7 +1247,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolu pub uid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataCreationTimestamp { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -1255,7 +1255,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolu pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataDeletionTimestamp { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -1263,7 +1263,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolu pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFields { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1281,13 +1281,13 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolu pub time: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFieldsFieldsV1 { #[serde(default, skip_serializing_if = "Option::is_none", rename = "Raw")] pub raw: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFieldsTime { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -1295,7 +1295,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolu pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataOwnerReferences { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1311,7 +1311,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolu pub uid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -1331,7 +1331,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolu pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -1341,7 +1341,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolu pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -1351,7 +1351,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolu pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -1359,19 +1359,19 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolu pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResourcesLimits { #[serde(default, skip_serializing_if = "Option::is_none")] pub string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResourcesRequests { #[serde(default, skip_serializing_if = "Option::is_none")] pub string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1379,7 +1379,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1389,7 +1389,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceEphemeralVolu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1403,7 +1403,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceFlexVolume { #[serde(default, skip_serializing_if = "Option::is_none")] pub driver: Option, @@ -1417,13 +1417,13 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -1431,7 +1431,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1443,7 +1443,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceGcePersistent pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -1453,7 +1453,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceGlusterfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub endpoints: Option, @@ -1463,7 +1463,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceHostPath { #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, @@ -1471,7 +1471,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceHostPath { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -1497,13 +1497,13 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceIscsi { pub target_portal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceNfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, @@ -1513,7 +1513,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceNfs { pub server: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourcePersistentVolumeClaim { #[serde(default, skip_serializing_if = "Option::is_none", rename = "claimName")] pub claim_name: Option, @@ -1521,7 +1521,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourcePersistentVol pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourcePhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1529,7 +1529,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourcePhotonPersist pub pd_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourcePortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1539,7 +1539,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourcePortworxVolum pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1547,7 +1547,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjected { pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -1559,7 +1559,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSour pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -1569,7 +1569,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSour pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesConfigMapItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1579,19 +1579,19 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSour pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesConfigMapLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -1603,7 +1603,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSour pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1611,7 +1611,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSour pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1621,7 +1621,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSour pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -1631,7 +1631,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSour pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesSecretItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1641,13 +1641,13 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSour pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesSecretLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -1657,7 +1657,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceProjectedSour pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -1673,7 +1673,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceQuobyte { pub volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1693,13 +1693,13 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1723,13 +1723,13 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -1741,7 +1741,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceSecretItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -1751,7 +1751,7 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceSecretItems { pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1765,13 +1765,13 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -1783,19 +1783,19 @@ pub struct PeerIstioControlPlaneIstiodDeploymentVolumesVolumeSourceVsphereVolume pub volume_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodExternalIstiod { #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodSpiffe { #[serde(default, skip_serializing_if = "Option::is_none", rename = "operatorEndpoints")] pub operator_endpoints: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneIstiodSpiffeOperatorEndpoints { #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, @@ -1809,7 +1809,7 @@ pub enum PeerIstioControlPlaneJwtPolicy { FirstPartyJwt, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneK8sResourceOverlays { #[serde(default, skip_serializing_if = "Option::is_none", rename = "groupVersionKind")] pub group_version_kind: Option, @@ -1819,7 +1819,7 @@ pub struct PeerIstioControlPlaneK8sResourceOverlays { pub patches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneK8sResourceOverlaysGroupVersionKind { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -1829,7 +1829,7 @@ pub struct PeerIstioControlPlaneK8sResourceOverlaysGroupVersionKind { pub version: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneK8sResourceOverlaysObjectKey { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1837,7 +1837,7 @@ pub struct PeerIstioControlPlaneK8sResourceOverlaysObjectKey { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneK8sResourceOverlaysPatches { #[serde(default, skip_serializing_if = "Option::is_none", rename = "parseValue")] pub parse_value: Option, @@ -1859,13 +1859,13 @@ pub enum PeerIstioControlPlaneK8sResourceOverlaysPatchesType { Remove, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneLogging { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessLogEncoding")] pub access_log_encoding: Option, @@ -1961,7 +1961,7 @@ pub enum PeerIstioControlPlaneMeshConfigAccessLogEncoding { Json, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigCa { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -2004,7 +2004,7 @@ pub enum PeerIstioControlPlaneMeshConfigCaTlsSettingsMode { IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigCaCertificates { #[serde(default, skip_serializing_if = "Option::is_none", rename = "certSigners")] pub cert_signers: Option>, @@ -2016,7 +2016,7 @@ pub struct PeerIstioControlPlaneMeshConfigCaCertificates { pub trust_domains: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigCertificates { #[serde(default, skip_serializing_if = "Option::is_none", rename = "dnsNames")] pub dns_names: Option>, @@ -2024,7 +2024,7 @@ pub struct PeerIstioControlPlaneMeshConfigCertificates { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigConfigSources { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -2065,7 +2065,7 @@ pub enum PeerIstioControlPlaneMeshConfigConfigSourcesTlsSettingsMode { IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "availabilityZone")] pub availability_zone: Option, @@ -2149,7 +2149,7 @@ pub enum PeerIstioControlPlaneMeshConfigDefaultConfigControlPlaneAuthPolicy { Inherit, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigEnvoyAccessLogService { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -2159,7 +2159,7 @@ pub struct PeerIstioControlPlaneMeshConfigDefaultConfigEnvoyAccessLogService { pub tls_settings: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigEnvoyAccessLogServiceTcpKeepalive { #[serde(default, skip_serializing_if = "Option::is_none")] pub interval: Option, @@ -2200,7 +2200,7 @@ pub enum PeerIstioControlPlaneMeshConfigDefaultConfigEnvoyAccessLogServiceTlsSet IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigEnvoyMetricsService { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -2210,7 +2210,7 @@ pub struct PeerIstioControlPlaneMeshConfigDefaultConfigEnvoyMetricsService { pub tls_settings: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigEnvoyMetricsServiceTcpKeepalive { #[serde(default, skip_serializing_if = "Option::is_none")] pub interval: Option, @@ -2251,7 +2251,7 @@ pub enum PeerIstioControlPlaneMeshConfigDefaultConfigEnvoyMetricsServiceTlsSetti IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigGatewayTopology { #[serde(default, skip_serializing_if = "Option::is_none", rename = "forwardClientCertDetails")] pub forward_client_cert_details: Option, @@ -2275,7 +2275,7 @@ pub enum PeerIstioControlPlaneMeshConfigDefaultConfigGatewayTopologyForwardClien AlwaysForwardOnly, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigImage { #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageType")] pub image_type: Option, @@ -2291,7 +2291,7 @@ pub enum PeerIstioControlPlaneMeshConfigDefaultConfigInterceptionMode { None, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigPrivateKeyProvider { #[serde(default, skip_serializing_if = "Option::is_none")] pub cryptomb: Option, @@ -2299,19 +2299,19 @@ pub struct PeerIstioControlPlaneMeshConfigDefaultConfigPrivateKeyProvider { pub qat: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigPrivateKeyProviderCryptomb { #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollDelay")] pub poll_delay: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigPrivateKeyProviderQat { #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollDelay")] pub poll_delay: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigProxyStatsMatcher { #[serde(default, skip_serializing_if = "Option::is_none", rename = "inclusionPrefixes")] pub inclusion_prefixes: Option>, @@ -2321,7 +2321,7 @@ pub struct PeerIstioControlPlaneMeshConfigDefaultConfigProxyStatsMatcher { pub inclusion_suffixes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2341,13 +2341,13 @@ pub struct PeerIstioControlPlaneMeshConfigDefaultConfigReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2360,7 +2360,7 @@ pub struct PeerIstioControlPlaneMeshConfigDefaultConfigReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigReadinessProbeHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2368,14 +2368,14 @@ pub struct PeerIstioControlPlaneMeshConfigDefaultConfigReadinessProbeHttpGetHttp pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigSds { #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, @@ -2383,7 +2383,7 @@ pub struct PeerIstioControlPlaneMeshConfigDefaultConfigSds { pub k8s_sa_jwt_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigTracing { #[serde(default, skip_serializing_if = "Option::is_none", rename = "customTags")] pub custom_tags: Option>, @@ -2405,7 +2405,7 @@ pub struct PeerIstioControlPlaneMeshConfigDefaultConfigTracing { pub zipkin: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigTracingCustomTags { #[serde(default, skip_serializing_if = "Option::is_none")] pub environment: Option, @@ -2415,7 +2415,7 @@ pub struct PeerIstioControlPlaneMeshConfigDefaultConfigTracingCustomTags { pub literal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigTracingCustomTagsEnvironment { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultValue")] pub default_value: Option, @@ -2423,7 +2423,7 @@ pub struct PeerIstioControlPlaneMeshConfigDefaultConfigTracingCustomTagsEnvironm pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigTracingCustomTagsHeader { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultValue")] pub default_value: Option, @@ -2431,19 +2431,19 @@ pub struct PeerIstioControlPlaneMeshConfigDefaultConfigTracingCustomTagsHeader { pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigTracingCustomTagsLiteral { #[serde(default, skip_serializing_if = "Option::is_none")] pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigTracingDatadog { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigTracingLightstep { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessToken")] pub access_token: Option, @@ -2451,7 +2451,7 @@ pub struct PeerIstioControlPlaneMeshConfigDefaultConfigTracingLightstep { pub address: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigTracingOpenCensusAgent { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -2459,7 +2459,7 @@ pub struct PeerIstioControlPlaneMeshConfigDefaultConfigTracingOpenCensusAgent { pub context: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigTracingStackdriver { #[serde(default, skip_serializing_if = "Option::is_none")] pub debug: Option, @@ -2502,7 +2502,7 @@ pub enum PeerIstioControlPlaneMeshConfigDefaultConfigTracingTlsSettingsMode { IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultConfigTracingZipkin { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -2518,7 +2518,7 @@ pub enum PeerIstioControlPlaneMeshConfigDefaultConfigTracingServiceName { CanonicalNameAndNamespace, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultHttpRetryPolicy { pub attempts: i32, #[serde(default, skip_serializing_if = "Option::is_none", rename = "perTryTimeout")] @@ -2529,7 +2529,7 @@ pub struct PeerIstioControlPlaneMeshConfigDefaultHttpRetryPolicy { pub retry_remote_localities: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDefaultProviders { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessLogging")] pub access_logging: Option>, @@ -2539,7 +2539,7 @@ pub struct PeerIstioControlPlaneMeshConfigDefaultProviders { pub tracing: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDiscoverySelectors { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2547,7 +2547,7 @@ pub struct PeerIstioControlPlaneMeshConfigDiscoverySelectors { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigDiscoverySelectorsMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -2557,7 +2557,7 @@ pub struct PeerIstioControlPlaneMeshConfigDiscoverySelectorsMatchExpressions { pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigExtensionProviders { #[serde(default, skip_serializing_if = "Option::is_none")] pub datadog: Option, @@ -2591,7 +2591,7 @@ pub struct PeerIstioControlPlaneMeshConfigExtensionProviders { pub zipkin: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersDatadog { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxTagLength")] pub max_tag_length: Option, @@ -2601,7 +2601,7 @@ pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersDatadog { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersEnvoyExtAuthzGrpc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "failOpen")] pub fail_open: Option, @@ -2617,7 +2617,7 @@ pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersEnvoyExtAuthzGrpc { pub timeout: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersEnvoyExtAuthzGrpcIncludeRequestBodyInCheck { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPartialMessage")] pub allow_partial_message: Option, @@ -2627,7 +2627,7 @@ pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersEnvoyExtAuthzGrpcInc pub pack_as_bytes: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersEnvoyExtAuthzHttp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "failOpen")] pub fail_open: Option, @@ -2657,7 +2657,7 @@ pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersEnvoyExtAuthzHttp { pub timeout: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersEnvoyExtAuthzHttpIncludeRequestBodyInCheck { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPartialMessage")] pub allow_partial_message: Option, @@ -2667,7 +2667,7 @@ pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersEnvoyExtAuthzHttpInc pub pack_as_bytes: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersEnvoyFileAccessLog { #[serde(default, skip_serializing_if = "Option::is_none", rename = "logFormat")] pub log_format: Option, @@ -2675,7 +2675,7 @@ pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersEnvoyFileAccessLog { pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersEnvoyFileAccessLogLogFormat { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option, @@ -2683,11 +2683,11 @@ pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersEnvoyFileAccessLogLo pub text: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersEnvoyFileAccessLogLogFormatLabels { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersEnvoyHttpAls { #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalRequestHeadersToLog")] pub additional_request_headers_to_log: Option>, @@ -2705,7 +2705,7 @@ pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersEnvoyHttpAls { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersEnvoyOtelAls { #[serde(default, skip_serializing_if = "Option::is_none", rename = "logFormat")] pub log_format: Option, @@ -2717,7 +2717,7 @@ pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersEnvoyOtelAls { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersEnvoyOtelAlsLogFormat { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option, @@ -2725,11 +2725,11 @@ pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersEnvoyOtelAlsLogForma pub text: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersEnvoyOtelAlsLogFormatLabels { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersEnvoyTcpAls { #[serde(default, skip_serializing_if = "Option::is_none", rename = "filterStateObjectsToLog")] pub filter_state_objects_to_log: Option>, @@ -2741,7 +2741,7 @@ pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersEnvoyTcpAls { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersLightstep { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessToken")] pub access_token: Option, @@ -2753,7 +2753,7 @@ pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersLightstep { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersOpencensus { #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option>, @@ -2765,7 +2765,7 @@ pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersOpencensus { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersOpentelemetry { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxTagLength")] pub max_tag_length: Option, @@ -2775,11 +2775,11 @@ pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersOpentelemetry { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersPrometheus { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersSkywalking { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessToken")] pub access_token: Option, @@ -2789,7 +2789,7 @@ pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersSkywalking { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersStackdriver { #[serde(default, skip_serializing_if = "Option::is_none")] pub debug: Option, @@ -2805,13 +2805,13 @@ pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersStackdriver { pub max_tag_length: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersStackdriverLogging { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigExtensionProvidersZipkin { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxTagLength")] pub max_tag_length: Option, @@ -2841,7 +2841,7 @@ pub enum PeerIstioControlPlaneMeshConfigIngressControllerMode { Strict, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigLocalityLbSetting { #[serde(default, skip_serializing_if = "Option::is_none")] pub distribute: Option>, @@ -2853,7 +2853,7 @@ pub struct PeerIstioControlPlaneMeshConfigLocalityLbSetting { pub failover_priority: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigLocalityLbSettingDistribute { #[serde(default, skip_serializing_if = "Option::is_none")] pub from: Option, @@ -2861,7 +2861,7 @@ pub struct PeerIstioControlPlaneMeshConfigLocalityLbSettingDistribute { pub to: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigLocalityLbSettingFailover { #[serde(default, skip_serializing_if = "Option::is_none")] pub from: Option, @@ -2869,7 +2869,7 @@ pub struct PeerIstioControlPlaneMeshConfigLocalityLbSettingFailover { pub to: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigMeshMtls { #[serde(default, skip_serializing_if = "Option::is_none", rename = "minProtocolVersion")] pub min_protocol_version: Option, @@ -2885,7 +2885,7 @@ pub enum PeerIstioControlPlaneMeshConfigMeshMtlsMinProtocolVersion { Tlsv13, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigOutboundTrafficPolicy { #[serde(default, skip_serializing_if = "Option::is_none")] pub mode: Option, @@ -2899,7 +2899,7 @@ pub enum PeerIstioControlPlaneMeshConfigOutboundTrafficPolicyMode { AllowAny, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigPathNormalization { #[serde(default, skip_serializing_if = "Option::is_none")] pub normalization: Option, @@ -2919,7 +2919,7 @@ pub enum PeerIstioControlPlaneMeshConfigPathNormalizationNormalization { DecodeAndMergeSlashes, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigServiceSettings { #[serde(default, skip_serializing_if = "Option::is_none")] pub hosts: Option>, @@ -2927,13 +2927,13 @@ pub struct PeerIstioControlPlaneMeshConfigServiceSettings { pub settings: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigServiceSettingsSettings { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterLocal")] pub cluster_local: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshConfigTcpKeepalive { #[serde(default, skip_serializing_if = "Option::is_none")] pub interval: Option, @@ -2943,7 +2943,7 @@ pub struct PeerIstioControlPlaneMeshConfigTcpKeepalive { pub time: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansion { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterServices")] pub cluster_services: Option, @@ -2957,13 +2957,13 @@ pub struct PeerIstioControlPlaneMeshExpansion { pub webhook: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionClusterServices { #[serde(default, skip_serializing_if = "Option::is_none")] pub expose: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGateway { #[serde(default, skip_serializing_if = "Option::is_none")] pub deployment: Option, @@ -2977,7 +2977,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGateway { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeployment { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -3023,7 +3023,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeployment { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -3033,7 +3033,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3041,7 +3041,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffini pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none")] pub preference: Option, @@ -3049,7 +3049,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffini pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3057,7 +3057,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffini pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3067,7 +3067,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffini pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3077,13 +3077,13 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffini pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelectorTerms")] pub node_selector_terms: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3091,7 +3091,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffini pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3101,7 +3101,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffini pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3111,7 +3111,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityNodeAffini pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3119,7 +3119,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinit pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -3127,7 +3127,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinit pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3139,7 +3139,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinit pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3147,7 +3147,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinit pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3157,7 +3157,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinit pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3165,7 +3165,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinit pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3175,7 +3175,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinit pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3187,7 +3187,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinit pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3195,7 +3195,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinit pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3205,7 +3205,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinit pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3213,7 +3213,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinit pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3223,7 +3223,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAffinit pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -3231,7 +3231,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAff pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -3239,7 +3239,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAff pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3251,7 +3251,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAff pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3259,7 +3259,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAff pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3269,7 +3269,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAff pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3277,7 +3277,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAff pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3287,7 +3287,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAff pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3299,7 +3299,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAff pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3307,7 +3307,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAff pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3317,7 +3317,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAff pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3325,7 +3325,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAff pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3335,7 +3335,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentAffinityPodAntiAff pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentDeploymentStrategy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "rollingUpdate")] pub rolling_update: Option, @@ -3343,7 +3343,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentDeploymentStrategy pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentDeploymentStrategyRollingUpdate { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxSurge")] pub max_surge: Option, @@ -3351,7 +3351,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentDeploymentStrategy pub max_unavailable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentEnv { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3361,7 +3361,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -3373,7 +3373,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentEnvValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3383,13 +3383,13 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentEnvValueFromConfig pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentEnvValueFromConfigMapKeyRefLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3397,7 +3397,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentEnvValueFromFieldR pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3407,7 +3407,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentEnvValueFromResour pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentEnvValueFromSecretKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3417,19 +3417,19 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentEnvValueFromSecret pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentEnvValueFromSecretKeyRefLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3453,13 +3453,13 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentLivenessProbeGrpc { #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, @@ -3467,7 +3467,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentLivenessProbeGrpc pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3481,7 +3481,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentLivenessProbeHttpG pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentLivenessProbeHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3489,7 +3489,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentLivenessProbeHttpG pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3497,7 +3497,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentLivenessProbeTcpSo pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3505,7 +3505,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentPodDisruptionBudget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] pub max_unavailable: Option, @@ -3513,7 +3513,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentPodDisruptionBudge pub min_available: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentPodMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -3521,7 +3521,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentPodMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentPodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -3545,7 +3545,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentPodSecurityContext pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentPodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -3557,7 +3557,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentPodSecurityContext pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentPodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -3565,7 +3565,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentPodSecurityContext pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentPodSecurityContextSysctls { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3573,7 +3573,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentPodSecurityContext pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentPodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -3585,7 +3585,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentPodSecurityContext pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3609,13 +3609,13 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentReadinessProbeGrpc { #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, @@ -3623,7 +3623,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentReadinessProbeGrpc pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3637,7 +3637,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentReadinessProbeHttp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentReadinessProbeHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3645,7 +3645,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentReadinessProbeHttp pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3653,7 +3653,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentReadinessProbeTcpS pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentReplicas { #[serde(default, skip_serializing_if = "Option::is_none")] pub count: Option, @@ -3665,7 +3665,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentReplicas { pub target_cpu_utilization_percentage: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -3673,7 +3673,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -3699,7 +3699,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -3707,7 +3707,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentSecurityContextCap pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -3719,7 +3719,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentSecurityContextSeL pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -3727,7 +3727,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentSecurityContextSec pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -3739,7 +3739,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentSecurityContextWin pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -3753,7 +3753,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -3765,7 +3765,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentTopologySpreadCons pub when_unsatisfiable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -3773,7 +3773,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentTopologySpreadCons pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentTopologySpreadConstraintsLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3783,7 +3783,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentTopologySpreadCons pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumeMounts { #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, @@ -3799,7 +3799,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumes { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -3807,7 +3807,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumes { pub volume_source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -3869,7 +3869,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3881,7 +3881,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -3897,7 +3897,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -3907,7 +3907,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub share_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceCephfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub monitors: Option>, @@ -3923,13 +3923,13 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3941,13 +3941,13 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3959,7 +3959,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceConfigMapItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -3969,13 +3969,13 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceConfigMapLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceCsi { #[serde(default, skip_serializing_if = "Option::is_none")] pub driver: Option, @@ -3989,13 +3989,13 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -4003,7 +4003,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -4015,7 +4015,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4023,7 +4023,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4033,7 +4033,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -4041,13 +4041,13 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -4055,7 +4055,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -4091,7 +4091,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub uid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataCreationTimestamp { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -4099,7 +4099,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataDeletionTimestamp { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -4107,7 +4107,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFields { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4125,13 +4125,13 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub time: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFieldsFieldsV1 { #[serde(default, skip_serializing_if = "Option::is_none", rename = "Raw")] pub raw: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFieldsTime { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -4139,7 +4139,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataOwnerReferences { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4155,7 +4155,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub uid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -4175,7 +4175,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -4185,7 +4185,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -4195,7 +4195,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -4203,19 +4203,19 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResourcesLimits { #[serde(default, skip_serializing_if = "Option::is_none")] pub string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResourcesRequests { #[serde(default, skip_serializing_if = "Option::is_none")] pub string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -4223,7 +4223,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -4233,7 +4233,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4247,7 +4247,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceFlexVolume { #[serde(default, skip_serializing_if = "Option::is_none")] pub driver: Option, @@ -4261,13 +4261,13 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -4275,7 +4275,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4287,7 +4287,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -4297,7 +4297,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceGlusterfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub endpoints: Option, @@ -4307,7 +4307,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceHostPath { #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, @@ -4315,7 +4315,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -4341,13 +4341,13 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub target_portal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceNfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, @@ -4357,7 +4357,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub server: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourcePersistentVolumeClaim { #[serde(default, skip_serializing_if = "Option::is_none", rename = "claimName")] pub claim_name: Option, @@ -4365,7 +4365,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourcePhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4373,7 +4373,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub pd_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourcePortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4383,7 +4383,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -4391,7 +4391,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -4403,7 +4403,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -4413,7 +4413,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjectedSourcesConfigMapItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -4423,19 +4423,19 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjectedSourcesConfigMapLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -4447,7 +4447,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -4455,7 +4455,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -4465,7 +4465,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -4475,7 +4475,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjectedSourcesSecretItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -4485,13 +4485,13 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjectedSourcesSecretLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -4501,7 +4501,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -4517,7 +4517,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4537,13 +4537,13 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4567,13 +4567,13 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -4585,7 +4585,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceSecretItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -4595,7 +4595,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4609,13 +4609,13 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourceVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4627,7 +4627,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayDeploymentVolumesVolumeSourc pub volume_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayK8sResourceOverlays { #[serde(default, skip_serializing_if = "Option::is_none", rename = "groupVersionKind")] pub group_version_kind: Option, @@ -4637,7 +4637,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayK8sResourceOverlays { pub patches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayK8sResourceOverlaysGroupVersionKind { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -4647,7 +4647,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayK8sResourceOverlaysGroupVers pub version: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayK8sResourceOverlaysObjectKey { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4655,7 +4655,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayK8sResourceOverlaysObjectKey pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayK8sResourceOverlaysPatches { #[serde(default, skip_serializing_if = "Option::is_none", rename = "parseValue")] pub parse_value: Option, @@ -4677,7 +4677,7 @@ pub enum PeerIstioControlPlaneMeshExpansionGatewayK8sResourceOverlaysPatchesType Remove, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -4685,7 +4685,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayService { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterIP")] pub cluster_ip: Option, @@ -4719,7 +4719,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayService { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayServiceMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -4727,7 +4727,7 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayServiceMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayServicePorts { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4740,13 +4740,13 @@ pub struct PeerIstioControlPlaneMeshExpansionGatewayServicePorts { pub target_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayServiceSessionAffinityConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] pub client_ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionGatewayServiceSessionAffinityConfigClientIp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] pub timeout_seconds: Option, @@ -4760,13 +4760,13 @@ pub enum PeerIstioControlPlaneMeshExpansionGatewayServiceType { LoadBalancer, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionIstiod { #[serde(default, skip_serializing_if = "Option::is_none")] pub expose: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneMeshExpansionWebhook { #[serde(default, skip_serializing_if = "Option::is_none")] pub expose: Option, @@ -4780,7 +4780,7 @@ pub enum PeerIstioControlPlaneMode { Passive, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterDomain")] pub cluster_domain: Option, @@ -4812,7 +4812,7 @@ pub struct PeerIstioControlPlaneProxy { pub tracer: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -4820,7 +4820,7 @@ pub struct PeerIstioControlPlaneProxyLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4830,13 +4830,13 @@ pub struct PeerIstioControlPlaneProxyLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4850,7 +4850,7 @@ pub struct PeerIstioControlPlaneProxyLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyLifecyclePostStartHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4858,7 +4858,7 @@ pub struct PeerIstioControlPlaneProxyLifecyclePostStartHttpGetHttpHeaders { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4866,7 +4866,7 @@ pub struct PeerIstioControlPlaneProxyLifecyclePostStartTcpSocket { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -4876,13 +4876,13 @@ pub struct PeerIstioControlPlaneProxyLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4896,7 +4896,7 @@ pub struct PeerIstioControlPlaneProxyLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyLifecyclePreStopHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -4904,7 +4904,7 @@ pub struct PeerIstioControlPlaneProxyLifecyclePreStopHttpGetHttpHeaders { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -4930,7 +4930,7 @@ pub enum PeerIstioControlPlaneProxyLogLevel { Off, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -4938,7 +4938,7 @@ pub struct PeerIstioControlPlaneProxyResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInit { #[serde(default, skip_serializing_if = "Option::is_none")] pub cni: Option, @@ -4948,7 +4948,7 @@ pub struct PeerIstioControlPlaneProxyInit { pub resources: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCni { #[serde(default, skip_serializing_if = "Option::is_none", rename = "binDir")] pub bin_dir: Option, @@ -4978,7 +4978,7 @@ pub struct PeerIstioControlPlaneProxyInitCni { pub taint: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonset { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -5024,7 +5024,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonset { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -5034,7 +5034,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -5042,7 +5042,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none")] pub preference: Option, @@ -5050,7 +5050,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityPreferr pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5058,7 +5058,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityPreferr pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5068,7 +5068,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityPreferr pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5078,13 +5078,13 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityPreferr pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelectorTerms")] pub node_selector_terms: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5092,7 +5092,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityRequire pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5102,7 +5102,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityRequire pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5112,7 +5112,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityNodeAffinityRequire pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -5120,7 +5120,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -5128,7 +5128,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityPreferre pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5140,7 +5140,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityPreferre pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5148,7 +5148,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityPreferre pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5158,7 +5158,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityPreferre pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5166,7 +5166,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityPreferre pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5176,7 +5176,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityPreferre pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5188,7 +5188,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityRequired pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5196,7 +5196,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityRequired pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5206,7 +5206,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityRequired pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5214,7 +5214,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityRequired pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5224,7 +5224,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAffinityRequired pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -5232,7 +5232,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -5240,7 +5240,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityPref pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5252,7 +5252,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityPref pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5260,7 +5260,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityPref pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5270,7 +5270,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityPref pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5278,7 +5278,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityPref pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5288,7 +5288,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityPref pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5300,7 +5300,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityRequ pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5308,7 +5308,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityRequ pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5318,7 +5318,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityRequ pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5326,7 +5326,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityRequ pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5336,7 +5336,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetAffinityPodAntiAffinityRequ pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetDeploymentStrategy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "rollingUpdate")] pub rolling_update: Option, @@ -5344,7 +5344,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetDeploymentStrategy { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetDeploymentStrategyRollingUpdate { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxSurge")] pub max_surge: Option, @@ -5352,7 +5352,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetDeploymentStrategyRollingUp pub max_unavailable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetEnv { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -5362,7 +5362,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -5374,7 +5374,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetEnvValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5384,13 +5384,13 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetEnvValueFromConfigMapKeyRef pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetEnvValueFromConfigMapKeyRefLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -5398,7 +5398,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetEnvValueFromFieldRef { pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -5408,7 +5408,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetEnvValueFromResourceFieldRe pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetEnvValueFromSecretKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5418,19 +5418,19 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetEnvValueFromSecretKeyRefLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5454,13 +5454,13 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetLivenessProbeGrpc { #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, @@ -5468,7 +5468,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetLivenessProbeGrpc { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5482,7 +5482,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetLivenessProbeHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -5490,7 +5490,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetLivenessProbeHttpGetHttpHea pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5498,7 +5498,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetLivenessProbeTcpSocket { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -5506,7 +5506,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetPodDisruptionBudget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] pub max_unavailable: Option, @@ -5514,7 +5514,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetPodDisruptionBudget { pub min_available: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetPodMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -5522,7 +5522,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetPodMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetPodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -5546,7 +5546,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetPodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetPodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5558,7 +5558,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetPodSecurityContextSeLinuxOp pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetPodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5566,7 +5566,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetPodSecurityContextSeccompPr pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetPodSecurityContextSysctls { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -5574,7 +5574,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetPodSecurityContextSysctls { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetPodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5586,7 +5586,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetPodSecurityContextWindowsOp pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -5610,13 +5610,13 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetReadinessProbeGrpc { #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, @@ -5624,7 +5624,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetReadinessProbeGrpc { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5638,7 +5638,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetReadinessProbeHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -5646,7 +5646,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetReadinessProbeHttpGetHttpHe pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -5654,7 +5654,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetReadinessProbeTcpSocket { pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetReplicas { #[serde(default, skip_serializing_if = "Option::is_none")] pub count: Option, @@ -5666,7 +5666,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetReplicas { pub target_cpu_utilization_percentage: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -5674,7 +5674,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -5700,7 +5700,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -5708,7 +5708,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetSecurityContextCapabilities pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -5720,7 +5720,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetSecurityContextSeLinuxOptio pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -5728,7 +5728,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetSecurityContextSeccompProfi pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -5740,7 +5740,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetSecurityContextWindowsOptio pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -5754,7 +5754,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -5766,7 +5766,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetTopologySpreadConstraints { pub when_unsatisfiable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -5774,7 +5774,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetTopologySpreadConstraintsLa pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetTopologySpreadConstraintsLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5784,7 +5784,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetTopologySpreadConstraintsLa pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumeMounts { #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, @@ -5800,7 +5800,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumes { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -5808,7 +5808,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumes { pub volume_source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -5870,7 +5870,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSource { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5882,7 +5882,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceAwsElast pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -5898,7 +5898,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceAzureDis pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -5908,7 +5908,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceAzureFil pub share_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceCephfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub monitors: Option>, @@ -5924,13 +5924,13 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -5942,13 +5942,13 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceCinder { pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -5960,7 +5960,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceConfigMa pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceConfigMapItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -5970,13 +5970,13 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceConfigMa pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceConfigMapLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceCsi { #[serde(default, skip_serializing_if = "Option::is_none")] pub driver: Option, @@ -5990,13 +5990,13 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -6004,7 +6004,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceDownward pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -6016,7 +6016,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceDownward pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -6024,7 +6024,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceDownward pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -6034,7 +6034,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceDownward pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -6042,13 +6042,13 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEmptyDir pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -6056,7 +6056,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemera pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -6092,7 +6092,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemera pub uid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataCreationTimestamp { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -6100,7 +6100,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemera pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataDeletionTimestamp { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -6108,7 +6108,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemera pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFields { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -6126,13 +6126,13 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemera pub time: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFieldsFieldsV1 { #[serde(default, skip_serializing_if = "Option::is_none", rename = "Raw")] pub raw: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFieldsTime { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -6140,7 +6140,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemera pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataOwnerReferences { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -6156,7 +6156,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemera pub uid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -6176,7 +6176,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemera pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -6186,7 +6186,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemera pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -6196,7 +6196,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemera pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -6204,19 +6204,19 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemera pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResourcesLimits { #[serde(default, skip_serializing_if = "Option::is_none")] pub string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResourcesRequests { #[serde(default, skip_serializing_if = "Option::is_none")] pub string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6224,7 +6224,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemera pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6234,7 +6234,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceEphemera pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6248,7 +6248,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceFlexVolume { #[serde(default, skip_serializing_if = "Option::is_none")] pub driver: Option, @@ -6262,13 +6262,13 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceFlexVolu pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -6276,7 +6276,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceFlocker pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6288,7 +6288,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceGcePersi pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -6298,7 +6298,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceGitRepo pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceGlusterfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub endpoints: Option, @@ -6308,7 +6308,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceGlusterf pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceHostPath { #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, @@ -6316,7 +6316,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceHostPath pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -6342,13 +6342,13 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceIscsi { pub target_portal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceNfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, @@ -6358,7 +6358,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceNfs { pub server: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourcePersistentVolumeClaim { #[serde(default, skip_serializing_if = "Option::is_none", rename = "claimName")] pub claim_name: Option, @@ -6366,7 +6366,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourcePersiste pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourcePhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6374,7 +6374,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourcePhotonPe pub pd_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourcePortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6384,7 +6384,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourcePortworx pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -6392,7 +6392,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjecte pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -6404,7 +6404,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjecte pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -6414,7 +6414,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjecte pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSourcesConfigMapItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6424,19 +6424,19 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjecte pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSourcesConfigMapLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -6448,7 +6448,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjecte pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -6456,7 +6456,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjecte pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -6466,7 +6466,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjecte pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -6476,7 +6476,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjecte pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSourcesSecretItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6486,13 +6486,13 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjecte pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSourcesSecretLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -6502,7 +6502,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceProjecte pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -6518,7 +6518,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceQuobyte pub volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6538,13 +6538,13 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6568,13 +6568,13 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceScaleIo pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -6586,7 +6586,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceSecretItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6596,7 +6596,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceSecretIt pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6610,13 +6610,13 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceStorageo pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -6628,7 +6628,7 @@ pub struct PeerIstioControlPlaneProxyInitCniDaemonsetVolumesVolumeSourceVsphereV pub volume_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniRepair { #[serde(default, skip_serializing_if = "Option::is_none", rename = "brokenPodLabelKey")] pub broken_pod_label_key: Option, @@ -6644,7 +6644,7 @@ pub struct PeerIstioControlPlaneProxyInitCniRepair { pub label_pods: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniResourceQuotas { #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, @@ -6654,7 +6654,7 @@ pub struct PeerIstioControlPlaneProxyInitCniResourceQuotas { pub priority_classes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniTaint { #[serde(default, skip_serializing_if = "Option::is_none")] pub container: Option, @@ -6662,7 +6662,7 @@ pub struct PeerIstioControlPlaneProxyInitCniTaint { pub enabled: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniTaintContainer { #[serde(default, skip_serializing_if = "Option::is_none")] pub env: Option>, @@ -6676,7 +6676,7 @@ pub struct PeerIstioControlPlaneProxyInitCniTaintContainer { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniTaintContainerEnv { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -6686,7 +6686,7 @@ pub struct PeerIstioControlPlaneProxyInitCniTaintContainerEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniTaintContainerEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -6698,7 +6698,7 @@ pub struct PeerIstioControlPlaneProxyInitCniTaintContainerEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniTaintContainerEnvValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6708,13 +6708,13 @@ pub struct PeerIstioControlPlaneProxyInitCniTaintContainerEnvValueFromConfigMapK pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniTaintContainerEnvValueFromConfigMapKeyRefLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniTaintContainerEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -6722,7 +6722,7 @@ pub struct PeerIstioControlPlaneProxyInitCniTaintContainerEnvValueFromFieldRef { pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniTaintContainerEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -6732,7 +6732,7 @@ pub struct PeerIstioControlPlaneProxyInitCniTaintContainerEnvValueFromResourceFi pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniTaintContainerEnvValueFromSecretKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6742,13 +6742,13 @@ pub struct PeerIstioControlPlaneProxyInitCniTaintContainerEnvValueFromSecretKeyR pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniTaintContainerEnvValueFromSecretKeyRefLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniTaintContainerResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -6756,7 +6756,7 @@ pub struct PeerIstioControlPlaneProxyInitCniTaintContainerResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniTaintContainerSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -6782,7 +6782,7 @@ pub struct PeerIstioControlPlaneProxyInitCniTaintContainerSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniTaintContainerSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -6790,7 +6790,7 @@ pub struct PeerIstioControlPlaneProxyInitCniTaintContainerSecurityContextCapabil pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniTaintContainerSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -6802,7 +6802,7 @@ pub struct PeerIstioControlPlaneProxyInitCniTaintContainerSecurityContextSeLinux pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniTaintContainerSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -6810,7 +6810,7 @@ pub struct PeerIstioControlPlaneProxyInitCniTaintContainerSecurityContextSeccomp pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniTaintContainerSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -6822,7 +6822,7 @@ pub struct PeerIstioControlPlaneProxyInitCniTaintContainerSecurityContextWindows pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitCniTaintContainerVolumeMounts { #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, @@ -6838,7 +6838,7 @@ pub struct PeerIstioControlPlaneProxyInitCniTaintContainerVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyInitResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -6846,19 +6846,19 @@ pub struct PeerIstioControlPlaneProxyInitResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneProxyWasm { #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSds { #[serde(default, skip_serializing_if = "Option::is_none", rename = "tokenAudience")] pub token_audience: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjector { #[serde(default, skip_serializing_if = "Option::is_none")] pub deployment: Option, @@ -6868,7 +6868,7 @@ pub struct PeerIstioControlPlaneSidecarInjector { pub templates: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeployment { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -6914,7 +6914,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeployment { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -6924,7 +6924,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -6932,7 +6932,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none")] pub preference: Option, @@ -6940,7 +6940,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityPre pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6948,7 +6948,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityPre pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6958,7 +6958,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityPre pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6968,13 +6968,13 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityPre pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelectorTerms")] pub node_selector_terms: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -6982,7 +6982,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityReq pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -6992,7 +6992,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityReq pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7002,7 +7002,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityNodeAffinityReq pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -7010,7 +7010,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -7018,7 +7018,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityPref pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -7030,7 +7030,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityPref pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -7038,7 +7038,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityPref pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7048,7 +7048,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityPref pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -7056,7 +7056,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityPref pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7066,7 +7066,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityPref pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -7078,7 +7078,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityRequ pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -7086,7 +7086,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityRequ pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7096,7 +7096,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityRequ pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -7104,7 +7104,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityRequ pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7114,7 +7114,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAffinityRequ pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -7122,7 +7122,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinity pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podAffinityTerm")] pub pod_affinity_term: Option, @@ -7130,7 +7130,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinity pub weight: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -7142,7 +7142,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinity pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -7150,7 +7150,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinity pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7160,7 +7160,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinity pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -7168,7 +7168,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinity pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7178,7 +7178,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinity pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -7190,7 +7190,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinity pub topology_key: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -7198,7 +7198,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinity pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7208,7 +7208,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinity pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -7216,7 +7216,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinity pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7226,7 +7226,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentAffinityPodAntiAffinity pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentDeploymentStrategy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "rollingUpdate")] pub rolling_update: Option, @@ -7234,7 +7234,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentDeploymentStrategy { pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentDeploymentStrategyRollingUpdate { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxSurge")] pub max_surge: Option, @@ -7242,7 +7242,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentDeploymentStrategyRolli pub max_unavailable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentEnv { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -7252,7 +7252,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -7264,7 +7264,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentEnvValueFromConfigMapKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7274,13 +7274,13 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentEnvValueFromConfigMapKe pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentEnvValueFromConfigMapKeyRefLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -7288,7 +7288,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentEnvValueFromFieldRef { pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -7298,7 +7298,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentEnvValueFromResourceFie pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentEnvValueFromSecretKeyRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7308,19 +7308,19 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentEnvValueFromSecretKeyRe pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentEnvValueFromSecretKeyRefLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentImagePullSecrets { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -7344,13 +7344,13 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentLivenessProbeGrpc { #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, @@ -7358,7 +7358,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentLivenessProbeGrpc { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7372,7 +7372,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentLivenessProbeHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -7380,7 +7380,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentLivenessProbeHttpGetHtt pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7388,7 +7388,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentLivenessProbeTcpSocket pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -7396,7 +7396,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentPodDisruptionBudget { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] pub max_unavailable: Option, @@ -7404,7 +7404,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentPodDisruptionBudget { pub min_available: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentPodMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -7412,7 +7412,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentPodMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentPodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -7436,7 +7436,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentPodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentPodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -7448,7 +7448,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentPodSecurityContextSeLin pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentPodSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -7456,7 +7456,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentPodSecurityContextSecco pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentPodSecurityContextSysctls { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -7464,7 +7464,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentPodSecurityContextSysct pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentPodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -7476,7 +7476,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentPodSecurityContextWindo pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -7500,13 +7500,13 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentReadinessProbeGrpc { #[serde(default, skip_serializing_if = "Option::is_none")] pub port: Option, @@ -7514,7 +7514,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentReadinessProbeGrpc { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7528,7 +7528,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentReadinessProbeHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -7536,7 +7536,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentReadinessProbeHttpGetHt pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -7544,7 +7544,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentReadinessProbeTcpSocket pub port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentReplicas { #[serde(default, skip_serializing_if = "Option::is_none")] pub count: Option, @@ -7556,7 +7556,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentReplicas { pub target_cpu_utilization_percentage: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -7564,7 +7564,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -7590,7 +7590,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -7598,7 +7598,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentSecurityContextCapabili pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -7610,7 +7610,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentSecurityContextSeLinuxO pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] pub localhost_profile: Option, @@ -7618,7 +7618,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentSecurityContextSeccompP pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -7630,7 +7630,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentSecurityContextWindowsO pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -7644,7 +7644,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentTopologySpreadConstraints { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -7656,7 +7656,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentTopologySpreadConstrain pub when_unsatisfiable: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentTopologySpreadConstraintsLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -7664,7 +7664,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentTopologySpreadConstrain pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentTopologySpreadConstraintsLabelSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7674,7 +7674,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentTopologySpreadConstrain pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumeMounts { #[serde(default, skip_serializing_if = "Option::is_none", rename = "mountPath")] pub mount_path: Option, @@ -7690,7 +7690,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumes { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -7698,7 +7698,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumes { pub volume_source: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -7760,7 +7760,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSource { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -7772,7 +7772,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceAwsE pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -7788,7 +7788,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceAzur pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -7798,7 +7798,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceAzur pub share_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceCephfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub monitors: Option>, @@ -7814,13 +7814,13 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceCeph pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -7832,13 +7832,13 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceCind pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -7850,7 +7850,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceConf pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceConfigMapItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -7860,13 +7860,13 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceConf pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceConfigMapLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceCsi { #[serde(default, skip_serializing_if = "Option::is_none")] pub driver: Option, @@ -7880,13 +7880,13 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceCsi pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -7894,7 +7894,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceDown pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -7906,7 +7906,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceDown pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -7914,7 +7914,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceDown pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -7924,7 +7924,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceDown pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -7932,13 +7932,13 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEmpt pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub metadata: Option, @@ -7946,7 +7946,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphe pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -7982,7 +7982,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphe pub uid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataCreationTimestamp { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -7990,7 +7990,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphe pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataDeletionTimestamp { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -7998,7 +7998,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphe pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFields { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -8016,13 +8016,13 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphe pub time: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFieldsFieldsV1 { #[serde(default, skip_serializing_if = "Option::is_none", rename = "Raw")] pub raw: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataManagedFieldsTime { #[serde(default, skip_serializing_if = "Option::is_none")] pub nanos: Option, @@ -8030,7 +8030,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphe pub seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateMetadataOwnerReferences { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -8046,7 +8046,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphe pub uid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -8066,7 +8066,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphe pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecDataSource { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -8076,7 +8076,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphe pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecDataSourceRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] pub api_group: Option, @@ -8086,7 +8086,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphe pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -8094,19 +8094,19 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphe pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResourcesLimits { #[serde(default, skip_serializing_if = "Option::is_none")] pub string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecResourcesRequests { #[serde(default, skip_serializing_if = "Option::is_none")] pub string: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -8114,7 +8114,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphe pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -8124,7 +8124,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceEphe pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8138,7 +8138,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceFlexVolume { #[serde(default, skip_serializing_if = "Option::is_none")] pub driver: Option, @@ -8152,13 +8152,13 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceFlex pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -8166,7 +8166,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceFloc pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8178,7 +8178,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceGceP pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -8188,7 +8188,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceGitR pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceGlusterfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub endpoints: Option, @@ -8198,7 +8198,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceGlus pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceHostPath { #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, @@ -8206,7 +8206,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceHost pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -8232,13 +8232,13 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceIscs pub target_portal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceNfs { #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option, @@ -8248,7 +8248,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceNfs pub server: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourcePersistentVolumeClaim { #[serde(default, skip_serializing_if = "Option::is_none", rename = "claimName")] pub claim_name: Option, @@ -8256,7 +8256,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourcePers pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourcePhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8264,7 +8264,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourcePhot pub pd_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourcePortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8274,7 +8274,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourcePort pub volume_id: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -8282,7 +8282,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProj pub sources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -8294,7 +8294,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProj pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -8304,7 +8304,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProj pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjectedSourcesConfigMapItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -8314,19 +8314,19 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProj pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjectedSourcesConfigMapLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -8338,7 +8338,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProj pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -8346,7 +8346,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProj pub field_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -8356,7 +8356,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProj pub resource: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -8366,7 +8366,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProj pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjectedSourcesSecretItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -8376,13 +8376,13 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProj pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjectedSourcesSecretLocalObjectReference { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -8392,7 +8392,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceProj pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -8408,7 +8408,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceQuob pub volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8428,13 +8428,13 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceRbd pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8458,13 +8458,13 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceScal pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -8476,7 +8476,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceSecr pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceSecretItems { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -8486,7 +8486,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceSecr pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8500,13 +8500,13 @@ pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceStor pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorDeploymentVolumesVolumeSourceVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -8551,7 +8551,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorService { pub r#type: PeerIstioControlPlaneSidecarInjectorServiceType, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorServiceMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -8559,7 +8559,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorServiceMetadata { pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorServicePorts { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -8572,13 +8572,13 @@ pub struct PeerIstioControlPlaneSidecarInjectorServicePorts { pub target_port: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorServiceSessionAffinityConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] pub client_ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorServiceSessionAffinityConfigClientIp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] pub timeout_seconds: Option, @@ -8592,7 +8592,7 @@ pub enum PeerIstioControlPlaneSidecarInjectorServiceType { LoadBalancer, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorTemplates { #[serde(default, skip_serializing_if = "Option::is_none", rename = "customTemplates")] pub custom_templates: Option>, @@ -8602,7 +8602,7 @@ pub struct PeerIstioControlPlaneSidecarInjectorTemplates { pub sidecar: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneSidecarInjectorTemplatesCustomTemplates { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -8610,13 +8610,13 @@ pub struct PeerIstioControlPlaneSidecarInjectorTemplatesCustomTemplates { pub template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneTelemetryV2 { #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneTracer { #[serde(default, skip_serializing_if = "Option::is_none", rename = "customTags")] pub custom_tags: Option>, @@ -8638,7 +8638,7 @@ pub struct PeerIstioControlPlaneTracer { pub zipkin: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneTracerCustomTags { #[serde(default, skip_serializing_if = "Option::is_none")] pub environment: Option, @@ -8648,7 +8648,7 @@ pub struct PeerIstioControlPlaneTracerCustomTags { pub literal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneTracerCustomTagsEnvironment { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultValue")] pub default_value: Option, @@ -8656,7 +8656,7 @@ pub struct PeerIstioControlPlaneTracerCustomTagsEnvironment { pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneTracerCustomTagsHeader { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultValue")] pub default_value: Option, @@ -8664,19 +8664,19 @@ pub struct PeerIstioControlPlaneTracerCustomTagsHeader { pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneTracerCustomTagsLiteral { #[serde(default, skip_serializing_if = "Option::is_none")] pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneTracerDatadog { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneTracerLightstep { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessToken")] pub access_token: Option, @@ -8684,7 +8684,7 @@ pub struct PeerIstioControlPlaneTracerLightstep { pub address: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneTracerOpenCensusAgent { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -8692,7 +8692,7 @@ pub struct PeerIstioControlPlaneTracerOpenCensusAgent { pub context: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneTracerStackdriver { #[serde(default, skip_serializing_if = "Option::is_none")] pub debug: Option, @@ -8735,13 +8735,13 @@ pub enum PeerIstioControlPlaneTracerTlsSettingsMode { IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneTracerZipkin { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "caRootCertificate")] pub ca_root_certificate: Option, @@ -8765,7 +8765,7 @@ pub struct PeerIstioControlPlaneStatus { pub status: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusChecksums { #[serde(default, skip_serializing_if = "Option::is_none", rename = "meshConfig")] pub mesh_config: Option, @@ -8773,7 +8773,7 @@ pub struct PeerIstioControlPlaneStatusChecksums { pub sidecar_injector: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessLogEncoding")] pub access_log_encoding: Option, @@ -8869,7 +8869,7 @@ pub enum PeerIstioControlPlaneStatusMeshConfigAccessLogEncoding { Json, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigCa { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -8912,7 +8912,7 @@ pub enum PeerIstioControlPlaneStatusMeshConfigCaTlsSettingsMode { IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigCaCertificates { #[serde(default, skip_serializing_if = "Option::is_none", rename = "certSigners")] pub cert_signers: Option>, @@ -8924,7 +8924,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigCaCertificates { pub trust_domains: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigCertificates { #[serde(default, skip_serializing_if = "Option::is_none", rename = "dnsNames")] pub dns_names: Option>, @@ -8932,7 +8932,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigCertificates { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigConfigSources { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -8973,7 +8973,7 @@ pub enum PeerIstioControlPlaneStatusMeshConfigConfigSourcesTlsSettingsMode { IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfig { #[serde(default, skip_serializing_if = "Option::is_none", rename = "availabilityZone")] pub availability_zone: Option, @@ -9057,7 +9057,7 @@ pub enum PeerIstioControlPlaneStatusMeshConfigDefaultConfigControlPlaneAuthPolic Inherit, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigEnvoyAccessLogService { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -9067,7 +9067,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigEnvoyAccessLogServi pub tls_settings: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigEnvoyAccessLogServiceTcpKeepalive { #[serde(default, skip_serializing_if = "Option::is_none")] pub interval: Option, @@ -9108,7 +9108,7 @@ pub enum PeerIstioControlPlaneStatusMeshConfigDefaultConfigEnvoyAccessLogService IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigEnvoyMetricsService { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -9118,7 +9118,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigEnvoyMetricsService pub tls_settings: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigEnvoyMetricsServiceTcpKeepalive { #[serde(default, skip_serializing_if = "Option::is_none")] pub interval: Option, @@ -9159,7 +9159,7 @@ pub enum PeerIstioControlPlaneStatusMeshConfigDefaultConfigEnvoyMetricsServiceTl IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigGatewayTopology { #[serde(default, skip_serializing_if = "Option::is_none", rename = "forwardClientCertDetails")] pub forward_client_cert_details: Option, @@ -9183,7 +9183,7 @@ pub enum PeerIstioControlPlaneStatusMeshConfigDefaultConfigGatewayTopologyForwar AlwaysForwardOnly, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigImage { #[serde(default, skip_serializing_if = "Option::is_none", rename = "imageType")] pub image_type: Option, @@ -9199,7 +9199,7 @@ pub enum PeerIstioControlPlaneStatusMeshConfigDefaultConfigInterceptionMode { None, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigPrivateKeyProvider { #[serde(default, skip_serializing_if = "Option::is_none")] pub cryptomb: Option, @@ -9207,19 +9207,19 @@ pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigPrivateKeyProvider pub qat: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigPrivateKeyProviderCryptomb { #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollDelay")] pub poll_delay: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigPrivateKeyProviderQat { #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollDelay")] pub poll_delay: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigProxyStatsMatcher { #[serde(default, skip_serializing_if = "Option::is_none", rename = "inclusionPrefixes")] pub inclusion_prefixes: Option>, @@ -9229,7 +9229,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigProxyStatsMatcher { pub inclusion_suffixes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -9249,13 +9249,13 @@ pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -9268,7 +9268,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigReadinessProbeHttpG pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigReadinessProbeHttpGetHttpHeaders { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -9276,14 +9276,14 @@ pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigReadinessProbeHttpG pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigSds { #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, @@ -9291,7 +9291,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigSds { pub k8s_sa_jwt_path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigTracing { #[serde(default, skip_serializing_if = "Option::is_none", rename = "customTags")] pub custom_tags: Option>, @@ -9313,7 +9313,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigTracing { pub zipkin: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigTracingCustomTags { #[serde(default, skip_serializing_if = "Option::is_none")] pub environment: Option, @@ -9323,7 +9323,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigTracingCustomTags { pub literal: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigTracingCustomTagsEnvironment { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultValue")] pub default_value: Option, @@ -9331,7 +9331,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigTracingCustomTagsEn pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigTracingCustomTagsHeader { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultValue")] pub default_value: Option, @@ -9339,19 +9339,19 @@ pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigTracingCustomTagsHe pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigTracingCustomTagsLiteral { #[serde(default, skip_serializing_if = "Option::is_none")] pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigTracingDatadog { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigTracingLightstep { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessToken")] pub access_token: Option, @@ -9359,7 +9359,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigTracingLightstep { pub address: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigTracingOpenCensusAgent { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -9367,7 +9367,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigTracingOpenCensusAg pub context: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigTracingStackdriver { #[serde(default, skip_serializing_if = "Option::is_none")] pub debug: Option, @@ -9410,7 +9410,7 @@ pub enum PeerIstioControlPlaneStatusMeshConfigDefaultConfigTracingTlsSettingsMod IstioMutual, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultConfigTracingZipkin { #[serde(default, skip_serializing_if = "Option::is_none")] pub address: Option, @@ -9426,7 +9426,7 @@ pub enum PeerIstioControlPlaneStatusMeshConfigDefaultConfigTracingServiceName { CanonicalNameAndNamespace, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultHttpRetryPolicy { pub attempts: i32, #[serde(default, skip_serializing_if = "Option::is_none", rename = "perTryTimeout")] @@ -9437,7 +9437,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigDefaultHttpRetryPolicy { pub retry_remote_localities: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDefaultProviders { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessLogging")] pub access_logging: Option>, @@ -9447,7 +9447,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigDefaultProviders { pub tracing: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDiscoverySelectors { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -9455,7 +9455,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigDiscoverySelectors { pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigDiscoverySelectorsMatchExpressions { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -9465,7 +9465,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigDiscoverySelectorsMatchExpressio pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProviders { #[serde(default, skip_serializing_if = "Option::is_none")] pub datadog: Option, @@ -9499,7 +9499,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProviders { pub zipkin: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersDatadog { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxTagLength")] pub max_tag_length: Option, @@ -9509,7 +9509,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersDatadog { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyExtAuthzGrpc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "failOpen")] pub fail_open: Option, @@ -9525,7 +9525,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyExtAuthzG pub timeout: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyExtAuthzGrpcIncludeRequestBodyInCheck { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPartialMessage")] pub allow_partial_message: Option, @@ -9535,7 +9535,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyExtAuthzG pub pack_as_bytes: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyExtAuthzHttp { #[serde(default, skip_serializing_if = "Option::is_none", rename = "failOpen")] pub fail_open: Option, @@ -9565,7 +9565,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyExtAuthzH pub timeout: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyExtAuthzHttpIncludeRequestBodyInCheck { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPartialMessage")] pub allow_partial_message: Option, @@ -9575,7 +9575,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyExtAuthzH pub pack_as_bytes: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyFileAccessLog { #[serde(default, skip_serializing_if = "Option::is_none", rename = "logFormat")] pub log_format: Option, @@ -9583,7 +9583,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyFileAcces pub path: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyFileAccessLogLogFormat { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option, @@ -9591,11 +9591,11 @@ pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyFileAcces pub text: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyFileAccessLogLogFormatLabels { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyHttpAls { #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalRequestHeadersToLog")] pub additional_request_headers_to_log: Option>, @@ -9613,7 +9613,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyHttpAls { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyOtelAls { #[serde(default, skip_serializing_if = "Option::is_none", rename = "logFormat")] pub log_format: Option, @@ -9625,7 +9625,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyOtelAls { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyOtelAlsLogFormat { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option, @@ -9633,11 +9633,11 @@ pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyOtelAlsLo pub text: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyOtelAlsLogFormatLabels { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyTcpAls { #[serde(default, skip_serializing_if = "Option::is_none", rename = "filterStateObjectsToLog")] pub filter_state_objects_to_log: Option>, @@ -9649,7 +9649,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersEnvoyTcpAls { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersLightstep { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessToken")] pub access_token: Option, @@ -9661,7 +9661,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersLightstep { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersOpencensus { #[serde(default, skip_serializing_if = "Option::is_none")] pub context: Option>, @@ -9673,7 +9673,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersOpencensus { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersOpentelemetry { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxTagLength")] pub max_tag_length: Option, @@ -9683,11 +9683,11 @@ pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersOpentelemetry pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersPrometheus { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersSkywalking { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessToken")] pub access_token: Option, @@ -9697,7 +9697,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersSkywalking { pub service: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersStackdriver { #[serde(default, skip_serializing_if = "Option::is_none")] pub debug: Option, @@ -9713,13 +9713,13 @@ pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersStackdriver { pub max_tag_length: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersStackdriverLogging { #[serde(default, skip_serializing_if = "Option::is_none")] pub labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigExtensionProvidersZipkin { #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxTagLength")] pub max_tag_length: Option, @@ -9749,7 +9749,7 @@ pub enum PeerIstioControlPlaneStatusMeshConfigIngressControllerMode { Strict, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigLocalityLbSetting { #[serde(default, skip_serializing_if = "Option::is_none")] pub distribute: Option>, @@ -9761,7 +9761,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigLocalityLbSetting { pub failover_priority: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigLocalityLbSettingDistribute { #[serde(default, skip_serializing_if = "Option::is_none")] pub from: Option, @@ -9769,7 +9769,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigLocalityLbSettingDistribute { pub to: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigLocalityLbSettingFailover { #[serde(default, skip_serializing_if = "Option::is_none")] pub from: Option, @@ -9777,7 +9777,7 @@ pub struct PeerIstioControlPlaneStatusMeshConfigLocalityLbSettingFailover { pub to: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigMeshMtls { #[serde(default, skip_serializing_if = "Option::is_none", rename = "minProtocolVersion")] pub min_protocol_version: Option, @@ -9793,7 +9793,7 @@ pub enum PeerIstioControlPlaneStatusMeshConfigMeshMtlsMinProtocolVersion { Tlsv13, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigOutboundTrafficPolicy { #[serde(default, skip_serializing_if = "Option::is_none")] pub mode: Option, @@ -9807,7 +9807,7 @@ pub enum PeerIstioControlPlaneStatusMeshConfigOutboundTrafficPolicyMode { AllowAny, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigPathNormalization { #[serde(default, skip_serializing_if = "Option::is_none")] pub normalization: Option, @@ -9827,7 +9827,7 @@ pub enum PeerIstioControlPlaneStatusMeshConfigPathNormalizationNormalization { DecodeAndMergeSlashes, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigServiceSettings { #[serde(default, skip_serializing_if = "Option::is_none")] pub hosts: Option>, @@ -9835,13 +9835,13 @@ pub struct PeerIstioControlPlaneStatusMeshConfigServiceSettings { pub settings: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigServiceSettingsSettings { #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterLocal")] pub cluster_local: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct PeerIstioControlPlaneStatusMeshConfigTcpKeepalive { #[serde(default, skip_serializing_if = "Option::is_none")] pub interval: Option, diff --git a/kube-custom-resources-rs/src/services_k8s_aws/v1alpha1/adoptedresources.rs b/kube-custom-resources-rs/src/services_k8s_aws/v1alpha1/adoptedresources.rs index 7a4f04d5b..a4a7a5890 100644 --- a/kube-custom-resources-rs/src/services_k8s_aws/v1alpha1/adoptedresources.rs +++ b/kube-custom-resources-rs/src/services_k8s_aws/v1alpha1/adoptedresources.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/eks-controller/services.k8s.aws/v1alpha1/adoptedresources.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/eks-controller/services.k8s.aws/v1alpha1/adoptedresources.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/services_k8s_aws/v1alpha1/fieldexports.rs b/kube-custom-resources-rs/src/services_k8s_aws/v1alpha1/fieldexports.rs index 6b3f75a44..fd60bd6d1 100644 --- a/kube-custom-resources-rs/src/services_k8s_aws/v1alpha1/fieldexports.rs +++ b/kube-custom-resources-rs/src/services_k8s_aws/v1alpha1/fieldexports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/eks-controller/services.k8s.aws/v1alpha1/fieldexports.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/eks-controller/services.k8s.aws/v1alpha1/fieldexports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -28,7 +28,7 @@ pub struct FieldExportSpec { /// ResourceFieldSelector provides the values necessary to identify an individual /// field on an individual K8s resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FieldExportFrom { pub path: String, /// NamespacedResource provides all the values necessary to identify an ACK @@ -40,7 +40,7 @@ pub struct FieldExportFrom { /// NamespacedResource provides all the values necessary to identify an ACK /// resource of a given type (within the same namespace as the custom resource /// containing this type). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FieldExportFromResource { pub group: String, pub kind: String, @@ -74,7 +74,7 @@ pub enum FieldExportToKind { } /// FieldExportStatus defines the observed status of the FieldExport. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct FieldExportStatus { /// A collection of `ackv1alpha1.Condition` objects that describe the various /// recoverable states of the field CR diff --git a/kube-custom-resources-rs/src/serving_kubedl_io/v1alpha1/inferences.rs b/kube-custom-resources-rs/src/serving_kubedl_io/v1alpha1/inferences.rs index 230d5d4c8..ad539e7ec 100644 --- a/kube-custom-resources-rs/src/serving_kubedl_io/v1alpha1/inferences.rs +++ b/kube-custom-resources-rs/src/serving_kubedl_io/v1alpha1/inferences.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/serving.kubedl.io/v1alpha1/inferences.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/serving.kubedl.io/v1alpha1/inferences.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sfn_services_k8s_aws/v1alpha1/activities.rs b/kube-custom-resources-rs/src/sfn_services_k8s_aws/v1alpha1/activities.rs index 940472db3..97c227361 100644 --- a/kube-custom-resources-rs/src/sfn_services_k8s_aws/v1alpha1/activities.rs +++ b/kube-custom-resources-rs/src/sfn_services_k8s_aws/v1alpha1/activities.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sfn-controller/sfn.services.k8s.aws/v1alpha1/activities.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sfn-controller/sfn.services.k8s.aws/v1alpha1/activities.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sfn_services_k8s_aws/v1alpha1/statemachines.rs b/kube-custom-resources-rs/src/sfn_services_k8s_aws/v1alpha1/statemachines.rs index 5bf76b646..8f763aaff 100644 --- a/kube-custom-resources-rs/src/sfn_services_k8s_aws/v1alpha1/statemachines.rs +++ b/kube-custom-resources-rs/src/sfn_services_k8s_aws/v1alpha1/statemachines.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sfn-controller/sfn.services.k8s.aws/v1alpha1/statemachines.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sfn-controller/sfn.services.k8s.aws/v1alpha1/statemachines.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/site_superedge_io/v1alpha1/nodegroups.rs b/kube-custom-resources-rs/src/site_superedge_io/v1alpha1/nodegroups.rs index c7750f918..09f26f0c2 100644 --- a/kube-custom-resources-rs/src/site_superedge_io/v1alpha1/nodegroups.rs +++ b/kube-custom-resources-rs/src/site_superedge_io/v1alpha1/nodegroups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/superedge/superedge/site.superedge.io/v1alpha1/nodegroups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/superedge/superedge/site.superedge.io/v1alpha1/nodegroups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/site_superedge_io/v1alpha1/nodeunits.rs b/kube-custom-resources-rs/src/site_superedge_io/v1alpha1/nodeunits.rs index b13ebcd08..5ffc7a960 100644 --- a/kube-custom-resources-rs/src/site_superedge_io/v1alpha1/nodeunits.rs +++ b/kube-custom-resources-rs/src/site_superedge_io/v1alpha1/nodeunits.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/superedge/superedge/site.superedge.io/v1alpha1/nodeunits.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/superedge/superedge/site.superedge.io/v1alpha1/nodeunits.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/slo_koordinator_sh/v1alpha1/nodemetrics.rs b/kube-custom-resources-rs/src/slo_koordinator_sh/v1alpha1/nodemetrics.rs index 3ce9b0a5e..9197bf4cb 100644 --- a/kube-custom-resources-rs/src/slo_koordinator_sh/v1alpha1/nodemetrics.rs +++ b/kube-custom-resources-rs/src/slo_koordinator_sh/v1alpha1/nodemetrics.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/koordinator-sh/koordinator/slo.koordinator.sh/v1alpha1/nodemetrics.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/koordinator-sh/koordinator/slo.koordinator.sh/v1alpha1/nodemetrics.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/slo_koordinator_sh/v1alpha1/nodeslos.rs b/kube-custom-resources-rs/src/slo_koordinator_sh/v1alpha1/nodeslos.rs index 40771d915..74ec708da 100644 --- a/kube-custom-resources-rs/src/slo_koordinator_sh/v1alpha1/nodeslos.rs +++ b/kube-custom-resources-rs/src/slo_koordinator_sh/v1alpha1/nodeslos.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/koordinator-sh/koordinator/slo.koordinator.sh/v1alpha1/nodeslos.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/koordinator-sh/koordinator/slo.koordinator.sh/v1alpha1/nodeslos.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sloth_slok_dev/v1/prometheusservicelevels.rs b/kube-custom-resources-rs/src/sloth_slok_dev/v1/prometheusservicelevels.rs index 996a6d962..e2f9d30c7 100644 --- a/kube-custom-resources-rs/src/sloth_slok_dev/v1/prometheusservicelevels.rs +++ b/kube-custom-resources-rs/src/sloth_slok_dev/v1/prometheusservicelevels.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/slok/sloth/sloth.slok.dev/v1/prometheusservicelevels.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/slok/sloth/sloth.slok.dev/v1/prometheusservicelevels.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/snapscheduler_backube/v1/snapshotschedules.rs b/kube-custom-resources-rs/src/snapscheduler_backube/v1/snapshotschedules.rs index 413254a47..bf386473b 100644 --- a/kube-custom-resources-rs/src/snapscheduler_backube/v1/snapshotschedules.rs +++ b/kube-custom-resources-rs/src/snapscheduler_backube/v1/snapshotschedules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/backube/snapscheduler/snapscheduler.backube/v1/snapshotschedules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/backube/snapscheduler/snapscheduler.backube/v1/snapshotschedules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1/volumesnapshotclasses.rs b/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1/volumesnapshotclasses.rs index ac4a00857..402618646 100644 --- a/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1/volumesnapshotclasses.rs +++ b/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1/volumesnapshotclasses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1/volumesnapshotclasses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1/volumesnapshotclasses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1/volumesnapshotcontents.rs b/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1/volumesnapshotcontents.rs index 893702bee..aa267f9c9 100644 --- a/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1/volumesnapshotcontents.rs +++ b/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1/volumesnapshotcontents.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1/volumesnapshotcontents.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1/volumesnapshotcontents.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -79,7 +79,7 @@ pub enum VolumeSnapshotContentDeletionPolicy { /// or already exists, and just requires a Kubernetes object representation. /// This field is immutable after creation. /// Required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VolumeSnapshotContentSource { /// snapshotHandle specifies the CSI "snapshot_id" of a pre-existing snapshot on /// the underlying storage system for which a Kubernetes object representation @@ -102,7 +102,7 @@ pub struct VolumeSnapshotContentSource { /// VolumeSnapshot object MUST be provided for binding to happen. /// This field is immutable after creation. /// Required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VolumeSnapshotContentVolumeSnapshotRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -140,7 +140,7 @@ pub struct VolumeSnapshotContentVolumeSnapshotRef { } /// status represents the current information of a snapshot. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VolumeSnapshotContentStatus { /// creationTime is the timestamp when the point-in-time snapshot is taken /// by the underlying storage system. @@ -193,7 +193,7 @@ pub struct VolumeSnapshotContentStatus { /// error is the last observed error during snapshot creation, if any. /// Upon success after retry, this error field will be cleared. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VolumeSnapshotContentStatusError { /// message is a string detailing the encountered error during snapshot /// creation if specified. diff --git a/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1/volumesnapshots.rs b/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1/volumesnapshots.rs index 52e3a0918..26a947a17 100644 --- a/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1/volumesnapshots.rs +++ b/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1/volumesnapshots.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1/volumesnapshots.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1/volumesnapshots.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1beta1/volumesnapshotclasses.rs b/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1beta1/volumesnapshotclasses.rs index bcacdcc87..d9e970d73 100644 --- a/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1beta1/volumesnapshotclasses.rs +++ b/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1beta1/volumesnapshotclasses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1beta1/volumesnapshotclasses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1beta1/volumesnapshotclasses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1beta1/volumesnapshotcontents.rs b/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1beta1/volumesnapshotcontents.rs index b8760a1a6..b5e7b3941 100644 --- a/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1beta1/volumesnapshotcontents.rs +++ b/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1beta1/volumesnapshotcontents.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1beta1/volumesnapshotcontents.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1beta1/volumesnapshotcontents.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -39,7 +39,7 @@ pub enum VolumeSnapshotContentDeletionPolicy { } /// source specifies whether the snapshot is (or should be) dynamically provisioned or already exists, and just requires a Kubernetes object representation. This field is immutable after creation. Required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VolumeSnapshotContentSource { /// snapshotHandle specifies the CSI "snapshot_id" of a pre-existing snapshot on the underlying storage system for which a Kubernetes object representation was (or should be) created. This field is immutable. #[serde(default, skip_serializing_if = "Option::is_none", rename = "snapshotHandle")] @@ -50,7 +50,7 @@ pub struct VolumeSnapshotContentSource { } /// volumeSnapshotRef specifies the VolumeSnapshot object to which this VolumeSnapshotContent object is bound. VolumeSnapshot.Spec.VolumeSnapshotContentName field must reference to this VolumeSnapshotContent's name for the bidirectional binding to be valid. For a pre-existing VolumeSnapshotContent object, name and namespace of the VolumeSnapshot object MUST be provided for binding to happen. This field is immutable after creation. Required. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VolumeSnapshotContentVolumeSnapshotRef { /// API version of the referent. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -76,7 +76,7 @@ pub struct VolumeSnapshotContentVolumeSnapshotRef { } /// status represents the current information of a snapshot. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VolumeSnapshotContentStatus { /// creationTime is the timestamp when the point-in-time snapshot is taken by the underlying storage system. In dynamic snapshot creation case, this field will be filled in by the CSI snapshotter sidecar with the "creation_time" value returned from CSI "CreateSnapshot" gRPC call. For a pre-existing snapshot, this field will be filled with the "creation_time" value returned from the CSI "ListSnapshots" gRPC call if the driver supports it. If not specified, it indicates the creation time is unknown. The format of this field is a Unix nanoseconds time encoded as an int64. On Unix, the command `date +%s%N` returns the current time in nanoseconds since 1970-01-01 00:00:00 UTC. #[serde(default, skip_serializing_if = "Option::is_none", rename = "creationTime")] @@ -96,7 +96,7 @@ pub struct VolumeSnapshotContentStatus { } /// error is the last observed error during snapshot creation, if any. Upon success after retry, this error field will be cleared. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VolumeSnapshotContentStatusError { /// message is a string detailing the encountered error during snapshot creation if specified. NOTE: message may be logged, and it should not contain sensitive information. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1beta1/volumesnapshots.rs b/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1beta1/volumesnapshots.rs index 3dfc8080b..cf44ac160 100644 --- a/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1beta1/volumesnapshots.rs +++ b/kube-custom-resources-rs/src/snapshot_storage_k8s_io/v1beta1/volumesnapshots.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1beta1/volumesnapshots.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-csi/external-snapshotter/snapshot.storage.k8s.io/v1beta1/volumesnapshots.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/platformapplications.rs b/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/platformapplications.rs index e2e682578..c06773c94 100644 --- a/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/platformapplications.rs +++ b/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/platformapplications.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sns-controller/sns.services.k8s.aws/v1alpha1/platformapplications.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sns-controller/sns.services.k8s.aws/v1alpha1/platformapplications.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/platformendpoints.rs b/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/platformendpoints.rs index 1fa468091..ede7cfdac 100644 --- a/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/platformendpoints.rs +++ b/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/platformendpoints.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sns-controller/sns.services.k8s.aws/v1alpha1/platformendpoints.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sns-controller/sns.services.k8s.aws/v1alpha1/platformendpoints.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/subscriptions.rs b/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/subscriptions.rs index eb5bb0bcd..370ec327d 100644 --- a/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/subscriptions.rs +++ b/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/subscriptions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sns-controller/sns.services.k8s.aws/v1alpha1/subscriptions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sns-controller/sns.services.k8s.aws/v1alpha1/subscriptions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/topics.rs b/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/topics.rs index d45021e3d..91c99a033 100644 --- a/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/topics.rs +++ b/kube-custom-resources-rs/src/sns_services_k8s_aws/v1alpha1/topics.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sns-controller/sns.services.k8s.aws/v1alpha1/topics.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sns-controller/sns.services.k8s.aws/v1alpha1/topics.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sonataflow_org/v1alpha08/sonataflowbuilds.rs b/kube-custom-resources-rs/src/sonataflow_org/v1alpha08/sonataflowbuilds.rs index 091aa3a95..659e70b7c 100644 --- a/kube-custom-resources-rs/src/sonataflow_org/v1alpha08/sonataflowbuilds.rs +++ b/kube-custom-resources-rs/src/sonataflow_org/v1alpha08/sonataflowbuilds.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kiegroup/kogito-serverless-operator/sonataflow.org/v1alpha08/sonataflowbuilds.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kiegroup/kogito-serverless-operator/sonataflow.org/v1alpha08/sonataflowbuilds.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sonataflow_org/v1alpha08/sonataflowplatforms.rs b/kube-custom-resources-rs/src/sonataflow_org/v1alpha08/sonataflowplatforms.rs index 404be6026..cf1f26c1e 100644 --- a/kube-custom-resources-rs/src/sonataflow_org/v1alpha08/sonataflowplatforms.rs +++ b/kube-custom-resources-rs/src/sonataflow_org/v1alpha08/sonataflowplatforms.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kiegroup/kogito-serverless-operator/sonataflow.org/v1alpha08/sonataflowplatforms.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kiegroup/kogito-serverless-operator/sonataflow.org/v1alpha08/sonataflowplatforms.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1/gitrepositories.rs b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1/gitrepositories.rs index d486dc6da..0b6d8589a 100644 --- a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1/gitrepositories.rs +++ b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1/gitrepositories.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1/gitrepositories.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1/gitrepositories.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1/helmcharts.rs b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1/helmcharts.rs index 6306be051..92d3c1061 100644 --- a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1/helmcharts.rs +++ b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1/helmcharts.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1/helmcharts.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1/helmcharts.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -114,7 +114,7 @@ pub struct HelmChartVerify { /// OIDCIdentityMatch specifies options for verifying the certificate identity, /// i.e. the issuer and the subject of the certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmChartVerifyMatchOidcIdentity { /// Issuer specifies the regex pattern to match against to verify /// the OIDC issuer in the Fulcio certificate. The pattern must be a @@ -141,14 +141,14 @@ pub enum HelmChartVerifyProvider { /// SecretRef specifies the Kubernetes Secret containing the /// trusted public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmChartVerifySecretRef { /// Name of the referent. pub name: String, } /// HelmChartStatus records the observed state of the HelmChart. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmChartStatus { /// Artifact represents the output of the last successful reconciliation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -186,7 +186,7 @@ pub struct HelmChartStatus { } /// Artifact represents the output of the last successful reconciliation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmChartStatusArtifact { /// Digest is the digest of the file in the form of ':'. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1/helmrepositories.rs b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1/helmrepositories.rs index 3d772fe29..3aa83c434 100644 --- a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1/helmrepositories.rs +++ b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1/helmrepositories.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1/helmrepositories.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1/helmrepositories.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/buckets.rs b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/buckets.rs index 18b651cd5..95f0ea4a6 100644 --- a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/buckets.rs +++ b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/buckets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/buckets.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/buckets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// BucketSpec defines the desired state of an S3 compatible bucket -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "source.toolkit.fluxcd.io", version = "v1beta1", kind = "Bucket", plural = "buckets")] #[kube(namespaced)] #[kube(status = "BucketStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct BucketSpec { /// AccessFrom defines an Access Control List for allowing cross-namespace references to this object. @@ -56,7 +57,7 @@ pub struct BucketSpec { } /// AccessFrom defines an Access Control List for allowing cross-namespace references to this object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BucketAccessFrom { /// NamespaceSelectors is the list of namespace selectors to which this ACL applies. /// Items in this list are evaluated using a logical OR operation. @@ -66,7 +67,7 @@ pub struct BucketAccessFrom { /// NamespaceSelector selects the namespaces to which this ACL applies. /// An empty map of MatchLabels matches all namespaces in a cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BucketAccessFromNamespaceSelectors { /// MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels /// map is equivalent to an element of matchExpressions, whose key field is "key", the @@ -88,14 +89,14 @@ pub enum BucketProvider { /// The name of the secret containing authentication credentials /// for the Bucket. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BucketSecretRef { /// Name of the referent. pub name: String, } /// BucketStatus defines the observed state of a bucket -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BucketStatus { /// Artifact represents the output of the last successful Bucket sync. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -117,7 +118,7 @@ pub struct BucketStatus { } /// Artifact represents the output of the last successful Bucket sync. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BucketStatusArtifact { /// Checksum is the SHA256 checksum of the artifact. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/gitrepositories.rs b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/gitrepositories.rs index add266080..00d036edb 100644 --- a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/gitrepositories.rs +++ b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/gitrepositories.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/gitrepositories.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/gitrepositories.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// GitRepositorySpec defines the desired state of a Git repository. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "source.toolkit.fluxcd.io", version = "v1beta1", kind = "GitRepository", plural = "gitrepositories")] #[kube(namespaced)] #[kube(status = "GitRepositoryStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct GitRepositorySpec { /// AccessFrom defines an Access Control List for allowing cross-namespace references to this object. @@ -66,7 +67,7 @@ pub struct GitRepositorySpec { } /// AccessFrom defines an Access Control List for allowing cross-namespace references to this object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GitRepositoryAccessFrom { /// NamespaceSelectors is the list of namespace selectors to which this ACL applies. /// Items in this list are evaluated using a logical OR operation. @@ -76,7 +77,7 @@ pub struct GitRepositoryAccessFrom { /// NamespaceSelector selects the namespaces to which this ACL applies. /// An empty map of MatchLabels matches all namespaces in a cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GitRepositoryAccessFromNamespaceSelectors { /// MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels /// map is equivalent to an element of matchExpressions, whose key field is "key", the @@ -95,7 +96,7 @@ pub enum GitRepositoryGitImplementation { } /// GitRepositoryInclude defines a source with a from and to path. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GitRepositoryInclude { /// The path to copy contents from, defaults to the root directory. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fromPath")] @@ -108,7 +109,7 @@ pub struct GitRepositoryInclude { } /// Reference to a GitRepository to include. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GitRepositoryIncludeRepository { /// Name of the referent. pub name: String, @@ -116,7 +117,7 @@ pub struct GitRepositoryIncludeRepository { /// The Git reference to checkout and monitor for changes, defaults to /// master branch. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GitRepositoryRef { /// The Git branch to checkout, defaults to master. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -137,7 +138,7 @@ pub struct GitRepositoryRef { /// fields. /// For SSH repositories the secret must contain identity and known_hosts /// fields. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GitRepositorySecretRef { /// Name of the referent. pub name: String, @@ -161,14 +162,14 @@ pub enum GitRepositoryVerifyMode { } /// The secret name containing the public keys of all trusted Git authors. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GitRepositoryVerifySecretRef { /// Name of the referent. pub name: String, } /// GitRepositoryStatus defines the observed state of a Git repository. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GitRepositoryStatus { /// Artifact represents the output of the last successful repository sync. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -194,7 +195,7 @@ pub struct GitRepositoryStatus { } /// Artifact represents the output of the last successful repository sync. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GitRepositoryStatusArtifact { /// Checksum is the SHA256 checksum of the artifact. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -215,7 +216,7 @@ pub struct GitRepositoryStatusArtifact { } /// Artifact represents the output of a source synchronisation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GitRepositoryStatusIncludedArtifacts { /// Checksum is the SHA256 checksum of the artifact. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/helmcharts.rs b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/helmcharts.rs index f70416025..672f77a90 100644 --- a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/helmcharts.rs +++ b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/helmcharts.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/helmcharts.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/helmcharts.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -57,7 +57,7 @@ pub struct HelmChartSpec { } /// AccessFrom defines an Access Control List for allowing cross-namespace references to this object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmChartAccessFrom { /// NamespaceSelectors is the list of namespace selectors to which this ACL applies. /// Items in this list are evaluated using a logical OR operation. @@ -67,7 +67,7 @@ pub struct HelmChartAccessFrom { /// NamespaceSelector selects the namespaces to which this ACL applies. /// An empty map of MatchLabels matches all namespaces in a cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmChartAccessFromNamespaceSelectors { /// MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels /// map is equivalent to an element of matchExpressions, whose key field is "key", the @@ -105,7 +105,7 @@ pub enum HelmChartSourceRefKind { } /// HelmChartStatus defines the observed state of the HelmChart. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmChartStatus { /// Artifact represents the output of the last successful chart sync. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -127,7 +127,7 @@ pub struct HelmChartStatus { } /// Artifact represents the output of the last successful chart sync. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmChartStatusArtifact { /// Checksum is the SHA256 checksum of the artifact. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/helmrepositories.rs b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/helmrepositories.rs index d68faa75d..18c3c8bc3 100644 --- a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/helmrepositories.rs +++ b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta1/helmrepositories.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/helmrepositories.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta1/helmrepositories.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// HelmRepositorySpec defines the reference to a Helm repository. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "source.toolkit.fluxcd.io", version = "v1beta1", kind = "HelmRepository", plural = "helmrepositories")] #[kube(namespaced)] #[kube(status = "HelmRepositoryStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct HelmRepositorySpec { /// AccessFrom defines an Access Control List for allowing cross-namespace references to this object. @@ -51,7 +52,7 @@ pub struct HelmRepositorySpec { } /// AccessFrom defines an Access Control List for allowing cross-namespace references to this object. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmRepositoryAccessFrom { /// NamespaceSelectors is the list of namespace selectors to which this ACL applies. /// Items in this list are evaluated using a logical OR operation. @@ -61,7 +62,7 @@ pub struct HelmRepositoryAccessFrom { /// NamespaceSelector selects the namespaces to which this ACL applies. /// An empty map of MatchLabels matches all namespaces in a cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmRepositoryAccessFromNamespaceSelectors { /// MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels /// map is equivalent to an element of matchExpressions, whose key field is "key", the @@ -76,14 +77,14 @@ pub struct HelmRepositoryAccessFromNamespaceSelectors { /// password fields. /// For TLS the secret must contain a certFile and keyFile, and/or /// caFile fields. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmRepositorySecretRef { /// Name of the referent. pub name: String, } /// HelmRepositoryStatus defines the observed state of the HelmRepository. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmRepositoryStatus { /// Artifact represents the output of the last successful repository sync. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -105,7 +106,7 @@ pub struct HelmRepositoryStatus { } /// Artifact represents the output of the last successful repository sync. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmRepositoryStatusArtifact { /// Checksum is the SHA256 checksum of the artifact. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/buckets.rs b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/buckets.rs index 10f98c086..9d213a55d 100644 --- a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/buckets.rs +++ b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/buckets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/buckets.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/buckets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ use self::prelude::*; /// BucketSpec specifies the required configuration to produce an Artifact for /// an object storage bucket. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "source.toolkit.fluxcd.io", version = "v1beta2", kind = "Bucket", plural = "buckets")] #[kube(namespaced)] #[kube(status = "BucketStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct BucketSpec { /// AccessFrom specifies an Access Control List for allowing cross-namespace @@ -88,7 +89,7 @@ pub struct BucketSpec { /// AccessFrom specifies an Access Control List for allowing cross-namespace /// references to this object. /// NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092 -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BucketAccessFrom { /// NamespaceSelectors is the list of namespace selectors to which this ACL applies. /// Items in this list are evaluated using a logical OR operation. @@ -98,7 +99,7 @@ pub struct BucketAccessFrom { /// NamespaceSelector selects the namespaces to which this ACL applies. /// An empty map of MatchLabels matches all namespaces in a cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BucketAccessFromNamespaceSelectors { /// MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels /// map is equivalent to an element of matchExpressions, whose key field is "key", the @@ -124,7 +125,7 @@ pub struct BucketAccessFromNamespaceSelectors { /// /// /// This field is only supported for the `generic` provider. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BucketCertSecretRef { /// Name of the referent. pub name: String, @@ -146,14 +147,14 @@ pub enum BucketProvider { /// SecretRef specifies the Secret containing authentication credentials /// for the Bucket. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BucketSecretRef { /// Name of the referent. pub name: String, } /// BucketStatus records the observed state of a Bucket. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BucketStatus { /// Artifact represents the last successful Bucket reconciliation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -181,7 +182,7 @@ pub struct BucketStatus { } /// Artifact represents the last successful Bucket reconciliation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BucketStatusArtifact { /// Digest is the digest of the file in the form of ':'. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/gitrepositories.rs b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/gitrepositories.rs index 8d6daffae..ed4ab11a7 100644 --- a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/gitrepositories.rs +++ b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/gitrepositories.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/gitrepositories.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/gitrepositories.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ use self::prelude::*; /// GitRepositorySpec specifies the required configuration to produce an /// Artifact for a Git repository. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "source.toolkit.fluxcd.io", version = "v1beta2", kind = "GitRepository", plural = "gitrepositories")] #[kube(namespaced)] #[kube(status = "GitRepositoryStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct GitRepositorySpec { /// AccessFrom specifies an Access Control List for allowing cross-namespace @@ -76,7 +77,7 @@ pub struct GitRepositorySpec { /// AccessFrom specifies an Access Control List for allowing cross-namespace /// references to this object. /// NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092 -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GitRepositoryAccessFrom { /// NamespaceSelectors is the list of namespace selectors to which this ACL applies. /// Items in this list are evaluated using a logical OR operation. @@ -86,7 +87,7 @@ pub struct GitRepositoryAccessFrom { /// NamespaceSelector selects the namespaces to which this ACL applies. /// An empty map of MatchLabels matches all namespaces in a cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GitRepositoryAccessFromNamespaceSelectors { /// MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels /// map is equivalent to an element of matchExpressions, whose key field is "key", the @@ -107,7 +108,7 @@ pub enum GitRepositoryGitImplementation { /// GitRepositoryInclude specifies a local reference to a GitRepository which /// Artifact (sub-)contents must be included, and where they should be placed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GitRepositoryInclude { /// FromPath specifies the path to copy contents from, defaults to the root /// of the Artifact. @@ -124,7 +125,7 @@ pub struct GitRepositoryInclude { /// GitRepositoryRef specifies the GitRepository which Artifact contents /// must be included. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GitRepositoryIncludeRepository { /// Name of the referent. pub name: String, @@ -132,7 +133,7 @@ pub struct GitRepositoryIncludeRepository { /// Reference specifies the Git reference to resolve and monitor for /// changes, defaults to the 'master' branch. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GitRepositoryRef { /// Branch to check out, defaults to 'master' if no other field is defined. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -165,7 +166,7 @@ pub struct GitRepositoryRef { /// fields for basic auth or 'bearerToken' field for token auth. /// For SSH repositories the Secret must contain 'identity' /// and 'known_hosts' fields. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GitRepositorySecretRef { /// Name of the referent. pub name: String, @@ -193,14 +194,14 @@ pub enum GitRepositoryVerifyMode { /// SecretRef specifies the Secret containing the public keys of trusted Git /// authors. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GitRepositoryVerifySecretRef { /// Name of the referent. pub name: String, } /// GitRepositoryStatus records the observed state of a Git repository. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GitRepositoryStatus { /// Artifact represents the last successful GitRepository reconciliation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -256,7 +257,7 @@ pub struct GitRepositoryStatus { } /// Artifact represents the last successful GitRepository reconciliation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GitRepositoryStatusArtifact { /// Digest is the digest of the file in the form of ':'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -285,7 +286,7 @@ pub struct GitRepositoryStatusArtifact { } /// Artifact represents the output of a Source reconciliation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GitRepositoryStatusIncludedArtifacts { /// Digest is the digest of the file in the form of ':'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -315,7 +316,7 @@ pub struct GitRepositoryStatusIncludedArtifacts { /// GitRepositoryInclude specifies a local reference to a GitRepository which /// Artifact (sub-)contents must be included, and where they should be placed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GitRepositoryStatusObservedInclude { /// FromPath specifies the path to copy contents from, defaults to the root /// of the Artifact. @@ -332,7 +333,7 @@ pub struct GitRepositoryStatusObservedInclude { /// GitRepositoryRef specifies the GitRepository which Artifact contents /// must be included. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct GitRepositoryStatusObservedIncludeRepository { /// Name of the referent. pub name: String, diff --git a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/helmcharts.rs b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/helmcharts.rs index 2ebc8ee49..19605ed93 100644 --- a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/helmcharts.rs +++ b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/helmcharts.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/helmcharts.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/helmcharts.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -77,7 +77,7 @@ pub struct HelmChartSpec { /// AccessFrom specifies an Access Control List for allowing cross-namespace /// references to this object. /// NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092 -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmChartAccessFrom { /// NamespaceSelectors is the list of namespace selectors to which this ACL applies. /// Items in this list are evaluated using a logical OR operation. @@ -87,7 +87,7 @@ pub struct HelmChartAccessFrom { /// NamespaceSelector selects the namespaces to which this ACL applies. /// An empty map of MatchLabels matches all namespaces in a cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmChartAccessFromNamespaceSelectors { /// MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels /// map is equivalent to an element of matchExpressions, whose key field is "key", the @@ -147,7 +147,7 @@ pub struct HelmChartVerify { /// OIDCIdentityMatch specifies options for verifying the certificate identity, /// i.e. the issuer and the subject of the certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmChartVerifyMatchOidcIdentity { /// Issuer specifies the regex pattern to match against to verify /// the OIDC issuer in the Fulcio certificate. The pattern must be a @@ -174,14 +174,14 @@ pub enum HelmChartVerifyProvider { /// SecretRef specifies the Kubernetes Secret containing the /// trusted public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmChartVerifySecretRef { /// Name of the referent. pub name: String, } /// HelmChartStatus records the observed state of the HelmChart. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmChartStatus { /// Artifact represents the output of the last successful reconciliation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -219,7 +219,7 @@ pub struct HelmChartStatus { } /// Artifact represents the output of the last successful reconciliation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmChartStatusArtifact { /// Digest is the digest of the file in the form of ':'. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/helmrepositories.rs b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/helmrepositories.rs index 4f1746054..f8a3533fc 100644 --- a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/helmrepositories.rs +++ b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/helmrepositories.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/helmrepositories.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/helmrepositories.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ use self::prelude::*; /// HelmRepositorySpec specifies the required configuration to produce an /// Artifact for a Helm repository index YAML. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "source.toolkit.fluxcd.io", version = "v1beta2", kind = "HelmRepository", plural = "helmrepositories")] #[kube(namespaced)] #[kube(status = "HelmRepositoryStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct HelmRepositorySpec { /// AccessFrom specifies an Access Control List for allowing cross-namespace @@ -97,7 +98,7 @@ pub struct HelmRepositorySpec { /// AccessFrom specifies an Access Control List for allowing cross-namespace /// references to this object. /// NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092 -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmRepositoryAccessFrom { /// NamespaceSelectors is the list of namespace selectors to which this ACL applies. /// Items in this list are evaluated using a logical OR operation. @@ -107,7 +108,7 @@ pub struct HelmRepositoryAccessFrom { /// NamespaceSelector selects the namespaces to which this ACL applies. /// An empty map of MatchLabels matches all namespaces in a cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmRepositoryAccessFromNamespaceSelectors { /// MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels /// map is equivalent to an element of matchExpressions, whose key field is "key", the @@ -134,7 +135,7 @@ pub struct HelmRepositoryAccessFromNamespaceSelectors { /// /// It takes precedence over the values specified in the Secret referred /// to by `.spec.secretRef`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmRepositoryCertSecretRef { /// Name of the referent. pub name: String, @@ -160,7 +161,7 @@ pub enum HelmRepositoryProvider { /// fields. /// Support for TLS auth using the 'certFile' and 'keyFile', and/or 'caFile' /// keys is deprecated. Please use `.spec.certSecretRef` instead. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmRepositorySecretRef { /// Name of the referent. pub name: String, @@ -177,7 +178,7 @@ pub enum HelmRepositoryType { } /// HelmRepositoryStatus records the observed state of the HelmRepository. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmRepositoryStatus { /// Artifact represents the last successful HelmRepository reconciliation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -202,7 +203,7 @@ pub struct HelmRepositoryStatus { } /// Artifact represents the last successful HelmRepository reconciliation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct HelmRepositoryStatusArtifact { /// Digest is the digest of the file in the form of ':'. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/ocirepositories.rs b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/ocirepositories.rs index d12bfaff5..fe17c1f4a 100644 --- a/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/ocirepositories.rs +++ b/kube-custom-resources-rs/src/source_toolkit_fluxcd_io/v1beta2/ocirepositories.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/ocirepositories.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/fluxcd/source-controller/source.toolkit.fluxcd.io/v1beta2/ocirepositories.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// OCIRepositorySpec defines the desired state of OCIRepository -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "source.toolkit.fluxcd.io", version = "v1beta2", kind = "OCIRepository", plural = "ocirepositories")] #[kube(namespaced)] #[kube(status = "OCIRepositoryStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct OCIRepositorySpec { /// CertSecretRef can be given the name of a Secret containing @@ -107,7 +108,7 @@ pub struct OCIRepositorySpec { /// /// Note: Support for the `caFile`, `certFile` and `keyFile` keys have /// been deprecated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OCIRepositoryCertSecretRef { /// Name of the referent. pub name: String, @@ -115,7 +116,7 @@ pub struct OCIRepositoryCertSecretRef { /// LayerSelector specifies which layer should be extracted from the OCI artifact. /// When not specified, the first layer found in the artifact is selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OCIRepositoryLayerSelector { /// MediaType specifies the OCI media type of the layer /// which should be extracted from the OCI Artifact. The @@ -155,7 +156,7 @@ pub enum OCIRepositoryProvider { /// The OCI reference to pull and monitor for changes, /// defaults to the latest tag. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OCIRepositoryRef { /// Digest is the image digest to pull, takes precedence over SemVer. /// The value should be in the format 'sha256:'. @@ -176,7 +177,7 @@ pub struct OCIRepositoryRef { /// SecretRef contains the secret name containing the registry login /// credentials to resolve image metadata. /// The secret must be of type kubernetes.io/dockerconfigjson. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OCIRepositorySecretRef { /// Name of the referent. pub name: String, @@ -203,7 +204,7 @@ pub struct OCIRepositoryVerify { /// OIDCIdentityMatch specifies options for verifying the certificate identity, /// i.e. the issuer and the subject of the certificate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OCIRepositoryVerifyMatchOidcIdentity { /// Issuer specifies the regex pattern to match against to verify /// the OIDC issuer in the Fulcio certificate. The pattern must be a @@ -228,14 +229,14 @@ pub enum OCIRepositoryVerifyProvider { /// SecretRef specifies the Kubernetes Secret containing the /// trusted public keys. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OCIRepositoryVerifySecretRef { /// Name of the referent. pub name: String, } /// OCIRepositoryStatus defines the observed state of OCIRepository -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OCIRepositoryStatus { /// Artifact represents the output of the last successful OCI Repository sync. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -279,7 +280,7 @@ pub struct OCIRepositoryStatus { } /// Artifact represents the output of the last successful OCI Repository sync. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OCIRepositoryStatusArtifact { /// Digest is the digest of the file in the form of ':'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -309,7 +310,7 @@ pub struct OCIRepositoryStatusArtifact { /// ObservedLayerSelector is the observed layer selector used for constructing /// the source artifact. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct OCIRepositoryStatusObservedLayerSelector { /// MediaType specifies the OCI media type of the layer /// which should be extracted from the OCI Artifact. The diff --git a/kube-custom-resources-rs/src/sparkoperator_k8s_io/v1beta2/scheduledsparkapplications.rs b/kube-custom-resources-rs/src/sparkoperator_k8s_io/v1beta2/scheduledsparkapplications.rs index b1ab72820..a37596c7d 100644 --- a/kube-custom-resources-rs/src/sparkoperator_k8s_io/v1beta2/scheduledsparkapplications.rs +++ b/kube-custom-resources-rs/src/sparkoperator_k8s_io/v1beta2/scheduledsparkapplications.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/spark-on-k8s-operator/sparkoperator.k8s.io/v1beta2/scheduledsparkapplications.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/spark-on-k8s-operator/sparkoperator.k8s.io/v1beta2/scheduledsparkapplications.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -94,7 +94,7 @@ pub struct ScheduledSparkApplicationTemplate { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateBatchSchedulerOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "priorityClassName")] pub priority_class_name: Option, @@ -104,7 +104,7 @@ pub struct ScheduledSparkApplicationTemplateBatchSchedulerOptions { pub resources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDeps { #[serde(default, skip_serializing_if = "Option::is_none", rename = "excludePackages")] pub exclude_packages: Option>, @@ -120,7 +120,7 @@ pub struct ScheduledSparkApplicationTemplateDeps { pub repositories: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriver { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -196,7 +196,7 @@ pub struct ScheduledSparkApplicationTemplateDriver { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -206,7 +206,7 @@ pub struct ScheduledSparkApplicationTemplateDriverAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -214,13 +214,13 @@ pub struct ScheduledSparkApplicationTemplateDriverAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: ScheduledSparkApplicationTemplateDriverAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -228,7 +228,7 @@ pub struct ScheduledSparkApplicationTemplateDriverAffinityNodeAffinityPreferredD pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -236,7 +236,7 @@ pub struct ScheduledSparkApplicationTemplateDriverAffinityNodeAffinityPreferredD pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -244,13 +244,13 @@ pub struct ScheduledSparkApplicationTemplateDriverAffinityNodeAffinityPreferredD pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -258,7 +258,7 @@ pub struct ScheduledSparkApplicationTemplateDriverAffinityNodeAffinityRequiredDu pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -266,7 +266,7 @@ pub struct ScheduledSparkApplicationTemplateDriverAffinityNodeAffinityRequiredDu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -274,7 +274,7 @@ pub struct ScheduledSparkApplicationTemplateDriverAffinityNodeAffinityRequiredDu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -282,14 +282,14 @@ pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: ScheduledSparkApplicationTemplateDriverAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -299,7 +299,7 @@ pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAffinityPreferredDu pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -307,7 +307,7 @@ pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAffinityPreferredDu pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -315,7 +315,7 @@ pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAffinityPreferredDu pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -325,7 +325,7 @@ pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAffinityRequiredDur pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -333,7 +333,7 @@ pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAffinityRequiredDur pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -341,7 +341,7 @@ pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAffinityRequiredDur pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -349,14 +349,14 @@ pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: ScheduledSparkApplicationTemplateDriverAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -366,7 +366,7 @@ pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAntiAffinityPreferr pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -374,7 +374,7 @@ pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAntiAffinityPreferr pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -382,7 +382,7 @@ pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAntiAffinityPreferr pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -392,7 +392,7 @@ pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAntiAffinityRequire pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -400,7 +400,7 @@ pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAntiAffinityRequire pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -408,13 +408,13 @@ pub struct ScheduledSparkApplicationTemplateDriverAffinityPodAntiAffinityRequire pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverConfigMaps { pub name: String, pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverDnsConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, @@ -424,7 +424,7 @@ pub struct ScheduledSparkApplicationTemplateDriverDnsConfig { pub searches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverDnsConfigOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -432,7 +432,7 @@ pub struct ScheduledSparkApplicationTemplateDriverDnsConfigOptions { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -441,7 +441,7 @@ pub struct ScheduledSparkApplicationTemplateDriverEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -453,7 +453,7 @@ pub struct ScheduledSparkApplicationTemplateDriverEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -462,7 +462,7 @@ pub struct ScheduledSparkApplicationTemplateDriverEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -470,7 +470,7 @@ pub struct ScheduledSparkApplicationTemplateDriverEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -479,7 +479,7 @@ pub struct ScheduledSparkApplicationTemplateDriverEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -488,7 +488,7 @@ pub struct ScheduledSparkApplicationTemplateDriverEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -498,7 +498,7 @@ pub struct ScheduledSparkApplicationTemplateDriverEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -506,7 +506,7 @@ pub struct ScheduledSparkApplicationTemplateDriverEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -514,7 +514,7 @@ pub struct ScheduledSparkApplicationTemplateDriverEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverEnvSecretKeyRefs { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -522,13 +522,13 @@ pub struct ScheduledSparkApplicationTemplateDriverEnvSecretKeyRefs { pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverGpu { pub name: String, pub quantity: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -536,7 +536,7 @@ pub struct ScheduledSparkApplicationTemplateDriverHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -583,7 +583,7 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -592,7 +592,7 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -604,7 +604,7 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -613,7 +613,7 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersEnvValueFromConf pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -621,7 +621,7 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersEnvValueFromFiel pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -630,7 +630,7 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersEnvValueFromReso pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -639,7 +639,7 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersEnvValueFromSecr pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -649,7 +649,7 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -657,7 +657,7 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersEnvFromConfigMap pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -665,7 +665,7 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersEnvFromSecretRef pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -673,7 +673,7 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -683,13 +683,13 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersLifecyclePostSta pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -702,20 +702,20 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersLifecyclePostSta pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -725,13 +725,13 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersLifecyclePreStop pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -744,20 +744,20 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersLifecyclePreStop pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -777,13 +777,13 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -796,20 +796,20 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersLivenessProbeHtt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -822,7 +822,7 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersPorts { pub protocol: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -842,13 +842,13 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -861,20 +861,20 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersReadinessProbeHt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -882,7 +882,7 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -908,7 +908,7 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersSecurityContext pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -916,7 +916,7 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersSecurityContextC pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -928,13 +928,13 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersSecurityContextS pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -944,7 +944,7 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersSecurityContextW pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -964,13 +964,13 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -983,27 +983,27 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersStartupProbeHttp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1018,7 +1018,7 @@ pub struct ScheduledSparkApplicationTemplateDriverInitContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -1026,7 +1026,7 @@ pub struct ScheduledSparkApplicationTemplateDriverLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1036,13 +1036,13 @@ pub struct ScheduledSparkApplicationTemplateDriverLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1055,20 +1055,20 @@ pub struct ScheduledSparkApplicationTemplateDriverLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1078,13 +1078,13 @@ pub struct ScheduledSparkApplicationTemplateDriverLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1097,20 +1097,20 @@ pub struct ScheduledSparkApplicationTemplateDriverLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverPodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -1130,7 +1130,7 @@ pub struct ScheduledSparkApplicationTemplateDriverPodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverPodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1142,13 +1142,13 @@ pub struct ScheduledSparkApplicationTemplateDriverPodSecurityContextSeLinuxOptio pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverPodSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverPodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1158,7 +1158,7 @@ pub struct ScheduledSparkApplicationTemplateDriverPodSecurityContextWindowsOptio pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSecrets { pub name: String, pub path: String, @@ -1166,7 +1166,7 @@ pub struct ScheduledSparkApplicationTemplateDriverSecrets { pub secret_type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1192,7 +1192,7 @@ pub struct ScheduledSparkApplicationTemplateDriverSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1200,7 +1200,7 @@ pub struct ScheduledSparkApplicationTemplateDriverSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1212,13 +1212,13 @@ pub struct ScheduledSparkApplicationTemplateDriverSecurityContextSeLinuxOptions pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1228,7 +1228,7 @@ pub struct ScheduledSparkApplicationTemplateDriverSecurityContextWindowsOptions pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecars { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -1275,7 +1275,7 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecars { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1284,7 +1284,7 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -1296,7 +1296,7 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1305,7 +1305,7 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsEnvValueFromConfigMapK pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1313,7 +1313,7 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1322,7 +1322,7 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsEnvValueFromResourceFi pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1331,7 +1331,7 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsEnvValueFromSecretKeyR pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -1341,7 +1341,7 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1349,7 +1349,7 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1357,7 +1357,7 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -1365,7 +1365,7 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1375,13 +1375,13 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1394,20 +1394,20 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsLifecyclePostStartHttp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1417,13 +1417,13 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1436,20 +1436,20 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsLifecyclePreStopHttpGe pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1469,13 +1469,13 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1488,20 +1488,20 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -1514,7 +1514,7 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsPorts { pub protocol: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1534,13 +1534,13 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1553,20 +1553,20 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsReadinessProbeHttpGet pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -1574,7 +1574,7 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1600,7 +1600,7 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1608,7 +1608,7 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsSecurityContextCapabil pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1620,13 +1620,13 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsSecurityContextSeLinux pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1636,7 +1636,7 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsSecurityContextWindows pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1656,13 +1656,13 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1675,27 +1675,27 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverSidecarsVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1710,7 +1710,7 @@ pub struct ScheduledSparkApplicationTemplateDriverSidecarsVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -1724,7 +1724,7 @@ pub struct ScheduledSparkApplicationTemplateDriverTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1739,7 +1739,7 @@ pub struct ScheduledSparkApplicationTemplateDriverVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverIngressOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "ingressAnnotations")] pub ingress_annotations: Option>, @@ -1759,7 +1759,7 @@ pub struct ScheduledSparkApplicationTemplateDriverIngressOptions { pub service_type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDriverIngressOptionsIngressTls { #[serde(default, skip_serializing_if = "Option::is_none")] pub hosts: Option>, @@ -1767,7 +1767,7 @@ pub struct ScheduledSparkApplicationTemplateDriverIngressOptionsIngressTls { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateDynamicAllocation { #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, @@ -1781,7 +1781,7 @@ pub struct ScheduledSparkApplicationTemplateDynamicAllocation { pub shuffle_tracking_timeout: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutor { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -1851,7 +1851,7 @@ pub struct ScheduledSparkApplicationTemplateExecutor { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -1861,7 +1861,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -1869,13 +1869,13 @@ pub struct ScheduledSparkApplicationTemplateExecutorAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: ScheduledSparkApplicationTemplateExecutorAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1883,7 +1883,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorAffinityNodeAffinityPreferre pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -1891,7 +1891,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorAffinityNodeAffinityPreferre pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -1899,13 +1899,13 @@ pub struct ScheduledSparkApplicationTemplateExecutorAffinityNodeAffinityPreferre pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1913,7 +1913,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorAffinityNodeAffinityRequired pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -1921,7 +1921,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorAffinityNodeAffinityRequired pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -1929,7 +1929,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorAffinityNodeAffinityRequired pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -1937,14 +1937,14 @@ pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: ScheduledSparkApplicationTemplateExecutorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1954,7 +1954,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAffinityPreferred pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1962,7 +1962,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAffinityPreferred pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1970,7 +1970,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAffinityPreferred pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1980,7 +1980,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAffinityRequiredD pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1988,7 +1988,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAffinityRequiredD pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1996,7 +1996,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAffinityRequiredD pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -2004,14 +2004,14 @@ pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: ScheduledSparkApplicationTemplateExecutorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -2021,7 +2021,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAntiAffinityPrefe pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2029,7 +2029,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAntiAffinityPrefe pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2037,7 +2037,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAntiAffinityPrefe pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -2047,7 +2047,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAntiAffinityRequi pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2055,7 +2055,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAntiAffinityRequi pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2063,13 +2063,13 @@ pub struct ScheduledSparkApplicationTemplateExecutorAffinityPodAntiAffinityRequi pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorConfigMaps { pub name: String, pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorDnsConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, @@ -2079,7 +2079,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorDnsConfig { pub searches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorDnsConfigOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2087,7 +2087,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorDnsConfigOptions { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2096,7 +2096,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -2108,7 +2108,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2117,7 +2117,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorEnvValueFromConfigMapKeyRef pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2125,7 +2125,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2134,7 +2134,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorEnvValueFromResourceFieldRef pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2143,7 +2143,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -2153,7 +2153,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2161,7 +2161,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2169,7 +2169,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorEnvSecretKeyRefs { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -2177,13 +2177,13 @@ pub struct ScheduledSparkApplicationTemplateExecutorEnvSecretKeyRefs { pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorGpu { pub name: String, pub quantity: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -2191,7 +2191,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -2238,7 +2238,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2247,7 +2247,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -2259,7 +2259,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2268,7 +2268,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersEnvValueFromCo pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2276,7 +2276,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersEnvValueFromFi pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2285,7 +2285,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersEnvValueFromRe pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2294,7 +2294,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersEnvValueFromSe pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -2304,7 +2304,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2312,7 +2312,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersEnvFromConfigM pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2320,7 +2320,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersEnvFromSecretR pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -2328,7 +2328,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2338,13 +2338,13 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersLifecyclePostS pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2357,20 +2357,20 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersLifecyclePostS pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2380,13 +2380,13 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersLifecyclePreSt pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2399,20 +2399,20 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersLifecyclePreSt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2432,13 +2432,13 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersLivenessProbe pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2451,20 +2451,20 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersLivenessProbeH pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -2477,7 +2477,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersPorts { pub protocol: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2497,13 +2497,13 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersReadinessProbe pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2516,20 +2516,20 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersReadinessProbe pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -2537,7 +2537,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -2563,7 +2563,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersSecurityContex pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -2571,7 +2571,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersSecurityContex pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2583,13 +2583,13 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersSecurityContex pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2599,7 +2599,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersSecurityContex pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2619,13 +2619,13 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2638,27 +2638,27 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersStartupProbeHt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -2673,7 +2673,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorInitContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorPodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -2693,7 +2693,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorPodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorPodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2705,13 +2705,13 @@ pub struct ScheduledSparkApplicationTemplateExecutorPodSecurityContextSeLinuxOpt pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorPodSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorPodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2721,7 +2721,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorPodSecurityContextWindowsOpt pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSecrets { pub name: String, pub path: String, @@ -2729,7 +2729,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorSecrets { pub secret_type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -2755,7 +2755,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -2763,7 +2763,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorSecurityContextCapabilities pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2775,13 +2775,13 @@ pub struct ScheduledSparkApplicationTemplateExecutorSecurityContextSeLinuxOption pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2791,7 +2791,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorSecurityContextWindowsOption pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecars { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -2838,7 +2838,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecars { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2847,7 +2847,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -2859,7 +2859,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2868,7 +2868,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsEnvValueFromConfigMa pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2876,7 +2876,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsEnvValueFromFieldRef pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2885,7 +2885,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsEnvValueFromResource pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2894,7 +2894,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsEnvValueFromSecretKe pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -2904,7 +2904,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2912,7 +2912,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsEnvFromConfigMapRef pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2920,7 +2920,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -2928,7 +2928,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2938,13 +2938,13 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2957,20 +2957,20 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsLifecyclePostStartHt pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2980,13 +2980,13 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2999,20 +2999,20 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsLifecyclePreStopHttp pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3032,13 +3032,13 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3051,20 +3051,20 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsLivenessProbeHttpGet pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -3077,7 +3077,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsPorts { pub protocol: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3097,13 +3097,13 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3116,20 +3116,20 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsReadinessProbeHttpGe pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -3137,7 +3137,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -3163,7 +3163,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -3171,7 +3171,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsSecurityContextCapab pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -3183,13 +3183,13 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsSecurityContextSeLin pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -3199,7 +3199,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsSecurityContextWindo pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3219,13 +3219,13 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3238,27 +3238,27 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsStartupProbeHttpGet pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorSidecarsVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -3273,7 +3273,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorSidecarsVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -3287,7 +3287,7 @@ pub struct ScheduledSparkApplicationTemplateExecutorTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateExecutorVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -3310,7 +3310,7 @@ pub enum ScheduledSparkApplicationTemplateMode { Client, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateMonitoring { #[serde(rename = "exposeDriverMetrics")] pub expose_driver_metrics: bool, @@ -3324,7 +3324,7 @@ pub struct ScheduledSparkApplicationTemplateMonitoring { pub prometheus: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateMonitoringPrometheus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configFile")] pub config_file: Option, @@ -3346,7 +3346,7 @@ pub enum ScheduledSparkApplicationTemplatePythonVersion { r#_3, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateRestartPolicy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "onFailureRetries")] pub on_failure_retries: Option, @@ -3367,7 +3367,7 @@ pub enum ScheduledSparkApplicationTemplateRestartPolicyType { OnFailure, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateSparkUiOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "ingressAnnotations")] pub ingress_annotations: Option>, @@ -3383,7 +3383,7 @@ pub struct ScheduledSparkApplicationTemplateSparkUiOptions { pub service_type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateSparkUiOptionsIngressTls { #[serde(default, skip_serializing_if = "Option::is_none")] pub hosts: Option>, @@ -3399,7 +3399,7 @@ pub enum ScheduledSparkApplicationTemplateType { R, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -3462,7 +3462,7 @@ pub struct ScheduledSparkApplicationTemplateVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3474,7 +3474,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesAwsElasticBlockStore { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -3490,7 +3490,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -3500,7 +3500,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3515,13 +3515,13 @@ pub struct ScheduledSparkApplicationTemplateVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3533,13 +3533,13 @@ pub struct ScheduledSparkApplicationTemplateVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3551,7 +3551,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3559,7 +3559,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3572,13 +3572,13 @@ pub struct ScheduledSparkApplicationTemplateVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3586,7 +3586,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -3597,7 +3597,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3605,7 +3605,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3614,7 +3614,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesDownwardApiItemsResourceField pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -3622,19 +3622,19 @@ pub struct ScheduledSparkApplicationTemplateVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -3644,19 +3644,19 @@ pub struct ScheduledSparkApplicationTemplateVolumesEphemeralVolumeClaimTemplateS pub storage_class_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub requests: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesEphemeralVolumeClaimTemplateSpecResourcesRequests { #[serde(default, skip_serializing_if = "Option::is_none")] pub storage: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3670,7 +3670,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3683,13 +3683,13 @@ pub struct ScheduledSparkApplicationTemplateVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -3697,7 +3697,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3709,7 +3709,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesGcePersistentDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -3718,7 +3718,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -3726,14 +3726,14 @@ pub struct ScheduledSparkApplicationTemplateVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -3757,13 +3757,13 @@ pub struct ScheduledSparkApplicationTemplateVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -3771,7 +3771,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -3779,7 +3779,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesPersistentVolumeClaim { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3787,7 +3787,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesPhotonPersistentDisk { pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3797,14 +3797,14 @@ pub struct ScheduledSparkApplicationTemplateVolumesPortworxVolume { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, pub sources: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -3816,7 +3816,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesProjectedSources { pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -3826,7 +3826,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesProjectedSourcesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3834,13 +3834,13 @@ pub struct ScheduledSparkApplicationTemplateVolumesProjectedSourcesConfigMapItem pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -3851,7 +3851,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesProjectedSourcesDownwardApiIt pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3859,7 +3859,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesProjectedSourcesDownwardApiIt pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3868,7 +3868,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesProjectedSourcesDownwardApiIt pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -3878,7 +3878,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesProjectedSourcesSecret { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3886,7 +3886,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesProjectedSourcesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -3895,7 +3895,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesProjectedSourcesServiceAccoun pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -3909,7 +3909,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3927,13 +3927,13 @@ pub struct ScheduledSparkApplicationTemplateVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3955,13 +3955,13 @@ pub struct ScheduledSparkApplicationTemplateVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3973,7 +3973,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3981,7 +3981,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3995,13 +3995,13 @@ pub struct ScheduledSparkApplicationTemplateVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationTemplateVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4013,7 +4013,7 @@ pub struct ScheduledSparkApplicationTemplateVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ScheduledSparkApplicationStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "lastRun")] pub last_run: Option, diff --git a/kube-custom-resources-rs/src/sparkoperator_k8s_io/v1beta2/sparkapplications.rs b/kube-custom-resources-rs/src/sparkoperator_k8s_io/v1beta2/sparkapplications.rs index 748e99a1e..ffc72eee5 100644 --- a/kube-custom-resources-rs/src/sparkoperator_k8s_io/v1beta2/sparkapplications.rs +++ b/kube-custom-resources-rs/src/sparkoperator_k8s_io/v1beta2/sparkapplications.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/spark-on-k8s-operator/sparkoperator.k8s.io/v1beta2/sparkapplications.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/GoogleCloudPlatform/spark-on-k8s-operator/sparkoperator.k8s.io/v1beta2/sparkapplications.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -80,7 +80,7 @@ pub struct SparkApplicationSpec { pub volumes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationBatchSchedulerOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "priorityClassName")] pub priority_class_name: Option, @@ -90,7 +90,7 @@ pub struct SparkApplicationBatchSchedulerOptions { pub resources: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDeps { #[serde(default, skip_serializing_if = "Option::is_none", rename = "excludePackages")] pub exclude_packages: Option>, @@ -106,7 +106,7 @@ pub struct SparkApplicationDeps { pub repositories: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriver { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -182,7 +182,7 @@ pub struct SparkApplicationDriver { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -192,7 +192,7 @@ pub struct SparkApplicationDriverAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -200,13 +200,13 @@ pub struct SparkApplicationDriverAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: SparkApplicationDriverAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -214,7 +214,7 @@ pub struct SparkApplicationDriverAffinityNodeAffinityPreferredDuringSchedulingIg pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -222,7 +222,7 @@ pub struct SparkApplicationDriverAffinityNodeAffinityPreferredDuringSchedulingIg pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -230,13 +230,13 @@ pub struct SparkApplicationDriverAffinityNodeAffinityPreferredDuringSchedulingIg pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -244,7 +244,7 @@ pub struct SparkApplicationDriverAffinityNodeAffinityRequiredDuringSchedulingIgn pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -252,7 +252,7 @@ pub struct SparkApplicationDriverAffinityNodeAffinityRequiredDuringSchedulingIgn pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -260,7 +260,7 @@ pub struct SparkApplicationDriverAffinityNodeAffinityRequiredDuringSchedulingIgn pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -268,14 +268,14 @@ pub struct SparkApplicationDriverAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: SparkApplicationDriverAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -285,7 +285,7 @@ pub struct SparkApplicationDriverAffinityPodAffinityPreferredDuringSchedulingIgn pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -293,7 +293,7 @@ pub struct SparkApplicationDriverAffinityPodAffinityPreferredDuringSchedulingIgn pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -301,7 +301,7 @@ pub struct SparkApplicationDriverAffinityPodAffinityPreferredDuringSchedulingIgn pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -311,7 +311,7 @@ pub struct SparkApplicationDriverAffinityPodAffinityRequiredDuringSchedulingIgno pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -319,7 +319,7 @@ pub struct SparkApplicationDriverAffinityPodAffinityRequiredDuringSchedulingIgno pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -327,7 +327,7 @@ pub struct SparkApplicationDriverAffinityPodAffinityRequiredDuringSchedulingIgno pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -335,14 +335,14 @@ pub struct SparkApplicationDriverAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: SparkApplicationDriverAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -352,7 +352,7 @@ pub struct SparkApplicationDriverAffinityPodAntiAffinityPreferredDuringSchedulin pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -360,7 +360,7 @@ pub struct SparkApplicationDriverAffinityPodAntiAffinityPreferredDuringSchedulin pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -368,7 +368,7 @@ pub struct SparkApplicationDriverAffinityPodAntiAffinityPreferredDuringSchedulin pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -378,7 +378,7 @@ pub struct SparkApplicationDriverAffinityPodAntiAffinityRequiredDuringScheduling pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -386,7 +386,7 @@ pub struct SparkApplicationDriverAffinityPodAntiAffinityRequiredDuringScheduling pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -394,13 +394,13 @@ pub struct SparkApplicationDriverAffinityPodAntiAffinityRequiredDuringScheduling pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverConfigMaps { pub name: String, pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverDnsConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, @@ -410,7 +410,7 @@ pub struct SparkApplicationDriverDnsConfig { pub searches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverDnsConfigOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -418,7 +418,7 @@ pub struct SparkApplicationDriverDnsConfigOptions { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -427,7 +427,7 @@ pub struct SparkApplicationDriverEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -439,7 +439,7 @@ pub struct SparkApplicationDriverEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -448,7 +448,7 @@ pub struct SparkApplicationDriverEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -456,7 +456,7 @@ pub struct SparkApplicationDriverEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -465,7 +465,7 @@ pub struct SparkApplicationDriverEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -474,7 +474,7 @@ pub struct SparkApplicationDriverEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -484,7 +484,7 @@ pub struct SparkApplicationDriverEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -492,7 +492,7 @@ pub struct SparkApplicationDriverEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -500,7 +500,7 @@ pub struct SparkApplicationDriverEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverEnvSecretKeyRefs { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -508,13 +508,13 @@ pub struct SparkApplicationDriverEnvSecretKeyRefs { pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverGpu { pub name: String, pub quantity: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -522,7 +522,7 @@ pub struct SparkApplicationDriverHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -569,7 +569,7 @@ pub struct SparkApplicationDriverInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -578,7 +578,7 @@ pub struct SparkApplicationDriverInitContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -590,7 +590,7 @@ pub struct SparkApplicationDriverInitContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -599,7 +599,7 @@ pub struct SparkApplicationDriverInitContainersEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -607,7 +607,7 @@ pub struct SparkApplicationDriverInitContainersEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -616,7 +616,7 @@ pub struct SparkApplicationDriverInitContainersEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -625,7 +625,7 @@ pub struct SparkApplicationDriverInitContainersEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -635,7 +635,7 @@ pub struct SparkApplicationDriverInitContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -643,7 +643,7 @@ pub struct SparkApplicationDriverInitContainersEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -651,7 +651,7 @@ pub struct SparkApplicationDriverInitContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -659,7 +659,7 @@ pub struct SparkApplicationDriverInitContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -669,13 +669,13 @@ pub struct SparkApplicationDriverInitContainersLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -688,20 +688,20 @@ pub struct SparkApplicationDriverInitContainersLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -711,13 +711,13 @@ pub struct SparkApplicationDriverInitContainersLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -730,20 +730,20 @@ pub struct SparkApplicationDriverInitContainersLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -763,13 +763,13 @@ pub struct SparkApplicationDriverInitContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -782,20 +782,20 @@ pub struct SparkApplicationDriverInitContainersLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -808,7 +808,7 @@ pub struct SparkApplicationDriverInitContainersPorts { pub protocol: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -828,13 +828,13 @@ pub struct SparkApplicationDriverInitContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -847,20 +847,20 @@ pub struct SparkApplicationDriverInitContainersReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -868,7 +868,7 @@ pub struct SparkApplicationDriverInitContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -894,7 +894,7 @@ pub struct SparkApplicationDriverInitContainersSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -902,7 +902,7 @@ pub struct SparkApplicationDriverInitContainersSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -914,13 +914,13 @@ pub struct SparkApplicationDriverInitContainersSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -930,7 +930,7 @@ pub struct SparkApplicationDriverInitContainersSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -950,13 +950,13 @@ pub struct SparkApplicationDriverInitContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -969,27 +969,27 @@ pub struct SparkApplicationDriverInitContainersStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1004,7 +1004,7 @@ pub struct SparkApplicationDriverInitContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -1012,7 +1012,7 @@ pub struct SparkApplicationDriverLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1022,13 +1022,13 @@ pub struct SparkApplicationDriverLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1041,20 +1041,20 @@ pub struct SparkApplicationDriverLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1064,13 +1064,13 @@ pub struct SparkApplicationDriverLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1083,20 +1083,20 @@ pub struct SparkApplicationDriverLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverPodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -1116,7 +1116,7 @@ pub struct SparkApplicationDriverPodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverPodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1128,13 +1128,13 @@ pub struct SparkApplicationDriverPodSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverPodSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverPodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1144,7 +1144,7 @@ pub struct SparkApplicationDriverPodSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSecrets { pub name: String, pub path: String, @@ -1152,7 +1152,7 @@ pub struct SparkApplicationDriverSecrets { pub secret_type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1178,7 +1178,7 @@ pub struct SparkApplicationDriverSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1186,7 +1186,7 @@ pub struct SparkApplicationDriverSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1198,13 +1198,13 @@ pub struct SparkApplicationDriverSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1214,7 +1214,7 @@ pub struct SparkApplicationDriverSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecars { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -1261,7 +1261,7 @@ pub struct SparkApplicationDriverSidecars { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1270,7 +1270,7 @@ pub struct SparkApplicationDriverSidecarsEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -1282,7 +1282,7 @@ pub struct SparkApplicationDriverSidecarsEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1291,7 +1291,7 @@ pub struct SparkApplicationDriverSidecarsEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -1299,7 +1299,7 @@ pub struct SparkApplicationDriverSidecarsEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -1308,7 +1308,7 @@ pub struct SparkApplicationDriverSidecarsEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1317,7 +1317,7 @@ pub struct SparkApplicationDriverSidecarsEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -1327,7 +1327,7 @@ pub struct SparkApplicationDriverSidecarsEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1335,7 +1335,7 @@ pub struct SparkApplicationDriverSidecarsEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -1343,7 +1343,7 @@ pub struct SparkApplicationDriverSidecarsEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -1351,7 +1351,7 @@ pub struct SparkApplicationDriverSidecarsLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1361,13 +1361,13 @@ pub struct SparkApplicationDriverSidecarsLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1380,20 +1380,20 @@ pub struct SparkApplicationDriverSidecarsLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1403,13 +1403,13 @@ pub struct SparkApplicationDriverSidecarsLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1422,20 +1422,20 @@ pub struct SparkApplicationDriverSidecarsLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1455,13 +1455,13 @@ pub struct SparkApplicationDriverSidecarsLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1474,20 +1474,20 @@ pub struct SparkApplicationDriverSidecarsLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -1500,7 +1500,7 @@ pub struct SparkApplicationDriverSidecarsPorts { pub protocol: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1520,13 +1520,13 @@ pub struct SparkApplicationDriverSidecarsReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1539,20 +1539,20 @@ pub struct SparkApplicationDriverSidecarsReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -1560,7 +1560,7 @@ pub struct SparkApplicationDriverSidecarsResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -1586,7 +1586,7 @@ pub struct SparkApplicationDriverSidecarsSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -1594,7 +1594,7 @@ pub struct SparkApplicationDriverSidecarsSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -1606,13 +1606,13 @@ pub struct SparkApplicationDriverSidecarsSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -1622,7 +1622,7 @@ pub struct SparkApplicationDriverSidecarsSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -1642,13 +1642,13 @@ pub struct SparkApplicationDriverSidecarsStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -1661,27 +1661,27 @@ pub struct SparkApplicationDriverSidecarsStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverSidecarsVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1696,7 +1696,7 @@ pub struct SparkApplicationDriverSidecarsVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -1710,7 +1710,7 @@ pub struct SparkApplicationDriverTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -1725,7 +1725,7 @@ pub struct SparkApplicationDriverVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverIngressOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "ingressAnnotations")] pub ingress_annotations: Option>, @@ -1745,7 +1745,7 @@ pub struct SparkApplicationDriverIngressOptions { pub service_type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDriverIngressOptionsIngressTls { #[serde(default, skip_serializing_if = "Option::is_none")] pub hosts: Option>, @@ -1753,7 +1753,7 @@ pub struct SparkApplicationDriverIngressOptionsIngressTls { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationDynamicAllocation { #[serde(default, skip_serializing_if = "Option::is_none")] pub enabled: Option, @@ -1767,7 +1767,7 @@ pub struct SparkApplicationDynamicAllocation { pub shuffle_tracking_timeout: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutor { #[serde(default, skip_serializing_if = "Option::is_none")] pub affinity: Option, @@ -1837,7 +1837,7 @@ pub struct SparkApplicationExecutor { pub volume_mounts: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] pub node_affinity: Option, @@ -1847,7 +1847,7 @@ pub struct SparkApplicationExecutorAffinity { pub pod_anti_affinity: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityNodeAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -1855,13 +1855,13 @@ pub struct SparkApplicationExecutorAffinityNodeAffinity { pub required_during_scheduling_ignored_during_execution: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { pub preference: SparkApplicationExecutorAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1869,7 +1869,7 @@ pub struct SparkApplicationExecutorAffinityNodeAffinityPreferredDuringScheduling pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { pub key: String, pub operator: String, @@ -1877,7 +1877,7 @@ pub struct SparkApplicationExecutorAffinityNodeAffinityPreferredDuringScheduling pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { pub key: String, pub operator: String, @@ -1885,13 +1885,13 @@ pub struct SparkApplicationExecutorAffinityNodeAffinityPreferredDuringScheduling pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "nodeSelectorTerms")] pub node_selector_terms: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1899,7 +1899,7 @@ pub struct SparkApplicationExecutorAffinityNodeAffinityRequiredDuringSchedulingI pub match_fields: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { pub key: String, pub operator: String, @@ -1907,7 +1907,7 @@ pub struct SparkApplicationExecutorAffinityNodeAffinityRequiredDuringSchedulingI pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { pub key: String, pub operator: String, @@ -1915,7 +1915,7 @@ pub struct SparkApplicationExecutorAffinityNodeAffinityRequiredDuringSchedulingI pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityPodAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -1923,14 +1923,14 @@ pub struct SparkApplicationExecutorAffinityPodAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: SparkApplicationExecutorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1940,7 +1940,7 @@ pub struct SparkApplicationExecutorAffinityPodAffinityPreferredDuringSchedulingI pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1948,7 +1948,7 @@ pub struct SparkApplicationExecutorAffinityPodAffinityPreferredDuringSchedulingI pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1956,7 +1956,7 @@ pub struct SparkApplicationExecutorAffinityPodAffinityPreferredDuringSchedulingI pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -1966,7 +1966,7 @@ pub struct SparkApplicationExecutorAffinityPodAffinityRequiredDuringSchedulingIg pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -1974,7 +1974,7 @@ pub struct SparkApplicationExecutorAffinityPodAffinityRequiredDuringSchedulingIg pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -1982,7 +1982,7 @@ pub struct SparkApplicationExecutorAffinityPodAffinityRequiredDuringSchedulingIg pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityPodAntiAffinity { #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] pub preferred_during_scheduling_ignored_during_execution: Option>, @@ -1990,14 +1990,14 @@ pub struct SparkApplicationExecutorAffinityPodAntiAffinity { pub required_during_scheduling_ignored_during_execution: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { #[serde(rename = "podAffinityTerm")] pub pod_affinity_term: SparkApplicationExecutorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, pub weight: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -2007,7 +2007,7 @@ pub struct SparkApplicationExecutorAffinityPodAntiAffinityPreferredDuringSchedul pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2015,7 +2015,7 @@ pub struct SparkApplicationExecutorAffinityPodAntiAffinityPreferredDuringSchedul pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2023,7 +2023,7 @@ pub struct SparkApplicationExecutorAffinityPodAntiAffinityPreferredDuringSchedul pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] pub label_selector: Option, @@ -2033,7 +2033,7 @@ pub struct SparkApplicationExecutorAffinityPodAntiAffinityRequiredDuringScheduli pub topology_key: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] pub match_expressions: Option>, @@ -2041,7 +2041,7 @@ pub struct SparkApplicationExecutorAffinityPodAntiAffinityRequiredDuringScheduli pub match_labels: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { pub key: String, pub operator: String, @@ -2049,13 +2049,13 @@ pub struct SparkApplicationExecutorAffinityPodAntiAffinityRequiredDuringScheduli pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorConfigMaps { pub name: String, pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorDnsConfig { #[serde(default, skip_serializing_if = "Option::is_none")] pub nameservers: Option>, @@ -2065,7 +2065,7 @@ pub struct SparkApplicationExecutorDnsConfig { pub searches: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorDnsConfigOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2073,7 +2073,7 @@ pub struct SparkApplicationExecutorDnsConfigOptions { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2082,7 +2082,7 @@ pub struct SparkApplicationExecutorEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -2094,7 +2094,7 @@ pub struct SparkApplicationExecutorEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2103,7 +2103,7 @@ pub struct SparkApplicationExecutorEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2111,7 +2111,7 @@ pub struct SparkApplicationExecutorEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2120,7 +2120,7 @@ pub struct SparkApplicationExecutorEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2129,7 +2129,7 @@ pub struct SparkApplicationExecutorEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -2139,7 +2139,7 @@ pub struct SparkApplicationExecutorEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2147,7 +2147,7 @@ pub struct SparkApplicationExecutorEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2155,7 +2155,7 @@ pub struct SparkApplicationExecutorEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorEnvSecretKeyRefs { #[serde(default, skip_serializing_if = "Option::is_none")] pub key: Option, @@ -2163,13 +2163,13 @@ pub struct SparkApplicationExecutorEnvSecretKeyRefs { pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorGpu { pub name: String, pub quantity: i64, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorHostAliases { #[serde(default, skip_serializing_if = "Option::is_none")] pub hostnames: Option>, @@ -2177,7 +2177,7 @@ pub struct SparkApplicationExecutorHostAliases { pub ip: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainers { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -2224,7 +2224,7 @@ pub struct SparkApplicationExecutorInitContainers { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2233,7 +2233,7 @@ pub struct SparkApplicationExecutorInitContainersEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -2245,7 +2245,7 @@ pub struct SparkApplicationExecutorInitContainersEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2254,7 +2254,7 @@ pub struct SparkApplicationExecutorInitContainersEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2262,7 +2262,7 @@ pub struct SparkApplicationExecutorInitContainersEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2271,7 +2271,7 @@ pub struct SparkApplicationExecutorInitContainersEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2280,7 +2280,7 @@ pub struct SparkApplicationExecutorInitContainersEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -2290,7 +2290,7 @@ pub struct SparkApplicationExecutorInitContainersEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2298,7 +2298,7 @@ pub struct SparkApplicationExecutorInitContainersEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2306,7 +2306,7 @@ pub struct SparkApplicationExecutorInitContainersEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -2314,7 +2314,7 @@ pub struct SparkApplicationExecutorInitContainersLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2324,13 +2324,13 @@ pub struct SparkApplicationExecutorInitContainersLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2343,20 +2343,20 @@ pub struct SparkApplicationExecutorInitContainersLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2366,13 +2366,13 @@ pub struct SparkApplicationExecutorInitContainersLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2385,20 +2385,20 @@ pub struct SparkApplicationExecutorInitContainersLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2418,13 +2418,13 @@ pub struct SparkApplicationExecutorInitContainersLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2437,20 +2437,20 @@ pub struct SparkApplicationExecutorInitContainersLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -2463,7 +2463,7 @@ pub struct SparkApplicationExecutorInitContainersPorts { pub protocol: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2483,13 +2483,13 @@ pub struct SparkApplicationExecutorInitContainersReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2502,20 +2502,20 @@ pub struct SparkApplicationExecutorInitContainersReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -2523,7 +2523,7 @@ pub struct SparkApplicationExecutorInitContainersResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -2549,7 +2549,7 @@ pub struct SparkApplicationExecutorInitContainersSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -2557,7 +2557,7 @@ pub struct SparkApplicationExecutorInitContainersSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2569,13 +2569,13 @@ pub struct SparkApplicationExecutorInitContainersSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2585,7 +2585,7 @@ pub struct SparkApplicationExecutorInitContainersSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2605,13 +2605,13 @@ pub struct SparkApplicationExecutorInitContainersStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2624,27 +2624,27 @@ pub struct SparkApplicationExecutorInitContainersStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorInitContainersVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -2659,7 +2659,7 @@ pub struct SparkApplicationExecutorInitContainersVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorPodSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsGroup")] pub fs_group: Option, @@ -2679,7 +2679,7 @@ pub struct SparkApplicationExecutorPodSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorPodSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2691,13 +2691,13 @@ pub struct SparkApplicationExecutorPodSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorPodSecurityContextSysctls { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorPodSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2707,7 +2707,7 @@ pub struct SparkApplicationExecutorPodSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSecrets { pub name: String, pub path: String, @@ -2715,7 +2715,7 @@ pub struct SparkApplicationExecutorSecrets { pub secret_type: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -2741,7 +2741,7 @@ pub struct SparkApplicationExecutorSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -2749,7 +2749,7 @@ pub struct SparkApplicationExecutorSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -2761,13 +2761,13 @@ pub struct SparkApplicationExecutorSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -2777,7 +2777,7 @@ pub struct SparkApplicationExecutorSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecars { #[serde(default, skip_serializing_if = "Option::is_none")] pub args: Option>, @@ -2824,7 +2824,7 @@ pub struct SparkApplicationExecutorSidecars { pub working_dir: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsEnv { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2833,7 +2833,7 @@ pub struct SparkApplicationExecutorSidecarsEnv { pub value_from: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsEnvValueFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] pub config_map_key_ref: Option, @@ -2845,7 +2845,7 @@ pub struct SparkApplicationExecutorSidecarsEnvValueFrom { pub secret_key_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsEnvValueFromConfigMapKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2854,7 +2854,7 @@ pub struct SparkApplicationExecutorSidecarsEnvValueFromConfigMapKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsEnvValueFromFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -2862,7 +2862,7 @@ pub struct SparkApplicationExecutorSidecarsEnvValueFromFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsEnvValueFromResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -2871,7 +2871,7 @@ pub struct SparkApplicationExecutorSidecarsEnvValueFromResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsEnvValueFromSecretKeyRef { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2880,7 +2880,7 @@ pub struct SparkApplicationExecutorSidecarsEnvValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsEnvFrom { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] pub config_map_ref: Option, @@ -2890,7 +2890,7 @@ pub struct SparkApplicationExecutorSidecarsEnvFrom { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsEnvFromConfigMapRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2898,7 +2898,7 @@ pub struct SparkApplicationExecutorSidecarsEnvFromConfigMapRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsEnvFromSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, @@ -2906,7 +2906,7 @@ pub struct SparkApplicationExecutorSidecarsEnvFromSecretRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsLifecycle { #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] pub post_start: Option, @@ -2914,7 +2914,7 @@ pub struct SparkApplicationExecutorSidecarsLifecycle { pub pre_stop: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsLifecyclePostStart { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2924,13 +2924,13 @@ pub struct SparkApplicationExecutorSidecarsLifecyclePostStart { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsLifecyclePostStartExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsLifecyclePostStartHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2943,20 +2943,20 @@ pub struct SparkApplicationExecutorSidecarsLifecyclePostStartHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsLifecyclePostStartHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsLifecyclePostStartTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsLifecyclePreStop { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -2966,13 +2966,13 @@ pub struct SparkApplicationExecutorSidecarsLifecyclePreStop { pub tcp_socket: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsLifecyclePreStopExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsLifecyclePreStopHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -2985,20 +2985,20 @@ pub struct SparkApplicationExecutorSidecarsLifecyclePreStopHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsLifecyclePreStopHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsLifecyclePreStopTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsLivenessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3018,13 +3018,13 @@ pub struct SparkApplicationExecutorSidecarsLivenessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsLivenessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsLivenessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3037,20 +3037,20 @@ pub struct SparkApplicationExecutorSidecarsLivenessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsLivenessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsLivenessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsPorts { #[serde(rename = "containerPort")] pub container_port: i32, @@ -3063,7 +3063,7 @@ pub struct SparkApplicationExecutorSidecarsPorts { pub protocol: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsReadinessProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3083,13 +3083,13 @@ pub struct SparkApplicationExecutorSidecarsReadinessProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsReadinessProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsReadinessProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3102,20 +3102,20 @@ pub struct SparkApplicationExecutorSidecarsReadinessProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsReadinessProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsReadinessProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub limits: Option>, @@ -3123,7 +3123,7 @@ pub struct SparkApplicationExecutorSidecarsResources { pub requests: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsSecurityContext { #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] pub allow_privilege_escalation: Option, @@ -3149,7 +3149,7 @@ pub struct SparkApplicationExecutorSidecarsSecurityContext { pub windows_options: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsSecurityContextCapabilities { #[serde(default, skip_serializing_if = "Option::is_none")] pub add: Option>, @@ -3157,7 +3157,7 @@ pub struct SparkApplicationExecutorSidecarsSecurityContextCapabilities { pub drop: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsSecurityContextSeLinuxOptions { #[serde(default, skip_serializing_if = "Option::is_none")] pub level: Option, @@ -3169,13 +3169,13 @@ pub struct SparkApplicationExecutorSidecarsSecurityContextSeLinuxOptions { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsSecurityContextSeccompProfile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsSecurityContextWindowsOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] pub gmsa_credential_spec: Option, @@ -3185,7 +3185,7 @@ pub struct SparkApplicationExecutorSidecarsSecurityContextWindowsOptions { pub run_as_user_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsStartupProbe { #[serde(default, skip_serializing_if = "Option::is_none")] pub exec: Option, @@ -3205,13 +3205,13 @@ pub struct SparkApplicationExecutorSidecarsStartupProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsStartupProbeExec { #[serde(default, skip_serializing_if = "Option::is_none")] pub command: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsStartupProbeHttpGet { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, @@ -3224,27 +3224,27 @@ pub struct SparkApplicationExecutorSidecarsStartupProbeHttpGet { pub scheme: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsStartupProbeHttpGetHttpHeaders { pub name: String, pub value: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsStartupProbeTcpSocket { #[serde(default, skip_serializing_if = "Option::is_none")] pub host: Option, pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsVolumeDevices { #[serde(rename = "devicePath")] pub device_path: String, pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorSidecarsVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -3259,7 +3259,7 @@ pub struct SparkApplicationExecutorSidecarsVolumeMounts { pub sub_path_expr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorTolerations { #[serde(default, skip_serializing_if = "Option::is_none")] pub effect: Option, @@ -3273,7 +3273,7 @@ pub struct SparkApplicationExecutorTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationExecutorVolumeMounts { #[serde(rename = "mountPath")] pub mount_path: String, @@ -3296,7 +3296,7 @@ pub enum SparkApplicationMode { Client, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationMonitoring { #[serde(rename = "exposeDriverMetrics")] pub expose_driver_metrics: bool, @@ -3310,7 +3310,7 @@ pub struct SparkApplicationMonitoring { pub prometheus: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationMonitoringPrometheus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configFile")] pub config_file: Option, @@ -3332,7 +3332,7 @@ pub enum SparkApplicationPythonVersion { r#_3, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationRestartPolicy { #[serde(default, skip_serializing_if = "Option::is_none", rename = "onFailureRetries")] pub on_failure_retries: Option, @@ -3353,7 +3353,7 @@ pub enum SparkApplicationRestartPolicyType { OnFailure, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationSparkUiOptions { #[serde(default, skip_serializing_if = "Option::is_none", rename = "ingressAnnotations")] pub ingress_annotations: Option>, @@ -3371,7 +3371,7 @@ pub struct SparkApplicationSparkUiOptions { pub service_type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationSparkUiOptionsIngressTls { #[serde(default, skip_serializing_if = "Option::is_none")] pub hosts: Option>, @@ -3387,7 +3387,7 @@ pub enum SparkApplicationType { R, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] pub aws_elastic_block_store: Option, @@ -3450,7 +3450,7 @@ pub struct SparkApplicationVolumes { pub vsphere_volume: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesAwsElasticBlockStore { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3462,7 +3462,7 @@ pub struct SparkApplicationVolumesAwsElasticBlockStore { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesAzureDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] pub caching_mode: Option, @@ -3478,7 +3478,7 @@ pub struct SparkApplicationVolumesAzureDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesAzureFile { #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, @@ -3488,7 +3488,7 @@ pub struct SparkApplicationVolumesAzureFile { pub share_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesCephfs { pub monitors: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3503,13 +3503,13 @@ pub struct SparkApplicationVolumesCephfs { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesCephfsSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesCinder { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3521,13 +3521,13 @@ pub struct SparkApplicationVolumesCinder { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesCinderSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3539,7 +3539,7 @@ pub struct SparkApplicationVolumesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3547,7 +3547,7 @@ pub struct SparkApplicationVolumesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesCsi { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3560,13 +3560,13 @@ pub struct SparkApplicationVolumesCsi { pub volume_attributes: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesCsiNodePublishSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3574,7 +3574,7 @@ pub struct SparkApplicationVolumesDownwardApi { pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -3585,7 +3585,7 @@ pub struct SparkApplicationVolumesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3593,7 +3593,7 @@ pub struct SparkApplicationVolumesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3602,7 +3602,7 @@ pub struct SparkApplicationVolumesDownwardApiItemsResourceFieldRef { pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesEmptyDir { #[serde(default, skip_serializing_if = "Option::is_none")] pub medium: Option, @@ -3610,19 +3610,19 @@ pub struct SparkApplicationVolumesEmptyDir { pub size_limit: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesEphemeral { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumeClaimTemplate")] pub volume_claim_template: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesEphemeralVolumeClaimTemplate { #[serde(default, skip_serializing_if = "Option::is_none")] pub spec: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesEphemeralVolumeClaimTemplateSpec { #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] pub access_modes: Option>, @@ -3632,19 +3632,19 @@ pub struct SparkApplicationVolumesEphemeralVolumeClaimTemplateSpec { pub storage_class_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesEphemeralVolumeClaimTemplateSpecResources { #[serde(default, skip_serializing_if = "Option::is_none")] pub requests: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesEphemeralVolumeClaimTemplateSpecResourcesRequests { #[serde(default, skip_serializing_if = "Option::is_none")] pub storage: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesFc { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3658,7 +3658,7 @@ pub struct SparkApplicationVolumesFc { pub wwids: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesFlexVolume { pub driver: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -3671,13 +3671,13 @@ pub struct SparkApplicationVolumesFlexVolume { pub secret_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesFlexVolumeSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesFlocker { #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] pub dataset_name: Option, @@ -3685,7 +3685,7 @@ pub struct SparkApplicationVolumesFlocker { pub dataset_uuid: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesGcePersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3697,7 +3697,7 @@ pub struct SparkApplicationVolumesGcePersistentDisk { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesGitRepo { #[serde(default, skip_serializing_if = "Option::is_none")] pub directory: Option, @@ -3706,7 +3706,7 @@ pub struct SparkApplicationVolumesGitRepo { pub revision: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesGlusterfs { pub endpoints: String, pub path: String, @@ -3714,14 +3714,14 @@ pub struct SparkApplicationVolumesGlusterfs { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesHostPath { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] pub r#type: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesIscsi { #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] pub chap_auth_discovery: Option, @@ -3745,13 +3745,13 @@ pub struct SparkApplicationVolumesIscsi { pub target_portal: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesIscsiSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesNfs { pub path: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -3759,7 +3759,7 @@ pub struct SparkApplicationVolumesNfs { pub server: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -3767,7 +3767,7 @@ pub struct SparkApplicationVolumesPersistentVolumeClaim { pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesPhotonPersistentDisk { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3775,7 +3775,7 @@ pub struct SparkApplicationVolumesPhotonPersistentDisk { pub pd_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesPortworxVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3785,14 +3785,14 @@ pub struct SparkApplicationVolumesPortworxVolume { pub volume_id: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesProjected { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, pub sources: Vec, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesProjectedSources { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] pub config_map: Option, @@ -3804,7 +3804,7 @@ pub struct SparkApplicationVolumesProjectedSources { pub service_account_token: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesProjectedSourcesConfigMap { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -3814,7 +3814,7 @@ pub struct SparkApplicationVolumesProjectedSourcesConfigMap { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesProjectedSourcesConfigMapItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3822,13 +3822,13 @@ pub struct SparkApplicationVolumesProjectedSourcesConfigMapItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesProjectedSourcesDownwardApi { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesProjectedSourcesDownwardApiItems { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] pub field_ref: Option, @@ -3839,7 +3839,7 @@ pub struct SparkApplicationVolumesProjectedSourcesDownwardApiItems { pub resource_field_ref: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesProjectedSourcesDownwardApiItemsFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] pub api_version: Option, @@ -3847,7 +3847,7 @@ pub struct SparkApplicationVolumesProjectedSourcesDownwardApiItemsFieldRef { pub field_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] pub container_name: Option, @@ -3856,7 +3856,7 @@ pub struct SparkApplicationVolumesProjectedSourcesDownwardApiItemsResourceFieldR pub resource: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesProjectedSourcesSecret { #[serde(default, skip_serializing_if = "Option::is_none")] pub items: Option>, @@ -3866,7 +3866,7 @@ pub struct SparkApplicationVolumesProjectedSourcesSecret { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesProjectedSourcesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3874,7 +3874,7 @@ pub struct SparkApplicationVolumesProjectedSourcesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesProjectedSourcesServiceAccountToken { #[serde(default, skip_serializing_if = "Option::is_none")] pub audience: Option, @@ -3883,7 +3883,7 @@ pub struct SparkApplicationVolumesProjectedSourcesServiceAccountToken { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesQuobyte { #[serde(default, skip_serializing_if = "Option::is_none")] pub group: Option, @@ -3897,7 +3897,7 @@ pub struct SparkApplicationVolumesQuobyte { pub volume: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesRbd { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3915,13 +3915,13 @@ pub struct SparkApplicationVolumesRbd { pub user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesRbdSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesScaleIo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3943,13 +3943,13 @@ pub struct SparkApplicationVolumesScaleIo { pub volume_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesScaleIoSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesSecret { #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] pub default_mode: Option, @@ -3961,7 +3961,7 @@ pub struct SparkApplicationVolumesSecret { pub secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesSecretItems { pub key: String, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3969,7 +3969,7 @@ pub struct SparkApplicationVolumesSecretItems { pub path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesStorageos { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -3983,13 +3983,13 @@ pub struct SparkApplicationVolumesStorageos { pub volume_namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesStorageosSecretRef { #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationVolumesVsphereVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] pub fs_type: Option, @@ -4001,7 +4001,7 @@ pub struct SparkApplicationVolumesVsphereVolume { pub volume_path: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "applicationState")] pub application_state: Option, @@ -4023,14 +4023,14 @@ pub struct SparkApplicationStatus { pub termination_time: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationStatusApplicationState { #[serde(default, skip_serializing_if = "Option::is_none", rename = "errorMessage")] pub error_message: Option, pub state: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct SparkApplicationStatusDriverInfo { #[serde(default, skip_serializing_if = "Option::is_none", rename = "podName")] pub pod_name: Option, diff --git a/kube-custom-resources-rs/src/spv_no/v1/azurekeyvaultsecrets.rs b/kube-custom-resources-rs/src/spv_no/v1/azurekeyvaultsecrets.rs index 35bc25a99..f9462cd8c 100644 --- a/kube-custom-resources-rs/src/spv_no/v1/azurekeyvaultsecrets.rs +++ b/kube-custom-resources-rs/src/spv_no/v1/azurekeyvaultsecrets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v1/azurekeyvaultsecrets.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v1/azurekeyvaultsecrets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -25,7 +25,7 @@ pub struct AzureKeyVaultSecretSpec { } /// AzureKeyVaultOutput defines output sources, currently only support Secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AzureKeyVaultSecretOutput { /// AzureKeyVaultOutputSecret has information needed to output a secret from Azure Key Vault to Kubernetes as a Secret resource #[serde(default, skip_serializing_if = "Option::is_none")] @@ -35,7 +35,7 @@ pub struct AzureKeyVaultSecretOutput { } /// AzureKeyVaultOutputSecret has information needed to output a secret from Azure Key Vault to Kubernetes as a Secret resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AzureKeyVaultSecretOutputSecret { /// By setting chainOrder to ensureserverfirst the server certificate will be moved first in the chain #[serde(default, skip_serializing_if = "Option::is_none", rename = "chainOrder")] @@ -105,7 +105,7 @@ pub enum AzureKeyVaultSecretVaultObjectType { } /// AzureKeyVaultSecretStatus is the status for a AzureKeyVaultSecret resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AzureKeyVaultSecretStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "lastAzureUpdate")] pub last_azure_update: Option, diff --git a/kube-custom-resources-rs/src/spv_no/v1alpha1/azurekeyvaultidentities.rs b/kube-custom-resources-rs/src/spv_no/v1alpha1/azurekeyvaultidentities.rs index 483afe5a0..6344bebb4 100644 --- a/kube-custom-resources-rs/src/spv_no/v1alpha1/azurekeyvaultidentities.rs +++ b/kube-custom-resources-rs/src/spv_no/v1alpha1/azurekeyvaultidentities.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v1alpha1/azurekeyvaultidentities.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v1alpha1/azurekeyvaultidentities.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/spv_no/v1alpha1/azurekeyvaultsecrets.rs b/kube-custom-resources-rs/src/spv_no/v1alpha1/azurekeyvaultsecrets.rs index 1ce2732ab..05fdbdb25 100644 --- a/kube-custom-resources-rs/src/spv_no/v1alpha1/azurekeyvaultsecrets.rs +++ b/kube-custom-resources-rs/src/spv_no/v1alpha1/azurekeyvaultsecrets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v1alpha1/azurekeyvaultsecrets.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v1alpha1/azurekeyvaultsecrets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -25,7 +25,7 @@ pub struct AzureKeyVaultSecretSpec { } /// AzureKeyVaultOutput defines output sources, currently only support Secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AzureKeyVaultSecretOutput { /// AzureKeyVaultOutputSecret has information needed to output a secret from Azure Key Vault to Kubernetes as a Secret resource #[serde(default, skip_serializing_if = "Option::is_none")] @@ -35,7 +35,7 @@ pub struct AzureKeyVaultSecretOutput { } /// AzureKeyVaultOutputSecret has information needed to output a secret from Azure Key Vault to Kubernetes as a Secret resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AzureKeyVaultSecretOutputSecret { /// The key to use in Kubernetes secret when setting the value from Azure Key Vault object data #[serde(default, skip_serializing_if = "Option::is_none", rename = "dataKey")] @@ -95,7 +95,7 @@ pub enum AzureKeyVaultSecretVaultObjectType { } /// AzureKeyVaultSecretStatus is the status for a AzureKeyVaultSecret resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AzureKeyVaultSecretStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "lastAzureUpdate")] pub last_azure_update: Option, diff --git a/kube-custom-resources-rs/src/spv_no/v1alpha1/azuremanagedidentities.rs b/kube-custom-resources-rs/src/spv_no/v1alpha1/azuremanagedidentities.rs index bacd83138..d2acfb73b 100644 --- a/kube-custom-resources-rs/src/spv_no/v1alpha1/azuremanagedidentities.rs +++ b/kube-custom-resources-rs/src/spv_no/v1alpha1/azuremanagedidentities.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v1alpha1/azuremanagedidentities.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v1alpha1/azuremanagedidentities.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/spv_no/v2alpha1/azurekeyvaultsecrets.rs b/kube-custom-resources-rs/src/spv_no/v2alpha1/azurekeyvaultsecrets.rs index 766b1b94a..7974e3f8b 100644 --- a/kube-custom-resources-rs/src/spv_no/v2alpha1/azurekeyvaultsecrets.rs +++ b/kube-custom-resources-rs/src/spv_no/v2alpha1/azurekeyvaultsecrets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v2alpha1/azurekeyvaultsecrets.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v2alpha1/azurekeyvaultsecrets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -25,7 +25,7 @@ pub struct AzureKeyVaultSecretSpec { } /// AzureKeyVaultOutput defines output sources, supports Secret and Configmap -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AzureKeyVaultSecretOutput { /// AzureKeyVaultOutputConfigMap has information needed to output a secret from Azure Key Vault to Kubernetes as a ConfigMap resource #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -38,7 +38,7 @@ pub struct AzureKeyVaultSecretOutput { } /// AzureKeyVaultOutputConfigMap has information needed to output a secret from Azure Key Vault to Kubernetes as a ConfigMap resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AzureKeyVaultSecretOutputConfigMap { /// The key to use in Kubernetes ConfigMap when setting the value from Azure Key Vault object data #[serde(rename = "dataKey")] @@ -48,7 +48,7 @@ pub struct AzureKeyVaultSecretOutputConfigMap { } /// AzureKeyVaultOutputSecret has information needed to output a secret from Azure Key Vault to Kubernetes as a Secret resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AzureKeyVaultSecretOutputSecret { /// By setting chainOrder to ensureserverfirst the server certificate will be moved first in the chain #[serde(default, skip_serializing_if = "Option::is_none", rename = "chainOrder")] @@ -83,7 +83,7 @@ pub struct AzureKeyVaultSecretVault { } /// AzureIdentity has information about the azure identity used for Azure Key Vault authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AzureKeyVaultSecretVaultAzureIdentity { /// Name of the azureIdentity to use for Azure Key Vault authentication pub name: String, @@ -128,7 +128,7 @@ pub enum AzureKeyVaultSecretVaultObjectType { } /// AzureKeyVaultSecretStatus is the status for a AzureKeyVaultSecret resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AzureKeyVaultSecretStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapHash")] pub config_map_hash: Option, diff --git a/kube-custom-resources-rs/src/spv_no/v2beta1/azurekeyvaultsecrets.rs b/kube-custom-resources-rs/src/spv_no/v2beta1/azurekeyvaultsecrets.rs index a980090b5..7e25f5d84 100644 --- a/kube-custom-resources-rs/src/spv_no/v2beta1/azurekeyvaultsecrets.rs +++ b/kube-custom-resources-rs/src/spv_no/v2beta1/azurekeyvaultsecrets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v2beta1/azurekeyvaultsecrets.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/SparebankenVest/azure-key-vault-to-kubernetes/spv.no/v2beta1/azurekeyvaultsecrets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -25,7 +25,7 @@ pub struct AzureKeyVaultSecretSpec { } /// AzureKeyVaultOutput defines output sources, supports Secret and Configmap -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AzureKeyVaultSecretOutput { /// AzureKeyVaultOutputConfigMap has information needed to output a secret from Azure Key Vault to Kubernetes as a ConfigMap resource #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -38,7 +38,7 @@ pub struct AzureKeyVaultSecretOutput { } /// AzureKeyVaultOutputConfigMap has information needed to output a secret from Azure Key Vault to Kubernetes as a ConfigMap resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AzureKeyVaultSecretOutputConfigMap { /// The key to use in Kubernetes ConfigMap when setting the value from Azure Key Vault object data #[serde(rename = "dataKey")] @@ -48,7 +48,7 @@ pub struct AzureKeyVaultSecretOutputConfigMap { } /// AzureKeyVaultOutputSecret has information needed to output a secret from Azure Key Vault to Kubernetes as a Secret resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AzureKeyVaultSecretOutputSecret { /// By setting chainOrder to ensureserverfirst the server certificate will be moved first in the chain #[serde(default, skip_serializing_if = "Option::is_none", rename = "chainOrder")] @@ -83,7 +83,7 @@ pub struct AzureKeyVaultSecretVault { } /// AzureIdentity has information about the azure identity used for Azure Key Vault authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AzureKeyVaultSecretVaultAzureIdentity { /// Name of the azureIdentity to use for Azure Key Vault authentication pub name: String, @@ -128,7 +128,7 @@ pub enum AzureKeyVaultSecretVaultObjectType { } /// AzureKeyVaultSecretStatus is the status for a AzureKeyVaultSecret resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct AzureKeyVaultSecretStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapHash")] pub config_map_hash: Option, diff --git a/kube-custom-resources-rs/src/sqs_services_k8s_aws/v1alpha1/queues.rs b/kube-custom-resources-rs/src/sqs_services_k8s_aws/v1alpha1/queues.rs index 7b5f8ad65..aa76da1b0 100644 --- a/kube-custom-resources-rs/src/sqs_services_k8s_aws/v1alpha1/queues.rs +++ b/kube-custom-resources-rs/src/sqs_services_k8s_aws/v1alpha1/queues.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sqs-controller/sqs.services.k8s.aws/v1alpha1/queues.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws-controllers-k8s/sqs-controller/sqs.services.k8s.aws/v1alpha1/queues.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/constraintpodstatuses.rs b/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/constraintpodstatuses.rs index 30c56207c..843e23be0 100644 --- a/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/constraintpodstatuses.rs +++ b/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/constraintpodstatuses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/status.gatekeeper.sh/v1beta1/constraintpodstatuses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/status.gatekeeper.sh/v1beta1/constraintpodstatuses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/constrainttemplatepodstatuses.rs b/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/constrainttemplatepodstatuses.rs index 3a58c891f..87857c148 100644 --- a/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/constrainttemplatepodstatuses.rs +++ b/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/constrainttemplatepodstatuses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/status.gatekeeper.sh/v1beta1/constrainttemplatepodstatuses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/status.gatekeeper.sh/v1beta1/constrainttemplatepodstatuses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/expansiontemplatepodstatuses.rs b/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/expansiontemplatepodstatuses.rs index e1b109d92..3adfc7537 100644 --- a/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/expansiontemplatepodstatuses.rs +++ b/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/expansiontemplatepodstatuses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/status.gatekeeper.sh/v1beta1/expansiontemplatepodstatuses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/status.gatekeeper.sh/v1beta1/expansiontemplatepodstatuses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/mutatorpodstatuses.rs b/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/mutatorpodstatuses.rs index d773c864a..da5b94d5d 100644 --- a/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/mutatorpodstatuses.rs +++ b/kube-custom-resources-rs/src/status_gatekeeper_sh/v1beta1/mutatorpodstatuses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/status.gatekeeper.sh/v1beta1/mutatorpodstatuses.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/status.gatekeeper.sh/v1beta1/mutatorpodstatuses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/storage_kubeblocks_io/v1alpha1/storageproviders.rs b/kube-custom-resources-rs/src/storage_kubeblocks_io/v1alpha1/storageproviders.rs index fcbd00d8c..4e0b56f8d 100644 --- a/kube-custom-resources-rs/src/storage_kubeblocks_io/v1alpha1/storageproviders.rs +++ b/kube-custom-resources-rs/src/storage_kubeblocks_io/v1alpha1/storageproviders.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/storage.kubeblocks.io/v1alpha1/storageproviders.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/storage.kubeblocks.io/v1alpha1/storageproviders.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// StorageProviderSpec defines the desired state of `StorageProvider`. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "storage.kubeblocks.io", version = "v1alpha1", kind = "StorageProvider", plural = "storageproviders")] #[kube(status = "StorageProviderStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct StorageProviderSpec { /// Specifies the name of the CSI driver used to access remote storage. This field can be empty, it indicates that the storage is not accessible via CSI. @@ -39,7 +40,7 @@ pub struct StorageProviderSpec { } /// Describes the parameters required for storage. The parameters defined here can be referenced in the above templates, and `kbcli` uses this definition for dynamic command-line parameter parsing. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct StorageProviderParametersSchema { /// Defines which parameters are credential fields, which need to be handled specifically. For instance, these should be stored in a `Secret` instead of a `ConfigMap`. #[serde(default, skip_serializing_if = "Option::is_none", rename = "credentialFields")] @@ -50,7 +51,7 @@ pub struct StorageProviderParametersSchema { } /// StorageProviderStatus defines the observed state of `StorageProvider`. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct StorageProviderStatus { /// Describes the current state of the `StorageProvider`. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/storageos_com/v1/storageosclusters.rs b/kube-custom-resources-rs/src/storageos_com/v1/storageosclusters.rs index fe54bb1c6..4840dab35 100644 --- a/kube-custom-resources-rs/src/storageos_com/v1/storageosclusters.rs +++ b/kube-custom-resources-rs/src/storageos_com/v1/storageosclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/storageos/operator/storageos.com/v1/storageosclusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/storageos/operator/storageos.com/v1/storageosclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sts_min_io/v1alpha1/policybindings.rs b/kube-custom-resources-rs/src/sts_min_io/v1alpha1/policybindings.rs index fedc331dc..e7a14a21b 100644 --- a/kube-custom-resources-rs/src/sts_min_io/v1alpha1/policybindings.rs +++ b/kube-custom-resources-rs/src/sts_min_io/v1alpha1/policybindings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/minio/operator/sts.min.io/v1alpha1/policybindings.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/minio/operator/sts.min.io/v1alpha1/policybindings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/sts_min_io/v1beta1/policybindings.rs b/kube-custom-resources-rs/src/sts_min_io/v1beta1/policybindings.rs index 96150ad49..ee73db62c 100644 --- a/kube-custom-resources-rs/src/sts_min_io/v1beta1/policybindings.rs +++ b/kube-custom-resources-rs/src/sts_min_io/v1beta1/policybindings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/minio/operator/sts.min.io/v1beta1/policybindings.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/minio/operator/sts.min.io/v1beta1/policybindings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/stunner_l7mp_io/v1/dataplanes.rs b/kube-custom-resources-rs/src/stunner_l7mp_io/v1/dataplanes.rs index e70c53491..7c92e93f1 100644 --- a/kube-custom-resources-rs/src/stunner_l7mp_io/v1/dataplanes.rs +++ b/kube-custom-resources-rs/src/stunner_l7mp_io/v1/dataplanes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/dataplanes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/dataplanes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/stunner_l7mp_io/v1/gatewayconfigs.rs b/kube-custom-resources-rs/src/stunner_l7mp_io/v1/gatewayconfigs.rs index 6d03e4736..d86b09e55 100644 --- a/kube-custom-resources-rs/src/stunner_l7mp_io/v1/gatewayconfigs.rs +++ b/kube-custom-resources-rs/src/stunner_l7mp_io/v1/gatewayconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/gatewayconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/gatewayconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/stunner_l7mp_io/v1/staticservices.rs b/kube-custom-resources-rs/src/stunner_l7mp_io/v1/staticservices.rs index 5ae18f037..72e3b1241 100644 --- a/kube-custom-resources-rs/src/stunner_l7mp_io/v1/staticservices.rs +++ b/kube-custom-resources-rs/src/stunner_l7mp_io/v1/staticservices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/staticservices.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/staticservices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/stunner_l7mp_io/v1/udproutes.rs b/kube-custom-resources-rs/src/stunner_l7mp_io/v1/udproutes.rs index 9cedc44b6..76643c670 100644 --- a/kube-custom-resources-rs/src/stunner_l7mp_io/v1/udproutes.rs +++ b/kube-custom-resources-rs/src/stunner_l7mp_io/v1/udproutes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/udproutes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/l7mp/stunner/stunner.l7mp.io/v1/udproutes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// Spec defines the desired state of UDPRoute. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "stunner.l7mp.io", version = "v1", kind = "UDPRoute", plural = "udproutes")] #[kube(namespaced)] #[kube(status = "UDPRouteStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct UDPRouteSpec { /// ParentRefs references the resources (usually Gateways) that a Route wants @@ -118,7 +119,7 @@ pub struct UDPRouteSpec { /// /// The API object must be valid in the cluster; the Group and Kind must /// be registered in the cluster for this reference to be valid. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UDPRouteParentRefs { /// Group is the group of the referent. /// When unspecified, "gateway.networking.k8s.io" is inferred. @@ -250,7 +251,7 @@ pub struct UDPRouteParentRefs { } /// UDPRouteRule is the configuration for a given rule. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UDPRouteRules { /// BackendRefs defines the backend(s) where matching requests should be /// sent. UDPRouteRules correctly handle port ranges. @@ -259,7 +260,7 @@ pub struct UDPRouteRules { } /// BackendRef defines how a Route should forward a request to a Kubernetes resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UDPRouteRulesBackendRefs { /// EndPort specifies the upper threshold of the port-range. Only considered of port is also specified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "endPort")] @@ -287,7 +288,7 @@ pub struct UDPRouteRulesBackendRefs { } /// Status defines the current state of UDPRoute. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UDPRouteStatus { /// Parents is a list of parent resources (usually Gateways) that are /// associated with the route, and the status of the route with respect to @@ -310,7 +311,7 @@ pub struct UDPRouteStatus { /// RouteParentStatus describes the status of a route with respect to an /// associated Parent. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UDPRouteStatusParents { /// Conditions describes the status of the route with respect to the Gateway. /// Note that the route's availability is also subject to the Gateway's own @@ -363,7 +364,7 @@ pub struct UDPRouteStatusParents { /// ParentRef corresponds with a ParentRef in the spec that this /// RouteParentStatus struct describes the status of. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UDPRouteStatusParentsParentRef { /// Group is the group of the referent. /// When unspecified, "gateway.networking.k8s.io" is inferred. diff --git a/kube-custom-resources-rs/src/stunner_l7mp_io/v1alpha1/dataplanes.rs b/kube-custom-resources-rs/src/stunner_l7mp_io/v1alpha1/dataplanes.rs index 8be000b76..95bbf61a6 100644 --- a/kube-custom-resources-rs/src/stunner_l7mp_io/v1alpha1/dataplanes.rs +++ b/kube-custom-resources-rs/src/stunner_l7mp_io/v1alpha1/dataplanes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/l7mp/stunner/stunner.l7mp.io/v1alpha1/dataplanes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/l7mp/stunner/stunner.l7mp.io/v1alpha1/dataplanes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/stunner_l7mp_io/v1alpha1/gatewayconfigs.rs b/kube-custom-resources-rs/src/stunner_l7mp_io/v1alpha1/gatewayconfigs.rs index 251b8bd5a..ab0dae0ed 100644 --- a/kube-custom-resources-rs/src/stunner_l7mp_io/v1alpha1/gatewayconfigs.rs +++ b/kube-custom-resources-rs/src/stunner_l7mp_io/v1alpha1/gatewayconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/l7mp/stunner/stunner.l7mp.io/v1alpha1/gatewayconfigs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/l7mp/stunner/stunner.l7mp.io/v1alpha1/gatewayconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/stunner_l7mp_io/v1alpha1/staticservices.rs b/kube-custom-resources-rs/src/stunner_l7mp_io/v1alpha1/staticservices.rs index 70be8efce..1b5329ac0 100644 --- a/kube-custom-resources-rs/src/stunner_l7mp_io/v1alpha1/staticservices.rs +++ b/kube-custom-resources-rs/src/stunner_l7mp_io/v1alpha1/staticservices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/l7mp/stunner/stunner.l7mp.io/v1alpha1/staticservices.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/l7mp/stunner/stunner.l7mp.io/v1alpha1/staticservices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/submariner_io/v1alpha1/brokers.rs b/kube-custom-resources-rs/src/submariner_io/v1alpha1/brokers.rs index 5518a3a28..006281a81 100644 --- a/kube-custom-resources-rs/src/submariner_io/v1alpha1/brokers.rs +++ b/kube-custom-resources-rs/src/submariner_io/v1alpha1/brokers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/submariner-io/submariner-operator/submariner.io/v1alpha1/brokers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/submariner-io/submariner-operator/submariner.io/v1alpha1/brokers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/submariner_io/v1alpha1/servicediscoveries.rs b/kube-custom-resources-rs/src/submariner_io/v1alpha1/servicediscoveries.rs index 5f879e48d..e55a1cc9d 100644 --- a/kube-custom-resources-rs/src/submariner_io/v1alpha1/servicediscoveries.rs +++ b/kube-custom-resources-rs/src/submariner_io/v1alpha1/servicediscoveries.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/submariner-io/submariner-operator/submariner.io/v1alpha1/servicediscoveries.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/submariner-io/submariner-operator/submariner.io/v1alpha1/servicediscoveries.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/submariner_io/v1alpha1/submariners.rs b/kube-custom-resources-rs/src/submariner_io/v1alpha1/submariners.rs index 3644804fc..4f5651bb5 100644 --- a/kube-custom-resources-rs/src/submariner_io/v1alpha1/submariners.rs +++ b/kube-custom-resources-rs/src/submariner_io/v1alpha1/submariners.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/submariner-io/submariner-operator/submariner.io/v1alpha1/submariners.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/submariner-io/submariner-operator/submariner.io/v1alpha1/submariners.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/telemetry_istio_io/v1/telemetries.rs b/kube-custom-resources-rs/src/telemetry_istio_io/v1/telemetries.rs index cca5aef93..5eaf4fff6 100644 --- a/kube-custom-resources-rs/src/telemetry_istio_io/v1/telemetries.rs +++ b/kube-custom-resources-rs/src/telemetry_istio_io/v1/telemetries.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/telemetry.istio.io/v1/telemetries.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/telemetry.istio.io/v1/telemetries.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/telemetry_istio_io/v1alpha1/telemetries.rs b/kube-custom-resources-rs/src/telemetry_istio_io/v1alpha1/telemetries.rs index c8c5dbc87..171e943f9 100644 --- a/kube-custom-resources-rs/src/telemetry_istio_io/v1alpha1/telemetries.rs +++ b/kube-custom-resources-rs/src/telemetry_istio_io/v1alpha1/telemetries.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/telemetry.istio.io/v1alpha1/telemetries.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/istio/istio/telemetry.istio.io/v1alpha1/telemetries.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/templates_gatekeeper_sh/v1/constrainttemplates.rs b/kube-custom-resources-rs/src/templates_gatekeeper_sh/v1/constrainttemplates.rs index 13d8218ba..7ff59092d 100644 --- a/kube-custom-resources-rs/src/templates_gatekeeper_sh/v1/constrainttemplates.rs +++ b/kube-custom-resources-rs/src/templates_gatekeeper_sh/v1/constrainttemplates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/templates.gatekeeper.sh/v1/constrainttemplates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/templates.gatekeeper.sh/v1/constrainttemplates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/templates_gatekeeper_sh/v1alpha1/constrainttemplates.rs b/kube-custom-resources-rs/src/templates_gatekeeper_sh/v1alpha1/constrainttemplates.rs index ecd3ff36c..3d4f57441 100644 --- a/kube-custom-resources-rs/src/templates_gatekeeper_sh/v1alpha1/constrainttemplates.rs +++ b/kube-custom-resources-rs/src/templates_gatekeeper_sh/v1alpha1/constrainttemplates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/templates.gatekeeper.sh/v1alpha1/constrainttemplates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/templates.gatekeeper.sh/v1alpha1/constrainttemplates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/templates_gatekeeper_sh/v1beta1/constrainttemplates.rs b/kube-custom-resources-rs/src/templates_gatekeeper_sh/v1beta1/constrainttemplates.rs index e138a26f9..4ed182b75 100644 --- a/kube-custom-resources-rs/src/templates_gatekeeper_sh/v1beta1/constrainttemplates.rs +++ b/kube-custom-resources-rs/src/templates_gatekeeper_sh/v1beta1/constrainttemplates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/templates.gatekeeper.sh/v1beta1/constrainttemplates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/open-policy-agent/gatekeeper/templates.gatekeeper.sh/v1beta1/constrainttemplates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tempo_grafana_com/v1alpha1/tempomonolithics.rs b/kube-custom-resources-rs/src/tempo_grafana_com/v1alpha1/tempomonolithics.rs index 1cfecd2f1..4499d2901 100644 --- a/kube-custom-resources-rs/src/tempo_grafana_com/v1alpha1/tempomonolithics.rs +++ b/kube-custom-resources-rs/src/tempo_grafana_com/v1alpha1/tempomonolithics.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/grafana/tempo-operator/tempo.grafana.com/v1alpha1/tempomonolithics.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/grafana/tempo-operator/tempo.grafana.com/v1alpha1/tempomonolithics.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// TempoMonolithicSpec defines the desired state of TempoMonolithic. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "tempo.grafana.com", version = "v1alpha1", kind = "TempoMonolithic", plural = "tempomonolithics")] #[kube(namespaced)] #[kube(status = "TempoMonolithicStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct TempoMonolithicSpec { /// Affinity defines the Affinity rules for scheduling pods. @@ -59,7 +60,7 @@ pub struct TempoMonolithicSpec { } /// Affinity defines the Affinity rules for scheduling pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -73,7 +74,7 @@ pub struct TempoMonolithicAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -84,7 +85,7 @@ pub struct TempoMonolithicAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: TempoMonolithicAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -93,7 +94,7 @@ pub struct TempoMonolithicAffinityNodeAffinityPreferredDuringSchedulingIgnoredDu } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -104,7 +105,7 @@ pub struct TempoMonolithicAffinityNodeAffinityPreferredDuringSchedulingIgnoredDu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -116,7 +117,7 @@ pub struct TempoMonolithicAffinityNodeAffinityPreferredDuringSchedulingIgnoredDu } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -128,7 +129,7 @@ pub struct TempoMonolithicAffinityNodeAffinityPreferredDuringSchedulingIgnoredDu } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -136,7 +137,7 @@ pub struct TempoMonolithicAffinityNodeAffinityRequiredDuringSchedulingIgnoredDur } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -147,7 +148,7 @@ pub struct TempoMonolithicAffinityNodeAffinityRequiredDuringSchedulingIgnoredDur } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -159,7 +160,7 @@ pub struct TempoMonolithicAffinityNodeAffinityRequiredDuringSchedulingIgnoredDur } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -171,7 +172,7 @@ pub struct TempoMonolithicAffinityNodeAffinityRequiredDuringSchedulingIgnoredDur } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -182,7 +183,7 @@ pub struct TempoMonolithicAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -192,7 +193,7 @@ pub struct TempoMonolithicAffinityPodAffinityPreferredDuringSchedulingIgnoredDur } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -215,7 +216,7 @@ pub struct TempoMonolithicAffinityPodAffinityPreferredDuringSchedulingIgnoredDur } /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -226,7 +227,7 @@ pub struct TempoMonolithicAffinityPodAffinityPreferredDuringSchedulingIgnoredDur } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -238,7 +239,7 @@ pub struct TempoMonolithicAffinityPodAffinityPreferredDuringSchedulingIgnoredDur } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -249,7 +250,7 @@ pub struct TempoMonolithicAffinityPodAffinityPreferredDuringSchedulingIgnoredDur } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -261,7 +262,7 @@ pub struct TempoMonolithicAffinityPodAffinityPreferredDuringSchedulingIgnoredDur } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -284,7 +285,7 @@ pub struct TempoMonolithicAffinityPodAffinityRequiredDuringSchedulingIgnoredDuri } /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -295,7 +296,7 @@ pub struct TempoMonolithicAffinityPodAffinityRequiredDuringSchedulingIgnoredDuri } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -307,7 +308,7 @@ pub struct TempoMonolithicAffinityPodAffinityRequiredDuringSchedulingIgnoredDuri } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -318,7 +319,7 @@ pub struct TempoMonolithicAffinityPodAffinityRequiredDuringSchedulingIgnoredDuri } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -330,7 +331,7 @@ pub struct TempoMonolithicAffinityPodAffinityRequiredDuringSchedulingIgnoredDuri } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -341,7 +342,7 @@ pub struct TempoMonolithicAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -351,7 +352,7 @@ pub struct TempoMonolithicAffinityPodAntiAffinityPreferredDuringSchedulingIgnore } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -374,7 +375,7 @@ pub struct TempoMonolithicAffinityPodAntiAffinityPreferredDuringSchedulingIgnore } /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -385,7 +386,7 @@ pub struct TempoMonolithicAffinityPodAntiAffinityPreferredDuringSchedulingIgnore } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -397,7 +398,7 @@ pub struct TempoMonolithicAffinityPodAntiAffinityPreferredDuringSchedulingIgnore } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -408,7 +409,7 @@ pub struct TempoMonolithicAffinityPodAntiAffinityPreferredDuringSchedulingIgnore } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -420,7 +421,7 @@ pub struct TempoMonolithicAffinityPodAntiAffinityPreferredDuringSchedulingIgnore } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -443,7 +444,7 @@ pub struct TempoMonolithicAffinityPodAntiAffinityRequiredDuringSchedulingIgnored } /// A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -454,7 +455,7 @@ pub struct TempoMonolithicAffinityPodAntiAffinityRequiredDuringSchedulingIgnored } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -466,7 +467,7 @@ pub struct TempoMonolithicAffinityPodAntiAffinityRequiredDuringSchedulingIgnored } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -477,7 +478,7 @@ pub struct TempoMonolithicAffinityPodAntiAffinityRequiredDuringSchedulingIgnored } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -489,7 +490,7 @@ pub struct TempoMonolithicAffinityPodAntiAffinityRequiredDuringSchedulingIgnored } /// ExtraConfig defines any extra (overlay) configuration of components. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicExtraConfig { /// Tempo defines any extra Tempo configuration, which will be merged with the operator's generated Tempo configuration #[serde(default, skip_serializing_if = "Option::is_none")] @@ -497,7 +498,7 @@ pub struct TempoMonolithicExtraConfig { } /// Ingestion defines the trace ingestion configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicIngestion { /// OTLP defines the ingestion configuration for the OTLP protocol. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -505,7 +506,7 @@ pub struct TempoMonolithicIngestion { } /// OTLP defines the ingestion configuration for the OTLP protocol. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicIngestionOtlp { /// GRPC defines the OTLP over gRPC configuration. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -516,7 +517,7 @@ pub struct TempoMonolithicIngestionOtlp { } /// GRPC defines the OTLP over gRPC configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicIngestionOtlpGrpc { /// Enabled defines if OTLP over gRPC is enabled. Default: enabled. pub enabled: bool, @@ -526,7 +527,7 @@ pub struct TempoMonolithicIngestionOtlpGrpc { } /// TLS defines the TLS configuration for OTLP/gRPC ingestion. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicIngestionOtlpGrpcTls { /// CA is the name of a ConfigMap containing a CA certificate (service-ca.crt). It needs to be in the same namespace as the Tempo custom resource. #[serde(default, skip_serializing_if = "Option::is_none", rename = "caName")] @@ -543,7 +544,7 @@ pub struct TempoMonolithicIngestionOtlpGrpcTls { } /// HTTP defines the OTLP over HTTP configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicIngestionOtlpHttp { /// Enabled defines if OTLP over HTTP is enabled. Default: enabled. pub enabled: bool, @@ -553,7 +554,7 @@ pub struct TempoMonolithicIngestionOtlpHttp { } /// TLS defines the TLS configuration for OTLP/HTTP ingestion. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicIngestionOtlpHttpTls { /// CA is the name of a ConfigMap containing a CA certificate (service-ca.crt). It needs to be in the same namespace as the Tempo custom resource. #[serde(default, skip_serializing_if = "Option::is_none", rename = "caName")] @@ -570,7 +571,7 @@ pub struct TempoMonolithicIngestionOtlpHttpTls { } /// JaegerUI defines the Jaeger UI configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicJaegerui { /// Authentication defines the options for the oauth proxy used to protect jaeger UI #[serde(default, skip_serializing_if = "Option::is_none")] @@ -592,7 +593,7 @@ pub struct TempoMonolithicJaegerui { } /// Authentication defines the options for the oauth proxy used to protect jaeger UI -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicJaegeruiAuthentication { /// Defines if the authentication will be enabled for jaeger UI. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -606,7 +607,7 @@ pub struct TempoMonolithicJaegeruiAuthentication { } /// Resources defines the compute resource requirements of the OAuth Proxy container. The OAuth Proxy performs authentication and authorization of incoming requests to Jaeger UI when multi-tenancy is disabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicJaegeruiAuthenticationResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -622,14 +623,14 @@ pub struct TempoMonolithicJaegeruiAuthenticationResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicJaegeruiAuthenticationResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// Ingress defines the Ingress configuration for the Jaeger UI. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicJaegeruiIngress { /// Annotations defines the annotations of the Ingress object. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -645,7 +646,7 @@ pub struct TempoMonolithicJaegeruiIngress { } /// Resources defines the compute resource requirements of the Jaeger UI container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicJaegeruiResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -661,14 +662,14 @@ pub struct TempoMonolithicJaegeruiResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicJaegeruiResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// Route defines the OpenShift route configuration for the Jaeger UI. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicJaegeruiRoute { /// Annotations defines the annotations of the Route object. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -722,7 +723,7 @@ pub struct TempoMonolithicMultitenancy { } /// AuthenticationSpec defines the oidc configuration per tenant for tempo Gateway component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicMultitenancyAuthentication { /// OIDC defines the spec for the OIDC tenant's authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -736,7 +737,7 @@ pub struct TempoMonolithicMultitenancyAuthentication { } /// OIDC defines the spec for the OIDC tenant's authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicMultitenancyAuthenticationOidc { /// Group claim field from ID Token #[serde(default, skip_serializing_if = "Option::is_none", rename = "groupClaim")] @@ -756,7 +757,7 @@ pub struct TempoMonolithicMultitenancyAuthenticationOidc { } /// Secret defines the spec for the clientID, clientSecret and issuerCAPath for tenant's authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicMultitenancyAuthenticationOidcSecret { /// Name of a secret in the namespace configured for tenant secrets. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -764,7 +765,7 @@ pub struct TempoMonolithicMultitenancyAuthenticationOidcSecret { } /// Authorization defines the tempo-gateway component authorization configuration spec per tenant. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicMultitenancyAuthorization { /// RoleBindings defines configuration to bind a set of roles to a set of subjects. #[serde(default, skip_serializing_if = "Option::is_none", rename = "roleBindings")] @@ -775,7 +776,7 @@ pub struct TempoMonolithicMultitenancyAuthorization { } /// RoleBindingsSpec binds a set of roles to a set of subjects. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicMultitenancyAuthorizationRoleBindings { pub name: String, pub roles: Vec, @@ -800,7 +801,7 @@ pub enum TempoMonolithicMultitenancyAuthorizationRoleBindingsSubjectsKind { } /// RoleSpec describes a set of permissions to interact with a tenant. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicMultitenancyAuthorizationRoles { pub name: String, pub permissions: Vec, @@ -818,7 +819,7 @@ pub enum TempoMonolithicMultitenancyMode { } /// Resources defines the compute resource requirements of the gateway container. The gateway performs authentication and authorization of incoming requests when multi-tenancy is enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicMultitenancyResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -834,14 +835,14 @@ pub struct TempoMonolithicMultitenancyResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicMultitenancyResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// Observability defines the observability configuration of the Tempo deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicObservability { /// Grafana defines the Grafana configuration of the Tempo deployment. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -852,7 +853,7 @@ pub struct TempoMonolithicObservability { } /// Grafana defines the Grafana configuration of the Tempo deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicObservabilityGrafana { /// DataSource defines the Grafana data source configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "dataSource")] @@ -860,7 +861,7 @@ pub struct TempoMonolithicObservabilityGrafana { } /// DataSource defines the Grafana data source configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicObservabilityGrafanaDataSource { /// Enabled defines if a Grafana data source should be created for this Tempo deployment. pub enabled: bool, @@ -870,7 +871,7 @@ pub struct TempoMonolithicObservabilityGrafanaDataSource { } /// InstanceSelector defines the Grafana instance where the data source should be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicObservabilityGrafanaDataSourceInstanceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -881,7 +882,7 @@ pub struct TempoMonolithicObservabilityGrafanaDataSourceInstanceSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicObservabilityGrafanaDataSourceInstanceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -893,7 +894,7 @@ pub struct TempoMonolithicObservabilityGrafanaDataSourceInstanceSelectorMatchExp } /// Metrics defines the metric configuration of the Tempo deployment. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicObservabilityMetrics { /// ServiceMonitors defines the PrometheusRule configuration. #[serde(default, skip_serializing_if = "Option::is_none", rename = "prometheusRules")] @@ -904,21 +905,21 @@ pub struct TempoMonolithicObservabilityMetrics { } /// ServiceMonitors defines the PrometheusRule configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicObservabilityMetricsPrometheusRules { /// Enabled defines if PrometheusRule objects should be created for this Tempo deployment. pub enabled: bool, } /// ServiceMonitors defines the ServiceMonitor configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicObservabilityMetricsServiceMonitors { /// Enabled defines if ServiceMonitor objects should be created for this Tempo deployment. pub enabled: bool, } /// Resources defines the compute resource requirements of the Tempo container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -934,7 +935,7 @@ pub struct TempoMonolithicResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, @@ -967,7 +968,7 @@ pub struct TempoMonolithicStorageTraces { } /// Azure defines the configuration for Azure Storage. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicStorageTracesAzure { /// Secret is the name of a Secret containing credentials for accessing object storage. It needs to be in the same namespace as the TempoMonolithic custom resource. pub secret: String, @@ -989,14 +990,14 @@ pub enum TempoMonolithicStorageTracesBackend { } /// GCP defines the configuration for Google Cloud Storage. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicStorageTracesGcs { /// Secret is the name of a Secret containing credentials for accessing object storage. It needs to be in the same namespace as the TempoMonolithic custom resource. pub secret: String, } /// S3 defines the configuration for Amazon S3. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicStorageTracesS3 { /// Secret is the name of a Secret containing credentials for accessing object storage. It needs to be in the same namespace as the TempoMonolithic custom resource. pub secret: String, @@ -1006,7 +1007,7 @@ pub struct TempoMonolithicStorageTracesS3 { } /// TLS defines the TLS configuration for Amazon S3. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicStorageTracesS3Tls { /// CA is the name of a ConfigMap containing a CA certificate (service-ca.crt). It needs to be in the same namespace as the Tempo custom resource. #[serde(default, skip_serializing_if = "Option::is_none", rename = "caName")] @@ -1023,7 +1024,7 @@ pub struct TempoMonolithicStorageTracesS3Tls { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1043,7 +1044,7 @@ pub struct TempoMonolithicTolerations { } /// TempoMonolithicStatus defines the observed state of TempoMonolithic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicStatus { /// Components provides summary of all Tempo pod status, grouped per component. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1060,7 +1061,7 @@ pub struct TempoMonolithicStatus { } /// Components provides summary of all Tempo pod status, grouped per component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoMonolithicStatusComponents { /// Tempo is a map of the pod status of the Tempo pods. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/tempo_grafana_com/v1alpha1/tempostacks.rs b/kube-custom-resources-rs/src/tempo_grafana_com/v1alpha1/tempostacks.rs index 4dfa7d4b0..a31e82acf 100644 --- a/kube-custom-resources-rs/src/tempo_grafana_com/v1alpha1/tempostacks.rs +++ b/kube-custom-resources-rs/src/tempo_grafana_com/v1alpha1/tempostacks.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/grafana/tempo-operator/tempo.grafana.com/v1alpha1/tempostacks.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/grafana/tempo-operator/tempo.grafana.com/v1alpha1/tempostacks.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -70,7 +70,7 @@ pub struct TempoStackSpec { } /// ExtraConfigSpec defines extra configurations for tempo that will be merged with the operator generated, configurations defined here has precedence and could override generated config. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackExtraConfig { /// Tempo defines any extra Tempo configuration, which will be merged with the operator's generated Tempo configuration #[serde(default, skip_serializing_if = "Option::is_none")] @@ -78,7 +78,7 @@ pub struct TempoStackExtraConfig { } /// HashRing defines the spec for the distributed hash ring configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackHashRing { /// MemberList configuration spec #[serde(default, skip_serializing_if = "Option::is_none")] @@ -86,7 +86,7 @@ pub struct TempoStackHashRing { } /// MemberList configuration spec -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackHashRingMemberlist { /// EnableIPv6 enables IPv6 support for the memberlist based hash ring. #[serde(default, skip_serializing_if = "Option::is_none", rename = "enableIPv6")] @@ -94,7 +94,7 @@ pub struct TempoStackHashRingMemberlist { } /// Images defines the image for each container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackImages { /// OauthProxy defines the oauth proxy image used to protect the jaegerUI on single tenant. #[serde(default, skip_serializing_if = "Option::is_none", rename = "oauthProxy")] @@ -114,7 +114,7 @@ pub struct TempoStackImages { } /// LimitSpec is used to limit ingestion and querying rates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackLimits { /// Global is used to define global rate limits. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -125,7 +125,7 @@ pub struct TempoStackLimits { } /// Global is used to define global rate limits. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackLimitsGlobal { /// Ingestion is used to define ingestion rate limits. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -136,7 +136,7 @@ pub struct TempoStackLimitsGlobal { } /// Ingestion is used to define ingestion rate limits. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackLimitsGlobalIngestion { /// IngestionBurstSizeBytes defines the burst size (bytes) used in ingestion. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ingestionBurstSizeBytes")] @@ -153,7 +153,7 @@ pub struct TempoStackLimitsGlobalIngestion { } /// Query is used to define query rate limits. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackLimitsGlobalQuery { /// MaxBytesPerTagValues defines the maximum size in bytes of a tag-values query. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxBytesPerTagValues")] @@ -167,7 +167,7 @@ pub struct TempoStackLimitsGlobalQuery { } /// PerTenant is used to define rate limits per tenant. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackLimitsPerTenant { /// Ingestion is used to define ingestion rate limits. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -178,7 +178,7 @@ pub struct TempoStackLimitsPerTenant { } /// Ingestion is used to define ingestion rate limits. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackLimitsPerTenantIngestion { /// IngestionBurstSizeBytes defines the burst size (bytes) used in ingestion. #[serde(default, skip_serializing_if = "Option::is_none", rename = "ingestionBurstSizeBytes")] @@ -195,7 +195,7 @@ pub struct TempoStackLimitsPerTenantIngestion { } /// Query is used to define query rate limits. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackLimitsPerTenantQuery { /// MaxBytesPerTagValues defines the maximum size in bytes of a tag-values query. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxBytesPerTagValues")] @@ -216,7 +216,7 @@ pub enum TempoStackManagementState { } /// ObservabilitySpec defines how telemetry data gets handled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackObservability { /// Grafana defines the Grafana configuration for operands. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -230,7 +230,7 @@ pub struct TempoStackObservability { } /// Grafana defines the Grafana configuration for operands. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackObservabilityGrafana { /// CreateDatasource specifies if a Grafana Datasource should be created for Tempo. #[serde(default, skip_serializing_if = "Option::is_none", rename = "createDatasource")] @@ -241,7 +241,7 @@ pub struct TempoStackObservabilityGrafana { } /// InstanceSelector specifies the Grafana instance where the datasource should be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackObservabilityGrafanaInstanceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -252,7 +252,7 @@ pub struct TempoStackObservabilityGrafanaInstanceSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackObservabilityGrafanaInstanceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -264,7 +264,7 @@ pub struct TempoStackObservabilityGrafanaInstanceSelectorMatchExpressions { } /// Metrics defines the metrics configuration for operands. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackObservabilityMetrics { /// CreatePrometheusRules specifies if Prometheus rules for alerts should be created for Tempo components. #[serde(default, skip_serializing_if = "Option::is_none", rename = "createPrometheusRules")] @@ -275,7 +275,7 @@ pub struct TempoStackObservabilityMetrics { } /// Tracing defines a config for operands. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackObservabilityTracing { /// JaegerAgentEndpoint defines the jaeger endpoint data gets send to. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -286,7 +286,7 @@ pub struct TempoStackObservabilityTracing { } /// Resources defines resources configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackResources { /// The total amount of resources for Tempo instance. The operator autonomously splits resources between deployed Tempo components. Only limits are supported, the operator calculates requests automatically. See http://github.com/grafana/tempo/issues/1540. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -294,7 +294,7 @@ pub struct TempoStackResources { } /// The total amount of resources for Tempo instance. The operator autonomously splits resources between deployed Tempo components. Only limits are supported, the operator calculates requests automatically. See http://github.com/grafana/tempo/issues/1540. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackResourcesTotal { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -310,14 +310,14 @@ pub struct TempoStackResourcesTotal { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackResourcesTotalClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// NOTE: currently this field is not considered. Retention period defined by dataset. User can specify how long data should be stored. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackRetention { /// Global is used to configure global retention. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -328,7 +328,7 @@ pub struct TempoStackRetention { } /// Global is used to configure global retention. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackRetentionGlobal { /// Traces defines retention period. Supported parameter suffixes are "s", "m" and "h". example: 336h default: value is 48h. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -336,7 +336,7 @@ pub struct TempoStackRetentionGlobal { } /// PerTenant is used to configure retention per tenant. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackRetentionPerTenant { /// Traces defines retention period. Supported parameter suffixes are "s", "m" and "h". example: 336h default: value is 48h. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -344,7 +344,7 @@ pub struct TempoStackRetentionPerTenant { } /// SearchSpec control the configuration for the search capabilities. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackSearch { /// Limit used for search requests if none is set by the caller (default: 20) #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultResultLimit")] @@ -389,7 +389,7 @@ pub enum TempoStackStorageSecretType { } /// TLS configuration for reaching the object storage endpoint. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackStorageTls { /// CA is the name of a ConfigMap containing a CA certificate (service-ca.crt). It needs to be in the same namespace as the Tempo custom resource. #[serde(default, skip_serializing_if = "Option::is_none", rename = "caName")] @@ -406,7 +406,7 @@ pub struct TempoStackStorageTls { } /// Template defines requirements for a set of tempo components. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplate { /// Compactor defines the tempo compactor component spec. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -429,7 +429,7 @@ pub struct TempoStackTemplate { } /// Compactor defines the tempo compactor component spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateCompactor { /// NodeSelector defines the simple form of the node-selection constraint. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelector")] @@ -446,7 +446,7 @@ pub struct TempoStackTemplateCompactor { } /// Resources defines resources for this component, this will override the calculated resources derived from total -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateCompactorResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -462,14 +462,14 @@ pub struct TempoStackTemplateCompactorResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateCompactorResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateCompactorTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -489,7 +489,7 @@ pub struct TempoStackTemplateCompactorTolerations { } /// Distributor defines the distributor component spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateDistributor { /// TempoComponentSpec is embedded to extend this definition with further options. /// Currently, there is no way to inline this field. See: https://github.com/golang/go/issues/6213 @@ -502,7 +502,7 @@ pub struct TempoStackTemplateDistributor { /// TempoComponentSpec is embedded to extend this definition with further options. /// Currently, there is no way to inline this field. See: https://github.com/golang/go/issues/6213 -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateDistributorComponent { /// NodeSelector defines the simple form of the node-selection constraint. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelector")] @@ -519,7 +519,7 @@ pub struct TempoStackTemplateDistributorComponent { } /// Resources defines resources for this component, this will override the calculated resources derived from total -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateDistributorComponentResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -535,14 +535,14 @@ pub struct TempoStackTemplateDistributorComponentResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateDistributorComponentResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateDistributorComponentTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -562,7 +562,7 @@ pub struct TempoStackTemplateDistributorComponentTolerations { } /// TLS defines TLS configuration for distributor receivers -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateDistributorTls { /// CA is the name of a ConfigMap containing a CA certificate (service-ca.crt). It needs to be in the same namespace as the Tempo custom resource. #[serde(default, skip_serializing_if = "Option::is_none", rename = "caName")] @@ -579,7 +579,7 @@ pub struct TempoStackTemplateDistributorTls { } /// Gateway defines the tempo gateway spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateGateway { /// TempoComponentSpec is embedded to extend this definition with further options. /// Currently there is no way to inline this field. See: https://github.com/golang/go/issues/6213 @@ -593,7 +593,7 @@ pub struct TempoStackTemplateGateway { /// TempoComponentSpec is embedded to extend this definition with further options. /// Currently there is no way to inline this field. See: https://github.com/golang/go/issues/6213 -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateGatewayComponent { /// NodeSelector defines the simple form of the node-selection constraint. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelector")] @@ -610,7 +610,7 @@ pub struct TempoStackTemplateGatewayComponent { } /// Resources defines resources for this component, this will override the calculated resources derived from total -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateGatewayComponentResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -626,14 +626,14 @@ pub struct TempoStackTemplateGatewayComponentResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateGatewayComponentResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateGatewayComponentTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -653,7 +653,7 @@ pub struct TempoStackTemplateGatewayComponentTolerations { } /// Ingress defines gateway Ingress options. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateGatewayIngress { /// Annotations defines the annotations of the Ingress object. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -673,7 +673,7 @@ pub struct TempoStackTemplateGatewayIngress { } /// Route defines the options for the OpenShift route. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateGatewayIngressRoute { /// Termination defines the termination type. The default is "edge". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -703,7 +703,7 @@ pub enum TempoStackTemplateGatewayIngressType { } /// Ingester defines the ingester component spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateIngester { /// NodeSelector defines the simple form of the node-selection constraint. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelector")] @@ -720,7 +720,7 @@ pub struct TempoStackTemplateIngester { } /// Resources defines resources for this component, this will override the calculated resources derived from total -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateIngesterResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -736,14 +736,14 @@ pub struct TempoStackTemplateIngesterResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateIngesterResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateIngesterTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -763,7 +763,7 @@ pub struct TempoStackTemplateIngesterTolerations { } /// Querier defines the querier component spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateQuerier { /// NodeSelector defines the simple form of the node-selection constraint. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelector")] @@ -780,7 +780,7 @@ pub struct TempoStackTemplateQuerier { } /// Resources defines resources for this component, this will override the calculated resources derived from total -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateQuerierResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -796,14 +796,14 @@ pub struct TempoStackTemplateQuerierResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateQuerierResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateQuerierTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -823,7 +823,7 @@ pub struct TempoStackTemplateQuerierTolerations { } /// TempoQueryFrontendSpec defines the query frontend spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateQueryFrontend { /// TempoComponentSpec is embedded to extend this definition with further options. /// Currently there is no way to inline this field. See: https://github.com/golang/go/issues/6213 @@ -836,7 +836,7 @@ pub struct TempoStackTemplateQueryFrontend { /// TempoComponentSpec is embedded to extend this definition with further options. /// Currently there is no way to inline this field. See: https://github.com/golang/go/issues/6213 -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateQueryFrontendComponent { /// NodeSelector defines the simple form of the node-selection constraint. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeSelector")] @@ -853,7 +853,7 @@ pub struct TempoStackTemplateQueryFrontendComponent { } /// Resources defines resources for this component, this will override the calculated resources derived from total -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateQueryFrontendComponentResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -869,14 +869,14 @@ pub struct TempoStackTemplateQueryFrontendComponentResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateQueryFrontendComponentResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateQueryFrontendComponentTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -896,7 +896,7 @@ pub struct TempoStackTemplateQueryFrontendComponentTolerations { } /// JaegerQuery defines options specific to the Jaeger Query component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateQueryFrontendJaegerQuery { /// Authentication defines the options for the oauth proxy used to protect jaeger UI #[serde(default, skip_serializing_if = "Option::is_none")] @@ -919,7 +919,7 @@ pub struct TempoStackTemplateQueryFrontendJaegerQuery { } /// Authentication defines the options for the oauth proxy used to protect jaeger UI -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateQueryFrontendJaegerQueryAuthentication { /// Defines if the authentication will be enabled for jaeger UI. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -933,7 +933,7 @@ pub struct TempoStackTemplateQueryFrontendJaegerQueryAuthentication { } /// Resources defines the compute resource requirements of the OAuth Proxy container. The OAuth Proxy performs authentication and authorization of incoming requests to Jaeger UI when multi-tenancy is disabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateQueryFrontendJaegerQueryAuthenticationResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -949,14 +949,14 @@ pub struct TempoStackTemplateQueryFrontendJaegerQueryAuthenticationResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateQueryFrontendJaegerQueryAuthenticationResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// Ingress defines the options for the Jaeger Query ingress. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateQueryFrontendJaegerQueryIngress { /// Annotations defines the annotations of the Ingress object. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -976,7 +976,7 @@ pub struct TempoStackTemplateQueryFrontendJaegerQueryIngress { } /// Route defines the options for the OpenShift route. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateQueryFrontendJaegerQueryIngressRoute { /// Termination defines the termination type. The default is "edge". #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1006,7 +1006,7 @@ pub enum TempoStackTemplateQueryFrontendJaegerQueryIngressType { } /// MonitorTab defines the monitor tab configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateQueryFrontendJaegerQueryMonitorTab { /// Enabled enables the monitor tab in the Jaeger console. The PrometheusEndpoint must be configured to enable this feature. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1017,7 +1017,7 @@ pub struct TempoStackTemplateQueryFrontendJaegerQueryMonitorTab { } /// Resources defines resources for this component, this will override the calculated resources derived from total -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateQueryFrontendJaegerQueryResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1033,7 +1033,7 @@ pub struct TempoStackTemplateQueryFrontendJaegerQueryResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTemplateQueryFrontendJaegerQueryResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, @@ -1053,7 +1053,7 @@ pub struct TempoStackTenants { } /// AuthenticationSpec defines the oidc configuration per tenant for tempo Gateway component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTenantsAuthentication { /// OIDC defines the spec for the OIDC tenant's authentication. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1067,7 +1067,7 @@ pub struct TempoStackTenantsAuthentication { } /// OIDC defines the spec for the OIDC tenant's authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTenantsAuthenticationOidc { /// Group claim field from ID Token #[serde(default, skip_serializing_if = "Option::is_none", rename = "groupClaim")] @@ -1087,7 +1087,7 @@ pub struct TempoStackTenantsAuthenticationOidc { } /// Secret defines the spec for the clientID, clientSecret and issuerCAPath for tenant's authentication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTenantsAuthenticationOidcSecret { /// Name of a secret in the namespace configured for tenant secrets. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1095,7 +1095,7 @@ pub struct TempoStackTenantsAuthenticationOidcSecret { } /// Authorization defines the tempo-gateway component authorization configuration spec per tenant. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTenantsAuthorization { /// RoleBindings defines configuration to bind a set of roles to a set of subjects. #[serde(default, skip_serializing_if = "Option::is_none", rename = "roleBindings")] @@ -1106,7 +1106,7 @@ pub struct TempoStackTenantsAuthorization { } /// RoleBindingsSpec binds a set of roles to a set of subjects. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTenantsAuthorizationRoleBindings { pub name: String, pub roles: Vec, @@ -1131,7 +1131,7 @@ pub enum TempoStackTenantsAuthorizationRoleBindingsSubjectsKind { } /// RoleSpec describes a set of permissions to interact with a tenant. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackTenantsAuthorizationRoles { pub name: String, pub permissions: Vec, @@ -1149,7 +1149,7 @@ pub enum TempoStackTenantsMode { } /// TempoStackStatus defines the observed state of TempoStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackStatus { /// Components provides summary of all Tempo pod status grouped per component. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1169,7 +1169,7 @@ pub struct TempoStackStatus { } /// Components provides summary of all Tempo pod status grouped per component. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TempoStackStatusComponents { /// Compactor is a map to the pod status of the compactor pod. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/temporal_io/v1beta1/temporalclusterclients.rs b/kube-custom-resources-rs/src/temporal_io/v1beta1/temporalclusterclients.rs index b1bb42b0a..53fd3a21b 100644 --- a/kube-custom-resources-rs/src/temporal_io/v1beta1/temporalclusterclients.rs +++ b/kube-custom-resources-rs/src/temporal_io/v1beta1/temporalclusterclients.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/alexandrevilain/temporal-operator/temporal.io/v1beta1/temporalclusterclients.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/alexandrevilain/temporal-operator/temporal.io/v1beta1/temporalclusterclients.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/temporal_io/v1beta1/temporalnamespaces.rs b/kube-custom-resources-rs/src/temporal_io/v1beta1/temporalnamespaces.rs index e736e7945..8f8cc5a2e 100644 --- a/kube-custom-resources-rs/src/temporal_io/v1beta1/temporalnamespaces.rs +++ b/kube-custom-resources-rs/src/temporal_io/v1beta1/temporalnamespaces.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/alexandrevilain/temporal-operator/temporal.io/v1beta1/temporalnamespaces.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/alexandrevilain/temporal-operator/temporal.io/v1beta1/temporalnamespaces.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// TemporalNamespaceSpec defines the desired state of Namespace. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "temporal.io", version = "v1beta1", kind = "TemporalNamespace", plural = "temporalnamespaces")] #[kube(namespaced)] #[kube(status = "TemporalNamespaceStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct TemporalNamespaceSpec { /// The name of active Temporal Cluster. Only applicable if the namespace is a global namespace. @@ -54,7 +55,7 @@ pub struct TemporalNamespaceSpec { } /// Archival is a per-namespace archival configuration. If not set, the default cluster configuration is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TemporalNamespaceArchival { /// History is the config for this namespace history archival. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -65,7 +66,7 @@ pub struct TemporalNamespaceArchival { } /// History is the config for this namespace history archival. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TemporalNamespaceArchivalHistory { /// EnableRead allows temporal to read from the archived Event History. #[serde(rename = "enableRead")] @@ -80,7 +81,7 @@ pub struct TemporalNamespaceArchivalHistory { } /// Visibility is the config for this namespace visibility archival. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TemporalNamespaceArchivalVisibility { /// EnableRead allows temporal to read from the archived Event History. #[serde(rename = "enableRead")] @@ -95,7 +96,7 @@ pub struct TemporalNamespaceArchivalVisibility { } /// Reference to the temporal cluster the namespace will be created. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TemporalNamespaceClusterRef { /// The name of the TemporalCluster to reference. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -106,7 +107,7 @@ pub struct TemporalNamespaceClusterRef { } /// TemporalNamespaceStatus defines the observed state of Namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TemporalNamespaceStatus { /// Conditions represent the latest available observations of the Namespace state. pub conditions: Vec, diff --git a/kube-custom-resources-rs/src/temporal_io/v1beta1/temporalworkerprocesses.rs b/kube-custom-resources-rs/src/temporal_io/v1beta1/temporalworkerprocesses.rs index 6e29b7e4e..b23a2d8e2 100644 --- a/kube-custom-resources-rs/src/temporal_io/v1beta1/temporalworkerprocesses.rs +++ b/kube-custom-resources-rs/src/temporal_io/v1beta1/temporalworkerprocesses.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/alexandrevilain/temporal-operator/temporal.io/v1beta1/temporalworkerprocesses.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/alexandrevilain/temporal-operator/temporal.io/v1beta1/temporalworkerprocesses.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -11,11 +11,12 @@ mod prelude { use self::prelude::*; /// TemporalWorkerProcessSpec defines the desired state of TemporalWorkerProcess. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "temporal.io", version = "v1beta1", kind = "TemporalWorkerProcess", plural = "temporalworkerprocesses")] #[kube(namespaced)] #[kube(status = "TemporalWorkerProcessStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct TemporalWorkerProcessSpec { /// Builder is the configuration for building a TemporalWorkerProcess. THIS FEATURE IS HIGHLY EXPERIMENTAL. @@ -47,7 +48,7 @@ pub struct TemporalWorkerProcessSpec { } /// Builder is the configuration for building a TemporalWorkerProcess. THIS FEATURE IS HIGHLY EXPERIMENTAL. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TemporalWorkerProcessBuilder { /// BuildAttempt is the build attempt number of a given version #[serde(default, skip_serializing_if = "Option::is_none")] @@ -72,7 +73,7 @@ pub struct TemporalWorkerProcessBuilder { } /// BuildRegistry specifies how to connect to container registry. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TemporalWorkerProcessBuilderBuildRegistry { /// PasswordSecret is the reference to the secret holding the docker repo password. #[serde(rename = "passwordSecretRef")] @@ -84,7 +85,7 @@ pub struct TemporalWorkerProcessBuilderBuildRegistry { } /// PasswordSecret is the reference to the secret holding the docker repo password. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TemporalWorkerProcessBuilderBuildRegistryPasswordSecretRef { /// Key in the Secret. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -94,7 +95,7 @@ pub struct TemporalWorkerProcessBuilderBuildRegistryPasswordSecretRef { } /// GitRepository specifies how to connect to Git source control. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TemporalWorkerProcessBuilderGitRepository { /// Reference specifies the Git reference to resolve and monitor for changes, defaults to the 'master' branch. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -104,7 +105,7 @@ pub struct TemporalWorkerProcessBuilderGitRepository { } /// Reference specifies the Git reference to resolve and monitor for changes, defaults to the 'master' branch. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TemporalWorkerProcessBuilderGitRepositoryReference { /// Branch to check out, defaults to 'main' if no other field is defined. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -112,7 +113,7 @@ pub struct TemporalWorkerProcessBuilderGitRepositoryReference { } /// Reference to the temporal cluster the worker will connect to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TemporalWorkerProcessClusterRef { /// The name of the TemporalCluster to reference. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -123,7 +124,7 @@ pub struct TemporalWorkerProcessClusterRef { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TemporalWorkerProcessImagePullSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -131,7 +132,7 @@ pub struct TemporalWorkerProcessImagePullSecrets { } /// TemporalWorkerProcessStatus defines the observed state of TemporalWorkerProcess. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TemporalWorkerProcessStatus { /// BuildAttempt is the build attempt number of a given version #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/tests_testkube_io/v1/scripts.rs b/kube-custom-resources-rs/src/tests_testkube_io/v1/scripts.rs index b4986fb59..4a66ba53d 100644 --- a/kube-custom-resources-rs/src/tests_testkube_io/v1/scripts.rs +++ b/kube-custom-resources-rs/src/tests_testkube_io/v1/scripts.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/scripts.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/scripts.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tests_testkube_io/v1/testexecutions.rs b/kube-custom-resources-rs/src/tests_testkube_io/v1/testexecutions.rs index 57aaf1b3f..8514d2c4e 100644 --- a/kube-custom-resources-rs/src/tests_testkube_io/v1/testexecutions.rs +++ b/kube-custom-resources-rs/src/tests_testkube_io/v1/testexecutions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testexecutions.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testexecutions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// TestExecutionSpec defines the desired state of TestExecution -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "tests.testkube.io", version = "v1", kind = "TestExecution", plural = "testexecutions")] #[kube(namespaced)] #[kube(status = "TestExecutionStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct TestExecutionSpec { /// test execution request body @@ -26,7 +27,7 @@ pub struct TestExecutionSpec { } /// test execution request body -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionExecutionRequest { /// Optional duration in seconds the pod may be active on the node relative to /// StartTime before the system will actively try to mark it failed and kill associated containers. @@ -149,7 +150,7 @@ pub enum TestExecutionExecutionRequestArgsMode { } /// artifact request body with test artifacts -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionExecutionRequestArtifactRequest { /// artifact directories for scraping #[serde(default, skip_serializing_if = "Option::is_none")] @@ -181,7 +182,7 @@ pub struct TestExecutionExecutionRequestArtifactRequest { } /// Reference to env resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionExecutionRequestEnvConfigMaps { /// whether we shoud map to variables from resource #[serde(default, skip_serializing_if = "Option::is_none", rename = "mapToVariables")] @@ -199,7 +200,7 @@ pub struct TestExecutionExecutionRequestEnvConfigMaps { /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionExecutionRequestEnvConfigMapsReference { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -209,7 +210,7 @@ pub struct TestExecutionExecutionRequestEnvConfigMapsReference { } /// Reference to env resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionExecutionRequestEnvSecrets { /// whether we shoud map to variables from resource #[serde(default, skip_serializing_if = "Option::is_none", rename = "mapToVariables")] @@ -227,7 +228,7 @@ pub struct TestExecutionExecutionRequestEnvSecrets { /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionExecutionRequestEnvSecretsReference { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -238,7 +239,7 @@ pub struct TestExecutionExecutionRequestEnvSecretsReference { /// LocalObjectReference contains enough information to let you locate the /// referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionExecutionRequestImagePullSecrets { /// Name of the referent. /// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -278,7 +279,7 @@ pub enum TestExecutionExecutionRequestRunningContextType { } /// pod request body -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionExecutionRequestSlavePodRequest { /// pod template extensions #[serde(default, skip_serializing_if = "Option::is_none", rename = "podTemplate")] @@ -292,7 +293,7 @@ pub struct TestExecutionExecutionRequestSlavePodRequest { } /// pod resources request specification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionExecutionRequestSlavePodRequestResources { /// resource request specification #[serde(default, skip_serializing_if = "Option::is_none")] @@ -303,7 +304,7 @@ pub struct TestExecutionExecutionRequestSlavePodRequestResources { } /// resource request specification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionExecutionRequestSlavePodRequestResourcesLimits { /// requested cpu units #[serde(default, skip_serializing_if = "Option::is_none")] @@ -314,7 +315,7 @@ pub struct TestExecutionExecutionRequestSlavePodRequestResourcesLimits { } /// resource request specification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionExecutionRequestSlavePodRequestResourcesRequests { /// requested cpu units #[serde(default, skip_serializing_if = "Option::is_none")] @@ -324,7 +325,7 @@ pub struct TestExecutionExecutionRequestSlavePodRequestResourcesRequests { pub memory: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionExecutionRequestVariables { /// variable name #[serde(default, skip_serializing_if = "Option::is_none")] @@ -341,7 +342,7 @@ pub struct TestExecutionExecutionRequestVariables { } /// or load it from var source -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionExecutionRequestVariablesValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -360,7 +361,7 @@ pub struct TestExecutionExecutionRequestVariablesValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionExecutionRequestVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -376,7 +377,7 @@ pub struct TestExecutionExecutionRequestVariablesValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionExecutionRequestVariablesValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -388,7 +389,7 @@ pub struct TestExecutionExecutionRequestVariablesValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionExecutionRequestVariablesValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -401,7 +402,7 @@ pub struct TestExecutionExecutionRequestVariablesValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionExecutionRequestVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -415,7 +416,7 @@ pub struct TestExecutionExecutionRequestVariablesValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionTest { /// object name pub name: String, @@ -425,7 +426,7 @@ pub struct TestExecutionTest { } /// TestExecutionStatus defines the observed state of TestExecution -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionStatus { /// test execution generation #[serde(default, skip_serializing_if = "Option::is_none")] @@ -438,7 +439,7 @@ pub struct TestExecutionStatus { /// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster /// Important: Run "make" to regenerate code after modifying this file -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionStatusLatestExecution { /// additional arguments/flags passed to executor binary #[serde(default, skip_serializing_if = "Option::is_none")] @@ -557,7 +558,7 @@ pub enum TestExecutionStatusLatestExecutionArgsMode { } /// artifact request body with test artifacts -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionStatusLatestExecutionArtifactRequest { /// artifact directories for scraping #[serde(default, skip_serializing_if = "Option::is_none")] @@ -589,7 +590,7 @@ pub struct TestExecutionStatusLatestExecutionArtifactRequest { } /// TestContent defines test content -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionStatusLatestExecutionContent { /// test content body #[serde(default, skip_serializing_if = "Option::is_none")] @@ -606,7 +607,7 @@ pub struct TestExecutionStatusLatestExecutionContent { } /// repository of test content -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionStatusLatestExecutionContentRepository { /// auth type for git requests #[serde(default, skip_serializing_if = "Option::is_none", rename = "authType")] @@ -650,7 +651,7 @@ pub enum TestExecutionStatusLatestExecutionContentRepositoryAuthType { } /// Testkube internal reference for secret storage in Kubernetes secrets -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionStatusLatestExecutionContentRepositoryTokenSecret { /// object key pub key: String, @@ -662,7 +663,7 @@ pub struct TestExecutionStatusLatestExecutionContentRepositoryTokenSecret { } /// Testkube internal reference for secret storage in Kubernetes secrets -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionStatusLatestExecutionContentRepositoryUsernameSecret { /// object key pub key: String, @@ -702,7 +703,7 @@ pub struct TestExecutionStatusLatestExecutionExecutionResult { pub steps: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionStatusLatestExecutionExecutionResultReports { #[serde(default, skip_serializing_if = "Option::is_none")] pub junit: Option, @@ -726,7 +727,7 @@ pub enum TestExecutionStatusLatestExecutionExecutionResultStatus { } /// execution result data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionStatusLatestExecutionExecutionResultSteps { #[serde(default, skip_serializing_if = "Option::is_none", rename = "assertionResults")] pub assertion_results: Option>, @@ -739,7 +740,7 @@ pub struct TestExecutionStatusLatestExecutionExecutionResultSteps { } /// execution result data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionStatusLatestExecutionExecutionResultStepsAssertionResults { #[serde(default, skip_serializing_if = "Option::is_none", rename = "errorMessage")] pub error_message: Option, @@ -780,7 +781,7 @@ pub enum TestExecutionStatusLatestExecutionRunningContextType { } /// pod request body -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionStatusLatestExecutionSlavePodRequest { /// pod template extensions #[serde(default, skip_serializing_if = "Option::is_none", rename = "podTemplate")] @@ -794,7 +795,7 @@ pub struct TestExecutionStatusLatestExecutionSlavePodRequest { } /// pod resources request specification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionStatusLatestExecutionSlavePodRequestResources { /// resource request specification #[serde(default, skip_serializing_if = "Option::is_none")] @@ -805,7 +806,7 @@ pub struct TestExecutionStatusLatestExecutionSlavePodRequestResources { } /// resource request specification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionStatusLatestExecutionSlavePodRequestResourcesLimits { /// requested cpu units #[serde(default, skip_serializing_if = "Option::is_none")] @@ -816,7 +817,7 @@ pub struct TestExecutionStatusLatestExecutionSlavePodRequestResourcesLimits { } /// resource request specification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionStatusLatestExecutionSlavePodRequestResourcesRequests { /// requested cpu units #[serde(default, skip_serializing_if = "Option::is_none")] @@ -826,7 +827,7 @@ pub struct TestExecutionStatusLatestExecutionSlavePodRequestResourcesRequests { pub memory: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionStatusLatestExecutionVariables { /// variable name #[serde(default, skip_serializing_if = "Option::is_none")] @@ -843,7 +844,7 @@ pub struct TestExecutionStatusLatestExecutionVariables { } /// or load it from var source -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionStatusLatestExecutionVariablesValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -862,7 +863,7 @@ pub struct TestExecutionStatusLatestExecutionVariablesValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionStatusLatestExecutionVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -878,7 +879,7 @@ pub struct TestExecutionStatusLatestExecutionVariablesValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionStatusLatestExecutionVariablesValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -890,7 +891,7 @@ pub struct TestExecutionStatusLatestExecutionVariablesValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionStatusLatestExecutionVariablesValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -903,7 +904,7 @@ pub struct TestExecutionStatusLatestExecutionVariablesValueFromResourceFieldRef } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestExecutionStatusLatestExecutionVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, diff --git a/kube-custom-resources-rs/src/tests_testkube_io/v1/tests.rs b/kube-custom-resources-rs/src/tests_testkube_io/v1/tests.rs index 5ca6682f0..143d5188c 100644 --- a/kube-custom-resources-rs/src/tests_testkube_io/v1/tests.rs +++ b/kube-custom-resources-rs/src/tests_testkube_io/v1/tests.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/tests.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/tests.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tests_testkube_io/v1/testsources.rs b/kube-custom-resources-rs/src/tests_testkube_io/v1/testsources.rs index fb507eff4..48b459e16 100644 --- a/kube-custom-resources-rs/src/tests_testkube_io/v1/testsources.rs +++ b/kube-custom-resources-rs/src/tests_testkube_io/v1/testsources.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsources.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsources.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tests_testkube_io/v1/testsuiteexecutions.rs b/kube-custom-resources-rs/src/tests_testkube_io/v1/testsuiteexecutions.rs index d64e99554..0b56c87ca 100644 --- a/kube-custom-resources-rs/src/tests_testkube_io/v1/testsuiteexecutions.rs +++ b/kube-custom-resources-rs/src/tests_testkube_io/v1/testsuiteexecutions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsuiteexecutions.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsuiteexecutions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,11 +12,12 @@ mod prelude { use self::prelude::*; /// TestSuiteExecutionSpec defines the desired state of TestSuiteExecution -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "tests.testkube.io", version = "v1", kind = "TestSuiteExecution", plural = "testsuiteexecutions")] #[kube(namespaced)] #[kube(status = "TestSuiteExecutionStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct TestSuiteExecutionSpec { /// test suite execution request body @@ -27,7 +28,7 @@ pub struct TestSuiteExecutionSpec { } /// test suite execution request body -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionExecutionRequest { /// number of tests run in parallel #[serde(default, skip_serializing_if = "Option::is_none", rename = "concurrencyLevel")] @@ -79,7 +80,7 @@ pub struct TestSuiteExecutionExecutionRequest { } /// test content request body -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionExecutionRequestContentRequest { /// repository parameters for tests in git repositories #[serde(default, skip_serializing_if = "Option::is_none")] @@ -87,7 +88,7 @@ pub struct TestSuiteExecutionExecutionRequestContentRequest { } /// repository parameters for tests in git repositories -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionExecutionRequestContentRequestRepository { /// branch/tag name for checkout #[serde(default, skip_serializing_if = "Option::is_none")] @@ -133,7 +134,7 @@ pub enum TestSuiteExecutionExecutionRequestRunningContextType { Testsuiteexecution, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionExecutionRequestVariables { /// variable name #[serde(default, skip_serializing_if = "Option::is_none")] @@ -150,7 +151,7 @@ pub struct TestSuiteExecutionExecutionRequestVariables { } /// or load it from var source -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionExecutionRequestVariablesValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -169,7 +170,7 @@ pub struct TestSuiteExecutionExecutionRequestVariablesValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionExecutionRequestVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -185,7 +186,7 @@ pub struct TestSuiteExecutionExecutionRequestVariablesValueFromConfigMapKeyRef { /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionExecutionRequestVariablesValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -197,7 +198,7 @@ pub struct TestSuiteExecutionExecutionRequestVariablesValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionExecutionRequestVariablesValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -210,7 +211,7 @@ pub struct TestSuiteExecutionExecutionRequestVariablesValueFromResourceFieldRef } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionExecutionRequestVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -224,7 +225,7 @@ pub struct TestSuiteExecutionExecutionRequestVariablesValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionTestSuite { /// object name pub name: String, @@ -234,7 +235,7 @@ pub struct TestSuiteExecutionTestSuite { } /// TestSuiteExecutionStatus defines the observed state of TestSuiteExecution -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatus { /// test status execution generation #[serde(default, skip_serializing_if = "Option::is_none")] @@ -247,7 +248,7 @@ pub struct TestSuiteExecutionStatus { /// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster /// Important: Run "make" to regenerate code after modifying this file -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecution { /// test duration #[serde(default, skip_serializing_if = "Option::is_none")] @@ -296,7 +297,7 @@ pub struct TestSuiteExecutionStatusLatestExecution { } /// execution result returned from executor -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResults { /// step duration #[serde(default, skip_serializing_if = "Option::is_none")] @@ -315,7 +316,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResults { } /// execution result returned from executor -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecute { /// test execution #[serde(default, skip_serializing_if = "Option::is_none")] @@ -327,7 +328,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecute { } /// test execution -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecution { /// additional arguments/flags passed to executor binary #[serde(default, skip_serializing_if = "Option::is_none")] @@ -448,7 +449,7 @@ pub enum TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecuti } /// artifact request body with test artifacts -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecutionArtifactRequest { /// artifact directories for scraping #[serde(default, skip_serializing_if = "Option::is_none")] @@ -480,7 +481,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecu } /// TestContent defines test content -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecutionContent { /// test content body #[serde(default, skip_serializing_if = "Option::is_none")] @@ -497,7 +498,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecu } /// repository of test content -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecutionContentRepository { /// auth type for git requests #[serde(default, skip_serializing_if = "Option::is_none", rename = "authType")] @@ -541,7 +542,7 @@ pub enum TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecuti } /// Testkube internal reference for secret storage in Kubernetes secrets -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecutionContentRepositoryTokenSecret { /// object key pub key: String, @@ -553,7 +554,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecu } /// Testkube internal reference for secret storage in Kubernetes secrets -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecutionContentRepositoryUsernameSecret { /// object key pub key: String, @@ -593,7 +594,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecu pub steps: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecutionExecutionResultReports { #[serde(default, skip_serializing_if = "Option::is_none")] pub junit: Option, @@ -617,7 +618,7 @@ pub enum TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecuti } /// execution result data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecutionExecutionResultSteps { #[serde(default, skip_serializing_if = "Option::is_none", rename = "assertionResults")] pub assertion_results: Option>, @@ -630,7 +631,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecu } /// execution result data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecutionExecutionResultStepsAssertionResults { #[serde(default, skip_serializing_if = "Option::is_none", rename = "errorMessage")] pub error_message: Option, @@ -671,7 +672,7 @@ pub enum TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecuti } /// pod request body -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecutionSlavePodRequest { /// pod template extensions #[serde(default, skip_serializing_if = "Option::is_none", rename = "podTemplate")] @@ -685,7 +686,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecu } /// pod resources request specification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecutionSlavePodRequestResources { /// resource request specification #[serde(default, skip_serializing_if = "Option::is_none")] @@ -696,7 +697,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecu } /// resource request specification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecutionSlavePodRequestResourcesLimits { /// requested cpu units #[serde(default, skip_serializing_if = "Option::is_none")] @@ -707,7 +708,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecu } /// resource request specification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecutionSlavePodRequestResourcesRequests { /// requested cpu units #[serde(default, skip_serializing_if = "Option::is_none")] @@ -717,7 +718,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecu pub memory: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecutionVariables { /// variable name #[serde(default, skip_serializing_if = "Option::is_none")] @@ -734,7 +735,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecu } /// or load it from var source -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecutionVariablesValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -753,7 +754,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecu } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecutionVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -769,7 +770,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecu /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecutionVariablesValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -781,7 +782,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecu /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecutionVariablesValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -794,7 +795,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecu } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecutionVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -808,7 +809,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteExecu pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteStep { /// delay duration in time units #[serde(default, skip_serializing_if = "Option::is_none")] @@ -818,7 +819,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteStep pub test: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteTest { /// object name pub name: String, @@ -828,7 +829,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsExecuteTest } /// set of steps run in parallel -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsStep { #[serde(default, skip_serializing_if = "Option::is_none")] pub execute: Option>, @@ -836,7 +837,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsStep { pub stop_on_failure: bool, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionExecuteStepResultsStepExecute { /// delay duration in time units #[serde(default, skip_serializing_if = "Option::is_none")] @@ -897,7 +898,7 @@ pub enum TestSuiteExecutionStatusLatestExecutionStatus { } /// execution result returned from executor -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResults { /// test execution #[serde(default, skip_serializing_if = "Option::is_none")] @@ -909,7 +910,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResults { } /// test execution -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecution { /// additional arguments/flags passed to executor binary #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1030,7 +1031,7 @@ pub enum TestSuiteExecutionStatusLatestExecutionStepResultsExecutionArgsMode { } /// artifact request body with test artifacts -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionArtifactRequest { /// artifact directories for scraping #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1062,7 +1063,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionArtifactRe } /// TestContent defines test content -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionContent { /// test content body #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1079,7 +1080,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionContent { } /// repository of test content -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionContentRepository { /// auth type for git requests #[serde(default, skip_serializing_if = "Option::is_none", rename = "authType")] @@ -1123,7 +1124,7 @@ pub enum TestSuiteExecutionStatusLatestExecutionStepResultsExecutionContentRepos } /// Testkube internal reference for secret storage in Kubernetes secrets -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionContentRepositoryTokenSecret { /// object key pub key: String, @@ -1135,7 +1136,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionContentRep } /// Testkube internal reference for secret storage in Kubernetes secrets -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionContentRepositoryUsernameSecret { /// object key pub key: String, @@ -1175,7 +1176,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionExecutionR pub steps: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionExecutionResultReports { #[serde(default, skip_serializing_if = "Option::is_none")] pub junit: Option, @@ -1199,7 +1200,7 @@ pub enum TestSuiteExecutionStatusLatestExecutionStepResultsExecutionExecutionRes } /// execution result data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionExecutionResultSteps { #[serde(default, skip_serializing_if = "Option::is_none", rename = "assertionResults")] pub assertion_results: Option>, @@ -1212,7 +1213,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionExecutionR } /// execution result data -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionExecutionResultStepsAssertionResults { #[serde(default, skip_serializing_if = "Option::is_none", rename = "errorMessage")] pub error_message: Option, @@ -1253,7 +1254,7 @@ pub enum TestSuiteExecutionStatusLatestExecutionStepResultsExecutionRunningConte } /// pod request body -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionSlavePodRequest { /// pod template extensions #[serde(default, skip_serializing_if = "Option::is_none", rename = "podTemplate")] @@ -1267,7 +1268,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionSlavePodRe } /// pod resources request specification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionSlavePodRequestResources { /// resource request specification #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1278,7 +1279,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionSlavePodRe } /// resource request specification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionSlavePodRequestResourcesLimits { /// requested cpu units #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1289,7 +1290,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionSlavePodRe } /// resource request specification -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionSlavePodRequestResourcesRequests { /// requested cpu units #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1299,7 +1300,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionSlavePodRe pub memory: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionVariables { /// variable name #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1316,7 +1317,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionVariables } /// or load it from var source -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionVariablesValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1335,7 +1336,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionVariablesV } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1351,7 +1352,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionVariablesV /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionVariablesValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1363,7 +1364,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionVariablesV /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionVariablesValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1376,7 +1377,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionVariablesV } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -1390,7 +1391,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsExecutionVariablesV pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsStep { #[serde(default, skip_serializing_if = "Option::is_none")] pub delay: Option, @@ -1400,13 +1401,13 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsStep { pub stop_test_on_failure: bool, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsStepDelay { /// delay duration in milliseconds pub duration: i32, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsStepExecute { /// object name pub name: String, @@ -1415,7 +1416,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsStepExecute { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionStepResultsTest { /// object name pub name: String, @@ -1424,7 +1425,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionStepResultsTest { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionTestSuite { /// object name pub name: String, @@ -1433,7 +1434,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionTestSuite { pub namespace: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionVariables { /// variable name #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1450,7 +1451,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionVariables { } /// or load it from var source -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionVariablesValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -1469,7 +1470,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionVariablesValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionVariablesValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -1485,7 +1486,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionVariablesValueFromConfigMapKey /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, /// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionVariablesValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1497,7 +1498,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionVariablesValueFromFieldRef { /// Selects a resource of the container: only resources limits and requests /// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionVariablesValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1510,7 +1511,7 @@ pub struct TestSuiteExecutionStatusLatestExecutionVariablesValueFromResourceFiel } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestSuiteExecutionStatusLatestExecutionVariablesValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, diff --git a/kube-custom-resources-rs/src/tests_testkube_io/v1/testsuites.rs b/kube-custom-resources-rs/src/tests_testkube_io/v1/testsuites.rs index 8befafb9d..f417e8be2 100644 --- a/kube-custom-resources-rs/src/tests_testkube_io/v1/testsuites.rs +++ b/kube-custom-resources-rs/src/tests_testkube_io/v1/testsuites.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsuites.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testsuites.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tests_testkube_io/v1/testtriggers.rs b/kube-custom-resources-rs/src/tests_testkube_io/v1/testtriggers.rs index 51b5b84b9..aceb519c4 100644 --- a/kube-custom-resources-rs/src/tests_testkube_io/v1/testtriggers.rs +++ b/kube-custom-resources-rs/src/tests_testkube_io/v1/testtriggers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testtriggers.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v1/testtriggers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -64,7 +64,7 @@ pub enum TestTriggerConcurrencyPolicy { } /// What resource conditions should be matched -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestTriggerConditionSpec { /// list of test trigger conditions #[serde(default, skip_serializing_if = "Option::is_none")] @@ -168,7 +168,7 @@ pub enum TestTriggerExecution { } /// What resource probes should be matched -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestTriggerProbeSpec { /// duration in seconds the test trigger waits between probes #[serde(default, skip_serializing_if = "Option::is_none")] @@ -182,7 +182,7 @@ pub struct TestTriggerProbeSpec { } /// TestTriggerProbe is used for definition of the probe for test triggers -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestTriggerProbeSpecProbes { /// test trigger condition probe headers to submit #[serde(default, skip_serializing_if = "Option::is_none")] @@ -223,7 +223,7 @@ pub enum TestTriggerResource { } /// ResourceSelector identifies which Kubernetes Objects should be watched -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestTriggerResourceSelector { /// LabelSelector is used to identify a group of Kubernetes Objects based on their metadata labels #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -240,7 +240,7 @@ pub struct TestTriggerResourceSelector { } /// LabelSelector is used to identify a group of Kubernetes Objects based on their metadata labels -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestTriggerResourceSelectorLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -254,7 +254,7 @@ pub struct TestTriggerResourceSelectorLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestTriggerResourceSelectorLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -270,7 +270,7 @@ pub struct TestTriggerResourceSelectorLabelSelectorMatchExpressions { } /// TestSelector identifies on which Testkube Kubernetes Objects an Action should be taken -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestTriggerTestSelector { /// LabelSelector is used to identify a group of Kubernetes Objects based on their metadata labels #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -287,7 +287,7 @@ pub struct TestTriggerTestSelector { } /// LabelSelector is used to identify a group of Kubernetes Objects based on their metadata labels -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestTriggerTestSelectorLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -301,7 +301,7 @@ pub struct TestTriggerTestSelectorLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestTriggerTestSelectorLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -317,7 +317,7 @@ pub struct TestTriggerTestSelectorLabelSelectorMatchExpressions { } /// TestTriggerStatus defines the observed state of TestTrigger -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct TestTriggerStatus { } diff --git a/kube-custom-resources-rs/src/tests_testkube_io/v2/scripts.rs b/kube-custom-resources-rs/src/tests_testkube_io/v2/scripts.rs index 5a7d99bb8..089c8b835 100644 --- a/kube-custom-resources-rs/src/tests_testkube_io/v2/scripts.rs +++ b/kube-custom-resources-rs/src/tests_testkube_io/v2/scripts.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v2/scripts.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v2/scripts.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tests_testkube_io/v2/tests.rs b/kube-custom-resources-rs/src/tests_testkube_io/v2/tests.rs index c4a0cdb08..4c82db88a 100644 --- a/kube-custom-resources-rs/src/tests_testkube_io/v2/tests.rs +++ b/kube-custom-resources-rs/src/tests_testkube_io/v2/tests.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v2/tests.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v2/tests.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tests_testkube_io/v2/testsuites.rs b/kube-custom-resources-rs/src/tests_testkube_io/v2/testsuites.rs index 72e9bdd63..8fd76561e 100644 --- a/kube-custom-resources-rs/src/tests_testkube_io/v2/testsuites.rs +++ b/kube-custom-resources-rs/src/tests_testkube_io/v2/testsuites.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v2/testsuites.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v2/testsuites.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tests_testkube_io/v3/tests.rs b/kube-custom-resources-rs/src/tests_testkube_io/v3/tests.rs index 958c3d7d8..7401bb9c1 100644 --- a/kube-custom-resources-rs/src/tests_testkube_io/v3/tests.rs +++ b/kube-custom-resources-rs/src/tests_testkube_io/v3/tests.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v3/tests.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v3/tests.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tests_testkube_io/v3/testsuites.rs b/kube-custom-resources-rs/src/tests_testkube_io/v3/testsuites.rs index ca87dc2c8..a4adefaf1 100644 --- a/kube-custom-resources-rs/src/tests_testkube_io/v3/testsuites.rs +++ b/kube-custom-resources-rs/src/tests_testkube_io/v3/testsuites.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v3/testsuites.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubeshop/testkube-operator/tests.testkube.io/v3/testsuites.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/analytics.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/analytics.rs index f5a6408e1..c7f452352 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/analytics.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/analytics.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/analytics.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/analytics.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/analyticsalarm.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/analyticsalarm.rs index f8ef56d93..49cd9ca1d 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/analyticsalarm.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/analyticsalarm.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/analyticsalarm.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/analyticsalarm.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/analyticssnmp.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/analyticssnmp.rs index fc7f55081..e0efad3ee 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/analyticssnmp.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/analyticssnmp.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/analyticssnmp.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/analyticssnmp.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/cassandras.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/cassandras.rs index 27d031b07..c86de883e 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/cassandras.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/cassandras.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/cassandras.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/cassandras.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/configs.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/configs.rs index 048e02d89..0344a676e 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/configs.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/configs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/configs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/configs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/controls.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/controls.rs index 9bd629f6a..2d772b146 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/controls.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/controls.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/controls.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/controls.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/kubemanagers.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/kubemanagers.rs index a8a384c37..31327134b 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/kubemanagers.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/kubemanagers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/kubemanagers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/kubemanagers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/managers.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/managers.rs index 57558d637..9898c517b 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/managers.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/managers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/managers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/managers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/queryengine.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/queryengine.rs index e5a07f715..61b194406 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/queryengine.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/queryengine.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/queryengine.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/queryengine.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/rabbitmqs.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/rabbitmqs.rs index 67bd77969..aa754a8e4 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/rabbitmqs.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/rabbitmqs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/rabbitmqs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/rabbitmqs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/redis.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/redis.rs index 67060354e..fd9ad8d9e 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/redis.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/redis.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/redis.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/redis.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/vrouters.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/vrouters.rs index 1172cb8da..84ffe6c45 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/vrouters.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/vrouters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/vrouters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/vrouters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/zookeepers.rs b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/zookeepers.rs index 9301986f6..28aba6f04 100644 --- a/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/zookeepers.rs +++ b/kube-custom-resources-rs/src/tf_tungsten_io/v1alpha1/zookeepers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/zookeepers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tungstenfabric/tf-operator/tf.tungsten.io/v1alpha1/zookeepers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/theketch_io/v1beta1/apps.rs b/kube-custom-resources-rs/src/theketch_io/v1beta1/apps.rs index 831d35ca5..7c63902a6 100644 --- a/kube-custom-resources-rs/src/theketch_io/v1beta1/apps.rs +++ b/kube-custom-resources-rs/src/theketch_io/v1beta1/apps.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/theketchio/ketch/theketch.io/v1beta1/apps.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/theketchio/ketch/theketch.io/v1beta1/apps.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/theketch_io/v1beta1/jobs.rs b/kube-custom-resources-rs/src/theketch_io/v1beta1/jobs.rs index 5b6cfe13e..7f309d668 100644 --- a/kube-custom-resources-rs/src/theketch_io/v1beta1/jobs.rs +++ b/kube-custom-resources-rs/src/theketch_io/v1beta1/jobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/theketchio/ketch/theketch.io/v1beta1/jobs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/theketchio/ketch/theketch.io/v1beta1/jobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/hardware.rs b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/hardware.rs index 3b8e8e4e9..f9390a762 100644 --- a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/hardware.rs +++ b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/hardware.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/tink/tinkerbell.org/v1alpha1/hardware.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/tink/tinkerbell.org/v1alpha1/hardware.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/osies.rs b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/osies.rs index 7f2812515..068a5ce40 100644 --- a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/osies.rs +++ b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/osies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/tink/tinkerbell.org/v1alpha1/osies.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/tink/tinkerbell.org/v1alpha1/osies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/stack.rs b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/stack.rs index 9997b8c6f..6d367a831 100644 --- a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/stack.rs +++ b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/stack.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/operator/tinkerbell.org/v1alpha1/stack.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/operator/tinkerbell.org/v1alpha1/stack.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/templates.rs b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/templates.rs index aff51da9e..33cda7c89 100644 --- a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/templates.rs +++ b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/templates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/tink/tinkerbell.org/v1alpha1/templates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/tink/tinkerbell.org/v1alpha1/templates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/workflows.rs b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/workflows.rs index 21190041f..d681f35a9 100644 --- a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/workflows.rs +++ b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha1/workflows.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/tink/tinkerbell.org/v1alpha1/workflows.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/tink/tinkerbell.org/v1alpha1/workflows.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/hardware.rs b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/hardware.rs index a98a94a70..3c4bd846f 100644 --- a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/hardware.rs +++ b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/hardware.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/tink/tinkerbell.org/v1alpha2/hardware.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/tink/tinkerbell.org/v1alpha2/hardware.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/osies.rs b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/osies.rs index f799e61e3..ac320e351 100644 --- a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/osies.rs +++ b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/osies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/tink/tinkerbell.org/v1alpha2/osies.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/tink/tinkerbell.org/v1alpha2/osies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/templates.rs b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/templates.rs index 74ca5f42a..53d958134 100644 --- a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/templates.rs +++ b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/templates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/tink/tinkerbell.org/v1alpha2/templates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/tink/tinkerbell.org/v1alpha2/templates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/workflows.rs b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/workflows.rs index c82f74a09..ca3ba989f 100644 --- a/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/workflows.rs +++ b/kube-custom-resources-rs/src/tinkerbell_org/v1alpha2/workflows.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/tink/tinkerbell.org/v1alpha2/workflows.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/tinkerbell/tink/tinkerbell.org/v1alpha2/workflows.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/topology_node_k8s_io/v1alpha1/noderesourcetopologies.rs b/kube-custom-resources-rs/src/topology_node_k8s_io/v1alpha1/noderesourcetopologies.rs index cb89564e1..a7020e2c8 100644 --- a/kube-custom-resources-rs/src/topology_node_k8s_io/v1alpha1/noderesourcetopologies.rs +++ b/kube-custom-resources-rs/src/topology_node_k8s_io/v1alpha1/noderesourcetopologies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/node-feature-discovery-operator/topology.node.k8s.io/v1alpha1/noderesourcetopologies.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/node-feature-discovery-operator/topology.node.k8s.io/v1alpha1/noderesourcetopologies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/topolvm_cybozu_com/v1/logicalvolumes.rs b/kube-custom-resources-rs/src/topolvm_cybozu_com/v1/logicalvolumes.rs index 153045fed..b7f8bab64 100644 --- a/kube-custom-resources-rs/src/topolvm_cybozu_com/v1/logicalvolumes.rs +++ b/kube-custom-resources-rs/src/topolvm_cybozu_com/v1/logicalvolumes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/alauda/nativestor/topolvm.cybozu.com/v1/logicalvolumes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/alauda/nativestor/topolvm.cybozu.com/v1/logicalvolumes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/topolvm_cybozu_com/v2/topolvmclusters.rs b/kube-custom-resources-rs/src/topolvm_cybozu_com/v2/topolvmclusters.rs index ce56e80bd..9d66991ff 100644 --- a/kube-custom-resources-rs/src/topolvm_cybozu_com/v2/topolvmclusters.rs +++ b/kube-custom-resources-rs/src/topolvm_cybozu_com/v2/topolvmclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/alauda/nativestor/topolvm.cybozu.com/v2/topolvmclusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/alauda/nativestor/topolvm.cybozu.com/v2/topolvmclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/traefik_io/v1alpha1/ingressroutes.rs b/kube-custom-resources-rs/src/traefik_io/v1alpha1/ingressroutes.rs index dadea67d7..120e2a419 100644 --- a/kube-custom-resources-rs/src/traefik_io/v1alpha1/ingressroutes.rs +++ b/kube-custom-resources-rs/src/traefik_io/v1alpha1/ingressroutes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/ingressroutes.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/ingressroutes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// IngressRouteSpec defines the desired state of IngressRoute. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "traefik.io", version = "v1alpha1", kind = "IngressRoute", plural = "ingressroutes")] #[kube(namespaced)] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct IngressRouteSpec { /// EntryPoints defines the list of entry point names to bind to. @@ -67,7 +68,7 @@ pub enum IngressRouteRoutesKind { } /// MiddlewareRef is a reference to a Middleware resource. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IngressRouteRoutesMiddlewares { /// Name defines the name of the referenced Middleware resource. pub name: String, @@ -77,7 +78,7 @@ pub struct IngressRouteRoutesMiddlewares { } /// Service defines an upstream HTTP service to proxy traffic to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IngressRouteRoutesServices { /// Healthcheck defines health checks for the service. #[serde(default, skip_serializing_if = "Option::is_none", rename = "healthCheck")] @@ -138,7 +139,7 @@ pub struct IngressRouteRoutesServices { } /// Healthcheck defines health checks for the service. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IngressRouteRoutesServicesHealthCheck { #[serde(rename = "followRedirects")] pub follow_redirects: bool, @@ -178,7 +179,7 @@ pub enum IngressRouteRoutesServicesKind { } /// ResponseForwarding defines how Traefik forwards the response from the upstream Kubernetes Service to the client. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IngressRouteRoutesServicesResponseForwarding { /// FlushInterval defines the interval, in milliseconds, in between flushes to the client while copying the response body. /// A negative value means to flush immediately after each write to the client. @@ -191,7 +192,7 @@ pub struct IngressRouteRoutesServicesResponseForwarding { /// Sticky defines the sticky sessions configuration. /// More info: https://doc.traefik.io/traefik/v3.0/routing/services/#sticky-sessions -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IngressRouteRoutesServicesSticky { /// Cookie defines the sticky cookie configuration. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -199,7 +200,7 @@ pub struct IngressRouteRoutesServicesSticky { } /// Cookie defines the sticky cookie configuration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IngressRouteRoutesServicesStickyCookie { /// HTTPOnly defines whether the cookie can be accessed by client-side APIs, such as JavaScript. #[serde(default, skip_serializing_if = "Option::is_none", rename = "httpOnly")] @@ -223,7 +224,7 @@ pub struct IngressRouteRoutesServicesStickyCookie { /// TLS defines the TLS configuration. /// More info: https://doc.traefik.io/traefik/v3.0/routing/routers/#tls -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IngressRouteTls { /// CertResolver defines the name of the certificate resolver to use. /// Cert resolvers have to be configured in the static configuration. @@ -249,7 +250,7 @@ pub struct IngressRouteTls { } /// Domain holds a domain name with SANs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IngressRouteTlsDomains { /// Main defines the main domain name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -262,7 +263,7 @@ pub struct IngressRouteTlsDomains { /// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection. /// If not defined, the `default` TLSOption is used. /// More info: https://doc.traefik.io/traefik/v3.0/https/tls/#tls-options -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IngressRouteTlsOptions { /// Name defines the name of the referenced TLSOption. /// More info: https://doc.traefik.io/traefik/v3.0/routing/providers/kubernetes-crd/#kind-tlsoption @@ -275,7 +276,7 @@ pub struct IngressRouteTlsOptions { /// Store defines the reference to the TLSStore, that will be used to store certificates. /// Please note that only `default` TLSStore can be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct IngressRouteTlsStore { /// Name defines the name of the referenced TLSStore. /// More info: https://doc.traefik.io/traefik/v3.0/routing/providers/kubernetes-crd/#kind-tlsstore diff --git a/kube-custom-resources-rs/src/traefik_io/v1alpha1/ingressroutetcps.rs b/kube-custom-resources-rs/src/traefik_io/v1alpha1/ingressroutetcps.rs index 156b95d82..96c14575a 100644 --- a/kube-custom-resources-rs/src/traefik_io/v1alpha1/ingressroutetcps.rs +++ b/kube-custom-resources-rs/src/traefik_io/v1alpha1/ingressroutetcps.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/ingressroutetcps.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/ingressroutetcps.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/traefik_io/v1alpha1/ingressrouteudps.rs b/kube-custom-resources-rs/src/traefik_io/v1alpha1/ingressrouteudps.rs index 1552317da..b5eb1878b 100644 --- a/kube-custom-resources-rs/src/traefik_io/v1alpha1/ingressrouteudps.rs +++ b/kube-custom-resources-rs/src/traefik_io/v1alpha1/ingressrouteudps.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/ingressrouteudps.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/ingressrouteudps.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/traefik_io/v1alpha1/middlewaretcps.rs b/kube-custom-resources-rs/src/traefik_io/v1alpha1/middlewaretcps.rs index 03be02995..42d7abeb0 100644 --- a/kube-custom-resources-rs/src/traefik_io/v1alpha1/middlewaretcps.rs +++ b/kube-custom-resources-rs/src/traefik_io/v1alpha1/middlewaretcps.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/middlewaretcps.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/middlewaretcps.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/traefik_io/v1alpha1/serverstransports.rs b/kube-custom-resources-rs/src/traefik_io/v1alpha1/serverstransports.rs index 8d90d5b09..5ce1ae35c 100644 --- a/kube-custom-resources-rs/src/traefik_io/v1alpha1/serverstransports.rs +++ b/kube-custom-resources-rs/src/traefik_io/v1alpha1/serverstransports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/serverstransports.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/serverstransports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/traefik_io/v1alpha1/serverstransporttcps.rs b/kube-custom-resources-rs/src/traefik_io/v1alpha1/serverstransporttcps.rs index ae36cd6c2..dc77b14a1 100644 --- a/kube-custom-resources-rs/src/traefik_io/v1alpha1/serverstransporttcps.rs +++ b/kube-custom-resources-rs/src/traefik_io/v1alpha1/serverstransporttcps.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/serverstransporttcps.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/serverstransporttcps.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/traefik_io/v1alpha1/tlsoptions.rs b/kube-custom-resources-rs/src/traefik_io/v1alpha1/tlsoptions.rs index d6df25c78..e2e7e4b83 100644 --- a/kube-custom-resources-rs/src/traefik_io/v1alpha1/tlsoptions.rs +++ b/kube-custom-resources-rs/src/traefik_io/v1alpha1/tlsoptions.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/tlsoptions.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/tlsoptions.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/traefik_io/v1alpha1/tlsstores.rs b/kube-custom-resources-rs/src/traefik_io/v1alpha1/tlsstores.rs index 3345adff9..06706a1be 100644 --- a/kube-custom-resources-rs/src/traefik_io/v1alpha1/tlsstores.rs +++ b/kube-custom-resources-rs/src/traefik_io/v1alpha1/tlsstores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/tlsstores.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/tlsstores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/traefik_io/v1alpha1/traefikservices.rs b/kube-custom-resources-rs/src/traefik_io/v1alpha1/traefikservices.rs index 1ebc6cd70..c6b4aaf15 100644 --- a/kube-custom-resources-rs/src/traefik_io/v1alpha1/traefikservices.rs +++ b/kube-custom-resources-rs/src/traefik_io/v1alpha1/traefikservices.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/traefikservices.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/traefik/traefik/traefik.io/v1alpha1/traefikservices.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/elasticdljobs.rs b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/elasticdljobs.rs index e613f1e3e..ec1df9838 100644 --- a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/elasticdljobs.rs +++ b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/elasticdljobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/training.kubedl.io/v1alpha1/elasticdljobs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/training.kubedl.io/v1alpha1/elasticdljobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/marsjobs.rs b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/marsjobs.rs index da231a2aa..438824b74 100644 --- a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/marsjobs.rs +++ b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/marsjobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/training.kubedl.io/v1alpha1/marsjobs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/training.kubedl.io/v1alpha1/marsjobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/mpijobs.rs b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/mpijobs.rs index d3468a816..c4b1e9f47 100644 --- a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/mpijobs.rs +++ b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/mpijobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/training.kubedl.io/v1alpha1/mpijobs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/training.kubedl.io/v1alpha1/mpijobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/pytorchjobs.rs b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/pytorchjobs.rs index 41d7e58e3..235e1b161 100644 --- a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/pytorchjobs.rs +++ b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/pytorchjobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/training.kubedl.io/v1alpha1/pytorchjobs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/training.kubedl.io/v1alpha1/pytorchjobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/tfjobs.rs b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/tfjobs.rs index e9ad972b0..b79c35627 100644 --- a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/tfjobs.rs +++ b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/tfjobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/training.kubedl.io/v1alpha1/tfjobs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/training.kubedl.io/v1alpha1/tfjobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/xdljobs.rs b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/xdljobs.rs index 236e0c9b2..ff6237fe3 100644 --- a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/xdljobs.rs +++ b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/xdljobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/training.kubedl.io/v1alpha1/xdljobs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/training.kubedl.io/v1alpha1/xdljobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/xgboostjobs.rs b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/xgboostjobs.rs index d44cc152d..ddd8597d1 100644 --- a/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/xgboostjobs.rs +++ b/kube-custom-resources-rs/src/training_kubedl_io/v1alpha1/xgboostjobs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/training.kubedl.io/v1alpha1/xgboostjobs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubedl-io/kubedl/training.kubedl.io/v1alpha1/xgboostjobs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/trident_netapp_io/v1/tridentorchestrators.rs b/kube-custom-resources-rs/src/trident_netapp_io/v1/tridentorchestrators.rs index 91ac483c4..0007657bb 100644 --- a/kube-custom-resources-rs/src/trident_netapp_io/v1/tridentorchestrators.rs +++ b/kube-custom-resources-rs/src/trident_netapp_io/v1/tridentorchestrators.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/NetApp/trident/trident.netapp.io/v1/tridentorchestrators.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/NetApp/trident/trident.netapp.io/v1/tridentorchestrators.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/trust_cert_manager_io/v1alpha1/bundles.rs b/kube-custom-resources-rs/src/trust_cert_manager_io/v1alpha1/bundles.rs index b949caab1..b1bc2849d 100644 --- a/kube-custom-resources-rs/src/trust_cert_manager_io/v1alpha1/bundles.rs +++ b/kube-custom-resources-rs/src/trust_cert_manager_io/v1alpha1/bundles.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/cert-manager/trust-manager/trust.cert-manager.io/v1alpha1/bundles.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/cert-manager/trust-manager/trust.cert-manager.io/v1alpha1/bundles.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -12,10 +12,11 @@ mod prelude { use self::prelude::*; /// Desired state of the Bundle resource. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "trust.cert-manager.io", version = "v1alpha1", kind = "Bundle", plural = "bundles")] #[kube(status = "BundleStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct BundleSpec { /// Sources is a set of references to data whose data will sync to the target. @@ -26,7 +27,7 @@ pub struct BundleSpec { /// BundleSource is the set of sources whose data will be appended and synced to /// the BundleTarget in all Namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BundleSources { /// ConfigMap is a reference (by name) to a ConfigMap's `data` key, or to a /// list of ConfigMap's `data` key using label selector, in the trust Namespace. @@ -53,7 +54,7 @@ pub struct BundleSources { /// ConfigMap is a reference (by name) to a ConfigMap's `data` key, or to a /// list of ConfigMap's `data` key using label selector, in the trust Namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BundleSourcesConfigMap { /// Key is the key of the entry in the object's `data` field to be used. pub key: String, @@ -69,7 +70,7 @@ pub struct BundleSourcesConfigMap { /// Selector is the label selector to use to fetch a list of objects. Must not be set /// when `Name` is set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BundleSourcesConfigMapSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -83,7 +84,7 @@ pub struct BundleSourcesConfigMapSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BundleSourcesConfigMapSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -100,7 +101,7 @@ pub struct BundleSourcesConfigMapSelectorMatchExpressions { /// Secret is a reference (by name) to a Secret's `data` key, or to a /// list of Secret's `data` key using label selector, in the trust Namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BundleSourcesSecret { /// Key is the key of the entry in the object's `data` field to be used. pub key: String, @@ -116,7 +117,7 @@ pub struct BundleSourcesSecret { /// Selector is the label selector to use to fetch a list of objects. Must not be set /// when `Name` is set. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BundleSourcesSecretSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -130,7 +131,7 @@ pub struct BundleSourcesSecretSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BundleSourcesSecretSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -146,7 +147,7 @@ pub struct BundleSourcesSecretSelectorMatchExpressions { } /// Target is the target location in all namespaces to sync source data to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BundleTarget { /// AdditionalFormats specifies any additional formats to write to the target #[serde(default, skip_serializing_if = "Option::is_none", rename = "additionalFormats")] @@ -167,7 +168,7 @@ pub struct BundleTarget { } /// AdditionalFormats specifies any additional formats to write to the target -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BundleTargetAdditionalFormats { /// JKS requests a JKS-formatted binary trust bundle to be written to the target. /// The bundle has "changeit" as the default password. @@ -183,7 +184,7 @@ pub struct BundleTargetAdditionalFormats { /// JKS requests a JKS-formatted binary trust bundle to be written to the target. /// The bundle has "changeit" as the default password. /// For more information refer to this link https://cert-manager.io/docs/faq/#keystore-passwords -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BundleTargetAdditionalFormatsJks { /// Key is the key of the entry in the object's `data` field to be used. pub key: String, @@ -194,7 +195,7 @@ pub struct BundleTargetAdditionalFormatsJks { /// PKCS12 requests a PKCS12-formatted binary trust bundle to be written to the target. /// The bundle is by default created without a password. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BundleTargetAdditionalFormatsPkcs12 { /// Key is the key of the entry in the object's `data` field to be used. pub key: String, @@ -205,7 +206,7 @@ pub struct BundleTargetAdditionalFormatsPkcs12 { /// ConfigMap is the target ConfigMap in Namespaces that all Bundle source /// data will be synced to. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BundleTargetConfigMap { /// Key is the key of the entry in the object's `data` field to be used. pub key: String, @@ -213,7 +214,7 @@ pub struct BundleTargetConfigMap { /// NamespaceSelector will, if set, only sync the target resource in /// Namespaces which match the selector. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BundleTargetNamespaceSelector { /// MatchLabels matches on the set of labels that must be present on a /// Namespace for the Bundle target to be synced there. @@ -224,14 +225,14 @@ pub struct BundleTargetNamespaceSelector { /// Secret is the target Secret that all Bundle source data will be synced to. /// Using Secrets as targets is only supported if enabled at trust-manager startup. /// By default, trust-manager has no permissions for writing to secrets and can only read secrets in the trust namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BundleTargetSecret { /// Key is the key of the entry in the object's `data` field to be used. pub key: String, } /// Status of the Bundle. This is set and managed automatically. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct BundleStatus { /// List of status conditions to indicate the status of the Bundle. /// Known condition types are `Bundle`. diff --git a/kube-custom-resources-rs/src/upgrade_cattle_io/v1/plans.rs b/kube-custom-resources-rs/src/upgrade_cattle_io/v1/plans.rs index 3aaf27146..b08c45f2a 100644 --- a/kube-custom-resources-rs/src/upgrade_cattle_io/v1/plans.rs +++ b/kube-custom-resources-rs/src/upgrade_cattle_io/v1/plans.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/rancher/system-upgrade-controller/upgrade.cattle.io/v1/plans.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/rancher/system-upgrade-controller/upgrade.cattle.io/v1/plans.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/upgrade_managed_openshift_io/v1alpha1/upgradeconfigs.rs b/kube-custom-resources-rs/src/upgrade_managed_openshift_io/v1alpha1/upgradeconfigs.rs index 62197dbf3..640410515 100644 --- a/kube-custom-resources-rs/src/upgrade_managed_openshift_io/v1alpha1/upgradeconfigs.rs +++ b/kube-custom-resources-rs/src/upgrade_managed_openshift_io/v1alpha1/upgradeconfigs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/openshift/managed-upgrade-operator/upgrade.managed.openshift.io/v1alpha1/upgradeconfigs.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/openshift/managed-upgrade-operator/upgrade.managed.openshift.io/v1alpha1/upgradeconfigs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -35,7 +35,7 @@ pub struct UpgradeConfigSpec { } /// Specify the desired OpenShift release -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UpgradeConfigDesired { /// Channel used for upgrades #[serde(default, skip_serializing_if = "Option::is_none")] @@ -58,7 +58,7 @@ pub enum UpgradeConfigType { } /// UpgradeConfigStatus defines the observed state of UpgradeConfig -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct UpgradeConfigStatus { /// This record history of every upgrade #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/velero_io/v1/backuprepositories.rs b/kube-custom-resources-rs/src/velero_io/v1/backuprepositories.rs index b4f6e67bb..37bf13567 100644 --- a/kube-custom-resources-rs/src/velero_io/v1/backuprepositories.rs +++ b/kube-custom-resources-rs/src/velero_io/v1/backuprepositories.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/backuprepositories.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/backuprepositories.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/velero_io/v1/backups.rs b/kube-custom-resources-rs/src/velero_io/v1/backups.rs index 975b34837..06f80c57e 100644 --- a/kube-custom-resources-rs/src/velero_io/v1/backups.rs +++ b/kube-custom-resources-rs/src/velero_io/v1/backups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/backups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/backups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/velero_io/v1/backupstoragelocations.rs b/kube-custom-resources-rs/src/velero_io/v1/backupstoragelocations.rs index 67972c9d7..e58401045 100644 --- a/kube-custom-resources-rs/src/velero_io/v1/backupstoragelocations.rs +++ b/kube-custom-resources-rs/src/velero_io/v1/backupstoragelocations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/backupstoragelocations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/backupstoragelocations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/velero_io/v1/deletebackuprequests.rs b/kube-custom-resources-rs/src/velero_io/v1/deletebackuprequests.rs index 8c64d0090..2fb39a79a 100644 --- a/kube-custom-resources-rs/src/velero_io/v1/deletebackuprequests.rs +++ b/kube-custom-resources-rs/src/velero_io/v1/deletebackuprequests.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/deletebackuprequests.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/deletebackuprequests.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/velero_io/v1/downloadrequests.rs b/kube-custom-resources-rs/src/velero_io/v1/downloadrequests.rs index 76544cc37..291142c86 100644 --- a/kube-custom-resources-rs/src/velero_io/v1/downloadrequests.rs +++ b/kube-custom-resources-rs/src/velero_io/v1/downloadrequests.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/downloadrequests.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/downloadrequests.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -51,7 +51,7 @@ pub enum DownloadRequestTargetKind { } /// DownloadRequestStatus is the current status of a DownloadRequest. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct DownloadRequestStatus { /// DownloadURL contains the pre-signed URL for the target file. #[serde(default, skip_serializing_if = "Option::is_none", rename = "downloadURL")] diff --git a/kube-custom-resources-rs/src/velero_io/v1/podvolumebackups.rs b/kube-custom-resources-rs/src/velero_io/v1/podvolumebackups.rs index 39f6bcbd7..cc1d5a21f 100644 --- a/kube-custom-resources-rs/src/velero_io/v1/podvolumebackups.rs +++ b/kube-custom-resources-rs/src/velero_io/v1/podvolumebackups.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/podvolumebackups.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/podvolumebackups.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/velero_io/v1/podvolumerestores.rs b/kube-custom-resources-rs/src/velero_io/v1/podvolumerestores.rs index b13fff16d..8964d0bba 100644 --- a/kube-custom-resources-rs/src/velero_io/v1/podvolumerestores.rs +++ b/kube-custom-resources-rs/src/velero_io/v1/podvolumerestores.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/podvolumerestores.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/podvolumerestores.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/velero_io/v1/schedules.rs b/kube-custom-resources-rs/src/velero_io/v1/schedules.rs index e3a3f7ca7..2fa0d57f4 100644 --- a/kube-custom-resources-rs/src/velero_io/v1/schedules.rs +++ b/kube-custom-resources-rs/src/velero_io/v1/schedules.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/schedules.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/schedules.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/velero_io/v1/serverstatusrequests.rs b/kube-custom-resources-rs/src/velero_io/v1/serverstatusrequests.rs index b4ee433b9..bbec8c54a 100644 --- a/kube-custom-resources-rs/src/velero_io/v1/serverstatusrequests.rs +++ b/kube-custom-resources-rs/src/velero_io/v1/serverstatusrequests.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/serverstatusrequests.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/serverstatusrequests.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/velero_io/v1/volumesnapshotlocations.rs b/kube-custom-resources-rs/src/velero_io/v1/volumesnapshotlocations.rs index b5056a3d6..c889d6996 100644 --- a/kube-custom-resources-rs/src/velero_io/v1/volumesnapshotlocations.rs +++ b/kube-custom-resources-rs/src/velero_io/v1/volumesnapshotlocations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/volumesnapshotlocations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v1/volumesnapshotlocations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/velero_io/v2alpha1/datadownloads.rs b/kube-custom-resources-rs/src/velero_io/v2alpha1/datadownloads.rs index 2657f16bd..90e306c07 100644 --- a/kube-custom-resources-rs/src/velero_io/v2alpha1/datadownloads.rs +++ b/kube-custom-resources-rs/src/velero_io/v2alpha1/datadownloads.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v2alpha1/datadownloads.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v2alpha1/datadownloads.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/velero_io/v2alpha1/datauploads.rs b/kube-custom-resources-rs/src/velero_io/v2alpha1/datauploads.rs index 9d6358788..361474177 100644 --- a/kube-custom-resources-rs/src/velero_io/v2alpha1/datauploads.rs +++ b/kube-custom-resources-rs/src/velero_io/v2alpha1/datauploads.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v2alpha1/datauploads.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/vmware-tanzu/velero/velero.io/v2alpha1/datauploads.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/virt_virtink_smartx_com/v1alpha1/virtualmachinemigrations.rs b/kube-custom-resources-rs/src/virt_virtink_smartx_com/v1alpha1/virtualmachinemigrations.rs index 0847ebb5b..3dbf51c51 100644 --- a/kube-custom-resources-rs/src/virt_virtink_smartx_com/v1alpha1/virtualmachinemigrations.rs +++ b/kube-custom-resources-rs/src/virt_virtink_smartx_com/v1alpha1/virtualmachinemigrations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/smartxworks/virtink/virt.virtink.smartx.com/v1alpha1/virtualmachinemigrations.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/smartxworks/virtink/virt.virtink.smartx.com/v1alpha1/virtualmachinemigrations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/virt_virtink_smartx_com/v1alpha1/virtualmachines.rs b/kube-custom-resources-rs/src/virt_virtink_smartx_com/v1alpha1/virtualmachines.rs index 22c1fa707..b41927c9c 100644 --- a/kube-custom-resources-rs/src/virt_virtink_smartx_com/v1alpha1/virtualmachines.rs +++ b/kube-custom-resources-rs/src/virt_virtink_smartx_com/v1alpha1/virtualmachines.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/smartxworks/virtink/virt.virtink.smartx.com/v1alpha1/virtualmachines.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/smartxworks/virtink/virt.virtink.smartx.com/v1alpha1/virtualmachines.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// VirtualMachineSpec is the spec for a VirtualMachine resource -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "virt.virtink.smartx.com", version = "v1alpha1", kind = "VirtualMachine", plural = "virtualmachines")] #[kube(namespaced)] #[kube(status = "VirtualMachineStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct VirtualMachineSpec { /// Affinity is a group of affinity scheduling rules. @@ -46,7 +47,7 @@ pub struct VirtualMachineSpec { } /// Affinity is a group of affinity scheduling rules. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -60,7 +61,7 @@ pub struct VirtualMachineAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -71,7 +72,7 @@ pub struct VirtualMachineAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -80,7 +81,7 @@ pub struct VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDur } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -91,7 +92,7 @@ pub struct VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDur } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -103,7 +104,7 @@ pub struct VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDur } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -115,7 +116,7 @@ pub struct VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDur } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -123,7 +124,7 @@ pub struct VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuri } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -134,7 +135,7 @@ pub struct VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuri } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -146,7 +147,7 @@ pub struct VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuri } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -158,7 +159,7 @@ pub struct VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuri } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -169,7 +170,7 @@ pub struct VirtualMachineAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -179,7 +180,7 @@ pub struct VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuri } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -196,7 +197,7 @@ pub struct VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuri } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -207,7 +208,7 @@ pub struct VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuri } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -219,7 +220,7 @@ pub struct VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuri } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -230,7 +231,7 @@ pub struct VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuri } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -242,7 +243,7 @@ pub struct VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuri } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -259,7 +260,7 @@ pub struct VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDurin } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -270,7 +271,7 @@ pub struct VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDurin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -282,7 +283,7 @@ pub struct VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDurin } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -293,7 +294,7 @@ pub struct VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDurin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -305,7 +306,7 @@ pub struct VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDurin } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -316,7 +317,7 @@ pub struct VirtualMachineAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -326,7 +327,7 @@ pub struct VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnored } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -343,7 +344,7 @@ pub struct VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnored } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -354,7 +355,7 @@ pub struct VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnored } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -366,7 +367,7 @@ pub struct VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnored } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -377,7 +378,7 @@ pub struct VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnored } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -389,7 +390,7 @@ pub struct VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnored } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -406,7 +407,7 @@ pub struct VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredD } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -417,7 +418,7 @@ pub struct VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredD } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -429,7 +430,7 @@ pub struct VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredD } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -440,7 +441,7 @@ pub struct VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredD } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -451,7 +452,7 @@ pub struct VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredD pub values: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineInstance { #[serde(default, skip_serializing_if = "Option::is_none")] pub cpu: Option, @@ -467,7 +468,7 @@ pub struct VirtualMachineInstance { pub memory: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineInstanceCpu { #[serde(default, skip_serializing_if = "Option::is_none", rename = "coresPerSocket")] pub cores_per_socket: Option, @@ -477,19 +478,19 @@ pub struct VirtualMachineInstanceCpu { pub sockets: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineInstanceDisks { pub name: String, #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] pub read_only: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineInstanceFileSystems { pub name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineInstanceInterfaces { #[serde(default, skip_serializing_if = "Option::is_none")] pub bridge: Option, @@ -506,21 +507,21 @@ pub struct VirtualMachineInstanceInterfaces { pub vhost_user: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineInstanceInterfacesBridge { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineInstanceInterfacesMasquerade { #[serde(default, skip_serializing_if = "Option::is_none")] pub cidr: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineInstanceInterfacesSriov { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineInstanceInterfacesVdpa { #[serde(default, skip_serializing_if = "Option::is_none")] pub iommu: Option, @@ -528,11 +529,11 @@ pub struct VirtualMachineInstanceInterfacesVdpa { pub num_queues: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineInstanceInterfacesVhostUser { } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineInstanceKernel { pub cmdline: String, pub image: String, @@ -541,7 +542,7 @@ pub struct VirtualMachineInstanceKernel { pub image_pull_policy: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineInstanceMemory { #[serde(default, skip_serializing_if = "Option::is_none")] pub hugepages: Option, @@ -549,7 +550,7 @@ pub struct VirtualMachineInstanceMemory { pub size: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineInstanceMemoryHugepages { #[serde(default, skip_serializing_if = "Option::is_none", rename = "pageSize")] pub page_size: Option, @@ -564,7 +565,7 @@ pub enum VirtualMachineInstanceMemoryHugepagesPageSize { } /// Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -599,7 +600,7 @@ pub struct VirtualMachineLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -607,7 +608,7 @@ pub struct VirtualMachineLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -618,7 +619,7 @@ pub struct VirtualMachineLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -637,7 +638,7 @@ pub struct VirtualMachineLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineLivenessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -646,7 +647,7 @@ pub struct VirtualMachineLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -655,7 +656,7 @@ pub struct VirtualMachineLivenessProbeTcpSocket { pub port: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineNetworks { #[serde(default, skip_serializing_if = "Option::is_none")] pub multus: Option, @@ -664,18 +665,18 @@ pub struct VirtualMachineNetworks { pub pod: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineNetworksMultus { #[serde(rename = "networkName")] pub network_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineNetworksPod { } /// Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -710,7 +711,7 @@ pub struct VirtualMachineReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -718,7 +719,7 @@ pub struct VirtualMachineReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -729,7 +730,7 @@ pub struct VirtualMachineReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -748,7 +749,7 @@ pub struct VirtualMachineReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineReadinessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -757,7 +758,7 @@ pub struct VirtualMachineReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -767,7 +768,7 @@ pub struct VirtualMachineReadinessProbeTcpSocket { } /// ResourceRequirements describes the compute resource requirements. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -788,7 +789,7 @@ pub enum VirtualMachineRunPolicy { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -807,7 +808,7 @@ pub struct VirtualMachineTolerations { pub value: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineVolumes { #[serde(default, skip_serializing_if = "Option::is_none", rename = "cloudInit")] pub cloud_init: Option, @@ -822,7 +823,7 @@ pub struct VirtualMachineVolumes { pub persistent_volume_claim: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineVolumesCloudInit { #[serde(default, skip_serializing_if = "Option::is_none", rename = "networkData")] pub network_data: Option, @@ -838,7 +839,7 @@ pub struct VirtualMachineVolumesCloudInit { pub user_data_secret_name: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineVolumesContainerDisk { pub image: String, /// PullPolicy describes a policy for if/when to pull a container image @@ -846,7 +847,7 @@ pub struct VirtualMachineVolumesContainerDisk { pub image_pull_policy: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineVolumesContainerRootfs { pub image: String, /// PullPolicy describes a policy for if/when to pull a container image @@ -855,7 +856,7 @@ pub struct VirtualMachineVolumesContainerRootfs { pub size: IntOrString, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineVolumesDataVolume { #[serde(default, skip_serializing_if = "Option::is_none")] pub hotpluggable: Option, @@ -863,7 +864,7 @@ pub struct VirtualMachineVolumesDataVolume { pub volume_name: String, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineVolumesPersistentVolumeClaim { #[serde(rename = "claimName")] pub claim_name: String, @@ -872,7 +873,7 @@ pub struct VirtualMachineVolumesPersistentVolumeClaim { } /// VirtualMachineStatus is the status for a VirtualMachine resource -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub conditions: Option>, @@ -893,7 +894,7 @@ pub struct VirtualMachineStatus { pub volume_status: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineStatusMigration { #[serde(default, skip_serializing_if = "Option::is_none")] pub phase: Option, @@ -952,7 +953,7 @@ pub enum VirtualMachineStatusPowerAction { Resume, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineStatusVolumeStatus { #[serde(default, skip_serializing_if = "Option::is_none", rename = "hotplugVolume")] pub hotplug_volume: Option, @@ -961,7 +962,7 @@ pub struct VirtualMachineStatusVolumeStatus { pub phase: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct VirtualMachineStatusVolumeStatusHotplugVolume { #[serde(default, skip_serializing_if = "Option::is_none", rename = "volumePodName")] pub volume_pod_name: Option, diff --git a/kube-custom-resources-rs/src/volsync_backube/v1alpha1/replicationdestinations.rs b/kube-custom-resources-rs/src/volsync_backube/v1alpha1/replicationdestinations.rs index 71c1befe5..82b37be50 100644 --- a/kube-custom-resources-rs/src/volsync_backube/v1alpha1/replicationdestinations.rs +++ b/kube-custom-resources-rs/src/volsync_backube/v1alpha1/replicationdestinations.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/backube/volsync/volsync.backube/v1alpha1/replicationdestinations.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/backube/volsync/volsync.backube/v1alpha1/replicationdestinations.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// spec is the desired state of the ReplicationDestination, including the replication method to use and its configuration. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "volsync.backube", version = "v1alpha1", kind = "ReplicationDestination", plural = "replicationdestinations")] #[kube(namespaced)] #[kube(status = "ReplicationDestinationStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ReplicationDestinationSpec { /// external defines the configuration when using an external replication provider. @@ -44,7 +45,7 @@ pub struct ReplicationDestinationSpec { } /// external defines the configuration when using an external replication provider. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationExternal { /// parameters are provider-specific key/value configuration parameters. For more information, please see the documentation of the specific replication provider being used. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -55,7 +56,7 @@ pub struct ReplicationDestinationExternal { } /// rclone defines the configuration when using Rclone-based replication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationRclone { /// accessModes specifies the access modes for the destination volume. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -111,7 +112,7 @@ pub enum ReplicationDestinationRcloneCopyMethod { } /// customCA is a custom CA that will be used to verify the remote -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationRcloneCustomCa { /// The name of a ConfigMap that contains the custom CA certificate If ConfigMapName is used then SecretName should not be set #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapName")] @@ -125,7 +126,7 @@ pub struct ReplicationDestinationRcloneCustomCa { } /// Resources represents compute resources required by the data mover container. Immutable. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ This should only be used by advanced users as this can result in a mover pod being unschedulable or crashing due to limited resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationRcloneMoverResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -141,14 +142,14 @@ pub struct ReplicationDestinationRcloneMoverResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationRcloneMoverResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// MoverSecurityContext allows specifying the PodSecurityContext that will be used by the data mover -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationRcloneMoverSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -185,7 +186,7 @@ pub struct ReplicationDestinationRcloneMoverSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationRcloneMoverSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -202,7 +203,7 @@ pub struct ReplicationDestinationRcloneMoverSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationRcloneMoverSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -214,7 +215,7 @@ pub struct ReplicationDestinationRcloneMoverSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationRcloneMoverSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -223,7 +224,7 @@ pub struct ReplicationDestinationRcloneMoverSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationRcloneMoverSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -240,7 +241,7 @@ pub struct ReplicationDestinationRcloneMoverSecurityContextWindowsOptions { } /// restic defines the configuration when using Restic-based replication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationRestic { /// accessModes specifies the access modes for the destination volume. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -305,7 +306,7 @@ pub enum ReplicationDestinationResticCopyMethod { } /// customCA is a custom CA that will be used to verify the remote -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationResticCustomCa { /// The name of a ConfigMap that contains the custom CA certificate If ConfigMapName is used then SecretName should not be set #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapName")] @@ -319,7 +320,7 @@ pub struct ReplicationDestinationResticCustomCa { } /// Resources represents compute resources required by the data mover container. Immutable. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ This should only be used by advanced users as this can result in a mover pod being unschedulable or crashing due to limited resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationResticMoverResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -335,14 +336,14 @@ pub struct ReplicationDestinationResticMoverResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationResticMoverResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// MoverSecurityContext allows specifying the PodSecurityContext that will be used by the data mover -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationResticMoverSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -379,7 +380,7 @@ pub struct ReplicationDestinationResticMoverSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationResticMoverSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -396,7 +397,7 @@ pub struct ReplicationDestinationResticMoverSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationResticMoverSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -408,7 +409,7 @@ pub struct ReplicationDestinationResticMoverSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationResticMoverSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -417,7 +418,7 @@ pub struct ReplicationDestinationResticMoverSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationResticMoverSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -434,7 +435,7 @@ pub struct ReplicationDestinationResticMoverSecurityContextWindowsOptions { } /// rsync defines the configuration when using Rsync-based replication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationRsync { /// accessModes specifies the access modes for the destination volume. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -496,7 +497,7 @@ pub enum ReplicationDestinationRsyncCopyMethod { } /// Resources represents compute resources required by the data mover container. Immutable. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ This should only be used by advanced users as this can result in a mover pod being unschedulable or crashing due to limited resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationRsyncMoverResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -512,14 +513,14 @@ pub struct ReplicationDestinationRsyncMoverResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationRsyncMoverResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// rsyncTLS defines the configuration when using Rsync-based replication over TLS. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationRsyncTls { /// accessModes specifies the access modes for the destination volume. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -572,7 +573,7 @@ pub enum ReplicationDestinationRsyncTlsCopyMethod { } /// Resources represents compute resources required by the data mover container. Immutable. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ This should only be used by advanced users as this can result in a mover pod being unschedulable or crashing due to limited resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationRsyncTlsMoverResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -588,14 +589,14 @@ pub struct ReplicationDestinationRsyncTlsMoverResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationRsyncTlsMoverResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// MoverSecurityContext allows specifying the PodSecurityContext that will be used by the data mover -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationRsyncTlsMoverSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -632,7 +633,7 @@ pub struct ReplicationDestinationRsyncTlsMoverSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationRsyncTlsMoverSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -649,7 +650,7 @@ pub struct ReplicationDestinationRsyncTlsMoverSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationRsyncTlsMoverSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -661,7 +662,7 @@ pub struct ReplicationDestinationRsyncTlsMoverSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationRsyncTlsMoverSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -670,7 +671,7 @@ pub struct ReplicationDestinationRsyncTlsMoverSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationRsyncTlsMoverSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -687,7 +688,7 @@ pub struct ReplicationDestinationRsyncTlsMoverSecurityContextWindowsOptions { } /// trigger determines if/when the destination should attempt to synchronize data with the source. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationTrigger { /// manual is a string value that schedules a manual trigger. Once a sync completes then status.lastManualSync is set to the same string value. A consumer of a manual trigger should set spec.trigger.manual to a known value and then wait for lastManualSync to be updated by the operator to the same value, which means that the manual trigger will then pause and wait for further updates to the trigger. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -698,7 +699,7 @@ pub struct ReplicationDestinationTrigger { } /// status is the observed state of the ReplicationDestination as determined by the controller. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationStatus { /// conditions represent the latest available observations of the destination's state. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -736,7 +737,7 @@ pub struct ReplicationDestinationStatus { } /// latestImage in the object holding the most recent consistent replicated image. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationStatusLatestImage { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -748,7 +749,7 @@ pub struct ReplicationDestinationStatusLatestImage { } /// Logs/Summary from latest mover job -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationStatusLatestMoverStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub logs: Option, @@ -757,7 +758,7 @@ pub struct ReplicationDestinationStatusLatestMoverStatus { } /// rsync contains status information for Rsync-based replication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationStatusRsync { /// address is the address to connect to for incoming SSH replication connections. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -771,7 +772,7 @@ pub struct ReplicationDestinationStatusRsync { } /// rsyncTLS contains status information for Rsync-based replication over TLS. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationDestinationStatusRsyncTls { /// address is the address to connect to for incoming TLS connections. #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/kube-custom-resources-rs/src/volsync_backube/v1alpha1/replicationsources.rs b/kube-custom-resources-rs/src/volsync_backube/v1alpha1/replicationsources.rs index 03db5eef1..3f2bdcf2e 100644 --- a/kube-custom-resources-rs/src/volsync_backube/v1alpha1/replicationsources.rs +++ b/kube-custom-resources-rs/src/volsync_backube/v1alpha1/replicationsources.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/backube/volsync/volsync.backube/v1alpha1/replicationsources.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/backube/volsync/volsync.backube/v1alpha1/replicationsources.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// spec is the desired state of the ReplicationSource, including the replication method to use and its configuration. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "volsync.backube", version = "v1alpha1", kind = "ReplicationSource", plural = "replicationsources")] #[kube(namespaced)] #[kube(status = "ReplicationSourceStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ReplicationSourceSpec { /// external defines the configuration when using an external replication provider. @@ -50,7 +51,7 @@ pub struct ReplicationSourceSpec { } /// external defines the configuration when using an external replication provider. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceExternal { /// parameters are provider-specific key/value configuration parameters. For more information, please see the documentation of the specific replication provider being used. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -61,7 +62,7 @@ pub struct ReplicationSourceExternal { } /// rclone defines the configuration when using Rclone-based replication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceRclone { /// accessModes can be used to override the accessModes of the PiT image. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -114,7 +115,7 @@ pub enum ReplicationSourceRcloneCopyMethod { } /// customCA is a custom CA that will be used to verify the remote -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceRcloneCustomCa { /// The name of a ConfigMap that contains the custom CA certificate If ConfigMapName is used then SecretName should not be set #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapName")] @@ -128,7 +129,7 @@ pub struct ReplicationSourceRcloneCustomCa { } /// Resources represents compute resources required by the data mover container. Immutable. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ This should only be used by advanced users as this can result in a mover pod being unschedulable or crashing due to limited resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceRcloneMoverResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -144,14 +145,14 @@ pub struct ReplicationSourceRcloneMoverResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceRcloneMoverResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// MoverSecurityContext allows specifying the PodSecurityContext that will be used by the data mover -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceRcloneMoverSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -188,7 +189,7 @@ pub struct ReplicationSourceRcloneMoverSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceRcloneMoverSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -205,7 +206,7 @@ pub struct ReplicationSourceRcloneMoverSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceRcloneMoverSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -217,7 +218,7 @@ pub struct ReplicationSourceRcloneMoverSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceRcloneMoverSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -226,7 +227,7 @@ pub struct ReplicationSourceRcloneMoverSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceRcloneMoverSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -243,7 +244,7 @@ pub struct ReplicationSourceRcloneMoverSecurityContextWindowsOptions { } /// restic defines the configuration when using Restic-based replication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceRestic { /// accessModes can be used to override the accessModes of the PiT image. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -308,7 +309,7 @@ pub enum ReplicationSourceResticCopyMethod { } /// customCA is a custom CA that will be used to verify the remote -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceResticCustomCa { /// The name of a ConfigMap that contains the custom CA certificate If ConfigMapName is used then SecretName should not be set #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapName")] @@ -322,7 +323,7 @@ pub struct ReplicationSourceResticCustomCa { } /// Resources represents compute resources required by the data mover container. Immutable. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ This should only be used by advanced users as this can result in a mover pod being unschedulable or crashing due to limited resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceResticMoverResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -338,14 +339,14 @@ pub struct ReplicationSourceResticMoverResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceResticMoverResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// MoverSecurityContext allows specifying the PodSecurityContext that will be used by the data mover -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceResticMoverSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -382,7 +383,7 @@ pub struct ReplicationSourceResticMoverSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceResticMoverSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -399,7 +400,7 @@ pub struct ReplicationSourceResticMoverSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceResticMoverSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -411,7 +412,7 @@ pub struct ReplicationSourceResticMoverSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceResticMoverSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -420,7 +421,7 @@ pub struct ReplicationSourceResticMoverSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceResticMoverSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -437,7 +438,7 @@ pub struct ReplicationSourceResticMoverSecurityContextWindowsOptions { } /// ResticRetainPolicy define the retain policy -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceResticRetain { /// Daily defines the number of snapshots to be kept daily #[serde(default, skip_serializing_if = "Option::is_none")] @@ -463,7 +464,7 @@ pub struct ReplicationSourceResticRetain { } /// rsync defines the configuration when using Rsync-based replication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceRsync { /// accessModes can be used to override the accessModes of the PiT image. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -519,7 +520,7 @@ pub enum ReplicationSourceRsyncCopyMethod { } /// Resources represents compute resources required by the data mover container. Immutable. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ This should only be used by advanced users as this can result in a mover pod being unschedulable or crashing due to limited resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceRsyncMoverResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -535,14 +536,14 @@ pub struct ReplicationSourceRsyncMoverResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceRsyncMoverResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// rsyncTLS defines the configuration when using Rsync-based replication over TLS. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceRsyncTls { /// accessModes can be used to override the accessModes of the PiT image. #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -592,7 +593,7 @@ pub enum ReplicationSourceRsyncTlsCopyMethod { } /// Resources represents compute resources required by the data mover container. Immutable. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ This should only be used by advanced users as this can result in a mover pod being unschedulable or crashing due to limited resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceRsyncTlsMoverResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -608,14 +609,14 @@ pub struct ReplicationSourceRsyncTlsMoverResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceRsyncTlsMoverResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// MoverSecurityContext allows specifying the PodSecurityContext that will be used by the data mover -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceRsyncTlsMoverSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -652,7 +653,7 @@ pub struct ReplicationSourceRsyncTlsMoverSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceRsyncTlsMoverSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -669,7 +670,7 @@ pub struct ReplicationSourceRsyncTlsMoverSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceRsyncTlsMoverSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -681,7 +682,7 @@ pub struct ReplicationSourceRsyncTlsMoverSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceRsyncTlsMoverSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -690,7 +691,7 @@ pub struct ReplicationSourceRsyncTlsMoverSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceRsyncTlsMoverSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -707,7 +708,7 @@ pub struct ReplicationSourceRsyncTlsMoverSecurityContextWindowsOptions { } /// syncthing defines the configuration when using Syncthing-based replication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceSyncthing { /// Used to set the accessModes of Syncthing config volume. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configAccessModes")] @@ -739,7 +740,7 @@ pub struct ReplicationSourceSyncthing { } /// Resources represents compute resources required by the data mover container. Immutable. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ This should only be used by advanced users as this can result in a mover pod being unschedulable or crashing due to limited resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceSyncthingMoverResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -755,14 +756,14 @@ pub struct ReplicationSourceSyncthingMoverResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceSyncthingMoverResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// MoverSecurityContext allows specifying the PodSecurityContext that will be used by the data mover -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceSyncthingMoverSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -799,7 +800,7 @@ pub struct ReplicationSourceSyncthingMoverSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceSyncthingMoverSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -816,7 +817,7 @@ pub struct ReplicationSourceSyncthingMoverSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceSyncthingMoverSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -828,7 +829,7 @@ pub struct ReplicationSourceSyncthingMoverSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceSyncthingMoverSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -837,7 +838,7 @@ pub struct ReplicationSourceSyncthingMoverSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceSyncthingMoverSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -854,7 +855,7 @@ pub struct ReplicationSourceSyncthingMoverSecurityContextWindowsOptions { } /// SyncthingPeer Defines the necessary information needed by VolSync to configure a given peer with the running Syncthing instance. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceSyncthingPeers { /// The peer's Syncthing ID. #[serde(rename = "ID")] @@ -866,7 +867,7 @@ pub struct ReplicationSourceSyncthingPeers { } /// trigger determines when the latest state of the volume will be captured (and potentially replicated to the destination). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceTrigger { /// manual is a string value that schedules a manual trigger. Once a sync completes then status.lastManualSync is set to the same string value. A consumer of a manual trigger should set spec.trigger.manual to a known value and then wait for lastManualSync to be updated by the operator to the same value, which means that the manual trigger will then pause and wait for further updates to the trigger. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -877,7 +878,7 @@ pub struct ReplicationSourceTrigger { } /// status is the observed state of the ReplicationSource as determined by the controller. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceStatus { /// conditions represent the latest available observations of the source's state. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -918,7 +919,7 @@ pub struct ReplicationSourceStatus { } /// Logs/Summary from latest mover job -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceStatusLatestMoverStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub logs: Option, @@ -927,7 +928,7 @@ pub struct ReplicationSourceStatusLatestMoverStatus { } /// restic contains status information for Restic-based replication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceStatusRestic { /// lastPruned in the object holding the time of last pruned #[serde(default, skip_serializing_if = "Option::is_none", rename = "lastPruned")] @@ -938,7 +939,7 @@ pub struct ReplicationSourceStatusRestic { } /// rsync contains status information for Rsync-based replication. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceStatusRsync { /// address is the address to connect to for incoming SSH replication connections. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -952,7 +953,7 @@ pub struct ReplicationSourceStatusRsync { } /// rsyncTLS contains status information for Rsync-based replication over TLS. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceStatusRsyncTls { /// keySecret is the name of a Secret that contains the TLS pre-shared key to be used for authentication. If not provided in .spec.rsyncTLS.keySecret, the key Secret will be generated and named here. #[serde(default, skip_serializing_if = "Option::is_none", rename = "keySecret")] @@ -960,7 +961,7 @@ pub struct ReplicationSourceStatusRsyncTls { } /// contains status information when Syncthing-based replication is used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceStatusSyncthing { /// Device ID of the current syncthing device #[serde(default, skip_serializing_if = "Option::is_none", rename = "ID")] @@ -974,7 +975,7 @@ pub struct ReplicationSourceStatusSyncthing { } /// SyncthingPeerStatus Is a struct that contains information pertaining to the status of a given Syncthing peer. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicationSourceStatusSyncthingPeers { /// ID Is the peer's Syncthing ID. #[serde(rename = "ID")] diff --git a/kube-custom-resources-rs/src/vpcresources_k8s_aws/v1alpha1/cninodes.rs b/kube-custom-resources-rs/src/vpcresources_k8s_aws/v1alpha1/cninodes.rs index 8ee7e0190..fb99c5cb2 100644 --- a/kube-custom-resources-rs/src/vpcresources_k8s_aws/v1alpha1/cninodes.rs +++ b/kube-custom-resources-rs/src/vpcresources_k8s_aws/v1alpha1/cninodes.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/amazon-vpc-resource-controller-k8s/vpcresources.k8s.aws/v1alpha1/cninodes.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/amazon-vpc-resource-controller-k8s/vpcresources.k8s.aws/v1alpha1/cninodes.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/vpcresources_k8s_aws/v1beta1/securitygrouppolicies.rs b/kube-custom-resources-rs/src/vpcresources_k8s_aws/v1beta1/securitygrouppolicies.rs index f745d7362..2bed35a25 100644 --- a/kube-custom-resources-rs/src/vpcresources_k8s_aws/v1beta1/securitygrouppolicies.rs +++ b/kube-custom-resources-rs/src/vpcresources_k8s_aws/v1beta1/securitygrouppolicies.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/amazon-vpc-resource-controller-k8s/vpcresources.k8s.aws/v1beta1/securitygrouppolicies.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/amazon-vpc-resource-controller-k8s/vpcresources.k8s.aws/v1beta1/securitygrouppolicies.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha1/clusterpolicyreports.rs b/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha1/clusterpolicyreports.rs index 975573892..64259d6f4 100644 --- a/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha1/clusterpolicyreports.rs +++ b/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha1/clusterpolicyreports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/wg-policy-prototypes/wgpolicyk8s.io/v1alpha1/clusterpolicyreports.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/wg-policy-prototypes/wgpolicyk8s.io/v1alpha1/clusterpolicyreports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha1/policyreports.rs b/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha1/policyreports.rs index 8428f0c02..fe9e808b2 100644 --- a/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha1/policyreports.rs +++ b/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha1/policyreports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/wg-policy-prototypes/wgpolicyk8s.io/v1alpha1/policyreports.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/wg-policy-prototypes/wgpolicyk8s.io/v1alpha1/policyreports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha2/clusterpolicyreports.rs b/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha2/clusterpolicyreports.rs index 7d52e2bb4..61f7d569f 100644 --- a/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha2/clusterpolicyreports.rs +++ b/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha2/clusterpolicyreports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/wg-policy-prototypes/wgpolicyk8s.io/v1alpha2/clusterpolicyreports.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/wg-policy-prototypes/wgpolicyk8s.io/v1alpha2/clusterpolicyreports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha2/policyreports.rs b/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha2/policyreports.rs index f8f56b833..a2343c44f 100644 --- a/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha2/policyreports.rs +++ b/kube-custom-resources-rs/src/wgpolicyk8s_io/v1alpha2/policyreports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/wg-policy-prototypes/wgpolicyk8s.io/v1alpha2/policyreports.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/wg-policy-prototypes/wgpolicyk8s.io/v1alpha2/policyreports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/wgpolicyk8s_io/v1beta1/clusterpolicyreports.rs b/kube-custom-resources-rs/src/wgpolicyk8s_io/v1beta1/clusterpolicyreports.rs index 4367a16cc..55397069a 100644 --- a/kube-custom-resources-rs/src/wgpolicyk8s_io/v1beta1/clusterpolicyreports.rs +++ b/kube-custom-resources-rs/src/wgpolicyk8s_io/v1beta1/clusterpolicyreports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/wg-policy-prototypes/wgpolicyk8s.io/v1beta1/clusterpolicyreports.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/wg-policy-prototypes/wgpolicyk8s.io/v1beta1/clusterpolicyreports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/wgpolicyk8s_io/v1beta1/policyreports.rs b/kube-custom-resources-rs/src/wgpolicyk8s_io/v1beta1/policyreports.rs index 71ac21749..75e3d5d90 100644 --- a/kube-custom-resources-rs/src/wgpolicyk8s_io/v1beta1/policyreports.rs +++ b/kube-custom-resources-rs/src/wgpolicyk8s_io/v1beta1/policyreports.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/wg-policy-prototypes/wgpolicyk8s.io/v1beta1/policyreports.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/kubernetes-sigs/wg-policy-prototypes/wgpolicyk8s.io/v1beta1/policyreports.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/wildfly_org/v1alpha1/wildflyservers.rs b/kube-custom-resources-rs/src/wildfly_org/v1alpha1/wildflyservers.rs index bbecbd6ca..2e872be2a 100644 --- a/kube-custom-resources-rs/src/wildfly_org/v1alpha1/wildflyservers.rs +++ b/kube-custom-resources-rs/src/wildfly_org/v1alpha1/wildflyservers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/wildfly/wildfly-operator/wildfly.org/v1alpha1/wildflyservers.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/wildfly/wildfly-operator/wildfly.org/v1alpha1/wildflyservers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// WildFlyServerSpec defines the desired state of WildFlyServer -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "wildfly.org", version = "v1alpha1", kind = "WildFlyServer", plural = "wildflyservers")] #[kube(namespaced)] #[kube(status = "WildFlyServerStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct WildFlyServerSpec { /// ApplicationImage is the name of the application image to be deployed @@ -75,7 +76,7 @@ pub struct WildFlyServerSpec { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -88,7 +89,7 @@ pub struct WildFlyServerEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -105,7 +106,7 @@ pub struct WildFlyServerEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -118,7 +119,7 @@ pub struct WildFlyServerEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -129,7 +130,7 @@ pub struct WildFlyServerEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -142,7 +143,7 @@ pub struct WildFlyServerEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -155,7 +156,7 @@ pub struct WildFlyServerEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -169,7 +170,7 @@ pub struct WildFlyServerEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -180,7 +181,7 @@ pub struct WildFlyServerEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -191,7 +192,7 @@ pub struct WildFlyServerEnvFromSecretRef { } /// LivenessProbe defines the periodic probe of container liveness. Container will be restarted if the probe fails. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerLivenessProbe { /// Exec specifies a command action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -217,7 +218,7 @@ pub struct WildFlyServerLivenessProbe { } /// Exec specifies a command action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -225,7 +226,7 @@ pub struct WildFlyServerLivenessProbeExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -244,7 +245,7 @@ pub struct WildFlyServerLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerLivenessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -253,7 +254,7 @@ pub struct WildFlyServerLivenessProbeHttpGetHttpHeaders { } /// ReadinessProbe defines the periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerReadinessProbe { /// Exec specifies a command action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -279,7 +280,7 @@ pub struct WildFlyServerReadinessProbe { } /// Exec specifies a command action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -287,7 +288,7 @@ pub struct WildFlyServerReadinessProbeExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -306,7 +307,7 @@ pub struct WildFlyServerReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerReadinessProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -315,7 +316,7 @@ pub struct WildFlyServerReadinessProbeHttpGetHttpHeaders { } /// ResourcesSpec defines the resources used by the WildFlyServer, ie CPU and memory, use limits and requests. More info: https://pkg.go.dev/k8s.io/api@v0.18.14/core/v1#ResourceRequirements -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -326,7 +327,7 @@ pub struct WildFlyServerResources { } /// SecurityContext defines the security capabilities required to run the application. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -364,7 +365,7 @@ pub struct WildFlyServerSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -375,7 +376,7 @@ pub struct WildFlyServerSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -392,7 +393,7 @@ pub struct WildFlyServerSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -404,7 +405,7 @@ pub struct WildFlyServerSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -421,7 +422,7 @@ pub struct WildFlyServerSecurityContextWindowsOptions { } /// StandaloneConfigMapSpec defines the desired configMap configuration to obtain the standalone configuration for WildFlyServer -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerStandaloneConfigMap { /// Key of the config map whose value is the standalone XML configuration file ("standalone.xml" if omitted) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -430,7 +431,7 @@ pub struct WildFlyServerStandaloneConfigMap { } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerStartupProbe { /// Exec specifies a command action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -456,7 +457,7 @@ pub struct WildFlyServerStartupProbe { } /// Exec specifies a command action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -464,7 +465,7 @@ pub struct WildFlyServerStartupProbeExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -483,7 +484,7 @@ pub struct WildFlyServerStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerStartupProbeHttpGetHttpHeaders { /// The header field name pub name: String, @@ -492,7 +493,7 @@ pub struct WildFlyServerStartupProbeHttpGetHttpHeaders { } /// StorageSpec defines specific storage required for the server own data directory. If omitted, an EmptyDir is used (that will not persist data across pod restart). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerStorage { /// Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling. #[serde(default, skip_serializing_if = "Option::is_none", rename = "emptyDir")] @@ -503,7 +504,7 @@ pub struct WildFlyServerStorage { } /// Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerStorageEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -514,7 +515,7 @@ pub struct WildFlyServerStorageEmptyDir { } /// VolumeClaimTemplate defines the template to store WildFlyServer standalone data directory. The name of the template is derived from the WildFlyServer name. The corresponding volume will be mounted in ReadWriteOnce access mode. This template should be used to specify specific Resources requirements in the template spec. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerStorageVolumeClaimTemplate { /// 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 #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -534,12 +535,12 @@ pub struct WildFlyServerStorageVolumeClaimTemplate { } /// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerStorageVolumeClaimTemplateMetadata { } /// spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerStorageVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -568,7 +569,7 @@ pub struct WildFlyServerStorageVolumeClaimTemplateSpec { } /// 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. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerStorageVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -580,7 +581,7 @@ pub struct WildFlyServerStorageVolumeClaimTemplateSpecDataSource { } /// dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local 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, 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. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerStorageVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -592,7 +593,7 @@ pub struct WildFlyServerStorageVolumeClaimTemplateSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerStorageVolumeClaimTemplateSpecResources { /// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ #[serde(default, skip_serializing_if = "Option::is_none")] @@ -603,7 +604,7 @@ pub struct WildFlyServerStorageVolumeClaimTemplateSpecResources { } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerStorageVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -614,7 +615,7 @@ pub struct WildFlyServerStorageVolumeClaimTemplateSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerStorageVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -626,7 +627,7 @@ pub struct WildFlyServerStorageVolumeClaimTemplateSpecSelectorMatchExpressions { } /// status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerStorageVolumeClaimTemplateStatus { /// accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -649,7 +650,7 @@ pub struct WildFlyServerStorageVolumeClaimTemplateStatus { } /// WildFlyServerStatus defines the observed state of WildFlyServer -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct WildFlyServerStatus { #[serde(default, skip_serializing_if = "Option::is_none")] pub hosts: Option>, diff --git a/kube-custom-resources-rs/src/work_karmada_io/v1alpha1/clusterresourcebindings.rs b/kube-custom-resources-rs/src/work_karmada_io/v1alpha1/clusterresourcebindings.rs index 19290e223..1927f3025 100644 --- a/kube-custom-resources-rs/src/work_karmada_io/v1alpha1/clusterresourcebindings.rs +++ b/kube-custom-resources-rs/src/work_karmada_io/v1alpha1/clusterresourcebindings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha1/clusterresourcebindings.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha1/clusterresourcebindings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,10 +13,11 @@ mod prelude { use self::prelude::*; /// Spec represents the desired behavior. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "work.karmada.io", version = "v1alpha1", kind = "ClusterResourceBinding", plural = "clusterresourcebindings")] #[kube(status = "ClusterResourceBindingStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterResourceBindingSpec { /// Clusters represents target member clusters where the resource to be deployed. @@ -27,7 +28,7 @@ pub struct ClusterResourceBindingSpec { } /// TargetCluster represents the identifier of a member cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingClusters { /// Name of target cluster. pub name: String, @@ -37,7 +38,7 @@ pub struct ClusterResourceBindingClusters { } /// Resource represents the Kubernetes resource to be propagated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingResource { /// APIVersion represents the API version of the referent. #[serde(rename = "apiVersion")] @@ -65,7 +66,7 @@ pub struct ClusterResourceBindingResource { } /// Status represents the most recently observed status of the ResourceBinding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingStatus { /// AggregatedStatus represents status list of the resource running in each member cluster. #[serde(default, skip_serializing_if = "Option::is_none", rename = "aggregatedStatus")] @@ -76,7 +77,7 @@ pub struct ClusterResourceBindingStatus { } /// AggregatedStatusItem represents status of the resource running in a member cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingStatusAggregatedStatus { /// Applied represents if the resource referencing by ResourceBinding or ClusterResourceBinding /// is successfully applied on the cluster. diff --git a/kube-custom-resources-rs/src/work_karmada_io/v1alpha1/resourcebindings.rs b/kube-custom-resources-rs/src/work_karmada_io/v1alpha1/resourcebindings.rs index 6d0099078..864d3d81d 100644 --- a/kube-custom-resources-rs/src/work_karmada_io/v1alpha1/resourcebindings.rs +++ b/kube-custom-resources-rs/src/work_karmada_io/v1alpha1/resourcebindings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha1/resourcebindings.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha1/resourcebindings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// Spec represents the desired behavior. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "work.karmada.io", version = "v1alpha1", kind = "ResourceBinding", plural = "resourcebindings")] #[kube(namespaced)] #[kube(status = "ResourceBindingStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ResourceBindingSpec { /// Clusters represents target member clusters where the resource to be deployed. @@ -28,7 +29,7 @@ pub struct ResourceBindingSpec { } /// TargetCluster represents the identifier of a member cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingClusters { /// Name of target cluster. pub name: String, @@ -38,7 +39,7 @@ pub struct ResourceBindingClusters { } /// Resource represents the Kubernetes resource to be propagated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingResource { /// APIVersion represents the API version of the referent. #[serde(rename = "apiVersion")] @@ -66,7 +67,7 @@ pub struct ResourceBindingResource { } /// Status represents the most recently observed status of the ResourceBinding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingStatus { /// AggregatedStatus represents status list of the resource running in each member cluster. #[serde(default, skip_serializing_if = "Option::is_none", rename = "aggregatedStatus")] @@ -77,7 +78,7 @@ pub struct ResourceBindingStatus { } /// AggregatedStatusItem represents status of the resource running in a member cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingStatusAggregatedStatus { /// Applied represents if the resource referencing by ResourceBinding or ClusterResourceBinding /// is successfully applied on the cluster. diff --git a/kube-custom-resources-rs/src/work_karmada_io/v1alpha2/clusterresourcebindings.rs b/kube-custom-resources-rs/src/work_karmada_io/v1alpha2/clusterresourcebindings.rs index 13231b609..d3b01537c 100644 --- a/kube-custom-resources-rs/src/work_karmada_io/v1alpha2/clusterresourcebindings.rs +++ b/kube-custom-resources-rs/src/work_karmada_io/v1alpha2/clusterresourcebindings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha2/clusterresourcebindings.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha2/clusterresourcebindings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,10 +13,11 @@ mod prelude { use self::prelude::*; /// Spec represents the desired behavior. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "work.karmada.io", version = "v1alpha2", kind = "ClusterResourceBinding", plural = "clusterresourcebindings")] #[kube(status = "ClusterResourceBindingStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ClusterResourceBindingSpec { /// Clusters represents target member clusters where the resource to be deployed. @@ -86,7 +87,7 @@ pub struct ClusterResourceBindingSpec { } /// TargetCluster represents the identifier of a member cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingClusters { /// Name of target cluster. pub name: String, @@ -104,7 +105,7 @@ pub enum ClusterResourceBindingConflictResolution { /// Failover indicates how Karmada migrates applications in case of failures. /// It inherits directly from the associated PropagationPolicy(or ClusterPropagationPolicy). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingFailover { /// Application indicates failover behaviors in case of application failure. /// If this value is nil, failover is disabled. @@ -118,7 +119,7 @@ pub struct ClusterResourceBindingFailover { /// If this value is nil, failover is disabled. /// If set, the PropagateDeps should be true so that the dependencies could /// be migrated along with the application. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingFailoverApplication { /// DecisionConditions indicates the decision conditions of performing the failover process. /// Only when all conditions are met can the failover process be performed. @@ -146,7 +147,7 @@ pub struct ClusterResourceBindingFailoverApplication { /// Only when all conditions are met can the failover process be performed. /// Currently, DecisionConditions includes several conditions: /// - TolerationSeconds (optional) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingFailoverApplicationDecisionConditions { /// TolerationSeconds represents the period of time Karmada should wait /// after reaching the desired state before performing failover process. @@ -157,7 +158,7 @@ pub struct ClusterResourceBindingFailoverApplicationDecisionConditions { } /// GracefulEvictionTask represents a graceful eviction task. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingGracefulEvictionTasks { /// CreationTimestamp is a timestamp representing the server time when this object was /// created. @@ -202,7 +203,7 @@ pub struct ClusterResourceBindingGracefulEvictionTasks { } /// Placement represents the rule for select clusters to propagate resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingPlacement { /// ClusterAffinities represents scheduling restrictions to multiple cluster /// groups that indicated by ClusterAffinityTerm. @@ -260,7 +261,7 @@ pub struct ClusterResourceBindingPlacement { } /// ClusterAffinityTerm selects a set of cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingPlacementClusterAffinities { /// AffinityName is the name of the cluster group. #[serde(rename = "affinityName")] @@ -287,7 +288,7 @@ pub struct ClusterResourceBindingPlacementClusterAffinities { /// The key(field) of the match expression should be 'provider', 'region', or 'zone', /// and the operator of the match expression should be 'In' or 'NotIn'. /// If non-nil and non-empty, only the clusters match this filter will be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingPlacementClusterAffinitiesFieldSelector { /// A list of field selector requirements. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -296,7 +297,7 @@ pub struct ClusterResourceBindingPlacementClusterAffinitiesFieldSelector { /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingPlacementClusterAffinitiesFieldSelectorMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -314,7 +315,7 @@ pub struct ClusterResourceBindingPlacementClusterAffinitiesFieldSelectorMatchExp /// LabelSelector is a filter to select member clusters by labels. /// If non-nil and non-empty, only the clusters match this filter will be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingPlacementClusterAffinitiesLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -328,7 +329,7 @@ pub struct ClusterResourceBindingPlacementClusterAffinitiesLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingPlacementClusterAffinitiesLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -348,7 +349,7 @@ pub struct ClusterResourceBindingPlacementClusterAffinitiesLabelSelectorMatchExp /// 1. ClusterAffinity can not co-exist with ClusterAffinities. /// 2. If both ClusterAffinity and ClusterAffinities are not set, any cluster /// can be scheduling candidates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingPlacementClusterAffinity { /// ClusterNames is the list of clusters to be selected. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterNames")] @@ -372,7 +373,7 @@ pub struct ClusterResourceBindingPlacementClusterAffinity { /// The key(field) of the match expression should be 'provider', 'region', or 'zone', /// and the operator of the match expression should be 'In' or 'NotIn'. /// If non-nil and non-empty, only the clusters match this filter will be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingPlacementClusterAffinityFieldSelector { /// A list of field selector requirements. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -381,7 +382,7 @@ pub struct ClusterResourceBindingPlacementClusterAffinityFieldSelector { /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingPlacementClusterAffinityFieldSelectorMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -399,7 +400,7 @@ pub struct ClusterResourceBindingPlacementClusterAffinityFieldSelectorMatchExpre /// LabelSelector is a filter to select member clusters by labels. /// If non-nil and non-empty, only the clusters match this filter will be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingPlacementClusterAffinityLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -413,7 +414,7 @@ pub struct ClusterResourceBindingPlacementClusterAffinityLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingPlacementClusterAffinityLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -430,7 +431,7 @@ pub struct ClusterResourceBindingPlacementClusterAffinityLabelSelectorMatchExpre /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingPlacementClusterTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -460,7 +461,7 @@ pub struct ClusterResourceBindingPlacementClusterTolerations { /// ReplicaScheduling represents the scheduling policy on dealing with the number of replicas /// when propagating resources that have replicas in spec (e.g. deployments, statefulsets) to member clusters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingPlacementReplicaScheduling { /// ReplicaDivisionPreference determines how the replicas is divided /// when ReplicaSchedulingType is "Divided". Valid options are Aggregated and Weighted. @@ -500,7 +501,7 @@ pub enum ClusterResourceBindingPlacementReplicaSchedulingReplicaSchedulingType { /// WeightPreference describes weight for each cluster or for each group of cluster /// If ReplicaDivisionPreference is set to "Weighted", and WeightPreference is not set, scheduler will weight all clusters the same. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingPlacementReplicaSchedulingWeightPreference { /// DynamicWeight specifies the factor to generates dynamic weight list. /// If specified, StaticWeightList will be ignored. @@ -519,7 +520,7 @@ pub enum ClusterResourceBindingPlacementReplicaSchedulingWeightPreferenceDynamic } /// StaticClusterWeight defines the static cluster weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingPlacementReplicaSchedulingWeightPreferenceStaticWeightList { /// TargetCluster describes the filter to select clusters. #[serde(rename = "targetCluster")] @@ -529,7 +530,7 @@ pub struct ClusterResourceBindingPlacementReplicaSchedulingWeightPreferenceStati } /// TargetCluster describes the filter to select clusters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingPlacementReplicaSchedulingWeightPreferenceStaticWeightListTargetCluster { /// ClusterNames is the list of clusters to be selected. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterNames")] @@ -553,7 +554,7 @@ pub struct ClusterResourceBindingPlacementReplicaSchedulingWeightPreferenceStati /// The key(field) of the match expression should be 'provider', 'region', or 'zone', /// and the operator of the match expression should be 'In' or 'NotIn'. /// If non-nil and non-empty, only the clusters match this filter will be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingPlacementReplicaSchedulingWeightPreferenceStaticWeightListTargetClusterFieldSelector { /// A list of field selector requirements. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -562,7 +563,7 @@ pub struct ClusterResourceBindingPlacementReplicaSchedulingWeightPreferenceStati /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingPlacementReplicaSchedulingWeightPreferenceStaticWeightListTargetClusterFieldSelectorMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -580,7 +581,7 @@ pub struct ClusterResourceBindingPlacementReplicaSchedulingWeightPreferenceStati /// LabelSelector is a filter to select member clusters by labels. /// If non-nil and non-empty, only the clusters match this filter will be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingPlacementReplicaSchedulingWeightPreferenceStaticWeightListTargetClusterLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -594,7 +595,7 @@ pub struct ClusterResourceBindingPlacementReplicaSchedulingWeightPreferenceStati /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingPlacementReplicaSchedulingWeightPreferenceStaticWeightListTargetClusterLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -610,7 +611,7 @@ pub struct ClusterResourceBindingPlacementReplicaSchedulingWeightPreferenceStati } /// SpreadConstraint represents the spread constraints on resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingPlacementSpreadConstraints { /// MaxGroups restricts the maximum number of cluster groups to be selected. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxGroups")] @@ -649,7 +650,7 @@ pub enum ClusterResourceBindingPlacementSpreadConstraintsSpreadByField { } /// ReplicaRequirements represents the requirements required by each replica. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingReplicaRequirements { /// Namespace represents the resources namespaces #[serde(default, skip_serializing_if = "Option::is_none")] @@ -666,7 +667,7 @@ pub struct ClusterResourceBindingReplicaRequirements { } /// NodeClaim represents the node claim HardNodeAffinity, NodeSelector and Tolerations required by each replica. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingReplicaRequirementsNodeClaim { /// A node selector represents the union of the results of one or more label queries over a set of /// nodes; that is, it represents the OR of the selectors represented by the node selector terms. @@ -687,7 +688,7 @@ pub struct ClusterResourceBindingReplicaRequirementsNodeClaim { /// nodes; that is, it represents the OR of the selectors represented by the node selector terms. /// Note that only PodSpec.Affinity.NodeAffinity.RequiredDuringSchedulingIgnoredDuringExecution /// is included here because it has a hard limit on pod scheduling. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingReplicaRequirementsNodeClaimHardNodeAffinity { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -697,7 +698,7 @@ pub struct ClusterResourceBindingReplicaRequirementsNodeClaimHardNodeAffinity { /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingReplicaRequirementsNodeClaimHardNodeAffinityNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -709,7 +710,7 @@ pub struct ClusterResourceBindingReplicaRequirementsNodeClaimHardNodeAffinityNod /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingReplicaRequirementsNodeClaimHardNodeAffinityNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -727,7 +728,7 @@ pub struct ClusterResourceBindingReplicaRequirementsNodeClaimHardNodeAffinityNod /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingReplicaRequirementsNodeClaimHardNodeAffinityNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -745,7 +746,7 @@ pub struct ClusterResourceBindingReplicaRequirementsNodeClaimHardNodeAffinityNod /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingReplicaRequirementsNodeClaimTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -774,7 +775,7 @@ pub struct ClusterResourceBindingReplicaRequirementsNodeClaimTolerations { } /// BindingSnapshot is a snapshot of a ResourceBinding or ClusterResourceBinding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingRequiredBy { /// Clusters represents the scheduled result. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -789,7 +790,7 @@ pub struct ClusterResourceBindingRequiredBy { } /// TargetCluster represents the identifier of a member cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingRequiredByClusters { /// Name of target cluster. pub name: String, @@ -799,7 +800,7 @@ pub struct ClusterResourceBindingRequiredByClusters { } /// Resource represents the Kubernetes resource to be propagated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingResource { /// APIVersion represents the API version of the referent. #[serde(rename = "apiVersion")] @@ -824,7 +825,7 @@ pub struct ClusterResourceBindingResource { } /// Status represents the most recently observed status of the ResourceBinding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingStatus { /// AggregatedStatus represents status list of the resource running in each member cluster. #[serde(default, skip_serializing_if = "Option::is_none", rename = "aggregatedStatus")] @@ -848,7 +849,7 @@ pub struct ClusterResourceBindingStatus { } /// AggregatedStatusItem represents status of the resource running in a member cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ClusterResourceBindingStatusAggregatedStatus { /// Applied represents if the resource referencing by ResourceBinding or ClusterResourceBinding /// is successfully applied on the cluster. diff --git a/kube-custom-resources-rs/src/work_karmada_io/v1alpha2/resourcebindings.rs b/kube-custom-resources-rs/src/work_karmada_io/v1alpha2/resourcebindings.rs index e31de388c..f8b7638a9 100644 --- a/kube-custom-resources-rs/src/work_karmada_io/v1alpha2/resourcebindings.rs +++ b/kube-custom-resources-rs/src/work_karmada_io/v1alpha2/resourcebindings.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha2/resourcebindings.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/karmada-io/karmada/work.karmada.io/v1alpha2/resourcebindings.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// Spec represents the desired behavior. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "work.karmada.io", version = "v1alpha2", kind = "ResourceBinding", plural = "resourcebindings")] #[kube(namespaced)] #[kube(status = "ResourceBindingStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ResourceBindingSpec { /// Clusters represents target member clusters where the resource to be deployed. @@ -87,7 +88,7 @@ pub struct ResourceBindingSpec { } /// TargetCluster represents the identifier of a member cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingClusters { /// Name of target cluster. pub name: String, @@ -105,7 +106,7 @@ pub enum ResourceBindingConflictResolution { /// Failover indicates how Karmada migrates applications in case of failures. /// It inherits directly from the associated PropagationPolicy(or ClusterPropagationPolicy). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingFailover { /// Application indicates failover behaviors in case of application failure. /// If this value is nil, failover is disabled. @@ -119,7 +120,7 @@ pub struct ResourceBindingFailover { /// If this value is nil, failover is disabled. /// If set, the PropagateDeps should be true so that the dependencies could /// be migrated along with the application. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingFailoverApplication { /// DecisionConditions indicates the decision conditions of performing the failover process. /// Only when all conditions are met can the failover process be performed. @@ -147,7 +148,7 @@ pub struct ResourceBindingFailoverApplication { /// Only when all conditions are met can the failover process be performed. /// Currently, DecisionConditions includes several conditions: /// - TolerationSeconds (optional) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingFailoverApplicationDecisionConditions { /// TolerationSeconds represents the period of time Karmada should wait /// after reaching the desired state before performing failover process. @@ -158,7 +159,7 @@ pub struct ResourceBindingFailoverApplicationDecisionConditions { } /// GracefulEvictionTask represents a graceful eviction task. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingGracefulEvictionTasks { /// CreationTimestamp is a timestamp representing the server time when this object was /// created. @@ -203,7 +204,7 @@ pub struct ResourceBindingGracefulEvictionTasks { } /// Placement represents the rule for select clusters to propagate resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingPlacement { /// ClusterAffinities represents scheduling restrictions to multiple cluster /// groups that indicated by ClusterAffinityTerm. @@ -261,7 +262,7 @@ pub struct ResourceBindingPlacement { } /// ClusterAffinityTerm selects a set of cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingPlacementClusterAffinities { /// AffinityName is the name of the cluster group. #[serde(rename = "affinityName")] @@ -288,7 +289,7 @@ pub struct ResourceBindingPlacementClusterAffinities { /// The key(field) of the match expression should be 'provider', 'region', or 'zone', /// and the operator of the match expression should be 'In' or 'NotIn'. /// If non-nil and non-empty, only the clusters match this filter will be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingPlacementClusterAffinitiesFieldSelector { /// A list of field selector requirements. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -297,7 +298,7 @@ pub struct ResourceBindingPlacementClusterAffinitiesFieldSelector { /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingPlacementClusterAffinitiesFieldSelectorMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -315,7 +316,7 @@ pub struct ResourceBindingPlacementClusterAffinitiesFieldSelectorMatchExpression /// LabelSelector is a filter to select member clusters by labels. /// If non-nil and non-empty, only the clusters match this filter will be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingPlacementClusterAffinitiesLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -329,7 +330,7 @@ pub struct ResourceBindingPlacementClusterAffinitiesLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingPlacementClusterAffinitiesLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -349,7 +350,7 @@ pub struct ResourceBindingPlacementClusterAffinitiesLabelSelectorMatchExpression /// 1. ClusterAffinity can not co-exist with ClusterAffinities. /// 2. If both ClusterAffinity and ClusterAffinities are not set, any cluster /// can be scheduling candidates. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingPlacementClusterAffinity { /// ClusterNames is the list of clusters to be selected. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterNames")] @@ -373,7 +374,7 @@ pub struct ResourceBindingPlacementClusterAffinity { /// The key(field) of the match expression should be 'provider', 'region', or 'zone', /// and the operator of the match expression should be 'In' or 'NotIn'. /// If non-nil and non-empty, only the clusters match this filter will be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingPlacementClusterAffinityFieldSelector { /// A list of field selector requirements. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -382,7 +383,7 @@ pub struct ResourceBindingPlacementClusterAffinityFieldSelector { /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingPlacementClusterAffinityFieldSelectorMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -400,7 +401,7 @@ pub struct ResourceBindingPlacementClusterAffinityFieldSelectorMatchExpressions /// LabelSelector is a filter to select member clusters by labels. /// If non-nil and non-empty, only the clusters match this filter will be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingPlacementClusterAffinityLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -414,7 +415,7 @@ pub struct ResourceBindingPlacementClusterAffinityLabelSelector { /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingPlacementClusterAffinityLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -431,7 +432,7 @@ pub struct ResourceBindingPlacementClusterAffinityLabelSelectorMatchExpressions /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingPlacementClusterTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -461,7 +462,7 @@ pub struct ResourceBindingPlacementClusterTolerations { /// ReplicaScheduling represents the scheduling policy on dealing with the number of replicas /// when propagating resources that have replicas in spec (e.g. deployments, statefulsets) to member clusters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingPlacementReplicaScheduling { /// ReplicaDivisionPreference determines how the replicas is divided /// when ReplicaSchedulingType is "Divided". Valid options are Aggregated and Weighted. @@ -501,7 +502,7 @@ pub enum ResourceBindingPlacementReplicaSchedulingReplicaSchedulingType { /// WeightPreference describes weight for each cluster or for each group of cluster /// If ReplicaDivisionPreference is set to "Weighted", and WeightPreference is not set, scheduler will weight all clusters the same. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingPlacementReplicaSchedulingWeightPreference { /// DynamicWeight specifies the factor to generates dynamic weight list. /// If specified, StaticWeightList will be ignored. @@ -520,7 +521,7 @@ pub enum ResourceBindingPlacementReplicaSchedulingWeightPreferenceDynamicWeight } /// StaticClusterWeight defines the static cluster weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingPlacementReplicaSchedulingWeightPreferenceStaticWeightList { /// TargetCluster describes the filter to select clusters. #[serde(rename = "targetCluster")] @@ -530,7 +531,7 @@ pub struct ResourceBindingPlacementReplicaSchedulingWeightPreferenceStaticWeight } /// TargetCluster describes the filter to select clusters. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingPlacementReplicaSchedulingWeightPreferenceStaticWeightListTargetCluster { /// ClusterNames is the list of clusters to be selected. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clusterNames")] @@ -554,7 +555,7 @@ pub struct ResourceBindingPlacementReplicaSchedulingWeightPreferenceStaticWeight /// The key(field) of the match expression should be 'provider', 'region', or 'zone', /// and the operator of the match expression should be 'In' or 'NotIn'. /// If non-nil and non-empty, only the clusters match this filter will be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingPlacementReplicaSchedulingWeightPreferenceStaticWeightListTargetClusterFieldSelector { /// A list of field selector requirements. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -563,7 +564,7 @@ pub struct ResourceBindingPlacementReplicaSchedulingWeightPreferenceStaticWeight /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingPlacementReplicaSchedulingWeightPreferenceStaticWeightListTargetClusterFieldSelectorMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -581,7 +582,7 @@ pub struct ResourceBindingPlacementReplicaSchedulingWeightPreferenceStaticWeight /// LabelSelector is a filter to select member clusters by labels. /// If non-nil and non-empty, only the clusters match this filter will be selected. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingPlacementReplicaSchedulingWeightPreferenceStaticWeightListTargetClusterLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -595,7 +596,7 @@ pub struct ResourceBindingPlacementReplicaSchedulingWeightPreferenceStaticWeight /// A label selector requirement is a selector that contains values, a key, and an operator that /// relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingPlacementReplicaSchedulingWeightPreferenceStaticWeightListTargetClusterLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -611,7 +612,7 @@ pub struct ResourceBindingPlacementReplicaSchedulingWeightPreferenceStaticWeight } /// SpreadConstraint represents the spread constraints on resources. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingPlacementSpreadConstraints { /// MaxGroups restricts the maximum number of cluster groups to be selected. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxGroups")] @@ -650,7 +651,7 @@ pub enum ResourceBindingPlacementSpreadConstraintsSpreadByField { } /// ReplicaRequirements represents the requirements required by each replica. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingReplicaRequirements { /// Namespace represents the resources namespaces #[serde(default, skip_serializing_if = "Option::is_none")] @@ -667,7 +668,7 @@ pub struct ResourceBindingReplicaRequirements { } /// NodeClaim represents the node claim HardNodeAffinity, NodeSelector and Tolerations required by each replica. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingReplicaRequirementsNodeClaim { /// A node selector represents the union of the results of one or more label queries over a set of /// nodes; that is, it represents the OR of the selectors represented by the node selector terms. @@ -688,7 +689,7 @@ pub struct ResourceBindingReplicaRequirementsNodeClaim { /// nodes; that is, it represents the OR of the selectors represented by the node selector terms. /// Note that only PodSpec.Affinity.NodeAffinity.RequiredDuringSchedulingIgnoredDuringExecution /// is included here because it has a hard limit on pod scheduling. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingReplicaRequirementsNodeClaimHardNodeAffinity { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -698,7 +699,7 @@ pub struct ResourceBindingReplicaRequirementsNodeClaimHardNodeAffinity { /// A null or empty node selector term matches no objects. The requirements of /// them are ANDed. /// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingReplicaRequirementsNodeClaimHardNodeAffinityNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -710,7 +711,7 @@ pub struct ResourceBindingReplicaRequirementsNodeClaimHardNodeAffinityNodeSelect /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingReplicaRequirementsNodeClaimHardNodeAffinityNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -728,7 +729,7 @@ pub struct ResourceBindingReplicaRequirementsNodeClaimHardNodeAffinityNodeSelect /// A node selector requirement is a selector that contains values, a key, and an operator /// that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingReplicaRequirementsNodeClaimHardNodeAffinityNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -746,7 +747,7 @@ pub struct ResourceBindingReplicaRequirementsNodeClaimHardNodeAffinityNodeSelect /// The pod this Toleration is attached to tolerates any taint that matches /// the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingReplicaRequirementsNodeClaimTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. /// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. @@ -775,7 +776,7 @@ pub struct ResourceBindingReplicaRequirementsNodeClaimTolerations { } /// BindingSnapshot is a snapshot of a ResourceBinding or ClusterResourceBinding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingRequiredBy { /// Clusters represents the scheduled result. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -790,7 +791,7 @@ pub struct ResourceBindingRequiredBy { } /// TargetCluster represents the identifier of a member cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingRequiredByClusters { /// Name of target cluster. pub name: String, @@ -800,7 +801,7 @@ pub struct ResourceBindingRequiredByClusters { } /// Resource represents the Kubernetes resource to be propagated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingResource { /// APIVersion represents the API version of the referent. #[serde(rename = "apiVersion")] @@ -825,7 +826,7 @@ pub struct ResourceBindingResource { } /// Status represents the most recently observed status of the ResourceBinding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingStatus { /// AggregatedStatus represents status list of the resource running in each member cluster. #[serde(default, skip_serializing_if = "Option::is_none", rename = "aggregatedStatus")] @@ -849,7 +850,7 @@ pub struct ResourceBindingStatus { } /// AggregatedStatusItem represents status of the resource running in a member cluster. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ResourceBindingStatusAggregatedStatus { /// Applied represents if the resource referencing by ResourceBinding or ClusterResourceBinding /// is successfully applied on the cluster. diff --git a/kube-custom-resources-rs/src/workload_codeflare_dev/v1beta1/appwrappers.rs b/kube-custom-resources-rs/src/workload_codeflare_dev/v1beta1/appwrappers.rs index 311f1e056..a7652a54c 100644 --- a/kube-custom-resources-rs/src/workload_codeflare_dev/v1beta1/appwrappers.rs +++ b/kube-custom-resources-rs/src/workload_codeflare_dev/v1beta1/appwrappers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/project-codeflare/codeflare-operator/workload.codeflare.dev/v1beta1/appwrappers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/project-codeflare/codeflare-operator/workload.codeflare.dev/v1beta1/appwrappers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/workload_codeflare_dev/v1beta1/schedulingspecs.rs b/kube-custom-resources-rs/src/workload_codeflare_dev/v1beta1/schedulingspecs.rs index 37968102e..4cde42b13 100644 --- a/kube-custom-resources-rs/src/workload_codeflare_dev/v1beta1/schedulingspecs.rs +++ b/kube-custom-resources-rs/src/workload_codeflare_dev/v1beta1/schedulingspecs.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/project-codeflare/codeflare-operator/workload.codeflare.dev/v1beta1/schedulingspecs.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/project-codeflare/codeflare-operator/workload.codeflare.dev/v1beta1/schedulingspecs.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/workload_codeflare_dev/v1beta2/appwrappers.rs b/kube-custom-resources-rs/src/workload_codeflare_dev/v1beta2/appwrappers.rs index 317d7fed3..3dc068dcf 100644 --- a/kube-custom-resources-rs/src/workload_codeflare_dev/v1beta2/appwrappers.rs +++ b/kube-custom-resources-rs/src/workload_codeflare_dev/v1beta2/appwrappers.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/project-codeflare/codeflare-operator/workload.codeflare.dev/v1beta2/appwrappers.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/project-codeflare/codeflare-operator/workload.codeflare.dev/v1beta2/appwrappers.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/workloads_kubeblocks_io/v1alpha1/instancesets.rs b/kube-custom-resources-rs/src/workloads_kubeblocks_io/v1alpha1/instancesets.rs index 17f07e357..8f9053498 100644 --- a/kube-custom-resources-rs/src/workloads_kubeblocks_io/v1alpha1/instancesets.rs +++ b/kube-custom-resources-rs/src/workloads_kubeblocks_io/v1alpha1/instancesets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/workloads.kubeblocks.io/v1alpha1/instancesets.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/workloads.kubeblocks.io/v1alpha1/instancesets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// Defines the desired state of the state machine. It includes the configuration details for the state machine. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "workloads.kubeblocks.io", version = "v1alpha1", kind = "InstanceSet", plural = "instancesets")] #[kube(namespaced)] #[kube(status = "InstanceSetStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct InstanceSetSpec { /// Credential used to connect to DB engine @@ -80,7 +81,7 @@ pub struct InstanceSetSpec { } /// Credential used to connect to DB engine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetCredential { /// Represents the user's password for the credential. The corresponding environment variable will be KB_ITS_PASSWORD. pub password: InstanceSetCredentialPassword, @@ -89,7 +90,7 @@ pub struct InstanceSetCredential { } /// Represents the user's password for the credential. The corresponding environment variable will be KB_ITS_PASSWORD. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetCredentialPassword { /// Specifies the value of the environment variable. This field is optional and defaults to an empty string. The value can include variable references in the format $(VAR_NAME) which will be expanded using previously defined environment variables in the container and any service environment variables. /// If a variable cannot be resolved, the reference in the input string will remain unchanged. Double $$ can be used to escape the $(VAR_NAME) syntax, resulting in a single $ and producing the string literal "$(VAR_NAME)". Escaped references will not be expanded, regardless of whether the variable exists or not. @@ -101,7 +102,7 @@ pub struct InstanceSetCredentialPassword { } /// Defines the source for the environment variable's value. This field is optional and cannot be used if the 'Value' field is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetCredentialPasswordValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -118,7 +119,7 @@ pub struct InstanceSetCredentialPasswordValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetCredentialPasswordValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -131,7 +132,7 @@ pub struct InstanceSetCredentialPasswordValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetCredentialPasswordValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -142,7 +143,7 @@ pub struct InstanceSetCredentialPasswordValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetCredentialPasswordValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -155,7 +156,7 @@ pub struct InstanceSetCredentialPasswordValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetCredentialPasswordValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -168,7 +169,7 @@ pub struct InstanceSetCredentialPasswordValueFromSecretKeyRef { } /// Defines the user's name for the credential. The corresponding environment variable will be KB_ITS_USERNAME. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetCredentialUsername { /// Specifies the value of the environment variable. This field is optional and defaults to an empty string. The value can include variable references in the format $(VAR_NAME) which will be expanded using previously defined environment variables in the container and any service environment variables. /// If a variable cannot be resolved, the reference in the input string will remain unchanged. Double $$ can be used to escape the $(VAR_NAME) syntax, resulting in a single $ and producing the string literal "$(VAR_NAME)". Escaped references will not be expanded, regardless of whether the variable exists or not. @@ -180,7 +181,7 @@ pub struct InstanceSetCredentialUsername { } /// Defines the source for the environment variable's value. This field is optional and cannot be used if the 'Value' field is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetCredentialUsernameValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -197,7 +198,7 @@ pub struct InstanceSetCredentialUsernameValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetCredentialUsernameValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -210,7 +211,7 @@ pub struct InstanceSetCredentialUsernameValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetCredentialUsernameValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -221,7 +222,7 @@ pub struct InstanceSetCredentialUsernameValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetCredentialUsernameValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -234,7 +235,7 @@ pub struct InstanceSetCredentialUsernameValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetCredentialUsernameValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -247,7 +248,7 @@ pub struct InstanceSetCredentialUsernameValueFromSecretKeyRef { } /// InstanceTemplate allows customization of individual replica configurations within a Component, without altering the base component template defined in ClusterComponentSpec. It enables the application of distinct settings to specific instances (replicas), providing flexibility while maintaining a common configuration baseline. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstances { /// Specifies a map of key-value pairs to be merged into the Pod's existing annotations. Existing keys will have their values overwritten, while new keys will be added to the annotations. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -291,7 +292,7 @@ pub struct InstanceSetInstances { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -304,7 +305,7 @@ pub struct InstanceSetInstancesEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -321,7 +322,7 @@ pub struct InstanceSetInstancesEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -334,7 +335,7 @@ pub struct InstanceSetInstancesEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -345,7 +346,7 @@ pub struct InstanceSetInstancesEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -358,7 +359,7 @@ pub struct InstanceSetInstancesEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -371,7 +372,7 @@ pub struct InstanceSetInstancesEnvValueFromSecretKeyRef { } /// Specifies an override for the resource requirements of the first container in the Pod. This field allows for customizing resource allocation (CPU, memory, etc.) for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -387,14 +388,14 @@ pub struct InstanceSetInstancesResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -414,7 +415,7 @@ pub struct InstanceSetInstancesTolerations { } /// PersistentVolumeClaim is a user's request for and claim to a persistent volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumeClaimTemplates { /// 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 #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -434,7 +435,7 @@ pub struct InstanceSetInstancesVolumeClaimTemplates { } /// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumeClaimTemplatesMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -449,7 +450,7 @@ pub struct InstanceSetInstancesVolumeClaimTemplatesMetadata { } /// spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumeClaimTemplatesSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -478,7 +479,7 @@ pub struct InstanceSetInstancesVolumeClaimTemplatesSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumeClaimTemplatesSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -490,7 +491,7 @@ pub struct InstanceSetInstancesVolumeClaimTemplatesSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumeClaimTemplatesSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -505,7 +506,7 @@ pub struct InstanceSetInstancesVolumeClaimTemplatesSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumeClaimTemplatesSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -521,14 +522,14 @@ pub struct InstanceSetInstancesVolumeClaimTemplatesSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumeClaimTemplatesSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumeClaimTemplatesSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -539,7 +540,7 @@ pub struct InstanceSetInstancesVolumeClaimTemplatesSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumeClaimTemplatesSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -551,7 +552,7 @@ pub struct InstanceSetInstancesVolumeClaimTemplatesSpecSelectorMatchExpressions } /// status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumeClaimTemplatesStatus { /// accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -580,7 +581,7 @@ pub struct InstanceSetInstancesVolumeClaimTemplatesStatus { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -602,7 +603,7 @@ pub struct InstanceSetInstancesVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -700,7 +701,7 @@ pub struct InstanceSetInstancesVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -717,7 +718,7 @@ pub struct InstanceSetInstancesVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -740,7 +741,7 @@ pub struct InstanceSetInstancesVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -754,7 +755,7 @@ pub struct InstanceSetInstancesVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -776,7 +777,7 @@ pub struct InstanceSetInstancesVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -784,7 +785,7 @@ pub struct InstanceSetInstancesVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -801,7 +802,7 @@ pub struct InstanceSetInstancesVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -809,7 +810,7 @@ pub struct InstanceSetInstancesVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -826,7 +827,7 @@ pub struct InstanceSetInstancesVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -838,7 +839,7 @@ pub struct InstanceSetInstancesVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -857,7 +858,7 @@ pub struct InstanceSetInstancesVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -865,7 +866,7 @@ pub struct InstanceSetInstancesVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -876,7 +877,7 @@ pub struct InstanceSetInstancesVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -892,7 +893,7 @@ pub struct InstanceSetInstancesVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -903,7 +904,7 @@ pub struct InstanceSetInstancesVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -916,7 +917,7 @@ pub struct InstanceSetInstancesVolumesDownwardApiItemsResourceFieldRef { } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -931,7 +932,7 @@ pub struct InstanceSetInstancesVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -945,7 +946,7 @@ pub struct InstanceSetInstancesVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -955,7 +956,7 @@ pub struct InstanceSetInstancesVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -970,7 +971,7 @@ pub struct InstanceSetInstancesVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -999,7 +1000,7 @@ pub struct InstanceSetInstancesVolumesEphemeralVolumeClaimTemplateSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1011,7 +1012,7 @@ pub struct InstanceSetInstancesVolumesEphemeralVolumeClaimTemplateSpecDataSource } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1026,7 +1027,7 @@ pub struct InstanceSetInstancesVolumesEphemeralVolumeClaimTemplateSpecDataSource } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1042,14 +1043,14 @@ pub struct InstanceSetInstancesVolumesEphemeralVolumeClaimTemplateSpecResources } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1060,7 +1061,7 @@ pub struct InstanceSetInstancesVolumesEphemeralVolumeClaimTemplateSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1072,7 +1073,7 @@ pub struct InstanceSetInstancesVolumesEphemeralVolumeClaimTemplateSpecSelectorMa } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1092,7 +1093,7 @@ pub struct InstanceSetInstancesVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -1111,7 +1112,7 @@ pub struct InstanceSetInstancesVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1119,7 +1120,7 @@ pub struct InstanceSetInstancesVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -1130,7 +1131,7 @@ pub struct InstanceSetInstancesVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1147,7 +1148,7 @@ pub struct InstanceSetInstancesVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1160,7 +1161,7 @@ pub struct InstanceSetInstancesVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -1172,7 +1173,7 @@ pub struct InstanceSetInstancesVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -1182,7 +1183,7 @@ pub struct InstanceSetInstancesVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -1218,7 +1219,7 @@ pub struct InstanceSetInstancesVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1226,7 +1227,7 @@ pub struct InstanceSetInstancesVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -1238,7 +1239,7 @@ pub struct InstanceSetInstancesVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -1249,7 +1250,7 @@ pub struct InstanceSetInstancesVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1260,7 +1261,7 @@ pub struct InstanceSetInstancesVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1274,7 +1275,7 @@ pub struct InstanceSetInstancesVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1285,7 +1286,7 @@ pub struct InstanceSetInstancesVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1302,7 +1303,7 @@ pub struct InstanceSetInstancesVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1316,7 +1317,7 @@ pub struct InstanceSetInstancesVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -1328,7 +1329,7 @@ pub struct InstanceSetInstancesVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1336,7 +1337,7 @@ pub struct InstanceSetInstancesVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -1352,7 +1353,7 @@ pub struct InstanceSetInstancesVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1363,7 +1364,7 @@ pub struct InstanceSetInstancesVolumesProjectedSourcesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1376,7 +1377,7 @@ pub struct InstanceSetInstancesVolumesProjectedSourcesDownwardApiItemsResourceFi } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1390,7 +1391,7 @@ pub struct InstanceSetInstancesVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -1402,7 +1403,7 @@ pub struct InstanceSetInstancesVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1415,7 +1416,7 @@ pub struct InstanceSetInstancesVolumesProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1436,7 +1437,7 @@ pub struct InstanceSetInstancesVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1463,7 +1464,7 @@ pub struct InstanceSetInstancesVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1471,7 +1472,7 @@ pub struct InstanceSetInstancesVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1504,7 +1505,7 @@ pub struct InstanceSetInstancesVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1512,7 +1513,7 @@ pub struct InstanceSetInstancesVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1529,7 +1530,7 @@ pub struct InstanceSetInstancesVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesSecretItems { /// key is the key to project. pub key: String, @@ -1541,7 +1542,7 @@ pub struct InstanceSetInstancesVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1561,7 +1562,7 @@ pub struct InstanceSetInstancesVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1569,7 +1570,7 @@ pub struct InstanceSetInstancesVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetInstancesVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1594,7 +1595,7 @@ pub enum InstanceSetMemberUpdateStrategy { } /// Provides actions to do membership dynamic reconfiguration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetMembershipReconfiguration { /// Defines the action to trigger the new member to start log syncing. If the Image is not configured, the Image from the previous non-nil action will be used. #[serde(default, skip_serializing_if = "Option::is_none", rename = "logSyncAction")] @@ -1615,7 +1616,7 @@ pub struct InstanceSetMembershipReconfiguration { } /// Defines the action to trigger the new member to start log syncing. If the Image is not configured, the Image from the previous non-nil action will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetMembershipReconfigurationLogSyncAction { /// Additional parameters used to perform specific statements. This field is optional. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1628,7 +1629,7 @@ pub struct InstanceSetMembershipReconfigurationLogSyncAction { } /// Defines the action to add a member. If the Image is not configured, the Image from the previous non-nil action will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetMembershipReconfigurationMemberJoinAction { /// Additional parameters used to perform specific statements. This field is optional. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1641,7 +1642,7 @@ pub struct InstanceSetMembershipReconfigurationMemberJoinAction { } /// Defines the action to remove a member. If the Image is not configured, the Image from the previous non-nil action will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetMembershipReconfigurationMemberLeaveAction { /// Additional parameters used to perform specific statements. This field is optional. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1654,7 +1655,7 @@ pub struct InstanceSetMembershipReconfigurationMemberLeaveAction { } /// Defines the action to inform the cluster that the new member can join voting now. If the Image is not configured, the Image from the previous non-nil action will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetMembershipReconfigurationPromoteAction { /// Additional parameters used to perform specific statements. This field is optional. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1668,7 +1669,7 @@ pub struct InstanceSetMembershipReconfigurationPromoteAction { /// Specifies the environment variables that can be used in all following Actions: - KB_ITS_USERNAME: Represents the username part of the credential - KB_ITS_PASSWORD: Represents the password part of the credential - KB_ITS_LEADER_HOST: Represents the leader host - KB_ITS_TARGET_HOST: Represents the target host - KB_ITS_SERVICE_PORT: Represents the service port /// Defines the action to perform a switchover. If the Image is not configured, the latest [BusyBox](https://busybox.net/) image will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetMembershipReconfigurationSwitchoverAction { /// Additional parameters used to perform specific statements. This field is optional. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1681,7 +1682,7 @@ pub struct InstanceSetMembershipReconfigurationSwitchoverAction { } /// Provides method to probe role. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetRoleProbe { /// Specifies the builtin handler name to use to probe the role of the main container. Available handlers include: mysql, postgres, mongodb, redis, etcd, kafka. Use CustomHandler to define a custom role probe function if none of the built-in handlers meet the requirement. #[serde(default, skip_serializing_if = "Option::is_none", rename = "builtinHandlerName")] @@ -1709,7 +1710,7 @@ pub struct InstanceSetRoleProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetRoleProbeCustomHandler { /// Additional parameters used to perform specific statements. This field is optional. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1752,7 +1753,7 @@ pub enum InstanceSetRolesAccessMode { } /// Represents a label query over pods that should match the desired replica count indicated by the `replica` field. It must match the labels defined in the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1763,7 +1764,7 @@ pub struct InstanceSetSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1776,7 +1777,7 @@ pub struct InstanceSetSelectorMatchExpressions { /// Defines the behavior of a service spec. Provides read-write service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status /// Note: This field will be removed in future version. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetService { /// 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 #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1796,7 +1797,7 @@ pub struct InstanceSetService { } /// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetServiceMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -1811,7 +1812,7 @@ pub struct InstanceSetServiceMetadata { } /// Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetServiceSpec { /// allocateLoadBalancerNodePorts defines if NodePorts will be automatically allocated for services with type LoadBalancer. Default is "true". It may be set to "false" if the cluster load-balancer does not rely on NodePorts. If the caller requests specific NodePorts (by specifying a value), those requests will be respected, regardless of this field. This field may only be set for services with type LoadBalancer and will be cleared if the type is changed to any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] @@ -1875,7 +1876,7 @@ pub struct InstanceSetServiceSpec { } /// ServicePort contains information on service's port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetServiceSpecPorts { /// The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either: /// * Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). @@ -1900,7 +1901,7 @@ pub struct InstanceSetServiceSpecPorts { } /// sessionAffinityConfig contains the configurations of session affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetServiceSpecSessionAffinityConfig { /// clientIP contains the configurations of Client IP based session affinity. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] @@ -1908,7 +1909,7 @@ pub struct InstanceSetServiceSpecSessionAffinityConfig { } /// clientIP contains the configurations of Client IP based session affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetServiceSpecSessionAffinityConfigClientIp { /// timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". Default value is 10800(for 3 hours). #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] @@ -1916,7 +1917,7 @@ pub struct InstanceSetServiceSpecSessionAffinityConfigClientIp { } /// Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetServiceStatus { /// Current service state #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1927,7 +1928,7 @@ pub struct InstanceSetServiceStatus { } /// LoadBalancer contains the current status of the load-balancer, if one is present. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetServiceStatusLoadBalancer { /// Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1935,7 +1936,7 @@ pub struct InstanceSetServiceStatusLoadBalancer { } /// LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetServiceStatusLoadBalancerIngress { /// Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1948,7 +1949,7 @@ pub struct InstanceSetServiceStatusLoadBalancerIngress { pub ports: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetServiceStatusLoadBalancerIngressPorts { /// Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names - cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase. --- The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1960,7 +1961,7 @@ pub struct InstanceSetServiceStatusLoadBalancerIngressPorts { } /// PodTemplateSpec describes the data a pod should have when created from a template -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplate { /// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1971,7 +1972,7 @@ pub struct InstanceSetTemplate { } /// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -1986,7 +1987,7 @@ pub struct InstanceSetTemplateMetadata { } /// Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpec { /// Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer. #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] @@ -2113,7 +2114,7 @@ pub struct InstanceSetTemplateSpec { } /// If specified, the pod's scheduling constraints -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -2127,7 +2128,7 @@ pub struct InstanceSetTemplateSpecAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -2138,7 +2139,7 @@ pub struct InstanceSetTemplateSpecAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: InstanceSetTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -2147,7 +2148,7 @@ pub struct InstanceSetTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingI } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2158,7 +2159,7 @@ pub struct InstanceSetTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingI } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -2170,7 +2171,7 @@ pub struct InstanceSetTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingI } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -2182,7 +2183,7 @@ pub struct InstanceSetTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingI } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -2190,7 +2191,7 @@ pub struct InstanceSetTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIg } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2201,7 +2202,7 @@ pub struct InstanceSetTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIg } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -2213,7 +2214,7 @@ pub struct InstanceSetTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIg } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -2225,7 +2226,7 @@ pub struct InstanceSetTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIg } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -2236,7 +2237,7 @@ pub struct InstanceSetTemplateSpecAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -2246,7 +2247,7 @@ pub struct InstanceSetTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIg } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2263,7 +2264,7 @@ pub struct InstanceSetTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIg } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2274,7 +2275,7 @@ pub struct InstanceSetTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIg } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2286,7 +2287,7 @@ pub struct InstanceSetTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIg } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2297,7 +2298,7 @@ pub struct InstanceSetTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIg } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2309,7 +2310,7 @@ pub struct InstanceSetTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIg } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2326,7 +2327,7 @@ pub struct InstanceSetTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgn } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2337,7 +2338,7 @@ pub struct InstanceSetTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgn } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2349,7 +2350,7 @@ pub struct InstanceSetTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgn } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2360,7 +2361,7 @@ pub struct InstanceSetTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgn } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2372,7 +2373,7 @@ pub struct InstanceSetTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgn } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -2383,7 +2384,7 @@ pub struct InstanceSetTemplateSpecAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -2393,7 +2394,7 @@ pub struct InstanceSetTemplateSpecAffinityPodAntiAffinityPreferredDuringScheduli } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2410,7 +2411,7 @@ pub struct InstanceSetTemplateSpecAffinityPodAntiAffinityPreferredDuringScheduli } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2421,7 +2422,7 @@ pub struct InstanceSetTemplateSpecAffinityPodAntiAffinityPreferredDuringScheduli } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2433,7 +2434,7 @@ pub struct InstanceSetTemplateSpecAffinityPodAntiAffinityPreferredDuringScheduli } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2444,7 +2445,7 @@ pub struct InstanceSetTemplateSpecAffinityPodAntiAffinityPreferredDuringScheduli } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2456,7 +2457,7 @@ pub struct InstanceSetTemplateSpecAffinityPodAntiAffinityPreferredDuringScheduli } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2473,7 +2474,7 @@ pub struct InstanceSetTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulin } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2484,7 +2485,7 @@ pub struct InstanceSetTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2496,7 +2497,7 @@ pub struct InstanceSetTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulin } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2507,7 +2508,7 @@ pub struct InstanceSetTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulin } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2519,7 +2520,7 @@ pub struct InstanceSetTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulin } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainers { /// Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2595,7 +2596,7 @@ pub struct InstanceSetTemplateSpecContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -2608,7 +2609,7 @@ pub struct InstanceSetTemplateSpecContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -2625,7 +2626,7 @@ pub struct InstanceSetTemplateSpecContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -2638,7 +2639,7 @@ pub struct InstanceSetTemplateSpecContainersEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2649,7 +2650,7 @@ pub struct InstanceSetTemplateSpecContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2662,7 +2663,7 @@ pub struct InstanceSetTemplateSpecContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2675,7 +2676,7 @@ pub struct InstanceSetTemplateSpecContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -2689,7 +2690,7 @@ pub struct InstanceSetTemplateSpecContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2700,7 +2701,7 @@ pub struct InstanceSetTemplateSpecContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2711,7 +2712,7 @@ pub struct InstanceSetTemplateSpecContainersEnvFromSecretRef { } /// Actions that the management system should take in response to container lifecycle events. Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -2722,7 +2723,7 @@ pub struct InstanceSetTemplateSpecContainersLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2736,7 +2737,7 @@ pub struct InstanceSetTemplateSpecContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2744,7 +2745,7 @@ pub struct InstanceSetTemplateSpecContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2763,7 +2764,7 @@ pub struct InstanceSetTemplateSpecContainersLifecyclePostStartHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2772,7 +2773,7 @@ pub struct InstanceSetTemplateSpecContainersLifecyclePostStartHttpGetHttpHeaders } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2782,7 +2783,7 @@ pub struct InstanceSetTemplateSpecContainersLifecyclePostStartTcpSocket { } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2796,7 +2797,7 @@ pub struct InstanceSetTemplateSpecContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2804,7 +2805,7 @@ pub struct InstanceSetTemplateSpecContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2823,7 +2824,7 @@ pub struct InstanceSetTemplateSpecContainersLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2832,7 +2833,7 @@ pub struct InstanceSetTemplateSpecContainersLifecyclePreStopHttpGetHttpHeaders { } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2842,7 +2843,7 @@ pub struct InstanceSetTemplateSpecContainersLifecyclePreStopTcpSocket { } /// Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2877,7 +2878,7 @@ pub struct InstanceSetTemplateSpecContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2885,7 +2886,7 @@ pub struct InstanceSetTemplateSpecContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -2896,7 +2897,7 @@ pub struct InstanceSetTemplateSpecContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2915,7 +2916,7 @@ pub struct InstanceSetTemplateSpecContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2924,7 +2925,7 @@ pub struct InstanceSetTemplateSpecContainersLivenessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2934,7 +2935,7 @@ pub struct InstanceSetTemplateSpecContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -2954,7 +2955,7 @@ pub struct InstanceSetTemplateSpecContainersPorts { } /// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2989,7 +2990,7 @@ pub struct InstanceSetTemplateSpecContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2997,7 +2998,7 @@ pub struct InstanceSetTemplateSpecContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3008,7 +3009,7 @@ pub struct InstanceSetTemplateSpecContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3027,7 +3028,7 @@ pub struct InstanceSetTemplateSpecContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -3036,7 +3037,7 @@ pub struct InstanceSetTemplateSpecContainersReadinessProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3046,7 +3047,7 @@ pub struct InstanceSetTemplateSpecContainersReadinessProbeTcpSocket { } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. #[serde(rename = "resourceName")] @@ -3057,7 +3058,7 @@ pub struct InstanceSetTemplateSpecContainersResizePolicy { } /// Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -3073,14 +3074,14 @@ pub struct InstanceSetTemplateSpecContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -3118,7 +3119,7 @@ pub struct InstanceSetTemplateSpecContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3129,7 +3130,7 @@ pub struct InstanceSetTemplateSpecContainersSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3146,7 +3147,7 @@ pub struct InstanceSetTemplateSpecContainersSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -3158,7 +3159,7 @@ pub struct InstanceSetTemplateSpecContainersSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -3175,7 +3176,7 @@ pub struct InstanceSetTemplateSpecContainersSecurityContextWindowsOptions { } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3210,7 +3211,7 @@ pub struct InstanceSetTemplateSpecContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3218,7 +3219,7 @@ pub struct InstanceSetTemplateSpecContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3229,7 +3230,7 @@ pub struct InstanceSetTemplateSpecContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3248,7 +3249,7 @@ pub struct InstanceSetTemplateSpecContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersStartupProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -3257,7 +3258,7 @@ pub struct InstanceSetTemplateSpecContainersStartupProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3267,7 +3268,7 @@ pub struct InstanceSetTemplateSpecContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -3277,7 +3278,7 @@ pub struct InstanceSetTemplateSpecContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -3299,7 +3300,7 @@ pub struct InstanceSetTemplateSpecContainersVolumeMounts { } /// Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecDnsConfig { /// A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3313,7 +3314,7 @@ pub struct InstanceSetTemplateSpecDnsConfig { } /// PodDNSConfigOption defines DNS resolver options of a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecDnsConfigOptions { /// Required. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3324,7 +3325,7 @@ pub struct InstanceSetTemplateSpecDnsConfigOptions { /// An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation. /// To add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainers { /// Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3404,7 +3405,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -3417,7 +3418,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -3434,7 +3435,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -3447,7 +3448,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersEnvValueFromConfigMapKeyRef } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3458,7 +3459,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -3471,7 +3472,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersEnvValueFromResourceFieldRe } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3484,7 +3485,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -3498,7 +3499,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3509,7 +3510,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3520,7 +3521,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersEnvFromSecretRef { } /// Lifecycle is not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -3531,7 +3532,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3545,7 +3546,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3553,7 +3554,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3572,7 +3573,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersLifecyclePostStartHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -3581,7 +3582,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersLifecyclePostStartHttpGetHt } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3591,7 +3592,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersLifecyclePostStartTcpSocket } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3605,7 +3606,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3613,7 +3614,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3632,7 +3633,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -3641,7 +3642,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersLifecyclePreStopHttpGetHttp } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3651,7 +3652,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersLifecyclePreStopTcpSocket { } /// Probes are not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3686,7 +3687,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3694,7 +3695,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3705,7 +3706,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3724,7 +3725,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -3733,7 +3734,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersLivenessProbeHttpGetHttpHea } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3743,7 +3744,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -3763,7 +3764,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersPorts { } /// Probes are not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3798,7 +3799,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3806,7 +3807,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3817,7 +3818,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3836,7 +3837,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -3845,7 +3846,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersReadinessProbeHttpGetHttpHe } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3855,7 +3856,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersReadinessProbeTcpSocket { } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. #[serde(rename = "resourceName")] @@ -3866,7 +3867,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersResizePolicy { } /// Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -3882,14 +3883,14 @@ pub struct InstanceSetTemplateSpecEphemeralContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// Optional: SecurityContext defines the security options the ephemeral container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -3927,7 +3928,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3938,7 +3939,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersSecurityContextCapabilities } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3955,7 +3956,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersSecurityContextSeLinuxOptio } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -3967,7 +3968,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersSecurityContextSeccompProfi } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -3984,7 +3985,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersSecurityContextWindowsOptio } /// Probes are not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4019,7 +4020,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4027,7 +4028,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4038,7 +4039,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4057,7 +4058,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersStartupProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -4066,7 +4067,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersStartupProbeHttpGetHttpHead } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4076,7 +4077,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -4086,7 +4087,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecEphemeralContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -4108,7 +4109,7 @@ pub struct InstanceSetTemplateSpecEphemeralContainersVolumeMounts { } /// HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecHostAliases { /// Hostnames for the above IP address. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4119,7 +4120,7 @@ pub struct InstanceSetTemplateSpecHostAliases { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecImagePullSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4127,7 +4128,7 @@ pub struct InstanceSetTemplateSpecImagePullSecrets { } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainers { /// Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4203,7 +4204,7 @@ pub struct InstanceSetTemplateSpecInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -4216,7 +4217,7 @@ pub struct InstanceSetTemplateSpecInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -4233,7 +4234,7 @@ pub struct InstanceSetTemplateSpecInitContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -4246,7 +4247,7 @@ pub struct InstanceSetTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4257,7 +4258,7 @@ pub struct InstanceSetTemplateSpecInitContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -4270,7 +4271,7 @@ pub struct InstanceSetTemplateSpecInitContainersEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4283,7 +4284,7 @@ pub struct InstanceSetTemplateSpecInitContainersEnvValueFromSecretKeyRef { } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -4297,7 +4298,7 @@ pub struct InstanceSetTemplateSpecInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4308,7 +4309,7 @@ pub struct InstanceSetTemplateSpecInitContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4319,7 +4320,7 @@ pub struct InstanceSetTemplateSpecInitContainersEnvFromSecretRef { } /// Actions that the management system should take in response to container lifecycle events. Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -4330,7 +4331,7 @@ pub struct InstanceSetTemplateSpecInitContainersLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4344,7 +4345,7 @@ pub struct InstanceSetTemplateSpecInitContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4352,7 +4353,7 @@ pub struct InstanceSetTemplateSpecInitContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4371,7 +4372,7 @@ pub struct InstanceSetTemplateSpecInitContainersLifecyclePostStartHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -4380,7 +4381,7 @@ pub struct InstanceSetTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHea } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4390,7 +4391,7 @@ pub struct InstanceSetTemplateSpecInitContainersLifecyclePostStartTcpSocket { } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4404,7 +4405,7 @@ pub struct InstanceSetTemplateSpecInitContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4412,7 +4413,7 @@ pub struct InstanceSetTemplateSpecInitContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4431,7 +4432,7 @@ pub struct InstanceSetTemplateSpecInitContainersLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -4440,7 +4441,7 @@ pub struct InstanceSetTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeade } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4450,7 +4451,7 @@ pub struct InstanceSetTemplateSpecInitContainersLifecyclePreStopTcpSocket { } /// Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4485,7 +4486,7 @@ pub struct InstanceSetTemplateSpecInitContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4493,7 +4494,7 @@ pub struct InstanceSetTemplateSpecInitContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4504,7 +4505,7 @@ pub struct InstanceSetTemplateSpecInitContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4523,7 +4524,7 @@ pub struct InstanceSetTemplateSpecInitContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -4532,7 +4533,7 @@ pub struct InstanceSetTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4542,7 +4543,7 @@ pub struct InstanceSetTemplateSpecInitContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -4562,7 +4563,7 @@ pub struct InstanceSetTemplateSpecInitContainersPorts { } /// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4597,7 +4598,7 @@ pub struct InstanceSetTemplateSpecInitContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4605,7 +4606,7 @@ pub struct InstanceSetTemplateSpecInitContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4616,7 +4617,7 @@ pub struct InstanceSetTemplateSpecInitContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4635,7 +4636,7 @@ pub struct InstanceSetTemplateSpecInitContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -4644,7 +4645,7 @@ pub struct InstanceSetTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4654,7 +4655,7 @@ pub struct InstanceSetTemplateSpecInitContainersReadinessProbeTcpSocket { } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. #[serde(rename = "resourceName")] @@ -4665,7 +4666,7 @@ pub struct InstanceSetTemplateSpecInitContainersResizePolicy { } /// Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -4681,14 +4682,14 @@ pub struct InstanceSetTemplateSpecInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -4726,7 +4727,7 @@ pub struct InstanceSetTemplateSpecInitContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4737,7 +4738,7 @@ pub struct InstanceSetTemplateSpecInitContainersSecurityContextCapabilities { } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4754,7 +4755,7 @@ pub struct InstanceSetTemplateSpecInitContainersSecurityContextSeLinuxOptions { } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -4766,7 +4767,7 @@ pub struct InstanceSetTemplateSpecInitContainersSecurityContextSeccompProfile { } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -4783,7 +4784,7 @@ pub struct InstanceSetTemplateSpecInitContainersSecurityContextWindowsOptions { } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4818,7 +4819,7 @@ pub struct InstanceSetTemplateSpecInitContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4826,7 +4827,7 @@ pub struct InstanceSetTemplateSpecInitContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4837,7 +4838,7 @@ pub struct InstanceSetTemplateSpecInitContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4856,7 +4857,7 @@ pub struct InstanceSetTemplateSpecInitContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -4865,7 +4866,7 @@ pub struct InstanceSetTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4875,7 +4876,7 @@ pub struct InstanceSetTemplateSpecInitContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -4885,7 +4886,7 @@ pub struct InstanceSetTemplateSpecInitContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -4909,14 +4910,14 @@ pub struct InstanceSetTemplateSpecInitContainersVolumeMounts { /// Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set. /// If the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions /// If the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecOs { /// Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null pub name: String, } /// PodReadinessGate contains the reference to a pod condition -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecReadinessGates { /// ConditionType refers to a condition in the pod's condition list with matching type. #[serde(rename = "conditionType")] @@ -4924,7 +4925,7 @@ pub struct InstanceSetTemplateSpecReadinessGates { } /// PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecResourceClaims { /// Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL. pub name: String, @@ -4934,7 +4935,7 @@ pub struct InstanceSetTemplateSpecResourceClaims { } /// Source describes where to find the ResourceClaim. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecResourceClaimsSource { /// ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceClaimName")] @@ -4947,14 +4948,14 @@ pub struct InstanceSetTemplateSpecResourceClaimsSource { } /// PodSchedulingGate is associated to a Pod to guard its scheduling. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecSchedulingGates { /// Name of the scheduling gate. Each scheduling gate must have a unique name field. pub name: String, } /// SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -4991,7 +4992,7 @@ pub struct InstanceSetTemplateSpecSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5008,7 +5009,7 @@ pub struct InstanceSetTemplateSpecSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -5020,7 +5021,7 @@ pub struct InstanceSetTemplateSpecSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -5029,7 +5030,7 @@ pub struct InstanceSetTemplateSpecSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -5046,7 +5047,7 @@ pub struct InstanceSetTemplateSpecSecurityContextWindowsOptions { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5066,7 +5067,7 @@ pub struct InstanceSetTemplateSpecTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecTopologySpreadConstraints { /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -5100,7 +5101,7 @@ pub struct InstanceSetTemplateSpecTopologySpreadConstraints { } /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5111,7 +5112,7 @@ pub struct InstanceSetTemplateSpecTopologySpreadConstraintsLabelSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5123,7 +5124,7 @@ pub struct InstanceSetTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExp } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -5221,7 +5222,7 @@ pub struct InstanceSetTemplateSpecVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5238,7 +5239,7 @@ pub struct InstanceSetTemplateSpecVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -5261,7 +5262,7 @@ pub struct InstanceSetTemplateSpecVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -5275,7 +5276,7 @@ pub struct InstanceSetTemplateSpecVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -5297,7 +5298,7 @@ pub struct InstanceSetTemplateSpecVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5305,7 +5306,7 @@ pub struct InstanceSetTemplateSpecVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5322,7 +5323,7 @@ pub struct InstanceSetTemplateSpecVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5330,7 +5331,7 @@ pub struct InstanceSetTemplateSpecVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -5347,7 +5348,7 @@ pub struct InstanceSetTemplateSpecVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -5359,7 +5360,7 @@ pub struct InstanceSetTemplateSpecVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -5378,7 +5379,7 @@ pub struct InstanceSetTemplateSpecVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5386,7 +5387,7 @@ pub struct InstanceSetTemplateSpecVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -5397,7 +5398,7 @@ pub struct InstanceSetTemplateSpecVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -5413,7 +5414,7 @@ pub struct InstanceSetTemplateSpecVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -5424,7 +5425,7 @@ pub struct InstanceSetTemplateSpecVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -5437,7 +5438,7 @@ pub struct InstanceSetTemplateSpecVolumesDownwardApiItemsResourceFieldRef { } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5452,7 +5453,7 @@ pub struct InstanceSetTemplateSpecVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -5466,7 +5467,7 @@ pub struct InstanceSetTemplateSpecVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5476,7 +5477,7 @@ pub struct InstanceSetTemplateSpecVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -5491,7 +5492,7 @@ pub struct InstanceSetTemplateSpecVolumesEphemeralVolumeClaimTemplateMetadata { } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -5520,7 +5521,7 @@ pub struct InstanceSetTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -5532,7 +5533,7 @@ pub struct InstanceSetTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSou } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -5547,7 +5548,7 @@ pub struct InstanceSetTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSou } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -5563,14 +5564,14 @@ pub struct InstanceSetTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResourc } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5581,7 +5582,7 @@ pub struct InstanceSetTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelecto } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5593,7 +5594,7 @@ pub struct InstanceSetTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelecto } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5613,7 +5614,7 @@ pub struct InstanceSetTemplateSpecVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -5632,7 +5633,7 @@ pub struct InstanceSetTemplateSpecVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5640,7 +5641,7 @@ pub struct InstanceSetTemplateSpecVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -5651,7 +5652,7 @@ pub struct InstanceSetTemplateSpecVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5668,7 +5669,7 @@ pub struct InstanceSetTemplateSpecVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5681,7 +5682,7 @@ pub struct InstanceSetTemplateSpecVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -5693,7 +5694,7 @@ pub struct InstanceSetTemplateSpecVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -5703,7 +5704,7 @@ pub struct InstanceSetTemplateSpecVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -5739,7 +5740,7 @@ pub struct InstanceSetTemplateSpecVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5747,7 +5748,7 @@ pub struct InstanceSetTemplateSpecVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -5759,7 +5760,7 @@ pub struct InstanceSetTemplateSpecVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -5770,7 +5771,7 @@ pub struct InstanceSetTemplateSpecVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5781,7 +5782,7 @@ pub struct InstanceSetTemplateSpecVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5795,7 +5796,7 @@ pub struct InstanceSetTemplateSpecVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -5806,7 +5807,7 @@ pub struct InstanceSetTemplateSpecVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -5823,7 +5824,7 @@ pub struct InstanceSetTemplateSpecVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5837,7 +5838,7 @@ pub struct InstanceSetTemplateSpecVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -5849,7 +5850,7 @@ pub struct InstanceSetTemplateSpecVolumesProjectedSourcesConfigMapItems { } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5857,7 +5858,7 @@ pub struct InstanceSetTemplateSpecVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -5873,7 +5874,7 @@ pub struct InstanceSetTemplateSpecVolumesProjectedSourcesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -5884,7 +5885,7 @@ pub struct InstanceSetTemplateSpecVolumesProjectedSourcesDownwardApiItemsFieldRe } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -5897,7 +5898,7 @@ pub struct InstanceSetTemplateSpecVolumesProjectedSourcesDownwardApiItemsResourc } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5911,7 +5912,7 @@ pub struct InstanceSetTemplateSpecVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -5923,7 +5924,7 @@ pub struct InstanceSetTemplateSpecVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5936,7 +5937,7 @@ pub struct InstanceSetTemplateSpecVolumesProjectedSourcesServiceAccountToken { } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5957,7 +5958,7 @@ pub struct InstanceSetTemplateSpecVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5984,7 +5985,7 @@ pub struct InstanceSetTemplateSpecVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5992,7 +5993,7 @@ pub struct InstanceSetTemplateSpecVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6025,7 +6026,7 @@ pub struct InstanceSetTemplateSpecVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6033,7 +6034,7 @@ pub struct InstanceSetTemplateSpecVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -6050,7 +6051,7 @@ pub struct InstanceSetTemplateSpecVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesSecretItems { /// key is the key to project. pub key: String, @@ -6062,7 +6063,7 @@ pub struct InstanceSetTemplateSpecVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6082,7 +6083,7 @@ pub struct InstanceSetTemplateSpecVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6090,7 +6091,7 @@ pub struct InstanceSetTemplateSpecVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetTemplateSpecVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6108,7 +6109,7 @@ pub struct InstanceSetTemplateSpecVolumesVsphereVolume { /// Indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the InstanceSet when a revision is made to Template. UpdateStrategy.Type will be set to appsv1.OnDeleteStatefulSetStrategyType if MemberUpdateStrategy is not nil /// Note: This field will be removed in future version. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetUpdateStrategy { /// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. #[serde(default, skip_serializing_if = "Option::is_none", rename = "rollingUpdate")] @@ -6119,7 +6120,7 @@ pub struct InstanceSetUpdateStrategy { } /// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetUpdateStrategyRollingUpdate { /// The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0. Defaults to 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] @@ -6130,7 +6131,7 @@ pub struct InstanceSetUpdateStrategyRollingUpdate { } /// PersistentVolumeClaim is a user's request for and claim to a persistent volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetVolumeClaimTemplates { /// 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 #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -6150,7 +6151,7 @@ pub struct InstanceSetVolumeClaimTemplates { } /// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetVolumeClaimTemplatesMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -6165,7 +6166,7 @@ pub struct InstanceSetVolumeClaimTemplatesMetadata { } /// spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetVolumeClaimTemplatesSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -6194,7 +6195,7 @@ pub struct InstanceSetVolumeClaimTemplatesSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetVolumeClaimTemplatesSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -6206,7 +6207,7 @@ pub struct InstanceSetVolumeClaimTemplatesSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetVolumeClaimTemplatesSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -6221,7 +6222,7 @@ pub struct InstanceSetVolumeClaimTemplatesSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetVolumeClaimTemplatesSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -6237,14 +6238,14 @@ pub struct InstanceSetVolumeClaimTemplatesSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetVolumeClaimTemplatesSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetVolumeClaimTemplatesSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6255,7 +6256,7 @@ pub struct InstanceSetVolumeClaimTemplatesSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetVolumeClaimTemplatesSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6267,7 +6268,7 @@ pub struct InstanceSetVolumeClaimTemplatesSpecSelectorMatchExpressions { } /// status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetVolumeClaimTemplatesStatus { /// accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -6296,7 +6297,7 @@ pub struct InstanceSetVolumeClaimTemplatesStatus { } /// Represents the current information about the state machine. This data may be out of date. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetStatus { /// Total number of available instances (ready for at least minReadySeconds) targeted by this InstanceSet. #[serde(default, skip_serializing_if = "Option::is_none", rename = "availableReplicas")] @@ -6344,7 +6345,7 @@ pub struct InstanceSetStatus { pub updated_replicas: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct InstanceSetStatusMembersStatus { /// Represents the name of the pod. #[serde(rename = "podName")] diff --git a/kube-custom-resources-rs/src/workloads_kubeblocks_io/v1alpha1/replicatedstatemachines.rs b/kube-custom-resources-rs/src/workloads_kubeblocks_io/v1alpha1/replicatedstatemachines.rs index 9e9807626..d6e9e6bf2 100644 --- a/kube-custom-resources-rs/src/workloads_kubeblocks_io/v1alpha1/replicatedstatemachines.rs +++ b/kube-custom-resources-rs/src/workloads_kubeblocks_io/v1alpha1/replicatedstatemachines.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/workloads.kubeblocks.io/v1alpha1/replicatedstatemachines.yaml --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/apecloud/kubeblocks/workloads.kubeblocks.io/v1alpha1/replicatedstatemachines.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] @@ -13,11 +13,12 @@ mod prelude { use self::prelude::*; /// Defines the desired state of the state machine. It includes the configuration details for the state machine. -#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default, PartialEq)] #[kube(group = "workloads.kubeblocks.io", version = "v1alpha1", kind = "ReplicatedStateMachine", plural = "replicatedstatemachines")] #[kube(namespaced)] #[kube(status = "ReplicatedStateMachineStatus")] #[kube(schema = "disabled")] +#[kube(derive="Default")] #[kube(derive="PartialEq")] pub struct ReplicatedStateMachineSpec { /// Defines Alternative Services selector pattern specifier. Can be used for creating Readonly service. @@ -80,7 +81,7 @@ pub struct ReplicatedStateMachineSpec { } /// Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineAlternativeServices { /// 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 #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -100,7 +101,7 @@ pub struct ReplicatedStateMachineAlternativeServices { } /// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineAlternativeServicesMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -115,7 +116,7 @@ pub struct ReplicatedStateMachineAlternativeServicesMetadata { } /// Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineAlternativeServicesSpec { /// allocateLoadBalancerNodePorts defines if NodePorts will be automatically allocated for services with type LoadBalancer. Default is "true". It may be set to "false" if the cluster load-balancer does not rely on NodePorts. If the caller requests specific NodePorts (by specifying a value), those requests will be respected, regardless of this field. This field may only be set for services with type LoadBalancer and will be cleared if the type is changed to any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] @@ -179,7 +180,7 @@ pub struct ReplicatedStateMachineAlternativeServicesSpec { } /// ServicePort contains information on service's port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineAlternativeServicesSpecPorts { /// The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either: /// * Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). @@ -204,7 +205,7 @@ pub struct ReplicatedStateMachineAlternativeServicesSpecPorts { } /// sessionAffinityConfig contains the configurations of session affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineAlternativeServicesSpecSessionAffinityConfig { /// clientIP contains the configurations of Client IP based session affinity. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] @@ -212,7 +213,7 @@ pub struct ReplicatedStateMachineAlternativeServicesSpecSessionAffinityConfig { } /// clientIP contains the configurations of Client IP based session affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineAlternativeServicesSpecSessionAffinityConfigClientIp { /// timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". Default value is 10800(for 3 hours). #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] @@ -220,7 +221,7 @@ pub struct ReplicatedStateMachineAlternativeServicesSpecSessionAffinityConfigCli } /// Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineAlternativeServicesStatus { /// Current service state #[serde(default, skip_serializing_if = "Option::is_none")] @@ -231,7 +232,7 @@ pub struct ReplicatedStateMachineAlternativeServicesStatus { } /// LoadBalancer contains the current status of the load-balancer, if one is present. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineAlternativeServicesStatusLoadBalancer { /// Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -239,7 +240,7 @@ pub struct ReplicatedStateMachineAlternativeServicesStatusLoadBalancer { } /// LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineAlternativeServicesStatusLoadBalancerIngress { /// Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -252,7 +253,7 @@ pub struct ReplicatedStateMachineAlternativeServicesStatusLoadBalancerIngress { pub ports: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineAlternativeServicesStatusLoadBalancerIngressPorts { /// Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names - cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase. --- The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -264,7 +265,7 @@ pub struct ReplicatedStateMachineAlternativeServicesStatusLoadBalancerIngressPor } /// Credential used to connect to DB engine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineCredential { /// Represents the user's password for the credential. The corresponding environment variable will be KB_RSM_PASSWORD. pub password: ReplicatedStateMachineCredentialPassword, @@ -273,7 +274,7 @@ pub struct ReplicatedStateMachineCredential { } /// Represents the user's password for the credential. The corresponding environment variable will be KB_RSM_PASSWORD. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineCredentialPassword { /// Specifies the value of the environment variable. This field is optional and defaults to an empty string. The value can include variable references in the format $(VAR_NAME) which will be expanded using previously defined environment variables in the container and any service environment variables. /// If a variable cannot be resolved, the reference in the input string will remain unchanged. Double $$ can be used to escape the $(VAR_NAME) syntax, resulting in a single $ and producing the string literal "$(VAR_NAME)". Escaped references will not be expanded, regardless of whether the variable exists or not. @@ -285,7 +286,7 @@ pub struct ReplicatedStateMachineCredentialPassword { } /// Defines the source for the environment variable's value. This field is optional and cannot be used if the 'Value' field is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineCredentialPasswordValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -302,7 +303,7 @@ pub struct ReplicatedStateMachineCredentialPasswordValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineCredentialPasswordValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -315,7 +316,7 @@ pub struct ReplicatedStateMachineCredentialPasswordValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineCredentialPasswordValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -326,7 +327,7 @@ pub struct ReplicatedStateMachineCredentialPasswordValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineCredentialPasswordValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -339,7 +340,7 @@ pub struct ReplicatedStateMachineCredentialPasswordValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineCredentialPasswordValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -352,7 +353,7 @@ pub struct ReplicatedStateMachineCredentialPasswordValueFromSecretKeyRef { } /// Defines the user's name for the credential. The corresponding environment variable will be KB_RSM_USERNAME. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineCredentialUsername { /// Specifies the value of the environment variable. This field is optional and defaults to an empty string. The value can include variable references in the format $(VAR_NAME) which will be expanded using previously defined environment variables in the container and any service environment variables. /// If a variable cannot be resolved, the reference in the input string will remain unchanged. Double $$ can be used to escape the $(VAR_NAME) syntax, resulting in a single $ and producing the string literal "$(VAR_NAME)". Escaped references will not be expanded, regardless of whether the variable exists or not. @@ -364,7 +365,7 @@ pub struct ReplicatedStateMachineCredentialUsername { } /// Defines the source for the environment variable's value. This field is optional and cannot be used if the 'Value' field is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineCredentialUsernameValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -381,7 +382,7 @@ pub struct ReplicatedStateMachineCredentialUsernameValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineCredentialUsernameValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -394,7 +395,7 @@ pub struct ReplicatedStateMachineCredentialUsernameValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineCredentialUsernameValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -405,7 +406,7 @@ pub struct ReplicatedStateMachineCredentialUsernameValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineCredentialUsernameValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -418,7 +419,7 @@ pub struct ReplicatedStateMachineCredentialUsernameValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineCredentialUsernameValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -430,7 +431,7 @@ pub struct ReplicatedStateMachineCredentialUsernameValueFromSecretKeyRef { pub optional: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstances { /// Defines RuntimeClass to override. #[serde(default, skip_serializing_if = "Option::is_none", rename = "RuntimeClassName")] @@ -476,7 +477,7 @@ pub struct ReplicatedStateMachineInstances { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -489,7 +490,7 @@ pub struct ReplicatedStateMachineInstancesEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -506,7 +507,7 @@ pub struct ReplicatedStateMachineInstancesEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -519,7 +520,7 @@ pub struct ReplicatedStateMachineInstancesEnvValueFromConfigMapKeyRef { } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -530,7 +531,7 @@ pub struct ReplicatedStateMachineInstancesEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -543,7 +544,7 @@ pub struct ReplicatedStateMachineInstancesEnvValueFromResourceFieldRef { } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -556,7 +557,7 @@ pub struct ReplicatedStateMachineInstancesEnvValueFromSecretKeyRef { } /// Defines Resources to override. Will override the first container's resources of the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -572,14 +573,14 @@ pub struct ReplicatedStateMachineInstancesResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -599,7 +600,7 @@ pub struct ReplicatedStateMachineInstancesTolerations { } /// PersistentVolumeClaim is a user's request for and claim to a persistent volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumeClaimTemplates { /// 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 #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -619,7 +620,7 @@ pub struct ReplicatedStateMachineInstancesVolumeClaimTemplates { } /// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumeClaimTemplatesMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -634,7 +635,7 @@ pub struct ReplicatedStateMachineInstancesVolumeClaimTemplatesMetadata { } /// spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumeClaimTemplatesSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -663,7 +664,7 @@ pub struct ReplicatedStateMachineInstancesVolumeClaimTemplatesSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumeClaimTemplatesSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -675,7 +676,7 @@ pub struct ReplicatedStateMachineInstancesVolumeClaimTemplatesSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumeClaimTemplatesSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -690,7 +691,7 @@ pub struct ReplicatedStateMachineInstancesVolumeClaimTemplatesSpecDataSourceRef } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumeClaimTemplatesSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -706,14 +707,14 @@ pub struct ReplicatedStateMachineInstancesVolumeClaimTemplatesSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumeClaimTemplatesSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumeClaimTemplatesSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -724,7 +725,7 @@ pub struct ReplicatedStateMachineInstancesVolumeClaimTemplatesSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumeClaimTemplatesSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -736,7 +737,7 @@ pub struct ReplicatedStateMachineInstancesVolumeClaimTemplatesSpecSelectorMatchE } /// status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumeClaimTemplatesStatus { /// accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -765,7 +766,7 @@ pub struct ReplicatedStateMachineInstancesVolumeClaimTemplatesStatus { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -787,7 +788,7 @@ pub struct ReplicatedStateMachineInstancesVolumeMounts { } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -885,7 +886,7 @@ pub struct ReplicatedStateMachineInstancesVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -902,7 +903,7 @@ pub struct ReplicatedStateMachineInstancesVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -925,7 +926,7 @@ pub struct ReplicatedStateMachineInstancesVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -939,7 +940,7 @@ pub struct ReplicatedStateMachineInstancesVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -961,7 +962,7 @@ pub struct ReplicatedStateMachineInstancesVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -969,7 +970,7 @@ pub struct ReplicatedStateMachineInstancesVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -986,7 +987,7 @@ pub struct ReplicatedStateMachineInstancesVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -994,7 +995,7 @@ pub struct ReplicatedStateMachineInstancesVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1011,7 +1012,7 @@ pub struct ReplicatedStateMachineInstancesVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -1023,7 +1024,7 @@ pub struct ReplicatedStateMachineInstancesVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -1042,7 +1043,7 @@ pub struct ReplicatedStateMachineInstancesVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1050,7 +1051,7 @@ pub struct ReplicatedStateMachineInstancesVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1061,7 +1062,7 @@ pub struct ReplicatedStateMachineInstancesVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -1077,7 +1078,7 @@ pub struct ReplicatedStateMachineInstancesVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1088,7 +1089,7 @@ pub struct ReplicatedStateMachineInstancesVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1101,7 +1102,7 @@ pub struct ReplicatedStateMachineInstancesVolumesDownwardApiItemsResourceFieldRe } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1116,7 +1117,7 @@ pub struct ReplicatedStateMachineInstancesVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -1130,7 +1131,7 @@ pub struct ReplicatedStateMachineInstancesVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1140,7 +1141,7 @@ pub struct ReplicatedStateMachineInstancesVolumesEphemeralVolumeClaimTemplate { } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -1155,7 +1156,7 @@ pub struct ReplicatedStateMachineInstancesVolumesEphemeralVolumeClaimTemplateMet } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -1184,7 +1185,7 @@ pub struct ReplicatedStateMachineInstancesVolumesEphemeralVolumeClaimTemplateSpe } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1196,7 +1197,7 @@ pub struct ReplicatedStateMachineInstancesVolumesEphemeralVolumeClaimTemplateSpe } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -1211,7 +1212,7 @@ pub struct ReplicatedStateMachineInstancesVolumesEphemeralVolumeClaimTemplateSpe } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -1227,14 +1228,14 @@ pub struct ReplicatedStateMachineInstancesVolumesEphemeralVolumeClaimTemplateSpe } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1245,7 +1246,7 @@ pub struct ReplicatedStateMachineInstancesVolumesEphemeralVolumeClaimTemplateSpe } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1257,7 +1258,7 @@ pub struct ReplicatedStateMachineInstancesVolumesEphemeralVolumeClaimTemplateSpe } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1277,7 +1278,7 @@ pub struct ReplicatedStateMachineInstancesVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -1296,7 +1297,7 @@ pub struct ReplicatedStateMachineInstancesVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1304,7 +1305,7 @@ pub struct ReplicatedStateMachineInstancesVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -1315,7 +1316,7 @@ pub struct ReplicatedStateMachineInstancesVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1332,7 +1333,7 @@ pub struct ReplicatedStateMachineInstancesVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1345,7 +1346,7 @@ pub struct ReplicatedStateMachineInstancesVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -1357,7 +1358,7 @@ pub struct ReplicatedStateMachineInstancesVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -1367,7 +1368,7 @@ pub struct ReplicatedStateMachineInstancesVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -1403,7 +1404,7 @@ pub struct ReplicatedStateMachineInstancesVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1411,7 +1412,7 @@ pub struct ReplicatedStateMachineInstancesVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -1423,7 +1424,7 @@ pub struct ReplicatedStateMachineInstancesVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -1434,7 +1435,7 @@ pub struct ReplicatedStateMachineInstancesVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1445,7 +1446,7 @@ pub struct ReplicatedStateMachineInstancesVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1459,7 +1460,7 @@ pub struct ReplicatedStateMachineInstancesVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1470,7 +1471,7 @@ pub struct ReplicatedStateMachineInstancesVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -1487,7 +1488,7 @@ pub struct ReplicatedStateMachineInstancesVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1501,7 +1502,7 @@ pub struct ReplicatedStateMachineInstancesVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -1513,7 +1514,7 @@ pub struct ReplicatedStateMachineInstancesVolumesProjectedSourcesConfigMapItems } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1521,7 +1522,7 @@ pub struct ReplicatedStateMachineInstancesVolumesProjectedSourcesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -1537,7 +1538,7 @@ pub struct ReplicatedStateMachineInstancesVolumesProjectedSourcesDownwardApiItem } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1548,7 +1549,7 @@ pub struct ReplicatedStateMachineInstancesVolumesProjectedSourcesDownwardApiItem } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -1561,7 +1562,7 @@ pub struct ReplicatedStateMachineInstancesVolumesProjectedSourcesDownwardApiItem } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1575,7 +1576,7 @@ pub struct ReplicatedStateMachineInstancesVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -1587,7 +1588,7 @@ pub struct ReplicatedStateMachineInstancesVolumesProjectedSourcesSecretItems { } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1600,7 +1601,7 @@ pub struct ReplicatedStateMachineInstancesVolumesProjectedSourcesServiceAccountT } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1621,7 +1622,7 @@ pub struct ReplicatedStateMachineInstancesVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1648,7 +1649,7 @@ pub struct ReplicatedStateMachineInstancesVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1656,7 +1657,7 @@ pub struct ReplicatedStateMachineInstancesVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1689,7 +1690,7 @@ pub struct ReplicatedStateMachineInstancesVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1697,7 +1698,7 @@ pub struct ReplicatedStateMachineInstancesVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -1714,7 +1715,7 @@ pub struct ReplicatedStateMachineInstancesVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesSecretItems { /// key is the key to project. pub key: String, @@ -1726,7 +1727,7 @@ pub struct ReplicatedStateMachineInstancesVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1746,7 +1747,7 @@ pub struct ReplicatedStateMachineInstancesVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1754,7 +1755,7 @@ pub struct ReplicatedStateMachineInstancesVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineInstancesVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -1779,7 +1780,7 @@ pub enum ReplicatedStateMachineMemberUpdateStrategy { } /// Provides actions to do membership dynamic reconfiguration. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineMembershipReconfiguration { /// Defines the action to trigger the new member to start log syncing. If the Image is not configured, the Image from the previous non-nil action will be used. #[serde(default, skip_serializing_if = "Option::is_none", rename = "logSyncAction")] @@ -1800,7 +1801,7 @@ pub struct ReplicatedStateMachineMembershipReconfiguration { } /// Defines the action to trigger the new member to start log syncing. If the Image is not configured, the Image from the previous non-nil action will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineMembershipReconfigurationLogSyncAction { /// Additional parameters used to perform specific statements. This field is optional. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1813,7 +1814,7 @@ pub struct ReplicatedStateMachineMembershipReconfigurationLogSyncAction { } /// Defines the action to add a member. If the Image is not configured, the Image from the previous non-nil action will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineMembershipReconfigurationMemberJoinAction { /// Additional parameters used to perform specific statements. This field is optional. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1826,7 +1827,7 @@ pub struct ReplicatedStateMachineMembershipReconfigurationMemberJoinAction { } /// Defines the action to remove a member. If the Image is not configured, the Image from the previous non-nil action will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineMembershipReconfigurationMemberLeaveAction { /// Additional parameters used to perform specific statements. This field is optional. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1839,7 +1840,7 @@ pub struct ReplicatedStateMachineMembershipReconfigurationMemberLeaveAction { } /// Defines the action to inform the cluster that the new member can join voting now. If the Image is not configured, the Image from the previous non-nil action will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineMembershipReconfigurationPromoteAction { /// Additional parameters used to perform specific statements. This field is optional. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1853,7 +1854,7 @@ pub struct ReplicatedStateMachineMembershipReconfigurationPromoteAction { /// Specifies the environment variables that can be used in all following Actions: - KB_RSM_USERNAME: Represents the username part of the credential - KB_RSM_PASSWORD: Represents the password part of the credential - KB_RSM_LEADER_HOST: Represents the leader host - KB_RSM_TARGET_HOST: Represents the target host - KB_RSM_SERVICE_PORT: Represents the service port /// Defines the action to perform a switchover. If the Image is not configured, the latest [BusyBox](https://busybox.net/) image will be used. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineMembershipReconfigurationSwitchoverAction { /// Additional parameters used to perform specific statements. This field is optional. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1866,7 +1867,7 @@ pub struct ReplicatedStateMachineMembershipReconfigurationSwitchoverAction { } /// Provides method to probe role. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineRoleProbe { /// Specifies the builtin handler name to use to probe the role of the main container. Available handlers include: mysql, postgres, mongodb, redis, etcd, kafka. Use CustomHandler to define a custom role probe function if none of the built-in handlers meet the requirement. #[serde(default, skip_serializing_if = "Option::is_none", rename = "builtinHandlerName")] @@ -1894,7 +1895,7 @@ pub struct ReplicatedStateMachineRoleProbe { pub timeout_seconds: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineRoleProbeCustomHandler { /// Additional parameters used to perform specific statements. This field is optional. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -1937,7 +1938,7 @@ pub enum ReplicatedStateMachineRolesAccessMode { } /// Represents a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -1948,7 +1949,7 @@ pub struct ReplicatedStateMachineSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -1960,7 +1961,7 @@ pub struct ReplicatedStateMachineSelectorMatchExpressions { } /// Defines the behavior of a service spec. Provides read-write service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineService { /// 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 #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -1980,7 +1981,7 @@ pub struct ReplicatedStateMachineService { } /// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineServiceMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -1995,7 +1996,7 @@ pub struct ReplicatedStateMachineServiceMetadata { } /// Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineServiceSpec { /// allocateLoadBalancerNodePorts defines if NodePorts will be automatically allocated for services with type LoadBalancer. Default is "true". It may be set to "false" if the cluster load-balancer does not rely on NodePorts. If the caller requests specific NodePorts (by specifying a value), those requests will be respected, regardless of this field. This field may only be set for services with type LoadBalancer and will be cleared if the type is changed to any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allocateLoadBalancerNodePorts")] @@ -2059,7 +2060,7 @@ pub struct ReplicatedStateMachineServiceSpec { } /// ServicePort contains information on service's port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineServiceSpecPorts { /// The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either: /// * Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). @@ -2084,7 +2085,7 @@ pub struct ReplicatedStateMachineServiceSpecPorts { } /// sessionAffinityConfig contains the configurations of session affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineServiceSpecSessionAffinityConfig { /// clientIP contains the configurations of Client IP based session affinity. #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientIP")] @@ -2092,7 +2093,7 @@ pub struct ReplicatedStateMachineServiceSpecSessionAffinityConfig { } /// clientIP contains the configurations of Client IP based session affinity. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineServiceSpecSessionAffinityConfigClientIp { /// timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". Default value is 10800(for 3 hours). #[serde(default, skip_serializing_if = "Option::is_none", rename = "timeoutSeconds")] @@ -2100,7 +2101,7 @@ pub struct ReplicatedStateMachineServiceSpecSessionAffinityConfigClientIp { } /// Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineServiceStatus { /// Current service state #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2111,7 +2112,7 @@ pub struct ReplicatedStateMachineServiceStatus { } /// LoadBalancer contains the current status of the load-balancer, if one is present. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineServiceStatusLoadBalancer { /// Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2119,7 +2120,7 @@ pub struct ReplicatedStateMachineServiceStatusLoadBalancer { } /// LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineServiceStatusLoadBalancerIngress { /// Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2132,7 +2133,7 @@ pub struct ReplicatedStateMachineServiceStatusLoadBalancerIngress { pub ports: Option>, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineServiceStatusLoadBalancerIngressPorts { /// Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names - cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase. --- The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2144,7 +2145,7 @@ pub struct ReplicatedStateMachineServiceStatusLoadBalancerIngressPorts { } /// PodTemplateSpec describes the data a pod should have when created from a template -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplate { /// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2155,7 +2156,7 @@ pub struct ReplicatedStateMachineTemplate { } /// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -2170,7 +2171,7 @@ pub struct ReplicatedStateMachineTemplateMetadata { } /// Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpec { /// Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer. #[serde(default, skip_serializing_if = "Option::is_none", rename = "activeDeadlineSeconds")] @@ -2297,7 +2298,7 @@ pub struct ReplicatedStateMachineTemplateSpec { } /// If specified, the pod's scheduling constraints -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinity { /// Describes node affinity scheduling rules for the pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "nodeAffinity")] @@ -2311,7 +2312,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinity { } /// Describes node affinity scheduling rules for the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityNodeAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -2322,7 +2323,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityNodeAffinity { } /// An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// A node selector term, associated with the corresponding weight. pub preference: ReplicatedStateMachineTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, @@ -2331,7 +2332,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityNodeAffinityPreferredDuring } /// A node selector term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2342,7 +2343,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityNodeAffinityPreferredDuring } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -2354,7 +2355,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityNodeAffinityPreferredDuring } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchFields { /// The label key that the selector applies to. pub key: String, @@ -2366,7 +2367,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityNodeAffinityPreferredDuring } /// If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// Required. A list of node selector terms. The terms are ORed. #[serde(rename = "nodeSelectorTerms")] @@ -2374,7 +2375,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityNodeAffinityRequiredDuringS } /// A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerms { /// A list of node selector requirements by node's labels. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2385,7 +2386,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityNodeAffinityRequiredDuringS } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchExpressions { /// The label key that the selector applies to. pub key: String, @@ -2397,7 +2398,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityNodeAffinityRequiredDuringS } /// A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFields { /// The label key that the selector applies to. pub key: String, @@ -2409,7 +2410,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityNodeAffinityRequiredDuringS } /// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityPodAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -2420,7 +2421,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityPodAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -2430,7 +2431,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityPodAffinityPreferredDuringS } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2447,7 +2448,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityPodAffinityPreferredDuringS } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2458,7 +2459,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityPodAffinityPreferredDuringS } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2470,7 +2471,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityPodAffinityPreferredDuringS } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2481,7 +2482,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityPodAffinityPreferredDuringS } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2493,7 +2494,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityPodAffinityPreferredDuringS } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2510,7 +2511,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityPodAffinityRequiredDuringSc } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2521,7 +2522,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityPodAffinityRequiredDuringSc } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2533,7 +2534,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityPodAffinityRequiredDuringSc } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2544,7 +2545,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityPodAffinityRequiredDuringSc } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2556,7 +2557,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityPodAffinityRequiredDuringSc } /// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityPodAntiAffinity { /// The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. #[serde(default, skip_serializing_if = "Option::is_none", rename = "preferredDuringSchedulingIgnoredDuringExecution")] @@ -2567,7 +2568,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityPodAntiAffinity { } /// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution { /// Required. A pod affinity term, associated with the corresponding weight. #[serde(rename = "podAffinityTerm")] @@ -2577,7 +2578,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityPodAntiAffinityPreferredDur } /// Required. A pod affinity term, associated with the corresponding weight. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2594,7 +2595,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityPodAntiAffinityPreferredDur } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2605,7 +2606,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityPodAntiAffinityPreferredDur } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2617,7 +2618,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityPodAntiAffinityPreferredDur } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2628,7 +2629,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityPodAntiAffinityPreferredDur } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2640,7 +2641,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityPodAntiAffinityPreferredDur } /// Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution { /// A label query over a set of resources, in this case pods. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -2657,7 +2658,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityPodAntiAffinityRequiredDuri } /// A label query over a set of resources, in this case pods. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2668,7 +2669,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityPodAntiAffinityRequiredDuri } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2680,7 +2681,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityPodAntiAffinityRequiredDuri } /// A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -2691,7 +2692,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityPodAntiAffinityRequiredDuri } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionNamespaceSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -2703,7 +2704,7 @@ pub struct ReplicatedStateMachineTemplateSpecAffinityPodAntiAffinityRequiredDuri } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainers { /// Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2779,7 +2780,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -2792,7 +2793,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -2809,7 +2810,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -2822,7 +2823,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersEnvValueFromConfigMapKeyR } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -2833,7 +2834,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersEnvValueFromFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -2846,7 +2847,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersEnvValueFromResourceField } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -2859,7 +2860,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersEnvValueFromSecretKeyRef } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -2873,7 +2874,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2884,7 +2885,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2895,7 +2896,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersEnvFromSecretRef { } /// Actions that the management system should take in response to container lifecycle events. Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -2906,7 +2907,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2920,7 +2921,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2928,7 +2929,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersLifecyclePostStartExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2947,7 +2948,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersLifecyclePostStartHttpGet } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -2956,7 +2957,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersLifecyclePostStartHttpGet } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2966,7 +2967,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersLifecyclePostStartTcpSock } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2980,7 +2981,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -2988,7 +2989,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersLifecyclePreStopExec { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3007,7 +3008,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersLifecyclePreStopHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -3016,7 +3017,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersLifecyclePreStopHttpGetHt } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3026,7 +3027,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersLifecyclePreStopTcpSocket } /// Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3061,7 +3062,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3069,7 +3070,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3080,7 +3081,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3099,7 +3100,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersLivenessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -3108,7 +3109,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersLivenessProbeHttpGetHttpH } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3118,7 +3119,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersLivenessProbeTcpSocket { } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -3138,7 +3139,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersPorts { } /// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3173,7 +3174,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3181,7 +3182,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3192,7 +3193,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3211,7 +3212,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersReadinessProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -3220,7 +3221,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersReadinessProbeHttpGetHttp } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3230,7 +3231,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersReadinessProbeTcpSocket { } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. #[serde(rename = "resourceName")] @@ -3241,7 +3242,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersResizePolicy { } /// Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -3257,14 +3258,14 @@ pub struct ReplicatedStateMachineTemplateSpecContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -3302,7 +3303,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3313,7 +3314,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersSecurityContextCapabiliti } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3330,7 +3331,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersSecurityContextSeLinuxOpt } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -3342,7 +3343,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersSecurityContextSeccompPro } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -3359,7 +3360,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersSecurityContextWindowsOpt } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3394,7 +3395,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3402,7 +3403,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3413,7 +3414,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3432,7 +3433,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersStartupProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -3441,7 +3442,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersStartupProbeHttpGetHttpHe } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3451,7 +3452,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersStartupProbeTcpSocket { } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -3461,7 +3462,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -3483,7 +3484,7 @@ pub struct ReplicatedStateMachineTemplateSpecContainersVolumeMounts { } /// Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecDnsConfig { /// A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3497,7 +3498,7 @@ pub struct ReplicatedStateMachineTemplateSpecDnsConfig { } /// PodDNSConfigOption defines DNS resolver options of a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecDnsConfigOptions { /// Required. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3508,7 +3509,7 @@ pub struct ReplicatedStateMachineTemplateSpecDnsConfigOptions { /// An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation. /// To add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainers { /// Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3588,7 +3589,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -3601,7 +3602,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -3618,7 +3619,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -3631,7 +3632,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersEnvValueFromConf } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -3642,7 +3643,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersEnvValueFromFiel } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -3655,7 +3656,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersEnvValueFromReso } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -3668,7 +3669,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersEnvValueFromSecr } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -3682,7 +3683,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3693,7 +3694,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersEnvFromConfigMap } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3704,7 +3705,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersEnvFromSecretRef } /// Lifecycle is not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -3715,7 +3716,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3729,7 +3730,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLifecyclePostSta } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3737,7 +3738,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLifecyclePostSta } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3756,7 +3757,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLifecyclePostSta } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -3765,7 +3766,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLifecyclePostSta } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3775,7 +3776,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLifecyclePostSta } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3789,7 +3790,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLifecyclePreStop } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3797,7 +3798,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLifecyclePreStop } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3816,7 +3817,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLifecyclePreStop } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -3825,7 +3826,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLifecyclePreStop } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3835,7 +3836,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLifecyclePreStop } /// Probes are not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3870,7 +3871,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3878,7 +3879,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLivenessProbeExe } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -3889,7 +3890,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLivenessProbeGrp } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3908,7 +3909,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLivenessProbeHtt } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -3917,7 +3918,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLivenessProbeHtt } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3927,7 +3928,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersLivenessProbeTcp } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -3947,7 +3948,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersPorts { } /// Probes are not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3982,7 +3983,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -3990,7 +3991,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersReadinessProbeEx } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4001,7 +4002,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersReadinessProbeGr } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4020,7 +4021,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersReadinessProbeHt } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -4029,7 +4030,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersReadinessProbeHt } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4039,7 +4040,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersReadinessProbeTc } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. #[serde(rename = "resourceName")] @@ -4050,7 +4051,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersResizePolicy { } /// Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -4066,14 +4067,14 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// Optional: SecurityContext defines the security options the ephemeral container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -4111,7 +4112,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersSecurityContext } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4122,7 +4123,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersSecurityContextC } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4139,7 +4140,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersSecurityContextS } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -4151,7 +4152,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersSecurityContextS } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -4168,7 +4169,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersSecurityContextW } /// Probes are not allowed for ephemeral containers. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4203,7 +4204,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4211,7 +4212,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersStartupProbeExec } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4222,7 +4223,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersStartupProbeGrpc } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4241,7 +4242,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersStartupProbeHttp } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersStartupProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -4250,7 +4251,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersStartupProbeHttp } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4260,7 +4261,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersStartupProbeTcpS } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -4270,7 +4271,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -4292,7 +4293,7 @@ pub struct ReplicatedStateMachineTemplateSpecEphemeralContainersVolumeMounts { } /// HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecHostAliases { /// Hostnames for the above IP address. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4303,7 +4304,7 @@ pub struct ReplicatedStateMachineTemplateSpecHostAliases { } /// LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecImagePullSecrets { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4311,7 +4312,7 @@ pub struct ReplicatedStateMachineTemplateSpecImagePullSecrets { } /// A single application container that you want to run within a pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainers { /// Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4387,7 +4388,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainers { } /// EnvVar represents an environment variable present in a Container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersEnv { /// Name of the environment variable. Must be a C_IDENTIFIER. pub name: String, @@ -4400,7 +4401,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersEnv { } /// Source for the environment variable's value. Cannot be used if value is not empty. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersEnvValueFrom { /// Selects a key of a ConfigMap. #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapKeyRef")] @@ -4417,7 +4418,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersEnvValueFrom { } /// Selects a key of a ConfigMap. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersEnvValueFromConfigMapKeyRef { /// The key to select. pub key: String, @@ -4430,7 +4431,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersEnvValueFromConfigMap } /// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersEnvValueFromFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -4441,7 +4442,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersEnvValueFromFieldRef } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersEnvValueFromResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -4454,7 +4455,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersEnvValueFromResourceF } /// Selects a key of a secret in the pod's namespace -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersEnvValueFromSecretKeyRef { /// The key of the secret to select from. Must be a valid secret key. pub key: String, @@ -4467,7 +4468,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersEnvValueFromSecretKey } /// EnvFromSource represents the source of a set of ConfigMaps -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersEnvFrom { /// The ConfigMap to select from #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMapRef")] @@ -4481,7 +4482,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersEnvFrom { } /// The ConfigMap to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersEnvFromConfigMapRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4492,7 +4493,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersEnvFromConfigMapRef { } /// The Secret to select from -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersEnvFromSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4503,7 +4504,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersEnvFromSecretRef { } /// Actions that the management system should take in response to container lifecycle events. Cannot be updated. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersLifecycle { /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks #[serde(default, skip_serializing_if = "Option::is_none", rename = "postStart")] @@ -4514,7 +4515,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersLifecycle { } /// PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersLifecyclePostStart { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4528,7 +4529,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersLifecyclePostStart { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersLifecyclePostStartExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4536,7 +4537,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersLifecyclePostStartExe } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersLifecyclePostStartHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4555,7 +4556,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersLifecyclePostStartHtt } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersLifecyclePostStartHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -4564,7 +4565,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersLifecyclePostStartHtt } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersLifecyclePostStartTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4574,7 +4575,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersLifecyclePostStartTcp } /// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersLifecyclePreStop { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4588,7 +4589,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersLifecyclePreStop { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersLifecyclePreStopExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4596,7 +4597,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersLifecyclePreStopExec } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersLifecyclePreStopHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4615,7 +4616,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersLifecyclePreStopHttpG } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersLifecyclePreStopHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -4624,7 +4625,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersLifecyclePreStopHttpG } /// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersLifecyclePreStopTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4634,7 +4635,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersLifecyclePreStopTcpSo } /// Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersLivenessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4669,7 +4670,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersLivenessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersLivenessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4677,7 +4678,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersLivenessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersLivenessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4688,7 +4689,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersLivenessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersLivenessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4707,7 +4708,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersLivenessProbeHttpGet } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersLivenessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -4716,7 +4717,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersLivenessProbeHttpGetH } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersLivenessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4726,7 +4727,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersLivenessProbeTcpSocke } /// ContainerPort represents a network port in a single container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersPorts { /// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. #[serde(rename = "containerPort")] @@ -4746,7 +4747,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersPorts { } /// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersReadinessProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4781,7 +4782,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersReadinessProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersReadinessProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4789,7 +4790,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersReadinessProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersReadinessProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -4800,7 +4801,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersReadinessProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersReadinessProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4819,7 +4820,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersReadinessProbeHttpGet } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersReadinessProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -4828,7 +4829,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersReadinessProbeHttpGet } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersReadinessProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4838,7 +4839,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersReadinessProbeTcpSock } /// ContainerResizePolicy represents resource resize policy for the container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersResizePolicy { /// Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. #[serde(rename = "resourceName")] @@ -4849,7 +4850,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersResizePolicy { } /// Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -4865,14 +4866,14 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersSecurityContext { /// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. #[serde(default, skip_serializing_if = "Option::is_none", rename = "allowPrivilegeEscalation")] @@ -4910,7 +4911,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersSecurityContext { } /// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersSecurityContextCapabilities { /// Added capabilities #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4921,7 +4922,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersSecurityContextCapabi } /// The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -4938,7 +4939,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersSecurityContextSeLinu } /// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -4950,7 +4951,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersSecurityContextSeccom } /// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -4967,7 +4968,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersSecurityContextWindow } /// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersStartupProbe { /// Exec specifies the action to take. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5002,7 +5003,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersStartupProbe { } /// Exec specifies the action to take. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersStartupProbeExec { /// Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5010,7 +5011,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersStartupProbeExec { } /// GRPC specifies an action involving a GRPC port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersStartupProbeGrpc { /// Port number of the gRPC service. Number must be in the range 1 to 65535. pub port: i32, @@ -5021,7 +5022,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersStartupProbeGrpc { } /// HTTPGet specifies the http request to perform. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersStartupProbeHttpGet { /// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5040,7 +5041,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersStartupProbeHttpGet { } /// HTTPHeader describes a custom header to be used in HTTP probes -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersStartupProbeHttpGetHttpHeaders { /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. pub name: String, @@ -5049,7 +5050,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersStartupProbeHttpGetHt } /// TCPSocket specifies an action involving a TCP port. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersStartupProbeTcpSocket { /// Optional: Host name to connect to, defaults to the pod IP. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5059,7 +5060,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersStartupProbeTcpSocket } /// volumeDevice describes a mapping of a raw block device within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersVolumeDevices { /// devicePath is the path inside of the container that the device will be mapped to. #[serde(rename = "devicePath")] @@ -5069,7 +5070,7 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersVolumeDevices { } /// VolumeMount describes a mounting of a Volume within a container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecInitContainersVolumeMounts { /// Path within the container at which the volume should be mounted. Must not contain ':'. #[serde(rename = "mountPath")] @@ -5093,14 +5094,14 @@ pub struct ReplicatedStateMachineTemplateSpecInitContainersVolumeMounts { /// Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set. /// If the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions /// If the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecOs { /// Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null pub name: String, } /// PodReadinessGate contains the reference to a pod condition -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecReadinessGates { /// ConditionType refers to a condition in the pod's condition list with matching type. #[serde(rename = "conditionType")] @@ -5108,7 +5109,7 @@ pub struct ReplicatedStateMachineTemplateSpecReadinessGates { } /// PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecResourceClaims { /// Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL. pub name: String, @@ -5118,7 +5119,7 @@ pub struct ReplicatedStateMachineTemplateSpecResourceClaims { } /// Source describes where to find the ResourceClaim. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecResourceClaimsSource { /// ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod. #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceClaimName")] @@ -5131,14 +5132,14 @@ pub struct ReplicatedStateMachineTemplateSpecResourceClaimsSource { } /// PodSchedulingGate is associated to a Pod to guard its scheduling. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecSchedulingGates { /// Name of the scheduling gate. Each scheduling gate must have a unique name field. pub name: String, } /// SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecSecurityContext { /// A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: /// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- @@ -5175,7 +5176,7 @@ pub struct ReplicatedStateMachineTemplateSpecSecurityContext { } /// The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecSecurityContextSeLinuxOptions { /// Level is SELinux level label that applies to the container. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5192,7 +5193,7 @@ pub struct ReplicatedStateMachineTemplateSpecSecurityContextSeLinuxOptions { } /// The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecSecurityContextSeccompProfile { /// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. #[serde(default, skip_serializing_if = "Option::is_none", rename = "localhostProfile")] @@ -5204,7 +5205,7 @@ pub struct ReplicatedStateMachineTemplateSpecSecurityContextSeccompProfile { } /// Sysctl defines a kernel parameter to be set -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecSecurityContextSysctls { /// Name of a property to set pub name: String, @@ -5213,7 +5214,7 @@ pub struct ReplicatedStateMachineTemplateSpecSecurityContextSysctls { } /// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecSecurityContextWindowsOptions { /// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. #[serde(default, skip_serializing_if = "Option::is_none", rename = "gmsaCredentialSpec")] @@ -5230,7 +5231,7 @@ pub struct ReplicatedStateMachineTemplateSpecSecurityContextWindowsOptions { } /// The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecTolerations { /// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5250,7 +5251,7 @@ pub struct ReplicatedStateMachineTemplateSpecTolerations { } /// TopologySpreadConstraint specifies how to spread matching pods among the given topology. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecTopologySpreadConstraints { /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. #[serde(default, skip_serializing_if = "Option::is_none", rename = "labelSelector")] @@ -5284,7 +5285,7 @@ pub struct ReplicatedStateMachineTemplateSpecTopologySpreadConstraints { } /// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecTopologySpreadConstraintsLabelSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5295,7 +5296,7 @@ pub struct ReplicatedStateMachineTemplateSpecTopologySpreadConstraintsLabelSelec } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecTopologySpreadConstraintsLabelSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5307,7 +5308,7 @@ pub struct ReplicatedStateMachineTemplateSpecTopologySpreadConstraintsLabelSelec } /// Volume represents a named volume in a pod that may be accessed by any container in the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumes { /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore #[serde(default, skip_serializing_if = "Option::is_none", rename = "awsElasticBlockStore")] @@ -5405,7 +5406,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumes { } /// awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesAwsElasticBlockStore { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5422,7 +5423,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesAwsElasticBlockStore { } /// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesAzureDisk { /// cachingMode is the Host Caching mode: None, Read Only, Read Write. #[serde(default, skip_serializing_if = "Option::is_none", rename = "cachingMode")] @@ -5445,7 +5446,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesAzureDisk { } /// azureFile represents an Azure File Service mount on the host and bind mount to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesAzureFile { /// readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. #[serde(default, skip_serializing_if = "Option::is_none", rename = "readOnly")] @@ -5459,7 +5460,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesAzureFile { } /// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesCephfs { /// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it pub monitors: Vec, @@ -5481,7 +5482,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesCephfs { } /// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesCephfsSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5489,7 +5490,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesCephfsSecretRef { } /// cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesCinder { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5506,7 +5507,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesCinder { } /// secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesCinderSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5514,7 +5515,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesCinderSecretRef { } /// configMap represents a configMap that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesConfigMap { /// defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -5531,7 +5532,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesConfigMapItems { /// key is the key to project. pub key: String, @@ -5543,7 +5544,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesConfigMapItems { } /// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesCsi { /// driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. pub driver: String, @@ -5562,7 +5563,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesCsi { } /// nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesCsiNodePublishSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5570,7 +5571,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesCsiNodePublishSecretRef { } /// downwardAPI represents downward API about the pod that should populate this volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesDownwardApi { /// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -5581,7 +5582,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesDownwardApi { } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -5597,7 +5598,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesDownwardApiItems { } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -5608,7 +5609,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesDownwardApiItemsFieldRef { } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -5621,7 +5622,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesDownwardApiItemsResourceFiel } /// emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesEmptyDir { /// medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5636,7 +5637,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesEmptyDir { /// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. /// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. /// A pod can use both types of ephemeral volumes and persistent volumes at the same time. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesEphemeral { /// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long). /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. @@ -5650,7 +5651,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesEphemeral { /// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster. /// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. /// Required, must not be nil. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesEphemeralVolumeClaimTemplate { /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5660,7 +5661,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesEphemeralVolumeClaimTemplate } /// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesEphemeralVolumeClaimTemplateMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -5675,7 +5676,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesEphemeralVolumeClaimTemplate } /// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesEphemeralVolumeClaimTemplateSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -5704,7 +5705,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesEphemeralVolumeClaimTemplate } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -5716,7 +5717,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesEphemeralVolumeClaimTemplate } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -5731,7 +5732,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesEphemeralVolumeClaimTemplate } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -5747,14 +5748,14 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesEphemeralVolumeClaimTemplate } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -5765,7 +5766,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesEphemeralVolumeClaimTemplate } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesEphemeralVolumeClaimTemplateSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -5777,7 +5778,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesEphemeralVolumeClaimTemplate } /// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesFc { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5797,7 +5798,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesFc { } /// flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesFlexVolume { /// driver is the name of the driver to use for this volume. pub driver: String, @@ -5816,7 +5817,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesFlexVolume { } /// secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesFlexVolumeSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5824,7 +5825,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesFlexVolumeSecretRef { } /// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesFlocker { /// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated #[serde(default, skip_serializing_if = "Option::is_none", rename = "datasetName")] @@ -5835,7 +5836,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesFlocker { } /// gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesGcePersistentDisk { /// fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5852,7 +5853,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesGcePersistentDisk { } /// gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesGitRepo { /// directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5865,7 +5866,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesGitRepo { } /// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesGlusterfs { /// endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod pub endpoints: String, @@ -5877,7 +5878,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesGlusterfs { } /// hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesHostPath { /// path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath pub path: String, @@ -5887,7 +5888,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesHostPath { } /// iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesIscsi { /// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication #[serde(default, skip_serializing_if = "Option::is_none", rename = "chapAuthDiscovery")] @@ -5923,7 +5924,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesIscsi { } /// secretRef is the CHAP Secret for iSCSI target and initiator authentication -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesIscsiSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -5931,7 +5932,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesIscsiSecretRef { } /// nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesNfs { /// path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs pub path: String, @@ -5943,7 +5944,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesNfs { } /// persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesPersistentVolumeClaim { /// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims #[serde(rename = "claimName")] @@ -5954,7 +5955,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesPersistentVolumeClaim { } /// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesPhotonPersistentDisk { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5965,7 +5966,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesPhotonPersistentDisk { } /// portworxVolume represents a portworx volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesPortworxVolume { /// fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -5979,7 +5980,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesPortworxVolume { } /// projected items for all in one resources secrets, configmaps, and downward API -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesProjected { /// defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -5990,7 +5991,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesProjected { } /// Projection that may be projected along with other supported volume types -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesProjectedSources { /// configMap information about the configMap data to project #[serde(default, skip_serializing_if = "Option::is_none", rename = "configMap")] @@ -6007,7 +6008,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesProjectedSources { } /// configMap information about the configMap data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesProjectedSourcesConfigMap { /// items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6021,7 +6022,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesProjectedSourcesConfigMap { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesProjectedSourcesConfigMapItems { /// key is the key to project. pub key: String, @@ -6033,7 +6034,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesProjectedSourcesConfigMapIte } /// downwardAPI information about the downwardAPI data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesProjectedSourcesDownwardApi { /// Items is a list of DownwardAPIVolume file #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6041,7 +6042,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesProjectedSourcesDownwardApi } /// DownwardAPIVolumeFile represents information to create the file containing the pod field -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesProjectedSourcesDownwardApiItems { /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fieldRef")] @@ -6057,7 +6058,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesProjectedSourcesDownwardApiI } /// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesProjectedSourcesDownwardApiItemsFieldRef { /// Version of the schema the FieldPath is written in terms of, defaults to "v1". #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -6068,7 +6069,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesProjectedSourcesDownwardApiI } /// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesProjectedSourcesDownwardApiItemsResourceFieldRef { /// Container name: required for volumes, optional for env vars #[serde(default, skip_serializing_if = "Option::is_none", rename = "containerName")] @@ -6081,7 +6082,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesProjectedSourcesDownwardApiI } /// secret information about the secret data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesProjectedSourcesSecret { /// items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6095,7 +6096,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesProjectedSourcesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesProjectedSourcesSecretItems { /// key is the key to project. pub key: String, @@ -6107,7 +6108,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesProjectedSourcesSecretItems } /// serviceAccountToken is information about the serviceAccountToken data to project -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesProjectedSourcesServiceAccountToken { /// audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6120,7 +6121,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesProjectedSourcesServiceAccou } /// quobyte represents a Quobyte mount on the host that shares a pod's lifetime -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesQuobyte { /// group to map volume access to Default is no group #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6141,7 +6142,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesQuobyte { } /// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesRbd { /// fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6168,7 +6169,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesRbd { } /// secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesRbdSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6176,7 +6177,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesRbdSecretRef { } /// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesScaleIo { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6209,7 +6210,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesScaleIo { } /// secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesScaleIoSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6217,7 +6218,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesScaleIoSecretRef { } /// secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesSecret { /// defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultMode")] @@ -6234,7 +6235,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesSecret { } /// Maps a string key to a path within a volume. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesSecretItems { /// key is the key to project. pub key: String, @@ -6246,7 +6247,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesSecretItems { } /// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesStorageos { /// fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6266,7 +6267,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesStorageos { } /// secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesStorageosSecretRef { /// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? #[serde(default, skip_serializing_if = "Option::is_none")] @@ -6274,7 +6275,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesStorageosSecretRef { } /// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineTemplateSpecVolumesVsphereVolume { /// fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. #[serde(default, skip_serializing_if = "Option::is_none", rename = "fsType")] @@ -6291,7 +6292,7 @@ pub struct ReplicatedStateMachineTemplateSpecVolumesVsphereVolume { } /// Indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the RSM when a revision is made to Template. UpdateStrategy.Type will be set to appsv1.OnDeleteStatefulSetStrategyType if MemberUpdateStrategy is not nil -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineUpdateStrategy { /// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. #[serde(default, skip_serializing_if = "Option::is_none", rename = "rollingUpdate")] @@ -6302,7 +6303,7 @@ pub struct ReplicatedStateMachineUpdateStrategy { } /// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineUpdateStrategyRollingUpdate { /// The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0. Defaults to 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable. #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxUnavailable")] @@ -6313,7 +6314,7 @@ pub struct ReplicatedStateMachineUpdateStrategyRollingUpdate { } /// PersistentVolumeClaim is a user's request for and claim to a persistent volume -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineVolumeClaimTemplates { /// 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 #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] @@ -6333,7 +6334,7 @@ pub struct ReplicatedStateMachineVolumeClaimTemplates { } /// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineVolumeClaimTemplatesMetadata { #[serde(default, skip_serializing_if = "Option::is_none")] pub annotations: Option>, @@ -6348,7 +6349,7 @@ pub struct ReplicatedStateMachineVolumeClaimTemplatesMetadata { } /// spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineVolumeClaimTemplatesSpec { /// accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -6377,7 +6378,7 @@ pub struct ReplicatedStateMachineVolumeClaimTemplatesSpec { } /// 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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineVolumeClaimTemplatesSpecDataSource { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -6389,7 +6390,7 @@ pub struct ReplicatedStateMachineVolumeClaimTemplatesSpecDataSource { } /// 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 allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (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. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineVolumeClaimTemplatesSpecDataSourceRef { /// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiGroup")] @@ -6404,7 +6405,7 @@ pub struct ReplicatedStateMachineVolumeClaimTemplatesSpecDataSourceRef { } /// resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineVolumeClaimTemplatesSpecResources { /// Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. /// This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. @@ -6420,14 +6421,14 @@ pub struct ReplicatedStateMachineVolumeClaimTemplatesSpecResources { } /// ResourceClaim references one entry in PodSpec.ResourceClaims. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineVolumeClaimTemplatesSpecResourcesClaims { /// Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. pub name: String, } /// selector is a label query over volumes to consider for binding. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineVolumeClaimTemplatesSpecSelector { /// matchExpressions is a list of label selector requirements. The requirements are ANDed. #[serde(default, skip_serializing_if = "Option::is_none", rename = "matchExpressions")] @@ -6438,7 +6439,7 @@ pub struct ReplicatedStateMachineVolumeClaimTemplatesSpecSelector { } /// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineVolumeClaimTemplatesSpecSelectorMatchExpressions { /// key is the label key that the selector applies to. pub key: String, @@ -6450,7 +6451,7 @@ pub struct ReplicatedStateMachineVolumeClaimTemplatesSpecSelectorMatchExpression } /// status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineVolumeClaimTemplatesStatus { /// accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessModes")] @@ -6479,7 +6480,7 @@ pub struct ReplicatedStateMachineVolumeClaimTemplatesStatus { } /// Represents the current information about the state machine. This data may be out of date. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineStatus { /// Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset. #[serde(default, skip_serializing_if = "Option::is_none", rename = "availableReplicas")] @@ -6530,7 +6531,7 @@ pub struct ReplicatedStateMachineStatus { pub updated_replicas: Option, } -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub struct ReplicatedStateMachineStatusMembersStatus { /// Represents the name of the pod. #[serde(rename = "podName")] diff --git a/kube-custom-resources-rs/src/zonecontrol_k8s_aws/v1/zoneawareupdates.rs b/kube-custom-resources-rs/src/zonecontrol_k8s_aws/v1/zoneawareupdates.rs index c9b905e8d..c15536bd7 100644 --- a/kube-custom-resources-rs/src/zonecontrol_k8s_aws/v1/zoneawareupdates.rs +++ b/kube-custom-resources-rs/src/zonecontrol_k8s_aws/v1/zoneawareupdates.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/zone-aware-controllers-for-k8s/zonecontrol.k8s.aws/v1/zoneawareupdates.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/zone-aware-controllers-for-k8s/zonecontrol.k8s.aws/v1/zoneawareupdates.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/zonecontrol_k8s_aws/v1/zonedisruptionbudgets.rs b/kube-custom-resources-rs/src/zonecontrol_k8s_aws/v1/zonedisruptionbudgets.rs index bb04d6a22..e83987536 100644 --- a/kube-custom-resources-rs/src/zonecontrol_k8s_aws/v1/zonedisruptionbudgets.rs +++ b/kube-custom-resources-rs/src/zonecontrol_k8s_aws/v1/zonedisruptionbudgets.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/aws/zone-aware-controllers-for-k8s/zonecontrol.k8s.aws/v1/zonedisruptionbudgets.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/aws/zone-aware-controllers-for-k8s/zonecontrol.k8s.aws/v1/zonedisruptionbudgets.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)] diff --git a/kube-custom-resources-rs/src/zookeeper_pravega_io/v1beta1/zookeeperclusters.rs b/kube-custom-resources-rs/src/zookeeper_pravega_io/v1beta1/zookeeperclusters.rs index 3f86332f5..2b9099fad 100644 --- a/kube-custom-resources-rs/src/zookeeper_pravega_io/v1beta1/zookeeperclusters.rs +++ b/kube-custom-resources-rs/src/zookeeper_pravega_io/v1beta1/zookeeperclusters.rs @@ -1,5 +1,5 @@ // WARNING: generated by kopium - manual changes will be overwritten -// kopium command: kopium --docs --filename=./crd-catalog/pravega/zookeeper-operator/zookeeper.pravega.io/v1beta1/zookeeperclusters.yaml --derive=Default --derive=PartialEq +// kopium command: kopium --docs --filename=./crd-catalog/pravega/zookeeper-operator/zookeeper.pravega.io/v1beta1/zookeeperclusters.yaml --derive=Default --derive=PartialEq --smart-derive-elision // kopium version: 0.20.1 #[allow(unused_imports)]